@cloudscape-design/components-themeable 3.0.1312 → 3.0.1313

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.
Files changed (109) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/button-dropdown/category-elements/styles.scss +5 -0
  3. package/lib/internal/scss/button-dropdown/styles.scss +14 -0
  4. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  5. package/lib/internal/scss/internal/styles/utils/theming.scss +6 -0
  6. package/lib/internal/scss/segmented-control/styles.scss +2 -2
  7. package/lib/internal/scss/steps/styles.scss +39 -0
  8. package/lib/internal/scss/table/header-cell/styles.scss +13 -2
  9. package/lib/internal/scss/table/resizer/styles.scss +9 -1
  10. package/lib/internal/scss/toggle/styles.scss +1 -1
  11. package/lib/internal/scss/toggle-button/styles.scss +7 -1
  12. package/lib/internal/scss/token/mixins.scss +4 -4
  13. package/lib/internal/scss/token/styles.scss +7 -0
  14. package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.d.ts.map +1 -1
  15. package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js +4 -2
  16. package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
  17. package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.d.ts.map +1 -1
  18. package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.js +4 -2
  19. package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
  20. package/lib/internal/template/button-dropdown/category-elements/styles.css.js +19 -18
  21. package/lib/internal/template/button-dropdown/category-elements/styles.scoped.css +32 -28
  22. package/lib/internal/template/button-dropdown/category-elements/styles.selectors.js +19 -18
  23. package/lib/internal/template/button-dropdown/index.d.ts.map +1 -1
  24. package/lib/internal/template/button-dropdown/index.js +4 -3
  25. package/lib/internal/template/button-dropdown/index.js.map +1 -1
  26. package/lib/internal/template/button-dropdown/interfaces.d.ts +22 -0
  27. package/lib/internal/template/button-dropdown/interfaces.d.ts.map +1 -1
  28. package/lib/internal/template/button-dropdown/interfaces.js.map +1 -1
  29. package/lib/internal/template/button-dropdown/internal.d.ts.map +1 -1
  30. package/lib/internal/template/button-dropdown/internal.js +14 -6
  31. package/lib/internal/template/button-dropdown/internal.js.map +1 -1
  32. package/lib/internal/template/button-dropdown/styles.css.js +23 -22
  33. package/lib/internal/template/button-dropdown/styles.scoped.css +36 -30
  34. package/lib/internal/template/button-dropdown/styles.selectors.js +23 -22
  35. package/lib/internal/template/button-group/interfaces.d.ts +12 -1
  36. package/lib/internal/template/button-group/interfaces.d.ts.map +1 -1
  37. package/lib/internal/template/button-group/interfaces.js.map +1 -1
  38. package/lib/internal/template/button-group/menu-dropdown-item.d.ts.map +1 -1
  39. package/lib/internal/template/button-group/menu-dropdown-item.js +2 -1
  40. package/lib/internal/template/button-group/menu-dropdown-item.js.map +1 -1
  41. package/lib/internal/template/internal/base-component/styles.scoped.css +59 -1
  42. package/lib/internal/template/internal/components/checkbox-icon/index.d.ts.map +1 -1
  43. package/lib/internal/template/internal/components/checkbox-icon/index.js +11 -2
  44. package/lib/internal/template/internal/components/checkbox-icon/index.js.map +1 -1
  45. package/lib/internal/template/internal/environment.js +2 -2
  46. package/lib/internal/template/internal/environment.json +2 -2
  47. package/lib/internal/template/internal/generated/styles/tokens.d.ts +7 -0
  48. package/lib/internal/template/internal/generated/styles/tokens.js +7 -0
  49. package/lib/internal/template/internal/generated/theming/index.cjs +203 -0
  50. package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +63 -0
  51. package/lib/internal/template/internal/generated/theming/index.d.ts +63 -0
  52. package/lib/internal/template/internal/generated/theming/index.js +203 -0
  53. package/lib/internal/template/internal/utils/throttle.d.ts.map +1 -1
  54. package/lib/internal/template/internal/utils/throttle.js +3 -1
  55. package/lib/internal/template/internal/utils/throttle.js.map +1 -1
  56. package/lib/internal/template/progress-bar/index.d.ts.map +1 -1
  57. package/lib/internal/template/progress-bar/index.js +1 -0
  58. package/lib/internal/template/progress-bar/index.js.map +1 -1
  59. package/lib/internal/template/segmented-control/styles.css.js +16 -16
  60. package/lib/internal/template/segmented-control/styles.scoped.css +34 -34
  61. package/lib/internal/template/segmented-control/styles.selectors.js +16 -16
  62. package/lib/internal/template/steps/internal.d.ts.map +1 -1
  63. package/lib/internal/template/steps/internal.js +20 -6
  64. package/lib/internal/template/steps/internal.js.map +1 -1
  65. package/lib/internal/template/steps/styles.css.js +12 -9
  66. package/lib/internal/template/steps/styles.scoped.css +43 -15
  67. package/lib/internal/template/steps/styles.selectors.js +12 -9
  68. package/lib/internal/template/table/header-cell/group-header-cell.d.ts.map +1 -1
  69. package/lib/internal/template/table/header-cell/group-header-cell.js +1 -1
  70. package/lib/internal/template/table/header-cell/group-header-cell.js.map +1 -1
  71. package/lib/internal/template/table/header-cell/index.d.ts.map +1 -1
  72. package/lib/internal/template/table/header-cell/index.js +2 -1
  73. package/lib/internal/template/table/header-cell/index.js.map +1 -1
  74. package/lib/internal/template/table/header-cell/styles.css.js +33 -33
  75. package/lib/internal/template/table/header-cell/styles.scoped.css +81 -74
  76. package/lib/internal/template/table/header-cell/styles.selectors.js +33 -33
  77. package/lib/internal/template/table/resizer/index.d.ts +4 -2
  78. package/lib/internal/template/table/resizer/index.d.ts.map +1 -1
  79. package/lib/internal/template/table/resizer/index.js +4 -4
  80. package/lib/internal/template/table/resizer/index.js.map +1 -1
  81. package/lib/internal/template/table/resizer/styles.css.js +17 -16
  82. package/lib/internal/template/table/resizer/styles.scoped.css +32 -24
  83. package/lib/internal/template/table/resizer/styles.selectors.js +17 -16
  84. package/lib/internal/template/table/selection/selection-cell.d.ts +2 -1
  85. package/lib/internal/template/table/selection/selection-cell.d.ts.map +1 -1
  86. package/lib/internal/template/table/selection/selection-cell.js +2 -2
  87. package/lib/internal/template/table/selection/selection-cell.js.map +1 -1
  88. package/lib/internal/template/table/thead.d.ts.map +1 -1
  89. package/lib/internal/template/table/thead.js +1 -1
  90. package/lib/internal/template/table/thead.js.map +1 -1
  91. package/lib/internal/template/toggle/styles.css.js +10 -10
  92. package/lib/internal/template/toggle/styles.scoped.css +18 -18
  93. package/lib/internal/template/toggle/styles.selectors.js +10 -10
  94. package/lib/internal/template/toggle-button/internal.d.ts.map +1 -1
  95. package/lib/internal/template/toggle-button/internal.js +3 -1
  96. package/lib/internal/template/toggle-button/internal.js.map +1 -1
  97. package/lib/internal/template/toggle-button/styles.css.js +4 -3
  98. package/lib/internal/template/toggle-button/styles.scoped.css +8 -3
  99. package/lib/internal/template/toggle-button/styles.selectors.js +4 -3
  100. package/lib/internal/template/token/dismiss-button.d.ts.map +1 -1
  101. package/lib/internal/template/token/dismiss-button.js +3 -1
  102. package/lib/internal/template/token/dismiss-button.js.map +1 -1
  103. package/lib/internal/template/token/internal.d.ts.map +1 -1
  104. package/lib/internal/template/token/internal.js +11 -3
  105. package/lib/internal/template/token/internal.js.map +1 -1
  106. package/lib/internal/template/token/styles.css.js +14 -14
  107. package/lib/internal/template/token/styles.scoped.css +33 -30
  108. package/lib/internal/template/token/styles.selectors.js +14 -14
  109. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"throttle.js","sourceRoot":"","sources":["../../../../src/internal/utils/throttle.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAYtC,MAAM,UAAU,QAAQ,CACtB,IAAO,EACP,KAAa,EACb,EAAE,QAAQ,GAAG,IAAI,KAAsB,EAAE;IAEzC,IAAI,OAAO,GAAoC,IAAI,CAAC;IACpD,IAAI,cAAc,GAAkB,IAAI,CAAC;IACzC,IAAI,OAAO,GAAkB,IAAI,CAAC;IAElC,qDAAqD;IACrD,SAAS,WAAW;QAClB,IAAI,OAAO,KAAK,IAAI,IAAI,cAAc,KAAK,IAAI,EAAE,CAAC;YAChD,OAAO;QACT,CAAC;QAED,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAC9B,MAAM,YAAY,GAAG,UAAU,GAAG,cAAc,IAAI,KAAK,CAAC;QAE1D,IAAI,YAAY,EAAE,CAAC;YACjB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;YACvC,cAAc,GAAG,UAAU,CAAC;YAC5B,OAAO,GAAG,IAAI,CAAC;YACf,OAAO,GAAG,IAAI,CAAC;QACjB,CAAC;aAAM,IAAI,QAAQ,EAAE,CAAC;YACpB,UAAU,EAAE,CAAC;QACf,CAAC;IACH,CAAC;IAED,SAAS,UAAU;QACjB,IAAI,OAAO,EAAE,CAAC;YACZ,oBAAoB,CAAC,OAAO,CAAC,CAAC;QAChC,CAAC;QACD,OAAO,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAC;IAC/C,CAAC;IAED,kDAAkD;IAClD,SAAS,SAAS,CAAY,GAAG,IAAS;QACxC,IAAI,cAAc,KAAK,IAAI,EAAE,CAAC;YAC5B,cAAc,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;YAC5B,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACzB,CAAC;aAAM,CAAC;YACN,OAAO,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;YAC/B,UAAU,EAAE,CAAC;QACf,CAAC;IACH,CAAC;IAED,kEAAkE;IAClE,SAAS,CAAC,MAAM,GAAG,GAAG,EAAE;QACtB,IAAI,OAAO,EAAE,CAAC;YACZ,oBAAoB,CAAC,OAAO,CAAC,CAAC;QAChC,CAAC;QACD,OAAO,GAAG,IAAI,CAAC;QACf,cAAc,GAAG,IAAI,CAAC;QACtB,OAAO,GAAG,IAAI,CAAC;IACjB,CAAC,CAAC;IAEF,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nexport interface ThrottleOptions {\n leading?: boolean;\n trailing?: boolean;\n}\n\nexport interface ThrottledFunction<F extends (...args: any) => any> {\n (...args: Parameters<F>): void;\n cancel(): void;\n}\n\nexport function throttle<F extends (...args: any) => any>(\n func: F,\n delay: number,\n { trailing = true }: ThrottleOptions = {}\n): ThrottledFunction<F> {\n let pending: null | { this: any; args: any } = null;\n let lastInvokeTime: null | number = null;\n let timerId: null | number = null;\n\n // Runs on every animation frame until timer stopped.\n function pendingFunc() {\n if (pending === null || lastInvokeTime === null) {\n return;\n }\n\n const invokeTime = Date.now();\n const shouldInvoke = invokeTime - lastInvokeTime >= delay;\n\n if (shouldInvoke) {\n func.apply(pending.this, pending.args);\n lastInvokeTime = invokeTime;\n pending = null;\n timerId = null;\n } else if (trailing) {\n startTimer();\n }\n }\n\n function startTimer() {\n if (timerId) {\n cancelAnimationFrame(timerId);\n }\n timerId = requestAnimationFrame(pendingFunc);\n }\n\n // Decorated client function with delay mechanism.\n function throttled(this: any, ...args: any) {\n if (lastInvokeTime === null) {\n lastInvokeTime = Date.now();\n func.apply(this, args);\n } else {\n pending = { this: this, args };\n startTimer();\n }\n }\n\n // Prevents delayed function from execution when no longer needed.\n throttled.cancel = () => {\n if (timerId) {\n cancelAnimationFrame(timerId);\n }\n pending = null;\n lastInvokeTime = null;\n timerId = null;\n };\n\n return throttled;\n}\n"]}
1
+ {"version":3,"file":"throttle.js","sourceRoot":"","sources":["../../../../src/internal/utils/throttle.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAYtC,MAAM,UAAU,QAAQ,CACtB,IAAO,EACP,KAAa,EACb,EAAE,QAAQ,GAAG,IAAI,KAAsB,EAAE;IAEzC,IAAI,OAAO,GAAoC,IAAI,CAAC;IACpD,IAAI,cAAc,GAAkB,IAAI,CAAC;IACzC,IAAI,OAAO,GAAkB,IAAI,CAAC;IAElC,qDAAqD;IACrD,SAAS,WAAW;QAClB,IAAI,OAAO,KAAK,IAAI,IAAI,cAAc,KAAK,IAAI,EAAE,CAAC;YAChD,OAAO;QACT,CAAC;QAED,MAAM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Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nexport interface ThrottleOptions {\n leading?: boolean;\n trailing?: boolean;\n}\n\nexport interface ThrottledFunction<F extends (...args: any) => any> {\n (...args: Parameters<F>): void;\n cancel(): void;\n}\n\nexport function throttle<F extends (...args: any) => any>(\n func: F,\n delay: number,\n { trailing = true }: ThrottleOptions = {}\n): ThrottledFunction<F> {\n let pending: null | { this: any; args: any } = null;\n let lastInvokeTime: null | number = null;\n let timerId: null | number = null;\n\n // Runs on every animation frame until timer stopped.\n function pendingFunc() {\n if (pending === null || lastInvokeTime === null) {\n return;\n }\n\n const invokeTime = Date.now();\n const shouldInvoke = invokeTime - lastInvokeTime >= delay;\n\n if (shouldInvoke) {\n func.apply(pending.this, pending.args);\n lastInvokeTime = invokeTime;\n pending = null;\n timerId = null;\n } else if (trailing) {\n startTimer();\n }\n }\n\n function startTimer() {\n if (timerId) {\n cancelAnimationFrame(timerId);\n }\n timerId = requestAnimationFrame(pendingFunc);\n }\n\n // Decorated client function with delay mechanism.\n function throttled(this: any, ...args: any) {\n if (lastInvokeTime === null) {\n lastInvokeTime = Date.now();\n func.apply(this, args);\n } else {\n pending = { this: this, args };\n startTimer();\n }\n }\n\n // Prevents delayed function from execution when no longer needed.\n // Note: only the pending trailing invocation is cancelled. The throttle\n // window (`lastInvokeTime`) is preserved so subsequent calls keep respecting\n // the configured delay rather than firing immediately as a leading call.\n throttled.cancel = () => {\n if (timerId) {\n cancelAnimationFrame(timerId);\n }\n pending = null;\n timerId = null;\n };\n\n return throttled;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/progress-bar/index.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAOhD,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAE5B,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,KAAS,EACT,MAAsB,EACtB,OAAsB,EACtB,gBAAgB,EAChB,KAAK,EACL,SAAS,EACT,cAAc,EACd,eAAe,EACf,WAAW,EACX,cAAc,EACd,UAAU,EACV,mBAAmB,EACnB,KAAK,EACL,GAAG,IAAI,EACR,EAAE,gBAAgB,eAgGlB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/progress-bar/index.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAOhD,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAE5B,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,KAAS,EACT,MAAsB,EACtB,OAAsB,EACtB,gBAAgB,EAChB,KAAK,EACL,SAAS,EACT,cAAc,EACd,eAAe,EACf,WAAW,EACX,cAAc,EACd,UAAU,EACV,mBAAmB,EACnB,KAAK,EACL,GAAG,IAAI,EACR,EAAE,gBAAgB,eAiGlB"}
@@ -31,6 +31,7 @@ export default function ProgressBar({ value = 0, status = 'in-progress', variant
31
31
  }, ASSERTION_FREQUENCY, []);
32
32
  useEffect(() => {
33
33
  throttledAssertion(value);
34
+ return () => throttledAssertion.cancel();
34
35
  }, [throttledAssertion, value]);
35
36
  if (isInFlash && resultButtonText) {
36
37
  warnOnce('ProgressBar', 'The `resultButtonText` is ignored if you set `variant="flash"`, and the result button is not displayed. Use the `buttonText` property and the `onButtonClick` event listener of the flashbar item in which the progress bar component is embedded.');
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/progress-bar/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CA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,WAAW,CAC1B,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EACvC,cAAc,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,EAC7C,eAAe,CAChB,EACD,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,GACZ;gBACF,oBAAC,kBAAkB,IAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,CAAC;oBACtD,KAAK;oBACL,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI;oBACnB,cAAc,CACI,CACpB,CACJ,CAAC,CAAC,CAAC,CACF,oBAAC,kBAAkB,IAAC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,CAAC;gBACxD,oBAAC,WAAW,IACV,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,GAAG,EAAE;wBACZ,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;oBAC9C,CAAC,GACD,CACiB,CACtB,CACG,CACF;QACL,cAAc,IAAI,CACjB,oBAAC,SAAS,IACR,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC,EACpC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EACxC,EAAE,EAAE,gBAAgB,IAEnB,cAAc,CACL,CACb,CACG,CACP,CAAC;AACJ,CAAC;AAED,gBAAgB,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React, { useEffect, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { useUniqueId, warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { getBaseProps } from '../internal/base-component';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { useThrottleCallback } from '../internal/hooks/use-throttle-callback';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { joinStrings } from '../internal/utils/strings';\nimport InternalLiveRegion from '../live-region/internal';\nimport { ProgressBarProps } from './interfaces';\nimport { Progress, ResultState, SmallText } from './internal';\n\nimport styles from './styles.css.js';\n\nconst ASSERTION_FREQUENCY = 5000; // interval in ms between progress announcements\n\nexport { ProgressBarProps };\n\nexport default function ProgressBar({\n value = 0,\n status = 'in-progress',\n variant = 'standalone',\n resultButtonText,\n label,\n ariaLabel,\n ariaLabelledby,\n ariaDescribedby,\n description,\n additionalInfo,\n resultText,\n onResultButtonClick,\n style,\n ...rest\n}: ProgressBarProps) {\n const { __internalRootRef } = useBaseComponent('ProgressBar', {\n props: { variant },\n });\n const baseProps = getBaseProps(rest);\n const generatedName = useUniqueId('awsui-progress-bar-');\n\n const labelId = `${generatedName}-label`;\n const isInFlash = variant === 'flash';\n const isInProgressState = status === 'in-progress';\n\n const descriptionId = useUniqueId('progressbar-description-');\n const additionalInfoId = useUniqueId('progressbar-additional-info-');\n\n const [announcedValue, setAnnouncedValue] = useState('');\n const throttledAssertion = useThrottleCallback(\n (value: ProgressBarProps['value']) => {\n setAnnouncedValue(`${value}%`);\n },\n ASSERTION_FREQUENCY,\n []\n );\n\n useEffect(() => {\n throttledAssertion(value);\n }, [throttledAssertion, value]);\n\n if (isInFlash && resultButtonText) {\n warnOnce(\n 'ProgressBar',\n 'The `resultButtonText` is ignored if you set `variant=\"flash\"`, and the result button is not displayed. Use the `buttonText` property and the `onButtonClick` event listener of the flashbar item in which the progress bar component is embedded.'\n );\n }\n\n return (\n <div\n {...baseProps}\n className={clsx(baseProps.className, styles.root, variant && styles[variant])}\n ref={__internalRootRef}\n >\n <div className={isInFlash ? styles['flash-container'] : undefined}>\n <div className={clsx(styles['word-wrap'], styles[`label-${variant}`])} id={labelId}>\n {label}\n </div>\n {description && (\n <SmallText color={isInFlash ? 'inherit' : undefined} id={descriptionId}>\n {description}\n </SmallText>\n )}\n <div>\n {isInProgressState ? (\n <>\n <Progress\n value={value}\n ariaLabel={ariaLabel}\n ariaLabelledby={joinStrings(labelId, ariaLabelledby)}\n ariaDescribedby={joinStrings(\n description ? descriptionId : undefined,\n additionalInfo ? additionalInfoId : undefined,\n ariaDescribedby\n )}\n isInFlash={isInFlash}\n style={style}\n />\n <InternalLiveRegion hidden={true} tagName=\"span\" delay={0}>\n {label}\n {label ? ': ' : null}\n {announcedValue}\n </InternalLiveRegion>\n </>\n ) : (\n <InternalLiveRegion hidden={false} tagName=\"span\" delay={0}>\n <ResultState\n resultText={resultText}\n isInFlash={isInFlash}\n resultButtonText={resultButtonText}\n status={status}\n onClick={() => {\n fireNonCancelableEvent(onResultButtonClick);\n }}\n />\n </InternalLiveRegion>\n )}\n </div>\n </div>\n {additionalInfo && (\n <SmallText\n className={styles['additional-info']}\n color={isInFlash ? 'inherit' : undefined}\n id={additionalInfoId}\n >\n {additionalInfo}\n </SmallText>\n )}\n </div>\n );\n}\n\napplyDisplayName(ProgressBar, 'ProgressBar');\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/progress-bar/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO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AAgB,CAAC,CAAC,CAAC,SAAS,EAC7C,eAAe,CAChB,EACD,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,GACZ;gBACF,oBAAC,kBAAkB,IAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,CAAC;oBACtD,KAAK;oBACL,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI;oBACnB,cAAc,CACI,CACpB,CACJ,CAAC,CAAC,CAAC,CACF,oBAAC,kBAAkB,IAAC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,CAAC;gBACxD,oBAAC,WAAW,IACV,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,GAAG,EAAE;wBACZ,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;oBAC9C,CAAC,GACD,CACiB,CACtB,CACG,CACF;QACL,cAAc,IAAI,CACjB,oBAAC,SAAS,IACR,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC,EACpC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EACxC,EAAE,EAAE,gBAAgB,IAEnB,cAAc,CACL,CACb,CACG,CACP,CAAC;AACJ,CAAC;AAED,gBAAgB,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React, { useEffect, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { useUniqueId, warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { getBaseProps } from '../internal/base-component';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { useThrottleCallback } from '../internal/hooks/use-throttle-callback';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { joinStrings } from '../internal/utils/strings';\nimport InternalLiveRegion from '../live-region/internal';\nimport { ProgressBarProps } from './interfaces';\nimport { Progress, ResultState, SmallText } from './internal';\n\nimport styles from './styles.css.js';\n\nconst ASSERTION_FREQUENCY = 5000; // interval in ms between progress announcements\n\nexport { ProgressBarProps };\n\nexport default function ProgressBar({\n value = 0,\n status = 'in-progress',\n variant = 'standalone',\n resultButtonText,\n label,\n ariaLabel,\n ariaLabelledby,\n ariaDescribedby,\n description,\n additionalInfo,\n resultText,\n onResultButtonClick,\n style,\n ...rest\n}: ProgressBarProps) {\n const { __internalRootRef } = useBaseComponent('ProgressBar', {\n props: { variant },\n });\n const baseProps = getBaseProps(rest);\n const generatedName = useUniqueId('awsui-progress-bar-');\n\n const labelId = `${generatedName}-label`;\n const isInFlash = variant === 'flash';\n const isInProgressState = status === 'in-progress';\n\n const descriptionId = useUniqueId('progressbar-description-');\n const additionalInfoId = useUniqueId('progressbar-additional-info-');\n\n const [announcedValue, setAnnouncedValue] = useState('');\n const throttledAssertion = useThrottleCallback(\n (value: ProgressBarProps['value']) => {\n setAnnouncedValue(`${value}%`);\n },\n ASSERTION_FREQUENCY,\n []\n );\n\n useEffect(() => {\n throttledAssertion(value);\n return () => throttledAssertion.cancel();\n }, [throttledAssertion, value]);\n\n if (isInFlash && resultButtonText) {\n warnOnce(\n 'ProgressBar',\n 'The `resultButtonText` is ignored if you set `variant=\"flash\"`, and the result button is not displayed. Use the `buttonText` property and the `onButtonClick` event listener of the flashbar item in which the progress bar component is embedded.'\n );\n }\n\n return (\n <div\n {...baseProps}\n className={clsx(baseProps.className, styles.root, variant && styles[variant])}\n ref={__internalRootRef}\n >\n <div className={isInFlash ? styles['flash-container'] : undefined}>\n <div className={clsx(styles['word-wrap'], styles[`label-${variant}`])} id={labelId}>\n {label}\n </div>\n {description && (\n <SmallText color={isInFlash ? 'inherit' : undefined} id={descriptionId}>\n {description}\n </SmallText>\n )}\n <div>\n {isInProgressState ? (\n <>\n <Progress\n value={value}\n ariaLabel={ariaLabel}\n ariaLabelledby={joinStrings(labelId, ariaLabelledby)}\n ariaDescribedby={joinStrings(\n description ? descriptionId : undefined,\n additionalInfo ? additionalInfoId : undefined,\n ariaDescribedby\n )}\n isInFlash={isInFlash}\n style={style}\n />\n <InternalLiveRegion hidden={true} tagName=\"span\" delay={0}>\n {label}\n {label ? ': ' : null}\n {announcedValue}\n </InternalLiveRegion>\n </>\n ) : (\n <InternalLiveRegion hidden={false} tagName=\"span\" delay={0}>\n <ResultState\n resultText={resultText}\n isInFlash={isInFlash}\n resultButtonText={resultButtonText}\n status={status}\n onClick={() => {\n fireNonCancelableEvent(onResultButtonClick);\n }}\n />\n </InternalLiveRegion>\n )}\n </div>\n </div>\n {additionalInfo && (\n <SmallText\n className={styles['additional-info']}\n color={isInFlash ? 'inherit' : undefined}\n id={additionalInfoId}\n >\n {additionalInfo}\n </SmallText>\n )}\n </div>\n );\n}\n\napplyDisplayName(ProgressBar, 'ProgressBar');\n"]}
@@ -1,21 +1,21 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "segment": "awsui_segment_8cbea_o8jty_161",
5
- "refresh": "awsui_refresh_8cbea_o8jty_188",
6
- "disabled": "awsui_disabled_8cbea_o8jty_194",
7
- "selected": "awsui_selected_8cbea_o8jty_251",
8
- "icon": "awsui_icon_8cbea_o8jty_261",
9
- "with-text": "awsui_with-text_8cbea_o8jty_265",
10
- "with-no-text": "awsui_with-no-text_8cbea_o8jty_271",
11
- "root": "awsui_root_8cbea_o8jty_276",
12
- "segment-part": "awsui_segment-part_8cbea_o8jty_308",
13
- "select": "awsui_select_8cbea_o8jty_251",
14
- "segment-count-2": "awsui_segment-count-2_8cbea_o8jty_343",
15
- "segment-count-3": "awsui_segment-count-3_8cbea_o8jty_347",
16
- "segment-count-4": "awsui_segment-count-4_8cbea_o8jty_351",
17
- "segment-count-5": "awsui_segment-count-5_8cbea_o8jty_355",
18
- "segment-count-6": "awsui_segment-count-6_8cbea_o8jty_359",
19
- "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_o8jty_363"
4
+ "segment": "awsui_segment_8cbea_1cdc3_161",
5
+ "refresh": "awsui_refresh_8cbea_1cdc3_188",
6
+ "disabled": "awsui_disabled_8cbea_1cdc3_194",
7
+ "selected": "awsui_selected_8cbea_1cdc3_251",
8
+ "icon": "awsui_icon_8cbea_1cdc3_261",
9
+ "with-text": "awsui_with-text_8cbea_1cdc3_265",
10
+ "with-no-text": "awsui_with-no-text_8cbea_1cdc3_271",
11
+ "root": "awsui_root_8cbea_1cdc3_276",
12
+ "segment-part": "awsui_segment-part_8cbea_1cdc3_308",
13
+ "select": "awsui_select_8cbea_1cdc3_251",
14
+ "segment-count-2": "awsui_segment-count-2_8cbea_1cdc3_343",
15
+ "segment-count-3": "awsui_segment-count-3_8cbea_1cdc3_347",
16
+ "segment-count-4": "awsui_segment-count-4_8cbea_1cdc3_351",
17
+ "segment-count-5": "awsui_segment-count-5_8cbea_1cdc3_355",
18
+ "segment-count-6": "awsui_segment-count-6_8cbea_1cdc3_359",
19
+ "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_1cdc3_363"
20
20
  };
21
21
 
@@ -158,7 +158,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
158
158
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
159
159
  SPDX-License-Identifier: Apache-2.0
160
160
  */
161
- .awsui_segment_8cbea_o8jty_161:not(#\9) {
161
+ .awsui_segment_8cbea_1cdc3_161:not(#\9) {
162
162
  font-size: var(--font-size-body-m-vv54cm, 14px);
163
163
  line-height: var(--line-height-body-m-bedeoh, 22px);
164
164
  word-wrap: break-word;
@@ -185,24 +185,24 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
185
185
  border-block: none;
186
186
  --awsui-style-focus-ring-box-shadow-6b9ypa: 0 0 0 var(--awsui-style-focus-ring-border-width-6b9ypa, 2px) var(--awsui-style-focus-ring-border-color-6b9ypa, var(--color-border-item-focused-r5f6xl, #0073bb));
187
187
  }
188
- .awsui_segment_8cbea_o8jty_161:not(#\9):not(.awsui_refresh_8cbea_o8jty_188) {
188
+ .awsui_segment_8cbea_1cdc3_161:not(#\9):not(.awsui_refresh_8cbea_1cdc3_188) {
189
189
  block-size: calc(100% - var(--space-static-xxs-0cgyf1, 4px) - 2 * var(--border-width-field-9k1tdz, 1px));
190
190
  }
191
- .awsui_segment_8cbea_o8jty_161:not(#\9):focus {
191
+ .awsui_segment_8cbea_1cdc3_161:not(#\9):focus {
192
192
  outline: none;
193
193
  }
194
- .awsui_segment_8cbea_o8jty_161.awsui_disabled_8cbea_o8jty_194:not(#\9) {
194
+ .awsui_segment_8cbea_1cdc3_161.awsui_disabled_8cbea_1cdc3_194:not(#\9) {
195
195
  background: var(--awsui-style-background-disabled-6b9ypa, var(--color-background-segment-disabled-etp65k, #ffffff));
196
196
  color: var(--awsui-style-color-disabled-6b9ypa, var(--color-text-interactive-disabled-xwt2jl, #aab7b8));
197
197
  }
198
- body[data-awsui-focus-visible=true] .awsui_segment_8cbea_o8jty_161:not(#\9):focus {
198
+ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_1cdc3_161:not(#\9):focus {
199
199
  position: relative;
200
200
  }
201
- body[data-awsui-focus-visible=true] .awsui_segment_8cbea_o8jty_161:not(#\9):focus {
201
+ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_1cdc3_161:not(#\9):focus {
202
202
  outline: 2px dotted transparent;
203
203
  outline-offset: calc(var(--space-segmented-control-focus-outline-gutter-tvktqv, 3px) - 1px);
204
204
  }
205
- body[data-awsui-focus-visible=true] .awsui_segment_8cbea_o8jty_161:not(#\9):focus::before {
205
+ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_1cdc3_161:not(#\9):focus::before {
206
206
  content: " ";
207
207
  display: block;
208
208
  position: absolute;
@@ -217,7 +217,7 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_o8jty_161:not(#\9):focu
217
217
  box-shadow: var(--awsui-style-focus-ring-box-shadow-6b9ypa);
218
218
  z-index: 1;
219
219
  }
220
- .awsui_segment_8cbea_o8jty_161:not(#\9):not(:last-child)::after {
220
+ .awsui_segment_8cbea_1cdc3_161:not(#\9):not(:last-child)::after {
221
221
  content: "";
222
222
  position: absolute;
223
223
  inset-inline-end: calc(-1 * (var(--space-static-xxs-0cgyf1, 4px) + 1px));
@@ -227,53 +227,53 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_o8jty_161:not(#\9):focu
227
227
  background: var(--color-border-input-default-txli8y, #687078);
228
228
  z-index: 1;
229
229
  }
230
- .awsui_segment_8cbea_o8jty_161:not(#\9):not(.awsui_refresh_8cbea_o8jty_188):not(:last-child)::after {
230
+ .awsui_segment_8cbea_1cdc3_161:not(#\9):not(.awsui_refresh_8cbea_1cdc3_188):not(:last-child)::after {
231
231
  inset-inline-end: calc(-1 * var(--space-static-xxs-0cgyf1, 4px));
232
232
  }
233
- .awsui_segment_8cbea_o8jty_161:not(#\9):nth-child(1) {
233
+ .awsui_segment_8cbea_1cdc3_161:not(#\9):nth-child(1) {
234
234
  grid-column: 1;
235
235
  }
236
- .awsui_segment_8cbea_o8jty_161:not(#\9):nth-child(2) {
236
+ .awsui_segment_8cbea_1cdc3_161:not(#\9):nth-child(2) {
237
237
  grid-column: 2;
238
238
  }
239
- .awsui_segment_8cbea_o8jty_161:not(#\9):nth-child(3) {
239
+ .awsui_segment_8cbea_1cdc3_161:not(#\9):nth-child(3) {
240
240
  grid-column: 3;
241
241
  }
242
- .awsui_segment_8cbea_o8jty_161:not(#\9):nth-child(4) {
242
+ .awsui_segment_8cbea_1cdc3_161:not(#\9):nth-child(4) {
243
243
  grid-column: 4;
244
244
  }
245
- .awsui_segment_8cbea_o8jty_161:not(#\9):nth-child(5) {
245
+ .awsui_segment_8cbea_1cdc3_161:not(#\9):nth-child(5) {
246
246
  grid-column: 5;
247
247
  }
248
- .awsui_segment_8cbea_o8jty_161:not(#\9):nth-child(6) {
248
+ .awsui_segment_8cbea_1cdc3_161:not(#\9):nth-child(6) {
249
249
  grid-column: 6;
250
250
  }
251
- .awsui_segment_8cbea_o8jty_161.awsui_selected_8cbea_o8jty_251:not(#\9) {
251
+ .awsui_segment_8cbea_1cdc3_161.awsui_selected_8cbea_1cdc3_251:not(#\9) {
252
252
  background: var(--awsui-style-background-active-6b9ypa, var(--color-background-segment-active-pvua4h, #0073bb));
253
253
  color: var(--awsui-style-color-active-6b9ypa, var(--color-text-segment-active-q50mlg, #ffffff));
254
254
  }
255
- .awsui_segment_8cbea_o8jty_161:not(#\9):hover:not(.awsui_selected_8cbea_o8jty_251):not(.awsui_disabled_8cbea_o8jty_194):not(:focus) {
255
+ .awsui_segment_8cbea_1cdc3_161:not(#\9):hover:not(.awsui_selected_8cbea_1cdc3_251):not(.awsui_disabled_8cbea_1cdc3_194):not(:focus) {
256
256
  background: var(--awsui-style-background-hover-6b9ypa, var(--color-background-segment-hover-bakufl, #fafafa));
257
257
  color: var(--awsui-style-color-hover-6b9ypa, var(--color-text-segment-hover-33xnva, #16191f));
258
258
  cursor: pointer;
259
259
  }
260
260
 
261
- .awsui_icon_8cbea_o8jty_261:not(#\9) {
261
+ .awsui_icon_8cbea_1cdc3_261:not(#\9) {
262
262
  /* used in test-utils */
263
263
  }
264
264
 
265
- .awsui_with-text_8cbea_o8jty_265:not(#\9) {
265
+ .awsui_with-text_8cbea_1cdc3_265:not(#\9) {
266
266
  position: relative;
267
267
  inset-inline-start: calc(-1 * var(--space-xxs-jnczic, 4px));
268
268
  margin-inline-end: var(--space-xxs-jnczic, 4px);
269
269
  }
270
270
 
271
- .awsui_with-no-text_8cbea_o8jty_271:not(#\9) {
271
+ .awsui_with-no-text_8cbea_1cdc3_271:not(#\9) {
272
272
  margin-inline: auto;
273
273
  inset-inline: 0;
274
274
  }
275
275
 
276
- .awsui_root_8cbea_o8jty_276:not(#\9) {
276
+ .awsui_root_8cbea_1cdc3_276:not(#\9) {
277
277
  border-collapse: separate;
278
278
  border-spacing: 0;
279
279
  box-sizing: border-box;
@@ -305,10 +305,10 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_o8jty_161:not(#\9):focu
305
305
  -moz-osx-font-smoothing: auto;
306
306
  }
307
307
 
308
- .awsui_segment-part_8cbea_o8jty_308:not(#\9) {
308
+ .awsui_segment-part_8cbea_1cdc3_308:not(#\9) {
309
309
  display: inline-grid;
310
- border-inline: solid var(--border-width-field-9k1tdz, 1px) var(--color-border-input-default-txli8y, #687078);
311
- border-block: solid var(--border-width-field-9k1tdz, 1px) var(--color-border-input-default-txli8y, #687078);
310
+ border-inline: solid var(--border-width-field-9k1tdz, 1px) var(--color-border-segment-wrapper-7vfuf7, #687078);
311
+ border-block: solid var(--border-width-field-9k1tdz, 1px) var(--color-border-segment-wrapper-7vfuf7, #687078);
312
312
  border-start-start-radius: var(--border-radius-button-vm1lh4, 2px);
313
313
  border-start-end-radius: var(--border-radius-button-vm1lh4, 2px);
314
314
  border-end-start-radius: var(--border-radius-button-vm1lh4, 2px);
@@ -320,46 +320,46 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_o8jty_161:not(#\9):focu
320
320
  padding-inline: calc(var(--space-static-xxs-0cgyf1, 4px) - var(--border-width-field-9k1tdz, 1px));
321
321
  gap: calc(var(--space-static-xxs-0cgyf1, 4px) * 2 + 1px);
322
322
  }
323
- .awsui_segment-part_8cbea_o8jty_308:not(#\9):not(.awsui_refresh_8cbea_o8jty_188) {
323
+ .awsui_segment-part_8cbea_1cdc3_308:not(#\9):not(.awsui_refresh_8cbea_1cdc3_188) {
324
324
  padding-inline: calc(var(--space-static-xxxs-zckw10, 2px) + var(--border-width-field-9k1tdz, 1px));
325
325
  padding-block: 0;
326
326
  gap: calc(var(--space-static-xxs-0cgyf1, 4px) * 2 - 1px);
327
327
  }
328
328
  @media (max-width: 688px) {
329
- .awsui_segment-part_8cbea_o8jty_308:not(#\9) {
329
+ .awsui_segment-part_8cbea_1cdc3_308:not(#\9) {
330
330
  display: none;
331
331
  }
332
332
  }
333
333
 
334
- .awsui_select_8cbea_o8jty_251:not(#\9) {
334
+ .awsui_select_8cbea_1cdc3_251:not(#\9) {
335
335
  display: none;
336
336
  }
337
337
  @media (max-width: 688px) {
338
- .awsui_select_8cbea_o8jty_251:not(#\9) {
338
+ .awsui_select_8cbea_1cdc3_251:not(#\9) {
339
339
  display: block;
340
340
  }
341
341
  }
342
342
 
343
- .awsui_segment-count-2_8cbea_o8jty_343:not(#\9) {
343
+ .awsui_segment-count-2_8cbea_1cdc3_343:not(#\9) {
344
344
  grid-template-columns: repeat(2, auto);
345
345
  }
346
346
 
347
- .awsui_segment-count-3_8cbea_o8jty_347:not(#\9) {
347
+ .awsui_segment-count-3_8cbea_1cdc3_347:not(#\9) {
348
348
  grid-template-columns: repeat(3, auto);
349
349
  }
350
350
 
351
- .awsui_segment-count-4_8cbea_o8jty_351:not(#\9) {
351
+ .awsui_segment-count-4_8cbea_1cdc3_351:not(#\9) {
352
352
  grid-template-columns: repeat(4, auto);
353
353
  }
354
354
 
355
- .awsui_segment-count-5_8cbea_o8jty_355:not(#\9) {
355
+ .awsui_segment-count-5_8cbea_1cdc3_355:not(#\9) {
356
356
  grid-template-columns: repeat(5, auto);
357
357
  }
358
358
 
359
- .awsui_segment-count-6_8cbea_o8jty_359:not(#\9) {
359
+ .awsui_segment-count-6_8cbea_1cdc3_359:not(#\9) {
360
360
  grid-template-columns: repeat(6, auto);
361
361
  }
362
362
 
363
- .awsui_disabled-reason-tooltip_8cbea_o8jty_363:not(#\9) {
363
+ .awsui_disabled-reason-tooltip_8cbea_1cdc3_363:not(#\9) {
364
364
  /* used in test-utils or tests */
365
365
  }
@@ -2,21 +2,21 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "segment": "awsui_segment_8cbea_o8jty_161",
6
- "refresh": "awsui_refresh_8cbea_o8jty_188",
7
- "disabled": "awsui_disabled_8cbea_o8jty_194",
8
- "selected": "awsui_selected_8cbea_o8jty_251",
9
- "icon": "awsui_icon_8cbea_o8jty_261",
10
- "with-text": "awsui_with-text_8cbea_o8jty_265",
11
- "with-no-text": "awsui_with-no-text_8cbea_o8jty_271",
12
- "root": "awsui_root_8cbea_o8jty_276",
13
- "segment-part": "awsui_segment-part_8cbea_o8jty_308",
14
- "select": "awsui_select_8cbea_o8jty_251",
15
- "segment-count-2": "awsui_segment-count-2_8cbea_o8jty_343",
16
- "segment-count-3": "awsui_segment-count-3_8cbea_o8jty_347",
17
- "segment-count-4": "awsui_segment-count-4_8cbea_o8jty_351",
18
- "segment-count-5": "awsui_segment-count-5_8cbea_o8jty_355",
19
- "segment-count-6": "awsui_segment-count-6_8cbea_o8jty_359",
20
- "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_o8jty_363"
5
+ "segment": "awsui_segment_8cbea_1cdc3_161",
6
+ "refresh": "awsui_refresh_8cbea_1cdc3_188",
7
+ "disabled": "awsui_disabled_8cbea_1cdc3_194",
8
+ "selected": "awsui_selected_8cbea_1cdc3_251",
9
+ "icon": "awsui_icon_8cbea_1cdc3_261",
10
+ "with-text": "awsui_with-text_8cbea_1cdc3_265",
11
+ "with-no-text": "awsui_with-no-text_8cbea_1cdc3_271",
12
+ "root": "awsui_root_8cbea_1cdc3_276",
13
+ "segment-part": "awsui_segment-part_8cbea_1cdc3_308",
14
+ "select": "awsui_select_8cbea_1cdc3_251",
15
+ "segment-count-2": "awsui_segment-count-2_8cbea_1cdc3_343",
16
+ "segment-count-3": "awsui_segment-count-3_8cbea_1cdc3_347",
17
+ "segment-count-4": "awsui_segment-count-4_8cbea_1cdc3_351",
18
+ "segment-count-5": "awsui_segment-count-5_8cbea_1cdc3_355",
19
+ "segment-count-6": "awsui_segment-count-6_8cbea_1cdc3_359",
20
+ "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_1cdc3_363"
21
21
  };
22
22
 
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/steps/internal.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,KAAK,kBAAkB,GAAG,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG,0BAA0B,CAAC;AA4EzF,QAAA,MAAM,aAAa,GAAI,6GASpB,kBAAkB,gBA8BpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/steps/internal.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,KAAK,kBAAkB,GAAG,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG,0BAA0B,CAAC;AA6FzF,QAAA,MAAM,aAAa,GAAI,6GASpB,kBAAkB,gBA8BpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -19,12 +19,26 @@ const statusToColor = {
19
19
  const CustomStep = ({ step, orientation, renderStep, }) => {
20
20
  const { status, statusIconAriaLabel } = step;
21
21
  const { header, details, icon } = renderStep(step);
22
- return (React.createElement("li", { className: styles.container },
23
- React.createElement("div", { className: styles.header },
24
- icon ? icon : React.createElement(InternalStatusIcon, { type: status, iconAriaLabel: statusIconAriaLabel }),
25
- orientation === 'vertical' ? header : React.createElement("hr", { className: styles.connector, role: "none" })),
26
- orientation === 'vertical' ? (React.createElement("hr", { className: styles.connector, role: "none" })) : (React.createElement("div", { className: styles['horizontal-header'] }, header)),
27
- details && React.createElement("div", { className: styles.details }, details)));
22
+ const iconNode = icon ? icon : React.createElement(InternalStatusIcon, { type: status, iconAriaLabel: statusIconAriaLabel });
23
+ if (orientation === 'horizontal') {
24
+ return (React.createElement("li", { className: styles.container },
25
+ React.createElement("div", { className: styles.header },
26
+ iconNode,
27
+ React.createElement("hr", { className: styles.connector, role: "none" })),
28
+ React.createElement("div", { className: styles['horizontal-header'] }, header),
29
+ details && React.createElement("div", { className: styles.details }, details)));
30
+ }
31
+ // Vertical orientation: render the icon and the connector together in a column-1 "rail" so the
32
+ // connector starts directly beneath the icon and stretches the full height of the step. Unlike
33
+ // placing the header in the same row as the icon, this keeps the vertical line continuous even
34
+ // when the custom header wraps onto multiple lines.
35
+ return (React.createElement("li", { className: clsx(styles.container, styles['custom-vertical']) },
36
+ React.createElement("div", { className: styles.rail },
37
+ iconNode,
38
+ React.createElement("hr", { className: styles.connector, role: "none" })),
39
+ React.createElement("div", { className: styles.content },
40
+ React.createElement("div", { className: styles.header }, header),
41
+ details && React.createElement("div", { className: styles.details }, details))));
28
42
  };
29
43
  const InternalStep = ({ status, statusIconAriaLabel, header, details, orientation, }) => {
30
44
  return (React.createElement("li", { className: styles.container },
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/steps/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAG1C,OAAO,uBAAuB,EAAE,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAG3F,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAIrC,MAAM,aAAa,GAA8C;IAC/D,KAAK,EAAE,mBAAmB;IAC1B,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,qBAAqB;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OA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AAS,EAAE,MAAM,CAAC,IAAI,gBACV,SAAS,qBACJ,cAAc,sBACb,eAAe,IAEhC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CACzB,UAAU,CAAC,CAAC,CAAC,CACX,oBAAC,UAAU,IAAC,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,GAAI,CACzF,CAAC,CAAC,CAAC,CACF,oBAAC,YAAY,IACX,GAAG,EAAE,KAAK,EACV,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,EAC7C,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,WAAW,EAAE,WAAW,GACxB,CACH,CACF,CACE,CACD,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { BoxProps } from '../box/interfaces';\nimport InternalBox from '../box/internal';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { SomeRequired } from '../internal/types';\nimport InternalStatusIndicator, { InternalStatusIcon } from '../status-indicator/internal';\nimport { StepsProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\ntype InternalStepsProps = SomeRequired<StepsProps, 'steps'> & InternalBaseComponentProps;\n\nconst statusToColor: Record<StepsProps.Status, BoxProps.Color> = {\n error: 'text-status-error',\n warning: 'text-status-warning',\n success: 'text-status-success',\n info: 'text-status-info',\n stopped: 'text-status-inactive',\n pending: 'text-status-inactive',\n 'in-progress': 'text-status-inactive',\n loading: 'text-status-inactive',\n 'not-started': 'text-status-inactive',\n};\n\nconst CustomStep = ({\n step,\n orientation,\n renderStep,\n}: {\n step: StepsProps.Step;\n orientation: StepsProps.Orientation;\n renderStep: Required<StepsProps>['renderStep'];\n}) => {\n const { status, statusIconAriaLabel } = step;\n const { header, details, icon } = renderStep(step);\n return (\n <li className={styles.container}>\n <div className={styles.header}>\n {icon ? icon : <InternalStatusIcon type={status} iconAriaLabel={statusIconAriaLabel} />}\n {orientation === 'vertical' ? header : <hr className={styles.connector} role=\"none\" />}\n </div>\n {orientation === 'vertical' ? (\n <hr className={styles.connector} role=\"none\" />\n ) : (\n <div className={styles['horizontal-header']}>{header}</div>\n )}\n {details && <div className={styles.details}>{details}</div>}\n </li>\n );\n};\n\nconst InternalStep = ({\n status,\n statusIconAriaLabel,\n header,\n details,\n orientation,\n}: StepsProps.Step & { orientation: StepsProps.Orientation }) => {\n return (\n <li className={styles.container}>\n <div className={styles.header}>\n {orientation === 'vertical' ? (\n <InternalStatusIndicator type={status} iconAriaLabel={statusIconAriaLabel}>\n {header}\n </InternalStatusIndicator>\n ) : (\n <>\n <InternalBox color={statusToColor[status]}>\n <InternalStatusIcon type={status} iconAriaLabel={statusIconAriaLabel} />\n </InternalBox>\n <hr className={styles.connector} role=\"none\" />\n </>\n )}\n </div>\n {orientation === 'vertical' ? (\n <hr className={styles.connector} role=\"none\" />\n ) : (\n <div className={styles['horizontal-header']}>\n <InternalBox color={statusToColor[status]}>{header}</InternalBox>\n </div>\n )}\n {details && <div className={styles.details}>{details}</div>}\n </li>\n );\n};\n\nconst InternalSteps = ({\n steps,\n orientation = 'vertical',\n renderStep,\n ariaLabel,\n ariaLabelledby,\n ariaDescribedby,\n __internalRootRef,\n ...props\n}: InternalStepsProps) => {\n return (\n <div\n {...props}\n className={clsx(styles.root, props.className, orientation === 'horizontal' ? styles.horizontal : styles.vertical)}\n ref={__internalRootRef}\n >\n <ol\n className={styles.list}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledby}\n aria-describedby={ariaDescribedby}\n >\n {steps.map((step, index) =>\n renderStep ? (\n <CustomStep key={index} orientation={orientation} step={step} renderStep={renderStep} />\n ) : (\n <InternalStep\n key={index}\n status={step.status}\n statusIconAriaLabel={step.statusIconAriaLabel}\n header={step.header}\n details={step.details}\n orientation={orientation}\n />\n )\n )}\n </ol>\n </div>\n );\n};\n\nexport default InternalSteps;\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/steps/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAG1C,OAAO,uBAAuB,EAAE,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAG3F,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAIrC,MAAM,aAAa,GAA8C;IAC/D,KAAK,EAAE,mBAAmB;IAC1B,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,qBAAqB;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,sBAAsB;IAC/B,aAAa,EAAE,sBAAsB;IACrC,OAAO,EAAE,sBAAsB;IAC/B,aAAa,EAAE,sBAAsB;CACtC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAClB,IAAI,EACJ,WAAW,EACX,UAAU,GAKX,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;IAC7C,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;IACnD,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAC,kBAAkB,IAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,mBAAmB,GAAI,CAAC;IAExG,IAAI,WAAW,KAAK,YAAY,EAAE,CAAC;QACjC,OAAO,CACL,4BAAI,SAAS,EAAE,MAAM,CAA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E,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,GAAI,CACzF,CAAC,CAAC,CAAC,CACF,oBAAC,YAAY,IACX,GAAG,EAAE,KAAK,EACV,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,EAC7C,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,WAAW,EAAE,WAAW,GACxB,CACH,CACF,CACE,CACD,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { BoxProps } from '../box/interfaces';\nimport InternalBox from '../box/internal';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { SomeRequired } from '../internal/types';\nimport InternalStatusIndicator, { InternalStatusIcon } from '../status-indicator/internal';\nimport { StepsProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\ntype InternalStepsProps = SomeRequired<StepsProps, 'steps'> & InternalBaseComponentProps;\n\nconst statusToColor: Record<StepsProps.Status, BoxProps.Color> = {\n error: 'text-status-error',\n warning: 'text-status-warning',\n success: 'text-status-success',\n info: 'text-status-info',\n stopped: 'text-status-inactive',\n pending: 'text-status-inactive',\n 'in-progress': 'text-status-inactive',\n loading: 'text-status-inactive',\n 'not-started': 'text-status-inactive',\n};\n\nconst CustomStep = ({\n step,\n orientation,\n renderStep,\n}: {\n step: StepsProps.Step;\n orientation: StepsProps.Orientation;\n renderStep: Required<StepsProps>['renderStep'];\n}) => {\n const { status, statusIconAriaLabel } = step;\n const { header, details, icon } = renderStep(step);\n const iconNode = icon ? icon : <InternalStatusIcon type={status} iconAriaLabel={statusIconAriaLabel} />;\n\n if (orientation === 'horizontal') {\n return (\n <li className={styles.container}>\n <div className={styles.header}>\n {iconNode}\n <hr className={styles.connector} role=\"none\" />\n </div>\n <div className={styles['horizontal-header']}>{header}</div>\n {details && <div className={styles.details}>{details}</div>}\n </li>\n );\n }\n\n // Vertical orientation: render the icon and the connector together in a column-1 \"rail\" so the\n // connector starts directly beneath the icon and stretches the full height of the step. Unlike\n // placing the header in the same row as the icon, this keeps the vertical line continuous even\n // when the custom header wraps onto multiple lines.\n return (\n <li className={clsx(styles.container, styles['custom-vertical'])}>\n <div className={styles.rail}>\n {iconNode}\n <hr className={styles.connector} role=\"none\" />\n </div>\n <div className={styles.content}>\n <div className={styles.header}>{header}</div>\n {details && <div className={styles.details}>{details}</div>}\n </div>\n </li>\n );\n};\n\nconst InternalStep = ({\n status,\n statusIconAriaLabel,\n header,\n details,\n orientation,\n}: StepsProps.Step & { orientation: StepsProps.Orientation }) => {\n return (\n <li className={styles.container}>\n <div className={styles.header}>\n {orientation === 'vertical' ? (\n <InternalStatusIndicator type={status} iconAriaLabel={statusIconAriaLabel}>\n {header}\n </InternalStatusIndicator>\n ) : (\n <>\n <InternalBox color={statusToColor[status]}>\n <InternalStatusIcon type={status} iconAriaLabel={statusIconAriaLabel} />\n </InternalBox>\n <hr className={styles.connector} role=\"none\" />\n </>\n )}\n </div>\n {orientation === 'vertical' ? (\n <hr className={styles.connector} role=\"none\" />\n ) : (\n <div className={styles['horizontal-header']}>\n <InternalBox color={statusToColor[status]}>{header}</InternalBox>\n </div>\n )}\n {details && <div className={styles.details}>{details}</div>}\n </li>\n );\n};\n\nconst InternalSteps = ({\n steps,\n orientation = 'vertical',\n renderStep,\n ariaLabel,\n ariaLabelledby,\n ariaDescribedby,\n __internalRootRef,\n ...props\n}: InternalStepsProps) => {\n return (\n <div\n {...props}\n className={clsx(styles.root, props.className, orientation === 'horizontal' ? styles.horizontal : styles.vertical)}\n ref={__internalRootRef}\n >\n <ol\n className={styles.list}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledby}\n aria-describedby={ariaDescribedby}\n >\n {steps.map((step, index) =>\n renderStep ? (\n <CustomStep key={index} orientation={orientation} step={step} renderStep={renderStep} />\n ) : (\n <InternalStep\n key={index}\n status={step.status}\n statusIconAriaLabel={step.statusIconAriaLabel}\n header={step.header}\n details={step.details}\n orientation={orientation}\n />\n )\n )}\n </ol>\n </div>\n );\n};\n\nexport default InternalSteps;\n"]}
@@ -1,14 +1,17 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_gxp9y_13ibf_181",
5
- "list": "awsui_list_gxp9y_13ibf_214",
6
- "container": "awsui_container_gxp9y_13ibf_219",
7
- "header": "awsui_header_gxp9y_13ibf_224",
8
- "details": "awsui_details_gxp9y_13ibf_230",
9
- "connector": "awsui_connector_gxp9y_13ibf_236",
10
- "custom": "awsui_custom_gxp9y_13ibf_252",
11
- "horizontal": "awsui_horizontal_gxp9y_13ibf_256",
12
- "horizontal-header": "awsui_horizontal-header_gxp9y_13ibf_288"
4
+ "root": "awsui_root_gxp9y_12uqv_181",
5
+ "list": "awsui_list_gxp9y_12uqv_214",
6
+ "container": "awsui_container_gxp9y_12uqv_219",
7
+ "header": "awsui_header_gxp9y_12uqv_224",
8
+ "details": "awsui_details_gxp9y_12uqv_230",
9
+ "connector": "awsui_connector_gxp9y_12uqv_236",
10
+ "custom": "awsui_custom_gxp9y_12uqv_252",
11
+ "horizontal": "awsui_horizontal_gxp9y_12uqv_256",
12
+ "horizontal-header": "awsui_horizontal-header_gxp9y_12uqv_288",
13
+ "custom-vertical": "awsui_custom-vertical_gxp9y_12uqv_302",
14
+ "rail": "awsui_rail_gxp9y_12uqv_302",
15
+ "content": "awsui_content_gxp9y_12uqv_321"
13
16
  };
14
17
 
@@ -178,7 +178,7 @@
178
178
  */
179
179
  /* Style used for links in slots/components that are text heavy, to help links stand out among
180
180
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
181
- .awsui_root_gxp9y_13ibf_181:not(#\9) {
181
+ .awsui_root_gxp9y_12uqv_181:not(#\9) {
182
182
  border-collapse: separate;
183
183
  border-spacing: 0;
184
184
  box-sizing: border-box;
@@ -211,29 +211,29 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
211
211
  min-inline-size: 0;
212
212
  word-break: break-word;
213
213
  }
214
- .awsui_root_gxp9y_13ibf_181 > .awsui_list_gxp9y_13ibf_214:not(#\9) {
214
+ .awsui_root_gxp9y_12uqv_181 > .awsui_list_gxp9y_12uqv_214:not(#\9) {
215
215
  list-style: none;
216
216
  padding-inline-start: 0;
217
217
  margin-block: 0;
218
218
  }
219
- .awsui_root_gxp9y_13ibf_181 > .awsui_list_gxp9y_13ibf_214 > .awsui_container_gxp9y_13ibf_219:not(#\9) {
219
+ .awsui_root_gxp9y_12uqv_181 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219:not(#\9) {
220
220
  display: grid;
221
221
  grid-template-columns: var(--space-static-l-ig026c, 20px) 1fr;
222
222
  grid-template-rows: minmax(var(--space-static-l-ig026c, 20px), auto);
223
223
  }
224
- .awsui_root_gxp9y_13ibf_181 > .awsui_list_gxp9y_13ibf_214 > .awsui_container_gxp9y_13ibf_219 > .awsui_header_gxp9y_13ibf_224:not(#\9) {
224
+ .awsui_root_gxp9y_12uqv_181 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219 > .awsui_header_gxp9y_12uqv_224:not(#\9) {
225
225
  display: flex;
226
226
  gap: var(--space-xxs-jnczic, 4px);
227
227
  grid-row: 1;
228
228
  grid-column: 1/span 2;
229
229
  }
230
- .awsui_root_gxp9y_13ibf_181 > .awsui_list_gxp9y_13ibf_214 > .awsui_container_gxp9y_13ibf_219 > .awsui_details_gxp9y_13ibf_230:not(#\9) {
230
+ .awsui_root_gxp9y_12uqv_181 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219 > .awsui_details_gxp9y_12uqv_230:not(#\9) {
231
231
  align-items: center;
232
232
  grid-row: 2;
233
233
  grid-column: 2;
234
234
  margin-block-end: var(--space-static-xs-4gq40t, 8px);
235
235
  }
236
- .awsui_root_gxp9y_13ibf_181 > .awsui_list_gxp9y_13ibf_214 > .awsui_container_gxp9y_13ibf_219 > .awsui_connector_gxp9y_13ibf_236:not(#\9) {
236
+ .awsui_root_gxp9y_12uqv_181 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219 > .awsui_connector_gxp9y_12uqv_236:not(#\9) {
237
237
  grid-row: 2;
238
238
  grid-column: 1;
239
239
  background-color: var(--color-border-divider-default-ipvpev, #eaeded);
@@ -246,32 +246,32 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
246
246
  position: relative;
247
247
  inset-inline-end: var(--space-static-xxxs-zckw10, 2px);
248
248
  }
249
- .awsui_root_gxp9y_13ibf_181 > .awsui_list_gxp9y_13ibf_214 > :not(#\9):last-of-type > .awsui_connector_gxp9y_13ibf_236 {
249
+ .awsui_root_gxp9y_12uqv_181 > .awsui_list_gxp9y_12uqv_214 > :not(#\9):last-of-type > .awsui_connector_gxp9y_12uqv_236 {
250
250
  display: none;
251
251
  }
252
- .awsui_root_gxp9y_13ibf_181 > .awsui_list_gxp9y_13ibf_214.awsui_custom_gxp9y_13ibf_252 > .awsui_details_gxp9y_13ibf_230:not(#\9) {
252
+ .awsui_root_gxp9y_12uqv_181 > .awsui_list_gxp9y_12uqv_214.awsui_custom_gxp9y_12uqv_252 > .awsui_details_gxp9y_12uqv_230:not(#\9) {
253
253
  margin-block-end: 0;
254
254
  }
255
255
 
256
- .awsui_horizontal_gxp9y_13ibf_256 > .awsui_list_gxp9y_13ibf_214:not(#\9) {
256
+ .awsui_horizontal_gxp9y_12uqv_256 > .awsui_list_gxp9y_12uqv_214:not(#\9) {
257
257
  display: grid;
258
258
  align-items: flex-start;
259
259
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
260
260
  grid-auto-flow: column;
261
261
  }
262
- .awsui_horizontal_gxp9y_13ibf_256 > .awsui_list_gxp9y_13ibf_214 > .awsui_container_gxp9y_13ibf_219:not(#\9) {
262
+ .awsui_horizontal_gxp9y_12uqv_256 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219:not(#\9) {
263
263
  display: grid;
264
264
  grid-template-columns: var(--space-static-l-ig026c, 20px) 1fr;
265
265
  grid-template-rows: minmax(var(--space-static-l-ig026c, 20px), auto);
266
266
  align-items: center;
267
267
  }
268
- .awsui_horizontal_gxp9y_13ibf_256 > .awsui_list_gxp9y_13ibf_214 > .awsui_container_gxp9y_13ibf_219 > .awsui_header_gxp9y_13ibf_224:not(#\9) {
268
+ .awsui_horizontal_gxp9y_12uqv_256 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219 > .awsui_header_gxp9y_12uqv_224:not(#\9) {
269
269
  display: flex;
270
270
  grid-row: 1;
271
271
  grid-column: 1/span 2;
272
272
  align-items: center;
273
273
  }
274
- .awsui_horizontal_gxp9y_13ibf_256 > .awsui_list_gxp9y_13ibf_214 > .awsui_container_gxp9y_13ibf_219 > .awsui_header_gxp9y_13ibf_224 > .awsui_connector_gxp9y_13ibf_236:not(#\9) {
274
+ .awsui_horizontal_gxp9y_12uqv_256 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219 > .awsui_header_gxp9y_12uqv_224 > .awsui_connector_gxp9y_12uqv_236:not(#\9) {
275
275
  display: block;
276
276
  flex: 1;
277
277
  background-color: var(--color-border-divider-default-ipvpev, #eaeded);
@@ -285,16 +285,44 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
285
285
  min-inline-size: var(--space-static-xs-4gq40t, 8px);
286
286
  margin-inline-end: var(--space-static-xxs-0cgyf1, 4px);
287
287
  }
288
- .awsui_horizontal_gxp9y_13ibf_256 > .awsui_list_gxp9y_13ibf_214 > .awsui_container_gxp9y_13ibf_219 > .awsui_horizontal-header_gxp9y_13ibf_288:not(#\9) {
288
+ .awsui_horizontal_gxp9y_12uqv_256 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219 > .awsui_horizontal-header_gxp9y_12uqv_288:not(#\9) {
289
289
  grid-row: 2;
290
290
  grid-column: 1/span 3;
291
291
  padding-inline-end: var(--space-xs-kw7k3v, 8px);
292
292
  }
293
- .awsui_horizontal_gxp9y_13ibf_256 > .awsui_list_gxp9y_13ibf_214 > .awsui_container_gxp9y_13ibf_219 > .awsui_details_gxp9y_13ibf_230:not(#\9) {
293
+ .awsui_horizontal_gxp9y_12uqv_256 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219 > .awsui_details_gxp9y_12uqv_230:not(#\9) {
294
294
  grid-row: 3;
295
295
  grid-column: 1/span 3;
296
296
  padding-inline-end: var(--space-xs-kw7k3v, 8px);
297
297
  }
298
- .awsui_horizontal_gxp9y_13ibf_256 > .awsui_list_gxp9y_13ibf_214 > .awsui_container_gxp9y_13ibf_219:not(#\9):last-child > .awsui_header_gxp9y_13ibf_224 > .awsui_connector_gxp9y_13ibf_236 {
298
+ .awsui_horizontal_gxp9y_12uqv_256 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219:not(#\9):last-child > .awsui_header_gxp9y_12uqv_224 > .awsui_connector_gxp9y_12uqv_236 {
299
+ display: none;
300
+ }
301
+
302
+ .awsui_root_gxp9y_12uqv_181 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219.awsui_custom-vertical_gxp9y_12uqv_302 > .awsui_rail_gxp9y_12uqv_302:not(#\9) {
303
+ grid-column: 1;
304
+ display: flex;
305
+ flex-direction: column;
306
+ align-items: center;
307
+ }
308
+ .awsui_root_gxp9y_12uqv_181 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219.awsui_custom-vertical_gxp9y_12uqv_302 > .awsui_rail_gxp9y_12uqv_302 > .awsui_connector_gxp9y_12uqv_236:not(#\9) {
309
+ grid-row: auto;
310
+ grid-column: auto;
311
+ flex: 1 1 auto;
312
+ background-color: var(--color-border-divider-default-ipvpev, #eaeded);
313
+ border-block: 0;
314
+ border-inline: 0;
315
+ inline-size: var(--border-divider-list-width-8ggz94, 1px);
316
+ block-size: auto;
317
+ min-block-size: var(--space-static-xs-4gq40t, 8px);
318
+ inset-inline-end: 0;
319
+ margin-block: var(--space-static-xxs-0cgyf1, 4px) 0;
320
+ }
321
+ .awsui_root_gxp9y_12uqv_181 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219.awsui_custom-vertical_gxp9y_12uqv_302 > .awsui_content_gxp9y_12uqv_321:not(#\9) {
322
+ grid-column: 2;
323
+ min-inline-size: 0;
324
+ }
325
+
326
+ .awsui_root_gxp9y_12uqv_181 > .awsui_list_gxp9y_12uqv_214 > .awsui_container_gxp9y_12uqv_219.awsui_custom-vertical_gxp9y_12uqv_302:not(#\9):last-of-type > .awsui_rail_gxp9y_12uqv_302 > .awsui_connector_gxp9y_12uqv_236 {
299
327
  display: none;
300
328
  }
@@ -2,14 +2,17 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_gxp9y_13ibf_181",
6
- "list": "awsui_list_gxp9y_13ibf_214",
7
- "container": "awsui_container_gxp9y_13ibf_219",
8
- "header": "awsui_header_gxp9y_13ibf_224",
9
- "details": "awsui_details_gxp9y_13ibf_230",
10
- "connector": "awsui_connector_gxp9y_13ibf_236",
11
- "custom": "awsui_custom_gxp9y_13ibf_252",
12
- "horizontal": "awsui_horizontal_gxp9y_13ibf_256",
13
- "horizontal-header": "awsui_horizontal-header_gxp9y_13ibf_288"
5
+ "root": "awsui_root_gxp9y_12uqv_181",
6
+ "list": "awsui_list_gxp9y_12uqv_214",
7
+ "container": "awsui_container_gxp9y_12uqv_219",
8
+ "header": "awsui_header_gxp9y_12uqv_224",
9
+ "details": "awsui_details_gxp9y_12uqv_230",
10
+ "connector": "awsui_connector_gxp9y_12uqv_236",
11
+ "custom": "awsui_custom_gxp9y_12uqv_252",
12
+ "horizontal": "awsui_horizontal_gxp9y_12uqv_256",
13
+ "horizontal-header": "awsui_horizontal-header_gxp9y_12uqv_288",
14
+ "custom-vertical": "awsui_custom-vertical_gxp9y_12uqv_302",
15
+ "rail": "awsui_rail_gxp9y_12uqv_302",
16
+ "content": "awsui_content_gxp9y_12uqv_321"
14
17
  };
15
18