@mrshmllw/smores-react 16.2.12 → 16.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,6 @@ import { Theme } from '../ThemeProvider';
5
5
  export type NewColor = Prettify<Flatten<Pick<typeof designTokens, 'color' | 'extended1' | 'thirdParty'>>>;
6
6
  export type ColorTypes = Color | NewColor;
7
7
  export declare const resolveToThemeColor: (color: ColorTypes, theme: Theme) => string;
8
- export declare const getColorPath: (color: ColorTypes) => "meta" | "onfido" | "rac" | "color.text.base" | "color.text.subtle" | "color.text.contrast" | "color.text.inverse" | "color.text.nonEssential" | "color.interactive.primary.base" | "color.interactive.primary.hover" | "color.interactive.primary.pressed" | "color.interactive.primary.selected" | "color.interactive.secondary.base" | "color.interactive.secondary.hover" | "color.interactive.secondary.pressed" | "color.interactive.secondary.selected" | "color.interactive.neutral.strong.base" | "color.interactive.neutral.strong.hover" | "color.interactive.neutral.strong.pressed" | "color.interactive.neutral.strong.selected" | "color.interactive.neutral.strong.selectedHover" | "color.interactive.neutral.subtle.base" | "color.interactive.neutral.subtle.hover" | "color.interactive.neutral.subtle.pressed" | "color.interactive.neutral.subtle.selected" | "color.interactive.neutral.subtle.selectedHover" | "color.background.100" | "color.background.200" | "color.background.000" | "color.icon.base" | "color.icon.subtle" | "color.icon.contrast" | "color.icon.inverse" | "color.icon.nonEssential" | "color.surface.base.400" | "color.surface.base.100" | "color.surface.base.200" | "color.surface.base.300" | "color.surface.base.000" | "color.surface.base.900" | "color.surface.brand.400" | "color.surface.brand.100" | "color.surface.brand.200" | "color.surface.brand.300" | "color.surface.brand.accent1" | "color.surface.brand.accent2" | "color.surface.brand.accent3" | "color.surface.brand.accent4" | "color.feedback.negative.100" | "color.feedback.negative.200" | "color.feedback.negative.300" | "color.feedback.positive.100" | "color.feedback.positive.200" | "color.feedback.positive.300" | "color.feedback.notice.100" | "color.feedback.notice.200" | "color.feedback.informative.100" | "color.feedback.informative.200" | "color.feedback.inactive.50" | "color.feedback.inactive.100" | "color.focus.onLight" | "color.focus.onDark" | "color.border.base" | "color.border.subtle" | "color.border.contrast" | "color.illustration.neutral.400" | "color.illustration.neutral.100" | "color.illustration.neutral.200" | "color.illustration.neutral.300" | "color.illustration.neutral.000" | "color.illustration.neutral.900" | "color.illustration.accent1.100" | "color.illustration.accent1.200" | "color.illustration.accent2.100" | "color.illustration.accent2.200" | "color.illustration.accent3.100" | "color.illustration.accent3.200" | "color.illustration.accent4.100" | "color.illustration.accent4.200" | "extended1.20" | "extended1.100" | "compareTheMarket" | "ravelin" | "stripe" | "intercom" | "checkout" | "hometree" | "premfina" | "thirdParty.onfido" | "thirdParty.rac" | "thirdParty.compareTheMarket" | "thirdParty.facebook" | "thirdParty.ravelin" | "thirdParty.confusedCom" | "thirdParty.stripe" | "thirdParty.intercom" | "thirdParty.twitter" | "thirdParty.checkout" | "thirdParty.hometree" | "thirdParty.premfina" | "lollipop" | "marshmallowPink" | "bubblegum" | "fairyFloss" | "boba" | "liquorice" | "sesame" | "chia" | "custard" | "mascarpone" | "coconut" | "cream" | "spearmint" | "feijoa" | "blueberry" | "macaroon" | "pistachio" | "matcha" | "caramel" | "peanut" | "marzipan" | "oatmeal" | "satsuma" | "strawberry" | "watermelon" | "apple" | "mint" | "lemon" | "sherbert" | "tangerine" | "confused" | "x";
8
+ export declare const getColorPath: (color: ColorTypes) => "meta" | "x" | "sesame" | "onfido" | "rac" | "color.text.base" | "color.text.subtle" | "color.text.contrast" | "color.text.inverse" | "color.text.nonEssential" | "color.icon.base" | "color.icon.subtle" | "color.icon.contrast" | "color.icon.inverse" | "color.icon.nonEssential" | "color.border.base" | "color.border.subtle" | "color.border.contrast" | "color.interactive.primary.base" | "color.interactive.primary.hover" | "color.interactive.primary.pressed" | "color.interactive.primary.selected" | "color.interactive.secondary.base" | "color.interactive.secondary.hover" | "color.interactive.secondary.pressed" | "color.interactive.secondary.selected" | "color.interactive.neutral.strong.base" | "color.interactive.neutral.strong.hover" | "color.interactive.neutral.strong.pressed" | "color.interactive.neutral.strong.selected" | "color.interactive.neutral.strong.selectedHover" | "color.interactive.neutral.subtle.base" | "color.interactive.neutral.subtle.hover" | "color.interactive.neutral.subtle.pressed" | "color.interactive.neutral.subtle.selected" | "color.interactive.neutral.subtle.selectedHover" | "color.background.100" | "color.background.200" | "color.background.000" | "color.surface.base.400" | "color.surface.base.100" | "color.surface.base.200" | "color.surface.base.300" | "color.surface.base.000" | "color.surface.base.900" | "color.surface.brand.400" | "color.surface.brand.100" | "color.surface.brand.200" | "color.surface.brand.300" | "color.surface.brand.accent1" | "color.surface.brand.accent2" | "color.surface.brand.accent3" | "color.surface.brand.accent4" | "color.feedback.inactive.50" | "color.feedback.inactive.100" | "color.feedback.negative.100" | "color.feedback.negative.200" | "color.feedback.negative.300" | "color.feedback.positive.100" | "color.feedback.positive.200" | "color.feedback.positive.300" | "color.feedback.notice.100" | "color.feedback.notice.200" | "color.feedback.informative.100" | "color.feedback.informative.200" | "color.focus.onLight" | "color.focus.onDark" | "color.illustration.neutral.400" | "color.illustration.neutral.100" | "color.illustration.neutral.200" | "color.illustration.neutral.300" | "color.illustration.neutral.000" | "color.illustration.neutral.900" | "color.illustration.accent1.100" | "color.illustration.accent1.200" | "color.illustration.accent2.100" | "color.illustration.accent2.200" | "color.illustration.accent3.100" | "color.illustration.accent3.200" | "color.illustration.accent4.100" | "color.illustration.accent4.200" | "extended1.20" | "extended1.100" | "compareTheMarket" | "ravelin" | "stripe" | "intercom" | "checkout" | "hometree" | "premfina" | "thirdParty.onfido" | "thirdParty.rac" | "thirdParty.compareTheMarket" | "thirdParty.facebook" | "thirdParty.ravelin" | "thirdParty.confusedCom" | "thirdParty.stripe" | "thirdParty.intercom" | "thirdParty.twitter" | "thirdParty.checkout" | "thirdParty.hometree" | "thirdParty.premfina" | "lollipop" | "marshmallowPink" | "bubblegum" | "fairyFloss" | "boba" | "liquorice" | "chia" | "custard" | "mascarpone" | "coconut" | "cream" | "spearmint" | "feijoa" | "blueberry" | "macaroon" | "pistachio" | "matcha" | "caramel" | "peanut" | "marzipan" | "oatmeal" | "satsuma" | "strawberry" | "watermelon" | "apple" | "mint" | "lemon" | "sherbert" | "tangerine" | "confused";
9
9
  export declare const formatDesignTokenColor: () => string;
10
10
  export declare const legacyColorMap: Record<Color, NewColor>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrshmllw/smores-react",
3
- "version": "16.2.12",
3
+ "version": "16.2.13",
4
4
  "description": "Collection of React components used by Marshmallow Technology",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",
@@ -59,7 +59,7 @@
59
59
  "@mrshmllw/smores-foundations": "^1.1.1",
60
60
  "body-scroll-lock": "^4.0.0-beta.0",
61
61
  "date-fns": "^4.4.0",
62
- "dompurify": "^3.4.12",
62
+ "dompurify": "^3.4.13",
63
63
  "fuse.js": "^7.5.0",
64
64
  "lexical": "^0.49.0",
65
65
  "polished": "^4.3.1"
@@ -67,14 +67,14 @@
67
67
  "devDependencies": {
68
68
  "@commitlint/cli": "^21.2.1",
69
69
  "@mrshmllw/campfire": "^6.1.4",
70
- "@snyk/protect": "^1.1306.0",
71
- "@storybook/addon-a11y": "^10.5.0",
70
+ "@snyk/protect": "^1.1306.2",
71
+ "@storybook/addon-a11y": "^10.5.6",
72
72
  "@storybook/addon-coverage": "^3.0.2",
73
- "@storybook/addon-docs": "^10.5.0",
74
- "@storybook/addon-links": "^10.5.0",
75
- "@storybook/react-vite": "^10.5.0",
73
+ "@storybook/addon-docs": "^10.5.6",
74
+ "@storybook/addon-links": "^10.5.6",
75
+ "@storybook/react-vite": "^10.5.6",
76
76
  "@storybook/test-runner": "^0.24.4",
77
- "@testing-library/jest-dom": "^6.9.1",
77
+ "@testing-library/jest-dom": "^7.0.0",
78
78
  "@testing-library/react": "^16.3.2",
79
79
  "@types/body-scroll-lock": "^3.1.2",
80
80
  "@types/node": "^26.1.2",
@@ -88,7 +88,7 @@
88
88
  "eslint-plugin-prettier": "^5.5.6",
89
89
  "eslint-plugin-react": "^7.37.5",
90
90
  "eslint-plugin-react-hooks": "^7.1.1",
91
- "eslint-plugin-storybook": "^10.5.0",
91
+ "eslint-plugin-storybook": "^10.5.6",
92
92
  "husky": "^9.1.7",
93
93
  "jest-styled-components": "^7.4.0",
94
94
  "jsdom": "^30.0.1",
@@ -99,7 +99,7 @@
99
99
  "react-dom": "^19.2.8",
100
100
  "rimraf": "^6.1.3",
101
101
  "storybook": "^10.2.13",
102
- "styled-components": "^6.4.2",
102
+ "styled-components": "^6.4.4",
103
103
  "typescript": "^5.9.3",
104
104
  "typescript-eslint": "^8.66.0",
105
105
  "vite": "^8.2.0",