@cloudscape-design/components 3.0.1173 → 3.0.1175

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 (186) hide show
  1. package/alert/styles.css.js +27 -27
  2. package/alert/styles.scoped.css +50 -50
  3. package/alert/styles.selectors.js +27 -27
  4. package/annotation-context/annotation/styles.css.js +13 -13
  5. package/annotation-context/annotation/styles.scoped.css +21 -21
  6. package/annotation-context/annotation/styles.selectors.js +13 -13
  7. package/app-layout/notifications/styles.css.js +3 -3
  8. package/app-layout/notifications/styles.scoped.css +7 -7
  9. package/app-layout/notifications/styles.selectors.js +3 -3
  10. package/app-layout/visual-refresh/styles.css.js +86 -86
  11. package/app-layout/visual-refresh/styles.scoped.css +258 -258
  12. package/app-layout/visual-refresh/styles.selectors.js +86 -86
  13. package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +30 -30
  14. package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +87 -87
  15. package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +30 -30
  16. package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
  17. package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
  18. package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
  19. package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -27
  20. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +54 -54
  21. package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -27
  22. package/attribute-editor/styles.css.js +15 -15
  23. package/attribute-editor/styles.scoped.css +28 -28
  24. package/attribute-editor/styles.selectors.js +15 -15
  25. package/breadcrumb-group/item/styles.css.js +7 -7
  26. package/breadcrumb-group/item/styles.scoped.css +28 -28
  27. package/breadcrumb-group/item/styles.selectors.js +7 -7
  28. package/button/styles.css.js +22 -22
  29. package/button/styles.scoped.css +256 -256
  30. package/button/styles.selectors.js +22 -22
  31. package/button-dropdown/item-element/styles.css.js +20 -20
  32. package/button-dropdown/item-element/styles.scoped.css +34 -34
  33. package/button-dropdown/item-element/styles.selectors.js +20 -20
  34. package/checkbox/styles.css.js +3 -3
  35. package/checkbox/styles.scoped.css +11 -11
  36. package/checkbox/styles.selectors.js +3 -3
  37. package/content-layout/styles.css.js +14 -14
  38. package/content-layout/styles.scoped.css +27 -27
  39. package/content-layout/styles.selectors.js +14 -14
  40. package/flashbar/collapsible-flashbar.d.ts.map +1 -1
  41. package/flashbar/collapsible-flashbar.js +4 -4
  42. package/flashbar/collapsible-flashbar.js.map +1 -1
  43. package/flashbar/styles.css.js +50 -50
  44. package/flashbar/styles.scoped.css +187 -187
  45. package/flashbar/styles.selectors.js +50 -50
  46. package/help-panel/styles.css.js +6 -6
  47. package/help-panel/styles.scoped.css +73 -73
  48. package/help-panel/styles.selectors.js +6 -6
  49. package/i18n/messages/all.all.js +1 -1
  50. package/i18n/messages/all.all.json +1 -1
  51. package/i18n/messages/all.ar.js +1 -1
  52. package/i18n/messages/all.ar.json +1 -1
  53. package/i18n/messages/all.de.js +1 -1
  54. package/i18n/messages/all.de.json +1 -1
  55. package/i18n/messages/all.en-GB.js +1 -1
  56. package/i18n/messages/all.en-GB.json +1 -1
  57. package/i18n/messages/all.en.js +1 -1
  58. package/i18n/messages/all.en.json +1 -1
  59. package/i18n/messages/all.es.js +1 -1
  60. package/i18n/messages/all.es.json +1 -1
  61. package/i18n/messages/all.fr.js +1 -1
  62. package/i18n/messages/all.fr.json +1 -1
  63. package/i18n/messages/all.id.js +1 -1
  64. package/i18n/messages/all.id.json +1 -1
  65. package/i18n/messages/all.it.js +1 -1
  66. package/i18n/messages/all.it.json +1 -1
  67. package/i18n/messages/all.ja.js +1 -1
  68. package/i18n/messages/all.ja.json +1 -1
  69. package/i18n/messages/all.ko.js +1 -1
  70. package/i18n/messages/all.ko.json +1 -1
  71. package/i18n/messages/all.pt-BR.js +1 -1
  72. package/i18n/messages/all.pt-BR.json +1 -1
  73. package/i18n/messages/all.tr.js +1 -1
  74. package/i18n/messages/all.tr.json +1 -1
  75. package/i18n/messages/all.zh-CN.js +1 -1
  76. package/i18n/messages/all.zh-CN.json +1 -1
  77. package/i18n/messages/all.zh-TW.js +1 -1
  78. package/i18n/messages/all.zh-TW.json +1 -1
  79. package/i18n/messages-types.d.ts +3 -0
  80. package/i18n/messages-types.d.ts.map +1 -1
  81. package/i18n/messages-types.js.map +1 -1
  82. package/icon/internal.d.ts.map +1 -1
  83. package/icon/internal.js +10 -4
  84. package/icon/internal.js.map +1 -1
  85. package/input/styles.css.js +13 -13
  86. package/input/styles.scoped.css +74 -74
  87. package/input/styles.selectors.js +13 -13
  88. package/internal/base-component/styles.scoped.css +14 -6
  89. package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  90. package/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
  91. package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  92. package/internal/components/dropdown/styles.css.js +20 -20
  93. package/internal/components/dropdown/styles.scoped.css +38 -38
  94. package/internal/components/dropdown/styles.selectors.js +20 -20
  95. package/internal/components/radio-button/styles.css.js +7 -7
  96. package/internal/components/radio-button/styles.scoped.css +18 -18
  97. package/internal/components/radio-button/styles.selectors.js +7 -7
  98. package/internal/components/token-list/styles.css.js +10 -10
  99. package/internal/components/token-list/styles.scoped.css +25 -25
  100. package/internal/components/token-list/styles.selectors.js +10 -10
  101. package/internal/environment.js +2 -2
  102. package/internal/environment.json +2 -2
  103. package/internal/generated/custom-css-properties/index.d.ts +7 -0
  104. package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  105. package/internal/generated/custom-css-properties/index.js +138 -131
  106. package/internal/generated/custom-css-properties/index.js.map +1 -1
  107. package/internal/generated/styles/tokens.d.ts +3 -1
  108. package/internal/generated/styles/tokens.js +3 -1
  109. package/internal/generated/theming/index.cjs +82 -10
  110. package/internal/generated/theming/index.cjs.d.ts +45 -0
  111. package/internal/generated/theming/index.d.ts +45 -0
  112. package/internal/generated/theming/index.js +82 -10
  113. package/internal/hooks/use-throttle-callback/index.d.ts +2 -0
  114. package/internal/hooks/use-throttle-callback/index.d.ts.map +1 -0
  115. package/internal/hooks/use-throttle-callback/index.js +9 -0
  116. package/internal/hooks/use-throttle-callback/index.js.map +1 -0
  117. package/internal/manifest.json +1 -1
  118. package/link/styles.css.js +20 -20
  119. package/link/styles.scoped.css +103 -103
  120. package/link/styles.selectors.js +20 -20
  121. package/package.json +1 -1
  122. package/progress-bar/index.d.ts.map +1 -1
  123. package/progress-bar/index.js +5 -7
  124. package/progress-bar/index.js.map +1 -1
  125. package/progress-bar/styles.css.js +19 -19
  126. package/progress-bar/styles.scoped.css +56 -56
  127. package/progress-bar/styles.selectors.js +19 -19
  128. package/prompt-input/styles.css.js +17 -17
  129. package/prompt-input/styles.scoped.css +79 -79
  130. package/prompt-input/styles.selectors.js +17 -17
  131. package/segmented-control/styles.css.js +16 -16
  132. package/segmented-control/styles.scoped.css +46 -46
  133. package/segmented-control/styles.selectors.js +16 -16
  134. package/slider/index.d.ts +1 -0
  135. package/slider/index.d.ts.map +1 -1
  136. package/slider/index.js +2 -2
  137. package/slider/index.js.map +1 -1
  138. package/slider/interfaces.d.ts +23 -0
  139. package/slider/interfaces.d.ts.map +1 -1
  140. package/slider/interfaces.js.map +1 -1
  141. package/slider/internal.d.ts +4 -1
  142. package/slider/internal.d.ts.map +1 -1
  143. package/slider/internal.js +3 -2
  144. package/slider/internal.js.map +1 -1
  145. package/slider/styles.css.js +26 -26
  146. package/slider/styles.d.ts +11 -0
  147. package/slider/styles.d.ts.map +1 -0
  148. package/slider/styles.js +20 -0
  149. package/slider/styles.js.map +1 -0
  150. package/slider/styles.scoped.css +165 -163
  151. package/slider/styles.selectors.js +26 -26
  152. package/spinner/styles.css.js +13 -13
  153. package/spinner/styles.scoped.css +39 -39
  154. package/spinner/styles.selectors.js +13 -13
  155. package/table/resizer/index.d.ts.map +1 -1
  156. package/table/resizer/index.js +4 -2
  157. package/table/resizer/index.js.map +1 -1
  158. package/table/use-sticky-header.d.ts.map +1 -1
  159. package/table/use-sticky-header.js +0 -4
  160. package/table/use-sticky-header.js.map +1 -1
  161. package/tabs/styles.css.js +30 -30
  162. package/tabs/styles.scoped.css +76 -76
  163. package/tabs/styles.selectors.js +30 -30
  164. package/tag-editor/styles.css.js +3 -3
  165. package/tag-editor/styles.scoped.css +13 -13
  166. package/tag-editor/styles.selectors.js +3 -3
  167. package/text-content/styles.css.js +1 -1
  168. package/text-content/styles.scoped.css +66 -66
  169. package/text-content/styles.selectors.js +1 -1
  170. package/textarea/styles.css.js +5 -5
  171. package/textarea/styles.scoped.css +45 -45
  172. package/textarea/styles.selectors.js +5 -5
  173. package/tiles/analytics-metadata/interfaces.d.ts +1 -0
  174. package/tiles/analytics-metadata/interfaces.d.ts.map +1 -1
  175. package/tiles/analytics-metadata/interfaces.js.map +1 -1
  176. package/tiles/analytics-metadata/styles.css.js +2 -1
  177. package/tiles/analytics-metadata/styles.scoped.css +5 -1
  178. package/tiles/analytics-metadata/styles.selectors.js +2 -1
  179. package/tiles/index.d.ts.map +1 -1
  180. package/tiles/index.js +2 -0
  181. package/tiles/index.js.map +1 -1
  182. package/tiles/tile.js +1 -1
  183. package/tiles/tile.js.map +1 -1
  184. package/toggle/styles.css.js +10 -10
  185. package/toggle/styles.scoped.css +23 -23
  186. package/toggle/styles.selectors.js +10 -10
package/icon/internal.js CHANGED
@@ -8,18 +8,20 @@ import { getBaseProps } from '../internal/base-component';
8
8
  import { useVisualRefresh } from '../internal/hooks/use-visual-mode';
9
9
  import WithNativeAttributes from '../internal/utils/with-native-attributes';
10
10
  import styles from './styles.css.js';
11
- function iconSizeMap(height) {
11
+ function iconSizeMap(height, fontSize) {
12
12
  if (height === null) {
13
13
  // This is the best guess for the contextual height while server rendering.
14
14
  return 'normal';
15
15
  }
16
+ // Only display medium size icon when both line-height >= 24px AND font-size >= 20px
17
+ // This prevents icons from becoming medium size inappropriately
16
18
  if (height >= 50) {
17
19
  return 'large';
18
20
  }
19
21
  else if (height >= 36) {
20
22
  return 'big';
21
23
  }
22
- else if (height >= 24) {
24
+ else if (height >= 24 && !!fontSize && fontSize >= 20) {
23
25
  return 'medium';
24
26
  }
25
27
  else if (height <= 16) {
@@ -35,8 +37,9 @@ const InternalIcon = ({ name, size = 'normal', variant = 'normal', url, alt, ari
35
37
  // To ensure a re-render is triggered on visual mode changes
36
38
  useVisualRefresh();
37
39
  const [parentHeight, setParentHeight] = useState(null);
40
+ const [parentFontSize, setParentFontSize] = useState(null);
38
41
  const contextualSize = size === 'inherit';
39
- const iconSize = contextualSize ? iconSizeMap(parentHeight) : size;
42
+ const iconSize = contextualSize ? iconSizeMap(parentHeight, parentFontSize) : size;
40
43
  const inlineStyles = contextualSize && parentHeight !== null ? { height: `${parentHeight}px` } : {};
41
44
  const baseProps = getBaseProps(props);
42
45
  baseProps.className = clsx(baseProps.className, styles.icon, contextualSize && styles['icon-flex-height'], badge && styles.badge, !contextualSize && styles[`size-${iconSize}-mapped-height`], styles[`size-${iconSize}`], styles[`variant-${variant}`], styles[`name-${name}`]);
@@ -47,9 +50,12 @@ const InternalIcon = ({ name, size = 'normal', variant = 'normal', url, alt, ari
47
50
  if (!contextualSize || !iconRef.current) {
48
51
  return;
49
52
  }
50
- const { lineHeight } = getComputedStyle(iconRef.current);
53
+ const computedStyle = getComputedStyle(iconRef.current);
54
+ const { lineHeight, fontSize } = computedStyle;
51
55
  const newParentHeight = parseInt(lineHeight, 10);
56
+ const newParentFontSize = parseInt(fontSize, 10);
52
57
  setParentHeight(newParentHeight);
58
+ setParentFontSize(newParentFontSize);
53
59
  });
54
60
  const mergedRef = useMergeRefs(iconRef, __internalRootRef);
55
61
  const hasAriaLabel = typeof ariaLabel === 'string';
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/icon/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,UA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K,EAAC,4BAA4B,EAClC,SAAS,EAAC,OAAO,iBACL,MAAM,iBACN,eAAe;gBAE3B,8BACE,CAAC,EAAC,wKAAwK,EAC1K,SAAS,EAAC,QAAQ,GAClB,CACE,CACP,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;IAED,OAAO,CACL,oBAAC,oBAAoB,OACf,SAAS,KACT,eAAe,EACnB,GAAG,EAAC,MAAM,EACV,aAAa,EAAC,MAAM,EACpB,gBAAgB,EAAE,gBAAgB,EAClC,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,YAAY,IAElB,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CACjB,CACxB,CAAC;AACJ,CAAC,CAAC;AAGF,eAAe,YAAY,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useContext, useLayoutEffect, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs, warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { InternalIconContext } from '../icon-provider/context';\nimport { getBaseProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport WithNativeAttributes from '../internal/utils/with-native-attributes';\nimport { IconProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\ntype InternalIconProps = IconProps &\n InternalBaseComponentProps & {\n badge?: boolean;\n };\n\nfunction iconSizeMap(height: number | null) {\n if (height === null) {\n // This is the best guess for the contextual height while server rendering.\n return 'normal';\n }\n\n if (height >= 50) {\n return 'large';\n } else if (height >= 36) {\n return 'big';\n } else if (height >= 24) {\n return 'medium';\n } else if (height <= 16) {\n return 'small';\n } else {\n return 'normal';\n }\n}\n\nconst InternalIcon = ({\n name,\n size = 'normal',\n variant = 'normal',\n url,\n alt,\n ariaLabel,\n svg,\n badge,\n nativeAttributes,\n __internalRootRef,\n ...props\n}: InternalIconProps) => {\n const icons = useContext(InternalIconContext);\n const iconRef = useRef<HTMLElement>(null);\n // To ensure a re-render is triggered on visual mode changes\n useVisualRefresh();\n const [parentHeight, setParentHeight] = useState<number | null>(null);\n const contextualSize = size === 'inherit';\n const iconSize = contextualSize ? iconSizeMap(parentHeight) : size;\n const inlineStyles = contextualSize && parentHeight !== null ? { height: `${parentHeight}px` } : {};\n const baseProps = getBaseProps(props);\n\n baseProps.className = clsx(\n baseProps.className,\n styles.icon,\n contextualSize && styles['icon-flex-height'],\n badge && styles.badge,\n !contextualSize && styles[`size-${iconSize}-mapped-height`],\n styles[`size-${iconSize}`],\n styles[`variant-${variant}`],\n styles[`name-${name}`]\n );\n\n // Possible infinite loop is not a concern here because line\n // height should not change without an external state update.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useLayoutEffect(() => {\n if (!contextualSize || !iconRef.current) {\n return;\n }\n const { lineHeight } = getComputedStyle(iconRef.current);\n const newParentHeight = parseInt(lineHeight, 10);\n setParentHeight(newParentHeight);\n });\n\n const mergedRef = useMergeRefs(iconRef, __internalRootRef);\n const hasAriaLabel = typeof ariaLabel === 'string';\n const labelAttributes = hasAriaLabel ? { role: 'img', 'aria-label': ariaLabel } : {};\n\n if (svg) {\n if (url) {\n warnOnce(\n 'Icon',\n 'You have specified both `url` and `svg`. `svg` will take precedence and `url` will be ignored.'\n );\n }\n return (\n <WithNativeAttributes\n {...baseProps}\n {...labelAttributes}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n aria-hidden={!hasAriaLabel}\n style={inlineStyles}\n >\n {svg}\n </WithNativeAttributes>\n );\n }\n\n if (url) {\n return (\n <WithNativeAttributes\n {...baseProps}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n style={inlineStyles}\n >\n <img src={url} alt={ariaLabel ?? alt} />\n </WithNativeAttributes>\n );\n }\n\n const validIcon = name && Object.prototype.hasOwnProperty.call(icons, name);\n\n function iconMap(name: IconProps.Name) {\n if (name === 'gen-ai' && iconSize === 'small') {\n return (\n <svg\n width=\"12\"\n height=\"12\"\n viewBox=\"0 0 16 16\"\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n aria-hidden=\"true\"\n data-testid=\"gen-ai-filled\"\n >\n <path\n d=\"m8 4.4 1.018 2.582L11.6 8 9.018 9.018 8 11.6 6.982 9.018 4.4 8l2.582-1.018L8 4.4ZM2.405 2.41l.002-.003.003-.002-.003-.002-.002-.003-.002.003-.003.002.003.002.002.003Z\"\n className=\"filled\"\n />\n </svg>\n );\n } else {\n return icons[name];\n }\n }\n\n return (\n <WithNativeAttributes\n {...baseProps}\n {...labelAttributes}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n style={inlineStyles}\n >\n {validIcon ? iconMap(name) : undefined}\n </WithNativeAttributes>\n );\n};\n\nexport { InternalIconProps };\nexport default InternalIcon;\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/icon/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,oBAAoB,MAAM,0CAA0C,CAAC;AAG5E,OAAO,MAAM,MAAM,iBAAiB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AAM,iBACN,eAAe;gBAE3B,8BACE,CAAC,EAAC,wKAAwK,EAC1K,SAAS,EAAC,QAAQ,GAClB,CACE,CACP,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;IAED,OAAO,CACL,oBAAC,oBAAoB,OACf,SAAS,KACT,eAAe,EACnB,GAAG,EAAC,MAAM,EACV,aAAa,EAAC,MAAM,EACpB,gBAAgB,EAAE,gBAAgB,EAClC,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,YAAY,IAElB,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CACjB,CACxB,CAAC;AACJ,CAAC,CAAC;AAGF,eAAe,YAAY,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useContext, useLayoutEffect, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs, warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { InternalIconContext } from '../icon-provider/context';\nimport { getBaseProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport WithNativeAttributes from '../internal/utils/with-native-attributes';\nimport { IconProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\ntype InternalIconProps = IconProps &\n InternalBaseComponentProps & {\n badge?: boolean;\n };\n\nfunction iconSizeMap(height: number | null, fontSize?: number | null) {\n if (height === null) {\n // This is the best guess for the contextual height while server rendering.\n return 'normal';\n }\n\n // Only display medium size icon when both line-height >= 24px AND font-size >= 20px\n // This prevents icons from becoming medium size inappropriately\n if (height >= 50) {\n return 'large';\n } else if (height >= 36) {\n return 'big';\n } else if (height >= 24 && !!fontSize && fontSize >= 20) {\n return 'medium';\n } else if (height <= 16) {\n return 'small';\n } else {\n return 'normal';\n }\n}\n\nconst InternalIcon = ({\n name,\n size = 'normal',\n variant = 'normal',\n url,\n alt,\n ariaLabel,\n svg,\n badge,\n nativeAttributes,\n __internalRootRef,\n ...props\n}: InternalIconProps) => {\n const icons = useContext(InternalIconContext);\n const iconRef = useRef<HTMLElement>(null);\n // To ensure a re-render is triggered on visual mode changes\n useVisualRefresh();\n const [parentHeight, setParentHeight] = useState<number | null>(null);\n const [parentFontSize, setParentFontSize] = useState<number | null>(null);\n const contextualSize = size === 'inherit';\n const iconSize = contextualSize ? iconSizeMap(parentHeight, parentFontSize) : size;\n const inlineStyles = contextualSize && parentHeight !== null ? { height: `${parentHeight}px` } : {};\n const baseProps = getBaseProps(props);\n\n baseProps.className = clsx(\n baseProps.className,\n styles.icon,\n contextualSize && styles['icon-flex-height'],\n badge && styles.badge,\n !contextualSize && styles[`size-${iconSize}-mapped-height`],\n styles[`size-${iconSize}`],\n styles[`variant-${variant}`],\n styles[`name-${name}`]\n );\n\n // Possible infinite loop is not a concern here because line\n // height should not change without an external state update.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useLayoutEffect(() => {\n if (!contextualSize || !iconRef.current) {\n return;\n }\n const computedStyle = getComputedStyle(iconRef.current);\n const { lineHeight, fontSize } = computedStyle;\n const newParentHeight = parseInt(lineHeight, 10);\n const newParentFontSize = parseInt(fontSize, 10);\n setParentHeight(newParentHeight);\n setParentFontSize(newParentFontSize);\n });\n\n const mergedRef = useMergeRefs(iconRef, __internalRootRef);\n const hasAriaLabel = typeof ariaLabel === 'string';\n const labelAttributes = hasAriaLabel ? { role: 'img', 'aria-label': ariaLabel } : {};\n\n if (svg) {\n if (url) {\n warnOnce(\n 'Icon',\n 'You have specified both `url` and `svg`. `svg` will take precedence and `url` will be ignored.'\n );\n }\n return (\n <WithNativeAttributes\n {...baseProps}\n {...labelAttributes}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n aria-hidden={!hasAriaLabel}\n style={inlineStyles}\n >\n {svg}\n </WithNativeAttributes>\n );\n }\n\n if (url) {\n return (\n <WithNativeAttributes\n {...baseProps}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n style={inlineStyles}\n >\n <img src={url} alt={ariaLabel ?? alt} />\n </WithNativeAttributes>\n );\n }\n\n const validIcon = name && Object.prototype.hasOwnProperty.call(icons, name);\n\n function iconMap(name: IconProps.Name) {\n if (name === 'gen-ai' && iconSize === 'small') {\n return (\n <svg\n width=\"12\"\n height=\"12\"\n viewBox=\"0 0 16 16\"\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n aria-hidden=\"true\"\n data-testid=\"gen-ai-filled\"\n >\n <path\n d=\"m8 4.4 1.018 2.582L11.6 8 9.018 9.018 8 11.6 6.982 9.018 4.4 8l2.582-1.018L8 4.4ZM2.405 2.41l.002-.003.003-.002-.003-.002-.002-.003-.002.003-.003.002.003.002.002.003Z\"\n className=\"filled\"\n />\n </svg>\n );\n } else {\n return icons[name];\n }\n }\n\n return (\n <WithNativeAttributes\n {...baseProps}\n {...labelAttributes}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n style={inlineStyles}\n >\n {validIcon ? iconMap(name) : undefined}\n </WithNativeAttributes>\n );\n};\n\nexport { InternalIconProps };\nexport default InternalIcon;\n"]}
@@ -1,18 +1,18 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_2rhyz_1f2ia_145",
5
- "input": "awsui_input_2rhyz_1f2ia_149",
6
- "input-readonly": "awsui_input-readonly_2rhyz_1f2ia_203",
7
- "input-invalid": "awsui_input-invalid_2rhyz_1f2ia_266",
8
- "input-has-icon-left": "awsui_input-has-icon-left_2rhyz_1f2ia_275",
9
- "input-warning": "awsui_input-warning_2rhyz_1f2ia_278",
10
- "input-type-search": "awsui_input-type-search_2rhyz_1f2ia_290",
11
- "input-has-icon-right": "awsui_input-has-icon-right_2rhyz_1f2ia_303",
12
- "input-has-no-border-radius": "awsui_input-has-no-border-radius_2rhyz_1f2ia_306",
13
- "input-container": "awsui_input-container_2rhyz_1f2ia_313",
14
- "input-icon-left": "awsui_input-icon-left_2rhyz_1f2ia_318",
15
- "input-icon-right": "awsui_input-icon-right_2rhyz_1f2ia_325",
16
- "input-button-right": "awsui_input-button-right_2rhyz_1f2ia_331"
4
+ "root": "awsui_root_2rhyz_139r0_145",
5
+ "input": "awsui_input_2rhyz_139r0_149",
6
+ "input-readonly": "awsui_input-readonly_2rhyz_139r0_203",
7
+ "input-invalid": "awsui_input-invalid_2rhyz_139r0_266",
8
+ "input-has-icon-left": "awsui_input-has-icon-left_2rhyz_139r0_275",
9
+ "input-warning": "awsui_input-warning_2rhyz_139r0_278",
10
+ "input-type-search": "awsui_input-type-search_2rhyz_139r0_290",
11
+ "input-has-icon-right": "awsui_input-has-icon-right_2rhyz_139r0_303",
12
+ "input-has-no-border-radius": "awsui_input-has-no-border-radius_2rhyz_139r0_306",
13
+ "input-container": "awsui_input-container_2rhyz_139r0_313",
14
+ "input-icon-left": "awsui_input-icon-left_2rhyz_139r0_318",
15
+ "input-icon-right": "awsui_input-icon-right_2rhyz_139r0_325",
16
+ "input-button-right": "awsui_input-button-right_2rhyz_139r0_331"
17
17
  };
18
18
 
@@ -142,11 +142,11 @@
142
142
  */
143
143
  /* Style used for links in slots/components that are text heavy, to help links stand out among
144
144
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
145
- .awsui_root_2rhyz_1f2ia_145:not(#\9) {
145
+ .awsui_root_2rhyz_139r0_145:not(#\9) {
146
146
  /* used in test-utils for component to distinguish input from other input-like components, for example autosuggest */
147
147
  }
148
148
 
149
- .awsui_input_2rhyz_1f2ia_149:not(#\9) {
149
+ .awsui_input_2rhyz_139r0_149:not(#\9) {
150
150
  border-collapse: separate;
151
151
  border-spacing: 0;
152
152
  box-sizing: border-box;
@@ -178,158 +178,158 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
178
178
  -moz-osx-font-smoothing: auto;
179
179
  padding-block: var(--space-scaled-xxs-pfm1nx, 4px);
180
180
  padding-inline: var(--space-field-horizontal-0aq2ch, 12px);
181
- color: var(--awsui-style-color-default-rhu47t, var(--color-text-body-default-vvtq8u, #0f141a));
181
+ color: var(--awsui-style-color-default-4hh3rt, var(--color-text-body-default-vvtq8u, #0f141a));
182
182
  inline-size: 100%;
183
183
  cursor: text;
184
184
  box-sizing: border-box;
185
- background-color: var(--awsui-style-background-default-rhu47t, var(--color-background-input-default-ifz5bb, #ffffff));
185
+ background-color: var(--awsui-style-background-default-4hh3rt, var(--color-background-input-default-ifz5bb, #ffffff));
186
186
  border-start-start-radius: var(--border-radius-input-7q0str, 8px);
187
187
  border-start-end-radius: var(--border-radius-input-7q0str, 8px);
188
188
  border-end-start-radius: var(--border-radius-input-7q0str, 8px);
189
189
  border-end-end-radius: var(--border-radius-input-7q0str, 8px);
190
- border-block: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-default-rhu47t, var(--color-border-input-default-317xk5, #8c8c94));
191
- border-inline: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-default-rhu47t, var(--color-border-input-default-317xk5, #8c8c94));
192
- box-shadow: var(--awsui-style-box-shadow-default-rhu47t);
190
+ border-block: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-default-4hh3rt, var(--color-border-input-default-317xk5, #8c8c94));
191
+ border-inline: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-default-4hh3rt, var(--color-border-input-default-317xk5, #8c8c94));
192
+ box-shadow: var(--awsui-style-box-shadow-default-4hh3rt);
193
193
  font-size: var(--font-size-body-m-a7nh2n, 14px);
194
194
  line-height: var(--line-height-body-m-2mh3ke, 20px);
195
195
  block-size: var(--size-vertical-input-p1d7xx, 32px);
196
196
  }
197
- .awsui_input_2rhyz_1f2ia_149:not(#\9):hover {
198
- border-color: var(--awsui-style-border-color-hover-rhu47t, var(--awsui-style-border-color-default-rhu47t, var(--color-border-input-default-317xk5, #8c8c94)));
199
- color: var(--awsui-style-color-hover-rhu47t, var(--awsui-style-border-color-default-rhu47t, var(--color-text-body-default-vvtq8u, #0f141a)));
200
- background-color: var(--awsui-style-background-hover-rhu47t, var(--awsui-style-background-default-rhu47t, var(--color-background-input-default-ifz5bb, #ffffff)));
201
- box-shadow: var(--awsui-style-box-shadow-hover-rhu47t, --awsui-style-box-shadow-default-rhu47t);
197
+ .awsui_input_2rhyz_139r0_149:not(#\9):hover {
198
+ border-color: var(--awsui-style-border-color-hover-4hh3rt, var(--awsui-style-border-color-default-4hh3rt, var(--color-border-input-default-317xk5, #8c8c94)));
199
+ color: var(--awsui-style-color-hover-4hh3rt, var(--awsui-style-border-color-default-4hh3rt, var(--color-text-body-default-vvtq8u, #0f141a)));
200
+ background-color: var(--awsui-style-background-hover-4hh3rt, var(--awsui-style-background-default-4hh3rt, var(--color-background-input-default-ifz5bb, #ffffff)));
201
+ box-shadow: var(--awsui-style-box-shadow-hover-4hh3rt, --awsui-style-box-shadow-default-4hh3rt);
202
202
  }
203
- .awsui_input_2rhyz_1f2ia_149.awsui_input-readonly_2rhyz_1f2ia_203:not(#\9) {
204
- background-color: var(--awsui-style-background-readonly-rhu47t, var(--awsui-style-background-default-rhu47t, var(--color-background-input-default-ifz5bb, #ffffff)));
205
- border-block: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-readonly-rhu47t, var(--awsui-style-border-color-default-rhu47t, var(--color-border-input-disabled-zgnzvk, #ebebf0)));
206
- border-inline: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-readonly-rhu47t, var(--awsui-style-border-color-default-rhu47t, var(--color-border-input-disabled-zgnzvk, #ebebf0)));
207
- color: var(--awsui-style-color-readonly-rhu47t, var(--awsui-style-color-default-rhu47t, var(--color-text-body-default-vvtq8u, #0f141a)));
208
- box-shadow: var(--awsui-style-box-shadow-readonly-rhu47t);
203
+ .awsui_input_2rhyz_139r0_149.awsui_input-readonly_2rhyz_139r0_203:not(#\9) {
204
+ background-color: var(--awsui-style-background-readonly-4hh3rt, var(--awsui-style-background-default-4hh3rt, var(--color-background-input-default-ifz5bb, #ffffff)));
205
+ border-block: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-readonly-4hh3rt, var(--awsui-style-border-color-default-4hh3rt, var(--color-border-input-disabled-zgnzvk, #ebebf0)));
206
+ border-inline: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-readonly-4hh3rt, var(--awsui-style-border-color-default-4hh3rt, var(--color-border-input-disabled-zgnzvk, #ebebf0)));
207
+ color: var(--awsui-style-color-readonly-4hh3rt, var(--awsui-style-color-default-4hh3rt, var(--color-text-body-default-vvtq8u, #0f141a)));
208
+ box-shadow: var(--awsui-style-box-shadow-readonly-4hh3rt);
209
209
  }
210
- .awsui_input_2rhyz_1f2ia_149:not(#\9)::-webkit-input-placeholder {
211
- color: var(--awsui-style-placeholder-color-rhu47t, var(--color-text-input-placeholder-dclg8u, #656871));
212
- font-size: var(--awsui-style-placeholder-font-size-rhu47t);
213
- font-style: var(--awsui-style-placeholder-font-style-rhu47t, italic);
214
- font-weight: var(--awsui-style-placeholder-font-weight-rhu47t);
210
+ .awsui_input_2rhyz_139r0_149:not(#\9)::-webkit-input-placeholder {
211
+ color: var(--awsui-style-placeholder-color-4hh3rt, var(--color-text-input-placeholder-dclg8u, #656871));
212
+ font-size: var(--awsui-style-placeholder-font-size-4hh3rt);
213
+ font-style: var(--awsui-style-placeholder-font-style-4hh3rt, italic);
214
+ font-weight: var(--awsui-style-placeholder-font-weight-4hh3rt);
215
215
  -webkit-user-select: none;
216
216
  user-select: none;
217
217
  }
218
- .awsui_input_2rhyz_1f2ia_149:not(#\9)::-moz-placeholder {
219
- color: var(--awsui-style-placeholder-color-rhu47t, var(--color-text-input-placeholder-dclg8u, #656871));
220
- font-size: var(--awsui-style-placeholder-font-size-rhu47t);
221
- font-style: var(--awsui-style-placeholder-font-style-rhu47t, italic);
222
- font-weight: var(--awsui-style-placeholder-font-weight-rhu47t);
218
+ .awsui_input_2rhyz_139r0_149:not(#\9)::-moz-placeholder {
219
+ color: var(--awsui-style-placeholder-color-4hh3rt, var(--color-text-input-placeholder-dclg8u, #656871));
220
+ font-size: var(--awsui-style-placeholder-font-size-4hh3rt);
221
+ font-style: var(--awsui-style-placeholder-font-style-4hh3rt, italic);
222
+ font-weight: var(--awsui-style-placeholder-font-weight-4hh3rt);
223
223
  opacity: 1;
224
224
  }
225
- .awsui_input_2rhyz_1f2ia_149:not(#\9):-moz-placeholder {
226
- color: var(--awsui-style-placeholder-color-rhu47t, var(--color-text-input-placeholder-dclg8u, #656871));
227
- font-size: var(--awsui-style-placeholder-font-size-rhu47t);
228
- font-style: var(--awsui-style-placeholder-font-style-rhu47t, italic);
229
- font-weight: var(--awsui-style-placeholder-font-weight-rhu47t);
225
+ .awsui_input_2rhyz_139r0_149:not(#\9):-moz-placeholder {
226
+ color: var(--awsui-style-placeholder-color-4hh3rt, var(--color-text-input-placeholder-dclg8u, #656871));
227
+ font-size: var(--awsui-style-placeholder-font-size-4hh3rt);
228
+ font-style: var(--awsui-style-placeholder-font-style-4hh3rt, italic);
229
+ font-weight: var(--awsui-style-placeholder-font-weight-4hh3rt);
230
230
  opacity: 1;
231
231
  }
232
- .awsui_input_2rhyz_1f2ia_149:not(#\9):focus {
232
+ .awsui_input_2rhyz_139r0_149:not(#\9):focus {
233
233
  outline: 2px dotted transparent;
234
- border-block: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-focus-rhu47t, var(--color-border-input-focused-4z0pgn, #006ce0));
235
- border-inline: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-focus-rhu47t, var(--color-border-input-focused-4z0pgn, #006ce0));
234
+ border-block: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-focus-4hh3rt, var(--color-border-input-focused-4z0pgn, #006ce0));
235
+ border-inline: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-focus-4hh3rt, var(--color-border-input-focused-4z0pgn, #006ce0));
236
236
  border-start-start-radius: var(--border-radius-input-7q0str, 8px);
237
237
  border-start-end-radius: var(--border-radius-input-7q0str, 8px);
238
238
  border-end-start-radius: var(--border-radius-input-7q0str, 8px);
239
239
  border-end-end-radius: var(--border-radius-input-7q0str, 8px);
240
- box-shadow: var(--awsui-style-box-shadow-focus-rhu47t, 0 0 0 var(--border-control-focus-ring-shadow-spread-9mjajk, 1px) var(--color-border-item-focused-uk47pl, #006ce0));
241
- color: var(--awsui-style-color-focus-rhu47t, var(--color-text-body-default-vvtq8u, #0f141a));
242
- background-color: var(--awsui-style-background-focus-rhu47t, var(--color-background-input-default-ifz5bb, #ffffff));
240
+ box-shadow: var(--awsui-style-box-shadow-focus-4hh3rt, 0 0 0 var(--border-control-focus-ring-shadow-spread-9mjajk, 1px) var(--color-border-item-focused-uk47pl, #006ce0));
241
+ color: var(--awsui-style-color-focus-4hh3rt, var(--color-text-body-default-vvtq8u, #0f141a));
242
+ background-color: var(--awsui-style-background-focus-4hh3rt, var(--color-background-input-default-ifz5bb, #ffffff));
243
243
  }
244
- .awsui_input_2rhyz_1f2ia_149:not(#\9):disabled {
245
- background-color: var(--awsui-style-background-disabled-rhu47t, var(--color-background-input-disabled-dihaja, #ebebf0));
246
- border-block: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-disabled-rhu47t, var(--color-border-input-disabled-zgnzvk, #ebebf0));
247
- border-inline: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-disabled-rhu47t, var(--color-border-input-disabled-zgnzvk, #ebebf0));
248
- color: var(--awsui-style-color-disabled-rhu47t, var(--color-text-input-disabled-wh1f3y, #b4b4bb));
244
+ .awsui_input_2rhyz_139r0_149:not(#\9):disabled {
245
+ background-color: var(--awsui-style-background-disabled-4hh3rt, var(--color-background-input-disabled-dihaja, #ebebf0));
246
+ border-block: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-disabled-4hh3rt, var(--color-border-input-disabled-zgnzvk, #ebebf0));
247
+ border-inline: var(--border-width-field-2xc78x, 1px) solid var(--awsui-style-border-color-disabled-4hh3rt, var(--color-border-input-disabled-zgnzvk, #ebebf0));
248
+ color: var(--awsui-style-color-disabled-4hh3rt, var(--color-text-input-disabled-wh1f3y, #b4b4bb));
249
249
  cursor: default;
250
- box-shadow: var(--awsui-style-box-shadow-disabled-rhu47t);
250
+ box-shadow: var(--awsui-style-box-shadow-disabled-4hh3rt);
251
251
  }
252
- .awsui_input_2rhyz_1f2ia_149:not(#\9):disabled::-webkit-input-placeholder {
253
- color: var(--awsui-style-placeholder-color-rhu47t, var(--color-text-input-placeholder-disabled-wg87og, #b4b4bb));
252
+ .awsui_input_2rhyz_139r0_149:not(#\9):disabled::-webkit-input-placeholder {
253
+ color: var(--awsui-style-placeholder-color-4hh3rt, var(--color-text-input-placeholder-disabled-wg87og, #b4b4bb));
254
254
  -webkit-user-select: none;
255
255
  user-select: none;
256
256
  }
257
- .awsui_input_2rhyz_1f2ia_149:not(#\9):disabled::-moz-placeholder {
258
- color: var(--awsui-style-placeholder-color-rhu47t, var(--color-text-input-placeholder-disabled-wg87og, #b4b4bb));
257
+ .awsui_input_2rhyz_139r0_149:not(#\9):disabled::-moz-placeholder {
258
+ color: var(--awsui-style-placeholder-color-4hh3rt, var(--color-text-input-placeholder-disabled-wg87og, #b4b4bb));
259
259
  opacity: 1;
260
260
  }
261
- .awsui_input_2rhyz_1f2ia_149:not(#\9):disabled:-moz-placeholder {
262
- color: var(--awsui-style-placeholder-color-rhu47t, var(--color-text-input-placeholder-disabled-wg87og, #b4b4bb));
261
+ .awsui_input_2rhyz_139r0_149:not(#\9):disabled:-moz-placeholder {
262
+ color: var(--awsui-style-placeholder-color-4hh3rt, var(--color-text-input-placeholder-disabled-wg87og, #b4b4bb));
263
263
  opacity: 1;
264
264
  }
265
- .awsui_input_2rhyz_1f2ia_149:not(#\9):invalid {
265
+ .awsui_input_2rhyz_139r0_149:not(#\9):invalid {
266
266
  box-shadow: none;
267
267
  }
268
- .awsui_input_2rhyz_1f2ia_149.awsui_input-invalid_2rhyz_1f2ia_266:not(#\9) {
269
- color: var(--awsui-style-color-default-rhu47t, var(--color-text-status-error-ksqavh, #db0000));
270
- border-color: var(--awsui-style-border-color-default-rhu47t, var(--color-text-status-error-ksqavh, #db0000));
268
+ .awsui_input_2rhyz_139r0_149.awsui_input-invalid_2rhyz_139r0_266:not(#\9) {
269
+ color: var(--awsui-style-color-default-4hh3rt, var(--color-text-status-error-ksqavh, #db0000));
270
+ border-color: var(--awsui-style-border-color-default-4hh3rt, var(--color-text-status-error-ksqavh, #db0000));
271
271
  padding-inline-start: calc(var(--space-field-horizontal-0aq2ch, 12px) - (var(--border-invalid-width-3xd6e1, 8px) - var(--border-width-field-2xc78x, 1px)));
272
272
  border-inline-start-width: var(--border-invalid-width-3xd6e1, 8px);
273
273
  }
274
- .awsui_input_2rhyz_1f2ia_149.awsui_input-invalid_2rhyz_1f2ia_266:not(#\9):focus {
275
- box-shadow: var(--awsui-style-box-shadow-focus-rhu47t, 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-9jjf96, 2px) var(--color-border-item-focused-uk47pl, #006ce0));
274
+ .awsui_input_2rhyz_139r0_149.awsui_input-invalid_2rhyz_139r0_266:not(#\9):focus {
275
+ box-shadow: var(--awsui-style-box-shadow-focus-4hh3rt, 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-9jjf96, 2px) var(--color-border-item-focused-uk47pl, #006ce0));
276
276
  }
277
- .awsui_input_2rhyz_1f2ia_149.awsui_input-invalid_2rhyz_1f2ia_266.awsui_input-has-icon-left_2rhyz_1f2ia_275:not(#\9) {
277
+ .awsui_input_2rhyz_139r0_149.awsui_input-invalid_2rhyz_139r0_266.awsui_input-has-icon-left_2rhyz_139r0_275:not(#\9) {
278
278
  padding-inline-start: calc(var(--space-field-icon-offset-ikwzwx, 36px) - (var(--border-invalid-width-3xd6e1, 8px) - var(--border-width-field-2xc78x, 1px)));
279
279
  }
280
- .awsui_input_2rhyz_1f2ia_149.awsui_input-warning_2rhyz_1f2ia_278:not(#\9) {
281
- color: var(--awsui-style-color-default-rhu47t, var(--color-text-status-warning-6meo06, #855900));
282
- border-color: var(--awsui-style-border-color-default-rhu47t, var(--color-text-status-warning-6meo06, #855900));
280
+ .awsui_input_2rhyz_139r0_149.awsui_input-warning_2rhyz_139r0_278:not(#\9) {
281
+ color: var(--awsui-style-color-default-4hh3rt, var(--color-text-status-warning-6meo06, #855900));
282
+ border-color: var(--awsui-style-border-color-default-4hh3rt, var(--color-text-status-warning-6meo06, #855900));
283
283
  padding-inline-start: calc(var(--space-field-horizontal-0aq2ch, 12px) - (var(--border-invalid-width-3xd6e1, 8px) - var(--border-width-field-2xc78x, 1px)));
284
284
  border-inline-start-width: var(--border-invalid-width-3xd6e1, 8px);
285
285
  }
286
- .awsui_input_2rhyz_1f2ia_149.awsui_input-warning_2rhyz_1f2ia_278:not(#\9):focus {
287
- box-shadow: var(--awsui-style-box-shadow-focus-rhu47t, 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-9jjf96, 2px) var(--color-border-item-focused-uk47pl, #006ce0));
286
+ .awsui_input_2rhyz_139r0_149.awsui_input-warning_2rhyz_139r0_278:not(#\9):focus {
287
+ box-shadow: var(--awsui-style-box-shadow-focus-4hh3rt, 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-9jjf96, 2px) var(--color-border-item-focused-uk47pl, #006ce0));
288
288
  }
289
- .awsui_input_2rhyz_1f2ia_149.awsui_input-warning_2rhyz_1f2ia_278.awsui_input-has-icon-left_2rhyz_1f2ia_275:not(#\9) {
289
+ .awsui_input_2rhyz_139r0_149.awsui_input-warning_2rhyz_139r0_278.awsui_input-has-icon-left_2rhyz_139r0_275:not(#\9) {
290
290
  padding-inline-start: calc(var(--space-field-icon-offset-ikwzwx, 36px) - (var(--border-invalid-width-3xd6e1, 8px) - var(--border-width-field-2xc78x, 1px)));
291
291
  }
292
- .awsui_input_2rhyz_1f2ia_149.awsui_input-type-search_2rhyz_1f2ia_290:not(#\9) {
292
+ .awsui_input_2rhyz_139r0_149.awsui_input-type-search_2rhyz_139r0_290:not(#\9) {
293
293
  box-sizing: border-box;
294
294
  -webkit-appearance: none;
295
295
  }
296
- .awsui_input_2rhyz_1f2ia_149.awsui_input-type-search_2rhyz_1f2ia_290:not(#\9)::-webkit-search-decoration {
296
+ .awsui_input_2rhyz_139r0_149.awsui_input-type-search_2rhyz_139r0_290:not(#\9)::-webkit-search-decoration {
297
297
  -webkit-appearance: none;
298
298
  }
299
- .awsui_input_2rhyz_1f2ia_149.awsui_input-type-search_2rhyz_1f2ia_290:not(#\9)::-webkit-search-cancel-button {
299
+ .awsui_input_2rhyz_139r0_149.awsui_input-type-search_2rhyz_139r0_290:not(#\9)::-webkit-search-cancel-button {
300
300
  display: none;
301
301
  }
302
- .awsui_input_2rhyz_1f2ia_149.awsui_input-has-icon-left_2rhyz_1f2ia_275:not(#\9) {
302
+ .awsui_input_2rhyz_139r0_149.awsui_input-has-icon-left_2rhyz_139r0_275:not(#\9) {
303
303
  padding-inline-start: var(--space-field-icon-offset-ikwzwx, 36px);
304
304
  }
305
- .awsui_input_2rhyz_1f2ia_149.awsui_input-has-icon-right_2rhyz_1f2ia_303:not(#\9) {
305
+ .awsui_input_2rhyz_139r0_149.awsui_input-has-icon-right_2rhyz_139r0_303:not(#\9) {
306
306
  padding-inline-end: var(--space-field-icon-offset-ikwzwx, 36px);
307
307
  }
308
- .awsui_input_2rhyz_1f2ia_149.awsui_input-has-no-border-radius_2rhyz_1f2ia_306:not(#\9) {
308
+ .awsui_input_2rhyz_139r0_149.awsui_input-has-no-border-radius_2rhyz_139r0_306:not(#\9) {
309
309
  border-start-start-radius: var(--border-radius-dropdown-fgc2a1, 8px);
310
310
  border-start-end-radius: var(--border-radius-dropdown-fgc2a1, 8px);
311
311
  border-end-start-radius: var(--border-radius-dropdown-fgc2a1, 8px);
312
312
  border-end-end-radius: var(--border-radius-dropdown-fgc2a1, 8px);
313
313
  }
314
314
 
315
- .awsui_input-container_2rhyz_1f2ia_313:not(#\9) {
315
+ .awsui_input-container_2rhyz_139r0_313:not(#\9) {
316
316
  display: flex;
317
317
  position: relative;
318
318
  }
319
319
 
320
- .awsui_input-icon-left_2rhyz_1f2ia_318:not(#\9) {
320
+ .awsui_input-icon-left_2rhyz_139r0_318:not(#\9) {
321
321
  position: absolute;
322
322
  pointer-events: none;
323
323
  inset-inline-start: var(--space-field-horizontal-0aq2ch, 12px);
324
324
  inset-block-start: calc(50% - var(--line-height-body-m-2mh3ke, 20px) / 2);
325
325
  }
326
326
 
327
- .awsui_input-icon-right_2rhyz_1f2ia_325:not(#\9) {
327
+ .awsui_input-icon-right_2rhyz_139r0_325:not(#\9) {
328
328
  position: absolute;
329
329
  inset-block-start: calc(calc(50% - var(--line-height-body-m-2mh3ke, 20px) / 2) - var(--space-xxxs-pajhad, 2px));
330
330
  inset-inline-end: calc(var(--space-field-horizontal-0aq2ch, 12px) - var(--space-xxs-hwfkai, 4px));
331
331
  }
332
332
 
333
- .awsui_input-button-right_2rhyz_1f2ia_331:not(#\9) {
333
+ .awsui_input-button-right_2rhyz_139r0_331:not(#\9) {
334
334
  /* used in test-utils */
335
335
  }
@@ -2,18 +2,18 @@
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_2rhyz_1f2ia_145",
6
- "input": "awsui_input_2rhyz_1f2ia_149",
7
- "input-readonly": "awsui_input-readonly_2rhyz_1f2ia_203",
8
- "input-invalid": "awsui_input-invalid_2rhyz_1f2ia_266",
9
- "input-has-icon-left": "awsui_input-has-icon-left_2rhyz_1f2ia_275",
10
- "input-warning": "awsui_input-warning_2rhyz_1f2ia_278",
11
- "input-type-search": "awsui_input-type-search_2rhyz_1f2ia_290",
12
- "input-has-icon-right": "awsui_input-has-icon-right_2rhyz_1f2ia_303",
13
- "input-has-no-border-radius": "awsui_input-has-no-border-radius_2rhyz_1f2ia_306",
14
- "input-container": "awsui_input-container_2rhyz_1f2ia_313",
15
- "input-icon-left": "awsui_input-icon-left_2rhyz_1f2ia_318",
16
- "input-icon-right": "awsui_input-icon-right_2rhyz_1f2ia_325",
17
- "input-button-right": "awsui_input-button-right_2rhyz_1f2ia_331"
5
+ "root": "awsui_root_2rhyz_139r0_145",
6
+ "input": "awsui_input_2rhyz_139r0_149",
7
+ "input-readonly": "awsui_input-readonly_2rhyz_139r0_203",
8
+ "input-invalid": "awsui_input-invalid_2rhyz_139r0_266",
9
+ "input-has-icon-left": "awsui_input-has-icon-left_2rhyz_139r0_275",
10
+ "input-warning": "awsui_input-warning_2rhyz_139r0_278",
11
+ "input-type-search": "awsui_input-type-search_2rhyz_139r0_290",
12
+ "input-has-icon-right": "awsui_input-has-icon-right_2rhyz_139r0_303",
13
+ "input-has-no-border-radius": "awsui_input-has-no-border-radius_2rhyz_139r0_306",
14
+ "input-container": "awsui_input-container_2rhyz_139r0_313",
15
+ "input-icon-left": "awsui_input-icon-left_2rhyz_139r0_318",
16
+ "input-icon-right": "awsui_input-icon-right_2rhyz_139r0_325",
17
+ "input-button-right": "awsui_input-button-right_2rhyz_139r0_331"
18
18
  };
19
19
 
@@ -307,9 +307,11 @@ body {
307
307
  --color-background-segment-disabled-m2a5t7:var(--color-background-button-normal-disabled-hl039l);
308
308
  --color-background-segment-hover-800sl4:var(--color-background-button-normal-hover-53op9s);
309
309
  --color-background-segment-wrapper-5tudmm:var(--color-background-container-content-6u8rvp);
310
+ --color-background-slider-range-default-3ljdu4:var(--color-background-slider-handle-default-lp5ntg);
311
+ --color-background-slider-range-active-vu3lky:var(--color-background-slider-handle-active-50ubqb);
310
312
  --color-background-slider-handle-default-lp5ntg:var(--color-primary-600-1lcy1k);
311
313
  --color-background-slider-handle-active-50ubqb:var(--color-primary-700-n6k121);
312
- --color-background-slider-track-jsr5s6:var(--color-neutral-500-8van0b);
314
+ --color-background-slider-track-default-vk2c9o:var(--color-neutral-500-8van0b);
313
315
  --color-background-slider-handle-ring-9sfenj:var(--color-white-p1zlvy);
314
316
  --color-background-slider-error-pressed-79f2kg:var(--color-error-900-skonp1);
315
317
  --color-background-slider-warning-pressed-j1qp7g:var(--color-warning-900-kpxt8c);
@@ -910,7 +912,7 @@ body {
910
912
  --color-background-segment-active-1u2ldl:var(--color-primary-400-n8h4bx);
911
913
  --color-background-slider-handle-default-lp5ntg:var(--color-primary-400-n8h4bx);
912
914
  --color-background-slider-handle-active-50ubqb:var(--color-primary-300-5q65ox);
913
- --color-background-slider-track-jsr5s6:var(--color-neutral-600-fln1ww);
915
+ --color-background-slider-track-default-vk2c9o:var(--color-neutral-600-fln1ww);
914
916
  --color-background-slider-handle-ring-9sfenj:var(--color-neutral-850-3f0gro);
915
917
  --color-background-slider-error-pressed-79f2kg:var(--color-error-400-c0knb8);
916
918
  --color-background-slider-warning-pressed-j1qp7g:var(--color-warning-500-zidhub);
@@ -1172,7 +1174,7 @@ body {
1172
1174
  --color-background-segment-active-1u2ldl:var(--color-primary-400-n8h4bx);
1173
1175
  --color-background-slider-handle-default-lp5ntg:var(--color-primary-400-n8h4bx);
1174
1176
  --color-background-slider-handle-active-50ubqb:var(--color-primary-300-5q65ox);
1175
- --color-background-slider-track-jsr5s6:var(--color-neutral-600-fln1ww);
1177
+ --color-background-slider-track-default-vk2c9o:var(--color-neutral-600-fln1ww);
1176
1178
  --color-background-slider-handle-ring-9sfenj:var(--color-neutral-850-3f0gro);
1177
1179
  --color-background-slider-error-pressed-79f2kg:var(--color-error-400-c0knb8);
1178
1180
  --color-background-slider-warning-pressed-j1qp7g:var(--color-warning-500-zidhub);
@@ -1294,6 +1296,8 @@ body {
1294
1296
  --color-background-segment-disabled-m2a5t7:var(--color-background-button-normal-disabled-hl039l);
1295
1297
  --color-background-segment-hover-800sl4:var(--color-background-button-normal-hover-53op9s);
1296
1298
  --color-background-segment-wrapper-5tudmm:var(--color-background-container-content-6u8rvp);
1299
+ --color-background-slider-range-default-3ljdu4:var(--color-background-slider-handle-default-lp5ntg);
1300
+ --color-background-slider-range-active-vu3lky:var(--color-background-slider-handle-active-50ubqb);
1297
1301
  --color-background-dialog-2fj3uu:var(--color-background-status-info-sfobba);
1298
1302
  --color-background-table-header-hdjxos:var(--color-background-container-header-gs3mbe);
1299
1303
  --color-text-chat-bubble-outgoing-f3r63s:var(--color-text-body-default-vvtq8u);
@@ -1395,7 +1399,7 @@ body {
1395
1399
  --color-background-segment-wrapper-5tudmm:var(--color-neutral-950-lxybh8);
1396
1400
  --color-background-slider-handle-default-lp5ntg:var(--color-primary-400-n8h4bx);
1397
1401
  --color-background-slider-handle-active-50ubqb:var(--color-primary-300-5q65ox);
1398
- --color-background-slider-track-jsr5s6:var(--color-neutral-600-fln1ww);
1402
+ --color-background-slider-track-default-vk2c9o:var(--color-neutral-600-fln1ww);
1399
1403
  --color-background-slider-handle-ring-9sfenj:var(--color-neutral-850-3f0gro);
1400
1404
  --color-background-slider-error-pressed-79f2kg:var(--color-error-400-c0knb8);
1401
1405
  --color-background-slider-warning-pressed-j1qp7g:var(--color-warning-500-zidhub);
@@ -1524,6 +1528,8 @@ body {
1524
1528
  --color-background-layout-panel-content-xto15e:var(--color-background-container-content-6u8rvp);
1525
1529
  --color-background-modal-overlay-d7uby0:var(--color-grey-opaque-70-p0svy7);
1526
1530
  --color-background-segment-hover-800sl4:var(--color-background-button-normal-hover-53op9s);
1531
+ --color-background-slider-range-default-3ljdu4:var(--color-background-slider-handle-default-lp5ntg);
1532
+ --color-background-slider-range-active-vu3lky:var(--color-background-slider-handle-active-50ubqb);
1527
1533
  --color-background-dialog-2fj3uu:var(--color-background-status-info-sfobba);
1528
1534
  --color-text-chat-bubble-outgoing-f3r63s:var(--color-text-body-default-vvtq8u);
1529
1535
  --color-text-chat-bubble-incoming-od0yh8:var(--color-text-body-default-vvtq8u);
@@ -1742,7 +1748,7 @@ body {
1742
1748
  --color-background-segment-active-1u2ldl:var(--color-primary-400-n8h4bx);
1743
1749
  --color-background-slider-handle-default-lp5ntg:var(--color-primary-400-n8h4bx);
1744
1750
  --color-background-slider-handle-active-50ubqb:var(--color-primary-300-5q65ox);
1745
- --color-background-slider-track-jsr5s6:var(--color-neutral-600-fln1ww);
1751
+ --color-background-slider-track-default-vk2c9o:var(--color-neutral-600-fln1ww);
1746
1752
  --color-background-slider-handle-ring-9sfenj:var(--color-neutral-850-3f0gro);
1747
1753
  --color-background-slider-error-pressed-79f2kg:var(--color-error-400-c0knb8);
1748
1754
  --color-background-slider-warning-pressed-j1qp7g:var(--color-warning-500-zidhub);
@@ -1867,6 +1873,8 @@ body {
1867
1873
  --color-background-segment-disabled-m2a5t7:var(--color-background-button-normal-disabled-hl039l);
1868
1874
  --color-background-segment-hover-800sl4:var(--color-background-button-normal-hover-53op9s);
1869
1875
  --color-background-segment-wrapper-5tudmm:var(--color-background-container-content-6u8rvp);
1876
+ --color-background-slider-range-default-3ljdu4:var(--color-background-slider-handle-default-lp5ntg);
1877
+ --color-background-slider-range-active-vu3lky:var(--color-background-slider-handle-active-50ubqb);
1870
1878
  --color-background-dialog-2fj3uu:var(--color-background-status-info-sfobba);
1871
1879
  --color-background-table-header-hdjxos:var(--color-background-container-header-gs3mbe);
1872
1880
  --color-text-chat-bubble-outgoing-f3r63s:var(--color-text-body-default-vvtq8u);
@@ -2004,5 +2012,5 @@ body {
2004
2012
  }
2005
2013
  }
2006
2014
  :root {
2007
- --awsui-version-info-aae4707d: true;
2015
+ --awsui-version-info-15e15bbc: true;
2008
2016
  }
@@ -1,35 +1,35 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "direction-button-wrapper": "awsui_direction-button-wrapper_155yk_yyyo1_169",
5
- "direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-enter_155yk_yyyo1_189",
6
- "direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-entering_155yk_yyyo1_189",
7
- "direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-exit_155yk_yyyo1_189",
8
- "direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-exiting_155yk_yyyo1_189",
9
- "drag-handle-entry": "awsui_drag-handle-entry_155yk_yyyo1_1",
10
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_155yk_yyyo1_1",
11
- "drag-handle-exit": "awsui_drag-handle-exit_155yk_yyyo1_1",
12
- "awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_155yk_yyyo1_1",
13
- "direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-start_155yk_yyyo1_229",
14
- "direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-end_155yk_yyyo1_233",
15
- "direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-start_155yk_yyyo1_237",
16
- "direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-end_155yk_yyyo1_248",
17
- "contents": "awsui_contents_155yk_yyyo1_259",
18
- "portal-overlay": "awsui_portal-overlay_155yk_yyyo1_263",
19
- "portal-overlay-disabled": "awsui_portal-overlay-disabled_155yk_yyyo1_271",
20
- "portal-overlay-contents": "awsui_portal-overlay-contents_155yk_yyyo1_275",
21
- "drag-handle": "awsui_drag-handle_155yk_yyyo1_279",
22
- "direction-button-wrapper-hidden": "awsui_direction-button-wrapper-hidden_155yk_yyyo1_292",
23
- "direction-button-wrapper-forced": "awsui_direction-button-wrapper-forced_155yk_yyyo1_316",
24
- "direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-0_155yk_yyyo1_320",
25
- "direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-1_155yk_yyyo1_324",
26
- "direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-2_155yk_yyyo1_328",
27
- "direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-3_155yk_yyyo1_332",
28
- "direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-0_155yk_yyyo1_336",
29
- "direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-1_155yk_yyyo1_340",
30
- "direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-2_155yk_yyyo1_344",
31
- "direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-3_155yk_yyyo1_348",
32
- "direction-button": "awsui_direction-button_155yk_yyyo1_169",
33
- "direction-button-disabled": "awsui_direction-button-disabled_155yk_yyyo1_371"
4
+ "direction-button-wrapper": "awsui_direction-button-wrapper_155yk_1k5bo_169",
5
+ "direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-enter_155yk_1k5bo_189",
6
+ "direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-entering_155yk_1k5bo_189",
7
+ "direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-exit_155yk_1k5bo_189",
8
+ "direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-exiting_155yk_1k5bo_189",
9
+ "drag-handle-entry": "awsui_drag-handle-entry_155yk_1k5bo_1",
10
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_155yk_1k5bo_1",
11
+ "drag-handle-exit": "awsui_drag-handle-exit_155yk_1k5bo_1",
12
+ "awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_155yk_1k5bo_1",
13
+ "direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-start_155yk_1k5bo_229",
14
+ "direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-end_155yk_1k5bo_233",
15
+ "direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-start_155yk_1k5bo_237",
16
+ "direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-end_155yk_1k5bo_248",
17
+ "contents": "awsui_contents_155yk_1k5bo_259",
18
+ "portal-overlay": "awsui_portal-overlay_155yk_1k5bo_263",
19
+ "portal-overlay-disabled": "awsui_portal-overlay-disabled_155yk_1k5bo_271",
20
+ "portal-overlay-contents": "awsui_portal-overlay-contents_155yk_1k5bo_275",
21
+ "drag-handle": "awsui_drag-handle_155yk_1k5bo_279",
22
+ "direction-button-wrapper-hidden": "awsui_direction-button-wrapper-hidden_155yk_1k5bo_292",
23
+ "direction-button-wrapper-forced": "awsui_direction-button-wrapper-forced_155yk_1k5bo_316",
24
+ "direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-0_155yk_1k5bo_320",
25
+ "direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-1_155yk_1k5bo_324",
26
+ "direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-2_155yk_1k5bo_328",
27
+ "direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-3_155yk_1k5bo_332",
28
+ "direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-0_155yk_1k5bo_336",
29
+ "direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-1_155yk_1k5bo_340",
30
+ "direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-2_155yk_1k5bo_344",
31
+ "direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-3_155yk_1k5bo_348",
32
+ "direction-button": "awsui_direction-button_155yk_1k5bo_169",
33
+ "direction-button-disabled": "awsui_direction-button-disabled_155yk_1k5bo_371"
34
34
  };
35
35