@cloudscape-design/components-themeable 3.0.1397 → 3.0.1398

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 (135) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/{internal/components/control-group → control-group}/styles.scss +4 -4
  3. package/lib/internal/scss/file-token-group/styles.scss +1 -1
  4. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  5. package/lib/internal/scss/internal/styles/forms/constants.scss +1 -1
  6. package/lib/internal/scss/textarea/styles.scss +41 -8
  7. package/lib/internal/template/autosuggest/internal.d.ts.map +1 -1
  8. package/lib/internal/template/autosuggest/internal.js +9 -0
  9. package/lib/internal/template/autosuggest/internal.js.map +1 -1
  10. package/lib/internal/template/control-group/index.d.ts +4 -0
  11. package/lib/internal/template/control-group/index.d.ts.map +1 -0
  12. package/lib/internal/template/control-group/index.js +19 -0
  13. package/lib/internal/template/control-group/index.js.map +1 -0
  14. package/lib/internal/template/{internal/components/control-group → control-group}/interfaces.d.ts +7 -7
  15. package/lib/internal/template/control-group/interfaces.d.ts.map +1 -0
  16. package/lib/internal/template/control-group/interfaces.js.map +1 -0
  17. package/lib/internal/template/control-group/internal.d.ts +4 -0
  18. package/lib/internal/template/control-group/internal.d.ts.map +1 -0
  19. package/lib/internal/template/{internal/components/control-group/index.js → control-group/internal.js} +18 -12
  20. package/lib/internal/template/control-group/internal.js.map +1 -0
  21. package/lib/internal/template/control-group/styles.css.js +32 -0
  22. package/lib/internal/template/{internal/components/control-group → control-group}/styles.scoped.css +28 -28
  23. package/lib/internal/template/control-group/styles.selectors.js +33 -0
  24. package/lib/internal/template/control-group/test-classes/styles.css.js +9 -0
  25. package/lib/internal/template/{internal/components/control-group → control-group}/test-classes/styles.scoped.css +4 -4
  26. package/lib/internal/template/control-group/test-classes/styles.selectors.js +10 -0
  27. package/lib/internal/template/file-token-group/styles.css.js +23 -23
  28. package/lib/internal/template/file-token-group/styles.scoped.css +35 -35
  29. package/lib/internal/template/file-token-group/styles.selectors.js +23 -23
  30. package/lib/internal/template/form-field/interfaces.d.ts +2 -2
  31. package/lib/internal/template/form-field/interfaces.js.map +1 -1
  32. package/lib/internal/template/index.d.ts +1 -0
  33. package/lib/internal/template/index.d.ts.map +1 -1
  34. package/lib/internal/template/index.js +1 -0
  35. package/lib/internal/template/index.js.map +1 -1
  36. package/lib/internal/template/input/internal.d.ts.map +1 -1
  37. package/lib/internal/template/input/internal.js +9 -1
  38. package/lib/internal/template/input/internal.js.map +1 -1
  39. package/lib/internal/template/input/styles.css.js +44 -44
  40. package/lib/internal/template/input/styles.scoped.css +95 -95
  41. package/lib/internal/template/input/styles.selectors.js +44 -44
  42. package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
  43. package/lib/internal/template/internal/base-theme/styles.scoped.css +2 -2
  44. package/lib/internal/template/internal/components/autosuggest-input/index.d.ts.map +1 -1
  45. package/lib/internal/template/internal/components/autosuggest-input/index.js +25 -24
  46. package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
  47. package/lib/internal/template/internal/components/autosuggest-input/styles.css.js +33 -33
  48. package/lib/internal/template/internal/components/autosuggest-input/styles.scoped.css +60 -60
  49. package/lib/internal/template/internal/components/autosuggest-input/styles.selectors.js +33 -33
  50. package/lib/internal/template/internal/components/button-trigger/index.js +1 -1
  51. package/lib/internal/template/internal/components/button-trigger/index.js.map +1 -1
  52. package/lib/internal/template/internal/components/button-trigger/styles.css.js +29 -29
  53. package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +71 -71
  54. package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +29 -29
  55. package/lib/internal/template/internal/components/drag-handle/hooks/interfaces.d.ts +1 -0
  56. package/lib/internal/template/internal/components/drag-handle/hooks/interfaces.d.ts.map +1 -1
  57. package/lib/internal/template/internal/components/drag-handle/hooks/interfaces.js.map +1 -1
  58. package/lib/internal/template/internal/components/drag-handle/hooks/use-drag-handle-interaction-state.d.ts.map +1 -1
  59. package/lib/internal/template/internal/components/drag-handle/hooks/use-drag-handle-interaction-state.js +9 -1
  60. package/lib/internal/template/internal/components/drag-handle/hooks/use-drag-handle-interaction-state.js.map +1 -1
  61. package/lib/internal/template/internal/environment.js +2 -2
  62. package/lib/internal/template/internal/environment.json +2 -2
  63. package/lib/internal/template/internal/generated/styles/tokens.d.ts +1 -1
  64. package/lib/internal/template/internal/generated/styles/tokens.js +1 -1
  65. package/lib/internal/template/internal/generated/theming/index.cjs +5 -3
  66. package/lib/internal/template/internal/generated/theming/index.d.cts +9 -0
  67. package/lib/internal/template/internal/generated/theming/index.d.ts +9 -0
  68. package/lib/internal/template/internal/generated/theming/index.js +5 -3
  69. package/lib/internal/template/internal/grouped-control/dev-warnings.d.ts +39 -0
  70. package/lib/internal/template/internal/grouped-control/dev-warnings.d.ts.map +1 -0
  71. package/lib/internal/template/internal/grouped-control/dev-warnings.js +29 -0
  72. package/lib/internal/template/internal/grouped-control/dev-warnings.js.map +1 -0
  73. package/lib/internal/template/internal/{components/control-group → grouped-control}/grouped-control-styles.d.ts +1 -1
  74. package/lib/internal/template/internal/grouped-control/grouped-control-styles.d.ts.map +1 -0
  75. package/lib/internal/template/internal/grouped-control/grouped-control-styles.js.map +1 -0
  76. package/lib/internal/template/multiselect/interfaces.d.ts +1 -0
  77. package/lib/internal/template/multiselect/interfaces.d.ts.map +1 -1
  78. package/lib/internal/template/multiselect/interfaces.js.map +1 -1
  79. package/lib/internal/template/multiselect/internal.d.ts.map +1 -1
  80. package/lib/internal/template/multiselect/internal.js +11 -1
  81. package/lib/internal/template/multiselect/internal.js.map +1 -1
  82. package/lib/internal/template/package.json +3 -0
  83. package/lib/internal/template/prompt-input/styles.css.js +26 -26
  84. package/lib/internal/template/prompt-input/styles.scoped.css +64 -64
  85. package/lib/internal/template/prompt-input/styles.selectors.js +26 -26
  86. package/lib/internal/template/segmented-control/internal-segmented-control.d.ts.map +1 -1
  87. package/lib/internal/template/segmented-control/internal-segmented-control.js +1 -1
  88. package/lib/internal/template/segmented-control/internal-segmented-control.js.map +1 -1
  89. package/lib/internal/template/segmented-control/internal.js +1 -1
  90. package/lib/internal/template/segmented-control/internal.js.map +1 -1
  91. package/lib/internal/template/segmented-control/styles.css.js +31 -31
  92. package/lib/internal/template/segmented-control/styles.scoped.css +68 -68
  93. package/lib/internal/template/segmented-control/styles.selectors.js +31 -31
  94. package/lib/internal/template/select/interfaces.d.ts +14 -0
  95. package/lib/internal/template/select/interfaces.d.ts.map +1 -1
  96. package/lib/internal/template/select/interfaces.js.map +1 -1
  97. package/lib/internal/template/select/internal.d.ts.map +1 -1
  98. package/lib/internal/template/select/internal.js +9 -0
  99. package/lib/internal/template/select/internal.js.map +1 -1
  100. package/lib/internal/template/styling/textarea.scss +67 -0
  101. package/lib/internal/template/test-utils/dom/{internal/control-group.js → control-group/index.js} +2 -2
  102. package/lib/internal/template/test-utils/dom/control-group/index.js.map +1 -0
  103. package/lib/internal/template/test-utils/dom/index.d.ts +28 -0
  104. package/lib/internal/template/test-utils/dom/index.js +22 -3
  105. package/lib/internal/template/test-utils/dom/index.js.map +1 -1
  106. package/lib/internal/template/test-utils/selectors/{internal/control-group.js → control-group/index.js} +2 -2
  107. package/lib/internal/template/test-utils/selectors/control-group/index.js.map +1 -0
  108. package/lib/internal/template/test-utils/selectors/index.d.ts +18 -0
  109. package/lib/internal/template/test-utils/selectors/index.js +17 -3
  110. package/lib/internal/template/test-utils/selectors/index.js.map +1 -1
  111. package/lib/internal/template/textarea/index.d.ts.map +1 -1
  112. package/lib/internal/template/textarea/index.js +2 -1
  113. package/lib/internal/template/textarea/index.js.map +1 -1
  114. package/lib/internal/template/textarea/styles.css.js +9 -9
  115. package/lib/internal/template/textarea/styles.scoped.css +51 -29
  116. package/lib/internal/template/textarea/styles.selectors.js +9 -9
  117. package/package.json +1 -1
  118. package/lib/internal/template/internal/components/control-group/grouped-control-styles.d.ts.map +0 -1
  119. package/lib/internal/template/internal/components/control-group/grouped-control-styles.js.map +0 -1
  120. package/lib/internal/template/internal/components/control-group/index.d.ts +0 -4
  121. package/lib/internal/template/internal/components/control-group/index.d.ts.map +0 -1
  122. package/lib/internal/template/internal/components/control-group/index.js.map +0 -1
  123. package/lib/internal/template/internal/components/control-group/interfaces.d.ts.map +0 -1
  124. package/lib/internal/template/internal/components/control-group/interfaces.js.map +0 -1
  125. package/lib/internal/template/internal/components/control-group/styles.css.js +0 -32
  126. package/lib/internal/template/internal/components/control-group/styles.selectors.js +0 -33
  127. package/lib/internal/template/internal/components/control-group/test-classes/styles.css.js +0 -9
  128. package/lib/internal/template/internal/components/control-group/test-classes/styles.selectors.js +0 -10
  129. package/lib/internal/template/test-utils/dom/internal/control-group.js.map +0 -1
  130. package/lib/internal/template/test-utils/selectors/internal/control-group.js.map +0 -1
  131. /package/lib/internal/scss/{internal/components/control-group → control-group}/test-classes/styles.scss +0 -0
  132. /package/lib/internal/template/{internal/components/control-group → control-group}/interfaces.js +0 -0
  133. /package/lib/internal/template/internal/{components/control-group → grouped-control}/grouped-control-styles.js +0 -0
  134. /package/lib/internal/template/test-utils/dom/{internal/control-group.d.ts → control-group/index.d.ts} +0 -0
  135. /package/lib/internal/template/test-utils/selectors/{internal/control-group.d.ts → control-group/index.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"internal-segmented-control.js","sourceRoot":"","sources":["../../../src/segmented-control/internal-segmented-control.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,MAAM,6DAA6D,CAAC;AAE1G,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC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AE,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;oBAC9D,CAAC;gBACH,CAAC,EACD,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,EAAE,qBAAqB,CAAC,EAC/D,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,iBAAiB,GAC5B,CACH,CAAC;QACJ,CAAC,CAAC,CACA,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { getGroupedControlClassNames } from '../internal/components/control-group/grouped-control-styles';\nimport { GroupedControlContextProps } from '../internal/context/control-group-context';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { KeyCode } from '../internal/keycode';\nimport handleKey from '../internal/utils/handle-key';\nimport { SegmentedControlProps } from './interfaces';\nimport { Segment } from './segment';\nimport { getSegmentedControlRootStyles } from './style';\n\nimport styles from './styles.css.js';\n\ninterface InternalSegmentedControlComponentProps extends SegmentedControlProps {\n groupedControlProps?: GroupedControlContextProps;\n}\n\nexport default function InternalSegmentedControl({\n selectedId,\n options,\n label,\n ariaLabelledby,\n onChange,\n style,\n groupedControlProps,\n}: InternalSegmentedControlComponentProps) {\n const segmentByIdRef = useRef<{ [id: string]: HTMLButtonElement }>({});\n const selectedOptions = (options || []).filter(option => {\n return option.id === selectedId;\n });\n const currentSelectedOption = selectedOptions.length ? selectedOptions[0] : null;\n const focusableSegments = (options || []).filter(\n option => !option.disabled || (option.disabled && !!option.disabledReason)\n );\n\n const moveHighlight = (event: React.KeyboardEvent<HTMLButtonElement>, activeIndex: number) => {\n if (event.keyCode !== KeyCode.right && event.keyCode !== KeyCode.left) {\n return;\n }\n\n let nextIndex = activeIndex;\n\n handleKey(event, {\n onInlineStart: () => (nextIndex = activeIndex === 0 ? focusableSegments.length - 1 : activeIndex - 1),\n onInlineEnd: () => (nextIndex = activeIndex + 1 === focusableSegments.length ? 0 : activeIndex + 1),\n });\n\n const nextSegmentId = focusableSegments[nextIndex].id;\n segmentByIdRef.current[nextSegmentId]?.focus();\n };\n const isVisualRefresh = useVisualRefresh();\n\n const isGrouped = !!groupedControlProps?.position;\n const isGroupedVertical = isGrouped && groupedControlProps?.direction === 'vertical';\n\n const groupedControlClassNames = isGrouped ? getGroupedControlClassNames(styles, groupedControlProps) : '';\n\n return (\n <div\n className={clsx(styles['segment-part'], styles[`segment-count-${options?.length}`], groupedControlClassNames, {\n [styles.refresh]: isVisualRefresh,\n [styles['grouped-vertical']]: isGroupedVertical,\n })}\n aria-label={label}\n aria-labelledby={ariaLabelledby}\n role=\"toolbar\"\n style={getSegmentedControlRootStyles(style)}\n >\n {options &&\n options.map((option: SegmentedControlProps.Option, index) => {\n const isActive = selectedId === option.id;\n const focusableSegmentIndex = focusableSegments.indexOf(option);\n let tabIndex = isActive ? 0 : -1;\n if (currentSelectedOption === null && focusableSegmentIndex === 0) {\n tabIndex = 0;\n }\n return (\n <Segment\n key={index}\n id={option.id}\n disabled={!!option.disabled}\n disabledReason={option.disabledReason}\n iconName={option.iconName}\n iconAlt={option.iconAlt}\n iconUrl={option.iconUrl}\n iconSvg={option.iconSvg}\n text={option.text}\n isActive={isActive}\n tabIndex={tabIndex}\n ref={node => {\n if (node) {\n segmentByIdRef.current[option.id] = node;\n } else {\n delete segmentByIdRef.current[option.id];\n }\n }}\n onClick={() => {\n if (option.disabled) {\n return;\n }\n\n if (selectedId !== option.id) {\n fireNonCancelableEvent(onChange, { selectedId: option.id });\n }\n }}\n onKeyDown={event => moveHighlight(event, focusableSegmentIndex)}\n style={style}\n fullWidth={isGroupedVertical}\n />\n );\n })}\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"internal-segmented-control.js","sourceRoot":"","sources":["../../../src/segmented-control/internal-segmented-control.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;A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;yBAAM,CAAC;wBACN,OAAO,cAAc,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;oBAC3C,CAAC;gBACH,CAAC,EACD,OAAO,EAAE,GAAG,EAAE;oBACZ,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;wBACpB,OAAO;oBACT,CAAC;oBAED,IAAI,UAAU,KAAK,MAAM,CAAC,EAAE,EAAE,CAAC;wBAC7B,sBAAsB,CAAC,QAAQ,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;oBAC9D,CAAC;gBACH,CAAC,EACD,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,EAAE,qBAAqB,CAAC,EAC/D,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,iBAAiB,GAC5B,CACH,CAAC;QACJ,CAAC,CAAC,CACA,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { GroupedControlContextProps } from '../internal/context/control-group-context';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { getGroupedControlClassNames } from '../internal/grouped-control/grouped-control-styles';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { KeyCode } from '../internal/keycode';\nimport handleKey from '../internal/utils/handle-key';\nimport { SegmentedControlProps } from './interfaces';\nimport { Segment } from './segment';\nimport { getSegmentedControlRootStyles } from './style';\n\nimport styles from './styles.css.js';\n\ninterface InternalSegmentedControlComponentProps extends SegmentedControlProps {\n groupedControlProps?: GroupedControlContextProps;\n}\n\nexport default function InternalSegmentedControl({\n selectedId,\n options,\n label,\n ariaLabelledby,\n onChange,\n style,\n groupedControlProps,\n}: InternalSegmentedControlComponentProps) {\n const segmentByIdRef = useRef<{ [id: string]: HTMLButtonElement }>({});\n const selectedOptions = (options || []).filter(option => {\n return option.id === selectedId;\n });\n const currentSelectedOption = selectedOptions.length ? selectedOptions[0] : null;\n const focusableSegments = (options || []).filter(\n option => !option.disabled || (option.disabled && !!option.disabledReason)\n );\n\n const moveHighlight = (event: React.KeyboardEvent<HTMLButtonElement>, activeIndex: number) => {\n if (event.keyCode !== KeyCode.right && event.keyCode !== KeyCode.left) {\n return;\n }\n\n let nextIndex = activeIndex;\n\n handleKey(event, {\n onInlineStart: () => (nextIndex = activeIndex === 0 ? focusableSegments.length - 1 : activeIndex - 1),\n onInlineEnd: () => (nextIndex = activeIndex + 1 === focusableSegments.length ? 0 : activeIndex + 1),\n });\n\n const nextSegmentId = focusableSegments[nextIndex].id;\n segmentByIdRef.current[nextSegmentId]?.focus();\n };\n const isVisualRefresh = useVisualRefresh();\n\n const isGrouped = !!groupedControlProps?.position;\n const isGroupedVertical = isGrouped && groupedControlProps?.direction === 'vertical';\n\n const groupedControlClassNames = isGrouped ? getGroupedControlClassNames(styles, groupedControlProps) : '';\n\n return (\n <div\n className={clsx(styles['segment-part'], styles[`segment-count-${options?.length}`], groupedControlClassNames, {\n [styles.refresh]: isVisualRefresh,\n [styles['grouped-vertical']]: isGroupedVertical,\n })}\n aria-label={label}\n aria-labelledby={ariaLabelledby}\n role=\"toolbar\"\n style={getSegmentedControlRootStyles(style)}\n >\n {options &&\n options.map((option: SegmentedControlProps.Option, index) => {\n const isActive = selectedId === option.id;\n const focusableSegmentIndex = focusableSegments.indexOf(option);\n let tabIndex = isActive ? 0 : -1;\n if (currentSelectedOption === null && focusableSegmentIndex === 0) {\n tabIndex = 0;\n }\n return (\n <Segment\n key={index}\n id={option.id}\n disabled={!!option.disabled}\n disabledReason={option.disabledReason}\n iconName={option.iconName}\n iconAlt={option.iconAlt}\n iconUrl={option.iconUrl}\n iconSvg={option.iconSvg}\n text={option.text}\n isActive={isActive}\n tabIndex={tabIndex}\n ref={node => {\n if (node) {\n segmentByIdRef.current[option.id] = node;\n } else {\n delete segmentByIdRef.current[option.id];\n }\n }}\n onClick={() => {\n if (option.disabled) {\n return;\n }\n\n if (selectedId !== option.id) {\n fireNonCancelableEvent(onChange, { selectedId: option.id });\n }\n }}\n onKeyDown={event => moveHighlight(event, focusableSegmentIndex)}\n style={style}\n fullWidth={isGroupedVertical}\n />\n );\n })}\n </div>\n );\n}\n"]}
@@ -4,9 +4,9 @@ import React from 'react';
4
4
  import clsx from 'clsx';
5
5
  import InternalFormField from '../form-field/internal';
6
6
  import { getBaseProps } from '../internal/base-component';
7
- import { getGroupedControlClassNames } from '../internal/components/control-group/grouped-control-styles';
8
7
  import { useGroupedControlContext } from '../internal/context/control-group-context';
9
8
  import { fireNonCancelableEvent } from '../internal/events';
9
+ import { getGroupedControlClassNames } from '../internal/grouped-control/grouped-control-styles';
10
10
  import InternalSelect from '../select/internal';
11
11
  import InternalSegmentedControlComponent from './internal-segmented-control';
12
12
  import styles from './styles.css.js';
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/segmented-control/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,6DAA6D,CAAC;AAC1G,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,cAAuC,MAAM,oBAAoB,CAAC;AAEzE,OAAO,iCAAiC,MAAM,8BAA8B,CAAC;AAE7E,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAIrC,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,UAAU,EACV,OAAO,EACP,KAAK,EACL,cAAc,EACd,QAAQ,EACR,iBAAiB,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,EACZ,mBAAmB,EAAE,mBAAmB,GACxC;QACF,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;YAC1F,cAAc,IAAI,oBAAC,cAAc,OAAK,WAAW,EAAE,cAAc,EAAE,cAAc,GAAI;YACrF,CAAC,cAAc,IAAI,KAAK,IAAI,CAC3B,oBAAC,iBAAiB,IAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI;gBAC5C,oBAAC,cAAc,OAAK,WAAW,GAAI,CACjB,CACrB;YACA,CAAC,cAAc,IAAI,CAAC,KAAK,IAAI,oBAAC,cAAc,OAAK,WAAW,GAAI,CAC7D,CACF,CACP,CAAC;AACJ,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 InternalFormField from '../form-field/internal';\nimport { getBaseProps } from '../internal/base-component';\nimport { getGroupedControlClassNames } from '../internal/components/control-group/grouped-control-styles';\nimport { useGroupedControlContext } from '../internal/context/control-group-context';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport InternalSelect, { InternalSelectProps } from '../select/internal';\nimport { SegmentedControlProps } from './interfaces';\nimport InternalSegmentedControlComponent from './internal-segmented-control';\n\nimport styles from './styles.css.js';\n\ntype InternalSegmentedControlProps = SegmentedControlProps & InternalBaseComponentProps;\n\nexport default function InternalSegmentedControl({\n selectedId,\n options,\n label,\n ariaLabelledby,\n onChange,\n __internalRootRef,\n style,\n ...props\n}: InternalSegmentedControlProps) {\n const baseProps = getBaseProps(props);\n const groupedControlProps = useGroupedControlContext();\n\n const selectOptions = (options || []).map(option => {\n const label = option.text || option.iconAlt;\n return { ...option, label, value: option.id };\n });\n\n const selectedOptions = selectOptions.filter(option => {\n return option.value === selectedId;\n });\n const currentSelectedOption = selectedOptions.length ? selectedOptions[0] : null;\n\n const selectProps: InternalSelectProps = {\n options: selectOptions,\n selectedOption: currentSelectedOption,\n triggerVariant: 'option',\n onChange: event => fireNonCancelableEvent(onChange, { selectedId: event.detail.selectedOption.value! }),\n };\n\n return (\n <div {...baseProps} className={clsx(baseProps.className, styles.root)} ref={__internalRootRef}>\n <InternalSegmentedControlComponent\n selectedId={selectedId}\n options={options}\n label={label}\n ariaLabelledby={ariaLabelledby}\n onChange={onChange}\n style={style}\n groupedControlProps={groupedControlProps}\n />\n <div className={clsx(styles.select, getGroupedControlClassNames(styles, groupedControlProps))}>\n {ariaLabelledby && <InternalSelect {...selectProps} ariaLabelledby={ariaLabelledby} />}\n {!ariaLabelledby && label && (\n <InternalFormField label={label} stretch={true}>\n <InternalSelect {...selectProps} />\n </InternalFormField>\n )}\n {!ariaLabelledby && !label && <InternalSelect {...selectProps} />}\n </div>\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/segmented-control/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC;AAEjG,OAAO,cAAuC,MAAM,oBAAoB,CAAC;AAEzE,OAAO,iCAAiC,MAAM,8BAA8B,CAAC;AAE7E,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAIrC,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,UAAU,EACV,OAAO,EACP,KAAK,EACL,cAAc,EACd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AClB,KAAK,EAAE,KAAK,EACZ,mBAAmB,EAAE,mBAAmB,GACxC;QACF,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;YAC1F,cAAc,IAAI,oBAAC,cAAc,OAAK,WAAW,EAAE,cAAc,EAAE,cAAc,GAAI;YACrF,CAAC,cAAc,IAAI,KAAK,IAAI,CAC3B,oBAAC,iBAAiB,IAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI;gBAC5C,oBAAC,cAAc,OAAK,WAAW,GAAI,CACjB,CACrB;YACA,CAAC,cAAc,IAAI,CAAC,KAAK,IAAI,oBAAC,cAAc,OAAK,WAAW,GAAI,CAC7D,CACF,CACP,CAAC;AACJ,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 InternalFormField from '../form-field/internal';\nimport { getBaseProps } from '../internal/base-component';\nimport { useGroupedControlContext } from '../internal/context/control-group-context';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { getGroupedControlClassNames } from '../internal/grouped-control/grouped-control-styles';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport InternalSelect, { InternalSelectProps } from '../select/internal';\nimport { SegmentedControlProps } from './interfaces';\nimport InternalSegmentedControlComponent from './internal-segmented-control';\n\nimport styles from './styles.css.js';\n\ntype InternalSegmentedControlProps = SegmentedControlProps & InternalBaseComponentProps;\n\nexport default function InternalSegmentedControl({\n selectedId,\n options,\n label,\n ariaLabelledby,\n onChange,\n __internalRootRef,\n style,\n ...props\n}: InternalSegmentedControlProps) {\n const baseProps = getBaseProps(props);\n const groupedControlProps = useGroupedControlContext();\n\n const selectOptions = (options || []).map(option => {\n const label = option.text || option.iconAlt;\n return { ...option, label, value: option.id };\n });\n\n const selectedOptions = selectOptions.filter(option => {\n return option.value === selectedId;\n });\n const currentSelectedOption = selectedOptions.length ? selectedOptions[0] : null;\n\n const selectProps: InternalSelectProps = {\n options: selectOptions,\n selectedOption: currentSelectedOption,\n triggerVariant: 'option',\n onChange: event => fireNonCancelableEvent(onChange, { selectedId: event.detail.selectedOption.value! }),\n };\n\n return (\n <div {...baseProps} className={clsx(baseProps.className, styles.root)} ref={__internalRootRef}>\n <InternalSegmentedControlComponent\n selectedId={selectedId}\n options={options}\n label={label}\n ariaLabelledby={ariaLabelledby}\n onChange={onChange}\n style={style}\n groupedControlProps={groupedControlProps}\n />\n <div className={clsx(styles.select, getGroupedControlClassNames(styles, groupedControlProps))}>\n {ariaLabelledby && <InternalSelect {...selectProps} ariaLabelledby={ariaLabelledby} />}\n {!ariaLabelledby && label && (\n <InternalFormField label={label} stretch={true}>\n <InternalSelect {...selectProps} />\n </InternalFormField>\n )}\n {!ariaLabelledby && !label && <InternalSelect {...selectProps} />}\n </div>\n </div>\n );\n}\n"]}
@@ -1,36 +1,36 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "segment": "awsui_segment_8cbea_pp9r7_17",
5
- "full-width": "awsui_full-width_8cbea_pp9r7_44",
6
- "refresh": "awsui_refresh_8cbea_pp9r7_47",
7
- "disabled": "awsui_disabled_8cbea_pp9r7_53",
8
- "selected": "awsui_selected_8cbea_pp9r7_110",
9
- "icon": "awsui_icon_8cbea_pp9r7_122",
10
- "with-text": "awsui_with-text_8cbea_pp9r7_126",
11
- "with-no-text": "awsui_with-no-text_8cbea_pp9r7_132",
12
- "root": "awsui_root_8cbea_pp9r7_137",
13
- "segment-part": "awsui_segment-part_8cbea_pp9r7_169",
14
- "grouped": "awsui_grouped_8cbea_pp9r7_190",
15
- "grouped-only": "awsui_grouped-only_8cbea_pp9r7_190",
16
- "grouped-vertical": "awsui_grouped-vertical_8cbea_pp9r7_194",
17
- "grouped-horizontal-first": "awsui_grouped-horizontal-first_8cbea_pp9r7_206",
18
- "grouped-horizontal-middle": "awsui_grouped-horizontal-middle_8cbea_pp9r7_210",
19
- "grouped-horizontal-last": "awsui_grouped-horizontal-last_8cbea_pp9r7_216",
20
- "grouped-vertical-first": "awsui_grouped-vertical-first_8cbea_pp9r7_220",
21
- "grouped-vertical-middle": "awsui_grouped-vertical-middle_8cbea_pp9r7_224",
22
- "grouped-vertical-last": "awsui_grouped-vertical-last_8cbea_pp9r7_230",
23
- "grouped-with-action": "awsui_grouped-with-action_8cbea_pp9r7_234",
24
- "grouped-with-error": "awsui_grouped-with-error_8cbea_pp9r7_238",
25
- "grouped-horizontal-only": "awsui_grouped-horizontal-only_8cbea_pp9r7_266",
26
- "grouped-vertical-only": "awsui_grouped-vertical-only_8cbea_pp9r7_266",
27
- "grouped-with-warning": "awsui_grouped-with-warning_8cbea_pp9r7_272",
28
- "select": "awsui_select_8cbea_pp9r7_110",
29
- "segment-count-2": "awsui_segment-count-2_8cbea_pp9r7_336",
30
- "segment-count-3": "awsui_segment-count-3_8cbea_pp9r7_343",
31
- "segment-count-4": "awsui_segment-count-4_8cbea_pp9r7_350",
32
- "segment-count-5": "awsui_segment-count-5_8cbea_pp9r7_357",
33
- "segment-count-6": "awsui_segment-count-6_8cbea_pp9r7_364",
34
- "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_pp9r7_371"
4
+ "segment": "awsui_segment_8cbea_kkspv_17",
5
+ "full-width": "awsui_full-width_8cbea_kkspv_44",
6
+ "refresh": "awsui_refresh_8cbea_kkspv_47",
7
+ "disabled": "awsui_disabled_8cbea_kkspv_53",
8
+ "selected": "awsui_selected_8cbea_kkspv_110",
9
+ "icon": "awsui_icon_8cbea_kkspv_122",
10
+ "with-text": "awsui_with-text_8cbea_kkspv_126",
11
+ "with-no-text": "awsui_with-no-text_8cbea_kkspv_132",
12
+ "root": "awsui_root_8cbea_kkspv_137",
13
+ "segment-part": "awsui_segment-part_8cbea_kkspv_169",
14
+ "grouped": "awsui_grouped_8cbea_kkspv_190",
15
+ "grouped-only": "awsui_grouped-only_8cbea_kkspv_190",
16
+ "grouped-vertical": "awsui_grouped-vertical_8cbea_kkspv_194",
17
+ "grouped-horizontal-first": "awsui_grouped-horizontal-first_8cbea_kkspv_206",
18
+ "grouped-horizontal-middle": "awsui_grouped-horizontal-middle_8cbea_kkspv_210",
19
+ "grouped-horizontal-last": "awsui_grouped-horizontal-last_8cbea_kkspv_216",
20
+ "grouped-vertical-first": "awsui_grouped-vertical-first_8cbea_kkspv_220",
21
+ "grouped-vertical-middle": "awsui_grouped-vertical-middle_8cbea_kkspv_224",
22
+ "grouped-vertical-last": "awsui_grouped-vertical-last_8cbea_kkspv_230",
23
+ "grouped-with-action": "awsui_grouped-with-action_8cbea_kkspv_234",
24
+ "grouped-with-error": "awsui_grouped-with-error_8cbea_kkspv_238",
25
+ "grouped-horizontal-only": "awsui_grouped-horizontal-only_8cbea_kkspv_266",
26
+ "grouped-vertical-only": "awsui_grouped-vertical-only_8cbea_kkspv_266",
27
+ "grouped-with-warning": "awsui_grouped-with-warning_8cbea_kkspv_272",
28
+ "select": "awsui_select_8cbea_kkspv_110",
29
+ "segment-count-2": "awsui_segment-count-2_8cbea_kkspv_336",
30
+ "segment-count-3": "awsui_segment-count-3_8cbea_kkspv_343",
31
+ "segment-count-4": "awsui_segment-count-4_8cbea_kkspv_350",
32
+ "segment-count-5": "awsui_segment-count-5_8cbea_kkspv_357",
33
+ "segment-count-6": "awsui_segment-count-6_8cbea_kkspv_364",
34
+ "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_kkspv_371"
35
35
  };
36
36
 
@@ -14,7 +14,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
14
14
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
15
15
  SPDX-License-Identifier: Apache-2.0
16
16
  */
17
- .awsui_segment_8cbea_pp9r7_17:not(#\9) {
17
+ .awsui_segment_8cbea_kkspv_17:not(#\9) {
18
18
  font-size: var(--font-size-body-m-tq5a14, 14px);
19
19
  line-height: var(--line-height-body-m-5xw6xo, 22px);
20
20
  word-wrap: break-word;
@@ -41,27 +41,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
41
41
  border-block: none;
42
42
  --awsui-style-focus-ring-box-shadow-ka4djm: 0 0 0 var(--awsui-style-focus-ring-border-width-ka4djm, 2px) var(--awsui-style-focus-ring-border-color-ka4djm, var(--color-border-item-focused-sewkzn, #0073bb));
43
43
  }
44
- .awsui_segment_8cbea_pp9r7_17.awsui_full-width_8cbea_pp9r7_44:not(#\9) {
44
+ .awsui_segment_8cbea_kkspv_17.awsui_full-width_8cbea_kkspv_44:not(#\9) {
45
45
  justify-content: center;
46
46
  }
47
- .awsui_segment_8cbea_pp9r7_17:not(#\9):not(.awsui_refresh_8cbea_pp9r7_47) {
47
+ .awsui_segment_8cbea_kkspv_17:not(#\9):not(.awsui_refresh_8cbea_kkspv_47) {
48
48
  block-size: calc(100% - var(--space-static-xxs-vzto3j, 4px) - 2 * var(--border-width-field-2365x3, 1px));
49
49
  }
50
- .awsui_segment_8cbea_pp9r7_17:not(#\9):focus {
50
+ .awsui_segment_8cbea_kkspv_17:not(#\9):focus {
51
51
  outline: none;
52
52
  }
53
- .awsui_segment_8cbea_pp9r7_17.awsui_disabled_8cbea_pp9r7_53:not(#\9) {
53
+ .awsui_segment_8cbea_kkspv_17.awsui_disabled_8cbea_kkspv_53:not(#\9) {
54
54
  background: var(--awsui-style-background-disabled-ka4djm, var(--color-background-segment-disabled-mjubn7, #ffffff));
55
55
  color: var(--awsui-style-color-disabled-ka4djm, var(--color-text-interactive-disabled-tuxgxq, #aab7b8));
56
56
  }
57
- body[data-awsui-focus-visible=true] .awsui_segment_8cbea_pp9r7_17:not(#\9):focus {
57
+ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_kkspv_17:not(#\9):focus {
58
58
  position: relative;
59
59
  }
60
- body[data-awsui-focus-visible=true] .awsui_segment_8cbea_pp9r7_17:not(#\9):focus {
60
+ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_kkspv_17:not(#\9):focus {
61
61
  outline: 2px dotted transparent;
62
62
  outline-offset: calc(var(--space-segmented-control-focus-outline-gutter-sz9jgo, 3px) - 1px);
63
63
  }
64
- body[data-awsui-focus-visible=true] .awsui_segment_8cbea_pp9r7_17:not(#\9):focus::before {
64
+ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_kkspv_17:not(#\9):focus::before {
65
65
  content: " ";
66
66
  display: block;
67
67
  position: absolute;
@@ -76,7 +76,7 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_pp9r7_17:not(#\9):focus
76
76
  box-shadow: var(--awsui-style-focus-ring-box-shadow-ka4djm);
77
77
  z-index: 1;
78
78
  }
79
- .awsui_segment_8cbea_pp9r7_17:not(#\9):not(:last-child)::after {
79
+ .awsui_segment_8cbea_kkspv_17:not(#\9):not(:last-child)::after {
80
80
  content: "";
81
81
  position: absolute;
82
82
  inset-inline-end: calc(-1 * (var(--space-static-xxs-vzto3j, 4px) + 1px));
@@ -86,55 +86,55 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_pp9r7_17:not(#\9):focus
86
86
  background: var(--color-border-segment-divider-mq01bu, #687078);
87
87
  z-index: 1;
88
88
  }
89
- .awsui_segment_8cbea_pp9r7_17:not(#\9):not(.awsui_refresh_8cbea_pp9r7_47):not(:last-child)::after {
89
+ .awsui_segment_8cbea_kkspv_17:not(#\9):not(.awsui_refresh_8cbea_kkspv_47):not(:last-child)::after {
90
90
  inset-inline-end: calc(-1 * var(--space-static-xxs-vzto3j, 4px));
91
91
  }
92
- .awsui_segment_8cbea_pp9r7_17:not(#\9):nth-child(1) {
92
+ .awsui_segment_8cbea_kkspv_17:not(#\9):nth-child(1) {
93
93
  grid-column: 1;
94
94
  }
95
- .awsui_segment_8cbea_pp9r7_17:not(#\9):nth-child(2) {
95
+ .awsui_segment_8cbea_kkspv_17:not(#\9):nth-child(2) {
96
96
  grid-column: 2;
97
97
  }
98
- .awsui_segment_8cbea_pp9r7_17:not(#\9):nth-child(3) {
98
+ .awsui_segment_8cbea_kkspv_17:not(#\9):nth-child(3) {
99
99
  grid-column: 3;
100
100
  }
101
- .awsui_segment_8cbea_pp9r7_17:not(#\9):nth-child(4) {
101
+ .awsui_segment_8cbea_kkspv_17:not(#\9):nth-child(4) {
102
102
  grid-column: 4;
103
103
  }
104
- .awsui_segment_8cbea_pp9r7_17:not(#\9):nth-child(5) {
104
+ .awsui_segment_8cbea_kkspv_17:not(#\9):nth-child(5) {
105
105
  grid-column: 5;
106
106
  }
107
- .awsui_segment_8cbea_pp9r7_17:not(#\9):nth-child(6) {
107
+ .awsui_segment_8cbea_kkspv_17:not(#\9):nth-child(6) {
108
108
  grid-column: 6;
109
109
  }
110
- .awsui_segment_8cbea_pp9r7_17.awsui_selected_8cbea_pp9r7_110:not(#\9) {
110
+ .awsui_segment_8cbea_kkspv_17.awsui_selected_8cbea_kkspv_110:not(#\9) {
111
111
  background: var(--awsui-style-background-active-ka4djm, var(--color-background-segment-active-ns5rt6, #0073bb));
112
112
  color: var(--awsui-style-color-active-ka4djm, var(--color-text-segment-active-hbbf1h, #ffffff));
113
113
  box-shadow: inset 0 0 0 var(--awsui-internal-style-segment-border-width, 0) var(--color-border-segment-active-y8x5lr, #16191f);
114
114
  }
115
- .awsui_segment_8cbea_pp9r7_17:not(#\9):hover:not(.awsui_selected_8cbea_pp9r7_110):not(.awsui_disabled_8cbea_pp9r7_53):not(:focus) {
115
+ .awsui_segment_8cbea_kkspv_17:not(#\9):hover:not(.awsui_selected_8cbea_kkspv_110):not(.awsui_disabled_8cbea_kkspv_53):not(:focus) {
116
116
  background: var(--awsui-style-background-hover-ka4djm, var(--color-background-segment-hover-el4hte, #fafafa));
117
117
  color: var(--awsui-style-color-hover-ka4djm, var(--color-text-segment-hover-qq2b2e, #16191f));
118
118
  box-shadow: inset 0 0 0 var(--awsui-internal-style-segment-border-width, 0) var(--color-border-segment-hover-3wvhit, #16191f);
119
119
  cursor: pointer;
120
120
  }
121
121
 
122
- .awsui_icon_8cbea_pp9r7_122:not(#\9) {
122
+ .awsui_icon_8cbea_kkspv_122:not(#\9) {
123
123
  /* used in test-utils */
124
124
  }
125
125
 
126
- .awsui_with-text_8cbea_pp9r7_126:not(#\9) {
126
+ .awsui_with-text_8cbea_kkspv_126:not(#\9) {
127
127
  position: relative;
128
128
  inset-inline-start: calc(-1 * var(--space-xxs-3o1yoq, 4px));
129
129
  margin-inline-end: var(--space-xxs-3o1yoq, 4px);
130
130
  }
131
131
 
132
- .awsui_with-no-text_8cbea_pp9r7_132:not(#\9) {
132
+ .awsui_with-no-text_8cbea_kkspv_132:not(#\9) {
133
133
  margin-inline: auto;
134
134
  inset-inline: 0;
135
135
  }
136
136
 
137
- .awsui_root_8cbea_pp9r7_137:not(#\9) {
137
+ .awsui_root_8cbea_kkspv_137:not(#\9) {
138
138
  border-collapse: separate;
139
139
  border-spacing: 0;
140
140
  box-sizing: border-box;
@@ -166,7 +166,7 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_pp9r7_17:not(#\9):focus
166
166
  -moz-osx-font-smoothing: auto;
167
167
  }
168
168
 
169
- .awsui_segment-part_8cbea_pp9r7_169:not(#\9) {
169
+ .awsui_segment-part_8cbea_kkspv_169:not(#\9) {
170
170
  display: inline-grid;
171
171
  border-inline: solid var(--border-width-field-2365x3, 1px) var(--color-border-segment-wrapper-ofstpm, #687078);
172
172
  border-block: solid var(--border-width-field-2365x3, 1px) var(--color-border-segment-wrapper-ofstpm, #687078);
@@ -181,193 +181,193 @@ body[data-awsui-focus-visible=true] .awsui_segment_8cbea_pp9r7_17:not(#\9):focus
181
181
  padding-inline: calc(var(--space-static-xxs-vzto3j, 4px) - var(--border-width-field-2365x3, 1px));
182
182
  gap: calc(var(--space-static-xxs-vzto3j, 4px) * 2 + 1px);
183
183
  }
184
- .awsui_segment-part_8cbea_pp9r7_169:not(#\9):not(.awsui_refresh_8cbea_pp9r7_47) {
184
+ .awsui_segment-part_8cbea_kkspv_169:not(#\9):not(.awsui_refresh_8cbea_kkspv_47) {
185
185
  padding-inline: calc(var(--space-static-xxxs-opeihl, 2px) + var(--border-width-field-2365x3, 1px));
186
186
  padding-block: 0;
187
187
  gap: calc(var(--space-static-xxs-vzto3j, 4px) * 2 - 1px);
188
188
  }
189
189
  @media (max-width: 688px) {
190
- .awsui_segment-part_8cbea_pp9r7_169:not(#\9):not(.awsui_grouped_8cbea_pp9r7_190), .awsui_segment-part_8cbea_pp9r7_169.awsui_grouped-only_8cbea_pp9r7_190:not(#\9) {
190
+ .awsui_segment-part_8cbea_kkspv_169:not(#\9):not(.awsui_grouped_8cbea_kkspv_190), .awsui_segment-part_8cbea_kkspv_169.awsui_grouped-only_8cbea_kkspv_190:not(#\9) {
191
191
  display: none;
192
192
  }
193
193
  }
194
- .awsui_segment-part_8cbea_pp9r7_169.awsui_grouped_8cbea_pp9r7_190.awsui_grouped-vertical_8cbea_pp9r7_194:not(#\9) {
194
+ .awsui_segment-part_8cbea_kkspv_169.awsui_grouped_8cbea_kkspv_190.awsui_grouped-vertical_8cbea_kkspv_194:not(#\9) {
195
195
  inline-size: 100%;
196
196
  box-sizing: border-box;
197
197
  }
198
198
 
199
- .awsui_grouped_8cbea_pp9r7_190:not(#\9) {
199
+ .awsui_grouped_8cbea_kkspv_190:not(#\9) {
200
200
  border-start-start-radius: var(--border-radius-input-k1q34z, 2px);
201
201
  border-start-end-radius: var(--border-radius-input-k1q34z, 2px);
202
202
  border-end-start-radius: var(--border-radius-input-k1q34z, 2px);
203
203
  border-end-end-radius: var(--border-radius-input-k1q34z, 2px);
204
204
  border-color: var(--color-border-control-group-default-of49c9, #879596);
205
205
  }
206
- .awsui_grouped-horizontal-first_8cbea_pp9r7_206:not(#\9) {
206
+ .awsui_grouped-horizontal-first_8cbea_kkspv_206:not(#\9) {
207
207
  border-start-end-radius: 0;
208
208
  border-end-end-radius: 0;
209
209
  }
210
- .awsui_grouped-horizontal-middle_8cbea_pp9r7_210:not(#\9) {
210
+ .awsui_grouped-horizontal-middle_8cbea_kkspv_210:not(#\9) {
211
211
  border-start-start-radius: 0;
212
212
  border-start-end-radius: 0;
213
213
  border-end-start-radius: 0;
214
214
  border-end-end-radius: 0;
215
215
  }
216
- .awsui_grouped-horizontal-last_8cbea_pp9r7_216:not(#\9) {
216
+ .awsui_grouped-horizontal-last_8cbea_kkspv_216:not(#\9) {
217
217
  border-start-start-radius: 0;
218
218
  border-end-start-radius: 0;
219
219
  }
220
- .awsui_grouped-vertical-first_8cbea_pp9r7_220:not(#\9) {
220
+ .awsui_grouped-vertical-first_8cbea_kkspv_220:not(#\9) {
221
221
  border-end-start-radius: 0;
222
222
  border-end-end-radius: 0;
223
223
  }
224
- .awsui_grouped-vertical-middle_8cbea_pp9r7_224:not(#\9) {
224
+ .awsui_grouped-vertical-middle_8cbea_kkspv_224:not(#\9) {
225
225
  border-start-start-radius: 0;
226
226
  border-start-end-radius: 0;
227
227
  border-end-start-radius: 0;
228
228
  border-end-end-radius: 0;
229
229
  }
230
- .awsui_grouped-vertical-last_8cbea_pp9r7_230:not(#\9) {
230
+ .awsui_grouped-vertical-last_8cbea_kkspv_230:not(#\9) {
231
231
  border-start-start-radius: 0;
232
232
  border-start-end-radius: 0;
233
233
  }
234
- .awsui_grouped-with-action_8cbea_pp9r7_234:not(#\9) {
234
+ .awsui_grouped-with-action_8cbea_kkspv_234:not(#\9) {
235
235
  border-start-end-radius: 0;
236
236
  border-end-end-radius: 0;
237
237
  }
238
- .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-first_8cbea_pp9r7_206:not(#\9), .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-first_8cbea_pp9r7_206:not(#\9):hover, .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-first_8cbea_pp9r7_206:not(#\9):focus {
238
+ .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-first_8cbea_kkspv_206:not(#\9), .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-first_8cbea_kkspv_206:not(#\9):hover, .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-first_8cbea_kkspv_206:not(#\9):focus {
239
239
  border-inline-start-color: var(--color-text-status-error-ri38gt, #d13212);
240
240
  border-block-start-color: var(--color-text-status-error-ri38gt, #d13212);
241
241
  border-block-end-color: var(--color-text-status-error-ri38gt, #d13212);
242
242
  }
243
- .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-middle_8cbea_pp9r7_210:not(#\9), .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-middle_8cbea_pp9r7_210:not(#\9):hover, .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-middle_8cbea_pp9r7_210:not(#\9):focus {
243
+ .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-middle_8cbea_kkspv_210:not(#\9), .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-middle_8cbea_kkspv_210:not(#\9):hover, .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-middle_8cbea_kkspv_210:not(#\9):focus {
244
244
  border-block-start-color: var(--color-text-status-error-ri38gt, #d13212);
245
245
  border-block-end-color: var(--color-text-status-error-ri38gt, #d13212);
246
246
  }
247
- .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-last_8cbea_pp9r7_216:not(#\9), .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-last_8cbea_pp9r7_216:not(#\9):hover, .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-last_8cbea_pp9r7_216:not(#\9):focus {
247
+ .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-last_8cbea_kkspv_216:not(#\9), .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-last_8cbea_kkspv_216:not(#\9):hover, .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-last_8cbea_kkspv_216:not(#\9):focus {
248
248
  border-inline-end-color: var(--color-text-status-error-ri38gt, #d13212);
249
249
  border-block-start-color: var(--color-text-status-error-ri38gt, #d13212);
250
250
  border-block-end-color: var(--color-text-status-error-ri38gt, #d13212);
251
251
  }
252
- .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-first_8cbea_pp9r7_220:not(#\9), .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-first_8cbea_pp9r7_220:not(#\9):hover, .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-first_8cbea_pp9r7_220:not(#\9):focus {
252
+ .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-first_8cbea_kkspv_220:not(#\9), .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-first_8cbea_kkspv_220:not(#\9):hover, .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-first_8cbea_kkspv_220:not(#\9):focus {
253
253
  border-block-start-color: var(--color-text-status-error-ri38gt, #d13212);
254
254
  border-inline-start-color: var(--color-text-status-error-ri38gt, #d13212);
255
255
  border-inline-end-color: var(--color-text-status-error-ri38gt, #d13212);
256
256
  }
257
- .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-middle_8cbea_pp9r7_224:not(#\9), .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-middle_8cbea_pp9r7_224:not(#\9):hover, .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-middle_8cbea_pp9r7_224:not(#\9):focus {
257
+ .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-middle_8cbea_kkspv_224:not(#\9), .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-middle_8cbea_kkspv_224:not(#\9):hover, .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-middle_8cbea_kkspv_224:not(#\9):focus {
258
258
  border-inline-start-color: var(--color-text-status-error-ri38gt, #d13212);
259
259
  border-inline-end-color: var(--color-text-status-error-ri38gt, #d13212);
260
260
  }
261
- .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-last_8cbea_pp9r7_230:not(#\9), .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-last_8cbea_pp9r7_230:not(#\9):hover, .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-last_8cbea_pp9r7_230:not(#\9):focus {
261
+ .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-last_8cbea_kkspv_230:not(#\9), .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-last_8cbea_kkspv_230:not(#\9):hover, .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-last_8cbea_kkspv_230:not(#\9):focus {
262
262
  border-block-end-color: var(--color-text-status-error-ri38gt, #d13212);
263
263
  border-inline-start-color: var(--color-text-status-error-ri38gt, #d13212);
264
264
  border-inline-end-color: var(--color-text-status-error-ri38gt, #d13212);
265
265
  }
266
- .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-only_8cbea_pp9r7_266:not(#\9), .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-only_8cbea_pp9r7_266:not(#\9):hover, .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-only_8cbea_pp9r7_266:not(#\9):focus, .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-only_8cbea_pp9r7_266:not(#\9), .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-only_8cbea_pp9r7_266:not(#\9):hover, .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical-only_8cbea_pp9r7_266:not(#\9):focus {
266
+ .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-only_8cbea_kkspv_266:not(#\9), .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-only_8cbea_kkspv_266:not(#\9):hover, .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-only_8cbea_kkspv_266:not(#\9):focus, .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-only_8cbea_kkspv_266:not(#\9), .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-only_8cbea_kkspv_266:not(#\9):hover, .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical-only_8cbea_kkspv_266:not(#\9):focus {
267
267
  border-inline-start-color: var(--color-text-status-error-ri38gt, #d13212);
268
268
  border-inline-end-color: var(--color-text-status-error-ri38gt, #d13212);
269
269
  border-block-start-color: var(--color-text-status-error-ri38gt, #d13212);
270
270
  border-block-end-color: var(--color-text-status-error-ri38gt, #d13212);
271
271
  }
272
- .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-first_8cbea_pp9r7_206:not(#\9), .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-first_8cbea_pp9r7_206:not(#\9):hover, .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-first_8cbea_pp9r7_206:not(#\9):focus {
272
+ .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-first_8cbea_kkspv_206:not(#\9), .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-first_8cbea_kkspv_206:not(#\9):hover, .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-first_8cbea_kkspv_206:not(#\9):focus {
273
273
  border-inline-start-color: var(--color-text-status-warning-fabq6h, #906806);
274
274
  border-block-start-color: var(--color-text-status-warning-fabq6h, #906806);
275
275
  border-block-end-color: var(--color-text-status-warning-fabq6h, #906806);
276
276
  }
277
- .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-middle_8cbea_pp9r7_210:not(#\9), .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-middle_8cbea_pp9r7_210:not(#\9):hover, .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-middle_8cbea_pp9r7_210:not(#\9):focus {
277
+ .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-middle_8cbea_kkspv_210:not(#\9), .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-middle_8cbea_kkspv_210:not(#\9):hover, .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-middle_8cbea_kkspv_210:not(#\9):focus {
278
278
  border-block-start-color: var(--color-text-status-warning-fabq6h, #906806);
279
279
  border-block-end-color: var(--color-text-status-warning-fabq6h, #906806);
280
280
  }
281
- .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-last_8cbea_pp9r7_216:not(#\9), .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-last_8cbea_pp9r7_216:not(#\9):hover, .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-last_8cbea_pp9r7_216:not(#\9):focus {
281
+ .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-last_8cbea_kkspv_216:not(#\9), .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-last_8cbea_kkspv_216:not(#\9):hover, .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-last_8cbea_kkspv_216:not(#\9):focus {
282
282
  border-inline-end-color: var(--color-text-status-warning-fabq6h, #906806);
283
283
  border-block-start-color: var(--color-text-status-warning-fabq6h, #906806);
284
284
  border-block-end-color: var(--color-text-status-warning-fabq6h, #906806);
285
285
  }
286
- .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-first_8cbea_pp9r7_220:not(#\9), .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-first_8cbea_pp9r7_220:not(#\9):hover, .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-first_8cbea_pp9r7_220:not(#\9):focus {
286
+ .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-first_8cbea_kkspv_220:not(#\9), .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-first_8cbea_kkspv_220:not(#\9):hover, .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-first_8cbea_kkspv_220:not(#\9):focus {
287
287
  border-block-start-color: var(--color-text-status-warning-fabq6h, #906806);
288
288
  border-inline-start-color: var(--color-text-status-warning-fabq6h, #906806);
289
289
  border-inline-end-color: var(--color-text-status-warning-fabq6h, #906806);
290
290
  }
291
- .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-middle_8cbea_pp9r7_224:not(#\9), .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-middle_8cbea_pp9r7_224:not(#\9):hover, .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-middle_8cbea_pp9r7_224:not(#\9):focus {
291
+ .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-middle_8cbea_kkspv_224:not(#\9), .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-middle_8cbea_kkspv_224:not(#\9):hover, .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-middle_8cbea_kkspv_224:not(#\9):focus {
292
292
  border-inline-start-color: var(--color-text-status-warning-fabq6h, #906806);
293
293
  border-inline-end-color: var(--color-text-status-warning-fabq6h, #906806);
294
294
  }
295
- .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-last_8cbea_pp9r7_230:not(#\9), .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-last_8cbea_pp9r7_230:not(#\9):hover, .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-last_8cbea_pp9r7_230:not(#\9):focus {
295
+ .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-last_8cbea_kkspv_230:not(#\9), .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-last_8cbea_kkspv_230:not(#\9):hover, .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-last_8cbea_kkspv_230:not(#\9):focus {
296
296
  border-block-end-color: var(--color-text-status-warning-fabq6h, #906806);
297
297
  border-inline-start-color: var(--color-text-status-warning-fabq6h, #906806);
298
298
  border-inline-end-color: var(--color-text-status-warning-fabq6h, #906806);
299
299
  }
300
- .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-only_8cbea_pp9r7_266:not(#\9), .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-only_8cbea_pp9r7_266:not(#\9):hover, .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-only_8cbea_pp9r7_266:not(#\9):focus, .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-only_8cbea_pp9r7_266:not(#\9), .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-only_8cbea_pp9r7_266:not(#\9):hover, .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical-only_8cbea_pp9r7_266:not(#\9):focus {
300
+ .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-only_8cbea_kkspv_266:not(#\9), .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-only_8cbea_kkspv_266:not(#\9):hover, .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-only_8cbea_kkspv_266:not(#\9):focus, .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-only_8cbea_kkspv_266:not(#\9), .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-only_8cbea_kkspv_266:not(#\9):hover, .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical-only_8cbea_kkspv_266:not(#\9):focus {
301
301
  border-inline-start-color: var(--color-text-status-warning-fabq6h, #906806);
302
302
  border-inline-end-color: var(--color-text-status-warning-fabq6h, #906806);
303
303
  border-block-start-color: var(--color-text-status-warning-fabq6h, #906806);
304
304
  border-block-end-color: var(--color-text-status-warning-fabq6h, #906806);
305
305
  }
306
- .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-first_8cbea_pp9r7_206:not(#\9), .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-horizontal-only_8cbea_pp9r7_266:not(#\9), .awsui_grouped-with-error_8cbea_pp9r7_238.awsui_grouped-vertical_8cbea_pp9r7_194:not(#\9), .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-first_8cbea_pp9r7_206:not(#\9), .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-horizontal-only_8cbea_pp9r7_266:not(#\9), .awsui_grouped-with-warning_8cbea_pp9r7_272.awsui_grouped-vertical_8cbea_pp9r7_194:not(#\9) {
307
- padding-inline-start: calc(var(--border-invalid-width-b183os, 4px) + calc(var(--space-field-horizontal-anki5k, 8px) - (var(--border-invalid-width-b183os, 4px) - var(--border-width-field-2365x3, 1px))));
306
+ .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-first_8cbea_kkspv_206:not(#\9), .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-horizontal-only_8cbea_kkspv_266:not(#\9), .awsui_grouped-with-error_8cbea_kkspv_238.awsui_grouped-vertical_8cbea_kkspv_194:not(#\9), .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-first_8cbea_kkspv_206:not(#\9), .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-horizontal-only_8cbea_kkspv_266:not(#\9), .awsui_grouped-with-warning_8cbea_kkspv_272.awsui_grouped-vertical_8cbea_kkspv_194:not(#\9) {
307
+ padding-inline-start: calc(var(--border-width-field-status-inline-start-rhljdh, 4px) + calc(var(--space-field-horizontal-anki5k, 8px) - (var(--border-width-field-status-inline-start-rhljdh, 4px) - var(--border-width-field-2365x3, 1px))));
308
308
  }
309
- body[data-awsui-focus-visible=true] .awsui_grouped-with-error_8cbea_pp9r7_238:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_grouped-with-warning_8cbea_pp9r7_272:not(#\9):focus {
309
+ body[data-awsui-focus-visible=true] .awsui_grouped-with-error_8cbea_kkspv_238:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_grouped-with-warning_8cbea_kkspv_272:not(#\9):focus {
310
310
  outline: 2px dotted transparent;
311
311
  box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-bl5nmx, 1px) var(--color-border-item-focused-sewkzn, #0073bb);
312
312
  }
313
- .awsui_grouped-with-error_8cbea_pp9r7_238:not(#\9):focus-within, .awsui_grouped-with-warning_8cbea_pp9r7_272:not(#\9):focus-within {
313
+ .awsui_grouped-with-error_8cbea_kkspv_238:not(#\9):focus-within, .awsui_grouped-with-warning_8cbea_kkspv_272:not(#\9):focus-within {
314
314
  outline: 2px dotted transparent;
315
315
  box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-bl5nmx, 1px) var(--color-border-item-focused-sewkzn, #0073bb);
316
316
  }
317
- .awsui_grouped_8cbea_pp9r7_190.awsui_grouped-horizontal-middle_8cbea_pp9r7_210:not(#\9), .awsui_grouped_8cbea_pp9r7_190.awsui_grouped-horizontal-last_8cbea_pp9r7_216:not(#\9) {
317
+ .awsui_grouped_8cbea_kkspv_190.awsui_grouped-horizontal-middle_8cbea_kkspv_210:not(#\9), .awsui_grouped_8cbea_kkspv_190.awsui_grouped-horizontal-last_8cbea_kkspv_216:not(#\9) {
318
318
  border-inline-start: none;
319
319
  }
320
- .awsui_grouped-with-error_8cbea_pp9r7_238:not(#\9):focus-within, .awsui_grouped-with-warning_8cbea_pp9r7_272:not(#\9):focus-within {
320
+ .awsui_grouped-with-error_8cbea_kkspv_238:not(#\9):focus-within, .awsui_grouped-with-warning_8cbea_kkspv_272:not(#\9):focus-within {
321
321
  box-shadow: none;
322
322
  }
323
- body[data-awsui-focus-visible=true] .awsui_grouped-with-error_8cbea_pp9r7_238:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_grouped-with-warning_8cbea_pp9r7_272:not(#\9):focus {
323
+ body[data-awsui-focus-visible=true] .awsui_grouped-with-error_8cbea_kkspv_238:not(#\9):focus, body[data-awsui-focus-visible=true] .awsui_grouped-with-warning_8cbea_kkspv_272:not(#\9):focus {
324
324
  box-shadow: none;
325
325
  }
326
326
 
327
- .awsui_select_8cbea_pp9r7_110:not(#\9) {
327
+ .awsui_select_8cbea_kkspv_110:not(#\9) {
328
328
  display: none;
329
329
  }
330
330
  @media (max-width: 688px) {
331
- .awsui_select_8cbea_pp9r7_110:not(#\9):not(.awsui_grouped_8cbea_pp9r7_190), .awsui_select_8cbea_pp9r7_110.awsui_grouped-only_8cbea_pp9r7_190:not(#\9) {
331
+ .awsui_select_8cbea_kkspv_110:not(#\9):not(.awsui_grouped_8cbea_kkspv_190), .awsui_select_8cbea_kkspv_110.awsui_grouped-only_8cbea_kkspv_190:not(#\9) {
332
332
  display: block;
333
333
  }
334
334
  }
335
335
 
336
- .awsui_segment-count-2_8cbea_pp9r7_336:not(#\9) {
336
+ .awsui_segment-count-2_8cbea_kkspv_336:not(#\9) {
337
337
  grid-template-columns: repeat(2, auto);
338
338
  }
339
- .awsui_segment-count-2_8cbea_pp9r7_336.awsui_grouped_8cbea_pp9r7_190.awsui_grouped-vertical_8cbea_pp9r7_194:not(#\9) {
339
+ .awsui_segment-count-2_8cbea_kkspv_336.awsui_grouped_8cbea_kkspv_190.awsui_grouped-vertical_8cbea_kkspv_194:not(#\9) {
340
340
  grid-template-columns: repeat(2, 1fr);
341
341
  }
342
342
 
343
- .awsui_segment-count-3_8cbea_pp9r7_343:not(#\9) {
343
+ .awsui_segment-count-3_8cbea_kkspv_343:not(#\9) {
344
344
  grid-template-columns: repeat(3, auto);
345
345
  }
346
- .awsui_segment-count-3_8cbea_pp9r7_343.awsui_grouped_8cbea_pp9r7_190.awsui_grouped-vertical_8cbea_pp9r7_194:not(#\9) {
346
+ .awsui_segment-count-3_8cbea_kkspv_343.awsui_grouped_8cbea_kkspv_190.awsui_grouped-vertical_8cbea_kkspv_194:not(#\9) {
347
347
  grid-template-columns: repeat(3, 1fr);
348
348
  }
349
349
 
350
- .awsui_segment-count-4_8cbea_pp9r7_350:not(#\9) {
350
+ .awsui_segment-count-4_8cbea_kkspv_350:not(#\9) {
351
351
  grid-template-columns: repeat(4, auto);
352
352
  }
353
- .awsui_segment-count-4_8cbea_pp9r7_350.awsui_grouped_8cbea_pp9r7_190.awsui_grouped-vertical_8cbea_pp9r7_194:not(#\9) {
353
+ .awsui_segment-count-4_8cbea_kkspv_350.awsui_grouped_8cbea_kkspv_190.awsui_grouped-vertical_8cbea_kkspv_194:not(#\9) {
354
354
  grid-template-columns: repeat(4, 1fr);
355
355
  }
356
356
 
357
- .awsui_segment-count-5_8cbea_pp9r7_357:not(#\9) {
357
+ .awsui_segment-count-5_8cbea_kkspv_357:not(#\9) {
358
358
  grid-template-columns: repeat(5, auto);
359
359
  }
360
- .awsui_segment-count-5_8cbea_pp9r7_357.awsui_grouped_8cbea_pp9r7_190.awsui_grouped-vertical_8cbea_pp9r7_194:not(#\9) {
360
+ .awsui_segment-count-5_8cbea_kkspv_357.awsui_grouped_8cbea_kkspv_190.awsui_grouped-vertical_8cbea_kkspv_194:not(#\9) {
361
361
  grid-template-columns: repeat(5, 1fr);
362
362
  }
363
363
 
364
- .awsui_segment-count-6_8cbea_pp9r7_364:not(#\9) {
364
+ .awsui_segment-count-6_8cbea_kkspv_364:not(#\9) {
365
365
  grid-template-columns: repeat(6, auto);
366
366
  }
367
- .awsui_segment-count-6_8cbea_pp9r7_364.awsui_grouped_8cbea_pp9r7_190.awsui_grouped-vertical_8cbea_pp9r7_194:not(#\9) {
367
+ .awsui_segment-count-6_8cbea_kkspv_364.awsui_grouped_8cbea_kkspv_190.awsui_grouped-vertical_8cbea_kkspv_194:not(#\9) {
368
368
  grid-template-columns: repeat(6, 1fr);
369
369
  }
370
370
 
371
- .awsui_disabled-reason-tooltip_8cbea_pp9r7_371:not(#\9) {
371
+ .awsui_disabled-reason-tooltip_8cbea_kkspv_371:not(#\9) {
372
372
  /* used in test-utils or tests */
373
373
  }
@@ -2,36 +2,36 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "segment": "awsui_segment_8cbea_pp9r7_17",
6
- "full-width": "awsui_full-width_8cbea_pp9r7_44",
7
- "refresh": "awsui_refresh_8cbea_pp9r7_47",
8
- "disabled": "awsui_disabled_8cbea_pp9r7_53",
9
- "selected": "awsui_selected_8cbea_pp9r7_110",
10
- "icon": "awsui_icon_8cbea_pp9r7_122",
11
- "with-text": "awsui_with-text_8cbea_pp9r7_126",
12
- "with-no-text": "awsui_with-no-text_8cbea_pp9r7_132",
13
- "root": "awsui_root_8cbea_pp9r7_137",
14
- "segment-part": "awsui_segment-part_8cbea_pp9r7_169",
15
- "grouped": "awsui_grouped_8cbea_pp9r7_190",
16
- "grouped-only": "awsui_grouped-only_8cbea_pp9r7_190",
17
- "grouped-vertical": "awsui_grouped-vertical_8cbea_pp9r7_194",
18
- "grouped-horizontal-first": "awsui_grouped-horizontal-first_8cbea_pp9r7_206",
19
- "grouped-horizontal-middle": "awsui_grouped-horizontal-middle_8cbea_pp9r7_210",
20
- "grouped-horizontal-last": "awsui_grouped-horizontal-last_8cbea_pp9r7_216",
21
- "grouped-vertical-first": "awsui_grouped-vertical-first_8cbea_pp9r7_220",
22
- "grouped-vertical-middle": "awsui_grouped-vertical-middle_8cbea_pp9r7_224",
23
- "grouped-vertical-last": "awsui_grouped-vertical-last_8cbea_pp9r7_230",
24
- "grouped-with-action": "awsui_grouped-with-action_8cbea_pp9r7_234",
25
- "grouped-with-error": "awsui_grouped-with-error_8cbea_pp9r7_238",
26
- "grouped-horizontal-only": "awsui_grouped-horizontal-only_8cbea_pp9r7_266",
27
- "grouped-vertical-only": "awsui_grouped-vertical-only_8cbea_pp9r7_266",
28
- "grouped-with-warning": "awsui_grouped-with-warning_8cbea_pp9r7_272",
29
- "select": "awsui_select_8cbea_pp9r7_110",
30
- "segment-count-2": "awsui_segment-count-2_8cbea_pp9r7_336",
31
- "segment-count-3": "awsui_segment-count-3_8cbea_pp9r7_343",
32
- "segment-count-4": "awsui_segment-count-4_8cbea_pp9r7_350",
33
- "segment-count-5": "awsui_segment-count-5_8cbea_pp9r7_357",
34
- "segment-count-6": "awsui_segment-count-6_8cbea_pp9r7_364",
35
- "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_pp9r7_371"
5
+ "segment": "awsui_segment_8cbea_kkspv_17",
6
+ "full-width": "awsui_full-width_8cbea_kkspv_44",
7
+ "refresh": "awsui_refresh_8cbea_kkspv_47",
8
+ "disabled": "awsui_disabled_8cbea_kkspv_53",
9
+ "selected": "awsui_selected_8cbea_kkspv_110",
10
+ "icon": "awsui_icon_8cbea_kkspv_122",
11
+ "with-text": "awsui_with-text_8cbea_kkspv_126",
12
+ "with-no-text": "awsui_with-no-text_8cbea_kkspv_132",
13
+ "root": "awsui_root_8cbea_kkspv_137",
14
+ "segment-part": "awsui_segment-part_8cbea_kkspv_169",
15
+ "grouped": "awsui_grouped_8cbea_kkspv_190",
16
+ "grouped-only": "awsui_grouped-only_8cbea_kkspv_190",
17
+ "grouped-vertical": "awsui_grouped-vertical_8cbea_kkspv_194",
18
+ "grouped-horizontal-first": "awsui_grouped-horizontal-first_8cbea_kkspv_206",
19
+ "grouped-horizontal-middle": "awsui_grouped-horizontal-middle_8cbea_kkspv_210",
20
+ "grouped-horizontal-last": "awsui_grouped-horizontal-last_8cbea_kkspv_216",
21
+ "grouped-vertical-first": "awsui_grouped-vertical-first_8cbea_kkspv_220",
22
+ "grouped-vertical-middle": "awsui_grouped-vertical-middle_8cbea_kkspv_224",
23
+ "grouped-vertical-last": "awsui_grouped-vertical-last_8cbea_kkspv_230",
24
+ "grouped-with-action": "awsui_grouped-with-action_8cbea_kkspv_234",
25
+ "grouped-with-error": "awsui_grouped-with-error_8cbea_kkspv_238",
26
+ "grouped-horizontal-only": "awsui_grouped-horizontal-only_8cbea_kkspv_266",
27
+ "grouped-vertical-only": "awsui_grouped-vertical-only_8cbea_kkspv_266",
28
+ "grouped-with-warning": "awsui_grouped-with-warning_8cbea_kkspv_272",
29
+ "select": "awsui_select_8cbea_kkspv_110",
30
+ "segment-count-2": "awsui_segment-count-2_8cbea_kkspv_336",
31
+ "segment-count-3": "awsui_segment-count-3_8cbea_kkspv_343",
32
+ "segment-count-4": "awsui_segment-count-4_8cbea_kkspv_350",
33
+ "segment-count-5": "awsui_segment-count-5_8cbea_kkspv_357",
34
+ "segment-count-6": "awsui_segment-count-6_8cbea_kkspv_364",
35
+ "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_8cbea_kkspv_371"
36
36
  };
37
37