@cloudscape-design/components-themeable 3.0.1251 → 3.0.1253

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 (37) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  3. package/lib/internal/scss/internal/styles/typography/mixins.scss +5 -2
  4. package/lib/internal/scss/panel-layout/styles.scss +2 -0
  5. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-feature-notifications.d.ts.map +1 -1
  6. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-feature-notifications.js +4 -1
  7. package/lib/internal/template/app-layout/visual-refresh-toolbar/state/use-feature-notifications.js.map +1 -1
  8. package/lib/internal/template/box/styles.css.js +192 -192
  9. package/lib/internal/template/box/styles.scoped.css +238 -237
  10. package/lib/internal/template/box/styles.selectors.js +192 -192
  11. package/lib/internal/template/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
  12. package/lib/internal/template/flashbar/non-collapsible-flashbar.js +1 -1
  13. package/lib/internal/template/flashbar/non-collapsible-flashbar.js.map +1 -1
  14. package/lib/internal/template/icon/generated/icons.d.ts +0 -1
  15. package/lib/internal/template/icon/generated/icons.d.ts.map +1 -1
  16. package/lib/internal/template/icon/generated/icons.js +0 -3
  17. package/lib/internal/template/icon/generated/icons.js.map +1 -1
  18. package/lib/internal/template/icon-provider/interfaces.d.ts +1 -1
  19. package/lib/internal/template/icon-provider/interfaces.d.ts.map +1 -1
  20. package/lib/internal/template/icon-provider/interfaces.js.map +1 -1
  21. package/lib/internal/template/internal/base-component/styles.scoped.css +3 -1
  22. package/lib/internal/template/internal/components/transition/index.d.ts +2 -1
  23. package/lib/internal/template/internal/components/transition/index.d.ts.map +1 -1
  24. package/lib/internal/template/internal/components/transition/index.js +2 -2
  25. package/lib/internal/template/internal/components/transition/index.js.map +1 -1
  26. package/lib/internal/template/internal/environment.js +2 -2
  27. package/lib/internal/template/internal/environment.json +2 -2
  28. package/lib/internal/template/internal/generated/styles/tokens.d.ts +1 -0
  29. package/lib/internal/template/internal/generated/styles/tokens.js +1 -0
  30. package/lib/internal/template/internal/generated/theming/index.cjs +7 -0
  31. package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +18 -0
  32. package/lib/internal/template/internal/generated/theming/index.d.ts +18 -0
  33. package/lib/internal/template/internal/generated/theming/index.js +7 -0
  34. package/lib/internal/template/panel-layout/styles.css.js +7 -7
  35. package/lib/internal/template/panel-layout/styles.scoped.css +12 -10
  36. package/lib/internal/template/panel-layout/styles.selectors.js +7 -7
  37. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "cd71dbc7ec25434577ab20d28fa773d6ea65a1c5"
2
+ "commit": "9cd9759baf9c4e80a1ac3c02b6cbc9275f143470"
3
3
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Build environment
3
- $awsui-commit-hash: "cd71dbc7";
3
+ $awsui-commit-hash: "9cd9759b";
4
4
  // Manually managed CSS-variables
5
5
  $maxContentWidth: --awsui-max-content-width-n6lfw8;
6
6
  $minContentWidth: --awsui-min-content-width-n6lfw8;
@@ -97,7 +97,10 @@
97
97
  }
98
98
  }
99
99
 
100
- @mixin font-display-l {
100
+ @mixin font-display-l($family: true) {
101
+ @if $family {
102
+ font-family: awsui.$font-family-display;
103
+ }
101
104
  font-size: awsui.$font-size-display-l;
102
105
  line-height: awsui.$line-height-display-l;
103
106
  letter-spacing: awsui.$letter-spacing-display-l;
@@ -160,7 +163,7 @@
160
163
  @include font-heading-xl($weight: false, $family: false);
161
164
  }
162
165
  @if $font-size == display-l {
163
- @include font-display-l;
166
+ @include font-display-l($family: false);
164
167
  }
165
168
  @if $font-size == inherit {
166
169
  @include font-inherit;
@@ -47,6 +47,8 @@
47
47
  }
48
48
  .display-panel-only > & {
49
49
  flex: 1;
50
+ overflow-y: auto;
51
+ overflow-x: visible;
50
52
  }
51
53
  }
52
54
 
@@ -1 +1 @@
1
- {"version":3,"file":"use-feature-notifications.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/state/use-feature-notifications.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,SAAS,EAA6B,MAAM,OAAO,CAAC;AAOpE,OAAO,EAIL,aAAa,EACd,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOlD,UAAU,8BAA8B;IACtC,UAAU,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;CACpC;AACD,MAAM,WAAW,yBAAyB;IACxC,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,MAAM,CAAC,EAAE,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC;CACvC;AACD,MAAM,MAAM,yBAAyB,GAAG,CAAC,KAAK,EAAE,8BAA8B,KAAK,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;AA+BtG,wBAAgB,uBAAuB;;;gDAgDc,aAAa;EA0IjE"}
1
+ {"version":3,"file":"use-feature-notifications.d.ts","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/state/use-feature-notifications.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,SAAS,EAA6B,MAAM,OAAO,CAAC;AAOpE,OAAO,EAIL,aAAa,EACd,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOlD,UAAU,8BAA8B;IACtC,UAAU,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;CACpC;AACD,MAAM,WAAW,yBAAyB;IACxC,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,MAAM,CAAC,EAAE,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC;CACvC;AACD,MAAM,MAAM,yBAAyB,GAAG,CAAC,KAAK,EAAE,8BAA8B,KAAK,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;AA+BtG,wBAAgB,uBAAuB;;;gDAsDc,aAAa;EA0IjE"}
@@ -56,7 +56,10 @@ export function useFeatureNotifications() {
56
56
  id: payload.id,
57
57
  content: (React.createElement(RuntimeFeaturesNotificationDrawer, { features: payload.features, featuresPageLink: payload.featuresPageLink, mountItem: payload.mountItem })),
58
58
  trigger: {
59
- iconName: 'announcement',
59
+ iconSvg: (React.createElement("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", focusable: "false", "aria-hidden": "true" },
60
+ React.createElement("path", { d: "M7 4L14.3244 1.25334C14.6513 1.13076 15 1.3724 15 1.7215V13.2785C15 13.6276 14.6513 13.8692 14.3244 13.7467L7 11" }),
61
+ React.createElement("path", { d: "M1 6C1 4.89543 1.89543 4 3 4H7V11H3C1.89543 11 1 10.1046 1 9V6Z" }),
62
+ React.createElement("path", { d: "M9.93649 12.1466C9.66614 13.4393 8.51989 14.4102 7.14687 14.4102C5.57286 14.4102 4.29688 13.1342 4.29688 11.5602C4.29688 11.3685 4.31579 11.1813 4.35187 11.0002" }))),
60
63
  },
61
64
  ariaLabels: {
62
65
  closeButton: i18n('ariaLabels.closeButton', undefined),
@@ -1 +1 @@
1
- {"version":3,"file":"use-feature-notifications.js","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/state/use-feature-notifications.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAa,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAE7E,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,aAAqC,MAAM,6CAA6C,CAAC;AAChG,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAO1G,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,OAAO,iCAAiC,EAAE,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,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,MAAM,2BAA2B,GAAG,CAAC,OAAyB,EAAE,EAAE;;QAChE,MAAM,iBAAiB,GAAG,MAAA,wBAAwB,aAAxB,wBAAwB,uBAAxB,wBAAwB,CAAE,iBAAiB,mCAAI,0BAA0B,CAAC;QACpG,MAAM,WAAW,GAAG,EAAE,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC,EAAE,MAAA,OAAO,CAAC,WAAW,0CAAE,QAAQ,EAAE,EAAE,CAAC;QAClG,MAAM,uBAAuB,GAAG,sBAAsB,CAAC,YAAY,CAAC,CAAC;QACrE,MAAM,cAAc,GAAG,EAAE,GAAG,WAAW,EAAE,GAAG,uBAAuB,EAAE,CAAC;QACtE,CAAC,MAAA,wBAAwB,aAAxB,wBAAwB,uBAAxB,wBAAwB,CAAE,6BAA6B,mCAAI,2BAA2B,CAAC,CACtF,iBAAiB,EACjB,cAAc,CACf,CAAC,IAAI,CAAC,GAAG,EAAE;YACV,eAAe,CAAC,cAAc,CAAC,CAAC;QAClC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,gCAAgC,GAAG,GAAG,EAAE;QAC5C,IAAI,CAAC,wBAAwB,IAAI,oBAAoB,EAAE,CAAC;YACtD,OAAO;QACT,CAAC;QAED,2BAA2B,EAAE,CAAC;IAChC,CAAC,CAAC;IAEF,MAAM,yBAAyB,GAA8B;QAC3D,yBAAyB;QACzB,MAAM,EAAE,wBAAwB,IAAI,kBAAkB,CAAC,wBAAwB,CAAC;KACjF,CAAC;IAEF,OAAO;QACL,yBAAyB;QACzB,gCAAgC;QAChC,kCAAkC;KACnC,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { RefObject, useMemo, useRef, useState } from 'react';\n\nimport { useMergeRefs } from '@cloudscape-design/component-toolkit/internal';\n\nimport { useInternalI18n } from '../../../i18n/context';\nimport FeaturePrompt, { FeaturePromptProps } from '../../../internal/do-not-use/feature-prompt';\nimport { persistFeatureNotifications, retrieveFeatureNotifications } from '../../../internal/persistence';\nimport {\n Feature,\n FeatureNotificationsPayload,\n PersistedFeaturesDict,\n WidgetMessage,\n} from '../../../internal/plugins/widget/interfaces';\nimport { useMountRefPromise } from '../../../internal/utils/promises';\nimport { AppLayoutProps } from '../../interfaces';\nimport RuntimeFeaturesNotificationDrawer, { RuntimeContentPart } from '../drawer/feature-notifications-drawer-content';\n\nconst DEFAULT_PERSISTENCE_CONFIG = {\n uniqueKey: 'awsui-feature-notifications',\n};\n\ninterface RenderLatestFeaturePromptProps {\n triggerRef: RefObject<HTMLElement>;\n}\nexport interface FeatureNotificationsProps {\n renderLatestFeaturePrompt: RenderLatestFeaturePrompt;\n drawer?: AppLayoutProps.Drawer | null;\n}\nexport type RenderLatestFeaturePrompt = (props: RenderLatestFeaturePromptProps) => JSX.Element | null;\ninterface FeatureNotifications extends FeatureNotificationsPayload<unknown> {\n badge?: boolean;\n}\n\nconst FEATURE_NOTIFICATIONS_RETENTION_DAYS = 180;\nconst DEFAULT_FEATURE_FILTER_DAYS = 90;\n\nfunction subtractDaysFromDate(currentDate: Date, daysToSubtract: number = 0): Date {\n const pastDate = new Date(currentDate);\n pastDate.setDate(pastDate.getDate() - daysToSubtract);\n return pastDate;\n}\n\nfunction filterOutdatedFeatures(features: PersistedFeaturesDict): PersistedFeaturesDict {\n const cutoffDate = subtractDaysFromDate(new Date(), FEATURE_NOTIFICATIONS_RETENTION_DAYS);\n\n return Object.keys(features).reduce((acc, key) => {\n const featureDate = new Date(features[key]);\n\n if (featureDate && featureDate >= cutoffDate) {\n return {\n ...acc,\n [key]: features[key],\n };\n }\n\n return acc;\n }, {});\n}\n\nexport function useFeatureNotifications() {\n const i18n = useInternalI18n('features-notification-drawer');\n const [featurePromptDismissed, setFeaturePromptDismissed] = useState(false);\n const [featureNotificationsData, setFeatureNotificationsData] = useState<FeatureNotifications | null>(null);\n const [seenFeatures, setSeenFeatures] = useState<PersistedFeaturesDict>({});\n const featurePromptRef = useRef<FeaturePromptProps.Ref>(null);\n const { ref: featurePromptMountRef, promise: featurePromptMountPromise } = useMountRefPromise();\n const featurePromptMergedRef = useMergeRefs(featurePromptRef, featurePromptMountRef);\n const allNotificationsSeen = useMemo(() => {\n return featureNotificationsData?.features.every(feature => !!seenFeatures[feature.id]);\n }, [featureNotificationsData, seenFeatures]);\n\n const defaultFeaturesFilter = (feature: Feature<unknown>) => {\n return feature.releaseDate >= subtractDaysFromDate(new Date(), DEFAULT_FEATURE_FILTER_DAYS);\n };\n\n const getFeaturesToDisplay = (payload: FeatureNotificationsPayload<unknown>): Array<Feature<unknown>> => {\n return payload.features\n .slice()\n .filter(payload.filterFeatures ? payload.filterFeatures : defaultFeaturesFilter)\n .sort((a, b) => b.releaseDate.getTime() - a.releaseDate.getTime());\n };\n\n const mapPayloadToDrawer = (payload: FeatureNotifications): AppLayoutProps.Drawer => {\n return {\n id: payload.id,\n content: (\n <RuntimeFeaturesNotificationDrawer\n features={payload.features}\n featuresPageLink={payload.featuresPageLink}\n mountItem={payload.mountItem}\n />\n ),\n trigger: {\n iconName: 'announcement',\n },\n ariaLabels: {\n closeButton: i18n('ariaLabels.closeButton', undefined),\n drawerName: i18n('ariaLabels.content', undefined) ?? '',\n triggerButton: i18n('ariaLabels.triggerButton', undefined),\n resizeHandle: i18n('ariaLabels.resizeHandle', undefined),\n },\n resizable: true,\n defaultSize: 320,\n badge: payload.badge,\n };\n };\n\n function featureNotificationsMessageHandler(event: WidgetMessage) {\n if (event.type === 'registerFeatureNotifications') {\n const { payload } = event;\n const features = getFeaturesToDisplay(payload);\n if (features.length === 0) {\n return;\n }\n\n setFeatureNotificationsData({ ...payload, features });\n\n const persistenceConfig = payload.persistenceConfig ?? DEFAULT_PERSISTENCE_CONFIG;\n // Retrieve previously seen feature notifications from persistence to determine\n // which features the user has already viewed\n (payload?.__retrieveFeatureNotifications || retrieveFeatureNotifications)(persistenceConfig).then(\n seenFeatureNotifications => {\n setSeenFeatures(seenFeatureNotifications);\n const hasUnseenFeatures = features.some(feature => !seenFeatureNotifications[feature.id]);\n if (hasUnseenFeatures) {\n const latestFeature = features.find(feature => !seenFeatureNotifications[feature.id]) ?? null;\n if (\n !payload.suppressFeaturePrompt &&\n !featurePromptDismissed &&\n !seenFeatureNotifications[getFeaturePromptPersistenceId(latestFeature)]\n ) {\n featurePromptMountPromise.then(() => {\n featurePromptRef.current?.show();\n });\n }\n setFeatureNotificationsData(data => (data ? { ...data, badge: true } : data));\n }\n }\n );\n return;\n }\n\n if (event.type === 'showFeaturePromptIfPossible' && !allNotificationsSeen) {\n featurePromptRef.current?.show();\n return;\n }\n\n if (event.type === 'clearFeatureNotifications') {\n setFeatureNotificationsData(null);\n return;\n }\n }\n\n function getLatestUnseenFeature() {\n return featureNotificationsData?.features.find(feature => !seenFeatures[feature.id]) ?? null;\n }\n\n function renderLatestFeaturePrompt({ triggerRef }: RenderLatestFeaturePromptProps) {\n const latestFeature = getLatestUnseenFeature();\n if (!triggerRef.current || !latestFeature) {\n return null;\n }\n return (\n <FeaturePrompt\n ref={featurePromptMergedRef}\n onShow={() => {\n triggerRef.current!.dataset!.awsuiSuppressTooltip = 'true';\n }}\n onDismiss={event => {\n if (event.detail?.method !== 'blur') {\n triggerRef?.current!.focus();\n }\n setFeaturePromptDismissed(true);\n Promise.resolve().then(() => {\n if (triggerRef.current?.dataset) {\n triggerRef.current!.dataset!.awsuiSuppressTooltip = 'false';\n }\n });\n persistFeaturePromptDismiss(latestFeature);\n }}\n header={\n <RuntimeContentPart mountContent={featureNotificationsData?.mountItem} content={latestFeature.header} />\n }\n content={\n <RuntimeContentPart mountContent={featureNotificationsData?.mountItem} content={latestFeature.content} />\n }\n trackKey={latestFeature.id}\n position=\"left\"\n getTrack={() => triggerRef.current}\n />\n );\n }\n\n const setFeaturesToSeenAndPersist = () => {\n const persistenceConfig = featureNotificationsData?.persistenceConfig ?? DEFAULT_PERSISTENCE_CONFIG;\n const featuresMap = featureNotificationsData?.features.reduce((acc, feature) => {\n return {\n ...acc,\n [feature.id]: feature.releaseDate,\n };\n }, {});\n const filteredSeenFeaturesMap = filterOutdatedFeatures(seenFeatures);\n const allFeaturesMap = { ...featuresMap, ...filteredSeenFeaturesMap };\n (featureNotificationsData?.__persistFeatureNotifications ?? persistFeatureNotifications)(\n persistenceConfig,\n allFeaturesMap\n ).then(() => {\n setSeenFeatures(allFeaturesMap);\n setFeatureNotificationsData(data => (data ? { ...data, badge: false } : data));\n });\n };\n\n const getFeaturePromptPersistenceId = (feature?: Feature<unknown> | null) => `${feature?.id}_feature-prompt`;\n\n const persistFeaturePromptDismiss = (feature: Feature<unknown>) => {\n const persistenceConfig = featureNotificationsData?.persistenceConfig ?? DEFAULT_PERSISTENCE_CONFIG;\n const featuresMap = { [getFeaturePromptPersistenceId(feature)]: feature.releaseDate?.toString() };\n const filteredSeenFeaturesMap = filterOutdatedFeatures(seenFeatures);\n const allFeaturesMap = { ...featuresMap, ...filteredSeenFeaturesMap };\n (featureNotificationsData?.__persistFeatureNotifications ?? persistFeatureNotifications)(\n persistenceConfig,\n allFeaturesMap\n ).then(() => {\n setSeenFeatures(allFeaturesMap);\n });\n };\n\n const onOpenFeatureNotificationsDrawer = () => {\n if (!featureNotificationsData || allNotificationsSeen) {\n return;\n }\n\n setFeaturesToSeenAndPersist();\n };\n\n const featureNotificationsProps: FeatureNotificationsProps = {\n renderLatestFeaturePrompt,\n drawer: featureNotificationsData && mapPayloadToDrawer(featureNotificationsData),\n };\n\n return {\n featureNotificationsProps,\n onOpenFeatureNotificationsDrawer,\n featureNotificationsMessageHandler,\n };\n}\n"]}
1
+ {"version":3,"file":"use-feature-notifications.js","sourceRoot":"","sources":["../../../../../src/app-layout/visual-refresh-toolbar/state/use-feature-notifications.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAa,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAA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,GAAG,EAAE;QAC5C,IAAI,CAAC,wBAAwB,IAAI,oBAAoB,EAAE,CAAC;YACtD,OAAO;QACT,CAAC;QAED,2BAA2B,EAAE,CAAC;IAChC,CAAC,CAAC;IAEF,MAAM,yBAAyB,GAA8B;QAC3D,yBAAyB;QACzB,MAAM,EAAE,wBAAwB,IAAI,kBAAkB,CAAC,wBAAwB,CAAC;KACjF,CAAC;IAEF,OAAO;QACL,yBAAyB;QACzB,gCAAgC;QAChC,kCAAkC;KACnC,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { RefObject, useMemo, useRef, useState } from 'react';\n\nimport { useMergeRefs } from '@cloudscape-design/component-toolkit/internal';\n\nimport { useInternalI18n } from '../../../i18n/context';\nimport FeaturePrompt, { FeaturePromptProps } from '../../../internal/do-not-use/feature-prompt';\nimport { persistFeatureNotifications, retrieveFeatureNotifications } from '../../../internal/persistence';\nimport {\n Feature,\n FeatureNotificationsPayload,\n PersistedFeaturesDict,\n WidgetMessage,\n} from '../../../internal/plugins/widget/interfaces';\nimport { useMountRefPromise } from '../../../internal/utils/promises';\nimport { AppLayoutProps } from '../../interfaces';\nimport RuntimeFeaturesNotificationDrawer, { RuntimeContentPart } from '../drawer/feature-notifications-drawer-content';\n\nconst DEFAULT_PERSISTENCE_CONFIG = {\n uniqueKey: 'awsui-feature-notifications',\n};\n\ninterface RenderLatestFeaturePromptProps {\n triggerRef: RefObject<HTMLElement>;\n}\nexport interface FeatureNotificationsProps {\n renderLatestFeaturePrompt: RenderLatestFeaturePrompt;\n drawer?: AppLayoutProps.Drawer | null;\n}\nexport type RenderLatestFeaturePrompt = (props: RenderLatestFeaturePromptProps) => JSX.Element | null;\ninterface FeatureNotifications extends FeatureNotificationsPayload<unknown> {\n badge?: boolean;\n}\n\nconst FEATURE_NOTIFICATIONS_RETENTION_DAYS = 180;\nconst DEFAULT_FEATURE_FILTER_DAYS = 90;\n\nfunction subtractDaysFromDate(currentDate: Date, daysToSubtract: number = 0): Date {\n const pastDate = new Date(currentDate);\n pastDate.setDate(pastDate.getDate() - daysToSubtract);\n return pastDate;\n}\n\nfunction filterOutdatedFeatures(features: PersistedFeaturesDict): PersistedFeaturesDict {\n const cutoffDate = subtractDaysFromDate(new Date(), FEATURE_NOTIFICATIONS_RETENTION_DAYS);\n\n return Object.keys(features).reduce((acc, key) => {\n const featureDate = new Date(features[key]);\n\n if (featureDate && featureDate >= cutoffDate) {\n return {\n ...acc,\n [key]: features[key],\n };\n }\n\n return acc;\n }, {});\n}\n\nexport function useFeatureNotifications() {\n const i18n = useInternalI18n('features-notification-drawer');\n const [featurePromptDismissed, setFeaturePromptDismissed] = useState(false);\n const [featureNotificationsData, setFeatureNotificationsData] = useState<FeatureNotifications | null>(null);\n const [seenFeatures, setSeenFeatures] = useState<PersistedFeaturesDict>({});\n const featurePromptRef = useRef<FeaturePromptProps.Ref>(null);\n const { ref: featurePromptMountRef, promise: featurePromptMountPromise } = useMountRefPromise();\n const featurePromptMergedRef = useMergeRefs(featurePromptRef, featurePromptMountRef);\n const allNotificationsSeen = useMemo(() => {\n return featureNotificationsData?.features.every(feature => !!seenFeatures[feature.id]);\n }, [featureNotificationsData, seenFeatures]);\n\n const defaultFeaturesFilter = (feature: Feature<unknown>) => {\n return feature.releaseDate >= subtractDaysFromDate(new Date(), DEFAULT_FEATURE_FILTER_DAYS);\n };\n\n const getFeaturesToDisplay = (payload: FeatureNotificationsPayload<unknown>): Array<Feature<unknown>> => {\n return payload.features\n .slice()\n .filter(payload.filterFeatures ? payload.filterFeatures : defaultFeaturesFilter)\n .sort((a, b) => b.releaseDate.getTime() - a.releaseDate.getTime());\n };\n\n const mapPayloadToDrawer = (payload: FeatureNotifications): AppLayoutProps.Drawer => {\n return {\n id: payload.id,\n content: (\n <RuntimeFeaturesNotificationDrawer\n features={payload.features}\n featuresPageLink={payload.featuresPageLink}\n mountItem={payload.mountItem}\n />\n ),\n trigger: {\n iconSvg: (\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\">\n <path d=\"M7 4L14.3244 1.25334C14.6513 1.13076 15 1.3724 15 1.7215V13.2785C15 13.6276 14.6513 13.8692 14.3244 13.7467L7 11\" />\n <path d=\"M1 6C1 4.89543 1.89543 4 3 4H7V11H3C1.89543 11 1 10.1046 1 9V6Z\" />\n <path d=\"M9.93649 12.1466C9.66614 13.4393 8.51989 14.4102 7.14687 14.4102C5.57286 14.4102 4.29688 13.1342 4.29688 11.5602C4.29688 11.3685 4.31579 11.1813 4.35187 11.0002\" />\n </svg>\n ),\n },\n ariaLabels: {\n closeButton: i18n('ariaLabels.closeButton', undefined),\n drawerName: i18n('ariaLabels.content', undefined) ?? '',\n triggerButton: i18n('ariaLabels.triggerButton', undefined),\n resizeHandle: i18n('ariaLabels.resizeHandle', undefined),\n },\n resizable: true,\n defaultSize: 320,\n badge: payload.badge,\n };\n };\n\n function featureNotificationsMessageHandler(event: WidgetMessage) {\n if (event.type === 'registerFeatureNotifications') {\n const { payload } = event;\n const features = getFeaturesToDisplay(payload);\n if (features.length === 0) {\n return;\n }\n\n setFeatureNotificationsData({ ...payload, features });\n\n const persistenceConfig = payload.persistenceConfig ?? DEFAULT_PERSISTENCE_CONFIG;\n // Retrieve previously seen feature notifications from persistence to determine\n // which features the user has already viewed\n (payload?.__retrieveFeatureNotifications || retrieveFeatureNotifications)(persistenceConfig).then(\n seenFeatureNotifications => {\n setSeenFeatures(seenFeatureNotifications);\n const hasUnseenFeatures = features.some(feature => !seenFeatureNotifications[feature.id]);\n if (hasUnseenFeatures) {\n const latestFeature = features.find(feature => !seenFeatureNotifications[feature.id]) ?? null;\n if (\n !payload.suppressFeaturePrompt &&\n !featurePromptDismissed &&\n !seenFeatureNotifications[getFeaturePromptPersistenceId(latestFeature)]\n ) {\n featurePromptMountPromise.then(() => {\n featurePromptRef.current?.show();\n });\n }\n setFeatureNotificationsData(data => (data ? { ...data, badge: true } : data));\n }\n }\n );\n return;\n }\n\n if (event.type === 'showFeaturePromptIfPossible' && !allNotificationsSeen) {\n featurePromptRef.current?.show();\n return;\n }\n\n if (event.type === 'clearFeatureNotifications') {\n setFeatureNotificationsData(null);\n return;\n }\n }\n\n function getLatestUnseenFeature() {\n return featureNotificationsData?.features.find(feature => !seenFeatures[feature.id]) ?? null;\n }\n\n function renderLatestFeaturePrompt({ triggerRef }: RenderLatestFeaturePromptProps) {\n const latestFeature = getLatestUnseenFeature();\n if (!triggerRef.current || !latestFeature) {\n return null;\n }\n return (\n <FeaturePrompt\n ref={featurePromptMergedRef}\n onShow={() => {\n triggerRef.current!.dataset!.awsuiSuppressTooltip = 'true';\n }}\n onDismiss={event => {\n if (event.detail?.method !== 'blur') {\n triggerRef?.current!.focus();\n }\n setFeaturePromptDismissed(true);\n Promise.resolve().then(() => {\n if (triggerRef.current?.dataset) {\n triggerRef.current!.dataset!.awsuiSuppressTooltip = 'false';\n }\n });\n persistFeaturePromptDismiss(latestFeature);\n }}\n header={\n <RuntimeContentPart mountContent={featureNotificationsData?.mountItem} content={latestFeature.header} />\n }\n content={\n <RuntimeContentPart mountContent={featureNotificationsData?.mountItem} content={latestFeature.content} />\n }\n trackKey={latestFeature.id}\n position=\"left\"\n getTrack={() => triggerRef.current}\n />\n );\n }\n\n const setFeaturesToSeenAndPersist = () => {\n const persistenceConfig = featureNotificationsData?.persistenceConfig ?? DEFAULT_PERSISTENCE_CONFIG;\n const featuresMap = featureNotificationsData?.features.reduce((acc, feature) => {\n return {\n ...acc,\n [feature.id]: feature.releaseDate,\n };\n }, {});\n const filteredSeenFeaturesMap = filterOutdatedFeatures(seenFeatures);\n const allFeaturesMap = { ...featuresMap, ...filteredSeenFeaturesMap };\n (featureNotificationsData?.__persistFeatureNotifications ?? persistFeatureNotifications)(\n persistenceConfig,\n allFeaturesMap\n ).then(() => {\n setSeenFeatures(allFeaturesMap);\n setFeatureNotificationsData(data => (data ? { ...data, badge: false } : data));\n });\n };\n\n const getFeaturePromptPersistenceId = (feature?: Feature<unknown> | null) => `${feature?.id}_feature-prompt`;\n\n const persistFeaturePromptDismiss = (feature: Feature<unknown>) => {\n const persistenceConfig = featureNotificationsData?.persistenceConfig ?? DEFAULT_PERSISTENCE_CONFIG;\n const featuresMap = { [getFeaturePromptPersistenceId(feature)]: feature.releaseDate?.toString() };\n const filteredSeenFeaturesMap = filterOutdatedFeatures(seenFeatures);\n const allFeaturesMap = { ...featuresMap, ...filteredSeenFeaturesMap };\n (featureNotificationsData?.__persistFeatureNotifications ?? persistFeatureNotifications)(\n persistenceConfig,\n allFeaturesMap\n ).then(() => {\n setSeenFeatures(allFeaturesMap);\n });\n };\n\n const onOpenFeatureNotificationsDrawer = () => {\n if (!featureNotificationsData || allNotificationsSeen) {\n return;\n }\n\n setFeaturesToSeenAndPersist();\n };\n\n const featureNotificationsProps: FeatureNotificationsProps = {\n renderLatestFeaturePrompt,\n drawer: featureNotificationsData && mapPayloadToDrawer(featureNotificationsData),\n };\n\n return {\n featureNotificationsProps,\n onOpenFeatureNotificationsDrawer,\n featureNotificationsMessageHandler,\n };\n}\n"]}
@@ -1,197 +1,197 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "box": "awsui_box_18wu0_1q0fz_172",
5
- "p-variant": "awsui_p-variant_18wu0_1q0fz_172",
6
- "color-default": "awsui_color-default_18wu0_1q0fz_172",
7
- "b-variant": "awsui_b-variant_18wu0_1q0fz_172",
8
- "strong-variant": "awsui_strong-variant_18wu0_1q0fz_172",
9
- "code-variant": "awsui_code-variant_18wu0_1q0fz_172",
10
- "pre-variant": "awsui_pre-variant_18wu0_1q0fz_172",
11
- "samp-variant": "awsui_samp-variant_18wu0_1q0fz_172",
12
- "h1-variant": "awsui_h1-variant_18wu0_1q0fz_176",
13
- "h2-variant": "awsui_h2-variant_18wu0_1q0fz_176",
14
- "h3-variant": "awsui_h3-variant_18wu0_1q0fz_176",
15
- "h4-variant": "awsui_h4-variant_18wu0_1q0fz_176",
16
- "h5-variant": "awsui_h5-variant_18wu0_1q0fz_176",
17
- "small-variant": "awsui_small-variant_18wu0_1q0fz_180",
18
- "a-variant": "awsui_a-variant_18wu0_1q0fz_184",
19
- "font-size-default": "awsui_font-size-default_18wu0_1q0fz_188",
20
- "font-weight-default": "awsui_font-weight-default_18wu0_1q0fz_229",
21
- "key-label-variant": "awsui_key-label-variant_18wu0_1q0fz_271",
22
- "gen-ai-label-variant": "awsui_gen-ai-label-variant_18wu0_1q0fz_278",
23
- "value-large-variant": "awsui_value-large-variant_18wu0_1q0fz_285",
24
- "inline-code-variant": "awsui_inline-code-variant_18wu0_1q0fz_292",
25
- "font-weight-heavy": "awsui_font-weight-heavy_18wu0_1q0fz_306",
26
- "color-inverted": "awsui_color-inverted_18wu0_1q0fz_311",
27
- "color-text-label": "awsui_color-text-label_18wu0_1q0fz_314",
28
- "color-text-body-secondary": "awsui_color-text-body-secondary_18wu0_1q0fz_317",
29
- "color-text-status-error": "awsui_color-text-status-error_18wu0_1q0fz_320",
30
- "color-text-status-success": "awsui_color-text-status-success_18wu0_1q0fz_323",
31
- "color-text-status-info": "awsui_color-text-status-info_18wu0_1q0fz_326",
32
- "color-text-status-inactive": "awsui_color-text-status-inactive_18wu0_1q0fz_329",
33
- "color-text-status-warning": "awsui_color-text-status-warning_18wu0_1q0fz_332",
34
- "color-inherit": "awsui_color-inherit_18wu0_1q0fz_335",
35
- "font-size-body-s": "awsui_font-size-body-s_18wu0_1q0fz_338",
36
- "font-size-body-m": "awsui_font-size-body-m_18wu0_1q0fz_343",
37
- "font-size-heading-xs": "awsui_font-size-heading-xs_18wu0_1q0fz_347",
38
- "font-size-heading-s": "awsui_font-size-heading-s_18wu0_1q0fz_352",
39
- "font-size-heading-m": "awsui_font-size-heading-m_18wu0_1q0fz_357",
40
- "font-size-heading-l": "awsui_font-size-heading-l_18wu0_1q0fz_362",
41
- "font-size-heading-xl": "awsui_font-size-heading-xl_18wu0_1q0fz_367",
42
- "font-size-display-l": "awsui_font-size-display-l_18wu0_1q0fz_372",
43
- "font-weight-light": "awsui_font-weight-light_18wu0_1q0fz_377",
44
- "font-weight-normal": "awsui_font-weight-normal_18wu0_1q0fz_380",
45
- "font-weight-bold": "awsui_font-weight-bold_18wu0_1q0fz_383",
46
- "t-left": "awsui_t-left_18wu0_1q0fz_390",
47
- "t-right": "awsui_t-right_18wu0_1q0fz_394",
48
- "t-center": "awsui_t-center_18wu0_1q0fz_398",
49
- "p-n": "awsui_p-n_18wu0_1q0fz_415",
50
- "p-top-n": "awsui_p-top-n_18wu0_1q0fz_420",
51
- "p-vertical-n": "awsui_p-vertical-n_18wu0_1q0fz_421",
52
- "p-right-n": "awsui_p-right-n_18wu0_1q0fz_425",
53
- "p-horizontal-n": "awsui_p-horizontal-n_18wu0_1q0fz_426",
54
- "p-bottom-n": "awsui_p-bottom-n_18wu0_1q0fz_430",
55
- "p-left-n": "awsui_p-left-n_18wu0_1q0fz_435",
56
- "p-xxxs": "awsui_p-xxxs_18wu0_1q0fz_440",
57
- "p-top-xxxs": "awsui_p-top-xxxs_18wu0_1q0fz_445",
58
- "p-vertical-xxxs": "awsui_p-vertical-xxxs_18wu0_1q0fz_446",
59
- "p-right-xxxs": "awsui_p-right-xxxs_18wu0_1q0fz_450",
60
- "p-horizontal-xxxs": "awsui_p-horizontal-xxxs_18wu0_1q0fz_451",
61
- "p-bottom-xxxs": "awsui_p-bottom-xxxs_18wu0_1q0fz_455",
62
- "p-left-xxxs": "awsui_p-left-xxxs_18wu0_1q0fz_460",
63
- "p-xxs": "awsui_p-xxs_18wu0_1q0fz_465",
64
- "p-top-xxs": "awsui_p-top-xxs_18wu0_1q0fz_470",
65
- "p-vertical-xxs": "awsui_p-vertical-xxs_18wu0_1q0fz_471",
66
- "p-right-xxs": "awsui_p-right-xxs_18wu0_1q0fz_475",
67
- "p-horizontal-xxs": "awsui_p-horizontal-xxs_18wu0_1q0fz_476",
68
- "p-bottom-xxs": "awsui_p-bottom-xxs_18wu0_1q0fz_480",
69
- "p-left-xxs": "awsui_p-left-xxs_18wu0_1q0fz_485",
70
- "p-xs": "awsui_p-xs_18wu0_1q0fz_490",
71
- "p-top-xs": "awsui_p-top-xs_18wu0_1q0fz_495",
72
- "p-vertical-xs": "awsui_p-vertical-xs_18wu0_1q0fz_496",
73
- "p-right-xs": "awsui_p-right-xs_18wu0_1q0fz_500",
74
- "p-horizontal-xs": "awsui_p-horizontal-xs_18wu0_1q0fz_501",
75
- "p-bottom-xs": "awsui_p-bottom-xs_18wu0_1q0fz_505",
76
- "p-left-xs": "awsui_p-left-xs_18wu0_1q0fz_510",
77
- "p-s": "awsui_p-s_18wu0_1q0fz_515",
78
- "p-top-s": "awsui_p-top-s_18wu0_1q0fz_520",
79
- "p-vertical-s": "awsui_p-vertical-s_18wu0_1q0fz_521",
80
- "p-right-s": "awsui_p-right-s_18wu0_1q0fz_525",
81
- "p-horizontal-s": "awsui_p-horizontal-s_18wu0_1q0fz_526",
82
- "p-bottom-s": "awsui_p-bottom-s_18wu0_1q0fz_530",
83
- "p-left-s": "awsui_p-left-s_18wu0_1q0fz_535",
84
- "p-m": "awsui_p-m_18wu0_1q0fz_540",
85
- "p-top-m": "awsui_p-top-m_18wu0_1q0fz_545",
86
- "p-vertical-m": "awsui_p-vertical-m_18wu0_1q0fz_546",
87
- "p-right-m": "awsui_p-right-m_18wu0_1q0fz_550",
88
- "p-horizontal-m": "awsui_p-horizontal-m_18wu0_1q0fz_551",
89
- "p-bottom-m": "awsui_p-bottom-m_18wu0_1q0fz_555",
90
- "p-left-m": "awsui_p-left-m_18wu0_1q0fz_560",
91
- "p-l": "awsui_p-l_18wu0_1q0fz_435",
92
- "p-top-l": "awsui_p-top-l_18wu0_1q0fz_570",
93
- "p-vertical-l": "awsui_p-vertical-l_18wu0_1q0fz_571",
94
- "p-right-l": "awsui_p-right-l_18wu0_1q0fz_575",
95
- "p-horizontal-l": "awsui_p-horizontal-l_18wu0_1q0fz_576",
96
- "p-bottom-l": "awsui_p-bottom-l_18wu0_1q0fz_580",
97
- "p-left-l": "awsui_p-left-l_18wu0_1q0fz_585",
98
- "p-xl": "awsui_p-xl_18wu0_1q0fz_590",
99
- "p-top-xl": "awsui_p-top-xl_18wu0_1q0fz_595",
100
- "p-vertical-xl": "awsui_p-vertical-xl_18wu0_1q0fz_596",
101
- "p-right-xl": "awsui_p-right-xl_18wu0_1q0fz_600",
102
- "p-horizontal-xl": "awsui_p-horizontal-xl_18wu0_1q0fz_601",
103
- "p-bottom-xl": "awsui_p-bottom-xl_18wu0_1q0fz_605",
104
- "p-left-xl": "awsui_p-left-xl_18wu0_1q0fz_610",
105
- "p-xxl": "awsui_p-xxl_18wu0_1q0fz_615",
106
- "p-top-xxl": "awsui_p-top-xxl_18wu0_1q0fz_620",
107
- "p-vertical-xxl": "awsui_p-vertical-xxl_18wu0_1q0fz_621",
108
- "p-right-xxl": "awsui_p-right-xxl_18wu0_1q0fz_625",
109
- "p-horizontal-xxl": "awsui_p-horizontal-xxl_18wu0_1q0fz_626",
110
- "p-bottom-xxl": "awsui_p-bottom-xxl_18wu0_1q0fz_630",
111
- "p-left-xxl": "awsui_p-left-xxl_18wu0_1q0fz_635",
112
- "p-xxxl": "awsui_p-xxxl_18wu0_1q0fz_640",
113
- "p-top-xxxl": "awsui_p-top-xxxl_18wu0_1q0fz_645",
114
- "p-vertical-xxxl": "awsui_p-vertical-xxxl_18wu0_1q0fz_646",
115
- "p-right-xxxl": "awsui_p-right-xxxl_18wu0_1q0fz_650",
116
- "p-horizontal-xxxl": "awsui_p-horizontal-xxxl_18wu0_1q0fz_651",
117
- "p-bottom-xxxl": "awsui_p-bottom-xxxl_18wu0_1q0fz_655",
118
- "p-left-xxxl": "awsui_p-left-xxxl_18wu0_1q0fz_660",
119
- "m-n": "awsui_m-n_18wu0_1q0fz_665",
120
- "m-top-n": "awsui_m-top-n_18wu0_1q0fz_670",
121
- "m-vertical-n": "awsui_m-vertical-n_18wu0_1q0fz_671",
122
- "m-right-n": "awsui_m-right-n_18wu0_1q0fz_675",
123
- "m-horizontal-n": "awsui_m-horizontal-n_18wu0_1q0fz_676",
124
- "m-bottom-n": "awsui_m-bottom-n_18wu0_1q0fz_680",
125
- "m-left-n": "awsui_m-left-n_18wu0_1q0fz_685",
126
- "m-xxxs": "awsui_m-xxxs_18wu0_1q0fz_690",
127
- "m-top-xxxs": "awsui_m-top-xxxs_18wu0_1q0fz_695",
128
- "m-vertical-xxxs": "awsui_m-vertical-xxxs_18wu0_1q0fz_696",
129
- "m-right-xxxs": "awsui_m-right-xxxs_18wu0_1q0fz_700",
130
- "m-horizontal-xxxs": "awsui_m-horizontal-xxxs_18wu0_1q0fz_701",
131
- "m-bottom-xxxs": "awsui_m-bottom-xxxs_18wu0_1q0fz_705",
132
- "m-left-xxxs": "awsui_m-left-xxxs_18wu0_1q0fz_710",
133
- "m-xxs": "awsui_m-xxs_18wu0_1q0fz_715",
134
- "m-top-xxs": "awsui_m-top-xxs_18wu0_1q0fz_720",
135
- "m-vertical-xxs": "awsui_m-vertical-xxs_18wu0_1q0fz_721",
136
- "m-right-xxs": "awsui_m-right-xxs_18wu0_1q0fz_725",
137
- "m-horizontal-xxs": "awsui_m-horizontal-xxs_18wu0_1q0fz_726",
138
- "m-bottom-xxs": "awsui_m-bottom-xxs_18wu0_1q0fz_730",
139
- "m-left-xxs": "awsui_m-left-xxs_18wu0_1q0fz_735",
140
- "m-xs": "awsui_m-xs_18wu0_1q0fz_740",
141
- "m-top-xs": "awsui_m-top-xs_18wu0_1q0fz_745",
142
- "m-vertical-xs": "awsui_m-vertical-xs_18wu0_1q0fz_746",
143
- "m-right-xs": "awsui_m-right-xs_18wu0_1q0fz_750",
144
- "m-horizontal-xs": "awsui_m-horizontal-xs_18wu0_1q0fz_751",
145
- "m-bottom-xs": "awsui_m-bottom-xs_18wu0_1q0fz_755",
146
- "m-left-xs": "awsui_m-left-xs_18wu0_1q0fz_760",
147
- "m-s": "awsui_m-s_18wu0_1q0fz_765",
148
- "m-top-s": "awsui_m-top-s_18wu0_1q0fz_770",
149
- "m-vertical-s": "awsui_m-vertical-s_18wu0_1q0fz_771",
150
- "m-right-s": "awsui_m-right-s_18wu0_1q0fz_775",
151
- "m-horizontal-s": "awsui_m-horizontal-s_18wu0_1q0fz_776",
152
- "m-bottom-s": "awsui_m-bottom-s_18wu0_1q0fz_780",
153
- "m-left-s": "awsui_m-left-s_18wu0_1q0fz_785",
154
- "m-m": "awsui_m-m_18wu0_1q0fz_790",
155
- "m-top-m": "awsui_m-top-m_18wu0_1q0fz_795",
156
- "m-vertical-m": "awsui_m-vertical-m_18wu0_1q0fz_796",
157
- "m-right-m": "awsui_m-right-m_18wu0_1q0fz_800",
158
- "m-horizontal-m": "awsui_m-horizontal-m_18wu0_1q0fz_801",
159
- "m-bottom-m": "awsui_m-bottom-m_18wu0_1q0fz_805",
160
- "m-left-m": "awsui_m-left-m_18wu0_1q0fz_810",
161
- "m-l": "awsui_m-l_18wu0_1q0fz_685",
162
- "m-top-l": "awsui_m-top-l_18wu0_1q0fz_820",
163
- "m-vertical-l": "awsui_m-vertical-l_18wu0_1q0fz_821",
164
- "m-right-l": "awsui_m-right-l_18wu0_1q0fz_825",
165
- "m-horizontal-l": "awsui_m-horizontal-l_18wu0_1q0fz_826",
166
- "m-bottom-l": "awsui_m-bottom-l_18wu0_1q0fz_830",
167
- "m-left-l": "awsui_m-left-l_18wu0_1q0fz_835",
168
- "m-xl": "awsui_m-xl_18wu0_1q0fz_840",
169
- "m-top-xl": "awsui_m-top-xl_18wu0_1q0fz_845",
170
- "m-vertical-xl": "awsui_m-vertical-xl_18wu0_1q0fz_846",
171
- "m-right-xl": "awsui_m-right-xl_18wu0_1q0fz_850",
172
- "m-horizontal-xl": "awsui_m-horizontal-xl_18wu0_1q0fz_851",
173
- "m-bottom-xl": "awsui_m-bottom-xl_18wu0_1q0fz_855",
174
- "m-left-xl": "awsui_m-left-xl_18wu0_1q0fz_860",
175
- "m-xxl": "awsui_m-xxl_18wu0_1q0fz_865",
176
- "m-top-xxl": "awsui_m-top-xxl_18wu0_1q0fz_870",
177
- "m-vertical-xxl": "awsui_m-vertical-xxl_18wu0_1q0fz_871",
178
- "m-right-xxl": "awsui_m-right-xxl_18wu0_1q0fz_875",
179
- "m-horizontal-xxl": "awsui_m-horizontal-xxl_18wu0_1q0fz_876",
180
- "m-bottom-xxl": "awsui_m-bottom-xxl_18wu0_1q0fz_880",
181
- "m-left-xxl": "awsui_m-left-xxl_18wu0_1q0fz_885",
182
- "m-xxxl": "awsui_m-xxxl_18wu0_1q0fz_890",
183
- "m-top-xxxl": "awsui_m-top-xxxl_18wu0_1q0fz_895",
184
- "m-vertical-xxxl": "awsui_m-vertical-xxxl_18wu0_1q0fz_896",
185
- "m-right-xxxl": "awsui_m-right-xxxl_18wu0_1q0fz_900",
186
- "m-horizontal-xxxl": "awsui_m-horizontal-xxxl_18wu0_1q0fz_901",
187
- "m-bottom-xxxl": "awsui_m-bottom-xxxl_18wu0_1q0fz_905",
188
- "m-left-xxxl": "awsui_m-left-xxxl_18wu0_1q0fz_910",
189
- "d-block": "awsui_d-block_18wu0_1q0fz_915",
190
- "d-inline": "awsui_d-inline_18wu0_1q0fz_918",
191
- "d-inline-block": "awsui_d-inline-block_18wu0_1q0fz_921",
192
- "d-none": "awsui_d-none_18wu0_1q0fz_924",
193
- "f-left": "awsui_f-left_18wu0_1q0fz_928",
194
- "f-right": "awsui_f-right_18wu0_1q0fz_932",
195
- "root": "awsui_root_18wu0_1q0fz_936"
4
+ "box": "awsui_box_18wu0_1e6pm_172",
5
+ "p-variant": "awsui_p-variant_18wu0_1e6pm_172",
6
+ "color-default": "awsui_color-default_18wu0_1e6pm_172",
7
+ "b-variant": "awsui_b-variant_18wu0_1e6pm_172",
8
+ "strong-variant": "awsui_strong-variant_18wu0_1e6pm_172",
9
+ "code-variant": "awsui_code-variant_18wu0_1e6pm_172",
10
+ "pre-variant": "awsui_pre-variant_18wu0_1e6pm_172",
11
+ "samp-variant": "awsui_samp-variant_18wu0_1e6pm_172",
12
+ "h1-variant": "awsui_h1-variant_18wu0_1e6pm_176",
13
+ "h2-variant": "awsui_h2-variant_18wu0_1e6pm_176",
14
+ "h3-variant": "awsui_h3-variant_18wu0_1e6pm_176",
15
+ "h4-variant": "awsui_h4-variant_18wu0_1e6pm_176",
16
+ "h5-variant": "awsui_h5-variant_18wu0_1e6pm_176",
17
+ "small-variant": "awsui_small-variant_18wu0_1e6pm_180",
18
+ "a-variant": "awsui_a-variant_18wu0_1e6pm_184",
19
+ "font-size-default": "awsui_font-size-default_18wu0_1e6pm_188",
20
+ "font-weight-default": "awsui_font-weight-default_18wu0_1e6pm_229",
21
+ "key-label-variant": "awsui_key-label-variant_18wu0_1e6pm_271",
22
+ "gen-ai-label-variant": "awsui_gen-ai-label-variant_18wu0_1e6pm_278",
23
+ "value-large-variant": "awsui_value-large-variant_18wu0_1e6pm_285",
24
+ "inline-code-variant": "awsui_inline-code-variant_18wu0_1e6pm_293",
25
+ "font-weight-heavy": "awsui_font-weight-heavy_18wu0_1e6pm_307",
26
+ "color-inverted": "awsui_color-inverted_18wu0_1e6pm_312",
27
+ "color-text-label": "awsui_color-text-label_18wu0_1e6pm_315",
28
+ "color-text-body-secondary": "awsui_color-text-body-secondary_18wu0_1e6pm_318",
29
+ "color-text-status-error": "awsui_color-text-status-error_18wu0_1e6pm_321",
30
+ "color-text-status-success": "awsui_color-text-status-success_18wu0_1e6pm_324",
31
+ "color-text-status-info": "awsui_color-text-status-info_18wu0_1e6pm_327",
32
+ "color-text-status-inactive": "awsui_color-text-status-inactive_18wu0_1e6pm_330",
33
+ "color-text-status-warning": "awsui_color-text-status-warning_18wu0_1e6pm_333",
34
+ "color-inherit": "awsui_color-inherit_18wu0_1e6pm_336",
35
+ "font-size-body-s": "awsui_font-size-body-s_18wu0_1e6pm_339",
36
+ "font-size-body-m": "awsui_font-size-body-m_18wu0_1e6pm_344",
37
+ "font-size-heading-xs": "awsui_font-size-heading-xs_18wu0_1e6pm_348",
38
+ "font-size-heading-s": "awsui_font-size-heading-s_18wu0_1e6pm_353",
39
+ "font-size-heading-m": "awsui_font-size-heading-m_18wu0_1e6pm_358",
40
+ "font-size-heading-l": "awsui_font-size-heading-l_18wu0_1e6pm_363",
41
+ "font-size-heading-xl": "awsui_font-size-heading-xl_18wu0_1e6pm_368",
42
+ "font-size-display-l": "awsui_font-size-display-l_18wu0_1e6pm_373",
43
+ "font-weight-light": "awsui_font-weight-light_18wu0_1e6pm_378",
44
+ "font-weight-normal": "awsui_font-weight-normal_18wu0_1e6pm_381",
45
+ "font-weight-bold": "awsui_font-weight-bold_18wu0_1e6pm_384",
46
+ "t-left": "awsui_t-left_18wu0_1e6pm_391",
47
+ "t-right": "awsui_t-right_18wu0_1e6pm_395",
48
+ "t-center": "awsui_t-center_18wu0_1e6pm_399",
49
+ "p-n": "awsui_p-n_18wu0_1e6pm_416",
50
+ "p-top-n": "awsui_p-top-n_18wu0_1e6pm_421",
51
+ "p-vertical-n": "awsui_p-vertical-n_18wu0_1e6pm_422",
52
+ "p-right-n": "awsui_p-right-n_18wu0_1e6pm_426",
53
+ "p-horizontal-n": "awsui_p-horizontal-n_18wu0_1e6pm_427",
54
+ "p-bottom-n": "awsui_p-bottom-n_18wu0_1e6pm_431",
55
+ "p-left-n": "awsui_p-left-n_18wu0_1e6pm_436",
56
+ "p-xxxs": "awsui_p-xxxs_18wu0_1e6pm_441",
57
+ "p-top-xxxs": "awsui_p-top-xxxs_18wu0_1e6pm_446",
58
+ "p-vertical-xxxs": "awsui_p-vertical-xxxs_18wu0_1e6pm_447",
59
+ "p-right-xxxs": "awsui_p-right-xxxs_18wu0_1e6pm_451",
60
+ "p-horizontal-xxxs": "awsui_p-horizontal-xxxs_18wu0_1e6pm_452",
61
+ "p-bottom-xxxs": "awsui_p-bottom-xxxs_18wu0_1e6pm_456",
62
+ "p-left-xxxs": "awsui_p-left-xxxs_18wu0_1e6pm_461",
63
+ "p-xxs": "awsui_p-xxs_18wu0_1e6pm_466",
64
+ "p-top-xxs": "awsui_p-top-xxs_18wu0_1e6pm_471",
65
+ "p-vertical-xxs": "awsui_p-vertical-xxs_18wu0_1e6pm_472",
66
+ "p-right-xxs": "awsui_p-right-xxs_18wu0_1e6pm_476",
67
+ "p-horizontal-xxs": "awsui_p-horizontal-xxs_18wu0_1e6pm_477",
68
+ "p-bottom-xxs": "awsui_p-bottom-xxs_18wu0_1e6pm_481",
69
+ "p-left-xxs": "awsui_p-left-xxs_18wu0_1e6pm_486",
70
+ "p-xs": "awsui_p-xs_18wu0_1e6pm_491",
71
+ "p-top-xs": "awsui_p-top-xs_18wu0_1e6pm_496",
72
+ "p-vertical-xs": "awsui_p-vertical-xs_18wu0_1e6pm_497",
73
+ "p-right-xs": "awsui_p-right-xs_18wu0_1e6pm_501",
74
+ "p-horizontal-xs": "awsui_p-horizontal-xs_18wu0_1e6pm_502",
75
+ "p-bottom-xs": "awsui_p-bottom-xs_18wu0_1e6pm_506",
76
+ "p-left-xs": "awsui_p-left-xs_18wu0_1e6pm_511",
77
+ "p-s": "awsui_p-s_18wu0_1e6pm_516",
78
+ "p-top-s": "awsui_p-top-s_18wu0_1e6pm_521",
79
+ "p-vertical-s": "awsui_p-vertical-s_18wu0_1e6pm_522",
80
+ "p-right-s": "awsui_p-right-s_18wu0_1e6pm_526",
81
+ "p-horizontal-s": "awsui_p-horizontal-s_18wu0_1e6pm_527",
82
+ "p-bottom-s": "awsui_p-bottom-s_18wu0_1e6pm_531",
83
+ "p-left-s": "awsui_p-left-s_18wu0_1e6pm_536",
84
+ "p-m": "awsui_p-m_18wu0_1e6pm_541",
85
+ "p-top-m": "awsui_p-top-m_18wu0_1e6pm_546",
86
+ "p-vertical-m": "awsui_p-vertical-m_18wu0_1e6pm_547",
87
+ "p-right-m": "awsui_p-right-m_18wu0_1e6pm_551",
88
+ "p-horizontal-m": "awsui_p-horizontal-m_18wu0_1e6pm_552",
89
+ "p-bottom-m": "awsui_p-bottom-m_18wu0_1e6pm_556",
90
+ "p-left-m": "awsui_p-left-m_18wu0_1e6pm_561",
91
+ "p-l": "awsui_p-l_18wu0_1e6pm_436",
92
+ "p-top-l": "awsui_p-top-l_18wu0_1e6pm_571",
93
+ "p-vertical-l": "awsui_p-vertical-l_18wu0_1e6pm_572",
94
+ "p-right-l": "awsui_p-right-l_18wu0_1e6pm_576",
95
+ "p-horizontal-l": "awsui_p-horizontal-l_18wu0_1e6pm_577",
96
+ "p-bottom-l": "awsui_p-bottom-l_18wu0_1e6pm_581",
97
+ "p-left-l": "awsui_p-left-l_18wu0_1e6pm_586",
98
+ "p-xl": "awsui_p-xl_18wu0_1e6pm_591",
99
+ "p-top-xl": "awsui_p-top-xl_18wu0_1e6pm_596",
100
+ "p-vertical-xl": "awsui_p-vertical-xl_18wu0_1e6pm_597",
101
+ "p-right-xl": "awsui_p-right-xl_18wu0_1e6pm_601",
102
+ "p-horizontal-xl": "awsui_p-horizontal-xl_18wu0_1e6pm_602",
103
+ "p-bottom-xl": "awsui_p-bottom-xl_18wu0_1e6pm_606",
104
+ "p-left-xl": "awsui_p-left-xl_18wu0_1e6pm_611",
105
+ "p-xxl": "awsui_p-xxl_18wu0_1e6pm_616",
106
+ "p-top-xxl": "awsui_p-top-xxl_18wu0_1e6pm_621",
107
+ "p-vertical-xxl": "awsui_p-vertical-xxl_18wu0_1e6pm_622",
108
+ "p-right-xxl": "awsui_p-right-xxl_18wu0_1e6pm_626",
109
+ "p-horizontal-xxl": "awsui_p-horizontal-xxl_18wu0_1e6pm_627",
110
+ "p-bottom-xxl": "awsui_p-bottom-xxl_18wu0_1e6pm_631",
111
+ "p-left-xxl": "awsui_p-left-xxl_18wu0_1e6pm_636",
112
+ "p-xxxl": "awsui_p-xxxl_18wu0_1e6pm_641",
113
+ "p-top-xxxl": "awsui_p-top-xxxl_18wu0_1e6pm_646",
114
+ "p-vertical-xxxl": "awsui_p-vertical-xxxl_18wu0_1e6pm_647",
115
+ "p-right-xxxl": "awsui_p-right-xxxl_18wu0_1e6pm_651",
116
+ "p-horizontal-xxxl": "awsui_p-horizontal-xxxl_18wu0_1e6pm_652",
117
+ "p-bottom-xxxl": "awsui_p-bottom-xxxl_18wu0_1e6pm_656",
118
+ "p-left-xxxl": "awsui_p-left-xxxl_18wu0_1e6pm_661",
119
+ "m-n": "awsui_m-n_18wu0_1e6pm_666",
120
+ "m-top-n": "awsui_m-top-n_18wu0_1e6pm_671",
121
+ "m-vertical-n": "awsui_m-vertical-n_18wu0_1e6pm_672",
122
+ "m-right-n": "awsui_m-right-n_18wu0_1e6pm_676",
123
+ "m-horizontal-n": "awsui_m-horizontal-n_18wu0_1e6pm_677",
124
+ "m-bottom-n": "awsui_m-bottom-n_18wu0_1e6pm_681",
125
+ "m-left-n": "awsui_m-left-n_18wu0_1e6pm_686",
126
+ "m-xxxs": "awsui_m-xxxs_18wu0_1e6pm_691",
127
+ "m-top-xxxs": "awsui_m-top-xxxs_18wu0_1e6pm_696",
128
+ "m-vertical-xxxs": "awsui_m-vertical-xxxs_18wu0_1e6pm_697",
129
+ "m-right-xxxs": "awsui_m-right-xxxs_18wu0_1e6pm_701",
130
+ "m-horizontal-xxxs": "awsui_m-horizontal-xxxs_18wu0_1e6pm_702",
131
+ "m-bottom-xxxs": "awsui_m-bottom-xxxs_18wu0_1e6pm_706",
132
+ "m-left-xxxs": "awsui_m-left-xxxs_18wu0_1e6pm_711",
133
+ "m-xxs": "awsui_m-xxs_18wu0_1e6pm_716",
134
+ "m-top-xxs": "awsui_m-top-xxs_18wu0_1e6pm_721",
135
+ "m-vertical-xxs": "awsui_m-vertical-xxs_18wu0_1e6pm_722",
136
+ "m-right-xxs": "awsui_m-right-xxs_18wu0_1e6pm_726",
137
+ "m-horizontal-xxs": "awsui_m-horizontal-xxs_18wu0_1e6pm_727",
138
+ "m-bottom-xxs": "awsui_m-bottom-xxs_18wu0_1e6pm_731",
139
+ "m-left-xxs": "awsui_m-left-xxs_18wu0_1e6pm_736",
140
+ "m-xs": "awsui_m-xs_18wu0_1e6pm_741",
141
+ "m-top-xs": "awsui_m-top-xs_18wu0_1e6pm_746",
142
+ "m-vertical-xs": "awsui_m-vertical-xs_18wu0_1e6pm_747",
143
+ "m-right-xs": "awsui_m-right-xs_18wu0_1e6pm_751",
144
+ "m-horizontal-xs": "awsui_m-horizontal-xs_18wu0_1e6pm_752",
145
+ "m-bottom-xs": "awsui_m-bottom-xs_18wu0_1e6pm_756",
146
+ "m-left-xs": "awsui_m-left-xs_18wu0_1e6pm_761",
147
+ "m-s": "awsui_m-s_18wu0_1e6pm_766",
148
+ "m-top-s": "awsui_m-top-s_18wu0_1e6pm_771",
149
+ "m-vertical-s": "awsui_m-vertical-s_18wu0_1e6pm_772",
150
+ "m-right-s": "awsui_m-right-s_18wu0_1e6pm_776",
151
+ "m-horizontal-s": "awsui_m-horizontal-s_18wu0_1e6pm_777",
152
+ "m-bottom-s": "awsui_m-bottom-s_18wu0_1e6pm_781",
153
+ "m-left-s": "awsui_m-left-s_18wu0_1e6pm_786",
154
+ "m-m": "awsui_m-m_18wu0_1e6pm_791",
155
+ "m-top-m": "awsui_m-top-m_18wu0_1e6pm_796",
156
+ "m-vertical-m": "awsui_m-vertical-m_18wu0_1e6pm_797",
157
+ "m-right-m": "awsui_m-right-m_18wu0_1e6pm_801",
158
+ "m-horizontal-m": "awsui_m-horizontal-m_18wu0_1e6pm_802",
159
+ "m-bottom-m": "awsui_m-bottom-m_18wu0_1e6pm_806",
160
+ "m-left-m": "awsui_m-left-m_18wu0_1e6pm_811",
161
+ "m-l": "awsui_m-l_18wu0_1e6pm_686",
162
+ "m-top-l": "awsui_m-top-l_18wu0_1e6pm_821",
163
+ "m-vertical-l": "awsui_m-vertical-l_18wu0_1e6pm_822",
164
+ "m-right-l": "awsui_m-right-l_18wu0_1e6pm_826",
165
+ "m-horizontal-l": "awsui_m-horizontal-l_18wu0_1e6pm_827",
166
+ "m-bottom-l": "awsui_m-bottom-l_18wu0_1e6pm_831",
167
+ "m-left-l": "awsui_m-left-l_18wu0_1e6pm_836",
168
+ "m-xl": "awsui_m-xl_18wu0_1e6pm_841",
169
+ "m-top-xl": "awsui_m-top-xl_18wu0_1e6pm_846",
170
+ "m-vertical-xl": "awsui_m-vertical-xl_18wu0_1e6pm_847",
171
+ "m-right-xl": "awsui_m-right-xl_18wu0_1e6pm_851",
172
+ "m-horizontal-xl": "awsui_m-horizontal-xl_18wu0_1e6pm_852",
173
+ "m-bottom-xl": "awsui_m-bottom-xl_18wu0_1e6pm_856",
174
+ "m-left-xl": "awsui_m-left-xl_18wu0_1e6pm_861",
175
+ "m-xxl": "awsui_m-xxl_18wu0_1e6pm_866",
176
+ "m-top-xxl": "awsui_m-top-xxl_18wu0_1e6pm_871",
177
+ "m-vertical-xxl": "awsui_m-vertical-xxl_18wu0_1e6pm_872",
178
+ "m-right-xxl": "awsui_m-right-xxl_18wu0_1e6pm_876",
179
+ "m-horizontal-xxl": "awsui_m-horizontal-xxl_18wu0_1e6pm_877",
180
+ "m-bottom-xxl": "awsui_m-bottom-xxl_18wu0_1e6pm_881",
181
+ "m-left-xxl": "awsui_m-left-xxl_18wu0_1e6pm_886",
182
+ "m-xxxl": "awsui_m-xxxl_18wu0_1e6pm_891",
183
+ "m-top-xxxl": "awsui_m-top-xxxl_18wu0_1e6pm_896",
184
+ "m-vertical-xxxl": "awsui_m-vertical-xxxl_18wu0_1e6pm_897",
185
+ "m-right-xxxl": "awsui_m-right-xxxl_18wu0_1e6pm_901",
186
+ "m-horizontal-xxxl": "awsui_m-horizontal-xxxl_18wu0_1e6pm_902",
187
+ "m-bottom-xxxl": "awsui_m-bottom-xxxl_18wu0_1e6pm_906",
188
+ "m-left-xxxl": "awsui_m-left-xxxl_18wu0_1e6pm_911",
189
+ "d-block": "awsui_d-block_18wu0_1e6pm_916",
190
+ "d-inline": "awsui_d-inline_18wu0_1e6pm_919",
191
+ "d-inline-block": "awsui_d-inline-block_18wu0_1e6pm_922",
192
+ "d-none": "awsui_d-none_18wu0_1e6pm_925",
193
+ "f-left": "awsui_f-left_18wu0_1e6pm_929",
194
+ "f-right": "awsui_f-right_18wu0_1e6pm_933",
195
+ "root": "awsui_root_18wu0_1e6pm_937"
196
196
  };
197
197