@cloudscape-design/components 3.0.1127 → 3.0.1129
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.
- package/alert/styles.css.js +27 -27
- package/alert/styles.scoped.css +50 -50
- package/alert/styles.selectors.js +27 -27
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +32 -32
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/visual-refresh/styles.css.js +86 -86
- package/app-layout/visual-refresh/styles.scoped.css +258 -258
- package/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +30 -30
- package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +87 -87
- package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +30 -30
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -27
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +54 -54
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -27
- package/attribute-editor/index.d.ts.map +1 -1
- package/attribute-editor/index.js +2 -2
- package/attribute-editor/index.js.map +1 -1
- package/attribute-editor/interfaces.d.ts +8 -0
- package/attribute-editor/interfaces.d.ts.map +1 -1
- package/attribute-editor/interfaces.js.map +1 -1
- package/attribute-editor/internal.d.ts.map +1 -1
- package/attribute-editor/internal.js +9 -6
- package/attribute-editor/internal.js.map +1 -1
- package/attribute-editor/styles.css.js +15 -15
- package/attribute-editor/styles.scoped.css +28 -28
- package/attribute-editor/styles.selectors.js +15 -15
- package/breadcrumb-group/item/styles.css.js +7 -7
- package/breadcrumb-group/item/styles.scoped.css +28 -28
- package/breadcrumb-group/item/styles.selectors.js +7 -7
- package/button/styles.css.js +22 -22
- package/button/styles.scoped.css +256 -256
- package/button/styles.selectors.js +22 -22
- package/button-dropdown/item-element/styles.css.js +16 -16
- package/button-dropdown/item-element/styles.scoped.css +27 -27
- package/button-dropdown/item-element/styles.selectors.js +16 -16
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +11 -11
- package/checkbox/styles.selectors.js +3 -3
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +27 -27
- package/content-layout/styles.selectors.js +14 -14
- package/flashbar/styles.css.js +50 -50
- package/flashbar/styles.scoped.css +187 -187
- package/flashbar/styles.selectors.js +50 -50
- package/header/analytics/use-table-integration.d.ts +2 -1
- package/header/analytics/use-table-integration.d.ts.map +1 -1
- package/header/analytics/use-table-integration.js +8 -1
- package/header/analytics/use-table-integration.js.map +1 -1
- package/header/interfaces.d.ts +2 -2
- package/header/interfaces.d.ts.map +1 -1
- package/header/interfaces.js.map +1 -1
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +73 -73
- package/help-panel/styles.selectors.js +6 -6
- package/icon/generated/icons.d.ts +1 -0
- package/icon/generated/icons.d.ts.map +1 -1
- package/icon/generated/icons.js +3 -0
- package/icon/generated/icons.js.map +1 -1
- package/icon/interfaces.d.ts +1 -1
- package/icon/interfaces.d.ts.map +1 -1
- package/icon/interfaces.js.map +1 -1
- package/icon-provider/interfaces.d.ts +1 -0
- package/icon-provider/interfaces.d.ts.map +1 -1
- package/icon-provider/interfaces.js.map +1 -1
- package/input/styles.css.js +13 -13
- package/input/styles.scoped.css +65 -65
- package/input/styles.selectors.js +13 -13
- package/internal/base-component/styles.scoped.css +1 -1
- package/internal/components/drag-handle-wrapper/styles.css.js +20 -20
- package/internal/components/drag-handle-wrapper/styles.scoped.css +48 -48
- package/internal/components/drag-handle-wrapper/styles.selectors.js +20 -20
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +38 -38
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/components/token-list/styles.css.js +10 -10
- package/internal/components/token-list/styles.scoped.css +25 -25
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/custom-css-properties/index.d.ts +4 -0
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +102 -98
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/generated/styles/tokens.d.ts +50 -75
- package/internal/generated/styles/tokens.js +50 -75
- package/internal/generated/theming/index.cjs +305 -461
- package/internal/generated/theming/index.js +305 -461
- package/internal/manifest.json +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +103 -103
- package/link/styles.selectors.js +20 -20
- package/package.json +1 -1
- package/progress-bar/index.d.ts.map +1 -1
- package/progress-bar/index.js +14 -54
- package/progress-bar/interfaces.d.ts +18 -0
- package/progress-bar/interfaces.d.ts.map +1 -1
- package/progress-bar/interfaces.js.map +1 -1
- package/progress-bar/internal-do-not-use-core.js +58 -0
- package/progress-bar/internal-do-not-use-core.js.map +1 -0
- package/progress-bar/internal.d.ts +3 -1
- package/progress-bar/internal.d.ts.map +1 -1
- package/progress-bar/internal.js +7 -3
- package/progress-bar/internal.js.map +1 -1
- package/progress-bar/styles.css.js +19 -19
- package/progress-bar/styles.d.ts +15 -0
- package/progress-bar/styles.d.ts.map +1 -0
- package/progress-bar/styles.js +33 -0
- package/progress-bar/styles.js.map +1 -0
- package/progress-bar/styles.scoped.css +56 -56
- package/progress-bar/styles.selectors.js +19 -19
- package/radio-group/analytics-metadata/interfaces.d.ts +1 -0
- package/radio-group/analytics-metadata/interfaces.d.ts.map +1 -1
- package/radio-group/analytics-metadata/interfaces.js.map +1 -1
- package/radio-group/analytics-metadata/styles.css.js +6 -0
- package/radio-group/analytics-metadata/styles.scoped.css +7 -0
- package/radio-group/analytics-metadata/styles.selectors.js +7 -0
- package/radio-group/index.d.ts.map +1 -1
- package/radio-group/internal-do-not-use-core.js +2 -0
- package/radio-group/internal-do-not-use-core.js.map +1 -1
- package/radio-group/internal.d.ts.map +1 -1
- package/radio-group/internal.js +2 -1
- package/radio-group/internal.js.map +1 -1
- package/radio-group/styles.css.js +10 -10
- package/radio-group/styles.scoped.css +22 -22
- package/radio-group/styles.selectors.js +10 -10
- package/s3-resource-selector/index.d.ts.map +1 -1
- package/s3-resource-selector/index.js +2 -2
- package/s3-resource-selector/index.js.map +1 -1
- package/s3-resource-selector/interfaces.d.ts +8 -0
- package/s3-resource-selector/interfaces.d.ts.map +1 -1
- package/s3-resource-selector/interfaces.js.map +1 -1
- package/s3-resource-selector/s3-in-context/index.d.ts +3 -0
- package/s3-resource-selector/s3-in-context/index.d.ts.map +1 -1
- package/s3-resource-selector/s3-in-context/index.js +8 -2
- package/s3-resource-selector/s3-in-context/index.js.map +1 -1
- package/slider/styles.css.js +26 -26
- package/slider/styles.scoped.css +86 -86
- package/slider/styles.selectors.js +26 -26
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +39 -39
- package/spinner/styles.selectors.js +13 -13
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +13 -13
- package/tag-editor/styles.selectors.js +3 -3
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +66 -66
- package/text-content/styles.selectors.js +1 -1
- package/textarea/styles.css.js +5 -5
- package/textarea/styles.scoped.css +41 -41
- package/textarea/styles.selectors.js +5 -5
- package/toggle/styles.css.js +10 -10
- package/toggle/styles.scoped.css +23 -23
- package/toggle/styles.selectors.js +10 -10
- package/progress-bar/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/attribute-editor/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OA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QAAQ,EAAE,gBAAgB;gBAC1B,qEAAqE;gBACrE,mEAAmE;gBACnE,iCAAiC;gBACjC,sBAAsB,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAChE,8BAA8B,EAAE,IAAI,EACpC,WAAW,EAAE,IAAI,EACjB,OAAO,EAAE,gBAAgB,EACzB,UAAU,EAAC,MAAM,EACjB,GAAG,EAAE,YAAY,EACjB,eAAe,EAAE,mBAAmB,EACpC,OAAO,EAAE,gBAAgB,EACzB,QAAQ,EAAE,gBAAgB,KAAK,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,IAEpE,aAAa,CACC;YACjB,oBAAC,kBAAkB,mBACL,sBAAsB,EAClC,OAAO,EAAC,MAAM,EACd,MAAM,EAAE,IAAI,EACZ,KAAK,EAAE,CAAC,EACR,GAAG,EAAE,KAAK,CAAC,MAAM,IAEhB,mBAAmB,CACD;YACpB,CAAC,CAAC,cAAc,IAAI,oBAAC,cAAc,IAAC,EAAE,EAAE,mBAAmB,IAAG,cAAc,CAAkB,CAC3F,CACF,CACP,CAAC;AACJ,CAAC,CAC+B,CAAC;AAEnC,eAAe,uBAAuB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useImperativeHandle, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs, useUniqueId } from '@cloudscape-design/component-toolkit/internal';\n\nimport { ButtonProps } from '../button/interfaces';\nimport { InternalButton } from '../button/internal';\nimport { useInternalI18n } from '../i18n/context';\nimport { getBaseProps } from '../internal/base-component';\nimport { matchBreakpointMapping } from '../internal/breakpoints';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { usePrevious } from '../internal/hooks/use-previous';\nimport { SomeRequired } from '../internal/types';\nimport InternalLiveRegion from '../live-region/internal';\nimport { AdditionalInfo } from './additional-info';\nimport { gridDefaults } from './grid-defaults';\nimport { AttributeEditorForwardRefType, AttributeEditorProps } from './interfaces';\nimport { Row } from './row';\nimport { getGridTemplateColumns } from './utils';\n\nimport styles from './styles.css.js';\n\ntype InternalAttributeEditorProps<T> = SomeRequired<AttributeEditorProps<T>, 'items' | 'addButtonVariant'> &\n InternalBaseComponentProps;\n\nconst InternalAttributeEditor = React.forwardRef(\n <T,>(\n {\n additionalInfo,\n disableAddButton,\n definition = [{}],\n gridLayout,\n items,\n isItemRemovable = () => true,\n empty,\n addButtonText,\n addButtonVariant,\n removeButtonText,\n removeButtonAriaLabel,\n customRowActions,\n i18nStrings,\n onAddButtonClick,\n onRemoveButtonClick,\n __internalRootRef,\n ...props\n }: InternalAttributeEditorProps<T>,\n ref: React.Ref<AttributeEditorProps.Ref>\n ) => {\n const removeButtonRefs = useRef<Array<ButtonProps.Ref | undefined>>([]);\n const addButtonRef = useRef<ButtonProps.Ref>(null);\n const wasNonEmpty = useRef<boolean>(false);\n const [removalAnnouncement, setRemovalAnnouncement] = useState<string>('');\n\n const baseProps = getBaseProps(props);\n const isEmpty = items && items.length === 0;\n\n wasNonEmpty.current = wasNonEmpty.current || !isEmpty;\n\n useImperativeHandle(ref, () => ({\n focusRemoveButton(rowIndex: number) {\n removeButtonRefs.current[rowIndex]?.focus();\n },\n focusAddButton() {\n addButtonRef.current?.focus();\n },\n }));\n\n const additionalInfoId = useUniqueId('attribute-editor-info');\n const infoAriaDescribedBy = additionalInfo ? additionalInfoId : undefined;\n\n const prevItemsLength = usePrevious(items.length);\n const i18n = useInternalI18n('attribute-editor');\n\n React.useEffect(() => {\n if (prevItemsLength && prevItemsLength > items.length) {\n const announcement = i18n('i18nStrings.itemRemovedAriaLive', i18nStrings?.itemRemovedAriaLive);\n if (announcement) {\n setRemovalAnnouncement(announcement);\n } else {\n setRemovalAnnouncement('');\n }\n } else {\n setRemovalAnnouncement('');\n }\n // we only want to announce when the number of items decreases (i.e. when an item is removed)\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [items, i18nStrings?.itemRemovedAriaLive]);\n\n if (!gridLayout) {\n gridLayout = gridDefaults[definition.length];\n if (!gridLayout) {\n console.warn('AttributeEditor', '`gridLayout` is required for more than 6 attributes. Cannot render.');\n gridLayout = [];\n }\n }\n\n const gridLayoutBreakpoints = gridLayout.reduce(\n (acc, layout) => ({\n ...acc,\n [layout.breakpoint || 'default']: layout,\n }),\n {} as Record<AttributeEditorProps.Breakpoint, AttributeEditorProps.GridLayout>\n );\n\n const [breakpoint, breakpointRef] = useContainerBreakpoints(\n Object.keys(gridLayoutBreakpoints) as AttributeEditorProps.Breakpoint[]\n );\n const mergedRef = useMergeRefs(breakpointRef, __internalRootRef);\n\n const gridLayoutForBreakpoint = matchBreakpointMapping(gridLayoutBreakpoints, breakpoint || 'default');\n\n if (!gridLayoutForBreakpoint) {\n console.warn('AttributeEditor', `No \\`gridLayout\\` entry found for breakpoint ${breakpoint}. Cannot render.`);\n return <div />;\n }\n\n const totalColumnsInLayout = gridLayoutForBreakpoint.rows.reduce((total, columns) => total + columns.length, 0);\n if (totalColumnsInLayout !== definition.length) {\n console.warn(\n 'AttributeEditor',\n `Incorrect number of columns in layout (${totalColumnsInLayout}) for definition (${definition.length}). Cannot render.`\n );\n return <div />;\n }\n\n return (\n <div\n {...baseProps}\n ref={mergedRef}\n className={clsx(baseProps.className, styles.root)}\n style={{ gridTemplateColumns: getGridTemplateColumns(gridLayoutForBreakpoint) }}\n >\n {isEmpty && <div className={clsx(styles.empty, wasNonEmpty.current && styles['empty-appear'])}>{empty}</div>}\n {items.map((item, index) => (\n <Row<T>\n key={index}\n index={index}\n breakpoint={breakpoint}\n layout={gridLayoutForBreakpoint}\n item={item}\n definition={definition}\n i18nStrings={i18nStrings}\n removable={isItemRemovable(item)}\n removeButtonText={removeButtonText}\n removeButtonRefs={removeButtonRefs.current}\n customRowActions={customRowActions}\n onRemoveButtonClick={onRemoveButtonClick}\n removeButtonAriaLabel={removeButtonAriaLabel}\n />\n ))}\n\n <div className={styles['add-row']}>\n <InternalButton\n className={styles['add-button']}\n disabled={disableAddButton}\n // Using aria-disabled=\"true\" and tabindex=\"-1\" instead of \"disabled\"\n // because focus can be dynamically moved to this button by calling\n // `focusAddButton()` on the ref.\n nativeButtonAttributes={disableAddButton ? { tabIndex: -1 } : {}}\n __skipNativeAttributesWarnings={true}\n __focusable={true}\n onClick={onAddButtonClick}\n formAction=\"none\"\n ref={addButtonRef}\n ariaDescribedby={infoAriaDescribedBy}\n variant={addButtonVariant}\n iconName={addButtonVariant === 'inline-link' ? 'add-plus' : undefined}\n >\n {addButtonText}\n </InternalButton>\n <InternalLiveRegion\n data-testid=\"removal-announcement\"\n tagName=\"span\"\n hidden={true}\n delay={5}\n key={items.length}\n >\n {removalAnnouncement}\n </InternalLiveRegion>\n {!!additionalInfo && <AdditionalInfo id={infoAriaDescribedBy}>{additionalInfo}</AdditionalInfo>}\n </div>\n </div>\n );\n }\n) as AttributeEditorForwardRefType;\n\nexport default InternalAttributeEditor;\n"]}
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/attribute-editor/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,mBAAmB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAG1F,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,uBAAuB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AE,IAAI,EACpC,WAAW,EAAE,IAAI,EACjB,OAAO,EAAE,gBAAgB,EACzB,UAAU,EAAC,MAAM,EACjB,GAAG,EAAE,YAAY,EACjB,eAAe,EAAE,mBAAmB,EACpC,OAAO,EAAE,gBAAgB,EACzB,QAAQ,EAAE,gBAAgB,KAAK,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,IAEpE,aAAa,CACC,CAClB;gBACA,iBAAiB,CACG,CACxB;YACD,oBAAC,kBAAkB,mBACL,sBAAsB,EAClC,OAAO,EAAC,MAAM,EACd,MAAM,EAAE,IAAI,EACZ,KAAK,EAAE,CAAC,EACR,GAAG,EAAE,KAAK,CAAC,MAAM,IAEhB,mBAAmB,CACD;YACpB,CAAC,CAAC,cAAc,IAAI,oBAAC,cAAc,IAAC,EAAE,EAAE,mBAAmB,IAAG,cAAc,CAAkB,CAC3F,CACF,CACP,CAAC;AACJ,CAAC,CAC+B,CAAC;AAEnC,eAAe,uBAAuB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useImperativeHandle, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs, useUniqueId } from '@cloudscape-design/component-toolkit/internal';\n\nimport { ButtonProps } from '../button/interfaces';\nimport { InternalButton } from '../button/internal';\nimport { useInternalI18n } from '../i18n/context';\nimport { getBaseProps } from '../internal/base-component';\nimport { matchBreakpointMapping } from '../internal/breakpoints';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { usePrevious } from '../internal/hooks/use-previous';\nimport { SomeRequired } from '../internal/types';\nimport InternalLiveRegion from '../live-region/internal';\nimport InternalSpaceBetween from '../space-between/internal';\nimport { AdditionalInfo } from './additional-info';\nimport { gridDefaults } from './grid-defaults';\nimport { AttributeEditorForwardRefType, AttributeEditorProps } from './interfaces';\nimport { Row } from './row';\nimport { getGridTemplateColumns } from './utils';\n\nimport styles from './styles.css.js';\n\ntype InternalAttributeEditorProps<T> = SomeRequired<AttributeEditorProps<T>, 'items' | 'addButtonVariant'> &\n InternalBaseComponentProps;\n\nconst InternalAttributeEditor = React.forwardRef(\n <T,>(\n {\n additionalInfo,\n disableAddButton,\n definition = [{}],\n gridLayout,\n items,\n isItemRemovable = () => true,\n empty,\n addButtonText,\n addButtonVariant,\n removeButtonText,\n removeButtonAriaLabel,\n customRowActions,\n i18nStrings,\n onAddButtonClick,\n onRemoveButtonClick,\n __internalRootRef,\n hideAddButton,\n additionalActions,\n ...props\n }: InternalAttributeEditorProps<T>,\n ref: React.Ref<AttributeEditorProps.Ref>\n ) => {\n const removeButtonRefs = useRef<Array<ButtonProps.Ref | undefined>>([]);\n const addButtonRef = useRef<ButtonProps.Ref>(null);\n const wasNonEmpty = useRef<boolean>(false);\n const [removalAnnouncement, setRemovalAnnouncement] = useState<string>('');\n\n const baseProps = getBaseProps(props);\n const isEmpty = items && items.length === 0;\n\n wasNonEmpty.current = wasNonEmpty.current || !isEmpty;\n\n useImperativeHandle(ref, () => ({\n focusRemoveButton(rowIndex: number) {\n removeButtonRefs.current[rowIndex]?.focus();\n },\n focusAddButton() {\n addButtonRef.current?.focus();\n },\n }));\n\n const additionalInfoId = useUniqueId('attribute-editor-info');\n const infoAriaDescribedBy = additionalInfo ? additionalInfoId : undefined;\n\n const prevItemsLength = usePrevious(items.length);\n const i18n = useInternalI18n('attribute-editor');\n\n React.useEffect(() => {\n if (prevItemsLength && prevItemsLength > items.length) {\n const announcement = i18n('i18nStrings.itemRemovedAriaLive', i18nStrings?.itemRemovedAriaLive);\n if (announcement) {\n setRemovalAnnouncement(announcement);\n } else {\n setRemovalAnnouncement('');\n }\n } else {\n setRemovalAnnouncement('');\n }\n // we only want to announce when the number of items decreases (i.e. when an item is removed)\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [items, i18nStrings?.itemRemovedAriaLive]);\n\n if (!gridLayout) {\n gridLayout = gridDefaults[definition.length];\n if (!gridLayout) {\n console.warn('AttributeEditor', '`gridLayout` is required for more than 6 attributes. Cannot render.');\n gridLayout = [];\n }\n }\n\n const gridLayoutBreakpoints = gridLayout.reduce(\n (acc, layout) => ({\n ...acc,\n [layout.breakpoint || 'default']: layout,\n }),\n {} as Record<AttributeEditorProps.Breakpoint, AttributeEditorProps.GridLayout>\n );\n\n const [breakpoint, breakpointRef] = useContainerBreakpoints(\n Object.keys(gridLayoutBreakpoints) as AttributeEditorProps.Breakpoint[]\n );\n const mergedRef = useMergeRefs(breakpointRef, __internalRootRef);\n\n const gridLayoutForBreakpoint = matchBreakpointMapping(gridLayoutBreakpoints, breakpoint || 'default');\n\n if (!gridLayoutForBreakpoint) {\n console.warn('AttributeEditor', `No \\`gridLayout\\` entry found for breakpoint ${breakpoint}. Cannot render.`);\n return <div />;\n }\n\n const totalColumnsInLayout = gridLayoutForBreakpoint.rows.reduce((total, columns) => total + columns.length, 0);\n if (totalColumnsInLayout !== definition.length) {\n console.warn(\n 'AttributeEditor',\n `Incorrect number of columns in layout (${totalColumnsInLayout}) for definition (${definition.length}). Cannot render.`\n );\n return <div />;\n }\n\n return (\n <div\n {...baseProps}\n ref={mergedRef}\n className={clsx(baseProps.className, styles.root)}\n style={{ gridTemplateColumns: getGridTemplateColumns(gridLayoutForBreakpoint) }}\n >\n {isEmpty && <div className={clsx(styles.empty, wasNonEmpty.current && styles['empty-appear'])}>{empty}</div>}\n {items.map((item, index) => (\n <Row<T>\n key={index}\n index={index}\n breakpoint={breakpoint}\n layout={gridLayoutForBreakpoint}\n item={item}\n definition={definition}\n i18nStrings={i18nStrings}\n removable={isItemRemovable(item)}\n removeButtonText={removeButtonText}\n removeButtonRefs={removeButtonRefs.current}\n customRowActions={customRowActions}\n onRemoveButtonClick={onRemoveButtonClick}\n removeButtonAriaLabel={removeButtonAriaLabel}\n />\n ))}\n\n <div className={styles['add-row']}>\n {(!hideAddButton || additionalActions) && (\n <InternalSpaceBetween size=\"xs\" direction=\"horizontal\">\n {!hideAddButton && (\n <InternalButton\n className={styles['add-button']}\n disabled={disableAddButton}\n // Using aria-disabled=\"true\" and tabindex=\"-1\" instead of \"disabled\"\n // because focus can be dynamically moved to this button by calling\n // `focusAddButton()` on the ref.\n nativeButtonAttributes={disableAddButton ? { tabIndex: -1 } : {}}\n __skipNativeAttributesWarnings={true}\n __focusable={true}\n onClick={onAddButtonClick}\n formAction=\"none\"\n ref={addButtonRef}\n ariaDescribedby={infoAriaDescribedBy}\n variant={addButtonVariant}\n iconName={addButtonVariant === 'inline-link' ? 'add-plus' : undefined}\n >\n {addButtonText}\n </InternalButton>\n )}\n {additionalActions}\n </InternalSpaceBetween>\n )}\n <InternalLiveRegion\n data-testid=\"removal-announcement\"\n tagName=\"span\"\n hidden={true}\n delay={5}\n key={items.length}\n >\n {removalAnnouncement}\n </InternalLiveRegion>\n {!!additionalInfo && <AdditionalInfo id={infoAriaDescribedBy}>{additionalInfo}</AdditionalInfo>}\n </div>\n </div>\n );\n }\n) as AttributeEditorForwardRefType;\n\nexport default InternalAttributeEditor;\n"]}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"empty-appear": "awsui_empty-
|
|
5
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
6
|
-
"root": "
|
|
7
|
-
"empty": "
|
|
8
|
-
"row": "
|
|
9
|
-
"divider": "
|
|
10
|
-
"row-control": "awsui_row-
|
|
11
|
-
"field": "
|
|
12
|
-
"additional-info": "awsui_additional-
|
|
13
|
-
"add-row": "awsui_add-
|
|
14
|
-
"add-button": "awsui_add-
|
|
15
|
-
"remove-button-container": "awsui_remove-button-
|
|
16
|
-
"remove-button-field-padding": "awsui_remove-button-field-
|
|
17
|
-
"remove-button-own-row": "awsui_remove-button-own-
|
|
18
|
-
"remove-button": "awsui_remove-
|
|
4
|
+
"empty-appear": "awsui_empty-appear_n4qlp_1k4tu_153",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_n4qlp_1k4tu_1",
|
|
6
|
+
"root": "awsui_root_n4qlp_1k4tu_175",
|
|
7
|
+
"empty": "awsui_empty_n4qlp_1k4tu_153",
|
|
8
|
+
"row": "awsui_row_n4qlp_1k4tu_218",
|
|
9
|
+
"divider": "awsui_divider_n4qlp_1k4tu_222",
|
|
10
|
+
"row-control": "awsui_row-control_n4qlp_1k4tu_227",
|
|
11
|
+
"field": "awsui_field_n4qlp_1k4tu_231",
|
|
12
|
+
"additional-info": "awsui_additional-info_n4qlp_1k4tu_235",
|
|
13
|
+
"add-row": "awsui_add-row_n4qlp_1k4tu_281",
|
|
14
|
+
"add-button": "awsui_add-button_n4qlp_1k4tu_285",
|
|
15
|
+
"remove-button-container": "awsui_remove-button-container_n4qlp_1k4tu_289",
|
|
16
|
+
"remove-button-field-padding": "awsui_remove-button-field-padding_n4qlp_1k4tu_293",
|
|
17
|
+
"remove-button-own-row": "awsui_remove-button-own-row_n4qlp_1k4tu_297",
|
|
18
|
+
"remove-button": "awsui_remove-button_n4qlp_1k4tu_289"
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -150,10 +150,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
150
150
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
151
151
|
SPDX-License-Identifier: Apache-2.0
|
|
152
152
|
*/
|
|
153
|
-
.awsui_empty-
|
|
154
|
-
animation: awsui_awsui-motion-fade-
|
|
153
|
+
.awsui_empty-appear_n4qlp_1k4tu_153:not(#\9) {
|
|
154
|
+
animation: awsui_awsui-motion-fade-in_n4qlp_1k4tu_1 var(--motion-duration-transition-show-paced-t8d1os, 180ms) var(--motion-easing-transition-show-paced-x2k7uh, ease-out);
|
|
155
155
|
}
|
|
156
|
-
@keyframes awsui_awsui-motion-fade-
|
|
156
|
+
@keyframes awsui_awsui-motion-fade-in_n4qlp_1k4tu_1 {
|
|
157
157
|
from {
|
|
158
158
|
opacity: 0.2;
|
|
159
159
|
}
|
|
@@ -162,17 +162,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
@media (prefers-reduced-motion: reduce) {
|
|
165
|
-
.awsui_empty-
|
|
165
|
+
.awsui_empty-appear_n4qlp_1k4tu_153:not(#\9) {
|
|
166
166
|
animation: none;
|
|
167
167
|
transition: none;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
.awsui-motion-disabled .awsui_empty-
|
|
170
|
+
.awsui-motion-disabled .awsui_empty-appear_n4qlp_1k4tu_153:not(#\9), .awsui-mode-entering .awsui_empty-appear_n4qlp_1k4tu_153:not(#\9) {
|
|
171
171
|
animation: none;
|
|
172
172
|
transition: none;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
.
|
|
175
|
+
.awsui_root_n4qlp_1k4tu_175:not(#\9) {
|
|
176
176
|
border-collapse: separate;
|
|
177
177
|
border-spacing: 0;
|
|
178
178
|
box-sizing: border-box;
|
|
@@ -208,31 +208,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
208
208
|
align-items: start;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
.
|
|
211
|
+
.awsui_empty_n4qlp_1k4tu_153:not(#\9) {
|
|
212
212
|
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
213
213
|
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
214
214
|
color: var(--color-text-empty-tlohug, #656871);
|
|
215
215
|
grid-column: 1/-1;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.
|
|
218
|
+
.awsui_row_n4qlp_1k4tu_218:not(#\9) {
|
|
219
219
|
display: contents;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
.
|
|
222
|
+
.awsui_divider_n4qlp_1k4tu_222:not(#\9) {
|
|
223
223
|
grid-column: 1/-1;
|
|
224
224
|
border-block-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
.awsui_row-
|
|
227
|
+
.awsui_row-control_n4qlp_1k4tu_227:not(#\9) {
|
|
228
228
|
/* used in test-utils */
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
.
|
|
231
|
+
.awsui_field_n4qlp_1k4tu_231:not(#\9) {
|
|
232
232
|
/* used in test-utils */
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
.awsui_additional-
|
|
235
|
+
.awsui_additional-info_n4qlp_1k4tu_235:not(#\9) {
|
|
236
236
|
color: var(--color-text-form-secondary-1nm780, #656871);
|
|
237
237
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
238
238
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
@@ -242,10 +242,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
242
242
|
margin-block-start: var(--space-xxs-hwfkai, 4px);
|
|
243
243
|
/* stylelint-disable-next-line selector-max-type */
|
|
244
244
|
}
|
|
245
|
-
.awsui_additional-
|
|
245
|
+
.awsui_additional-info_n4qlp_1k4tu_235 > a:not(#\9) {
|
|
246
246
|
text-underline-offset: 0.3em;
|
|
247
247
|
text-decoration-thickness: 1px;
|
|
248
|
-
color: var(--awsui-style-color-default-
|
|
248
|
+
color: var(--awsui-style-color-default-9t5olz, var(--color-text-link-default-1dmm7z, #006ce0));
|
|
249
249
|
font-weight: inherit;
|
|
250
250
|
letter-spacing: normal;
|
|
251
251
|
text-decoration-line: underline;
|
|
@@ -256,50 +256,50 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
256
256
|
transition-duration: var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
|
|
257
257
|
}
|
|
258
258
|
@media (prefers-reduced-motion: reduce) {
|
|
259
|
-
.awsui_additional-
|
|
259
|
+
.awsui_additional-info_n4qlp_1k4tu_235 > a:not(#\9) {
|
|
260
260
|
animation: none;
|
|
261
261
|
transition: none;
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
|
-
.awsui-motion-disabled .awsui_additional-
|
|
264
|
+
.awsui-motion-disabled .awsui_additional-info_n4qlp_1k4tu_235 > a:not(#\9), .awsui-mode-entering .awsui_additional-info_n4qlp_1k4tu_235 > a:not(#\9) {
|
|
265
265
|
animation: none;
|
|
266
266
|
transition: none;
|
|
267
267
|
}
|
|
268
|
-
.awsui_additional-
|
|
268
|
+
.awsui_additional-info_n4qlp_1k4tu_235 > a:not(#\9):hover {
|
|
269
269
|
cursor: pointer;
|
|
270
|
-
color: var(--awsui-style-color-hover-
|
|
270
|
+
color: var(--awsui-style-color-hover-9t5olz, var(--color-text-link-hover-sq1gxg, #002b66));
|
|
271
271
|
}
|
|
272
|
-
.awsui_additional-
|
|
272
|
+
.awsui_additional-info_n4qlp_1k4tu_235 > a:not(#\9):focus {
|
|
273
273
|
outline: none;
|
|
274
274
|
}
|
|
275
|
-
.awsui_additional-
|
|
276
|
-
color: var(--awsui-style-color-active-
|
|
275
|
+
.awsui_additional-info_n4qlp_1k4tu_235 > a:not(#\9):active {
|
|
276
|
+
color: var(--awsui-style-color-active-9t5olz, var(--color-text-link-hover-sq1gxg, #002b66));
|
|
277
277
|
}
|
|
278
|
-
.awsui_additional-
|
|
278
|
+
.awsui_additional-info_n4qlp_1k4tu_235 > a:not(#\9):active, .awsui_additional-info_n4qlp_1k4tu_235 > a:not(#\9):focus, .awsui_additional-info_n4qlp_1k4tu_235 > a:not(#\9):hover {
|
|
279
279
|
text-decoration-line: underline;
|
|
280
280
|
text-decoration-color: currentColor;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
.awsui_add-
|
|
283
|
+
.awsui_add-row_n4qlp_1k4tu_281:not(#\9) {
|
|
284
284
|
grid-column: 1/-1;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
.awsui_add-
|
|
287
|
+
.awsui_add-button_n4qlp_1k4tu_285:not(#\9) {
|
|
288
288
|
/* used in test-utils */
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
.awsui_remove-button-
|
|
291
|
+
.awsui_remove-button-container_n4qlp_1k4tu_289:not(#\9) {
|
|
292
292
|
display: inline-block;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
.awsui_remove-button-field-
|
|
295
|
+
.awsui_remove-button-field-padding_n4qlp_1k4tu_293:not(#\9) {
|
|
296
296
|
padding-block-start: calc(var(--space-xxs-hwfkai, 4px) + var(--line-height-body-m-2mh3ke, 20px));
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
.awsui_remove-button-own-
|
|
299
|
+
.awsui_remove-button-own-row_n4qlp_1k4tu_297:not(#\9) {
|
|
300
300
|
justify-self: end;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
.awsui_remove-
|
|
303
|
+
.awsui_remove-button_n4qlp_1k4tu_289:not(#\9) {
|
|
304
304
|
/* used in test-utils */
|
|
305
305
|
}
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"empty-appear": "awsui_empty-
|
|
6
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
7
|
-
"root": "
|
|
8
|
-
"empty": "
|
|
9
|
-
"row": "
|
|
10
|
-
"divider": "
|
|
11
|
-
"row-control": "awsui_row-
|
|
12
|
-
"field": "
|
|
13
|
-
"additional-info": "awsui_additional-
|
|
14
|
-
"add-row": "awsui_add-
|
|
15
|
-
"add-button": "awsui_add-
|
|
16
|
-
"remove-button-container": "awsui_remove-button-
|
|
17
|
-
"remove-button-field-padding": "awsui_remove-button-field-
|
|
18
|
-
"remove-button-own-row": "awsui_remove-button-own-
|
|
19
|
-
"remove-button": "awsui_remove-
|
|
5
|
+
"empty-appear": "awsui_empty-appear_n4qlp_1k4tu_153",
|
|
6
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_n4qlp_1k4tu_1",
|
|
7
|
+
"root": "awsui_root_n4qlp_1k4tu_175",
|
|
8
|
+
"empty": "awsui_empty_n4qlp_1k4tu_153",
|
|
9
|
+
"row": "awsui_row_n4qlp_1k4tu_218",
|
|
10
|
+
"divider": "awsui_divider_n4qlp_1k4tu_222",
|
|
11
|
+
"row-control": "awsui_row-control_n4qlp_1k4tu_227",
|
|
12
|
+
"field": "awsui_field_n4qlp_1k4tu_231",
|
|
13
|
+
"additional-info": "awsui_additional-info_n4qlp_1k4tu_235",
|
|
14
|
+
"add-row": "awsui_add-row_n4qlp_1k4tu_281",
|
|
15
|
+
"add-button": "awsui_add-button_n4qlp_1k4tu_285",
|
|
16
|
+
"remove-button-container": "awsui_remove-button-container_n4qlp_1k4tu_289",
|
|
17
|
+
"remove-button-field-padding": "awsui_remove-button-field-padding_n4qlp_1k4tu_293",
|
|
18
|
+
"remove-button-own-row": "awsui_remove-button-own-row_n4qlp_1k4tu_297",
|
|
19
|
+
"remove-button": "awsui_remove-button_n4qlp_1k4tu_289"
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"link": "
|
|
5
|
-
"breadcrumb": "
|
|
6
|
-
"ghost-breadcrumb": "awsui_ghost-
|
|
7
|
-
"icon": "
|
|
8
|
-
"anchor": "
|
|
9
|
-
"text": "
|
|
10
|
-
"last": "
|
|
4
|
+
"link": "awsui_link_1kosq_hwo5m_145",
|
|
5
|
+
"breadcrumb": "awsui_breadcrumb_1kosq_hwo5m_149",
|
|
6
|
+
"ghost-breadcrumb": "awsui_ghost-breadcrumb_1kosq_hwo5m_150",
|
|
7
|
+
"icon": "awsui_icon_1kosq_hwo5m_153",
|
|
8
|
+
"anchor": "awsui_anchor_1kosq_hwo5m_159",
|
|
9
|
+
"text": "awsui_text_1kosq_hwo5m_206",
|
|
10
|
+
"last": "awsui_last_1kosq_hwo5m_225"
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -142,27 +142,27 @@
|
|
|
142
142
|
*/
|
|
143
143
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
144
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
-
.
|
|
145
|
+
.awsui_link_1kosq_hwo5m_145:not(#\9):after {
|
|
146
146
|
display: none;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.
|
|
150
|
-
.awsui_ghost-
|
|
149
|
+
.awsui_breadcrumb_1kosq_hwo5m_149:not(#\9),
|
|
150
|
+
.awsui_ghost-breadcrumb_1kosq_hwo5m_150:not(#\9) {
|
|
151
151
|
display: flex;
|
|
152
152
|
}
|
|
153
|
-
.
|
|
154
|
-
.awsui_ghost-
|
|
153
|
+
.awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_icon_1kosq_hwo5m_153:not(#\9),
|
|
154
|
+
.awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_icon_1kosq_hwo5m_153:not(#\9) {
|
|
155
155
|
margin-block: 0;
|
|
156
156
|
margin-inline: var(--space-xs-ymlm0b, 8px);
|
|
157
157
|
color: var(--color-text-breadcrumb-icon-9j48ot, #8c8c94);
|
|
158
158
|
}
|
|
159
|
-
.
|
|
160
|
-
.awsui_ghost-
|
|
159
|
+
.awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159:not(#\9),
|
|
160
|
+
.awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159:not(#\9) {
|
|
161
161
|
min-inline-size: 0;
|
|
162
162
|
overflow: hidden;
|
|
163
163
|
text-underline-offset: 0.25em;
|
|
164
164
|
text-decoration-thickness: 1px;
|
|
165
|
-
color: var(--awsui-style-color-default-
|
|
165
|
+
color: var(--awsui-style-color-default-9t5olz, var(--color-text-link-default-1dmm7z, #006ce0));
|
|
166
166
|
font-weight: inherit;
|
|
167
167
|
letter-spacing: normal;
|
|
168
168
|
text-decoration-line: underline;
|
|
@@ -173,42 +173,42 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
173
173
|
transition-duration: var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
|
|
174
174
|
}
|
|
175
175
|
@media (prefers-reduced-motion: reduce) {
|
|
176
|
-
.
|
|
177
|
-
.awsui_ghost-
|
|
176
|
+
.awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159:not(#\9),
|
|
177
|
+
.awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159:not(#\9) {
|
|
178
178
|
animation: none;
|
|
179
179
|
transition: none;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
.awsui-motion-disabled .
|
|
182
|
+
.awsui-motion-disabled .awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159:not(#\9), .awsui-mode-entering .awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159:not(#\9), .awsui-motion-disabled .awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159:not(#\9), .awsui-mode-entering .awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159:not(#\9) {
|
|
183
183
|
animation: none;
|
|
184
184
|
transition: none;
|
|
185
185
|
}
|
|
186
|
-
.
|
|
187
|
-
.awsui_ghost-
|
|
186
|
+
.awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):hover,
|
|
187
|
+
.awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):hover {
|
|
188
188
|
cursor: pointer;
|
|
189
|
-
color: var(--awsui-style-color-hover-
|
|
189
|
+
color: var(--awsui-style-color-hover-9t5olz, var(--color-text-link-hover-sq1gxg, #002b66));
|
|
190
190
|
}
|
|
191
|
-
.
|
|
192
|
-
.awsui_ghost-
|
|
191
|
+
.awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):focus,
|
|
192
|
+
.awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):focus {
|
|
193
193
|
outline: none;
|
|
194
194
|
}
|
|
195
|
-
.
|
|
196
|
-
.awsui_ghost-
|
|
197
|
-
color: var(--awsui-style-color-active-
|
|
195
|
+
.awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):active,
|
|
196
|
+
.awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):active {
|
|
197
|
+
color: var(--awsui-style-color-active-9t5olz, var(--color-text-link-hover-sq1gxg, #002b66));
|
|
198
198
|
}
|
|
199
|
-
.
|
|
199
|
+
.awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):active, .awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):focus, .awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):hover, .awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):active, .awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):focus, .awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):hover {
|
|
200
200
|
text-decoration-line: underline;
|
|
201
201
|
text-decoration-color: currentColor;
|
|
202
202
|
}
|
|
203
|
-
.
|
|
204
|
-
.awsui_ghost-
|
|
203
|
+
.awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159 > .awsui_text_1kosq_hwo5m_206:not(#\9),
|
|
204
|
+
.awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159 > .awsui_text_1kosq_hwo5m_206:not(#\9) {
|
|
205
205
|
overflow: hidden;
|
|
206
206
|
text-overflow: ellipsis;
|
|
207
207
|
white-space: nowrap;
|
|
208
208
|
display: block;
|
|
209
209
|
}
|
|
210
|
-
body[data-awsui-focus-visible=true] .
|
|
211
|
-
body[data-awsui-focus-visible=true] .awsui_ghost-
|
|
210
|
+
body[data-awsui-focus-visible=true] .awsui_breadcrumb_1kosq_hwo5m_149 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):focus,
|
|
211
|
+
body[data-awsui-focus-visible=true] .awsui_ghost-breadcrumb_1kosq_hwo5m_150 > .awsui_anchor_1kosq_hwo5m_159:not(#\9):focus {
|
|
212
212
|
outline: thin dotted;
|
|
213
213
|
outline: var(--border-link-focus-ring-outline-1p0hnu, 0);
|
|
214
214
|
outline-offset: 2px;
|
|
@@ -219,12 +219,12 @@ body[data-awsui-focus-visible=true] .awsui_ghost-breadcrumb_1kosq_18aed_150 > .a
|
|
|
219
219
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
220
220
|
box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-39uvxr, 2px) var(--color-border-item-focused-uk47pl, #006ce0);
|
|
221
221
|
}
|
|
222
|
-
.
|
|
223
|
-
.awsui_ghost-
|
|
222
|
+
.awsui_breadcrumb_1kosq_hwo5m_149.awsui_last_1kosq_hwo5m_225 > .awsui_icon_1kosq_hwo5m_153:not(#\9),
|
|
223
|
+
.awsui_ghost-breadcrumb_1kosq_hwo5m_150.awsui_last_1kosq_hwo5m_225 > .awsui_icon_1kosq_hwo5m_153:not(#\9) {
|
|
224
224
|
display: none;
|
|
225
225
|
}
|
|
226
|
-
.
|
|
227
|
-
.awsui_ghost-
|
|
226
|
+
.awsui_breadcrumb_1kosq_hwo5m_149.awsui_last_1kosq_hwo5m_225 > .awsui_anchor_1kosq_hwo5m_159:not(#\9),
|
|
227
|
+
.awsui_ghost-breadcrumb_1kosq_hwo5m_150.awsui_last_1kosq_hwo5m_225 > .awsui_anchor_1kosq_hwo5m_159:not(#\9) {
|
|
228
228
|
color: var(--color-text-breadcrumb-current-2mqnkk, #656871);
|
|
229
229
|
font-weight: 700;
|
|
230
230
|
text-decoration: none;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"link": "
|
|
6
|
-
"breadcrumb": "
|
|
7
|
-
"ghost-breadcrumb": "awsui_ghost-
|
|
8
|
-
"icon": "
|
|
9
|
-
"anchor": "
|
|
10
|
-
"text": "
|
|
11
|
-
"last": "
|
|
5
|
+
"link": "awsui_link_1kosq_hwo5m_145",
|
|
6
|
+
"breadcrumb": "awsui_breadcrumb_1kosq_hwo5m_149",
|
|
7
|
+
"ghost-breadcrumb": "awsui_ghost-breadcrumb_1kosq_hwo5m_150",
|
|
8
|
+
"icon": "awsui_icon_1kosq_hwo5m_153",
|
|
9
|
+
"anchor": "awsui_anchor_1kosq_hwo5m_159",
|
|
10
|
+
"text": "awsui_text_1kosq_hwo5m_206",
|
|
11
|
+
"last": "awsui_last_1kosq_hwo5m_225"
|
|
12
12
|
};
|
|
13
13
|
|
package/button/styles.css.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"content": "
|
|
5
|
-
"button": "
|
|
6
|
-
"variant-normal": "awsui_variant-
|
|
7
|
-
"disabled": "
|
|
8
|
-
"variant-primary": "awsui_variant-
|
|
9
|
-
"variant-link": "awsui_variant-
|
|
10
|
-
"variant-icon": "awsui_variant-
|
|
11
|
-
"variant-inline-icon": "awsui_variant-inline-
|
|
12
|
-
"variant-inline-icon-pointer-target": "awsui_variant-inline-icon-pointer-
|
|
13
|
-
"variant-inline-link": "awsui_variant-inline-
|
|
14
|
-
"variant-modal-dismiss": "awsui_variant-modal-
|
|
15
|
-
"variant-flashbar-icon": "awsui_variant-flashbar-
|
|
16
|
-
"variant-breadcrumb-group": "awsui_variant-breadcrumb-
|
|
17
|
-
"variant-menu-trigger": "awsui_variant-menu-
|
|
18
|
-
"button-no-text": "awsui_button-no-
|
|
19
|
-
"button-no-wrap": "awsui_button-no-
|
|
20
|
-
"full-width": "awsui_full-
|
|
21
|
-
"icon-left": "awsui_icon-
|
|
22
|
-
"icon-right": "awsui_icon-
|
|
23
|
-
"icon": "
|
|
24
|
-
"link": "
|
|
25
|
-
"disabled-with-reason": "awsui_disabled-with-
|
|
4
|
+
"content": "awsui_content_vjswe_1k60f_153",
|
|
5
|
+
"button": "awsui_button_vjswe_1k60f_157",
|
|
6
|
+
"variant-normal": "awsui_variant-normal_vjswe_1k60f_206",
|
|
7
|
+
"disabled": "awsui_disabled_vjswe_1k60f_227",
|
|
8
|
+
"variant-primary": "awsui_variant-primary_vjswe_1k60f_235",
|
|
9
|
+
"variant-link": "awsui_variant-link_vjswe_1k60f_264",
|
|
10
|
+
"variant-icon": "awsui_variant-icon_vjswe_1k60f_293",
|
|
11
|
+
"variant-inline-icon": "awsui_variant-inline-icon_vjswe_1k60f_322",
|
|
12
|
+
"variant-inline-icon-pointer-target": "awsui_variant-inline-icon-pointer-target_vjswe_1k60f_351",
|
|
13
|
+
"variant-inline-link": "awsui_variant-inline-link_vjswe_1k60f_380",
|
|
14
|
+
"variant-modal-dismiss": "awsui_variant-modal-dismiss_vjswe_1k60f_413",
|
|
15
|
+
"variant-flashbar-icon": "awsui_variant-flashbar-icon_vjswe_1k60f_442",
|
|
16
|
+
"variant-breadcrumb-group": "awsui_variant-breadcrumb-group_vjswe_1k60f_471",
|
|
17
|
+
"variant-menu-trigger": "awsui_variant-menu-trigger_vjswe_1k60f_505",
|
|
18
|
+
"button-no-text": "awsui_button-no-text_vjswe_1k60f_601",
|
|
19
|
+
"button-no-wrap": "awsui_button-no-wrap_vjswe_1k60f_605",
|
|
20
|
+
"full-width": "awsui_full-width_vjswe_1k60f_608",
|
|
21
|
+
"icon-left": "awsui_icon-left_vjswe_1k60f_630",
|
|
22
|
+
"icon-right": "awsui_icon-right_vjswe_1k60f_635",
|
|
23
|
+
"icon": "awsui_icon_vjswe_1k60f_630",
|
|
24
|
+
"link": "awsui_link_vjswe_1k60f_654",
|
|
25
|
+
"disabled-with-reason": "awsui_disabled-with-reason_vjswe_1k60f_654"
|
|
26
26
|
};
|
|
27
27
|
|