carbon-components-svelte 0.97.1 → 0.97.2
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.
- package/package.json +1 -1
- package/types/Checkbox/Checkbox.svelte.d.ts +1 -1
- package/types/ComboBox/ComboBox.svelte.d.ts +1 -1
- package/types/ContextMenu/ContextMenuOption.svelte.d.ts +1 -1
- package/types/DataTable/DataTable.svelte.d.ts +33 -9
- package/types/DataTable/ToolbarBatchActions.svelte.d.ts +1 -1
- package/types/DatePicker/DatePickerInput.svelte.d.ts +1 -1
- package/types/FileUploader/FileUploaderButton.svelte.d.ts +1 -1
- package/types/FileUploader/FileUploaderDropContainer.svelte.d.ts +1 -1
- package/types/Modal/Modal.svelte.d.ts +2 -2
- package/types/MultiSelect/MultiSelect.svelte.d.ts +1 -1
- package/types/Notification/InlineNotification.svelte.d.ts +3 -3
- package/types/Notification/ToastNotification.svelte.d.ts +3 -3
- package/types/NumberInput/NumberInput.svelte.d.ts +1 -1
- package/types/OverflowMenu/OverflowMenu.svelte.d.ts +1 -1
- package/types/ProgressBar/ProgressBar.svelte.d.ts +1 -1
- package/types/RadioButton/RadioButton.svelte.d.ts +1 -1
- package/types/RadioButtonGroup/RadioButtonGroup.svelte.d.ts +1 -1
- package/types/Search/Search.svelte.d.ts +1 -1
- package/types/Select/Select.svelte.d.ts +1 -1
- package/types/Slider/Slider.svelte.d.ts +1 -1
- package/types/Tabs/Tabs.svelte.d.ts +1 -1
- package/types/TextArea/TextArea.svelte.d.ts +1 -1
- package/types/TextInput/PasswordInput.svelte.d.ts +1 -1
- package/types/TextInput/TextInput.svelte.d.ts +1 -1
- package/types/Tile/ExpandableTile.svelte.d.ts +2 -2
- package/types/Tile/SelectableTileGroup.svelte.d.ts +1 -1
- package/types/Tile/TileGroup.svelte.d.ts +1 -1
- package/types/TimePicker/TimePicker.svelte.d.ts +1 -1
- package/types/TimePicker/TimePickerSelect.svelte.d.ts +1 -1
- package/types/Toggle/Toggle.svelte.d.ts +1 -1
- package/types/Toggle/ToggleSkeleton.svelte.d.ts +1 -1
- package/types/TooltipDefinition/TooltipDefinition.svelte.d.ts +1 -1
- package/types/TreeView/TreeView.svelte.d.ts +1 -1
- package/types/UIShell/Header.svelte.d.ts +3 -3
- package/types/UIShell/HeaderAction.svelte.d.ts +1 -1
package/package.json
CHANGED
|
@@ -209,15 +209,39 @@ type $Props<Row> = {
|
|
|
209
209
|
id: import("./TableHeader.svelte").TableHeaderTranslationId,
|
|
210
210
|
) => string;
|
|
211
211
|
|
|
212
|
-
cell?: (
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
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;
|
|
221
245
|
|
|
222
246
|
[key: `data-${string}`]: any;
|
|
223
247
|
};
|
|
@@ -70,11 +70,11 @@ type $Props = {
|
|
|
70
70
|
*/
|
|
71
71
|
open?: boolean;
|
|
72
72
|
|
|
73
|
-
actions?: () => void;
|
|
73
|
+
actions?: (this: void) => void;
|
|
74
74
|
|
|
75
|
-
subtitleChildren?: () => void;
|
|
75
|
+
subtitleChildren?: (this: void) => void;
|
|
76
76
|
|
|
77
|
-
titleChildren?: () => void;
|
|
77
|
+
titleChildren?: (this: void) => void;
|
|
78
78
|
|
|
79
79
|
[key: `data-${string}`]: any;
|
|
80
80
|
};
|
|
@@ -83,11 +83,11 @@ type $Props = {
|
|
|
83
83
|
*/
|
|
84
84
|
open?: boolean;
|
|
85
85
|
|
|
86
|
-
captionChildren?: () => void;
|
|
86
|
+
captionChildren?: (this: void) => void;
|
|
87
87
|
|
|
88
|
-
subtitleChildren?: () => void;
|
|
88
|
+
subtitleChildren?: (this: void) => void;
|
|
89
89
|
|
|
90
|
-
titleChildren?: () => void;
|
|
90
|
+
titleChildren?: (this: void) => void;
|
|
91
91
|
|
|
92
92
|
[key: `data-${string}`]: any;
|
|
93
93
|
};
|
|
@@ -98,11 +98,11 @@ type $Props = {
|
|
|
98
98
|
*/
|
|
99
99
|
ariaLabelMenu?: string;
|
|
100
100
|
|
|
101
|
-
company?: () => void;
|
|
101
|
+
company?: (this: void) => void;
|
|
102
102
|
|
|
103
|
-
platform?: () => void;
|
|
103
|
+
platform?: (this: void) => void;
|
|
104
104
|
|
|
105
|
-
"skip-to-content"?: () => void;
|
|
105
|
+
"skip-to-content"?: (this: void) => void;
|
|
106
106
|
|
|
107
107
|
[key: `data-${string}`]: any;
|
|
108
108
|
};
|