@cloudscape-design/components 3.0.386 → 3.0.388
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/app-layout/utils/use-drawers.d.ts.map +1 -1
- package/app-layout/utils/use-drawers.js +8 -5
- package/app-layout/utils/use-drawers.js.map +1 -1
- package/app-layout/visual-refresh/drawers.d.ts.map +1 -1
- package/app-layout/visual-refresh/drawers.js +27 -9
- package/app-layout/visual-refresh/drawers.js.map +1 -1
- package/internal/analytics/components/analytics-funnel.d.ts +1 -0
- package/internal/analytics/components/analytics-funnel.d.ts.map +1 -1
- package/internal/analytics/components/analytics-funnel.js +14 -5
- package/internal/analytics/components/analytics-funnel.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/table/header-cell/index.d.ts +1 -2
- package/table/header-cell/index.d.ts.map +1 -1
- package/table/header-cell/index.js +2 -2
- package/table/header-cell/index.js.map +1 -1
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +1 -8
- package/table/internal.js.map +1 -1
- package/table/resizer/index.d.ts +1 -2
- package/table/resizer/index.d.ts.map +1 -1
- package/table/resizer/index.js +30 -60
- package/table/resizer/index.js.map +1 -1
- package/table/sticky-columns/utils.js +2 -2
- package/table/sticky-columns/utils.js.map +1 -1
- package/table/thead.d.ts +0 -1
- package/table/thead.d.ts.map +1 -1
- package/table/thead.js +2 -2
- package/table/thead.js.map +1 -1
- package/wizard/styles.css.js +31 -31
- package/wizard/styles.scoped.css +63 -62
- package/wizard/styles.selectors.js +31 -31
package/table/thead.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thead.js","sourceRoot":"lib/default/","sources":["table/thead.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAA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,CAAC,CAAC,MAAM,CAAC,QAAQ;wBAC9C,QAAQ,EAAE,gBAAgB,IAAI,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ;qBACnE,EACD,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EACzB,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,MAAM,EACd,mBAAmB,EAAE,aAAa,EAClC,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EACjD,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,YAAY,CAAC,EAClD,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC,sBAAsB,CAAC,eAAe,EAAE,MAAM,CAAC,EAClE,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,EAC/B,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,EACxC,SAAS,EAAE,SAAS,EACpB,kBAAkB,EAAE,kBAAkB,GACtC,CACH,CAAC;YACJ,CAAC,CAAC,CACC,CACC,CACT,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,KAAK,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React from 'react';\nimport { TableProps } from './interfaces';\nimport { SelectionControl, focusMarkers, SelectionProps } from './selection';\nimport { fireNonCancelableEvent, NonCancelableEventHandler } from '../internal/events';\nimport { getColumnKey } from './utils';\nimport { TableHeaderCell } from './header-cell';\nimport { useColumnWidths } from './use-column-widths';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport styles from './styles.css.js';\nimport headerCellStyles from './header-cell/styles.css.js';\nimport ScreenreaderOnly from '../internal/components/screenreader-only';\nimport { StickyColumnsModel } from './sticky-columns';\nimport { getTableHeaderRowRoleProps, TableRole } from './table-role';\nimport { TableThElement } from './header-cell/th-element';\nimport { findUpUntil } from '@cloudscape-design/component-toolkit/dom';\n\nexport interface TheadProps {\n containerWidth: number | null;\n selectionType: TableProps.SelectionType | undefined;\n columnDefinitions: ReadonlyArray<TableProps.ColumnDefinition<any>>;\n sortingColumn: TableProps.SortingColumn<any> | undefined;\n sortingDescending: boolean | undefined;\n sortingDisabled: boolean | undefined;\n variant: TableProps.Variant;\n wrapLines: boolean | undefined;\n resizableColumns: boolean | undefined;\n getSelectAllProps: () => SelectionProps;\n onFocusMove: ((sourceElement: HTMLElement, fromIndex: number, direction: -1 | 1) => void) | undefined;\n onResizeFinish: (newWidths: Record<string, number>) => void;\n onSortingChange: NonCancelableEventHandler<TableProps.SortingState<any>> | undefined;\n sticky?: boolean;\n hidden?: boolean;\n stuck?: boolean;\n singleSelectionHeaderAriaLabel?: string;\n stripedRows?: boolean;\n stickyState: StickyColumnsModel;\n selectionColumnId: PropertyKey;\n focusedComponent?: null | string;\n onFocusedComponentChange?: (focusId: null | string) => void;\n tableRole: TableRole;\n getDescriptionRoot?: () => null | HTMLElement;\n}\n\nconst Thead = React.forwardRef(\n (\n {\n containerWidth,\n selectionType,\n getSelectAllProps,\n columnDefinitions,\n sortingColumn,\n sortingDisabled,\n sortingDescending,\n resizableColumns,\n variant,\n wrapLines,\n onFocusMove,\n onSortingChange,\n onResizeFinish,\n singleSelectionHeaderAriaLabel,\n stripedRows,\n sticky = false,\n hidden = false,\n stuck = false,\n stickyState,\n selectionColumnId,\n focusedComponent,\n onFocusedComponentChange,\n tableRole,\n getDescriptionRoot,\n }: TheadProps,\n outerRef: React.Ref<HTMLTableRowElement>\n ) => {\n const isVisualRefresh = useVisualRefresh();\n\n const headerCellClass = clsx(\n headerCellStyles['header-cell'],\n headerCellStyles[`header-cell-variant-${variant}`],\n sticky && headerCellStyles['header-cell-sticky'],\n stuck && headerCellStyles['header-cell-stuck'],\n stripedRows && headerCellStyles['has-striped-rows'],\n isVisualRefresh && headerCellStyles['is-visual-refresh']\n );\n\n const selectionCellClass = clsx(\n styles['selection-control'],\n styles['selection-control-header'],\n isVisualRefresh && styles['is-visual-refresh']\n );\n\n const { columnWidths, totalWidth, updateColumn, setCell } = useColumnWidths();\n\n return (\n <thead className={clsx(!hidden && styles['thead-active'])}>\n <tr\n {...focusMarkers.all}\n ref={outerRef}\n aria-rowindex={1}\n {...getTableHeaderRowRoleProps({ tableRole })}\n onFocus={event => {\n const focusControlElement = findUpUntil(event.target, element => !!element.getAttribute('data-focus-id'));\n const focusId = focusControlElement?.getAttribute('data-focus-id') ?? null;\n onFocusedComponentChange?.(focusId);\n }}\n onBlur={() => onFocusedComponentChange?.(null)}\n >\n {selectionType ? (\n <TableThElement\n className={clsx(headerCellClass, selectionCellClass, hidden && headerCellStyles['header-cell-hidden'])}\n hidden={hidden}\n tableRole={tableRole}\n colIndex={0}\n columnId={selectionColumnId}\n stickyState={stickyState}\n >\n {selectionType === 'multi' ? (\n <SelectionControl\n onFocusDown={event => {\n onFocusMove!(event.target as HTMLElement, -1, +1);\n }}\n focusedComponent={focusedComponent}\n {...getSelectAllProps()}\n {...(sticky ? { tabIndex: -1 } : {})}\n />\n ) : (\n <ScreenreaderOnly>{singleSelectionHeaderAriaLabel}</ScreenreaderOnly>\n )}\n </TableThElement>\n ) : null}\n\n {columnDefinitions.map((column, colIndex) => {\n const columnId = getColumnKey(column, colIndex);\n\n let widthOverride;\n if (resizableColumns) {\n if (columnWidths) {\n // use stateful value if available\n widthOverride = columnWidths[columnId];\n }\n if (colIndex === columnDefinitions.length - 1 && containerWidth && containerWidth > totalWidth) {\n // let the last column grow and fill the container width\n widthOverride = 'auto';\n }\n }\n return (\n <TableHeaderCell\n key={columnId}\n className={headerCellClass}\n style={{\n width: widthOverride || column.width,\n minWidth: sticky ? undefined : column.minWidth,\n maxWidth: resizableColumns || sticky ? undefined : column.maxWidth,\n }}\n tabIndex={sticky ? -1 : 0}\n focusedComponent={focusedComponent}\n column={column}\n activeSortingColumn={sortingColumn}\n sortingDescending={sortingDescending}\n sortingDisabled={sortingDisabled}\n wrapLines={wrapLines}\n hidden={hidden}\n colIndex={selectionType ? colIndex + 1 : colIndex}\n columnId={columnId}\n updateColumn={updateColumn}\n onResizeFinish={() => onResizeFinish(columnWidths)}\n resizableColumns={resizableColumns}\n onClick={detail => fireNonCancelableEvent(onSortingChange, detail)}\n isEditable={!!column.editConfig}\n stickyState={stickyState}\n cellRef={node => setCell(columnId, node)}\n tableRole={tableRole}\n getDescriptionRoot={getDescriptionRoot}\n />\n );\n })}\n </tr>\n </thead>\n );\n }\n);\n\nexport default Thead;\n"]}
|
|
1
|
+
{"version":3,"file":"thead.js","sourceRoot":"lib/default/","sources":["table/thead.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAA6B,MAAM,oBAAoB,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,gBAAgB,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,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EACjD,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,YAAY,CAAC,EAClD,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC,sBAAsB,CAAC,eAAe,EAAE,MAAM,CAAC,EAClE,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,EAC/B,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,EACxC,SAAS,EAAE,SAAS,GACpB,CACH,CAAC;YACJ,CAAC,CAAC,CACC,CACC,CACT,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,KAAK,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React from 'react';\nimport { TableProps } from './interfaces';\nimport { SelectionControl, focusMarkers, SelectionProps } from './selection';\nimport { fireNonCancelableEvent, NonCancelableEventHandler } from '../internal/events';\nimport { getColumnKey } from './utils';\nimport { TableHeaderCell } from './header-cell';\nimport { useColumnWidths } from './use-column-widths';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport styles from './styles.css.js';\nimport headerCellStyles from './header-cell/styles.css.js';\nimport ScreenreaderOnly from '../internal/components/screenreader-only';\nimport { StickyColumnsModel } from './sticky-columns';\nimport { getTableHeaderRowRoleProps, TableRole } from './table-role';\nimport { TableThElement } from './header-cell/th-element';\nimport { findUpUntil } from '@cloudscape-design/component-toolkit/dom';\n\nexport interface TheadProps {\n containerWidth: number | null;\n selectionType: TableProps.SelectionType | undefined;\n columnDefinitions: ReadonlyArray<TableProps.ColumnDefinition<any>>;\n sortingColumn: TableProps.SortingColumn<any> | undefined;\n sortingDescending: boolean | undefined;\n sortingDisabled: boolean | undefined;\n variant: TableProps.Variant;\n wrapLines: boolean | undefined;\n resizableColumns: boolean | undefined;\n getSelectAllProps: () => SelectionProps;\n onFocusMove: ((sourceElement: HTMLElement, fromIndex: number, direction: -1 | 1) => void) | undefined;\n onResizeFinish: (newWidths: Record<string, number>) => void;\n onSortingChange: NonCancelableEventHandler<TableProps.SortingState<any>> | undefined;\n sticky?: boolean;\n hidden?: boolean;\n stuck?: boolean;\n singleSelectionHeaderAriaLabel?: string;\n stripedRows?: boolean;\n stickyState: StickyColumnsModel;\n selectionColumnId: PropertyKey;\n focusedComponent?: null | string;\n onFocusedComponentChange?: (focusId: null | string) => void;\n tableRole: TableRole;\n}\n\nconst Thead = React.forwardRef(\n (\n {\n containerWidth,\n selectionType,\n getSelectAllProps,\n columnDefinitions,\n sortingColumn,\n sortingDisabled,\n sortingDescending,\n resizableColumns,\n variant,\n wrapLines,\n onFocusMove,\n onSortingChange,\n onResizeFinish,\n singleSelectionHeaderAriaLabel,\n stripedRows,\n sticky = false,\n hidden = false,\n stuck = false,\n stickyState,\n selectionColumnId,\n focusedComponent,\n onFocusedComponentChange,\n tableRole,\n }: TheadProps,\n outerRef: React.Ref<HTMLTableRowElement>\n ) => {\n const isVisualRefresh = useVisualRefresh();\n\n const headerCellClass = clsx(\n headerCellStyles['header-cell'],\n headerCellStyles[`header-cell-variant-${variant}`],\n sticky && headerCellStyles['header-cell-sticky'],\n stuck && headerCellStyles['header-cell-stuck'],\n stripedRows && headerCellStyles['has-striped-rows'],\n isVisualRefresh && headerCellStyles['is-visual-refresh']\n );\n\n const selectionCellClass = clsx(\n styles['selection-control'],\n styles['selection-control-header'],\n isVisualRefresh && styles['is-visual-refresh']\n );\n\n const { columnWidths, totalWidth, updateColumn, setCell } = useColumnWidths();\n\n return (\n <thead className={clsx(!hidden && styles['thead-active'])}>\n <tr\n {...focusMarkers.all}\n ref={outerRef}\n aria-rowindex={1}\n {...getTableHeaderRowRoleProps({ tableRole })}\n onFocus={event => {\n const focusControlElement = findUpUntil(event.target, element => !!element.getAttribute('data-focus-id'));\n const focusId = focusControlElement?.getAttribute('data-focus-id') ?? null;\n onFocusedComponentChange?.(focusId);\n }}\n onBlur={() => onFocusedComponentChange?.(null)}\n >\n {selectionType ? (\n <TableThElement\n className={clsx(headerCellClass, selectionCellClass, hidden && headerCellStyles['header-cell-hidden'])}\n hidden={hidden}\n tableRole={tableRole}\n colIndex={0}\n columnId={selectionColumnId}\n stickyState={stickyState}\n >\n {selectionType === 'multi' ? (\n <SelectionControl\n onFocusDown={event => {\n onFocusMove!(event.target as HTMLElement, -1, +1);\n }}\n focusedComponent={focusedComponent}\n {...getSelectAllProps()}\n {...(sticky ? { tabIndex: -1 } : {})}\n />\n ) : (\n <ScreenreaderOnly>{singleSelectionHeaderAriaLabel}</ScreenreaderOnly>\n )}\n </TableThElement>\n ) : null}\n\n {columnDefinitions.map((column, colIndex) => {\n const columnId = getColumnKey(column, colIndex);\n\n let widthOverride;\n if (resizableColumns) {\n if (columnWidths) {\n // use stateful value if available\n widthOverride = columnWidths[columnId];\n }\n if (colIndex === columnDefinitions.length - 1 && containerWidth && containerWidth > totalWidth) {\n // let the last column grow and fill the container width\n widthOverride = 'auto';\n }\n }\n return (\n <TableHeaderCell\n key={columnId}\n className={headerCellClass}\n style={{\n width: widthOverride || column.width,\n minWidth: sticky ? undefined : column.minWidth,\n maxWidth: resizableColumns || sticky ? undefined : column.maxWidth,\n }}\n tabIndex={sticky ? -1 : 0}\n focusedComponent={focusedComponent}\n column={column}\n activeSortingColumn={sortingColumn}\n sortingDescending={sortingDescending}\n sortingDisabled={sortingDisabled}\n wrapLines={wrapLines}\n hidden={hidden}\n colIndex={selectionType ? colIndex + 1 : colIndex}\n columnId={columnId}\n updateColumn={updateColumn}\n onResizeFinish={() => onResizeFinish(columnWidths)}\n resizableColumns={resizableColumns}\n onClick={detail => fireNonCancelableEvent(onSortingChange, detail)}\n isEditable={!!column.editConfig}\n stickyState={stickyState}\n cellRef={node => setCell(columnId, node)}\n tableRole={tableRole}\n />\n );\n })}\n </tr>\n </thead>\n );\n }\n);\n\nexport default Thead;\n"]}
|
package/wizard/styles.css.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"wizard": "
|
|
6
|
-
"refresh": "
|
|
7
|
-
"small-container": "awsui_small-
|
|
8
|
-
"navigation": "
|
|
9
|
-
"number": "
|
|
10
|
-
"circle": "
|
|
11
|
-
"title": "
|
|
12
|
-
"active": "
|
|
13
|
-
"disabled": "
|
|
14
|
-
"enabled": "
|
|
15
|
-
"form": "
|
|
16
|
-
"form-header": "awsui_form-
|
|
17
|
-
"background": "
|
|
18
|
-
"form-header-content": "awsui_form-header-
|
|
19
|
-
"form-component": "awsui_form-
|
|
20
|
-
"hidden": "
|
|
21
|
-
"collapsed-steps": "awsui_collapsed-
|
|
22
|
-
"collapsed-steps-hidden": "awsui_collapsed-steps-
|
|
23
|
-
"form-header-component-wrapper": "awsui_form-header-component-
|
|
24
|
-
"form-header-component": "awsui_form-header-
|
|
25
|
-
"navigation-link": "awsui_navigation-
|
|
26
|
-
"navigation-link-item": "awsui_navigation-link-
|
|
27
|
-
"navigation-link-label": "awsui_navigation-link-
|
|
28
|
-
"navigation-link-active": "awsui_navigation-link-
|
|
29
|
-
"navigation-link-disabled": "awsui_navigation-link-
|
|
30
|
-
"cancel-button": "awsui_cancel-
|
|
31
|
-
"previous-button": "awsui_previous-
|
|
32
|
-
"primary-button": "awsui_primary-
|
|
33
|
-
"skip-to-button": "awsui_skip-to-
|
|
34
|
-
"action-buttons": "awsui_action-
|
|
4
|
+
"root": "awsui_root_1xupv_jh74v_94",
|
|
5
|
+
"wizard": "awsui_wizard_1xupv_jh74v_107",
|
|
6
|
+
"refresh": "awsui_refresh_1xupv_jh74v_107",
|
|
7
|
+
"small-container": "awsui_small-container_1xupv_jh74v_114",
|
|
8
|
+
"navigation": "awsui_navigation_1xupv_jh74v_123",
|
|
9
|
+
"number": "awsui_number_1xupv_jh74v_186",
|
|
10
|
+
"circle": "awsui_circle_1xupv_jh74v_202",
|
|
11
|
+
"title": "awsui_title_1xupv_jh74v_210",
|
|
12
|
+
"active": "awsui_active_1xupv_jh74v_239",
|
|
13
|
+
"disabled": "awsui_disabled_1xupv_jh74v_250",
|
|
14
|
+
"enabled": "awsui_enabled_1xupv_jh74v_260",
|
|
15
|
+
"form": "awsui_form_1xupv_jh74v_302",
|
|
16
|
+
"form-header": "awsui_form-header_1xupv_jh74v_308",
|
|
17
|
+
"background": "awsui_background_1xupv_jh74v_319",
|
|
18
|
+
"form-header-content": "awsui_form-header-content_1xupv_jh74v_331",
|
|
19
|
+
"form-component": "awsui_form-component_1xupv_jh74v_335",
|
|
20
|
+
"hidden": "awsui_hidden_1xupv_jh74v_349",
|
|
21
|
+
"collapsed-steps": "awsui_collapsed-steps_1xupv_jh74v_353",
|
|
22
|
+
"collapsed-steps-hidden": "awsui_collapsed-steps-hidden_1xupv_jh74v_358",
|
|
23
|
+
"form-header-component-wrapper": "awsui_form-header-component-wrapper_1xupv_jh74v_362",
|
|
24
|
+
"form-header-component": "awsui_form-header-component_1xupv_jh74v_362",
|
|
25
|
+
"navigation-link": "awsui_navigation-link_1xupv_jh74v_375",
|
|
26
|
+
"navigation-link-item": "awsui_navigation-link-item_1xupv_jh74v_376",
|
|
27
|
+
"navigation-link-label": "awsui_navigation-link-label_1xupv_jh74v_377",
|
|
28
|
+
"navigation-link-active": "awsui_navigation-link-active_1xupv_jh74v_381",
|
|
29
|
+
"navigation-link-disabled": "awsui_navigation-link-disabled_1xupv_jh74v_386",
|
|
30
|
+
"cancel-button": "awsui_cancel-button_1xupv_jh74v_390",
|
|
31
|
+
"previous-button": "awsui_previous-button_1xupv_jh74v_391",
|
|
32
|
+
"primary-button": "awsui_primary-button_1xupv_jh74v_392",
|
|
33
|
+
"skip-to-button": "awsui_skip-to-button_1xupv_jh74v_393",
|
|
34
|
+
"action-buttons": "awsui_action-buttons_1xupv_jh74v_397"
|
|
35
35
|
};
|
|
36
36
|
|
package/wizard/styles.scoped.css
CHANGED
|
@@ -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 selector-max-universal, selector-max-type */
|
|
94
|
-
.
|
|
94
|
+
.awsui_root_1xupv_jh74v_94:not(#\9) {
|
|
95
95
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
96
96
|
border-collapse: separate;
|
|
97
97
|
border-spacing: 0;
|
|
@@ -130,28 +130,28 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
130
130
|
-moz-osx-font-smoothing: auto;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.
|
|
133
|
+
.awsui_wizard_1xupv_jh74v_107.awsui_refresh_1xupv_jh74v_107:not(#\9) {
|
|
134
134
|
column-gap: var(--space-xl-lmui9r, 24px);
|
|
135
135
|
display: grid;
|
|
136
136
|
grid-template-columns: auto minmax(0, 1fr);
|
|
137
137
|
grid-template-rows: auto 1fr;
|
|
138
138
|
row-gap: var(--space-scaled-xl-kswcw7, 24px);
|
|
139
139
|
}
|
|
140
|
-
.
|
|
140
|
+
.awsui_wizard_1xupv_jh74v_107.awsui_refresh_1xupv_jh74v_107.awsui_small-container_1xupv_jh74v_114:not(#\9) {
|
|
141
141
|
grid-template-columns: minmax(0, 1fr) 0;
|
|
142
142
|
row-gap: var(--space-scaled-l-0hpmd7, 20px);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
.
|
|
145
|
+
.awsui_wizard_1xupv_jh74v_107:not(#\9):not(.awsui_refresh_1xupv_jh74v_107) {
|
|
146
146
|
display: flex;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.
|
|
149
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107:not(#\9) {
|
|
150
150
|
grid-column: 1;
|
|
151
151
|
grid-row: 1/span 2;
|
|
152
152
|
padding-top: var(--awsui-container-first-gap-zw2xxa, 0px);
|
|
153
153
|
}
|
|
154
|
-
.
|
|
154
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul:not(#\9) {
|
|
155
155
|
background: var(--color-background-container-content-4un1ap, #ffffff);
|
|
156
156
|
position: relative;
|
|
157
157
|
border-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
@@ -161,7 +161,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
161
161
|
width: 280px;
|
|
162
162
|
box-sizing: border-box;
|
|
163
163
|
}
|
|
164
|
-
.
|
|
164
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul:not(#\9)::before {
|
|
165
165
|
content: "";
|
|
166
166
|
position: absolute;
|
|
167
167
|
left: 0px;
|
|
@@ -176,7 +176,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
176
176
|
border-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
177
177
|
z-index: 1;
|
|
178
178
|
}
|
|
179
|
-
.
|
|
179
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul:not(#\9)::after {
|
|
180
180
|
content: "";
|
|
181
181
|
position: absolute;
|
|
182
182
|
left: 0px;
|
|
@@ -191,30 +191,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
191
191
|
mix-blend-mode: multiply;
|
|
192
192
|
}
|
|
193
193
|
@media screen and (-ms-high-contrast: active) {
|
|
194
|
-
.
|
|
194
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul:not(#\9) {
|
|
195
195
|
border: var(--border-field-width-09w7vk, 2px) solid var(--color-border-container-top-736buh, transparent);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
.
|
|
198
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li:not(#\9) {
|
|
199
199
|
display: grid;
|
|
200
200
|
column-gap: var(--space-xs-zb16t3, 8px);
|
|
201
201
|
grid-template-columns: var(--space-l-t419sm, 20px) 1fr;
|
|
202
202
|
grid-template-rows: repeat(2, auto);
|
|
203
|
+
padding: 0;
|
|
203
204
|
}
|
|
204
|
-
.
|
|
205
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li > hr:not(#\9) {
|
|
205
206
|
background-color: var(--color-border-divider-default-et9j7s, #e9ebed);
|
|
206
207
|
border: 0;
|
|
207
208
|
grid-column: 1;
|
|
208
209
|
height: 100%;
|
|
209
210
|
width: var(--space-xxxs-zbmxqb, 2px);
|
|
210
211
|
}
|
|
211
|
-
.
|
|
212
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li > .awsui_number_1xupv_jh74v_186:not(#\9) {
|
|
212
213
|
color: var(--color-text-small-zfvvfc, #5f6b7a);
|
|
213
214
|
font-size: var(--font-size-body-s-asqx2i, 12px);
|
|
214
215
|
grid-column: 2;
|
|
215
216
|
grid-row: 1;
|
|
216
217
|
}
|
|
217
|
-
.
|
|
218
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li > a:not(#\9) {
|
|
218
219
|
align-items: start;
|
|
219
220
|
column-gap: var(--space-xs-zb16t3, 8px);
|
|
220
221
|
cursor: pointer;
|
|
@@ -224,7 +225,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
224
225
|
grid-row: 2;
|
|
225
226
|
grid-template-columns: var(--space-l-t419sm, 20px) 1fr;
|
|
226
227
|
}
|
|
227
|
-
.
|
|
228
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li > a > .awsui_circle_1xupv_jh74v_202:not(#\9) {
|
|
228
229
|
border-radius: 100%;
|
|
229
230
|
grid-column: 1;
|
|
230
231
|
height: 10px;
|
|
@@ -232,13 +233,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
232
233
|
margin-top: 6px;
|
|
233
234
|
width: 10px;
|
|
234
235
|
}
|
|
235
|
-
.
|
|
236
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li > a > .awsui_title_1xupv_jh74v_210:not(#\9) {
|
|
236
237
|
min-width: 0;
|
|
237
238
|
-ms-word-break: break-all;
|
|
238
239
|
word-break: break-word;
|
|
239
240
|
grid-column: 2;
|
|
240
241
|
}
|
|
241
|
-
body[data-awsui-focus-visible=true] .
|
|
242
|
+
body[data-awsui-focus-visible=true] .awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li > a:not(#\9):focus {
|
|
242
243
|
outline: thin dotted;
|
|
243
244
|
outline: var(--border-link-focus-ring-outline-kkfop6, 0);
|
|
244
245
|
outline-offset: 2px;
|
|
@@ -246,58 +247,58 @@ body[data-awsui-focus-visible=true] .awsui_navigation_1xupv_1ies2_123.awsui_refr
|
|
|
246
247
|
border-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
247
248
|
box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-v8hkrl, 2px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
248
249
|
}
|
|
249
|
-
.
|
|
250
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li:not(#\9):first-child > hr {
|
|
250
251
|
grid-row: 2/span 2;
|
|
251
252
|
}
|
|
252
|
-
.
|
|
253
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li:not(#\9):not(:first-child) > .awsui_number_1xupv_jh74v_186 {
|
|
253
254
|
margin-top: var(--space-m-udix3p, 16px);
|
|
254
255
|
}
|
|
255
|
-
.
|
|
256
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li:not(#\9):last-child > hr {
|
|
256
257
|
grid-row: 1;
|
|
257
258
|
}
|
|
258
|
-
.
|
|
259
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li:not(#\9):only-of-type > hr {
|
|
259
260
|
display: none;
|
|
260
261
|
}
|
|
261
|
-
.
|
|
262
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li:not(#\9):not(:first-child):not(:last-child) > hr {
|
|
262
263
|
grid-row: 1/span 3;
|
|
263
264
|
}
|
|
264
|
-
.
|
|
265
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li.awsui_active_1xupv_jh74v_239 > a:not(#\9) {
|
|
265
266
|
cursor: text;
|
|
266
267
|
}
|
|
267
|
-
.
|
|
268
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li.awsui_active_1xupv_jh74v_239 > a > .awsui_circle_1xupv_jh74v_202:not(#\9) {
|
|
268
269
|
background-color: var(--color-background-control-checked-w517i0, #0972d3);
|
|
269
270
|
box-shadow: 0 0 0 3px var(--color-background-container-content-4un1ap, #ffffff), 0 0 0 5px var(--color-background-control-checked-w517i0, #0972d3), 0 0 0 7px var(--color-background-container-content-4un1ap, #ffffff);
|
|
270
271
|
}
|
|
271
|
-
.
|
|
272
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li.awsui_active_1xupv_jh74v_239 > a > .awsui_title_1xupv_jh74v_210:not(#\9) {
|
|
272
273
|
color: var(--color-background-control-checked-w517i0, #0972d3);
|
|
273
274
|
font-weight: 700;
|
|
274
275
|
}
|
|
275
|
-
.
|
|
276
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li.awsui_disabled_1xupv_jh74v_250 > a:not(#\9) {
|
|
276
277
|
cursor: text;
|
|
277
278
|
}
|
|
278
|
-
.
|
|
279
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li.awsui_disabled_1xupv_jh74v_250 > a > .awsui_circle_1xupv_jh74v_202:not(#\9) {
|
|
279
280
|
background-color: var(--color-background-container-content-4un1ap, #ffffff);
|
|
280
281
|
box-shadow: 0 0 0 2px var(--color-text-interactive-disabled-z7a3t4, #9ba7b6), 0 0 0 4px var(--color-background-container-content-4un1ap, #ffffff);
|
|
281
282
|
}
|
|
282
|
-
.
|
|
283
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li.awsui_disabled_1xupv_jh74v_250 > a > .awsui_title_1xupv_jh74v_210:not(#\9) {
|
|
283
284
|
color: var(--color-text-status-inactive-m7co45, #5f6b7a);
|
|
284
285
|
}
|
|
285
|
-
.
|
|
286
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li.awsui_enabled_1xupv_jh74v_260 > a > .awsui_circle_1xupv_jh74v_202:not(#\9) {
|
|
286
287
|
background-color: var(--color-text-interactive-default-lnx6lk, #414d5c);
|
|
287
288
|
box-shadow: 0 0 0 2px var(--color-text-interactive-default-lnx6lk, #414d5c), 0 0 0 4px var(--color-background-container-content-4un1ap, #ffffff);
|
|
288
289
|
}
|
|
289
|
-
.
|
|
290
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li.awsui_enabled_1xupv_jh74v_260 > a > .awsui_title_1xupv_jh74v_210:not(#\9) {
|
|
290
291
|
color: var(--color-text-interactive-default-lnx6lk, #414d5c);
|
|
291
292
|
}
|
|
292
|
-
.
|
|
293
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li.awsui_enabled_1xupv_jh74v_260 > a:not(#\9):hover > .awsui_circle_1xupv_jh74v_202 {
|
|
293
294
|
background-color: var(--color-background-control-checked-w517i0, #0972d3);
|
|
294
295
|
box-shadow: 0 0 0 2px var(--color-background-control-checked-w517i0, #0972d3), 0 0 0 4px var(--color-background-container-content-4un1ap, #ffffff);
|
|
295
296
|
}
|
|
296
|
-
.
|
|
297
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_refresh_1xupv_jh74v_107 > ul > li.awsui_enabled_1xupv_jh74v_260 > a:not(#\9):hover > .awsui_title_1xupv_jh74v_210 {
|
|
297
298
|
color: var(--color-background-control-checked-w517i0, #0972d3);
|
|
298
299
|
}
|
|
299
300
|
|
|
300
|
-
.
|
|
301
|
+
.awsui_navigation_1xupv_jh74v_123:not(#\9):not(.awsui_refresh_1xupv_jh74v_107) {
|
|
301
302
|
color: var(--color-text-disabled-f4c52h, #9ba7b6);
|
|
302
303
|
display: inline-block;
|
|
303
304
|
margin-right: calc(2 * var(--space-xxxl-4x2gki, 40px));
|
|
@@ -305,89 +306,89 @@ body[data-awsui-focus-visible=true] .awsui_navigation_1xupv_1ies2_123.awsui_refr
|
|
|
305
306
|
padding-top: var(--space-xxs-p8yyaw, 4px);
|
|
306
307
|
width: 200px;
|
|
307
308
|
}
|
|
308
|
-
.
|
|
309
|
+
.awsui_navigation_1xupv_jh74v_123:not(#\9):not(.awsui_refresh_1xupv_jh74v_107) > ul {
|
|
309
310
|
list-style: none;
|
|
310
311
|
padding: 0;
|
|
311
312
|
margin: 0;
|
|
312
313
|
}
|
|
313
|
-
.
|
|
314
|
+
.awsui_navigation_1xupv_jh74v_123:not(#\9):not(.awsui_refresh_1xupv_jh74v_107) > ul > li {
|
|
314
315
|
min-width: 0;
|
|
315
316
|
-ms-word-break: break-all;
|
|
316
317
|
word-break: break-word;
|
|
317
318
|
padding-bottom: var(--space-scaled-m-mo5yse, 16px);
|
|
318
319
|
padding-top: 0;
|
|
319
320
|
}
|
|
320
|
-
.
|
|
321
|
+
.awsui_navigation_1xupv_jh74v_123:not(#\9):not(.awsui_refresh_1xupv_jh74v_107) > ul > li:not(:first-child) {
|
|
321
322
|
margin-top: var(--space-scaled-m-mo5yse, 16px);
|
|
322
323
|
}
|
|
323
|
-
.
|
|
324
|
+
.awsui_navigation_1xupv_jh74v_123:not(#\9):not(.awsui_refresh_1xupv_jh74v_107) > ul > li:not(:last-child) {
|
|
324
325
|
border-bottom: var(--border-divider-list-width-27y3k5, 1px) solid var(--color-border-layout-ownedw, #d1d5db);
|
|
325
326
|
}
|
|
326
327
|
|
|
327
|
-
.
|
|
328
|
+
.awsui_form_1xupv_jh74v_302:not(#\9):not(.awsui_refresh_1xupv_jh74v_107) {
|
|
328
329
|
min-width: 0;
|
|
329
330
|
-ms-word-break: break-all;
|
|
330
331
|
word-break: break-word;
|
|
331
332
|
width: 100%;
|
|
332
333
|
}
|
|
333
|
-
.
|
|
334
|
+
.awsui_form_1xupv_jh74v_302:not(#\9):not(.awsui_refresh_1xupv_jh74v_107) > .awsui_form-header_1xupv_jh74v_308 {
|
|
334
335
|
position: relative;
|
|
335
336
|
margin-bottom: var(--space-scaled-m-mo5yse, 16px);
|
|
336
337
|
}
|
|
337
338
|
|
|
338
|
-
.
|
|
339
|
+
.awsui_form_1xupv_jh74v_302.awsui_refresh_1xupv_jh74v_107:not(#\9) {
|
|
339
340
|
min-width: 0;
|
|
340
341
|
-ms-word-break: break-all;
|
|
341
342
|
word-break: break-word;
|
|
342
343
|
display: contents;
|
|
343
344
|
}
|
|
344
|
-
.
|
|
345
|
+
.awsui_form_1xupv_jh74v_302.awsui_refresh_1xupv_jh74v_107 > .awsui_background_1xupv_jh74v_319:not(#\9) {
|
|
345
346
|
background-color: var(--color-background-layout-main-nx09lr, #ffffff);
|
|
346
347
|
grid-column: 1/span 2;
|
|
347
348
|
grid-row: 1;
|
|
348
349
|
color: var(--color-text-body-default-2sxhhn, #000716);
|
|
349
350
|
}
|
|
350
|
-
.
|
|
351
|
+
.awsui_form_1xupv_jh74v_302.awsui_refresh_1xupv_jh74v_107 > .awsui_form-header_1xupv_jh74v_308:not(#\9) {
|
|
351
352
|
background-color: var(--color-background-layout-main-nx09lr, #ffffff);
|
|
352
353
|
grid-column: 2;
|
|
353
354
|
grid-row: 1;
|
|
354
355
|
color: var(--color-text-body-default-2sxhhn, #000716);
|
|
355
356
|
}
|
|
356
|
-
.
|
|
357
|
+
.awsui_form_1xupv_jh74v_302.awsui_refresh_1xupv_jh74v_107 > .awsui_form-header_1xupv_jh74v_308 > .awsui_form-header-content_1xupv_jh74v_331:not(#\9) {
|
|
357
358
|
padding-top: calc(var(--awsui-container-first-gap-zw2xxa, 0px) + var(--space-s-34lx8l, 12px));
|
|
358
359
|
padding-bottom: var(--space-scaled-m-mo5yse, 16px);
|
|
359
360
|
}
|
|
360
|
-
.
|
|
361
|
+
.awsui_form_1xupv_jh74v_302.awsui_refresh_1xupv_jh74v_107 > .awsui_form-component_1xupv_jh74v_335:not(#\9) {
|
|
361
362
|
grid-column: 2;
|
|
362
363
|
grid-row: 2;
|
|
363
364
|
}
|
|
364
|
-
.
|
|
365
|
+
.awsui_form_1xupv_jh74v_302.awsui_refresh_1xupv_jh74v_107.awsui_small-container_1xupv_jh74v_114 > .awsui_form-header_1xupv_jh74v_308:not(#\9) {
|
|
365
366
|
grid-column: 1/span 2;
|
|
366
367
|
}
|
|
367
|
-
.
|
|
368
|
+
.awsui_form_1xupv_jh74v_302.awsui_refresh_1xupv_jh74v_107.awsui_small-container_1xupv_jh74v_114 > .awsui_form-header_1xupv_jh74v_308 > .awsui_form-header-content_1xupv_jh74v_331:not(#\9) {
|
|
368
369
|
padding-top: 0;
|
|
369
370
|
}
|
|
370
|
-
.
|
|
371
|
+
.awsui_form_1xupv_jh74v_302.awsui_refresh_1xupv_jh74v_107.awsui_small-container_1xupv_jh74v_114 > .awsui_form-component_1xupv_jh74v_335:not(#\9) {
|
|
371
372
|
grid-column: 1/span 2;
|
|
372
373
|
}
|
|
373
374
|
|
|
374
|
-
.
|
|
375
|
+
.awsui_navigation_1xupv_jh74v_123.awsui_hidden_1xupv_jh74v_349:not(#\9) {
|
|
375
376
|
display: none;
|
|
376
377
|
}
|
|
377
378
|
|
|
378
|
-
.awsui_collapsed-
|
|
379
|
+
.awsui_collapsed-steps_1xupv_jh74v_353:not(#\9) {
|
|
379
380
|
color: var(--color-text-heading-secondary-37b2tq, #414d5c);
|
|
380
381
|
font-weight: 700;
|
|
381
382
|
padding-top: var(--space-scaled-xxs-7597g1, 4px);
|
|
382
383
|
}
|
|
383
|
-
.awsui_collapsed-steps-
|
|
384
|
+
.awsui_collapsed-steps-hidden_1xupv_jh74v_358:not(#\9) {
|
|
384
385
|
display: none;
|
|
385
386
|
}
|
|
386
387
|
|
|
387
|
-
.awsui_form-header-component-
|
|
388
|
+
.awsui_form-header-component-wrapper_1xupv_jh74v_362:not(#\9) {
|
|
388
389
|
outline: none;
|
|
389
390
|
}
|
|
390
|
-
body[data-awsui-focus-visible=true] .awsui_form-header-component-
|
|
391
|
+
body[data-awsui-focus-visible=true] .awsui_form-header-component-wrapper_1xupv_jh74v_362:not(#\9):focus {
|
|
391
392
|
outline: thin dotted;
|
|
392
393
|
outline: var(--border-link-focus-ring-outline-kkfop6, 0);
|
|
393
394
|
outline-offset: 2px;
|
|
@@ -396,30 +397,30 @@ body[data-awsui-focus-visible=true] .awsui_form-header-component-wrapper_1xupv_1
|
|
|
396
397
|
box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-v8hkrl, 2px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
397
398
|
}
|
|
398
399
|
|
|
399
|
-
.awsui_form-header-
|
|
400
|
-
.awsui_navigation-
|
|
401
|
-
.awsui_navigation-link-
|
|
402
|
-
.awsui_navigation-link-
|
|
400
|
+
.awsui_form-header-component_1xupv_jh74v_362:not(#\9),
|
|
401
|
+
.awsui_navigation-link_1xupv_jh74v_375:not(#\9),
|
|
402
|
+
.awsui_navigation-link-item_1xupv_jh74v_376:not(#\9),
|
|
403
|
+
.awsui_navigation-link-label_1xupv_jh74v_377:not(#\9) {
|
|
403
404
|
/* used in test-utils */
|
|
404
405
|
}
|
|
405
406
|
|
|
406
|
-
.awsui_navigation-link-
|
|
407
|
+
.awsui_navigation-link-active_1xupv_jh74v_381:not(#\9) {
|
|
407
408
|
font-weight: 700;
|
|
408
409
|
color: var(--color-text-body-default-2sxhhn, #000716);
|
|
409
410
|
}
|
|
410
411
|
|
|
411
|
-
.awsui_navigation-link-
|
|
412
|
+
.awsui_navigation-link-disabled_1xupv_jh74v_386:not(#\9) {
|
|
412
413
|
color: var(--color-text-status-inactive-m7co45, #5f6b7a);
|
|
413
414
|
}
|
|
414
415
|
|
|
415
|
-
.awsui_cancel-
|
|
416
|
-
.awsui_previous-
|
|
417
|
-
.awsui_primary-
|
|
418
|
-
.awsui_skip-to-
|
|
416
|
+
.awsui_cancel-button_1xupv_jh74v_390:not(#\9),
|
|
417
|
+
.awsui_previous-button_1xupv_jh74v_391:not(#\9),
|
|
418
|
+
.awsui_primary-button_1xupv_jh74v_392:not(#\9),
|
|
419
|
+
.awsui_skip-to-button_1xupv_jh74v_393:not(#\9) {
|
|
419
420
|
/* used in test-utils */
|
|
420
421
|
}
|
|
421
422
|
|
|
422
|
-
.awsui_action-
|
|
423
|
+
.awsui_action-buttons_1xupv_jh74v_397:not(#\9) {
|
|
423
424
|
display: flex;
|
|
424
425
|
justify-content: flex-end;
|
|
425
426
|
}
|
|
@@ -2,36 +2,36 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"wizard": "
|
|
7
|
-
"refresh": "
|
|
8
|
-
"small-container": "awsui_small-
|
|
9
|
-
"navigation": "
|
|
10
|
-
"number": "
|
|
11
|
-
"circle": "
|
|
12
|
-
"title": "
|
|
13
|
-
"active": "
|
|
14
|
-
"disabled": "
|
|
15
|
-
"enabled": "
|
|
16
|
-
"form": "
|
|
17
|
-
"form-header": "awsui_form-
|
|
18
|
-
"background": "
|
|
19
|
-
"form-header-content": "awsui_form-header-
|
|
20
|
-
"form-component": "awsui_form-
|
|
21
|
-
"hidden": "
|
|
22
|
-
"collapsed-steps": "awsui_collapsed-
|
|
23
|
-
"collapsed-steps-hidden": "awsui_collapsed-steps-
|
|
24
|
-
"form-header-component-wrapper": "awsui_form-header-component-
|
|
25
|
-
"form-header-component": "awsui_form-header-
|
|
26
|
-
"navigation-link": "awsui_navigation-
|
|
27
|
-
"navigation-link-item": "awsui_navigation-link-
|
|
28
|
-
"navigation-link-label": "awsui_navigation-link-
|
|
29
|
-
"navigation-link-active": "awsui_navigation-link-
|
|
30
|
-
"navigation-link-disabled": "awsui_navigation-link-
|
|
31
|
-
"cancel-button": "awsui_cancel-
|
|
32
|
-
"previous-button": "awsui_previous-
|
|
33
|
-
"primary-button": "awsui_primary-
|
|
34
|
-
"skip-to-button": "awsui_skip-to-
|
|
35
|
-
"action-buttons": "awsui_action-
|
|
5
|
+
"root": "awsui_root_1xupv_jh74v_94",
|
|
6
|
+
"wizard": "awsui_wizard_1xupv_jh74v_107",
|
|
7
|
+
"refresh": "awsui_refresh_1xupv_jh74v_107",
|
|
8
|
+
"small-container": "awsui_small-container_1xupv_jh74v_114",
|
|
9
|
+
"navigation": "awsui_navigation_1xupv_jh74v_123",
|
|
10
|
+
"number": "awsui_number_1xupv_jh74v_186",
|
|
11
|
+
"circle": "awsui_circle_1xupv_jh74v_202",
|
|
12
|
+
"title": "awsui_title_1xupv_jh74v_210",
|
|
13
|
+
"active": "awsui_active_1xupv_jh74v_239",
|
|
14
|
+
"disabled": "awsui_disabled_1xupv_jh74v_250",
|
|
15
|
+
"enabled": "awsui_enabled_1xupv_jh74v_260",
|
|
16
|
+
"form": "awsui_form_1xupv_jh74v_302",
|
|
17
|
+
"form-header": "awsui_form-header_1xupv_jh74v_308",
|
|
18
|
+
"background": "awsui_background_1xupv_jh74v_319",
|
|
19
|
+
"form-header-content": "awsui_form-header-content_1xupv_jh74v_331",
|
|
20
|
+
"form-component": "awsui_form-component_1xupv_jh74v_335",
|
|
21
|
+
"hidden": "awsui_hidden_1xupv_jh74v_349",
|
|
22
|
+
"collapsed-steps": "awsui_collapsed-steps_1xupv_jh74v_353",
|
|
23
|
+
"collapsed-steps-hidden": "awsui_collapsed-steps-hidden_1xupv_jh74v_358",
|
|
24
|
+
"form-header-component-wrapper": "awsui_form-header-component-wrapper_1xupv_jh74v_362",
|
|
25
|
+
"form-header-component": "awsui_form-header-component_1xupv_jh74v_362",
|
|
26
|
+
"navigation-link": "awsui_navigation-link_1xupv_jh74v_375",
|
|
27
|
+
"navigation-link-item": "awsui_navigation-link-item_1xupv_jh74v_376",
|
|
28
|
+
"navigation-link-label": "awsui_navigation-link-label_1xupv_jh74v_377",
|
|
29
|
+
"navigation-link-active": "awsui_navigation-link-active_1xupv_jh74v_381",
|
|
30
|
+
"navigation-link-disabled": "awsui_navigation-link-disabled_1xupv_jh74v_386",
|
|
31
|
+
"cancel-button": "awsui_cancel-button_1xupv_jh74v_390",
|
|
32
|
+
"previous-button": "awsui_previous-button_1xupv_jh74v_391",
|
|
33
|
+
"primary-button": "awsui_primary-button_1xupv_jh74v_392",
|
|
34
|
+
"skip-to-button": "awsui_skip-to-button_1xupv_jh74v_393",
|
|
35
|
+
"action-buttons": "awsui_action-buttons_1xupv_jh74v_397"
|
|
36
36
|
};
|
|
37
37
|
|