@websline/system-components 1.0.0 → 1.0.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.
Files changed (54) hide show
  1. package/dist/components/atoms/actions/button/button.variants.js +9 -9
  2. package/dist/components/atoms/actions/closeButton/closeButton.variants.js +2 -2
  3. package/dist/components/atoms/actions/iconButton/iconButton.variants.js +8 -8
  4. package/dist/components/atoms/avatar/avatar.variants.js +3 -3
  5. package/dist/components/atoms/badge/badge.variants.js +4 -4
  6. package/dist/components/atoms/chip/chip.variants.d.ts +2 -2
  7. package/dist/components/atoms/chip/chip.variants.js +14 -14
  8. package/dist/components/atoms/colorChip/colorChip.variants.d.ts +3 -3
  9. package/dist/components/atoms/colorChip/colorChip.variants.js +9 -7
  10. package/dist/components/atoms/feedback/progressBar/progressBar.variants.js +2 -2
  11. package/dist/components/atoms/icon/Icon.svelte +1 -1
  12. package/dist/components/atoms/icon/components/Calendar.svelte +27 -0
  13. package/dist/components/atoms/icon/components/Calendar.svelte.d.ts +41 -0
  14. package/dist/components/atoms/icon/components/CheckboxStack.svelte +27 -0
  15. package/dist/components/atoms/icon/components/CheckboxStack.svelte.d.ts +41 -0
  16. package/dist/components/atoms/icon/components/Download.svelte +27 -0
  17. package/dist/components/atoms/icon/components/Download.svelte.d.ts +41 -0
  18. package/dist/components/atoms/icon/components/Dragger.svelte +6 -7
  19. package/dist/components/atoms/icon/components/FilePDF.svelte +53 -0
  20. package/dist/components/atoms/icon/components/FilePDF.svelte.d.ts +41 -0
  21. package/dist/components/atoms/icon/components/History.svelte +27 -0
  22. package/dist/components/atoms/icon/components/History.svelte.d.ts +41 -0
  23. package/dist/components/atoms/icon/components/Out.svelte +27 -0
  24. package/dist/components/atoms/icon/components/{Cogs.svelte.d.ts → Out.svelte.d.ts} +3 -3
  25. package/dist/components/atoms/icon/components/Overflow.svelte +28 -0
  26. package/dist/components/atoms/icon/components/Overflow.svelte.d.ts +41 -0
  27. package/dist/components/atoms/icon/components/Unlink.svelte +27 -0
  28. package/dist/components/atoms/icon/components/Unlink.svelte.d.ts +41 -0
  29. package/dist/components/atoms/icon/index.d.ts +686 -64
  30. package/dist/components/atoms/icon/index.js +16 -2
  31. package/dist/components/atoms/input/input.variants.d.ts +2 -2
  32. package/dist/components/atoms/input/input.variants.js +2 -2
  33. package/dist/components/atoms/select/select.variants.d.ts +9 -9
  34. package/dist/components/atoms/select/select.variants.js +25 -42
  35. package/dist/components/atoms/textarea/textarea.variants.d.ts +2 -2
  36. package/dist/components/atoms/textarea/textarea.variants.js +2 -2
  37. package/dist/components/molecules/formField/formField.variants.js +1 -1
  38. package/dist/components/molecules/notification/notification.variants.js +2 -2
  39. package/dist/components/molecules/pickers/colorSwatch/colorSwatch.variants.js +2 -2
  40. package/dist/components/molecules/richTextEditor/richTextEditor.variants.d.ts +3 -3
  41. package/dist/components/molecules/richTextEditor/richTextEditor.variants.js +14 -24
  42. package/dist/components/molecules/toggleGroup/toggleGroup.variants.d.ts +3 -3
  43. package/dist/components/molecules/toggleGroup/toggleGroup.variants.js +2 -2
  44. package/dist/components/molecules/toggleGroup/toggleGroupItem.variants.js +5 -5
  45. package/dist/components/organisms/dialog/dialog.variants.d.ts +3 -3
  46. package/dist/components/organisms/dialog/dialog.variants.js +5 -5
  47. package/dist/components/organisms/modal/modal.variants.js +1 -1
  48. package/dist/components/organisms/notificationGroup/notificationGroup.variants.js +2 -2
  49. package/dist/components/organisms/popover/PopoverContent.svelte +21 -17
  50. package/dist/components/organisms/popover/PopoverContent.svelte.d.ts +16 -8
  51. package/dist/components/organisms/popover/popover.variants.d.ts +20 -19
  52. package/dist/components/organisms/popover/popover.variants.js +11 -3
  53. package/package.json +26 -26
  54. package/dist/components/atoms/icon/components/Cogs.svelte +0 -31
@@ -0,0 +1,41 @@
1
+ export default FilePDF;
2
+ type FilePDF = {
3
+ $on?(type: string, callback: (e: any) => void): () => void;
4
+ $set?(props: Partial<Props>): void;
5
+ };
6
+ declare const FilePDF: import("svelte").Component<{
7
+ /**
8
+ * Icon color
9
+ */
10
+ color?: string;
11
+ /**
12
+ * Icon height
13
+ */
14
+ height?: number;
15
+ /**
16
+ * Icon StrokeWidth
17
+ */
18
+ strokeWidth?: number;
19
+ /**
20
+ * Icon width
21
+ */
22
+ width?: number;
23
+ }, {}, "">;
24
+ type Props = {
25
+ /**
26
+ * Icon color
27
+ */
28
+ color?: string;
29
+ /**
30
+ * Icon height
31
+ */
32
+ height?: number;
33
+ /**
34
+ * Icon StrokeWidth
35
+ */
36
+ strokeWidth?: number;
37
+ /**
38
+ * Icon width
39
+ */
40
+ width?: number;
41
+ };
@@ -0,0 +1,27 @@
1
+ <script>
2
+ /**
3
+ * @typedef {Object} Props
4
+ * @property {string} [color=""] Icon color
5
+ * @property {number} [height=24] Icon height
6
+ * @property {number} [strokeWidth=24] Icon StrokeWidth
7
+ * @property {number} [width=24] Icon width
8
+ */
9
+
10
+ /** @type {Props} */
11
+ let { color, height, width, strokeWidth, ...rest } = $props();
12
+ </script>
13
+
14
+ <svg
15
+ {height}
16
+ {width}
17
+ viewBox="0 0 16 16"
18
+ fill="none"
19
+ xmlns="http://www.w3.org/2000/svg"
20
+ {...rest}>
21
+ <path
22
+ d="M2.54551 2.81819V5H4.72733M2 8C2 11.3137 4.68629 14 8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C5.7794 2 3.84053 3.20633 2.80303 4.99943M8.0015 4.4L8.00114 8.00264L10.545 10.5465"
23
+ stroke={color}
24
+ stroke-width={strokeWidth}
25
+ stroke-linecap="round"
26
+ stroke-linejoin="round" />
27
+ </svg>
@@ -0,0 +1,41 @@
1
+ export default History;
2
+ type History = {
3
+ $on?(type: string, callback: (e: any) => void): () => void;
4
+ $set?(props: Partial<Props>): void;
5
+ };
6
+ declare const History: import("svelte").Component<{
7
+ /**
8
+ * Icon color
9
+ */
10
+ color?: string;
11
+ /**
12
+ * Icon height
13
+ */
14
+ height?: number;
15
+ /**
16
+ * Icon StrokeWidth
17
+ */
18
+ strokeWidth?: number;
19
+ /**
20
+ * Icon width
21
+ */
22
+ width?: number;
23
+ }, {}, "">;
24
+ type Props = {
25
+ /**
26
+ * Icon color
27
+ */
28
+ color?: string;
29
+ /**
30
+ * Icon height
31
+ */
32
+ height?: number;
33
+ /**
34
+ * Icon StrokeWidth
35
+ */
36
+ strokeWidth?: number;
37
+ /**
38
+ * Icon width
39
+ */
40
+ width?: number;
41
+ };
@@ -0,0 +1,27 @@
1
+ <script>
2
+ /**
3
+ * @typedef {Object} Props
4
+ * @property {string} [color=""] Icon color
5
+ * @property {number} [height=24] Icon height
6
+ * @property {number} [strokeWidth=24] Icon StrokeWidth
7
+ * @property {number} [width=24] Icon width
8
+ */
9
+
10
+ /** @type {Props} */
11
+ let { color, height, width, strokeWidth, ...rest } = $props();
12
+ </script>
13
+
14
+ <svg
15
+ {height}
16
+ {width}
17
+ viewBox="0 0 16 16"
18
+ fill="none"
19
+ xmlns="http://www.w3.org/2000/svg"
20
+ {...rest}>
21
+ <path
22
+ d="M7.99723 2H2V14H8M11.3333 10.6667L14 8L11.3333 5.33333M5.33333 7.99723H14"
23
+ stroke={color}
24
+ stroke-width={strokeWidth}
25
+ stroke-linecap="round"
26
+ stroke-linejoin="round" />
27
+ </svg>
@@ -1,9 +1,9 @@
1
- export default Cogs;
2
- type Cogs = {
1
+ export default Out;
2
+ type Out = {
3
3
  $on?(type: string, callback: (e: any) => void): () => void;
4
4
  $set?(props: Partial<Props>): void;
5
5
  };
6
- declare const Cogs: import("svelte").Component<{
6
+ declare const Out: import("svelte").Component<{
7
7
  /**
8
8
  * Icon color
9
9
  */
@@ -0,0 +1,28 @@
1
+ <script>
2
+ /**
3
+ * @typedef {Object} Props
4
+ * @property {string} [color=""] Icon color
5
+ * @property {number} [height=24] Icon height
6
+ * @property {number} [strokeWidth=24] Icon StrokeWidth
7
+ * @property {number} [width=24] Icon width
8
+ */
9
+
10
+ /** @type {Props} */
11
+ let { color, height, width, strokeWidth, ...rest } = $props();
12
+ </script>
13
+
14
+ <svg
15
+ {height}
16
+ {width}
17
+ viewBox="0 0 16 17"
18
+ fill="none"
19
+ xmlns="http://www.w3.org/2000/svg"
20
+ {...rest}>
21
+ <path
22
+ d="M2.66699 7.6665C3.12712 7.6665 3.5008 8.03942 3.50098 8.49951C3.50098 8.95975 3.12723 9.3335 2.66699 9.3335C2.2069 9.33332 1.83398 8.95964 1.83398 8.49951C1.83416 8.03953 2.20701 7.66668 2.66699 7.6665ZM8.00098 7.6665C8.46095 7.66668 8.83381 8.03953 8.83398 8.49951C8.83398 8.95964 8.46106 9.33332 8.00098 9.3335C7.54074 9.3335 7.16699 8.95975 7.16699 8.49951C7.16717 8.03942 7.54085 7.6665 8.00098 7.6665ZM13.334 7.6665C13.7941 7.6665 14.1668 8.03943 14.167 8.49951C14.167 8.95975 13.7942 9.3335 13.334 9.3335C12.8737 9.3335 12.501 8.95975 12.501 8.49951C12.5012 8.03942 12.8739 7.6665 13.334 7.6665Z"
23
+ fill={color}
24
+ stroke={color}
25
+ stroke-width={strokeWidth}
26
+ stroke-linecap="round"
27
+ stroke-linejoin="round" />
28
+ </svg>
@@ -0,0 +1,41 @@
1
+ export default Overflow;
2
+ type Overflow = {
3
+ $on?(type: string, callback: (e: any) => void): () => void;
4
+ $set?(props: Partial<Props>): void;
5
+ };
6
+ declare const Overflow: import("svelte").Component<{
7
+ /**
8
+ * Icon color
9
+ */
10
+ color?: string;
11
+ /**
12
+ * Icon height
13
+ */
14
+ height?: number;
15
+ /**
16
+ * Icon StrokeWidth
17
+ */
18
+ strokeWidth?: number;
19
+ /**
20
+ * Icon width
21
+ */
22
+ width?: number;
23
+ }, {}, "">;
24
+ type Props = {
25
+ /**
26
+ * Icon color
27
+ */
28
+ color?: string;
29
+ /**
30
+ * Icon height
31
+ */
32
+ height?: number;
33
+ /**
34
+ * Icon StrokeWidth
35
+ */
36
+ strokeWidth?: number;
37
+ /**
38
+ * Icon width
39
+ */
40
+ width?: number;
41
+ };
@@ -0,0 +1,27 @@
1
+ <script>
2
+ /**
3
+ * @typedef {Object} Props
4
+ * @property {string} [color=""] Icon color
5
+ * @property {number} [height=24] Icon height
6
+ * @property {number} [strokeWidth=24] Icon StrokeWidth
7
+ * @property {number} [width=24] Icon width
8
+ */
9
+
10
+ /** @type {Props} */
11
+ let { color, height, width, strokeWidth, ...rest } = $props();
12
+ </script>
13
+
14
+ <svg
15
+ {height}
16
+ {width}
17
+ viewBox="0 0 20 20"
18
+ fill="none"
19
+ xmlns="http://www.w3.org/2000/svg"
20
+ {...rest}>
21
+ <path
22
+ d="M11.2493 6.66683H17.4993C17.9596 6.66683 18.3327 7.03991 18.3327 7.50016V13.3335C18.3327 13.7937 17.9596 14.1668 17.4993 14.1668H15.8327M4.58268 6.66683H2.49935C2.03911 6.66683 1.66602 7.03991 1.66602 7.50016V13.3335C1.66602 13.7937 2.03911 14.1668 2.49935 14.1668H8.74935M5.83268 3.3335L14.166 17.5002M13.3327 10.4168H14.9993M4.99935 10.4168H6.66602"
23
+ stroke={color}
24
+ stroke-width={strokeWidth}
25
+ stroke-linecap="round"
26
+ stroke-linejoin="round" />
27
+ </svg>
@@ -0,0 +1,41 @@
1
+ export default Unlink;
2
+ type Unlink = {
3
+ $on?(type: string, callback: (e: any) => void): () => void;
4
+ $set?(props: Partial<Props>): void;
5
+ };
6
+ declare const Unlink: import("svelte").Component<{
7
+ /**
8
+ * Icon color
9
+ */
10
+ color?: string;
11
+ /**
12
+ * Icon height
13
+ */
14
+ height?: number;
15
+ /**
16
+ * Icon StrokeWidth
17
+ */
18
+ strokeWidth?: number;
19
+ /**
20
+ * Icon width
21
+ */
22
+ width?: number;
23
+ }, {}, "">;
24
+ type Props = {
25
+ /**
26
+ * Icon color
27
+ */
28
+ color?: string;
29
+ /**
30
+ * Icon height
31
+ */
32
+ height?: number;
33
+ /**
34
+ * Icon StrokeWidth
35
+ */
36
+ strokeWidth?: number;
37
+ /**
38
+ * Icon width
39
+ */
40
+ width?: number;
41
+ };