@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
@@ -0,0 +1,21 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { warnOnce } from '@cloudscape-design/component-toolkit/internal';
4
+ export function getDataAttributes(dataAttributes, excludeKeys = []) {
5
+ if (!dataAttributes) {
6
+ return {};
7
+ }
8
+ return Object.entries(dataAttributes).reduce((acc, [key, value]) => {
9
+ if (excludeKeys.includes(key) || excludeKeys.includes(`data-${key}`)) {
10
+ warnOnce('getDataAttributes', `"${key}" key is reserved and cannot be overridden via dataAttributes`);
11
+ return acc;
12
+ }
13
+ if (value === undefined) {
14
+ return acc;
15
+ }
16
+ const attrKey = key.startsWith('data-') ? key : `data-${key}`;
17
+ acc[attrKey] = value;
18
+ return acc;
19
+ }, {});
20
+ }
21
+ //# sourceMappingURL=data-attributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-attributes.js","sourceRoot":"","sources":["../../../../src/internal/utils/data-attributes.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEzE,MAAM,UAAU,iBAAiB,CAC/B,cAAkD,EAClD,cAAwB,EAAE;IAE1B,IAAI,CAAC,cAAc,EAAE,CAAC;QACpB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,MAAM,CAC1C,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACpB,IAAI,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,WAAW,CAAC,QAAQ,CAAC,QAAQ,GAAG,EAAE,CAAC,EAAE,CAAC;YACrE,QAAQ,CAAC,mBAAmB,EAAE,IAAI,GAAG,+DAA+D,CAAC,CAAC;YACtG,OAAO,GAAG,CAAC;QACb,CAAC;QAED,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,GAAG,CAAC;QACb,CAAC;QAED,MAAM,OAAO,GAAG,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,GAAG,EAAE,CAAC;QAC9D,GAAG,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACrB,OAAO,GAAG,CAAC;IACb,CAAC,EACD,EAA4B,CAC7B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nexport function getDataAttributes(\n dataAttributes: Record<string, string> | undefined,\n excludeKeys: string[] = []\n): Record<string, string> {\n if (!dataAttributes) {\n return {};\n }\n\n return Object.entries(dataAttributes).reduce(\n (acc, [key, value]) => {\n if (excludeKeys.includes(key) || excludeKeys.includes(`data-${key}`)) {\n warnOnce('getDataAttributes', `\"${key}\" key is reserved and cannot be overridden via dataAttributes`);\n return acc;\n }\n\n if (value === undefined) {\n return acc;\n }\n\n const attrKey = key.startsWith('data-') ? key : `data-${key}`;\n acc[attrKey] = value;\n return acc;\n },\n {} as Record<string, string>\n );\n}\n"]}
@@ -0,0 +1,90 @@
1
+ import customCssProps from '../generated/custom-css-properties';
2
+ /**
3
+ * Shared style interface for input-like components (input, textarea, text-filter).
4
+ * Components can extend or alias this interface in their own interfaces.ts files.
5
+ */
6
+ export interface InputStyleProps {
7
+ root?: {
8
+ backgroundColor?: {
9
+ default?: string;
10
+ disabled?: string;
11
+ focus?: string;
12
+ hover?: string;
13
+ readonly?: string;
14
+ };
15
+ borderColor?: {
16
+ default?: string;
17
+ disabled?: string;
18
+ focus?: string;
19
+ hover?: string;
20
+ readonly?: string;
21
+ };
22
+ borderRadius?: string;
23
+ borderWidth?: string;
24
+ boxShadow?: {
25
+ default?: string;
26
+ disabled?: string;
27
+ focus?: string;
28
+ hover?: string;
29
+ readonly?: string;
30
+ };
31
+ color?: {
32
+ default?: string;
33
+ disabled?: string;
34
+ focus?: string;
35
+ hover?: string;
36
+ readonly?: string;
37
+ };
38
+ fontSize?: string;
39
+ fontWeight?: string;
40
+ paddingBlock?: string;
41
+ paddingInline?: string;
42
+ };
43
+ placeholder?: {
44
+ color?: string;
45
+ fontSize?: string;
46
+ fontStyle?: string;
47
+ fontWeight?: string;
48
+ };
49
+ }
50
+ /**
51
+ * Maps input-like component style props to CSS custom properties.
52
+ * Used by input, textarea, and text-filter components.
53
+ *
54
+ * @param style - The style props to map
55
+ * @param requireRoot - If true, returns undefined when style.root is not provided (textarea behavior).
56
+ * If false, returns object with undefined values (input/text-filter behavior).
57
+ */
58
+ export declare function getInputStylesCss(style: InputStyleProps | undefined, requireRoot?: boolean): {
59
+ [customCssProps.styleBackgroundDefault]: string | undefined;
60
+ [customCssProps.styleBackgroundDisabled]: string | undefined;
61
+ [customCssProps.styleBackgroundHover]: string | undefined;
62
+ [customCssProps.styleBackgroundFocus]: string | undefined;
63
+ [customCssProps.styleBackgroundReadonly]: string | undefined;
64
+ [customCssProps.styleBorderColorDefault]: string | undefined;
65
+ [customCssProps.styleBorderColorDisabled]: string | undefined;
66
+ [customCssProps.styleBorderColorHover]: string | undefined;
67
+ [customCssProps.styleBorderColorFocus]: string | undefined;
68
+ [customCssProps.styleBorderColorReadonly]: string | undefined;
69
+ [customCssProps.styleBoxShadowDefault]: string | undefined;
70
+ [customCssProps.styleBoxShadowDisabled]: string | undefined;
71
+ [customCssProps.styleBoxShadowHover]: string | undefined;
72
+ [customCssProps.styleBoxShadowFocus]: string | undefined;
73
+ [customCssProps.styleBoxShadowReadonly]: string | undefined;
74
+ [customCssProps.styleColorDefault]: string | undefined;
75
+ [customCssProps.styleColorDisabled]: string | undefined;
76
+ [customCssProps.styleColorHover]: string | undefined;
77
+ [customCssProps.styleColorFocus]: string | undefined;
78
+ [customCssProps.styleColorReadonly]: string | undefined;
79
+ [customCssProps.stylePlaceholderColor]: string | undefined;
80
+ [customCssProps.stylePlaceholderFontSize]: string | undefined;
81
+ [customCssProps.stylePlaceholderFontWeight]: string | undefined;
82
+ [customCssProps.stylePlaceholderFontStyle]: string | undefined;
83
+ borderRadius: string | undefined;
84
+ borderWidth: string | undefined;
85
+ fontSize: string | undefined;
86
+ fontWeight: string | undefined;
87
+ paddingBlock: string | undefined;
88
+ paddingInline: string | undefined;
89
+ } | undefined;
90
+ //# sourceMappingURL=input-styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-styles.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/input-styles.ts"],"names":[],"mappings":"AAGA,OAAO,cAAc,MAAM,oCAAoC,CAAC;AAEhE;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE;QACL,eAAe,CAAC,EAAE;YAChB,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,QAAQ,CAAC,EAAE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,CAAC,cAAc,CAAC,uBAAuB,CAAC,qBAAwC;IAChF,CAAC,cAAc,CAAC,oBAAoB,CAAC,qBAAqC;IAC1E,CAAC,cAAc,CAAC,oBAAoB,CAAC,qBAAqC;IAC1E,CAAC,cAAc,CAAC,uBAAuB,CAAC,qBAAwC;IAChF,CAAC,cAAc,CAAC,uBAAuB,CAAC,qBAAmC;IAC3E,CAAC,cAAc,CAAC,wBAAwB,CAAC,qBAAoC;IAC7E,CAAC,cAAc,CAAC,qBAAqB,CAAC,qBAAiC;IACvE,CAAC,cAAc,CAAC,qBAAqB,CAAC,qBAAiC;IACvE,CAAC,cAAc,CAAC,wBAAwB,CAAC,qBAAoC;IAC7E,CAAC,cAAc,CAAC,qBAAqB,CAAC,qBAAiC;IACvE,CAAC,cAAc,CAAC,sBAAsB,CAAC,qBAAkC;IACzE,CAAC,cAAc,CAAC,mBAAmB,CAAC,qBAA+B;IACnE,CAAC,cAAc,CAAC,mBAAmB,CAAC,qBAA+B;IACnE,CAAC,cAAc,CAAC,sBAAsB,CAAC,qBAAkC;IACzE,CAAC,cAAc,CAAC,iBAAiB,CAAC,qBAA6B;IAC/D,CAAC,cAAc,CAAC,kBAAkB,CAAC,qBAA8B;IACjE,CAAC,cAAc,CAAC,eAAe,CAAC,qBAA2B;IAC3D,CAAC,cAAc,CAAC,eAAe,CAAC,qBAA2B;IAC3D,CAAC,cAAc,CAAC,kBAAkB,CAAC,qBAA8B;IACjE,CAAC,cAAc,CAAC,qBAAqB,CAAC,qBAA2B;IACjE,CAAC,cAAc,CAAC,wBAAwB,CAAC,qBAA8B;IACvE,CAAC,cAAc,CAAC,0BAA0B,CAAC,qBAAgC;IAC3E,CAAC,cAAc,CAAC,yBAAyB,CAAC,qBAA+B;;;;;;;cAE5E"}
@@ -0,0 +1,54 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { SYSTEM } from '../environment';
4
+ import customCssProps from '../generated/custom-css-properties';
5
+ /**
6
+ * Maps input-like component style props to CSS custom properties.
7
+ * Used by input, textarea, and text-filter components.
8
+ *
9
+ * @param style - The style props to map
10
+ * @param requireRoot - If true, returns undefined when style.root is not provided (textarea behavior).
11
+ * If false, returns object with undefined values (input/text-filter behavior).
12
+ */
13
+ export function getInputStylesCss(style, requireRoot = false) {
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25;
15
+ if (SYSTEM !== 'core') {
16
+ return undefined;
17
+ }
18
+ if (requireRoot && !(style === null || style === void 0 ? void 0 : style.root)) {
19
+ return undefined;
20
+ }
21
+ return {
22
+ borderRadius: (_a = style === null || style === void 0 ? void 0 : style.root) === null || _a === void 0 ? void 0 : _a.borderRadius,
23
+ borderWidth: (_b = style === null || style === void 0 ? void 0 : style.root) === null || _b === void 0 ? void 0 : _b.borderWidth,
24
+ fontSize: (_c = style === null || style === void 0 ? void 0 : style.root) === null || _c === void 0 ? void 0 : _c.fontSize,
25
+ fontWeight: (_d = style === null || style === void 0 ? void 0 : style.root) === null || _d === void 0 ? void 0 : _d.fontWeight,
26
+ paddingBlock: (_e = style === null || style === void 0 ? void 0 : style.root) === null || _e === void 0 ? void 0 : _e.paddingBlock,
27
+ paddingInline: (_f = style === null || style === void 0 ? void 0 : style.root) === null || _f === void 0 ? void 0 : _f.paddingInline,
28
+ [customCssProps.styleBackgroundDefault]: (_h = (_g = style === null || style === void 0 ? void 0 : style.root) === null || _g === void 0 ? void 0 : _g.backgroundColor) === null || _h === void 0 ? void 0 : _h.default,
29
+ [customCssProps.styleBackgroundDisabled]: (_k = (_j = style === null || style === void 0 ? void 0 : style.root) === null || _j === void 0 ? void 0 : _j.backgroundColor) === null || _k === void 0 ? void 0 : _k.disabled,
30
+ [customCssProps.styleBackgroundHover]: (_m = (_l = style === null || style === void 0 ? void 0 : style.root) === null || _l === void 0 ? void 0 : _l.backgroundColor) === null || _m === void 0 ? void 0 : _m.hover,
31
+ [customCssProps.styleBackgroundFocus]: (_p = (_o = style === null || style === void 0 ? void 0 : style.root) === null || _o === void 0 ? void 0 : _o.backgroundColor) === null || _p === void 0 ? void 0 : _p.focus,
32
+ [customCssProps.styleBackgroundReadonly]: (_r = (_q = style === null || style === void 0 ? void 0 : style.root) === null || _q === void 0 ? void 0 : _q.backgroundColor) === null || _r === void 0 ? void 0 : _r.readonly,
33
+ [customCssProps.styleBorderColorDefault]: (_t = (_s = style === null || style === void 0 ? void 0 : style.root) === null || _s === void 0 ? void 0 : _s.borderColor) === null || _t === void 0 ? void 0 : _t.default,
34
+ [customCssProps.styleBorderColorDisabled]: (_v = (_u = style === null || style === void 0 ? void 0 : style.root) === null || _u === void 0 ? void 0 : _u.borderColor) === null || _v === void 0 ? void 0 : _v.disabled,
35
+ [customCssProps.styleBorderColorHover]: (_x = (_w = style === null || style === void 0 ? void 0 : style.root) === null || _w === void 0 ? void 0 : _w.borderColor) === null || _x === void 0 ? void 0 : _x.hover,
36
+ [customCssProps.styleBorderColorFocus]: (_z = (_y = style === null || style === void 0 ? void 0 : style.root) === null || _y === void 0 ? void 0 : _y.borderColor) === null || _z === void 0 ? void 0 : _z.focus,
37
+ [customCssProps.styleBorderColorReadonly]: (_1 = (_0 = style === null || style === void 0 ? void 0 : style.root) === null || _0 === void 0 ? void 0 : _0.borderColor) === null || _1 === void 0 ? void 0 : _1.readonly,
38
+ [customCssProps.styleBoxShadowDefault]: (_3 = (_2 = style === null || style === void 0 ? void 0 : style.root) === null || _2 === void 0 ? void 0 : _2.boxShadow) === null || _3 === void 0 ? void 0 : _3.default,
39
+ [customCssProps.styleBoxShadowDisabled]: (_5 = (_4 = style === null || style === void 0 ? void 0 : style.root) === null || _4 === void 0 ? void 0 : _4.boxShadow) === null || _5 === void 0 ? void 0 : _5.disabled,
40
+ [customCssProps.styleBoxShadowHover]: (_7 = (_6 = style === null || style === void 0 ? void 0 : style.root) === null || _6 === void 0 ? void 0 : _6.boxShadow) === null || _7 === void 0 ? void 0 : _7.hover,
41
+ [customCssProps.styleBoxShadowFocus]: (_9 = (_8 = style === null || style === void 0 ? void 0 : style.root) === null || _8 === void 0 ? void 0 : _8.boxShadow) === null || _9 === void 0 ? void 0 : _9.focus,
42
+ [customCssProps.styleBoxShadowReadonly]: (_11 = (_10 = style === null || style === void 0 ? void 0 : style.root) === null || _10 === void 0 ? void 0 : _10.boxShadow) === null || _11 === void 0 ? void 0 : _11.readonly,
43
+ [customCssProps.styleColorDefault]: (_13 = (_12 = style === null || style === void 0 ? void 0 : style.root) === null || _12 === void 0 ? void 0 : _12.color) === null || _13 === void 0 ? void 0 : _13.default,
44
+ [customCssProps.styleColorDisabled]: (_15 = (_14 = style === null || style === void 0 ? void 0 : style.root) === null || _14 === void 0 ? void 0 : _14.color) === null || _15 === void 0 ? void 0 : _15.disabled,
45
+ [customCssProps.styleColorHover]: (_17 = (_16 = style === null || style === void 0 ? void 0 : style.root) === null || _16 === void 0 ? void 0 : _16.color) === null || _17 === void 0 ? void 0 : _17.hover,
46
+ [customCssProps.styleColorFocus]: (_19 = (_18 = style === null || style === void 0 ? void 0 : style.root) === null || _18 === void 0 ? void 0 : _18.color) === null || _19 === void 0 ? void 0 : _19.focus,
47
+ [customCssProps.styleColorReadonly]: (_21 = (_20 = style === null || style === void 0 ? void 0 : style.root) === null || _20 === void 0 ? void 0 : _20.color) === null || _21 === void 0 ? void 0 : _21.readonly,
48
+ [customCssProps.stylePlaceholderColor]: (_22 = style === null || style === void 0 ? void 0 : style.placeholder) === null || _22 === void 0 ? void 0 : _22.color,
49
+ [customCssProps.stylePlaceholderFontSize]: (_23 = style === null || style === void 0 ? void 0 : style.placeholder) === null || _23 === void 0 ? void 0 : _23.fontSize,
50
+ [customCssProps.stylePlaceholderFontWeight]: (_24 = style === null || style === void 0 ? void 0 : style.placeholder) === null || _24 === void 0 ? void 0 : _24.fontWeight,
51
+ [customCssProps.stylePlaceholderFontStyle]: (_25 = style === null || style === void 0 ? void 0 : style.placeholder) === null || _25 === void 0 ? void 0 : _25.fontStyle,
52
+ };
53
+ }
54
+ //# sourceMappingURL=input-styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-styles.js","sourceRoot":"","sources":["../../../../src/internal/utils/input-styles.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,cAAc,MAAM,oCAAoC,CAAC;AAmDhE;;;;;;;GAOG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAAkC,EAAE,WAAW,GAAG,KAAK;;IACvF,IAAI,MAAM,KAAK,MAAM,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,WAAW,IAAI,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,CAAA,EAAE,CAAC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;QACL,YAAY,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,YAAY;QACvC,WAAW,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,WAAW;QACrC,QAAQ,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,QAAQ;QAC/B,UAAU,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,UAAU;QACnC,YAAY,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,YAAY;QACvC,aAAa,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,aAAa;QACzC,CAAC,cAAc,CAAC,sBAAsB,CA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AK,CAAE,IAAI,4CAAE,KAAK,4CAAE,QAAQ;QACjE,CAAC,cAAc,CAAC,qBAAqB,CAAC,EAAE,OAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,WAAW,4CAAE,KAAK;QACjE,CAAC,cAAc,CAAC,wBAAwB,CAAC,EAAE,OAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,WAAW,4CAAE,QAAQ;QACvE,CAAC,cAAc,CAAC,0BAA0B,CAAC,EAAE,OAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,WAAW,4CAAE,UAAU;QAC3E,CAAC,cAAc,CAAC,yBAAyB,CAAC,EAAE,OAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,WAAW,4CAAE,SAAS;KAC1E,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { SYSTEM } from '../environment';\nimport customCssProps from '../generated/custom-css-properties';\n\n/**\n * Shared style interface for input-like components (input, textarea, text-filter).\n * Components can extend or alias this interface in their own interfaces.ts files.\n */\nexport interface InputStyleProps {\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/**\n * Maps input-like component style props to CSS custom properties.\n * Used by input, textarea, and text-filter components.\n *\n * @param style - The style props to map\n * @param requireRoot - If true, returns undefined when style.root is not provided (textarea behavior).\n * If false, returns object with undefined values (input/text-filter behavior).\n */\nexport function getInputStylesCss(style: InputStyleProps | undefined, requireRoot = false) {\n if (SYSTEM !== 'core') {\n return undefined;\n }\n\n if (requireRoot && !style?.root) {\n return undefined;\n }\n\n return {\n borderRadius: style?.root?.borderRadius,\n borderWidth: style?.root?.borderWidth,\n fontSize: style?.root?.fontSize,\n fontWeight: style?.root?.fontWeight,\n paddingBlock: style?.root?.paddingBlock,\n paddingInline: style?.root?.paddingInline,\n [customCssProps.styleBackgroundDefault]: style?.root?.backgroundColor?.default,\n [customCssProps.styleBackgroundDisabled]: style?.root?.backgroundColor?.disabled,\n [customCssProps.styleBackgroundHover]: style?.root?.backgroundColor?.hover,\n [customCssProps.styleBackgroundFocus]: style?.root?.backgroundColor?.focus,\n [customCssProps.styleBackgroundReadonly]: style?.root?.backgroundColor?.readonly,\n [customCssProps.styleBorderColorDefault]: style?.root?.borderColor?.default,\n [customCssProps.styleBorderColorDisabled]: style?.root?.borderColor?.disabled,\n [customCssProps.styleBorderColorHover]: style?.root?.borderColor?.hover,\n [customCssProps.styleBorderColorFocus]: style?.root?.borderColor?.focus,\n [customCssProps.styleBorderColorReadonly]: style?.root?.borderColor?.readonly,\n [customCssProps.styleBoxShadowDefault]: style?.root?.boxShadow?.default,\n [customCssProps.styleBoxShadowDisabled]: style?.root?.boxShadow?.disabled,\n [customCssProps.styleBoxShadowHover]: style?.root?.boxShadow?.hover,\n [customCssProps.styleBoxShadowFocus]: style?.root?.boxShadow?.focus,\n [customCssProps.styleBoxShadowReadonly]: style?.root?.boxShadow?.readonly,\n [customCssProps.styleColorDefault]: style?.root?.color?.default,\n [customCssProps.styleColorDisabled]: style?.root?.color?.disabled,\n [customCssProps.styleColorHover]: style?.root?.color?.hover,\n [customCssProps.styleColorFocus]: style?.root?.color?.focus,\n [customCssProps.styleColorReadonly]: style?.root?.color?.readonly,\n [customCssProps.stylePlaceholderColor]: style?.placeholder?.color,\n [customCssProps.stylePlaceholderFontSize]: style?.placeholder?.fontSize,\n [customCssProps.stylePlaceholderFontWeight]: style?.placeholder?.fontWeight,\n [customCssProps.stylePlaceholderFontStyle]: style?.placeholder?.fontStyle,\n };\n}\n"]}
@@ -91,6 +91,8 @@ export interface LinkProps extends BaseComponentProps {
91
91
  */
92
92
  rel?: string;
93
93
  /**
94
+ * An object containing CSS properties to customize the link's visual appearance.
95
+ * Refer to the [style](/components/link/?tabId=style) tab for more details.
94
96
  * @awsuiSystem core
95
97
  */
96
98
  style?: LinkProps.Style;
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/link/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,WAAW,IAAI,YAAY,EAC3B,yBAAyB,EAC1B,MAAM,oBAAoB,CAAC;AAC5B;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAE5E,MAAM,WAAW,SAAU,SAAQ,kBAAkB;IACnD;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC;IAE9B;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC;IAExB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,qBAAqB,CAA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AC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,CAAC;CACpF;AAED,yBAAiB,SAAS,CAAC;IACzB,KAAY,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,mBAAmB,CAAC;IAC7E,KAAY,QAAQ,GAChB,QAAQ,GACR,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,WAAW,GACX,WAAW,GACX,YAAY,GACZ,WAAW,GACX,SAAS,CAAC;IACd,KAAY,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC;IAE1C,KAAY,YAAY,GAAG,oBAAoB,CAAC;IAEhD,UAAiB,GAAG;QAClB;;WAEG;QACH,KAAK,IAAI,IAAI,CAAC;KACf;IAED,KAAY,WAAW,GAAG,YAAY,CAAC;IACvC,UAAiB,KAAK;QACpB,IAAI,CAAC,EAAE;YACL,KAAK,CAAC,EAAE;gBACN,MAAM,CAAC,EAAE,MAAM,CAAC;gBAChB,OAAO,CAAC,EAAE,MAAM,CAAC;gBACjB,KAAK,CAAC,EAAE,MAAM,CAAC;aAChB,CAAC;YACF,SAAS,CAAC,EAAE;gBACV,WAAW,CAAC,EAAE,MAAM,CAAC;gBACrB,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,WAAW,CAAC,EAAE,MAAM,CAAC;aACtB,CAAC;SACH,CAAC;KACH;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/link/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../internal/base-component';\nimport {\n BaseNavigationDetail,\n CancelableEventHandler,\n ClickDetail as _ClickDetail,\n NonCancelableEventHandler,\n} from '../internal/events';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../internal/utils/with-native-attributes';\n\nexport interface LinkProps extends BaseComponentProps {\n /**\n * Determines the visual style of the link as follows:\n *\n * - `primary` - Displays the link text with bold styling for sufficient contrast with surrounding text.\n * Use this for links where the context doesn't imply interactivity such as\n * \"Learn more\" links and links within paragraphs.\n * - `secondary` - Does not provide any additional indicators for interactivity (except for an underline when the user hovers over or focuses the link).\n * This can be used in cases where the interactivity is strongly implied by its context,\n * such as in a table or a list of external links.\n * - `info` - Use for \"info\" links that link to content in a help panel.\n *\n * The default is `secondary`, except inside the following components where it defaults to `primary`:\n * - Table\n * - Cards\n * - Alert\n * - Popover\n * - Help Panel (main `content` only)\n */\n variant?: LinkProps.Variant;\n\n /**\n * Determines the font size and line height.\n * This property is overridden if the variant is `info`.\n */\n fontSize?: LinkProps.FontSize;\n\n /**\n * Determines the text color of the link and its icon.\n *\n * - `normal`: Use in most cases where a link is required.\n * - `inverted`: Use to style links inside Flashbars.\n *\n * This property is overridden if the variant is `info`.\n */\n color?: LinkProps.Color;\n\n /**\n * Marks the link as external by adding an icon after the text. If `href`\n * is provided, opens the link in a new tab when clicked.\n */\n external?: boolean;\n\n /**\n * Specifies where to open the linked URL. Set this to `_blank` to open the URL\n * in a new tab. If you set this property to `_blank`, the component\n * automatically adds `rel=\"noopener noreferrer\"` to avoid performance\n * and security issues.\n *\n * For other options see the documentation for <a> tag's\n * [target attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target).\n */\n target?: string;\n\n /**\n * The URL that the link points to.\n * If an `href` is not provided, the component will render using a\n * \"button\" role and `target` will not be used.\n */\n href?: string;\n\n /**\n * The text to render inside the link.\n */\n children?: React.ReactNode;\n\n /**\n * Adds an aria-label to the HTML element.\n */\n ariaLabel?: string;\n\n /**\n * Adds an aria-label to the external icon.\n * @i18n\n */\n externalIconAriaLabel?: string;\n\n /**\n * Called when a link is clicked without any modifier keys. If the link has no `href` provided, it will be called on\n * all clicks.\n *\n * If you want to implement client-side routing yourself, use this event and prevent default browser navigation\n * (by calling `preventDefault`).\n */\n onFollow?: CancelableEventHandler<LinkProps.FollowDetail>;\n\n /**\n * Called when the user clicks on the link. Do not use this handler for navigation, use the `onFollow` event instead.\n */\n onClick?: NonCancelableEventHandler<LinkProps.ClickDetail>;\n\n /**\n * Adds a `rel` attribute to the link. If the `rel` property is provided, it overrides the default behaviour.\n * By default, the component sets the `rel` attribute to \"noopener noreferrer\" when `external` is `true` or `target` is `\"_blank\"`.\n */\n rel?: string;\n\n /**\n * @awsuiSystem core\n */\n style?: LinkProps.Style;\n\n /**\n * Attributes to add to the native 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 nativeAttributes?: NativeAttributes<React.AnchorHTMLAttributes<HTMLAnchorElement>>;\n}\n\nexport namespace LinkProps {\n export type Variant = 'primary' | 'secondary' | 'info' | 'awsui-value-large';\n export type FontSize =\n | 'body-s'\n | 'body-m'\n | 'heading-xs'\n | 'heading-s'\n | 'heading-m'\n | 'heading-l'\n | 'heading-xl'\n | 'display-l'\n | 'inherit';\n export type Color = 'normal' | 'inverted';\n\n export type FollowDetail = BaseNavigationDetail;\n\n export interface Ref {\n /**\n * Sets the browser focus on the anchor element.\n */\n focus(): void;\n }\n\n export type ClickDetail = _ClickDetail;\n export interface Style {\n root?: {\n color?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/link/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../internal/base-component';\nimport {\n BaseNavigationDetail,\n CancelableEventHandler,\n ClickDetail as _ClickDetail,\n NonCancelableEventHandler,\n} from '../internal/events';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../internal/utils/with-native-attributes';\n\nexport interface LinkProps extends BaseComponentProps {\n /**\n * Determines the visual style of the link as follows:\n *\n * - `primary` - Displays the link text with bold styling for sufficient contrast with surrounding text.\n * Use this for links where the context doesn't imply interactivity such as\n * \"Learn more\" links and links within paragraphs.\n * - `secondary` - Does not provide any additional indicators for interactivity (except for an underline when the user hovers over or focuses the link).\n * This can be used in cases where the interactivity is strongly implied by its context,\n * such as in a table or a list of external links.\n * - `info` - Use for \"info\" links that link to content in a help panel.\n *\n * The default is `secondary`, except inside the following components where it defaults to `primary`:\n * - Table\n * - Cards\n * - Alert\n * - Popover\n * - Help Panel (main `content` only)\n */\n variant?: LinkProps.Variant;\n\n /**\n * Determines the font size and line height.\n * This property is overridden if the variant is `info`.\n */\n fontSize?: LinkProps.FontSize;\n\n /**\n * Determines the text color of the link and its icon.\n *\n * - `normal`: Use in most cases where a link is required.\n * - `inverted`: Use to style links inside Flashbars.\n *\n * This property is overridden if the variant is `info`.\n */\n color?: LinkProps.Color;\n\n /**\n * Marks the link as external by adding an icon after the text. If `href`\n * is provided, opens the link in a new tab when clicked.\n */\n external?: boolean;\n\n /**\n * Specifies where to open the linked URL. Set this to `_blank` to open the URL\n * in a new tab. If you set this property to `_blank`, the component\n * automatically adds `rel=\"noopener noreferrer\"` to avoid performance\n * and security issues.\n *\n * For other options see the documentation for <a> tag's\n * [target attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target).\n */\n target?: string;\n\n /**\n * The URL that the link points to.\n * If an `href` is not provided, the component will render using a\n * \"button\" role and `target` will not be used.\n */\n href?: string;\n\n /**\n * The text to render inside the link.\n */\n children?: React.ReactNode;\n\n /**\n * Adds an aria-label to the HTML element.\n */\n ariaLabel?: string;\n\n /**\n * Adds an aria-label to the external icon.\n * @i18n\n */\n externalIconAriaLabel?: string;\n\n /**\n * Called when a link is clicked without any modifier keys. If the link has no `href` provided, it will be called on\n * all clicks.\n *\n * If you want to implement client-side routing yourself, use this event and prevent default browser navigation\n * (by calling `preventDefault`).\n */\n onFollow?: CancelableEventHandler<LinkProps.FollowDetail>;\n\n /**\n * Called when the user clicks on the link. Do not use this handler for navigation, use the `onFollow` event instead.\n */\n onClick?: NonCancelableEventHandler<LinkProps.ClickDetail>;\n\n /**\n * Adds a `rel` attribute to the link. If the `rel` property is provided, it overrides the default behaviour.\n * By default, the component sets the `rel` attribute to \"noopener noreferrer\" when `external` is `true` or `target` is `\"_blank\"`.\n */\n rel?: string;\n\n /**\n * An object containing CSS properties to customize the link's visual appearance.\n * Refer to the [style](/components/link/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: LinkProps.Style;\n\n /**\n * Attributes to add to the native 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 nativeAttributes?: NativeAttributes<React.AnchorHTMLAttributes<HTMLAnchorElement>>;\n}\n\nexport namespace LinkProps {\n export type Variant = 'primary' | 'secondary' | 'info' | 'awsui-value-large';\n export type FontSize =\n | 'body-s'\n | 'body-m'\n | 'heading-xs'\n | 'heading-s'\n | 'heading-m'\n | 'heading-l'\n | 'heading-xl'\n | 'display-l'\n | 'inherit';\n export type Color = 'normal' | 'inverted';\n\n export type FollowDetail = BaseNavigationDetail;\n\n export interface Ref {\n /**\n * Sets the browser focus on the anchor element.\n */\n focus(): void;\n }\n\n export type ClickDetail = _ClickDetail;\n export interface Style {\n root?: {\n color?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n }\n}\n"]}
@@ -1,25 +1,25 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "link": "awsui_link_4c84z_1rl6a_145",
5
- "variant-secondary": "awsui_variant-secondary_4c84z_1rl6a_212",
6
- "variant-primary": "awsui_variant-primary_4c84z_1rl6a_247",
7
- "variant-info": "awsui_variant-info_4c84z_1rl6a_280",
8
- "variant-value-large": "awsui_variant-value-large_4c84z_1rl6a_315",
9
- "variant-top-navigation": "awsui_variant-top-navigation_4c84z_1rl6a_347",
10
- "variant-recovery": "awsui_variant-recovery_4c84z_1rl6a_382",
11
- "button": "awsui_button_4c84z_1rl6a_415",
12
- "color-inverted": "awsui_color-inverted_4c84z_1rl6a_450",
13
- "font-size-body-s": "awsui_font-size-body-s_4c84z_1rl6a_471",
14
- "font-size-body-m": "awsui_font-size-body-m_4c84z_1rl6a_478",
15
- "font-size-heading-xs": "awsui_font-size-heading-xs_4c84z_1rl6a_484",
16
- "font-size-heading-s": "awsui_font-size-heading-s_4c84z_1rl6a_490",
17
- "font-size-heading-m": "awsui_font-size-heading-m_4c84z_1rl6a_497",
18
- "font-size-heading-l": "awsui_font-size-heading-l_4c84z_1rl6a_504",
19
- "font-size-heading-xl": "awsui_font-size-heading-xl_4c84z_1rl6a_511",
20
- "font-size-display-l": "awsui_font-size-display-l_4c84z_1rl6a_518",
21
- "font-size-inherit": "awsui_font-size-inherit_4c84z_1rl6a_525",
22
- "icon-wrapper": "awsui_icon-wrapper_4c84z_1rl6a_533",
23
- "icon": "awsui_icon_4c84z_1rl6a_533"
4
+ "link": "awsui_link_4c84z_1grqn_145",
5
+ "variant-secondary": "awsui_variant-secondary_4c84z_1grqn_212",
6
+ "variant-primary": "awsui_variant-primary_4c84z_1grqn_247",
7
+ "variant-info": "awsui_variant-info_4c84z_1grqn_280",
8
+ "variant-value-large": "awsui_variant-value-large_4c84z_1grqn_315",
9
+ "variant-top-navigation": "awsui_variant-top-navigation_4c84z_1grqn_347",
10
+ "variant-recovery": "awsui_variant-recovery_4c84z_1grqn_382",
11
+ "button": "awsui_button_4c84z_1grqn_415",
12
+ "color-inverted": "awsui_color-inverted_4c84z_1grqn_450",
13
+ "font-size-body-s": "awsui_font-size-body-s_4c84z_1grqn_471",
14
+ "font-size-body-m": "awsui_font-size-body-m_4c84z_1grqn_478",
15
+ "font-size-heading-xs": "awsui_font-size-heading-xs_4c84z_1grqn_484",
16
+ "font-size-heading-s": "awsui_font-size-heading-s_4c84z_1grqn_490",
17
+ "font-size-heading-m": "awsui_font-size-heading-m_4c84z_1grqn_497",
18
+ "font-size-heading-l": "awsui_font-size-heading-l_4c84z_1grqn_504",
19
+ "font-size-heading-xl": "awsui_font-size-heading-xl_4c84z_1grqn_511",
20
+ "font-size-display-l": "awsui_font-size-display-l_4c84z_1grqn_518",
21
+ "font-size-inherit": "awsui_font-size-inherit_4c84z_1grqn_525",
22
+ "icon-wrapper": "awsui_icon-wrapper_4c84z_1grqn_533",
23
+ "icon": "awsui_icon_4c84z_1grqn_533"
24
24
  };
25
25