@guardian/stand 0.0.16 → 0.0.17

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.
Files changed (93) hide show
  1. package/README.md +1 -0
  2. package/dist/TopBar.cjs +9 -3
  3. package/dist/TopBar.js +4 -1
  4. package/dist/components/button/Button.cjs +1 -1
  5. package/dist/components/button/Button.js +1 -1
  6. package/dist/components/icon-button/IconButton.cjs +1 -1
  7. package/dist/components/icon-button/IconButton.js +1 -1
  8. package/dist/components/icon-link-button/IconLinkButton.cjs +1 -1
  9. package/dist/components/icon-link-button/IconLinkButton.js +1 -1
  10. package/dist/components/link-button/LinkButton.cjs +1 -1
  11. package/dist/components/link-button/LinkButton.js +1 -1
  12. package/dist/components/menu/styles.cjs +1 -0
  13. package/dist/components/menu/styles.js +1 -0
  14. package/dist/components/topbar/TopBar.cjs +101 -0
  15. package/dist/components/topbar/TopBar.js +63 -0
  16. package/dist/components/topbar/styles.cjs +30 -0
  17. package/dist/components/topbar/styles.js +25 -0
  18. package/dist/components/topbar/topBarItem/TopBarItem.cjs +28 -0
  19. package/dist/components/topbar/topBarItem/TopBarItem.js +10 -0
  20. package/dist/components/topbar/topBarItem/styles.cjs +20 -0
  21. package/dist/components/topbar/topBarItem/styles.js +17 -0
  22. package/dist/components/topbar/topBarNavigation/TopBarNavigation.cjs +70 -0
  23. package/dist/components/topbar/topBarNavigation/TopBarNavigation.js +23 -0
  24. package/dist/components/topbar/topBarNavigation/styles.cjs +68 -0
  25. package/dist/components/topbar/topBarNavigation/styles.js +61 -0
  26. package/dist/components/topbar/{toolName → topBarToolName}/TopBarToolName.cjs +3 -2
  27. package/dist/components/topbar/topBarToolName/TopBarToolName.js +13 -0
  28. package/dist/styleD/build/css/base/typography.css +3 -3
  29. package/dist/styleD/build/css/component/TopBar.css +55 -1
  30. package/dist/styleD/build/css/component/avatar.css +1 -1
  31. package/dist/styleD/build/css/component/button.css +177 -255
  32. package/dist/styleD/build/css/component/favicon.css +1 -1
  33. package/dist/styleD/build/css/component/menu.css +5 -4
  34. package/dist/styleD/build/css/component/tagAutocomplete.css +1 -1
  35. package/dist/styleD/build/css/component/tagTable.css +1 -1
  36. package/dist/styleD/build/css/component/topBarItem.css +7 -0
  37. package/dist/styleD/build/css/component/userMenu.css +6 -6
  38. package/dist/styleD/build/css/semantic/colors.css +45 -46
  39. package/dist/styleD/build/css/semantic/sizing.css +1 -0
  40. package/dist/styleD/build/css/semantic/typography.css +30 -30
  41. package/dist/styleD/build/typescript/base/typography.cjs +3 -3
  42. package/dist/styleD/build/typescript/base/typography.js +3 -3
  43. package/dist/styleD/build/typescript/component/TopBar.cjs +94 -0
  44. package/dist/styleD/build/typescript/component/TopBar.js +94 -0
  45. package/dist/styleD/build/typescript/component/button.cjs +5 -130
  46. package/dist/styleD/build/typescript/component/button.js +5 -130
  47. package/dist/styleD/build/typescript/component/menu.cjs +2 -1
  48. package/dist/styleD/build/typescript/component/menu.js +2 -1
  49. package/dist/styleD/build/typescript/semantic/colors.cjs +47 -52
  50. package/dist/styleD/build/typescript/semantic/colors.js +47 -52
  51. package/dist/styleD/build/typescript/semantic/sizing.cjs +1 -0
  52. package/dist/styleD/build/typescript/semantic/sizing.js +1 -0
  53. package/dist/types/TopBar.d.ts +12 -3
  54. package/dist/types/components/button/sandbox.d.ts +4 -4
  55. package/dist/types/components/button/types.d.ts +1 -1
  56. package/dist/types/components/icon-button/sandbox.d.ts +4 -4
  57. package/dist/types/components/icon-button/styles.d.ts +3 -128
  58. package/dist/types/components/icon-button/types.d.ts +1 -1
  59. package/dist/types/components/icon-link-button/sandbox.d.ts +4 -4
  60. package/dist/types/components/icon-link-button/styles.d.ts +3 -128
  61. package/dist/types/components/icon-link-button/types.d.ts +1 -1
  62. package/dist/types/components/link-button/sandbox.d.ts +4 -4
  63. package/dist/types/components/link-button/styles.d.ts +3 -128
  64. package/dist/types/components/link-button/types.d.ts +1 -1
  65. package/dist/types/components/topbar/TopBar.d.ts +8 -0
  66. package/dist/types/components/topbar/sandbox.d.ts +5 -0
  67. package/dist/types/components/topbar/styles.d.ts +9 -0
  68. package/dist/types/components/topbar/topBarItem/TopBarItem.d.ts +2 -0
  69. package/dist/types/components/topbar/topBarItem/sandbox.d.ts +5 -0
  70. package/dist/types/components/topbar/topBarItem/styles.d.ts +8 -0
  71. package/dist/types/components/topbar/topBarItem/types.d.ts +14 -0
  72. package/dist/types/components/topbar/topBarNavigation/TopBarNavigation.d.ts +2 -0
  73. package/dist/types/components/topbar/topBarNavigation/sandbox.d.ts +5 -0
  74. package/dist/types/components/topbar/topBarNavigation/styles.d.ts +12 -0
  75. package/dist/types/components/topbar/topBarNavigation/types.d.ts +44 -0
  76. package/dist/types/components/topbar/types.d.ts +3 -0
  77. package/dist/types/styleD/build/typescript/base/typography.d.ts +3 -3
  78. package/dist/types/styleD/build/typescript/component/TopBar.d.ts +94 -0
  79. package/dist/types/styleD/build/typescript/component/button.d.ts +3 -128
  80. package/dist/types/styleD/build/typescript/component/menu.d.ts +1 -0
  81. package/dist/types/styleD/build/typescript/semantic/colors.d.ts +44 -49
  82. package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +1 -0
  83. package/dist/util/css/reset.css +10 -0
  84. package/dist/util/reset.css.cjs +1 -1
  85. package/dist/util/reset.css.js +1 -1
  86. package/package.json +14 -16
  87. package/dist/components/topbar/toolName/TopBarToolName.js +0 -12
  88. /package/dist/components/topbar/{toolName → topBarToolName}/styles.cjs +0 -0
  89. /package/dist/components/topbar/{toolName → topBarToolName}/styles.js +0 -0
  90. /package/dist/types/components/topbar/{toolName → topBarToolName}/TopBarToolName.d.ts +0 -0
  91. /package/dist/types/components/topbar/{toolName → topBarToolName}/sandbox.d.ts +0 -0
  92. /package/dist/types/components/topbar/{toolName → topBarToolName}/styles.d.ts +0 -0
  93. /package/dist/types/components/topbar/{toolName → topBarToolName}/types.d.ts +0 -0
@@ -3,11 +3,11 @@
3
3
  */
4
4
  export declare const semanticColors: {
5
5
  text: {
6
- default: string;
7
- subdued: string;
8
- 'inverse-default': string;
9
- 'inverse-subdued': string;
10
- 'inverse-strong': string;
6
+ strong: string;
7
+ weak: string;
8
+ 'strong-inverse': string;
9
+ 'weak-inverse': string;
10
+ 'stronger-inverse': string;
11
11
  error: string;
12
12
  warning: string;
13
13
  success: string;
@@ -23,59 +23,54 @@ export declare const semanticColors: {
23
23
  magenta: string;
24
24
  orange: string;
25
25
  yellow: string;
26
- 'interactive-disabled': string;
27
26
  };
28
27
  bg: {
29
28
  base: string;
30
- 'raised-1': string;
31
- 'raised-2': string;
32
- };
33
- surface: {
34
- 'light-1': string;
35
- 'light-2': string;
36
- 'dark-1': string;
29
+ 'raised-level-1': string;
30
+ 'raised-level-2': string;
37
31
  };
38
32
  border: {
39
- default: string;
40
- secondary: string;
41
- tertiary: string;
33
+ stronger: string;
42
34
  strong: string;
43
- 'inverse-strong': string;
44
- 'interactive-emphasised': string;
45
- 'interactive-neutral': string;
46
- 'interactive-disabled': string;
47
- 'interactive-focused': string;
48
- 'interactive-selected': string;
49
- };
50
- status: {
51
- 'status-draft': string;
52
- 'status-live': string;
53
- 'status-selected': string;
54
- 'status-focused': string;
35
+ weak: string;
36
+ weaker: string;
37
+ 'strong-inverse': string;
38
+ disabled: string;
39
+ accent: string;
40
+ error: string;
41
+ focused: string;
42
+ selected: string;
43
+ 'selected-inverse': string;
55
44
  };
56
45
  fill: {
57
- 'interactive-primary-emphasised': string;
58
- 'interactive-primary-emphasised-hover': string;
59
- 'interactive-primary-emphasised-pressed': string;
60
- 'interactive-secondary-emphasised-hover': string;
61
- 'interactive-secondary-emphasised-pressed': string;
62
- 'interactive-primary-neutral': string;
63
- 'interactive-primary-neutral-hover': string;
64
- 'interactive-primary-neutral-pressed': string;
65
- 'interactive-secondary-neutral-hover': string;
66
- 'interactive-secondary-neutral-pressed': string;
67
- 'interactive-disabled': string;
68
- 'green-subtle': string;
69
- 'blue-subtle': string;
70
- 'red-subtle': string;
71
- 'cyan-subtle': string;
72
- 'teal-subtle': string;
73
- 'cool-purple-subtle': string;
74
- 'warm-purple-subtle': string;
75
- 'magenta-subtle': string;
76
- 'orange-subtle': string;
77
- 'yellow-subtle': string;
46
+ 'accent-strong': string;
47
+ 'accent-strong-hover': string;
48
+ 'accent-strong-pressed': string;
49
+ strong: string;
50
+ 'strong-hover': string;
51
+ 'strong-pressed': string;
52
+ weak: string;
53
+ 'weak-hover': string;
54
+ 'weak-pressed': string;
55
+ disabled: string;
56
+ 'green-weak': string;
57
+ 'blue-weak': string;
58
+ 'red-weak': string;
59
+ 'cyan-weak': string;
60
+ 'teal-weak': string;
61
+ 'cool-purple-weak': string;
62
+ 'warm-purple-weak': string;
63
+ 'magenta-weak': string;
64
+ 'orange-weak': string;
65
+ 'yellow-weak': string;
78
66
  selected: string;
67
+ 'draft-strong': string;
68
+ 'live-weak': string;
69
+ 'warning-weak': string;
70
+ 'information-weak': string;
71
+ 'error-weak': string;
72
+ 'error-strong': string;
73
+ 'success-weak': string;
79
74
  };
80
75
  };
81
76
  export type SemanticColors = typeof semanticColors;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export declare const semanticSizing: {
5
5
  height: {
6
+ xxs: string;
6
7
  xs: string;
7
8
  sm: string;
8
9
  md: string;
@@ -122,3 +122,13 @@ video {
122
122
  body {
123
123
  min-height: 100svh;
124
124
  }
125
+
126
+ .focus-ring {
127
+ outline: 0.125rem solid blue;
128
+ outline-offset: -1px;
129
+ }
130
+
131
+ .focus-focus {
132
+ outline: 0.125rem solid red;
133
+ outline-offset: -1px;
134
+ }
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- var reset = "/*\nSelect CSS resets for use with the stand design system.\nModified from https://github.com/guardian/csnx/blob/0f68024f6f3bee003b5f95e66d29fb74987a8dec/libs/%40guardian/source/src/foundations/utils/resets.ts\n*/\n*,\n*::after,\n*::before {\n\tbox-sizing: border-box;\n}\n\nhtml {\n\ttext-size-adjust: none;\n\t-webkit-text-size-adjust: none;\n\t-webkit-tap-highlight-color: transparent;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n}\n\nhtml,\nbody {\n\ttext-rendering: optimizeLegibility;\n\tfont-feature-settings: 'kern';\n\tfont-kerning: normal; /* Safari 7+, Firefox 24+, Chrome 33(?)+, Opera 21 */\n\tfont-variant-ligatures: common-ligatures;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nmenu,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tfont-size: 100%;\n\tfont: inherit;\n\tvertical-align: baseline;\n}\n\n*[hidden] {\n\tdisplay: none;\n}\n\nbody {\n\tmin-height: 100svh;\n}\n";
3
+ var reset = "/*\nSelect CSS resets for use with the stand design system.\nModified from https://github.com/guardian/csnx/blob/0f68024f6f3bee003b5f95e66d29fb74987a8dec/libs/%40guardian/source/src/foundations/utils/resets.ts\n*/\n*,\n*::after,\n*::before {\n\tbox-sizing: border-box;\n}\n\nhtml {\n\ttext-size-adjust: none;\n\t-webkit-text-size-adjust: none;\n\t-webkit-tap-highlight-color: transparent;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n}\n\nhtml,\nbody {\n\ttext-rendering: optimizeLegibility;\n\tfont-feature-settings: 'kern';\n\tfont-kerning: normal; /* Safari 7+, Firefox 24+, Chrome 33(?)+, Opera 21 */\n\tfont-variant-ligatures: common-ligatures;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nmenu,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tfont-size: 100%;\n\tfont: inherit;\n\tvertical-align: baseline;\n}\n\n*[hidden] {\n\tdisplay: none;\n}\n\nbody {\n\tmin-height: 100svh;\n}\n\n.focus-ring {\n\toutline: 0.125rem solid blue;\n\toutline-offset: -1px;\n}\n\n.focus-focus {\n\toutline: 0.125rem solid red;\n\toutline-offset: -1px;\n}\n";
4
4
 
5
5
  module.exports = reset;
@@ -1,3 +1,3 @@
1
- var reset = "/*\nSelect CSS resets for use with the stand design system.\nModified from https://github.com/guardian/csnx/blob/0f68024f6f3bee003b5f95e66d29fb74987a8dec/libs/%40guardian/source/src/foundations/utils/resets.ts\n*/\n*,\n*::after,\n*::before {\n\tbox-sizing: border-box;\n}\n\nhtml {\n\ttext-size-adjust: none;\n\t-webkit-text-size-adjust: none;\n\t-webkit-tap-highlight-color: transparent;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n}\n\nhtml,\nbody {\n\ttext-rendering: optimizeLegibility;\n\tfont-feature-settings: 'kern';\n\tfont-kerning: normal; /* Safari 7+, Firefox 24+, Chrome 33(?)+, Opera 21 */\n\tfont-variant-ligatures: common-ligatures;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nmenu,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tfont-size: 100%;\n\tfont: inherit;\n\tvertical-align: baseline;\n}\n\n*[hidden] {\n\tdisplay: none;\n}\n\nbody {\n\tmin-height: 100svh;\n}\n";
1
+ var reset = "/*\nSelect CSS resets for use with the stand design system.\nModified from https://github.com/guardian/csnx/blob/0f68024f6f3bee003b5f95e66d29fb74987a8dec/libs/%40guardian/source/src/foundations/utils/resets.ts\n*/\n*,\n*::after,\n*::before {\n\tbox-sizing: border-box;\n}\n\nhtml {\n\ttext-size-adjust: none;\n\t-webkit-text-size-adjust: none;\n\t-webkit-tap-highlight-color: transparent;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n}\n\nhtml,\nbody {\n\ttext-rendering: optimizeLegibility;\n\tfont-feature-settings: 'kern';\n\tfont-kerning: normal; /* Safari 7+, Firefox 24+, Chrome 33(?)+, Opera 21 */\n\tfont-variant-ligatures: common-ligatures;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nmenu,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tfont-size: 100%;\n\tfont: inherit;\n\tvertical-align: baseline;\n}\n\n*[hidden] {\n\tdisplay: none;\n}\n\nbody {\n\tmin-height: 100svh;\n}\n\n.focus-ring {\n\toutline: 0.125rem solid blue;\n\toutline-offset: -1px;\n}\n\n.focus-focus {\n\toutline: 0.125rem solid red;\n\toutline-offset: -1px;\n}\n";
2
2
 
3
3
  export { reset as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guardian/stand",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "type": "module",
5
5
  "//exports": "Each component has its own entry point for optimal tree-shaking. Main entry point only includes design tokens and utilities. New components/foundations should follow the same pattern.",
6
6
  "exports": {
@@ -163,24 +163,23 @@
163
163
  "types": "./dist/types/index.d.ts",
164
164
  "sideEffects": false,
165
165
  "devDependencies": {
166
- "@changesets/cli": "^2.29.8",
166
+ "@changesets/cli": "^2.30.0",
167
167
  "@codesandbox/sandpack-react": "^2.20.0",
168
168
  "@emotion/react": "11.11.4",
169
169
  "@figma/rest-api-spec": "^0.36.0",
170
- "@guardian/eslint-config": "14.0.0",
170
+ "@guardian/eslint-config": "14.0.1",
171
171
  "@guardian/prettier": "10.0.0",
172
172
  "@guardian/prosemirror-invisibles": "3.1.1",
173
173
  "@guardian/tsconfig": "1.0.1",
174
174
  "@material-design-icons/svg": "^0.14.15",
175
175
  "@playwright/experimental-ct-react17": "^1.58.2",
176
176
  "@react-aria/focus": "3.21.5",
177
- "@rollup/plugin-commonjs": "29.0.0",
177
+ "@rollup/plugin-commonjs": "29.0.2",
178
178
  "@rollup/plugin-node-resolve": "16.0.3",
179
179
  "@rollup/plugin-typescript": "12.3.0",
180
- "@storybook/addon-docs": "^10.2.14",
181
- "@storybook/addon-themes": "^10.2.14",
182
- "@storybook/react-vite": "^10.2.14",
183
- "@terrazzo/cli": "^0.10.5",
180
+ "@storybook/addon-docs": "^10.3.3",
181
+ "@storybook/addon-themes": "^10.3.3",
182
+ "@storybook/react-vite": "^10.3.3",
184
183
  "@testing-library/jest-dom": "^6.9.1",
185
184
  "@types/jest": "30.0.0",
186
185
  "@types/node": "^24.10.1",
@@ -188,10 +187,10 @@
188
187
  "@types/react-dom": "17.0.25",
189
188
  "change-case": "^5.4.4",
190
189
  "eslint": "9.39.3",
191
- "eslint-plugin-storybook": "^10.2.14",
190
+ "eslint-plugin-storybook": "^10.3.3",
192
191
  "husky": "^9.1.7",
193
- "jest": "30.2.0",
194
- "jest-environment-jsdom": "^30.1.2",
192
+ "jest": "30.3.0",
193
+ "jest-environment-jsdom": "^30.3.0",
195
194
  "prettier": "3.8.1",
196
195
  "prosemirror-dropcursor": "1.8.2",
197
196
  "prosemirror-history": "1.4.1",
@@ -204,17 +203,17 @@
204
203
  "react-dom": "17.0.2",
205
204
  "remark-gfm": "^4.0.1",
206
205
  "rimraf": "6.1.3",
207
- "rollup": "4.59.0",
206
+ "rollup": "4.60.0",
208
207
  "rollup-plugin-copy": "^3.5.0",
209
208
  "rollup-plugin-esbuild": "6.2.1",
210
209
  "rollup-plugin-import-css": "^4.2.0",
211
210
  "rollup-plugin-node-externals": "8.1.2",
212
- "storybook": "^10.2.14",
213
- "style-dictionary": "^5.3.2",
211
+ "storybook": "^10.3.3",
212
+ "style-dictionary": "^5.4.0",
214
213
  "ts-jest": "29.4.6",
215
214
  "tslib": "2.8.1",
216
215
  "typescript": "5.1.3",
217
- "vite": "^7.3.1",
216
+ "vite": "^8.0.2",
218
217
  "vite-plugin-svgr": "^4.5.0"
219
218
  },
220
219
  "peerDependencies": {
@@ -280,7 +279,6 @@
280
279
  "build-storybook": "storybook build",
281
280
  "lint": "eslint . --ext .ts,.tsx",
282
281
  "lint:fix": "eslint --fix . --ext .ts,.tsx",
283
- "lint:tokens": "tz check",
284
282
  "format:check": "prettier --check .",
285
283
  "format:fix": "prettier --write .",
286
284
  "tsc": "tsc",
@@ -1,12 +0,0 @@
1
- import { jsxs, jsx, Fragment } from '@emotion/react/jsx-runtime';
2
- import { mergeDeep } from '../../../util/mergeDeep.js';
3
- import { Favicon } from '../../favicon/Favicon.js';
4
- import { Icon } from '../../icon/Icon.js';
5
- import { toolNameTypography, dividerStyles, subsectionTypography, subsectionStyles, toolNameStyles, defaultToolNameTheme } from './styles.js';
6
-
7
- const TopBarToolName = ({ name, favicon, subsection, subsectionIcon, theme = {}, cssOverrides }) => {
8
- const mergedTheme = mergeDeep(defaultToolNameTheme, theme);
9
- return jsxs("div", { css: [toolNameStyles(mergedTheme), cssOverrides], children: [jsx(Favicon, { ...favicon }), jsx("div", { css: [toolNameTypography(mergedTheme)], children: name }), subsection && jsxs(Fragment, { children: [jsx("div", { css: dividerStyles(mergedTheme), children: "\xA0" }), jsxs("div", { css: subsectionStyles(mergedTheme), children: [subsectionIcon && jsx(Icon, { size: "sm", children: subsectionIcon }), jsx("div", { css: subsectionTypography(mergedTheme), children: subsection })] })] })] });
10
- };
11
-
12
- export { TopBarToolName };