@guardian/stand 0.0.66 → 0.0.68

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 (63) hide show
  1. package/dist/SidebarStepperNavigation.cjs +7 -0
  2. package/dist/SidebarStepperNavigation.d.cts +5 -0
  3. package/dist/SidebarStepperNavigation.d.ts +5 -0
  4. package/dist/SidebarStepperNavigation.js +4 -0
  5. package/dist/_virtual/_rolldown/runtime.cjs +1 -1
  6. package/dist/components/Avatar/Avatar.cjs +4 -2
  7. package/dist/components/Avatar/Avatar.js +4 -2
  8. package/dist/components/AvatarButton/AvatarButton.cjs +2 -1
  9. package/dist/components/AvatarButton/AvatarButton.js +2 -1
  10. package/dist/components/AvatarLink/AvatarLink.cjs +2 -1
  11. package/dist/components/AvatarLink/AvatarLink.js +2 -1
  12. package/dist/components/Badge/Badge.cjs +2 -1
  13. package/dist/components/Badge/Badge.js +2 -1
  14. package/dist/components/Byline/Byline.cjs +4 -2
  15. package/dist/components/Byline/Byline.js +4 -2
  16. package/dist/components/Byline/Preview.cjs +13 -11
  17. package/dist/components/Byline/Preview.js +13 -11
  18. package/dist/components/Grid/Grid.cjs +4 -2
  19. package/dist/components/Grid/Grid.js +4 -2
  20. package/dist/components/HtmlPreviewLoader/styles.cjs +4 -3
  21. package/dist/components/HtmlPreviewLoader/styles.js +4 -3
  22. package/dist/components/Layout/Layout.cjs +4 -2
  23. package/dist/components/Layout/Layout.js +4 -2
  24. package/dist/components/Menu/Menu.cjs +4 -2
  25. package/dist/components/Menu/Menu.js +4 -2
  26. package/dist/components/Modal/Modal.cjs +6 -3
  27. package/dist/components/Modal/Modal.js +6 -3
  28. package/dist/components/SidebarStepperNavigation/SidebarStepperNavigation.cjs +161 -0
  29. package/dist/components/SidebarStepperNavigation/SidebarStepperNavigation.d.cts +5 -0
  30. package/dist/components/SidebarStepperNavigation/SidebarStepperNavigation.d.ts +5 -0
  31. package/dist/components/SidebarStepperNavigation/SidebarStepperNavigation.js +161 -0
  32. package/dist/components/SidebarStepperNavigation/styles.cjs +96 -0
  33. package/dist/components/SidebarStepperNavigation/styles.d.cts +8 -0
  34. package/dist/components/SidebarStepperNavigation/styles.d.ts +8 -0
  35. package/dist/components/SidebarStepperNavigation/styles.js +88 -0
  36. package/dist/components/SidebarStepperNavigation/types.cjs +9 -0
  37. package/dist/components/SidebarStepperNavigation/types.d.cts +26 -0
  38. package/dist/components/SidebarStepperNavigation/types.d.ts +26 -0
  39. package/dist/components/SidebarStepperNavigation/types.js +9 -0
  40. package/dist/components/Tabs/Tabs.cjs +2 -1
  41. package/dist/components/Tabs/Tabs.js +2 -1
  42. package/dist/components/TagPicker/styles.cjs +4 -2
  43. package/dist/components/TagPicker/styles.js +4 -2
  44. package/dist/components/TagTable/styles.cjs +2 -1
  45. package/dist/components/TagTable/styles.js +2 -1
  46. package/dist/components/TopBar/TopBarItem/TopBarItem.cjs +2 -1
  47. package/dist/components/TopBar/TopBarItem/TopBarItem.js +2 -1
  48. package/dist/components/Typography/Typography.cjs +2 -1
  49. package/dist/components/Typography/Typography.js +2 -1
  50. package/dist/components/Typography/types.d.cts +4 -2
  51. package/dist/components/Typography/types.d.ts +4 -2
  52. package/dist/index.cjs +2 -0
  53. package/dist/index.d.cts +2 -1
  54. package/dist/index.d.ts +2 -1
  55. package/dist/index.js +2 -1
  56. package/dist/styleD/build/css/component/sidebarStepperNavigation.css +51 -0
  57. package/dist/styleD/build/typescript/component/sidebarStepperNavigation.cjs +68 -0
  58. package/dist/styleD/build/typescript/component/sidebarStepperNavigation.d.cts +85 -0
  59. package/dist/styleD/build/typescript/component/sidebarStepperNavigation.d.ts +85 -0
  60. package/dist/styleD/build/typescript/component/sidebarStepperNavigation.js +68 -0
  61. package/dist/util/useId.cjs +16 -0
  62. package/dist/util/useId.js +14 -0
  63. package/package.json +34 -19
@@ -94,10 +94,11 @@ const tagPickerStyles = (partialTheme = {}) => {
94
94
  `;
95
95
  };
96
96
  const offlineSectionStyles = (partialTheme = {}) => {
97
+ const theme = mergeDeep(componentTagPicker, partialTheme);
97
98
  return css`
98
99
  display: flex;
99
100
  flex-direction: column;
100
- gap: ${mergeDeep(componentTagPicker, partialTheme).offlineSection.gap};
101
+ gap: ${theme.offlineSection.gap};
101
102
  `;
102
103
  };
103
104
  const tagSearchWithFilterStyles = (partialTheme = {}) => {
@@ -109,8 +110,9 @@ const tagSearchWithFilterStyles = (partialTheme = {}) => {
109
110
  `;
110
111
  };
111
112
  const filterSelectCssOverrides = (partialTheme = {}) => {
113
+ const theme = mergeDeep(componentTagPicker, partialTheme);
112
114
  return css`
113
- flex-basis: ${mergeDeep(componentTagPicker, partialTheme).select.flexBasis};
115
+ flex-basis: ${theme.select.flexBasis};
114
116
  display: flex;
115
117
  button {
116
118
  height: 100%;
@@ -15,10 +15,11 @@ const tagTableHeaderStyles = (partialTheme = {}) => {
15
15
  `;
16
16
  };
17
17
  const tagTableHeaderTextStyles = (partialTheme = {}) => {
18
+ const theme = require_mergeDeep.mergeDeep(require_tagTable.componentTagTable, partialTheme);
18
19
  return _emotion_react.css`
19
20
  display: flex;
20
21
  flex-direction: column;
21
- gap: ${require_mergeDeep.mergeDeep(require_tagTable.componentTagTable, partialTheme).header.gap};
22
+ gap: ${theme.header.gap};
22
23
  `;
23
24
  };
24
25
  const tagTableHeadingStyles = (partialTheme = {}) => {
@@ -15,10 +15,11 @@ const tagTableHeaderStyles = (partialTheme = {}) => {
15
15
  `;
16
16
  };
17
17
  const tagTableHeaderTextStyles = (partialTheme = {}) => {
18
+ const theme = mergeDeep(componentTagTable, partialTheme);
18
19
  return css`
19
20
  display: flex;
20
21
  flex-direction: column;
21
- gap: ${mergeDeep(componentTagTable, partialTheme).header.gap};
22
+ gap: ${theme.header.gap};
22
23
  `;
23
24
  };
24
25
  const tagTableHeadingStyles = (partialTheme = {}) => {
@@ -3,8 +3,9 @@ const require_styles = require("./styles.cjs");
3
3
  let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
4
4
  //#region src/components/TopBar/TopBarItem/TopBarItem.tsx
5
5
  function TopBarItem({ children, alignment = "left", theme = {}, cssOverrides, className, size = "md", _menuOpen, ...props }) {
6
+ const mergedTheme = require_mergeDeep.mergeDeep(require_styles.defaultTopBarItemTheme, theme);
6
7
  return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)("div", {
7
- css: [require_styles.topBarItemStyles(require_mergeDeep.mergeDeep(require_styles.defaultTopBarItemTheme, theme), alignment, { size }, _menuOpen), cssOverrides],
8
+ css: [require_styles.topBarItemStyles(mergedTheme, alignment, { size }, _menuOpen), cssOverrides],
8
9
  className,
9
10
  ...props,
10
11
  children
@@ -3,8 +3,9 @@ import { defaultTopBarItemTheme, topBarItemStyles } from "./styles.js";
3
3
  import { jsx } from "@emotion/react/jsx-runtime";
4
4
  //#region src/components/TopBar/TopBarItem/TopBarItem.tsx
5
5
  function TopBarItem({ children, alignment = "left", theme = {}, cssOverrides, className, size = "md", _menuOpen, ...props }) {
6
+ const mergedTheme = mergeDeep(defaultTopBarItemTheme, theme);
6
7
  return /* @__PURE__ */ jsx("div", {
7
- css: [topBarItemStyles(mergeDeep(defaultTopBarItemTheme, theme), alignment, { size }, _menuOpen), cssOverrides],
8
+ css: [topBarItemStyles(mergedTheme, alignment, { size }, _menuOpen), cssOverrides],
8
9
  className,
9
10
  ...props,
10
11
  children
@@ -4,9 +4,10 @@ let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
4
4
  let react_aria_components = require("react-aria-components");
5
5
  //#region src/components/Typography/Typography.tsx
6
6
  const Typography = ({ element = "span", variant = "bodyMd", children, cssOverrides, theme = {}, ...props }) => {
7
+ const mergedTheme = require_mergeDeep.mergeDeep(require_styles.defaultTypographyTheme, theme);
7
8
  return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(react_aria_components.Text, {
8
9
  elementType: element,
9
- css: [require_styles.typographyStyles(require_mergeDeep.mergeDeep(require_styles.defaultTypographyTheme, theme), { variant }), cssOverrides],
10
+ css: [require_styles.typographyStyles(mergedTheme, { variant }), cssOverrides],
10
11
  ...props,
11
12
  children
12
13
  });
@@ -4,9 +4,10 @@ import { jsx } from "@emotion/react/jsx-runtime";
4
4
  import { Text } from "react-aria-components";
5
5
  //#region src/components/Typography/Typography.tsx
6
6
  const Typography = ({ element = "span", variant = "bodyMd", children, cssOverrides, theme = {}, ...props }) => {
7
+ const mergedTheme = mergeDeep(defaultTypographyTheme, theme);
7
8
  return /* @__PURE__ */ jsx(Text, {
8
9
  elementType: element,
9
- css: [typographyStyles(mergeDeep(defaultTypographyTheme, theme), { variant }), cssOverrides],
10
+ css: [typographyStyles(mergedTheme, { variant }), cssOverrides],
10
11
  ...props,
11
12
  children
12
13
  });
@@ -2,17 +2,19 @@ import { DefaultProps } from "../../util/types.cjs";
2
2
  import { SemanticTypography } from "../../styleD/build/typescript/semantic/typography.cjs";
3
3
  import { TypographyTheme } from "./styles.cjs";
4
4
  import { TextProps } from "react-aria-components";
5
+ import { JSX } from "react";
5
6
  //#region src/components/Typography/types.d.ts
6
7
  type TypographyVariant = keyof SemanticTypography;
8
+ type TypographyElement = keyof JSX.IntrinsicElements | (string & {});
7
9
  interface TypographyProps extends DefaultProps<TypographyTheme, TextProps['className']>, Omit<TextProps, 'elementType' | 'className'> {
8
10
  /**
9
11
  * HTML element to render with font applied to
10
12
  */
11
- element?: 'div' | 'span' | 'p' | 'b' | 'i' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
13
+ element?: TypographyElement;
12
14
  /**
13
15
  * Font variant to apply as a CSS style to the element
14
16
  */
15
17
  variant?: TypographyVariant;
16
18
  }
17
19
  //#endregion
18
- export { TypographyProps, TypographyVariant };
20
+ export { TypographyElement, TypographyProps, TypographyVariant };
@@ -1,18 +1,20 @@
1
1
  import { DefaultProps } from "../../util/types.js";
2
2
  import { SemanticTypography } from "../../styleD/build/typescript/semantic/typography.js";
3
3
  import { TypographyTheme } from "./styles.js";
4
+ import { JSX } from "react";
4
5
  import { TextProps } from "react-aria-components";
5
6
  //#region src/components/Typography/types.d.ts
6
7
  type TypographyVariant = keyof SemanticTypography;
8
+ type TypographyElement = keyof JSX.IntrinsicElements | (string & {});
7
9
  interface TypographyProps extends DefaultProps<TypographyTheme, TextProps['className']>, Omit<TextProps, 'elementType' | 'className'> {
8
10
  /**
9
11
  * HTML element to render with font applied to
10
12
  */
11
- element?: 'div' | 'span' | 'p' | 'b' | 'i' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
13
+ element?: TypographyElement;
12
14
  /**
13
15
  * Font variant to apply as a CSS style to the element
14
16
  */
15
17
  variant?: TypographyVariant;
16
18
  }
17
19
  //#endregion
18
- export { TypographyProps, TypographyVariant };
20
+ export { TypographyElement, TypographyProps, TypographyVariant };
package/dist/index.cjs CHANGED
@@ -30,6 +30,7 @@ const require_topBar = require("./styleD/build/typescript/component/topBar.cjs")
30
30
  const require_typography = require("./styleD/build/typescript/component/typography.cjs");
31
31
  const require_tabs = require("./styleD/build/typescript/component/tabs.cjs");
32
32
  const require_userFeedbackSummary = require("./styleD/build/typescript/component/userFeedbackSummary.cjs");
33
+ const require_sidebarStepperNavigation = require("./styleD/build/typescript/component/sidebarStepperNavigation.cjs");
33
34
  const require_colors = require("./styleD/build/typescript/base/colors.cjs");
34
35
  const require_radius = require("./styleD/build/typescript/base/radius.cjs");
35
36
  const require_sizing = require("./styleD/build/typescript/base/sizing.cjs");
@@ -68,6 +69,7 @@ exports.componentMenu = require_menu.componentMenu;
68
69
  exports.componentModal = require_modal.componentModal;
69
70
  exports.componentRadioGroup = require_radioGroup.componentRadioGroup;
70
71
  exports.componentSelect = require_select.componentSelect;
72
+ exports.componentSidebarStepperNavigation = require_sidebarStepperNavigation.componentSidebarStepperNavigation;
71
73
  exports.componentTabs = require_tabs.componentTabs;
72
74
  exports.componentTagTable = require_tagTable.componentTagTable;
73
75
  exports.componentTextArea = require_textArea.componentTextArea;
package/dist/index.d.cts CHANGED
@@ -21,6 +21,7 @@ import { ComponentMenu, componentMenu } from "./styleD/build/typescript/componen
21
21
  import { ComponentModal, componentModal } from "./styleD/build/typescript/component/modal.cjs";
22
22
  import { ComponentRadioGroup, componentRadioGroup } from "./styleD/build/typescript/component/radioGroup.cjs";
23
23
  import { ComponentSelect, componentSelect } from "./styleD/build/typescript/component/select.cjs";
24
+ import { ComponentSidebarStepperNavigation, componentSidebarStepperNavigation } from "./styleD/build/typescript/component/sidebarStepperNavigation.cjs";
24
25
  import { ComponentTabs, componentTabs } from "./styleD/build/typescript/component/tabs.cjs";
25
26
  import { ComponentAutocomplete, componentAutocomplete } from "./styleD/build/typescript/component/autocomplete.cjs";
26
27
  import { ComponentTagTable, componentTagTable } from "./styleD/build/typescript/component/tagTable.cjs";
@@ -41,4 +42,4 @@ import { SemanticSizing, semanticSizing } from "./styleD/build/typescript/semant
41
42
  import { SemanticShadow, semanticShadow } from "./styleD/build/typescript/semantic/shadow.cjs";
42
43
  import { SemanticRadius, semanticRadius } from "./styleD/build/typescript/semantic/radius.cjs";
43
44
  import { SemanticSpacing, semanticSpacing } from "./styleD/build/typescript/semantic/spacing.cjs";
44
- export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentBadge, type ComponentButton, type ComponentButtonGroup, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, type ComponentTopBar, type ComponentTypography, type ComponentUserFeedbackSummary, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentBadge, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
45
+ export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentBadge, type ComponentButton, type ComponentButtonGroup, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentSidebarStepperNavigation, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, type ComponentTopBar, type ComponentTypography, type ComponentUserFeedbackSummary, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentBadge, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentSidebarStepperNavigation, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
package/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ import { ComponentMenu, componentMenu } from "./styleD/build/typescript/componen
21
21
  import { ComponentModal, componentModal } from "./styleD/build/typescript/component/modal.js";
22
22
  import { ComponentRadioGroup, componentRadioGroup } from "./styleD/build/typescript/component/radioGroup.js";
23
23
  import { ComponentSelect, componentSelect } from "./styleD/build/typescript/component/select.js";
24
+ import { ComponentSidebarStepperNavigation, componentSidebarStepperNavigation } from "./styleD/build/typescript/component/sidebarStepperNavigation.js";
24
25
  import { ComponentTabs, componentTabs } from "./styleD/build/typescript/component/tabs.js";
25
26
  import { ComponentAutocomplete, componentAutocomplete } from "./styleD/build/typescript/component/autocomplete.js";
26
27
  import { ComponentTagTable, componentTagTable } from "./styleD/build/typescript/component/tagTable.js";
@@ -41,4 +42,4 @@ import { SemanticSizing, semanticSizing } from "./styleD/build/typescript/semant
41
42
  import { SemanticShadow, semanticShadow } from "./styleD/build/typescript/semantic/shadow.js";
42
43
  import { SemanticRadius, semanticRadius } from "./styleD/build/typescript/semantic/radius.js";
43
44
  import { SemanticSpacing, semanticSpacing } from "./styleD/build/typescript/semantic/spacing.js";
44
- export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentBadge, type ComponentButton, type ComponentButtonGroup, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, type ComponentTopBar, type ComponentTypography, type ComponentUserFeedbackSummary, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentBadge, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
45
+ export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentBadge, type ComponentButton, type ComponentButtonGroup, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentSidebarStepperNavigation, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, type ComponentTopBar, type ComponentTypography, type ComponentUserFeedbackSummary, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentBadge, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentSidebarStepperNavigation, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
package/dist/index.js CHANGED
@@ -29,6 +29,7 @@ import { componentTopBar } from "./styleD/build/typescript/component/topBar.js";
29
29
  import { componentTypography } from "./styleD/build/typescript/component/typography.js";
30
30
  import { componentTabs } from "./styleD/build/typescript/component/tabs.js";
31
31
  import { componentUserFeedbackSummary } from "./styleD/build/typescript/component/userFeedbackSummary.js";
32
+ import { componentSidebarStepperNavigation } from "./styleD/build/typescript/component/sidebarStepperNavigation.js";
32
33
  import { baseColors } from "./styleD/build/typescript/base/colors.js";
33
34
  import { baseRadius } from "./styleD/build/typescript/base/radius.js";
34
35
  import { baseSizing } from "./styleD/build/typescript/base/sizing.js";
@@ -41,4 +42,4 @@ import { semanticSizing } from "./styleD/build/typescript/semantic/sizing.js";
41
42
  import { semanticShadow } from "./styleD/build/typescript/semantic/shadow.js";
42
43
  import { semanticRadius } from "./styleD/build/typescript/semantic/radius.js";
43
44
  import { semanticSpacing } from "./styleD/build/typescript/semantic/spacing.js";
44
- export { baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentBadge, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
45
+ export { baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentBadge, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentSidebarStepperNavigation, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --component-sidebar-stepper-navigation-mobile-toggle-shared-border: 0.125rem
7
+ solid #cccccc;
8
+ --component-sidebar-stepper-navigation-mobile-toggle-shared-display: flex;
9
+ --component-sidebar-stepper-navigation-mobile-toggle-shared-align-items: center;
10
+ --component-sidebar-stepper-navigation-mobile-toggle-shared-justify-content: space-between;
11
+ --component-sidebar-stepper-navigation-mobile-toggle-shared-height: 4.5rem;
12
+ --component-sidebar-stepper-navigation-mobile-toggle-shared-padding-inline: 1rem;
13
+ --component-sidebar-stepper-navigation-mobile-toggle-shared-width: 100%;
14
+ --component-sidebar-stepper-navigation-mobile-toggle-shared-background-color: #f6f6f6;
15
+ --component-sidebar-stepper-navigation-mobile-toggle-shared-hovered-background-color: #ededed;
16
+ --component-sidebar-stepper-navigation-mobile-toggle-shared-pressed-background-color: #e6e6e6;
17
+ --component-sidebar-stepper-navigation-navigation-shared-border: 0.0625rem
18
+ solid #8d8d8d;
19
+ --component-sidebar-stepper-navigation-navigation-shared-flex-direction: column;
20
+ --component-sidebar-stepper-navigation-navigation-shared-height: 100%;
21
+ --component-sidebar-stepper-navigation-status-row-shared-display: flex;
22
+ --component-sidebar-stepper-navigation-status-row-shared-gap: 0.375rem;
23
+ --component-sidebar-stepper-navigation-status-row-shared-align-items: center;
24
+ --component-sidebar-stepper-navigation-status-row-shared-text-color: #545454;
25
+ --component-sidebar-stepper-navigation-status-row-shared-text-disabled-color: #999999;
26
+ --component-sidebar-stepper-navigation-status-row-shared-icon-size: 1rem;
27
+ --component-sidebar-stepper-navigation-status-row-shared-icon-optional-color: #cde4c9;
28
+ --component-sidebar-stepper-navigation-status-row-shared-icon-complete-color: #326528;
29
+ --component-sidebar-stepper-navigation-status-row-shared-icon-incomplete-color: #8c2113;
30
+ --component-sidebar-stepper-navigation-step-shared-height: 4.5rem;
31
+ --component-sidebar-stepper-navigation-step-shared-background-color: #ffffff;
32
+ --component-sidebar-stepper-navigation-step-shared-current-background-color: #f6f6f6;
33
+ --component-sidebar-stepper-navigation-step-shared-cursor: pointer;
34
+ --component-sidebar-stepper-navigation-step-shared-disabled-cursor: default;
35
+ --component-sidebar-stepper-navigation-step-shared-border: 0.0625rem solid
36
+ #cccccc;
37
+ --component-sidebar-stepper-navigation-step-shared-text-color: #000000;
38
+ --component-sidebar-stepper-navigation-step-shared-text-disabled-color: #999999;
39
+ --component-sidebar-stepper-navigation-step-shared-text-inverse-color: #ffffff;
40
+ --component-sidebar-stepper-navigation-step-shared-number-column-width: 2rem;
41
+ --component-sidebar-stepper-navigation-step-number-shared-height: 100%;
42
+ --component-sidebar-stepper-navigation-step-number-shared-background-color: #005d8b;
43
+ --component-sidebar-stepper-navigation-step-number-shared-display: flex;
44
+ --component-sidebar-stepper-navigation-step-number-shared-align-items: center;
45
+ --component-sidebar-stepper-navigation-step-number-shared-justify-content: center;
46
+ --component-sidebar-stepper-navigation-step-content-shared-display: flex;
47
+ --component-sidebar-stepper-navigation-step-content-shared-flex-direction: column;
48
+ --component-sidebar-stepper-navigation-step-content-shared-justify-content: center;
49
+ --component-sidebar-stepper-navigation-step-content-shared-gap: 0.25rem;
50
+ --component-sidebar-stepper-navigation-step-content-shared-margin-left: 0.75rem;
51
+ }
@@ -0,0 +1,68 @@
1
+ //#region src/styleD/build/typescript/component/sidebarStepperNavigation.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ const componentSidebarStepperNavigation = {
6
+ mobileToggle: { shared: {
7
+ border: "0.125rem solid #cccccc",
8
+ display: "flex",
9
+ alignItems: "center",
10
+ justifyContent: "space-between",
11
+ height: "4.5rem",
12
+ paddingInline: "1rem",
13
+ width: "100%",
14
+ backgroundColor: "#f6f6f6",
15
+ hovered: { backgroundColor: "#ededed" },
16
+ pressed: { backgroundColor: "#e6e6e6" }
17
+ } },
18
+ navigation: { shared: {
19
+ border: "0.0625rem solid #8d8d8d",
20
+ flexDirection: "column",
21
+ height: "100%"
22
+ } },
23
+ statusRow: { shared: {
24
+ display: "flex",
25
+ gap: "0.375rem",
26
+ alignItems: "center",
27
+ text: {
28
+ color: "#545454",
29
+ disabledColor: "#999999"
30
+ },
31
+ icon: {
32
+ size: "1rem",
33
+ optionalColor: "#cde4c9",
34
+ completeColor: "#326528",
35
+ incompleteColor: "#8c2113"
36
+ }
37
+ } },
38
+ step: { shared: {
39
+ height: "4.5rem",
40
+ backgroundColor: "#ffffff",
41
+ currentBackgroundColor: "#f6f6f6",
42
+ cursor: "pointer",
43
+ disabledCursor: "default",
44
+ border: "0.0625rem solid #cccccc",
45
+ text: {
46
+ color: "#000000",
47
+ disabledColor: "#999999",
48
+ inverseColor: "#ffffff"
49
+ },
50
+ numberColumnWidth: "2rem"
51
+ } },
52
+ stepNumber: { shared: {
53
+ height: "100%",
54
+ backgroundColor: "#005d8b",
55
+ display: "flex",
56
+ alignItems: "center",
57
+ justifyContent: "center"
58
+ } },
59
+ stepContent: { shared: {
60
+ display: "flex",
61
+ flexDirection: "column",
62
+ justifyContent: "center",
63
+ gap: "0.25rem",
64
+ marginLeft: "0.75rem"
65
+ } }
66
+ };
67
+ //#endregion
68
+ exports.componentSidebarStepperNavigation = componentSidebarStepperNavigation;
@@ -0,0 +1,85 @@
1
+ //#region src/styleD/build/typescript/component/sidebarStepperNavigation.d.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ declare const componentSidebarStepperNavigation: {
6
+ mobileToggle: {
7
+ shared: {
8
+ border: string;
9
+ display: string;
10
+ alignItems: string;
11
+ justifyContent: string;
12
+ height: string;
13
+ paddingInline: string;
14
+ width: string;
15
+ backgroundColor: string;
16
+ hovered: {
17
+ backgroundColor: string;
18
+ };
19
+ pressed: {
20
+ backgroundColor: string;
21
+ };
22
+ };
23
+ };
24
+ navigation: {
25
+ shared: {
26
+ border: string;
27
+ flexDirection: string;
28
+ height: string;
29
+ };
30
+ };
31
+ statusRow: {
32
+ shared: {
33
+ display: string;
34
+ gap: string;
35
+ alignItems: string;
36
+ text: {
37
+ color: string;
38
+ disabledColor: string;
39
+ };
40
+ icon: {
41
+ size: string;
42
+ optionalColor: string;
43
+ completeColor: string;
44
+ incompleteColor: string;
45
+ };
46
+ };
47
+ };
48
+ step: {
49
+ shared: {
50
+ height: string;
51
+ backgroundColor: string;
52
+ currentBackgroundColor: string;
53
+ cursor: string;
54
+ disabledCursor: string;
55
+ border: string;
56
+ text: {
57
+ color: string;
58
+ disabledColor: string;
59
+ inverseColor: string;
60
+ };
61
+ numberColumnWidth: string;
62
+ };
63
+ };
64
+ stepNumber: {
65
+ shared: {
66
+ height: string;
67
+ backgroundColor: string;
68
+ display: string;
69
+ alignItems: string;
70
+ justifyContent: string;
71
+ };
72
+ };
73
+ stepContent: {
74
+ shared: {
75
+ display: string;
76
+ flexDirection: string;
77
+ justifyContent: string;
78
+ gap: string;
79
+ marginLeft: string;
80
+ };
81
+ };
82
+ };
83
+ type ComponentSidebarStepperNavigation = typeof componentSidebarStepperNavigation;
84
+ //#endregion
85
+ export { ComponentSidebarStepperNavigation, componentSidebarStepperNavigation };
@@ -0,0 +1,85 @@
1
+ //#region src/styleD/build/typescript/component/sidebarStepperNavigation.d.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ declare const componentSidebarStepperNavigation: {
6
+ mobileToggle: {
7
+ shared: {
8
+ border: string;
9
+ display: string;
10
+ alignItems: string;
11
+ justifyContent: string;
12
+ height: string;
13
+ paddingInline: string;
14
+ width: string;
15
+ backgroundColor: string;
16
+ hovered: {
17
+ backgroundColor: string;
18
+ };
19
+ pressed: {
20
+ backgroundColor: string;
21
+ };
22
+ };
23
+ };
24
+ navigation: {
25
+ shared: {
26
+ border: string;
27
+ flexDirection: string;
28
+ height: string;
29
+ };
30
+ };
31
+ statusRow: {
32
+ shared: {
33
+ display: string;
34
+ gap: string;
35
+ alignItems: string;
36
+ text: {
37
+ color: string;
38
+ disabledColor: string;
39
+ };
40
+ icon: {
41
+ size: string;
42
+ optionalColor: string;
43
+ completeColor: string;
44
+ incompleteColor: string;
45
+ };
46
+ };
47
+ };
48
+ step: {
49
+ shared: {
50
+ height: string;
51
+ backgroundColor: string;
52
+ currentBackgroundColor: string;
53
+ cursor: string;
54
+ disabledCursor: string;
55
+ border: string;
56
+ text: {
57
+ color: string;
58
+ disabledColor: string;
59
+ inverseColor: string;
60
+ };
61
+ numberColumnWidth: string;
62
+ };
63
+ };
64
+ stepNumber: {
65
+ shared: {
66
+ height: string;
67
+ backgroundColor: string;
68
+ display: string;
69
+ alignItems: string;
70
+ justifyContent: string;
71
+ };
72
+ };
73
+ stepContent: {
74
+ shared: {
75
+ display: string;
76
+ flexDirection: string;
77
+ justifyContent: string;
78
+ gap: string;
79
+ marginLeft: string;
80
+ };
81
+ };
82
+ };
83
+ type ComponentSidebarStepperNavigation = typeof componentSidebarStepperNavigation;
84
+ //#endregion
85
+ export { ComponentSidebarStepperNavigation, componentSidebarStepperNavigation };
@@ -0,0 +1,68 @@
1
+ //#region src/styleD/build/typescript/component/sidebarStepperNavigation.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ const componentSidebarStepperNavigation = {
6
+ mobileToggle: { shared: {
7
+ border: "0.125rem solid #cccccc",
8
+ display: "flex",
9
+ alignItems: "center",
10
+ justifyContent: "space-between",
11
+ height: "4.5rem",
12
+ paddingInline: "1rem",
13
+ width: "100%",
14
+ backgroundColor: "#f6f6f6",
15
+ hovered: { backgroundColor: "#ededed" },
16
+ pressed: { backgroundColor: "#e6e6e6" }
17
+ } },
18
+ navigation: { shared: {
19
+ border: "0.0625rem solid #8d8d8d",
20
+ flexDirection: "column",
21
+ height: "100%"
22
+ } },
23
+ statusRow: { shared: {
24
+ display: "flex",
25
+ gap: "0.375rem",
26
+ alignItems: "center",
27
+ text: {
28
+ color: "#545454",
29
+ disabledColor: "#999999"
30
+ },
31
+ icon: {
32
+ size: "1rem",
33
+ optionalColor: "#cde4c9",
34
+ completeColor: "#326528",
35
+ incompleteColor: "#8c2113"
36
+ }
37
+ } },
38
+ step: { shared: {
39
+ height: "4.5rem",
40
+ backgroundColor: "#ffffff",
41
+ currentBackgroundColor: "#f6f6f6",
42
+ cursor: "pointer",
43
+ disabledCursor: "default",
44
+ border: "0.0625rem solid #cccccc",
45
+ text: {
46
+ color: "#000000",
47
+ disabledColor: "#999999",
48
+ inverseColor: "#ffffff"
49
+ },
50
+ numberColumnWidth: "2rem"
51
+ } },
52
+ stepNumber: { shared: {
53
+ height: "100%",
54
+ backgroundColor: "#005d8b",
55
+ display: "flex",
56
+ alignItems: "center",
57
+ justifyContent: "center"
58
+ } },
59
+ stepContent: { shared: {
60
+ display: "flex",
61
+ flexDirection: "column",
62
+ justifyContent: "center",
63
+ gap: "0.25rem",
64
+ marginLeft: "0.75rem"
65
+ } }
66
+ };
67
+ //#endregion
68
+ export { componentSidebarStepperNavigation };
@@ -0,0 +1,16 @@
1
+ const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
2
+ let react = require("react");
3
+ react = require_runtime.__toESM(react, 1);
4
+ //#region src/util/useId.ts
5
+ let nextId = 0;
6
+ const reactUseId = react.useId;
7
+ /**
8
+ * Uses React's SSR-safe ID hook when available, falling back to a named counter
9
+ * for React 17 compatibility.
10
+ */
11
+ const useId = (fallbackName) => {
12
+ const [fallbackId] = react.useState(() => `${fallbackName}-${nextId++}`);
13
+ return reactUseId?.() ?? fallbackId;
14
+ };
15
+ //#endregion
16
+ exports.useId = useId;
@@ -0,0 +1,14 @@
1
+ import * as React$1 from "react";
2
+ //#region src/util/useId.ts
3
+ let nextId = 0;
4
+ const reactUseId = React$1.useId;
5
+ /**
6
+ * Uses React's SSR-safe ID hook when available, falling back to a named counter
7
+ * for React 17 compatibility.
8
+ */
9
+ const useId = (fallbackName) => {
10
+ const [fallbackId] = React$1.useState(() => `${fallbackName}-${nextId++}`);
11
+ return reactUseId?.() ?? fallbackId;
12
+ };
13
+ //#endregion
14
+ export { useId };