diff --git a/.changeset/fifty-seals-divide.md b/.changeset/fifty-seals-divide.md new file mode 100644 index 0000000000..f5fe4fc1b5 --- /dev/null +++ b/.changeset/fifty-seals-divide.md @@ -0,0 +1,11 @@ +--- +"@marigold/eslint-config": patch +"@marigold/jest-config": patch +"@marigold/storybook-config": patch +"@marigold/docs": patch +"@marigold/components": major +"@marigold/system": major +"@marigold/types": patch +--- + +refa: Update TypeScript and adjust `` props diff --git a/.changeset/honest-kids-sit.md b/.changeset/honest-kids-sit.md new file mode 100644 index 0000000000..755e3c5354 --- /dev/null +++ b/.changeset/honest-kids-sit.md @@ -0,0 +1,5 @@ +--- +"@marigold/docs": patch +--- + +[DST-446]docs: adding governance process page diff --git a/.changeset/long-horses-impress.md b/.changeset/long-horses-impress.md new file mode 100644 index 0000000000..d1fdb752dc --- /dev/null +++ b/.changeset/long-horses-impress.md @@ -0,0 +1,5 @@ +--- +"@marigold/docs": patch +--- + +docs[DST-465]: adding message pattern to documentation diff --git a/.github/renovate.json b/.github/renovate.json index 52dcfc2280..2a3313fc6e 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -4,7 +4,7 @@ ":semanticCommitTypeAll(chore)", ":rebaseStalePrs" ], - "schedule": ["earlyMondays"], + "schedule": ["before 4am on Monday"], "packageRules": [ { "matchDatasources": ["npm"], diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c89d7103d3..cc19d6303b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: steps: # Setup - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3.0.0 # Uses version from package.json#packageManager + - uses: pnpm/action-setup@v4.0.0 # Uses version from package.json#packageManager - name: Setup Node (using .node-version) uses: actions/setup-node@v4 with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8d34f319a9..ed931bd17c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: steps: # Setup - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3.0.0 # Uses version from package.json#packageManager + - uses: pnpm/action-setup@v4.0.0 # Uses version from package.json#packageManager - name: Setup Node (using .node-version) uses: actions/setup-node@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3cc5dbb647..7c62ecfcbc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: steps: # Setup - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3.0.0 # Uses version from package.json#packageManager + - uses: pnpm/action-setup@v4.0.0 # Uses version from package.json#packageManager - name: Setup Node (using .node-version) uses: actions/setup-node@v4 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d71dfa2a26..0e0588ac10 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: steps: # Setup - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3.0.0 # Uses version from package.json#packageManager + - uses: pnpm/action-setup@v4.0.0 # Uses version from package.json#packageManager - name: Setup Node (using .node-version) uses: actions/setup-node@v4 with: diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index 3a34234724..2da363d922 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -15,7 +15,7 @@ jobs: steps: # Setup - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3.0.0 # Uses version from package.json#packageManager + - uses: pnpm/action-setup@v4.0.0 # Uses version from package.json#packageManager - name: Setup Node (using .node-version) uses: actions/setup-node@v4 with: diff --git a/config/eslint/package.json b/config/eslint/package.json index 167aa06236..03c4c0a93c 100644 --- a/config/eslint/package.json +++ b/config/eslint/package.json @@ -23,8 +23,8 @@ "@babel/eslint-parser": "^7.22.10", "@babel/plugin-syntax-flow": "^7.16.7", "@babel/plugin-transform-react-jsx": "^7.17.3", - "@typescript-eslint/eslint-plugin": "7.13.1", - "@typescript-eslint/parser": "7.13.1", + "@typescript-eslint/eslint-plugin": "7.14.1", + "@typescript-eslint/parser": "7.14.1", "eslint-config-prettier": "^9.0.0", "eslint-config-react-app": "7.0.1", "eslint-plugin-flowtype": "^8.0.3", @@ -35,7 +35,7 @@ "eslint-plugin-react": "7.34.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-testing-library": "6.2.0", - "prettier": "3.2.5" + "prettier": "3.3.2" }, "peerDependencies": { "eslint": "8.x.x", @@ -44,6 +44,6 @@ "devDependencies": { "eslint": "8.57.0", "eslint-plugin-tailwindcss": "3.17.3", - "typescript": "5.3.3" + "typescript": "5.5.2" } } diff --git a/config/jest/package.json b/config/jest/package.json index 39df0c231e..8d1f0aae60 100644 --- a/config/jest/package.json +++ b/config/jest/package.json @@ -40,6 +40,6 @@ "jest": "29.7.0", "jest-transform-css": "6.0.1", "react": "18.3.1", - "typescript": "5.3.3" + "typescript": "5.5.2" } } diff --git a/config/storybook/package.json b/config/storybook/package.json index 2cf3ebd2f1..fe7d9ee525 100644 --- a/config/storybook/package.json +++ b/config/storybook/package.json @@ -22,30 +22,30 @@ "@marigold/theme-b2b": "workspace:*", "@marigold/theme-core": "workspace:*", "@mdx-js/react": "3.0.1", - "@storybook/addon-a11y": "^8.0.6", - "@storybook/addon-essentials": "^8.0.6", - "@storybook/addon-interactions": "^8.0.6", - "@storybook/source-loader": "^8.0.6", - "@storybook/test": "^8.0.6", + "@storybook/addon-a11y": "^8.1.11", + "@storybook/addon-essentials": "^8.1.11", + "@storybook/addon-interactions": "^8.1.11", + "@storybook/source-loader": "^8.1.11", + "@storybook/test": "^8.1.11", "@types/react": "18.3.3", "@vitejs/plugin-react": "4.3.1", "vite-tsconfig-paths": "4.3.2" }, "devDependencies": { - "@storybook/addon-storysource": "^8.0.6", - "@storybook/addon-themes": "^8.0.6", - "@storybook/cli": "^8.0.6", - "@storybook/core-events": "^8.0.6", - "@storybook/preview-api": "^8.0.6", - "@storybook/react-vite": "^8.0.6", + "@storybook/addon-storysource": "^8.1.11", + "@storybook/addon-themes": "^8.1.11", + "@storybook/cli": "^8.1.11", + "@storybook/core-events": "^8.1.11", + "@storybook/preview-api": "^8.1.11", + "@storybook/react-vite": "^8.1.11", "autoprefixer": "10.4.19", "postcss": "8.4.38", "postcss-loader": "8.1.1", "react": "18.3.1", "react-dom": "18.3.1", - "storybook": "^8.0.6", + "storybook": "^8.1.11", "tailwindcss": "3.4.4", - "typescript": "5.3.3", + "typescript": "5.5.2", "vite": "5.3.1" }, "peerDependencies": { diff --git a/docs/content/components/formatters/numericformat/.eslintrc.json b/docs/content/components/formatters/numericformat/.eslintrc.json new file mode 100644 index 0000000000..22e062100d --- /dev/null +++ b/docs/content/components/formatters/numericformat/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "react/style-prop-object": "off" + } +} diff --git a/docs/content/components/formatters/numericformat/currency-format.demo.tsx b/docs/content/components/formatters/numericformat/currency-format.demo.tsx index 0d2425b918..9d60e08c6e 100644 --- a/docs/content/components/formatters/numericformat/currency-format.demo.tsx +++ b/docs/content/components/formatters/numericformat/currency-format.demo.tsx @@ -29,11 +29,7 @@ export default () => { EUR JPY - + ); diff --git a/docs/content/components/formatters/numericformat/numericFormat.mdx b/docs/content/components/formatters/numericformat/numericFormat.mdx index 18df7c477e..f6d6301870 100644 --- a/docs/content/components/formatters/numericformat/numericFormat.mdx +++ b/docs/content/components/formatters/numericformat/numericFormat.mdx @@ -1,6 +1,7 @@ --- title: NumericFormat caption: Helper component for formatting numeric based on the current language and locale-specific conventions. +badge: updated --- With `` helper, you can easily ensure that numeric values are displayed consistently and accurately, taking into account factors such as decimal separators, currency symbols, and grouping separators specific to each language. diff --git a/docs/content/components/formatters/numericformat/percent-format.demo.tsx b/docs/content/components/formatters/numericformat/percent-format.demo.tsx index cf474f6a08..e81bc011be 100644 --- a/docs/content/components/formatters/numericformat/percent-format.demo.tsx +++ b/docs/content/components/formatters/numericformat/percent-format.demo.tsx @@ -1,9 +1,5 @@ import { NumericFormat } from '@marigold/system'; export default () => ( - + ); diff --git a/docs/content/introduction/governance-process.mdx b/docs/content/introduction/governance-process.mdx new file mode 100644 index 0000000000..0fcd7304e7 --- /dev/null +++ b/docs/content/introduction/governance-process.mdx @@ -0,0 +1,198 @@ +--- +title: Governance process +caption: Making changes and additions to Marigold. +order: 6 +badge: new +--- + +Product teams are primarily focused on getting the job done. In their quest to achieve this, they sometimes need to take on design debt—improvising styles, crafting unique components, or even bypassing the design system entirely. To help teams avoid unnecessary debt, we've established a governance process that guides both the product teams and us on managing changes and additions within Marigold. + +This process ensures that any modifications to the design system are carefully evaluated to maintain consistency, stability, and user-friendliness. We prioritize updates that meet specific user needs, adhere to industry standards, and offer high reusability. Guided by our [Governance values and principles](/introduction/governance-values), this approach helps uphold the quality and integrity of our design system. + +If you ever asked yourself what we do with your feature requests or what you should do if we declined your request, you've come to the right place. + +We have created a flowchart, divided into 3 phases, that illustrates how incoming feature requests are handled. + + + Note + + ug fixes aren't subject to the same rigorous evaluation process and are + handled differently. To read more about how to report bugs go + [here](/introduction//get-in-touch/#report-bugs). + + + +

+ +