diff --git a/packages/strapi-design-system/src/Link/Link.stories.mdx b/packages/strapi-design-system/src/Link/Link.stories.mdx
index fa8355edf..3a80ab99b 100644
--- a/packages/strapi-design-system/src/Link/Link.stories.mdx
+++ b/packages/strapi-design-system/src/Link/Link.stories.mdx
@@ -15,7 +15,7 @@ Best practices
- A link should have a relevant and clear label.
- Be positioned in consistent locations in the interface.
-- Add an icon next to the link to emphasize the required action.
+- Add an icon next to the link to emphasize the required action.
diff --git a/packages/strapi-design-system/src/NumberInput/NumberInput.js b/packages/strapi-design-system/src/NumberInput/NumberInput.js
index 5413aea1e..1f5dfc43e 100644
--- a/packages/strapi-design-system/src/NumberInput/NumberInput.js
+++ b/packages/strapi-design-system/src/NumberInput/NumberInput.js
@@ -36,6 +36,7 @@ export const NumberInput = React.forwardRef(
error,
label,
labelAction,
+ locale: defaultLocale,
id,
onValueChange,
value,
@@ -49,7 +50,8 @@ export const NumberInput = React.forwardRef(
// inputValue should ALWAYS be a string. value should ALWAYS stay a number
const [inputValue, setInputValue] = useState(value === undefined || value === null ? INITIAL_VALUE : String(value));
const generatedId = useId('numberinput', id);
- const numberParserRef = useRef(new NumberParser(getDefaultLocale()));
+ const locale = defaultLocale || getDefaultLocale();
+ const numberParserRef = useRef(new NumberParser(locale));
const numberFormaterRef = useRef(new NumberFormatter(getDefaultLocale(), { maximumFractionDigits: 20 }));
const handleChange = (e) => {
@@ -240,6 +242,7 @@ NumberInput.propTypes = {
id: PropTypes.string,
label: PropTypes.string,
labelAction: PropTypes.element,
+ locale: PropTypes.string,
name: PropTypes.string.isRequired,
onValueChange: PropTypes.func.isRequired,
required: PropTypes.bool,
diff --git a/packages/strapi-design-system/src/NumberInput/NumberInput.stories.mdx b/packages/strapi-design-system/src/NumberInput/NumberInput.stories.mdx
index 80c5fd050..7eff09092 100644
--- a/packages/strapi-design-system/src/NumberInput/NumberInput.stories.mdx
+++ b/packages/strapi-design-system/src/NumberInput/NumberInput.stories.mdx
@@ -81,7 +81,7 @@ NumberInputs can be used without a label.
+## With locale
+
+
+
## Props
diff --git a/packages/strapi-design-system/src/SubNav/SubNav.stories.mdx b/packages/strapi-design-system/src/SubNav/SubNav.stories.mdx
index 13b96e6e8..73d93a359 100644
--- a/packages/strapi-design-system/src/SubNav/SubNav.stories.mdx
+++ b/packages/strapi-design-system/src/SubNav/SubNav.stories.mdx
@@ -164,13 +164,7 @@ import {
{links.map((link) => (
-
+
{link.label}
))}
diff --git a/packages/strapi-design-system/src/themes/Theme.stories.mdx b/packages/strapi-design-system/src/themes/Theme.stories.mdx
index 93227e2cf..9cd886811 100644
--- a/packages/strapi-design-system/src/themes/Theme.stories.mdx
+++ b/packages/strapi-design-system/src/themes/Theme.stories.mdx
@@ -113,10 +113,10 @@ This is the dark colors used for the dark mode
## Shadows
We have 3 types of shadows: Table, Popup, Filter. We use the drop shadows on different cases:
-- On Containers
-- On Filters
-- On Modals & PopOvers
+- On Containers
+- On Filters
+- On Modals & PopOvers