carbon-components-svelte 0.87.3 → 0.87.5

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 (40) hide show
  1. package/package.json +1 -1
  2. package/src/Button/Button.svelte +1 -1
  3. package/src/ComposedModal/ModalFooter.svelte +1 -1
  4. package/src/ContextMenu/ContextMenuOption.svelte +1 -1
  5. package/src/Link/Link.svelte +1 -1
  6. package/src/Modal/Modal.svelte +1 -1
  7. package/src/Notification/NotificationButton.svelte +1 -1
  8. package/src/OverflowMenu/OverflowMenu.svelte +1 -1
  9. package/src/Search/Search.svelte +1 -1
  10. package/src/Tag/Tag.svelte +2 -2
  11. package/src/Tooltip/Tooltip.svelte +1 -1
  12. package/src/TooltipIcon/TooltipIcon.svelte +1 -1
  13. package/src/TreeView/TreeView.svelte +1 -1
  14. package/src/TreeView/TreeViewNode.svelte +1 -1
  15. package/src/TreeView/TreeViewNodeList.svelte +1 -1
  16. package/src/UIShell/HamburgerMenu.svelte +2 -2
  17. package/src/UIShell/Header.svelte +2 -2
  18. package/src/UIShell/HeaderAction.svelte +2 -2
  19. package/src/UIShell/HeaderActionLink.svelte +1 -1
  20. package/src/UIShell/HeaderGlobalAction.svelte +1 -1
  21. package/src/UIShell/SideNavLink.svelte +1 -1
  22. package/src/UIShell/SideNavMenu.svelte +1 -1
  23. package/types/Button/Button.svelte.d.ts +1 -1
  24. package/types/ComposedModal/ModalFooter.svelte.d.ts +1 -1
  25. package/types/ContextMenu/ContextMenuOption.svelte.d.ts +1 -1
  26. package/types/Link/Link.svelte.d.ts +1 -1
  27. package/types/Modal/Modal.svelte.d.ts +1 -1
  28. package/types/Notification/NotificationButton.svelte.d.ts +1 -1
  29. package/types/OverflowMenu/OverflowMenu.svelte.d.ts +1 -1
  30. package/types/Search/Search.svelte.d.ts +1 -1
  31. package/types/Tag/Tag.svelte.d.ts +1 -1
  32. package/types/Tooltip/Tooltip.svelte.d.ts +1 -1
  33. package/types/TooltipIcon/TooltipIcon.svelte.d.ts +1 -1
  34. package/types/TreeView/TreeView.svelte.d.ts +1 -1
  35. package/types/UIShell/Header.svelte.d.ts +2 -2
  36. package/types/UIShell/HeaderAction.svelte.d.ts +2 -2
  37. package/types/UIShell/HeaderActionLink.svelte.d.ts +1 -1
  38. package/types/UIShell/HeaderGlobalAction.svelte.d.ts +1 -1
  39. package/types/UIShell/SideNavLink.svelte.d.ts +1 -1
  40. package/types/UIShell/SideNavMenu.svelte.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-components-svelte",
3
- "version": "0.87.3",
3
+ "version": "0.87.5",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Svelte implementation of the Carbon Design System",
6
6
  "type": "module",
@@ -29,7 +29,7 @@
29
29
  * Specify the icon to render
30
30
  * Alternatively, use the named slot "icon" (e.g., `<Icon slot="icon" size="{20}" />`)
31
31
  *
32
- * @type {typeof import("svelte").SvelteComponent<any>}
32
+ * @type {any}
33
33
  */
34
34
  export let icon = undefined;
35
35
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  /**
10
10
  * Specify the primary button icon
11
- * @type {typeof import("svelte").SvelteComponent<any>}
11
+ * @type {any}
12
12
  */
13
13
  export let primaryButtonIcon = undefined;
14
14
 
@@ -14,7 +14,7 @@
14
14
  /**
15
15
  * Specify the icon to render
16
16
  * Icon is rendered to the left of the label text
17
- * @type {typeof import("svelte").SvelteComponent<any>}
17
+ * @type {any}
18
18
  */
19
19
  export let icon = undefined;
20
20
 
@@ -17,7 +17,7 @@
17
17
  /**
18
18
  * Specify the icon to render
19
19
  * `inline` must be `false`
20
- * @type {typeof import("svelte").SvelteComponent<any>}
20
+ * @type {any}
21
21
  */
22
22
  export let icon = undefined;
23
23
 
@@ -57,7 +57,7 @@
57
57
 
58
58
  /**
59
59
  * Specify the primary button icon
60
- * @type {typeof import("svelte").SvelteComponent<any>}
60
+ * @type {any}
61
61
  */
62
62
  export let primaryButtonIcon = undefined;
63
63
 
@@ -7,7 +7,7 @@
7
7
 
8
8
  /**
9
9
  * Specify the icon to render
10
- * @type {typeof import("svelte").SvelteComponent<any>}
10
+ * @type {any}
11
11
  */
12
12
  export let icon = Close;
13
13
 
@@ -33,7 +33,7 @@
33
33
  /**
34
34
  * Specify the icon to render.
35
35
  * Defaults to `<OverflowMenuVertical />`
36
- * @type {typeof import("svelte").SvelteComponent<any>}
36
+ * @type {any}
37
37
  */
38
38
  export let icon = OverflowMenuVertical;
39
39
 
@@ -56,7 +56,7 @@
56
56
  /**
57
57
  * Specify the icon to render.
58
58
  * Defaults to `<Search />`
59
- * @type {typeof import("svelte").SvelteComponent<any>}
59
+ * @type {any}
60
60
  */
61
61
  export let icon = IconSearch;
62
62
 
@@ -27,7 +27,7 @@
27
27
 
28
28
  /**
29
29
  * Specify the icon to render
30
- * @type {typeof import("svelte").SvelteComponent<any>}
30
+ * @type {any}
31
31
  */
32
32
  export let icon = undefined;
33
33
 
@@ -82,7 +82,7 @@
82
82
  class:bx--tag__close-icon={true}
83
83
  {disabled}
84
84
  {title}
85
- on:click|stopPropagation
85
+ on:click
86
86
  on:click|stopPropagation={() => {
87
87
  dispatch("close");
88
88
  }}
@@ -31,7 +31,7 @@
31
31
  /**
32
32
  * Specify the icon to render for the tooltip button.
33
33
  * Default to `<Information />`
34
- * @type {typeof import("svelte").SvelteComponent<any>}
34
+ * @type {any}
35
35
  */
36
36
  export let icon = Information;
37
37
 
@@ -7,7 +7,7 @@
7
7
 
8
8
  /**
9
9
  * Specify the icon to render
10
- * @type {typeof import("svelte").SvelteComponent<any>}
10
+ * @type {any}
11
11
  */
12
12
  export let icon = undefined;
13
13
 
@@ -29,7 +29,7 @@
29
29
  <script>
30
30
  /**
31
31
  * @typedef {string | number} TreeNodeId
32
- * @typedef {{ id: TreeNodeId; text: any; icon?: typeof import("svelte").SvelteComponent<any>; disabled?: boolean; nodes?: TreeNode[]; }} TreeNode
32
+ * @typedef {{ id: TreeNodeId; text: any; icon?: any; disabled?: boolean; nodes?: TreeNode[]; }} TreeNode
33
33
  * @slot {{ node: { id: TreeNodeId; text: string; expanded: boolean, leaf: boolean; disabled: boolean; selected: boolean; } }}
34
34
  * @event {TreeNode & { expanded: boolean; leaf: boolean; }} select
35
35
  * @event {TreeNode & { expanded: boolean; leaf: boolean; }} toggle
@@ -46,7 +46,7 @@
46
46
 
47
47
  /**
48
48
  * Specify the icon to render
49
- * @type {typeof import("svelte").SvelteComponent<any>}
49
+ * @type {any}
50
50
  */
51
51
  export let icon = undefined;
52
52
 
@@ -16,7 +16,7 @@
16
16
 
17
17
  /**
18
18
  * Specify the icon to render
19
- * @type {typeof import("svelte").SvelteComponent<any>}
19
+ * @type {any}
20
20
  */
21
21
  export let icon = undefined;
22
22
 
@@ -11,14 +11,14 @@
11
11
  /**
12
12
  * Specify the icon to render for the closed state.
13
13
  * Defaults to `<Menu size={20} />`
14
- * @type {typeof import("svelte").SvelteComponent<any>}
14
+ * @type {any}
15
15
  */
16
16
  export let iconMenu = Menu;
17
17
 
18
18
  /**
19
19
  * Specify the icon to render for the opened state.
20
20
  * Defaults to `<Close size={20} />`
21
- * @type {typeof import("svelte").SvelteComponent<any>}
21
+ * @type {any}
22
22
  */
23
23
  export let iconClose = Close;
24
24
 
@@ -51,14 +51,14 @@
51
51
  /**
52
52
  * Specify the icon to render for the closed state.
53
53
  * Defaults to `<Menu size={20} />`
54
- * @type {typeof import("svelte").SvelteComponent<any>}
54
+ * @type {any}
55
55
  */
56
56
  export let iconMenu = Menu;
57
57
 
58
58
  /**
59
59
  * Specify the icon to render for the opened state.
60
60
  * Defaults to `<Close size={20} />`
61
- * @type {typeof import("svelte").SvelteComponent<any>}
61
+ * @type {any}
62
62
  */
63
63
  export let iconClose = Close;
64
64
 
@@ -10,14 +10,14 @@
10
10
  /**
11
11
  * Specify the icon to render when the action panel is closed.
12
12
  * Defaults to `<Switcher size={20} />`
13
- * @type {typeof import("svelte").SvelteComponent<any>}
13
+ * @type {any}
14
14
  */
15
15
  export let icon = Switcher;
16
16
 
17
17
  /**
18
18
  * Specify the icon to render when the action panel is open.
19
19
  * Defaults to `<Close size={20} />`
20
- * @type {typeof import("svelte").SvelteComponent<any>}
20
+ * @type {any}
21
21
  */
22
22
  export let closeIcon = Close;
23
23
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  /**
12
12
  * Specify the icon to render
13
- * @type {typeof import("svelte").SvelteComponent<any>}
13
+ * @type {any}
14
14
  */
15
15
  export let icon = undefined;
16
16
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  /**
10
10
  * Specify the icon to render
11
- * @type {typeof import("svelte").SvelteComponent<any>}
11
+ * @type {any}
12
12
  */
13
13
  export let icon = undefined;
14
14
 
@@ -16,7 +16,7 @@
16
16
 
17
17
  /**
18
18
  * Specify the icon to render
19
- * @type {typeof import("svelte").SvelteComponent<any>}
19
+ * @type {any}
20
20
  */
21
21
  export let icon = undefined;
22
22
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  /**
12
12
  * Specify the icon to render
13
- * @type {typeof import("svelte").SvelteComponent<any>}
13
+ * @type {any}
14
14
  */
15
15
  export let icon = undefined;
16
16
 
@@ -44,7 +44,7 @@ type $Props = {
44
44
  * Alternatively, use the named slot "icon" (e.g., `<Icon slot="icon" size="{20}" />`)
45
45
  * @default undefined
46
46
  */
47
- icon?: typeof import("svelte").SvelteComponent<any>;
47
+ icon?: any;
48
48
 
49
49
  /**
50
50
  * Specify the ARIA label for the button icon
@@ -14,7 +14,7 @@ type $Props = {
14
14
  * Specify the primary button icon
15
15
  * @default undefined
16
16
  */
17
- primaryButtonIcon?: typeof import("svelte").SvelteComponent<any>;
17
+ primaryButtonIcon?: any;
18
18
 
19
19
  /**
20
20
  * Set to `true` to disable the primary button
@@ -27,7 +27,7 @@ type $Props = {
27
27
  * Icon is rendered to the left of the label text
28
28
  * @default undefined
29
29
  */
30
- icon?: typeof import("svelte").SvelteComponent<any>;
30
+ icon?: any;
31
31
 
32
32
  /**
33
33
  * Specify the label text.
@@ -27,7 +27,7 @@ type $Props = {
27
27
  * `inline` must be `false`
28
28
  * @default undefined
29
29
  */
30
- icon?: typeof import("svelte").SvelteComponent<any>;
30
+ icon?: any;
31
31
 
32
32
  /**
33
33
  * Set to `true` to disable the checkbox
@@ -86,7 +86,7 @@ type $Props = {
86
86
  * Specify the primary button icon
87
87
  * @default undefined
88
88
  */
89
- primaryButtonIcon?: typeof import("svelte").SvelteComponent<any>;
89
+ primaryButtonIcon?: any;
90
90
 
91
91
  /**
92
92
  * Set to `true` for the "submit" and "click:button--primary" events
@@ -14,7 +14,7 @@ type $Props = {
14
14
  * Specify the icon to render
15
15
  * @default undefined
16
16
  */
17
- icon?: typeof import("svelte").SvelteComponent<any>;
17
+ icon?: any;
18
18
 
19
19
  /**
20
20
  * Specify the title of the icon
@@ -45,7 +45,7 @@ type $Props = {
45
45
  * Defaults to `<OverflowMenuVertical />`
46
46
  * @default undefined
47
47
  */
48
- icon?: typeof import("svelte").SvelteComponent<any>;
48
+ icon?: any;
49
49
 
50
50
  /**
51
51
  * Specify the icon class
@@ -87,7 +87,7 @@ type $Props = {
87
87
  * Defaults to `<Search />`
88
88
  * @default undefined
89
89
  */
90
- icon?: typeof import("svelte").SvelteComponent<any>;
90
+ icon?: any;
91
91
 
92
92
  /**
93
93
  * Set an id for the input element
@@ -61,7 +61,7 @@ type $Props = {
61
61
  * Specify the icon to render
62
62
  * @default undefined
63
63
  */
64
- icon?: typeof import("svelte").SvelteComponent<any>;
64
+ icon?: any;
65
65
 
66
66
  /**
67
67
  * Set an id for the filterable tag
@@ -33,7 +33,7 @@ type $Props = {
33
33
  * Default to `<Information />`
34
34
  * @default undefined
35
35
  */
36
- icon?: typeof import("svelte").SvelteComponent<any>;
36
+ icon?: any;
37
37
 
38
38
  /**
39
39
  * Specify the ARIA label for the tooltip button
@@ -15,7 +15,7 @@ type $Props = {
15
15
  * Specify the icon to render
16
16
  * @default undefined
17
17
  */
18
- icon?: typeof import("svelte").SvelteComponent<any>;
18
+ icon?: any;
19
19
 
20
20
  /**
21
21
  * Set to `true` to disable the tooltip icon
@@ -6,7 +6,7 @@ export type TreeNodeId = string | number;
6
6
  export interface TreeNode {
7
7
  id: TreeNodeId;
8
8
  text: any;
9
- icon?: typeof import("svelte").SvelteComponent<any>;
9
+ icon?: any;
10
10
  disabled?: boolean;
11
11
  nodes?: TreeNode[];
12
12
  }
@@ -72,14 +72,14 @@ type $Props = {
72
72
  * Defaults to `<Menu size={20} />`
73
73
  * @default undefined
74
74
  */
75
- iconMenu?: typeof import("svelte").SvelteComponent<any>;
75
+ iconMenu?: any;
76
76
 
77
77
  /**
78
78
  * Specify the icon to render for the opened state.
79
79
  * Defaults to `<Close size={20} />`
80
80
  * @default undefined
81
81
  */
82
- iconClose?: typeof import("svelte").SvelteComponent<any>;
82
+ iconClose?: any;
83
83
 
84
84
  [key: `data-${string}`]: any;
85
85
  };
@@ -15,14 +15,14 @@ type $Props = {
15
15
  * Defaults to `<Switcher size={20} />`
16
16
  * @default undefined
17
17
  */
18
- icon?: typeof import("svelte").SvelteComponent<any>;
18
+ icon?: any;
19
19
 
20
20
  /**
21
21
  * Specify the icon to render when the action panel is open.
22
22
  * Defaults to `<Close size={20} />`
23
23
  * @default undefined
24
24
  */
25
- closeIcon?: typeof import("svelte").SvelteComponent<any>;
25
+ closeIcon?: any;
26
26
 
27
27
  /**
28
28
  * Specify the text.
@@ -20,7 +20,7 @@ type $Props = {
20
20
  * Specify the icon to render
21
21
  * @default undefined
22
22
  */
23
- icon?: typeof import("svelte").SvelteComponent<any>;
23
+ icon?: any;
24
24
 
25
25
  /**
26
26
  * Obtain a reference to the HTML anchor element
@@ -12,7 +12,7 @@ export type HeaderGlobalActionProps = ButtonProps & {
12
12
  * Specify the icon to render
13
13
  * @default undefined
14
14
  */
15
- icon?: typeof import("svelte").SvelteComponent<any>;
15
+ icon?: any;
16
16
 
17
17
  /**
18
18
  * Obtain a reference to the HTML button element
@@ -26,7 +26,7 @@ type $Props = {
26
26
  * Specify the icon to render
27
27
  * @default undefined
28
28
  */
29
- icon?: typeof import("svelte").SvelteComponent<any>;
29
+ icon?: any;
30
30
 
31
31
  /**
32
32
  * Obtain a reference to the HTML anchor element
@@ -20,7 +20,7 @@ type $Props = {
20
20
  * Specify the icon to render
21
21
  * @default undefined
22
22
  */
23
- icon?: typeof import("svelte").SvelteComponent<any>;
23
+ icon?: any;
24
24
 
25
25
  /**
26
26
  * Obtain a reference to the HTML button element