@cloudscape-design/components-themeable 3.0.1209 → 3.0.1211

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 (224) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/internal/components/dropdown/styles.scss +3 -2
  3. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +140 -139
  4. package/lib/internal/template/alert/interfaces.d.ts +2 -0
  5. package/lib/internal/template/alert/interfaces.d.ts.map +1 -1
  6. package/lib/internal/template/alert/interfaces.js.map +1 -1
  7. package/lib/internal/template/alert/styles.css.js +27 -27
  8. package/lib/internal/template/alert/styles.scoped.css +50 -50
  9. package/lib/internal/template/alert/styles.selectors.js +27 -27
  10. package/lib/internal/template/annotation-context/annotation/styles.css.js +13 -13
  11. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +21 -21
  12. package/lib/internal/template/annotation-context/annotation/styles.selectors.js +13 -13
  13. package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
  14. package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
  15. package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
  16. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
  17. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -258
  18. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
  19. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +30 -30
  20. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +87 -87
  21. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +30 -30
  22. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
  23. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
  24. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
  25. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -27
  26. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +54 -54
  27. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -27
  28. package/lib/internal/template/attribute-editor/styles.css.js +15 -15
  29. package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
  30. package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
  31. package/lib/internal/template/autosuggest/interfaces.d.ts +2 -0
  32. package/lib/internal/template/autosuggest/interfaces.d.ts.map +1 -1
  33. package/lib/internal/template/autosuggest/interfaces.js.map +1 -1
  34. package/lib/internal/template/badge/interfaces.d.ts +2 -0
  35. package/lib/internal/template/badge/interfaces.d.ts.map +1 -1
  36. package/lib/internal/template/badge/interfaces.js.map +1 -1
  37. package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
  38. package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
  39. package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
  40. package/lib/internal/template/button/interfaces.d.ts +2 -0
  41. package/lib/internal/template/button/interfaces.d.ts.map +1 -1
  42. package/lib/internal/template/button/interfaces.js.map +1 -1
  43. package/lib/internal/template/button/styles.css.js +22 -22
  44. package/lib/internal/template/button/styles.scoped.css +256 -256
  45. package/lib/internal/template/button/styles.selectors.js +22 -22
  46. package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js +1 -1
  47. package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
  48. package/lib/internal/template/button-dropdown/interfaces.d.ts +2 -0
  49. package/lib/internal/template/button-dropdown/interfaces.d.ts.map +1 -1
  50. package/lib/internal/template/button-dropdown/interfaces.js.map +1 -1
  51. package/lib/internal/template/button-dropdown/internal.d.ts.map +1 -1
  52. package/lib/internal/template/button-dropdown/internal.js +1 -1
  53. package/lib/internal/template/button-dropdown/internal.js.map +1 -1
  54. package/lib/internal/template/button-dropdown/item-element/index.d.ts.map +1 -1
  55. package/lib/internal/template/button-dropdown/item-element/index.js +2 -1
  56. package/lib/internal/template/button-dropdown/item-element/index.js.map +1 -1
  57. package/lib/internal/template/button-dropdown/item-element/styles.css.js +21 -21
  58. package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +37 -37
  59. package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +21 -21
  60. package/lib/internal/template/button-group/interfaces.d.ts +2 -0
  61. package/lib/internal/template/button-group/interfaces.d.ts.map +1 -1
  62. package/lib/internal/template/button-group/interfaces.js.map +1 -1
  63. package/lib/internal/template/checkbox/interfaces.d.ts +2 -0
  64. package/lib/internal/template/checkbox/interfaces.d.ts.map +1 -1
  65. package/lib/internal/template/checkbox/interfaces.js.map +1 -1
  66. package/lib/internal/template/checkbox/styles.css.js +3 -3
  67. package/lib/internal/template/checkbox/styles.scoped.css +11 -11
  68. package/lib/internal/template/checkbox/styles.selectors.js +3 -3
  69. package/lib/internal/template/container/interfaces.d.ts +2 -0
  70. package/lib/internal/template/container/interfaces.d.ts.map +1 -1
  71. package/lib/internal/template/container/interfaces.js.map +1 -1
  72. package/lib/internal/template/content-layout/styles.css.js +14 -14
  73. package/lib/internal/template/content-layout/styles.scoped.css +27 -27
  74. package/lib/internal/template/content-layout/styles.selectors.js +14 -14
  75. package/lib/internal/template/date-picker/index.d.ts.map +1 -1
  76. package/lib/internal/template/date-picker/index.js +1 -1
  77. package/lib/internal/template/date-picker/index.js.map +1 -1
  78. package/lib/internal/template/date-range-picker/index.d.ts.map +1 -1
  79. package/lib/internal/template/date-range-picker/index.js +1 -1
  80. package/lib/internal/template/date-range-picker/index.js.map +1 -1
  81. package/lib/internal/template/flashbar/interfaces.d.ts +2 -0
  82. package/lib/internal/template/flashbar/interfaces.d.ts.map +1 -1
  83. package/lib/internal/template/flashbar/interfaces.js.map +1 -1
  84. package/lib/internal/template/flashbar/styles.css.js +50 -50
  85. package/lib/internal/template/flashbar/styles.scoped.css +187 -187
  86. package/lib/internal/template/flashbar/styles.selectors.js +50 -50
  87. package/lib/internal/template/help-panel/styles.css.js +6 -6
  88. package/lib/internal/template/help-panel/styles.scoped.css +73 -73
  89. package/lib/internal/template/help-panel/styles.selectors.js +6 -6
  90. package/lib/internal/template/input/interfaces.d.ts +2 -0
  91. package/lib/internal/template/input/interfaces.d.ts.map +1 -1
  92. package/lib/internal/template/input/interfaces.js.map +1 -1
  93. package/lib/internal/template/input/styles.css.js +13 -13
  94. package/lib/internal/template/input/styles.d.ts +9 -1
  95. package/lib/internal/template/input/styles.d.ts.map +1 -1
  96. package/lib/internal/template/input/styles.js +2 -39
  97. package/lib/internal/template/input/styles.js.map +1 -1
  98. package/lib/internal/template/input/styles.scoped.css +74 -74
  99. package/lib/internal/template/input/styles.selectors.js +13 -13
  100. package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
  101. package/lib/internal/template/internal/components/autosuggest-input/index.d.ts.map +1 -1
  102. package/lib/internal/template/internal/components/autosuggest-input/index.js +2 -1
  103. package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
  104. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  105. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
  106. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  107. package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.d.ts +9 -9
  108. package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.d.ts.map +1 -1
  109. package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.js +22 -23
  110. package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.js.map +1 -1
  111. package/lib/internal/template/internal/components/dropdown/dropdown-position.d.ts.map +1 -1
  112. package/lib/internal/template/internal/components/dropdown/dropdown-position.js +4 -1
  113. package/lib/internal/template/internal/components/dropdown/dropdown-position.js.map +1 -1
  114. package/lib/internal/template/internal/components/dropdown/index.d.ts +1 -1
  115. package/lib/internal/template/internal/components/dropdown/index.d.ts.map +1 -1
  116. package/lib/internal/template/internal/components/dropdown/index.js +52 -30
  117. package/lib/internal/template/internal/components/dropdown/index.js.map +1 -1
  118. package/lib/internal/template/internal/components/dropdown/interfaces.d.ts +20 -14
  119. package/lib/internal/template/internal/components/dropdown/interfaces.d.ts.map +1 -1
  120. package/lib/internal/template/internal/components/dropdown/interfaces.js.map +1 -1
  121. package/lib/internal/template/internal/components/dropdown/styles.css.js +20 -20
  122. package/lib/internal/template/internal/components/dropdown/styles.scoped.css +39 -38
  123. package/lib/internal/template/internal/components/dropdown/styles.selectors.js +20 -20
  124. package/lib/internal/template/internal/components/radio-button/interfaces.d.ts +2 -0
  125. package/lib/internal/template/internal/components/radio-button/interfaces.d.ts.map +1 -1
  126. package/lib/internal/template/internal/components/radio-button/interfaces.js.map +1 -1
  127. package/lib/internal/template/internal/components/radio-button/styles.css.js +7 -7
  128. package/lib/internal/template/internal/components/radio-button/styles.scoped.css +18 -18
  129. package/lib/internal/template/internal/components/radio-button/styles.selectors.js +7 -7
  130. package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
  131. package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
  132. package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
  133. package/lib/internal/template/internal/environment.js +2 -2
  134. package/lib/internal/template/internal/environment.json +2 -2
  135. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +1 -0
  136. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  137. package/lib/internal/template/internal/generated/custom-css-properties/index.js +139 -138
  138. package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
  139. package/lib/internal/template/internal/utils/data-attributes.d.ts +2 -0
  140. package/lib/internal/template/internal/utils/data-attributes.d.ts.map +1 -0
  141. package/lib/internal/template/internal/utils/data-attributes.js +21 -0
  142. package/lib/internal/template/internal/utils/data-attributes.js.map +1 -0
  143. package/lib/internal/template/internal/utils/input-styles.d.ts +90 -0
  144. package/lib/internal/template/internal/utils/input-styles.d.ts.map +1 -0
  145. package/lib/internal/template/internal/utils/input-styles.js +54 -0
  146. package/lib/internal/template/internal/utils/input-styles.js.map +1 -0
  147. package/lib/internal/template/link/interfaces.d.ts +2 -0
  148. package/lib/internal/template/link/interfaces.d.ts.map +1 -1
  149. package/lib/internal/template/link/interfaces.js.map +1 -1
  150. package/lib/internal/template/link/styles.css.js +20 -20
  151. package/lib/internal/template/link/styles.scoped.css +103 -103
  152. package/lib/internal/template/link/styles.selectors.js +20 -20
  153. package/lib/internal/template/multiselect/internal.d.ts.map +1 -1
  154. package/lib/internal/template/multiselect/internal.js +2 -1
  155. package/lib/internal/template/multiselect/internal.js.map +1 -1
  156. package/lib/internal/template/progress-bar/interfaces.d.ts +2 -0
  157. package/lib/internal/template/progress-bar/interfaces.d.ts.map +1 -1
  158. package/lib/internal/template/progress-bar/interfaces.js.map +1 -1
  159. package/lib/internal/template/progress-bar/styles.css.js +18 -18
  160. package/lib/internal/template/progress-bar/styles.scoped.css +48 -48
  161. package/lib/internal/template/progress-bar/styles.selectors.js +18 -18
  162. package/lib/internal/template/prompt-input/interfaces.d.ts +2 -0
  163. package/lib/internal/template/prompt-input/interfaces.d.ts.map +1 -1
  164. package/lib/internal/template/prompt-input/interfaces.js.map +1 -1
  165. package/lib/internal/template/prompt-input/styles.css.js +17 -17
  166. package/lib/internal/template/prompt-input/styles.scoped.css +79 -79
  167. package/lib/internal/template/prompt-input/styles.selectors.js +17 -17
  168. package/lib/internal/template/radio-group/interfaces.d.ts +2 -0
  169. package/lib/internal/template/radio-group/interfaces.d.ts.map +1 -1
  170. package/lib/internal/template/radio-group/interfaces.js.map +1 -1
  171. package/lib/internal/template/segmented-control/interfaces.d.ts +2 -0
  172. package/lib/internal/template/segmented-control/interfaces.d.ts.map +1 -1
  173. package/lib/internal/template/segmented-control/interfaces.js.map +1 -1
  174. package/lib/internal/template/segmented-control/styles.css.js +16 -16
  175. package/lib/internal/template/segmented-control/styles.scoped.css +46 -46
  176. package/lib/internal/template/segmented-control/styles.selectors.js +16 -16
  177. package/lib/internal/template/select/internal.d.ts.map +1 -1
  178. package/lib/internal/template/select/internal.js +2 -1
  179. package/lib/internal/template/select/internal.js.map +1 -1
  180. package/lib/internal/template/slider/interfaces.d.ts +2 -0
  181. package/lib/internal/template/slider/interfaces.d.ts.map +1 -1
  182. package/lib/internal/template/slider/interfaces.js.map +1 -1
  183. package/lib/internal/template/slider/styles.css.js +26 -26
  184. package/lib/internal/template/slider/styles.scoped.css +165 -165
  185. package/lib/internal/template/slider/styles.selectors.js +26 -26
  186. package/lib/internal/template/spinner/styles.css.js +13 -13
  187. package/lib/internal/template/spinner/styles.scoped.css +39 -39
  188. package/lib/internal/template/spinner/styles.selectors.js +13 -13
  189. package/lib/internal/template/tabs/interfaces.d.ts +2 -0
  190. package/lib/internal/template/tabs/interfaces.d.ts.map +1 -1
  191. package/lib/internal/template/tabs/interfaces.js.map +1 -1
  192. package/lib/internal/template/tabs/styles.css.js +30 -30
  193. package/lib/internal/template/tabs/styles.scoped.css +76 -76
  194. package/lib/internal/template/tabs/styles.selectors.js +30 -30
  195. package/lib/internal/template/tag-editor/styles.css.js +3 -3
  196. package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
  197. package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
  198. package/lib/internal/template/text-content/styles.css.js +1 -1
  199. package/lib/internal/template/text-content/styles.scoped.css +66 -66
  200. package/lib/internal/template/text-content/styles.selectors.js +1 -1
  201. package/lib/internal/template/text-filter/interfaces.d.ts +2 -0
  202. package/lib/internal/template/text-filter/interfaces.d.ts.map +1 -1
  203. package/lib/internal/template/text-filter/interfaces.js.map +1 -1
  204. package/lib/internal/template/text-filter/styles.d.ts +9 -1
  205. package/lib/internal/template/text-filter/styles.d.ts.map +1 -1
  206. package/lib/internal/template/text-filter/styles.js +2 -39
  207. package/lib/internal/template/text-filter/styles.js.map +1 -1
  208. package/lib/internal/template/textarea/interfaces.d.ts +2 -0
  209. package/lib/internal/template/textarea/interfaces.d.ts.map +1 -1
  210. package/lib/internal/template/textarea/interfaces.js.map +1 -1
  211. package/lib/internal/template/textarea/styles.css.js +5 -5
  212. package/lib/internal/template/textarea/styles.d.ts +9 -1
  213. package/lib/internal/template/textarea/styles.d.ts.map +1 -1
  214. package/lib/internal/template/textarea/styles.js +2 -49
  215. package/lib/internal/template/textarea/styles.js.map +1 -1
  216. package/lib/internal/template/textarea/styles.scoped.css +45 -45
  217. package/lib/internal/template/textarea/styles.selectors.js +5 -5
  218. package/lib/internal/template/toggle/interfaces.d.ts +2 -0
  219. package/lib/internal/template/toggle/interfaces.d.ts.map +1 -1
  220. package/lib/internal/template/toggle/interfaces.js.map +1 -1
  221. package/lib/internal/template/toggle/styles.css.js +10 -10
  222. package/lib/internal/template/toggle/styles.scoped.css +23 -23
  223. package/lib/internal/template/toggle/styles.selectors.js +10 -10
  224. package/package.json +1 -1
@@ -69,6 +69,8 @@ export interface ProgressBarProps extends BaseComponentProps {
69
69
  */
70
70
  onResultButtonClick?: NonCancelableEventHandler;
71
71
  /**
72
+ * An object containing CSS properties to customize the progress bar's visual appearance.
73
+ * Refer to the [style](/components/progress-bar/?tabId=style) tab for more details.
72
74
  * @awsuiSystem core
73
75
  */
74
76
  style?: ProgressBarProps.Style;
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/progress-bar/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB;IAC1D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC;IAEjC;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC;IAEnC;;;;;;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AAM,CAAC;SAC1B,CAAC;QACF,kBAAkB,CAAC,EAAE;YACnB,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;KACH;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/progress-bar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport interface ProgressBarProps extends BaseComponentProps {\n /**\n * Indicates the current progress as a percentage. The value must be between 0 and 100. Decimals are rounded.\n */\n value?: number;\n\n /**\n * Specifies the status of the progress bar. You can set it to one of the following:\n *\n * - `\"in-progress\"` - Displays a progress bar.\n * - `\"success\"` or `\"error\"` - Displays a result state and replaces the progress element with a status indicator,\n * `resultText`, and a result button.\n */\n status?: ProgressBarProps.Status;\n\n /**\n * Enables the correct styling of the progress bar in different contexts. You can set it to one of the following:\n *\n * - `\"flash\"` - Use this variant when using the progress bar within a flash component.\n * Note that the result button isn't displayed when using this variant.\n * Use the `buttonText` property and the `onButtonClick` event listener of the flashbar item instead of the result button provided by the progress bar.\n * - `\"key-value\"` - Use this variant when using the progress bar within the key-value pairs pattern.\n * - `\"standalone\"` Use in all other cases. This is the default value.\n */\n variant?: ProgressBarProps.Variant;\n\n /**\n * Specifies the text for the button that's displayed when the `status` is set to `error` or `success`.\n * If `resultButtonText` is empty, the result button isn't displayed.\n *\n * Note: If you use the `flash` variant, the result button isn't displayed.\n * Add a button using the `action` property of the flashbar item instead.\n */\n resultButtonText?: string;\n\n /**\n * Adds an `aria-label` to the progress bar.\n */\n ariaLabel?: string;\n\n /**\n * Adds `aria-labelledby` to the progress bar.\n */\n ariaLabelledby?: string;\n\n /**\n * Adds `aria-describedby` to the progress bar.\n */\n ariaDescribedby?: string;\n\n /**\n * Short description of the operation that appears at the top of the component.\n *\n * Make sure that you always provide a label for accessibility.\n */\n label?: React.ReactNode;\n\n /**\n * More detailed information about the operation that appears below the label.\n */\n description?: React.ReactNode;\n\n /**\n * Information that's displayed below the progress bar or status text.\n */\n additionalInfo?: React.ReactNode;\n\n /**\n * Content that's displayed when `status` is set to `error` or `success`.\n */\n resultText?: React.ReactNode;\n\n /**\n * Called when the user clicks the result state button.\n *\n * Note: If you are using the `flash` variant, the result button isn't displayed.\n * Use the `buttonText` property and the `onButtonClick` event listener of the flashbar item instead.\n */\n onResultButtonClick?: NonCancelableEventHandler;\n\n /**\n * @awsuiSystem core\n */\n style?: ProgressBarProps.Style;\n}\n\nexport namespace ProgressBarProps {\n export type Status = 'in-progress' | 'success' | 'error';\n export type Variant = 'standalone' | 'flash' | 'key-value';\n\n export interface Style {\n progressBar?: {\n backgroundColor?: string;\n borderRadius?: string;\n height?: string;\n };\n progressValue?: {\n backgroundColor?: string;\n };\n progressPercentage?: {\n color?: string;\n fontSize?: string;\n fontWeight?: string;\n };\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/progress-bar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport interface ProgressBarProps extends BaseComponentProps {\n /**\n * Indicates the current progress as a percentage. The value must be between 0 and 100. Decimals are rounded.\n */\n value?: number;\n\n /**\n * Specifies the status of the progress bar. You can set it to one of the following:\n *\n * - `\"in-progress\"` - Displays a progress bar.\n * - `\"success\"` or `\"error\"` - Displays a result state and replaces the progress element with a status indicator,\n * `resultText`, and a result button.\n */\n status?: ProgressBarProps.Status;\n\n /**\n * Enables the correct styling of the progress bar in different contexts. You can set it to one of the following:\n *\n * - `\"flash\"` - Use this variant when using the progress bar within a flash component.\n * Note that the result button isn't displayed when using this variant.\n * Use the `buttonText` property and the `onButtonClick` event listener of the flashbar item instead of the result button provided by the progress bar.\n * - `\"key-value\"` - Use this variant when using the progress bar within the key-value pairs pattern.\n * - `\"standalone\"` Use in all other cases. This is the default value.\n */\n variant?: ProgressBarProps.Variant;\n\n /**\n * Specifies the text for the button that's displayed when the `status` is set to `error` or `success`.\n * If `resultButtonText` is empty, the result button isn't displayed.\n *\n * Note: If you use the `flash` variant, the result button isn't displayed.\n * Add a button using the `action` property of the flashbar item instead.\n */\n resultButtonText?: string;\n\n /**\n * Adds an `aria-label` to the progress bar.\n */\n ariaLabel?: string;\n\n /**\n * Adds `aria-labelledby` to the progress bar.\n */\n ariaLabelledby?: string;\n\n /**\n * Adds `aria-describedby` to the progress bar.\n */\n ariaDescribedby?: string;\n\n /**\n * Short description of the operation that appears at the top of the component.\n *\n * Make sure that you always provide a label for accessibility.\n */\n label?: React.ReactNode;\n\n /**\n * More detailed information about the operation that appears below the label.\n */\n description?: React.ReactNode;\n\n /**\n * Information that's displayed below the progress bar or status text.\n */\n additionalInfo?: React.ReactNode;\n\n /**\n * Content that's displayed when `status` is set to `error` or `success`.\n */\n resultText?: React.ReactNode;\n\n /**\n * Called when the user clicks the result state button.\n *\n * Note: If you are using the `flash` variant, the result button isn't displayed.\n * Use the `buttonText` property and the `onButtonClick` event listener of the flashbar item instead.\n */\n onResultButtonClick?: NonCancelableEventHandler;\n\n /**\n * An object containing CSS properties to customize the progress bar's visual appearance.\n * Refer to the [style](/components/progress-bar/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: ProgressBarProps.Style;\n}\n\nexport namespace ProgressBarProps {\n export type Status = 'in-progress' | 'success' | 'error';\n export type Variant = 'standalone' | 'flash' | 'key-value';\n\n export interface Style {\n progressBar?: {\n backgroundColor?: string;\n borderRadius?: string;\n height?: string;\n };\n progressValue?: {\n backgroundColor?: string;\n };\n progressPercentage?: {\n color?: string;\n fontSize?: string;\n fontWeight?: string;\n };\n }\n}\n"]}
@@ -1,23 +1,23 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "progress": "awsui_progress_11huc_9eel8_189",
5
- "result-state": "awsui_result-state_11huc_9eel8_203",
6
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_9eel8_1",
7
- "root": "awsui_root_11huc_9eel8_225",
8
- "with-result-button": "awsui_with-result-button_11huc_9eel8_257",
9
- "result-text": "awsui_result-text_11huc_9eel8_261",
10
- "result-container-error": "awsui_result-container-error_11huc_9eel8_265",
11
- "result-container-success": "awsui_result-container-success_11huc_9eel8_265",
12
- "result-button": "awsui_result-button_11huc_9eel8_269",
13
- "word-wrap": "awsui_word-wrap_11huc_9eel8_275",
14
- "label-flash": "awsui_label-flash_11huc_9eel8_280",
15
- "label-key-value": "awsui_label-key-value_11huc_9eel8_284",
16
- "flash": "awsui_flash_11huc_9eel8_292",
17
- "progress-container": "awsui_progress-container_11huc_9eel8_296",
18
- "percentage-container": "awsui_percentage-container_11huc_9eel8_303",
19
- "percentage": "awsui_percentage_11huc_9eel8_303",
20
- "complete": "awsui_complete_11huc_9eel8_349",
21
- "additional-info": "awsui_additional-info_11huc_9eel8_363"
4
+ "progress": "awsui_progress_11huc_1exem_189",
5
+ "result-state": "awsui_result-state_11huc_1exem_203",
6
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_1exem_1",
7
+ "root": "awsui_root_11huc_1exem_225",
8
+ "with-result-button": "awsui_with-result-button_11huc_1exem_257",
9
+ "result-text": "awsui_result-text_11huc_1exem_261",
10
+ "result-container-error": "awsui_result-container-error_11huc_1exem_265",
11
+ "result-container-success": "awsui_result-container-success_11huc_1exem_265",
12
+ "result-button": "awsui_result-button_11huc_1exem_269",
13
+ "word-wrap": "awsui_word-wrap_11huc_1exem_275",
14
+ "label-flash": "awsui_label-flash_11huc_1exem_280",
15
+ "label-key-value": "awsui_label-key-value_11huc_1exem_284",
16
+ "flash": "awsui_flash_11huc_1exem_292",
17
+ "progress-container": "awsui_progress-container_11huc_1exem_296",
18
+ "percentage-container": "awsui_percentage-container_11huc_1exem_303",
19
+ "percentage": "awsui_percentage_11huc_1exem_303",
20
+ "complete": "awsui_complete_11huc_1exem_349",
21
+ "additional-info": "awsui_additional-info_11huc_1exem_363"
22
22
  };
23
23
 
@@ -186,27 +186,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
186
186
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
187
187
  SPDX-License-Identifier: Apache-2.0
188
188
  */
189
- .awsui_progress_11huc_9eel8_189:not(#\9)::-webkit-progress-value {
189
+ .awsui_progress_11huc_1exem_189:not(#\9)::-webkit-progress-value {
190
190
  -webkit-transition: width var(--motion-duration-moderate-24bai8, 135ms) linear;
191
191
  transition: width var(--motion-duration-moderate-24bai8, 135ms) linear;
192
192
  }
193
193
  @media (prefers-reduced-motion: reduce) {
194
- .awsui_progress_11huc_9eel8_189:not(#\9)::-webkit-progress-value {
194
+ .awsui_progress_11huc_1exem_189:not(#\9)::-webkit-progress-value {
195
195
  animation: none;
196
196
  -webkit-transition: none;
197
197
  transition: none;
198
198
  }
199
199
  }
200
- .awsui-motion-disabled .awsui_progress_11huc_9eel8_189:not(#\9)::-webkit-progress-value, .awsui-mode-entering .awsui_progress_11huc_9eel8_189:not(#\9)::-webkit-progress-value {
200
+ .awsui-motion-disabled .awsui_progress_11huc_1exem_189:not(#\9)::-webkit-progress-value, .awsui-mode-entering .awsui_progress_11huc_1exem_189:not(#\9)::-webkit-progress-value {
201
201
  animation: none;
202
202
  -webkit-transition: none;
203
203
  transition: none;
204
204
  }
205
205
 
206
- .awsui_result-state_11huc_9eel8_203:not(#\9) {
207
- animation: awsui_awsui-motion-fade-in_11huc_9eel8_1 var(--motion-duration-transition-show-paced-0w35xp, 180ms) var(--motion-easing-transition-show-paced-ufdgkj, ease-out);
206
+ .awsui_result-state_11huc_1exem_203:not(#\9) {
207
+ animation: awsui_awsui-motion-fade-in_11huc_1exem_1 var(--motion-duration-transition-show-paced-0w35xp, 180ms) var(--motion-easing-transition-show-paced-ufdgkj, ease-out);
208
208
  }
209
- @keyframes awsui_awsui-motion-fade-in_11huc_9eel8_1 {
209
+ @keyframes awsui_awsui-motion-fade-in_11huc_1exem_1 {
210
210
  from {
211
211
  opacity: 0.2;
212
212
  }
@@ -215,17 +215,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
215
215
  }
216
216
  }
217
217
  @media (prefers-reduced-motion: reduce) {
218
- .awsui_result-state_11huc_9eel8_203:not(#\9) {
218
+ .awsui_result-state_11huc_1exem_203:not(#\9) {
219
219
  animation: none;
220
220
  transition: none;
221
221
  }
222
222
  }
223
- .awsui-motion-disabled .awsui_result-state_11huc_9eel8_203:not(#\9), .awsui-mode-entering .awsui_result-state_11huc_9eel8_203:not(#\9) {
223
+ .awsui-motion-disabled .awsui_result-state_11huc_1exem_203:not(#\9), .awsui-mode-entering .awsui_result-state_11huc_1exem_203:not(#\9) {
224
224
  animation: none;
225
225
  transition: none;
226
226
  }
227
227
 
228
- .awsui_root_11huc_9eel8_225:not(#\9) {
228
+ .awsui_root_11huc_1exem_225:not(#\9) {
229
229
  border-collapse: separate;
230
230
  border-spacing: 0;
231
231
  box-sizing: border-box;
@@ -257,34 +257,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
257
257
  -moz-osx-font-smoothing: auto;
258
258
  }
259
259
 
260
- .awsui_with-result-button_11huc_9eel8_257:not(#\9) {
260
+ .awsui_with-result-button_11huc_1exem_257:not(#\9) {
261
261
  padding-inline-end: var(--space-m-n2lypl, 16px);
262
262
  }
263
263
 
264
- .awsui_result-text_11huc_9eel8_261:not(#\9) {
264
+ .awsui_result-text_11huc_1exem_261:not(#\9) {
265
265
  /* used in test-utils */
266
266
  }
267
267
 
268
- .awsui_result-container-error_11huc_9eel8_265:not(#\9), .awsui_result-container-success_11huc_9eel8_265:not(#\9) {
268
+ .awsui_result-container-error_11huc_1exem_265:not(#\9), .awsui_result-container-success_11huc_1exem_265:not(#\9) {
269
269
  /* used in test-utils */
270
270
  }
271
271
 
272
- .awsui_result-button_11huc_9eel8_269:not(#\9) {
272
+ .awsui_result-button_11huc_1exem_269:not(#\9) {
273
273
  display: inline-block;
274
274
  margin-block: var(--space-scaled-xxs-jatbiv, 4px);
275
275
  margin-inline: 0;
276
276
  }
277
277
 
278
- .awsui_word-wrap_11huc_9eel8_275:not(#\9) {
278
+ .awsui_word-wrap_11huc_1exem_275:not(#\9) {
279
279
  min-inline-size: 0;
280
280
  word-break: break-word;
281
281
  }
282
282
 
283
- .awsui_label-flash_11huc_9eel8_280:not(#\9) {
283
+ .awsui_label-flash_11huc_1exem_280:not(#\9) {
284
284
  color: inherit;
285
285
  font-weight: 700;
286
286
  }
287
- .awsui_label-key-value_11huc_9eel8_284:not(#\9) {
287
+ .awsui_label-key-value_11huc_1exem_284:not(#\9) {
288
288
  font-size: var(--font-size-body-m-vv54cm, 14px);
289
289
  line-height: var(--line-height-body-m-bedeoh, 22px);
290
290
  font-weight: var(--font-display-label-weight-ise9n2, 400);
@@ -292,18 +292,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
292
292
  margin-block-end: var(--space-scaled-xxxs-prgw5k, 2px);
293
293
  }
294
294
 
295
- .awsui_flash_11huc_9eel8_292:not(#\9) {
295
+ .awsui_flash_11huc_1exem_292:not(#\9) {
296
296
  color: inherit;
297
297
  }
298
298
 
299
- .awsui_progress-container_11huc_9eel8_296:not(#\9) {
299
+ .awsui_progress-container_11huc_1exem_296:not(#\9) {
300
300
  display: flex;
301
301
  align-items: center;
302
302
  max-inline-size: 800px;
303
303
  block-size: var(--line-height-body-m-bedeoh, 22px);
304
304
  }
305
305
 
306
- .awsui_percentage-container_11huc_9eel8_303:not(#\9) {
306
+ .awsui_percentage-container_11huc_1exem_303:not(#\9) {
307
307
  inline-size: 33px;
308
308
  flex-shrink: 0;
309
309
  white-space: nowrap;
@@ -313,56 +313,56 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
313
313
  letter-spacing: var(--letter-spacing-body-s-egrcsd, normal);
314
314
  }
315
315
 
316
- .awsui_percentage_11huc_9eel8_303:not(#\9) {
316
+ .awsui_percentage_11huc_1exem_303:not(#\9) {
317
317
  /* used in test-utils */
318
318
  }
319
319
 
320
- .awsui_progress_11huc_9eel8_189:not(#\9) {
320
+ .awsui_progress_11huc_1exem_189:not(#\9) {
321
321
  inline-size: 100%;
322
322
  margin-inline-end: var(--space-s-4a5hs8, 12px);
323
323
  min-inline-size: 0;
324
- block-size: var(--awsui-progress-bar-height-4hh3rt, 4px);
324
+ block-size: var(--awsui-progress-bar-height-c5ek4l, 4px);
325
325
  border-block: 0;
326
326
  border-inline: none;
327
327
  box-sizing: border-box;
328
- border-start-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
329
- border-start-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
330
- border-end-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
331
- border-end-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
332
- background-color: var(--awsui-progress-bar-background-color-4hh3rt, var(--color-background-progress-bar-default-kw9ow4, #eaeded));
328
+ border-start-start-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
329
+ border-start-end-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
330
+ border-end-start-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
331
+ border-end-end-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
332
+ background-color: var(--awsui-progress-bar-background-color-c5ek4l, var(--color-background-progress-bar-default-kw9ow4, #eaeded));
333
333
  }
334
- .awsui_progress_11huc_9eel8_189:not(#\9)::-webkit-progress-bar {
335
- block-size: var(--awsui-progress-bar-height-4hh3rt, 4px);
334
+ .awsui_progress_11huc_1exem_189:not(#\9)::-webkit-progress-bar {
335
+ block-size: var(--awsui-progress-bar-height-c5ek4l, 4px);
336
336
  border-block: 0;
337
337
  border-inline: none;
338
338
  box-sizing: border-box;
339
- border-start-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
340
- border-start-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
341
- border-end-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
342
- border-end-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
343
- background-color: var(--awsui-progress-bar-background-color-4hh3rt, var(--color-background-progress-bar-default-kw9ow4, #eaeded));
339
+ border-start-start-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
340
+ border-start-end-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
341
+ border-end-start-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
342
+ border-end-end-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
343
+ background-color: var(--awsui-progress-bar-background-color-c5ek4l, var(--color-background-progress-bar-default-kw9ow4, #eaeded));
344
344
  }
345
- .awsui_progress_11huc_9eel8_189:not(#\9)::-webkit-progress-value {
346
- border-start-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
345
+ .awsui_progress_11huc_1exem_189:not(#\9)::-webkit-progress-value {
346
+ border-start-start-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
347
347
  border-start-end-radius: 0;
348
- border-end-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
348
+ border-end-start-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
349
349
  border-end-end-radius: 0;
350
- background-color: var(--awsui-progress-value-background-color-4hh3rt, var(--color-background-progress-bar-value-default-1bekh3, #0073bb));
350
+ background-color: var(--awsui-progress-value-background-color-c5ek4l, var(--color-background-progress-bar-value-default-1bekh3, #0073bb));
351
351
  }
352
- .awsui_progress_11huc_9eel8_189.awsui_complete_11huc_9eel8_349:not(#\9)::-webkit-progress-value {
353
- border-start-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
354
- border-start-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
355
- border-end-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
356
- border-end-end-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
352
+ .awsui_progress_11huc_1exem_189.awsui_complete_11huc_1exem_349:not(#\9)::-webkit-progress-value {
353
+ border-start-start-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
354
+ border-start-end-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
355
+ border-end-start-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
356
+ border-end-end-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
357
357
  }
358
- .awsui_progress_11huc_9eel8_189:not(#\9)::-moz-progress-bar {
359
- border-start-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
358
+ .awsui_progress_11huc_1exem_189:not(#\9)::-moz-progress-bar {
359
+ border-start-start-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
360
360
  border-start-end-radius: 0;
361
- border-end-start-radius: var(--awsui-progress-bar-border-radius-4hh3rt, 10px);
361
+ border-end-start-radius: var(--awsui-progress-bar-border-radius-c5ek4l, 10px);
362
362
  border-end-end-radius: 0;
363
- background-color: var(--awsui-progress-value-background-color-4hh3rt, var(--color-background-progress-bar-value-default-1bekh3, #0073bb));
363
+ background-color: var(--awsui-progress-value-background-color-c5ek4l, var(--color-background-progress-bar-value-default-1bekh3, #0073bb));
364
364
  }
365
365
 
366
- .awsui_additional-info_11huc_9eel8_363:not(#\9) {
366
+ .awsui_additional-info_11huc_1exem_363:not(#\9) {
367
367
  /* used in test-utils */
368
368
  }
@@ -2,23 +2,23 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "progress": "awsui_progress_11huc_9eel8_189",
6
- "result-state": "awsui_result-state_11huc_9eel8_203",
7
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_9eel8_1",
8
- "root": "awsui_root_11huc_9eel8_225",
9
- "with-result-button": "awsui_with-result-button_11huc_9eel8_257",
10
- "result-text": "awsui_result-text_11huc_9eel8_261",
11
- "result-container-error": "awsui_result-container-error_11huc_9eel8_265",
12
- "result-container-success": "awsui_result-container-success_11huc_9eel8_265",
13
- "result-button": "awsui_result-button_11huc_9eel8_269",
14
- "word-wrap": "awsui_word-wrap_11huc_9eel8_275",
15
- "label-flash": "awsui_label-flash_11huc_9eel8_280",
16
- "label-key-value": "awsui_label-key-value_11huc_9eel8_284",
17
- "flash": "awsui_flash_11huc_9eel8_292",
18
- "progress-container": "awsui_progress-container_11huc_9eel8_296",
19
- "percentage-container": "awsui_percentage-container_11huc_9eel8_303",
20
- "percentage": "awsui_percentage_11huc_9eel8_303",
21
- "complete": "awsui_complete_11huc_9eel8_349",
22
- "additional-info": "awsui_additional-info_11huc_9eel8_363"
5
+ "progress": "awsui_progress_11huc_1exem_189",
6
+ "result-state": "awsui_result-state_11huc_1exem_203",
7
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_11huc_1exem_1",
8
+ "root": "awsui_root_11huc_1exem_225",
9
+ "with-result-button": "awsui_with-result-button_11huc_1exem_257",
10
+ "result-text": "awsui_result-text_11huc_1exem_261",
11
+ "result-container-error": "awsui_result-container-error_11huc_1exem_265",
12
+ "result-container-success": "awsui_result-container-success_11huc_1exem_265",
13
+ "result-button": "awsui_result-button_11huc_1exem_269",
14
+ "word-wrap": "awsui_word-wrap_11huc_1exem_275",
15
+ "label-flash": "awsui_label-flash_11huc_1exem_280",
16
+ "label-key-value": "awsui_label-key-value_11huc_1exem_284",
17
+ "flash": "awsui_flash_11huc_1exem_292",
18
+ "progress-container": "awsui_progress-container_11huc_1exem_296",
19
+ "percentage-container": "awsui_percentage-container_11huc_1exem_303",
20
+ "percentage": "awsui_percentage_11huc_1exem_303",
21
+ "complete": "awsui_complete_11huc_1exem_349",
22
+ "additional-info": "awsui_additional-info_11huc_1exem_363"
23
23
  };
24
24
 
@@ -104,6 +104,8 @@ export interface PromptInputProps extends Omit<BaseInputProps, 'nativeInputAttri
104
104
  */
105
105
  nativeTextareaAttributes?: NativeAttributes<React.TextareaHTMLAttributes<HTMLTextAreaElement>>;
106
106
  /**
107
+ * An object containing CSS properties to customize the prompt input's visual appearance.
108
+ * Refer to the [style](/components/prompt-input/?tabId=style) tab for more details.
107
109
  * @awsuiSystem core
108
110
  */
109
111
  style?: PromptInputProps.Style;
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/prompt-input/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wCAAwC,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC9E;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAE5E,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,EAAE,uBAAuB,CAAC,EACnD,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,+BAA+B;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,yBAAyB,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;IACpE;;OAEG;IACH,oBAAoB,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC;IACtC;;;;OAIG;IACH,mBAAmB,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ACZ,OAAO,CAAC,EAAE,MAAM,CAAC;gBACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAClB,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,QAAQ,CAAC,EAAE,MAAM,CAAC;aACnB,CAAC;YACF,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,SAAS,CAAC,EAAE;gBACV,OAAO,CAAC,EAAE,MAAM,CAAC;gBACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAClB,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,QAAQ,CAAC,EAAE,MAAM,CAAC;aACnB,CAAC;YACF,KAAK,CAAC,EAAE;gBACN,OAAO,CAAC,EAAE,MAAM,CAAC;gBACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAClB,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,QAAQ,CAAC,EAAE,MAAM,CAAC;aACnB,CAAC;YACF,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,aAAa,CAAC,EAAE,MAAM,CAAC;SACxB,CAAC;QACF,WAAW,CAAC,EAAE;YACZ,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;KACH;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/prompt-input/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { IconProps } from '../icon/interfaces';\nimport {\n BaseChangeDetail,\n BaseInputProps,\n InputAutoComplete,\n InputAutoCorrect,\n InputKeyEvents,\n InputSpellcheck,\n} from '../input/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { FormFieldValidationControlProps } from '../internal/context/form-field-context';\nimport { BaseKeyDetail, NonCancelableEventHandler } from '../internal/events';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../internal/utils/with-native-attributes';\n\nexport interface PromptInputProps\n extends Omit<BaseInputProps, 'nativeInputAttributes'>,\n InputKeyEvents,\n InputAutoCorrect,\n InputAutoComplete,\n InputSpellcheck,\n BaseComponentProps,\n FormFieldValidationControlProps {\n /**\n * Called whenever a user clicks the action button or presses the \"Enter\" key.\n * The event `detail` contains the current value of the field.\n */\n onAction?: NonCancelableEventHandler<PromptInputProps.ActionDetail>;\n /**\n * Determines what icon to display in the action button.\n */\n actionButtonIconName?: IconProps.Name;\n /**\n * Specifies the URL of a custom icon. Use this property if the icon you want isn't available.\n *\n * If you set both `actionButtonIconUrl` and `actionButtonIconSvg`, `actionButtonIconSvg` will take precedence.\n */\n actionButtonIconUrl?: string;\n /**\n * Specifies the SVG of a custom icon.\n *\n * Use this property if you want your custom icon to inherit colors dictated by variant or hover states.\n * When this property is set, the component will be decorated with `aria-hidden=\"true\"`. Ensure that the `svg` element:\n * - has attribute `focusable=\"false\"`.\n * - has `viewBox=\"0 0 16 16\"`.\n *\n * If you set the `svg` element as the root node of the slot, the component will automatically\n * - set `stroke=\"currentColor\"`, `fill=\"none\"`, and `vertical-align=\"top\"`.\n * - set the stroke width based on the size of the icon.\n * - set the width and height of the SVG element based on the size of the icon.\n *\n * If you don't want these styles to be automatically set, wrap the `svg` element into a `span`.\n * You can still set the stroke to `currentColor` to inherit the color of the surrounding elements.\n *\n * If you set both `actionButtonIconUrl` and `actionButtonIconSvg`, `iconSvg` will take precedence.\n *\n * *Note:* Remember to remove any additional elements (for example: `defs`) and related CSS classes from SVG files exported from design software.\n * In most cases, they aren't needed, as the `svg` element inherits styles from the icon component.\n */\n actionButtonIconSvg?: React.ReactNode;\n /**\n * Specifies alternate text for a custom icon. We recommend that you provide this for accessibility.\n * This property is ignored if you use a predefined icon or if you set your custom icon using the `iconSvg` slot.\n */\n actionButtonIconAlt?: string;\n /**\n * Adds an aria-label to the action button.\n * @i18n\n */\n actionButtonAriaLabel?: string;\n\n /**\n * Specifies whether to disable the action button.\n */\n disableActionButton?: boolean;\n\n /**\n * Specifies the minimum number of lines of text to set the height to.\n */\n minRows?: number;\n\n /**\n * Specifies the maximum number of lines of text the textarea will expand to.\n * Defaults to 3. Use -1 for infinite rows.\n */\n maxRows?: number;\n\n /**\n * Use this to replace the primary action.\n * If this is provided then any other `actionButton*` properties will be ignored.\n * Note that you should still provide an `onAction` function in order to handle keyboard submission.\n *\n * @awsuiSystem core\n */\n customPrimaryAction?: React.ReactNode;\n\n /**\n * Use this slot to add secondary actions to the prompt input.\n */\n secondaryActions?: React.ReactNode;\n\n /**\n * Use this slot to add secondary content, such as file attachments, to the prompt input.\n */\n secondaryContent?: React.ReactNode;\n\n /**\n * Determines whether the secondary actions area of the input has padding. If true, removes the default padding from the secondary actions area.\n */\n disableSecondaryActionsPaddings?: boolean;\n\n /**\n * Determines whether the secondary content area of the input has padding. If true, removes the default padding from the secondary content area.\n */\n disableSecondaryContentPaddings?: boolean;\n\n /**\n * Attributes to add to the native `textarea` element.\n * Some attributes will be automatically combined with internal attribute values:\n * - `className` will be appended.\n * - Event handlers will be chained, unless the default is prevented.\n *\n * We do not support using this attribute to apply custom styling.\n *\n * @awsuiSystem core\n */\n nativeTextareaAttributes?: NativeAttributes<React.TextareaHTMLAttributes<HTMLTextAreaElement>>;\n\n /**\n * @awsuiSystem core\n */\n style?: PromptInputProps.Style;\n}\n\nexport namespace PromptInputProps {\n export type KeyDetail = BaseKeyDetail;\n export type ActionDetail = BaseChangeDetail;\n\n export interface Ref {\n /**\n * Sets input focus on the textarea control.\n */\n focus(): void;\n\n /**\n * Selects all text in the textarea control.\n */\n select(): void;\n\n /**\n * Selects a range of text in the textarea control.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange\n * for more details on this method. Be aware that using this method in React has some\n * common pitfalls: https://stackoverflow.com/questions/60129605/is-javascripts-setselectionrange-incompatible-with-react-hooks\n */\n setSelectionRange(start: number | null, end: number | null, direction?: 'forward' | 'backward' | 'none'): void;\n }\n\n export interface Style {\n root?: {\n backgroundColor?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n borderColor?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n borderRadius?: string;\n borderWidth?: string;\n boxShadow?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n color?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n fontSize?: string;\n fontWeight?: string;\n paddingBlock?: string;\n paddingInline?: string;\n };\n placeholder?: {\n color?: string;\n fontSize?: string;\n fontStyle?: string;\n fontWeight?: string;\n };\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/prompt-input/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { IconProps } from '../icon/interfaces';\nimport {\n BaseChangeDetail,\n BaseInputProps,\n InputAutoComplete,\n InputAutoCorrect,\n InputKeyEvents,\n InputSpellcheck,\n} from '../input/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { FormFieldValidationControlProps } from '../internal/context/form-field-context';\nimport { BaseKeyDetail, NonCancelableEventHandler } from '../internal/events';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../internal/utils/with-native-attributes';\n\nexport interface PromptInputProps\n extends Omit<BaseInputProps, 'nativeInputAttributes'>,\n InputKeyEvents,\n InputAutoCorrect,\n InputAutoComplete,\n InputSpellcheck,\n BaseComponentProps,\n FormFieldValidationControlProps {\n /**\n * Called whenever a user clicks the action button or presses the \"Enter\" key.\n * The event `detail` contains the current value of the field.\n */\n onAction?: NonCancelableEventHandler<PromptInputProps.ActionDetail>;\n /**\n * Determines what icon to display in the action button.\n */\n actionButtonIconName?: IconProps.Name;\n /**\n * Specifies the URL of a custom icon. Use this property if the icon you want isn't available.\n *\n * If you set both `actionButtonIconUrl` and `actionButtonIconSvg`, `actionButtonIconSvg` will take precedence.\n */\n actionButtonIconUrl?: string;\n /**\n * Specifies the SVG of a custom icon.\n *\n * Use this property if you want your custom icon to inherit colors dictated by variant or hover states.\n * When this property is set, the component will be decorated with `aria-hidden=\"true\"`. Ensure that the `svg` element:\n * - has attribute `focusable=\"false\"`.\n * - has `viewBox=\"0 0 16 16\"`.\n *\n * If you set the `svg` element as the root node of the slot, the component will automatically\n * - set `stroke=\"currentColor\"`, `fill=\"none\"`, and `vertical-align=\"top\"`.\n * - set the stroke width based on the size of the icon.\n * - set the width and height of the SVG element based on the size of the icon.\n *\n * If you don't want these styles to be automatically set, wrap the `svg` element into a `span`.\n * You can still set the stroke to `currentColor` to inherit the color of the surrounding elements.\n *\n * If you set both `actionButtonIconUrl` and `actionButtonIconSvg`, `iconSvg` will take precedence.\n *\n * *Note:* Remember to remove any additional elements (for example: `defs`) and related CSS classes from SVG files exported from design software.\n * In most cases, they aren't needed, as the `svg` element inherits styles from the icon component.\n */\n actionButtonIconSvg?: React.ReactNode;\n /**\n * Specifies alternate text for a custom icon. We recommend that you provide this for accessibility.\n * This property is ignored if you use a predefined icon or if you set your custom icon using the `iconSvg` slot.\n */\n actionButtonIconAlt?: string;\n /**\n * Adds an aria-label to the action button.\n * @i18n\n */\n actionButtonAriaLabel?: string;\n\n /**\n * Specifies whether to disable the action button.\n */\n disableActionButton?: boolean;\n\n /**\n * Specifies the minimum number of lines of text to set the height to.\n */\n minRows?: number;\n\n /**\n * Specifies the maximum number of lines of text the textarea will expand to.\n * Defaults to 3. Use -1 for infinite rows.\n */\n maxRows?: number;\n\n /**\n * Use this to replace the primary action.\n * If this is provided then any other `actionButton*` properties will be ignored.\n * Note that you should still provide an `onAction` function in order to handle keyboard submission.\n *\n * @awsuiSystem core\n */\n customPrimaryAction?: React.ReactNode;\n\n /**\n * Use this slot to add secondary actions to the prompt input.\n */\n secondaryActions?: React.ReactNode;\n\n /**\n * Use this slot to add secondary content, such as file attachments, to the prompt input.\n */\n secondaryContent?: React.ReactNode;\n\n /**\n * Determines whether the secondary actions area of the input has padding. If true, removes the default padding from the secondary actions area.\n */\n disableSecondaryActionsPaddings?: boolean;\n\n /**\n * Determines whether the secondary content area of the input has padding. If true, removes the default padding from the secondary content area.\n */\n disableSecondaryContentPaddings?: boolean;\n\n /**\n * Attributes to add to the native `textarea` element.\n * Some attributes will be automatically combined with internal attribute values:\n * - `className` will be appended.\n * - Event handlers will be chained, unless the default is prevented.\n *\n * We do not support using this attribute to apply custom styling.\n *\n * @awsuiSystem core\n */\n nativeTextareaAttributes?: NativeAttributes<React.TextareaHTMLAttributes<HTMLTextAreaElement>>;\n\n /**\n * An object containing CSS properties to customize the prompt input's visual appearance.\n * Refer to the [style](/components/prompt-input/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: PromptInputProps.Style;\n}\n\nexport namespace PromptInputProps {\n export type KeyDetail = BaseKeyDetail;\n export type ActionDetail = BaseChangeDetail;\n\n export interface Ref {\n /**\n * Sets input focus on the textarea control.\n */\n focus(): void;\n\n /**\n * Selects all text in the textarea control.\n */\n select(): void;\n\n /**\n * Selects a range of text in the textarea control.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange\n * for more details on this method. Be aware that using this method in React has some\n * common pitfalls: https://stackoverflow.com/questions/60129605/is-javascripts-setselectionrange-incompatible-with-react-hooks\n */\n setSelectionRange(start: number | null, end: number | null, direction?: 'forward' | 'backward' | 'none'): void;\n }\n\n export interface Style {\n root?: {\n backgroundColor?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n borderColor?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n borderRadius?: string;\n borderWidth?: string;\n boxShadow?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n color?: {\n default?: string;\n disabled?: string;\n focus?: string;\n hover?: string;\n readonly?: string;\n };\n fontSize?: string;\n fontWeight?: string;\n paddingBlock?: string;\n paddingInline?: string;\n };\n placeholder?: {\n color?: string;\n fontSize?: string;\n fontStyle?: string;\n fontWeight?: string;\n };\n }\n}\n"]}
@@ -1,22 +1,22 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_55fkh_kc3uh_146",
5
- "textarea-readonly": "awsui_textarea-readonly_55fkh_kc3uh_191",
6
- "disabled": "awsui_disabled_55fkh_kc3uh_197",
7
- "textarea-invalid": "awsui_textarea-invalid_55fkh_kc3uh_205",
8
- "textarea-warning": "awsui_textarea-warning_55fkh_kc3uh_230",
9
- "textarea": "awsui_textarea_55fkh_kc3uh_191",
10
- "invalid": "awsui_invalid_55fkh_kc3uh_333",
11
- "warning": "awsui_warning_55fkh_kc3uh_333",
12
- "textarea-wrapper": "awsui_textarea-wrapper_55fkh_kc3uh_347",
13
- "primary-action": "awsui_primary-action_55fkh_kc3uh_351",
14
- "action-button": "awsui_action-button_55fkh_kc3uh_359",
15
- "secondary-content": "awsui_secondary-content_55fkh_kc3uh_364",
16
- "with-paddings": "awsui_with-paddings_55fkh_kc3uh_399",
17
- "action-stripe": "awsui_action-stripe_55fkh_kc3uh_409",
18
- "secondary-actions": "awsui_secondary-actions_55fkh_kc3uh_448",
19
- "with-paddings-and-actions": "awsui_with-paddings-and-actions_55fkh_kc3uh_465",
20
- "buffer": "awsui_buffer_55fkh_kc3uh_469"
4
+ "root": "awsui_root_55fkh_5s8rl_146",
5
+ "textarea-readonly": "awsui_textarea-readonly_55fkh_5s8rl_191",
6
+ "disabled": "awsui_disabled_55fkh_5s8rl_197",
7
+ "textarea-invalid": "awsui_textarea-invalid_55fkh_5s8rl_205",
8
+ "textarea-warning": "awsui_textarea-warning_55fkh_5s8rl_230",
9
+ "textarea": "awsui_textarea_55fkh_5s8rl_191",
10
+ "invalid": "awsui_invalid_55fkh_5s8rl_333",
11
+ "warning": "awsui_warning_55fkh_5s8rl_333",
12
+ "textarea-wrapper": "awsui_textarea-wrapper_55fkh_5s8rl_347",
13
+ "primary-action": "awsui_primary-action_55fkh_5s8rl_351",
14
+ "action-button": "awsui_action-button_55fkh_5s8rl_359",
15
+ "secondary-content": "awsui_secondary-content_55fkh_5s8rl_364",
16
+ "with-paddings": "awsui_with-paddings_55fkh_5s8rl_399",
17
+ "action-stripe": "awsui_action-stripe_55fkh_5s8rl_409",
18
+ "secondary-actions": "awsui_secondary-actions_55fkh_5s8rl_448",
19
+ "with-paddings-and-actions": "awsui_with-paddings-and-actions_55fkh_5s8rl_465",
20
+ "buffer": "awsui_buffer_55fkh_5s8rl_469"
21
21
  };
22
22