@websline/system-components 1.4.8 → 1.5.0

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 (168) hide show
  1. package/dist/components/atoms/actions/button/Button.svelte.d.ts +24 -24
  2. package/dist/components/atoms/actions/closeButton/CloseButton.svelte.d.ts +10 -10
  3. package/dist/components/atoms/actions/iconButton/IconButton.svelte.d.ts +20 -20
  4. package/dist/components/atoms/avatar/Avatar.svelte.d.ts +14 -14
  5. package/dist/components/atoms/badge/Badge.svelte.d.ts +14 -14
  6. package/dist/components/atoms/checkbox/Checkbox.svelte.d.ts +16 -16
  7. package/dist/components/atoms/chip/Chip.svelte.d.ts +18 -18
  8. package/dist/components/atoms/colorChip/ColorChip.svelte.d.ts +14 -14
  9. package/dist/components/atoms/feedback/progressBar/ProgressBar.svelte.d.ts +8 -8
  10. package/dist/components/atoms/feedback/spinner/Spinner.svelte.d.ts +4 -4
  11. package/dist/components/atoms/helperText/HelperText.svelte.d.ts +6 -6
  12. package/dist/components/atoms/icon/components/Academy.svelte.d.ts +8 -8
  13. package/dist/components/atoms/icon/components/Add.svelte.d.ts +8 -8
  14. package/dist/components/atoms/icon/components/Ai.svelte.d.ts +8 -8
  15. package/dist/components/atoms/icon/components/AiStars.svelte.d.ts +6 -6
  16. package/dist/components/atoms/icon/components/AlignBottom.svelte.d.ts +8 -8
  17. package/dist/components/atoms/icon/components/AlignBottomOne.svelte.d.ts +8 -8
  18. package/dist/components/atoms/icon/components/AlignCenter.svelte.d.ts +8 -8
  19. package/dist/components/atoms/icon/components/AlignCenterOne.svelte.d.ts +8 -8
  20. package/dist/components/atoms/icon/components/AlignLeft.svelte.d.ts +8 -8
  21. package/dist/components/atoms/icon/components/AlignMiddle.svelte.d.ts +8 -8
  22. package/dist/components/atoms/icon/components/AlignMiddleOne.svelte.d.ts +8 -8
  23. package/dist/components/atoms/icon/components/AlignRight.svelte.d.ts +8 -8
  24. package/dist/components/atoms/icon/components/AlignRightOne.svelte.d.ts +8 -8
  25. package/dist/components/atoms/icon/components/AlignTop.svelte.d.ts +8 -8
  26. package/dist/components/atoms/icon/components/AlignTopOne.svelte.d.ts +8 -8
  27. package/dist/components/atoms/icon/components/ArrowDown.svelte.d.ts +8 -8
  28. package/dist/components/atoms/icon/components/ArrowUp.svelte.d.ts +8 -8
  29. package/dist/components/atoms/icon/components/Attach.svelte.d.ts +8 -8
  30. package/dist/components/atoms/icon/components/Bed.svelte.d.ts +8 -8
  31. package/dist/components/atoms/icon/components/Block.svelte.d.ts +8 -8
  32. package/dist/components/atoms/icon/components/Bold.svelte.d.ts +8 -8
  33. package/dist/components/atoms/icon/components/BoxIn.svelte.d.ts +8 -8
  34. package/dist/components/atoms/icon/components/BoxOut.svelte.d.ts +8 -8
  35. package/dist/components/atoms/icon/components/Calendar.svelte.d.ts +8 -8
  36. package/dist/components/atoms/icon/components/Check.svelte.d.ts +8 -8
  37. package/dist/components/atoms/icon/components/CheckboxStack.svelte.d.ts +8 -8
  38. package/dist/components/atoms/icon/components/ChevronDoubleLeft.svelte.d.ts +8 -8
  39. package/dist/components/atoms/icon/components/ChevronDoubleRight.svelte.d.ts +8 -8
  40. package/dist/components/atoms/icon/components/ChevronDown.svelte.d.ts +8 -8
  41. package/dist/components/atoms/icon/components/Clipboard.svelte.d.ts +8 -8
  42. package/dist/components/atoms/icon/components/Close.svelte.d.ts +8 -8
  43. package/dist/components/atoms/icon/components/CloseSmall.svelte.d.ts +8 -8
  44. package/dist/components/atoms/icon/components/Computer.svelte.d.ts +8 -8
  45. package/dist/components/atoms/icon/components/Connect.svelte.d.ts +8 -8
  46. package/dist/components/atoms/icon/components/ConnectCrossed.svelte.d.ts +8 -8
  47. package/dist/components/atoms/icon/components/ContactCard.svelte.d.ts +8 -8
  48. package/dist/components/atoms/icon/components/Controlling.svelte.d.ts +8 -8
  49. package/dist/components/atoms/icon/components/Coupons.svelte.d.ts +8 -8
  50. package/dist/components/atoms/icon/components/Crop.svelte.d.ts +8 -8
  51. package/dist/components/atoms/icon/components/Dashboard.svelte.d.ts +8 -8
  52. package/dist/components/atoms/icon/components/Database.svelte.d.ts +8 -8
  53. package/dist/components/atoms/icon/components/Download.svelte.d.ts +8 -8
  54. package/dist/components/atoms/icon/components/Dragger.svelte.d.ts +8 -8
  55. package/dist/components/atoms/icon/components/Envelope.svelte.d.ts +8 -8
  56. package/dist/components/atoms/icon/components/Envelopes.svelte.d.ts +8 -8
  57. package/dist/components/atoms/icon/components/Expand.svelte.d.ts +8 -8
  58. package/dist/components/atoms/icon/components/Eye.svelte.d.ts +8 -8
  59. package/dist/components/atoms/icon/components/EyeCrossed.svelte.d.ts +8 -8
  60. package/dist/components/atoms/icon/components/FilePDF.svelte.d.ts +8 -8
  61. package/dist/components/atoms/icon/components/Filter.svelte.d.ts +8 -8
  62. package/dist/components/atoms/icon/components/FocalPoint.svelte.d.ts +8 -8
  63. package/dist/components/atoms/icon/components/FolderPlus.svelte.d.ts +8 -8
  64. package/dist/components/atoms/icon/components/Food.svelte.d.ts +8 -8
  65. package/dist/components/atoms/icon/components/Funnel.svelte.d.ts +8 -8
  66. package/dist/components/atoms/icon/components/Globe.svelte.d.ts +8 -8
  67. package/dist/components/atoms/icon/components/History.svelte.d.ts +8 -8
  68. package/dist/components/atoms/icon/components/Hourglass.svelte.d.ts +8 -8
  69. package/dist/components/atoms/icon/components/Inbox.svelte.d.ts +8 -8
  70. package/dist/components/atoms/icon/components/Info.svelte.d.ts +8 -8
  71. package/dist/components/atoms/icon/components/Intergration.svelte.d.ts +8 -8
  72. package/dist/components/atoms/icon/components/Italic.svelte.d.ts +8 -8
  73. package/dist/components/atoms/icon/components/Layout.svelte.d.ts +8 -8
  74. package/dist/components/atoms/icon/components/Lightning.svelte.d.ts +8 -8
  75. package/dist/components/atoms/icon/components/Link.svelte.d.ts +8 -8
  76. package/dist/components/atoms/icon/components/LinkAi.svelte.d.ts +8 -8
  77. package/dist/components/atoms/icon/components/ListOrdered.svelte.d.ts +8 -8
  78. package/dist/components/atoms/icon/components/ListTasks.svelte.d.ts +8 -8
  79. package/dist/components/atoms/icon/components/ListUnordered.svelte.d.ts +8 -8
  80. package/dist/components/atoms/icon/components/Lock.svelte.d.ts +8 -8
  81. package/dist/components/atoms/icon/components/Menu.svelte.d.ts +8 -8
  82. package/dist/components/atoms/icon/components/Minus.svelte.d.ts +8 -8
  83. package/dist/components/atoms/icon/components/Notifications.svelte.d.ts +8 -8
  84. package/dist/components/atoms/icon/components/Offer.svelte.d.ts +8 -8
  85. package/dist/components/atoms/icon/components/Out.svelte.d.ts +8 -8
  86. package/dist/components/atoms/icon/components/Overflow.svelte.d.ts +8 -8
  87. package/dist/components/atoms/icon/components/Page.svelte.d.ts +8 -8
  88. package/dist/components/atoms/icon/components/PageClock.svelte.d.ts +8 -8
  89. package/dist/components/atoms/icon/components/PageEdit.svelte.d.ts +8 -8
  90. package/dist/components/atoms/icon/components/PageLayout.svelte.d.ts +8 -8
  91. package/dist/components/atoms/icon/components/Pages.svelte.d.ts +8 -8
  92. package/dist/components/atoms/icon/components/Payment.svelte.d.ts +8 -8
  93. package/dist/components/atoms/icon/components/Pencil.svelte.d.ts +8 -8
  94. package/dist/components/atoms/icon/components/Phone.svelte.d.ts +8 -8
  95. package/dist/components/atoms/icon/components/Picture.svelte.d.ts +8 -8
  96. package/dist/components/atoms/icon/components/Print.svelte.d.ts +8 -8
  97. package/dist/components/atoms/icon/components/Redo.svelte.d.ts +8 -8
  98. package/dist/components/atoms/icon/components/Refresh.svelte.d.ts +8 -8
  99. package/dist/components/atoms/icon/components/RefreshCircle.svelte.d.ts +8 -8
  100. package/dist/components/atoms/icon/components/Replace.svelte.d.ts +8 -8
  101. package/dist/components/atoms/icon/components/Report.svelte.d.ts +8 -8
  102. package/dist/components/atoms/icon/components/Resource.svelte.d.ts +8 -8
  103. package/dist/components/atoms/icon/components/SEO.svelte.d.ts +8 -8
  104. package/dist/components/atoms/icon/components/Search.svelte.d.ts +8 -8
  105. package/dist/components/atoms/icon/components/Settings.svelte.d.ts +8 -8
  106. package/dist/components/atoms/icon/components/Shop.svelte.d.ts +8 -8
  107. package/dist/components/atoms/icon/components/Smartphone.svelte.d.ts +8 -8
  108. package/dist/components/atoms/icon/components/Sort.svelte.d.ts +8 -8
  109. package/dist/components/atoms/icon/components/SpacingL.svelte.d.ts +8 -8
  110. package/dist/components/atoms/icon/components/SpacingM.svelte.d.ts +8 -8
  111. package/dist/components/atoms/icon/components/SpacingNone.svelte.d.ts +8 -8
  112. package/dist/components/atoms/icon/components/SpacingS.svelte.d.ts +8 -8
  113. package/dist/components/atoms/icon/components/SpacingXL.svelte.d.ts +8 -8
  114. package/dist/components/atoms/icon/components/Star.svelte.d.ts +8 -8
  115. package/dist/components/atoms/icon/components/StyleGuide.svelte.d.ts +8 -8
  116. package/dist/components/atoms/icon/components/Tablet.svelte.d.ts +8 -8
  117. package/dist/components/atoms/icon/components/Translate.svelte.d.ts +8 -8
  118. package/dist/components/atoms/icon/components/TranslateCrossed.svelte.d.ts +8 -8
  119. package/dist/components/atoms/icon/components/Trash.svelte.d.ts +8 -8
  120. package/dist/components/atoms/icon/components/Underline.svelte.d.ts +8 -8
  121. package/dist/components/atoms/icon/components/Undo.svelte.d.ts +8 -8
  122. package/dist/components/atoms/icon/components/WebslineSupport.svelte.d.ts +8 -8
  123. package/dist/components/atoms/icon/components/Width.svelte.d.ts +8 -8
  124. package/dist/components/atoms/input/Input.svelte.d.ts +27 -26
  125. package/dist/components/atoms/label/Label.svelte.d.ts +10 -10
  126. package/dist/components/atoms/radio/Radio.svelte.d.ts +16 -16
  127. package/dist/components/atoms/select/Select.svelte.d.ts +25 -24
  128. package/dist/components/atoms/switch/Switch.svelte.d.ts +16 -16
  129. package/dist/components/atoms/tag/Tag.svelte.d.ts +16 -16
  130. package/dist/components/atoms/textarea/Textarea.svelte.d.ts +20 -20
  131. package/dist/components/atoms/utils/xScroll/XScroll.svelte.d.ts +4 -4
  132. package/dist/components/molecules/calendar/Calendar.svelte.d.ts +8 -8
  133. package/dist/components/molecules/calendar/Container.svelte.d.ts +4 -4
  134. package/dist/components/molecules/calendar/Weekdays.svelte.d.ts +2 -2
  135. package/dist/components/molecules/calendar/calendar.variant.d.ts +6 -6
  136. package/dist/components/molecules/comboBox/ComboBox.svelte.d.ts +22 -22
  137. package/dist/components/molecules/formActions/FormActions.svelte.d.ts +8 -8
  138. package/dist/components/molecules/formField/FormField.svelte.d.ts +20 -20
  139. package/dist/components/molecules/formLayout/FormLayout.svelte.d.ts +6 -6
  140. package/dist/components/molecules/notifications/systemAlert/SystemAlert.svelte.d.ts +12 -12
  141. package/dist/components/molecules/notifications/toast/Toast.svelte.d.ts +10 -10
  142. package/dist/components/molecules/pickers/colorSwatch/ColorSwatch.svelte.d.ts +12 -12
  143. package/dist/components/molecules/richTextEditor/RichTextEditor.svelte +14 -5
  144. package/dist/components/molecules/richTextEditor/toolbar/ToolbarLink.svelte +2 -1
  145. package/dist/components/molecules/selectorCard/SelectorCard.svelte.d.ts +24 -24
  146. package/dist/components/molecules/tagSelector/TagSelector.svelte.d.ts +22 -22
  147. package/dist/components/molecules/toggleGroup/ToggleGroup.svelte.d.ts +18 -18
  148. package/dist/components/molecules/toggleGroup/ToggleGroupItem.svelte.d.ts +8 -8
  149. package/dist/components/organisms/dialog/Dialog.svelte.d.ts +6 -6
  150. package/dist/components/organisms/dialog/DialogAction.svelte.d.ts +6 -6
  151. package/dist/components/organisms/dialog/DialogActions.svelte.d.ts +4 -4
  152. package/dist/components/organisms/dialog/DialogBody.svelte.d.ts +4 -4
  153. package/dist/components/organisms/dialog/DialogContent.svelte.d.ts +12 -12
  154. package/dist/components/organisms/dialog/DialogTrigger.svelte.d.ts +2 -2
  155. package/dist/components/organisms/modal/Modal.svelte.d.ts +6 -6
  156. package/dist/components/organisms/modal/ModalBody.svelte.d.ts +6 -6
  157. package/dist/components/organisms/modal/ModalContent.svelte.d.ts +12 -12
  158. package/dist/components/organisms/modal/ModalHeader.svelte.d.ts +6 -6
  159. package/dist/components/organisms/modal/ModalTrigger.svelte.d.ts +2 -2
  160. package/dist/components/organisms/notificationGroup/NotificationGroup.svelte.d.ts +2 -2
  161. package/dist/components/organisms/popover/Popover.svelte.d.ts +2 -2
  162. package/dist/components/organisms/popover/PopoverContent.svelte.d.ts +22 -22
  163. package/dist/components/organisms/popover/PopoverTrigger.svelte.d.ts +2 -2
  164. package/dist/components/organisms/tooltip/Content.svelte.d.ts +12 -12
  165. package/dist/components/organisms/tooltip/Tooltip.svelte.d.ts +2 -2
  166. package/dist/components/organisms/tooltip/Trigger.svelte.d.ts +2 -2
  167. package/dist/utils/theme.svelte.d.ts +2 -2
  168. package/package.json +33 -33
@@ -7,89 +7,89 @@ declare const ComboBox: import("svelte").Component<{
7
7
  /**
8
8
  * Whether the input should be autofocused on mount
9
9
  */
10
- autofocus?: boolean;
10
+ autofocus?: boolean | undefined;
11
11
  /**
12
12
  * Additional CSS classes to apply to the component
13
13
  */
14
- class?: string;
14
+ class?: string | undefined;
15
15
  /**
16
16
  * Whether the component is disabled
17
17
  */
18
- disabled?: boolean;
18
+ disabled?: boolean | undefined;
19
19
  /**
20
20
  * Whether the component has an error state
21
21
  */
22
- error?: boolean;
22
+ error?: boolean | undefined;
23
23
  /**
24
24
  * The ID of the input element
25
25
  */
26
- id?: string;
26
+ id?: string | undefined;
27
27
  /**
28
28
  * The name of the input, used for form submission
29
29
  */
30
- name?: string;
30
+ name?: string | undefined;
31
31
  /**
32
32
  * The available tag options
33
33
  */
34
- options?: Array<{
34
+ options?: {
35
35
  id: string | number;
36
36
  label: string;
37
- }>;
37
+ }[] | undefined;
38
38
  /**
39
39
  * The placeholder text for the input
40
40
  */
41
- placeholder?: string;
41
+ placeholder?: string | undefined;
42
42
  /**
43
43
  * Whether the component is required
44
44
  */
45
- required?: boolean;
45
+ required?: boolean | undefined;
46
46
  /**
47
47
  * The currently selected tags, bound to the component
48
48
  */
49
- value?: Array<string | number>;
49
+ value?: (string | number)[] | undefined;
50
50
  }, {}, "value">;
51
51
  type Props = {
52
52
  /**
53
53
  * Whether the input should be autofocused on mount
54
54
  */
55
- autofocus?: boolean;
55
+ autofocus?: boolean | undefined;
56
56
  /**
57
57
  * Additional CSS classes to apply to the component
58
58
  */
59
- class?: string;
59
+ class?: string | undefined;
60
60
  /**
61
61
  * Whether the component is disabled
62
62
  */
63
- disabled?: boolean;
63
+ disabled?: boolean | undefined;
64
64
  /**
65
65
  * Whether the component has an error state
66
66
  */
67
- error?: boolean;
67
+ error?: boolean | undefined;
68
68
  /**
69
69
  * The ID of the input element
70
70
  */
71
- id?: string;
71
+ id?: string | undefined;
72
72
  /**
73
73
  * The name of the input, used for form submission
74
74
  */
75
- name?: string;
75
+ name?: string | undefined;
76
76
  /**
77
77
  * The available tag options
78
78
  */
79
- options?: Array<{
79
+ options?: {
80
80
  id: string | number;
81
81
  label: string;
82
- }>;
82
+ }[] | undefined;
83
83
  /**
84
84
  * The placeholder text for the input
85
85
  */
86
- placeholder?: string;
86
+ placeholder?: string | undefined;
87
87
  /**
88
88
  * Whether the component is required
89
89
  */
90
- required?: boolean;
90
+ required?: boolean | undefined;
91
91
  /**
92
92
  * The currently selected tags, bound to the component
93
93
  */
94
- value?: Array<string | number>;
94
+ value?: (string | number)[] | undefined;
95
95
  };
@@ -7,35 +7,35 @@ declare const FormActions: import("svelte").Component<{
7
7
  /**
8
8
  * Children content – can be text, HTML, or other Svelte components
9
9
  */
10
- children?: import("svelte").Snippet;
10
+ children?: import("svelte").Snippet<[]> | undefined;
11
11
  /**
12
12
  * Additional CSS classes to apply to the component
13
13
  */
14
- class?: string;
14
+ class?: string | undefined;
15
15
  /**
16
16
  * If true, the default layout is disabled
17
17
  */
18
- customLayout?: boolean;
18
+ customLayout?: boolean | undefined;
19
19
  /**
20
20
  * If true, the form actions will take the full width of its container
21
21
  */
22
- fullWidth?: boolean;
22
+ fullWidth?: boolean | undefined;
23
23
  }, {}, "">;
24
24
  type Props = {
25
25
  /**
26
26
  * Children content – can be text, HTML, or other Svelte components
27
27
  */
28
- children?: import("svelte").Snippet;
28
+ children?: import("svelte").Snippet<[]> | undefined;
29
29
  /**
30
30
  * Additional CSS classes to apply to the component
31
31
  */
32
- class?: string;
32
+ class?: string | undefined;
33
33
  /**
34
34
  * If true, the default layout is disabled
35
35
  */
36
- customLayout?: boolean;
36
+ customLayout?: boolean | undefined;
37
37
  /**
38
38
  * If true, the form actions will take the full width of its container
39
39
  */
40
- fullWidth?: boolean;
40
+ fullWidth?: boolean | undefined;
41
41
  };
@@ -7,83 +7,83 @@ declare const FormField: import("svelte").Component<{
7
7
  /**
8
8
  * Children content – can be text, HTML, or other Svelte components
9
9
  */
10
- children?: import("svelte").Snippet;
10
+ children?: import("svelte").Snippet<[]> | undefined;
11
11
  /**
12
12
  * Additional CSS classes to apply to the component
13
13
  */
14
- class?: string;
14
+ class?: string | undefined;
15
15
  /**
16
16
  * Whether the form field is disabled (passed down to the input)
17
17
  */
18
- disabled?: boolean;
18
+ disabled?: boolean | undefined;
19
19
  /**
20
20
  * Whether the form field has an error (passed down to the input)
21
21
  */
22
- error?: boolean;
22
+ error?: boolean | undefined;
23
23
  /**
24
24
  * The error text for the form field
25
25
  */
26
- errorText?: string;
26
+ errorText?: string | undefined;
27
27
  /**
28
28
  * The helper text for the form field
29
29
  */
30
- helperText?: string;
30
+ helperText?: string | undefined;
31
31
  /**
32
32
  * The id attribute for the form field (passed down to the input)
33
33
  */
34
- id?: string;
34
+ id?: string | undefined;
35
35
  /**
36
36
  * The label text for the form field
37
37
  */
38
- label?: string;
38
+ label?: string | undefined;
39
39
  /**
40
40
  * The layout of the input and label
41
41
  */
42
- layout?: "stacked" | "inline" | "checkable";
42
+ layout?: "inline" | "stacked" | "checkable" | undefined;
43
43
  /**
44
44
  * Whether the form field is required (passed down to the input)
45
45
  */
46
- required?: boolean;
46
+ required?: boolean | undefined;
47
47
  }, {}, "">;
48
48
  type Props = {
49
49
  /**
50
50
  * Children content – can be text, HTML, or other Svelte components
51
51
  */
52
- children?: import("svelte").Snippet;
52
+ children?: import("svelte").Snippet<[]> | undefined;
53
53
  /**
54
54
  * Additional CSS classes to apply to the component
55
55
  */
56
- class?: string;
56
+ class?: string | undefined;
57
57
  /**
58
58
  * Whether the form field is disabled (passed down to the input)
59
59
  */
60
- disabled?: boolean;
60
+ disabled?: boolean | undefined;
61
61
  /**
62
62
  * Whether the form field has an error (passed down to the input)
63
63
  */
64
- error?: boolean;
64
+ error?: boolean | undefined;
65
65
  /**
66
66
  * The error text for the form field
67
67
  */
68
- errorText?: string;
68
+ errorText?: string | undefined;
69
69
  /**
70
70
  * The helper text for the form field
71
71
  */
72
- helperText?: string;
72
+ helperText?: string | undefined;
73
73
  /**
74
74
  * The id attribute for the form field (passed down to the input)
75
75
  */
76
- id?: string;
76
+ id?: string | undefined;
77
77
  /**
78
78
  * The label text for the form field
79
79
  */
80
- label?: string;
80
+ label?: string | undefined;
81
81
  /**
82
82
  * The layout of the input and label
83
83
  */
84
- layout?: "stacked" | "inline" | "checkable";
84
+ layout?: "inline" | "stacked" | "checkable" | undefined;
85
85
  /**
86
86
  * Whether the form field is required (passed down to the input)
87
87
  */
88
- required?: boolean;
88
+ required?: boolean | undefined;
89
89
  };
@@ -7,27 +7,27 @@ declare const FormLayout: import("svelte").Component<{
7
7
  /**
8
8
  * Children content – can be text, HTML, or other Svelte components
9
9
  */
10
- children?: import("svelte").Snippet;
10
+ children?: import("svelte").Snippet<[]> | undefined;
11
11
  /**
12
12
  * Additional CSS classes to apply to the component
13
13
  */
14
- class?: string;
14
+ class?: string | undefined;
15
15
  /**
16
16
  * Gap between form elements (in Tailwind spacing scale)
17
17
  */
18
- gap?: 0 | 1 | 2 | 3 | 4 | 6 | 8;
18
+ gap?: 0 | 3 | 1 | 2 | 8 | 4 | 6 | undefined;
19
19
  }, {}, "">;
20
20
  type Props = {
21
21
  /**
22
22
  * Children content – can be text, HTML, or other Svelte components
23
23
  */
24
- children?: import("svelte").Snippet;
24
+ children?: import("svelte").Snippet<[]> | undefined;
25
25
  /**
26
26
  * Additional CSS classes to apply to the component
27
27
  */
28
- class?: string;
28
+ class?: string | undefined;
29
29
  /**
30
30
  * Gap between form elements (in Tailwind spacing scale)
31
31
  */
32
- gap?: 0 | 1 | 2 | 3 | 4 | 6 | 8;
32
+ gap?: 0 | 3 | 1 | 2 | 8 | 4 | 6 | undefined;
33
33
  };
@@ -7,51 +7,51 @@ declare const SystemAlert: import("svelte").Component<{
7
7
  /**
8
8
  * Whether to automatically close the system alert after a duration
9
9
  */
10
- autoClose?: boolean;
10
+ autoClose?: boolean | undefined;
11
11
  /**
12
12
  * Additional CSS classes to apply to the component
13
13
  */
14
- class?: string;
14
+ class?: string | undefined;
15
15
  /**
16
16
  * Icon to display in the system alert
17
17
  */
18
- icon?: string;
18
+ icon?: string | undefined;
19
19
  /**
20
20
  * Message to display in the system alert
21
21
  */
22
- message?: string;
22
+ message?: string | undefined;
23
23
  /**
24
24
  * Title to display in the system alert
25
25
  */
26
- title?: string;
26
+ title?: string | undefined;
27
27
  /**
28
28
  * System alert variant
29
29
  */
30
- variant?: "info" | "success" | "warning" | "error";
30
+ variant?: "error" | "success" | "warning" | "info" | undefined;
31
31
  }, {}, "">;
32
32
  type Props = {
33
33
  /**
34
34
  * Whether to automatically close the system alert after a duration
35
35
  */
36
- autoClose?: boolean;
36
+ autoClose?: boolean | undefined;
37
37
  /**
38
38
  * Additional CSS classes to apply to the component
39
39
  */
40
- class?: string;
40
+ class?: string | undefined;
41
41
  /**
42
42
  * Icon to display in the system alert
43
43
  */
44
- icon?: string;
44
+ icon?: string | undefined;
45
45
  /**
46
46
  * Message to display in the system alert
47
47
  */
48
- message?: string;
48
+ message?: string | undefined;
49
49
  /**
50
50
  * Title to display in the system alert
51
51
  */
52
- title?: string;
52
+ title?: string | undefined;
53
53
  /**
54
54
  * System alert variant
55
55
  */
56
- variant?: "info" | "success" | "warning" | "error";
56
+ variant?: "error" | "success" | "warning" | "info" | undefined;
57
57
  };
@@ -7,43 +7,43 @@ declare const Toast: import("svelte").Component<{
7
7
  /**
8
8
  * Additional CSS classes to apply to the component
9
9
  */
10
- class?: string;
10
+ class?: string | undefined;
11
11
  /**
12
12
  * Duration in seconds before auto-close triggers
13
13
  */
14
- durationInSeconds?: number;
14
+ durationInSeconds?: number | undefined;
15
15
  /**
16
16
  * Message to display in the toast
17
17
  */
18
- message?: string;
18
+ message?: string | undefined;
19
19
  /**
20
20
  * Function to call when the toast is auto-closed
21
21
  */
22
- onClose?: (event: any) => void;
22
+ onClose?: ((event: any) => void) | undefined;
23
23
  /**
24
24
  * Toast variant
25
25
  */
26
- variant?: "info" | "loading" | "error";
26
+ variant?: "error" | "loading" | "info" | undefined;
27
27
  }, {}, "">;
28
28
  type Props = {
29
29
  /**
30
30
  * Additional CSS classes to apply to the component
31
31
  */
32
- class?: string;
32
+ class?: string | undefined;
33
33
  /**
34
34
  * Duration in seconds before auto-close triggers
35
35
  */
36
- durationInSeconds?: number;
36
+ durationInSeconds?: number | undefined;
37
37
  /**
38
38
  * Message to display in the toast
39
39
  */
40
- message?: string;
40
+ message?: string | undefined;
41
41
  /**
42
42
  * Function to call when the toast is auto-closed
43
43
  */
44
- onClose?: (event: any) => void;
44
+ onClose?: ((event: any) => void) | undefined;
45
45
  /**
46
46
  * Toast variant
47
47
  */
48
- variant?: "info" | "loading" | "error";
48
+ variant?: "error" | "loading" | "info" | undefined;
49
49
  };
@@ -7,51 +7,51 @@ declare const ColorSwatch: import("svelte").Component<{
7
7
  /**
8
8
  * The color items
9
9
  */
10
- children?: string;
10
+ children?: string | undefined;
11
11
  /**
12
12
  * Additional CSS classes to apply to the component
13
13
  */
14
- class?: string;
14
+ class?: string | undefined;
15
15
  /**
16
16
  * Selected color value (hex, rgb, etc.)
17
17
  */
18
- selectedColor?: string;
18
+ selectedColor?: string | undefined;
19
19
  /**
20
20
  * ColorSwatch size
21
21
  */
22
- size?: "small" | "medium" | "large";
22
+ size?: "small" | "medium" | "large" | undefined;
23
23
  /**
24
24
  * letter "A" for text -> "B" for background
25
25
  */
26
- type?: "text" | "background";
26
+ type?: "text" | "background" | undefined;
27
27
  /**
28
28
  * ColorSwatch style
29
29
  */
30
- variant?: "filled" | "transparent";
30
+ variant?: "filled" | "transparent" | undefined;
31
31
  }, {}, "isOpen">;
32
32
  type Props = {
33
33
  /**
34
34
  * The color items
35
35
  */
36
- children?: string;
36
+ children?: string | undefined;
37
37
  /**
38
38
  * Additional CSS classes to apply to the component
39
39
  */
40
- class?: string;
40
+ class?: string | undefined;
41
41
  /**
42
42
  * Selected color value (hex, rgb, etc.)
43
43
  */
44
- selectedColor?: string;
44
+ selectedColor?: string | undefined;
45
45
  /**
46
46
  * ColorSwatch size
47
47
  */
48
- size?: "small" | "medium" | "large";
48
+ size?: "small" | "medium" | "large" | undefined;
49
49
  /**
50
50
  * letter "A" for text -> "B" for background
51
51
  */
52
- type?: "text" | "background";
52
+ type?: "text" | "background" | undefined;
53
53
  /**
54
54
  * ColorSwatch style
55
55
  */
56
- variant?: "filled" | "transparent";
56
+ variant?: "filled" | "transparent" | undefined;
57
57
  };
@@ -69,7 +69,7 @@
69
69
  parseHTML() {
70
70
  return [
71
71
  { tag: "a[data-anchor]" },
72
- { tag: "a[data-page-uuid]" },
72
+ { tag: "a[data-entity-type][data-entity-id]" },
73
73
  { tag: "a[href]" },
74
74
  ];
75
75
  },
@@ -80,12 +80,21 @@
80
80
  parseHTML: (el) => el.getAttribute("href"),
81
81
  },
82
82
 
83
- pageUuid: {
83
+ entityType: {
84
84
  default: null,
85
- parseHTML: (el) => el.getAttribute("data-page-uuid"),
85
+ parseHTML: (el) => el.getAttribute("data-entity-type"),
86
86
  renderHTML: (attrs) => {
87
- if (!attrs.pageUuid) return {};
88
- return { "data-page-uuid": attrs.pageUuid };
87
+ if (!attrs.entityType) return {};
88
+ return { "data-entity-type": attrs.entityType };
89
+ },
90
+ },
91
+
92
+ entityId: {
93
+ default: null,
94
+ parseHTML: (el) => el.getAttribute("data-entity-id"),
95
+ renderHTML: (attrs) => {
96
+ if (!attrs.entityId) return {};
97
+ return { "data-entity-id": attrs.entityId };
89
98
  },
90
99
  },
91
100
 
@@ -24,9 +24,10 @@
24
24
 
25
25
  const linkAttrs = {
26
26
  anchor: attrs.anchor || null,
27
+ entityId: attrs.entityId || null,
28
+ entityType: attrs.entityType || null,
27
29
  href: attrs.url || null,
28
30
  openInNewWindow: !!attrs.openInNewWindow,
29
- pageUuid: attrs.pageUuid || null,
30
31
  title: attrs.title || null,
31
32
  };
32
33
 
@@ -7,99 +7,99 @@ declare const SelectorCard: import("svelte").Component<{
7
7
  /**
8
8
  * Wether this card is checked or not, bound to the component
9
9
  */
10
- checked?: boolean;
10
+ checked?: boolean | undefined;
11
11
  /**
12
12
  * Additional CSS classes to apply to the component
13
13
  */
14
- class?: string;
14
+ class?: string | undefined;
15
15
  /**
16
16
  * Whether the card is disabled
17
17
  */
18
- disabled?: boolean;
18
+ disabled?: boolean | undefined;
19
19
  /**
20
20
  * Whether the form field has an error
21
21
  */
22
- error?: boolean;
22
+ error?: boolean | undefined;
23
23
  /**
24
24
  * The error text for the form field
25
25
  */
26
- errorText?: string;
26
+ errorText?: string | undefined;
27
27
  /**
28
28
  * The helper text for the card
29
29
  */
30
- helperText?: string;
30
+ helperText?: string | undefined;
31
31
  /**
32
32
  * The ID of the card element
33
33
  */
34
- id?: string;
34
+ id?: string | undefined;
35
35
  /**
36
36
  * Label to display in the card
37
37
  */
38
- label?: string;
38
+ label?: string | undefined;
39
39
  /**
40
40
  * The name of the card, used for form submission
41
41
  */
42
- name?: string;
42
+ name?: string | undefined;
43
43
  /**
44
44
  * Whether the card is required
45
45
  */
46
- required?: boolean;
46
+ required?: boolean | undefined;
47
47
  /**
48
48
  * The type of card
49
49
  */
50
- type?: "checkbox" | "radio" | "switch";
50
+ type?: "checkbox" | "radio" | "switch" | undefined;
51
51
  /**
52
52
  * The value of the card
53
53
  */
54
- value?: string;
54
+ value?: string | undefined;
55
55
  }, {}, "checked">;
56
56
  type Props = {
57
57
  /**
58
58
  * Wether this card is checked or not, bound to the component
59
59
  */
60
- checked?: boolean;
60
+ checked?: boolean | undefined;
61
61
  /**
62
62
  * Additional CSS classes to apply to the component
63
63
  */
64
- class?: string;
64
+ class?: string | undefined;
65
65
  /**
66
66
  * Whether the card is disabled
67
67
  */
68
- disabled?: boolean;
68
+ disabled?: boolean | undefined;
69
69
  /**
70
70
  * Whether the form field has an error
71
71
  */
72
- error?: boolean;
72
+ error?: boolean | undefined;
73
73
  /**
74
74
  * The error text for the form field
75
75
  */
76
- errorText?: string;
76
+ errorText?: string | undefined;
77
77
  /**
78
78
  * The helper text for the card
79
79
  */
80
- helperText?: string;
80
+ helperText?: string | undefined;
81
81
  /**
82
82
  * The ID of the card element
83
83
  */
84
- id?: string;
84
+ id?: string | undefined;
85
85
  /**
86
86
  * Label to display in the card
87
87
  */
88
- label?: string;
88
+ label?: string | undefined;
89
89
  /**
90
90
  * The name of the card, used for form submission
91
91
  */
92
- name?: string;
92
+ name?: string | undefined;
93
93
  /**
94
94
  * Whether the card is required
95
95
  */
96
- required?: boolean;
96
+ required?: boolean | undefined;
97
97
  /**
98
98
  * The type of card
99
99
  */
100
- type?: "checkbox" | "radio" | "switch";
100
+ type?: "checkbox" | "radio" | "switch" | undefined;
101
101
  /**
102
102
  * The value of the card
103
103
  */
104
- value?: string;
104
+ value?: string | undefined;
105
105
  };