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.
- package/package.json +1 -1
- package/types/Accordion/Accordion.svelte.d.ts +2 -0
- package/types/Accordion/AccordionItem.svelte.d.ts +2 -0
- package/types/AspectRatio/AspectRatio.svelte.d.ts +2 -0
- package/types/Breadcrumb/Breadcrumb.svelte.d.ts +2 -0
- package/types/Breadcrumb/BreadcrumbItem.svelte.d.ts +5 -0
- package/types/Breakpoint/Breakpoint.svelte.d.ts +5 -0
- package/types/Button/Button.svelte.d.ts +17 -0
- package/types/Button/ButtonSet.svelte.d.ts +2 -0
- package/types/CodeSnippet/CodeSnippet.svelte.d.ts +2 -0
- package/types/ComboBox/ComboBox.svelte.d.ts +2 -0
- package/types/ComposedModal/ComposedModal.svelte.d.ts +2 -0
- package/types/ComposedModal/ModalBody.svelte.d.ts +2 -0
- package/types/ComposedModal/ModalFooter.svelte.d.ts +2 -0
- package/types/ComposedModal/ModalHeader.svelte.d.ts +2 -0
- package/types/ContentSwitcher/ContentSwitcher.svelte.d.ts +2 -0
- package/types/ContentSwitcher/Switch.svelte.d.ts +2 -0
- package/types/ContextMenu/ContextMenu.svelte.d.ts +2 -0
- package/types/ContextMenu/ContextMenuGroup.svelte.d.ts +2 -0
- package/types/ContextMenu/ContextMenuOption.svelte.d.ts +2 -0
- package/types/ContextMenu/ContextMenuRadioGroup.svelte.d.ts +2 -0
- package/types/DataTable/DataTable.svelte.d.ts +2 -0
- package/types/DataTable/Table.svelte.d.ts +2 -0
- package/types/DataTable/TableBody.svelte.d.ts +2 -0
- package/types/DataTable/TableCell.svelte.d.ts +2 -0
- package/types/DataTable/TableContainer.svelte.d.ts +2 -0
- package/types/DataTable/TableHead.svelte.d.ts +2 -0
- package/types/DataTable/TableHeader.svelte.d.ts +2 -0
- package/types/DataTable/TableRow.svelte.d.ts +2 -0
- package/types/DataTable/Toolbar.svelte.d.ts +2 -0
- package/types/DataTable/ToolbarBatchActions.svelte.d.ts +2 -0
- package/types/DataTable/ToolbarContent.svelte.d.ts +3 -1
- package/types/DataTable/ToolbarMenu.svelte.d.ts +3 -1
- package/types/DataTable/ToolbarMenuItem.svelte.d.ts +3 -1
- package/types/DatePicker/DatePicker.svelte.d.ts +2 -0
- package/types/Dropdown/Dropdown.svelte.d.ts +2 -0
- package/types/FluidForm/FluidForm.svelte.d.ts +2 -0
- package/types/Form/Form.svelte.d.ts +2 -0
- package/types/FormGroup/FormGroup.svelte.d.ts +2 -0
- package/types/FormItem/FormItem.svelte.d.ts +2 -0
- package/types/FormLabel/FormLabel.svelte.d.ts +2 -0
- package/types/Grid/Column.svelte.d.ts +5 -0
- package/types/Grid/Grid.svelte.d.ts +5 -0
- package/types/Grid/Row.svelte.d.ts +5 -0
- package/types/Link/Link.svelte.d.ts +2 -0
- package/types/Link/OutboundLink.svelte.d.ts +3 -1
- package/types/ListBox/ListBox.svelte.d.ts +2 -0
- package/types/ListBox/ListBoxField.svelte.d.ts +2 -0
- package/types/ListBox/ListBoxMenu.svelte.d.ts +2 -0
- package/types/ListBox/ListBoxMenuItem.svelte.d.ts +2 -0
- package/types/ListItem/ListItem.svelte.d.ts +2 -0
- package/types/Modal/Modal.svelte.d.ts +2 -0
- package/types/MultiSelect/MultiSelect.svelte.d.ts +2 -0
- package/types/Notification/InlineNotification.svelte.d.ts +2 -0
- package/types/Notification/NotificationActionButton.svelte.d.ts +3 -1
- package/types/Notification/ToastNotification.svelte.d.ts +2 -0
- package/types/OrderedList/OrderedList.svelte.d.ts +2 -0
- package/types/OverflowMenu/OverflowMenu.svelte.d.ts +2 -0
- package/types/OverflowMenu/OverflowMenuItem.svelte.d.ts +2 -0
- package/types/PaginationNav/PaginationItem.svelte.d.ts +2 -0
- package/types/Popover/Popover.svelte.d.ts +2 -0
- package/types/Portal/Portal.svelte.d.ts +2 -0
- package/types/ProgressIndicator/ProgressIndicator.svelte.d.ts +2 -0
- package/types/ProgressIndicator/ProgressStep.svelte.d.ts +5 -0
- package/types/RadioButtonGroup/RadioButtonGroup.svelte.d.ts +2 -0
- package/types/RecursiveList/RecursiveListItem.svelte.d.ts +2 -0
- package/types/Select/Select.svelte.d.ts +2 -0
- package/types/Select/SelectItemGroup.svelte.d.ts +2 -0
- package/types/Stack/Stack.svelte.d.ts +2 -0
- package/types/StructuredList/StructuredList.svelte.d.ts +2 -0
- package/types/StructuredList/StructuredListBody.svelte.d.ts +2 -0
- package/types/StructuredList/StructuredListCell.svelte.d.ts +2 -0
- package/types/StructuredList/StructuredListHead.svelte.d.ts +2 -0
- package/types/StructuredList/StructuredListRow.svelte.d.ts +2 -0
- package/types/Tabs/Tab.svelte.d.ts +2 -0
- package/types/Tabs/TabContent.svelte.d.ts +2 -0
- package/types/Tabs/Tabs.svelte.d.ts +2 -0
- package/types/Tag/Tag.svelte.d.ts +5 -0
- package/types/Theme/Theme.svelte.d.ts +2 -0
- package/types/Tile/ClickableTile.svelte.d.ts +2 -0
- package/types/Tile/RadioTile.svelte.d.ts +2 -0
- package/types/Tile/SelectableTile.svelte.d.ts +2 -0
- package/types/Tile/SelectableTileGroup.svelte.d.ts +2 -0
- package/types/Tile/Tile.svelte.d.ts +2 -0
- package/types/Tile/TileGroup.svelte.d.ts +2 -0
- package/types/TimePicker/TimePicker.svelte.d.ts +2 -0
- package/types/TimePicker/TimePickerSelect.svelte.d.ts +2 -0
- package/types/Tooltip/Tooltip.svelte.d.ts +2 -0
- package/types/Tooltip/TooltipFooter.svelte.d.ts +2 -0
- package/types/TooltipDefinition/TooltipDefinition.svelte.d.ts +2 -0
- package/types/TooltipIcon/TooltipIcon.svelte.d.ts +2 -0
- package/types/TreeView/TreeView.svelte.d.ts +16 -0
- package/types/TreeView/TreeViewNode.svelte.d.ts +16 -0
- package/types/TreeView/TreeViewNodeList.svelte.d.ts +16 -0
- package/types/Truncate/Truncate.svelte.d.ts +2 -0
- package/types/UIShell/Content.svelte.d.ts +2 -0
- package/types/UIShell/Header.svelte.d.ts +2 -0
- package/types/UIShell/HeaderAction.svelte.d.ts +2 -0
- package/types/UIShell/HeaderNav.svelte.d.ts +2 -0
- package/types/UIShell/HeaderNavItem.svelte.d.ts +2 -0
- package/types/UIShell/HeaderNavMenu.svelte.d.ts +2 -0
- package/types/UIShell/HeaderPanelDivider.svelte.d.ts +3 -1
- package/types/UIShell/HeaderPanelLink.svelte.d.ts +2 -0
- package/types/UIShell/HeaderPanelLinks.svelte.d.ts +3 -1
- package/types/UIShell/HeaderSearch.svelte.d.ts +2 -0
- package/types/UIShell/HeaderUtilities.svelte.d.ts +3 -1
- package/types/UIShell/SideNav.svelte.d.ts +2 -0
- package/types/UIShell/SideNavItems.svelte.d.ts +3 -1
- package/types/UIShell/SideNavLink.svelte.d.ts +2 -0
- package/types/UIShell/SideNavMenu.svelte.d.ts +2 -0
- package/types/UIShell/SideNavMenuItem.svelte.d.ts +2 -0
- package/types/UIShell/SkipToContent.svelte.d.ts +2 -0
- package/types/UnorderedList/UnorderedList.svelte.d.ts +2 -0
package/package.json
CHANGED
|
@@ -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
|
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
|
|
3
|
-
export type ToolbarContentProps =
|
|
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,
|
|
@@ -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,
|
|
@@ -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,
|