diff --git a/.github/workflows/publish-rc-manual.yml b/.github/workflows/publish-rc-manual.yml index 23ad5e53..0c715a2d 100644 --- a/.github/workflows/publish-rc-manual.yml +++ b/.github/workflows/publish-rc-manual.yml @@ -22,6 +22,7 @@ concurrency: group: publish-rc-packages cancel-in-progress: false + jobs: publish-rc-packages: runs-on: ubuntu-latest diff --git a/.yarn/versions/pruebasnorteui.yml b/.yarn/versions/pruebasnorteui.yml new file mode 100644 index 00000000..91150b6e --- /dev/null +++ b/.yarn/versions/pruebasnorteui.yml @@ -0,0 +1,10 @@ +releases: + "@nimbus-ds/app-shell": patch + "@nimbus-ds/menu": patch + "@nimbus-ds/menubutton": patch + "@nimbus-ds/productupdates": patch + +declined: + - nimbus-patterns + - "@nimbus-ds/calendar" + - "@nimbus-ds/editor" diff --git a/package.json b/package.json index 5293a00d..7f284bd6 100644 --- a/package.json +++ b/package.json @@ -63,11 +63,11 @@ "@commitlint/config-conventional": "^17.2.0", "@jest/types": "^29.2.1", "@mdx-js/react": "^3.0.0", - "@nimbus-ds/components": "5.56.1", + "@nimbus-ds/components": "5.57.7-rc.4", "@nimbus-ds/icons": "^1.15.1", "@nimbus-ds/scripts": "^1.8.2", - "@nimbus-ds/styles": "9.61.1", - "@nimbus-ds/tokens": "^9.5.0", + "@nimbus-ds/styles": "9.62.7-rc.4", + "@nimbus-ds/tokens": "9.5.3-rc.7", "@storybook/addon-docs": "^8.6.14", "@storybook/addon-essentials": "^8.6.14", "@storybook/addon-interactions": "^8.6.14", @@ -127,6 +127,9 @@ }, "packageManager": "yarn@3.2.2", "resolutions": { - "typescript-json-schema": "patch:typescript-json-schema@npm%3A0.55.0#./.yarn/patches/typescript-json-schema-npm-0.55.0-8fc27dfa81.patch" + "typescript-json-schema": "patch:typescript-json-schema@npm%3A0.55.0#./.yarn/patches/typescript-json-schema-npm-0.55.0-8fc27dfa81.patch", + "@nimbus-ds/styles": "9.62.7-rc.4", + "@nimbus-ds/tokens": "9.5.3-rc.7", + "@nimbus-ds/components": "5.57.7-rc.4" } } diff --git a/packages/react/src/components/AppShell/src/AppShell.tsx b/packages/react/src/components/AppShell/src/AppShell.tsx index 1e2f1337..e33c2e89 100644 --- a/packages/react/src/components/AppShell/src/AppShell.tsx +++ b/packages/react/src/components/AppShell/src/AppShell.tsx @@ -127,7 +127,7 @@ const AppShell: React.FC & AppShellComponents = ({ flex="1 1 auto" height="100vh" width="100%" - backgroundColor="neutral-surface" + backgroundColor="neutral-surfaceDisabled" // Fully customizable due to client needs {...contentProperties} > diff --git a/packages/react/src/components/AppShell/src/appShell.stories.tsx b/packages/react/src/components/AppShell/src/appShell.stories.tsx index dec1794a..fea29775 100644 --- a/packages/react/src/components/AppShell/src/appShell.stories.tsx +++ b/packages/react/src/components/AppShell/src/appShell.stories.tsx @@ -155,7 +155,7 @@ const AppMenu = ({ menuExpanded }: { menuExpanded: boolean }) => { {expanded ? ( - + ) : ( } @@ -226,7 +226,7 @@ const CollapsibleAppMenu = ({ justifyContent="space-between" width="100%" > - + - + = ({ }: AppShellHeaderProps) => ( & MenuComponents = ({ display="flex" flexDirection="column" height="100%" - backgroundColor="neutral-background" + backgroundColor="neutral-surfaceHighlight" boxSizing="border-box" {...dynamicProps} > diff --git a/packages/react/src/components/Menu/src/menu.spec.tsx b/packages/react/src/components/Menu/src/menu.spec.tsx index 100bf1d4..9ccb579f 100644 --- a/packages/react/src/components/Menu/src/menu.spec.tsx +++ b/packages/react/src/components/Menu/src/menu.spec.tsx @@ -36,7 +36,7 @@ describe("GIVEN ", () => { }); }); - describe("WHEN tooltip configuration is provided", () => { + describe("WHEN popover configuration is provided", () => { it("SHOULD pass showPopoversWhenCollapsed and popoverPosition to context", () => { render( ", () => { expect(contextValue.popoverPosition).toBe("left"); }); - it("SHOULD use default values when tooltip props are not provided", () => { + it("SHOULD use default values when popover props are not provided", () => { render( diff --git a/packages/react/src/components/Menu/src/menu.stories.tsx b/packages/react/src/components/Menu/src/menu.stories.tsx index f7d6f1a4..022346e7 100644 --- a/packages/react/src/components/Menu/src/menu.stories.tsx +++ b/packages/react/src/components/Menu/src/menu.stories.tsx @@ -49,7 +49,7 @@ export const menuInsideFixedBar: Story = { flex="0 1 auto" width="20rem" height="100vh" - borderColor="neutral-surfaceHighlight" + borderColor="neutral-interactive" borderStyle="solid" borderWidth="none" borderRightWidth="1" diff --git a/packages/react/src/components/Menu/src/menu.utils.tsx b/packages/react/src/components/Menu/src/menu.utils.tsx index 53feb6c5..b5a1cc8f 100644 --- a/packages/react/src/components/Menu/src/menu.utils.tsx +++ b/packages/react/src/components/Menu/src/menu.utils.tsx @@ -76,7 +76,7 @@ export const MenuStories = (props?: MenuProps) => ( {/* } color="primary-interactive" /> */} {props?.expanded ? ( - } color="primary-interactive" /> + } color="neutral-textHigh" /> ) : ( } color="primary-interactive" /> )} diff --git a/packages/react/src/components/MenuButton/src/components/MenuButtonAccordion/MenuButtonAccordion.tsx b/packages/react/src/components/MenuButton/src/components/MenuButtonAccordion/MenuButtonAccordion.tsx index 1754b995..f287b787 100644 --- a/packages/react/src/components/MenuButton/src/components/MenuButtonAccordion/MenuButtonAccordion.tsx +++ b/packages/react/src/components/MenuButton/src/components/MenuButtonAccordion/MenuButtonAccordion.tsx @@ -22,6 +22,7 @@ const MenuButtonAccordion = forwardRef( children, as, expanded: expandedProp, + contentid, ...rest }: MenuButtonAccordionBaseProps & { as: any }, ref @@ -64,7 +65,7 @@ const MenuButtonAccordion = forwardRef( const getBackgroundColor = () => { if (active) { - return "primary-surface"; + return "neutral-surface"; } return open ? "neutral-surface" : "transparent"; }; @@ -91,7 +92,7 @@ const MenuButtonAccordion = forwardRef( /> {open && expanded && ( ; + menuButton: Omit; } & Omit, "color">; diff --git a/packages/react/src/components/MenuButton/src/components/MenuButtonContent/MenuButtonContent.tsx b/packages/react/src/components/MenuButton/src/components/MenuButtonContent/MenuButtonContent.tsx index a0e9c591..94f9ca41 100644 --- a/packages/react/src/components/MenuButton/src/components/MenuButtonContent/MenuButtonContent.tsx +++ b/packages/react/src/components/MenuButton/src/components/MenuButtonContent/MenuButtonContent.tsx @@ -40,9 +40,9 @@ const MenuButtonContent = forwardRef< alignItems="center" textDecoration="none" backgroundColor={{ - xs: active ? "primary-surface" : "transparent", - hover: "primary-surface", - active: "primary-surfaceHighlight", + xs: active ? "neutral-surface" : "transparent", + hover: "neutral-interactiveLow", + active: "neutral-interactive", disabled: "neutral-surfaceDisabled", }} borderRadius="2" diff --git a/packages/react/src/components/ProductUpdates/src/components/ProductUpdatesFooter/ProductUpdatesFooter.tsx b/packages/react/src/components/ProductUpdates/src/components/ProductUpdatesFooter/ProductUpdatesFooter.tsx index 0e83e80e..3b72fc34 100644 --- a/packages/react/src/components/ProductUpdates/src/components/ProductUpdatesFooter/ProductUpdatesFooter.tsx +++ b/packages/react/src/components/ProductUpdates/src/components/ProductUpdatesFooter/ProductUpdatesFooter.tsx @@ -14,12 +14,7 @@ const ProductUpdatesFooter: React.FC = ({ {renderDivider && ( - + )} =16.8.0" - react-dom: ">=16.8.0" - checksum: f3a49868194ff3d097aec317491790fe0794028674b0bb6ce38113bb6934f21e8118cd7319a1f0ca0b2bbd74f2891f3412fbd66cd5f5115f3f9e0b620b3b6fa3 - languageName: node - linkType: hard - "@floating-ui/react@npm:^0.26.1": version: 0.26.1 resolution: "@floating-ui/react@npm:0.26.1" @@ -3513,30 +3499,17 @@ __metadata: languageName: unknown linkType: soft -"@nimbus-ds/components@npm:5.56.1": - version: 5.56.1 - resolution: "@nimbus-ds/components@npm:5.56.1" +"@nimbus-ds/components@npm:5.57.7-rc.4": + version: 5.57.7-rc.4 + resolution: "@nimbus-ds/components@npm:5.57.7-rc.4" dependencies: "@floating-ui/react": ^0.27.5 - "@nimbus-ds/icons": ^1.17.0 + "@nimbus-ds/icons": ^1.21.0 react-indiana-drag-scroll: ^2.2.0 peerDependencies: react: ^16.8 || ^17.0 || ^18.0 || ^19.0 react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 - checksum: 971e15fc298609a2e0d6fc08f6bdb91db1d4dd2fda63afde15d4386d030e0257e2f8f3420875a5f43e59a528c728684015bc839500721b95b1f5e493c4d33052 - languageName: node - linkType: hard - -"@nimbus-ds/components@npm:^5": - version: 5.10.0 - resolution: "@nimbus-ds/components@npm:5.10.0" - dependencies: - "@floating-ui/react": "npm:^0.26.0" - "@nimbus-ds/icons": "npm:^1.7.0" - peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: b136c337fb07094b8fbfc89d72bab74f9169039c9a7722f133f4725944b032eabb15f1b1544255ae4d282809eda209b6c56a0ba66777cac629f1c87adb0c4c17 + checksum: 4ae8c90dc62192ae785ee76388ffaf77a1c6acb95d935c47b6cc95e092682250c2dbf35a3b46607fcf225e97e4710682762077485372732df378181bed14ea4a languageName: node linkType: hard @@ -3648,19 +3621,12 @@ __metadata: languageName: node linkType: hard -"@nimbus-ds/icons@npm:^1.17.0": - version: 1.17.0 - resolution: "@nimbus-ds/icons@npm:1.17.0" +"@nimbus-ds/icons@npm:^1.21.0": + version: 1.21.0 + resolution: "@nimbus-ds/icons@npm:1.21.0" peerDependencies: react: ^16.8 || ^17.0 || ^18.0 || ^19.0 - checksum: d9b5d7a95c81815cf85a92a6c4803573b6aef045a585d7177581358de7265feed30fc0f66d89c5895b5a427161c746af0c433d467691a69443b46ca2d7c10220 - languageName: node - linkType: hard - -"@nimbus-ds/icons@npm:^1.7.0": - version: 1.7.0 - resolution: "@nimbus-ds/icons@npm:1.7.0" - checksum: 64646f6988874855729b88270192783e236ed3150fd4ff840b86e5f56de2eada444c3236223d1cc825333ebdb04957cd21410af2d656353be1cfad8bcc593ae2 + checksum: f1c00fb1164d7b5cc440ebed3c79416afbdaa4844ea865e9b34eb059630028e1f6494467dd280dbfb69d9b33b1dfbe06a3c1c4b99cb1badc9e3c61e513f5d36e languageName: node linkType: hard @@ -3874,17 +3840,10 @@ __metadata: languageName: unknown linkType: soft -"@nimbus-ds/styles@npm:9.61.1": - version: 9.61.1 - resolution: "@nimbus-ds/styles@npm:9.61.1" - checksum: 2a003aff355a2107a7b6e03250a7140ec76f69fe8d3362fc1c558b6bfb7732e082b5679d9531004f03a2ec7b2c148034999054baa2cc9fc4237aa3746c388aed - languageName: node - linkType: hard - -"@nimbus-ds/styles@npm:^9.11.0": - version: 9.11.0 - resolution: "@nimbus-ds/styles@npm:9.11.0" - checksum: 4ebce6f620277c8f555920b4fca53bfdca02eebf09457f90f9ae47254f51e36a75e29d83b992b934fa47a2acedf592fdb4055b9317b154bca3a95e06a8c8f7d2 +"@nimbus-ds/styles@npm:9.62.7-rc.4": + version: 9.62.7-rc.4 + resolution: "@nimbus-ds/styles@npm:9.62.7-rc.4" + checksum: a3b7ac18b0be14b11ac2fb325d73421b389f415fe422f9863eb6b070b66dc48965922b9e15cf7732a376631dd13f5776593ed4d36a02776783416d627630acc8 languageName: node linkType: hard @@ -3911,24 +3870,10 @@ __metadata: languageName: unknown linkType: soft -"@nimbus-ds/tokens@npm:^9.0.0": - version: 9.0.0 - resolution: "@nimbus-ds/tokens@npm:9.0.0" - checksum: be832f91c7ab225a47db0c34535c85b75ae53d825e94c5ed82ab0780724256e72ca7eb26c92df23fd1cf48cb8cbfc4f498e0a67c45b0a9176214aa5d5ea23fa0 - languageName: node - linkType: hard - -"@nimbus-ds/tokens@npm:^9.1.0": - version: 9.1.0 - resolution: "@nimbus-ds/tokens@npm:9.1.0" - checksum: 42e4ad8c73588b93754a2a0bb6868b1c43fb306b4ccfb493e26237a7425bbfec3d4682fe922f760822fa49b5adf0ae996fcbd32ea7983803317be1e5acba9829 - languageName: node - linkType: hard - -"@nimbus-ds/tokens@npm:^9.5.0": - version: 9.5.0 - resolution: "@nimbus-ds/tokens@npm:9.5.0" - checksum: 22605538f3abf5eac52d648aebfa18a75b95b4d853cbe14761d8aaff4aca8ed0e94c0de70e50565fd061be40f25544148cfb2e5f0fa5fcf95b46d3d35051b236 +"@nimbus-ds/tokens@npm:9.5.3-rc.7": + version: 9.5.3-rc.7 + resolution: "@nimbus-ds/tokens@npm:9.5.3-rc.7" + checksum: b4ed9e36aff451eb69a0b6e5b96d039e12dd10c1be089fab5c0dc080a4358bb824f8042895630b0ada95b7b9442f838cab07d05a061f5a3eab54d6e3509eff4a languageName: node linkType: hard @@ -12442,11 +12387,11 @@ __metadata: "@commitlint/config-conventional": ^17.2.0 "@jest/types": ^29.2.1 "@mdx-js/react": ^3.0.0 - "@nimbus-ds/components": 5.56.1 + "@nimbus-ds/components": 5.57.7-rc.4 "@nimbus-ds/icons": ^1.15.1 "@nimbus-ds/scripts": ^1.8.2 - "@nimbus-ds/styles": 9.61.1 - "@nimbus-ds/tokens": ^9.5.0 + "@nimbus-ds/styles": 9.62.7-rc.4 + "@nimbus-ds/tokens": 9.5.3-rc.7 "@storybook/addon-docs": ^8.6.14 "@storybook/addon-essentials": ^8.6.14 "@storybook/addon-interactions": ^8.6.14