@cloudscape-design/components 3.0.671 → 3.0.673
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/checkbox/base-checkbox.d.ts +7 -0
- package/checkbox/base-checkbox.d.ts.map +1 -1
- package/checkbox/base-checkbox.js.map +1 -1
- package/checkbox/internal.d.ts.map +1 -1
- package/checkbox/internal.js +3 -3
- package/checkbox/internal.js.map +1 -1
- package/date-picker/interfaces.d.ts +1 -1
- package/date-picker/interfaces.js.map +1 -1
- package/date-range-picker/index.d.ts.map +1 -1
- package/date-range-picker/index.js +1 -3
- package/date-range-picker/index.js.map +1 -1
- package/input/interfaces.d.ts +1 -1
- package/input/interfaces.js.map +1 -1
- package/internal/base-component/styles.scoped.css +5 -0
- package/internal/components/abstract-switch/index.d.ts +2 -1
- package/internal/components/abstract-switch/index.d.ts.map +1 -1
- package/internal/components/abstract-switch/index.js +2 -2
- package/internal/components/abstract-switch/index.js.map +1 -1
- package/internal/components/button-trigger/index.d.ts.map +1 -1
- package/internal/components/button-trigger/index.js +5 -2
- package/internal/components/button-trigger/index.js.map +1 -1
- package/internal/components/button-trigger/styles.css.js +11 -11
- package/internal/components/button-trigger/styles.scoped.css +26 -26
- package/internal/components/button-trigger/styles.selectors.js +11 -11
- package/internal/components/checkbox-icon/index.d.ts +2 -1
- package/internal/components/checkbox-icon/index.d.ts.map +1 -1
- package/internal/components/checkbox-icon/index.js +6 -2
- package/internal/components/checkbox-icon/index.js.map +1 -1
- package/internal/components/checkbox-icon/styles.css.js +9 -7
- package/internal/components/checkbox-icon/styles.scoped.css +11 -8
- package/internal/components/checkbox-icon/styles.selectors.js +9 -7
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.d.ts +1 -0
- package/internal/generated/styles/tokens.js +1 -0
- package/internal/generated/theming/index.cjs +33 -0
- package/internal/generated/theming/index.cjs.d.ts +8 -0
- package/internal/generated/theming/index.d.ts +8 -0
- package/internal/generated/theming/index.js +33 -0
- package/internal/manifest.json +1 -1
- package/multiselect/internal.d.ts.map +1 -1
- package/multiselect/internal.js +3 -3
- package/multiselect/internal.js.map +1 -1
- package/package.json +1 -1
- package/radio-group/interfaces.d.ts +6 -0
- package/radio-group/interfaces.d.ts.map +1 -1
- package/radio-group/interfaces.js.map +1 -1
- package/radio-group/internal.d.ts.map +1 -1
- package/radio-group/internal.js +3 -3
- package/radio-group/internal.js.map +1 -1
- package/radio-group/radio-button.d.ts +1 -0
- package/radio-group/radio-button.d.ts.map +1 -1
- package/radio-group/radio-button.js +7 -3
- package/radio-group/radio-button.js.map +1 -1
- package/radio-group/styles.css.js +10 -9
- package/radio-group/styles.scoped.css +19 -15
- package/radio-group/styles.selectors.js +10 -9
- package/select/interfaces.d.ts +5 -0
- package/select/interfaces.d.ts.map +1 -1
- package/select/interfaces.js.map +1 -1
- package/select/internal.d.ts.map +1 -1
- package/select/internal.js +2 -2
- package/select/internal.js.map +1 -1
- package/select/parts/trigger.d.ts +1 -0
- package/select/parts/trigger.d.ts.map +1 -1
- package/select/parts/trigger.js +2 -2
- package/select/parts/trigger.js.map +1 -1
- package/slider/interfaces.d.ts +6 -0
- package/slider/interfaces.d.ts.map +1 -1
- package/slider/interfaces.js.map +1 -1
- package/slider/internal.d.ts +1 -1
- package/slider/internal.d.ts.map +1 -1
- package/slider/internal.js +15 -6
- package/slider/internal.js.map +1 -1
- package/slider/styles.css.js +27 -25
- package/slider/styles.scoped.css +129 -62
- package/slider/styles.selectors.js +27 -25
- package/slider/tick-marks.d.ts +1 -0
- package/slider/tick-marks.d.ts.map +1 -1
- package/slider/tick-marks.js +2 -1
- package/slider/tick-marks.js.map +1 -1
- package/slider/utils.d.ts +1 -0
- package/slider/utils.d.ts.map +1 -1
- package/slider/utils.js +1 -0
- package/slider/utils.js.map +1 -1
- package/tiles/interfaces.d.ts +6 -0
- package/tiles/interfaces.d.ts.map +1 -1
- package/tiles/interfaces.js.map +1 -1
- package/tiles/internal.d.ts.map +1 -1
- package/tiles/internal.js +3 -3
- package/tiles/internal.js.map +1 -1
- package/tiles/styles.css.js +30 -29
- package/tiles/styles.scoped.css +75 -70
- package/tiles/styles.selectors.js +30 -29
- package/tiles/tile.d.ts +1 -0
- package/tiles/tile.d.ts.map +1 -1
- package/tiles/tile.js +4 -4
- package/tiles/tile.js.map +1 -1
- package/toggle/internal.d.ts.map +1 -1
- package/toggle/internal.js +4 -2
- package/toggle/internal.js.map +1 -1
- package/toggle/styles.css.js +10 -8
- package/toggle/styles.scoped.css +23 -14
- package/toggle/styles.selectors.js +10 -8
- package/token-group/dismiss-button.d.ts +1 -0
- package/token-group/dismiss-button.d.ts.map +1 -1
- package/token-group/dismiss-button.js +7 -2
- package/token-group/dismiss-button.js.map +1 -1
- package/token-group/interfaces.d.ts +5 -0
- package/token-group/interfaces.d.ts.map +1 -1
- package/token-group/interfaces.js.map +1 -1
- package/token-group/internal.d.ts +1 -1
- package/token-group/internal.d.ts.map +1 -1
- package/token-group/internal.js +2 -2
- package/token-group/internal.js.map +1 -1
- package/token-group/styles.css.js +10 -9
- package/token-group/styles.scoped.css +33 -19
- package/token-group/styles.selectors.js +10 -9
- package/token-group/token.d.ts +2 -1
- package/token-group/token.d.ts.map +1 -1
- package/token-group/token.js +3 -3
- package/token-group/token.js.map +1 -1
- package/top-navigation/1.0-beta/interfaces.d.ts +1 -1
- package/top-navigation/1.0-beta/interfaces.js.map +1 -1
- package/top-navigation/interfaces.d.ts +1 -1
- package/top-navigation/interfaces.js.map +1 -1
package/slider/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/slider/utils.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,MAAM,UAAU,UAAU,CAAC,KAAa,EAAE,KAAiC;IACzE,OAAO,CAAC,CAAC,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,C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wB,GAAG,CACtC,KAAuB,EACvB,KAAQ,EACyC,EAAE;IACnD,IAAI,WAAW,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC;IAC7B,WAAW,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAEhD,MAAM,KAAK,GAAG,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC9C,MAAM,KAAK,GAAG,WAAW,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,SAAS,CAAC;IAClD,MAAM,MAAM,GAAG,WAAW,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,SAAS,CAAC;IAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AAC3B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,eAAsC,EAAE,EAAE;IACvE,MAAM,kBAAkB,GAAG,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAEtF,OAAO,kBAAkB,CAAC,MAAM,KAAK,CAAC,CAAC;AACzC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nexport function getPercent(value: number, range: [min: number, max: number]) {\n return ((value - range[0]) / (range[1] - range[0])) * 100;\n}\n\nfunction countDecimals(value: number) {\n if (Math.floor(value) === value) {\n return 0;\n }\n\n const str = Math.abs(value).toString();\n // very small numbers, e.g. 1e-9\n if (str.indexOf('-') !== -1) {\n return parseInt(str.split('-')[1], 10) || 0;\n }\n return str.split('.')[1]?.length || 0;\n}\n\nexport const getStepArray = (step: number, [min, max]: [min: number, max: number]) => {\n const steps = [min];\n\n // JS struggles with rounding errors when using decimals, so include a multiplier\n // to make step calculations integer-based\n const multiplier = Math.pow(10, countDecimals(step));\n\n let currentStep = min;\n\n while (currentStep < max) {\n currentStep = (multiplier * currentStep + multiplier * step) / multiplier;\n if (currentStep <= max) {\n steps.push(currentStep);\n }\n }\n\n return steps;\n};\n\nexport const findLowerAndHigherValues = <T extends number>(\n array: ReadonlyArray<T>,\n value: T\n): { lower: undefined | T; higher: undefined | T } => {\n let sortedArray = [...array];\n sortedArray = sortedArray.sort((a, b) => a - b);\n\n const index = sortedArray.indexOf(value) || 0;\n const lower = sortedArray[index - 1] || undefined;\n const higher = sortedArray[index + 1] || undefined;\n\n return { lower, higher };\n};\n\nexport const valuesAreValid = (referenceValues: ReadonlyArray<number>) => {\n const valuesWithDecimals = referenceValues?.filter(value => !Number.isInteger(value));\n\n return valuesWithDecimals.length === 0;\n};\n\nexport const THUMB_SIZE = 16;\n"]}
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/slider/utils.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,MAAM,UAAU,UAAU,CAAC,KAAa,EAAE,KAAiC;IACzE,OAAO,CAAC,CAAC,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;AAC5D,CAAC;AAED,SAAS,aAAa,CAAC,KAAa;;IAClC,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,KAAK,EAAE;QAC/B,OAAO,CAAC,CAAC;KACV;IAED,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC;IACvC,gCAAgC;IAChC,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE;QAC3B,OAAO,QAAQ,CAA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,KAAK,GAAG,CAAC,CAAC,IAAI,SAAS,CAAC;IAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AAC3B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,eAAsC,EAAE,EAAE;IACvE,MAAM,kBAAkB,GAAG,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAEtF,OAAO,kBAAkB,CAAC,MAAM,KAAK,CAAC,CAAC;AACzC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,CAAC;AAC7B,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nexport function getPercent(value: number, range: [min: number, max: number]) {\n return ((value - range[0]) / (range[1] - range[0])) * 100;\n}\n\nfunction countDecimals(value: number) {\n if (Math.floor(value) === value) {\n return 0;\n }\n\n const str = Math.abs(value).toString();\n // very small numbers, e.g. 1e-9\n if (str.indexOf('-') !== -1) {\n return parseInt(str.split('-')[1], 10) || 0;\n }\n return str.split('.')[1]?.length || 0;\n}\n\nexport const getStepArray = (step: number, [min, max]: [min: number, max: number]) => {\n const steps = [min];\n\n // JS struggles with rounding errors when using decimals, so include a multiplier\n // to make step calculations integer-based\n const multiplier = Math.pow(10, countDecimals(step));\n\n let currentStep = min;\n\n while (currentStep < max) {\n currentStep = (multiplier * currentStep + multiplier * step) / multiplier;\n if (currentStep <= max) {\n steps.push(currentStep);\n }\n }\n\n return steps;\n};\n\nexport const findLowerAndHigherValues = <T extends number>(\n array: ReadonlyArray<T>,\n value: T\n): { lower: undefined | T; higher: undefined | T } => {\n let sortedArray = [...array];\n sortedArray = sortedArray.sort((a, b) => a - b);\n\n const index = sortedArray.indexOf(value) || 0;\n const lower = sortedArray[index - 1] || undefined;\n const higher = sortedArray[index + 1] || undefined;\n\n return { lower, higher };\n};\n\nexport const valuesAreValid = (referenceValues: ReadonlyArray<number>) => {\n const valuesWithDecimals = referenceValues?.filter(value => !Number.isInteger(value));\n\n return valuesWithDecimals.length === 0;\n};\n\nexport const THUMB_SIZE = 16;\nexport const THUMB_READONLY_SIZE = 12;\n"]}
|
package/tiles/interfaces.d.ts
CHANGED
|
@@ -49,6 +49,12 @@ export interface TilesProps extends BaseComponentProps, FormFieldControlProps {
|
|
|
49
49
|
* If the component controls any secondary content (for example, another form field), use this to provide an ID referring to the secondary content.
|
|
50
50
|
*/
|
|
51
51
|
ariaControls?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Specifies if the control is read-only, which prevents the
|
|
54
|
+
* user from modifying the value, but does not prevent the value from
|
|
55
|
+
* being included in a form submission. A read-only control is still focusable.
|
|
56
|
+
*/
|
|
57
|
+
readOnly?: boolean;
|
|
52
58
|
}
|
|
53
59
|
export declare namespace TilesProps {
|
|
54
60
|
type Breakpoint = _Breakpoint;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/tiles/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEpE,MAAM,WAAW,UAAW,SAAQ,kBAAkB,EAAE,qBAAqB;IAC3E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;;;;;;;;OAUG;IACH,KAAK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AIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,yBAAiB,UAAU,CAAC;IAC1B,KAAY,UAAU,GAAG,WAAW,CAAC;IACrC,UAAiB,eAAe;QAC9B,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;QACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;IAED,UAAiB,YAAY;QAC3B,KAAK,EAAE,MAAM,CAAC;KACf;IAED,UAAiB,GAAG;QAClB;;WAEG;QACH,KAAK,IAAI,IAAI,CAAC;KACf;CACF"}
|
package/tiles/interfaces.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/tiles/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\nimport { FormFieldControlProps } from '../internal/context/form-field-context';\nimport { Breakpoint as _Breakpoint } from '../internal/breakpoints';\n\nexport interface TilesProps extends BaseComponentProps, FormFieldControlProps {\n /**\n * Specify a custom name for the native radio buttons. If not provided, the tiles component generates a random name.\n */\n name?: string;\n\n /**\n * Specifies the value of the selected tile.\n * If you want to clear the selection, use `null`.\n */\n value: string | null;\n\n /**\n * List of tile definitions. Each tile has the following properties:\n *\n * - `value` [string] - The value that will be associated with the tile. This is the value the tiles will get when the radio button is selected.\n * - `label` [ReactNode] - A short description for the option the tile represents.\n * - `description` [ReactNode] - (Optional) Further explanatory guidance on the tile option, shown below the `label`.\n * - `image` [ReactNode] - (Optional) Visually distinctive image for the tile option, shown below the `description`.\n * - `disabled` [boolean] - (Optional) Specifies whether the tile is disabled. Users can't select disabled tiles.\n * - `controlId` [string] - (Optional) The ID of the internal input. You can use this to relate a label element's `for` attribute to this control.\n * We recommend that you don't set this property because it's automatically set by the tiles component.\n */\n items?: ReadonlyArray<TilesProps.TilesDefinition>;\n\n /**\n * Adds `aria-label` on the group. Don't set this property if you are using this form element within a form field\n * because the form field component automatically sets the correct labels to make the component accessible.\n */\n ariaLabel?: string;\n\n /**\n * Adds `aria-required` on the group.\n */\n ariaRequired?: boolean;\n\n /**\n * The number of columns for the tiles to be displayed in. Valid values are integers between 1 and 4.\n * If no value is specified, the number of columns is determined based on the number of items, with a maximum of 3.\n * It is set to 2 if 4 or 8 items are supplied in order to optimize the layout.\n */\n columns?: number;\n\n /**\n * Called when the user selects a different tile.\n */\n onChange?: NonCancelableEventHandler<TilesProps.ChangeDetail>;\n\n /**\n * Adds `aria-controls` attribute to the component.\n * If the component controls any secondary content (for example, another form field), use this to provide an ID referring to the secondary content.\n */\n ariaControls?: string;\n}\n\nexport namespace TilesProps {\n export type Breakpoint = _Breakpoint;\n export interface TilesDefinition {\n value: string;\n label: React.ReactNode;\n description?: React.ReactNode;\n image?: React.ReactNode;\n disabled?: boolean;\n controlId?: string;\n }\n\n export interface ChangeDetail {\n value: string;\n }\n\n export interface Ref {\n /**\n * Sets input focus onto the UI control.\n */\n focus(): void;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/tiles/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\nimport { FormFieldControlProps } from '../internal/context/form-field-context';\nimport { Breakpoint as _Breakpoint } from '../internal/breakpoints';\n\nexport interface TilesProps extends BaseComponentProps, FormFieldControlProps {\n /**\n * Specify a custom name for the native radio buttons. If not provided, the tiles component generates a random name.\n */\n name?: string;\n\n /**\n * Specifies the value of the selected tile.\n * If you want to clear the selection, use `null`.\n */\n value: string | null;\n\n /**\n * List of tile definitions. Each tile has the following properties:\n *\n * - `value` [string] - The value that will be associated with the tile. This is the value the tiles will get when the radio button is selected.\n * - `label` [ReactNode] - A short description for the option the tile represents.\n * - `description` [ReactNode] - (Optional) Further explanatory guidance on the tile option, shown below the `label`.\n * - `image` [ReactNode] - (Optional) Visually distinctive image for the tile option, shown below the `description`.\n * - `disabled` [boolean] - (Optional) Specifies whether the tile is disabled. Users can't select disabled tiles.\n * - `controlId` [string] - (Optional) The ID of the internal input. You can use this to relate a label element's `for` attribute to this control.\n * We recommend that you don't set this property because it's automatically set by the tiles component.\n */\n items?: ReadonlyArray<TilesProps.TilesDefinition>;\n\n /**\n * Adds `aria-label` on the group. Don't set this property if you are using this form element within a form field\n * because the form field component automatically sets the correct labels to make the component accessible.\n */\n ariaLabel?: string;\n\n /**\n * Adds `aria-required` on the group.\n */\n ariaRequired?: boolean;\n\n /**\n * The number of columns for the tiles to be displayed in. Valid values are integers between 1 and 4.\n * If no value is specified, the number of columns is determined based on the number of items, with a maximum of 3.\n * It is set to 2 if 4 or 8 items are supplied in order to optimize the layout.\n */\n columns?: number;\n\n /**\n * Called when the user selects a different tile.\n */\n onChange?: NonCancelableEventHandler<TilesProps.ChangeDetail>;\n\n /**\n * Adds `aria-controls` attribute to the component.\n * If the component controls any secondary content (for example, another form field), use this to provide an ID referring to the secondary content.\n */\n ariaControls?: string;\n\n /**\n * Specifies if the control is read-only, which prevents the\n * user from modifying the value, but does not prevent the value from\n * being included in a form submission. A read-only control is still focusable.\n */\n readOnly?: boolean;\n}\n\nexport namespace TilesProps {\n export type Breakpoint = _Breakpoint;\n export interface TilesDefinition {\n value: string;\n label: React.ReactNode;\n description?: React.ReactNode;\n image?: React.ReactNode;\n disabled?: boolean;\n controlId?: string;\n }\n\n export interface ChangeDetail {\n value: string;\n }\n\n export interface Ref {\n /**\n * Sets input focus onto the UI control.\n */\n focus(): void;\n }\n}\n"]}
|
package/tiles/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/tiles/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AASlF,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/tiles/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AASlF,QAAA,MAAM,aAAa,qHA0DlB,CAAC;AAqBF,eAAe,aAAa,CAAC"}
|
package/tiles/internal.js
CHANGED
|
@@ -13,7 +13,7 @@ import { Tile } from './tile';
|
|
|
13
13
|
import useRadioGroupForwardFocus from '../internal/hooks/forward-focus/radio-group';
|
|
14
14
|
const COLUMN_TRIGGERS = ['default', 'xxs', 'xs'];
|
|
15
15
|
const InternalTiles = React.forwardRef((_a, ref) => {
|
|
16
|
-
var { name, value, items, ariaLabel, ariaRequired, ariaControls, columns, onChange, __internalRootRef = null } = _a, rest = __rest(_a, ["name", "value", "items", "ariaLabel", "ariaRequired", "ariaControls", "columns", "onChange", "__internalRootRef"]);
|
|
16
|
+
var { name, value, items, ariaLabel, ariaRequired, ariaControls, columns, onChange, readOnly, __internalRootRef = null } = _a, rest = __rest(_a, ["name", "value", "items", "ariaLabel", "ariaRequired", "ariaControls", "columns", "onChange", "readOnly", "__internalRootRef"]);
|
|
17
17
|
const baseProps = getBaseProps(rest);
|
|
18
18
|
const { ariaDescribedby, ariaLabelledby } = useFormFieldContext(rest);
|
|
19
19
|
const generatedName = useUniqueId('awsui-tiles-');
|
|
@@ -21,9 +21,9 @@ const InternalTiles = React.forwardRef((_a, ref) => {
|
|
|
21
21
|
const [breakpoint, breakpointRef] = useContainerBreakpoints(COLUMN_TRIGGERS);
|
|
22
22
|
const mergedRef = useMergeRefs(breakpointRef, __internalRootRef);
|
|
23
23
|
const columnCount = getColumnCount(items, columns);
|
|
24
|
-
return (React.createElement("div", Object.assign({ role: "radiogroup", "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, "aria-describedby": ariaDescribedby, "aria-required": ariaRequired, "aria-controls": ariaControls }, baseProps, { className: clsx(baseProps.className, styles.root), ref: mergedRef }),
|
|
24
|
+
return (React.createElement("div", Object.assign({ role: "radiogroup", "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, "aria-describedby": ariaDescribedby, "aria-required": ariaRequired, "aria-controls": ariaControls, "aria-readonly": readOnly ? 'true' : undefined }, baseProps, { className: clsx(baseProps.className, styles.root), ref: mergedRef }),
|
|
25
25
|
React.createElement("div", { className: clsx(styles.columns, styles[`column-${columnCount}`]) }, items &&
|
|
26
|
-
items.map((item, index) => (React.createElement(Tile, { ref: index === tileRefIndex ? tileRef : undefined, key: item.value, item: item, selected: item.value === value, name: name || generatedName, breakpoint: breakpoint, onChange: onChange }))))));
|
|
26
|
+
items.map((item, index) => (React.createElement(Tile, { ref: index === tileRefIndex ? tileRef : undefined, key: item.value, item: item, selected: item.value === value, name: name || generatedName, breakpoint: breakpoint, onChange: onChange, readOnly: readOnly }))))));
|
|
27
27
|
});
|
|
28
28
|
function getColumnCount(items, columns) {
|
|
29
29
|
if (columns) {
|
package/tiles/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/tiles/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAC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I,IACH,GAAG,EAAE,KAAK,KAAK,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,EACjD,GAAG,EAAE,IAAI,CAAC,KAAK,EACf,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,IAAI,CAAC,KAAK,KAAK,KAAK,EAC9B,IAAI,EAAE,IAAI,IAAI,aAAa,EAC3B,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CACA,CACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,cAAc,CACrB,KAA4D,EAC5D,OAA2B;IAE3B,IAAI,OAAO,EAAE;QACX,OAAO,OAAO,CAAC;KAChB;IAED,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACxC,MAAM,aAAa,GAA2B;QAC5C,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;KACL,CAAC;IACF,OAAO,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,eAAe,aAAa,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';\n\nimport { getBaseProps } from '../internal/base-component';\nimport { TilesProps } from './interfaces';\nimport styles from './styles.css.js';\n\nimport { useFormFieldContext } from '../internal/context/form-field-context';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { Tile } from './tile';\nimport useRadioGroupForwardFocus from '../internal/hooks/forward-focus/radio-group';\n\nconst COLUMN_TRIGGERS: TilesProps.Breakpoint[] = ['default', 'xxs', 'xs'];\n\ntype InternalTilesProps = TilesProps & InternalBaseComponentProps;\n\nconst InternalTiles = React.forwardRef(\n (\n {\n name,\n value,\n items,\n ariaLabel,\n ariaRequired,\n ariaControls,\n columns,\n onChange,\n readOnly,\n __internalRootRef = null,\n ...rest\n }: InternalTilesProps,\n ref: React.Ref<TilesProps.Ref>\n ) => {\n const baseProps = getBaseProps(rest);\n const { ariaDescribedby, ariaLabelledby } = useFormFieldContext(rest);\n const generatedName = useUniqueId('awsui-tiles-');\n\n const [tileRef, tileRefIndex] = useRadioGroupForwardFocus(ref, items, value);\n const [breakpoint, breakpointRef] = useContainerBreakpoints(COLUMN_TRIGGERS);\n const mergedRef = useMergeRefs(breakpointRef, __internalRootRef);\n\n const columnCount = getColumnCount(items, columns);\n\n return (\n <div\n role=\"radiogroup\"\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledby}\n aria-describedby={ariaDescribedby}\n aria-required={ariaRequired}\n aria-controls={ariaControls}\n aria-readonly={readOnly ? 'true' : undefined}\n {...baseProps}\n className={clsx(baseProps.className, styles.root)}\n ref={mergedRef}\n >\n <div className={clsx(styles.columns, styles[`column-${columnCount}`])}>\n {items &&\n items.map((item, index) => (\n <Tile\n ref={index === tileRefIndex ? tileRef : undefined}\n key={item.value}\n item={item}\n selected={item.value === value}\n name={name || generatedName}\n breakpoint={breakpoint}\n onChange={onChange}\n readOnly={readOnly}\n />\n ))}\n </div>\n </div>\n );\n }\n);\n\nfunction getColumnCount(\n items: ReadonlyArray<TilesProps.TilesDefinition> | undefined,\n columns: number | undefined\n): number {\n if (columns) {\n return columns;\n }\n\n const nItems = items ? items.length : 0;\n const columnsLookup: Record<number, number> = {\n 0: 1,\n 1: 1,\n 2: 2,\n 4: 2,\n 8: 2,\n };\n return columnsLookup[nItems] || 3;\n}\n\nexport default InternalTiles;\n"]}
|
package/tiles/styles.css.js
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"column-layout": "awsui_column-
|
|
5
|
-
"grid": "
|
|
6
|
-
"grid-no-gutters": "awsui_grid-no-
|
|
7
|
-
"grid-variant-text-grid": "awsui_grid-variant-text-
|
|
8
|
-
"grid-breakpoint-default": "awsui_grid-breakpoint-
|
|
9
|
-
"grid-columns-1": "awsui_grid-columns-
|
|
10
|
-
"grid-breakpoint-xxs": "awsui_grid-breakpoint-
|
|
11
|
-
"grid-breakpoint-xs": "awsui_grid-breakpoint-
|
|
12
|
-
"grid-columns-2": "awsui_grid-columns-
|
|
13
|
-
"grid-columns-3": "awsui_grid-columns-
|
|
14
|
-
"grid-columns-4": "awsui_grid-columns-
|
|
15
|
-
"grid-vertical-borders": "awsui_grid-vertical-
|
|
16
|
-
"grid-horizontal-borders": "awsui_grid-horizontal-
|
|
17
|
-
"root": "
|
|
18
|
-
"tile-container": "awsui_tile-
|
|
19
|
-
"refresh": "
|
|
20
|
-
"has-metadata": "awsui_has-
|
|
21
|
-
"selected": "
|
|
22
|
-
"disabled": "
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"breakpoint-
|
|
27
|
-
"
|
|
28
|
-
"column-
|
|
29
|
-
"column-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"image": "
|
|
4
|
+
"column-layout": "awsui_column-layout_vj6p7_tp6ux_97",
|
|
5
|
+
"grid": "awsui_grid_vj6p7_tp6ux_132",
|
|
6
|
+
"grid-no-gutters": "awsui_grid-no-gutters_vj6p7_tp6ux_138",
|
|
7
|
+
"grid-variant-text-grid": "awsui_grid-variant-text-grid_vj6p7_tp6ux_142",
|
|
8
|
+
"grid-breakpoint-default": "awsui_grid-breakpoint-default_vj6p7_tp6ux_150",
|
|
9
|
+
"grid-columns-1": "awsui_grid-columns-1_vj6p7_tp6ux_153",
|
|
10
|
+
"grid-breakpoint-xxs": "awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153",
|
|
11
|
+
"grid-breakpoint-xs": "awsui_grid-breakpoint-xs_vj6p7_tp6ux_156",
|
|
12
|
+
"grid-columns-2": "awsui_grid-columns-2_vj6p7_tp6ux_159",
|
|
13
|
+
"grid-columns-3": "awsui_grid-columns-3_vj6p7_tp6ux_165",
|
|
14
|
+
"grid-columns-4": "awsui_grid-columns-4_vj6p7_tp6ux_171",
|
|
15
|
+
"grid-vertical-borders": "awsui_grid-vertical-borders_vj6p7_tp6ux_187",
|
|
16
|
+
"grid-horizontal-borders": "awsui_grid-horizontal-borders_vj6p7_tp6ux_220",
|
|
17
|
+
"root": "awsui_root_vj6p7_tp6ux_274",
|
|
18
|
+
"tile-container": "awsui_tile-container_vj6p7_tp6ux_312",
|
|
19
|
+
"refresh": "awsui_refresh_vj6p7_tp6ux_327",
|
|
20
|
+
"has-metadata": "awsui_has-metadata_vj6p7_tp6ux_331",
|
|
21
|
+
"selected": "awsui_selected_vj6p7_tp6ux_337",
|
|
22
|
+
"disabled": "awsui_disabled_vj6p7_tp6ux_342",
|
|
23
|
+
"readonly": "awsui_readonly_vj6p7_tp6ux_347",
|
|
24
|
+
"columns": "awsui_columns_vj6p7_tp6ux_363",
|
|
25
|
+
"column-1": "awsui_column-1_vj6p7_tp6ux_369",
|
|
26
|
+
"breakpoint-xs": "awsui_breakpoint-xs_vj6p7_tp6ux_376",
|
|
27
|
+
"breakpoint-xxs": "awsui_breakpoint-xxs_vj6p7_tp6ux_380",
|
|
28
|
+
"column-2": "awsui_column-2_vj6p7_tp6ux_384",
|
|
29
|
+
"column-3": "awsui_column-3_vj6p7_tp6ux_399",
|
|
30
|
+
"column-4": "awsui_column-4_vj6p7_tp6ux_414",
|
|
31
|
+
"control": "awsui_control_vj6p7_tp6ux_430",
|
|
32
|
+
"no-image": "awsui_no-image_vj6p7_tp6ux_434",
|
|
33
|
+
"image": "awsui_image_vj6p7_tp6ux_438"
|
|
33
34
|
};
|
|
34
35
|
|
package/tiles/styles.scoped.css
CHANGED
|
@@ -94,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
div.awsui_column-
|
|
97
|
+
div.awsui_column-layout_vj6p7_tp6ux_97:not(#\9) {
|
|
98
98
|
border-collapse: separate;
|
|
99
99
|
border-spacing: 0;
|
|
100
100
|
box-sizing: border-box;
|
|
@@ -130,141 +130,141 @@ div.awsui_column-layout_vj6p7_h9y4z_97:not(#\9) {
|
|
|
130
130
|
-moz-osx-font-smoothing: auto;
|
|
131
131
|
word-wrap: break-word;
|
|
132
132
|
}
|
|
133
|
-
div.awsui_column-
|
|
133
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132:not(#\9) {
|
|
134
134
|
margin-block: calc(var(--space-grid-gutter-ieqn7e, 20px) / -2);
|
|
135
135
|
margin-inline: calc(var(--space-grid-gutter-ieqn7e, 20px) / -2);
|
|
136
136
|
/* stylelint-disable-next-line selector-max-universal */
|
|
137
137
|
/* stylelint-disable-next-line selector-max-universal */
|
|
138
138
|
}
|
|
139
|
-
div.awsui_column-
|
|
139
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-no-gutters_vj6p7_tp6ux_138:not(#\9) {
|
|
140
140
|
margin-block: 0;
|
|
141
141
|
margin-inline: 0;
|
|
142
142
|
}
|
|
143
|
-
div.awsui_column-
|
|
143
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-variant-text-grid_vj6p7_tp6ux_142:not(#\9) {
|
|
144
144
|
/* stylelint-disable-next-line selector-max-universal */
|
|
145
145
|
margin-block: calc(-1 * var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
146
146
|
margin-inline: calc(-1 * var(--space-grid-gutter-ieqn7e, 20px));
|
|
147
147
|
}
|
|
148
|
-
div.awsui_column-
|
|
148
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-variant-text-grid_vj6p7_tp6ux_142 > *:not(#\9) {
|
|
149
149
|
border-inline-start: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
150
150
|
}
|
|
151
|
-
div.awsui_column-
|
|
151
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-variant-text-grid_vj6p7_tp6ux_142.awsui_grid-breakpoint-default_vj6p7_tp6ux_150 > *:not(#\9):nth-child(1n+1) {
|
|
152
152
|
border-inline-start-width: 0;
|
|
153
153
|
}
|
|
154
|
-
div.awsui_column-
|
|
154
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-variant-text-grid_vj6p7_tp6ux_142.awsui_grid-columns-1_vj6p7_tp6ux_153.awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153 > *:not(#\9):nth-child(1n+1) {
|
|
155
155
|
border-inline-start-width: 0;
|
|
156
156
|
}
|
|
157
|
-
div.awsui_column-
|
|
157
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-variant-text-grid_vj6p7_tp6ux_142.awsui_grid-columns-1_vj6p7_tp6ux_153.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-child(1n+1) {
|
|
158
158
|
border-inline-start-width: 0;
|
|
159
159
|
}
|
|
160
|
-
div.awsui_column-
|
|
160
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-variant-text-grid_vj6p7_tp6ux_142.awsui_grid-columns-2_vj6p7_tp6ux_159.awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153 > *:not(#\9):nth-child(2n+1) {
|
|
161
161
|
border-inline-start-width: 0;
|
|
162
162
|
}
|
|
163
|
-
div.awsui_column-
|
|
163
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-variant-text-grid_vj6p7_tp6ux_142.awsui_grid-columns-2_vj6p7_tp6ux_159.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-child(2n+1) {
|
|
164
164
|
border-inline-start-width: 0;
|
|
165
165
|
}
|
|
166
|
-
div.awsui_column-
|
|
166
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-variant-text-grid_vj6p7_tp6ux_142.awsui_grid-columns-3_vj6p7_tp6ux_165.awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153 > *:not(#\9):nth-child(2n+1) {
|
|
167
167
|
border-inline-start-width: 0;
|
|
168
168
|
}
|
|
169
|
-
div.awsui_column-
|
|
169
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-variant-text-grid_vj6p7_tp6ux_142.awsui_grid-columns-3_vj6p7_tp6ux_165.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-child(3n+1) {
|
|
170
170
|
border-inline-start-width: 0;
|
|
171
171
|
}
|
|
172
|
-
div.awsui_column-
|
|
172
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-variant-text-grid_vj6p7_tp6ux_142.awsui_grid-columns-4_vj6p7_tp6ux_171.awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153 > *:not(#\9):nth-child(2n+1) {
|
|
173
173
|
border-inline-start-width: 0;
|
|
174
174
|
}
|
|
175
|
-
div.awsui_column-
|
|
175
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-variant-text-grid_vj6p7_tp6ux_142.awsui_grid-columns-4_vj6p7_tp6ux_171.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-child(4n+1) {
|
|
176
176
|
border-inline-start-width: 0;
|
|
177
177
|
}
|
|
178
|
-
div.awsui_column-
|
|
178
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132:not(#\9):not(.awsui_grid-no-gutters_vj6p7_tp6ux_138) > * {
|
|
179
179
|
padding-block: calc(var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
180
180
|
padding-inline: calc(var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
181
181
|
}
|
|
182
|
-
div.awsui_column-
|
|
182
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132:not(#\9):not(.awsui_grid-no-gutters_vj6p7_tp6ux_138).awsui_grid-variant-text-grid_vj6p7_tp6ux_142 > * {
|
|
183
183
|
padding-block: 0;
|
|
184
184
|
padding-inline: var(--space-grid-gutter-ieqn7e, 20px);
|
|
185
185
|
margin-block: calc(var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
186
186
|
margin-inline: 0;
|
|
187
187
|
}
|
|
188
|
-
div.awsui_column-
|
|
188
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-vertical-borders_vj6p7_tp6ux_187:not(#\9) {
|
|
189
189
|
/* stylelint-disable-next-line selector-max-universal */
|
|
190
190
|
}
|
|
191
|
-
div.awsui_column-
|
|
191
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-vertical-borders_vj6p7_tp6ux_187 > *:not(#\9) {
|
|
192
192
|
border-inline-end: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
193
193
|
}
|
|
194
|
-
div.awsui_column-
|
|
194
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-vertical-borders_vj6p7_tp6ux_187.awsui_grid-breakpoint-default_vj6p7_tp6ux_150 > *:not(#\9):nth-child(1n) {
|
|
195
195
|
border-inline-end-width: 0;
|
|
196
196
|
}
|
|
197
|
-
div.awsui_column-
|
|
197
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-vertical-borders_vj6p7_tp6ux_187.awsui_grid-columns-1_vj6p7_tp6ux_153.awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153 > *:not(#\9):nth-child(1n) {
|
|
198
198
|
border-inline-end-width: 0;
|
|
199
199
|
}
|
|
200
|
-
div.awsui_column-
|
|
200
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-vertical-borders_vj6p7_tp6ux_187.awsui_grid-columns-1_vj6p7_tp6ux_153.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-child(1n) {
|
|
201
201
|
border-inline-end-width: 0;
|
|
202
202
|
}
|
|
203
|
-
div.awsui_column-
|
|
203
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-vertical-borders_vj6p7_tp6ux_187.awsui_grid-columns-2_vj6p7_tp6ux_159.awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153 > *:not(#\9):nth-child(2n) {
|
|
204
204
|
border-inline-end-width: 0;
|
|
205
205
|
}
|
|
206
|
-
div.awsui_column-
|
|
206
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-vertical-borders_vj6p7_tp6ux_187.awsui_grid-columns-2_vj6p7_tp6ux_159.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-child(2n) {
|
|
207
207
|
border-inline-end-width: 0;
|
|
208
208
|
}
|
|
209
|
-
div.awsui_column-
|
|
209
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-vertical-borders_vj6p7_tp6ux_187.awsui_grid-columns-3_vj6p7_tp6ux_165.awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153 > *:not(#\9):nth-child(2n) {
|
|
210
210
|
border-inline-end-width: 0;
|
|
211
211
|
}
|
|
212
|
-
div.awsui_column-
|
|
212
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-vertical-borders_vj6p7_tp6ux_187.awsui_grid-columns-3_vj6p7_tp6ux_165.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-child(3n) {
|
|
213
213
|
border-inline-end-width: 0;
|
|
214
214
|
}
|
|
215
|
-
div.awsui_column-
|
|
215
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-vertical-borders_vj6p7_tp6ux_187.awsui_grid-columns-4_vj6p7_tp6ux_171.awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153 > *:not(#\9):nth-child(2n) {
|
|
216
216
|
border-inline-end-width: 0;
|
|
217
217
|
}
|
|
218
|
-
div.awsui_column-
|
|
218
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-vertical-borders_vj6p7_tp6ux_187.awsui_grid-columns-4_vj6p7_tp6ux_171.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-child(4n) {
|
|
219
219
|
border-inline-end-width: 0;
|
|
220
220
|
}
|
|
221
|
-
div.awsui_column-
|
|
221
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220:not(#\9) {
|
|
222
222
|
/* stylelint-disable selector-max-universal */
|
|
223
223
|
/* stylelint-enable selector-max-universal */
|
|
224
224
|
}
|
|
225
|
-
div.awsui_column-
|
|
225
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220 > *:not(#\9) {
|
|
226
226
|
border-block-end: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-divider-default-j74lyz, #b6bec9);
|
|
227
227
|
}
|
|
228
|
-
div.awsui_column-
|
|
228
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220 > *:not(#\9):last-child {
|
|
229
229
|
border-block-end-width: 0;
|
|
230
230
|
}
|
|
231
|
-
div.awsui_column-
|
|
231
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-2_vj6p7_tp6ux_159.awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153 > *:not(#\9):nth-last-child(2):nth-child(2n+1) {
|
|
232
232
|
border-block-end-width: 0;
|
|
233
233
|
}
|
|
234
|
-
div.awsui_column-
|
|
234
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-2_vj6p7_tp6ux_159.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-last-child(2):nth-child(2n+1) {
|
|
235
235
|
border-block-end-width: 0;
|
|
236
236
|
}
|
|
237
|
-
div.awsui_column-
|
|
237
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-3_vj6p7_tp6ux_165.awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153 > *:not(#\9):nth-last-child(2):nth-child(2n+1) {
|
|
238
238
|
border-block-end-width: 0;
|
|
239
239
|
}
|
|
240
|
-
div.awsui_column-
|
|
240
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-3_vj6p7_tp6ux_165.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-last-child(2):nth-child(3n+1) {
|
|
241
241
|
border-block-end-width: 0;
|
|
242
242
|
}
|
|
243
|
-
div.awsui_column-
|
|
243
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-3_vj6p7_tp6ux_165.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-last-child(2):nth-child(3n+2) {
|
|
244
244
|
border-block-end-width: 0;
|
|
245
245
|
}
|
|
246
|
-
div.awsui_column-
|
|
246
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-3_vj6p7_tp6ux_165.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-last-child(3):nth-child(3n+1) {
|
|
247
247
|
border-block-end-width: 0;
|
|
248
248
|
}
|
|
249
|
-
div.awsui_column-
|
|
249
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-4_vj6p7_tp6ux_171.awsui_grid-breakpoint-xxs_vj6p7_tp6ux_153 > *:not(#\9):nth-last-child(2):nth-child(2n+1) {
|
|
250
250
|
border-block-end-width: 0;
|
|
251
251
|
}
|
|
252
|
-
div.awsui_column-
|
|
252
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-4_vj6p7_tp6ux_171.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-last-child(2):nth-child(4n+1) {
|
|
253
253
|
border-block-end-width: 0;
|
|
254
254
|
}
|
|
255
|
-
div.awsui_column-
|
|
255
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-4_vj6p7_tp6ux_171.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-last-child(2):nth-child(4n+2) {
|
|
256
256
|
border-block-end-width: 0;
|
|
257
257
|
}
|
|
258
|
-
div.awsui_column-
|
|
258
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-4_vj6p7_tp6ux_171.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-last-child(2):nth-child(4n+3) {
|
|
259
259
|
border-block-end-width: 0;
|
|
260
260
|
}
|
|
261
|
-
div.awsui_column-
|
|
261
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-4_vj6p7_tp6ux_171.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-last-child(3):nth-child(4n+1) {
|
|
262
262
|
border-block-end-width: 0;
|
|
263
263
|
}
|
|
264
|
-
div.awsui_column-
|
|
264
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-4_vj6p7_tp6ux_171.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-last-child(3):nth-child(4n+2) {
|
|
265
265
|
border-block-end-width: 0;
|
|
266
266
|
}
|
|
267
|
-
div.awsui_column-
|
|
267
|
+
div.awsui_column-layout_vj6p7_tp6ux_97 > .awsui_grid_vj6p7_tp6ux_132.awsui_grid-horizontal-borders_vj6p7_tp6ux_220.awsui_grid-columns-4_vj6p7_tp6ux_171.awsui_grid-breakpoint-xs_vj6p7_tp6ux_156 > *:not(#\9):nth-last-child(4):nth-child(4n+1) {
|
|
268
268
|
border-block-end-width: 0;
|
|
269
269
|
}
|
|
270
270
|
|
|
@@ -272,7 +272,7 @@ div.awsui_column-layout_vj6p7_h9y4z_97 > .awsui_grid_vj6p7_h9y4z_132.awsui_grid-
|
|
|
272
272
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
273
273
|
SPDX-License-Identifier: Apache-2.0
|
|
274
274
|
*/
|
|
275
|
-
.
|
|
275
|
+
.awsui_root_vj6p7_tp6ux_274:not(#\9) {
|
|
276
276
|
border-collapse: separate;
|
|
277
277
|
border-spacing: 0;
|
|
278
278
|
box-sizing: border-box;
|
|
@@ -311,7 +311,7 @@ div.awsui_column-layout_vj6p7_h9y4z_97 > .awsui_grid_vj6p7_h9y4z_132.awsui_grid-
|
|
|
311
311
|
display: block;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
.awsui_tile-
|
|
314
|
+
.awsui_tile-container_vj6p7_tp6ux_312:not(#\9) {
|
|
315
315
|
box-sizing: border-box;
|
|
316
316
|
display: flex;
|
|
317
317
|
flex-direction: column;
|
|
@@ -326,118 +326,123 @@ div.awsui_column-layout_vj6p7_h9y4z_97 > .awsui_grid_vj6p7_h9y4z_132.awsui_grid-
|
|
|
326
326
|
padding-inline: var(--space-scaled-m-mo5yse, 16px);
|
|
327
327
|
transition: border-color var(--motion-duration-transition-quick-6npj01, 90ms) var(--motion-easing-transition-quick-l9jfsx, linear), background-color var(--motion-duration-transition-quick-6npj01, 90ms) var(--motion-easing-transition-quick-l9jfsx, linear);
|
|
328
328
|
}
|
|
329
|
-
.awsui_tile-
|
|
329
|
+
.awsui_tile-container_vj6p7_tp6ux_312.awsui_refresh_vj6p7_tp6ux_327:not(#\9) {
|
|
330
330
|
padding-block: var(--space-xs-zb16t3, 8px);
|
|
331
331
|
padding-inline: var(--space-s-34lx8l, 12px);
|
|
332
332
|
}
|
|
333
|
-
.awsui_tile-
|
|
333
|
+
.awsui_tile-container_vj6p7_tp6ux_312.awsui_has-metadata_vj6p7_tp6ux_331:not(#\9) {
|
|
334
334
|
padding-block-end: var(--space-s-34lx8l, 12px);
|
|
335
335
|
}
|
|
336
|
-
.awsui_tile-
|
|
336
|
+
.awsui_tile-container_vj6p7_tp6ux_312.awsui_has-metadata_vj6p7_tp6ux_331.awsui_refresh_vj6p7_tp6ux_327:not(#\9) {
|
|
337
337
|
padding-block-end: var(--space-scaled-s-aqzyko, 12px);
|
|
338
338
|
}
|
|
339
|
-
.awsui_tile-
|
|
339
|
+
.awsui_tile-container_vj6p7_tp6ux_312.awsui_selected_vj6p7_tp6ux_337:not(#\9) {
|
|
340
340
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-selected-k00wlz, #0972d3);
|
|
341
341
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-selected-k00wlz, #0972d3);
|
|
342
342
|
background: var(--color-background-item-selected-hcx8l4, #f2f8fd);
|
|
343
343
|
}
|
|
344
|
-
.awsui_tile-
|
|
344
|
+
.awsui_tile-container_vj6p7_tp6ux_312.awsui_disabled_vj6p7_tp6ux_342:not(#\9) {
|
|
345
345
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-tiles-disabled-q5e1so, #e9ebed);
|
|
346
346
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-tiles-disabled-q5e1so, #e9ebed);
|
|
347
347
|
background: var(--color-background-tiles-disabled-0j6ior, #e9ebed);
|
|
348
348
|
}
|
|
349
|
+
.awsui_tile-container_vj6p7_tp6ux_312.awsui_readonly_vj6p7_tp6ux_347:not(#\9) {
|
|
350
|
+
background-color: var(--color-background-input-default-igdh5e, #ffffff);
|
|
351
|
+
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-disabled-rx2aau, #e9ebed);
|
|
352
|
+
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-input-disabled-rx2aau, #e9ebed);
|
|
353
|
+
}
|
|
349
354
|
@media (prefers-reduced-motion: reduce) {
|
|
350
|
-
.awsui_tile-
|
|
355
|
+
.awsui_tile-container_vj6p7_tp6ux_312:not(#\9) {
|
|
351
356
|
animation: none;
|
|
352
357
|
transition: none;
|
|
353
358
|
}
|
|
354
359
|
}
|
|
355
|
-
.awsui-motion-disabled .awsui_tile-
|
|
360
|
+
.awsui-motion-disabled .awsui_tile-container_vj6p7_tp6ux_312:not(#\9), .awsui-mode-entering .awsui_tile-container_vj6p7_tp6ux_312:not(#\9) {
|
|
356
361
|
animation: none;
|
|
357
362
|
transition: none;
|
|
358
363
|
}
|
|
359
364
|
|
|
360
|
-
.
|
|
365
|
+
.awsui_columns_vj6p7_tp6ux_363:not(#\9) {
|
|
361
366
|
display: flex;
|
|
362
367
|
flex-wrap: wrap;
|
|
363
368
|
margin-block: calc(var(--space-grid-gutter-ieqn7e, 20px) / -2);
|
|
364
369
|
margin-inline: calc(var(--space-grid-gutter-ieqn7e, 20px) / -2);
|
|
365
370
|
}
|
|
366
|
-
.
|
|
371
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-1_vj6p7_tp6ux_369 > .awsui_tile-container_vj6p7_tp6ux_312:not(#\9) {
|
|
367
372
|
margin-block: calc(var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
368
373
|
margin-inline: calc(var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
369
374
|
box-sizing: border-box;
|
|
370
375
|
flex: 0 0 calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
371
376
|
max-inline-size: calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
372
377
|
}
|
|
373
|
-
.
|
|
378
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-1_vj6p7_tp6ux_369 > .awsui_tile-container_vj6p7_tp6ux_312.awsui_breakpoint-xs_vj6p7_tp6ux_376:not(#\9) {
|
|
374
379
|
flex: 0 0 calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
375
380
|
max-inline-size: calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
376
381
|
}
|
|
377
|
-
.
|
|
382
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-1_vj6p7_tp6ux_369 > .awsui_tile-container_vj6p7_tp6ux_312.awsui_breakpoint-xxs_vj6p7_tp6ux_380:not(#\9) {
|
|
378
383
|
flex: 0 0 calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
379
384
|
max-inline-size: calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
380
385
|
}
|
|
381
|
-
.
|
|
386
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-2_vj6p7_tp6ux_384 > .awsui_tile-container_vj6p7_tp6ux_312:not(#\9) {
|
|
382
387
|
margin-block: calc(var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
383
388
|
margin-inline: calc(var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
384
389
|
box-sizing: border-box;
|
|
385
390
|
flex: 0 0 calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
386
391
|
max-inline-size: calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
387
392
|
}
|
|
388
|
-
.
|
|
393
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-2_vj6p7_tp6ux_384 > .awsui_tile-container_vj6p7_tp6ux_312.awsui_breakpoint-xs_vj6p7_tp6ux_376:not(#\9) {
|
|
389
394
|
flex: 0 0 calc(50% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
390
395
|
max-inline-size: calc(50% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
391
396
|
}
|
|
392
|
-
.
|
|
397
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-2_vj6p7_tp6ux_384 > .awsui_tile-container_vj6p7_tp6ux_312.awsui_breakpoint-xxs_vj6p7_tp6ux_380:not(#\9) {
|
|
393
398
|
flex: 0 0 calc(50% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
394
399
|
max-inline-size: calc(50% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
395
400
|
}
|
|
396
|
-
.
|
|
401
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-3_vj6p7_tp6ux_399 > .awsui_tile-container_vj6p7_tp6ux_312:not(#\9) {
|
|
397
402
|
margin-block: calc(var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
398
403
|
margin-inline: calc(var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
399
404
|
box-sizing: border-box;
|
|
400
405
|
flex: 0 0 calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
401
406
|
max-inline-size: calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
402
407
|
}
|
|
403
|
-
.
|
|
408
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-3_vj6p7_tp6ux_399 > .awsui_tile-container_vj6p7_tp6ux_312.awsui_breakpoint-xs_vj6p7_tp6ux_376:not(#\9) {
|
|
404
409
|
flex: 0 0 calc(33.3333333333% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
405
410
|
max-inline-size: calc(33.3333333333% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
406
411
|
}
|
|
407
|
-
.
|
|
412
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-3_vj6p7_tp6ux_399 > .awsui_tile-container_vj6p7_tp6ux_312.awsui_breakpoint-xxs_vj6p7_tp6ux_380:not(#\9) {
|
|
408
413
|
flex: 0 0 calc(50% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
409
414
|
max-inline-size: calc(50% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
410
415
|
}
|
|
411
|
-
.
|
|
416
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-4_vj6p7_tp6ux_414 > .awsui_tile-container_vj6p7_tp6ux_312:not(#\9) {
|
|
412
417
|
margin-block: calc(var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
413
418
|
margin-inline: calc(var(--space-grid-gutter-ieqn7e, 20px) / 2);
|
|
414
419
|
box-sizing: border-box;
|
|
415
420
|
flex: 0 0 calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
416
421
|
max-inline-size: calc(100% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
417
422
|
}
|
|
418
|
-
.
|
|
423
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-4_vj6p7_tp6ux_414 > .awsui_tile-container_vj6p7_tp6ux_312.awsui_breakpoint-xs_vj6p7_tp6ux_376:not(#\9) {
|
|
419
424
|
flex: 0 0 calc(25% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
420
425
|
max-inline-size: calc(25% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
421
426
|
}
|
|
422
|
-
.
|
|
427
|
+
.awsui_columns_vj6p7_tp6ux_363.awsui_column-4_vj6p7_tp6ux_414 > .awsui_tile-container_vj6p7_tp6ux_312.awsui_breakpoint-xxs_vj6p7_tp6ux_380:not(#\9) {
|
|
423
428
|
flex: 0 0 calc(50% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
424
429
|
max-inline-size: calc(50% - var(--space-grid-gutter-ieqn7e, 20px));
|
|
425
430
|
}
|
|
426
431
|
|
|
427
|
-
.
|
|
432
|
+
.awsui_control_vj6p7_tp6ux_430:not(#\9) {
|
|
428
433
|
flex-grow: 1;
|
|
429
434
|
margin-block-end: var(--space-s-34lx8l, 12px);
|
|
430
435
|
}
|
|
431
|
-
.
|
|
436
|
+
.awsui_control_vj6p7_tp6ux_430.awsui_no-image_vj6p7_tp6ux_434:not(#\9) {
|
|
432
437
|
margin-block-end: 0;
|
|
433
438
|
}
|
|
434
439
|
|
|
435
|
-
.
|
|
440
|
+
.awsui_image_vj6p7_tp6ux_438:not(#\9) {
|
|
436
441
|
text-align: center;
|
|
437
442
|
}
|
|
438
|
-
.
|
|
443
|
+
.awsui_image_vj6p7_tp6ux_438 > img:not(#\9) {
|
|
439
444
|
max-inline-size: 100%;
|
|
440
445
|
}
|
|
441
|
-
.
|
|
446
|
+
.awsui_image_vj6p7_tp6ux_438.awsui_disabled_vj6p7_tp6ux_342 > img:not(#\9) {
|
|
442
447
|
opacity: 0.3;
|
|
443
448
|
}
|