@cloudscape-design/components 3.0.706 → 3.0.708
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/container/interfaces.d.ts +9 -0
- package/container/interfaces.d.ts.map +1 -1
- package/container/interfaces.js.map +1 -1
- package/expandable-section/interfaces.d.ts +9 -0
- package/expandable-section/interfaces.d.ts.map +1 -1
- package/expandable-section/interfaces.js.map +1 -1
- package/form/interfaces.d.ts +14 -0
- package/form/interfaces.d.ts.map +1 -1
- package/form/interfaces.js.map +1 -1
- package/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.ar.js +1 -1
- package/i18n/messages/all.ar.json +1 -1
- package/i18n/messages/all.de.js +1 -1
- package/i18n/messages/all.de.json +1 -1
- package/i18n/messages/all.en-GB.js +1 -1
- package/i18n/messages/all.en-GB.json +1 -1
- package/i18n/messages/all.en.js +1 -1
- package/i18n/messages/all.en.json +1 -1
- package/i18n/messages/all.es.js +1 -1
- package/i18n/messages/all.es.json +1 -1
- package/i18n/messages/all.fr.js +1 -1
- package/i18n/messages/all.fr.json +1 -1
- package/i18n/messages/all.id.js +1 -1
- package/i18n/messages/all.id.json +1 -1
- package/i18n/messages/all.it.js +1 -1
- package/i18n/messages/all.it.json +1 -1
- package/i18n/messages/all.ja.js +1 -1
- package/i18n/messages/all.ja.json +1 -1
- package/i18n/messages/all.ko.js +1 -1
- package/i18n/messages/all.ko.json +1 -1
- package/i18n/messages/all.pt-BR.js +1 -1
- package/i18n/messages/all.pt-BR.json +1 -1
- package/i18n/messages/all.th.js +1 -1
- package/i18n/messages/all.th.json +1 -1
- package/i18n/messages/all.tr.js +1 -1
- package/i18n/messages/all.tr.json +1 -1
- package/i18n/messages/all.zh-CN.js +1 -1
- package/i18n/messages/all.zh-CN.json +1 -1
- package/i18n/messages/all.zh-TW.js +1 -1
- package/i18n/messages/all.zh-TW.json +1 -1
- package/i18n/messages-types.d.ts +1 -1
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +1 -1
- package/internal/analytics/hooks/use-funnel.d.ts +1 -1
- package/internal/analytics/interfaces.d.ts +16 -15
- package/internal/analytics/interfaces.d.ts.map +1 -1
- package/internal/analytics/interfaces.js.map +1 -1
- package/internal/base-component/index.d.ts +10 -1
- package/internal/base-component/index.d.ts.map +1 -1
- package/internal/base-component/index.js +5 -1
- package/internal/base-component/index.js.map +1 -1
- package/internal/components/token-list/styles.css.js +9 -9
- package/internal/components/token-list/styles.scoped.css +22 -22
- package/internal/components/token-list/styles.selectors.js +9 -9
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/property-filter/i18n-utils.d.ts +9 -0
- package/property-filter/i18n-utils.d.ts.map +1 -0
- package/property-filter/i18n-utils.js +48 -0
- package/property-filter/i18n-utils.js.map +1 -0
- package/property-filter/index.d.ts.map +1 -1
- package/property-filter/index.js +5 -38
- package/property-filter/index.js.map +1 -1
- package/property-filter/interfaces.d.ts +8 -1
- package/property-filter/interfaces.d.ts.map +1 -1
- package/property-filter/interfaces.js.map +1 -1
- package/property-filter/token.d.ts.map +1 -1
- package/property-filter/token.js +12 -13
- package/property-filter/token.js.map +1 -1
- package/property-filter/utils.d.ts +0 -6
- package/property-filter/utils.d.ts.map +1 -1
- package/property-filter/utils.js +0 -8
- package/property-filter/utils.js.map +1 -1
- package/table/interfaces.d.ts +9 -0
- package/table/interfaces.d.ts.map +1 -1
- package/table/interfaces.js.map +1 -1
- package/tabs/styles.css.js +28 -28
- package/tabs/styles.scoped.css +49 -54
- package/tabs/styles.selectors.js +28 -28
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +4 -3
- package/tabs/tab-header-bar.js.map +1 -1
- package/tabs/test-classes/styles.css.js +6 -0
- package/tabs/test-classes/styles.scoped.css +7 -0
- package/tabs/test-classes/styles.selectors.js +7 -0
- package/test-utils/dom/tabs/index.js +4 -3
- package/test-utils/dom/tabs/index.js.map +1 -1
- package/test-utils/selectors/tabs/index.js +4 -3
- package/test-utils/selectors/tabs/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/wizard/interfaces.d.ts +20 -0
- package/wizard/interfaces.d.ts.map +1 -1
- package/wizard/interfaces.js.map +1 -1
package/table/interfaces.d.ts
CHANGED
|
@@ -9,6 +9,12 @@ export interface TableForwardRefType {
|
|
|
9
9
|
}): JSX.Element;
|
|
10
10
|
}
|
|
11
11
|
export interface TableProps<T = any> extends BaseComponentProps {
|
|
12
|
+
/**
|
|
13
|
+
* Specifies additional analytics-related metadata.
|
|
14
|
+
* * `instanceIdentifier` - A unique string that identifies this component instance in your application.
|
|
15
|
+
* @analytics
|
|
16
|
+
*/
|
|
17
|
+
analyticsMetadata?: TableProps.AnalyticsMetadata;
|
|
12
18
|
/**
|
|
13
19
|
* Heading element of the table container. Use the [header component](/components/header/).
|
|
14
20
|
*/
|
|
@@ -326,6 +332,9 @@ export interface TableProps<T = any> extends BaseComponentProps {
|
|
|
326
332
|
renderLoaderError?: (detail: TableProps.RenderLoaderDetail<T>) => React.ReactNode;
|
|
327
333
|
}
|
|
328
334
|
export declare namespace TableProps {
|
|
335
|
+
interface AnalyticsMetadata {
|
|
336
|
+
instanceIdentifier?: string;
|
|
337
|
+
}
|
|
329
338
|
type TrackBy<T> = string | ((item: T) => string);
|
|
330
339
|
interface CellContext<V> {
|
|
331
340
|
currentValue: Optional<V>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/table/interfaces.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EAAE,QAAQ,EAAE,MAA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,IAAI,EAAE,CAAC,CAAC;CACT;AAED,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,IAAI,GAAG,CAAC,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,UAAU,CAAC,aAAa,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;CACd"}
|
package/table/interfaces.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/table/interfaces.tsx"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../internal/base-component';\nimport { CancelableEventHandler, NonCancelableEventHandler } from '../internal/events';\nimport { Optional } from '../internal/types';\nimport ColumnDisplayProperties = TableProps.ColumnDisplayProperties;\n\n/*\n * HACK: Cast the component to a named parametrized interface.\n *\n * This lets us use React.forwardRef and still let the component have type\n * parameters, and the naming convention lets the documenter know that this is\n * a forwardRef-wrapped component.\n *\n * We don't need to expose this type to customers because it's just a simple\n * function type.\n */\nexport interface TableForwardRefType {\n <T>(props: TableProps<T> & { ref?: React.Ref<TableProps.Ref> }): JSX.Element;\n}\n\nexport interface TableProps<T = any> extends BaseComponentProps {\n /**\n * Heading element of the table container. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Footer of the table container.\n */\n footer?: React.ReactNode;\n\n /**\n * Displayed when the `items` property is an empty array. Use it to render an empty or no-match state.\n */\n empty?: React.ReactNode;\n\n /**\n * Specifies the data that's displayed in the table rows. Each item contains the data for one row. The display of a row is handled\n * by the `cell` property of each column definition in the `columnDefinitions` property.\n */\n items: ReadonlyArray<T>;\n\n /**\n * Renders the table in a loading state. We recommend that you also set a `loadingText`.\n */\n loading?: boolean;\n\n /**\n * Specifies the text that's displayed when the table is in a loading state.\n */\n loadingText?: string;\n\n /**\n * Specifies a property that uniquely identifies an individual item.\n * When it's set, it's used to provide [keys for React](https://reactjs.org/docs/lists-and-keys.html#keys)\n * for performance optimizations.\n *\n * It's also used to connect `items` and `selectedItems` or `expandableRows.expandedItems` values when they reference different objects.\n */\n trackBy?: TableProps.TrackBy<T>;\n\n /**\n * The columns configuration object\n * * `id` (string) - Specifies a unique column identifier. The property is used 1) as a [keys](https://reactjs.org/docs/lists-and-keys.html#keys) source for React rendering,\n * and 2) to match entries in the `columnDisplay` property, if defined.\n * * `header` (ReactNode) - Determines the display of the column header.\n * * `cell` ((item) => ReactNode) - Determines the display of a cell's content. You receive the current table row\n * item as an argument.\n * * `width` (string | number) - Specifies the column width. Corresponds to the `width` css-property. If the width is not set,\n * the browser automatically adjusts the column width based on the content. When `resizableColumns` property is\n * set to `true`, additional constraints apply: 1) string values are not allowed, and 2) the last visible column always\n * fills the remaining space of the table so the specified width is ignored.\n * * `minWidth` (string | number) - Specifies the minimum column width. Corresponds to the `min-width` css-property. When\n * `resizableColumns` property is set to `true`, additional constraints apply: 1) string values are not allowed,\n * and 2) the column can't resize below than the specified width (defaults to \"120px\"). We recommend that you set a minimum width\n * of at least 176px for columns that are editable.\n * * `maxWidth` (string | number) - Specifies the maximum column width. Corresponds to the `max-width` css-property.\n * Note that when the `resizableColumns` property is set to `true` this property is ignored.\n * * `ariaLabel` (LabelData => string) - An optional function that's called to provide an `aria-label` for the cell header.\n * It receives the current sorting state of this column, the direction it's sorted in, and an indication of\n * whether the sorting is disabled, as three Boolean values: `sorted`, `descending` and `disabled`.\n * We recommend that you use this for sortable columns to provide more meaningful labels based on the\n * current sorting direction.\n * * `sortingField` (string) - Enables default column sorting. The value is used in [collection hooks](/get-started/dev-guides/collection-hooks/)\n * to reorder the items. Provide the name of the property within each item that should be used for sorting by this column.\n * For more complex sorting use `sortingComparator` instead.\n * * `sortingComparator` ((T, T) => number) - Enables custom column sorting. The value is used in [collection hooks](/get-started/dev-guides/collection-hooks/)\n * to reorder the items. This property accepts a custom comparator that is used to compare two items.\n * The comparator must implement ascending ordering, and the output is inverted automatically in case of descending order.\n * If present, the `sortingField` property is ignored.\n * * `editConfig` (EditConfig) - Enables inline editing in column when present. The value is used to configure the editing behavior.\n * * `editConfig.ariaLabel` (string) - Specifies a label for the edit control. Visually hidden but read by screen readers.\n * * `editConfig.errorIconAriaLabel` (string) - Specifies an ariaLabel for the error icon that is displayed when the validation fails.\n * * `editConfig.editIconAriaLabel` (string) - Specifies an alternate text for the edit icon used in column header.\n * * `editConfig.constraintText` (string) - Constraint text that is displayed below the edit control.\n * * `editConfig.disabledReason` ((item) => string | undefined) - A function that determines whether inline edit for certain items is disabled, and provides a reason why.\n * Return a string from the function to disable inline edit with a reason. Return `undefined` (or no return) from the function allow inline edit.\n * * `editConfig.validation` ((item, value) => string) - A function that allows you to validate the value of the edit control.\n * Return a string from the function to display an error message. Return `undefined` (or no return) from the function to indicate that the value is valid.\n * * `editConfig.editingCell` ((item, cellContext) => ReactNode) - Determines the display of a cell's content when inline editing is active on a cell;\n * You receive the current table row `item` and a `cellContext` object as arguments.\n * The `cellContext` object contains the following properties:\n * * `cellContext.currentValue` - State to keep track of a value in input fields while editing.\n * * `cellContext.setValue` - Function to update `currentValue`. This should be called when the value in input field changes.\n * * `isRowHeader` (boolean) - Specifies that cells in this column should be used as row headers.\n * * `verticalAlign` ('middle' | 'top') - Determines the alignment of the content in the table cell.\n */\n columnDefinitions: ReadonlyArray<TableProps.ColumnDefinition<T>>;\n /**\n * Specifies the selection type (`'single' | 'multi'`).\n */\n selectionType?: TableProps.SelectionType;\n /**\n * List of selected items.\n */\n selectedItems?: ReadonlyArray<T>;\n\n /**\n * Use this slot to add filtering controls to the table.\n */\n filter?: React.ReactNode;\n\n /**\n * Use this slot to add the [pagination component](/components/pagination/) to the table.\n */\n pagination?: React.ReactNode;\n\n /**\n * Use this slot to add [collection preferences](/components/collection-preferences/) to the table.\n */\n preferences?: React.ReactNode;\n\n /**\n * Determines whether a given item is disabled. If an item is disabled, the user can't select it.\n */\n isItemDisabled?: TableProps.IsItemDisabled<T>;\n\n /**\n * Specifies if text wraps within table cells. If set to `true`, long text within cells may wrap onto\n * multiple lines instead of being truncated with an ellipsis.\n */\n wrapLines?: boolean;\n\n /**\n * Specifies if table rows alternate being shaded and unshaded. If set to `true`, every other row will be shaded.\n */\n stripedRows?: boolean;\n\n /**\n * Toggles the content density of the table. Defaults to `'comfortable'`.\n */\n contentDensity?: 'comfortable' | 'compact';\n\n /**\n * Specifies if columns can be resized. If set to `true`, users can resize the columns in the table.\n */\n resizableColumns?: boolean;\n\n /**\n * Specifies alternative text for the selection components (checkboxes and radio buttons) as follows:\n * * `itemSelectionLabel` ((SelectionState, Item) => string) - Specifies the alternative text for an item.\n * * `allItemsSelectionLabel` ((SelectionState) => string) - Specifies the alternative text for multi-selection column header.\n * * `selectionGroupLabel` (string) - Specifies the alternative text for the whole selection and single-selection column header.\n * It is prefixed to `itemSelectionLabel` and `allItemsSelectionLabel` when they are set.\n * You can use the first argument of type `SelectionState` to access the current selection\n * state of the component (for example, the `selectedItems` list). The `itemSelectionLabel` for individual\n * items also receives the corresponding `Item` object. You can use the `selectionGroupLabel` to\n * add a meaningful description to the whole selection.\n * * `tableLabel` (string) - Provides an alternative text for the table. If you use a header for this table, you may reuse the string\n * to provide a caption-like description. For example, tableLabel=Instances will be announced as 'Instances table'.\n * * `resizerRoleDescription` (string) - Provides role description for table column resizer buttons.\n * * `activateEditLabel` (EditableColumnDefinition, Item) => string -\n * Specifies an alternative text for the edit button in editable cells.\n * * `cancelEditLabel` (EditableColumnDefinition) => string -\n * Specifies an alternative text for the cancel button in editable cells.\n * * `submitEditLabel` (EditableColumnDefinition) => string -\n * Specifies an alternative text for the submit button in editable cells.\n * * `successfulEditLabel` (EditableColumnDefinition) => string -\n * Specifies an alternative text for the success icon in editable cells. This text is also announced to screen readers.\n * * `submittingEditText` (EditableColumnDefinition) => string -\n * Specifies a text that is announced to screen readers when a cell edit operation is submitted.\n * * `expandButtonLabel` (Item) => string - Specifies an alternative text for row expand button.\n * * `collapseButtonLabel` (Item) => string - Specifies an alternative text for row collapse button.\n * @i18n\n */\n ariaLabels?: TableProps.AriaLabels<T>;\n\n /**\n * Specifies the definition object of the currently sorted column. Make sure you pass an object that's\n * present in the `columnDefinitions` array.\n */\n sortingColumn?: TableProps.SortingColumn<T>;\n /**\n * Specifies whether to use a descending sort order.\n */\n sortingDescending?: boolean;\n /**\n * Specifies if sorting buttons are disabled. For example, use this property\n * to prevent the user from sorting before items are fully loaded.\n */\n sortingDisabled?: boolean;\n\n /**\n * Specifies the number of first and/or last columns that should be sticky.\n *\n * If the available scrollable space is less than a certain threshold, the feature is deactivated.\n *\n * Use it in conjunction with the sticky columns preference of the\n * [collection preferences](/components/collection-preferences/) component.\n *\n */\n stickyColumns?: TableProps.StickyColumns;\n\n /**\n * Specifies an array that represents the table columns in the order in which they will be displayed, together with their visibility.\n *\n * If not set, all columns are displayed and the order is dictated by the `columnDefinitions` property.\n *\n * Use it in conjunction with the content display preference of the [collection preferences](/components/collection-preferences/) component.\n */\n columnDisplay?: ReadonlyArray<ColumnDisplayProperties>;\n\n /**\n * Specifies an array containing the `id`s of visible columns. If not set, all columns are displayed.\n *\n * Use it in conjunction with the visible content preference of the [collection preferences](/components/collection-preferences/) component.\n *\n * The order of ids doesn't influence the order in which columns are displayed - this is dictated by the `columnDefinitions` property.\n *\n * @deprecated Replaced by `columnDisplay`.\n */\n visibleColumns?: ReadonlyArray<string>;\n\n /**\n * Fired when the user resizes a table column. The event detail contains an array of column widths in pixels,\n * including the hidden via preferences columns. Use this event to persist the column widths.\n */\n onColumnWidthsChange?: NonCancelableEventHandler<TableProps.ColumnWidthsChangeDetail>;\n\n /**\n * Called when either the column to sort by or the direction of sorting changes upon user interaction.\n * The event detail contains the current sortingColumn and isDescending.\n */\n onSortingChange?: NonCancelableEventHandler<TableProps.SortingState<T>>;\n\n /**\n * Fired when a user interaction triggers a change in the list of selected items.\n * The event `detail` contains the current list of `selectedItems`.\n */\n onSelectionChange?: NonCancelableEventHandler<TableProps.SelectionChangeDetail<T>>;\n\n /**\n * Note: This feature is provided for backwards compatibility. Its use is not recommended,\n * and it may be deprecated in the future.\n *\n * Called when the user clicked at a table row. The event detail contains the index of the\n * clicked row and the row object itself. Use this event to define a row click behavior.\n */\n onRowClick?: NonCancelableEventHandler<TableProps.OnRowClickDetail<T>>;\n\n /**\n * Note: This feature is provided for backwards compatibility. Its use is not recommended,\n * and it may be deprecated in the future.\n *\n * Called when the user clicked at a table row with the right mouse click. The event detail\n * contains the index of the clicked row and the row object itself. Use this event to override\n * the default browser context menu behavior.\n */\n onRowContextMenu?: CancelableEventHandler<TableProps.OnRowContextMenuDetail<T>>;\n\n /**\n * If set to `true`, the table header remains visible when the user scrolls down.\n *\n * Do not use `stickyHeader` conditionally. Instead, keep its value constant during the component lifecycle.\n */\n stickyHeader?: boolean;\n\n /**\n * Specifies a vertical offset (in pixels) for the sticky header. For example, use this if you\n * need to position the sticky header below other fixed position elements on the page.\n */\n stickyHeaderVerticalOffset?: number;\n\n /**\n * Specify a table variant with one of the following:\n * * `container` - Use this variant to have the table displayed within a container.\n * * `borderless` - Use this variant when the table should have no outer borders or shadow\n * (such as in a dashboard item container).\n * * `embedded` - Use this variant within a parent container (such as a modal, expandable\n * section, container or split panel).\n * **Deprecated**, replaced by `borderless` and `container`.\n * * `stacked` - Use this variant adjacent to other stacked containers (such as a container,\n * table).\n * * `full-page` – Use this variant when the table is the entire content of a page.\n * @visualrefresh `embedded`, `stacked`, and `full-page` variants\n */\n variant?: TableProps.Variant;\n\n /**\n * Use this property to inform screen readers how many items there are in a table.\n * It specifies the total count of all items in a table.\n * If there is an unknown total of items in a table, leave this property undefined.\n */\n totalItemsCount?: number;\n /**\n * Use this property to inform screen readers which range of items is currently displayed in the table.\n * It specifies the index (1-based) of the first item in the table.\n */\n firstIndex?: number;\n /**\n * Use this function to announce page changes to screen reader users.\n * The function argument takes the following properties:\n * * `firstIndex` (number) - The provided `firstIndex` property which defaults to 1 when not defined.\n * * `lastIndex` (number) - The index of the last visible item of the table.\n * * `visibleItemsCount` (number) - The number of rendered table items.\n * * `totalItemsCount` (optional, number) - The provided `totalItemsCount` property.\n * Important: in tables with expandable rows the `firstIndex`, `lastIndex`, and `totalItemsCount` reflect the top-level items only.\n */\n renderAriaLive?: (data: TableProps.LiveAnnouncement) => string;\n /**\n * Specifies a function that will be called after user submits an inline edit.\n * Return a promise to keep loading state while the submit request is in progress.\n */\n submitEdit?: TableProps.SubmitEditFunction<T>;\n\n /**\n * Called whenever user cancels an inline edit. Use this function to reset any\n * validation states, or show warning for unsaved changes.\n */\n onEditCancel?: CancelableEventHandler;\n\n /**\n * Use this property to activate advanced keyboard navigation and focusing behaviors.\n * When set to `true`, table cells become navigable with arrow keys, and the entire table has a single tab stop.\n *\n * By default, the keyboard navigation is active for tables with expandable rows.\n */\n enableKeyboardNavigation?: boolean;\n\n /**\n * Use this property to define expandable table rows. The expandableRows configuration object consists of:\n * * `getItemChildren` ((Item) => Item[]) - Use it to define nested data that are shown when an item gets expanded.\n * * `isItemExpandable` ((Item) => boolean) - Use it for items that can be expanded to show nested data.\n * * `expandedItems` (Item[]) - Use it to represent the expanded state of items.\n * * `onExpandableItemToggle` (TableProps.OnExpandableItemToggle<T>) - Called when an item's expand toggle is clicked.\n */\n expandableRows?: TableProps.ExpandableRows<T>;\n\n /**\n * A function that specifies the current status of loading more items. It is called once for the entire\n * table with `item=null` and then for each expanded item. The function result is one of the four possible states:\n * * `pending` - Indicates that no request in progress, but more options may be loaded.\n * * `loading` - Indicates that data fetching is in progress.\n * * `finished` - Indicates that loading has finished and no more requests are expected.\n * * `error` - Indicates that an error occurred during fetch.\n **/\n getLoadingStatus?: TableProps.GetLoadingStatus<T>;\n /**\n * Defines loader properties for pending state.\n */\n renderLoaderPending?: (detail: TableProps.RenderLoaderDetail<T>) => React.ReactNode;\n /**\n * Defines loader properties for loading state.\n */\n renderLoaderLoading?: (detail: TableProps.RenderLoaderDetail<T>) => React.ReactNode;\n /**\n * Defines loader properties for error state.\n */\n renderLoaderError?: (detail: TableProps.RenderLoaderDetail<T>) => React.ReactNode;\n}\n\nexport namespace TableProps {\n export type TrackBy<T> = string | ((item: T) => string);\n\n export interface CellContext<V> {\n currentValue: Optional<V>;\n setValue: (value: V | undefined) => void;\n }\n\n export interface EditConfig<T, V = any> {\n /**\n * Specifies a label for the edit control. Visually hidden but read\n * by screen readers.\n */\n ariaLabel?: string;\n /**\n * Specifies an ariaLabel for the error icon that is displayed when\n * the validation fails.\n */\n errorIconAriaLabel?: string;\n /**\n * Specifies an alternate text for the edit icon used in column header.\n */\n editIconAriaLabel?: string;\n /**\n * Constraint text that is displayed below the edit control.\n */\n constraintText?: string;\n /**\n * A function that allows you to validate the value of the edit control. Return\n * a string from the function to display an error message. Return\n * `undefined` (or no return) from the function to indicate that the value is valid.\n * @param item - The item that is being edited.\n * @param value - The current value of the edit control.\n */\n validation?: (item: T, value: Optional<V>) => Optional<string>;\n\n /**\n * Determines the display of a cell's content when inline edit is active.\n */\n editingCell(item: T, ctx: TableProps.CellContext<any>): React.ReactNode;\n\n /**\n * Determines whether inline edit for certain items is disabled, and provides a reason why.\n */\n disabledReason?: (item: T) => string | undefined;\n }\n\n export type ColumnDefinition<ItemType> = {\n id?: string;\n header: React.ReactNode;\n ariaLabel?(data: LabelData): string;\n width?: number | string;\n minWidth?: number | string;\n maxWidth?: number | string;\n editConfig?: EditConfig<ItemType>;\n isRowHeader?: boolean;\n verticalAlign?: VerticalAlign;\n cell(item: ItemType): React.ReactNode;\n } & SortingColumn<ItemType>;\n\n export interface StickyColumns {\n first?: number;\n last?: number;\n }\n\n export type VerticalAlign = 'middle' | 'top';\n export type SelectionType = 'single' | 'multi';\n export type Variant = 'container' | 'embedded' | 'borderless' | 'stacked' | 'full-page';\n export interface SelectionState<T> {\n selectedItems: ReadonlyArray<T>;\n }\n export interface SelectionChangeDetail<T> {\n selectedItems: T[];\n }\n export type IsItemDisabled<T> = (item: T) => boolean;\n export interface AriaLabels<T> {\n allItemsSelectionLabel?: (data: TableProps.SelectionState<T>) => string;\n itemSelectionLabel?: (data: TableProps.SelectionState<T>, row: T) => string;\n selectionGroupLabel?: string;\n tableLabel?: string;\n resizerRoleDescription?: string;\n // do not use <T> to prevent overly strict validation on consumer end\n // it works, practically, we are only interested in `id` and `header` properties only\n activateEditLabel?: (column: ColumnDefinition<any>, item: T) => string;\n cancelEditLabel?: (column: ColumnDefinition<any>) => string;\n submitEditLabel?: (column: ColumnDefinition<any>) => string;\n submittingEditText?: (column: ColumnDefinition<any>) => string;\n successfulEditLabel?: (column: ColumnDefinition<any>) => string;\n expandButtonLabel?: (item: T) => string;\n collapseButtonLabel?: (item: T) => string;\n }\n export interface SortingState<T> {\n isDescending?: boolean;\n sortingColumn: SortingColumn<T>;\n }\n export interface SortingColumn<T> {\n sortingField?: string;\n sortingComparator?: (a: T, b: T) => number;\n }\n export interface LabelData {\n sorted: boolean;\n descending: boolean;\n disabled: boolean;\n }\n export interface OnRowClickDetail<T> {\n rowIndex: number;\n item: T;\n }\n export interface OnRowContextMenuDetail<T> {\n rowIndex: number;\n item: T;\n clientX: number;\n clientY: number;\n }\n\n export interface ColumnWidthsChangeDetail {\n widths: ReadonlyArray<number>;\n }\n\n export interface LiveAnnouncement {\n firstIndex: number;\n lastIndex: number;\n visibleItemsCount: number;\n totalItemsCount?: number;\n }\n\n export interface Ref {\n /**\n * When the sticky header is enabled and you call this function, the table\n * scroll parent scrolls to reveal the first row of the table.\n */\n scrollToTop(): void;\n\n /**\n * Dismiss an inline edit if currently active.\n */\n cancelEdit?(): void;\n }\n\n export type SubmitEditFunction<ItemType, ValueType = unknown> = (\n item: ItemType,\n column: ColumnDefinition<ItemType>,\n newValue: ValueType\n ) => Promise<void> | void;\n\n export interface ColumnDisplayProperties {\n id: string;\n visible: boolean;\n }\n\n export interface ExpandableRows<T> {\n getItemChildren: (item: T) => readonly T[];\n isItemExpandable: (item: T) => boolean;\n expandedItems: ReadonlyArray<T>;\n onExpandableItemToggle: TableProps.OnExpandableItemToggle<T>;\n }\n\n export type OnExpandableItemToggle<T> = NonCancelableEventHandler<TableProps.ExpandableItemToggleDetail<T>>;\n\n export interface ExpandableItemToggleDetail<T> {\n item: T;\n expanded: boolean;\n }\n\n export type GetLoadingStatus<T> = (item: null | T) => TableProps.LoadingStatus;\n\n export type LoadingStatus = 'pending' | 'loading' | 'error' | 'finished';\n\n export interface RenderLoaderDetail<T> {\n item: null | T;\n }\n}\n\nexport type TableRow<T> = TableDataRow<T> | TableLoaderRow<T>;\n\nexport interface TableDataRow<T> {\n type: 'data';\n item: T;\n}\n\nexport interface TableLoaderRow<T> {\n type: 'loader';\n item: null | T;\n level: number;\n status: TableProps.LoadingStatus;\n from: number;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/table/interfaces.tsx"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../internal/base-component';\nimport { CancelableEventHandler, NonCancelableEventHandler } from '../internal/events';\nimport { Optional } from '../internal/types';\nimport ColumnDisplayProperties = TableProps.ColumnDisplayProperties;\n\n/*\n * HACK: Cast the component to a named parametrized interface.\n *\n * This lets us use React.forwardRef and still let the component have type\n * parameters, and the naming convention lets the documenter know that this is\n * a forwardRef-wrapped component.\n *\n * We don't need to expose this type to customers because it's just a simple\n * function type.\n */\nexport interface TableForwardRefType {\n <T>(props: TableProps<T> & { ref?: React.Ref<TableProps.Ref> }): JSX.Element;\n}\n\nexport interface TableProps<T = any> extends BaseComponentProps {\n /**\n * Specifies additional analytics-related metadata.\n * * `instanceIdentifier` - A unique string that identifies this component instance in your application.\n * @analytics\n */\n analyticsMetadata?: TableProps.AnalyticsMetadata;\n /**\n * Heading element of the table container. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Footer of the table container.\n */\n footer?: React.ReactNode;\n\n /**\n * Displayed when the `items` property is an empty array. Use it to render an empty or no-match state.\n */\n empty?: React.ReactNode;\n\n /**\n * Specifies the data that's displayed in the table rows. Each item contains the data for one row. The display of a row is handled\n * by the `cell` property of each column definition in the `columnDefinitions` property.\n */\n items: ReadonlyArray<T>;\n\n /**\n * Renders the table in a loading state. We recommend that you also set a `loadingText`.\n */\n loading?: boolean;\n\n /**\n * Specifies the text that's displayed when the table is in a loading state.\n */\n loadingText?: string;\n\n /**\n * Specifies a property that uniquely identifies an individual item.\n * When it's set, it's used to provide [keys for React](https://reactjs.org/docs/lists-and-keys.html#keys)\n * for performance optimizations.\n *\n * It's also used to connect `items` and `selectedItems` or `expandableRows.expandedItems` values when they reference different objects.\n */\n trackBy?: TableProps.TrackBy<T>;\n\n /**\n * The columns configuration object\n * * `id` (string) - Specifies a unique column identifier. The property is used 1) as a [keys](https://reactjs.org/docs/lists-and-keys.html#keys) source for React rendering,\n * and 2) to match entries in the `columnDisplay` property, if defined.\n * * `header` (ReactNode) - Determines the display of the column header.\n * * `cell` ((item) => ReactNode) - Determines the display of a cell's content. You receive the current table row\n * item as an argument.\n * * `width` (string | number) - Specifies the column width. Corresponds to the `width` css-property. If the width is not set,\n * the browser automatically adjusts the column width based on the content. When `resizableColumns` property is\n * set to `true`, additional constraints apply: 1) string values are not allowed, and 2) the last visible column always\n * fills the remaining space of the table so the specified width is ignored.\n * * `minWidth` (string | number) - Specifies the minimum column width. Corresponds to the `min-width` css-property. When\n * `resizableColumns` property is set to `true`, additional constraints apply: 1) string values are not allowed,\n * and 2) the column can't resize below than the specified width (defaults to \"120px\"). We recommend that you set a minimum width\n * of at least 176px for columns that are editable.\n * * `maxWidth` (string | number) - Specifies the maximum column width. Corresponds to the `max-width` css-property.\n * Note that when the `resizableColumns` property is set to `true` this property is ignored.\n * * `ariaLabel` (LabelData => string) - An optional function that's called to provide an `aria-label` for the cell header.\n * It receives the current sorting state of this column, the direction it's sorted in, and an indication of\n * whether the sorting is disabled, as three Boolean values: `sorted`, `descending` and `disabled`.\n * We recommend that you use this for sortable columns to provide more meaningful labels based on the\n * current sorting direction.\n * * `sortingField` (string) - Enables default column sorting. The value is used in [collection hooks](/get-started/dev-guides/collection-hooks/)\n * to reorder the items. Provide the name of the property within each item that should be used for sorting by this column.\n * For more complex sorting use `sortingComparator` instead.\n * * `sortingComparator` ((T, T) => number) - Enables custom column sorting. The value is used in [collection hooks](/get-started/dev-guides/collection-hooks/)\n * to reorder the items. This property accepts a custom comparator that is used to compare two items.\n * The comparator must implement ascending ordering, and the output is inverted automatically in case of descending order.\n * If present, the `sortingField` property is ignored.\n * * `editConfig` (EditConfig) - Enables inline editing in column when present. The value is used to configure the editing behavior.\n * * `editConfig.ariaLabel` (string) - Specifies a label for the edit control. Visually hidden but read by screen readers.\n * * `editConfig.errorIconAriaLabel` (string) - Specifies an ariaLabel for the error icon that is displayed when the validation fails.\n * * `editConfig.editIconAriaLabel` (string) - Specifies an alternate text for the edit icon used in column header.\n * * `editConfig.constraintText` (string) - Constraint text that is displayed below the edit control.\n * * `editConfig.disabledReason` ((item) => string | undefined) - A function that determines whether inline edit for certain items is disabled, and provides a reason why.\n * Return a string from the function to disable inline edit with a reason. Return `undefined` (or no return) from the function allow inline edit.\n * * `editConfig.validation` ((item, value) => string) - A function that allows you to validate the value of the edit control.\n * Return a string from the function to display an error message. Return `undefined` (or no return) from the function to indicate that the value is valid.\n * * `editConfig.editingCell` ((item, cellContext) => ReactNode) - Determines the display of a cell's content when inline editing is active on a cell;\n * You receive the current table row `item` and a `cellContext` object as arguments.\n * The `cellContext` object contains the following properties:\n * * `cellContext.currentValue` - State to keep track of a value in input fields while editing.\n * * `cellContext.setValue` - Function to update `currentValue`. This should be called when the value in input field changes.\n * * `isRowHeader` (boolean) - Specifies that cells in this column should be used as row headers.\n * * `verticalAlign` ('middle' | 'top') - Determines the alignment of the content in the table cell.\n */\n columnDefinitions: ReadonlyArray<TableProps.ColumnDefinition<T>>;\n /**\n * Specifies the selection type (`'single' | 'multi'`).\n */\n selectionType?: TableProps.SelectionType;\n /**\n * List of selected items.\n */\n selectedItems?: ReadonlyArray<T>;\n\n /**\n * Use this slot to add filtering controls to the table.\n */\n filter?: React.ReactNode;\n\n /**\n * Use this slot to add the [pagination component](/components/pagination/) to the table.\n */\n pagination?: React.ReactNode;\n\n /**\n * Use this slot to add [collection preferences](/components/collection-preferences/) to the table.\n */\n preferences?: React.ReactNode;\n\n /**\n * Determines whether a given item is disabled. If an item is disabled, the user can't select it.\n */\n isItemDisabled?: TableProps.IsItemDisabled<T>;\n\n /**\n * Specifies if text wraps within table cells. If set to `true`, long text within cells may wrap onto\n * multiple lines instead of being truncated with an ellipsis.\n */\n wrapLines?: boolean;\n\n /**\n * Specifies if table rows alternate being shaded and unshaded. If set to `true`, every other row will be shaded.\n */\n stripedRows?: boolean;\n\n /**\n * Toggles the content density of the table. Defaults to `'comfortable'`.\n */\n contentDensity?: 'comfortable' | 'compact';\n\n /**\n * Specifies if columns can be resized. If set to `true`, users can resize the columns in the table.\n */\n resizableColumns?: boolean;\n\n /**\n * Specifies alternative text for the selection components (checkboxes and radio buttons) as follows:\n * * `itemSelectionLabel` ((SelectionState, Item) => string) - Specifies the alternative text for an item.\n * * `allItemsSelectionLabel` ((SelectionState) => string) - Specifies the alternative text for multi-selection column header.\n * * `selectionGroupLabel` (string) - Specifies the alternative text for the whole selection and single-selection column header.\n * It is prefixed to `itemSelectionLabel` and `allItemsSelectionLabel` when they are set.\n * You can use the first argument of type `SelectionState` to access the current selection\n * state of the component (for example, the `selectedItems` list). The `itemSelectionLabel` for individual\n * items also receives the corresponding `Item` object. You can use the `selectionGroupLabel` to\n * add a meaningful description to the whole selection.\n * * `tableLabel` (string) - Provides an alternative text for the table. If you use a header for this table, you may reuse the string\n * to provide a caption-like description. For example, tableLabel=Instances will be announced as 'Instances table'.\n * * `resizerRoleDescription` (string) - Provides role description for table column resizer buttons.\n * * `activateEditLabel` (EditableColumnDefinition, Item) => string -\n * Specifies an alternative text for the edit button in editable cells.\n * * `cancelEditLabel` (EditableColumnDefinition) => string -\n * Specifies an alternative text for the cancel button in editable cells.\n * * `submitEditLabel` (EditableColumnDefinition) => string -\n * Specifies an alternative text for the submit button in editable cells.\n * * `successfulEditLabel` (EditableColumnDefinition) => string -\n * Specifies an alternative text for the success icon in editable cells. This text is also announced to screen readers.\n * * `submittingEditText` (EditableColumnDefinition) => string -\n * Specifies a text that is announced to screen readers when a cell edit operation is submitted.\n * * `expandButtonLabel` (Item) => string - Specifies an alternative text for row expand button.\n * * `collapseButtonLabel` (Item) => string - Specifies an alternative text for row collapse button.\n * @i18n\n */\n ariaLabels?: TableProps.AriaLabels<T>;\n\n /**\n * Specifies the definition object of the currently sorted column. Make sure you pass an object that's\n * present in the `columnDefinitions` array.\n */\n sortingColumn?: TableProps.SortingColumn<T>;\n /**\n * Specifies whether to use a descending sort order.\n */\n sortingDescending?: boolean;\n /**\n * Specifies if sorting buttons are disabled. For example, use this property\n * to prevent the user from sorting before items are fully loaded.\n */\n sortingDisabled?: boolean;\n\n /**\n * Specifies the number of first and/or last columns that should be sticky.\n *\n * If the available scrollable space is less than a certain threshold, the feature is deactivated.\n *\n * Use it in conjunction with the sticky columns preference of the\n * [collection preferences](/components/collection-preferences/) component.\n *\n */\n stickyColumns?: TableProps.StickyColumns;\n\n /**\n * Specifies an array that represents the table columns in the order in which they will be displayed, together with their visibility.\n *\n * If not set, all columns are displayed and the order is dictated by the `columnDefinitions` property.\n *\n * Use it in conjunction with the content display preference of the [collection preferences](/components/collection-preferences/) component.\n */\n columnDisplay?: ReadonlyArray<ColumnDisplayProperties>;\n\n /**\n * Specifies an array containing the `id`s of visible columns. If not set, all columns are displayed.\n *\n * Use it in conjunction with the visible content preference of the [collection preferences](/components/collection-preferences/) component.\n *\n * The order of ids doesn't influence the order in which columns are displayed - this is dictated by the `columnDefinitions` property.\n *\n * @deprecated Replaced by `columnDisplay`.\n */\n visibleColumns?: ReadonlyArray<string>;\n\n /**\n * Fired when the user resizes a table column. The event detail contains an array of column widths in pixels,\n * including the hidden via preferences columns. Use this event to persist the column widths.\n */\n onColumnWidthsChange?: NonCancelableEventHandler<TableProps.ColumnWidthsChangeDetail>;\n\n /**\n * Called when either the column to sort by or the direction of sorting changes upon user interaction.\n * The event detail contains the current sortingColumn and isDescending.\n */\n onSortingChange?: NonCancelableEventHandler<TableProps.SortingState<T>>;\n\n /**\n * Fired when a user interaction triggers a change in the list of selected items.\n * The event `detail` contains the current list of `selectedItems`.\n */\n onSelectionChange?: NonCancelableEventHandler<TableProps.SelectionChangeDetail<T>>;\n\n /**\n * Note: This feature is provided for backwards compatibility. Its use is not recommended,\n * and it may be deprecated in the future.\n *\n * Called when the user clicked at a table row. The event detail contains the index of the\n * clicked row and the row object itself. Use this event to define a row click behavior.\n */\n onRowClick?: NonCancelableEventHandler<TableProps.OnRowClickDetail<T>>;\n\n /**\n * Note: This feature is provided for backwards compatibility. Its use is not recommended,\n * and it may be deprecated in the future.\n *\n * Called when the user clicked at a table row with the right mouse click. The event detail\n * contains the index of the clicked row and the row object itself. Use this event to override\n * the default browser context menu behavior.\n */\n onRowContextMenu?: CancelableEventHandler<TableProps.OnRowContextMenuDetail<T>>;\n\n /**\n * If set to `true`, the table header remains visible when the user scrolls down.\n *\n * Do not use `stickyHeader` conditionally. Instead, keep its value constant during the component lifecycle.\n */\n stickyHeader?: boolean;\n\n /**\n * Specifies a vertical offset (in pixels) for the sticky header. For example, use this if you\n * need to position the sticky header below other fixed position elements on the page.\n */\n stickyHeaderVerticalOffset?: number;\n\n /**\n * Specify a table variant with one of the following:\n * * `container` - Use this variant to have the table displayed within a container.\n * * `borderless` - Use this variant when the table should have no outer borders or shadow\n * (such as in a dashboard item container).\n * * `embedded` - Use this variant within a parent container (such as a modal, expandable\n * section, container or split panel).\n * **Deprecated**, replaced by `borderless` and `container`.\n * * `stacked` - Use this variant adjacent to other stacked containers (such as a container,\n * table).\n * * `full-page` – Use this variant when the table is the entire content of a page.\n * @visualrefresh `embedded`, `stacked`, and `full-page` variants\n */\n variant?: TableProps.Variant;\n\n /**\n * Use this property to inform screen readers how many items there are in a table.\n * It specifies the total count of all items in a table.\n * If there is an unknown total of items in a table, leave this property undefined.\n */\n totalItemsCount?: number;\n /**\n * Use this property to inform screen readers which range of items is currently displayed in the table.\n * It specifies the index (1-based) of the first item in the table.\n */\n firstIndex?: number;\n /**\n * Use this function to announce page changes to screen reader users.\n * The function argument takes the following properties:\n * * `firstIndex` (number) - The provided `firstIndex` property which defaults to 1 when not defined.\n * * `lastIndex` (number) - The index of the last visible item of the table.\n * * `visibleItemsCount` (number) - The number of rendered table items.\n * * `totalItemsCount` (optional, number) - The provided `totalItemsCount` property.\n * Important: in tables with expandable rows the `firstIndex`, `lastIndex`, and `totalItemsCount` reflect the top-level items only.\n */\n renderAriaLive?: (data: TableProps.LiveAnnouncement) => string;\n /**\n * Specifies a function that will be called after user submits an inline edit.\n * Return a promise to keep loading state while the submit request is in progress.\n */\n submitEdit?: TableProps.SubmitEditFunction<T>;\n\n /**\n * Called whenever user cancels an inline edit. Use this function to reset any\n * validation states, or show warning for unsaved changes.\n */\n onEditCancel?: CancelableEventHandler;\n\n /**\n * Use this property to activate advanced keyboard navigation and focusing behaviors.\n * When set to `true`, table cells become navigable with arrow keys, and the entire table has a single tab stop.\n *\n * By default, the keyboard navigation is active for tables with expandable rows.\n */\n enableKeyboardNavigation?: boolean;\n\n /**\n * Use this property to define expandable table rows. The expandableRows configuration object consists of:\n * * `getItemChildren` ((Item) => Item[]) - Use it to define nested data that are shown when an item gets expanded.\n * * `isItemExpandable` ((Item) => boolean) - Use it for items that can be expanded to show nested data.\n * * `expandedItems` (Item[]) - Use it to represent the expanded state of items.\n * * `onExpandableItemToggle` (TableProps.OnExpandableItemToggle<T>) - Called when an item's expand toggle is clicked.\n */\n expandableRows?: TableProps.ExpandableRows<T>;\n\n /**\n * A function that specifies the current status of loading more items. It is called once for the entire\n * table with `item=null` and then for each expanded item. The function result is one of the four possible states:\n * * `pending` - Indicates that no request in progress, but more options may be loaded.\n * * `loading` - Indicates that data fetching is in progress.\n * * `finished` - Indicates that loading has finished and no more requests are expected.\n * * `error` - Indicates that an error occurred during fetch.\n **/\n getLoadingStatus?: TableProps.GetLoadingStatus<T>;\n /**\n * Defines loader properties for pending state.\n */\n renderLoaderPending?: (detail: TableProps.RenderLoaderDetail<T>) => React.ReactNode;\n /**\n * Defines loader properties for loading state.\n */\n renderLoaderLoading?: (detail: TableProps.RenderLoaderDetail<T>) => React.ReactNode;\n /**\n * Defines loader properties for error state.\n */\n renderLoaderError?: (detail: TableProps.RenderLoaderDetail<T>) => React.ReactNode;\n}\n\nexport namespace TableProps {\n export interface AnalyticsMetadata {\n instanceIdentifier?: string;\n }\n\n export type TrackBy<T> = string | ((item: T) => string);\n\n export interface CellContext<V> {\n currentValue: Optional<V>;\n setValue: (value: V | undefined) => void;\n }\n\n export interface EditConfig<T, V = any> {\n /**\n * Specifies a label for the edit control. Visually hidden but read\n * by screen readers.\n */\n ariaLabel?: string;\n /**\n * Specifies an ariaLabel for the error icon that is displayed when\n * the validation fails.\n */\n errorIconAriaLabel?: string;\n /**\n * Specifies an alternate text for the edit icon used in column header.\n */\n editIconAriaLabel?: string;\n /**\n * Constraint text that is displayed below the edit control.\n */\n constraintText?: string;\n /**\n * A function that allows you to validate the value of the edit control. Return\n * a string from the function to display an error message. Return\n * `undefined` (or no return) from the function to indicate that the value is valid.\n * @param item - The item that is being edited.\n * @param value - The current value of the edit control.\n */\n validation?: (item: T, value: Optional<V>) => Optional<string>;\n\n /**\n * Determines the display of a cell's content when inline edit is active.\n */\n editingCell(item: T, ctx: TableProps.CellContext<any>): React.ReactNode;\n\n /**\n * Determines whether inline edit for certain items is disabled, and provides a reason why.\n */\n disabledReason?: (item: T) => string | undefined;\n }\n\n export type ColumnDefinition<ItemType> = {\n id?: string;\n header: React.ReactNode;\n ariaLabel?(data: LabelData): string;\n width?: number | string;\n minWidth?: number | string;\n maxWidth?: number | string;\n editConfig?: EditConfig<ItemType>;\n isRowHeader?: boolean;\n verticalAlign?: VerticalAlign;\n cell(item: ItemType): React.ReactNode;\n } & SortingColumn<ItemType>;\n\n export interface StickyColumns {\n first?: number;\n last?: number;\n }\n\n export type VerticalAlign = 'middle' | 'top';\n export type SelectionType = 'single' | 'multi';\n export type Variant = 'container' | 'embedded' | 'borderless' | 'stacked' | 'full-page';\n export interface SelectionState<T> {\n selectedItems: ReadonlyArray<T>;\n }\n export interface SelectionChangeDetail<T> {\n selectedItems: T[];\n }\n export type IsItemDisabled<T> = (item: T) => boolean;\n export interface AriaLabels<T> {\n allItemsSelectionLabel?: (data: TableProps.SelectionState<T>) => string;\n itemSelectionLabel?: (data: TableProps.SelectionState<T>, row: T) => string;\n selectionGroupLabel?: string;\n tableLabel?: string;\n resizerRoleDescription?: string;\n // do not use <T> to prevent overly strict validation on consumer end\n // it works, practically, we are only interested in `id` and `header` properties only\n activateEditLabel?: (column: ColumnDefinition<any>, item: T) => string;\n cancelEditLabel?: (column: ColumnDefinition<any>) => string;\n submitEditLabel?: (column: ColumnDefinition<any>) => string;\n submittingEditText?: (column: ColumnDefinition<any>) => string;\n successfulEditLabel?: (column: ColumnDefinition<any>) => string;\n expandButtonLabel?: (item: T) => string;\n collapseButtonLabel?: (item: T) => string;\n }\n export interface SortingState<T> {\n isDescending?: boolean;\n sortingColumn: SortingColumn<T>;\n }\n export interface SortingColumn<T> {\n sortingField?: string;\n sortingComparator?: (a: T, b: T) => number;\n }\n export interface LabelData {\n sorted: boolean;\n descending: boolean;\n disabled: boolean;\n }\n export interface OnRowClickDetail<T> {\n rowIndex: number;\n item: T;\n }\n export interface OnRowContextMenuDetail<T> {\n rowIndex: number;\n item: T;\n clientX: number;\n clientY: number;\n }\n\n export interface ColumnWidthsChangeDetail {\n widths: ReadonlyArray<number>;\n }\n\n export interface LiveAnnouncement {\n firstIndex: number;\n lastIndex: number;\n visibleItemsCount: number;\n totalItemsCount?: number;\n }\n\n export interface Ref {\n /**\n * When the sticky header is enabled and you call this function, the table\n * scroll parent scrolls to reveal the first row of the table.\n */\n scrollToTop(): void;\n\n /**\n * Dismiss an inline edit if currently active.\n */\n cancelEdit?(): void;\n }\n\n export type SubmitEditFunction<ItemType, ValueType = unknown> = (\n item: ItemType,\n column: ColumnDefinition<ItemType>,\n newValue: ValueType\n ) => Promise<void> | void;\n\n export interface ColumnDisplayProperties {\n id: string;\n visible: boolean;\n }\n\n export interface ExpandableRows<T> {\n getItemChildren: (item: T) => readonly T[];\n isItemExpandable: (item: T) => boolean;\n expandedItems: ReadonlyArray<T>;\n onExpandableItemToggle: TableProps.OnExpandableItemToggle<T>;\n }\n\n export type OnExpandableItemToggle<T> = NonCancelableEventHandler<TableProps.ExpandableItemToggleDetail<T>>;\n\n export interface ExpandableItemToggleDetail<T> {\n item: T;\n expanded: boolean;\n }\n\n export type GetLoadingStatus<T> = (item: null | T) => TableProps.LoadingStatus;\n\n export type LoadingStatus = 'pending' | 'loading' | 'error' | 'finished';\n\n export interface RenderLoaderDetail<T> {\n item: null | T;\n }\n}\n\nexport type TableRow<T> = TableDataRow<T> | TableLoaderRow<T>;\n\nexport interface TableDataRow<T> {\n type: 'data';\n item: T;\n}\n\nexport interface TableLoaderRow<T> {\n type: 'loader';\n item: null | T;\n level: number;\n status: TableProps.LoadingStatus;\n from: number;\n}\n"]}
|
package/tabs/styles.css.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"tabs-header": "awsui_tabs-
|
|
5
|
-
"tabs-header-list": "awsui_tabs-header-
|
|
6
|
-
"pagination-button": "awsui_pagination-
|
|
7
|
-
"pagination-button-left": "awsui_pagination-button-
|
|
8
|
-
"pagination-button-left-scrollable": "awsui_pagination-button-left-
|
|
9
|
-
"pagination-button-right": "awsui_pagination-button-
|
|
10
|
-
"pagination-button-right-scrollable": "awsui_pagination-button-right-
|
|
11
|
-
"tabs-tab": "awsui_tabs-
|
|
12
|
-
"tabs-tab-label": "awsui_tabs-tab-
|
|
13
|
-
"tabs-tab-
|
|
14
|
-
"tabs-tab-
|
|
15
|
-
"tabs-tab-
|
|
16
|
-
"refresh": "
|
|
17
|
-
"tabs-tab-disabled": "awsui_tabs-tab-
|
|
18
|
-
"tabs-tab-link": "awsui_tabs-tab-
|
|
19
|
-
"tabs-tab-active": "awsui_tabs-tab-
|
|
20
|
-
"tabs-header-with-divider": "awsui_tabs-header-with-
|
|
21
|
-
"tabs-tab-focusable": "awsui_tabs-tab-
|
|
22
|
-
"root": "
|
|
23
|
-
"tabs": "
|
|
24
|
-
"tabs-content": "awsui_tabs-
|
|
25
|
-
"fit-height": "awsui_fit-
|
|
26
|
-
"tabs-content-active": "awsui_tabs-content-
|
|
27
|
-
"tabs-content-wrapper": "awsui_tabs-content-
|
|
28
|
-
"with-paddings": "awsui_with-
|
|
29
|
-
"tabs-container-content-wrapper": "awsui_tabs-container-content-
|
|
30
|
-
"disabled-reason-tooltip": "awsui_disabled-reason-
|
|
31
|
-
"tabs-tab-focused": "awsui_tabs-tab-
|
|
4
|
+
"tabs-header": "awsui_tabs-header_14rmt_1wcao_194",
|
|
5
|
+
"tabs-header-list": "awsui_tabs-header-list_14rmt_1wcao_202",
|
|
6
|
+
"pagination-button": "awsui_pagination-button_14rmt_1wcao_219",
|
|
7
|
+
"pagination-button-left": "awsui_pagination-button-left_14rmt_1wcao_226",
|
|
8
|
+
"pagination-button-left-scrollable": "awsui_pagination-button-left-scrollable_14rmt_1wcao_229",
|
|
9
|
+
"pagination-button-right": "awsui_pagination-button-right_14rmt_1wcao_233",
|
|
10
|
+
"pagination-button-right-scrollable": "awsui_pagination-button-right-scrollable_14rmt_1wcao_236",
|
|
11
|
+
"tabs-tab": "awsui_tabs-tab_14rmt_1wcao_241",
|
|
12
|
+
"tabs-tab-label": "awsui_tabs-tab-label_14rmt_1wcao_250",
|
|
13
|
+
"tabs-tab-header-container": "awsui_tabs-tab-header-container_14rmt_1wcao_261",
|
|
14
|
+
"tabs-tab-dismiss": "awsui_tabs-tab-dismiss_14rmt_1wcao_272",
|
|
15
|
+
"tabs-tab-action": "awsui_tabs-tab-action_14rmt_1wcao_272",
|
|
16
|
+
"refresh": "awsui_refresh_14rmt_1wcao_276",
|
|
17
|
+
"tabs-tab-disabled": "awsui_tabs-tab-disabled_14rmt_1wcao_280",
|
|
18
|
+
"tabs-tab-link": "awsui_tabs-tab-link_14rmt_1wcao_322",
|
|
19
|
+
"tabs-tab-active": "awsui_tabs-tab-active_14rmt_1wcao_398",
|
|
20
|
+
"tabs-header-with-divider": "awsui_tabs-header-with-divider_14rmt_1wcao_405",
|
|
21
|
+
"tabs-tab-focusable": "awsui_tabs-tab-focusable_14rmt_1wcao_409",
|
|
22
|
+
"root": "awsui_root_14rmt_1wcao_413",
|
|
23
|
+
"tabs": "awsui_tabs_14rmt_1wcao_194",
|
|
24
|
+
"tabs-content": "awsui_tabs-content_14rmt_1wcao_454",
|
|
25
|
+
"fit-height": "awsui_fit-height_14rmt_1wcao_458",
|
|
26
|
+
"tabs-content-active": "awsui_tabs-content-active_14rmt_1wcao_464",
|
|
27
|
+
"tabs-content-wrapper": "awsui_tabs-content-wrapper_14rmt_1wcao_478",
|
|
28
|
+
"with-paddings": "awsui_with-paddings_14rmt_1wcao_478",
|
|
29
|
+
"tabs-container-content-wrapper": "awsui_tabs-container-content-wrapper_14rmt_1wcao_489",
|
|
30
|
+
"disabled-reason-tooltip": "awsui_disabled-reason-tooltip_14rmt_1wcao_500",
|
|
31
|
+
"tabs-tab-focused": "awsui_tabs-tab-focused_14rmt_1wcao_504"
|
|
32
32
|
};
|
|
33
33
|
|
package/tabs/styles.scoped.css
CHANGED
|
@@ -191,7 +191,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
191
191
|
SPDX-License-Identifier: Apache-2.0
|
|
192
192
|
*/
|
|
193
193
|
/* stylelint-disable selector-max-type */
|
|
194
|
-
.awsui_tabs-
|
|
194
|
+
.awsui_tabs-header_14rmt_1wcao_194:not(#\9) {
|
|
195
195
|
margin-block: 0;
|
|
196
196
|
margin-inline: 0;
|
|
197
197
|
padding-block: 0;
|
|
@@ -199,7 +199,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
199
199
|
display: flex;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
.awsui_tabs-header-
|
|
202
|
+
.awsui_tabs-header-list_14rmt_1wcao_202:not(#\9) {
|
|
203
203
|
margin-block: 0;
|
|
204
204
|
margin-inline: 0;
|
|
205
205
|
padding-block: 0;
|
|
@@ -212,33 +212,33 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
212
212
|
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
|
213
213
|
scrollbar-width: none; /* Firefox */
|
|
214
214
|
}
|
|
215
|
-
.awsui_tabs-header-
|
|
215
|
+
.awsui_tabs-header-list_14rmt_1wcao_202:not(#\9)::-webkit-scrollbar {
|
|
216
216
|
display: none; /* Safari and Chrome */
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
.awsui_pagination-
|
|
219
|
+
.awsui_pagination-button_14rmt_1wcao_219:not(#\9) {
|
|
220
220
|
margin-block: var(--space-scaled-s-aqzyko, 12px);
|
|
221
221
|
margin-inline: 0;
|
|
222
222
|
padding-block: 0;
|
|
223
223
|
padding-inline: var(--space-xxs-p8yyaw, 4px);
|
|
224
224
|
display: flex;
|
|
225
225
|
}
|
|
226
|
-
.awsui_pagination-button-
|
|
226
|
+
.awsui_pagination-button-left_14rmt_1wcao_226:not(#\9) {
|
|
227
227
|
border-inline-end: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-control-disabled-bv2kkn, #d1d5db);
|
|
228
228
|
}
|
|
229
|
-
.awsui_pagination-button-left-
|
|
229
|
+
.awsui_pagination-button-left-scrollable_14rmt_1wcao_229:not(#\9) {
|
|
230
230
|
z-index: 1;
|
|
231
231
|
box-shadow: 5px 0px 4px -3px var(--color-border-tabs-shadow-w5xpb4, rgba(0, 7, 22, 0.12)), 1px 0px 0px 0px var(--color-border-tabs-shadow-w5xpb4, rgba(0, 7, 22, 0.12));
|
|
232
232
|
}
|
|
233
|
-
.awsui_pagination-button-
|
|
233
|
+
.awsui_pagination-button-right_14rmt_1wcao_233:not(#\9) {
|
|
234
234
|
border-inline-start: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-control-disabled-bv2kkn, #d1d5db);
|
|
235
235
|
}
|
|
236
|
-
.awsui_pagination-button-right-
|
|
236
|
+
.awsui_pagination-button-right-scrollable_14rmt_1wcao_236:not(#\9) {
|
|
237
237
|
z-index: 1;
|
|
238
238
|
box-shadow: -5px 0px 4px -3px var(--color-border-tabs-shadow-w5xpb4, rgba(0, 7, 22, 0.12)), -1px 0px 0px 0 var(--color-border-tabs-shadow-w5xpb4, rgba(0, 7, 22, 0.12));
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
.awsui_tabs-
|
|
241
|
+
.awsui_tabs-tab_14rmt_1wcao_241:not(#\9) {
|
|
242
242
|
list-style: none;
|
|
243
243
|
padding-block: 0;
|
|
244
244
|
padding-inline: 0;
|
|
@@ -247,7 +247,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
247
247
|
max-inline-size: calc(90% - var(--space-l-t419sm, 20px));
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
.awsui_tabs-tab-
|
|
250
|
+
.awsui_tabs-tab-label_14rmt_1wcao_250:not(#\9) {
|
|
251
251
|
display: flex;
|
|
252
252
|
align-items: center;
|
|
253
253
|
padding-inline: var(--space-xs-zb16t3, 8px);
|
|
@@ -258,12 +258,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
258
258
|
word-break: break-word;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
.awsui_tabs-tab-
|
|
262
|
-
.awsui_tabs-tab-action_14rmt_1kz54_262:not(#\9) {
|
|
263
|
-
/* Used as a selector for tests */
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.awsui_tabs-tab-header-container_14rmt_1kz54_266:not(#\9) {
|
|
261
|
+
.awsui_tabs-tab-header-container_14rmt_1wcao_261:not(#\9) {
|
|
267
262
|
position: relative;
|
|
268
263
|
border-block: var(--border-divider-section-width-1061zr, 1px) solid transparent;
|
|
269
264
|
border-inline: var(--border-divider-section-width-1061zr, 1px) solid transparent;
|
|
@@ -271,18 +266,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
271
266
|
display: flex;
|
|
272
267
|
align-items: stretch;
|
|
273
268
|
}
|
|
274
|
-
.awsui_tabs-tab-header-
|
|
269
|
+
.awsui_tabs-tab-header-container_14rmt_1wcao_261:not(#\9), .awsui_tabs-tab-header-container_14rmt_1wcao_261 > button:not(#\9) {
|
|
275
270
|
background-color: transparent;
|
|
276
271
|
}
|
|
277
|
-
.awsui_tabs-tab-header-
|
|
272
|
+
.awsui_tabs-tab-header-container_14rmt_1wcao_261 > .awsui_tabs-tab-dismiss_14rmt_1wcao_272:not(#\9), .awsui_tabs-tab-header-container_14rmt_1wcao_261 > .awsui_tabs-tab-action_14rmt_1wcao_272:not(#\9) {
|
|
278
273
|
display: flex;
|
|
279
274
|
align-items: center;
|
|
280
275
|
}
|
|
281
|
-
.awsui_tabs-tab-header-
|
|
276
|
+
.awsui_tabs-tab-header-container_14rmt_1wcao_261.awsui_refresh_14rmt_1wcao_276 > span:not(#\9):first-of-type {
|
|
282
277
|
margin-inline-start: calc(-1 * var(--space-scaled-xs-26e2du, 8px));
|
|
283
278
|
}
|
|
284
279
|
|
|
285
|
-
.awsui_tabs-tab-header-
|
|
280
|
+
.awsui_tabs-tab-header-container_14rmt_1wcao_261:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1wcao_280):after {
|
|
286
281
|
content: "";
|
|
287
282
|
position: absolute;
|
|
288
283
|
inset-inline-start: 0;
|
|
@@ -296,35 +291,35 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
296
291
|
background: var(--color-border-tabs-underline-f1qo5r, #0972d3);
|
|
297
292
|
opacity: 0;
|
|
298
293
|
}
|
|
299
|
-
.awsui_tabs-tab-header-
|
|
294
|
+
.awsui_tabs-tab-header-container_14rmt_1wcao_261:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1wcao_280).awsui_refresh_14rmt_1wcao_276:after {
|
|
300
295
|
transition: opacity var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-c-vg1m9h, cubic-bezier(0.84, 0, 0.16, 1));
|
|
301
296
|
}
|
|
302
297
|
@media (prefers-reduced-motion: reduce) {
|
|
303
|
-
.awsui_tabs-tab-header-
|
|
298
|
+
.awsui_tabs-tab-header-container_14rmt_1wcao_261:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1wcao_280).awsui_refresh_14rmt_1wcao_276:after {
|
|
304
299
|
animation: none;
|
|
305
300
|
transition: none;
|
|
306
301
|
}
|
|
307
302
|
}
|
|
308
|
-
.awsui-motion-disabled .awsui_tabs-tab-header-
|
|
303
|
+
.awsui-motion-disabled .awsui_tabs-tab-header-container_14rmt_1wcao_261:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1wcao_280).awsui_refresh_14rmt_1wcao_276:after, .awsui-mode-entering .awsui_tabs-tab-header-container_14rmt_1wcao_261:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1wcao_280).awsui_refresh_14rmt_1wcao_276:after {
|
|
309
304
|
animation: none;
|
|
310
305
|
transition: none;
|
|
311
306
|
}
|
|
312
307
|
|
|
313
|
-
.awsui_tabs-
|
|
308
|
+
.awsui_tabs-tab_14rmt_1wcao_241:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_1wcao_261 {
|
|
314
309
|
margin-inline-end: calc(-1 * var(--border-divider-section-width-1061zr, 1px));
|
|
315
310
|
}
|
|
316
|
-
.awsui_tabs-
|
|
311
|
+
.awsui_tabs-tab_14rmt_1wcao_241:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_1wcao_261:before {
|
|
317
312
|
content: "";
|
|
318
313
|
position: absolute;
|
|
319
314
|
border-inline-end: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-tabs-divider-6vpso4, #b6bec9);
|
|
320
315
|
inset: var(--space-scaled-s-aqzyko, 12px) 0;
|
|
321
316
|
opacity: 1;
|
|
322
317
|
}
|
|
323
|
-
.awsui_tabs-
|
|
318
|
+
.awsui_tabs-tab_14rmt_1wcao_241:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_1wcao_261.awsui_refresh_14rmt_1wcao_276:before {
|
|
324
319
|
inset: calc(var(--space-static-s-n2eb28, 12px) - var(--border-active-width-9dmqf4, 4px)) 0;
|
|
325
320
|
}
|
|
326
321
|
|
|
327
|
-
.awsui_tabs-tab-
|
|
322
|
+
.awsui_tabs-tab-link_14rmt_1wcao_322:not(#\9) {
|
|
328
323
|
position: relative;
|
|
329
324
|
display: flex;
|
|
330
325
|
align-items: stretch;
|
|
@@ -345,27 +340,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
345
340
|
-webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
|
|
346
341
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
|
|
347
342
|
}
|
|
348
|
-
.awsui_tabs-tab-
|
|
343
|
+
.awsui_tabs-tab-link_14rmt_1wcao_322.awsui_refresh_14rmt_1wcao_276:not(#\9) {
|
|
349
344
|
padding-block-start: calc(var(--space-static-xs-7sfb63, 8px) - 1px);
|
|
350
345
|
padding-block-end: calc(var(--space-static-xs-7sfb63, 8px) - 1px);
|
|
351
346
|
margin-block-start: 0;
|
|
352
347
|
}
|
|
353
|
-
.awsui_tabs-tab-
|
|
348
|
+
.awsui_tabs-tab-link_14rmt_1wcao_322:not(#\9):hover {
|
|
354
349
|
color: var(--color-text-accent-n2acxv, #0972d3);
|
|
355
350
|
}
|
|
356
|
-
.awsui_tabs-tab-
|
|
351
|
+
.awsui_tabs-tab-link_14rmt_1wcao_322:not(#\9):focus {
|
|
357
352
|
outline: none;
|
|
358
353
|
}
|
|
359
|
-
body[data-awsui-focus-visible=true] .awsui_tabs-tab-
|
|
354
|
+
body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1wcao_322:not(#\9):focus {
|
|
360
355
|
z-index: 1;
|
|
361
356
|
position: relative;
|
|
362
357
|
border-inline-end-color: transparent;
|
|
363
358
|
}
|
|
364
|
-
body[data-awsui-focus-visible=true] .awsui_tabs-tab-
|
|
359
|
+
body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1wcao_322:not(#\9):focus {
|
|
365
360
|
outline: 2px dotted transparent;
|
|
366
361
|
outline-offset: calc(var(--space-tabs-focus-outline-gutter-xm37ly, -8px) - 1px);
|
|
367
362
|
}
|
|
368
|
-
body[data-awsui-focus-visible=true] .awsui_tabs-tab-
|
|
363
|
+
body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1wcao_322:not(#\9):focus::before {
|
|
369
364
|
content: " ";
|
|
370
365
|
display: block;
|
|
371
366
|
position: absolute;
|
|
@@ -380,46 +375,46 @@ body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1kz54_327:not(#\9
|
|
|
380
375
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
381
376
|
}
|
|
382
377
|
|
|
383
|
-
.awsui_tabs-
|
|
378
|
+
.awsui_tabs-tab_14rmt_1wcao_241:not(#\9):first-child {
|
|
384
379
|
margin-inline-start: 1px;
|
|
385
380
|
}
|
|
386
|
-
.awsui_tabs-
|
|
381
|
+
.awsui_tabs-tab_14rmt_1wcao_241:not(#\9):first-child > .awsui_tabs-tab-header-container_14rmt_1wcao_261 {
|
|
387
382
|
padding-inline-start: calc(var(--space-xs-zb16t3, 8px) - 1px);
|
|
388
383
|
}
|
|
389
384
|
|
|
390
|
-
.awsui_tabs-
|
|
385
|
+
.awsui_tabs-tab_14rmt_1wcao_241:not(#\9):last-child {
|
|
391
386
|
margin-inline-end: 1px;
|
|
392
387
|
}
|
|
393
|
-
.awsui_tabs-
|
|
388
|
+
.awsui_tabs-tab_14rmt_1wcao_241:not(#\9):last-child > .awsui_tabs-tab-header-container_14rmt_1wcao_261 {
|
|
394
389
|
padding-inline-end: calc(var(--space-xs-zb16t3, 8px) - 1px);
|
|
395
390
|
}
|
|
396
391
|
|
|
397
|
-
.awsui_tabs-tab-
|
|
392
|
+
.awsui_tabs-tab-disabled_14rmt_1wcao_280:not(#\9), .awsui_tabs-tab-disabled_14rmt_1wcao_280:not(#\9):hover {
|
|
398
393
|
cursor: default;
|
|
399
394
|
color: var(--color-text-interactive-disabled-z7a3t4, #9ba7b6);
|
|
400
395
|
font-weight: var(--font-tabs-disabled-weight-1xcs5l, 700);
|
|
401
396
|
}
|
|
402
397
|
|
|
403
|
-
.awsui_tabs-tab-
|
|
398
|
+
.awsui_tabs-tab-active_14rmt_1wcao_398:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1wcao_280) {
|
|
404
399
|
color: var(--color-text-accent-n2acxv, #0972d3);
|
|
405
400
|
}
|
|
406
|
-
.awsui_tabs-tab-
|
|
401
|
+
.awsui_tabs-tab-active_14rmt_1wcao_398:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1wcao_280):after {
|
|
407
402
|
opacity: 1;
|
|
408
403
|
}
|
|
409
404
|
|
|
410
|
-
.awsui_tabs-header-with-
|
|
405
|
+
.awsui_tabs-header-with-divider_14rmt_1wcao_405:not(#\9) {
|
|
411
406
|
border-block-end: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-tabs-divider-6vpso4, #b6bec9);
|
|
412
407
|
}
|
|
413
408
|
|
|
414
|
-
.awsui_tabs-tab-
|
|
409
|
+
.awsui_tabs-tab-focusable_14rmt_1wcao_409:not(#\9) {
|
|
415
410
|
/* used to manage focusable logic */
|
|
416
411
|
}
|
|
417
412
|
|
|
418
|
-
.
|
|
413
|
+
.awsui_root_14rmt_1wcao_413:not(#\9) {
|
|
419
414
|
/* used in test-utils or tests */
|
|
420
415
|
}
|
|
421
416
|
|
|
422
|
-
.
|
|
417
|
+
.awsui_tabs_14rmt_1wcao_194:not(#\9) {
|
|
423
418
|
border-collapse: separate;
|
|
424
419
|
border-spacing: 0;
|
|
425
420
|
box-sizing: border-box;
|
|
@@ -457,21 +452,21 @@ body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1kz54_327:not(#\9
|
|
|
457
452
|
inline-size: 100%;
|
|
458
453
|
}
|
|
459
454
|
|
|
460
|
-
.awsui_tabs-
|
|
455
|
+
.awsui_tabs-content_14rmt_1wcao_454:not(#\9) {
|
|
461
456
|
display: none;
|
|
462
457
|
}
|
|
463
458
|
|
|
464
|
-
.awsui_fit-
|
|
459
|
+
.awsui_fit-height_14rmt_1wcao_458:not(#\9) {
|
|
465
460
|
display: flex;
|
|
466
461
|
flex-direction: column;
|
|
467
462
|
block-size: 100%;
|
|
468
463
|
}
|
|
469
464
|
|
|
470
|
-
.awsui_tabs-content-
|
|
465
|
+
.awsui_tabs-content-active_14rmt_1wcao_464:not(#\9) {
|
|
471
466
|
display: block;
|
|
472
467
|
flex: 1;
|
|
473
468
|
}
|
|
474
|
-
body[data-awsui-focus-visible=true] .awsui_tabs-content-
|
|
469
|
+
body[data-awsui-focus-visible=true] .awsui_tabs-content-active_14rmt_1wcao_464:not(#\9):focus {
|
|
475
470
|
outline: 2px dotted transparent;
|
|
476
471
|
outline-offset: 2px;
|
|
477
472
|
border-start-start-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
@@ -481,32 +476,32 @@ body[data-awsui-focus-visible=true] .awsui_tabs-content-active_14rmt_1kz54_469:n
|
|
|
481
476
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
482
477
|
}
|
|
483
478
|
|
|
484
|
-
.awsui_tabs-content-
|
|
479
|
+
.awsui_tabs-content-wrapper_14rmt_1wcao_478.awsui_with-paddings_14rmt_1wcao_478 > .awsui_tabs-content_14rmt_1wcao_454:not(#\9) {
|
|
485
480
|
padding-block: var(--space-scaled-m-mo5yse, 16px);
|
|
486
481
|
padding-inline: 0;
|
|
487
482
|
}
|
|
488
|
-
.awsui_fit-
|
|
483
|
+
.awsui_fit-height_14rmt_1wcao_458 > .awsui_tabs-content-wrapper_14rmt_1wcao_478:not(#\9) {
|
|
489
484
|
flex: 1;
|
|
490
485
|
display: flex;
|
|
491
486
|
flex-direction: column;
|
|
492
487
|
overflow: auto;
|
|
493
488
|
}
|
|
494
489
|
|
|
495
|
-
.awsui_fit-
|
|
490
|
+
.awsui_fit-height_14rmt_1wcao_458 > .awsui_tabs-content-wrapper_14rmt_1wcao_478 > .awsui_tabs-container-content-wrapper_14rmt_1wcao_489:not(#\9) {
|
|
496
491
|
block-size: 100%;
|
|
497
492
|
display: flex;
|
|
498
493
|
flex-direction: column;
|
|
499
494
|
}
|
|
500
|
-
.awsui_tabs-container-content-
|
|
495
|
+
.awsui_tabs-container-content-wrapper_14rmt_1wcao_489.awsui_with-paddings_14rmt_1wcao_478 > .awsui_tabs-content_14rmt_1wcao_454:not(#\9) {
|
|
501
496
|
padding-block-start: var(--space-tabs-content-top-dedu0k, 12px);
|
|
502
497
|
padding-block-end: var(--space-scaled-l-0hpmd7, 20px);
|
|
503
498
|
padding-inline: var(--space-container-horizontal-wfukh3, 20px);
|
|
504
499
|
}
|
|
505
500
|
|
|
506
|
-
.awsui_disabled-reason-
|
|
501
|
+
.awsui_disabled-reason-tooltip_14rmt_1wcao_500:not(#\9) {
|
|
507
502
|
/* used in test-utils or tests */
|
|
508
503
|
}
|
|
509
504
|
|
|
510
|
-
.awsui_tabs-tab-
|
|
505
|
+
.awsui_tabs-tab-focused_14rmt_1wcao_504:not(#\9) {
|
|
511
506
|
/* used to manage focusable state for disabled with reason tabs */
|
|
512
507
|
}
|
package/tabs/styles.selectors.js
CHANGED
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"tabs-header": "awsui_tabs-
|
|
6
|
-
"tabs-header-list": "awsui_tabs-header-
|
|
7
|
-
"pagination-button": "awsui_pagination-
|
|
8
|
-
"pagination-button-left": "awsui_pagination-button-
|
|
9
|
-
"pagination-button-left-scrollable": "awsui_pagination-button-left-
|
|
10
|
-
"pagination-button-right": "awsui_pagination-button-
|
|
11
|
-
"pagination-button-right-scrollable": "awsui_pagination-button-right-
|
|
12
|
-
"tabs-tab": "awsui_tabs-
|
|
13
|
-
"tabs-tab-label": "awsui_tabs-tab-
|
|
14
|
-
"tabs-tab-
|
|
15
|
-
"tabs-tab-
|
|
16
|
-
"tabs-tab-
|
|
17
|
-
"refresh": "
|
|
18
|
-
"tabs-tab-disabled": "awsui_tabs-tab-
|
|
19
|
-
"tabs-tab-link": "awsui_tabs-tab-
|
|
20
|
-
"tabs-tab-active": "awsui_tabs-tab-
|
|
21
|
-
"tabs-header-with-divider": "awsui_tabs-header-with-
|
|
22
|
-
"tabs-tab-focusable": "awsui_tabs-tab-
|
|
23
|
-
"root": "
|
|
24
|
-
"tabs": "
|
|
25
|
-
"tabs-content": "awsui_tabs-
|
|
26
|
-
"fit-height": "awsui_fit-
|
|
27
|
-
"tabs-content-active": "awsui_tabs-content-
|
|
28
|
-
"tabs-content-wrapper": "awsui_tabs-content-
|
|
29
|
-
"with-paddings": "awsui_with-
|
|
30
|
-
"tabs-container-content-wrapper": "awsui_tabs-container-content-
|
|
31
|
-
"disabled-reason-tooltip": "awsui_disabled-reason-
|
|
32
|
-
"tabs-tab-focused": "awsui_tabs-tab-
|
|
5
|
+
"tabs-header": "awsui_tabs-header_14rmt_1wcao_194",
|
|
6
|
+
"tabs-header-list": "awsui_tabs-header-list_14rmt_1wcao_202",
|
|
7
|
+
"pagination-button": "awsui_pagination-button_14rmt_1wcao_219",
|
|
8
|
+
"pagination-button-left": "awsui_pagination-button-left_14rmt_1wcao_226",
|
|
9
|
+
"pagination-button-left-scrollable": "awsui_pagination-button-left-scrollable_14rmt_1wcao_229",
|
|
10
|
+
"pagination-button-right": "awsui_pagination-button-right_14rmt_1wcao_233",
|
|
11
|
+
"pagination-button-right-scrollable": "awsui_pagination-button-right-scrollable_14rmt_1wcao_236",
|
|
12
|
+
"tabs-tab": "awsui_tabs-tab_14rmt_1wcao_241",
|
|
13
|
+
"tabs-tab-label": "awsui_tabs-tab-label_14rmt_1wcao_250",
|
|
14
|
+
"tabs-tab-header-container": "awsui_tabs-tab-header-container_14rmt_1wcao_261",
|
|
15
|
+
"tabs-tab-dismiss": "awsui_tabs-tab-dismiss_14rmt_1wcao_272",
|
|
16
|
+
"tabs-tab-action": "awsui_tabs-tab-action_14rmt_1wcao_272",
|
|
17
|
+
"refresh": "awsui_refresh_14rmt_1wcao_276",
|
|
18
|
+
"tabs-tab-disabled": "awsui_tabs-tab-disabled_14rmt_1wcao_280",
|
|
19
|
+
"tabs-tab-link": "awsui_tabs-tab-link_14rmt_1wcao_322",
|
|
20
|
+
"tabs-tab-active": "awsui_tabs-tab-active_14rmt_1wcao_398",
|
|
21
|
+
"tabs-header-with-divider": "awsui_tabs-header-with-divider_14rmt_1wcao_405",
|
|
22
|
+
"tabs-tab-focusable": "awsui_tabs-tab-focusable_14rmt_1wcao_409",
|
|
23
|
+
"root": "awsui_root_14rmt_1wcao_413",
|
|
24
|
+
"tabs": "awsui_tabs_14rmt_1wcao_194",
|
|
25
|
+
"tabs-content": "awsui_tabs-content_14rmt_1wcao_454",
|
|
26
|
+
"fit-height": "awsui_fit-height_14rmt_1wcao_458",
|
|
27
|
+
"tabs-content-active": "awsui_tabs-content-active_14rmt_1wcao_464",
|
|
28
|
+
"tabs-content-wrapper": "awsui_tabs-content-wrapper_14rmt_1wcao_478",
|
|
29
|
+
"with-paddings": "awsui_with-paddings_14rmt_1wcao_478",
|
|
30
|
+
"tabs-container-content-wrapper": "awsui_tabs-container-content-wrapper_14rmt_1wcao_489",
|
|
31
|
+
"disabled-reason-tooltip": "awsui_disabled-reason-tooltip_14rmt_1wcao_500",
|
|
32
|
+
"tabs-tab-focused": "awsui_tabs-tab-focused_14rmt_1wcao_504"
|
|
33
33
|
};
|
|
34
34
|
|