carbon-components-svelte 0.96.2 → 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 (113) 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/CodeSnippet/CodeSnippet.svelte.d.ts +2 -0
  11. package/types/ComboBox/ComboBox.svelte.d.ts +2 -0
  12. package/types/ComposedModal/ComposedModal.svelte.d.ts +2 -0
  13. package/types/ComposedModal/ModalBody.svelte.d.ts +2 -0
  14. package/types/ComposedModal/ModalFooter.svelte.d.ts +2 -0
  15. package/types/ComposedModal/ModalHeader.svelte.d.ts +2 -0
  16. package/types/ContentSwitcher/ContentSwitcher.svelte.d.ts +2 -0
  17. package/types/ContentSwitcher/Switch.svelte.d.ts +2 -0
  18. package/types/ContextMenu/ContextMenu.svelte.d.ts +2 -0
  19. package/types/ContextMenu/ContextMenuGroup.svelte.d.ts +2 -0
  20. package/types/ContextMenu/ContextMenuOption.svelte.d.ts +2 -0
  21. package/types/ContextMenu/ContextMenuRadioGroup.svelte.d.ts +2 -0
  22. package/types/DataTable/DataTable.svelte.d.ts +2 -0
  23. package/types/DataTable/Table.svelte.d.ts +2 -0
  24. package/types/DataTable/TableBody.svelte.d.ts +2 -0
  25. package/types/DataTable/TableCell.svelte.d.ts +2 -0
  26. package/types/DataTable/TableContainer.svelte.d.ts +2 -0
  27. package/types/DataTable/TableHead.svelte.d.ts +2 -0
  28. package/types/DataTable/TableHeader.svelte.d.ts +2 -0
  29. package/types/DataTable/TableRow.svelte.d.ts +2 -0
  30. package/types/DataTable/Toolbar.svelte.d.ts +2 -0
  31. package/types/DataTable/ToolbarBatchActions.svelte.d.ts +2 -0
  32. package/types/DataTable/ToolbarContent.svelte.d.ts +3 -1
  33. package/types/DataTable/ToolbarMenu.svelte.d.ts +3 -1
  34. package/types/DataTable/ToolbarMenuItem.svelte.d.ts +3 -1
  35. package/types/DatePicker/DatePicker.svelte.d.ts +2 -0
  36. package/types/Dropdown/Dropdown.svelte.d.ts +2 -0
  37. package/types/FluidForm/FluidForm.svelte.d.ts +2 -0
  38. package/types/Form/Form.svelte.d.ts +2 -0
  39. package/types/FormGroup/FormGroup.svelte.d.ts +2 -0
  40. package/types/FormItem/FormItem.svelte.d.ts +2 -0
  41. package/types/FormLabel/FormLabel.svelte.d.ts +2 -0
  42. package/types/Grid/Column.svelte.d.ts +5 -0
  43. package/types/Grid/Grid.svelte.d.ts +5 -0
  44. package/types/Grid/Row.svelte.d.ts +5 -0
  45. package/types/Link/Link.svelte.d.ts +2 -0
  46. package/types/Link/OutboundLink.svelte.d.ts +3 -1
  47. package/types/ListBox/ListBox.svelte.d.ts +2 -0
  48. package/types/ListBox/ListBoxField.svelte.d.ts +2 -0
  49. package/types/ListBox/ListBoxMenu.svelte.d.ts +2 -0
  50. package/types/ListBox/ListBoxMenuItem.svelte.d.ts +2 -0
  51. package/types/ListItem/ListItem.svelte.d.ts +2 -0
  52. package/types/Modal/Modal.svelte.d.ts +2 -0
  53. package/types/MultiSelect/MultiSelect.svelte.d.ts +2 -0
  54. package/types/Notification/InlineNotification.svelte.d.ts +2 -0
  55. package/types/Notification/NotificationActionButton.svelte.d.ts +3 -1
  56. package/types/Notification/ToastNotification.svelte.d.ts +2 -0
  57. package/types/OrderedList/OrderedList.svelte.d.ts +2 -0
  58. package/types/OverflowMenu/OverflowMenu.svelte.d.ts +2 -0
  59. package/types/OverflowMenu/OverflowMenuItem.svelte.d.ts +2 -0
  60. package/types/PaginationNav/PaginationItem.svelte.d.ts +2 -0
  61. package/types/Popover/Popover.svelte.d.ts +2 -0
  62. package/types/Portal/Portal.svelte.d.ts +2 -0
  63. package/types/ProgressIndicator/ProgressIndicator.svelte.d.ts +2 -0
  64. package/types/ProgressIndicator/ProgressStep.svelte.d.ts +5 -0
  65. package/types/RadioButtonGroup/RadioButtonGroup.svelte.d.ts +2 -0
  66. package/types/RecursiveList/RecursiveListItem.svelte.d.ts +2 -0
  67. package/types/Select/Select.svelte.d.ts +2 -0
  68. package/types/Select/SelectItemGroup.svelte.d.ts +2 -0
  69. package/types/Stack/Stack.svelte.d.ts +2 -0
  70. package/types/StructuredList/StructuredList.svelte.d.ts +2 -0
  71. package/types/StructuredList/StructuredListBody.svelte.d.ts +2 -0
  72. package/types/StructuredList/StructuredListCell.svelte.d.ts +2 -0
  73. package/types/StructuredList/StructuredListHead.svelte.d.ts +2 -0
  74. package/types/StructuredList/StructuredListRow.svelte.d.ts +2 -0
  75. package/types/Tabs/Tab.svelte.d.ts +2 -0
  76. package/types/Tabs/TabContent.svelte.d.ts +2 -0
  77. package/types/Tabs/Tabs.svelte.d.ts +2 -0
  78. package/types/Tag/Tag.svelte.d.ts +5 -0
  79. package/types/Theme/Theme.svelte.d.ts +2 -0
  80. package/types/Tile/ClickableTile.svelte.d.ts +2 -0
  81. package/types/Tile/RadioTile.svelte.d.ts +2 -0
  82. package/types/Tile/SelectableTile.svelte.d.ts +2 -0
  83. package/types/Tile/SelectableTileGroup.svelte.d.ts +2 -0
  84. package/types/Tile/Tile.svelte.d.ts +2 -0
  85. package/types/Tile/TileGroup.svelte.d.ts +2 -0
  86. package/types/TimePicker/TimePicker.svelte.d.ts +2 -0
  87. package/types/TimePicker/TimePickerSelect.svelte.d.ts +2 -0
  88. package/types/Tooltip/Tooltip.svelte.d.ts +2 -0
  89. package/types/Tooltip/TooltipFooter.svelte.d.ts +2 -0
  90. package/types/TooltipDefinition/TooltipDefinition.svelte.d.ts +2 -0
  91. package/types/TooltipIcon/TooltipIcon.svelte.d.ts +2 -0
  92. package/types/TreeView/TreeView.svelte.d.ts +16 -0
  93. package/types/TreeView/TreeViewNode.svelte.d.ts +16 -0
  94. package/types/TreeView/TreeViewNodeList.svelte.d.ts +16 -0
  95. package/types/Truncate/Truncate.svelte.d.ts +2 -0
  96. package/types/UIShell/Content.svelte.d.ts +2 -0
  97. package/types/UIShell/Header.svelte.d.ts +2 -0
  98. package/types/UIShell/HeaderAction.svelte.d.ts +2 -0
  99. package/types/UIShell/HeaderNav.svelte.d.ts +2 -0
  100. package/types/UIShell/HeaderNavItem.svelte.d.ts +2 -0
  101. package/types/UIShell/HeaderNavMenu.svelte.d.ts +2 -0
  102. package/types/UIShell/HeaderPanelDivider.svelte.d.ts +3 -1
  103. package/types/UIShell/HeaderPanelLink.svelte.d.ts +2 -0
  104. package/types/UIShell/HeaderPanelLinks.svelte.d.ts +3 -1
  105. package/types/UIShell/HeaderSearch.svelte.d.ts +2 -0
  106. package/types/UIShell/HeaderUtilities.svelte.d.ts +3 -1
  107. package/types/UIShell/SideNav.svelte.d.ts +2 -0
  108. package/types/UIShell/SideNavItems.svelte.d.ts +3 -1
  109. package/types/UIShell/SideNavLink.svelte.d.ts +2 -0
  110. package/types/UIShell/SideNavMenu.svelte.d.ts +2 -0
  111. package/types/UIShell/SideNavMenuItem.svelte.d.ts +2 -0
  112. package/types/UIShell/SkipToContent.svelte.d.ts +2 -0
  113. 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.2",
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
 
@@ -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<
@@ -183,6 +183,8 @@ type $Props<Item> = {
183
183
 
184
184
  labelChildren?: (this: void) => void;
185
185
 
186
+ children?: (this: void, ...args: [{ item: Item; index: number }]) => void;
187
+
186
188
  [key: `data-${string}`]: any;
187
189
  };
188
190
 
@@ -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<
@@ -83,6 +83,8 @@ type $Props = {
83
83
 
84
84
  labelChildren?: (this: void) => void;
85
85
 
86
+ children?: (this: void) => void;
87
+
86
88
  [key: `data-${string}`]: any;
87
89
  };
88
90
 
@@ -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<
@@ -243,6 +243,8 @@ type $Props<Row> = {
243
243
  ...args: [{ props: { class: "bx--data-table-header__title" } }]
244
244
  ) => void;
245
245
 
246
+ children?: (this: void) => void;
247
+
246
248
  [key: `data-${string}`]: any;
247
249
  };
248
250
 
@@ -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
 
@@ -24,6 +24,8 @@ type $Props = {
24
24
 
25
25
  cancel?: (this: void) => void;
26
26
 
27
+ children?: (this: void) => void;
28
+
27
29
  [key: `data-${string}`]: any;
28
30
  };
29
31
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -143,6 +143,8 @@ type $Props = {
143
143
 
144
144
  label?: (this: void) => void;
145
145
 
146
+ children?: (this: void) => void;
147
+
146
148
  [key: `data-${string}`]: any;
147
149
  };
148
150
 
@@ -241,6 +241,8 @@ type $Props<Item> = {
241
241
 
242
242
  labelChildren?: (this: void) => void;
243
243
 
244
+ children?: (this: void, ...args: [{ item: Item; index: number }]) => void;
245
+
244
246
  [key: `data-${string}`]: any;
245
247
  };
246
248
 
@@ -76,6 +76,8 @@ type $Props = {
76
76
 
77
77
  titleChildren?: (this: void) => void;
78
78
 
79
+ children?: (this: void) => void;
80
+
79
81
  [key: `data-${string}`]: any;
80
82
  };
81
83
 
@@ -1,7 +1,9 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  import type { ButtonProps } from "../Button/Button.svelte";
3
3
 
4
- export type NotificationActionButtonProps = ButtonProps & {};
4
+ export type NotificationActionButtonProps = ButtonProps & {
5
+ children?: (this: void) => void;
6
+ };
5
7
 
6
8
  export default class NotificationActionButton extends SvelteComponentTyped<
7
9
  NotificationActionButtonProps,
@@ -89,6 +89,8 @@ type $Props = {
89
89
 
90
90
  titleChildren?: (this: void) => void;
91
91
 
92
+ children?: (this: void) => void;
93
+
92
94
  [key: `data-${string}`]: any;
93
95
  };
94
96
 
@@ -22,6 +22,8 @@ type $Props = {
22
22
  */
23
23
  expressive?: boolean;
24
24
 
25
+ children?: (this: void) => void;
26
+
25
27
  [key: `data-${string}`]: any;
26
28
  };
27
29
 
@@ -108,6 +108,8 @@ type $Props = {
108
108
 
109
109
  menu?: (this: void) => void;
110
110
 
111
+ children?: (this: void) => void;
112
+
111
113
  [key: `data-${string}`]: any;
112
114
  };
113
115
 
@@ -65,6 +65,8 @@ type $Props = {
65
65
  */
66
66
  ref?: null | HTMLAnchorElement | HTMLButtonElement;
67
67
 
68
+ children?: (this: void) => void;
69
+
68
70
  [key: `data-${string}`]: any;
69
71
  };
70
72
 
@@ -12,6 +12,8 @@ export type PaginationItemProps = {
12
12
  * @default false
13
13
  */
14
14
  active?: boolean;
15
+
16
+ children?: (this: void) => void;
15
17
  };
16
18
 
17
19
  export default class PaginationItem extends SvelteComponentTyped<
@@ -58,6 +58,8 @@ type $Props = {
58
58
  */
59
59
  relative?: boolean;
60
60
 
61
+ children?: (this: void) => void;
62
+
61
63
  [key: `data-${string}`]: any;
62
64
  };
63
65