@invopop/popui 0.0.104 → 0.1.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/dist/AlertDialog.svelte +84 -59
- package/dist/AlertDialog.svelte.d.ts +5 -29
- package/dist/BaseButton.svelte +106 -101
- package/dist/BaseButton.svelte.d.ts +4 -34
- package/dist/BaseCard.svelte +20 -12
- package/dist/BaseCard.svelte.d.ts +4 -26
- package/dist/BaseCounter.svelte +13 -9
- package/dist/BaseCounter.svelte.d.ts +4 -17
- package/dist/BaseDropdown.svelte +54 -38
- package/dist/BaseDropdown.svelte.d.ts +6 -26
- package/dist/BaseFlag.svelte +6 -4
- package/dist/BaseFlag.svelte.d.ts +4 -17
- package/dist/BaseTable.svelte +226 -188
- package/dist/BaseTable.svelte.d.ts +4 -39
- package/dist/BaseTableActions.svelte +43 -33
- package/dist/BaseTableActions.svelte.d.ts +6 -21
- package/dist/BaseTableCellContent.svelte +19 -13
- package/dist/BaseTableCellContent.svelte.d.ts +4 -24
- package/dist/BaseTableCheckbox.svelte +19 -12
- package/dist/BaseTableCheckbox.svelte.d.ts +4 -21
- package/dist/BaseTableHeaderContent.svelte +30 -22
- package/dist/BaseTableHeaderContent.svelte.d.ts +4 -21
- package/dist/BaseTableHeaderOrderBy.svelte +24 -0
- package/dist/BaseTableHeaderOrderBy.svelte.d.ts +4 -0
- package/dist/BaseTableRow.svelte +78 -60
- package/dist/BaseTableRow.svelte.d.ts +4 -32
- package/dist/Breadcrumbs.svelte +14 -10
- package/dist/Breadcrumbs.svelte.d.ts +4 -19
- package/dist/ButtonFile.svelte +40 -29
- package/dist/ButtonFile.svelte.d.ts +4 -26
- package/dist/ButtonUuidCopy.svelte +27 -20
- package/dist/ButtonUuidCopy.svelte.d.ts +4 -22
- package/dist/CardCheckbox.svelte +28 -19
- package/dist/CardCheckbox.svelte.d.ts +4 -28
- package/dist/CardRelation.svelte +9 -8
- package/dist/CardRelation.svelte.d.ts +4 -22
- package/dist/CompanySelector.svelte +49 -43
- package/dist/CompanySelector.svelte.d.ts +4 -22
- package/dist/CounterWorkflow.svelte +12 -8
- package/dist/CounterWorkflow.svelte.d.ts +4 -17
- package/dist/DataListItem.svelte +24 -14
- package/dist/DataListItem.svelte.d.ts +4 -22
- package/dist/DatePicker.svelte +186 -386
- package/dist/DatePicker.svelte.d.ts +4 -22
- package/dist/DrawerContext.svelte +33 -22
- package/dist/DrawerContext.svelte.d.ts +4 -24
- package/dist/DrawerContextItem.svelte +70 -57
- package/dist/DrawerContextItem.svelte.d.ts +4 -23
- package/dist/DrawerContextSeparator.svelte +1 -1
- package/dist/DrawerContextSeparator.svelte.d.ts +22 -19
- package/dist/DrawerContextWorkspace.svelte +31 -32
- package/dist/DrawerContextWorkspace.svelte.d.ts +4 -20
- package/dist/DropdownSelect.svelte +93 -81
- package/dist/DropdownSelect.svelte.d.ts +4 -27
- package/dist/EmptyStateIcon.svelte +13 -7
- package/dist/EmptyStateIcon.svelte.d.ts +4 -22
- package/dist/EmptyStateIllustration.svelte +41 -33
- package/dist/EmptyStateIllustration.svelte.d.ts +4 -21
- package/dist/FeedEvents.svelte +5 -2
- package/dist/FeedEvents.svelte.d.ts +4 -17
- package/dist/FeedIconEvent.svelte +5 -3
- package/dist/FeedIconEvent.svelte.d.ts +4 -19
- package/dist/FeedIconStatus.svelte +23 -18
- package/dist/FeedIconStatus.svelte.d.ts +4 -17
- package/dist/FeedItem.svelte +33 -28
- package/dist/FeedItem.svelte.d.ts +4 -30
- package/dist/FeedItemDetail.svelte +21 -13
- package/dist/FeedItemDetail.svelte.d.ts +4 -23
- package/dist/FeedViewer.svelte +6 -13
- package/dist/FeedViewer.svelte.d.ts +4 -21
- package/dist/FormLayoutModal.svelte +9 -3
- package/dist/FormLayoutModal.svelte.d.ts +4 -29
- package/dist/GlobalSearch.svelte +38 -31
- package/dist/GlobalSearch.svelte.d.ts +4 -18
- package/dist/InputCheckbox.svelte +23 -14
- package/dist/InputCheckbox.svelte.d.ts +4 -23
- package/dist/InputError.svelte +4 -1
- package/dist/InputError.svelte.d.ts +4 -16
- package/dist/InputLabel.svelte +5 -3
- package/dist/InputLabel.svelte.d.ts +4 -18
- package/dist/InputRadio.svelte +25 -19
- package/dist/InputRadio.svelte.d.ts +4 -21
- package/dist/InputSearch.svelte +66 -46
- package/dist/InputSearch.svelte.d.ts +9 -33
- package/dist/InputSelect.svelte +36 -33
- package/dist/InputSelect.svelte.d.ts +4 -31
- package/dist/InputText.svelte +64 -48
- package/dist/InputText.svelte.d.ts +4 -28
- package/dist/InputTextarea.svelte +38 -29
- package/dist/InputTextarea.svelte.d.ts +4 -25
- package/dist/InputToggle.svelte +29 -22
- package/dist/InputToggle.svelte.d.ts +4 -20
- package/dist/MenuItem.svelte +99 -87
- package/dist/MenuItem.svelte.d.ts +5 -29
- package/dist/MenuItemCollapsible.svelte +26 -18
- package/dist/MenuItemCollapsible.svelte.d.ts +4 -24
- package/dist/Notification.svelte +35 -31
- package/dist/Notification.svelte.d.ts +4 -20
- package/dist/ProfileAvatar.svelte +26 -19
- package/dist/ProfileAvatar.svelte.d.ts +4 -21
- package/dist/ProfileSelector.svelte +25 -17
- package/dist/ProfileSelector.svelte.d.ts +4 -22
- package/dist/SectionLayout.svelte +6 -3
- package/dist/SectionLayout.svelte.d.ts +4 -18
- package/dist/SeparatorHorizontal.svelte +1 -1
- package/dist/SeparatorHorizontal.svelte.d.ts +22 -19
- package/dist/ShortcutWrapper.svelte +7 -1
- package/dist/ShortcutWrapper.svelte.d.ts +4 -27
- package/dist/StatusLabel.svelte +16 -12
- package/dist/StatusLabel.svelte.d.ts +4 -18
- package/dist/StepIconList.svelte +44 -41
- package/dist/StepIconList.svelte.d.ts +4 -17
- package/dist/TagBeta.svelte.d.ts +22 -19
- package/dist/TagSearch.svelte +19 -20
- package/dist/TagSearch.svelte.d.ts +4 -22
- package/dist/TagStatus.svelte +42 -37
- package/dist/TagStatus.svelte.d.ts +4 -19
- package/dist/TitleMain.svelte +9 -2
- package/dist/TitleMain.svelte.d.ts +4 -18
- package/dist/TitleSection.svelte +9 -2
- package/dist/TitleSection.svelte.d.ts +4 -18
- package/dist/UuidCopy.svelte +61 -48
- package/dist/UuidCopy.svelte.d.ts +4 -26
- package/dist/alert-dialog/alert-dialog-action.svelte +15 -15
- package/dist/alert-dialog/alert-dialog-action.svelte.d.ts +5 -26
- package/dist/alert-dialog/alert-dialog-cancel.svelte +13 -10
- package/dist/alert-dialog/alert-dialog-cancel.svelte.d.ts +3 -22
- package/dist/alert-dialog/alert-dialog-content.svelte +19 -15
- package/dist/alert-dialog/alert-dialog-content.svelte.d.ts +6 -15
- package/dist/alert-dialog/alert-dialog-description.svelte +11 -6
- package/dist/alert-dialog/alert-dialog-description.svelte.d.ts +3 -16
- package/dist/alert-dialog/alert-dialog-footer.svelte +11 -5
- package/dist/alert-dialog/alert-dialog-footer.svelte.d.ts +4 -16
- package/dist/alert-dialog/alert-dialog-header.svelte +14 -5
- package/dist/alert-dialog/alert-dialog-header.svelte.d.ts +4 -16
- package/dist/alert-dialog/alert-dialog-overlay.svelte +10 -13
- package/dist/alert-dialog/alert-dialog-overlay.svelte.d.ts +3 -14
- package/dist/alert-dialog/alert-dialog-title.svelte +11 -8
- package/dist/alert-dialog/alert-dialog-title.svelte.d.ts +3 -16
- package/dist/alert-dialog/alert-dialog-trigger.svelte +6 -0
- package/dist/alert-dialog/alert-dialog-trigger.svelte.d.ts +4 -0
- package/dist/alert-dialog/index.d.ts +3 -4
- package/dist/alert-dialog/index.js +2 -2
- package/dist/button/button.svelte +76 -18
- package/dist/button/button.svelte.d.ts +62 -14
- package/dist/button/index.d.ts +2 -60
- package/dist/button/index.js +1 -26
- package/dist/helpers.d.ts +4 -1
- package/dist/helpers.js +35 -0
- package/dist/index.d.ts +1 -3
- package/dist/index.js +0 -4
- package/dist/range-calendar/index.d.ts +20 -0
- package/dist/range-calendar/index.js +22 -0
- package/dist/range-calendar/range-calendar-caption.svelte +71 -0
- package/dist/range-calendar/range-calendar-caption.svelte.d.ts +19 -0
- package/dist/range-calendar/range-calendar-cell.svelte +18 -0
- package/dist/range-calendar/range-calendar-cell.svelte.d.ts +4 -0
- package/dist/range-calendar/range-calendar-day.svelte +41 -0
- package/dist/range-calendar/range-calendar-day.svelte.d.ts +4 -0
- package/dist/range-calendar/range-calendar-grid-row.svelte +11 -0
- package/dist/range-calendar/range-calendar-grid-row.svelte.d.ts +4 -0
- package/dist/range-calendar/range-calendar-grid.svelte +15 -0
- package/dist/range-calendar/range-calendar-grid.svelte.d.ts +4 -0
- package/dist/range-calendar/range-calendar-head-cell.svelte +18 -0
- package/dist/range-calendar/range-calendar-head-cell.svelte.d.ts +4 -0
- package/dist/range-calendar/range-calendar-header.svelte +18 -0
- package/dist/range-calendar/range-calendar-header.svelte.d.ts +4 -0
- package/dist/range-calendar/range-calendar-heading.svelte +15 -0
- package/dist/range-calendar/range-calendar-heading.svelte.d.ts +4 -0
- package/dist/range-calendar/range-calendar-month-select.svelte +44 -0
- package/dist/range-calendar/range-calendar-month-select.svelte.d.ts +4 -0
- package/dist/range-calendar/range-calendar-month.svelte +14 -0
- package/dist/range-calendar/range-calendar-month.svelte.d.ts +5 -0
- package/dist/range-calendar/range-calendar-months.svelte +18 -0
- package/dist/range-calendar/range-calendar-months.svelte.d.ts +5 -0
- package/dist/range-calendar/range-calendar-nav.svelte +18 -0
- package/dist/range-calendar/range-calendar-nav.svelte.d.ts +5 -0
- package/dist/range-calendar/range-calendar-next-button.svelte +30 -0
- package/dist/range-calendar/range-calendar-next-button.svelte.d.ts +8 -0
- package/dist/range-calendar/range-calendar-prev-button.svelte +30 -0
- package/dist/range-calendar/range-calendar-prev-button.svelte.d.ts +8 -0
- package/dist/range-calendar/range-calendar-year-select.svelte +43 -0
- package/dist/range-calendar/range-calendar-year-select.svelte.d.ts +4 -0
- package/dist/range-calendar/range-calendar.svelte +109 -0
- package/dist/range-calendar/range-calendar.svelte.d.ts +21 -0
- package/dist/svg/BgPattern.svelte.d.ts +22 -19
- package/dist/svg/IconContact.svelte +6 -1
- package/dist/svg/IconContact.svelte.d.ts +5 -15
- package/dist/svg/IconEmpty.svelte.d.ts +22 -19
- package/dist/svg/IconFile.svelte +6 -1
- package/dist/svg/IconFile.svelte.d.ts +5 -15
- package/dist/svg/IconInvoice.svelte +6 -1
- package/dist/svg/IconInvoice.svelte.d.ts +5 -15
- package/dist/svg/IconNoResults.svelte +6 -1
- package/dist/svg/IconNoResults.svelte.d.ts +5 -15
- package/dist/svg/IconPdf.svelte +6 -1
- package/dist/svg/IconPdf.svelte.d.ts +5 -15
- package/dist/svg/IconProduct.svelte +6 -1
- package/dist/svg/IconProduct.svelte.d.ts +5 -15
- package/dist/table/table-body.svelte +10 -5
- package/dist/table/table-body.svelte.d.ts +4 -16
- package/dist/table/table-caption.svelte +14 -5
- package/dist/table/table-caption.svelte.d.ts +4 -16
- package/dist/table/table-cell.svelte +16 -7
- package/dist/table/table-cell.svelte.d.ts +4 -19
- package/dist/table/table-footer.svelte +14 -5
- package/dist/table/table-footer.svelte.d.ts +4 -16
- package/dist/table/table-head.svelte +11 -5
- package/dist/table/table-head.svelte.d.ts +4 -16
- package/dist/table/table-header.svelte +17 -8
- package/dist/table/table-header.svelte.d.ts +4 -19
- package/dist/table/table-row.svelte +22 -8
- package/dist/table/table-row.svelte.d.ts +4 -22
- package/dist/table/table.svelte +11 -6
- package/dist/table/table.svelte.d.ts +4 -16
- package/dist/tabs/tabs-content.svelte +13 -8
- package/dist/tabs/tabs-content.svelte.d.ts +3 -16
- package/dist/tabs/tabs-list.svelte +7 -6
- package/dist/tabs/tabs-list.svelte.d.ts +3 -16
- package/dist/tabs/tabs-trigger.svelte +13 -9
- package/dist/tabs/tabs-trigger.svelte.d.ts +3 -14
- package/dist/tabs/tabs.svelte +12 -7
- package/dist/tabs/tabs.svelte.d.ts +3 -16
- package/dist/tooltip/index.d.ts +5 -3
- package/dist/tooltip/index.js +5 -3
- package/dist/tooltip/tooltip-content.svelte +42 -23
- package/dist/tooltip/tooltip-content.svelte.d.ts +5 -15
- package/dist/tooltip/tooltip-trigger.svelte +8 -0
- package/dist/tooltip/tooltip-trigger.svelte.d.ts +4 -0
- package/dist/tw.theme.d.ts +2 -9
- package/dist/tw.theme.js +0 -5
- package/dist/types.d.ts +484 -25
- package/dist/utils.d.ts +10 -1
- package/package.json +30 -39
- package/README.md +0 -234
- package/dist/BaseTableHeaderSortBy.svelte +0 -22
- package/dist/BaseTableHeaderSortBy.svelte.d.ts +0 -20
- package/dist/ComboBox.svelte +0 -12
- package/dist/ComboBox.svelte.d.ts +0 -21
- package/dist/ComboBoxContent.svelte +0 -33
- package/dist/ComboBoxContent.svelte.d.ts +0 -20
- package/dist/ProgressBar.svelte +0 -6
- package/dist/ProgressBar.svelte.d.ts +0 -16
- package/dist/alert-dialog/alert-dialog-portal.svelte +0 -6
- package/dist/alert-dialog/alert-dialog-portal.svelte.d.ts +0 -17
- package/dist/popui.css +0 -1
- package/dist/wcdispatch.d.ts +0 -1
- package/dist/wcdispatch.js +0 -9
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type { Placement } from '@floating-ui/dom';
|
|
1
2
|
import type { IconSource } from '@steeze-ui/svelte-icon';
|
|
3
|
+
import type { Snippet } from 'svelte';
|
|
2
4
|
export type IconTheme = 'default' | 'solid' | 'mini';
|
|
3
5
|
export type IconPosition = 'right' | 'left';
|
|
4
6
|
export type ButtonVariant = 'default' | 'primary' | 'secondary' | 'warning' | 'danger' | 'dark' | 'outline';
|
|
@@ -45,36 +47,11 @@ export type FeedEvent = {
|
|
|
45
47
|
code?: string;
|
|
46
48
|
message?: string;
|
|
47
49
|
};
|
|
48
|
-
export type MenuItemProps = {
|
|
49
|
-
label?: string;
|
|
50
|
-
isFolderItem?: boolean;
|
|
51
|
-
collapsable?: boolean;
|
|
52
|
-
open?: boolean;
|
|
53
|
-
url?: string;
|
|
54
|
-
active?: boolean;
|
|
55
|
-
icon?: IconSource | string;
|
|
56
|
-
iconTheme?: IconTheme;
|
|
57
|
-
children?: MenuItemProps[];
|
|
58
|
-
collapsedSidebar?: boolean;
|
|
59
|
-
};
|
|
60
50
|
export type FeedItemStatus = 'success' | 'failure' | 'run' | 'queued' | 'alert' | 'skip' | 'signed';
|
|
61
51
|
export type FeedItemUser = {
|
|
62
52
|
name: string;
|
|
63
53
|
picture?: string;
|
|
64
54
|
};
|
|
65
|
-
export type FeedItemProps = {
|
|
66
|
-
status?: FeedItemStatus;
|
|
67
|
-
icon?: IconSource;
|
|
68
|
-
title?: string;
|
|
69
|
-
date?: Date;
|
|
70
|
-
hasNext?: boolean;
|
|
71
|
-
slug?: string;
|
|
72
|
-
viewable?: boolean;
|
|
73
|
-
viewableText?: string;
|
|
74
|
-
type?: string;
|
|
75
|
-
user?: FeedItemUser;
|
|
76
|
-
extraText?: string;
|
|
77
|
-
};
|
|
78
55
|
export type Badge = {
|
|
79
56
|
label: string;
|
|
80
57
|
status: StatusType;
|
|
@@ -130,6 +107,21 @@ export type DataListItem = {
|
|
|
130
107
|
label: string;
|
|
131
108
|
value: string;
|
|
132
109
|
};
|
|
110
|
+
export type DatesFromToday = {
|
|
111
|
+
today: Date;
|
|
112
|
+
startOfThisWeek: Date;
|
|
113
|
+
endOfThisWeek: Date;
|
|
114
|
+
startOfLastWeek: Date;
|
|
115
|
+
endOfLastWeek: Date;
|
|
116
|
+
startOfThisMonth: Date;
|
|
117
|
+
endOfThisMonth: Date;
|
|
118
|
+
startOfLastMonth: Date;
|
|
119
|
+
endOfLastMonth: Date;
|
|
120
|
+
startOfThisQuarter: Date;
|
|
121
|
+
endOfThisQuarter: Date;
|
|
122
|
+
startOfLastQuarter: Date;
|
|
123
|
+
endOfLastQuarter: Date;
|
|
124
|
+
};
|
|
133
125
|
export type Breadcrumb = {
|
|
134
126
|
label: string;
|
|
135
127
|
url?: string;
|
|
@@ -140,3 +132,470 @@ export type StepIcon = {
|
|
|
140
132
|
name: string;
|
|
141
133
|
url: string;
|
|
142
134
|
};
|
|
135
|
+
export interface AlertDialogProps {
|
|
136
|
+
open?: boolean;
|
|
137
|
+
destructive?: boolean;
|
|
138
|
+
title?: string;
|
|
139
|
+
descriptionText?: string;
|
|
140
|
+
cancelText?: string;
|
|
141
|
+
actionText?: string;
|
|
142
|
+
cancelActionEl?: HTMLButtonElement | null;
|
|
143
|
+
okActionEl?: HTMLButtonElement | null;
|
|
144
|
+
oncancel?: () => void;
|
|
145
|
+
onconfirm?: () => void;
|
|
146
|
+
description?: Snippet;
|
|
147
|
+
children?: Snippet;
|
|
148
|
+
}
|
|
149
|
+
export interface BaseButtonProps {
|
|
150
|
+
icon?: IconSource;
|
|
151
|
+
iconTheme?: IconTheme;
|
|
152
|
+
iconPosition?: IconPosition;
|
|
153
|
+
type?: 'button' | 'submit' | 'reset' | null;
|
|
154
|
+
variant?: ButtonVariant;
|
|
155
|
+
disabled?: boolean;
|
|
156
|
+
small?: boolean;
|
|
157
|
+
big?: boolean;
|
|
158
|
+
dangerIcon?: boolean;
|
|
159
|
+
shortcut?: boolean;
|
|
160
|
+
fullwidth?: boolean;
|
|
161
|
+
notification?: boolean;
|
|
162
|
+
children?: Snippet;
|
|
163
|
+
[key: string]: any;
|
|
164
|
+
onclick?: (event: MouseEvent) => void;
|
|
165
|
+
}
|
|
166
|
+
export interface BaseCardProps {
|
|
167
|
+
imageUrl?: string;
|
|
168
|
+
imageAlt?: string;
|
|
169
|
+
title?: string;
|
|
170
|
+
description?: string;
|
|
171
|
+
type?: 'default' | 'soon' | 'beta';
|
|
172
|
+
enabled?: boolean;
|
|
173
|
+
footer?: Snippet;
|
|
174
|
+
[key: string]: any;
|
|
175
|
+
onclick?: (event: MouseEvent) => void;
|
|
176
|
+
}
|
|
177
|
+
export interface BaseCounterProps {
|
|
178
|
+
content: number;
|
|
179
|
+
variant?: 'default' | 'light' | 'dark';
|
|
180
|
+
}
|
|
181
|
+
export interface BaseDropdownProps {
|
|
182
|
+
isOpen?: boolean;
|
|
183
|
+
fullWidth?: boolean;
|
|
184
|
+
placement?: Placement;
|
|
185
|
+
matchParentWidth?: boolean;
|
|
186
|
+
trigger?: Snippet;
|
|
187
|
+
children?: Snippet;
|
|
188
|
+
[key: string]: any;
|
|
189
|
+
}
|
|
190
|
+
export interface BaseFlagProps {
|
|
191
|
+
country?: string;
|
|
192
|
+
width?: number;
|
|
193
|
+
}
|
|
194
|
+
export interface BaseTableProps {
|
|
195
|
+
sortBy?: string;
|
|
196
|
+
sortDirection?: TableSortBy;
|
|
197
|
+
fields?: TableField[];
|
|
198
|
+
data?: TableDataRow[];
|
|
199
|
+
getActions?: TableActionProp;
|
|
200
|
+
groupLabel?: TableGroupLabelProp;
|
|
201
|
+
disableRowClick?: boolean;
|
|
202
|
+
hideCounter?: boolean;
|
|
203
|
+
selectable?: boolean;
|
|
204
|
+
selectedRows?: TableDataRow[];
|
|
205
|
+
selectedTrackedBy?: string;
|
|
206
|
+
hideSelectAll?: boolean;
|
|
207
|
+
disableKeyboardNavigation?: boolean;
|
|
208
|
+
[key: string]: any;
|
|
209
|
+
ontableEndReached?: () => void;
|
|
210
|
+
onSelectAllRows?: (selected: boolean) => void;
|
|
211
|
+
onRowClick?: (row: TableDataRow) => void;
|
|
212
|
+
onRowRightClick?: (row: TableDataRow) => void;
|
|
213
|
+
onRowNewTabClick?: (row: TableDataRow) => void;
|
|
214
|
+
onCopied?: (uuid: string) => void;
|
|
215
|
+
onOrderBy?: (field: string, direction: TableSortBy) => void;
|
|
216
|
+
onClickAction?: (args: {
|
|
217
|
+
row: TableDataRow;
|
|
218
|
+
action: AnyProp;
|
|
219
|
+
}) => void;
|
|
220
|
+
}
|
|
221
|
+
export interface BaseTableActionsProps {
|
|
222
|
+
actions: TableAction[];
|
|
223
|
+
onclick?: (value: AnyProp) => void;
|
|
224
|
+
}
|
|
225
|
+
export interface BaseTableCellContentProps {
|
|
226
|
+
field: TableField;
|
|
227
|
+
data?: unknown;
|
|
228
|
+
isMobile?: boolean;
|
|
229
|
+
badge?: Badge | null;
|
|
230
|
+
status?: FeedItemStatus | null;
|
|
231
|
+
icons?: TableIcon[] | null;
|
|
232
|
+
onCopied?: (uuid: string) => void;
|
|
233
|
+
}
|
|
234
|
+
export interface BaseTableCheckboxProps {
|
|
235
|
+
checkboxButton?: HTMLButtonElement | undefined;
|
|
236
|
+
checked?: boolean;
|
|
237
|
+
hidden?: boolean;
|
|
238
|
+
indeterminate?: boolean;
|
|
239
|
+
onChecked?: (checked: boolean) => void;
|
|
240
|
+
}
|
|
241
|
+
export interface BaseTableHeaderProps {
|
|
242
|
+
field: TableField;
|
|
243
|
+
sortBy?: string;
|
|
244
|
+
sortDirection: TableSortBy;
|
|
245
|
+
onOrderBy?: (field: string, direction: TableSortBy) => void;
|
|
246
|
+
}
|
|
247
|
+
export interface BaseTableHeaderOrderByProps {
|
|
248
|
+
isActive?: boolean;
|
|
249
|
+
sortDirection: TableSortBy;
|
|
250
|
+
onOrderBy?: (direction: TableSortBy) => void;
|
|
251
|
+
}
|
|
252
|
+
export interface BaseTableRowProps {
|
|
253
|
+
row: TableDataRow;
|
|
254
|
+
getActions?: TableActionProp;
|
|
255
|
+
fields?: TableField[];
|
|
256
|
+
disableRowClick?: boolean;
|
|
257
|
+
selectable?: boolean;
|
|
258
|
+
selected?: boolean;
|
|
259
|
+
selectionMode?: string;
|
|
260
|
+
selectedTrackedBy?: string;
|
|
261
|
+
selectedRows?: TableDataRow[];
|
|
262
|
+
onclick?: (event: MouseEvent) => void;
|
|
263
|
+
onmouseover?: () => void;
|
|
264
|
+
oncontextmenu?: () => void;
|
|
265
|
+
onfocus?: () => void;
|
|
266
|
+
onChecked?: (checked: boolean) => void;
|
|
267
|
+
onCopied?: (uuid: string) => void;
|
|
268
|
+
onClickAction?: (args: {
|
|
269
|
+
row: TableDataRow;
|
|
270
|
+
action: AnyProp;
|
|
271
|
+
}) => void;
|
|
272
|
+
}
|
|
273
|
+
export interface BreadcrumbsProps {
|
|
274
|
+
breadcrumbs?: Breadcrumb[];
|
|
275
|
+
oncopied?: (label: string) => void;
|
|
276
|
+
}
|
|
277
|
+
export interface ButtonFileProps {
|
|
278
|
+
icon?: IconSource;
|
|
279
|
+
name?: string;
|
|
280
|
+
disabled?: boolean;
|
|
281
|
+
date?: string;
|
|
282
|
+
iconColor?: StatusType;
|
|
283
|
+
onPreview?: () => void;
|
|
284
|
+
onDownload?: () => void;
|
|
285
|
+
[key: string]: any;
|
|
286
|
+
}
|
|
287
|
+
export interface ButtonUuidCopyProps {
|
|
288
|
+
uuid?: string;
|
|
289
|
+
prefixLength?: number;
|
|
290
|
+
suffixLength?: number;
|
|
291
|
+
full?: boolean;
|
|
292
|
+
disabled?: boolean;
|
|
293
|
+
oncopied?: (label: string) => void;
|
|
294
|
+
}
|
|
295
|
+
export interface CardCheckboxProps {
|
|
296
|
+
id?: any;
|
|
297
|
+
name?: string;
|
|
298
|
+
title?: string;
|
|
299
|
+
description?: string;
|
|
300
|
+
accentText?: string;
|
|
301
|
+
checked?: boolean;
|
|
302
|
+
icon?: IconSource | undefined;
|
|
303
|
+
hideRadio?: boolean;
|
|
304
|
+
footer?: Snippet;
|
|
305
|
+
onchange?: (checked: boolean) => void;
|
|
306
|
+
}
|
|
307
|
+
export interface CardRelationProps {
|
|
308
|
+
title?: string;
|
|
309
|
+
icon?: IconSource | undefined;
|
|
310
|
+
items?: DataListItem[];
|
|
311
|
+
onclick?: (event: MouseEvent) => void;
|
|
312
|
+
}
|
|
313
|
+
export interface CompanySelectorProps {
|
|
314
|
+
companies?: Company[];
|
|
315
|
+
selectedCompany?: Company | null;
|
|
316
|
+
collapsed?: boolean;
|
|
317
|
+
onAdd?: () => void;
|
|
318
|
+
onSelect?: (company: Company | null) => void;
|
|
319
|
+
}
|
|
320
|
+
export interface CounterWorkflowProps {
|
|
321
|
+
content: number | string;
|
|
322
|
+
variant?: 'default' | 'transparent';
|
|
323
|
+
}
|
|
324
|
+
export interface DataListItemProps {
|
|
325
|
+
label?: string;
|
|
326
|
+
value?: string;
|
|
327
|
+
monospaced?: boolean;
|
|
328
|
+
monospacedNums?: boolean;
|
|
329
|
+
fullWidth?: boolean;
|
|
330
|
+
children?: Snippet;
|
|
331
|
+
}
|
|
332
|
+
export interface DatePickerProps {
|
|
333
|
+
label?: string;
|
|
334
|
+
position?: 'left' | 'right';
|
|
335
|
+
from?: string;
|
|
336
|
+
to?: string;
|
|
337
|
+
onSelect?: (date: {
|
|
338
|
+
from: string;
|
|
339
|
+
to: string;
|
|
340
|
+
}) => void;
|
|
341
|
+
}
|
|
342
|
+
export interface DrawerContextProps {
|
|
343
|
+
items?: DrawerOption[];
|
|
344
|
+
multiple?: boolean;
|
|
345
|
+
searchable?: boolean;
|
|
346
|
+
widthClass?: string;
|
|
347
|
+
onclick?: (value: AnyProp) => void;
|
|
348
|
+
onselect?: (selected: DrawerOption[]) => void;
|
|
349
|
+
}
|
|
350
|
+
export interface DrawerContextItemProps {
|
|
351
|
+
multiple?: boolean;
|
|
352
|
+
item: DrawerOption;
|
|
353
|
+
scrollIfSelected?: boolean;
|
|
354
|
+
workspace?: boolean;
|
|
355
|
+
onclick?: (value: AnyProp) => void;
|
|
356
|
+
onchange?: (item: DrawerOption) => void;
|
|
357
|
+
}
|
|
358
|
+
export interface DrawerContextWorkspaceProps {
|
|
359
|
+
items?: DrawerOption[];
|
|
360
|
+
multiple?: boolean;
|
|
361
|
+
onclick?: (value: AnyProp) => void;
|
|
362
|
+
}
|
|
363
|
+
export interface DropdownSelectProps {
|
|
364
|
+
value?: AnyProp;
|
|
365
|
+
icon?: IconSource | string | undefined;
|
|
366
|
+
iconTheme?: IconTheme;
|
|
367
|
+
options?: DrawerOption[];
|
|
368
|
+
placeholder?: string;
|
|
369
|
+
multiple?: boolean;
|
|
370
|
+
fullWidth?: boolean;
|
|
371
|
+
widthClass?: string;
|
|
372
|
+
onSelect?: (value: AnyProp) => void;
|
|
373
|
+
}
|
|
374
|
+
export interface EmptyStateIconProps {
|
|
375
|
+
icon?: IconSource | undefined;
|
|
376
|
+
title?: string;
|
|
377
|
+
description?: string;
|
|
378
|
+
check?: boolean;
|
|
379
|
+
children?: Snippet;
|
|
380
|
+
}
|
|
381
|
+
export interface EmptyStateIllustrationProps {
|
|
382
|
+
icon?: EmptyStateIcon | undefined;
|
|
383
|
+
title?: string;
|
|
384
|
+
description?: string;
|
|
385
|
+
children?: Snippet;
|
|
386
|
+
}
|
|
387
|
+
export interface FeedEventsProps {
|
|
388
|
+
events?: FeedEvent[];
|
|
389
|
+
}
|
|
390
|
+
export interface FeedIconEventProps {
|
|
391
|
+
icon?: IconSource | undefined;
|
|
392
|
+
iconTheme?: IconTheme;
|
|
393
|
+
}
|
|
394
|
+
export interface FeddIconStatusProps {
|
|
395
|
+
status: FeedItemStatus;
|
|
396
|
+
}
|
|
397
|
+
export interface FeedItemProps {
|
|
398
|
+
status?: FeedItemStatus | undefined;
|
|
399
|
+
icon?: IconSource | undefined;
|
|
400
|
+
title?: string;
|
|
401
|
+
date?: Date | undefined;
|
|
402
|
+
hasNext?: boolean;
|
|
403
|
+
slug?: string;
|
|
404
|
+
viewable?: boolean;
|
|
405
|
+
viewableText?: string;
|
|
406
|
+
user?: FeedItemUser | undefined;
|
|
407
|
+
type?: string;
|
|
408
|
+
extraText?: string;
|
|
409
|
+
onView?: (slug: string) => void;
|
|
410
|
+
}
|
|
411
|
+
export interface FeedItemDetailProps {
|
|
412
|
+
status?: FeedItemStatus | undefined;
|
|
413
|
+
title?: string;
|
|
414
|
+
uuid?: string;
|
|
415
|
+
events?: FeedEvent[];
|
|
416
|
+
idLabel?: string;
|
|
417
|
+
onCopied?: (uuid: string) => void;
|
|
418
|
+
}
|
|
419
|
+
export interface FeedViewerProps {
|
|
420
|
+
items?: FeedItemProps[];
|
|
421
|
+
onView?: (slug: string) => void;
|
|
422
|
+
}
|
|
423
|
+
export interface FormLayoutModalProps {
|
|
424
|
+
children?: Snippet;
|
|
425
|
+
footer?: Snippet;
|
|
426
|
+
}
|
|
427
|
+
export interface GlobalSearchProps {
|
|
428
|
+
collapsed?: boolean;
|
|
429
|
+
onOpen?: () => void;
|
|
430
|
+
}
|
|
431
|
+
export interface InputCheckboxProps {
|
|
432
|
+
id?: string;
|
|
433
|
+
checked?: boolean;
|
|
434
|
+
indeterminate?: boolean;
|
|
435
|
+
label?: string;
|
|
436
|
+
onchange?: (checked: boolean) => void;
|
|
437
|
+
onclick?: (event: MouseEvent) => void;
|
|
438
|
+
[key: string]: any;
|
|
439
|
+
}
|
|
440
|
+
export interface InputErrorProps {
|
|
441
|
+
errorText?: string;
|
|
442
|
+
}
|
|
443
|
+
export interface InputLabelProps {
|
|
444
|
+
id?: string;
|
|
445
|
+
label?: string;
|
|
446
|
+
[key: string]: any;
|
|
447
|
+
}
|
|
448
|
+
export interface InputRadioProps {
|
|
449
|
+
checked?: boolean;
|
|
450
|
+
id?: any;
|
|
451
|
+
name?: string;
|
|
452
|
+
onchange?: (checked: boolean) => void;
|
|
453
|
+
[key: string]: any;
|
|
454
|
+
}
|
|
455
|
+
export interface InputSearchProps {
|
|
456
|
+
value?: string;
|
|
457
|
+
shortcut?: string;
|
|
458
|
+
placeholder?: string;
|
|
459
|
+
icon?: IconSource;
|
|
460
|
+
focusOnLoad?: boolean;
|
|
461
|
+
oninput?: (value: string) => void;
|
|
462
|
+
onclick?: (event: MouseEvent) => void;
|
|
463
|
+
onfocus?: (event: FocusEvent) => void;
|
|
464
|
+
onblur?: (event: FocusEvent) => void;
|
|
465
|
+
[key: string]: any;
|
|
466
|
+
}
|
|
467
|
+
export interface InputSelectProps {
|
|
468
|
+
id?: any;
|
|
469
|
+
name?: string;
|
|
470
|
+
label?: string;
|
|
471
|
+
disabled?: boolean;
|
|
472
|
+
value?: string;
|
|
473
|
+
icon?: IconSource | string | undefined;
|
|
474
|
+
iconTheme?: IconTheme;
|
|
475
|
+
options?: SelectOption[];
|
|
476
|
+
placeholder?: string;
|
|
477
|
+
disablePlaceholder?: boolean;
|
|
478
|
+
errorText?: string;
|
|
479
|
+
onchange?: (value: string) => void;
|
|
480
|
+
[key: string]: any;
|
|
481
|
+
}
|
|
482
|
+
export interface InputTextProps {
|
|
483
|
+
id?: any;
|
|
484
|
+
label?: string;
|
|
485
|
+
placeholder?: string;
|
|
486
|
+
errorText?: string;
|
|
487
|
+
disabled?: boolean;
|
|
488
|
+
value?: string | number;
|
|
489
|
+
focusOnLoad?: boolean;
|
|
490
|
+
oninput?: (value: string) => void;
|
|
491
|
+
onfocus?: (event: FocusEvent) => void;
|
|
492
|
+
onblur?: (event: FocusEvent) => void;
|
|
493
|
+
onkeydown?: (event: KeyboardEvent) => void;
|
|
494
|
+
[key: string]: any;
|
|
495
|
+
}
|
|
496
|
+
export interface InputTextareaProps {
|
|
497
|
+
id?: any;
|
|
498
|
+
label?: string;
|
|
499
|
+
placeholder?: string;
|
|
500
|
+
errorText?: string;
|
|
501
|
+
disabled?: boolean;
|
|
502
|
+
value?: string | number;
|
|
503
|
+
rows?: number;
|
|
504
|
+
oninput?: (value: string) => void;
|
|
505
|
+
[key: string]: any;
|
|
506
|
+
}
|
|
507
|
+
export interface InputToggleProps {
|
|
508
|
+
id?: string;
|
|
509
|
+
checked?: boolean;
|
|
510
|
+
label?: string;
|
|
511
|
+
onchange?: (checked: boolean) => void;
|
|
512
|
+
}
|
|
513
|
+
export interface MenuItemProps {
|
|
514
|
+
label?: string;
|
|
515
|
+
url?: string;
|
|
516
|
+
isFolderItem?: boolean;
|
|
517
|
+
collapsable?: boolean;
|
|
518
|
+
open?: boolean;
|
|
519
|
+
active?: boolean;
|
|
520
|
+
collapsedSidebar?: boolean;
|
|
521
|
+
iconTheme?: IconTheme;
|
|
522
|
+
icon?: IconSource | string | undefined;
|
|
523
|
+
children?: MenuItemProps[] | undefined;
|
|
524
|
+
onclick?: (url: string) => void;
|
|
525
|
+
}
|
|
526
|
+
export interface MenuItemCollapsibleProps {
|
|
527
|
+
collapsed?: boolean;
|
|
528
|
+
title?: string;
|
|
529
|
+
subtitle?: string;
|
|
530
|
+
active?: boolean;
|
|
531
|
+
bold?: boolean;
|
|
532
|
+
icon?: IconSource | undefined;
|
|
533
|
+
children?: Snippet;
|
|
534
|
+
}
|
|
535
|
+
export interface NotificationProps {
|
|
536
|
+
message?: string;
|
|
537
|
+
type?: Status;
|
|
538
|
+
children?: Snippet;
|
|
539
|
+
}
|
|
540
|
+
export interface ProfileAvatarProps {
|
|
541
|
+
name?: string;
|
|
542
|
+
small?: boolean;
|
|
543
|
+
large?: boolean;
|
|
544
|
+
dark?: boolean;
|
|
545
|
+
picture?: string;
|
|
546
|
+
country?: string;
|
|
547
|
+
}
|
|
548
|
+
export interface ProfileSelectorProps {
|
|
549
|
+
name?: string;
|
|
550
|
+
orgName?: string;
|
|
551
|
+
picture?: string;
|
|
552
|
+
collapsed?: boolean;
|
|
553
|
+
isOpen?: boolean;
|
|
554
|
+
onclick?: (event: MouseEvent) => void;
|
|
555
|
+
}
|
|
556
|
+
export interface SectionLayoutProps {
|
|
557
|
+
title?: string;
|
|
558
|
+
children?: Snippet;
|
|
559
|
+
}
|
|
560
|
+
export interface StatusLabelProps {
|
|
561
|
+
status: FeedItemStatus;
|
|
562
|
+
label?: string;
|
|
563
|
+
}
|
|
564
|
+
export interface StepIconListProps {
|
|
565
|
+
icons?: StepIcon[];
|
|
566
|
+
}
|
|
567
|
+
export interface TagSearchProps {
|
|
568
|
+
label?: string;
|
|
569
|
+
icon?: IconSource | string | undefined;
|
|
570
|
+
iconTheme?: IconTheme;
|
|
571
|
+
onclear?: () => void;
|
|
572
|
+
}
|
|
573
|
+
export interface TagStatusProps {
|
|
574
|
+
label?: string;
|
|
575
|
+
status?: StatusType;
|
|
576
|
+
dot?: boolean;
|
|
577
|
+
}
|
|
578
|
+
export interface TitleMainProps {
|
|
579
|
+
title?: string;
|
|
580
|
+
children?: Snippet;
|
|
581
|
+
}
|
|
582
|
+
export interface TitleSectionProps {
|
|
583
|
+
title?: string;
|
|
584
|
+
children?: Snippet;
|
|
585
|
+
}
|
|
586
|
+
export interface ShortcutWrapperProps {
|
|
587
|
+
children?: Snippet;
|
|
588
|
+
}
|
|
589
|
+
export interface UuidCopyProps {
|
|
590
|
+
uuid?: string;
|
|
591
|
+
small?: boolean;
|
|
592
|
+
dark?: boolean;
|
|
593
|
+
rightAlign?: boolean;
|
|
594
|
+
prefixLength?: number;
|
|
595
|
+
suffixLength?: number;
|
|
596
|
+
full?: boolean;
|
|
597
|
+
compact?: boolean;
|
|
598
|
+
link?: boolean;
|
|
599
|
+
onCopied?: (uuid: string) => void;
|
|
600
|
+
onLinkClick?: (uuid: string) => void;
|
|
601
|
+
}
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="svelte" />
|
|
2
1
|
import type { ClassValue } from 'clsx';
|
|
3
2
|
import type { TransitionConfig } from 'svelte/transition';
|
|
4
3
|
type FlyAndScaleParams = {
|
|
@@ -10,4 +9,14 @@ type FlyAndScaleParams = {
|
|
|
10
9
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
11
10
|
export declare function styleToString(style: Record<string, number | string | undefined>): string;
|
|
12
11
|
export declare function flyAndScale(node: Element, params?: FlyAndScaleParams): TransitionConfig;
|
|
12
|
+
export type WithoutChild<T> = T extends {
|
|
13
|
+
child?: any;
|
|
14
|
+
} ? Omit<T, 'child'> : T;
|
|
15
|
+
export type WithoutChildrenOrChild<T> = WithoutChildren<WithoutChild<T>>;
|
|
16
|
+
export type WithoutChildren<T> = T extends {
|
|
17
|
+
children?: any;
|
|
18
|
+
} ? Omit<T, 'children'> : T;
|
|
19
|
+
export type WithElementRef<T, U extends HTMLElement = HTMLElement> = T & {
|
|
20
|
+
ref?: U | null;
|
|
21
|
+
};
|
|
13
22
|
export {};
|
package/package.json
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@invopop/popui",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite dev",
|
|
7
7
|
"build": "vite build && npm run package",
|
|
8
8
|
"preview": "vite preview",
|
|
9
|
-
"
|
|
10
|
-
"package": "svelte-kit sync && svelte-package && npm run build:tailwind && publint",
|
|
11
|
-
"postpackage": "rm -rf src",
|
|
9
|
+
"package": "svelte-kit sync && svelte-package && publint",
|
|
12
10
|
"prepublishOnly": "npm run package",
|
|
13
11
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
14
12
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
@@ -16,8 +14,8 @@
|
|
|
16
14
|
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
|
17
15
|
"format": "prettier --plugin-search-dir . --write .",
|
|
18
16
|
"storybook": "storybook dev -p 6006",
|
|
19
|
-
"build:tailwind": "npx tailwindcss -i ./styles.css -o ./dist/popui.css --minify",
|
|
20
17
|
"build-storybook": "storybook build",
|
|
18
|
+
"build:tailwind": "tailwindcss -i ../styles.css -o ./dist/popui.css --minify",
|
|
21
19
|
"build-web-components": "vite build --config vite.wbc.config.ts",
|
|
22
20
|
"publish-wbc": "npm run build-web-components && cp ./package-wbc.json ./dist/package.json && cd ./dist && npm run publish"
|
|
23
21
|
},
|
|
@@ -42,70 +40,63 @@
|
|
|
42
40
|
"svelte": "^4.0.0"
|
|
43
41
|
},
|
|
44
42
|
"devDependencies": {
|
|
45
|
-
"@storybook/addon-
|
|
46
|
-
"@storybook/addon-
|
|
47
|
-
"@storybook/
|
|
48
|
-
"@storybook/blocks": "^7.4.6",
|
|
49
|
-
"@storybook/svelte": "^7.4.6",
|
|
50
|
-
"@storybook/sveltekit": "^7.4.6",
|
|
43
|
+
"@storybook/addon-docs": "^9.1.3",
|
|
44
|
+
"@storybook/addon-links": "^9.1.3",
|
|
45
|
+
"@storybook/sveltekit": "^9.1.3",
|
|
51
46
|
"@storybook/testing-library": "^0.2.2",
|
|
52
|
-
"@sveltejs/adapter-auto": "^
|
|
53
|
-
"@sveltejs/kit": "^
|
|
54
|
-
"@sveltejs/package": "^2.
|
|
47
|
+
"@sveltejs/adapter-auto": "^3.0.0",
|
|
48
|
+
"@sveltejs/kit": "^2.5.27",
|
|
49
|
+
"@sveltejs/package": "^2.3.7",
|
|
50
|
+
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
|
51
|
+
"@tailwindcss/cli": "^4.1.13",
|
|
55
52
|
"@tailwindcss/forms": "^0.5.9",
|
|
56
53
|
"@tailwindcss/typography": "^0.5.15",
|
|
54
|
+
"@types/lodash-es": "^4.17.12",
|
|
57
55
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
58
56
|
"@typescript-eslint/parser": "^6.0.0",
|
|
59
|
-
"autoprefixer": "^10.4.20",
|
|
60
57
|
"eslint": "^8.28.0",
|
|
61
58
|
"eslint-config-prettier": "^8.5.0",
|
|
62
|
-
"eslint-plugin-storybook": "^
|
|
63
|
-
"eslint-plugin-svelte": "^2.
|
|
64
|
-
"
|
|
65
|
-
"prettier": "^2.
|
|
66
|
-
"prettier-plugin-
|
|
59
|
+
"eslint-plugin-storybook": "^9.1.3",
|
|
60
|
+
"eslint-plugin-svelte": "^2.45.1",
|
|
61
|
+
"prettier": "^3.1.0",
|
|
62
|
+
"prettier-plugin-svelte": "^3.2.6",
|
|
63
|
+
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
67
64
|
"publint": "^0.1.9",
|
|
68
65
|
"react": "^18.2.0",
|
|
69
66
|
"react-dom": "^18.2.0",
|
|
70
|
-
"storybook": "^
|
|
71
|
-
"svelte": "^
|
|
72
|
-
"svelte-check": "^
|
|
67
|
+
"storybook": "^9.1.3",
|
|
68
|
+
"svelte": "^5.0.0",
|
|
69
|
+
"svelte-check": "^4.0.0",
|
|
73
70
|
"svelte-headlessui": "^0.0.32",
|
|
74
71
|
"tailwind-merge": "^3.0.2",
|
|
75
|
-
"tailwindcss": "^
|
|
72
|
+
"tailwindcss": "^4.1.13",
|
|
76
73
|
"tslib": "^2.4.1",
|
|
77
|
-
"typescript": "^
|
|
78
|
-
"vite": "^4.4
|
|
79
|
-
"vitest": "^0.
|
|
74
|
+
"typescript": "^5.5.0",
|
|
75
|
+
"vite": "^5.4.4",
|
|
76
|
+
"vitest": "^1.0.0"
|
|
80
77
|
},
|
|
81
78
|
"svelte": "./dist/index.js",
|
|
82
79
|
"types": "./dist/index.d.ts",
|
|
83
80
|
"type": "module",
|
|
84
81
|
"dependencies": {
|
|
85
|
-
"@beyonk/svelte-datepicker": "^13.0.3",
|
|
86
82
|
"@floating-ui/core": "^1.5.1",
|
|
87
83
|
"@invopop/ui-icons": "0.0.67",
|
|
88
84
|
"@steeze-ui/heroicons": "^2.2.3",
|
|
89
|
-
"@steeze-ui/svelte-icon": "^1.
|
|
90
|
-
"@
|
|
91
|
-
"@twind/preset-autoprefix": "^1.0.7",
|
|
92
|
-
"@twind/preset-tailwind": "^1.1.4",
|
|
93
|
-
"@twind/preset-tailwind-forms": "^1.1.2",
|
|
94
|
-
"@twind/with-web-components": "^1.1.3",
|
|
85
|
+
"@steeze-ui/svelte-icon": "^1.6.2",
|
|
86
|
+
"@tailwindcss/vite": "^4.1.12",
|
|
95
87
|
"@types/flatpickr": "^3.1.2",
|
|
96
|
-
"bits-ui": "^
|
|
88
|
+
"bits-ui": "^2.9.4",
|
|
97
89
|
"clsx": "^2.0.0",
|
|
98
90
|
"date-fns": "^2.30.0",
|
|
99
91
|
"dayjs": "^1.11.10",
|
|
100
92
|
"flatpickr": "^4.6.13",
|
|
101
93
|
"inter-ui": "^3.19.3",
|
|
94
|
+
"lodash-es": "^4.17.21",
|
|
102
95
|
"svelte-floating-ui": "^1.5.8",
|
|
103
96
|
"svelte-intersection-observer-action": "^0.0.4",
|
|
104
97
|
"svelte-portal": "^2.2.1",
|
|
105
|
-
"svelte-
|
|
106
|
-
"svelte-transition": "^0.0.10",
|
|
98
|
+
"svelte-transition": "^0.0.17",
|
|
107
99
|
"svelte-viewport-info": "^1.0.2",
|
|
108
|
-
"tailwind-variants": "^1.0.0"
|
|
109
|
-
"twind": "^0.16.19"
|
|
100
|
+
"tailwind-variants": "^1.0.0"
|
|
110
101
|
}
|
|
111
102
|
}
|