diff --git a/.changeset/fluffy-onions-cry.md b/.changeset/fluffy-onions-cry.md new file mode 100644 index 00000000..f4fe1c8f --- /dev/null +++ b/.changeset/fluffy-onions-cry.md @@ -0,0 +1,11 @@ +--- +'@jpmorganchase/mosaic-components': patch +'@jpmorganchase/mosaic-labs-components': patch +'@jpmorganchase/mosaic-content-editor-plugin': patch +'@jpmorganchase/mosaic-layouts': patch +'@jpmorganchase/mosaic-site': patch +'@jpmorganchase/mosaic-site-components': patch +'@jpmorganchase/mosaic-sitemap-component': patch +--- + +Updated Salt packages. diff --git a/packages/components-labs/package.json b/packages/components-labs/package.json index 3689dcaf..1d1c0d41 100644 --- a/packages/components-labs/package.json +++ b/packages/components-labs/package.json @@ -46,7 +46,7 @@ "dependencies": { "@jpmorganchase/mosaic-components": "^0.1.0-beta.82", "@jpmorganchase/mosaic-theme": "^0.1.0-beta.82", - "@salt-ds/core": "^1.32.0", + "@salt-ds/core": "^1.33.0", "@vanilla-extract/css": "^1.6.0", "@vanilla-extract/recipes": "^0.2.1", "@vanilla-extract/sprinkles": "^1.3.0", diff --git a/packages/components/package.json b/packages/components/package.json index b66c14ae..fa2bfd84 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -46,8 +46,8 @@ "dependencies": { "@jpmorganchase/mosaic-store": "^0.1.0-beta.82", "@jpmorganchase/mosaic-theme": "^0.1.0-beta.82", - "@salt-ds/core": "^1.32.0", - "@salt-ds/lab": "1.0.0-alpha.49", + "@salt-ds/core": "^1.33.0", + "@salt-ds/lab": "1.0.0-alpha.50", "@vanilla-extract/css": "^1.6.0", "@vanilla-extract/sprinkles": "^1.3.0", "@vanilla-extract/recipes": "^0.2.1", diff --git a/packages/content-editor-plugin/package.json b/packages/content-editor-plugin/package.json index 5d89cf84..5fa0817b 100644 --- a/packages/content-editor-plugin/package.json +++ b/packages/content-editor-plugin/package.json @@ -43,9 +43,9 @@ "dependencies": { "@jpmorganchase/mosaic-components": "^0.1.0-beta.82", "@jpmorganchase/mosaic-theme": "^0.1.0-beta.82", - "@salt-ds/core": "^1.32.0", + "@salt-ds/core": "^1.33.0", "@salt-ds/icons": "^1.12.1", - "@salt-ds/lab": "1.0.0-alpha.49", + "@salt-ds/lab": "1.0.0-alpha.50", "@salt-ds/theme": "^1.19.0", "@floating-ui/react": "^0.26.6", "@lexical/code": "^0.11.1", diff --git a/packages/layouts/package.json b/packages/layouts/package.json index 887d7803..a8d61fbb 100644 --- a/packages/layouts/package.json +++ b/packages/layouts/package.json @@ -46,7 +46,7 @@ "@jpmorganchase/mosaic-site-components": "^0.1.0-beta.82", "@jpmorganchase/mosaic-store": "^0.1.0-beta.82", "@jpmorganchase/mosaic-theme": "^0.1.0-beta.82", - "@salt-ds/core": "^1.32.0", + "@salt-ds/core": "^1.33.0", "@vanilla-extract/css": "^1.6.0", "@vanilla-extract/sprinkles": "^1.3.0", "clsx": "^2.0.0", diff --git a/packages/site-components/package.json b/packages/site-components/package.json index 92e674c4..94252170 100644 --- a/packages/site-components/package.json +++ b/packages/site-components/package.json @@ -51,8 +51,8 @@ "@jpmorganchase/mosaic-site-middleware": "^0.1.0-beta.82", "@jpmorganchase/mosaic-store": "^0.1.0-beta.82", "@jpmorganchase/mosaic-theme": "^0.1.0-beta.82", - "@salt-ds/core": "^1.32.0", - "@salt-ds/lab": "1.0.0-alpha.49", + "@salt-ds/core": "^1.33.0", + "@salt-ds/lab": "1.0.0-alpha.50", "@types/mdast": "^3.0.0", "@vanilla-extract/css": "^1.6.0", "@vanilla-extract/recipes": "^0.2.1", diff --git a/packages/site-components/src/NavigationItem/ExpansionIcon.tsx b/packages/site-components/src/NavigationItem/ExpansionIcon.tsx deleted file mode 100644 index c533a0ac..00000000 --- a/packages/site-components/src/NavigationItem/ExpansionIcon.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import React from 'react'; -import { ChevronDownIcon, ChevronRightIcon } from '@salt-ds/icons'; -import { NavigationItemProps } from './NavigationItem'; - -const iconExpansionMap = { - vertical: { - expanded: ChevronDownIcon, - collapsed: ChevronRightIcon - }, - horizontal: { - expanded: ChevronDownIcon, - collapsed: ChevronDownIcon - } -}; - -export function ExpansionIcon({ - expanded = false, - orientation = 'horizontal' -}: Pick) { - const Icon = iconExpansionMap[orientation][expanded ? 'expanded' : 'collapsed']; - return