@cumulus-ui/components 0.5.2 → 0.5.3

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 (181) hide show
  1. package/dist/alert/interfaces.d.ts +30 -6
  2. package/dist/alert/interfaces.d.ts.map +1 -1
  3. package/dist/anchor-navigation/interfaces.d.ts +12 -0
  4. package/dist/anchor-navigation/interfaces.d.ts.map +1 -1
  5. package/dist/annotation-context/interfaces.d.ts +31 -5
  6. package/dist/annotation-context/interfaces.d.ts.map +1 -1
  7. package/dist/app-layout/interfaces.d.ts +59 -10
  8. package/dist/app-layout/interfaces.d.ts.map +1 -1
  9. package/dist/attribute-editor/interfaces.d.ts +22 -5
  10. package/dist/attribute-editor/interfaces.d.ts.map +1 -1
  11. package/dist/autosuggest/interfaces.d.ts +11 -3
  12. package/dist/autosuggest/interfaces.d.ts.map +1 -1
  13. package/dist/badge/interfaces.d.ts +5 -1
  14. package/dist/badge/interfaces.d.ts.map +1 -1
  15. package/dist/box/interfaces.d.ts +6 -0
  16. package/dist/box/interfaces.d.ts.map +1 -1
  17. package/dist/breadcrumb-group/interfaces.d.ts +18 -3
  18. package/dist/breadcrumb-group/interfaces.d.ts.map +1 -1
  19. package/dist/button/interfaces.d.ts +37 -5
  20. package/dist/button/interfaces.d.ts.map +1 -1
  21. package/dist/button-dropdown/interfaces.d.ts +15 -4
  22. package/dist/button-dropdown/interfaces.d.ts.map +1 -1
  23. package/dist/button-group/interfaces.d.ts +9 -2
  24. package/dist/button-group/interfaces.d.ts.map +1 -1
  25. package/dist/calendar/interfaces.d.ts +6 -1
  26. package/dist/calendar/interfaces.d.ts.map +1 -1
  27. package/dist/cards/interfaces.d.ts +26 -6
  28. package/dist/cards/interfaces.d.ts.map +1 -1
  29. package/dist/checkbox/base-checkbox.d.ts +14 -4
  30. package/dist/checkbox/base-checkbox.d.ts.map +1 -1
  31. package/dist/checkbox/interfaces.d.ts +10 -2
  32. package/dist/checkbox/interfaces.d.ts.map +1 -1
  33. package/dist/code-editor/interfaces.d.ts +33 -6
  34. package/dist/code-editor/interfaces.d.ts.map +1 -1
  35. package/dist/collection-preferences/interfaces.d.ts +25 -0
  36. package/dist/collection-preferences/interfaces.d.ts.map +1 -1
  37. package/dist/column-layout/interfaces.d.ts +5 -0
  38. package/dist/column-layout/interfaces.d.ts.map +1 -1
  39. package/dist/container/interfaces.d.ts +13 -3
  40. package/dist/container/interfaces.d.ts.map +1 -1
  41. package/dist/content-layout/interfaces.d.ts +31 -4
  42. package/dist/content-layout/interfaces.d.ts.map +1 -1
  43. package/dist/copy-to-clipboard/interfaces.d.ts +11 -0
  44. package/dist/copy-to-clipboard/interfaces.d.ts.map +1 -1
  45. package/dist/date-picker/interfaces.d.ts +9 -2
  46. package/dist/date-picker/interfaces.d.ts.map +1 -1
  47. package/dist/date-picker/internal.d.ts +1 -0
  48. package/dist/date-picker/internal.d.ts.map +1 -1
  49. package/dist/date-range-picker/interfaces.d.ts +14 -3
  50. package/dist/date-range-picker/interfaces.d.ts.map +1 -1
  51. package/dist/drawer/interfaces.d.ts +23 -2
  52. package/dist/drawer/interfaces.d.ts.map +1 -1
  53. package/dist/dropdown/interfaces.d.ts +56 -8
  54. package/dist/dropdown/interfaces.d.ts.map +1 -1
  55. package/dist/error-boundary/interfaces.d.ts +6 -1
  56. package/dist/error-boundary/interfaces.d.ts.map +1 -1
  57. package/dist/expandable-section/interfaces.d.ts +26 -3
  58. package/dist/expandable-section/interfaces.d.ts.map +1 -1
  59. package/dist/file-dropzone/interfaces.d.ts +10 -0
  60. package/dist/file-dropzone/interfaces.d.ts.map +1 -1
  61. package/dist/file-input/interfaces.d.ts +6 -1
  62. package/dist/file-input/interfaces.d.ts.map +1 -1
  63. package/dist/file-input/internal.d.ts +1 -0
  64. package/dist/file-input/internal.d.ts.map +1 -1
  65. package/dist/file-token-group/interfaces.d.ts +6 -1
  66. package/dist/file-token-group/interfaces.d.ts.map +1 -1
  67. package/dist/file-upload/interfaces.d.ts +18 -4
  68. package/dist/file-upload/interfaces.d.ts.map +1 -1
  69. package/dist/file-upload/internal.d.ts +1 -0
  70. package/dist/file-upload/internal.d.ts.map +1 -1
  71. package/dist/form/interfaces.d.ts +21 -5
  72. package/dist/form/interfaces.d.ts.map +1 -1
  73. package/dist/form-field/interfaces.d.ts +37 -8
  74. package/dist/form-field/interfaces.d.ts.map +1 -1
  75. package/dist/grid/interfaces.d.ts +9 -0
  76. package/dist/grid/interfaces.d.ts.map +1 -1
  77. package/dist/header/interfaces.d.ts +24 -1
  78. package/dist/header/interfaces.d.ts.map +1 -1
  79. package/dist/help-panel/interfaces.d.ts +18 -3
  80. package/dist/help-panel/interfaces.d.ts.map +1 -1
  81. package/dist/hotspot/interfaces.d.ts +15 -0
  82. package/dist/hotspot/interfaces.d.ts.map +1 -1
  83. package/dist/icon/interfaces.d.ts +23 -0
  84. package/dist/icon/interfaces.d.ts.map +1 -1
  85. package/dist/index.js +143 -94
  86. package/dist/input/interfaces.d.ts +26 -1
  87. package/dist/input/interfaces.d.ts.map +1 -1
  88. package/dist/input/internal.d.ts +1 -0
  89. package/dist/input/internal.d.ts.map +1 -1
  90. package/dist/internal/generated/cloudscape-types.d.ts +2 -0
  91. package/dist/internal/generated/cloudscape-types.d.ts.map +1 -1
  92. package/dist/internal/generated/component-manifest.d.ts +54 -54
  93. package/dist/internal/types.d.ts +14 -0
  94. package/dist/internal/types.d.ts.map +1 -0
  95. package/dist/item-card/interfaces.d.ts +25 -6
  96. package/dist/item-card/interfaces.d.ts.map +1 -1
  97. package/dist/link/interfaces.d.ts +17 -4
  98. package/dist/link/interfaces.d.ts.map +1 -1
  99. package/dist/list/interfaces.d.ts +5 -1
  100. package/dist/list/interfaces.d.ts.map +1 -1
  101. package/dist/live-region/interfaces.d.ts +7 -0
  102. package/dist/live-region/interfaces.d.ts.map +1 -1
  103. package/dist/modal/interfaces.d.ts +20 -4
  104. package/dist/modal/interfaces.d.ts.map +1 -1
  105. package/dist/multiselect/interfaces.d.ts +6 -2
  106. package/dist/multiselect/interfaces.d.ts.map +1 -1
  107. package/dist/navigable-group/interfaces.d.ts +12 -1
  108. package/dist/navigable-group/interfaces.d.ts.map +1 -1
  109. package/dist/pagination/interfaces.d.ts +18 -0
  110. package/dist/pagination/interfaces.d.ts.map +1 -1
  111. package/dist/panel-layout/interfaces.d.ts +10 -0
  112. package/dist/panel-layout/interfaces.d.ts.map +1 -1
  113. package/dist/pie-chart/interfaces.d.ts +29 -6
  114. package/dist/pie-chart/interfaces.d.ts.map +1 -1
  115. package/dist/popover/interfaces.d.ts +10 -2
  116. package/dist/popover/interfaces.d.ts.map +1 -1
  117. package/dist/progress-bar/interfaces.d.ts +26 -5
  118. package/dist/progress-bar/interfaces.d.ts.map +1 -1
  119. package/dist/prompt-input/interfaces.d.ts +43 -6
  120. package/dist/prompt-input/interfaces.d.ts.map +1 -1
  121. package/dist/property-filter/interfaces.d.ts +35 -6
  122. package/dist/property-filter/interfaces.d.ts.map +1 -1
  123. package/dist/radio-group/interfaces.d.ts +5 -1
  124. package/dist/radio-group/interfaces.d.ts.map +1 -1
  125. package/dist/s3-resource-selector/interfaces.d.ts +18 -1
  126. package/dist/s3-resource-selector/interfaces.d.ts.map +1 -1
  127. package/dist/segmented-control/interfaces.d.ts +5 -1
  128. package/dist/segmented-control/interfaces.d.ts.map +1 -1
  129. package/dist/select/interfaces.d.ts +18 -5
  130. package/dist/select/interfaces.d.ts.map +1 -1
  131. package/dist/select/internal.d.ts +2 -0
  132. package/dist/select/internal.d.ts.map +1 -1
  133. package/dist/side-navigation/interfaces.d.ts +30 -2
  134. package/dist/side-navigation/interfaces.d.ts.map +1 -1
  135. package/dist/slider/interfaces.d.ts +6 -1
  136. package/dist/slider/interfaces.d.ts.map +1 -1
  137. package/dist/slider/internal.d.ts +1 -0
  138. package/dist/slider/internal.d.ts.map +1 -1
  139. package/dist/space-between/interfaces.d.ts +5 -1
  140. package/dist/space-between/interfaces.d.ts.map +1 -1
  141. package/dist/split-panel/interfaces.d.ts +21 -4
  142. package/dist/split-panel/interfaces.d.ts.map +1 -1
  143. package/dist/split-panel/internal.d.ts +1 -0
  144. package/dist/split-panel/internal.d.ts.map +1 -1
  145. package/dist/status-indicator/interfaces.d.ts +5 -1
  146. package/dist/status-indicator/interfaces.d.ts.map +1 -1
  147. package/dist/steps/interfaces.d.ts +6 -1
  148. package/dist/steps/interfaces.d.ts.map +1 -1
  149. package/dist/table/interfaces.d.ts +62 -13
  150. package/dist/table/interfaces.d.ts.map +1 -1
  151. package/dist/tabs/interfaces.d.ts +13 -2
  152. package/dist/tabs/interfaces.d.ts.map +1 -1
  153. package/dist/tabs/internal.d.ts +2 -0
  154. package/dist/tabs/internal.d.ts.map +1 -1
  155. package/dist/tag-editor/interfaces.d.ts +7 -0
  156. package/dist/tag-editor/interfaces.d.ts.map +1 -1
  157. package/dist/text-content/interfaces.d.ts +6 -0
  158. package/dist/text-content/interfaces.d.ts.map +1 -1
  159. package/dist/text-filter/interfaces.d.ts +10 -2
  160. package/dist/text-filter/interfaces.d.ts.map +1 -1
  161. package/dist/tiles/interfaces.d.ts +5 -1
  162. package/dist/tiles/interfaces.d.ts.map +1 -1
  163. package/dist/toggle/interfaces.d.ts +7 -2
  164. package/dist/toggle/interfaces.d.ts.map +1 -1
  165. package/dist/toggle-button/interfaces.d.ts +28 -1
  166. package/dist/toggle-button/interfaces.d.ts.map +1 -1
  167. package/dist/token/interfaces.d.ts +9 -3
  168. package/dist/token/interfaces.d.ts.map +1 -1
  169. package/dist/token-group/interfaces.d.ts +6 -1
  170. package/dist/token-group/interfaces.d.ts.map +1 -1
  171. package/dist/tooltip/interfaces.d.ts +9 -1
  172. package/dist/tooltip/interfaces.d.ts.map +1 -1
  173. package/dist/top-navigation/interfaces.d.ts +5 -1
  174. package/dist/top-navigation/interfaces.d.ts.map +1 -1
  175. package/dist/tree-view/interfaces.d.ts +5 -1
  176. package/dist/tree-view/interfaces.d.ts.map +1 -1
  177. package/dist/tutorial-panel/interfaces.d.ts +5 -0
  178. package/dist/tutorial-panel/interfaces.d.ts.map +1 -1
  179. package/dist/wizard/interfaces.d.ts +29 -0
  180. package/dist/wizard/interfaces.d.ts.map +1 -1
  181. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { BaseKeyDetail } from '../internal/generated/cloudscape-types.js';
1
+ import { BaseKeyDetail, EventHandler } from '../internal/generated/cloudscape-types.js';
2
2
  export interface BaseInputProps {
3
3
  /**
4
4
  * Specifies the text entered into the form element.
@@ -45,6 +45,19 @@ export interface BaseInputProps {
45
45
  * Specifies whether to add `aria-required` to the native control.
46
46
  */
47
47
  ariaRequired?: boolean;
48
+ /**
49
+ * Called when input focus is removed from the UI control.
50
+ */
51
+ onBlur?: EventHandler<null>;
52
+ /**
53
+ * Called when input focus is moved to the UI control.
54
+ */
55
+ onFocus?: EventHandler<null>;
56
+ /**
57
+ * Called whenever a user changes the input value (by typing or pasting).
58
+ * The event `detail` contains the current value of the field.
59
+ */
60
+ onChange?: EventHandler<InputProps.ChangeDetail>;
48
61
  }
49
62
  export interface InputAutoCorrect {
50
63
  /**
@@ -81,6 +94,18 @@ export interface InputSpellcheck {
81
94
  spellcheck?: boolean;
82
95
  }
83
96
  export interface InputKeyEvents {
97
+ /**
98
+ * Called when the underlying native textarea emits a `keydown` event.
99
+ * The event `detail` contains the `keyCode` and information
100
+ * about modifiers (that is, CTRL, ALT, SHIFT, META, etc.).
101
+ */
102
+ onKeyDown?: EventHandler<InputProps.KeyDetail>;
103
+ /**
104
+ * Called when the underlying native textarea emits a `keyup` event.
105
+ * The event `detail` contains the `keyCode` and information
106
+ * about modifiers (that is, CTRL, ALT, SHIFT, META, etc.).
107
+ */
108
+ onKeyUp?: EventHandler<InputProps.KeyDetail>;
84
109
  }
85
110
  export interface InputClearLabel {
86
111
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/input/interfaces.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa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E,MAAM,CAAC;gBACf,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,QAAQ,CAAC,EAAE,MAAM,CAAC;aACnB,CAAC;YACF,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,aAAa,CAAC,EAAE,MAAM,CAAC;SACxB,CAAC;QACF,WAAW,CAAC,EAAE;YACZ,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;KACH;CACF;AACD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -15,6 +15,7 @@ export declare class CsInputInternal extends Base {
15
15
  inputMode: string;
16
16
  step: number | undefined;
17
17
  ariaLabel: string | null;
18
+ ariaRequired: string | null;
18
19
  ariaDescribedby: string | null;
19
20
  clearAriaLabel: string;
20
21
  focus(options?: FocusOptions): void;
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/input/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAK9D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAU5D,OAAO,kBAAkB,CAAC;AAE1B,QAAA,MAAM,IAAI,qHAAqC,CAAC;AAIhD,qBAAa,eAAgB,SAAQ,IAAI;IACvC,OAAgB,MAAM,4BAA+C;IAGrE,OAAO,CAAC,aAAa,CAA6C;IAGzD,KAAK,SAAM;IAGpB,IAAI,EAAE,MAAM,CAAU;IAGtB,WAAW,SAAM;IAGjB,QAAQ,UAAS;IAGjB,OAAO,UAAS;IAGhB,OAAO,UAAS;IAGhB,SAAS,UAAS;IAGT,SAAS,SAAM;IAGxB,IAAI,EAAE,MAA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E,MAAM,GAAG,IAAI,CAAQ;IAGtC,cAAc,SAAM;IAEpB,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAInC,MAAM,IAAI,IAAI;IAId,OAAO,CAAC,SAAS;IAIjB,OAAO,KAAK,UAAU,GAErB;IAED,OAAO,KAAK,UAAU,GAErB;IAED,OAAO,KAAK,wBAAwB,GAKnC;IAED,OAAO,KAAK,gBAAgB,GAE3B;IAED,OAAO,CAAC,QAAQ,CAKd;IAEF,OAAO,CAAC,OAAO,CAEb;IAEF,OAAO,CAAC,QAAQ,CAEd;IAEF,OAAO,CAAC,UAAU,CAWhB;IAEF,OAAO,CAAC,QAAQ,CAWd;IAEF,OAAO,CAAC,QAAQ,CAKd;IAEO,MAAM,IAAI,cAAc;CA8DlC"}
@@ -24,6 +24,8 @@ export interface BaseKeyDetail {
24
24
  isComposing: boolean;
25
25
  }
26
26
  export type Optional<T> = T | undefined;
27
+ export type SlotContent = unknown;
28
+ export type EventHandler<T = void> = (event: CustomEvent<T>) => void;
27
29
  interface BaseOption {
28
30
  value?: string;
29
31
  label?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"cloudscape-types.d.ts","sourceRoot":"","sources":["../../../src/internal/generated/cloudscape-types.ts"],"names":[],"mappings":"AAIA;;;GAGG;AAIH,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAA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IAC7C,OAAO,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;CAC1C"}
@@ -2,22 +2,22 @@ export declare const COMPONENT_MANIFEST: readonly [{
2
2
  readonly name: "alert";
3
3
  readonly tagName: "cs-alert";
4
4
  readonly slots: readonly ["default", "header", "buttonText", "action"];
5
- readonly events: readonly ["dismiss", "buttonClick"];
5
+ readonly events: readonly [];
6
6
  }, {
7
7
  readonly name: "anchor-navigation";
8
8
  readonly tagName: "cs-anchor-navigation";
9
9
  readonly slots: readonly [];
10
- readonly events: readonly ["follow", "activeHrefChange"];
10
+ readonly events: readonly [];
11
11
  }, {
12
12
  readonly name: "annotation-context";
13
13
  readonly tagName: "cs-annotation-context";
14
14
  readonly slots: readonly ["default"];
15
- readonly events: readonly ["stepChange", "startTutorial", "exitTutorial", "finish"];
15
+ readonly events: readonly [];
16
16
  }, {
17
17
  readonly name: "app-layout";
18
18
  readonly tagName: "cs-app-layout";
19
19
  readonly slots: readonly ["navigation", "contentHeader", "content", "tools", "notifications", "breadcrumbs", "splitPanel"];
20
- readonly events: readonly ["drawerChange", "navigationChange", "toolsChange", "splitPanelResize", "splitPanelToggle", "splitPanelPreferencesChange"];
20
+ readonly events: readonly [];
21
21
  }, {
22
22
  readonly name: "app-layout-toolbar";
23
23
  readonly tagName: "cs-app-layout-toolbar";
@@ -32,12 +32,12 @@ export declare const COMPONENT_MANIFEST: readonly [{
32
32
  readonly name: "attribute-editor";
33
33
  readonly tagName: "cs-attribute-editor";
34
34
  readonly slots: readonly ["empty", "additionalInfo", "additionalActions"];
35
- readonly events: readonly ["addButtonClick", "removeButtonClick"];
35
+ readonly events: readonly [];
36
36
  }, {
37
37
  readonly name: "autosuggest";
38
38
  readonly tagName: "cs-autosuggest";
39
39
  readonly slots: readonly ["empty"];
40
- readonly events: readonly ["select"];
40
+ readonly events: readonly [];
41
41
  }, {
42
42
  readonly name: "badge";
43
43
  readonly tagName: "cs-badge";
@@ -57,47 +57,47 @@ export declare const COMPONENT_MANIFEST: readonly [{
57
57
  readonly name: "breadcrumb-group";
58
58
  readonly tagName: "cs-breadcrumb-group";
59
59
  readonly slots: readonly [];
60
- readonly events: readonly ["click", "follow", "dropdownItemClick", "dropdownItemFollow"];
60
+ readonly events: readonly [];
61
61
  }, {
62
62
  readonly name: "button";
63
63
  readonly tagName: "cs-button";
64
64
  readonly slots: readonly ["iconSvg", "default"];
65
- readonly events: readonly ["click", "follow"];
65
+ readonly events: readonly [];
66
66
  }, {
67
67
  readonly name: "button-dropdown";
68
68
  readonly tagName: "cs-button-dropdown";
69
69
  readonly slots: readonly ["default"];
70
- readonly events: readonly ["itemClick", "itemFollow"];
70
+ readonly events: readonly [];
71
71
  }, {
72
72
  readonly name: "button-group";
73
73
  readonly tagName: "cs-button-group";
74
74
  readonly slots: readonly [];
75
- readonly events: readonly ["itemClick", "filesChange"];
75
+ readonly events: readonly [];
76
76
  }, {
77
77
  readonly name: "calendar";
78
78
  readonly tagName: "cs-calendar";
79
79
  readonly slots: readonly [];
80
- readonly events: readonly ["change"];
80
+ readonly events: readonly [];
81
81
  }, {
82
82
  readonly name: "cards";
83
83
  readonly tagName: "cs-cards";
84
84
  readonly slots: readonly ["empty", "header", "filter", "pagination", "preferences"];
85
- readonly events: readonly ["selectionChange"];
85
+ readonly events: readonly [];
86
86
  }, {
87
87
  readonly name: "checkbox";
88
88
  readonly tagName: "cs-checkbox";
89
89
  readonly slots: readonly ["default"];
90
- readonly events: readonly ["change"];
90
+ readonly events: readonly [];
91
91
  }, {
92
92
  readonly name: "code-editor";
93
93
  readonly tagName: "cs-code-editor";
94
94
  readonly slots: readonly [];
95
- readonly events: readonly ["change", "delayedChange", "validate", "preferencesChange", "recoveryClick", "editorContentResize"];
95
+ readonly events: readonly [];
96
96
  }, {
97
97
  readonly name: "collection-preferences";
98
98
  readonly tagName: "cs-collection-preferences";
99
99
  readonly slots: readonly ["contentBefore"];
100
- readonly events: readonly ["cancel", "confirm"];
100
+ readonly events: readonly [];
101
101
  }, {
102
102
  readonly name: "column-layout";
103
103
  readonly tagName: "cs-column-layout";
@@ -117,7 +117,7 @@ export declare const COMPONENT_MANIFEST: readonly [{
117
117
  readonly name: "copy-to-clipboard";
118
118
  readonly tagName: "cs-copy-to-clipboard";
119
119
  readonly slots: readonly [];
120
- readonly events: readonly ["copySuccess", "copyFailure"];
120
+ readonly events: readonly [];
121
121
  }, {
122
122
  readonly name: "date-input";
123
123
  readonly tagName: "cs-date-input";
@@ -127,12 +127,12 @@ export declare const COMPONENT_MANIFEST: readonly [{
127
127
  readonly name: "date-picker";
128
128
  readonly tagName: "cs-date-picker";
129
129
  readonly slots: readonly [];
130
- readonly events: readonly ["focus", "blur"];
130
+ readonly events: readonly [];
131
131
  }, {
132
132
  readonly name: "date-range-picker";
133
133
  readonly tagName: "cs-date-range-picker";
134
134
  readonly slots: readonly [];
135
- readonly events: readonly ["change", "focus", "blur"];
135
+ readonly events: readonly [];
136
136
  }, {
137
137
  readonly name: "drawer";
138
138
  readonly tagName: "cs-drawer";
@@ -142,7 +142,7 @@ export declare const COMPONENT_MANIFEST: readonly [{
142
142
  readonly name: "dropdown";
143
143
  readonly tagName: "cs-dropdown";
144
144
  readonly slots: readonly ["trigger", "header", "footer", "content"];
145
- readonly events: readonly ["loadItems", "outsideClick", "escape", "focusEnter", "focusLeave"];
145
+ readonly events: readonly [];
146
146
  }, {
147
147
  readonly name: "error-boundary";
148
148
  readonly tagName: "cs-error-boundary";
@@ -152,27 +152,27 @@ export declare const COMPONENT_MANIFEST: readonly [{
152
152
  readonly name: "expandable-section";
153
153
  readonly tagName: "cs-expandable-section";
154
154
  readonly slots: readonly ["default", "header", "headerText", "headerInfo", "headerActions"];
155
- readonly events: readonly ["change"];
155
+ readonly events: readonly [];
156
156
  }, {
157
157
  readonly name: "file-dropzone";
158
158
  readonly tagName: "cs-file-dropzone";
159
159
  readonly slots: readonly ["default"];
160
- readonly events: readonly ["change"];
160
+ readonly events: readonly [];
161
161
  }, {
162
162
  readonly name: "file-input";
163
163
  readonly tagName: "cs-file-input";
164
164
  readonly slots: readonly [];
165
- readonly events: readonly ["change"];
165
+ readonly events: readonly [];
166
166
  }, {
167
167
  readonly name: "file-token-group";
168
168
  readonly tagName: "cs-file-token-group";
169
169
  readonly slots: readonly [];
170
- readonly events: readonly ["dismiss"];
170
+ readonly events: readonly [];
171
171
  }, {
172
172
  readonly name: "file-upload";
173
173
  readonly tagName: "cs-file-upload";
174
174
  readonly slots: readonly ["constraintText", "errorText", "warningText"];
175
- readonly events: readonly ["change"];
175
+ readonly events: readonly [];
176
176
  }, {
177
177
  readonly name: "flashbar";
178
178
  readonly tagName: "cs-flashbar";
@@ -222,7 +222,7 @@ export declare const COMPONENT_MANIFEST: readonly [{
222
222
  readonly name: "input";
223
223
  readonly tagName: "cs-input";
224
224
  readonly slots: readonly [];
225
- readonly events: readonly ["blur", "focus", "change", "keyDown", "keyUp"];
225
+ readonly events: readonly [];
226
226
  }, {
227
227
  readonly name: "item-card";
228
228
  readonly tagName: "cs-item-card";
@@ -242,12 +242,12 @@ export declare const COMPONENT_MANIFEST: readonly [{
242
242
  readonly name: "link";
243
243
  readonly tagName: "cs-link";
244
244
  readonly slots: readonly ["default"];
245
- readonly events: readonly ["follow", "click"];
245
+ readonly events: readonly [];
246
246
  }, {
247
247
  readonly name: "list";
248
248
  readonly tagName: "cs-list";
249
249
  readonly slots: readonly [];
250
- readonly events: readonly ["sortingChange"];
250
+ readonly events: readonly [];
251
251
  }, {
252
252
  readonly name: "live-region";
253
253
  readonly tagName: "cs-live-region";
@@ -262,12 +262,12 @@ export declare const COMPONENT_MANIFEST: readonly [{
262
262
  readonly name: "modal";
263
263
  readonly tagName: "cs-modal";
264
264
  readonly slots: readonly ["header", "default", "footer"];
265
- readonly events: readonly ["dismiss"];
265
+ readonly events: readonly [];
266
266
  }, {
267
267
  readonly name: "multiselect";
268
268
  readonly tagName: "cs-multiselect";
269
269
  readonly slots: readonly [];
270
- readonly events: readonly ["change"];
270
+ readonly events: readonly [];
271
271
  }, {
272
272
  readonly name: "navigable-group";
273
273
  readonly tagName: "cs-navigable-group";
@@ -277,17 +277,17 @@ export declare const COMPONENT_MANIFEST: readonly [{
277
277
  readonly name: "pagination";
278
278
  readonly tagName: "cs-pagination";
279
279
  readonly slots: readonly [];
280
- readonly events: readonly ["change", "previousPageClick", "nextPageClick"];
280
+ readonly events: readonly [];
281
281
  }, {
282
282
  readonly name: "panel-layout";
283
283
  readonly tagName: "cs-panel-layout";
284
284
  readonly slots: readonly [];
285
- readonly events: readonly ["panelResize", "layoutChange"];
285
+ readonly events: readonly [];
286
286
  }, {
287
287
  readonly name: "pie-chart";
288
288
  readonly tagName: "cs-pie-chart";
289
289
  readonly slots: readonly ["additionalFilters", "empty", "noMatch"];
290
- readonly events: readonly ["recoveryClick", "highlightChange", "filterChange"];
290
+ readonly events: readonly [];
291
291
  }, {
292
292
  readonly name: "popover";
293
293
  readonly tagName: "cs-popover";
@@ -297,17 +297,17 @@ export declare const COMPONENT_MANIFEST: readonly [{
297
297
  readonly name: "progress-bar";
298
298
  readonly tagName: "cs-progress-bar";
299
299
  readonly slots: readonly ["label", "description", "additionalInfo", "resultText"];
300
- readonly events: readonly ["resultButtonClick"];
300
+ readonly events: readonly [];
301
301
  }, {
302
302
  readonly name: "prompt-input";
303
303
  readonly tagName: "cs-prompt-input";
304
304
  readonly slots: readonly ["actionButtonIconSvg", "customPrimaryAction", "secondaryActions", "secondaryContent"];
305
- readonly events: readonly ["action"];
305
+ readonly events: readonly [];
306
306
  }, {
307
307
  readonly name: "property-filter";
308
308
  readonly tagName: "cs-property-filter";
309
309
  readonly slots: readonly ["customControl", "customFilterActions", "filteringEmpty", "filteringConstraintText"];
310
- readonly events: readonly ["change", "loadItems"];
310
+ readonly events: readonly [];
311
311
  }, {
312
312
  readonly name: "radio-button";
313
313
  readonly tagName: "cs-radio-button";
@@ -317,32 +317,32 @@ export declare const COMPONENT_MANIFEST: readonly [{
317
317
  readonly name: "radio-group";
318
318
  readonly tagName: "cs-radio-group";
319
319
  readonly slots: readonly [];
320
- readonly events: readonly ["change"];
320
+ readonly events: readonly [];
321
321
  }, {
322
322
  readonly name: "s3-resource-selector";
323
323
  readonly tagName: "cs-s3-resource-selector";
324
324
  readonly slots: readonly ["alert"];
325
- readonly events: readonly ["inputBlur", "inputFocus", "change"];
325
+ readonly events: readonly [];
326
326
  }, {
327
327
  readonly name: "segmented-control";
328
328
  readonly tagName: "cs-segmented-control";
329
329
  readonly slots: readonly [];
330
- readonly events: readonly ["change"];
330
+ readonly events: readonly [];
331
331
  }, {
332
332
  readonly name: "select";
333
333
  readonly tagName: "cs-select";
334
334
  readonly slots: readonly ["noMatch"];
335
- readonly events: readonly ["blur", "focus", "change"];
335
+ readonly events: readonly [];
336
336
  }, {
337
337
  readonly name: "side-navigation";
338
338
  readonly tagName: "cs-side-navigation";
339
339
  readonly slots: readonly ["itemsControl"];
340
- readonly events: readonly ["follow", "change"];
340
+ readonly events: readonly [];
341
341
  }, {
342
342
  readonly name: "slider";
343
343
  readonly tagName: "cs-slider";
344
344
  readonly slots: readonly [];
345
- readonly events: readonly ["change"];
345
+ readonly events: readonly [];
346
346
  }, {
347
347
  readonly name: "space-between";
348
348
  readonly tagName: "cs-space-between";
@@ -372,17 +372,17 @@ export declare const COMPONENT_MANIFEST: readonly [{
372
372
  readonly name: "table";
373
373
  readonly tagName: "cs-table";
374
374
  readonly slots: readonly ["header", "footer", "empty", "filter", "pagination", "preferences"];
375
- readonly events: readonly ["columnWidthsChange", "sortingChange", "selectionChange", "rowClick", "rowContextMenu", "editCancel"];
375
+ readonly events: readonly [];
376
376
  }, {
377
377
  readonly name: "tabs";
378
378
  readonly tagName: "cs-tabs";
379
379
  readonly slots: readonly ["actions"];
380
- readonly events: readonly ["change"];
380
+ readonly events: readonly [];
381
381
  }, {
382
382
  readonly name: "tag-editor";
383
383
  readonly tagName: "cs-tag-editor";
384
384
  readonly slots: readonly [];
385
- readonly events: readonly ["change"];
385
+ readonly events: readonly [];
386
386
  }, {
387
387
  readonly name: "text-content";
388
388
  readonly tagName: "cs-text-content";
@@ -392,7 +392,7 @@ export declare const COMPONENT_MANIFEST: readonly [{
392
392
  readonly name: "text-filter";
393
393
  readonly tagName: "cs-text-filter";
394
394
  readonly slots: readonly [];
395
- readonly events: readonly ["change", "delayedChange"];
395
+ readonly events: readonly [];
396
396
  }, {
397
397
  readonly name: "textarea";
398
398
  readonly tagName: "cs-textarea";
@@ -402,7 +402,7 @@ export declare const COMPONENT_MANIFEST: readonly [{
402
402
  readonly name: "tiles";
403
403
  readonly tagName: "cs-tiles";
404
404
  readonly slots: readonly [];
405
- readonly events: readonly ["change"];
405
+ readonly events: readonly [];
406
406
  }, {
407
407
  readonly name: "time-input";
408
408
  readonly tagName: "cs-time-input";
@@ -412,27 +412,27 @@ export declare const COMPONENT_MANIFEST: readonly [{
412
412
  readonly name: "toggle";
413
413
  readonly tagName: "cs-toggle";
414
414
  readonly slots: readonly ["default"];
415
- readonly events: readonly ["change"];
415
+ readonly events: readonly [];
416
416
  }, {
417
417
  readonly name: "toggle-button";
418
418
  readonly tagName: "cs-toggle-button";
419
419
  readonly slots: readonly ["pressedIconSvg"];
420
- readonly events: readonly ["change"];
420
+ readonly events: readonly [];
421
421
  }, {
422
422
  readonly name: "token";
423
423
  readonly tagName: "cs-token";
424
424
  readonly slots: readonly ["label", "icon"];
425
- readonly events: readonly ["dismiss"];
425
+ readonly events: readonly [];
426
426
  }, {
427
427
  readonly name: "token-group";
428
428
  readonly tagName: "cs-token-group";
429
429
  readonly slots: readonly [];
430
- readonly events: readonly ["dismiss"];
430
+ readonly events: readonly [];
431
431
  }, {
432
432
  readonly name: "tooltip";
433
433
  readonly tagName: "cs-tooltip";
434
434
  readonly slots: readonly ["content"];
435
- readonly events: readonly ["escape"];
435
+ readonly events: readonly [];
436
436
  }, {
437
437
  readonly name: "top-navigation";
438
438
  readonly tagName: "cs-top-navigation";
@@ -442,16 +442,16 @@ export declare const COMPONENT_MANIFEST: readonly [{
442
442
  readonly name: "tree-view";
443
443
  readonly tagName: "cs-tree-view";
444
444
  readonly slots: readonly [];
445
- readonly events: readonly ["itemToggle"];
445
+ readonly events: readonly [];
446
446
  }, {
447
447
  readonly name: "tutorial-panel";
448
448
  readonly tagName: "cs-tutorial-panel";
449
449
  readonly slots: readonly [];
450
- readonly events: readonly ["feedbackClick"];
450
+ readonly events: readonly [];
451
451
  }, {
452
452
  readonly name: "wizard";
453
453
  readonly tagName: "cs-wizard";
454
454
  readonly slots: readonly ["customPrimaryActions", "secondaryActions"];
455
- readonly events: readonly ["cancel", "submit", "navigate"];
455
+ readonly events: readonly [];
456
456
  }];
457
457
  //# sourceMappingURL=component-manifest.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Marker type for slot content in component interfaces.
3
+ * In Web Components, slot content is projected via <slot> elements —
4
+ * this type exists so the TypeScript type checker can resolve slot
5
+ * members from interface hierarchies.
6
+ */
7
+ export type SlotContent = HTMLElement | string;
8
+ /**
9
+ * Marker type for event detail in component interfaces.
10
+ * Components fire CustomEvent<T> — this type preserves the detail
11
+ * type information from Cloudscape's CancelableEventHandler<T>.
12
+ */
13
+ export type EventDetail<T = void> = CustomEvent<T>;
14
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/internal/types.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;AAE/C;;;;GAIG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,IAAI,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC"}
@@ -1,10 +1,29 @@
1
+ import { SlotContent } from '../internal/generated/cloudscape-types.js';
1
2
  export interface ItemCardProps {
2
- /** @slot header — Heading element of the item card */
3
- /** @slot description A description or subtitle displayed below the header */
4
- /** @slot footer — Footer content displayed at the bottom of the item card */
5
- /** @slot actions — Actions to display in the item card header area, typically buttons or links */
6
- /** @slot default — Main content of the item card */
7
- /** @slot icon Icon content displayed next to the header */
3
+ /**
4
+ * Heading element of the item card. Use this to add a title or header text.
5
+ */
6
+ header?: SlotContent;
7
+ /**
8
+ * A description or subtitle displayed below the header.
9
+ */
10
+ description?: SlotContent;
11
+ /**
12
+ * Footer content displayed at the bottom of the item card.
13
+ */
14
+ footer?: SlotContent;
15
+ /**
16
+ * Actions to display in the item card header area, typically buttons or links.
17
+ */
18
+ actions?: SlotContent;
19
+ /**
20
+ * Main content of the item card.
21
+ */
22
+ children?: SlotContent;
23
+ /**
24
+ * Icon content displayed next to the header.
25
+ */
26
+ icon?: SlotContent;
8
27
  /**
9
28
  * Removes the default padding from the header area.
10
29
  * @default false
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/item-card/interfaces.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa;IAC5B,sDAAsD;IACtD,+EAA+E;IAC/E,6EAA6E;IAC7E,kGAAkG;IAClG,oDAAoD;IACpD,6DAA6D;IAC7D;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC,KAAK,CAAC;CAC7B;AACD,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,KAAK,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;IACtC,UAAU,KAAK;QACb,IAAI,CAAC,EAAE;YACL,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB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OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;CACzD"}
@@ -1,4 +1,4 @@
1
- import { ClickDetail as _ClickDetail, BaseNavigationDetail } from '../internal/generated/cloudscape-types.js';
1
+ import { ClickDetail as _ClickDetail, BaseNavigationDetail, SlotContent, EventHandler } from '../internal/generated/cloudscape-types.js';
2
2
  export interface LinkProps {
3
3
  /**
4
4
  * Determines the visual style of the link as follows:
@@ -54,7 +54,10 @@ export interface LinkProps {
54
54
  * "button" role and `target` will not be used.
55
55
  */
56
56
  href?: string;
57
- /** @slot default — The text to render inside the link */
57
+ /**
58
+ * The text to render inside the link.
59
+ */
60
+ children?: SlotContent;
58
61
  /**
59
62
  * Adds an aria-label to the HTML element.
60
63
  */
@@ -64,8 +67,18 @@ export interface LinkProps {
64
67
  * @i18n
65
68
  */
66
69
  externalIconAriaLabel?: string;
67
- /** @event follow — CustomEvent<LinkProps.FollowDetail> */
68
- /** @event click CustomEvent<LinkProps.ClickDetail> */
70
+ /**
71
+ * Called when a link is clicked without any modifier keys. If the link has no `href` provided, it will be called on
72
+ * all clicks.
73
+ *
74
+ * If you want to implement client-side routing yourself, use this event and prevent default browser navigation
75
+ * (by calling `preventDefault`).
76
+ */
77
+ onFollow?: EventHandler<LinkProps.FollowDetail>;
78
+ /**
79
+ * Called when the user clicks on the link. Do not use this handler for navigation, use the `onFollow` event instead.
80
+ */
81
+ onClick?: EventHandler<LinkProps.ClickDetail>;
69
82
  /**
70
83
  * Adds a `rel` attribute to the link. If the `rel` property is provided, it overrides the default behaviour.
71
84
  * By default, the component sets the `rel` attribute to "noopener noreferrer" when `external` is `true` or `target` is `"_blank"`.
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/link/interfaces.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M,CAAC;IACb;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC;CACzB;AACD,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,KAAK,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,mBAAmB,CAAC;IACtE,KAAK,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,YAAY,GAAG,WAAW,GAAG,SAAS,CAAC;IACtI,KAAK,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC;IACnC,KAAK,YAAY,GAAG,oBAAoB,CAAC;IACzC,UAAU,GAAG;QACX;;WAEG;QACH,KAAK,IAAI,IAAI,CAAC;KACf;IACD,KAAK,WAAW,GAAG,YAAY,CAAC;IAChC,UAAU,KAAK;QACb,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,3 +1,4 @@
1
+ import { EventHandler } from '../internal/generated/cloudscape-types.js';
1
2
  export interface ListProps<T = any> {
2
3
  /**
3
4
  * The items to display in the list.
@@ -53,7 +54,10 @@ export interface ListProps<T = any> {
53
54
  * Removes top and bottom padding around the list. Does not apply for sortable lists.
54
55
  */
55
56
  disablePaddings?: boolean;
56
- /** @event sortingChange — CustomEvent<ListProps.SortingState<T>> */
57
+ /**
58
+ * Called when items are reordered in a sortable list.
59
+ */
60
+ onSortingChange?: EventHandler<ListProps.SortingState<T>>;
57
61
  /**
58
62
  * An object containing all the localized strings required by the component.
59
63
  *
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/list/interfaces.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS,CAAC,CAAC,GAAG,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACxB;;;;;;;;;OASG;IACH,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK;QACvB,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,OAAO,CAAC;QACjB,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;KAC5B,CAAC;IACF;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,oEAAoE;IACpE;;;;;;;;;;;OAWG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC;CACrC;AACD,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,UAAU,YAAY,CAAC,CAAC;QACtB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KACzB;IACD,KAAK,WAAW,GAAG,iBAAiB,CAAC,kBAAkB,CAAC;CACzD"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/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D"}
@@ -1,3 +1,4 @@
1
+ import { SlotContent } from '../internal/generated/cloudscape-types.js';
1
2
  export interface LiveRegionProps {
2
3
  /**
3
4
  * Whether the announcements should be made using assertive aria-live.
@@ -13,6 +14,12 @@ export interface LiveRegionProps {
13
14
  * Determines whether to visually hide the contents of the `children` slot.
14
15
  */
15
16
  hidden?: boolean;
17
+ /**
18
+ * Use the rendered content as the source for the announcement text. When the
19
+ * text content inside this slot changes, it will be re-announced to
20
+ * assistive technologies.
21
+ */
22
+ children?: SlotContent;
16
23
  }
17
24
  export declare namespace LiveRegionProps {
18
25
  type TagName = 'span' | 'div';
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/live-region/interfaces.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAElB;AACD,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,KAAK,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;CAC/B"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/live-region/interfaces.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC;CACxB;AACD,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,KAAK,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;CAC/B"}