@reshape-biotech/design-system 1.2.6 → 1.2.7
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 +3 -1
- package/dist/app.css +97 -97
- package/dist/components/activity/Activity.stories.svelte +104 -104
- package/dist/components/activity/Activity.svelte +112 -112
- package/dist/components/avatar/Avatar.stories.svelte +23 -23
- package/dist/components/avatar/Avatar.svelte +54 -54
- package/dist/components/banner/Banner.stories.svelte +105 -105
- package/dist/components/banner/Banner.svelte +42 -42
- package/dist/components/button/Button.stories.svelte +61 -61
- package/dist/components/button/Button.svelte +95 -95
- package/dist/components/card/Card.stories.svelte +112 -112
- package/dist/components/card/Card.svelte +18 -18
- package/dist/components/checkbox/Checkbox.stories.svelte +8 -8
- package/dist/components/checkbox/Checkbox.svelte +17 -17
- package/dist/components/collapsible/Collapsible.stories.svelte +26 -26
- package/dist/components/collapsible/components/collapsible-content.svelte +20 -20
- package/dist/components/collapsible/components/collapsible-trigger.svelte +12 -12
- package/dist/components/combobox/Combobox.stories.svelte +412 -412
- package/dist/components/combobox/components/combobox-add.svelte +8 -8
- package/dist/components/combobox/components/combobox-content.svelte +39 -39
- package/dist/components/combobox/components/combobox-indicator.svelte +1 -1
- package/dist/components/datepicker/DatePicker.stories.svelte +196 -196
- package/dist/components/datepicker/DatePicker.svelte +173 -173
- package/dist/components/divider/Divider.stories.svelte +7 -7
- package/dist/components/divider/Divider.svelte +9 -9
- package/dist/components/drawer/Drawer.stories.svelte +51 -51
- package/dist/components/drawer/Drawer.svelte +33 -33
- package/dist/components/drawer/DrawerLabel.svelte +10 -10
- package/dist/components/dropdown/Dropdown.stories.svelte +210 -210
- package/dist/components/dropdown/Dropdown.svelte +57 -57
- package/dist/components/dropdown/components/DropdownContent.svelte +16 -16
- package/dist/components/dropdown/components/DropdownMenu.svelte +10 -10
- package/dist/components/dropdown/components/DropdownTrigger.svelte +37 -37
- package/dist/components/dropdown/components/OutlinedButton.svelte +9 -9
- package/dist/components/empty-content/EmptyContent.stories.svelte +38 -38
- package/dist/components/empty-content/EmptyContent.svelte +12 -12
- package/dist/components/graphs/bar-chart/BarChart.stories.svelte +91 -91
- package/dist/components/graphs/bar-chart/BarChart.svelte +147 -147
- package/dist/components/graphs/bar-chart/StackedBarChart.stories.svelte +57 -57
- package/dist/components/graphs/bar-chart/StackedBarChart.svelte +198 -199
- package/dist/components/graphs/chart/Chart.stories.svelte +96 -96
- package/dist/components/graphs/chart/Chart.svelte +207 -207
- package/dist/components/graphs/line/LineChart.stories.svelte +138 -138
- package/dist/components/graphs/line/LineChart.svelte +140 -142
- package/dist/components/graphs/matrix/Matrix.stories.svelte +117 -117
- package/dist/components/graphs/matrix/Matrix.svelte +141 -141
- package/dist/components/graphs/multiline/MultiLineChart.stories.svelte +168 -168
- package/dist/components/graphs/multiline/MultiLineChart.svelte +236 -236
- package/dist/components/graphs/scatterplot/Scatterplot.stories.svelte +84 -84
- package/dist/components/graphs/scatterplot/Scatterplot.svelte +302 -302
- package/dist/components/graphs/utils/duration.d.ts +1 -0
- package/dist/components/graphs/utils/duration.js +33 -0
- package/dist/components/graphs/utils/tooltipFormatter.js +1 -1
- package/dist/components/icon-button/IconButton.stories.svelte +64 -64
- package/dist/components/icon-button/IconButton.svelte +88 -88
- package/dist/components/icons/AnalysisIcon.stories.svelte +18 -18
- package/dist/components/icons/AnalysisIcon.svelte +96 -96
- package/dist/components/icons/Icon.stories.svelte +111 -111
- package/dist/components/icons/Icon.svelte +17 -17
- package/dist/components/icons/PrincipalIcon.svelte +59 -59
- package/dist/components/icons/custom/Halo.svelte +31 -31
- package/dist/components/icons/custom/Well.svelte +27 -27
- package/dist/components/icons/index.js +1 -1
- package/dist/components/image/Image.svelte +42 -42
- package/dist/components/input/Input.stories.svelte +55 -55
- package/dist/components/input/Input.svelte +121 -121
- package/dist/components/label/Label.stories.svelte +18 -18
- package/dist/components/label/Label.svelte +11 -11
- package/dist/components/list/List.stories.svelte +84 -84
- package/dist/components/list/List.svelte +20 -20
- package/dist/components/logo/Logo.stories.svelte +15 -15
- package/dist/components/logo/Logo.svelte +30 -30
- package/dist/components/manual-cfu-counter/ManualCFUCounter.stories.svelte +102 -102
- package/dist/components/manual-cfu-counter/ManualCFUCounter.svelte +557 -557
- package/dist/components/manual-cfu-counter/test/ManualCFUCounterTestWrapper.svelte +11 -11
- package/dist/components/markdown/Markdown.stories.svelte +10 -10
- package/dist/components/markdown/Markdown.svelte +6 -6
- package/dist/components/modal/Modal.stories.svelte +29 -29
- package/dist/components/modal/Modal.svelte +71 -71
- package/dist/components/multi-cfu-counter/MultiCFUCounter.stories.svelte +201 -201
- package/dist/components/multi-cfu-counter/MultiCFUCounter.svelte +606 -606
- package/dist/components/multi-cfu-counter/test/MultiCFUCounterTestWrapper.svelte +17 -17
- package/dist/components/notification-popup/NotificationPopup.stories.svelte +18 -18
- package/dist/components/notification-popup/NotificationPopup.svelte +26 -26
- package/dist/components/notifications/Notifications.stories.svelte +101 -101
- package/dist/components/notifications/Notifications.svelte +9 -9
- package/dist/components/pill/Pill.stories.svelte +8 -8
- package/dist/components/pill/Pill.svelte +27 -27
- package/dist/components/progress-circle/ProgressCircle.stories.svelte +8 -8
- package/dist/components/progress-circle/ProgressCircle.svelte +54 -54
- package/dist/components/required-status-indicator/RequiredStatusIndicator.stories.svelte +18 -18
- package/dist/components/required-status-indicator/RequiredStatusIndicator.svelte +14 -14
- package/dist/components/segmented-control-buttons/ControlButton.svelte +36 -36
- package/dist/components/segmented-control-buttons/SegmentedControlButtons.stories.svelte +35 -35
- package/dist/components/segmented-control-buttons/SegmentedControlButtons.svelte +13 -13
- package/dist/components/select/Select.stories.svelte +77 -77
- package/dist/components/select/Select.svelte +114 -114
- package/dist/components/select-new/Select.stories.svelte +188 -188
- package/dist/components/select-new/components/Group.svelte +17 -17
- package/dist/components/select-new/components/MultiSelectTrigger.svelte +57 -57
- package/dist/components/select-new/components/SelectContent.svelte +22 -22
- package/dist/components/select-new/components/SelectGroupHeading.svelte +10 -10
- package/dist/components/select-new/components/SelectItem.svelte +25 -25
- package/dist/components/select-new/components/SelectTrigger.svelte +38 -38
- package/dist/components/sjsf-wrappers/SjsfNumberInputWrapper.svelte +76 -76
- package/dist/components/sjsf-wrappers/SjsfNumberInputWrapper.svelte.d.ts +1 -1
- package/dist/components/sjsf-wrappers/SjsfTextInputWrapper.svelte +53 -53
- package/dist/components/sjsf-wrappers/SjsfTextInputWrapper.svelte.d.ts +1 -1
- package/dist/components/sjsf-wrappers/sjsfCustomTheme.js +1 -1
- package/dist/components/skeleton-loader/SkeletonLoader.stories.svelte +32 -32
- package/dist/components/skeleton-loader/SkeletonLoader.svelte +10 -10
- package/dist/components/skeleton-loader/StatcardSkeleton.svelte +9 -9
- package/dist/components/skeleton-loader/components/Skeleton.svelte +7 -7
- package/dist/components/skeleton-loader/components/SkeletonImage.svelte +12 -12
- package/dist/components/slider/Slider.stories.svelte +23 -23
- package/dist/components/slider/Slider.svelte +107 -107
- package/dist/components/spinner/Spinner.stories.svelte +8 -8
- package/dist/components/spinner/Spinner.svelte +18 -18
- package/dist/components/stat-card/StatCard.stories.svelte +26 -26
- package/dist/components/stat-card/StatCard.svelte +128 -128
- package/dist/components/status-badge/StatusBadge.stories.svelte +365 -365
- package/dist/components/status-badge/StatusBadge.svelte +54 -54
- package/dist/components/stepper/Stepper.stories.svelte +219 -219
- package/dist/components/stepper/components/stepper-root.svelte +12 -12
- package/dist/components/stepper/components/stepper-step.svelte +83 -83
- package/dist/components/table/Table.stories.svelte +87 -87
- package/dist/components/table/Table.svelte +32 -32
- package/dist/components/table/components/TBody.svelte +7 -7
- package/dist/components/table/components/THead.svelte +7 -7
- package/dist/components/table/components/Td.svelte +8 -8
- package/dist/components/table/components/Th.svelte +8 -8
- package/dist/components/table/components/Tr.svelte +11 -11
- package/dist/components/tabs/Tabs.stories.svelte +20 -20
- package/dist/components/tabs/Tabs.svelte +8 -8
- package/dist/components/tabs/components/Content.svelte +8 -8
- package/dist/components/tabs/components/Tab.svelte +14 -14
- package/dist/components/tabs/components/Tabs.svelte +7 -7
- package/dist/components/tag/Tag.stories.svelte +57 -57
- package/dist/components/tag/Tag.svelte +95 -95
- package/dist/components/textarea/Textarea.stories.svelte +70 -70
- package/dist/components/textarea/Textarea.svelte +76 -76
- package/dist/components/toast/Toast.stories.svelte +204 -204
- package/dist/components/toast/Toast.svelte +53 -53
- package/dist/components/toggle/Toggle.stories.svelte +9 -9
- package/dist/components/toggle/Toggle.svelte +53 -53
- package/dist/components/toggle-icon-button/ToggleIconButton.stories.svelte +152 -152
- package/dist/components/toggle-icon-button/ToggleIconButton.svelte +99 -99
- package/dist/components/tooltip/Tooltip.stories.svelte +105 -105
- package/dist/components/tooltip/Tooltip.svelte +26 -26
- package/dist/fonts/index.js +1 -1
- package/dist/notifications.d.ts +1 -4
- package/dist/notifications.js +1 -1
- package/dist/tailwind-safelist.js +406 -406
- package/dist/tailwind.preset.js +10 -10
- package/dist/tokens/colors.js +18 -18
- package/dist/tokens/typography.js +6 -6
- package/dist/tokens.js +19 -19
- package/dist/types/fonts.d.ts +2 -2
- package/package.json +199 -198
|
@@ -3,124 +3,124 @@
|
|
|
3
3
|
// Read more here: https://daisyui.com/blog/most-common-mistake-when-using-tailwind-css/
|
|
4
4
|
|
|
5
5
|
export const textColors = [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
'text-primary',
|
|
7
|
+
'text-primary-inverse',
|
|
8
|
+
'text-secondary',
|
|
9
|
+
'text-secondary-inverse',
|
|
10
|
+
'text-tertiary',
|
|
11
|
+
'text-tertiary-inverse',
|
|
12
|
+
'text-accent',
|
|
13
|
+
'text-success',
|
|
14
|
+
'text-warning',
|
|
15
|
+
'text-danger',
|
|
16
16
|
];
|
|
17
17
|
|
|
18
18
|
export const iconColors = [
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
'text-icon-primary',
|
|
20
|
+
'text-icon-primary-inverse',
|
|
21
|
+
'text-icon-secondary',
|
|
22
|
+
'text-icon-tertiary',
|
|
23
|
+
'text-icon-accent',
|
|
24
|
+
'text-icon-success',
|
|
25
|
+
'text-icon-warning',
|
|
26
|
+
'text-icon-danger',
|
|
27
|
+
'text-icon-blue',
|
|
28
|
+
'text-icon-orange',
|
|
29
|
+
'text-icon-sky',
|
|
30
30
|
];
|
|
31
31
|
|
|
32
32
|
export const backgroundColors = [
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
33
|
+
'bg-surface',
|
|
34
|
+
'bg-surface-secondary',
|
|
35
|
+
'bg-base',
|
|
36
|
+
'bg-base-inverse',
|
|
37
|
+
'bg-neutral',
|
|
38
|
+
'bg-neutral-hover',
|
|
39
|
+
'bg-neutral-darker',
|
|
40
|
+
'bg-neutral-darker-hover',
|
|
41
|
+
'bg-neutral-inverse',
|
|
42
|
+
'bg-neutral-inverse-hover',
|
|
43
|
+
'bg-accent',
|
|
44
|
+
'bg-accent-hover',
|
|
45
|
+
'bg-accent-inverse',
|
|
46
|
+
'bg-accent-inverse-hover',
|
|
47
|
+
'bg-success',
|
|
48
|
+
'bg-success-hover',
|
|
49
|
+
'bg-success-inverse',
|
|
50
|
+
'bg-success-inverse-hover',
|
|
51
|
+
'bg-warning',
|
|
52
|
+
'bg-warning-hover',
|
|
53
|
+
'bg-warning-inverse',
|
|
54
|
+
'bg-warning-inverse-hover',
|
|
55
|
+
'bg-danger',
|
|
56
|
+
'bg-danger-hover',
|
|
57
|
+
'bg-danger-inverse',
|
|
58
|
+
'bg-danger-inverse-hover',
|
|
59
|
+
'bg-blue',
|
|
60
|
+
'bg-blue-hover',
|
|
61
|
+
'bg-blue-inverse',
|
|
62
|
+
'bg-orange',
|
|
63
|
+
'bg-orange-hover',
|
|
64
|
+
'bg-orange-inverse',
|
|
65
|
+
'bg-orange-inverse-hover',
|
|
66
|
+
'bg-sky',
|
|
67
|
+
'bg-sky-hover',
|
|
68
|
+
'bg-sky-inverse',
|
|
69
|
+
'bg-sky-inverse-hover',
|
|
70
|
+
'bg-pink-inverse',
|
|
71
|
+
'bg-lime-inverse',
|
|
72
72
|
];
|
|
73
73
|
|
|
74
74
|
export const borders = [
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
75
|
+
'border-static',
|
|
76
|
+
'border-interactive',
|
|
77
|
+
'border-hover',
|
|
78
|
+
'border-focus',
|
|
79
|
+
'border-danger',
|
|
80
|
+
'border-input',
|
|
81
|
+
'border-transparent',
|
|
82
|
+
'border-blue-inverse',
|
|
83
|
+
'border-orange-inverse',
|
|
84
|
+
'border-pink-inverse',
|
|
85
|
+
'border-lime-inverse',
|
|
86
|
+
'border-neutral-light',
|
|
87
87
|
];
|
|
88
88
|
|
|
89
89
|
export const shadows = [
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
90
|
+
'shadow',
|
|
91
|
+
'shadow-none',
|
|
92
|
+
'shadow-menu',
|
|
93
|
+
'shadow-nav',
|
|
94
|
+
'shadow-calendar',
|
|
95
|
+
'shadow-container',
|
|
96
|
+
'shadow-panel',
|
|
97
|
+
'shadow-input',
|
|
98
|
+
'shadow-outline',
|
|
99
|
+
'shadow-focus',
|
|
100
100
|
];
|
|
101
101
|
|
|
102
102
|
export const textSizes = [
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
103
|
+
'text-xxs',
|
|
104
|
+
'text-xs',
|
|
105
|
+
'text-sm',
|
|
106
|
+
'text-md',
|
|
107
|
+
'text-lg',
|
|
108
|
+
'text-xl',
|
|
109
|
+
'text-2xl',
|
|
110
|
+
'text-3xl',
|
|
111
|
+
'text-4xl',
|
|
112
112
|
];
|
|
113
113
|
|
|
114
114
|
export const fonts = ['font-medium', 'font-semibold', 'font-bold', 'font-normal'];
|
|
115
115
|
|
|
116
116
|
export const badges = [
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
117
|
+
'badge-neutral',
|
|
118
|
+
'badge-success',
|
|
119
|
+
'badge-warning',
|
|
120
|
+
'badge-progress',
|
|
121
|
+
'badge-error',
|
|
122
|
+
'badge-md',
|
|
123
|
+
'badge-sm',
|
|
124
124
|
];
|
|
125
125
|
|
|
126
126
|
export const tooltips = ['tooltip-top', 'tooltip-right', 'tooltip-bottom', 'tooltip-left'];
|
|
@@ -128,24 +128,24 @@ export const tooltips = ['tooltip-top', 'tooltip-right', 'tooltip-bottom', 'tool
|
|
|
128
128
|
export const sizes = ['h-5', 'w-5', 'min-w-5', 'h-7', 'w-7', 'min-w-7'];
|
|
129
129
|
|
|
130
130
|
export const display = [
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
131
|
+
'flex',
|
|
132
|
+
'grow',
|
|
133
|
+
'items-center',
|
|
134
|
+
'justify-center',
|
|
135
|
+
'flex-row',
|
|
136
|
+
'flex-col',
|
|
137
|
+
'px-0.5',
|
|
138
|
+
'px-2',
|
|
139
|
+
'py-1',
|
|
140
140
|
];
|
|
141
141
|
|
|
142
142
|
export const rounded = [
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
143
|
+
'rounded',
|
|
144
|
+
'rounded-full',
|
|
145
|
+
'rounded-lg',
|
|
146
|
+
'rounded-xl',
|
|
147
|
+
'rounded-2xl',
|
|
148
|
+
'rounded-md',
|
|
149
149
|
];
|
|
150
150
|
|
|
151
151
|
export const tables = ['table-fixed', 'table-auto'];
|
|
@@ -153,84 +153,84 @@ export const tables = ['table-fixed', 'table-auto'];
|
|
|
153
153
|
export const leading = ['leading-4', 'leading-5', 'leading-6', 'leading-7'];
|
|
154
154
|
|
|
155
155
|
export const flexLayout = [
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
156
|
+
'flex',
|
|
157
|
+
'inline-flex',
|
|
158
|
+
'block',
|
|
159
|
+
'inline-block',
|
|
160
|
+
'items-center',
|
|
161
|
+
'items-start',
|
|
162
|
+
'items-end',
|
|
163
|
+
'justify-center',
|
|
164
|
+
'justify-between',
|
|
165
|
+
'justify-start',
|
|
166
|
+
'justify-end',
|
|
167
|
+
'flex-1',
|
|
168
|
+
'flex-row',
|
|
169
|
+
'flex-col',
|
|
170
|
+
'text-left',
|
|
171
|
+
'text-right',
|
|
172
|
+
'text-center',
|
|
173
|
+
'text-base',
|
|
174
|
+
'gap-1',
|
|
175
|
+
'gap-1.5',
|
|
176
|
+
'gap-2',
|
|
177
|
+
'gap-3',
|
|
178
|
+
'gap-4',
|
|
179
|
+
'space-x-1',
|
|
180
|
+
'space-x-2',
|
|
181
|
+
'space-x-3',
|
|
182
|
+
'space-x-4',
|
|
183
|
+
'space-y-1',
|
|
184
|
+
'space-y-2',
|
|
185
|
+
'space-y-3',
|
|
186
|
+
'space-y-4',
|
|
187
187
|
];
|
|
188
188
|
|
|
189
189
|
export const spacing = [
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
190
|
+
'p-1',
|
|
191
|
+
'p-2',
|
|
192
|
+
'p-3',
|
|
193
|
+
'p-4',
|
|
194
|
+
'px-0',
|
|
195
|
+
'px-2',
|
|
196
|
+
'px-3',
|
|
197
|
+
'px-5',
|
|
198
|
+
'px-6',
|
|
199
|
+
'py-0',
|
|
200
|
+
'py-1',
|
|
201
|
+
'py-2',
|
|
202
|
+
'py-3',
|
|
203
|
+
'py-4',
|
|
204
|
+
'py-12',
|
|
205
|
+
'mb-2',
|
|
206
206
|
];
|
|
207
207
|
|
|
208
208
|
export const sizing = [
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
209
|
+
'h-4',
|
|
210
|
+
'h-5',
|
|
211
|
+
'h-6',
|
|
212
|
+
'h-7',
|
|
213
|
+
'h-8',
|
|
214
|
+
'h-10',
|
|
215
|
+
'h-11',
|
|
216
|
+
'h-12',
|
|
217
|
+
'h-16',
|
|
218
|
+
'h-28',
|
|
219
|
+
'h-screen',
|
|
220
|
+
'w-0.5',
|
|
221
|
+
'w-4',
|
|
222
|
+
'w-5',
|
|
223
|
+
'w-6',
|
|
224
|
+
'w-7',
|
|
225
|
+
'w-8',
|
|
226
|
+
'w-10',
|
|
227
|
+
'w-full',
|
|
228
|
+
'min-w-5',
|
|
229
|
+
'min-w-7',
|
|
230
|
+
'size-4',
|
|
231
|
+
'size-5',
|
|
232
|
+
'size-6',
|
|
233
|
+
'sm:w-[460px]',
|
|
234
234
|
];
|
|
235
235
|
|
|
236
236
|
export const positioning = ['absolute', 'relative', 'top-20', 'left-18', 'z-10', 'z-[1]'];
|
|
@@ -238,222 +238,222 @@ export const positioning = ['absolute', 'relative', 'top-20', 'left-18', 'z-10',
|
|
|
238
238
|
export const cursors = ['cursor-pointer', 'cursor-wait', 'cursor-default'];
|
|
239
239
|
|
|
240
240
|
export const misc = [
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
241
|
+
'overflow-hidden',
|
|
242
|
+
'overflow-x-auto',
|
|
243
|
+
'duration-150',
|
|
244
|
+
'active:red',
|
|
245
|
+
'active:bg-neutral',
|
|
246
|
+
'active:bg-neutral-inverse',
|
|
247
|
+
'[&>*>.control-button]:flex-col',
|
|
248
|
+
'[&>svg]:w-4',
|
|
249
|
+
'[&>svg]:h-4',
|
|
250
|
+
'[&>svg]:w-5',
|
|
251
|
+
'[&>svg]:h-5',
|
|
252
252
|
];
|
|
253
253
|
|
|
254
254
|
// Setting all daisyui classes here so we can add them to the safelist
|
|
255
255
|
export const daisyui = [
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
256
|
+
// Actions
|
|
257
|
+
'btn',
|
|
258
|
+
'btn-primary',
|
|
259
|
+
'btn-secondary',
|
|
260
|
+
'btn-accent',
|
|
261
|
+
'btn-info',
|
|
262
|
+
'btn-success',
|
|
263
|
+
'btn-warning',
|
|
264
|
+
'btn-error',
|
|
265
|
+
'btn-ghost',
|
|
266
|
+
'btn-link',
|
|
267
|
+
'btn-outline',
|
|
268
|
+
'btn-active',
|
|
269
|
+
'btn-disabled',
|
|
270
|
+
'btn-lg',
|
|
271
|
+
'btn-md',
|
|
272
|
+
'btn-sm',
|
|
273
|
+
'btn-xs',
|
|
274
|
+
'btn-circle',
|
|
275
|
+
'btn-square',
|
|
276
|
+
|
|
277
|
+
// Dropdown
|
|
278
|
+
'dropdown',
|
|
279
|
+
'dropdown-content',
|
|
280
|
+
'dropdown-end',
|
|
281
|
+
'dropdown-top',
|
|
282
|
+
'dropdown-bottom',
|
|
283
|
+
'dropdown-left',
|
|
284
|
+
'dropdown-right',
|
|
285
|
+
'dropdown-hover',
|
|
286
|
+
'dropdown-open',
|
|
287
|
+
|
|
288
|
+
// Modal
|
|
289
|
+
'modal',
|
|
290
|
+
'modal-box',
|
|
291
|
+
'modal-action',
|
|
292
|
+
'modal-backdrop',
|
|
293
|
+
'modal-open',
|
|
294
|
+
'modal-toggle',
|
|
295
|
+
|
|
296
|
+
// Data Display
|
|
297
|
+
'avatar',
|
|
298
|
+
'avatar-group',
|
|
299
|
+
'badge',
|
|
300
|
+
'badge-primary',
|
|
301
|
+
'badge-secondary',
|
|
302
|
+
'badge-accent',
|
|
303
|
+
'badge-outline',
|
|
304
|
+
'card',
|
|
305
|
+
'card-title',
|
|
306
|
+
'card-body',
|
|
307
|
+
'card-actions',
|
|
308
|
+
'carousel',
|
|
309
|
+
'carousel-item',
|
|
310
|
+
'collapse',
|
|
311
|
+
'collapse-title',
|
|
312
|
+
'collapse-content',
|
|
313
|
+
'table',
|
|
314
|
+
'table-zebra',
|
|
315
|
+
'table-pin-rows',
|
|
316
|
+
'table-pin-cols',
|
|
317
|
+
|
|
318
|
+
// Navigation
|
|
319
|
+
'menu',
|
|
320
|
+
'menu-title',
|
|
321
|
+
'menu-dropdown',
|
|
322
|
+
'menu-horizontal',
|
|
323
|
+
'menu-vertical',
|
|
324
|
+
'navbar',
|
|
325
|
+
'navbar-start',
|
|
326
|
+
'navbar-center',
|
|
327
|
+
'navbar-end',
|
|
328
|
+
'tabs',
|
|
329
|
+
'tab',
|
|
330
|
+
'tab-active',
|
|
331
|
+
'tab-disabled',
|
|
332
|
+
|
|
333
|
+
// Feedback
|
|
334
|
+
'alert',
|
|
335
|
+
'alert-info',
|
|
336
|
+
'alert-success',
|
|
337
|
+
'alert-warning',
|
|
338
|
+
'alert-error',
|
|
339
|
+
'loading',
|
|
340
|
+
'skeleton',
|
|
341
|
+
'progress',
|
|
342
|
+
'radial-progress',
|
|
343
|
+
'toast',
|
|
344
|
+
'toast-start',
|
|
345
|
+
'toast-center',
|
|
346
|
+
'toast-end',
|
|
347
|
+
'tooltip',
|
|
348
|
+
'tooltip-open',
|
|
349
|
+
|
|
350
|
+
// Data Input
|
|
351
|
+
'checkbox',
|
|
352
|
+
'checkbox-primary',
|
|
353
|
+
'checkbox-secondary',
|
|
354
|
+
'checkbox-accent',
|
|
355
|
+
'input',
|
|
356
|
+
'input-bordered',
|
|
357
|
+
'input-primary',
|
|
358
|
+
'input-secondary',
|
|
359
|
+
'input-accent',
|
|
360
|
+
'input-error',
|
|
361
|
+
'input-disabled',
|
|
362
|
+
'input-lg',
|
|
363
|
+
'input-md',
|
|
364
|
+
'input-sm',
|
|
365
|
+
'input-xs',
|
|
366
|
+
'radio',
|
|
367
|
+
'radio-primary',
|
|
368
|
+
'radio-secondary',
|
|
369
|
+
'radio-accent',
|
|
370
|
+
'range',
|
|
371
|
+
'range-primary',
|
|
372
|
+
'range-secondary',
|
|
373
|
+
'range-accent',
|
|
374
|
+
'select',
|
|
375
|
+
'select-bordered',
|
|
376
|
+
'select-primary',
|
|
377
|
+
'select-secondary',
|
|
378
|
+
'select-accent',
|
|
379
|
+
'toggle',
|
|
380
|
+
'toggle-primary',
|
|
381
|
+
'toggle-secondary',
|
|
382
|
+
'toggle-accent',
|
|
383
|
+
|
|
384
|
+
// Layout
|
|
385
|
+
'drawer',
|
|
386
|
+
'drawer-toggle',
|
|
387
|
+
'drawer-content',
|
|
388
|
+
'drawer-side',
|
|
389
|
+
'drawer-overlay',
|
|
390
|
+
'drawer-end',
|
|
391
|
+
'footer',
|
|
392
|
+
'footer-title',
|
|
393
|
+
'footer-center',
|
|
394
|
+
'hero',
|
|
395
|
+
'hero-content',
|
|
396
|
+
'hero-overlay',
|
|
397
|
+
'indicator',
|
|
398
|
+
'indicator-item',
|
|
399
|
+
'indicator-start',
|
|
400
|
+
'indicator-center',
|
|
401
|
+
'indicator-end',
|
|
402
|
+
'divider',
|
|
403
|
+
'divider-horizontal',
|
|
404
|
+
'divider-vertical',
|
|
405
|
+
'join',
|
|
406
|
+
'join-item',
|
|
407
|
+
'stack',
|
|
408
408
|
];
|
|
409
409
|
|
|
410
410
|
// Add hover variants
|
|
411
411
|
export const hoverVariants = [
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
412
|
+
'hover:bg-neutral',
|
|
413
|
+
'hover:bg-neutral-hover',
|
|
414
|
+
'hover:bg-neutral-darker-hover',
|
|
415
|
+
'hover:bg-neutral-inverse-hover',
|
|
416
|
+
'hover:bg-accent-hover',
|
|
417
|
+
'hover:bg-accent-inverse-hover',
|
|
418
|
+
'hover:bg-success-hover',
|
|
419
|
+
'hover:bg-success-inverse-hover',
|
|
420
|
+
'hover:bg-warning-hover',
|
|
421
|
+
'hover:bg-warning-inverse-hover',
|
|
422
|
+
'hover:bg-danger-hover',
|
|
423
|
+
'hover:bg-danger-inverse-hover',
|
|
424
|
+
'hover:bg-blue-hover',
|
|
425
|
+
'hover:bg-orange-hover',
|
|
426
|
+
'hover:bg-orange-inverse-hover',
|
|
427
|
+
'hover:bg-sky-hover',
|
|
428
|
+
'hover:bg-sky-inverse-hover',
|
|
429
429
|
];
|
|
430
430
|
|
|
431
431
|
// Add focus variants
|
|
432
432
|
export const focusVariants = [
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
433
|
+
'focus:outline-none',
|
|
434
|
+
'focus:ring-2',
|
|
435
|
+
'focus:ring-offset-2',
|
|
436
|
+
'focus:border-focus',
|
|
437
|
+
'focus-visible:outline-none',
|
|
438
|
+
'focus-visible:ring-2',
|
|
439
439
|
];
|
|
440
440
|
|
|
441
441
|
// Add disabled variants
|
|
442
442
|
export const disabledVariants = [
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
443
|
+
'disabled:bg-neutral',
|
|
444
|
+
'disabled:opacity-50',
|
|
445
|
+
'disabled:cursor-not-allowed',
|
|
446
|
+
'disabled:text-tertiary',
|
|
447
|
+
'disabled:border-none',
|
|
448
448
|
];
|
|
449
449
|
|
|
450
450
|
// Add active variants
|
|
451
451
|
export const activeVariants = [
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
452
|
+
'active:bg-neutral',
|
|
453
|
+
'active:bg-neutral-inverse',
|
|
454
|
+
'active:red',
|
|
455
|
+
'active:scale-95',
|
|
456
|
+
'active:transform',
|
|
457
457
|
];
|
|
458
458
|
|
|
459
459
|
// Add group variants
|
|
@@ -461,31 +461,31 @@ export const groupVariants = ['group-first:invisible', 'group-last:invisible'];
|
|
|
461
461
|
|
|
462
462
|
// Export all arrays as a single safelist
|
|
463
463
|
export const safelist = [
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
464
|
+
...textColors,
|
|
465
|
+
...iconColors,
|
|
466
|
+
...backgroundColors,
|
|
467
|
+
...borders,
|
|
468
|
+
...shadows,
|
|
469
|
+
...textSizes,
|
|
470
|
+
...fonts,
|
|
471
|
+
...badges,
|
|
472
|
+
...tooltips,
|
|
473
|
+
...sizes,
|
|
474
|
+
...display,
|
|
475
|
+
...rounded,
|
|
476
|
+
...tables,
|
|
477
|
+
...flexLayout,
|
|
478
|
+
...spacing,
|
|
479
|
+
...sizing,
|
|
480
|
+
...positioning,
|
|
481
|
+
...cursors,
|
|
482
|
+
...misc,
|
|
483
|
+
...daisyui,
|
|
484
|
+
...hoverVariants,
|
|
485
|
+
...focusVariants,
|
|
486
|
+
...disabledVariants,
|
|
487
|
+
...activeVariants,
|
|
488
|
+
...groupVariants,
|
|
489
489
|
];
|
|
490
490
|
|
|
491
491
|
export const responsive = ['sm:w-[460px]', 'md:flex', 'lg:block', 'sm:gap-2'];
|