@cloudscape-design/components 3.0.427 → 3.0.429

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 (45) hide show
  1. package/attribute-editor/styles.css.js +14 -14
  2. package/attribute-editor/styles.scoped.css +28 -28
  3. package/attribute-editor/styles.selectors.js +14 -14
  4. package/breadcrumb-group/item/styles.css.js +9 -9
  5. package/breadcrumb-group/item/styles.scoped.css +21 -21
  6. package/breadcrumb-group/item/styles.selectors.js +9 -9
  7. package/button-dropdown/utils/use-button-dropdown.d.ts.map +1 -1
  8. package/button-dropdown/utils/use-button-dropdown.js +3 -0
  9. package/button-dropdown/utils/use-button-dropdown.js.map +1 -1
  10. package/date-picker/index.d.ts.map +1 -1
  11. package/date-picker/index.js +1 -0
  12. package/date-picker/index.js.map +1 -1
  13. package/date-range-picker/index.d.ts.map +1 -1
  14. package/date-range-picker/index.js +3 -0
  15. package/date-range-picker/index.js.map +1 -1
  16. package/help-panel/styles.css.js +4 -4
  17. package/help-panel/styles.scoped.css +71 -71
  18. package/help-panel/styles.selectors.js +4 -4
  19. package/internal/components/autosuggest-input/index.d.ts.map +1 -1
  20. package/internal/components/autosuggest-input/index.js +2 -0
  21. package/internal/components/autosuggest-input/index.js.map +1 -1
  22. package/internal/components/options-list/utils/use-keyboard.d.ts.map +1 -1
  23. package/internal/components/options-list/utils/use-keyboard.js +1 -0
  24. package/internal/components/options-list/utils/use-keyboard.js.map +1 -1
  25. package/internal/components/token-list/styles.css.js +9 -9
  26. package/internal/components/token-list/styles.scoped.css +24 -24
  27. package/internal/components/token-list/styles.selectors.js +9 -9
  28. package/internal/environment.js +1 -1
  29. package/internal/environment.json +1 -1
  30. package/internal/manifest.json +1 -1
  31. package/link/styles.css.js +20 -20
  32. package/link/styles.scoped.css +108 -107
  33. package/link/styles.selectors.js +20 -20
  34. package/package.json +1 -1
  35. package/popover/body.d.ts.map +1 -1
  36. package/popover/body.js +1 -0
  37. package/popover/body.js.map +1 -1
  38. package/popover/internal.js +7 -2
  39. package/popover/internal.js.map +1 -1
  40. package/tag-editor/styles.css.js +3 -3
  41. package/tag-editor/styles.scoped.css +14 -14
  42. package/tag-editor/styles.selectors.js +3 -3
  43. package/text-content/styles.css.js +1 -1
  44. package/text-content/styles.scoped.css +68 -68
  45. package/text-content/styles.selectors.js +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"lib/default/","sources":["popover/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC7F,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,MAAM,MAAM,+BAA+B,CAAC;AAEnD,OAAO,gBAAgB,MAAM,aAAa,CAAC;AAC3C,OAAO,WAAW,MAAM,QAAQ,CAAC;AAEjC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAA6B,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAE7F,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAU7F,eAAe,KAAK,CAAC,UA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C,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,EACjD,GAAG,EAAE,SAAS,EACd,WAAW,EAAE,GAAG,EAAE;YAChB,gFAAgF;YAChF,YAAY,CAAC,OAAO,GAAG,qBAAqB,CAAC,GAAG,EAAE;gBAChD,YAAY,CAAC,OAAO,GAAG,IAAI,CAAC;YAC9B,CAAC,CAAC,CAAC;QACL,CAAC;QAEA,WAAW,KAAK,MAAM,CAAC,CAAC,CAAC,CACxB,gDAAY,YAAY,IAAE,IAAI,EAAC,QAAQ,mBAAe,QAAQ,EAAC,EAAE,EAAE,UAAU,gBAAc,gBAAgB;YACzG,8BAAM,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC,IAAG,QAAQ,CAAQ,CACzD,CACV,CAAC,CAAC,CAAC,CACF,8CAAU,YAAY,IAAE,EAAE,EAAE,UAAU,KACnC,QAAQ,CACJ,CACR;QACD,oBAAC,gBAAgB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,IACjC,gBAAgB,CAAC,CAAC,CAAC,oBAAC,MAAM,QAAE,cAAc,CAAU,CAAC,CAAC,CAAC,cAAc,CAC5C,CACvB,CACR,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useCallback, useEffect, useRef, useState, useImperativeHandle } from 'react';\nimport clsx from 'clsx';\n\nimport { KeyCode } from '../internal/keycode';\nimport { getBaseProps } from '../internal/base-component';\nimport { FormFieldContext } from '../internal/context/form-field-context';\n\nimport Arrow from './arrow';\nimport Portal from '../internal/components/portal';\nimport { PopoverProps } from './interfaces';\nimport PopoverContainer from './container';\nimport PopoverBody from './body';\n\nimport styles from './styles.css.js';\nimport { NonCancelableEventHandler, fireNonCancelableEvent } from '../internal/events/index';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { usePortalModeClasses } from '../internal/hooks/use-portal-mode-classes';\nimport { useInternalI18n } from '../i18n/context';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport { getFirstFocusable } from '../internal/components/focus-lock/utils';\nimport { LinkDefaultVariantContext } from '../internal/context/link-default-variant-context';\n\nexport interface InternalPopoverProps extends PopoverProps, InternalBaseComponentProps {\n __onOpen?: NonCancelableEventHandler<null>;\n}\n\nexport interface InternalPopoverRef {\n dismissPopover: () => void;\n}\n\nexport default React.forwardRef(InternalPopover);\n\nfunction InternalPopover(\n {\n position = 'right',\n size = 'medium',\n fixedWidth = false,\n triggerType = 'text',\n dismissButton = true,\n\n children,\n header,\n content,\n triggerAriaLabel,\n\n renderWithPortal = false,\n\n __onOpen,\n __internalRootRef = null,\n ...restProps\n }: InternalPopoverProps,\n ref: React.Ref<InternalPopoverRef>\n) {\n const baseProps = getBaseProps(restProps);\n const triggerRef = useRef<HTMLElement | null>(null);\n const popoverRef = useRef<HTMLDivElement | null>(null);\n const clickFrameId = useRef<number | null>(null);\n\n const i18n = useInternalI18n('popover');\n const dismissAriaLabel = i18n('dismissAriaLabel', restProps.dismissAriaLabel);\n\n const [visible, setVisible] = useState(false);\n\n const focusTrigger = useCallback(() => {\n if (triggerType === 'text') {\n triggerRef.current?.focus();\n } else {\n triggerRef.current && getFirstFocusable(triggerRef.current)?.focus();\n }\n }, [triggerType]);\n\n const onTriggerClick = useCallback(() => {\n fireNonCancelableEvent(__onOpen);\n setVisible(true);\n }, [__onOpen]);\n\n const onDismiss = useCallback(() => {\n setVisible(false);\n focusTrigger();\n }, [focusTrigger]);\n\n const onTriggerKeyDown = useCallback((event: React.KeyboardEvent) => {\n if (event.keyCode === KeyCode.tab || event.keyCode === KeyCode.escape) {\n setVisible(false);\n }\n }, []);\n\n useImperativeHandle(ref, () => ({\n dismissPopover: onDismiss,\n }));\n\n useEffect(() => {\n if (!triggerRef.current) {\n return;\n }\n const document = triggerRef.current.ownerDocument;\n\n const onDocumentClick = () => {\n // Dismiss popover unless there was a click inside within the last animation frame.\n if (clickFrameId.current === null) {\n setVisible(false);\n }\n };\n\n // useCapture=false makes sure this listener is called after the one attached to the element.\n // the options.capture notation is unsupported by IE.\n document.addEventListener('mousedown', onDocumentClick, false);\n\n return () => {\n document.removeEventListener('mousedown', onDocumentClick, false);\n };\n }, []);\n\n const popoverClasses = usePortalModeClasses(triggerRef);\n\n const triggerProps = {\n // https://github.com/microsoft/TypeScript/issues/36659\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ref: triggerRef as any,\n onClick: onTriggerClick,\n onKeyDown: onTriggerKeyDown,\n className: clsx(styles.trigger, styles[`trigger-type-${triggerType}`]),\n };\n\n const referrerId = useUniqueId();\n const popoverContent = (\n <div\n aria-live={dismissButton ? undefined : 'polite'}\n aria-atomic={dismissButton ? undefined : true}\n className={clsx(popoverClasses, styles['popover-content'])}\n data-awsui-referrer-id={referrerId}\n >\n {visible && (\n <PopoverContainer\n size={size}\n fixedWidth={fixedWidth}\n position={position}\n trackRef={triggerRef}\n arrow={position => <Arrow position={position} />}\n renderWithPortal={renderWithPortal}\n zIndex={renderWithPortal ? 7000 : undefined}\n >\n <LinkDefaultVariantContext.Provider value={{ defaultVariant: 'primary' }}>\n <PopoverBody\n dismissButton={dismissButton}\n dismissAriaLabel={dismissAriaLabel}\n header={header}\n onDismiss={onDismiss}\n overflowVisible=\"both\"\n >\n {content}\n </PopoverBody>\n </LinkDefaultVariantContext.Provider>\n </PopoverContainer>\n )}\n </div>\n );\n\n const mergedRef = useMergeRefs(popoverRef, __internalRootRef);\n\n return (\n <span\n {...baseProps}\n className={clsx(styles.root, baseProps.className)}\n ref={mergedRef}\n onMouseDown={() => {\n // Indicate there was a click inside popover recently, including nested portals.\n clickFrameId.current = requestAnimationFrame(() => {\n clickFrameId.current = null;\n });\n }}\n >\n {triggerType === 'text' ? (\n <button {...triggerProps} type=\"button\" aria-haspopup=\"dialog\" id={referrerId} aria-label={triggerAriaLabel}>\n <span className={styles['trigger-inner-text']}>{children}</span>\n </button>\n ) : (\n <span {...triggerProps} id={referrerId}>\n {children}\n </span>\n )}\n <FormFieldContext.Provider value={{}}>\n {renderWithPortal ? <Portal>{popoverContent}</Portal> : popoverContent}\n </FormFieldContext.Provider>\n </span>\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"lib/default/","sources":["popover/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC7F,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,MAAM,MAAM,+BAA+B,CAAC;AAEnD,OAAO,gBAAgB,MAAM,aAAa,CAAC;AAC3C,OAAO,WAAW,MAAM,QAAQ,CAAC;AAEjC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAA6B,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAE7F,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAU7F,eAAe,KAAK,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC;AAEjD,SAAS,eAAe,CACtB,EAiBuB,EACvB,GAAkC;QAlBl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AiB,CAAC,CAAC;IAE9D,OAAO,CACL,8CACM,SAAS,IACb,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,EACjD,GAAG,EAAE,SAAS,EACd,WAAW,EAAE,GAAG,EAAE;YAChB,gFAAgF;YAChF,YAAY,CAAC,OAAO,GAAG,qBAAqB,CAAC,GAAG,EAAE;gBAChD,YAAY,CAAC,OAAO,GAAG,IAAI,CAAC;YAC9B,CAAC,CAAC,CAAC;QACL,CAAC;QAEA,WAAW,KAAK,MAAM,CAAC,CAAC,CAAC,CACxB,gDAAY,YAAY,IAAE,IAAI,EAAC,QAAQ,mBAAe,QAAQ,EAAC,EAAE,EAAE,UAAU,gBAAc,gBAAgB;YACzG,8BAAM,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC,IAAG,QAAQ,CAAQ,CACzD,CACV,CAAC,CAAC,CAAC,CACF,8CAAU,YAAY,IAAE,EAAE,EAAE,UAAU,KACnC,QAAQ,CACJ,CACR;QACD,oBAAC,gBAAgB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,IACjC,gBAAgB,CAAC,CAAC,CAAC,oBAAC,MAAM,QAAE,cAAc,CAAU,CAAC,CAAC,CAAC,cAAc,CAC5C,CACvB,CACR,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useCallback, useEffect, useRef, useState, useImperativeHandle } from 'react';\nimport clsx from 'clsx';\n\nimport { KeyCode } from '../internal/keycode';\nimport { getBaseProps } from '../internal/base-component';\nimport { FormFieldContext } from '../internal/context/form-field-context';\n\nimport Arrow from './arrow';\nimport Portal from '../internal/components/portal';\nimport { PopoverProps } from './interfaces';\nimport PopoverContainer from './container';\nimport PopoverBody from './body';\n\nimport styles from './styles.css.js';\nimport { NonCancelableEventHandler, fireNonCancelableEvent } from '../internal/events/index';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { usePortalModeClasses } from '../internal/hooks/use-portal-mode-classes';\nimport { useInternalI18n } from '../i18n/context';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport { getFirstFocusable } from '../internal/components/focus-lock/utils';\nimport { LinkDefaultVariantContext } from '../internal/context/link-default-variant-context';\n\nexport interface InternalPopoverProps extends PopoverProps, InternalBaseComponentProps {\n __onOpen?: NonCancelableEventHandler<null>;\n}\n\nexport interface InternalPopoverRef {\n dismissPopover: () => void;\n}\n\nexport default React.forwardRef(InternalPopover);\n\nfunction InternalPopover(\n {\n position = 'right',\n size = 'medium',\n fixedWidth = false,\n triggerType = 'text',\n dismissButton = true,\n\n children,\n header,\n content,\n triggerAriaLabel,\n\n renderWithPortal = false,\n\n __onOpen,\n __internalRootRef = null,\n ...restProps\n }: InternalPopoverProps,\n ref: React.Ref<InternalPopoverRef>\n) {\n const baseProps = getBaseProps(restProps);\n const triggerRef = useRef<HTMLElement | null>(null);\n const popoverRef = useRef<HTMLDivElement | null>(null);\n const clickFrameId = useRef<number | null>(null);\n\n const i18n = useInternalI18n('popover');\n const dismissAriaLabel = i18n('dismissAriaLabel', restProps.dismissAriaLabel);\n\n const [visible, setVisible] = useState(false);\n\n const focusTrigger = useCallback(() => {\n if (triggerType === 'text') {\n triggerRef.current?.focus();\n } else {\n triggerRef.current && getFirstFocusable(triggerRef.current)?.focus();\n }\n }, [triggerType]);\n\n const onTriggerClick = useCallback(() => {\n fireNonCancelableEvent(__onOpen);\n setVisible(true);\n }, [__onOpen]);\n\n const onDismiss = useCallback(() => {\n setVisible(false);\n focusTrigger();\n }, [focusTrigger]);\n\n const onTriggerKeyDown = useCallback(\n (event: React.KeyboardEvent) => {\n const isEscapeKey = event.keyCode === KeyCode.escape;\n const isTabKey = event.keyCode === KeyCode.tab;\n if (isEscapeKey && visible) {\n event.stopPropagation();\n }\n if (isTabKey || isEscapeKey) {\n setVisible(false);\n }\n },\n [visible]\n );\n\n useImperativeHandle(ref, () => ({\n dismissPopover: onDismiss,\n }));\n\n useEffect(() => {\n if (!triggerRef.current) {\n return;\n }\n const document = triggerRef.current.ownerDocument;\n\n const onDocumentClick = () => {\n // Dismiss popover unless there was a click inside within the last animation frame.\n if (clickFrameId.current === null) {\n setVisible(false);\n }\n };\n\n // useCapture=false makes sure this listener is called after the one attached to the element.\n // the options.capture notation is unsupported by IE.\n document.addEventListener('mousedown', onDocumentClick, false);\n\n return () => {\n document.removeEventListener('mousedown', onDocumentClick, false);\n };\n }, []);\n\n const popoverClasses = usePortalModeClasses(triggerRef);\n\n const triggerProps = {\n // https://github.com/microsoft/TypeScript/issues/36659\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ref: triggerRef as any,\n onClick: onTriggerClick,\n onKeyDown: onTriggerKeyDown,\n className: clsx(styles.trigger, styles[`trigger-type-${triggerType}`]),\n };\n\n const referrerId = useUniqueId();\n const popoverContent = (\n <div\n aria-live={dismissButton ? undefined : 'polite'}\n aria-atomic={dismissButton ? undefined : true}\n className={clsx(popoverClasses, styles['popover-content'])}\n data-awsui-referrer-id={referrerId}\n >\n {visible && (\n <PopoverContainer\n size={size}\n fixedWidth={fixedWidth}\n position={position}\n trackRef={triggerRef}\n arrow={position => <Arrow position={position} />}\n renderWithPortal={renderWithPortal}\n zIndex={renderWithPortal ? 7000 : undefined}\n >\n <LinkDefaultVariantContext.Provider value={{ defaultVariant: 'primary' }}>\n <PopoverBody\n dismissButton={dismissButton}\n dismissAriaLabel={dismissAriaLabel}\n header={header}\n onDismiss={onDismiss}\n overflowVisible=\"both\"\n >\n {content}\n </PopoverBody>\n </LinkDefaultVariantContext.Provider>\n </PopoverContainer>\n )}\n </div>\n );\n\n const mergedRef = useMergeRefs(popoverRef, __internalRootRef);\n\n return (\n <span\n {...baseProps}\n className={clsx(styles.root, baseProps.className)}\n ref={mergedRef}\n onMouseDown={() => {\n // Indicate there was a click inside popover recently, including nested portals.\n clickFrameId.current = requestAnimationFrame(() => {\n clickFrameId.current = null;\n });\n }}\n >\n {triggerType === 'text' ? (\n <button {...triggerProps} type=\"button\" aria-haspopup=\"dialog\" id={referrerId} aria-label={triggerAriaLabel}>\n <span className={styles['trigger-inner-text']}>{children}</span>\n </button>\n ) : (\n <span {...triggerProps} id={referrerId}>\n {children}\n </span>\n )}\n <FormFieldContext.Provider value={{}}>\n {renderWithPortal ? <Portal>{popoverContent}</Portal> : popoverContent}\n </FormFieldContext.Provider>\n </span>\n );\n}\n"]}
@@ -1,8 +1,8 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_brdst_wait4_93",
5
- "loading": "awsui_loading_brdst_wait4_97",
6
- "undo-button": "awsui_undo-button_brdst_wait4_101"
4
+ "root": "awsui_root_brdst_1er9b_93",
5
+ "loading": "awsui_loading_brdst_1er9b_97",
6
+ "undo-button": "awsui_undo-button_brdst_1er9b_101"
7
7
  };
8
8
 
@@ -90,54 +90,54 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
90
90
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
- .awsui_root_brdst_wait4_93:not(#\9) {
93
+ .awsui_root_brdst_1er9b_93:not(#\9) {
94
94
  /* used in test utils */
95
95
  }
96
96
 
97
- .awsui_loading_brdst_wait4_97:not(#\9) {
97
+ .awsui_loading_brdst_1er9b_97:not(#\9) {
98
98
  /* used in test utils */
99
99
  }
100
100
 
101
- .awsui_undo-button_brdst_wait4_101:not(#\9) {
101
+ .awsui_undo-button_brdst_1er9b_101:not(#\9) {
102
102
  -webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
103
103
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
104
104
  color: var(--color-text-link-default-latg1a, #0972d3);
105
105
  font-weight: var(--font-link-button-weight-jephf1, 700);
106
106
  letter-spacing: var(--font-link-button-letter-spacing-yi9f0l, 0.005em);
107
- text-decoration: underline;
108
- /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
107
+ text-decoration-line: underline;
109
108
  text-decoration-color: var(--color-text-link-button-underline-ik5r9i, transparent);
110
109
  transition-property: color, -webkit-text-decoration;
111
110
  transition-property: color, text-decoration;
112
111
  transition-property: color, text-decoration, -webkit-text-decoration;
113
112
  transition-duration: var(--motion-duration-refresh-only-medium-nf6485, 165ms);
113
+ text-underline-offset: 0.25em;
114
+ text-decoration-thickness: 1px;
114
115
  }
115
116
  @media (prefers-reduced-motion: reduce) {
116
- .awsui_undo-button_brdst_wait4_101:not(#\9) {
117
+ .awsui_undo-button_brdst_1er9b_101:not(#\9) {
117
118
  animation: none;
118
119
  transition: none;
119
120
  }
120
121
  }
121
- .awsui-motion-disabled .awsui_undo-button_brdst_wait4_101:not(#\9), .awsui-mode-entering .awsui_undo-button_brdst_wait4_101:not(#\9) {
122
+ .awsui-motion-disabled .awsui_undo-button_brdst_1er9b_101:not(#\9), .awsui-mode-entering .awsui_undo-button_brdst_1er9b_101:not(#\9) {
122
123
  animation: none;
123
124
  transition: none;
124
125
  }
125
- .awsui_undo-button_brdst_wait4_101:not(#\9):hover {
126
+ .awsui_undo-button_brdst_1er9b_101:not(#\9):hover {
126
127
  cursor: pointer;
127
128
  color: var(--color-text-link-hover-8j6p14, #033160);
128
129
  }
129
- .awsui_undo-button_brdst_wait4_101:not(#\9):focus {
130
+ .awsui_undo-button_brdst_1er9b_101:not(#\9):focus {
130
131
  outline: none;
131
132
  }
132
- .awsui_undo-button_brdst_wait4_101:not(#\9):active {
133
+ .awsui_undo-button_brdst_1er9b_101:not(#\9):active {
133
134
  color: var(--color-text-link-hover-8j6p14, #033160);
134
135
  }
135
- .awsui_undo-button_brdst_wait4_101:not(#\9):active, .awsui_undo-button_brdst_wait4_101:not(#\9):focus, .awsui_undo-button_brdst_wait4_101:not(#\9):hover {
136
- text-decoration: underline;
137
- /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
136
+ .awsui_undo-button_brdst_1er9b_101:not(#\9):active, .awsui_undo-button_brdst_1er9b_101:not(#\9):focus, .awsui_undo-button_brdst_1er9b_101:not(#\9):hover {
137
+ text-decoration-line: underline;
138
138
  text-decoration-color: var(--color-text-link-button-underline-hover-gyir88, transparent);
139
139
  }
140
- body[data-awsui-focus-visible=true] .awsui_undo-button_brdst_wait4_101:not(#\9):focus {
140
+ body[data-awsui-focus-visible=true] .awsui_undo-button_brdst_1er9b_101:not(#\9):focus {
141
141
  outline: thin dotted;
142
142
  outline: var(--border-link-focus-ring-outline-kkfop6, 0);
143
143
  outline-offset: 2px;
@@ -2,8 +2,8 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_brdst_wait4_93",
6
- "loading": "awsui_loading_brdst_wait4_97",
7
- "undo-button": "awsui_undo-button_brdst_wait4_101"
5
+ "root": "awsui_root_brdst_1er9b_93",
6
+ "loading": "awsui_loading_brdst_1er9b_97",
7
+ "undo-button": "awsui_undo-button_brdst_1er9b_101"
8
8
  };
9
9
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "text-content": "awsui_text-content_6absk_bvan2_94"
4
+ "text-content": "awsui_text-content_6absk_1wozv_94"
5
5
  };
6
6
 
@@ -91,7 +91,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
93
  /* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
94
- .awsui_text-content_6absk_bvan2_94:not(#\9) {
94
+ .awsui_text-content_6absk_1wozv_94:not(#\9) {
95
95
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
96
96
  border-collapse: separate;
97
97
  border-spacing: 0;
@@ -131,26 +131,26 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
131
131
  /* stylelint-disable no-descending-specificity */
132
132
  /* stylelint-enable no-descending-specificity */
133
133
  }
134
- .awsui_text-content_6absk_bvan2_94 h1:not(#\9),
135
- .awsui_text-content_6absk_bvan2_94 h2:not(#\9),
136
- .awsui_text-content_6absk_bvan2_94 h3:not(#\9),
137
- .awsui_text-content_6absk_bvan2_94 h4:not(#\9),
138
- .awsui_text-content_6absk_bvan2_94 h5:not(#\9),
139
- .awsui_text-content_6absk_bvan2_94 p:not(#\9) {
134
+ .awsui_text-content_6absk_1wozv_94 h1:not(#\9),
135
+ .awsui_text-content_6absk_1wozv_94 h2:not(#\9),
136
+ .awsui_text-content_6absk_1wozv_94 h3:not(#\9),
137
+ .awsui_text-content_6absk_1wozv_94 h4:not(#\9),
138
+ .awsui_text-content_6absk_1wozv_94 h5:not(#\9),
139
+ .awsui_text-content_6absk_1wozv_94 p:not(#\9) {
140
140
  font-family: inherit;
141
141
  font-weight: normal;
142
142
  text-decoration: none;
143
143
  margin: 0;
144
144
  padding: var(--space-xxs-p8yyaw, 4px) 0;
145
145
  }
146
- .awsui_text-content_6absk_bvan2_94 h1:not(#\9),
147
- .awsui_text-content_6absk_bvan2_94 h2:not(#\9),
148
- .awsui_text-content_6absk_bvan2_94 h3:not(#\9),
149
- .awsui_text-content_6absk_bvan2_94 h4:not(#\9),
150
- .awsui_text-content_6absk_bvan2_94 h5:not(#\9) {
146
+ .awsui_text-content_6absk_1wozv_94 h1:not(#\9),
147
+ .awsui_text-content_6absk_1wozv_94 h2:not(#\9),
148
+ .awsui_text-content_6absk_1wozv_94 h3:not(#\9),
149
+ .awsui_text-content_6absk_1wozv_94 h4:not(#\9),
150
+ .awsui_text-content_6absk_1wozv_94 h5:not(#\9) {
151
151
  color: var(--color-text-heading-default-rtslvy, #000716);
152
152
  }
153
- .awsui_text-content_6absk_bvan2_94 h1:not(#\9) {
153
+ .awsui_text-content_6absk_1wozv_94 h1:not(#\9) {
154
154
  font-size: var(--font-size-heading-xl-ypc05a, 24px);
155
155
  line-height: var(--line-height-heading-xl-avbttk, 30px);
156
156
  letter-spacing: var(--letter-spacing-heading-xl-sagq9c, -0.02em);
@@ -158,7 +158,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
158
158
  -webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
159
159
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
160
160
  }
161
- .awsui_text-content_6absk_bvan2_94 h2:not(#\9) {
161
+ .awsui_text-content_6absk_1wozv_94 h2:not(#\9) {
162
162
  font-size: var(--font-size-heading-l-ou0d0l, 20px);
163
163
  line-height: var(--line-height-heading-l-mmm3my, 24px);
164
164
  letter-spacing: var(--letter-spacing-heading-l-qqjd4y, -0.015em);
@@ -166,7 +166,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
166
166
  -webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
167
167
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
168
168
  }
169
- .awsui_text-content_6absk_bvan2_94 h3:not(#\9) {
169
+ .awsui_text-content_6absk_1wozv_94 h3:not(#\9) {
170
170
  font-size: var(--font-size-heading-m-sjd256, 18px);
171
171
  line-height: var(--line-height-heading-m-50evfk, 22px);
172
172
  letter-spacing: var(--letter-spacing-heading-m-0w575i, -0.01em);
@@ -174,7 +174,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
174
174
  -webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
175
175
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
176
176
  }
177
- .awsui_text-content_6absk_bvan2_94 h4:not(#\9) {
177
+ .awsui_text-content_6absk_1wozv_94 h4:not(#\9) {
178
178
  font-size: var(--font-size-heading-s-yykzif, 16px);
179
179
  line-height: var(--line-height-heading-s-4i6ewn, 20px);
180
180
  letter-spacing: var(--letter-spacing-heading-s-jr3mor, -0.005em);
@@ -182,116 +182,116 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
182
182
  -webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
183
183
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
184
184
  }
185
- .awsui_text-content_6absk_bvan2_94 h5:not(#\9) {
185
+ .awsui_text-content_6absk_1wozv_94 h5:not(#\9) {
186
186
  font-size: var(--font-size-heading-xs-wo4hpf, 14px);
187
187
  line-height: var(--line-height-heading-xs-aeleja, 18px);
188
188
  font-weight: var(--font-weight-heading-xs-l7rqme, 700);
189
189
  -webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
190
190
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
191
191
  }
192
- .awsui_text-content_6absk_bvan2_94 b:not(#\9),
193
- .awsui_text-content_6absk_bvan2_94 strong:not(#\9) {
192
+ .awsui_text-content_6absk_1wozv_94 b:not(#\9),
193
+ .awsui_text-content_6absk_1wozv_94 strong:not(#\9) {
194
194
  font-weight: 700;
195
195
  }
196
- .awsui_text-content_6absk_bvan2_94 p:not(#\9) {
196
+ .awsui_text-content_6absk_1wozv_94 p:not(#\9) {
197
197
  font-size: var(--font-size-body-m-x4okxb, 14px);
198
198
  line-height: var(--line-height-body-m-30ar75, 20px);
199
199
  color: inherit;
200
200
  }
201
- .awsui_text-content_6absk_bvan2_94 small:not(#\9) {
201
+ .awsui_text-content_6absk_1wozv_94 small:not(#\9) {
202
202
  display: inline-block;
203
203
  font-size: var(--font-size-body-s-asqx2i, 12px);
204
204
  line-height: var(--line-height-body-s-7zv1j5, 16px);
205
205
  letter-spacing: var(--letter-spacing-body-s-z9jkwp, 0.005em);
206
206
  color: var(--color-text-small-zfvvfc, #5f6b7a);
207
207
  }
208
- .awsui_text-content_6absk_bvan2_94 small a:not(#\9) {
208
+ .awsui_text-content_6absk_1wozv_94 small a:not(#\9) {
209
209
  font-size: inherit;
210
210
  color: var(--color-text-link-default-latg1a, #0972d3);
211
211
  font-weight: inherit;
212
212
  letter-spacing: normal;
213
- text-decoration: underline;
214
- /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
213
+ text-decoration-line: underline;
215
214
  text-decoration-color: currentColor;
216
215
  transition-property: color, -webkit-text-decoration;
217
216
  transition-property: color, text-decoration;
218
217
  transition-property: color, text-decoration, -webkit-text-decoration;
219
218
  transition-duration: var(--motion-duration-refresh-only-medium-nf6485, 165ms);
219
+ text-underline-offset: 0.25em;
220
+ text-decoration-thickness: 1px;
220
221
  }
221
222
  @media (prefers-reduced-motion: reduce) {
222
- .awsui_text-content_6absk_bvan2_94 small a:not(#\9) {
223
+ .awsui_text-content_6absk_1wozv_94 small a:not(#\9) {
223
224
  animation: none;
224
225
  transition: none;
225
226
  }
226
227
  }
227
- .awsui-motion-disabled .awsui_text-content_6absk_bvan2_94 small a:not(#\9), .awsui-mode-entering .awsui_text-content_6absk_bvan2_94 small a:not(#\9) {
228
+ .awsui-motion-disabled .awsui_text-content_6absk_1wozv_94 small a:not(#\9), .awsui-mode-entering .awsui_text-content_6absk_1wozv_94 small a:not(#\9) {
228
229
  animation: none;
229
230
  transition: none;
230
231
  }
231
- .awsui_text-content_6absk_bvan2_94 small a:not(#\9):hover {
232
+ .awsui_text-content_6absk_1wozv_94 small a:not(#\9):hover {
232
233
  cursor: pointer;
233
234
  color: var(--color-text-link-hover-8j6p14, #033160);
234
235
  }
235
- .awsui_text-content_6absk_bvan2_94 small a:not(#\9):focus {
236
+ .awsui_text-content_6absk_1wozv_94 small a:not(#\9):focus {
236
237
  outline: none;
237
238
  }
238
- .awsui_text-content_6absk_bvan2_94 small a:not(#\9):active {
239
+ .awsui_text-content_6absk_1wozv_94 small a:not(#\9):active {
239
240
  color: var(--color-text-link-hover-8j6p14, #033160);
240
241
  }
241
- .awsui_text-content_6absk_bvan2_94 small a:not(#\9):active, .awsui_text-content_6absk_bvan2_94 small a:not(#\9):focus, .awsui_text-content_6absk_bvan2_94 small a:not(#\9):hover {
242
- text-decoration: underline;
243
- /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
242
+ .awsui_text-content_6absk_1wozv_94 small a:not(#\9):active, .awsui_text-content_6absk_1wozv_94 small a:not(#\9):focus, .awsui_text-content_6absk_1wozv_94 small a:not(#\9):hover {
243
+ text-decoration-line: underline;
244
244
  text-decoration-color: currentColor;
245
245
  }
246
- .awsui_text-content_6absk_bvan2_94 code:not(#\9),
247
- .awsui_text-content_6absk_bvan2_94 pre:not(#\9),
248
- .awsui_text-content_6absk_bvan2_94 samp:not(#\9) {
246
+ .awsui_text-content_6absk_1wozv_94 code:not(#\9),
247
+ .awsui_text-content_6absk_1wozv_94 pre:not(#\9),
248
+ .awsui_text-content_6absk_1wozv_94 samp:not(#\9) {
249
249
  font-family: var(--font-family-monospace-bftdwf, Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace);
250
250
  background: transparent;
251
251
  }
252
- .awsui_text-content_6absk_bvan2_94 code:not(#\9) {
252
+ .awsui_text-content_6absk_1wozv_94 code:not(#\9) {
253
253
  font-size: var(--font-size-body-s-asqx2i, 12px);
254
254
  line-height: var(--line-height-body-s-7zv1j5, 16px);
255
255
  letter-spacing: var(--letter-spacing-body-s-z9jkwp, 0.005em);
256
256
  }
257
- .awsui_text-content_6absk_bvan2_94 a:not(#\9) {
257
+ .awsui_text-content_6absk_1wozv_94 a:not(#\9) {
258
258
  color: var(--color-text-link-default-latg1a, #0972d3);
259
259
  font-weight: inherit;
260
260
  letter-spacing: normal;
261
- text-decoration: underline;
262
- /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
261
+ text-decoration-line: underline;
263
262
  text-decoration-color: currentColor;
264
263
  transition-property: color, -webkit-text-decoration;
265
264
  transition-property: color, text-decoration;
266
265
  transition-property: color, text-decoration, -webkit-text-decoration;
267
266
  transition-duration: var(--motion-duration-refresh-only-medium-nf6485, 165ms);
267
+ text-underline-offset: 0.25em;
268
+ text-decoration-thickness: 1px;
268
269
  }
269
270
  @media (prefers-reduced-motion: reduce) {
270
- .awsui_text-content_6absk_bvan2_94 a:not(#\9) {
271
+ .awsui_text-content_6absk_1wozv_94 a:not(#\9) {
271
272
  animation: none;
272
273
  transition: none;
273
274
  }
274
275
  }
275
- .awsui-motion-disabled .awsui_text-content_6absk_bvan2_94 a:not(#\9), .awsui-mode-entering .awsui_text-content_6absk_bvan2_94 a:not(#\9) {
276
+ .awsui-motion-disabled .awsui_text-content_6absk_1wozv_94 a:not(#\9), .awsui-mode-entering .awsui_text-content_6absk_1wozv_94 a:not(#\9) {
276
277
  animation: none;
277
278
  transition: none;
278
279
  }
279
- .awsui_text-content_6absk_bvan2_94 a:not(#\9):hover {
280
+ .awsui_text-content_6absk_1wozv_94 a:not(#\9):hover {
280
281
  cursor: pointer;
281
282
  color: var(--color-text-link-hover-8j6p14, #033160);
282
283
  }
283
- .awsui_text-content_6absk_bvan2_94 a:not(#\9):focus {
284
+ .awsui_text-content_6absk_1wozv_94 a:not(#\9):focus {
284
285
  outline: none;
285
286
  }
286
- .awsui_text-content_6absk_bvan2_94 a:not(#\9):active {
287
+ .awsui_text-content_6absk_1wozv_94 a:not(#\9):active {
287
288
  color: var(--color-text-link-hover-8j6p14, #033160);
288
289
  }
289
- .awsui_text-content_6absk_bvan2_94 a:not(#\9):active, .awsui_text-content_6absk_bvan2_94 a:not(#\9):focus, .awsui_text-content_6absk_bvan2_94 a:not(#\9):hover {
290
- text-decoration: underline;
291
- /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
290
+ .awsui_text-content_6absk_1wozv_94 a:not(#\9):active, .awsui_text-content_6absk_1wozv_94 a:not(#\9):focus, .awsui_text-content_6absk_1wozv_94 a:not(#\9):hover {
291
+ text-decoration-line: underline;
292
292
  text-decoration-color: currentColor;
293
293
  }
294
- .awsui_text-content_6absk_bvan2_94 a:not(#\9):focus {
294
+ .awsui_text-content_6absk_1wozv_94 a:not(#\9):focus {
295
295
  outline: thin dotted;
296
296
  outline: var(--border-link-focus-ring-outline-kkfop6, 0);
297
297
  outline-offset: 2px;
@@ -299,31 +299,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
299
299
  border-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
300
300
  box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-v8hkrl, 2px) var(--color-border-item-focused-b2ntyl, #0972d3);
301
301
  }
302
- .awsui_text-content_6absk_bvan2_94 ul:not(#\9),
303
- .awsui_text-content_6absk_bvan2_94 ol:not(#\9) {
302
+ .awsui_text-content_6absk_1wozv_94 ul:not(#\9),
303
+ .awsui_text-content_6absk_1wozv_94 ol:not(#\9) {
304
304
  padding-left: var(--space-l-t419sm, 20px);
305
305
  margin: var(--space-scaled-xs-26e2du, 8px) 0;
306
306
  list-style-position: outside;
307
307
  }
308
- .awsui_text-content_6absk_bvan2_94 ul + ul:not(#\9),
309
- .awsui_text-content_6absk_bvan2_94 ul + ol:not(#\9),
310
- .awsui_text-content_6absk_bvan2_94 ul > li + ul:not(#\9),
311
- .awsui_text-content_6absk_bvan2_94 ul > li + li:not(#\9),
312
- .awsui_text-content_6absk_bvan2_94 ul > li + ol:not(#\9),
313
- .awsui_text-content_6absk_bvan2_94 ul > li > ul:not(#\9),
314
- .awsui_text-content_6absk_bvan2_94 ul > li > ol:not(#\9),
315
- .awsui_text-content_6absk_bvan2_94 ol + ul:not(#\9),
316
- .awsui_text-content_6absk_bvan2_94 ol + ol:not(#\9),
317
- .awsui_text-content_6absk_bvan2_94 ol > li + ul:not(#\9),
318
- .awsui_text-content_6absk_bvan2_94 ol > li + li:not(#\9),
319
- .awsui_text-content_6absk_bvan2_94 ol > li + ol:not(#\9),
320
- .awsui_text-content_6absk_bvan2_94 ol > li > ul:not(#\9),
321
- .awsui_text-content_6absk_bvan2_94 ol > li > ol:not(#\9) {
308
+ .awsui_text-content_6absk_1wozv_94 ul + ul:not(#\9),
309
+ .awsui_text-content_6absk_1wozv_94 ul + ol:not(#\9),
310
+ .awsui_text-content_6absk_1wozv_94 ul > li + ul:not(#\9),
311
+ .awsui_text-content_6absk_1wozv_94 ul > li + li:not(#\9),
312
+ .awsui_text-content_6absk_1wozv_94 ul > li + ol:not(#\9),
313
+ .awsui_text-content_6absk_1wozv_94 ul > li > ul:not(#\9),
314
+ .awsui_text-content_6absk_1wozv_94 ul > li > ol:not(#\9),
315
+ .awsui_text-content_6absk_1wozv_94 ol + ul:not(#\9),
316
+ .awsui_text-content_6absk_1wozv_94 ol + ol:not(#\9),
317
+ .awsui_text-content_6absk_1wozv_94 ol > li + ul:not(#\9),
318
+ .awsui_text-content_6absk_1wozv_94 ol > li + li:not(#\9),
319
+ .awsui_text-content_6absk_1wozv_94 ol > li + ol:not(#\9),
320
+ .awsui_text-content_6absk_1wozv_94 ol > li > ul:not(#\9),
321
+ .awsui_text-content_6absk_1wozv_94 ol > li > ol:not(#\9) {
322
322
  padding-top: var(--space-scaled-xxs-7597g1, 4px);
323
323
  }
324
- .awsui_text-content_6absk_bvan2_94 ul > li > ul:not(#\9),
325
- .awsui_text-content_6absk_bvan2_94 ul > li > ol:not(#\9),
326
- .awsui_text-content_6absk_bvan2_94 ol > li > ul:not(#\9),
327
- .awsui_text-content_6absk_bvan2_94 ol > li > ol:not(#\9) {
324
+ .awsui_text-content_6absk_1wozv_94 ul > li > ul:not(#\9),
325
+ .awsui_text-content_6absk_1wozv_94 ul > li > ol:not(#\9),
326
+ .awsui_text-content_6absk_1wozv_94 ol > li > ul:not(#\9),
327
+ .awsui_text-content_6absk_1wozv_94 ol > li > ol:not(#\9) {
328
328
  margin: 0;
329
329
  }
@@ -2,6 +2,6 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "text-content": "awsui_text-content_6absk_bvan2_94"
5
+ "text-content": "awsui_text-content_6absk_1wozv_94"
6
6
  };
7
7