@cloudscape-design/components 3.0.1304 → 3.0.1305

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 (169) 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 +32 -32
  14. package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
  15. package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
  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 +29 -27
  20. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +123 -54
  21. package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +29 -27
  22. package/app-layout/visual-refresh-toolbar/state/props-merger.js +3 -3
  23. package/app-layout/visual-refresh-toolbar/state/props-merger.js.map +1 -1
  24. package/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map +1 -1
  25. package/app-layout/visual-refresh-toolbar/state/use-app-layout.js +2 -1
  26. package/app-layout/visual-refresh-toolbar/state/use-app-layout.js.map +1 -1
  27. package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.d.ts.map +1 -1
  28. package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js +5 -0
  29. package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js.map +1 -1
  30. package/attribute-editor/styles.css.js +15 -15
  31. package/attribute-editor/styles.scoped.css +28 -28
  32. package/attribute-editor/styles.selectors.js +15 -15
  33. package/breadcrumb-group/item/styles.css.js +7 -7
  34. package/breadcrumb-group/item/styles.scoped.css +28 -28
  35. package/breadcrumb-group/item/styles.selectors.js +7 -7
  36. package/button/styles.css.js +22 -22
  37. package/button/styles.scoped.css +256 -256
  38. package/button/styles.selectors.js +22 -22
  39. package/button-dropdown/item-element/styles.css.js +21 -21
  40. package/button-dropdown/item-element/styles.scoped.css +37 -37
  41. package/button-dropdown/item-element/styles.selectors.js +21 -21
  42. package/calendar/styles.css.js +21 -21
  43. package/calendar/styles.scoped.css +44 -44
  44. package/calendar/styles.selectors.js +21 -21
  45. package/checkbox/styles.css.js +3 -3
  46. package/checkbox/styles.scoped.css +11 -11
  47. package/checkbox/styles.selectors.js +3 -3
  48. package/content-layout/styles.css.js +14 -14
  49. package/content-layout/styles.scoped.css +27 -27
  50. package/content-layout/styles.selectors.js +14 -14
  51. package/date-range-picker/calendar/grids/styles.css.js +30 -30
  52. package/date-range-picker/calendar/grids/styles.scoped.css +56 -56
  53. package/date-range-picker/calendar/grids/styles.selectors.js +30 -30
  54. package/dropdown/styles.css.js +20 -20
  55. package/dropdown/styles.scoped.css +49 -49
  56. package/dropdown/styles.selectors.js +20 -20
  57. package/expandable-section/styles.css.js +35 -35
  58. package/expandable-section/styles.scoped.css +66 -68
  59. package/expandable-section/styles.selectors.js +35 -35
  60. package/file-token-group/styles.css.js +23 -23
  61. package/file-token-group/styles.scoped.css +36 -36
  62. package/file-token-group/styles.selectors.js +23 -23
  63. package/flashbar/styles.css.js +50 -50
  64. package/flashbar/styles.scoped.css +187 -187
  65. package/flashbar/styles.selectors.js +50 -50
  66. package/help-panel/styles.css.js +6 -6
  67. package/help-panel/styles.scoped.css +73 -73
  68. package/help-panel/styles.selectors.js +6 -6
  69. package/icon/interfaces.d.ts +1 -1
  70. package/icon/interfaces.d.ts.map +1 -1
  71. package/icon/interfaces.js.map +1 -1
  72. package/icon/internal.d.ts.map +1 -1
  73. package/icon/internal.js +4 -86
  74. package/icon/internal.js.map +1 -1
  75. package/icon/styles.css.js +39 -41
  76. package/icon/styles.scoped.css +110 -135
  77. package/icon/styles.selectors.js +39 -41
  78. package/icon-provider/context.d.ts +3 -34
  79. package/icon-provider/context.d.ts.map +1 -1
  80. package/icon-provider/context.js +3 -7
  81. package/icon-provider/context.js.map +1 -1
  82. package/icon-provider/index.d.ts +0 -3
  83. package/icon-provider/index.d.ts.map +1 -1
  84. package/icon-provider/index.js +0 -3
  85. package/icon-provider/index.js.map +1 -1
  86. package/icon-provider/interfaces.d.ts +0 -52
  87. package/icon-provider/interfaces.d.ts.map +1 -1
  88. package/icon-provider/interfaces.js.map +1 -1
  89. package/icon-provider/internal.d.ts +1 -3
  90. package/icon-provider/internal.d.ts.map +1 -1
  91. package/icon-provider/internal.js +4 -13
  92. package/icon-provider/internal.js.map +1 -1
  93. package/input/styles.css.js +18 -18
  94. package/input/styles.scoped.css +82 -82
  95. package/input/styles.selectors.js +18 -18
  96. package/internal/base-component/styles.scoped.css +17 -8
  97. package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  98. package/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
  99. package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  100. package/internal/components/radio-button/styles.css.js +7 -7
  101. package/internal/components/radio-button/styles.scoped.css +18 -18
  102. package/internal/components/radio-button/styles.selectors.js +7 -7
  103. package/internal/components/token-list/styles.css.js +10 -10
  104. package/internal/components/token-list/styles.scoped.css +25 -25
  105. package/internal/components/token-list/styles.selectors.js +10 -10
  106. package/internal/environment.js +2 -2
  107. package/internal/environment.json +2 -2
  108. package/internal/generated/custom-css-properties/index.d.ts +0 -3
  109. package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  110. package/internal/generated/custom-css-properties/index.js +159 -162
  111. package/internal/generated/custom-css-properties/index.js.map +1 -1
  112. package/internal/generated/styles/tokens.d.ts +7 -7
  113. package/internal/generated/styles/tokens.js +7 -7
  114. package/internal/generated/theming/index.cjs +93 -39
  115. package/internal/generated/theming/index.cjs.d.ts +72 -63
  116. package/internal/generated/theming/index.d.ts +72 -63
  117. package/internal/generated/theming/index.js +93 -39
  118. package/internal/manifest.json +1 -1
  119. package/item-card/styles.css.js +14 -14
  120. package/item-card/styles.scoped.css +63 -63
  121. package/item-card/styles.selectors.js +14 -14
  122. package/link/styles.css.js +21 -21
  123. package/link/styles.scoped.css +104 -104
  124. package/link/styles.selectors.js +21 -21
  125. package/manifest.json +2 -2
  126. package/modal/styles.css.js +31 -31
  127. package/modal/styles.scoped.css +48 -48
  128. package/modal/styles.selectors.js +31 -31
  129. package/navigable-group/index.d.ts +0 -3
  130. package/navigable-group/index.d.ts.map +1 -1
  131. package/navigable-group/index.js +0 -3
  132. package/navigable-group/index.js.map +1 -1
  133. package/package.json +1 -1
  134. package/progress-bar/styles.css.js +18 -18
  135. package/progress-bar/styles.scoped.css +48 -48
  136. package/progress-bar/styles.selectors.js +18 -18
  137. package/prompt-input/styles.css.js +26 -26
  138. package/prompt-input/styles.scoped.css +105 -105
  139. package/prompt-input/styles.selectors.js +26 -26
  140. package/segmented-control/styles.css.js +16 -16
  141. package/segmented-control/styles.scoped.css +46 -46
  142. package/segmented-control/styles.selectors.js +16 -16
  143. package/slider/styles.css.js +26 -26
  144. package/slider/styles.scoped.css +165 -165
  145. package/slider/styles.selectors.js +26 -26
  146. package/spinner/styles.css.js +13 -13
  147. package/spinner/styles.scoped.css +39 -39
  148. package/spinner/styles.selectors.js +13 -13
  149. package/tabs/styles.css.js +30 -30
  150. package/tabs/styles.scoped.css +76 -76
  151. package/tabs/styles.selectors.js +30 -30
  152. package/tag-editor/styles.css.js +3 -3
  153. package/tag-editor/styles.scoped.css +13 -13
  154. package/tag-editor/styles.selectors.js +3 -3
  155. package/text-content/styles.css.js +1 -1
  156. package/text-content/styles.scoped.css +66 -66
  157. package/text-content/styles.selectors.js +1 -1
  158. package/textarea/styles.css.js +5 -5
  159. package/textarea/styles.scoped.css +45 -45
  160. package/textarea/styles.selectors.js +5 -5
  161. package/toggle/styles.css.js +10 -10
  162. package/toggle/styles.scoped.css +23 -23
  163. package/toggle/styles.selectors.js +10 -10
  164. package/toggle-button/styles.css.js +3 -3
  165. package/toggle-button/styles.scoped.css +6 -2
  166. package/toggle-button/styles.selectors.js +3 -3
  167. package/token/styles.css.js +14 -14
  168. package/token/styles.scoped.css +46 -46
  169. package/token/styles.selectors.js +14 -14
@@ -2,46 +2,44 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "icon": "awsui_icon_h11ix_106m5_189",
6
- "icon-flex-height": "awsui_icon-flex-height_h11ix_106m5_197",
7
- "size-x-small": "awsui_size-x-small_h11ix_106m5_225",
8
- "size-x-small-mapped-height": "awsui_size-x-small-mapped-height_h11ix_106m5_230",
9
- "size-small": "awsui_size-small_h11ix_106m5_245",
10
- "size-small-mapped-height": "awsui_size-small-mapped-height_h11ix_106m5_250",
11
- "size-normal": "awsui_size-normal_h11ix_106m5_265",
12
- "size-normal-mapped-height": "awsui_size-normal-mapped-height_h11ix_106m5_270",
13
- "size-medium": "awsui_size-medium_h11ix_106m5_285",
14
- "size-medium-mapped-height": "awsui_size-medium-mapped-height_h11ix_106m5_290",
15
- "size-big": "awsui_size-big_h11ix_106m5_305",
16
- "size-big-mapped-height": "awsui_size-big-mapped-height_h11ix_106m5_310",
17
- "size-large": "awsui_size-large_h11ix_106m5_325",
18
- "size-large-mapped-height": "awsui_size-large-mapped-height_h11ix_106m5_330",
19
- "variant-normal": "awsui_variant-normal_h11ix_106m5_345",
20
- "variant-disabled": "awsui_variant-disabled_h11ix_106m5_348",
21
- "variant-inverted": "awsui_variant-inverted_h11ix_106m5_351",
22
- "variant-subtle": "awsui_variant-subtle_h11ix_106m5_354",
23
- "variant-warning": "awsui_variant-warning_h11ix_106m5_357",
24
- "variant-error": "awsui_variant-error_h11ix_106m5_360",
25
- "variant-success": "awsui_variant-success_h11ix_106m5_363",
26
- "variant-link": "awsui_variant-link_h11ix_106m5_366",
27
- "name-angle-left-double": "awsui_name-angle-left-double_h11ix_106m5_369",
28
- "name-angle-left": "awsui_name-angle-left_h11ix_106m5_369",
29
- "name-angle-right-double": "awsui_name-angle-right-double_h11ix_106m5_371",
30
- "name-angle-right": "awsui_name-angle-right_h11ix_106m5_371",
31
- "name-arrow-left": "awsui_name-arrow-left_h11ix_106m5_373",
32
- "name-arrow-right": "awsui_name-arrow-right_h11ix_106m5_374",
33
- "name-caret-left-filled": "awsui_name-caret-left-filled_h11ix_106m5_375",
34
- "name-caret-right-filled": "awsui_name-caret-right-filled_h11ix_106m5_376",
35
- "name-audio-full": "awsui_name-audio-full_h11ix_106m5_377",
36
- "name-audio-half": "awsui_name-audio-half_h11ix_106m5_378",
37
- "name-audio-off": "awsui_name-audio-off_h11ix_106m5_379",
38
- "name-external": "awsui_name-external_h11ix_106m5_380",
39
- "name-redo": "awsui_name-redo_h11ix_106m5_381",
40
- "name-resize-area": "awsui_name-resize-area_h11ix_106m5_382",
41
- "name-send": "awsui_name-send_h11ix_106m5_383",
42
- "name-shrink": "awsui_name-shrink_h11ix_106m5_384",
43
- "name-undo": "awsui_name-undo_h11ix_106m5_385",
44
- "name-view-vertical": "awsui_name-view-vertical_h11ix_106m5_386",
45
- "badge": "awsui_badge_h11ix_106m5_410"
5
+ "icon": "awsui_icon_h11ix_y1ugs_189",
6
+ "icon-flex-height": "awsui_icon-flex-height_h11ix_y1ugs_197",
7
+ "size-small": "awsui_size-small_h11ix_y1ugs_225",
8
+ "size-small-mapped-height": "awsui_size-small-mapped-height_h11ix_y1ugs_229",
9
+ "size-normal": "awsui_size-normal_h11ix_y1ugs_244",
10
+ "size-normal-mapped-height": "awsui_size-normal-mapped-height_h11ix_y1ugs_248",
11
+ "size-medium": "awsui_size-medium_h11ix_y1ugs_263",
12
+ "size-medium-mapped-height": "awsui_size-medium-mapped-height_h11ix_y1ugs_267",
13
+ "size-big": "awsui_size-big_h11ix_y1ugs_282",
14
+ "size-big-mapped-height": "awsui_size-big-mapped-height_h11ix_y1ugs_286",
15
+ "size-large": "awsui_size-large_h11ix_y1ugs_301",
16
+ "size-large-mapped-height": "awsui_size-large-mapped-height_h11ix_y1ugs_305",
17
+ "variant-normal": "awsui_variant-normal_h11ix_y1ugs_320",
18
+ "variant-disabled": "awsui_variant-disabled_h11ix_y1ugs_323",
19
+ "variant-inverted": "awsui_variant-inverted_h11ix_y1ugs_326",
20
+ "variant-subtle": "awsui_variant-subtle_h11ix_y1ugs_329",
21
+ "variant-warning": "awsui_variant-warning_h11ix_y1ugs_332",
22
+ "variant-error": "awsui_variant-error_h11ix_y1ugs_335",
23
+ "variant-success": "awsui_variant-success_h11ix_y1ugs_338",
24
+ "variant-link": "awsui_variant-link_h11ix_y1ugs_341",
25
+ "name-angle-left-double": "awsui_name-angle-left-double_h11ix_y1ugs_344",
26
+ "name-angle-left": "awsui_name-angle-left_h11ix_y1ugs_344",
27
+ "name-angle-right-double": "awsui_name-angle-right-double_h11ix_y1ugs_346",
28
+ "name-angle-right": "awsui_name-angle-right_h11ix_y1ugs_346",
29
+ "name-arrow-left": "awsui_name-arrow-left_h11ix_y1ugs_348",
30
+ "name-arrow-right": "awsui_name-arrow-right_h11ix_y1ugs_349",
31
+ "name-caret-left-filled": "awsui_name-caret-left-filled_h11ix_y1ugs_350",
32
+ "name-caret-right-filled": "awsui_name-caret-right-filled_h11ix_y1ugs_351",
33
+ "name-audio-full": "awsui_name-audio-full_h11ix_y1ugs_352",
34
+ "name-audio-half": "awsui_name-audio-half_h11ix_y1ugs_353",
35
+ "name-audio-off": "awsui_name-audio-off_h11ix_y1ugs_354",
36
+ "name-external": "awsui_name-external_h11ix_y1ugs_355",
37
+ "name-redo": "awsui_name-redo_h11ix_y1ugs_356",
38
+ "name-resize-area": "awsui_name-resize-area_h11ix_y1ugs_357",
39
+ "name-send": "awsui_name-send_h11ix_y1ugs_358",
40
+ "name-shrink": "awsui_name-shrink_h11ix_y1ugs_359",
41
+ "name-undo": "awsui_name-undo_h11ix_y1ugs_360",
42
+ "name-view-vertical": "awsui_name-view-vertical_h11ix_y1ugs_361",
43
+ "badge": "awsui_badge_h11ix_y1ugs_385"
46
44
  };
47
45
 
@@ -1,37 +1,6 @@
1
1
  import { IconProviderProps } from './interfaces';
2
2
  /**
3
- * A mapping from each icon size variant to an optional target pixel size.
4
- * When a key is set, icons that would normally render at that size will instead have their
5
- * inline-size (both wrapper span and child SVG) set to the target pixel value.
6
- * An empty object means no overrides — icons render at their original size.
3
+ * Preload the context with the existing icon set.
4
+ * This allows the Icon component to have these icons available in the context even when no IconProvider is used.
7
5
  */
8
- export type IconSizeOverrideMap = Partial<Record<string, number>>;
9
- /**
10
- * A mapping from each icon size variant to an optional stroke-width value.
11
- * When a key is set, icons at that size will use the specified stroke-width
12
- * instead of the default token value and automatic compensation.
13
- * An empty object means no overrides — icons use their token-defined stroke-widths.
14
- */
15
- export type IconStrokeWidthOverrideMap = Partial<Record<string, number>>;
16
- export interface InternalIconContextValue {
17
- icons: IconProviderProps.Icons;
18
- /**
19
- * Per-size-variant icon size overrides (in pixels).
20
- * Each key corresponds to an icon size variant (e.g. "normal", "inherit");
21
- * the value is the target pixel size number (e.g. 12).
22
- * An empty object means no overrides.
23
- */
24
- sizeOverrides: IconSizeOverrideMap;
25
- /**
26
- * Per-size-variant stroke-width overrides.
27
- * Each key corresponds to an icon size variant (e.g. "normal", "small");
28
- * the value is the target stroke-width number in pixels (e.g. 1.5).
29
- * An empty object means no overrides.
30
- */
31
- strokeWidthOverrides: IconStrokeWidthOverrideMap;
32
- }
33
- /**
34
- * Combined internal context for the IconProvider.
35
- * Preloaded with the generated icon set so Icon components work without an explicit IconProvider.
36
- */
37
- export declare const InternalIconContext: import("react").Context<InternalIconContextValue>;
6
+ export declare const InternalIconContext: import("react").Context<IconProviderProps.Icons>;
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/icon-provider/context.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAElE;;;;;GAKG;AACH,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAEzE,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC;IAC/B;;;;;OAKG;IACH,aAAa,EAAE,mBAAmB,CAAC;IACnC;;;;;OAKG;IACH,oBAAoB,EAAE,0BAA0B,CAAC;CAClD;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,mDAI9B,CAAC"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/icon-provider/context.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,kDAAyD,CAAC"}
@@ -3,12 +3,8 @@
3
3
  import { createContext } from 'react';
4
4
  import generatedIcons from '../icon/generated/icons';
5
5
  /**
6
- * Combined internal context for the IconProvider.
7
- * Preloaded with the generated icon set so Icon components work without an explicit IconProvider.
6
+ * Preload the context with the existing icon set.
7
+ * This allows the Icon component to have these icons available in the context even when no IconProvider is used.
8
8
  */
9
- export const InternalIconContext = createContext({
10
- icons: generatedIcons,
11
- sizeOverrides: {},
12
- strokeWidthOverrides: {},
13
- });
9
+ export const InternalIconContext = createContext(generatedIcons);
14
10
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/icon-provider/context.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,cAAc,MAAM,yBAAyB,CAAC;AAqCrD;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAA2B;IACzE,KAAK,EAAE,cAAc;IACrB,aAAa,EAAE,EAAE;IACjB,oBAAoB,EAAE,EAAE;CACzB,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { createContext } from 'react';\n\nimport generatedIcons from '../icon/generated/icons';\nimport { IconProviderProps } from './interfaces';\n\n/**\n * A mapping from each icon size variant to an optional target pixel size.\n * When a key is set, icons that would normally render at that size will instead have their\n * inline-size (both wrapper span and child SVG) set to the target pixel value.\n * An empty object means no overrides — icons render at their original size.\n */\nexport type IconSizeOverrideMap = Partial<Record<string, number>>;\n\n/**\n * A mapping from each icon size variant to an optional stroke-width value.\n * When a key is set, icons at that size will use the specified stroke-width\n * instead of the default token value and automatic compensation.\n * An empty object means no overrides — icons use their token-defined stroke-widths.\n */\nexport type IconStrokeWidthOverrideMap = Partial<Record<string, number>>;\n\nexport interface InternalIconContextValue {\n icons: IconProviderProps.Icons;\n /**\n * Per-size-variant icon size overrides (in pixels).\n * Each key corresponds to an icon size variant (e.g. \"normal\", \"inherit\");\n * the value is the target pixel size number (e.g. 12).\n * An empty object means no overrides.\n */\n sizeOverrides: IconSizeOverrideMap;\n /**\n * Per-size-variant stroke-width overrides.\n * Each key corresponds to an icon size variant (e.g. \"normal\", \"small\");\n * the value is the target stroke-width number in pixels (e.g. 1.5).\n * An empty object means no overrides.\n */\n strokeWidthOverrides: IconStrokeWidthOverrideMap;\n}\n\n/**\n * Combined internal context for the IconProvider.\n * Preloaded with the generated icon set so Icon components work without an explicit IconProvider.\n */\nexport const InternalIconContext = createContext<InternalIconContextValue>({\n icons: generatedIcons,\n sizeOverrides: {},\n strokeWidthOverrides: {},\n});\n"]}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/icon-provider/context.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,cAAc,MAAM,yBAAyB,CAAC;AAGrD;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAA0B,cAAc,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { createContext } from 'react';\n\nimport generatedIcons from '../icon/generated/icons';\nimport { IconProviderProps } from './interfaces';\n\n/**\n * Preload the context with the existing icon set.\n * This allows the Icon component to have these icons available in the context even when no IconProvider is used.\n */\nexport const InternalIconContext = createContext<IconProviderProps.Icons>(generatedIcons);\n"]}
@@ -2,7 +2,4 @@ import { IconProviderProps } from './interfaces';
2
2
  export { IconProviderProps } from './interfaces';
3
3
  export { defineIcons } from './define-icons';
4
4
  export type { IconRegistry, IconMap } from './interfaces';
5
- /**
6
- * @awsuiSystem core
7
- */
8
5
  export default function IconProvider(props: IconProviderProps): JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icon-provider/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE1D;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,iBAAiB,eAG5D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icon-provider/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE1D,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,iBAAiB,eAG5D"}
@@ -6,9 +6,6 @@ import useBaseComponent from '../internal/hooks/use-base-component';
6
6
  import { applyDisplayName } from '../internal/utils/apply-display-name';
7
7
  import InternalIconProvider from './internal';
8
8
  export { defineIcons } from './define-icons';
9
- /**
10
- * @awsuiSystem core
11
- */
12
9
  export default function IconProvider(props) {
13
10
  useBaseComponent('IconProvider');
14
11
  return React.createElement(InternalIconProvider, { ...props });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/icon-provider/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,oBAAoB,MAAM,YAAY,CAAC;AAG9C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAwB;IAC3D,gBAAgB,CAAC,cAAc,CAAC,CAAC;IACjC,OAAO,oBAAC,oBAAoB,OAAK,KAAK,GAAI,CAAC;AAC7C,CAAC;AAED,gBAAgB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\n\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { IconProviderProps } from './interfaces';\nimport InternalIconProvider from './internal';\n\nexport { IconProviderProps } from './interfaces';\nexport { defineIcons } from './define-icons';\nexport type { IconRegistry, IconMap } from './interfaces';\n\n/**\n * @awsuiSystem core\n */\nexport default function IconProvider(props: IconProviderProps) {\n useBaseComponent('IconProvider');\n return <InternalIconProvider {...props} />;\n}\n\napplyDisplayName(IconProvider, 'IconProvider');\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/icon-provider/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,oBAAoB,MAAM,YAAY,CAAC;AAG9C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAwB;IAC3D,gBAAgB,CAAC,cAAc,CAAC,CAAC;IACjC,OAAO,oBAAC,oBAAoB,OAAK,KAAK,GAAI,CAAC;AAC7C,CAAC;AAED,gBAAgB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\n\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { IconProviderProps } from './interfaces';\nimport InternalIconProvider from './internal';\n\nexport { IconProviderProps } from './interfaces';\nexport { defineIcons } from './define-icons';\nexport type { IconRegistry, IconMap } from './interfaces';\n\nexport default function IconProvider(props: IconProviderProps) {\n useBaseComponent('IconProvider');\n return <InternalIconProvider {...props} />;\n}\n\napplyDisplayName(IconProvider, 'IconProvider');\n"]}
@@ -33,59 +33,7 @@ export interface IconProviderProps extends BaseComponentProps {
33
33
  * The same applies to switching icons in the same configuration (for example, `{'close': <Icon name='arrow-left' />, 'arrow-left': <Icon name='close' />}`).
34
34
  */
35
35
  icons: IconProviderProps.Icons | null;
36
- /**
37
- * Specifies target pixel sizes for icon size variants. Each key corresponds to a size
38
- * variant and accepts a number representing pixels (e.g., `12` means 12px). When a size
39
- * is specified, the icon's inline-size (both the wrapper span and the child SVG) is set
40
- * to the target pixel value.
41
- *
42
- * Only the sizes you specify are overridden — unspecified sizes inherit from the parent
43
- * provider or fall back to their default token-defined values.
44
- *
45
- * @defaultValue undefined (no overrides — icons render at their original sizes)
46
- */
47
- sizes?: IconProviderProps.Sizes;
48
- /**
49
- * Specifies stroke-width overrides for icon size variants. Each key corresponds to a size
50
- * variant and accepts a number representing pixels (e.g., `1.5` means 1.5px). When
51
- * specified, the icon's SVG stroke-width is set directly to this value, bypassing the
52
- * default token and any automatic compensation from size scaling.
53
- *
54
- * Only the sizes you specify are overridden — unspecified sizes inherit from the parent
55
- * provider or fall back to their default token-defined stroke-widths.
56
- *
57
- * @defaultValue undefined (no overrides — icons use their token-defined stroke-widths)
58
- */
59
- strokeWidths?: IconProviderProps.StrokeWidths;
60
36
  }
61
37
  export declare namespace IconProviderProps {
62
38
  type Icons = { [name in IconProps.Name]?: ReactNode | null };
63
- interface Sizes {
64
- /** Target pixel size for icons at "x-small" size (default 12×12). E.g. `10` means 10px. */
65
- 'x-small'?: number;
66
- /** Target pixel size for icons at "small" size (default 16×16). E.g. `12` means 12px. */
67
- small?: number;
68
- /** Target pixel size for icons at "normal" size (default 16×16). E.g. `12` means 12px. */
69
- normal?: number;
70
- /** Target pixel size for icons at "medium" size (default 20×20). */
71
- medium?: number;
72
- /** Target pixel size for icons at "big" size (default 32×32). */
73
- big?: number;
74
- /** Target pixel size for icons at "large" size (default 48×48). */
75
- large?: number;
76
- }
77
- interface StrokeWidths {
78
- /** Stroke-width for icons at "x-small" size. E.g. `1.5` means 1.5px. */
79
- 'x-small'?: number;
80
- /** Stroke-width for icons at "small" size. E.g. `1.5` means 1.5px. */
81
- small?: number;
82
- /** Stroke-width for icons at "normal" size. E.g. `2` means 2px. */
83
- normal?: number;
84
- /** Stroke-width for icons at "medium" size. E.g. `2.5` means 2.5px. */
85
- medium?: number;
86
- /** Stroke-width for icons at "big" size. E.g. `3` means 3px. */
87
- big?: number;
88
- /** Stroke-width for icons at "large" size. E.g. `4` means 4px. */
89
- large?: number;
90
- }
91
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/icon-provider/interfaces.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/icon-provider/interfaces.ts"],"names":[],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/icon-provider/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { ReactNode } from 'react';\n\nimport { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\n\n// Why not enums? Explained there\n// https://stackoverflow.com/questions/52393730/typescript-string-literal-union-type-from-enum\nexport type BuiltInIconName =\n | 'add-plus'\n | 'anchor-link'\n | 'angle-left-double'\n | 'angle-left'\n | 'angle-right-double'\n | 'angle-right'\n | 'angle-up'\n | 'angle-down'\n | 'announcement'\n | 'arrow-left'\n | 'arrow-right'\n | 'arrow-up'\n | 'arrow-down'\n | 'at-symbol'\n | 'audio-full'\n | 'audio-half'\n | 'audio-off'\n | 'backward-10-seconds'\n | 'bug'\n | 'call'\n | 'calendar'\n | 'caret-down-filled'\n | 'caret-down'\n | 'caret-left-filled'\n | 'caret-right-filled'\n | 'caret-up-filled'\n | 'caret-up'\n | 'check'\n | 'contact'\n | 'close'\n | 'closed-caption'\n | 'closed-caption-unavailable'\n | 'copy'\n | 'command-prompt'\n | 'delete-marker'\n | 'dot'\n | 'download'\n | 'drag-indicator'\n | 'edit'\n | 'edit-gen-ai'\n | 'ellipsis'\n | 'envelope'\n | 'exit-full-screen'\n | 'expand'\n | 'external'\n | 'face-happy'\n | 'face-happy-filled'\n | 'face-neutral'\n | 'face-neutral-filled'\n | 'face-sad'\n | 'face-sad-filled'\n | 'file-open'\n | 'file'\n | 'filter'\n | 'flag'\n | 'folder-open'\n | 'folder'\n | 'forward-10-seconds'\n | 'full-screen'\n | 'gen-ai'\n | 'globe'\n | 'grid-view'\n | 'group-active'\n | 'group'\n | 'heart'\n | 'heart-filled'\n | 'history'\n | 'insert-row'\n | 'key'\n | 'keyboard'\n | 'light-dark'\n | 'list-view'\n | 'location-pin'\n | 'lock-private'\n | 'map'\n | 'menu'\n | 'microphone'\n | 'microphone-off'\n | 'mini-player'\n | 'multiscreen'\n | 'notification'\n | 'pause'\n | 'play'\n | 'redo'\n | 'refresh'\n | 'remove'\n | 'resize-area'\n | 'script'\n | 'search'\n | 'search-gen-ai'\n | 'security'\n | 'settings'\n | 'send'\n | 'share'\n | 'shrink'\n | 'slash'\n | 'star-filled'\n | 'star-half'\n | 'star'\n | 'status-in-progress'\n | 'status-info'\n | 'status-negative'\n | 'status-not-started'\n | 'status-pending'\n | 'status-positive'\n | 'status-stopped'\n | 'status-warning'\n | 'stop-circle'\n | 'subtract-minus'\n | 'suggestions'\n | 'suggestions-gen-ai'\n | 'support'\n | 'thumbs-down-filled'\n | 'thumbs-down'\n | 'thumbs-up-filled'\n | 'thumbs-up'\n | 'ticket'\n | 'transcript'\n | 'treeview-collapse'\n | 'treeview-expand'\n | 'undo'\n | 'unlocked'\n | 'upload-download'\n | 'upload'\n | 'user-profile-active'\n | 'user-profile'\n | 'video-off'\n | 'video-on'\n | 'video-unavailable'\n | 'video-camera-off'\n | 'video-camera-on'\n | 'video-camera-unavailable'\n | 'view-full'\n | 'view-horizontal'\n | 'view-vertical'\n | 'zoom-in'\n | 'zoom-out'\n | 'zoom-to-fit';\n\n/**\n * Augment this interface using `declare module` to register custom icon names.\n * Registered names become valid across all icon-accepting components.\n *\n * @example\n * declare module \"@cloudscape-design/components/icon-provider\" {\n * interface IconRegistry extends IconMap<typeof myIcons> {}\n * }\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface IconRegistry {}\n\n/** Union of all icon names in the {@link IconRegistry}. */\nexport type IconRegistryIconName = keyof IconRegistry & string;\n\nexport type DefineIconsInput = Partial<Record<BuiltInIconName | (string & {}), ReactNode>>;\n\n/** Extracts the keys of a `defineIcons` result into the shape that {@link IconRegistry} expects. */\nexport type IconMap<T> = { [K in keyof T & string]: T[K] };\n\nexport interface IconProviderProps extends BaseComponentProps {\n children: ReactNode;\n\n /**\n * Specifies icon overrides using existing icon names, for example, `{'add-plus': <svg>...</svg>}`.\n *\n * These icon overrides will automatically be applied to any component that is a descendant of this provider, including nested providers.\n *\n * Set to `null` to reset the icons to the default set or set specific icon names to `null` to change them back to the default set.\n *\n * For example, override `AppLayout` icons but not icons in the content slot by wrapping content with an `IconProvider` with this property set to `null`.\n *\n * `<Icon ... />` component can be used as an override (for example, `{'close': <Icon name='arrow-left' />}`).\n * However, if the icon name is the same as the key, for example, `{'close': <Icon name='close' />}` an infinite loop will be created.\n * The same applies to switching icons in the same configuration (for example, `{'close': <Icon name='arrow-left' />, 'arrow-left': <Icon name='close' />}`).\n */\n icons: IconProviderProps.Icons | null;\n\n /**\n * Specifies target pixel sizes for icon size variants. Each key corresponds to a size\n * variant and accepts a number representing pixels (e.g., `12` means 12px). When a size\n * is specified, the icon's inline-size (both the wrapper span and the child SVG) is set\n * to the target pixel value.\n *\n * Only the sizes you specify are overridden — unspecified sizes inherit from the parent\n * provider or fall back to their default token-defined values.\n *\n * @defaultValue undefined (no overrides — icons render at their original sizes)\n */\n sizes?: IconProviderProps.Sizes;\n\n /**\n * Specifies stroke-width overrides for icon size variants. Each key corresponds to a size\n * variant and accepts a number representing pixels (e.g., `1.5` means 1.5px). When\n * specified, the icon's SVG stroke-width is set directly to this value, bypassing the\n * default token and any automatic compensation from size scaling.\n *\n * Only the sizes you specify are overridden — unspecified sizes inherit from the parent\n * provider or fall back to their default token-defined stroke-widths.\n *\n * @defaultValue undefined (no overrides — icons use their token-defined stroke-widths)\n */\n strokeWidths?: IconProviderProps.StrokeWidths;\n}\n\nexport namespace IconProviderProps {\n export type Icons = {\n [name in IconProps.Name]?: ReactNode | null;\n };\n\n export interface Sizes {\n /** Target pixel size for icons at \"x-small\" size (default 12×12). E.g. `10` means 10px. */\n 'x-small'?: number;\n /** Target pixel size for icons at \"small\" size (default 16×16). E.g. `12` means 12px. */\n small?: number;\n /** Target pixel size for icons at \"normal\" size (default 16×16). E.g. `12` means 12px. */\n normal?: number;\n /** Target pixel size for icons at \"medium\" size (default 20×20). */\n medium?: number;\n /** Target pixel size for icons at \"big\" size (default 32×32). */\n big?: number;\n /** Target pixel size for icons at \"large\" size (default 48×48). */\n large?: number;\n }\n\n export interface StrokeWidths {\n /** Stroke-width for icons at \"x-small\" size. E.g. `1.5` means 1.5px. */\n 'x-small'?: number;\n /** Stroke-width for icons at \"small\" size. E.g. `1.5` means 1.5px. */\n small?: number;\n /** Stroke-width for icons at \"normal\" size. E.g. `2` means 2px. */\n normal?: number;\n /** Stroke-width for icons at \"medium\" size. E.g. `2.5` means 2.5px. */\n medium?: number;\n /** Stroke-width for icons at \"big\" size. E.g. `3` means 3px. */\n big?: number;\n /** Stroke-width for icons at \"large\" size. E.g. `4` means 4px. */\n large?: number;\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/icon-provider/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { ReactNode } from 'react';\n\nimport { IconProps } from '../icon/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\n\n// Why not enums? Explained there\n// https://stackoverflow.com/questions/52393730/typescript-string-literal-union-type-from-enum\nexport type BuiltInIconName =\n | 'add-plus'\n | 'anchor-link'\n | 'angle-left-double'\n | 'angle-left'\n | 'angle-right-double'\n | 'angle-right'\n | 'angle-up'\n | 'angle-down'\n | 'announcement'\n | 'arrow-left'\n | 'arrow-right'\n | 'arrow-up'\n | 'arrow-down'\n | 'at-symbol'\n | 'audio-full'\n | 'audio-half'\n | 'audio-off'\n | 'backward-10-seconds'\n | 'bug'\n | 'call'\n | 'calendar'\n | 'caret-down-filled'\n | 'caret-down'\n | 'caret-left-filled'\n | 'caret-right-filled'\n | 'caret-up-filled'\n | 'caret-up'\n | 'check'\n | 'contact'\n | 'close'\n | 'closed-caption'\n | 'closed-caption-unavailable'\n | 'copy'\n | 'command-prompt'\n | 'delete-marker'\n | 'dot'\n | 'download'\n | 'drag-indicator'\n | 'edit'\n | 'edit-gen-ai'\n | 'ellipsis'\n | 'envelope'\n | 'exit-full-screen'\n | 'expand'\n | 'external'\n | 'face-happy'\n | 'face-happy-filled'\n | 'face-neutral'\n | 'face-neutral-filled'\n | 'face-sad'\n | 'face-sad-filled'\n | 'file-open'\n | 'file'\n | 'filter'\n | 'flag'\n | 'folder-open'\n | 'folder'\n | 'forward-10-seconds'\n | 'full-screen'\n | 'gen-ai'\n | 'globe'\n | 'grid-view'\n | 'group-active'\n | 'group'\n | 'heart'\n | 'heart-filled'\n | 'history'\n | 'insert-row'\n | 'key'\n | 'keyboard'\n | 'light-dark'\n | 'list-view'\n | 'location-pin'\n | 'lock-private'\n | 'map'\n | 'menu'\n | 'microphone'\n | 'microphone-off'\n | 'mini-player'\n | 'multiscreen'\n | 'notification'\n | 'pause'\n | 'play'\n | 'redo'\n | 'refresh'\n | 'remove'\n | 'resize-area'\n | 'script'\n | 'search'\n | 'search-gen-ai'\n | 'security'\n | 'settings'\n | 'send'\n | 'share'\n | 'shrink'\n | 'slash'\n | 'star-filled'\n | 'star-half'\n | 'star'\n | 'status-in-progress'\n | 'status-info'\n | 'status-negative'\n | 'status-not-started'\n | 'status-pending'\n | 'status-positive'\n | 'status-stopped'\n | 'status-warning'\n | 'stop-circle'\n | 'subtract-minus'\n | 'suggestions'\n | 'suggestions-gen-ai'\n | 'support'\n | 'thumbs-down-filled'\n | 'thumbs-down'\n | 'thumbs-up-filled'\n | 'thumbs-up'\n | 'ticket'\n | 'transcript'\n | 'treeview-collapse'\n | 'treeview-expand'\n | 'undo'\n | 'unlocked'\n | 'upload-download'\n | 'upload'\n | 'user-profile-active'\n | 'user-profile'\n | 'video-off'\n | 'video-on'\n | 'video-unavailable'\n | 'video-camera-off'\n | 'video-camera-on'\n | 'video-camera-unavailable'\n | 'view-full'\n | 'view-horizontal'\n | 'view-vertical'\n | 'zoom-in'\n | 'zoom-out'\n | 'zoom-to-fit';\n\n/**\n * Augment this interface using `declare module` to register custom icon names.\n * Registered names become valid across all icon-accepting components.\n *\n * @example\n * declare module \"@cloudscape-design/components/icon-provider\" {\n * interface IconRegistry extends IconMap<typeof myIcons> {}\n * }\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface IconRegistry {}\n\n/** Union of all icon names in the {@link IconRegistry}. */\nexport type IconRegistryIconName = keyof IconRegistry & string;\n\nexport type DefineIconsInput = Partial<Record<BuiltInIconName | (string & {}), ReactNode>>;\n\n/** Extracts the keys of a `defineIcons` result into the shape that {@link IconRegistry} expects. */\nexport type IconMap<T> = { [K in keyof T & string]: T[K] };\n\nexport interface IconProviderProps extends BaseComponentProps {\n children: ReactNode;\n\n /**\n * Specifies icon overrides using existing icon names, for example, `{'add-plus': <svg>...</svg>}`.\n *\n * These icon overrides will automatically be applied to any component that is a descendant of this provider, including nested providers.\n *\n * Set to `null` to reset the icons to the default set or set specific icon names to `null` to change them back to the default set.\n *\n * For example, override `AppLayout` icons but not icons in the content slot by wrapping content with an `IconProvider` with this property set to `null`.\n *\n * `<Icon ... />` component can be used as an override (for example, `{'close': <Icon name='arrow-left' />}`).\n * However, if the icon name is the same as the key, for example, `{'close': <Icon name='close' />}` an infinite loop will be created.\n * The same applies to switching icons in the same configuration (for example, `{'close': <Icon name='arrow-left' />, 'arrow-left': <Icon name='close' />}`).\n */\n icons: IconProviderProps.Icons | null;\n}\n\nexport namespace IconProviderProps {\n export type Icons = {\n [name in IconProps.Name]?: ReactNode | null;\n };\n}\n"]}
@@ -1,8 +1,6 @@
1
1
  import { IconProviderProps } from './interfaces';
2
2
  declare function InternalIconProvider({
3
3
  children,
4
- icons,
5
- sizes,
6
- strokeWidths
4
+ icons
7
5
  }: IconProviderProps): JSX.Element;
8
6
  export default InternalIconProvider;
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/icon-provider/internal.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,iBAAS,oBAAoB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,iBAAiB,eAuCxF;AAED,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/icon-provider/internal.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,iBAAS,oBAAoB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,iBAAiB,eAqBnE;AAED,eAAe,oBAAoB,CAAC"}
@@ -1,10 +1,10 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import React, { useContext, useMemo } from 'react';
3
+ import React, { useContext } from 'react';
4
4
  import generatedIcons from '../icon/generated/icons';
5
5
  import { InternalIconContext } from './context';
6
- function InternalIconProvider({ children, icons, sizes, strokeWidths }) {
7
- const { icons: contextIcons, sizeOverrides: contextSizeOverrides, strokeWidthOverrides: contextStrokeWidthOverrides, } = useContext(InternalIconContext);
6
+ function InternalIconProvider({ children, icons }) {
7
+ const contextIcons = useContext(InternalIconContext);
8
8
  let iconsToProvide = generatedIcons;
9
9
  // Merge the context icons with the custom icons, this allows child instances of IconProvider to persist parent configurations
10
10
  if (icons !== null) {
@@ -19,16 +19,7 @@ function InternalIconProvider({ children, icons, sizes, strokeWidths }) {
19
19
  });
20
20
  iconsToProvide = { ...contextIcons, ...clonedIcons };
21
21
  }
22
- const contextValue = useMemo(() => ({
23
- icons: iconsToProvide,
24
- // Build the size override map by merging parent context with this provider's sizes prop.
25
- sizeOverrides: sizes ? { ...contextSizeOverrides, ...sizes } : contextSizeOverrides,
26
- // Build the stroke-width override map by merging parent context with this provider's strokeWidths prop.
27
- strokeWidthOverrides: strokeWidths
28
- ? { ...contextStrokeWidthOverrides, ...strokeWidths }
29
- : contextStrokeWidthOverrides,
30
- }), [iconsToProvide, contextSizeOverrides, sizes, contextStrokeWidthOverrides, strokeWidths]);
31
- return React.createElement(InternalIconContext.Provider, { value: contextValue }, children);
22
+ return React.createElement(InternalIconContext.Provider, { value: iconsToProvide }, children);
32
23
  }
33
24
  export default InternalIconProvider;
34
25
  //# sourceMappingURL=internal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/icon-provider/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,cAAc,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAA4B,MAAM,WAAW,CAAC;AAG1E,SAAS,oBAAoB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAqB;IACvF,MAAM,EACJ,KAAK,EAAE,YAAY,EACnB,aAAa,EAAE,oBAAoB,EACnC,oBAAoB,EAAE,2BAA2B,GAClD,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAEpC,IAAI,cAAc,GAA4B,cAAc,CAAC;IAE7D,8HAA8H;IAC9H,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACnB,MAAM,WAAW,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC;QAEjC,qGAAqG;QACrG,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;;YACtC,MAAM,QAAQ,GAAG,IAAmC,CAAC;YACrD,IAAI,WAAW,CAAC,QAAQ,CAAC,KAAK,IAAI,EAAE,CAAC;gBACnC,WAAW,CAAC,QAAQ,CAAC,GAAG,MAAA,cAAc,CAAC,QAAQ,CAAC,mCAAI,YAAY,CAAC,QAAQ,CAAC,CAAC;YAC7E,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,cAAc,GAAG,EAAE,GAAG,YAAY,EAAE,GAAG,WAAW,EAAE,CAAC;IACvD,CAAC;IAED,MAAM,YAAY,GAAG,OAAO,CAC1B,GAAG,EAAE,CAAC,CAAC;QACL,KAAK,EAAE,cAAc;QACrB,yFAAyF;QACzF,aAAa,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,oBAAoB,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,oBAAoB;QACnF,wGAAwG;QACxG,oBAAoB,EAAE,YAAY;YAChC,CAAC,CAAC,EAAE,GAAG,2BAA2B,EAAE,GAAG,YAAY,EAAE;YACrD,CAAC,CAAC,2BAA2B;KAChC,CAAC,EAEF,CAAC,cAAc,EAAE,oBAAoB,EAAE,KAAK,EAAE,2BAA2B,EAAE,YAAY,CAAC,CACzF,CAAC;IAEF,OAAO,oBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,IAAG,QAAQ,CAAgC,CAAC;AACtG,CAAC;AAED,eAAe,oBAAoB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { useContext, useMemo } from 'react';\n\nimport generatedIcons from '../icon/generated/icons';\nimport { InternalIconContext, InternalIconContextValue } from './context';\nimport { IconProviderProps } from './interfaces';\n\nfunction InternalIconProvider({ children, icons, sizes, strokeWidths }: IconProviderProps) {\n const {\n icons: contextIcons,\n sizeOverrides: contextSizeOverrides,\n strokeWidthOverrides: contextStrokeWidthOverrides,\n } = useContext(InternalIconContext);\n\n let iconsToProvide: IconProviderProps.Icons = generatedIcons;\n\n // Merge the context icons with the custom icons, this allows child instances of IconProvider to persist parent configurations\n if (icons !== null) {\n const clonedIcons = { ...icons };\n\n // Reset null icon values to their generated default, or the inherited context value for custom icons\n Object.keys(clonedIcons).forEach(name => {\n const iconName = name as keyof typeof generatedIcons;\n if (clonedIcons[iconName] === null) {\n clonedIcons[iconName] = generatedIcons[iconName] ?? contextIcons[iconName];\n }\n });\n\n iconsToProvide = { ...contextIcons, ...clonedIcons };\n }\n\n const contextValue = useMemo<InternalIconContextValue>(\n () => ({\n icons: iconsToProvide,\n // Build the size override map by merging parent context with this provider's sizes prop.\n sizeOverrides: sizes ? { ...contextSizeOverrides, ...sizes } : contextSizeOverrides,\n // Build the stroke-width override map by merging parent context with this provider's strokeWidths prop.\n strokeWidthOverrides: strokeWidths\n ? { ...contextStrokeWidthOverrides, ...strokeWidths }\n : contextStrokeWidthOverrides,\n }),\n\n [iconsToProvide, contextSizeOverrides, sizes, contextStrokeWidthOverrides, strokeWidths]\n );\n\n return <InternalIconContext.Provider value={contextValue}>{children}</InternalIconContext.Provider>;\n}\n\nexport default InternalIconProvider;\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/icon-provider/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,cAAc,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGhD,SAAS,oBAAoB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAqB;IAClE,MAAM,YAAY,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAErD,IAAI,cAAc,GAA4B,cAAc,CAAC;IAE7D,8HAA8H;IAC9H,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACnB,MAAM,WAAW,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC;QAEjC,qGAAqG;QACrG,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;;YACtC,MAAM,QAAQ,GAAG,IAAmC,CAAC;YACrD,IAAI,WAAW,CAAC,QAAQ,CAAC,KAAK,IAAI,EAAE,CAAC;gBACnC,WAAW,CAAC,QAAQ,CAAC,GAAG,MAAA,cAAc,CAAC,QAAQ,CAAC,mCAAI,YAAY,CAAC,QAAQ,CAAC,CAAC;YAC7E,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,cAAc,GAAG,EAAE,GAAG,YAAY,EAAE,GAAG,WAAW,EAAE,CAAC;IACvD,CAAC;IAED,OAAO,oBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,cAAc,IAAG,QAAQ,CAAgC,CAAC;AACxG,CAAC;AAED,eAAe,oBAAoB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { useContext } from 'react';\n\nimport generatedIcons from '../icon/generated/icons';\nimport { InternalIconContext } from './context';\nimport { IconProviderProps } from './interfaces';\n\nfunction InternalIconProvider({ children, icons }: IconProviderProps) {\n const contextIcons = useContext(InternalIconContext);\n\n let iconsToProvide: IconProviderProps.Icons = generatedIcons;\n\n // Merge the context icons with the custom icons, this allows child instances of IconProvider to persist parent configurations\n if (icons !== null) {\n const clonedIcons = { ...icons };\n\n // Reset null icon values to their generated default, or the inherited context value for custom icons\n Object.keys(clonedIcons).forEach(name => {\n const iconName = name as keyof typeof generatedIcons;\n if (clonedIcons[iconName] === null) {\n clonedIcons[iconName] = generatedIcons[iconName] ?? contextIcons[iconName];\n }\n });\n\n iconsToProvide = { ...contextIcons, ...clonedIcons };\n }\n\n return <InternalIconContext.Provider value={iconsToProvide}>{children}</InternalIconContext.Provider>;\n}\n\nexport default InternalIconProvider;\n"]}
@@ -1,23 +1,23 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_2rhyz_1kaan_145",
5
- "input": "awsui_input_2rhyz_1kaan_149",
6
- "input-readonly": "awsui_input-readonly_2rhyz_1kaan_203",
7
- "input-invalid": "awsui_input-invalid_2rhyz_1kaan_266",
8
- "input-has-icon-left": "awsui_input-has-icon-left_2rhyz_1kaan_275",
9
- "input-warning": "awsui_input-warning_2rhyz_1kaan_278",
10
- "input-type-search": "awsui_input-type-search_2rhyz_1kaan_290",
11
- "input-has-icon-right": "awsui_input-has-icon-right_2rhyz_1kaan_303",
12
- "input-has-no-border-radius": "awsui_input-has-no-border-radius_2rhyz_1kaan_306",
13
- "input-container": "awsui_input-container_2rhyz_1kaan_313",
14
- "input-icon-left": "awsui_input-icon-left_2rhyz_1kaan_318",
15
- "input-icon-right": "awsui_input-icon-right_2rhyz_1kaan_325",
16
- "input-button-right": "awsui_input-button-right_2rhyz_1kaan_331",
17
- "inline-label-trigger-wrapper": "awsui_inline-label-trigger-wrapper_2rhyz_1kaan_335",
18
- "inline-label-trigger-wrapper-full-width": "awsui_inline-label-trigger-wrapper-full-width_2rhyz_1kaan_338",
19
- "inline-label-wrapper": "awsui_inline-label-wrapper_2rhyz_1kaan_342",
20
- "inline-label-wrapper-full-width": "awsui_inline-label-wrapper-full-width_2rhyz_1kaan_345",
21
- "inline-label": "awsui_inline-label_2rhyz_1kaan_335"
4
+ "root": "awsui_root_2rhyz_qcvo4_145",
5
+ "input": "awsui_input_2rhyz_qcvo4_149",
6
+ "input-readonly": "awsui_input-readonly_2rhyz_qcvo4_203",
7
+ "input-invalid": "awsui_input-invalid_2rhyz_qcvo4_266",
8
+ "input-has-icon-left": "awsui_input-has-icon-left_2rhyz_qcvo4_275",
9
+ "input-warning": "awsui_input-warning_2rhyz_qcvo4_278",
10
+ "input-type-search": "awsui_input-type-search_2rhyz_qcvo4_290",
11
+ "input-has-icon-right": "awsui_input-has-icon-right_2rhyz_qcvo4_303",
12
+ "input-has-no-border-radius": "awsui_input-has-no-border-radius_2rhyz_qcvo4_306",
13
+ "input-container": "awsui_input-container_2rhyz_qcvo4_313",
14
+ "input-icon-left": "awsui_input-icon-left_2rhyz_qcvo4_318",
15
+ "input-icon-right": "awsui_input-icon-right_2rhyz_qcvo4_325",
16
+ "input-button-right": "awsui_input-button-right_2rhyz_qcvo4_331",
17
+ "inline-label-trigger-wrapper": "awsui_inline-label-trigger-wrapper_2rhyz_qcvo4_335",
18
+ "inline-label-trigger-wrapper-full-width": "awsui_inline-label-trigger-wrapper-full-width_2rhyz_qcvo4_338",
19
+ "inline-label-wrapper": "awsui_inline-label-wrapper_2rhyz_qcvo4_342",
20
+ "inline-label-wrapper-full-width": "awsui_inline-label-wrapper-full-width_2rhyz_qcvo4_345",
21
+ "inline-label": "awsui_inline-label_2rhyz_qcvo4_335"
22
22
  };
23
23