@invopop/popui 0.0.1
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/README.md +146 -0
- package/dist/BaseButton.svelte +107 -0
- package/dist/BaseButton.svelte.d.ts +33 -0
- package/dist/BaseCard.svelte +50 -0
- package/dist/BaseCard.svelte.d.ts +25 -0
- package/dist/BaseCounter.svelte +16 -0
- package/dist/BaseCounter.svelte.d.ts +17 -0
- package/dist/BaseDropdown.svelte +46 -0
- package/dist/BaseDropdown.svelte.d.ts +24 -0
- package/dist/BaseFlag.svelte +14 -0
- package/dist/BaseFlag.svelte.d.ts +17 -0
- package/dist/BaseTable.svelte +148 -0
- package/dist/BaseTable.svelte.d.ts +33 -0
- package/dist/BaseTableActions.svelte +31 -0
- package/dist/BaseTableActions.svelte.d.ts +21 -0
- package/dist/BaseTableCell.svelte +90 -0
- package/dist/BaseTableCell.svelte.d.ts +26 -0
- package/dist/BaseTableHeader.svelte +75 -0
- package/dist/BaseTableHeader.svelte.d.ts +23 -0
- package/dist/BaseTableHeaderSortBy.svelte +22 -0
- package/dist/BaseTableHeaderSortBy.svelte.d.ts +20 -0
- package/dist/BaseTableRow.svelte +48 -0
- package/dist/BaseTableRow.svelte.d.ts +25 -0
- package/dist/ButtonFile.svelte +51 -0
- package/dist/ButtonFile.svelte.d.ts +25 -0
- package/dist/CardRelation.svelte +29 -0
- package/dist/CardRelation.svelte.d.ts +22 -0
- package/dist/CompanySelector.svelte +74 -0
- package/dist/CompanySelector.svelte.d.ts +23 -0
- package/dist/CounterWorkflow.svelte +15 -0
- package/dist/CounterWorkflow.svelte.d.ts +17 -0
- package/dist/DataListItem.svelte +22 -0
- package/dist/DataListItem.svelte.d.ts +22 -0
- package/dist/DatePicker.svelte +431 -0
- package/dist/DatePicker.svelte.d.ts +22 -0
- package/dist/DrawerContext.svelte +48 -0
- package/dist/DrawerContext.svelte.d.ts +23 -0
- package/dist/DrawerContextItem.svelte +93 -0
- package/dist/DrawerContextItem.svelte.d.ts +23 -0
- package/dist/DrawerContextWorkspace.svelte +40 -0
- package/dist/DrawerContextWorkspace.svelte.d.ts +20 -0
- package/dist/DropdownSelect.svelte +78 -0
- package/dist/DropdownSelect.svelte.d.ts +26 -0
- package/dist/EmptyStateIcon.svelte +46 -0
- package/dist/EmptyStateIcon.svelte.d.ts +22 -0
- package/dist/EmptyStateIllustration.svelte +58 -0
- package/dist/EmptyStateIllustration.svelte.d.ts +21 -0
- package/dist/FeedEvents.svelte +26 -0
- package/dist/FeedEvents.svelte.d.ts +17 -0
- package/dist/FeedIconEvent.svelte +10 -0
- package/dist/FeedIconEvent.svelte.d.ts +19 -0
- package/dist/FeedIconStatus.svelte +26 -0
- package/dist/FeedIconStatus.svelte.d.ts +17 -0
- package/dist/FeedItem.svelte +87 -0
- package/dist/FeedItem.svelte.d.ts +30 -0
- package/dist/FeedItemDetail.svelte +56 -0
- package/dist/FeedItemDetail.svelte.d.ts +23 -0
- package/dist/FeedViewer.svelte +19 -0
- package/dist/FeedViewer.svelte.d.ts +21 -0
- package/dist/FormLayoutModal.svelte +8 -0
- package/dist/FormLayoutModal.svelte.d.ts +29 -0
- package/dist/GlobalSearch.svelte +47 -0
- package/dist/GlobalSearch.svelte.d.ts +18 -0
- package/dist/InputCheckbox.svelte +20 -0
- package/dist/InputCheckbox.svelte.d.ts +18 -0
- package/dist/InputError.svelte +14 -0
- package/dist/InputError.svelte.d.ts +16 -0
- package/dist/InputLabel.svelte +5 -0
- package/dist/InputLabel.svelte.d.ts +17 -0
- package/dist/InputRadio.svelte +27 -0
- package/dist/InputRadio.svelte.d.ts +19 -0
- package/dist/InputSearch.svelte +69 -0
- package/dist/InputSearch.svelte.d.ts +32 -0
- package/dist/InputSelect.svelte +75 -0
- package/dist/InputSelect.svelte.d.ts +30 -0
- package/dist/InputText.svelte +63 -0
- package/dist/InputText.svelte.d.ts +26 -0
- package/dist/InputTextarea.svelte +42 -0
- package/dist/InputTextarea.svelte.d.ts +24 -0
- package/dist/InputToggle.svelte +33 -0
- package/dist/InputToggle.svelte.d.ts +18 -0
- package/dist/MenuItem.svelte +141 -0
- package/dist/MenuItem.svelte.d.ts +29 -0
- package/dist/ProfileAvatar.svelte +39 -0
- package/dist/ProfileAvatar.svelte.d.ts +21 -0
- package/dist/ProfileSelector.svelte +20 -0
- package/dist/ProfileSelector.svelte.d.ts +20 -0
- package/dist/SectionLayout.svelte +10 -0
- package/dist/SectionLayout.svelte.d.ts +18 -0
- package/dist/SeparatorHorizontal.svelte +14 -0
- package/dist/SeparatorHorizontal.svelte.d.ts +23 -0
- package/dist/ShortcutWrapper.svelte +6 -0
- package/dist/ShortcutWrapper.svelte.d.ts +27 -0
- package/dist/StatusLabel.svelte +20 -0
- package/dist/StatusLabel.svelte.d.ts +18 -0
- package/dist/Tabs.svelte +41 -0
- package/dist/Tabs.svelte.d.ts +20 -0
- package/dist/TagBeta.svelte +23 -0
- package/dist/TagBeta.svelte.d.ts +23 -0
- package/dist/TagSearch.svelte +46 -0
- package/dist/TagSearch.svelte.d.ts +22 -0
- package/dist/TagStatus.svelte +46 -0
- package/dist/TagStatus.svelte.d.ts +19 -0
- package/dist/TitleMain.svelte +6 -0
- package/dist/TitleMain.svelte.d.ts +18 -0
- package/dist/TitleSection.svelte +6 -0
- package/dist/TitleSection.svelte.d.ts +18 -0
- package/dist/UuidCopy.svelte +55 -0
- package/dist/UuidCopy.svelte.d.ts +26 -0
- package/dist/clickOutside.d.ts +4 -0
- package/dist/clickOutside.js +18 -0
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/helpers.d.ts +6 -0
- package/dist/helpers.js +35 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.js +101 -0
- package/dist/popui.css +1 -0
- package/dist/svg/BgPattern.svelte +20 -0
- package/dist/svg/BgPattern.svelte.d.ts +23 -0
- package/dist/svg/IconContact.svelte +114 -0
- package/dist/svg/IconContact.svelte.d.ts +16 -0
- package/dist/svg/IconEmpty.svelte +138 -0
- package/dist/svg/IconEmpty.svelte.d.ts +23 -0
- package/dist/svg/IconFile.svelte +91 -0
- package/dist/svg/IconFile.svelte.d.ts +16 -0
- package/dist/svg/IconInvoice.svelte +97 -0
- package/dist/svg/IconInvoice.svelte.d.ts +16 -0
- package/dist/svg/IconNoResults.svelte +83 -0
- package/dist/svg/IconNoResults.svelte.d.ts +16 -0
- package/dist/svg/IconPdf.svelte +93 -0
- package/dist/svg/IconPdf.svelte.d.ts +16 -0
- package/dist/svg/IconProduct.svelte +105 -0
- package/dist/svg/IconProduct.svelte.d.ts +16 -0
- package/dist/tw.theme.d.ts +135 -0
- package/dist/tw.theme.js +152 -0
- package/dist/types.d.ts +128 -0
- package/dist/types.js +1 -0
- package/dist/wcdispatch.d.ts +1 -0
- package/dist/wcdispatch.js +9 -0
- package/package.json +102 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<script>export let classes = "";
|
|
2
|
+
</script>
|
|
3
|
+
|
|
4
|
+
<svg class={classes} viewBox="0 0 97 118" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<g filter="url(#filter0_d_270_6201)">
|
|
6
|
+
<g filter="url(#filter1_b_270_6201)">
|
|
7
|
+
<rect x="20" y="18" width="57" height="79" rx="6" fill="white" />
|
|
8
|
+
<rect x="20" y="18" width="57" height="79" rx="6" fill="currentColor" fill-opacity="0.02" />
|
|
9
|
+
<rect
|
|
10
|
+
x="20.4"
|
|
11
|
+
y="18.4"
|
|
12
|
+
width="56.2"
|
|
13
|
+
height="78.2"
|
|
14
|
+
rx="5.6"
|
|
15
|
+
stroke="currentColor"
|
|
16
|
+
stroke-opacity="0.6"
|
|
17
|
+
stroke-width="0.8"
|
|
18
|
+
/>
|
|
19
|
+
</g>
|
|
20
|
+
<rect
|
|
21
|
+
x="23.3"
|
|
22
|
+
y="21.3"
|
|
23
|
+
width="50.4"
|
|
24
|
+
height="72.4"
|
|
25
|
+
rx="3.7"
|
|
26
|
+
stroke="currentColor"
|
|
27
|
+
stroke-opacity="0.2"
|
|
28
|
+
stroke-width="0.6"
|
|
29
|
+
/>
|
|
30
|
+
<path
|
|
31
|
+
fill-rule="evenodd"
|
|
32
|
+
clip-rule="evenodd"
|
|
33
|
+
d="M28.9444 78.3333C28.9444 78.1186 29.1186 77.9444 29.3333 77.9444H32C32.2148 77.9444 32.3889 78.1186 32.3889 78.3333V81C32.3889 81.2148 32.2148 81.3889 32 81.3889H29.3333C29.1186 81.3889 28.9444 81.2148 28.9444 81V78.3333ZM29.3333 76.9444C28.5663 76.9444 27.9444 77.5663 27.9444 78.3333V81C27.9444 81.7671 28.5663 82.3889 29.3333 82.3889H32C32.7671 82.3889 33.3889 81.7671 33.3889 81V78.3333C33.3889 77.5663 32.7671 76.9444 32 76.9444H29.3333ZM35.6111 78.3333C35.6111 78.1186 35.7852 77.9444 36 77.9444H38.6667C38.8814 77.9444 39.0556 78.1186 39.0556 78.3333V81C39.0556 81.2148 38.8814 81.3889 38.6667 81.3889H36C35.7852 81.3889 35.6111 81.2148 35.6111 81V78.3333ZM36 76.9444C35.2329 76.9444 34.6111 77.5663 34.6111 78.3333V81C34.6111 81.7671 35.2329 82.3889 36 82.3889H38.6667C39.4337 82.3889 40.0556 81.7671 40.0556 81V78.3333C40.0556 77.5663 39.4337 76.9444 38.6667 76.9444H36ZM29.3333 84.6111C29.1186 84.6111 28.9444 84.7852 28.9444 85V87.6667C28.9444 87.8814 29.1186 88.0556 29.3333 88.0556H32C32.2148 88.0556 32.3889 87.8814 32.3889 87.6667V85C32.3889 84.7852 32.2148 84.6111 32 84.6111H29.3333ZM27.9444 85C27.9444 84.2329 28.5663 83.6111 29.3333 83.6111H32C32.7671 83.6111 33.3889 84.2329 33.3889 85V87.6667C33.3889 88.4337 32.7671 89.0556 32 89.0556H29.3333C28.5663 89.0556 27.9444 88.4337 27.9444 87.6667V85ZM30 79H31.3333V80.3333H30V79ZM38 79H36.6667V80.3333H38V79ZM30 85.6667H31.3333V87H30V85.6667ZM40.2222 87.8889H38.8889V86.5556H40.2222V85.2222H38.8889V83.8889H35.7778L35.7778 85.2222H34.4444V87.8889H35.7778V89.2222H37.5556V87.8889L38.8889 87.8889V89.2222H40.2222V87.8889ZM37.5556 87.8889L35.7778 87.8889L35.7778 85.2222H38.8889V86.5556H37.5556V87.8889Z"
|
|
34
|
+
fill="currentColor"
|
|
35
|
+
/>
|
|
36
|
+
<rect x="28" y="27" width="19" height="2" rx="1" fill="currentColor" />
|
|
37
|
+
<rect x="28" y="31" width="13" height="2" rx="1" fill="currentColor" fill-opacity="0.4" />
|
|
38
|
+
<rect x="28" y="35" width="5" height="2" rx="1" fill="currentColor" fill-opacity="0.4" />
|
|
39
|
+
<rect x="28" y="44" width="41" height="2" rx="1" fill="currentColor" fill-opacity="0.2" />
|
|
40
|
+
<rect x="28" y="49" width="19" height="2" rx="1" fill="currentColor" />
|
|
41
|
+
<rect x="61" y="49" width="8" height="2" rx="1" fill="currentColor" fill-opacity="0.2" />
|
|
42
|
+
<rect x="64" y="54" width="5" height="2" rx="1" fill="currentColor" fill-opacity="0.2" />
|
|
43
|
+
<rect x="61" y="59" width="8" height="2" rx="1" fill="currentColor" fill-opacity="0.2" />
|
|
44
|
+
<rect x="28" y="54" width="16" height="2" rx="1" fill="currentColor" />
|
|
45
|
+
<rect x="28" y="59" width="24" height="2" rx="1" fill="currentColor" />
|
|
46
|
+
</g>
|
|
47
|
+
<defs>
|
|
48
|
+
<filter
|
|
49
|
+
id="filter0_d_270_6201"
|
|
50
|
+
x="0"
|
|
51
|
+
y="0"
|
|
52
|
+
width="97"
|
|
53
|
+
height="119"
|
|
54
|
+
filterUnits="userSpaceOnUse"
|
|
55
|
+
color-interpolation-filters="sRGB"
|
|
56
|
+
>
|
|
57
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
58
|
+
<feColorMatrix
|
|
59
|
+
in="SourceAlpha"
|
|
60
|
+
type="matrix"
|
|
61
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
62
|
+
result="hardAlpha"
|
|
63
|
+
/>
|
|
64
|
+
<feOffset dy="2" />
|
|
65
|
+
<feGaussianBlur stdDeviation="10" />
|
|
66
|
+
<feColorMatrix
|
|
67
|
+
type="matrix"
|
|
68
|
+
values="0 0 0 0 0.0392157 0 0 0 0 0.0392157 0 0 0 0 0.0392157 0 0 0 0.04 0"
|
|
69
|
+
/>
|
|
70
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_270_6201" />
|
|
71
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_270_6201" result="shape" />
|
|
72
|
+
</filter>
|
|
73
|
+
<filter
|
|
74
|
+
id="filter1_b_270_6201"
|
|
75
|
+
x="0"
|
|
76
|
+
y="-2"
|
|
77
|
+
width="97"
|
|
78
|
+
height="119"
|
|
79
|
+
filterUnits="userSpaceOnUse"
|
|
80
|
+
color-interpolation-filters="sRGB"
|
|
81
|
+
>
|
|
82
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
83
|
+
<feGaussianBlur in="BackgroundImageFix" stdDeviation="10" />
|
|
84
|
+
<feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_270_6201" />
|
|
85
|
+
<feBlend
|
|
86
|
+
mode="normal"
|
|
87
|
+
in="SourceGraphic"
|
|
88
|
+
in2="effect1_backgroundBlur_270_6201"
|
|
89
|
+
result="shape"
|
|
90
|
+
/>
|
|
91
|
+
</filter>
|
|
92
|
+
</defs>
|
|
93
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
classes?: string | undefined;
|
|
5
|
+
};
|
|
6
|
+
events: {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
};
|
|
9
|
+
slots: {};
|
|
10
|
+
};
|
|
11
|
+
export type IconPdfProps = typeof __propDef.props;
|
|
12
|
+
export type IconPdfEvents = typeof __propDef.events;
|
|
13
|
+
export type IconPdfSlots = typeof __propDef.slots;
|
|
14
|
+
export default class IconPdf extends SvelteComponent<IconPdfProps, IconPdfEvents, IconPdfSlots> {
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
<script>export let classes = "";
|
|
2
|
+
</script>
|
|
3
|
+
|
|
4
|
+
<svg class={classes} viewBox="0 0 97 117" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<g filter="url(#filter0_d_286_643)">
|
|
6
|
+
<g filter="url(#filter1_b_286_643)">
|
|
7
|
+
<rect x="20" y="18" width="57" height="79" rx="6" fill="white" />
|
|
8
|
+
<rect x="20" y="18" width="57" height="79" rx="6" fill="currentColor" fill-opacity="0.02" />
|
|
9
|
+
<rect
|
|
10
|
+
x="20.4"
|
|
11
|
+
y="18.4"
|
|
12
|
+
width="56.2"
|
|
13
|
+
height="78.2"
|
|
14
|
+
rx="5.6"
|
|
15
|
+
stroke="currentColor"
|
|
16
|
+
stroke-opacity="0.6"
|
|
17
|
+
stroke-width="0.8"
|
|
18
|
+
/>
|
|
19
|
+
</g>
|
|
20
|
+
<rect
|
|
21
|
+
x="23.3"
|
|
22
|
+
y="21.3"
|
|
23
|
+
width="50.4"
|
|
24
|
+
height="72.4"
|
|
25
|
+
rx="3.7"
|
|
26
|
+
stroke="currentColor"
|
|
27
|
+
stroke-opacity="0.2"
|
|
28
|
+
stroke-width="0.6"
|
|
29
|
+
/>
|
|
30
|
+
<rect x="28" y="45" width="19" height="2" rx="1" fill="currentColor" />
|
|
31
|
+
<rect x="28" y="68" width="15" height="2" rx="1" fill="currentColor" />
|
|
32
|
+
<rect x="59" y="50" width="10" height="2" rx="1" fill="currentColor" />
|
|
33
|
+
<rect x="57" y="73" width="12" height="2" rx="1" fill="currentColor" />
|
|
34
|
+
<rect x="55" y="54" width="14" height="2" rx="1" fill="currentColor" />
|
|
35
|
+
<rect x="55" y="77" width="14" height="2" rx="1" fill="currentColor" />
|
|
36
|
+
<rect x="59" y="58" width="10" height="2" rx="1" fill="currentColor" />
|
|
37
|
+
<rect x="57" y="62" width="12" height="2" rx="1" fill="currentColor" />
|
|
38
|
+
<rect x="61" y="81" width="8" height="2" rx="1" fill="currentColor" />
|
|
39
|
+
<rect x="28" y="50" width="16" height="2" rx="1" fill="currentColor" fill-opacity="0.2" />
|
|
40
|
+
<rect x="28" y="73" width="12" height="2" rx="1" fill="currentColor" fill-opacity="0.2" />
|
|
41
|
+
<rect x="28" y="54" width="11" height="2" rx="1" fill="currentColor" fill-opacity="0.2" />
|
|
42
|
+
<rect x="28" y="77" width="16" height="2" rx="1" fill="currentColor" fill-opacity="0.2" />
|
|
43
|
+
<rect x="28" y="58" width="14" height="2" rx="1" fill="currentColor" fill-opacity="0.2" />
|
|
44
|
+
<rect x="28" y="81" width="18" height="2" rx="1" fill="currentColor" fill-opacity="0.2" />
|
|
45
|
+
<rect x="28" y="62" width="16" height="2" rx="1" fill="currentColor" fill-opacity="0.2" />
|
|
46
|
+
<path
|
|
47
|
+
d="M36.8056 29.8889H34.0833V32.0278C34.0833 32.3498 33.822 32.6111 33.5 32.6111C33.178 32.6111 32.9167 32.3498 32.9167 32.0278V29.8889H30.1944C29.0146 29.8889 28.0556 30.8479 28.0556 32.0278V36.3056C28.0556 37.4855 29.0146 38.4445 30.1944 38.4445H36.8056C37.9854 38.4445 38.9444 37.4855 38.9444 36.3056V32.0278C38.9444 30.8479 37.9854 29.8889 36.8056 29.8889ZM32.1389 36.5H30.5833C30.2613 36.5 30 36.2387 30 35.9167C30 35.5947 30.2613 35.3334 30.5833 35.3334H32.1389C32.4609 35.3334 32.7222 35.5947 32.7222 35.9167C32.7222 36.2387 32.4609 36.5 32.1389 36.5Z"
|
|
48
|
+
fill="currentColor"
|
|
49
|
+
/>
|
|
50
|
+
<path
|
|
51
|
+
d="M32.9167 27.1667H31.3541C30.5359 27.1667 29.8017 27.6225 29.4377 28.3559L29.167 28.9027C29.4921 28.7954 29.8336 28.723 30.1945 28.723H32.9167V27.1667Z"
|
|
52
|
+
fill="currentColor"
|
|
53
|
+
/>
|
|
54
|
+
<path
|
|
55
|
+
d="M37.5623 28.3551C37.1983 27.6225 36.4641 27.1667 35.6459 27.1667H34.0833V28.7222H36.8056C37.1664 28.7222 37.5079 28.7946 37.8338 28.9019L37.5631 28.3551H37.5623Z"
|
|
56
|
+
fill="currentColor"
|
|
57
|
+
/>
|
|
58
|
+
</g>
|
|
59
|
+
<defs>
|
|
60
|
+
<filter
|
|
61
|
+
id="filter0_d_286_643"
|
|
62
|
+
x="0"
|
|
63
|
+
y="0"
|
|
64
|
+
width="97"
|
|
65
|
+
height="119"
|
|
66
|
+
filterUnits="userSpaceOnUse"
|
|
67
|
+
color-interpolation-filters="sRGB"
|
|
68
|
+
>
|
|
69
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
70
|
+
<feColorMatrix
|
|
71
|
+
in="SourceAlpha"
|
|
72
|
+
type="matrix"
|
|
73
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
74
|
+
result="hardAlpha"
|
|
75
|
+
/>
|
|
76
|
+
<feOffset dy="2" />
|
|
77
|
+
<feGaussianBlur stdDeviation="10" />
|
|
78
|
+
<feColorMatrix
|
|
79
|
+
type="matrix"
|
|
80
|
+
values="0 0 0 0 0.0392157 0 0 0 0 0.0392157 0 0 0 0 0.0392157 0 0 0 0.04 0"
|
|
81
|
+
/>
|
|
82
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_286_643" />
|
|
83
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_286_643" result="shape" />
|
|
84
|
+
</filter>
|
|
85
|
+
<filter
|
|
86
|
+
id="filter1_b_286_643"
|
|
87
|
+
x="0"
|
|
88
|
+
y="-2"
|
|
89
|
+
width="97"
|
|
90
|
+
height="119"
|
|
91
|
+
filterUnits="userSpaceOnUse"
|
|
92
|
+
color-interpolation-filters="sRGB"
|
|
93
|
+
>
|
|
94
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
95
|
+
<feGaussianBlur in="BackgroundImageFix" stdDeviation="10" />
|
|
96
|
+
<feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_286_643" />
|
|
97
|
+
<feBlend
|
|
98
|
+
mode="normal"
|
|
99
|
+
in="SourceGraphic"
|
|
100
|
+
in2="effect1_backgroundBlur_286_643"
|
|
101
|
+
result="shape"
|
|
102
|
+
/>
|
|
103
|
+
</filter>
|
|
104
|
+
</defs>
|
|
105
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
classes?: string | undefined;
|
|
5
|
+
};
|
|
6
|
+
events: {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
};
|
|
9
|
+
slots: {};
|
|
10
|
+
};
|
|
11
|
+
export type IconProductProps = typeof __propDef.props;
|
|
12
|
+
export type IconProductEvents = typeof __propDef.events;
|
|
13
|
+
export type IconProductSlots = typeof __propDef.slots;
|
|
14
|
+
export default class IconProduct extends SvelteComponent<IconProductProps, IconProductEvents, IconProductSlots> {
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace extend {
|
|
3
|
+
namespace fontSize {
|
|
4
|
+
let xl: string[];
|
|
5
|
+
let lg: string[];
|
|
6
|
+
let base: string[];
|
|
7
|
+
let sm: string[];
|
|
8
|
+
}
|
|
9
|
+
let spacing: {
|
|
10
|
+
1.25: string;
|
|
11
|
+
18: string;
|
|
12
|
+
128: string;
|
|
13
|
+
};
|
|
14
|
+
let borderRadius: {
|
|
15
|
+
xl: string;
|
|
16
|
+
'2xl': string;
|
|
17
|
+
};
|
|
18
|
+
namespace minWidth {
|
|
19
|
+
let dropdown: string;
|
|
20
|
+
}
|
|
21
|
+
namespace colors {
|
|
22
|
+
namespace workspace {
|
|
23
|
+
let accent: {
|
|
24
|
+
DEFAULT: string;
|
|
25
|
+
50: string;
|
|
26
|
+
100: string;
|
|
27
|
+
200: string;
|
|
28
|
+
500: string;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
let positive: {
|
|
32
|
+
50: string;
|
|
33
|
+
100: string;
|
|
34
|
+
200: string;
|
|
35
|
+
300: string;
|
|
36
|
+
400: string;
|
|
37
|
+
500: string;
|
|
38
|
+
};
|
|
39
|
+
let danger: {
|
|
40
|
+
50: string;
|
|
41
|
+
100: string;
|
|
42
|
+
200: string;
|
|
43
|
+
300: string;
|
|
44
|
+
400: string;
|
|
45
|
+
500: string;
|
|
46
|
+
};
|
|
47
|
+
let neutral: {
|
|
48
|
+
50: string;
|
|
49
|
+
100: string;
|
|
50
|
+
200: string;
|
|
51
|
+
300: string;
|
|
52
|
+
400: string;
|
|
53
|
+
500: string;
|
|
54
|
+
600: string;
|
|
55
|
+
700: string;
|
|
56
|
+
800: string;
|
|
57
|
+
};
|
|
58
|
+
let sherwood: {
|
|
59
|
+
50: string;
|
|
60
|
+
100: string;
|
|
61
|
+
200: string;
|
|
62
|
+
300: string;
|
|
63
|
+
400: string;
|
|
64
|
+
500: string;
|
|
65
|
+
600: string;
|
|
66
|
+
700: string;
|
|
67
|
+
};
|
|
68
|
+
let warning: {
|
|
69
|
+
50: string;
|
|
70
|
+
100: string;
|
|
71
|
+
200: string;
|
|
72
|
+
300: string;
|
|
73
|
+
400: string;
|
|
74
|
+
500: string;
|
|
75
|
+
};
|
|
76
|
+
let white: {
|
|
77
|
+
DEFAULT: string;
|
|
78
|
+
5: string;
|
|
79
|
+
10: string;
|
|
80
|
+
20: string;
|
|
81
|
+
30: string;
|
|
82
|
+
40: string;
|
|
83
|
+
50: string;
|
|
84
|
+
60: string;
|
|
85
|
+
70: string;
|
|
86
|
+
80: string;
|
|
87
|
+
90: string;
|
|
88
|
+
};
|
|
89
|
+
let yellow: {
|
|
90
|
+
50: string;
|
|
91
|
+
100: string;
|
|
92
|
+
200: string;
|
|
93
|
+
300: string;
|
|
94
|
+
400: string;
|
|
95
|
+
500: string;
|
|
96
|
+
};
|
|
97
|
+
let blue: {
|
|
98
|
+
50: string;
|
|
99
|
+
100: string;
|
|
100
|
+
200: string;
|
|
101
|
+
300: string;
|
|
102
|
+
400: string;
|
|
103
|
+
500: string;
|
|
104
|
+
};
|
|
105
|
+
let red: {
|
|
106
|
+
50: string;
|
|
107
|
+
100: string;
|
|
108
|
+
500: string;
|
|
109
|
+
};
|
|
110
|
+
let purple: {
|
|
111
|
+
50: string;
|
|
112
|
+
100: string;
|
|
113
|
+
200: string;
|
|
114
|
+
300: string;
|
|
115
|
+
400: string;
|
|
116
|
+
500: string;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
namespace boxShadow {
|
|
120
|
+
let active: string;
|
|
121
|
+
}
|
|
122
|
+
namespace letterSpacing {
|
|
123
|
+
let tightest: string;
|
|
124
|
+
let tighter: string;
|
|
125
|
+
let tight: string;
|
|
126
|
+
let normal: string;
|
|
127
|
+
let wide: string;
|
|
128
|
+
}
|
|
129
|
+
namespace fontFamily {
|
|
130
|
+
let sans: string[];
|
|
131
|
+
let mono: string[];
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
export default _default;
|
package/dist/tw.theme.js
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
extend: {
|
|
3
|
+
fontSize: {
|
|
4
|
+
xl: ['20px', '28px'],
|
|
5
|
+
lg: ['16px', '24px'],
|
|
6
|
+
base: ['14px', '20px'],
|
|
7
|
+
sm: ['12px', '16px']
|
|
8
|
+
},
|
|
9
|
+
|
|
10
|
+
spacing: {
|
|
11
|
+
1.25: '5px',
|
|
12
|
+
18: '4.5rem',
|
|
13
|
+
128: '32rem'
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
borderRadius: {
|
|
17
|
+
xl: '0.625rem',
|
|
18
|
+
'2xl': '12px'
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
minWidth: {
|
|
22
|
+
dropdown: '175px'
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
colors: {
|
|
26
|
+
workspace: {
|
|
27
|
+
accent: {
|
|
28
|
+
DEFAULT: 'var(--workspace-accent-color, #169958)',
|
|
29
|
+
50: 'color-mix(in lab, transparent 95%, var(--workspace-accent-color, #169958))',
|
|
30
|
+
100: 'color-mix(in lab, transparent 90%, var(--workspace-accent-color, #169958))',
|
|
31
|
+
200: 'color-mix(in lab, transparent 80%, var(--workspace-accent-color, #169958))',
|
|
32
|
+
500: 'var(--workspace-accent-color, #169958)'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
positive: {
|
|
36
|
+
50: 'rgba(2, 144, 98, 0.05)',
|
|
37
|
+
100: 'rgba(2, 144, 98, 0.1)',
|
|
38
|
+
200: 'rgba(2, 144, 98, 0.2)',
|
|
39
|
+
300: 'rgba(2, 144, 98, 0.3)',
|
|
40
|
+
400: 'rgba(2, 144, 98, 0.4)',
|
|
41
|
+
500: '#029062'
|
|
42
|
+
},
|
|
43
|
+
danger: {
|
|
44
|
+
50: 'rgba(201, 45, 69, 0.05)',
|
|
45
|
+
100: 'rgba(201, 45, 69, 0.1)',
|
|
46
|
+
200: 'rgba(201, 45, 69, 0.2)',
|
|
47
|
+
300: 'rgba(201, 45, 69, 0.3)',
|
|
48
|
+
400: 'rgba(201, 45, 69, 0.4)',
|
|
49
|
+
500: '#C92D45'
|
|
50
|
+
},
|
|
51
|
+
neutral: {
|
|
52
|
+
50: '#F9FAFB',
|
|
53
|
+
100: '#F3F4F6',
|
|
54
|
+
200: '#E5E7EB',
|
|
55
|
+
300: '#D1D5DB',
|
|
56
|
+
400: '#9CA3AF',
|
|
57
|
+
500: '#6B7280',
|
|
58
|
+
600: '#4B5563',
|
|
59
|
+
700: '#1F2937',
|
|
60
|
+
800: '#030712'
|
|
61
|
+
},
|
|
62
|
+
sherwood: {
|
|
63
|
+
50: 'rgba(25, 65, 54, 0.05)',
|
|
64
|
+
100: 'rgba(25, 65, 54, 0.1)',
|
|
65
|
+
200: 'rgba(25, 65, 54, 0.2)',
|
|
66
|
+
300: 'rgba(25, 65, 54, 0.3)',
|
|
67
|
+
400: 'rgba(25, 65, 54, 0.4)',
|
|
68
|
+
500: '#194136',
|
|
69
|
+
600: '#15372D',
|
|
70
|
+
700: '#112C25'
|
|
71
|
+
},
|
|
72
|
+
warning: {
|
|
73
|
+
50: 'rgba(222, 99, 19, 0.05)',
|
|
74
|
+
100: 'rgba(222, 99, 19, 0.1)',
|
|
75
|
+
200: 'rgba(222, 99, 19, 0.2)',
|
|
76
|
+
300: 'rgba(222, 99, 19, 0.3)',
|
|
77
|
+
400: 'rgba(222, 99, 19, 0.4)',
|
|
78
|
+
500: '#DE6313'
|
|
79
|
+
},
|
|
80
|
+
white: {
|
|
81
|
+
DEFAULT: '#FFFFFF',
|
|
82
|
+
5: 'rgba(255, 255, 255, 0.05)',
|
|
83
|
+
10: 'rgba(255, 255, 255, 0.1)',
|
|
84
|
+
20: 'rgba(255, 255, 255, 0.2)',
|
|
85
|
+
30: 'rgba(255, 255, 255, 0.3)',
|
|
86
|
+
40: 'rgba(255, 255, 255, 0.4)',
|
|
87
|
+
50: 'rgba(255, 255, 255, 0.5)',
|
|
88
|
+
60: 'rgba(255, 255, 255, 0.6)',
|
|
89
|
+
70: 'rgba(255, 255, 255, 0.7)',
|
|
90
|
+
80: 'rgba(255, 255, 255, 0.8)',
|
|
91
|
+
90: 'rgba(255, 255, 255, 0.9)'
|
|
92
|
+
},
|
|
93
|
+
yellow: {
|
|
94
|
+
50: 'rgba(215, 135, 0, 0.05)',
|
|
95
|
+
100: 'rgba(215, 135, 0, 0.1)',
|
|
96
|
+
200: 'rgba(215, 135, 0, 0.2)',
|
|
97
|
+
300: 'rgba(215, 135, 0, 0.3)',
|
|
98
|
+
400: 'rgba(215, 135, 0, 0.4)',
|
|
99
|
+
500: '#D78700'
|
|
100
|
+
},
|
|
101
|
+
blue: {
|
|
102
|
+
50: 'rgba(0, 101, 183, 0.05)',
|
|
103
|
+
100: 'rgba(0, 101, 183, 0.1)',
|
|
104
|
+
200: 'rgba(0, 101, 183, 0.2)',
|
|
105
|
+
300: 'rgba(0, 101, 183, 0.3)',
|
|
106
|
+
400: 'rgba(0, 101, 183, 0.4)',
|
|
107
|
+
500: '#0065B7'
|
|
108
|
+
},
|
|
109
|
+
red: {
|
|
110
|
+
50: 'rgba(255, 33, 22, 0.05)',
|
|
111
|
+
100: 'rgba(255, 33, 22, 0.1)',
|
|
112
|
+
500: 'rgba(255, 33, 22, 1)'
|
|
113
|
+
},
|
|
114
|
+
purple: {
|
|
115
|
+
50: 'rgba(136, 74, 190, 0.05)',
|
|
116
|
+
100: 'rgba(136, 74, 190, 0.1)',
|
|
117
|
+
200: 'rgba(136, 74, 190, 0.2)',
|
|
118
|
+
300: 'rgba(136, 74, 190, 0.3)',
|
|
119
|
+
400: 'rgba(136, 74, 190, 0.4)',
|
|
120
|
+
500: '#884ABE'
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
|
|
124
|
+
boxShadow: {
|
|
125
|
+
active:
|
|
126
|
+
'0px 0px 0px 2px color-mix(in lab, transparent 88%, var(--workspace-accent-color, #169958))'
|
|
127
|
+
},
|
|
128
|
+
|
|
129
|
+
letterSpacing: {
|
|
130
|
+
tightest: '-0.567px',
|
|
131
|
+
tighter: '-0.304px',
|
|
132
|
+
tight: '-0.07px',
|
|
133
|
+
normal: '-0.039px',
|
|
134
|
+
wide: '0.055px'
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
fontFamily: {
|
|
138
|
+
sans: ['Inter', 'sans-serif'],
|
|
139
|
+
mono: [
|
|
140
|
+
'CommitMono',
|
|
141
|
+
'ui-monospace',
|
|
142
|
+
'Menlo',
|
|
143
|
+
'Monaco',
|
|
144
|
+
'Consolas',
|
|
145
|
+
'"Ubuntu Mono"',
|
|
146
|
+
'"Roboto Mono"',
|
|
147
|
+
'"DejaVu Sans Mono"',
|
|
148
|
+
'monospace'
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type { IconSource } from '@steeze-ui/svelte-icon';
|
|
2
|
+
export type IconTheme = 'default' | 'solid' | 'mini';
|
|
3
|
+
export type IconPosition = 'right' | 'left';
|
|
4
|
+
export type ButtonVariant = 'default' | 'primary' | 'secondary' | 'danger' | 'dark';
|
|
5
|
+
export type StatusType = 'grey' | 'green' | 'yellow' | 'red' | 'orange' | 'blue' | 'purple' | 'empty';
|
|
6
|
+
export type AnyProp = string | number | object | boolean;
|
|
7
|
+
export type SidebarIcon = {
|
|
8
|
+
path: string;
|
|
9
|
+
icon: IconSource;
|
|
10
|
+
title: string;
|
|
11
|
+
iconTheme: IconTheme;
|
|
12
|
+
};
|
|
13
|
+
export type Status = 'success' | 'warning' | 'error';
|
|
14
|
+
export type SelectOption = {
|
|
15
|
+
label: string;
|
|
16
|
+
value: AnyProp;
|
|
17
|
+
};
|
|
18
|
+
export type DrawerOption = SelectOption & {
|
|
19
|
+
footer?: boolean;
|
|
20
|
+
destructive?: boolean;
|
|
21
|
+
selected?: boolean;
|
|
22
|
+
icon?: IconSource | undefined;
|
|
23
|
+
rightIcon?: IconSource | undefined;
|
|
24
|
+
country?: string;
|
|
25
|
+
color?: StatusType;
|
|
26
|
+
picture?: string;
|
|
27
|
+
};
|
|
28
|
+
export type Company = {
|
|
29
|
+
id: string;
|
|
30
|
+
slug: string;
|
|
31
|
+
name: string;
|
|
32
|
+
country?: string;
|
|
33
|
+
logo_url?: string;
|
|
34
|
+
};
|
|
35
|
+
export type FeedEvent = {
|
|
36
|
+
status: {
|
|
37
|
+
label: string;
|
|
38
|
+
type: StatusType;
|
|
39
|
+
};
|
|
40
|
+
date: Date;
|
|
41
|
+
code?: string;
|
|
42
|
+
message?: string;
|
|
43
|
+
};
|
|
44
|
+
export type MenuItemProps = {
|
|
45
|
+
label?: string;
|
|
46
|
+
isFolderItem?: boolean;
|
|
47
|
+
collapsable?: boolean;
|
|
48
|
+
open?: boolean;
|
|
49
|
+
url?: string;
|
|
50
|
+
active?: boolean;
|
|
51
|
+
icon?: IconSource | string;
|
|
52
|
+
iconTheme?: IconTheme;
|
|
53
|
+
children?: MenuItemProps[];
|
|
54
|
+
collapsedSidebar?: boolean;
|
|
55
|
+
};
|
|
56
|
+
export type FeedItemStatus = 'success' | 'failure' | 'run' | 'queued' | 'alert' | 'skip' | 'signed';
|
|
57
|
+
export type FeedItemUser = {
|
|
58
|
+
name: string;
|
|
59
|
+
picture?: string;
|
|
60
|
+
};
|
|
61
|
+
export type FeedItemProps = {
|
|
62
|
+
status?: FeedItemStatus;
|
|
63
|
+
icon?: IconSource;
|
|
64
|
+
title?: string;
|
|
65
|
+
date?: Date;
|
|
66
|
+
hasNext?: boolean;
|
|
67
|
+
slug?: string;
|
|
68
|
+
viewable?: boolean;
|
|
69
|
+
viewableText?: string;
|
|
70
|
+
type?: string;
|
|
71
|
+
user?: FeedItemUser;
|
|
72
|
+
extraText?: string;
|
|
73
|
+
};
|
|
74
|
+
export type Badge = {
|
|
75
|
+
label: string;
|
|
76
|
+
status: StatusType;
|
|
77
|
+
dot?: boolean;
|
|
78
|
+
};
|
|
79
|
+
export type TableDataRow = {
|
|
80
|
+
[key: string]: unknown;
|
|
81
|
+
};
|
|
82
|
+
export type TableAction = {
|
|
83
|
+
icon?: IconSource;
|
|
84
|
+
label: string;
|
|
85
|
+
slug: string;
|
|
86
|
+
footer?: boolean;
|
|
87
|
+
destructive?: boolean;
|
|
88
|
+
value?: AnyProp;
|
|
89
|
+
};
|
|
90
|
+
export type TableSortBy = '' | 'asc' | 'desc';
|
|
91
|
+
export type TableActionProp = undefined | ((data: TableDataRow) => TableAction[]);
|
|
92
|
+
export type TableGroupLabelProp = undefined | ((data: TableDataRow) => string);
|
|
93
|
+
export type TableGroup = {
|
|
94
|
+
label: string;
|
|
95
|
+
rows: TableDataRow[];
|
|
96
|
+
};
|
|
97
|
+
export type TableIcon = string | IconSource;
|
|
98
|
+
export type TableField = {
|
|
99
|
+
headerLabel: string;
|
|
100
|
+
slug: string;
|
|
101
|
+
sortable?: boolean;
|
|
102
|
+
fullWidth?: boolean;
|
|
103
|
+
grayed?: boolean;
|
|
104
|
+
formatter?: (data: TableDataRow) => string | number;
|
|
105
|
+
helperBadge?: (data: TableDataRow) => Badge | null;
|
|
106
|
+
helperStatus?: (data: TableDataRow) => FeedItemStatus | null;
|
|
107
|
+
helperIcons?: (data: TableDataRow) => TableIcon[];
|
|
108
|
+
monospaced?: boolean;
|
|
109
|
+
monospacedNums?: boolean;
|
|
110
|
+
rightAlign?: boolean;
|
|
111
|
+
isCountry?: boolean;
|
|
112
|
+
copy?: boolean;
|
|
113
|
+
width?: string;
|
|
114
|
+
status?: boolean;
|
|
115
|
+
noPadding?: boolean;
|
|
116
|
+
};
|
|
117
|
+
export type TabItem = {
|
|
118
|
+
label: string;
|
|
119
|
+
slug: string;
|
|
120
|
+
counter?: number;
|
|
121
|
+
check?: boolean;
|
|
122
|
+
warning?: boolean;
|
|
123
|
+
};
|
|
124
|
+
export type EmptyStateIcon = 'invoices' | 'contacts' | 'products' | 'pdf' | 'file' | 'no-results';
|
|
125
|
+
export type DataListItem = {
|
|
126
|
+
label: string;
|
|
127
|
+
value: string;
|
|
128
|
+
};
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dispatchWcEvent: (rootEl: EventTarget | null, name: string, detail?: unknown) => void;
|