@cloudscape-design/components 3.0.637 → 3.0.638
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/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +31 -31
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/skeleton/index.d.ts +4 -0
- package/app-layout/skeleton/index.d.ts.map +1 -0
- package/app-layout/skeleton/index.js +10 -0
- package/app-layout/skeleton/index.js.map +1 -0
- package/app-layout/skeleton/layout.d.ts +8 -0
- package/app-layout/skeleton/layout.d.ts.map +1 -0
- package/app-layout/skeleton/layout.js +27 -0
- package/app-layout/skeleton/layout.js.map +1 -0
- package/app-layout/skeleton/styles.css.js +16 -0
- package/app-layout/skeleton/styles.scoped.css +180 -0
- package/app-layout/skeleton/styles.selectors.js +17 -0
- package/app-layout/visual-refresh/styles.css.js +81 -81
- package/app-layout/visual-refresh/styles.scoped.css +258 -258
- package/app-layout/visual-refresh/styles.selectors.js +81 -81
- package/flashbar/styles.css.js +47 -47
- package/flashbar/styles.scoped.css +171 -171
- package/flashbar/styles.selectors.js +47 -47
- package/internal/base-component/styles.scoped.css +3 -0
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +41 -41
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/custom-css-properties/index.js +51 -51
- package/internal/generated/custom-css-properties/index.js.map +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 +11 -0
- package/internal/generated/theming/index.js +11 -0
- package/internal/hooks/use-performance-marks.d.ts.map +1 -1
- package/internal/hooks/use-performance-marks.js +4 -2
- package/internal/hooks/use-performance-marks.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/internal/utils/dom.d.ts.map +1 -1
- package/internal/utils/dom.js +3 -1
- package/internal/utils/dom.js.map +1 -1
- package/package.json +1 -1
- package/slider/styles.css.js +25 -25
- package/slider/styles.scoped.css +71 -71
- package/slider/styles.selectors.js +25 -25
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +39 -39
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/styles.css.js +57 -57
- package/split-panel/styles.scoped.css +78 -77
- package/split-panel/styles.selectors.js +57 -57
|
@@ -2147,6 +2147,10 @@ module.exports.preset = {
|
|
|
2147
2147
|
"comfortable": "{spaceScaledL}",
|
|
2148
2148
|
"compact": "{spaceScaledL}"
|
|
2149
2149
|
},
|
|
2150
|
+
"spacePanelSplitBottom": {
|
|
2151
|
+
"comfortable": "{spaceScaledL}",
|
|
2152
|
+
"compact": "{spaceScaledL}"
|
|
2153
|
+
},
|
|
2150
2154
|
"spaceSegmentedControlFocusOutlineGutter": {
|
|
2151
2155
|
"comfortable": "4px",
|
|
2152
2156
|
"compact": "4px"
|
|
@@ -2609,6 +2613,10 @@ module.exports.preset = {
|
|
|
2609
2613
|
"comfortable": "{spaceScaledL}",
|
|
2610
2614
|
"compact": "{spaceScaledL}"
|
|
2611
2615
|
},
|
|
2616
|
+
"spacePanelSplitBottom": {
|
|
2617
|
+
"comfortable": "{spaceScaledL}",
|
|
2618
|
+
"compact": "{spaceScaledL}"
|
|
2619
|
+
},
|
|
2612
2620
|
"spaceSegmentedControlFocusOutlineGutter": {
|
|
2613
2621
|
"comfortable": "4px",
|
|
2614
2622
|
"compact": "4px"
|
|
@@ -9271,6 +9279,7 @@ module.exports.preset = {
|
|
|
9271
9279
|
"spacePanelSideLeft": "density",
|
|
9272
9280
|
"spacePanelSideRight": "density",
|
|
9273
9281
|
"spacePanelSplitTop": "density",
|
|
9282
|
+
"spacePanelSplitBottom": "density",
|
|
9274
9283
|
"spaceSegmentedControlFocusOutlineGutter": "density",
|
|
9275
9284
|
"spaceTabsContentTop": "density",
|
|
9276
9285
|
"spaceTabsFocusOutlineGutter": "density",
|
|
@@ -10542,6 +10551,7 @@ module.exports.preset = {
|
|
|
10542
10551
|
"spacePanelSideLeft": "space-panel-side-left",
|
|
10543
10552
|
"spacePanelSideRight": "space-panel-side-right",
|
|
10544
10553
|
"spacePanelSplitTop": "space-panel-split-top",
|
|
10554
|
+
"spacePanelSplitBottom": "space-panel-split-bottom",
|
|
10545
10555
|
"spaceSegmentedControlFocusOutlineGutter": "space-segmented-control-focus-outline-gutter",
|
|
10546
10556
|
"spaceTabsContentTop": "space-tabs-content-top",
|
|
10547
10557
|
"spaceTabsFocusOutlineGutter": "space-tabs-focus-outline-gutter",
|
|
@@ -11243,6 +11253,7 @@ module.exports.preset = {
|
|
|
11243
11253
|
"spacePanelSideLeft": "--space-panel-side-left-5t0who",
|
|
11244
11254
|
"spacePanelSideRight": "--space-panel-side-right-xofg51",
|
|
11245
11255
|
"spacePanelSplitTop": "--space-panel-split-top-q1pux4",
|
|
11256
|
+
"spacePanelSplitBottom": "--space-panel-split-bottom-qwdduf",
|
|
11246
11257
|
"spaceSegmentedControlFocusOutlineGutter": "--space-segmented-control-focus-outline-gutter-gbye20",
|
|
11247
11258
|
"spaceTabsContentTop": "--space-tabs-content-top-dedu0k",
|
|
11248
11259
|
"spaceTabsFocusOutlineGutter": "--space-tabs-focus-outline-gutter-xm37ly",
|
|
@@ -2147,6 +2147,10 @@ export var preset = {
|
|
|
2147
2147
|
"comfortable": "{spaceScaledL}",
|
|
2148
2148
|
"compact": "{spaceScaledL}"
|
|
2149
2149
|
},
|
|
2150
|
+
"spacePanelSplitBottom": {
|
|
2151
|
+
"comfortable": "{spaceScaledL}",
|
|
2152
|
+
"compact": "{spaceScaledL}"
|
|
2153
|
+
},
|
|
2150
2154
|
"spaceSegmentedControlFocusOutlineGutter": {
|
|
2151
2155
|
"comfortable": "4px",
|
|
2152
2156
|
"compact": "4px"
|
|
@@ -2609,6 +2613,10 @@ export var preset = {
|
|
|
2609
2613
|
"comfortable": "{spaceScaledL}",
|
|
2610
2614
|
"compact": "{spaceScaledL}"
|
|
2611
2615
|
},
|
|
2616
|
+
"spacePanelSplitBottom": {
|
|
2617
|
+
"comfortable": "{spaceScaledL}",
|
|
2618
|
+
"compact": "{spaceScaledL}"
|
|
2619
|
+
},
|
|
2612
2620
|
"spaceSegmentedControlFocusOutlineGutter": {
|
|
2613
2621
|
"comfortable": "4px",
|
|
2614
2622
|
"compact": "4px"
|
|
@@ -9271,6 +9279,7 @@ export var preset = {
|
|
|
9271
9279
|
"spacePanelSideLeft": "density",
|
|
9272
9280
|
"spacePanelSideRight": "density",
|
|
9273
9281
|
"spacePanelSplitTop": "density",
|
|
9282
|
+
"spacePanelSplitBottom": "density",
|
|
9274
9283
|
"spaceSegmentedControlFocusOutlineGutter": "density",
|
|
9275
9284
|
"spaceTabsContentTop": "density",
|
|
9276
9285
|
"spaceTabsFocusOutlineGutter": "density",
|
|
@@ -10542,6 +10551,7 @@ export var preset = {
|
|
|
10542
10551
|
"spacePanelSideLeft": "space-panel-side-left",
|
|
10543
10552
|
"spacePanelSideRight": "space-panel-side-right",
|
|
10544
10553
|
"spacePanelSplitTop": "space-panel-split-top",
|
|
10554
|
+
"spacePanelSplitBottom": "space-panel-split-bottom",
|
|
10545
10555
|
"spaceSegmentedControlFocusOutlineGutter": "space-segmented-control-focus-outline-gutter",
|
|
10546
10556
|
"spaceTabsContentTop": "space-tabs-content-top",
|
|
10547
10557
|
"spaceTabsFocusOutlineGutter": "space-tabs-focus-outline-gutter",
|
|
@@ -11243,6 +11253,7 @@ export var preset = {
|
|
|
11243
11253
|
"spacePanelSideLeft": "--space-panel-side-left-5t0who",
|
|
11244
11254
|
"spacePanelSideRight": "--space-panel-side-right-xofg51",
|
|
11245
11255
|
"spacePanelSplitTop": "--space-panel-split-top-q1pux4",
|
|
11256
|
+
"spacePanelSplitBottom": "--space-panel-split-bottom-qwdduf",
|
|
11246
11257
|
"spaceSegmentedControlFocusOutlineGutter": "--space-segmented-control-focus-outline-gutter-gbye20",
|
|
11247
11258
|
"spaceTabsContentTop": "--space-tabs-content-top-dedu0k",
|
|
11248
11259
|
"spaceTabsFocusOutlineGutter": "--space-tabs-focus-outline-gutter-xm37ly",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-performance-marks.d.ts","sourceRoot":"","sources":["../../../../src/internal/hooks/use-performance-marks.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"use-performance-marks.d.ts","sourceRoot":"","sources":["../../../../src/internal/hooks/use-performance-marks.ts"],"names":[],"mappings":";AAQA,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,EACxC,UAAU,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC,EACvE,YAAY,EAAE,KAAK,CAAC,cAAc,QAuDnC"}
|
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
import { useEffect } from 'react';
|
|
4
4
|
import { useUniqueId } from './use-unique-id';
|
|
5
5
|
import { useEffectOnUpdate } from './use-effect-on-update';
|
|
6
|
+
import { useModalContext } from '../context/modal-context';
|
|
6
7
|
export function usePerformanceMarks(name, enabled, elementRef, getDetails, dependencies) {
|
|
7
8
|
const id = useUniqueId();
|
|
9
|
+
const { isInModal } = useModalContext();
|
|
8
10
|
useEffect(() => {
|
|
9
|
-
if (!enabled || !elementRef.current) {
|
|
11
|
+
if (!enabled || !elementRef.current || isInModal) {
|
|
10
12
|
return;
|
|
11
13
|
}
|
|
12
14
|
const elementVisible = elementRef.current.offsetWidth > 0 &&
|
|
@@ -22,7 +24,7 @@ export function usePerformanceMarks(name, enabled, elementRef, getDetails, depen
|
|
|
22
24
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
23
25
|
}, []);
|
|
24
26
|
useEffectOnUpdate(() => {
|
|
25
|
-
if (!enabled || !elementRef.current) {
|
|
27
|
+
if (!enabled || !elementRef.current || isInModal) {
|
|
26
28
|
return;
|
|
27
29
|
}
|
|
28
30
|
const elementVisible = elementRef.current.offsetWidth > 0 &&
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-performance-marks.js","sourceRoot":"","sources":["../../../../src/internal/hooks/use-performance-marks.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,UAAU,mBAAmB,CACjC,IAAY,EACZ,OAAgB,EAChB,UAAwC,EACxC,UAAuE,EACvE,YAAkC;IAElC,MAAM,EAAE,GAAG,WAAW,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"use-performance-marks.js","sourceRoot":"","sources":["../../../../src/internal/hooks/use-performance-marks.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,MAAM,UAAU,mBAAmB,CACjC,IAAY,EACZ,OAAgB,EAChB,UAAwC,EACxC,UAAuE,EACvE,YAAkC;IAElC,MAAM,EAAE,GAAG,WAAW,EAAE,CAAC;IACzB,MAAM,EAAE,SAAS,EAAE,GAAG,eAAe,EAAE,CAAC;IAExC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO,IAAI,SAAS,EAAE;YAChD,OAAO;SACR;QAED,MAAM,cAAc,GAClB,UAAU,CAAC,OAAO,CAAC,WAAW,GAAG,CAAC;YAClC,UAAU,CAAC,OAAO,CAAC,YAAY,GAAG,CAAC;YACnC,gBAAgB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,UAAU,KAAK,QAAQ,CAAC;QAE/D,IAAI,CAAC,cAAc,EAAE;YACnB,OAAO;SACR;QAED,MAAM,gBAAgB,GAAG,GAAG,IAAI,UAAU,CAAC;QAE3C,WAAW,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACjC,MAAM,kBACJ,MAAM,EAAE,OAAO,EACf,kBAAkB,EAAE,EAAE,IACnB,UAAU,EAAE,CAChB;SACF,CAAC,CAAC;QACH,uDAAuD;IACzD,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,iBAAiB,CAAC,GAAG,EAAE;QACrB,IAAI,CAAC,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO,IAAI,SAAS,EAAE;YAChD,OAAO;SACR;QACD,MAAM,cAAc,GAClB,UAAU,CAAC,OAAO,CAAC,WAAW,GAAG,CAAC;YAClC,UAAU,CAAC,OAAO,CAAC,YAAY,GAAG,CAAC;YACnC,gBAAgB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,UAAU,KAAK,QAAQ,CAAC;QAE/D,IAAI,CAAC,cAAc,EAAE;YACnB,OAAO;SACR;QAED,MAAM,eAAe,GAAG,GAAG,IAAI,SAAS,CAAC;QAEzC,WAAW,CAAC,IAAI,CAAC,eAAe,EAAE;YAChC,MAAM,kBACJ,MAAM,EAAE,OAAO,EACf,kBAAkB,EAAE,EAAE,IACnB,UAAU,EAAE,CAChB;SACF,CAAC,CAAC;QACH,uDAAuD;IACzD,CAAC,EAAE,YAAY,CAAC,CAAC;AACnB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { useEffect } from 'react';\nimport { useUniqueId } from './use-unique-id';\nimport { useEffectOnUpdate } from './use-effect-on-update';\nimport { useModalContext } from '../context/modal-context';\n\nexport function usePerformanceMarks(\n name: string,\n enabled: boolean,\n elementRef: React.RefObject<HTMLElement>,\n getDetails: () => Record<string, string | boolean | number | undefined>,\n dependencies: React.DependencyList\n) {\n const id = useUniqueId();\n const { isInModal } = useModalContext();\n\n useEffect(() => {\n if (!enabled || !elementRef.current || isInModal) {\n return;\n }\n\n const elementVisible =\n elementRef.current.offsetWidth > 0 &&\n elementRef.current.offsetHeight > 0 &&\n getComputedStyle(elementRef.current).visibility !== 'hidden';\n\n if (!elementVisible) {\n return;\n }\n\n const renderedMarkName = `${name}Rendered`;\n\n performance.mark(renderedMarkName, {\n detail: {\n source: 'awsui',\n instanceIdentifier: id,\n ...getDetails(),\n },\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffectOnUpdate(() => {\n if (!enabled || !elementRef.current || isInModal) {\n return;\n }\n const elementVisible =\n elementRef.current.offsetWidth > 0 &&\n elementRef.current.offsetHeight > 0 &&\n getComputedStyle(elementRef.current).visibility !== 'hidden';\n\n if (!elementVisible) {\n return;\n }\n\n const updatedMarkName = `${name}Updated`;\n\n performance.mark(updatedMarkName, {\n detail: {\n source: 'awsui',\n instanceIdentifier: id,\n ...getDetails(),\n },\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, dependencies);\n}\n"]}
|
package/internal/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/dom.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,GAAG,WAAW,GAAG,IAAI,CAY9G;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,YAMrC;AAsBD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/dom.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,GAAG,WAAW,GAAG,IAAI,CAY9G;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,YAMrC;AAsBD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI,CAgBhF;AAID;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,UAiB7C"}
|
package/internal/utils/dom.js
CHANGED
|
@@ -56,7 +56,9 @@ export function getContainingBlock(startElement) {
|
|
|
56
56
|
? findUpUntil(startElement.parentElement, element => {
|
|
57
57
|
const computedStyle = getComputedStyle(element);
|
|
58
58
|
return ((!!computedStyle.transform && computedStyle.transform !== 'none') ||
|
|
59
|
-
(!!computedStyle.perspective && computedStyle.perspective !== 'none')
|
|
59
|
+
(!!computedStyle.perspective && computedStyle.perspective !== 'none') ||
|
|
60
|
+
(!!computedStyle.containerType && computedStyle.containerType !== 'normal') ||
|
|
61
|
+
computedStyle.contain.split(' ').some(s => ['layout', 'paint', 'strict', 'content'].includes(s)));
|
|
60
62
|
})
|
|
61
63
|
: null;
|
|
62
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.js","sourceRoot":"","sources":["../../../../src/internal/utils/dom.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,UAAU,WAAW,CAAC,IAAiB,EAAE,QAA2C;IACxF,IAAI,OAAO,GAAuB,IAAI,CAAC;IACvC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Aa,CAAC,WAAW,KAAK,MAAM,CAAC;gBACrE,CAAC,CAAC,CAAC,aAAa,CAAC,aAAa,IAAI,aAAa,CAAC,aAAa,KAAK,QAAQ,CAAC;gBAC3E,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CACjG,CAAC;QACJ,CAAC,CAAiB;QACpB,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;AAEjD;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAAa;;IAC5C,IAAI,MAAA,MAAA,MAAA,MAAM,CAAC,GAAG,0CAAE,QAAQ,mDAAG,OAAO,EAAE,oBAAoB,CAAC,mCAAI,KAAK,EAAE;QAClE,OAAO,KAAK,CAAC;KACd;IAED,MAAM,QAAQ,GAAG,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3C,IAAI,QAAQ,KAAK,CAAC,CAAC,EAAE;QACnB,OAAO,KAAK,CAAC;KACd;IAED,MAAM,IAAI,GAAG,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxD,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,KAAK,CAAC;KACd;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACrD,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AAClC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport balanced from 'balanced-match';\nimport { calculateOnce } from './calculate-once';\n\nexport function findUpUntil(node: HTMLElement, callback: (element: HTMLElement) => boolean): HTMLElement | null {\n let current: HTMLElement | null = node;\n while (current && !callback(current)) {\n current = current.parentElement;\n // If a component is used within an svg (i.e. as foreignObject), then it will\n // have some ancestor nodes that are SVGElement. We want to skip those,\n // as they have very different properties to HTMLElements.\n while (current && !(current instanceof HTMLElement)) {\n current = (current as Element).parentElement;\n }\n }\n return current;\n}\n\n/**\n * Returns whether the browser supports CSS position sticky.\n * In our list of supported browsers, only returns false for IE11.\n */\nexport function supportsStickyPosition() {\n if (typeof window === 'undefined') {\n // render no-sticky UI on server-side\n return false;\n }\n return window.CSS?.supports?.('position', 'sticky') ?? false;\n}\n\n/**\n * Returns whether `position: fixed` can be relative to transformed parents or\n * whether it's always relative to the viewport. Returns `true` on all browsers\n * except IE.\n */\nconst supportsContainingBlockPositioning = calculateOnce(() => {\n const parent = document.createElement('div');\n parent.style.transform = 'translateY(5px)';\n document.body.appendChild(parent);\n\n const child = document.createElement('div');\n child.style.position = 'fixed';\n child.style.top = '0';\n parent.appendChild(child);\n\n const result = parent.getBoundingClientRect().top === child.getBoundingClientRect().top;\n document.body.removeChild(parent);\n return result;\n});\n\n/**\n * Returns an element that is used to position the given element.\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block\n */\nexport function getContainingBlock(startElement: HTMLElement): HTMLElement | null {\n if (!startElement.parentElement) {\n return null;\n }\n\n return supportsContainingBlockPositioning()\n ? (findUpUntil(startElement.parentElement, element => {\n const computedStyle = getComputedStyle(element);\n return (\n (!!computedStyle.transform && computedStyle.transform !== 'none') ||\n (!!computedStyle.perspective && computedStyle.perspective !== 'none') ||\n (!!computedStyle.containerType && computedStyle.containerType !== 'normal') ||\n computedStyle.contain.split(' ').some(s => ['layout', 'paint', 'strict', 'content'].includes(s))\n );\n }) as HTMLElement)\n : null;\n}\n\nconst cssVariableExpression = /--.+?\\s*,\\s*(.+)/;\n\n/**\n * Parses a CSS color value that might contain CSS Custom Properties\n * and returns a value that will be understood by the browser, no matter of support level.\n * If the browser support CSS Custom Properties, the value will be return as is. Otherwise,\n * the fallback value will be extracted and returned instead.\n */\nexport function parseCssVariable(value: string) {\n if (window.CSS?.supports?.('color', 'var(--dummy, #000)') ?? false) {\n return value;\n }\n\n const varIndex = value.lastIndexOf('var(');\n if (varIndex === -1) {\n return value;\n }\n\n const expr = balanced('(', ')', value.substr(varIndex));\n if (!expr) {\n return value;\n }\n\n const match = expr.body.match(cssVariableExpression);\n return match ? match[1] : value;\n}\n"]}
|
package/package.json
CHANGED
package/slider/styles.css.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"slider": "
|
|
6
|
-
"slider-track": "awsui_slider-
|
|
7
|
-
"slider-range": "awsui_slider-
|
|
8
|
-
"disabled": "
|
|
9
|
-
"error": "
|
|
10
|
-
"warning": "
|
|
11
|
-
"active": "
|
|
12
|
-
"error-active": "awsui_error-
|
|
13
|
-
"warning-active": "awsui_warning-
|
|
14
|
-
"labels": "
|
|
15
|
-
"labels-noref": "awsui_labels-
|
|
16
|
-
"labels-reference": "awsui_labels-
|
|
17
|
-
"labels-min": "awsui_labels-
|
|
18
|
-
"labels-max": "awsui_labels-
|
|
19
|
-
"labels-aria-description": "awsui_labels-aria-
|
|
20
|
-
"ticks": "
|
|
21
|
-
"ticks-wrapper": "awsui_ticks-
|
|
22
|
-
"tick": "
|
|
23
|
-
"middle": "
|
|
24
|
-
"filled": "
|
|
25
|
-
"tooltip-thumb": "awsui_tooltip-
|
|
26
|
-
"thumb": "
|
|
27
|
-
"min": "
|
|
28
|
-
"max": "
|
|
4
|
+
"root": "awsui_root_pcgz5_4cmyk_103",
|
|
5
|
+
"slider": "awsui_slider_pcgz5_4cmyk_143",
|
|
6
|
+
"slider-track": "awsui_slider-track_pcgz5_4cmyk_147",
|
|
7
|
+
"slider-range": "awsui_slider-range_pcgz5_4cmyk_147",
|
|
8
|
+
"disabled": "awsui_disabled_pcgz5_4cmyk_162",
|
|
9
|
+
"error": "awsui_error_pcgz5_4cmyk_171",
|
|
10
|
+
"warning": "awsui_warning_pcgz5_4cmyk_174",
|
|
11
|
+
"active": "awsui_active_pcgz5_4cmyk_177",
|
|
12
|
+
"error-active": "awsui_error-active_pcgz5_4cmyk_180",
|
|
13
|
+
"warning-active": "awsui_warning-active_pcgz5_4cmyk_183",
|
|
14
|
+
"labels": "awsui_labels_pcgz5_4cmyk_190",
|
|
15
|
+
"labels-noref": "awsui_labels-noref_pcgz5_4cmyk_196",
|
|
16
|
+
"labels-reference": "awsui_labels-reference_pcgz5_4cmyk_199",
|
|
17
|
+
"labels-min": "awsui_labels-min_pcgz5_4cmyk_206",
|
|
18
|
+
"labels-max": "awsui_labels-max_pcgz5_4cmyk_212",
|
|
19
|
+
"labels-aria-description": "awsui_labels-aria-description_pcgz5_4cmyk_220",
|
|
20
|
+
"ticks": "awsui_ticks_pcgz5_4cmyk_238",
|
|
21
|
+
"ticks-wrapper": "awsui_ticks-wrapper_pcgz5_4cmyk_244",
|
|
22
|
+
"tick": "awsui_tick_pcgz5_4cmyk_238",
|
|
23
|
+
"middle": "awsui_middle_pcgz5_4cmyk_259",
|
|
24
|
+
"filled": "awsui_filled_pcgz5_4cmyk_262",
|
|
25
|
+
"tooltip-thumb": "awsui_tooltip-thumb_pcgz5_4cmyk_284",
|
|
26
|
+
"thumb": "awsui_thumb_pcgz5_4cmyk_292",
|
|
27
|
+
"min": "awsui_min_pcgz5_4cmyk_307",
|
|
28
|
+
"max": "awsui_max_pcgz5_4cmyk_310"
|
|
29
29
|
};
|
|
30
30
|
|
package/slider/styles.scoped.css
CHANGED
|
@@ -100,7 +100,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
100
100
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
101
101
|
SPDX-License-Identifier: Apache-2.0
|
|
102
102
|
*/
|
|
103
|
-
.
|
|
103
|
+
.awsui_root_pcgz5_4cmyk_103:not(#\9) {
|
|
104
104
|
border-collapse: separate;
|
|
105
105
|
border-spacing: 0;
|
|
106
106
|
box-sizing: border-box;
|
|
@@ -141,11 +141,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
141
141
|
margin-inline: calc(var(--space-m-udix3p, 16px) / 2);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.
|
|
144
|
+
.awsui_slider_pcgz5_4cmyk_143:not(#\9) {
|
|
145
145
|
display: flex;
|
|
146
146
|
align-items: center;
|
|
147
147
|
}
|
|
148
|
-
.awsui_slider-
|
|
148
|
+
.awsui_slider-track_pcgz5_4cmyk_147:not(#\9), .awsui_slider-range_pcgz5_4cmyk_147:not(#\9) {
|
|
149
149
|
position: absolute;
|
|
150
150
|
border-start-start-radius: 3px;
|
|
151
151
|
border-start-end-radius: 3px;
|
|
@@ -154,101 +154,101 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
154
154
|
margin-block-start: var(--space-xs-zb16t3, 8px);
|
|
155
155
|
margin-inline: calc(var(--space-m-udix3p, 16px) / -2);
|
|
156
156
|
}
|
|
157
|
-
.awsui_slider-
|
|
157
|
+
.awsui_slider-track_pcgz5_4cmyk_147:not(#\9) {
|
|
158
158
|
background-color: var(--color-background-slider-track-3m68rn, #7d8998);
|
|
159
159
|
inline-size: calc(100% + var(--space-m-udix3p, 16px));
|
|
160
160
|
block-size: 2px;
|
|
161
161
|
cursor: pointer;
|
|
162
162
|
}
|
|
163
|
-
.awsui_slider-
|
|
163
|
+
.awsui_slider-track_pcgz5_4cmyk_147.awsui_disabled_pcgz5_4cmyk_162:not(#\9) {
|
|
164
164
|
cursor: default;
|
|
165
165
|
background-color: var(--color-background-control-disabled-pwkvgd, #d1d5db);
|
|
166
166
|
}
|
|
167
|
-
.awsui_slider-
|
|
167
|
+
.awsui_slider-range_pcgz5_4cmyk_147:not(#\9) {
|
|
168
168
|
background-color: var(--color-background-slider-handle-default-atrlod, #0972d3);
|
|
169
169
|
block-size: 4px;
|
|
170
|
-
inline-size: calc(var(--awsui-slider-range-inline-size-
|
|
170
|
+
inline-size: calc(var(--awsui-slider-range-inline-size-epuq3n) + var(--space-m-udix3p, 16px));
|
|
171
171
|
}
|
|
172
|
-
.awsui_slider-
|
|
172
|
+
.awsui_slider-range_pcgz5_4cmyk_147.awsui_error_pcgz5_4cmyk_171:not(#\9) {
|
|
173
173
|
background-color: var(--color-text-status-error-wdvepn, #d91515);
|
|
174
174
|
}
|
|
175
|
-
.awsui_slider-
|
|
175
|
+
.awsui_slider-range_pcgz5_4cmyk_147.awsui_warning_pcgz5_4cmyk_174:not(#\9) {
|
|
176
176
|
background-color: var(--color-text-status-warning-yik8vi, #8d6605);
|
|
177
177
|
}
|
|
178
|
-
.awsui_slider-
|
|
178
|
+
.awsui_slider-range_pcgz5_4cmyk_147.awsui_active_pcgz5_4cmyk_177:not(#\9) {
|
|
179
179
|
background-color: var(--color-background-slider-handle-active-ccegzg, #065299);
|
|
180
180
|
}
|
|
181
|
-
.awsui_slider-
|
|
181
|
+
.awsui_slider-range_pcgz5_4cmyk_147.awsui_error-active_pcgz5_4cmyk_180:not(#\9) {
|
|
182
182
|
background-color: var(--color-background-slider-error-pressed-g7oqnt, #7c2718);
|
|
183
183
|
}
|
|
184
|
-
.awsui_slider-
|
|
184
|
+
.awsui_slider-range_pcgz5_4cmyk_147.awsui_warning-active_pcgz5_4cmyk_183:not(#\9) {
|
|
185
185
|
background-color: var(--color-background-slider-warning-pressed-9xuhwf, #8d6605);
|
|
186
186
|
}
|
|
187
|
-
.awsui_slider-
|
|
187
|
+
.awsui_slider-range_pcgz5_4cmyk_147.awsui_disabled_pcgz5_4cmyk_162:not(#\9) {
|
|
188
188
|
background-color: var(--color-background-control-disabled-pwkvgd, #d1d5db);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
.
|
|
191
|
+
.awsui_labels_pcgz5_4cmyk_190:not(#\9) {
|
|
192
192
|
display: grid;
|
|
193
|
-
grid-template-columns: 3fr repeat(calc((var(--awsui-slider-label-count-
|
|
193
|
+
grid-template-columns: 3fr repeat(calc((var(--awsui-slider-label-count-epuq3n) - 2) / 2 + (var(--awsui-slider-label-count-epuq3n) - 2) / 2 - 1), 2fr) 3fr;
|
|
194
194
|
grid-auto-rows: 100%;
|
|
195
195
|
padding-block-start: var(--space-m-udix3p, 16px);
|
|
196
196
|
}
|
|
197
|
-
.awsui_labels-
|
|
197
|
+
.awsui_labels-noref_pcgz5_4cmyk_196:not(#\9) {
|
|
198
198
|
grid-template-columns: 1fr 1fr;
|
|
199
199
|
}
|
|
200
|
-
.awsui_labels-
|
|
201
|
-
grid-column-start: var(--awsui-slider-reference-column-
|
|
202
|
-
grid-column-end: var(--awsui-slider-next-reference-column-
|
|
200
|
+
.awsui_labels-reference_pcgz5_4cmyk_199:not(#\9) {
|
|
201
|
+
grid-column-start: var(--awsui-slider-reference-column-epuq3n);
|
|
202
|
+
grid-column-end: var(--awsui-slider-next-reference-column-epuq3n);
|
|
203
203
|
grid-row: 1;
|
|
204
204
|
justify-self: center;
|
|
205
205
|
text-align: center;
|
|
206
206
|
}
|
|
207
|
-
.awsui_labels-
|
|
207
|
+
.awsui_labels-min_pcgz5_4cmyk_206:not(#\9) {
|
|
208
208
|
grid-column: 1;
|
|
209
209
|
grid-row: 1;
|
|
210
|
-
grid-column-end: var(--awsui-slider-min-end-
|
|
210
|
+
grid-column-end: var(--awsui-slider-min-end-epuq3n);
|
|
211
211
|
margin-inline-start: calc(var(--space-m-udix3p, 16px) / -2);
|
|
212
212
|
}
|
|
213
|
-
.awsui_labels-
|
|
213
|
+
.awsui_labels-max_pcgz5_4cmyk_212:not(#\9) {
|
|
214
214
|
text-align: end;
|
|
215
215
|
justify-content: flex-end;
|
|
216
216
|
grid-row: 1;
|
|
217
|
-
grid-column-end: calc(var(--awsui-slider-label-count-
|
|
218
|
-
grid-column-start: var(--awsui-slider-max-start-
|
|
217
|
+
grid-column-end: calc(var(--awsui-slider-label-count-epuq3n) + 1);
|
|
218
|
+
grid-column-start: var(--awsui-slider-max-start-epuq3n);
|
|
219
219
|
margin-inline-end: calc(var(--space-m-udix3p, 16px) / -2);
|
|
220
220
|
}
|
|
221
|
-
.awsui_labels-aria-
|
|
221
|
+
.awsui_labels-aria-description_pcgz5_4cmyk_220:not(#\9) {
|
|
222
222
|
display: none;
|
|
223
223
|
}
|
|
224
224
|
@media (max-width: 576px) {
|
|
225
|
-
.
|
|
225
|
+
.awsui_labels_pcgz5_4cmyk_190:not(#\9) {
|
|
226
226
|
grid-template-columns: 1fr 1fr;
|
|
227
227
|
}
|
|
228
|
-
.awsui_labels-
|
|
228
|
+
.awsui_labels-min_pcgz5_4cmyk_206:not(#\9) {
|
|
229
229
|
grid-column: 1;
|
|
230
230
|
}
|
|
231
|
-
.awsui_labels-
|
|
231
|
+
.awsui_labels-max_pcgz5_4cmyk_212:not(#\9) {
|
|
232
232
|
grid-column: 2;
|
|
233
233
|
}
|
|
234
|
-
.
|
|
234
|
+
.awsui_labels_pcgz5_4cmyk_190 > .awsui_labels-reference_pcgz5_4cmyk_199:not(#\9) {
|
|
235
235
|
display: none;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
.
|
|
239
|
+
.awsui_ticks_pcgz5_4cmyk_238:not(#\9) {
|
|
240
240
|
display: grid;
|
|
241
|
-
grid-template-columns: repeat(var(--awsui-slider-tick-count-
|
|
241
|
+
grid-template-columns: repeat(var(--awsui-slider-tick-count-epuq3n), 1fr);
|
|
242
242
|
inline-size: calc(100% - var(--space-m-udix3p, 16px));
|
|
243
243
|
margin-inline: calc(var(--space-m-udix3p, 16px) / 2);
|
|
244
244
|
}
|
|
245
|
-
.awsui_ticks-
|
|
245
|
+
.awsui_ticks-wrapper_pcgz5_4cmyk_244:not(#\9) {
|
|
246
246
|
block-size: 0;
|
|
247
247
|
display: flex;
|
|
248
248
|
margin-inline: calc(var(--space-m-udix3p, 16px) / -2);
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
.
|
|
251
|
+
.awsui_tick_pcgz5_4cmyk_238:not(#\9) {
|
|
252
252
|
grid-row: 1;
|
|
253
253
|
block-size: var(--space-xs-zb16t3, 8px);
|
|
254
254
|
inline-size: var(--space-xxxs-zbmxqb, 2px);
|
|
@@ -257,40 +257,40 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
257
257
|
background: var(--color-background-slider-track-3m68rn, #7d8998);
|
|
258
258
|
inset-block-start: -4px;
|
|
259
259
|
}
|
|
260
|
-
.
|
|
260
|
+
.awsui_tick_pcgz5_4cmyk_238.awsui_middle_pcgz5_4cmyk_259:not(#\9):first-child, .awsui_tick_pcgz5_4cmyk_238.awsui_middle_pcgz5_4cmyk_259:not(#\9):last-child {
|
|
261
261
|
visibility: hidden;
|
|
262
262
|
}
|
|
263
|
-
.
|
|
263
|
+
.awsui_tick_pcgz5_4cmyk_238.awsui_filled_pcgz5_4cmyk_262:not(#\9) {
|
|
264
264
|
background: var(--color-background-slider-handle-default-atrlod, #0972d3);
|
|
265
265
|
}
|
|
266
|
-
.
|
|
266
|
+
.awsui_tick_pcgz5_4cmyk_238.awsui_active_pcgz5_4cmyk_177:not(#\9) {
|
|
267
267
|
background: var(--color-background-slider-handle-active-ccegzg, #065299);
|
|
268
268
|
}
|
|
269
|
-
.
|
|
269
|
+
.awsui_tick_pcgz5_4cmyk_238.awsui_error_pcgz5_4cmyk_171:not(#\9) {
|
|
270
270
|
background: var(--color-text-status-error-wdvepn, #d91515);
|
|
271
271
|
}
|
|
272
|
-
.
|
|
272
|
+
.awsui_tick_pcgz5_4cmyk_238.awsui_warning_pcgz5_4cmyk_174:not(#\9) {
|
|
273
273
|
background: var(--color-text-status-warning-yik8vi, #8d6605);
|
|
274
274
|
}
|
|
275
|
-
.
|
|
275
|
+
.awsui_tick_pcgz5_4cmyk_238.awsui_error-active_pcgz5_4cmyk_180:not(#\9) {
|
|
276
276
|
background-color: var(--color-background-slider-error-pressed-g7oqnt, #7c2718);
|
|
277
277
|
}
|
|
278
|
-
.
|
|
278
|
+
.awsui_tick_pcgz5_4cmyk_238.awsui_warning-active_pcgz5_4cmyk_183:not(#\9) {
|
|
279
279
|
background-color: var(--color-background-slider-warning-pressed-9xuhwf, #8d6605);
|
|
280
280
|
}
|
|
281
|
-
.
|
|
281
|
+
.awsui_tick_pcgz5_4cmyk_238.awsui_disabled_pcgz5_4cmyk_162:not(#\9) {
|
|
282
282
|
background: var(--color-background-control-disabled-pwkvgd, #d1d5db);
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
.awsui_tooltip-
|
|
285
|
+
.awsui_tooltip-thumb_pcgz5_4cmyk_284:not(#\9) {
|
|
286
286
|
position: absolute;
|
|
287
287
|
inline-size: var(--space-xxl-cu2m1r, 32px);
|
|
288
288
|
block-size: var(--space-xxl-cu2m1r, 32px);
|
|
289
289
|
margin-block-start: calc(var(--space-s-34lx8l, 12px) / -1);
|
|
290
|
-
inset-inline-start: var(--awsui-slider-tooltip-position-
|
|
290
|
+
inset-inline-start: var(--awsui-slider-tooltip-position-epuq3n);
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
.
|
|
293
|
+
.awsui_thumb_pcgz5_4cmyk_292:not(#\9) {
|
|
294
294
|
background: transparent;
|
|
295
295
|
-webkit-appearance: none;
|
|
296
296
|
appearance: none;
|
|
@@ -303,16 +303,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
303
303
|
cursor: pointer;
|
|
304
304
|
touch-action: none;
|
|
305
305
|
}
|
|
306
|
-
.
|
|
306
|
+
.awsui_thumb_pcgz5_4cmyk_292.awsui_disabled_pcgz5_4cmyk_162:not(#\9) {
|
|
307
307
|
cursor: default;
|
|
308
308
|
}
|
|
309
|
-
.
|
|
309
|
+
.awsui_thumb_pcgz5_4cmyk_292.awsui_min_pcgz5_4cmyk_307:not(#\9) {
|
|
310
310
|
margin-inline-start: calc(-1px + var(--space-m-udix3p, 16px) / -2);
|
|
311
311
|
}
|
|
312
|
-
.
|
|
312
|
+
.awsui_thumb_pcgz5_4cmyk_292.awsui_max_pcgz5_4cmyk_310:not(#\9) {
|
|
313
313
|
margin-inline-start: calc(1px + var(--space-m-udix3p, 16px) / -2);
|
|
314
314
|
}
|
|
315
|
-
.
|
|
315
|
+
.awsui_thumb_pcgz5_4cmyk_292:not(#\9)::-webkit-slider-thumb {
|
|
316
316
|
-webkit-appearance: none;
|
|
317
317
|
appearance: none;
|
|
318
318
|
appearance: none;
|
|
@@ -331,7 +331,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
331
331
|
pointer-events: all;
|
|
332
332
|
position: relative;
|
|
333
333
|
}
|
|
334
|
-
.
|
|
334
|
+
.awsui_thumb_pcgz5_4cmyk_292:not(#\9)::-moz-range-thumb {
|
|
335
335
|
appearance: none;
|
|
336
336
|
appearance: none;
|
|
337
337
|
background: var(--color-background-slider-handle-default-atrlod, #0972d3);
|
|
@@ -349,13 +349,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
349
349
|
pointer-events: all;
|
|
350
350
|
position: relative;
|
|
351
351
|
}
|
|
352
|
-
.
|
|
352
|
+
.awsui_thumb_pcgz5_4cmyk_292:not(#\9):hover::-webkit-slider-thumb {
|
|
353
353
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-background-slider-handle-default-atrlod, #0972d3);
|
|
354
354
|
}
|
|
355
|
-
.
|
|
355
|
+
.awsui_thumb_pcgz5_4cmyk_292:not(#\9):hover::-moz-range-thumb {
|
|
356
356
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-background-slider-handle-default-atrlod, #0972d3);
|
|
357
357
|
}
|
|
358
|
-
.
|
|
358
|
+
.awsui_thumb_pcgz5_4cmyk_292:not(#\9):focus::-webkit-slider-thumb, .awsui_thumb_pcgz5_4cmyk_292:not(#\9):active::-webkit-slider-thumb {
|
|
359
359
|
block-size: 20px;
|
|
360
360
|
inline-size: 20px;
|
|
361
361
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-background-slider-handle-active-ccegzg, #065299);
|
|
@@ -364,7 +364,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
364
364
|
border-block-width: 2px;
|
|
365
365
|
border-inline-width: 2px;
|
|
366
366
|
}
|
|
367
|
-
.
|
|
367
|
+
.awsui_thumb_pcgz5_4cmyk_292:not(#\9):focus::-moz-range-thumb, .awsui_thumb_pcgz5_4cmyk_292:not(#\9):active::-moz-range-thumb {
|
|
368
368
|
block-size: 20px;
|
|
369
369
|
inline-size: 20px;
|
|
370
370
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-background-slider-handle-active-ccegzg, #065299);
|
|
@@ -374,30 +374,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
374
374
|
border-inline-width: 2px;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
.
|
|
377
|
+
.awsui_error_pcgz5_4cmyk_171:not(#\9)::-webkit-slider-thumb {
|
|
378
378
|
background-color: var(--color-text-status-error-wdvepn, #d91515);
|
|
379
379
|
border-color: var(--color-text-status-error-wdvepn, #d91515);
|
|
380
380
|
}
|
|
381
|
-
.
|
|
381
|
+
.awsui_error_pcgz5_4cmyk_171:not(#\9)::-moz-range-thumb {
|
|
382
382
|
background-color: var(--color-text-status-error-wdvepn, #d91515);
|
|
383
383
|
border-color: var(--color-text-status-error-wdvepn, #d91515);
|
|
384
384
|
}
|
|
385
|
-
.
|
|
385
|
+
.awsui_error_pcgz5_4cmyk_171:not(#\9):hover::-webkit-slider-thumb {
|
|
386
386
|
background-color: var(--color-text-status-error-wdvepn, #d91515);
|
|
387
387
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-text-status-error-wdvepn, #d91515);
|
|
388
388
|
}
|
|
389
|
-
.
|
|
389
|
+
.awsui_error_pcgz5_4cmyk_171:not(#\9):hover::-moz-range-thumb {
|
|
390
390
|
background-color: var(--color-text-status-error-wdvepn, #d91515);
|
|
391
391
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-text-status-error-wdvepn, #d91515);
|
|
392
392
|
}
|
|
393
|
-
.
|
|
393
|
+
.awsui_error_pcgz5_4cmyk_171:not(#\9):focus::-webkit-slider-thumb, .awsui_error_pcgz5_4cmyk_171:not(#\9):active::-webkit-slider-thumb {
|
|
394
394
|
background-color: var(--color-background-slider-error-pressed-g7oqnt, #7c2718);
|
|
395
395
|
border-block-width: 2px;
|
|
396
396
|
border-inline-width: 2px;
|
|
397
397
|
border-color: var(--color-background-slider-error-pressed-g7oqnt, #7c2718);
|
|
398
398
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-background-slider-error-pressed-g7oqnt, #7c2718);
|
|
399
399
|
}
|
|
400
|
-
.
|
|
400
|
+
.awsui_error_pcgz5_4cmyk_171:not(#\9):focus::-moz-range-thumb, .awsui_error_pcgz5_4cmyk_171:not(#\9):active::-moz-range-thumb {
|
|
401
401
|
background-color: var(--color-background-slider-error-pressed-g7oqnt, #7c2718);
|
|
402
402
|
border-block-width: 2px;
|
|
403
403
|
border-inline-width: 2px;
|
|
@@ -405,30 +405,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
405
405
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-background-slider-error-pressed-g7oqnt, #7c2718);
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
-
.
|
|
408
|
+
.awsui_warning_pcgz5_4cmyk_174:not(#\9)::-webkit-slider-thumb {
|
|
409
409
|
background-color: var(--color-text-status-warning-yik8vi, #8d6605);
|
|
410
410
|
border-color: var(--color-text-status-warning-yik8vi, #8d6605);
|
|
411
411
|
}
|
|
412
|
-
.
|
|
412
|
+
.awsui_warning_pcgz5_4cmyk_174:not(#\9)::-moz-range-thumb {
|
|
413
413
|
background-color: var(--color-text-status-warning-yik8vi, #8d6605);
|
|
414
414
|
border-color: var(--color-text-status-warning-yik8vi, #8d6605);
|
|
415
415
|
}
|
|
416
|
-
.
|
|
416
|
+
.awsui_warning_pcgz5_4cmyk_174:not(#\9):hover::-webkit-slider-thumb {
|
|
417
417
|
background-color: var(--color-text-status-warning-yik8vi, #8d6605);
|
|
418
418
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-text-status-warning-yik8vi, #8d6605);
|
|
419
419
|
}
|
|
420
|
-
.
|
|
420
|
+
.awsui_warning_pcgz5_4cmyk_174:not(#\9):hover::-moz-range-thumb {
|
|
421
421
|
background-color: var(--color-text-status-warning-yik8vi, #8d6605);
|
|
422
422
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-text-status-warning-yik8vi, #8d6605);
|
|
423
423
|
}
|
|
424
|
-
.
|
|
424
|
+
.awsui_warning_pcgz5_4cmyk_174:not(#\9):focus::-webkit-slider-thumb, .awsui_warning_pcgz5_4cmyk_174:not(#\9):active::-webkit-slider-thumb {
|
|
425
425
|
background-color: var(--color-background-slider-warning-pressed-9xuhwf, #8d6605);
|
|
426
426
|
border-block-width: 2px;
|
|
427
427
|
border-inline-width: 2px;
|
|
428
428
|
border-color: var(--color-background-slider-warning-pressed-9xuhwf, #8d6605);
|
|
429
429
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-background-slider-warning-pressed-9xuhwf, #8d6605);
|
|
430
430
|
}
|
|
431
|
-
.
|
|
431
|
+
.awsui_warning_pcgz5_4cmyk_174:not(#\9):focus::-moz-range-thumb, .awsui_warning_pcgz5_4cmyk_174:not(#\9):active::-moz-range-thumb {
|
|
432
432
|
background-color: var(--color-background-slider-warning-pressed-9xuhwf, #8d6605);
|
|
433
433
|
border-block-width: 2px;
|
|
434
434
|
border-inline-width: 2px;
|
|
@@ -436,17 +436,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
436
436
|
box-shadow: 0px 0 0 2px var(--color-background-slider-handle-ring-31445h, #ffffff), 0 0 0 4px var(--color-background-slider-warning-pressed-9xuhwf, #8d6605);
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
.
|
|
440
|
-
.
|
|
441
|
-
.
|
|
439
|
+
.awsui_disabled_pcgz5_4cmyk_162:not(#\9)::-webkit-slider-thumb,
|
|
440
|
+
.awsui_disabled_pcgz5_4cmyk_162:not(#\9):hover::-webkit-slider-thumb,
|
|
441
|
+
.awsui_disabled_pcgz5_4cmyk_162:not(#\9):active::-webkit-slider-thumb {
|
|
442
442
|
background-color: var(--color-background-control-disabled-pwkvgd, #d1d5db);
|
|
443
443
|
border-color: var(--color-background-control-disabled-pwkvgd, #d1d5db);
|
|
444
444
|
box-shadow: none;
|
|
445
445
|
pointer-events: none;
|
|
446
446
|
}
|
|
447
|
-
.
|
|
448
|
-
.
|
|
449
|
-
.
|
|
447
|
+
.awsui_disabled_pcgz5_4cmyk_162:not(#\9)::-moz-range-thumb,
|
|
448
|
+
.awsui_disabled_pcgz5_4cmyk_162:not(#\9):hover::-moz-range-thumb,
|
|
449
|
+
.awsui_disabled_pcgz5_4cmyk_162:not(#\9):active::-moz-range-thumb {
|
|
450
450
|
background-color: var(--color-background-control-disabled-pwkvgd, #d1d5db);
|
|
451
451
|
border-color: var(--color-background-control-disabled-pwkvgd, #d1d5db);
|
|
452
452
|
box-shadow: none;
|