carbon-components-svelte 0.96.1 → 0.96.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 (128) hide show
  1. package/package.json +1 -1
  2. package/types/Accordion/Accordion.svelte.d.ts +2 -0
  3. package/types/Accordion/AccordionItem.svelte.d.ts +2 -0
  4. package/types/AspectRatio/AspectRatio.svelte.d.ts +2 -0
  5. package/types/Breadcrumb/Breadcrumb.svelte.d.ts +2 -0
  6. package/types/Breadcrumb/BreadcrumbItem.svelte.d.ts +5 -0
  7. package/types/Breakpoint/Breakpoint.svelte.d.ts +5 -0
  8. package/types/Button/Button.svelte.d.ts +17 -0
  9. package/types/Button/ButtonSet.svelte.d.ts +2 -0
  10. package/types/Checkbox/Checkbox.svelte.d.ts +1 -1
  11. package/types/CodeSnippet/CodeSnippet.svelte.d.ts +2 -0
  12. package/types/ComboBox/ComboBox.svelte.d.ts +3 -1
  13. package/types/ComposedModal/ComposedModal.svelte.d.ts +2 -0
  14. package/types/ComposedModal/ModalBody.svelte.d.ts +2 -0
  15. package/types/ComposedModal/ModalFooter.svelte.d.ts +2 -0
  16. package/types/ComposedModal/ModalHeader.svelte.d.ts +2 -0
  17. package/types/ContentSwitcher/ContentSwitcher.svelte.d.ts +2 -0
  18. package/types/ContentSwitcher/Switch.svelte.d.ts +2 -0
  19. package/types/ContextMenu/ContextMenu.svelte.d.ts +2 -0
  20. package/types/ContextMenu/ContextMenuGroup.svelte.d.ts +2 -0
  21. package/types/ContextMenu/ContextMenuOption.svelte.d.ts +3 -1
  22. package/types/ContextMenu/ContextMenuRadioGroup.svelte.d.ts +2 -0
  23. package/types/DataTable/DataTable.svelte.d.ts +35 -9
  24. package/types/DataTable/Table.svelte.d.ts +2 -0
  25. package/types/DataTable/TableBody.svelte.d.ts +2 -0
  26. package/types/DataTable/TableCell.svelte.d.ts +2 -0
  27. package/types/DataTable/TableContainer.svelte.d.ts +2 -0
  28. package/types/DataTable/TableHead.svelte.d.ts +2 -0
  29. package/types/DataTable/TableHeader.svelte.d.ts +2 -0
  30. package/types/DataTable/TableRow.svelte.d.ts +2 -0
  31. package/types/DataTable/Toolbar.svelte.d.ts +2 -0
  32. package/types/DataTable/ToolbarBatchActions.svelte.d.ts +3 -1
  33. package/types/DataTable/ToolbarContent.svelte.d.ts +3 -1
  34. package/types/DataTable/ToolbarMenu.svelte.d.ts +3 -1
  35. package/types/DataTable/ToolbarMenuItem.svelte.d.ts +3 -1
  36. package/types/DatePicker/DatePicker.svelte.d.ts +2 -0
  37. package/types/DatePicker/DatePickerInput.svelte.d.ts +1 -1
  38. package/types/Dropdown/Dropdown.svelte.d.ts +2 -0
  39. package/types/FileUploader/FileUploaderButton.svelte.d.ts +2 -0
  40. package/types/FileUploader/FileUploaderDropContainer.svelte.d.ts +1 -1
  41. package/types/FluidForm/FluidForm.svelte.d.ts +2 -0
  42. package/types/Form/Form.svelte.d.ts +2 -0
  43. package/types/FormGroup/FormGroup.svelte.d.ts +2 -0
  44. package/types/FormItem/FormItem.svelte.d.ts +2 -0
  45. package/types/FormLabel/FormLabel.svelte.d.ts +2 -0
  46. package/types/Grid/Column.svelte.d.ts +5 -0
  47. package/types/Grid/Grid.svelte.d.ts +5 -0
  48. package/types/Grid/Row.svelte.d.ts +5 -0
  49. package/types/Link/Link.svelte.d.ts +2 -0
  50. package/types/Link/OutboundLink.svelte.d.ts +3 -1
  51. package/types/ListBox/ListBox.svelte.d.ts +2 -0
  52. package/types/ListBox/ListBoxField.svelte.d.ts +2 -0
  53. package/types/ListBox/ListBoxMenu.svelte.d.ts +2 -0
  54. package/types/ListBox/ListBoxMenuItem.svelte.d.ts +2 -0
  55. package/types/ListItem/ListItem.svelte.d.ts +2 -0
  56. package/types/Modal/Modal.svelte.d.ts +4 -2
  57. package/types/MultiSelect/MultiSelect.svelte.d.ts +3 -1
  58. package/types/Notification/InlineNotification.svelte.d.ts +5 -3
  59. package/types/Notification/NotificationActionButton.svelte.d.ts +3 -1
  60. package/types/Notification/ToastNotification.svelte.d.ts +5 -3
  61. package/types/NumberInput/NumberInput.svelte.d.ts +1 -1
  62. package/types/OrderedList/OrderedList.svelte.d.ts +2 -0
  63. package/types/OverflowMenu/OverflowMenu.svelte.d.ts +3 -1
  64. package/types/OverflowMenu/OverflowMenuItem.svelte.d.ts +2 -0
  65. package/types/PaginationNav/PaginationItem.svelte.d.ts +2 -0
  66. package/types/Popover/Popover.svelte.d.ts +2 -0
  67. package/types/Portal/Portal.svelte.d.ts +2 -0
  68. package/types/ProgressBar/ProgressBar.svelte.d.ts +1 -1
  69. package/types/ProgressIndicator/ProgressIndicator.svelte.d.ts +2 -0
  70. package/types/ProgressIndicator/ProgressStep.svelte.d.ts +5 -0
  71. package/types/RadioButton/RadioButton.svelte.d.ts +1 -1
  72. package/types/RadioButtonGroup/RadioButtonGroup.svelte.d.ts +3 -1
  73. package/types/RecursiveList/RecursiveListItem.svelte.d.ts +2 -0
  74. package/types/Search/Search.svelte.d.ts +1 -1
  75. package/types/Select/Select.svelte.d.ts +3 -1
  76. package/types/Select/SelectItemGroup.svelte.d.ts +2 -0
  77. package/types/Slider/Slider.svelte.d.ts +1 -1
  78. package/types/Stack/Stack.svelte.d.ts +2 -0
  79. package/types/StructuredList/StructuredList.svelte.d.ts +2 -0
  80. package/types/StructuredList/StructuredListBody.svelte.d.ts +2 -0
  81. package/types/StructuredList/StructuredListCell.svelte.d.ts +2 -0
  82. package/types/StructuredList/StructuredListHead.svelte.d.ts +2 -0
  83. package/types/StructuredList/StructuredListRow.svelte.d.ts +2 -0
  84. package/types/Tabs/Tab.svelte.d.ts +2 -0
  85. package/types/Tabs/TabContent.svelte.d.ts +2 -0
  86. package/types/Tabs/Tabs.svelte.d.ts +3 -1
  87. package/types/Tag/Tag.svelte.d.ts +5 -0
  88. package/types/TextArea/TextArea.svelte.d.ts +1 -1
  89. package/types/TextInput/PasswordInput.svelte.d.ts +1 -1
  90. package/types/TextInput/TextInput.svelte.d.ts +1 -1
  91. package/types/Theme/Theme.svelte.d.ts +2 -0
  92. package/types/Tile/ClickableTile.svelte.d.ts +2 -0
  93. package/types/Tile/ExpandableTile.svelte.d.ts +2 -2
  94. package/types/Tile/RadioTile.svelte.d.ts +2 -0
  95. package/types/Tile/SelectableTile.svelte.d.ts +2 -0
  96. package/types/Tile/SelectableTileGroup.svelte.d.ts +3 -1
  97. package/types/Tile/Tile.svelte.d.ts +2 -0
  98. package/types/Tile/TileGroup.svelte.d.ts +3 -1
  99. package/types/TimePicker/TimePicker.svelte.d.ts +3 -1
  100. package/types/TimePicker/TimePickerSelect.svelte.d.ts +3 -1
  101. package/types/Toggle/Toggle.svelte.d.ts +1 -1
  102. package/types/Toggle/ToggleSkeleton.svelte.d.ts +1 -1
  103. package/types/Tooltip/Tooltip.svelte.d.ts +2 -0
  104. package/types/Tooltip/TooltipFooter.svelte.d.ts +2 -0
  105. package/types/TooltipDefinition/TooltipDefinition.svelte.d.ts +3 -1
  106. package/types/TooltipIcon/TooltipIcon.svelte.d.ts +2 -0
  107. package/types/TreeView/TreeView.svelte.d.ts +17 -1
  108. package/types/TreeView/TreeViewNode.svelte.d.ts +16 -0
  109. package/types/TreeView/TreeViewNodeList.svelte.d.ts +16 -0
  110. package/types/Truncate/Truncate.svelte.d.ts +2 -0
  111. package/types/UIShell/Content.svelte.d.ts +2 -0
  112. package/types/UIShell/Header.svelte.d.ts +5 -3
  113. package/types/UIShell/HeaderAction.svelte.d.ts +3 -1
  114. package/types/UIShell/HeaderNav.svelte.d.ts +2 -0
  115. package/types/UIShell/HeaderNavItem.svelte.d.ts +2 -0
  116. package/types/UIShell/HeaderNavMenu.svelte.d.ts +2 -0
  117. package/types/UIShell/HeaderPanelDivider.svelte.d.ts +3 -1
  118. package/types/UIShell/HeaderPanelLink.svelte.d.ts +2 -0
  119. package/types/UIShell/HeaderPanelLinks.svelte.d.ts +3 -1
  120. package/types/UIShell/HeaderSearch.svelte.d.ts +2 -0
  121. package/types/UIShell/HeaderUtilities.svelte.d.ts +3 -1
  122. package/types/UIShell/SideNav.svelte.d.ts +2 -0
  123. package/types/UIShell/SideNavItems.svelte.d.ts +3 -1
  124. package/types/UIShell/SideNavLink.svelte.d.ts +2 -0
  125. package/types/UIShell/SideNavMenu.svelte.d.ts +2 -0
  126. package/types/UIShell/SideNavMenuItem.svelte.d.ts +2 -0
  127. package/types/UIShell/SkipToContent.svelte.d.ts +2 -0
  128. package/types/UnorderedList/UnorderedList.svelte.d.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-components-svelte",
3
- "version": "0.96.1",
3
+ "version": "0.96.3",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Svelte implementation of the Carbon Design System",
6
6
  "type": "module",
@@ -29,6 +29,8 @@ export type AccordionProps = AccordionSkeletonProps & {
29
29
  * @default false
30
30
  */
31
31
  skeleton?: boolean;
32
+
33
+ children?: (this: void) => void;
32
34
  };
33
35
 
34
36
  export default class Accordion extends SvelteComponentTyped<
@@ -35,6 +35,8 @@ type $Props = {
35
35
  */
36
36
  iconDescription?: string;
37
37
 
38
+ children?: (this: void) => void;
39
+
38
40
  [key: `data-${string}`]: any;
39
41
  };
40
42
 
@@ -19,6 +19,8 @@ type $Props = {
19
19
  | "9x16"
20
20
  | "1x2";
21
21
 
22
+ children?: (this: void) => void;
23
+
22
24
  [key: `data-${string}`]: any;
23
25
  };
24
26
 
@@ -13,6 +13,8 @@ export type BreadcrumbProps = BreadcrumbSkeletonProps & {
13
13
  * @default false
14
14
  */
15
15
  skeleton?: boolean;
16
+
17
+ children?: (this: void) => void;
16
18
  };
17
19
 
18
20
  export default class Breadcrumb extends SvelteComponentTyped<
@@ -18,6 +18,11 @@ type $Props = {
18
18
  */
19
19
  isCurrentPage?: boolean;
20
20
 
21
+ children?: (
22
+ this: void,
23
+ ...args: [{ props?: { "aria-current"?: string; class: "bx--link" } }]
24
+ ) => void;
25
+
21
26
  [key: `data-${string}`]: any;
22
27
  };
23
28
 
@@ -16,6 +16,11 @@ export type BreakpointProps = {
16
16
  * @default { sm: false, md: false, lg: false, xlg: false, max: false, }
17
17
  */
18
18
  sizes?: Record<BreakpointSize, boolean>;
19
+
20
+ children?: (
21
+ this: void,
22
+ ...args: [{ size: BreakpointSize; sizes: Record<BreakpointSize, boolean> }]
23
+ ) => void;
19
24
  };
20
25
 
21
26
  export default class Breakpoint extends SvelteComponentTyped<
@@ -128,6 +128,23 @@ type $Props = {
128
128
  */
129
129
  ref?: null | HTMLAnchorElement | HTMLButtonElement;
130
130
 
131
+ children?: (
132
+ this: void,
133
+ ...args: [
134
+ {
135
+ props: {
136
+ role: "button";
137
+ type?: string;
138
+ tabindex: any;
139
+ disabled: boolean;
140
+ href?: string;
141
+ class: string;
142
+ [key: string]: any;
143
+ };
144
+ },
145
+ ]
146
+ ) => void;
147
+
131
148
  [key: `data-${string}`]: any;
132
149
  };
133
150
 
@@ -10,6 +10,8 @@ type $Props = {
10
10
  */
11
11
  stacked?: boolean;
12
12
 
13
+ children?: (this: void) => void;
14
+
13
15
  [key: `data-${string}`]: any;
14
16
  };
15
17
 
@@ -94,7 +94,7 @@ type $Props = {
94
94
  */
95
95
  ref?: null | HTMLInputElement;
96
96
 
97
- labelChildren?: () => void;
97
+ labelChildren?: (this: void) => void;
98
98
 
99
99
  [key: `data-${string}`]: any;
100
100
  };
@@ -125,6 +125,8 @@ export type CodeSnippetProps = {
125
125
  * @default null
126
126
  */
127
127
  ref?: null | HTMLPreElement;
128
+
129
+ children?: (this: void) => void;
128
130
  };
129
131
 
130
132
  export default class CodeSnippet extends SvelteComponentTyped<
@@ -181,7 +181,9 @@ type $Props<Item> = {
181
181
  */
182
182
  listRef?: null | HTMLDivElement;
183
183
 
184
- labelChildren?: () => void;
184
+ labelChildren?: (this: void) => void;
185
+
186
+ children?: (this: void, ...args: [{ item: Item; index: number }]) => void;
185
187
 
186
188
  [key: `data-${string}`]: any;
187
189
  };
@@ -53,6 +53,8 @@ type $Props = {
53
53
  */
54
54
  ref?: null | HTMLDivElement;
55
55
 
56
+ children?: (this: void) => void;
57
+
56
58
  [key: `data-${string}`]: any;
57
59
  };
58
60
 
@@ -16,6 +16,8 @@ type $Props = {
16
16
  */
17
17
  hasScrollingContent?: boolean;
18
18
 
19
+ children?: (this: void) => void;
20
+
19
21
  [key: `data-${string}`]: any;
20
22
  };
21
23
 
@@ -53,6 +53,8 @@ type $Props = {
53
53
  */
54
54
  danger?: boolean;
55
55
 
56
+ children?: (this: void) => void;
57
+
56
58
  [key: `data-${string}`]: any;
57
59
  };
58
60
 
@@ -46,6 +46,8 @@ type $Props = {
46
46
  */
47
47
  iconDescription?: string;
48
48
 
49
+ children?: (this: void) => void;
50
+
49
51
  [key: `data-${string}`]: any;
50
52
  };
51
53
 
@@ -23,6 +23,8 @@ type $Props = {
23
23
  */
24
24
  size?: "sm" | "xl";
25
25
 
26
+ children?: (this: void) => void;
27
+
26
28
  [key: `data-${string}`]: any;
27
29
  };
28
30
 
@@ -41,6 +41,8 @@ type $Props = {
41
41
  */
42
42
  ref?: null | HTMLButtonElement;
43
43
 
44
+ children?: (this: void) => void;
45
+
44
46
  [key: `data-${string}`]: any;
45
47
  };
46
48
 
@@ -44,6 +44,8 @@ type $Props = {
44
44
  */
45
45
  ref?: null | HTMLUListElement;
46
46
 
47
+ children?: (this: void) => void;
48
+
47
49
  [key: `data-${string}`]: any;
48
50
  };
49
51
 
@@ -17,6 +17,8 @@ export type ContextMenuGroupProps = {
17
17
  * @default ""
18
18
  */
19
19
  labelText?: string;
20
+
21
+ children?: (this: void) => void;
20
22
  };
21
23
 
22
24
  export default class ContextMenuGroup extends SvelteComponentTyped<
@@ -81,7 +81,9 @@ type $Props = {
81
81
  */
82
82
  ref?: null | HTMLLIElement;
83
83
 
84
- labelChildren?: () => void;
84
+ labelChildren?: (this: void) => void;
85
+
86
+ children?: (this: void) => void;
85
87
 
86
88
  [key: `data-${string}`]: any;
87
89
  };
@@ -19,6 +19,8 @@ export type ContextMenuRadioGroupProps = {
19
19
  * @default ""
20
20
  */
21
21
  labelText?: string;
22
+
23
+ children?: (this: void) => void;
22
24
  };
23
25
 
24
26
  export default class ContextMenuRadioGroup extends SvelteComponentTyped<
@@ -209,15 +209,41 @@ type $Props<Row> = {
209
209
  id: import("./TableHeader.svelte").TableHeaderTranslationId,
210
210
  ) => string;
211
211
 
212
- cell?: () => void;
213
-
214
- "cell-header"?: () => void;
215
-
216
- descriptionChildren?: () => void;
217
-
218
- "expanded-row"?: () => void;
219
-
220
- titleChildren?: () => void;
212
+ cell?: (
213
+ this: void,
214
+ ...args: [
215
+ {
216
+ row: Row;
217
+ cell: DataTableCell<Row>;
218
+ rowIndex: number;
219
+ cellIndex: number;
220
+ rowSelected: boolean;
221
+ rowExpanded: boolean;
222
+ },
223
+ ]
224
+ ) => void;
225
+
226
+ "cell-header"?: (
227
+ this: void,
228
+ ...args: [{ header: DataTableNonEmptyHeader }]
229
+ ) => void;
230
+
231
+ descriptionChildren?: (
232
+ this: void,
233
+ ...args: [{ props: { class: "bx--data-table-header__description" } }]
234
+ ) => void;
235
+
236
+ "expanded-row"?: (
237
+ this: void,
238
+ ...args: [{ row: Row; rowSelected: boolean }]
239
+ ) => void;
240
+
241
+ titleChildren?: (
242
+ this: void,
243
+ ...args: [{ props: { class: "bx--data-table-header__title" } }]
244
+ ) => void;
245
+
246
+ children?: (this: void) => void;
221
247
 
222
248
  [key: `data-${string}`]: any;
223
249
  };
@@ -40,6 +40,8 @@ type $Props = {
40
40
  */
41
41
  tableStyle?: string;
42
42
 
43
+ children?: (this: void) => void;
44
+
43
45
  [key: `data-${string}`]: any;
44
46
  };
45
47
 
@@ -4,6 +4,8 @@ import type { SvelteHTMLElements } from "svelte/elements";
4
4
  type $RestProps = SvelteHTMLElements["tbody"];
5
5
 
6
6
  type $Props = {
7
+ children?: (this: void) => void;
8
+
7
9
  [key: `data-${string}`]: any;
8
10
  };
9
11
 
@@ -4,6 +4,8 @@ import type { SvelteHTMLElements } from "svelte/elements";
4
4
  type $RestProps = SvelteHTMLElements["td"];
5
5
 
6
6
  type $Props = {
7
+ children?: (this: void) => void;
8
+
7
9
  [key: `data-${string}`]: any;
8
10
  };
9
11
 
@@ -28,6 +28,8 @@ type $Props = {
28
28
  */
29
29
  useStaticWidth?: boolean;
30
30
 
31
+ children?: (this: void) => void;
32
+
31
33
  [key: `data-${string}`]: any;
32
34
  };
33
35
 
@@ -4,6 +4,8 @@ import type { SvelteHTMLElements } from "svelte/elements";
4
4
  type $RestProps = SvelteHTMLElements["thead"];
5
5
 
6
6
  type $Props = {
7
+ children?: (this: void) => void;
8
+
7
9
  [key: `data-${string}`]: any;
8
10
  };
9
11
 
@@ -43,6 +43,8 @@ type $Props = {
43
43
  */
44
44
  id?: string;
45
45
 
46
+ children?: (this: void) => void;
47
+
46
48
  [key: `data-${string}`]: any;
47
49
  };
48
50
 
@@ -4,6 +4,8 @@ import type { SvelteHTMLElements } from "svelte/elements";
4
4
  type $RestProps = SvelteHTMLElements["tr"];
5
5
 
6
6
  type $Props = {
7
+ children?: (this: void) => void;
8
+
7
9
  [key: `data-${string}`]: any;
8
10
  };
9
11
 
@@ -16,6 +16,8 @@ type $Props = {
16
16
  */
17
17
  size?: "sm" | "default";
18
18
 
19
+ children?: (this: void) => void;
20
+
19
21
  [key: `data-${string}`]: any;
20
22
  };
21
23
 
@@ -22,7 +22,9 @@ type $Props = {
22
22
  */
23
23
  selectedIds?: ReadonlyArray<any>;
24
24
 
25
- cancel?: () => void;
25
+ cancel?: (this: void) => void;
26
+
27
+ children?: (this: void) => void;
26
28
 
27
29
  [key: `data-${string}`]: any;
28
30
  };
@@ -1,6 +1,8 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
 
3
- export type ToolbarContentProps = Record<string, never>;
3
+ export type ToolbarContentProps = {
4
+ children?: (this: void) => void;
5
+ };
4
6
 
5
7
  export default class ToolbarContent extends SvelteComponentTyped<
6
8
  ToolbarContentProps,
@@ -1,7 +1,9 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  import type { OverflowMenuProps } from "../OverflowMenu/OverflowMenu.svelte";
3
3
 
4
- export type ToolbarMenuProps = OverflowMenuProps & {};
4
+ export type ToolbarMenuProps = OverflowMenuProps & {
5
+ children?: (this: void) => void;
6
+ };
5
7
 
6
8
  export default class ToolbarMenu extends SvelteComponentTyped<
7
9
  ToolbarMenuProps,
@@ -1,7 +1,9 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  import type { OverflowMenuItemProps } from "../OverflowMenu/OverflowMenuItem.svelte";
3
3
 
4
- export type ToolbarMenuItemProps = OverflowMenuItemProps & {};
4
+ export type ToolbarMenuItemProps = OverflowMenuItemProps & {
5
+ children?: (this: void) => void;
6
+ };
5
7
 
6
8
  export default class ToolbarMenuItem extends SvelteComponentTyped<
7
9
  ToolbarMenuItemProps,
@@ -96,6 +96,8 @@ type $Props = {
96
96
  */
97
97
  flatpickrProps?: import("flatpickr/dist/types/options").Options;
98
98
 
99
+ children?: (this: void) => void;
100
+
99
101
  [key: `data-${string}`]: any;
100
102
  };
101
103
 
@@ -100,7 +100,7 @@ type $Props = {
100
100
  */
101
101
  ref?: null | HTMLInputElement;
102
102
 
103
- labelChildren?: () => void;
103
+ labelChildren?: (this: void) => void;
104
104
 
105
105
  [key: `data-${string}`]: any;
106
106
  };
@@ -142,6 +142,8 @@ type $Props<Item> = {
142
142
  */
143
143
  ref?: null | HTMLButtonElement;
144
144
 
145
+ children?: (this: void, ...args: [{ item: Item; index: number }]) => void;
146
+
145
147
  [key: `data-${string}`]: any;
146
148
  };
147
149
 
@@ -70,6 +70,8 @@ type $Props = {
70
70
  */
71
71
  ref?: null | HTMLInputElement;
72
72
 
73
+ labelChildren?: (this: void) => void;
74
+
73
75
  [key: `data-${string}`]: any;
74
76
  };
75
77
 
@@ -70,7 +70,7 @@ type $Props = {
70
70
  */
71
71
  ref?: null | HTMLInputElement;
72
72
 
73
- labelChildren?: () => void;
73
+ labelChildren?: (this: void) => void;
74
74
 
75
75
  [key: `data-${string}`]: any;
76
76
  };
@@ -8,6 +8,8 @@ export type FormContext = {
8
8
  type $RestProps = SvelteHTMLElements["form"];
9
9
 
10
10
  type $Props = {
11
+ children?: (this: void) => void;
12
+
11
13
  [key: `data-${string}`]: any;
12
14
  };
13
15
 
@@ -10,6 +10,8 @@ type $Props = {
10
10
  */
11
11
  ref?: null | HTMLFormElement;
12
12
 
13
+ children?: (this: void) => void;
14
+
13
15
  [key: `data-${string}`]: any;
14
16
  };
15
17
 
@@ -40,6 +40,8 @@ type $Props = {
40
40
  */
41
41
  legendId?: string;
42
42
 
43
+ children?: (this: void) => void;
44
+
43
45
  [key: `data-${string}`]: any;
44
46
  };
45
47
 
@@ -4,6 +4,8 @@ import type { SvelteHTMLElements } from "svelte/elements";
4
4
  type $RestProps = SvelteHTMLElements["div"];
5
5
 
6
6
  type $Props = {
7
+ children?: (this: void) => void;
8
+
7
9
  [key: `data-${string}`]: any;
8
10
  };
9
11
 
@@ -10,6 +10,8 @@ type $Props = {
10
10
  */
11
11
  id?: string;
12
12
 
13
+ children?: (this: void) => void;
14
+
13
15
  [key: `data-${string}`]: any;
14
16
  };
15
17
 
@@ -83,6 +83,11 @@ type $Props = {
83
83
  */
84
84
  max?: ColumnBreakpoint;
85
85
 
86
+ children?: (
87
+ this: void,
88
+ ...args: [{ props: { class: string; [key: string]: any } }]
89
+ ) => void;
90
+
86
91
  [key: `data-${string}`]: any;
87
92
  };
88
93
 
@@ -59,6 +59,11 @@ type $Props = {
59
59
  */
60
60
  padding?: boolean;
61
61
 
62
+ children?: (
63
+ this: void,
64
+ ...args: [{ props: { class: string; [key: string]: any } }]
65
+ ) => void;
66
+
62
67
  [key: `data-${string}`]: any;
63
68
  };
64
69
 
@@ -53,6 +53,11 @@ type $Props = {
53
53
  */
54
54
  padding?: boolean;
55
55
 
56
+ children?: (
57
+ this: void,
58
+ ...args: [{ props: { class: string; [key: string]: any } }]
59
+ ) => void;
60
+
56
61
  [key: `data-${string}`]: any;
57
62
  };
58
63
 
@@ -47,6 +47,8 @@ type $Props = {
47
47
  */
48
48
  ref?: null | HTMLAnchorElement;
49
49
 
50
+ children?: (this: void) => void;
51
+
50
52
  [key: `data-${string}`]: any;
51
53
  };
52
54
 
@@ -1,7 +1,9 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  import type { LinkProps } from "./Link.svelte";
3
3
 
4
- export type OutboundLinkProps = LinkProps & {};
4
+ export type OutboundLinkProps = LinkProps & {
5
+ children?: (this: void) => void;
6
+ };
5
7
 
6
8
  export default class OutboundLink extends SvelteComponentTyped<
7
9
  OutboundLinkProps,
@@ -58,6 +58,8 @@ type $Props = {
58
58
  */
59
59
  warnText?: string;
60
60
 
61
+ children?: (this: void) => void;
62
+
61
63
  [key: `data-${string}`]: any;
62
64
  };
63
65
 
@@ -41,6 +41,8 @@ type $Props = {
41
41
  */
42
42
  ref?: null | HTMLDivElement;
43
43
 
44
+ children?: (this: void) => void;
45
+
44
46
  [key: `data-${string}`]: any;
45
47
  };
46
48
 
@@ -16,6 +16,8 @@ type $Props = {
16
16
  */
17
17
  ref?: null | HTMLDivElement;
18
18
 
19
+ children?: (this: void) => void;
20
+
19
21
  [key: `data-${string}`]: any;
20
22
  };
21
23
 
@@ -22,6 +22,8 @@ type $Props = {
22
22
  */
23
23
  disabled?: boolean;
24
24
 
25
+ children?: (this: void) => void;
26
+
25
27
  [key: `data-${string}`]: any;
26
28
  };
27
29
 
@@ -4,6 +4,8 @@ import type { SvelteHTMLElements } from "svelte/elements";
4
4
  type $RestProps = SvelteHTMLElements["li"];
5
5
 
6
6
  type $Props = {
7
+ children?: (this: void) => void;
8
+
7
9
  [key: `data-${string}`]: any;
8
10
  };
9
11
 
@@ -139,9 +139,11 @@ type $Props = {
139
139
  */
140
140
  ref?: null | HTMLDivElement;
141
141
 
142
- heading?: () => void;
142
+ heading?: (this: void) => void;
143
143
 
144
- label?: () => void;
144
+ label?: (this: void) => void;
145
+
146
+ children?: (this: void) => void;
145
147
 
146
148
  [key: `data-${string}`]: any;
147
149
  };