@cloudscape-design/components 3.0.1383 → 3.0.1384

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 (104) hide show
  1. package/app-layout/visual-refresh-toolbar/contexts.d.ts +5 -3
  2. package/app-layout/visual-refresh-toolbar/contexts.d.ts.map +1 -1
  3. package/app-layout/visual-refresh-toolbar/contexts.js.map +1 -1
  4. package/app-layout/visual-refresh-toolbar/interfaces.d.ts +3 -0
  5. package/app-layout/visual-refresh-toolbar/interfaces.d.ts.map +1 -1
  6. package/app-layout/visual-refresh-toolbar/interfaces.js.map +1 -1
  7. package/app-layout/visual-refresh-toolbar/skeleton/slots.d.ts +4 -1
  8. package/app-layout/visual-refresh-toolbar/skeleton/slots.d.ts.map +1 -1
  9. package/app-layout/visual-refresh-toolbar/skeleton/slots.js +8 -5
  10. package/app-layout/visual-refresh-toolbar/skeleton/slots.js.map +1 -1
  11. package/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.d.ts +5 -0
  12. package/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.d.ts.map +1 -1
  13. package/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.js +3 -3
  14. package/app-layout/visual-refresh-toolbar/skeleton/toolbar-container.js.map +1 -1
  15. package/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map +1 -1
  16. package/app-layout/visual-refresh-toolbar/state/use-app-layout.js +27 -3
  17. package/app-layout/visual-refresh-toolbar/state/use-app-layout.js.map +1 -1
  18. package/app-layout/visual-refresh-toolbar/state/use-own-breadcrumbs-props.d.ts +6 -0
  19. package/app-layout/visual-refresh-toolbar/state/use-own-breadcrumbs-props.d.ts.map +1 -0
  20. package/app-layout/visual-refresh-toolbar/state/use-own-breadcrumbs-props.js +16 -0
  21. package/app-layout/visual-refresh-toolbar/state/use-own-breadcrumbs-props.js.map +1 -0
  22. package/app-layout/visual-refresh-toolbar/toolbar/index.d.ts +5 -1
  23. package/app-layout/visual-refresh-toolbar/toolbar/index.d.ts.map +1 -1
  24. package/app-layout/visual-refresh-toolbar/toolbar/index.js +2 -2
  25. package/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
  26. package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +15 -14
  27. package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +35 -31
  28. package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +15 -14
  29. package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.d.ts.map +1 -1
  30. package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js +2 -2
  31. package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js.map +1 -1
  32. package/breadcrumb-group/implementation.d.ts.map +1 -1
  33. package/breadcrumb-group/implementation.js +30 -1
  34. package/breadcrumb-group/implementation.js.map +1 -1
  35. package/container/index.d.ts +3 -7
  36. package/container/index.d.ts.map +1 -1
  37. package/container/index.js +4 -3
  38. package/container/index.js.map +1 -1
  39. package/container/interfaces.d.ts +7 -0
  40. package/container/interfaces.d.ts.map +1 -1
  41. package/container/interfaces.js.map +1 -1
  42. package/container/internal.d.ts +3 -26
  43. package/container/internal.d.ts.map +1 -1
  44. package/container/internal.js +37 -8
  45. package/container/internal.js.map +1 -1
  46. package/container/styles.css.js +34 -33
  47. package/container/styles.scoped.css +77 -56
  48. package/container/styles.selectors.js +34 -33
  49. package/copy-to-clipboard/internal.d.ts.map +1 -1
  50. package/copy-to-clipboard/internal.js +3 -1
  51. package/copy-to-clipboard/internal.js.map +1 -1
  52. package/flashbar/styles.css.js +50 -50
  53. package/flashbar/styles.scoped.css +160 -200
  54. package/flashbar/styles.selectors.js +50 -50
  55. package/icon/generated/icons.d.ts +1 -0
  56. package/icon/generated/icons.d.ts.map +1 -1
  57. package/icon/generated/icons.js +3 -0
  58. package/icon/generated/icons.js.map +1 -1
  59. package/icon-provider/interfaces.d.ts +1 -1
  60. package/icon-provider/interfaces.d.ts.map +1 -1
  61. package/icon-provider/interfaces.js.map +1 -1
  62. package/internal/base-component/styles.scoped.css +1 -1
  63. package/internal/base-theme/styles.scoped.css +3 -0
  64. package/internal/environment.js +2 -2
  65. package/internal/environment.json +2 -2
  66. package/internal/generated/styles/tokens.d.ts +3 -0
  67. package/internal/generated/styles/tokens.js +3 -0
  68. package/internal/generated/theming/index.cjs +65 -0
  69. package/internal/generated/theming/index.js +65 -0
  70. package/internal/manifest.json +1 -1
  71. package/internal/plugins/widget/index.d.ts +5 -1
  72. package/internal/plugins/widget/index.d.ts.map +1 -1
  73. package/internal/plugins/widget/index.js +26 -1
  74. package/internal/plugins/widget/index.js.map +1 -1
  75. package/internal/plugins/widget/interfaces.d.ts +12 -2
  76. package/internal/plugins/widget/interfaces.d.ts.map +1 -1
  77. package/internal/plugins/widget/interfaces.js.map +1 -1
  78. package/internal/plugins/widget.d.ts +1 -1
  79. package/internal/plugins/widget.d.ts.map +1 -1
  80. package/internal/plugins/widget.js +1 -1
  81. package/internal/plugins/widget.js.map +1 -1
  82. package/manifest.json +2 -2
  83. package/package.json +1 -1
  84. package/plugins/index.d.ts +2 -1
  85. package/plugins/index.d.ts.map +1 -1
  86. package/plugins/index.js +2 -1
  87. package/plugins/index.js.map +1 -1
  88. package/table/header-cell/styles.css.js +38 -38
  89. package/table/header-cell/styles.scoped.css +80 -81
  90. package/table/header-cell/styles.selectors.js +38 -38
  91. package/table/sticky-columns/interfaces.d.ts +2 -0
  92. package/table/sticky-columns/interfaces.d.ts.map +1 -1
  93. package/table/sticky-columns/interfaces.js.map +1 -1
  94. package/table/sticky-columns/use-sticky-columns.d.ts.map +1 -1
  95. package/table/sticky-columns/use-sticky-columns.js +11 -5
  96. package/table/sticky-columns/use-sticky-columns.js.map +1 -1
  97. package/table/sticky-columns/utils.d.ts.map +1 -1
  98. package/table/sticky-columns/utils.js +2 -0
  99. package/table/sticky-columns/utils.js.map +1 -1
  100. package/table/utils.d.ts +1 -3
  101. package/table/utils.d.ts.map +1 -1
  102. package/table/utils.js +12 -5
  103. package/table/utils.js.map +1 -1
  104. package/internal/generated/theming/index.cjs.d.ts +0 -4785
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/icon-provider/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { ReactNode } from 'react';\n\nimport { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../types/base-component';\n\n// Why not enums? Explained there\n// https://stackoverflow.com/questions/52393730/typescript-string-literal-union-type-from-enum\nexport type BuiltInIconName =\n | 'add-plus'\n | 'anchor-link'\n | 'angle-left-double'\n | 'angle-left'\n | 'angle-right-double'\n | 'angle-right'\n | 'angle-up'\n | 'angle-down'\n | 'announcement'\n | 'arrow-left'\n | 'arrow-right'\n | 'arrow-up'\n | 'arrow-down'\n | 'at-symbol'\n | 'audio-full'\n | 'audio-half'\n | 'audio-off'\n | 'backward-10-seconds'\n | 'bug'\n | 'call'\n | 'calendar'\n | 'caret-down-filled'\n | 'caret-down'\n | 'caret-left-filled'\n | 'caret-right-filled'\n | 'caret-up-filled'\n | 'caret-up'\n | 'check'\n | 'contact'\n | 'close'\n | 'closed-caption'\n | 'closed-caption-unavailable'\n | 'copy'\n | 'command-prompt'\n | 'convert-code'\n | 'delete-marker'\n | 'dot'\n | 'download'\n | 'drag-indicator'\n | 'edit'\n | 'edit-gen-ai'\n | 'ellipsis'\n | 'envelope'\n | 'exit-full-screen'\n | 'expand'\n | 'external'\n | 'face-happy'\n | 'face-happy-filled'\n | 'face-neutral'\n | 'face-neutral-filled'\n | 'face-sad'\n | 'face-sad-filled'\n | 'file-open'\n | 'file'\n | 'filter'\n | 'flag'\n | 'folder-open'\n | 'folder'\n | 'forward-10-seconds'\n | 'full-screen'\n | 'gen-ai'\n | 'globe'\n | 'grid-view'\n | 'group-active'\n | 'group'\n | 'heart'\n | 'heart-filled'\n | 'history'\n | 'insert-row'\n | 'internal-link'\n | 'key'\n | 'keyboard'\n | 'light-dark'\n | 'list-view'\n | 'location-pin'\n | 'lock-private'\n | 'map'\n | 'menu'\n | 'microphone'\n | 'microphone-off'\n | 'mini-player'\n | 'multiscreen'\n | 'notification'\n | 'pause'\n | 'play'\n | 'redo'\n | 'refresh'\n | 'remove'\n | 'resize-area'\n | 'script'\n | 'search'\n | 'search-gen-ai'\n | 'security'\n | 'settings'\n | 'send'\n | 'share'\n | 'shrink'\n | 'sign-out'\n | 'side-bar'\n | 'slash'\n | 'slash-divider'\n | 'star-filled'\n | 'star-half'\n | 'star'\n | 'status-in-progress'\n | 'status-info'\n | 'status-negative'\n | 'status-not-started'\n | 'status-pending'\n | 'status-positive'\n | 'status-stopped'\n | 'status-warning'\n | 'stop-circle'\n | 'subtract-minus'\n | 'suggestions'\n | 'suggestions-gen-ai'\n | 'support'\n | 'thumbs-down-filled'\n | 'thumbs-down'\n | 'thumbs-up-filled'\n | 'thumbs-up'\n | 'ticket'\n | 'transcript'\n | 'treeview-collapse'\n | 'treeview-expand'\n | 'undo'\n | 'unlocked'\n | 'upload-download'\n | 'upload'\n | 'user-profile-active'\n | 'user-profile'\n | 'video-off'\n | 'video-on'\n | 'video-unavailable'\n | 'video-camera-off'\n | 'video-camera-on'\n | 'video-camera-unavailable'\n | 'view-full'\n | 'view-horizontal'\n | 'view-vertical'\n | 'zoom-in'\n | 'zoom-out'\n | 'zoom-to-fit';\n\n/**\n * Augment this interface using `declare module` to register custom icon names.\n * Registered names become valid across all icon-accepting components.\n *\n * @example\n * declare module \"@cloudscape-design/components/icon-provider\" {\n * interface IconRegistry extends IconMap<typeof myIcons> {}\n * }\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface IconRegistry {}\n\n/** Union of all icon names in the {@link IconRegistry}. */\nexport type IconRegistryIconName = keyof IconRegistry & string;\n\nexport type DefineIconsInput = Partial<Record<BuiltInIconName | (string & {}), ReactNode>>;\n\n/** Extracts the keys of a `defineIcons` result into the shape that {@link IconRegistry} expects. */\nexport type IconMap<T> = { [K in keyof T & string]: T[K] };\n\nexport interface IconProviderProps extends BaseComponentProps {\n children: ReactNode;\n\n /**\n * Specifies icon overrides using existing icon names, for example, `{'add-plus': <svg>...</svg>}`.\n *\n * These icon overrides will automatically be applied to any component that is a descendant of this provider, including nested providers.\n *\n * Set to `null` to reset the icons to the default set or set specific icon names to `null` to change them back to the default set.\n *\n * For example, override `AppLayout` icons but not icons in the content slot by wrapping content with an `IconProvider` with this property set to `null`.\n *\n * `<Icon ... />` component can be used as an override (for example, `{'close': <Icon name='arrow-left' />}`).\n * However, if the icon name is the same as the key, for example, `{'close': <Icon name='close' />}` an infinite loop will be created.\n * The same applies to switching icons in the same configuration (for example, `{'close': <Icon name='arrow-left' />, 'arrow-left': <Icon name='close' />}`).\n */\n icons?: IconProviderProps.Icons | null;\n\n /**\n * Custom icons for specific components, replacing built-in stateful icons such as expand toggles\n * and sorting indicators. Unlike `icons`, these target a specific component and receive the icon's\n * current state.\n *\n * Each entry is a render function: it receives the state and returns the icon to display. The\n * custom icon replaces the default rendering entirely (including built-in animations), so it must\n * represent every state. Return `null` to fall back to the default icon. Use `size=\"inherit\"` on\n * a custom `<Icon>` (or provide a plain SVG) so it matches the default icon size.\n *\n * Component icons apply to nested usage as well, for example, expandable sections rendered inside\n * side navigation or wizard. They are inherited by nested providers (closest provider wins).\n * Set to `null` to reset all component icons, or set a specific component to `null` to reset its icons.\n */\n componentIcons?: IconProviderProps.ComponentIcons | null;\n}\n\nexport namespace IconProviderProps {\n export type Icons = {\n [name in IconProps.Name]?: ReactNode | null;\n };\n\n export interface ComponentIcons {\n table?: TableIcons | null;\n 'tree-view'?: TreeViewIcons | null;\n 'expandable-section'?: ExpandableSectionIcons | null;\n }\n\n export interface TableIcons {\n expandToggle?: (state: { expanded: boolean }) => ReactNode;\n sortingIndicator?: (state: { sortingState: 'sortable' | 'ascending' | 'descending' }) => ReactNode;\n }\n\n export interface TreeViewIcons {\n expandToggle?: (state: { expanded: boolean }) => ReactNode;\n }\n\n export interface ExpandableSectionIcons {\n expandToggle?: (state: { expanded: boolean }) => ReactNode;\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/icon-provider/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { ReactNode } from 'react';\n\nimport { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../types/base-component';\n\n// Why not enums? Explained there\n// https://stackoverflow.com/questions/52393730/typescript-string-literal-union-type-from-enum\nexport type BuiltInIconName =\n | 'add-plus'\n | 'anchor-link'\n | 'angle-left-double'\n | 'angle-left'\n | 'angle-right-double'\n | 'angle-right'\n | 'angle-up'\n | 'angle-down'\n | 'announcement'\n | 'arrow-left'\n | 'arrow-right'\n | 'arrow-up'\n | 'arrow-down'\n | 'at-symbol'\n | 'audio-full'\n | 'audio-half'\n | 'audio-off'\n | 'backward-10-seconds'\n | 'bug'\n | 'call'\n | 'calendar'\n | 'caret-down-filled'\n | 'caret-down'\n | 'caret-left-filled'\n | 'caret-right-filled'\n | 'caret-up-filled'\n | 'caret-up'\n | 'check'\n | 'contact'\n | 'close'\n | 'closed-caption'\n | 'closed-caption-unavailable'\n | 'copy'\n | 'command-prompt'\n | 'convert-code'\n | 'delete-marker'\n | 'dot'\n | 'download'\n | 'drag-indicator'\n | 'edit'\n | 'edit-gen-ai'\n | 'ellipsis'\n | 'envelope'\n | 'exit-full-screen'\n | 'expand'\n | 'external'\n | 'face-happy'\n | 'face-happy-filled'\n | 'face-neutral'\n | 'face-neutral-filled'\n | 'face-sad'\n | 'face-sad-filled'\n | 'file-open'\n | 'file'\n | 'filter'\n | 'flag'\n | 'folder-open'\n | 'folder'\n | 'forward-10-seconds'\n | 'full-screen'\n | 'gen-ai'\n | 'gen-ai-token'\n | 'globe'\n | 'grid-view'\n | 'group-active'\n | 'group'\n | 'heart'\n | 'heart-filled'\n | 'history'\n | 'insert-row'\n | 'internal-link'\n | 'key'\n | 'keyboard'\n | 'light-dark'\n | 'list-view'\n | 'location-pin'\n | 'lock-private'\n | 'map'\n | 'menu'\n | 'microphone'\n | 'microphone-off'\n | 'mini-player'\n | 'multiscreen'\n | 'notification'\n | 'pause'\n | 'play'\n | 'redo'\n | 'refresh'\n | 'remove'\n | 'resize-area'\n | 'script'\n | 'search'\n | 'search-gen-ai'\n | 'security'\n | 'settings'\n | 'send'\n | 'share'\n | 'shrink'\n | 'sign-out'\n | 'side-bar'\n | 'slash'\n | 'slash-divider'\n | 'star-filled'\n | 'star-half'\n | 'star'\n | 'status-in-progress'\n | 'status-info'\n | 'status-negative'\n | 'status-not-started'\n | 'status-pending'\n | 'status-positive'\n | 'status-stopped'\n | 'status-warning'\n | 'stop-circle'\n | 'subtract-minus'\n | 'suggestions'\n | 'suggestions-gen-ai'\n | 'support'\n | 'thumbs-down-filled'\n | 'thumbs-down'\n | 'thumbs-up-filled'\n | 'thumbs-up'\n | 'ticket'\n | 'transcript'\n | 'treeview-collapse'\n | 'treeview-expand'\n | 'undo'\n | 'unlocked'\n | 'upload-download'\n | 'upload'\n | 'user-profile-active'\n | 'user-profile'\n | 'video-off'\n | 'video-on'\n | 'video-unavailable'\n | 'video-camera-off'\n | 'video-camera-on'\n | 'video-camera-unavailable'\n | 'view-full'\n | 'view-horizontal'\n | 'view-vertical'\n | 'zoom-in'\n | 'zoom-out'\n | 'zoom-to-fit';\n\n/**\n * Augment this interface using `declare module` to register custom icon names.\n * Registered names become valid across all icon-accepting components.\n *\n * @example\n * declare module \"@cloudscape-design/components/icon-provider\" {\n * interface IconRegistry extends IconMap<typeof myIcons> {}\n * }\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface IconRegistry {}\n\n/** Union of all icon names in the {@link IconRegistry}. */\nexport type IconRegistryIconName = keyof IconRegistry & string;\n\nexport type DefineIconsInput = Partial<Record<BuiltInIconName | (string & {}), ReactNode>>;\n\n/** Extracts the keys of a `defineIcons` result into the shape that {@link IconRegistry} expects. */\nexport type IconMap<T> = { [K in keyof T & string]: T[K] };\n\nexport interface IconProviderProps extends BaseComponentProps {\n children: ReactNode;\n\n /**\n * Specifies icon overrides using existing icon names, for example, `{'add-plus': <svg>...</svg>}`.\n *\n * These icon overrides will automatically be applied to any component that is a descendant of this provider, including nested providers.\n *\n * Set to `null` to reset the icons to the default set or set specific icon names to `null` to change them back to the default set.\n *\n * For example, override `AppLayout` icons but not icons in the content slot by wrapping content with an `IconProvider` with this property set to `null`.\n *\n * `<Icon ... />` component can be used as an override (for example, `{'close': <Icon name='arrow-left' />}`).\n * However, if the icon name is the same as the key, for example, `{'close': <Icon name='close' />}` an infinite loop will be created.\n * The same applies to switching icons in the same configuration (for example, `{'close': <Icon name='arrow-left' />, 'arrow-left': <Icon name='close' />}`).\n */\n icons?: IconProviderProps.Icons | null;\n\n /**\n * Custom icons for specific components, replacing built-in stateful icons such as expand toggles\n * and sorting indicators. Unlike `icons`, these target a specific component and receive the icon's\n * current state.\n *\n * Each entry is a render function: it receives the state and returns the icon to display. The\n * custom icon replaces the default rendering entirely (including built-in animations), so it must\n * represent every state. Return `null` to fall back to the default icon. Use `size=\"inherit\"` on\n * a custom `<Icon>` (or provide a plain SVG) so it matches the default icon size.\n *\n * Component icons apply to nested usage as well, for example, expandable sections rendered inside\n * side navigation or wizard. They are inherited by nested providers (closest provider wins).\n * Set to `null` to reset all component icons, or set a specific component to `null` to reset its icons.\n */\n componentIcons?: IconProviderProps.ComponentIcons | null;\n}\n\nexport namespace IconProviderProps {\n export type Icons = {\n [name in IconProps.Name]?: ReactNode | null;\n };\n\n export interface ComponentIcons {\n table?: TableIcons | null;\n 'tree-view'?: TreeViewIcons | null;\n 'expandable-section'?: ExpandableSectionIcons | null;\n }\n\n export interface TableIcons {\n expandToggle?: (state: { expanded: boolean }) => ReactNode;\n sortingIndicator?: (state: { sortingState: 'sortable' | 'ascending' | 'descending' }) => ReactNode;\n }\n\n export interface TreeViewIcons {\n expandToggle?: (state: { expanded: boolean }) => ReactNode;\n }\n\n export interface ExpandableSectionIcons {\n expandToggle?: (state: { expanded: boolean }) => ReactNode;\n }\n}\n"]}
@@ -40,5 +40,5 @@
40
40
  }
41
41
  }
42
42
  :root {
43
- --awsui-version-info-543205d7: true;
43
+ --awsui-version-info-b7e52fa6: true;
44
44
  }
@@ -453,6 +453,8 @@
453
453
  --color-border-layout-h5yp20:var(--color-neutral-350-n78myc);
454
454
  --color-border-layout-side-navigation-a02vgs:var(--color-border-layout-h5yp20);
455
455
  --color-border-notification-stack-bar-iua5tr:var(--color-neutral-750-a0y7ng);
456
+ --color-border-notification-stack-bar-hover-pzy1rr:var(--color-background-notification-stack-bar-hover-gwd3ks);
457
+ --color-border-notification-stack-bar-active-itxyux:var(--color-background-notification-stack-bar-g6w7e0);
456
458
  --color-border-notification-stack-bar-focused-6lgllw:var(--color-neutral-100-1tq0gf);
457
459
  --color-border-panel-header-sqy0v4:var(--color-border-divider-default-diwd4w);
458
460
  --color-border-popover-e8qomr:var(--color-border-dropdown-container-zmsfa8);
@@ -818,6 +820,7 @@
818
820
  --border-width-dialog-6bh1ii:var(--border-width-card-niewam);
819
821
  --border-width-item-selected-l41fek:2px;
820
822
  --border-width-layout-side-navigation-q0k26x:var(--border-divider-section-width-dlkb8v);
823
+ --border-width-notification-stack-bar-b90c4m:2px;
821
824
  --border-width-badge-p88itr:0px;
822
825
  --border-width-popover-snsxri:2px;
823
826
  --border-width-token-p4a0gu:2px;
@@ -1,6 +1,6 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (543205d7)";
3
- export var GIT_SHA = "543205d7";
2
+ export var PACKAGE_VERSION = "3.0.0 (b7e52fa6)";
3
+ export var GIT_SHA = "b7e52fa6";
4
4
  export var THEME = "open-source-visual-refresh";
5
5
  export var SYSTEM = "core";
6
6
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "components",
3
- "PACKAGE_VERSION": "3.0.0 (543205d7)",
4
- "GIT_SHA": "543205d7",
3
+ "PACKAGE_VERSION": "3.0.0 (b7e52fa6)",
4
+ "GIT_SHA": "b7e52fa6",
5
5
  "THEME": "open-source-visual-refresh",
6
6
  "SYSTEM": "core",
7
7
  "ALWAYS_VISUAL_REFRESH": true,
@@ -578,6 +578,8 @@ export const colorBorderItemSelected: string;
578
578
  export const colorBorderLayout: string;
579
579
  export const colorBorderLayoutSideNavigation: string;
580
580
  export const colorBorderNotificationStackBar: string;
581
+ export const colorBorderNotificationStackBarHover: string;
582
+ export const colorBorderNotificationStackBarActive: string;
581
583
  export const colorBorderNotificationStackBarFocused: string;
582
584
  export const colorBorderPanelHeader: string;
583
585
  export const colorBorderPopover: string;
@@ -952,6 +954,7 @@ export const borderWidthItemCardHighlighted: string;
952
954
  export const borderWidthDialog: string;
953
955
  export const borderWidthItemSelected: string;
954
956
  export const borderWidthLayoutSideNavigation: string;
957
+ export const borderWidthNotificationStackBar: string;
955
958
  export const borderWidthBadge: string;
956
959
  export const borderWidthPopover: string;
957
960
  export const borderWidthToken: string;
@@ -578,6 +578,8 @@ export var colorBorderItemSelected = "var(--color-border-item-selected-7104rh, #
578
578
  export var colorBorderLayout = "var(--color-border-layout-h5yp20, #c6c6cd)";
579
579
  export var colorBorderLayoutSideNavigation = "var(--color-border-layout-side-navigation-a02vgs, #c6c6cd)";
580
580
  export var colorBorderNotificationStackBar = "var(--color-border-notification-stack-bar-iua5tr, #232b37)";
581
+ export var colorBorderNotificationStackBarHover = "var(--color-border-notification-stack-bar-hover-pzy1rr, #424650)";
582
+ export var colorBorderNotificationStackBarActive = "var(--color-border-notification-stack-bar-active-itxyux, #232b37)";
581
583
  export var colorBorderNotificationStackBarFocused = "var(--color-border-notification-stack-bar-focused-6lgllw, #f9f9fa)";
582
584
  export var colorBorderPanelHeader = "var(--color-border-panel-header-sqy0v4, #c6c6cd)";
583
585
  export var colorBorderPopover = "var(--color-border-popover-e8qomr, #b4b4bb)";
@@ -952,6 +954,7 @@ export var borderWidthItemCardHighlighted = "var(--border-width-item-card-highli
952
954
  export var borderWidthDialog = "var(--border-width-dialog-6bh1ii, 1px)";
953
955
  export var borderWidthItemSelected = "var(--border-width-item-selected-l41fek, 2px)";
954
956
  export var borderWidthLayoutSideNavigation = "var(--border-width-layout-side-navigation-q0k26x, 1px)";
957
+ export var borderWidthNotificationStackBar = "var(--border-width-notification-stack-bar-b90c4m, 2px)";
955
958
  export var borderWidthBadge = "var(--border-width-badge-p88itr, 0px)";
956
959
  export var borderWidthPopover = "var(--border-width-popover-snsxri, 2px)";
957
960
  export var borderWidthToken = "var(--border-width-token-p4a0gu, 2px)";
@@ -2359,6 +2359,14 @@ module.exports.preset = {
2359
2359
  "light": "{colorNeutral750}",
2360
2360
  "dark": "{colorNeutral750}"
2361
2361
  },
2362
+ "colorBorderNotificationStackBarHover": {
2363
+ "light": "{colorBackgroundNotificationStackBarHover}",
2364
+ "dark": "{colorBackgroundNotificationStackBarHover}"
2365
+ },
2366
+ "colorBorderNotificationStackBarActive": {
2367
+ "light": "{colorBackgroundNotificationStackBar}",
2368
+ "dark": "{colorBackgroundNotificationStackBar}"
2369
+ },
2362
2370
  "colorBorderNotificationStackBarFocused": {
2363
2371
  "light": "{colorNeutral100}",
2364
2372
  "dark": "{colorNeutral100}"
@@ -3396,6 +3404,7 @@ module.exports.preset = {
3396
3404
  "borderWidthDialog": "{borderWidthCard}",
3397
3405
  "borderWidthItemSelected": "2px",
3398
3406
  "borderWidthLayoutSideNavigation": "{borderDividerSectionWidth}",
3407
+ "borderWidthNotificationStackBar": "2px",
3399
3408
  "borderWidthBadge": "0px",
3400
3409
  "borderWidthPopover": "2px",
3401
3410
  "borderWidthToken": "2px",
@@ -5551,6 +5560,14 @@ module.exports.preset = {
5551
5560
  "light": "{colorNeutral750}",
5552
5561
  "dark": "{colorNeutral750}"
5553
5562
  },
5563
+ "colorBorderNotificationStackBarHover": {
5564
+ "light": "{colorBackgroundNotificationStackBarHover}",
5565
+ "dark": "{colorBackgroundNotificationStackBarHover}"
5566
+ },
5567
+ "colorBorderNotificationStackBarActive": {
5568
+ "light": "{colorBackgroundNotificationStackBar}",
5569
+ "dark": "{colorBackgroundNotificationStackBar}"
5570
+ },
5554
5571
  "colorBorderNotificationStackBarFocused": {
5555
5572
  "light": "{colorNeutral100}",
5556
5573
  "dark": "{colorNeutral100}"
@@ -7471,6 +7488,14 @@ module.exports.preset = {
7471
7488
  "light": "{colorNeutral750}",
7472
7489
  "dark": "{colorNeutral750}"
7473
7490
  },
7491
+ "colorBorderNotificationStackBarHover": {
7492
+ "light": "{colorBackgroundNotificationStackBarHover}",
7493
+ "dark": "{colorBackgroundNotificationStackBarHover}"
7494
+ },
7495
+ "colorBorderNotificationStackBarActive": {
7496
+ "light": "{colorBackgroundNotificationStackBar}",
7497
+ "dark": "{colorBackgroundNotificationStackBar}"
7498
+ },
7474
7499
  "colorBorderNotificationStackBarFocused": {
7475
7500
  "light": "{colorNeutral100}",
7476
7501
  "dark": "{colorNeutral100}"
@@ -9325,6 +9350,14 @@ module.exports.preset = {
9325
9350
  "light": "{colorNeutral750}",
9326
9351
  "dark": "{colorNeutral750}"
9327
9352
  },
9353
+ "colorBorderNotificationStackBarHover": {
9354
+ "light": "{colorBackgroundNotificationStackBarHover}",
9355
+ "dark": "{colorBackgroundNotificationStackBarHover}"
9356
+ },
9357
+ "colorBorderNotificationStackBarActive": {
9358
+ "light": "{colorBackgroundNotificationStackBar}",
9359
+ "dark": "{colorBackgroundNotificationStackBar}"
9360
+ },
9328
9361
  "colorBorderNotificationStackBarFocused": {
9329
9362
  "light": "{colorNeutral100}",
9330
9363
  "dark": "{colorNeutral100}"
@@ -11015,6 +11048,14 @@ module.exports.preset = {
11015
11048
  "light": "{colorNeutral750}",
11016
11049
  "dark": "{colorNeutral750}"
11017
11050
  },
11051
+ "colorBorderNotificationStackBarHover": {
11052
+ "light": "{colorBackgroundNotificationStackBarHover}",
11053
+ "dark": "{colorBackgroundNotificationStackBarHover}"
11054
+ },
11055
+ "colorBorderNotificationStackBarActive": {
11056
+ "light": "{colorBackgroundNotificationStackBar}",
11057
+ "dark": "{colorBackgroundNotificationStackBar}"
11058
+ },
11018
11059
  "colorBorderNotificationStackBarFocused": {
11019
11060
  "light": "{colorNeutral100}",
11020
11061
  "dark": "{colorNeutral100}"
@@ -12705,6 +12746,14 @@ module.exports.preset = {
12705
12746
  "light": "{colorNeutral750}",
12706
12747
  "dark": "{colorNeutral750}"
12707
12748
  },
12749
+ "colorBorderNotificationStackBarHover": {
12750
+ "light": "{colorBackgroundNotificationStackBarHover}",
12751
+ "dark": "{colorBackgroundNotificationStackBarHover}"
12752
+ },
12753
+ "colorBorderNotificationStackBarActive": {
12754
+ "light": "{colorBackgroundNotificationStackBar}",
12755
+ "dark": "{colorBackgroundNotificationStackBar}"
12756
+ },
12708
12757
  "colorBorderNotificationStackBarFocused": {
12709
12758
  "light": "{colorNeutral100}",
12710
12759
  "dark": "{colorNeutral100}"
@@ -14397,6 +14446,14 @@ module.exports.preset = {
14397
14446
  "light": "{colorNeutral750}",
14398
14447
  "dark": "{colorNeutral750}"
14399
14448
  },
14449
+ "colorBorderNotificationStackBarHover": {
14450
+ "light": "{colorBackgroundNotificationStackBarHover}",
14451
+ "dark": "{colorBackgroundNotificationStackBarHover}"
14452
+ },
14453
+ "colorBorderNotificationStackBarActive": {
14454
+ "light": "{colorBackgroundNotificationStackBar}",
14455
+ "dark": "{colorBackgroundNotificationStackBar}"
14456
+ },
14400
14457
  "colorBorderNotificationStackBarFocused": {
14401
14458
  "light": "{colorNeutral100}",
14402
14459
  "dark": "{colorNeutral100}"
@@ -15865,6 +15922,8 @@ module.exports.preset = {
15865
15922
  "colorBorderLayout": "color",
15866
15923
  "colorBorderLayoutSideNavigation": "color",
15867
15924
  "colorBorderNotificationStackBar": "color",
15925
+ "colorBorderNotificationStackBarHover": "color",
15926
+ "colorBorderNotificationStackBarActive": "color",
15868
15927
  "colorBorderNotificationStackBarFocused": "color",
15869
15928
  "colorBorderPanelHeader": "color",
15870
15929
  "colorBorderPopover": "color",
@@ -18216,6 +18275,8 @@ module.exports.preset = {
18216
18275
  "colorBorderLayout": "color-border-layout",
18217
18276
  "colorBorderLayoutSideNavigation": "color-border-layout-side-navigation",
18218
18277
  "colorBorderNotificationStackBar": "color-border-notification-stack-bar",
18278
+ "colorBorderNotificationStackBarHover": "color-border-notification-stack-bar-hover",
18279
+ "colorBorderNotificationStackBarActive": "color-border-notification-stack-bar-active",
18219
18280
  "colorBorderNotificationStackBarFocused": "color-border-notification-stack-bar-focused",
18220
18281
  "colorBorderPanelHeader": "color-border-panel-header",
18221
18282
  "colorBorderPopover": "color-border-popover",
@@ -18590,6 +18651,7 @@ module.exports.preset = {
18590
18651
  "borderWidthDialog": "border-width-dialog",
18591
18652
  "borderWidthItemSelected": "border-width-item-selected",
18592
18653
  "borderWidthLayoutSideNavigation": "border-width-layout-side-navigation",
18654
+ "borderWidthNotificationStackBar": "border-width-notification-stack-bar",
18593
18655
  "borderWidthBadge": "border-width-badge",
18594
18656
  "borderWidthPopover": "border-width-popover",
18595
18657
  "borderWidthToken": "border-width-token",
@@ -19382,6 +19444,8 @@ module.exports.preset = {
19382
19444
  "colorBorderLayout": "--color-border-layout-h5yp20",
19383
19445
  "colorBorderLayoutSideNavigation": "--color-border-layout-side-navigation-a02vgs",
19384
19446
  "colorBorderNotificationStackBar": "--color-border-notification-stack-bar-iua5tr",
19447
+ "colorBorderNotificationStackBarHover": "--color-border-notification-stack-bar-hover-pzy1rr",
19448
+ "colorBorderNotificationStackBarActive": "--color-border-notification-stack-bar-active-itxyux",
19385
19449
  "colorBorderNotificationStackBarFocused": "--color-border-notification-stack-bar-focused-6lgllw",
19386
19450
  "colorBorderPanelHeader": "--color-border-panel-header-sqy0v4",
19387
19451
  "colorBorderPopover": "--color-border-popover-e8qomr",
@@ -19756,6 +19820,7 @@ module.exports.preset = {
19756
19820
  "borderWidthDialog": "--border-width-dialog-6bh1ii",
19757
19821
  "borderWidthItemSelected": "--border-width-item-selected-l41fek",
19758
19822
  "borderWidthLayoutSideNavigation": "--border-width-layout-side-navigation-q0k26x",
19823
+ "borderWidthNotificationStackBar": "--border-width-notification-stack-bar-b90c4m",
19759
19824
  "borderWidthBadge": "--border-width-badge-p88itr",
19760
19825
  "borderWidthPopover": "--border-width-popover-snsxri",
19761
19826
  "borderWidthToken": "--border-width-token-p4a0gu",
@@ -2359,6 +2359,14 @@ export var preset = {
2359
2359
  "light": "{colorNeutral750}",
2360
2360
  "dark": "{colorNeutral750}"
2361
2361
  },
2362
+ "colorBorderNotificationStackBarHover": {
2363
+ "light": "{colorBackgroundNotificationStackBarHover}",
2364
+ "dark": "{colorBackgroundNotificationStackBarHover}"
2365
+ },
2366
+ "colorBorderNotificationStackBarActive": {
2367
+ "light": "{colorBackgroundNotificationStackBar}",
2368
+ "dark": "{colorBackgroundNotificationStackBar}"
2369
+ },
2362
2370
  "colorBorderNotificationStackBarFocused": {
2363
2371
  "light": "{colorNeutral100}",
2364
2372
  "dark": "{colorNeutral100}"
@@ -3396,6 +3404,7 @@ export var preset = {
3396
3404
  "borderWidthDialog": "{borderWidthCard}",
3397
3405
  "borderWidthItemSelected": "2px",
3398
3406
  "borderWidthLayoutSideNavigation": "{borderDividerSectionWidth}",
3407
+ "borderWidthNotificationStackBar": "2px",
3399
3408
  "borderWidthBadge": "0px",
3400
3409
  "borderWidthPopover": "2px",
3401
3410
  "borderWidthToken": "2px",
@@ -5551,6 +5560,14 @@ export var preset = {
5551
5560
  "light": "{colorNeutral750}",
5552
5561
  "dark": "{colorNeutral750}"
5553
5562
  },
5563
+ "colorBorderNotificationStackBarHover": {
5564
+ "light": "{colorBackgroundNotificationStackBarHover}",
5565
+ "dark": "{colorBackgroundNotificationStackBarHover}"
5566
+ },
5567
+ "colorBorderNotificationStackBarActive": {
5568
+ "light": "{colorBackgroundNotificationStackBar}",
5569
+ "dark": "{colorBackgroundNotificationStackBar}"
5570
+ },
5554
5571
  "colorBorderNotificationStackBarFocused": {
5555
5572
  "light": "{colorNeutral100}",
5556
5573
  "dark": "{colorNeutral100}"
@@ -7471,6 +7488,14 @@ export var preset = {
7471
7488
  "light": "{colorNeutral750}",
7472
7489
  "dark": "{colorNeutral750}"
7473
7490
  },
7491
+ "colorBorderNotificationStackBarHover": {
7492
+ "light": "{colorBackgroundNotificationStackBarHover}",
7493
+ "dark": "{colorBackgroundNotificationStackBarHover}"
7494
+ },
7495
+ "colorBorderNotificationStackBarActive": {
7496
+ "light": "{colorBackgroundNotificationStackBar}",
7497
+ "dark": "{colorBackgroundNotificationStackBar}"
7498
+ },
7474
7499
  "colorBorderNotificationStackBarFocused": {
7475
7500
  "light": "{colorNeutral100}",
7476
7501
  "dark": "{colorNeutral100}"
@@ -9325,6 +9350,14 @@ export var preset = {
9325
9350
  "light": "{colorNeutral750}",
9326
9351
  "dark": "{colorNeutral750}"
9327
9352
  },
9353
+ "colorBorderNotificationStackBarHover": {
9354
+ "light": "{colorBackgroundNotificationStackBarHover}",
9355
+ "dark": "{colorBackgroundNotificationStackBarHover}"
9356
+ },
9357
+ "colorBorderNotificationStackBarActive": {
9358
+ "light": "{colorBackgroundNotificationStackBar}",
9359
+ "dark": "{colorBackgroundNotificationStackBar}"
9360
+ },
9328
9361
  "colorBorderNotificationStackBarFocused": {
9329
9362
  "light": "{colorNeutral100}",
9330
9363
  "dark": "{colorNeutral100}"
@@ -11015,6 +11048,14 @@ export var preset = {
11015
11048
  "light": "{colorNeutral750}",
11016
11049
  "dark": "{colorNeutral750}"
11017
11050
  },
11051
+ "colorBorderNotificationStackBarHover": {
11052
+ "light": "{colorBackgroundNotificationStackBarHover}",
11053
+ "dark": "{colorBackgroundNotificationStackBarHover}"
11054
+ },
11055
+ "colorBorderNotificationStackBarActive": {
11056
+ "light": "{colorBackgroundNotificationStackBar}",
11057
+ "dark": "{colorBackgroundNotificationStackBar}"
11058
+ },
11018
11059
  "colorBorderNotificationStackBarFocused": {
11019
11060
  "light": "{colorNeutral100}",
11020
11061
  "dark": "{colorNeutral100}"
@@ -12705,6 +12746,14 @@ export var preset = {
12705
12746
  "light": "{colorNeutral750}",
12706
12747
  "dark": "{colorNeutral750}"
12707
12748
  },
12749
+ "colorBorderNotificationStackBarHover": {
12750
+ "light": "{colorBackgroundNotificationStackBarHover}",
12751
+ "dark": "{colorBackgroundNotificationStackBarHover}"
12752
+ },
12753
+ "colorBorderNotificationStackBarActive": {
12754
+ "light": "{colorBackgroundNotificationStackBar}",
12755
+ "dark": "{colorBackgroundNotificationStackBar}"
12756
+ },
12708
12757
  "colorBorderNotificationStackBarFocused": {
12709
12758
  "light": "{colorNeutral100}",
12710
12759
  "dark": "{colorNeutral100}"
@@ -14397,6 +14446,14 @@ export var preset = {
14397
14446
  "light": "{colorNeutral750}",
14398
14447
  "dark": "{colorNeutral750}"
14399
14448
  },
14449
+ "colorBorderNotificationStackBarHover": {
14450
+ "light": "{colorBackgroundNotificationStackBarHover}",
14451
+ "dark": "{colorBackgroundNotificationStackBarHover}"
14452
+ },
14453
+ "colorBorderNotificationStackBarActive": {
14454
+ "light": "{colorBackgroundNotificationStackBar}",
14455
+ "dark": "{colorBackgroundNotificationStackBar}"
14456
+ },
14400
14457
  "colorBorderNotificationStackBarFocused": {
14401
14458
  "light": "{colorNeutral100}",
14402
14459
  "dark": "{colorNeutral100}"
@@ -15865,6 +15922,8 @@ export var preset = {
15865
15922
  "colorBorderLayout": "color",
15866
15923
  "colorBorderLayoutSideNavigation": "color",
15867
15924
  "colorBorderNotificationStackBar": "color",
15925
+ "colorBorderNotificationStackBarHover": "color",
15926
+ "colorBorderNotificationStackBarActive": "color",
15868
15927
  "colorBorderNotificationStackBarFocused": "color",
15869
15928
  "colorBorderPanelHeader": "color",
15870
15929
  "colorBorderPopover": "color",
@@ -18216,6 +18275,8 @@ export var preset = {
18216
18275
  "colorBorderLayout": "color-border-layout",
18217
18276
  "colorBorderLayoutSideNavigation": "color-border-layout-side-navigation",
18218
18277
  "colorBorderNotificationStackBar": "color-border-notification-stack-bar",
18278
+ "colorBorderNotificationStackBarHover": "color-border-notification-stack-bar-hover",
18279
+ "colorBorderNotificationStackBarActive": "color-border-notification-stack-bar-active",
18219
18280
  "colorBorderNotificationStackBarFocused": "color-border-notification-stack-bar-focused",
18220
18281
  "colorBorderPanelHeader": "color-border-panel-header",
18221
18282
  "colorBorderPopover": "color-border-popover",
@@ -18590,6 +18651,7 @@ export var preset = {
18590
18651
  "borderWidthDialog": "border-width-dialog",
18591
18652
  "borderWidthItemSelected": "border-width-item-selected",
18592
18653
  "borderWidthLayoutSideNavigation": "border-width-layout-side-navigation",
18654
+ "borderWidthNotificationStackBar": "border-width-notification-stack-bar",
18593
18655
  "borderWidthBadge": "border-width-badge",
18594
18656
  "borderWidthPopover": "border-width-popover",
18595
18657
  "borderWidthToken": "border-width-token",
@@ -19382,6 +19444,8 @@ export var preset = {
19382
19444
  "colorBorderLayout": "--color-border-layout-h5yp20",
19383
19445
  "colorBorderLayoutSideNavigation": "--color-border-layout-side-navigation-a02vgs",
19384
19446
  "colorBorderNotificationStackBar": "--color-border-notification-stack-bar-iua5tr",
19447
+ "colorBorderNotificationStackBarHover": "--color-border-notification-stack-bar-hover-pzy1rr",
19448
+ "colorBorderNotificationStackBarActive": "--color-border-notification-stack-bar-active-itxyux",
19385
19449
  "colorBorderNotificationStackBarFocused": "--color-border-notification-stack-bar-focused-6lgllw",
19386
19450
  "colorBorderPanelHeader": "--color-border-panel-header-sqy0v4",
19387
19451
  "colorBorderPopover": "--color-border-popover-e8qomr",
@@ -19756,6 +19820,7 @@ export var preset = {
19756
19820
  "borderWidthDialog": "--border-width-dialog-6bh1ii",
19757
19821
  "borderWidthItemSelected": "--border-width-item-selected-l41fek",
19758
19822
  "borderWidthLayoutSideNavigation": "--border-width-layout-side-navigation-q0k26x",
19823
+ "borderWidthNotificationStackBar": "--border-width-notification-stack-bar-b90c4m",
19759
19824
  "borderWidthBadge": "--border-width-badge-p88itr",
19760
19825
  "borderWidthPopover": "--border-width-popover-snsxri",
19761
19826
  "borderWidthToken": "--border-width-token-p4a0gu",
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "543205d7acca78e7304314020ae71754f8e3dc14"
2
+ "commit": "b7e52fa64bb81fcfdc59fa3ad40305eceec53383"
3
3
  }
@@ -1,4 +1,4 @@
1
- import { AppLayoutUpdateMessage, DrawerPayload, FeatureNotificationsPayload, FeatureNotificationsPayloadPublic } from './interfaces';
1
+ import { AppLayoutUpdateMessage, BreadcrumbsConsumerPayload, BreadcrumbsConsumerRegistration, DrawerPayload, FeatureNotificationsPayload, FeatureNotificationsPayloadPublic } from './interfaces';
2
2
  /**
3
3
  * Registers a new left runtime drawer to app layout
4
4
  * @param drawer
@@ -17,6 +17,10 @@ export declare function registerFeatureNotifications<T>(payload: FeatureNotifica
17
17
  export declare function registerFeatureNotificationsPublic<T>(payload: FeatureNotificationsPayloadPublic<T>): void;
18
18
  export declare function showFeaturePromptIfPossible(): void;
19
19
  export declare function clearFeatureNotifications(): void;
20
+ /**
21
+ * Registers the surface that renders breadcrumbs outside App Layout.
22
+ */
23
+ export declare function registerBreadcrumbsConsumer(payload: BreadcrumbsConsumerPayload): BreadcrumbsConsumerRegistration;
20
24
  /**
21
25
  * Interact with already registered app layout drawers
22
26
  * @param message
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/plugins/widget/index.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,sBAAsB,EACtB,aAAa,EACb,2BAA2B,EAC3B,iCAAiC,EAIlC,MAAM,cAAc,CAAC;AAEtB;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,QAIvD;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,aAAa,QAIzD;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,OAAO,EAAE,2BAA2B,CAAC,CAAC,CAAC,QAOtF;AACD,wBAAgB,kCAAkC,CAAC,CAAC,EAAE,OAAO,EAAE,iCAAiC,CAAC,CAAC,CAAC,QAElG;AAED,wBAAgB,2BAA2B,SAE1C;AAED,wBAAgB,yBAAyB,SAExC;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,OAAO,EAAE,sBAAsB,CAAC,CAAC,CAAC,QAc3E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/plugins/widget/index.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,aAAa,EACb,2BAA2B,EAC3B,iCAAiC,EAMlC,MAAM,cAAc,CAAC;AAEtB;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,QAIvD;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,aAAa,QAIzD;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,OAAO,EAAE,2BAA2B,CAAC,CAAC,CAAC,QAOtF;AACD,wBAAgB,kCAAkC,CAAC,CAAC,EAAE,OAAO,EAAE,iCAAiC,CAAC,CAAC,CAAC,QAElG;AAED,wBAAgB,2BAA2B,SAE1C;AAED,wBAAgB,yBAAyB,SAExC;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,0BAA0B,GAAG,+BAA+B,CAqBhH;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,OAAO,EAAE,sBAAsB,CAAC,CAAC,CAAC,QAiB3E"}
@@ -44,6 +44,30 @@ export function showFeaturePromptIfPossible() {
44
44
  export function clearFeatureNotifications() {
45
45
  updateDrawer({ type: 'clearFeatureNotifications' });
46
46
  }
47
+ /**
48
+ * Registers the surface that renders breadcrumbs outside App Layout.
49
+ */
50
+ export function registerBreadcrumbsConsumer(payload) {
51
+ var _a;
52
+ const message = {
53
+ type: 'registerBreadcrumbsExternalConsumer',
54
+ payload,
55
+ };
56
+ pushInitialMessage(message);
57
+ (_a = getAppLayoutMessageHandler()) === null || _a === void 0 ? void 0 : _a(message);
58
+ return {
59
+ unregister: () => {
60
+ var _a;
61
+ const initialMessages = getAppLayoutInitialMessages();
62
+ setInitialMessage(initialMessages.filter(initialMessage => initialMessage.type !== 'registerBreadcrumbsExternalConsumer'));
63
+ const unregisterMessage = {
64
+ type: 'unregisterBreadcrumbsExternalConsumer',
65
+ payload: undefined,
66
+ };
67
+ (_a = getAppLayoutMessageHandler()) === null || _a === void 0 ? void 0 : _a(unregisterMessage);
68
+ },
69
+ };
70
+ }
47
71
  /**
48
72
  * Interact with already registered app layout drawers
49
73
  * @param message
@@ -53,7 +77,8 @@ export function updateDrawer(message) {
53
77
  const initialMessages = getAppLayoutInitialMessages();
54
78
  if (message.type === 'updateDrawerConfig') {
55
79
  initialMessages.forEach(initialMessage => {
56
- if (initialMessage.payload.id === message.payload.id) {
80
+ if (initialMessage.type !== 'registerBreadcrumbsExternalConsumer' &&
81
+ initialMessage.payload.id === message.payload.id) {
57
82
  initialMessage.payload = { ...initialMessage.payload, ...message.payload };
58
83
  }
59
84
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/plugins/widget/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAWxH;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,MAAqB;;IACtD,MAAM,OAAO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,OAAO,CAAC,EAAE,KAAK,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;gBACrD,cAAc,CAAC,OAAO,GAAG,EAAE,GAAG,cAAc,CAAC,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;YAC7E,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,KAAK,2BAA2B,EAAE,CAAC;QACjD,iBAAiB,CAAC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC,cAAc,CAAC,IAAI,KAAK,8BAA8B,CAAC,CAAC,CAAC;IACtH,CAAC;IACD,MAAA,0BAA0B,EAAE,0CAAG,OAAiC,CAAC,CAAC;AACpE,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { getExternalProps } from '../../utils/external-props';\nimport { getAppLayoutInitialMessages, getAppLayoutMessageHandler, pushInitialMessage, setInitialMessage } from './core';\nimport {\n AppLayoutUpdateMessage,\n DrawerPayload,\n FeatureNotificationsPayload,\n FeatureNotificationsPayloadPublic,\n RegisterDrawerMessage,\n RegisterFeatureNotificationsMessage,\n WidgetMessage,\n} from './interfaces';\n\n/**\n * Registers a new left runtime drawer to app layout\n * @param drawer\n */\nexport function registerLeftDrawer(drawer: DrawerPayload) {\n const message: RegisterDrawerMessage = { type: 'registerLeftDrawer', payload: drawer };\n pushInitialMessage(message);\n getAppLayoutMessageHandler()?.(message as WidgetMessage<unknown>);\n}\n\n/**\n * Registers a new bottom runtime drawer to app layout\n * @param drawer\n */\nexport function registerBottomDrawer(drawer: DrawerPayload) {\n const message: RegisterDrawerMessage = { type: 'registerBottomDrawer', payload: { ...drawer, position: 'bottom' } };\n pushInitialMessage(message);\n getAppLayoutMessageHandler()?.(message as WidgetMessage<unknown>);\n}\n\n/**\n * Registers a new feature notifications runtime drawer to app layout\n * @param payload\n */\nexport function registerFeatureNotifications<T>(payload: FeatureNotificationsPayload<T>) {\n const message: RegisterFeatureNotificationsMessage<T> = {\n type: 'registerFeatureNotifications',\n payload,\n };\n pushInitialMessage(message);\n getAppLayoutMessageHandler()?.(message as WidgetMessage<unknown>);\n}\nexport function registerFeatureNotificationsPublic<T>(payload: FeatureNotificationsPayloadPublic<T>) {\n registerFeatureNotifications(getExternalProps(payload));\n}\n\nexport function showFeaturePromptIfPossible() {\n updateDrawer({ type: 'showFeaturePromptIfPossible' });\n}\n\nexport function clearFeatureNotifications() {\n updateDrawer({ type: 'clearFeatureNotifications' });\n}\n\n/**\n * Interact with already registered app layout drawers\n * @param message\n */\nexport function updateDrawer<T = unknown>(message: AppLayoutUpdateMessage<T>) {\n const initialMessages = getAppLayoutInitialMessages();\n if (message.type === 'updateDrawerConfig') {\n initialMessages.forEach(initialMessage => {\n if (initialMessage.payload.id === message.payload.id) {\n initialMessage.payload = { ...initialMessage.payload, ...message.payload };\n }\n });\n }\n\n if (message.type === 'clearFeatureNotifications') {\n setInitialMessage(initialMessages.filter(initialMessage => initialMessage.type !== 'registerFeatureNotifications'));\n }\n getAppLayoutMessageHandler()?.(message as WidgetMessage<unknown>);\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/plugins/widget/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAexH;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,MAAqB;;IACtD,MAAM,OAAO,GAA0B,EAAE,IAAI,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACvF,kBAAkB,CAAC,OAAO,CAAC,CAAC;IAC5B,MAAA,0BAA0B,EAAE,0CAAG,OAAiC,CAAC,CAAC;AACp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KAAK,qCAAqC,CAAC,CACxG,CAAC;YACF,MAAM,iBAAiB,GAAiD;gBACtE,IAAI,EAAE,uCAAuC;gBAC7C,OAAO,EAAE,SAAS;aACnB,CAAC;YACF,MAAA,0BAA0B,EAAE,0CAAG,iBAA2C,CAAC,CAAC;QAC9E,CAAC;KACF,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAc,OAAkC;;IAC1E,MAAM,eAAe,GAAG,2BAA2B,EAAE,CAAC;IACtD,IAAI,OAAO,CAAC,IAAI,KAAK,oBAAoB,EAAE,CAAC;QAC1C,eAAe,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE;YACvC,IACE,cAAc,CAAC,IAAI,KAAK,qCAAqC;gBAC7D,cAAc,CAAC,OAAO,CAAC,EAAE,KAAK,OAAO,CAAC,OAAO,CAAC,EAAE,EAChD,CAAC;gBACD,cAAc,CAAC,OAAO,GAAG,EAAE,GAAG,cAAc,CAAC,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;YAC7E,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,KAAK,2BAA2B,EAAE,CAAC;QACjD,iBAAiB,CAAC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC,cAAc,CAAC,IAAI,KAAK,8BAA8B,CAAC,CAAC,CAAC;IACtH,CAAC;IACD,MAAA,0BAA0B,EAAE,0CAAG,OAAiC,CAAC,CAAC;AACpE,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { getExternalProps } from '../../utils/external-props';\nimport { getAppLayoutInitialMessages, getAppLayoutMessageHandler, pushInitialMessage, setInitialMessage } from './core';\nimport {\n AppLayoutUpdateMessage,\n BreadcrumbsConsumerPayload,\n BreadcrumbsConsumerRegistration,\n DrawerPayload,\n FeatureNotificationsPayload,\n FeatureNotificationsPayloadPublic,\n RegisterBreadcrumbsExternalConsumerMessage,\n RegisterDrawerMessage,\n RegisterFeatureNotificationsMessage,\n UnregisterBreadcrumbsExternalConsumerMessage,\n WidgetMessage,\n} from './interfaces';\n\n/**\n * Registers a new left runtime drawer to app layout\n * @param drawer\n */\nexport function registerLeftDrawer(drawer: DrawerPayload) {\n const message: RegisterDrawerMessage = { type: 'registerLeftDrawer', payload: drawer };\n pushInitialMessage(message);\n getAppLayoutMessageHandler()?.(message as WidgetMessage<unknown>);\n}\n\n/**\n * Registers a new bottom runtime drawer to app layout\n * @param drawer\n */\nexport function registerBottomDrawer(drawer: DrawerPayload) {\n const message: RegisterDrawerMessage = { type: 'registerBottomDrawer', payload: { ...drawer, position: 'bottom' } };\n pushInitialMessage(message);\n getAppLayoutMessageHandler()?.(message as WidgetMessage<unknown>);\n}\n\n/**\n * Registers a new feature notifications runtime drawer to app layout\n * @param payload\n */\nexport function registerFeatureNotifications<T>(payload: FeatureNotificationsPayload<T>) {\n const message: RegisterFeatureNotificationsMessage<T> = {\n type: 'registerFeatureNotifications',\n payload,\n };\n pushInitialMessage(message);\n getAppLayoutMessageHandler()?.(message as WidgetMessage<unknown>);\n}\nexport function registerFeatureNotificationsPublic<T>(payload: FeatureNotificationsPayloadPublic<T>) {\n registerFeatureNotifications(getExternalProps(payload));\n}\n\nexport function showFeaturePromptIfPossible() {\n updateDrawer({ type: 'showFeaturePromptIfPossible' });\n}\n\nexport function clearFeatureNotifications() {\n updateDrawer({ type: 'clearFeatureNotifications' });\n}\n\n/**\n * Registers the surface that renders breadcrumbs outside App Layout.\n */\nexport function registerBreadcrumbsConsumer(payload: BreadcrumbsConsumerPayload): BreadcrumbsConsumerRegistration {\n const message: RegisterBreadcrumbsExternalConsumerMessage = {\n type: 'registerBreadcrumbsExternalConsumer',\n payload,\n };\n pushInitialMessage(message);\n getAppLayoutMessageHandler()?.(message as WidgetMessage<unknown>);\n\n return {\n unregister: () => {\n const initialMessages = getAppLayoutInitialMessages();\n setInitialMessage(\n initialMessages.filter(initialMessage => initialMessage.type !== 'registerBreadcrumbsExternalConsumer')\n );\n const unregisterMessage: UnregisterBreadcrumbsExternalConsumerMessage = {\n type: 'unregisterBreadcrumbsExternalConsumer',\n payload: undefined,\n };\n getAppLayoutMessageHandler()?.(unregisterMessage as WidgetMessage<unknown>);\n },\n };\n}\n\n/**\n * Interact with already registered app layout drawers\n * @param message\n */\nexport function updateDrawer<T = unknown>(message: AppLayoutUpdateMessage<T>) {\n const initialMessages = getAppLayoutInitialMessages();\n if (message.type === 'updateDrawerConfig') {\n initialMessages.forEach(initialMessage => {\n if (\n initialMessage.type !== 'registerBreadcrumbsExternalConsumer' &&\n initialMessage.payload.id === message.payload.id\n ) {\n initialMessage.payload = { ...initialMessage.payload, ...message.payload };\n }\n });\n }\n\n if (message.type === 'clearFeatureNotifications') {\n setInitialMessage(initialMessages.filter(initialMessage => initialMessage.type !== 'registerFeatureNotifications'));\n }\n getAppLayoutMessageHandler()?.(message as WidgetMessage<unknown>);\n}\n"]}
@@ -1,3 +1,4 @@
1
+ import type { BreadcrumbGroupProps } from '../../../breadcrumb-group/interfaces';
1
2
  import { ButtonGroupProps, ItemRuntime } from '../../../button-group/interfaces';
2
3
  import { NonCancelableEventHandler } from '../../../types/events';
3
4
  interface Message<Type, Payload> {
@@ -172,6 +173,15 @@ export interface FeatureNotificationsPayload<T> {
172
173
  };
173
174
  }
174
175
  export type FeatureNotificationsPayloadPublic<T> = Omit<FeatureNotificationsPayload<T>, '__persistFeatureNotifications' | '__retrieveFeatureNotifications'>;
176
+ export interface BreadcrumbsConsumerPayload {
177
+ /** Called when the current breadcrumbs change. */
178
+ onBreadcrumbsChange: (breadcrumbs: BreadcrumbGroupProps | null) => void;
179
+ }
180
+ export interface BreadcrumbsConsumerRegistration {
181
+ unregister: () => void;
182
+ }
183
+ export type RegisterBreadcrumbsExternalConsumerMessage = Message<'registerBreadcrumbsExternalConsumer', BreadcrumbsConsumerPayload>;
184
+ export type UnregisterBreadcrumbsExternalConsumerMessage = Message<'unregisterBreadcrumbsExternalConsumer', undefined>;
175
185
  export type RegisterDrawerMessage = Message<'registerLeftDrawer' | 'registerBottomDrawer', DrawerPayload>;
176
186
  export type RegisterFeatureNotificationsMessage<T> = Message<'registerFeatureNotifications', FeatureNotificationsPayload<T>>;
177
187
  export type UpdateDrawerConfigMessage = Message<'updateDrawerConfig', Pick<DrawerPayload, 'id'> & Partial<Omit<DrawerPayload, 'mountContent' | 'unmountContent' | 'mountHeader' | 'unmountHeader'>>>;
@@ -197,7 +207,7 @@ export interface ShowFeaturePromptIfPossible {
197
207
  export interface ClearFeatureNotifications {
198
208
  type: 'clearFeatureNotifications';
199
209
  }
200
- export type AppLayoutUpdateMessage<T = unknown> = UpdateDrawerConfigMessage | OpenDrawerMessage | CloseDrawerMessage | ResizeDrawerMessage | ExpandDrawerMessage | ExitExpandedModeMessage | RegisterFeatureNotificationsMessage<T> | ShowFeaturePromptIfPossible | ClearFeatureNotifications;
201
- export type InitialMessage<T> = RegisterDrawerMessage | RegisterFeatureNotificationsMessage<T>;
210
+ export type AppLayoutUpdateMessage<T = unknown> = UpdateDrawerConfigMessage | OpenDrawerMessage | CloseDrawerMessage | ResizeDrawerMessage | ExpandDrawerMessage | ExitExpandedModeMessage | RegisterFeatureNotificationsMessage<T> | ShowFeaturePromptIfPossible | ClearFeatureNotifications | UnregisterBreadcrumbsExternalConsumerMessage;
211
+ export type InitialMessage<T> = RegisterDrawerMessage | RegisterFeatureNotificationsMessage<T> | RegisterBreadcrumbsExternalConsumerMessage;
202
212
  export type WidgetMessage<T = unknown> = InitialMessage<T> | AppLayoutUpdateMessage<T>;
203
213
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/internal/plugins/widget/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,yBAAyB,EA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