@widgetic/design-system 0.3.89 → 0.5.8
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 +122 -690
- package/dist/components/CopyableHeader.svelte +11 -13
- package/dist/components/EmptyState.svelte +4 -2
- package/dist/components/EmptyState.svelte.d.ts +2 -1
- package/dist/components/GenerateLoader.svelte +50 -0
- package/dist/components/GenerateLoader.svelte.d.ts +21 -0
- package/dist/components/PasswordInput.svelte +5 -1
- package/dist/components/WScrollArea.svelte +3 -3
- package/dist/components/debug-grid/DebugGrid.svelte +1 -1
- package/dist/components/ic/browser/BrowserInputController.svelte +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/modals/BaseModal.svelte +1 -1
- package/dist/components/modals/BaseModal.svelte.d.ts +1 -1
- package/dist/components/modals/NewItemDialog.svelte +1 -1
- package/dist/components/modals/Portal.svelte +14 -15
- package/dist/components/modals/RenameDialog.svelte +7 -6
- package/dist/components/navigation/Breadcrumbs.svelte +65 -39
- package/dist/components/pdf/PDFViewer.svelte +10 -19
- package/dist/components/pdf/PDFViewer.svelte.d.ts +4 -4
- package/dist/components/search-input/SearchInput.svelte +3 -8
- package/dist/components/search-input/index.d.ts +3 -14
- package/dist/components/search-input/index.js +1 -2
- package/dist/components/search-input/index2.d.ts +14 -0
- package/dist/components/shad-editor/README.md +18 -0
- package/dist/components/shad-editor/colorpicker.svelte.d.ts +2 -2
- package/dist/components/shad-editor/custom/code-extended.svelte.d.ts +2 -2
- package/dist/components/shad-editor/custom/image-extended-component.svelte +1 -1
- package/dist/components/shad-editor/custom/image-extended-component.svelte.d.ts +2 -2
- package/dist/components/shad-editor/editor-toolbar.svelte.d.ts +2 -2
- package/dist/components/shad-editor/editor.css +8 -4
- package/dist/components/shad-editor/icons/block-quote.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/bold.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/buttle-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/code.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/highlighter.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/image.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/italic.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/link.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/ordered-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/quickcolor.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/redo.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/search-replace.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/strikethrough.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/subscript.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/superscript.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/table.svelte +3 -3
- package/dist/components/shad-editor/icons/table.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/task-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/text.svelte +1 -1
- package/dist/components/shad-editor/icons/text.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/textalign.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/textcolor.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/underline.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/undo.svelte.d.ts +2 -2
- package/dist/components/shad-editor/onedark.css +3 -0
- package/dist/components/shad-editor/shad-editor.svelte +1 -1
- package/dist/components/shad-editor/shad-editor.svelte.d.ts +2 -2
- package/dist/components/toast/ToasterModal.svelte +15 -9
- package/dist/components/toast/ToasterModal.svelte.d.ts +2 -2
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +4 -3
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +4 -3
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +6 -3
- package/dist/components/ui/alert/index.d.ts +2 -2
- package/dist/components/ui/badge/badge.svelte +1 -1
- package/dist/components/ui/badge/badge.svelte.d.ts +8 -55
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte.d.ts +8 -3
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +2 -2
- package/dist/components/ui/button/button.svelte +1 -1
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-day.svelte +4 -4
- package/dist/components/ui/calendar/calendar-day.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-content.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-description.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-footer.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-header.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-title.svelte.d.ts +7 -3
- package/dist/components/ui/card/card.svelte +1 -1
- package/dist/components/ui/card/card.svelte.d.ts +2 -2
- package/dist/components/ui/checkbox/checkbox.svelte +1 -1
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +2 -2
- package/dist/components/ui/collapsible/index.d.ts +1 -12
- package/dist/components/ui/command/command-dialog.svelte +1 -1
- package/dist/components/ui/command/command-dialog.svelte.d.ts +11 -3
- package/dist/components/ui/command/command-empty.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-group.svelte.d.ts +6 -3
- package/dist/components/ui/command/command-input.svelte +1 -1
- package/dist/components/ui/command/command-input.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-item.svelte +1 -1
- package/dist/components/ui/command/command-item.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-link-item.svelte +1 -1
- package/dist/components/ui/command/command-link-item.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-list.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-separator.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +2 -2
- package/dist/components/ui/command/command.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-content.svelte +1 -1
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +9 -3
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +6 -3
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +8 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +7 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/index.d.ts +6 -14
- package/dist/components/ui/hover-card/hover-card-content.svelte +1 -1
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +6 -3
- package/dist/components/ui/input/input.svelte +1 -1
- package/dist/components/ui/input/input.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-slot.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp.svelte +1 -1
- package/dist/components/ui/input-otp/input-otp.svelte.d.ts +2 -2
- package/dist/components/ui/label/label.svelte.d.ts +2 -2
- package/dist/components/ui/popover/popover-content.svelte +1 -1
- package/dist/components/ui/popover/popover-content.svelte.d.ts +6 -3
- package/dist/components/ui/progress/progress.svelte.d.ts +2 -2
- package/dist/components/ui/radio-group/radio-group-item.svelte +1 -1
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +2 -2
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-day.svelte +6 -6
- package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +2 -2
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +2 -2
- package/dist/components/ui/scroll-area/scroll-area.svelte.d.ts +8 -3
- package/dist/components/ui/select/index.d.ts +1 -1
- package/dist/components/ui/select/select-content.svelte.d.ts +6 -3
- package/dist/components/ui/select/select-group-heading.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-item.svelte +1 -1
- package/dist/components/ui/select/select-item.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-separator.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-trigger.svelte +1 -1
- package/dist/components/ui/select/select-trigger.svelte.d.ts +2 -2
- package/dist/components/ui/separator/separator.svelte.d.ts +2 -2
- package/dist/components/ui/slider/slider.svelte +1 -1
- package/dist/components/ui/slider/slider.svelte.d.ts +2 -2
- package/dist/components/ui/sonner/sonner.svelte.d.ts +5 -4
- package/dist/components/ui/switch/switch.svelte +1 -1
- package/dist/components/ui/switch/switch.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-body.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-caption.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-cell.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-footer.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-head.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-header.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-row.svelte.d.ts +2 -2
- package/dist/components/ui/table/table.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-content.svelte +1 -1
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-trigger.svelte +1 -1
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +2 -2
- package/dist/components/ui/textarea/textarea.svelte +1 -1
- package/dist/components/ui/textarea/textarea.svelte.d.ts +2 -2
- package/dist/components/ui/toggle/toggle.svelte +1 -1
- package/dist/components/ui/toggle/toggle.svelte.d.ts +8 -78
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +2 -2
- package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +5 -6
- package/dist/components/ui/tooltip/index.d.ts +4 -4
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +2 -2
- package/dist/components/widget-system/Moveable.svelte +100 -23
- package/dist/components/widget-system/Moveable.svelte.d.ts +3 -1
- package/dist/icons/CheckerBoardBackground.svelte.d.ts +3 -3
- package/dist/icons/OpacitySliderArrows.svelte.d.ts +3 -3
- package/dist/icons/eye-off.svg +1 -0
- package/dist/icons/eye.svg +1 -0
- package/dist/shad-editor/index.d.ts +1 -0
- package/dist/shad-editor/index.js +1 -0
- package/dist/styles/fonts.css +59 -47
- package/dist/styles/global.css +119 -52
- package/package.json +164 -36
- package/tailwind.config.ts +13 -6
package/dist/styles/fonts.css
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/* Tailwind config */
|
|
2
|
+
/* @config "../../../tailwind.config.ts"; */
|
|
3
|
+
|
|
1
4
|
/*** GLOBAL STYLE FONTS ***/
|
|
2
5
|
|
|
3
6
|
/* BL MELODY FAMILY: rules and classes */
|
|
@@ -6,7 +9,8 @@
|
|
|
6
9
|
|
|
7
10
|
@font-face {
|
|
8
11
|
font-family: 'BL Melody';
|
|
9
|
-
|
|
12
|
+
/* Absolute /fonts/… so consumer Vite builds (site) resolve from static/, not _app/immutable/assets/ */
|
|
13
|
+
src: url('/fonts/BLMelody/BLMelody-Medium.woff2') format('woff2');
|
|
10
14
|
font-weight: 500;
|
|
11
15
|
font-style: normal;
|
|
12
16
|
font-display: swap;
|
|
@@ -14,7 +18,7 @@
|
|
|
14
18
|
|
|
15
19
|
@font-face {
|
|
16
20
|
font-family: 'BL Melody';
|
|
17
|
-
src: url('
|
|
21
|
+
src: url('/fonts/BLMelody/BLMelody-SemiBold.woff2') format('woff2');
|
|
18
22
|
font-weight: 600;
|
|
19
23
|
font-style: normal;
|
|
20
24
|
font-display: swap;
|
|
@@ -22,53 +26,54 @@
|
|
|
22
26
|
|
|
23
27
|
@font-face {
|
|
24
28
|
font-family: 'BL Melody';
|
|
25
|
-
src: url('
|
|
29
|
+
src: url('/fonts/BLMelody/BLMelody-Bold.woff2') format('woff2');
|
|
26
30
|
font-weight: 700;
|
|
27
31
|
font-style: normal;
|
|
28
32
|
font-display: swap;
|
|
29
33
|
}
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
/* Convert classes to utilities */
|
|
36
|
+
@utility h1 {
|
|
32
37
|
font-family: 'BL Melody';
|
|
33
38
|
font-weight: 500;
|
|
34
39
|
font-size: 144px;
|
|
35
40
|
line-height: 0.85;
|
|
36
|
-
|
|
41
|
+
}
|
|
37
42
|
|
|
38
|
-
|
|
43
|
+
@utility h2 {
|
|
39
44
|
font-family: 'BL Melody';
|
|
40
45
|
font-weight: 500;
|
|
41
46
|
font-size: 72px;
|
|
42
47
|
line-height: 0.96;
|
|
43
|
-
|
|
48
|
+
}
|
|
44
49
|
|
|
45
|
-
|
|
50
|
+
@utility h3 {
|
|
46
51
|
font-family: 'BL Melody';
|
|
47
52
|
font-weight: 700;
|
|
48
53
|
font-size: 56px;
|
|
49
54
|
line-height: 1;
|
|
50
|
-
|
|
55
|
+
}
|
|
51
56
|
|
|
52
|
-
|
|
57
|
+
@utility h4 {
|
|
53
58
|
font-family: 'BL Melody';
|
|
54
59
|
font-weight: 600;
|
|
55
60
|
font-size: 32px;
|
|
56
61
|
line-height: 1.1;
|
|
57
|
-
|
|
62
|
+
}
|
|
58
63
|
|
|
59
|
-
|
|
64
|
+
@utility h5 {
|
|
60
65
|
font-family: 'BL Melody';
|
|
61
66
|
font-weight: 500;
|
|
62
67
|
font-size: 24px;
|
|
63
68
|
line-height: 1.2;
|
|
64
|
-
|
|
69
|
+
}
|
|
65
70
|
|
|
66
|
-
|
|
71
|
+
@utility h6 {
|
|
67
72
|
font-family: 'BL Melody';
|
|
68
73
|
font-weight: 600;
|
|
69
74
|
font-size: 14px;
|
|
70
75
|
line-height: 1;
|
|
71
|
-
|
|
76
|
+
}
|
|
72
77
|
|
|
73
78
|
|
|
74
79
|
|
|
@@ -76,7 +81,7 @@
|
|
|
76
81
|
/* Riegla Regular */
|
|
77
82
|
@font-face {
|
|
78
83
|
font-family: 'Riegla Regular';
|
|
79
|
-
src: url('
|
|
84
|
+
src: url('/fonts/Riegla/Riegla-Regular.otf') format('opentype');
|
|
80
85
|
font-weight: 400;
|
|
81
86
|
font-style: normal;
|
|
82
87
|
font-display: swap;
|
|
@@ -85,7 +90,7 @@
|
|
|
85
90
|
/* Riegla Italic */
|
|
86
91
|
@font-face {
|
|
87
92
|
font-family: 'Riegla Regular';
|
|
88
|
-
src: url('
|
|
93
|
+
src: url('/fonts/Riegla/Riegla-Italic.otf') format('opentype');
|
|
89
94
|
font-weight: 400;
|
|
90
95
|
font-style: italic;
|
|
91
96
|
font-display: swap;
|
|
@@ -94,7 +99,7 @@
|
|
|
94
99
|
/* Riegla Bold */
|
|
95
100
|
@font-face {
|
|
96
101
|
font-family: 'Riegla Regular';
|
|
97
|
-
src: url('
|
|
102
|
+
src: url('/fonts/Riegla/Riegla-Bold.otf') format('opentype');
|
|
98
103
|
font-weight: 700;
|
|
99
104
|
font-style: normal;
|
|
100
105
|
font-display: swap;
|
|
@@ -103,7 +108,7 @@
|
|
|
103
108
|
/* Riegla Bold Italic */
|
|
104
109
|
@font-face {
|
|
105
110
|
font-family: 'Riegla Regular';
|
|
106
|
-
src: url('
|
|
111
|
+
src: url('/fonts/Riegla/Riegla-Bold Italic.otf') format('opentype');
|
|
107
112
|
font-weight: 700;
|
|
108
113
|
font-style: italic;
|
|
109
114
|
font-display: swap;
|
|
@@ -112,61 +117,68 @@
|
|
|
112
117
|
/* Riegla Medium */
|
|
113
118
|
@font-face {
|
|
114
119
|
font-family: 'Riegla Medium';
|
|
115
|
-
src: url('
|
|
120
|
+
src: url('/fonts/Riegla/RieglaMedium-Regular.otf') format('opentype');
|
|
116
121
|
font-weight: 400;
|
|
117
122
|
font-style: normal;
|
|
118
123
|
font-display: swap;
|
|
119
124
|
}
|
|
120
125
|
|
|
121
|
-
|
|
126
|
+
@utility subtitle1 {
|
|
122
127
|
font-family: 'Riegla Regular';
|
|
123
128
|
font-size: 32px;
|
|
124
129
|
line-height: 1.2;
|
|
125
|
-
|
|
130
|
+
}
|
|
126
131
|
|
|
127
|
-
|
|
132
|
+
@utility subtitle2 {
|
|
128
133
|
font-family: 'Riegla Regular';
|
|
129
134
|
font-size: 24px;
|
|
130
135
|
line-height: 1.3;
|
|
131
|
-
|
|
136
|
+
}
|
|
132
137
|
|
|
133
|
-
|
|
134
|
-
font-family: 'Riegla Medium'
|
|
135
|
-
font-size: 18px
|
|
136
|
-
font-weight: 400
|
|
137
|
-
line-height: 1.4
|
|
138
|
-
|
|
138
|
+
@utility body-medium {
|
|
139
|
+
font-family: 'Riegla Medium';
|
|
140
|
+
font-size: 18px;
|
|
141
|
+
font-weight: 400;
|
|
142
|
+
line-height: 1.4;
|
|
143
|
+
}
|
|
139
144
|
|
|
140
|
-
|
|
141
|
-
font-family: 'Riegla Regular'
|
|
142
|
-
font-size: 18px
|
|
143
|
-
line-height: 1.4
|
|
144
|
-
|
|
145
|
+
@utility body {
|
|
146
|
+
font-family: 'Riegla Regular';
|
|
147
|
+
font-size: 18px;
|
|
148
|
+
line-height: 1.4;
|
|
149
|
+
}
|
|
145
150
|
|
|
146
|
-
|
|
147
|
-
font-family: 'Riegla Regular'
|
|
148
|
-
font-size:
|
|
149
|
-
line-height: 1.4
|
|
150
|
-
|
|
151
|
+
@utility body-bold {
|
|
152
|
+
font-family: 'Riegla Regular';
|
|
153
|
+
font-size: 18px;
|
|
154
|
+
line-height: 1.4;
|
|
155
|
+
font-weight: 700;
|
|
156
|
+
}
|
|
151
157
|
|
|
152
|
-
|
|
158
|
+
@utility subtext {
|
|
159
|
+
font-family: 'Riegla Regular';
|
|
160
|
+
font-size: 16px;
|
|
161
|
+
line-height: 1.4;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@utility caption {
|
|
153
165
|
font-family: 'Riegla Medium';
|
|
154
|
-
font-weight: 400
|
|
166
|
+
font-weight: 400;
|
|
155
167
|
font-size: 14px;
|
|
156
168
|
line-height: 1.2;
|
|
157
|
-
|
|
169
|
+
}
|
|
158
170
|
|
|
159
|
-
|
|
171
|
+
@utility link {
|
|
160
172
|
font-family: 'Riegla Medium';
|
|
161
173
|
font-size: 14px;
|
|
162
174
|
line-height: 1;
|
|
163
175
|
text-decoration: underline;
|
|
164
|
-
|
|
176
|
+
}
|
|
165
177
|
|
|
166
|
-
|
|
178
|
+
@utility tag {
|
|
167
179
|
font-family: 'Riegla Medium';
|
|
168
180
|
font-size: 11px;
|
|
169
181
|
line-height: 16px;
|
|
170
182
|
text-transform: uppercase;
|
|
171
|
-
|
|
183
|
+
}
|
|
172
184
|
|
package/dist/styles/global.css
CHANGED
|
@@ -1,16 +1,77 @@
|
|
|
1
|
-
/* Tailwind
|
|
2
|
-
@import
|
|
3
|
-
|
|
4
|
-
/* Taildind 3 imports */
|
|
5
|
-
@import 'tailwindcss/base';
|
|
6
|
-
@import 'tailwindcss/components';
|
|
7
|
-
@import 'tailwindcss/utilities';
|
|
1
|
+
/* Tailwind import(v4) */
|
|
2
|
+
@import 'tailwindcss';
|
|
8
3
|
|
|
9
4
|
/* Import fonts css */
|
|
5
|
+
/* @import './fonts.css' layer(utilities); */
|
|
10
6
|
@import './fonts.css';
|
|
11
7
|
|
|
8
|
+
/* Tailwind config load *after* main imports - needed for tailwind 4
|
|
9
|
+
go 3 levels up in development mode, 2 levels up in production mode*/
|
|
10
|
+
@config "../../tailwind.config.ts";
|
|
11
|
+
|
|
12
|
+
/* Widgetic DS palette as TW4 theme tokens (enables bg-grey2, text-forest-green, etc.) */
|
|
13
|
+
@theme {
|
|
14
|
+
--color-dark: hsl(var(--dark));
|
|
15
|
+
--color-deep-forest-green: hsl(var(--deep-forest-green));
|
|
16
|
+
--color-sage-green: hsl(var(--sage-green));
|
|
17
|
+
--color-sunny-yellow: hsl(var(--sunny-yellow));
|
|
18
|
+
--color-light-green: hsl(var(--light-green));
|
|
19
|
+
--color-forest-green: hsl(var(--forest-green));
|
|
20
|
+
--color-error: hsl(var(--error));
|
|
21
|
+
--color-light-error: hsl(var(--light-error));
|
|
22
|
+
--color-grey1: hsl(var(--grey1));
|
|
23
|
+
--color-grey2: hsl(var(--grey2));
|
|
24
|
+
--color-grey3: hsl(var(--grey3));
|
|
25
|
+
--color-grey4: hsl(var(--grey4));
|
|
26
|
+
--color-grey5: hsl(var(--grey5));
|
|
27
|
+
--color-grey6: hsl(var(--grey6));
|
|
28
|
+
--color-grey7: hsl(var(--grey7));
|
|
29
|
+
|
|
30
|
+
--radius-pill: 100px;
|
|
31
|
+
--radius-large: 15px;
|
|
32
|
+
--radius-medium: 12px;
|
|
33
|
+
--radius-small: 8px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Utility classes for border radius - Moved to top level */
|
|
37
|
+
/* NOTE: We define these custom utilities BEFORE the base layer
|
|
38
|
+
so they are available for @apply within the base layer if needed,
|
|
39
|
+
and Tailwind processes them correctly. */
|
|
40
|
+
@utility rounded-pill {
|
|
41
|
+
border-radius: var(--radius-pill);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@utility rounded-large {
|
|
45
|
+
border-radius: var(--radius-large);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@utility rounded-medium {
|
|
49
|
+
border-radius: var(--radius-medium);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@utility rounded-small {
|
|
53
|
+
border-radius: var(--radius-small);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/*
|
|
57
|
+
The default border color has changed to `currentcolor` in Tailwind CSS v4,
|
|
58
|
+
so we've added these compatibility styles to make sure everything still
|
|
59
|
+
looks the same as it did with Tailwind CSS v3.
|
|
60
|
+
|
|
61
|
+
If we ever want to remove these styles, we need to add an explicit border
|
|
62
|
+
color utility to any element that depends on these defaults.
|
|
63
|
+
*/
|
|
12
64
|
@layer base {
|
|
13
|
-
/*
|
|
65
|
+
/* Rule for Default border color fix from first @layer block */
|
|
66
|
+
*,
|
|
67
|
+
::after,
|
|
68
|
+
::before,
|
|
69
|
+
::backdrop,
|
|
70
|
+
::file-selector-button {
|
|
71
|
+
border-color: var(--color-gray-200, currentcolor);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* CSS Variables now defined globally on :root */
|
|
14
75
|
:root {
|
|
15
76
|
/* Site Grid Variables */
|
|
16
77
|
--site-column-width: 74px;
|
|
@@ -56,11 +117,10 @@
|
|
|
56
117
|
/* Icon Colors */
|
|
57
118
|
--icon-success: 142 71% 45%;
|
|
58
119
|
--icon-error: 0 84% 60%;
|
|
59
|
-
}
|
|
60
120
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
121
|
+
|
|
122
|
+
/* Widgetic Color Variables (Moved from .widgetic-colors) */
|
|
123
|
+
/* convert colors from hex to HSL (Hue, Saturation, Lightness) format */
|
|
64
124
|
--dark: 120 35.7% 9.4%;
|
|
65
125
|
--deep-forest-green: 115 24.1% 24.7%;
|
|
66
126
|
--sage-green: 108 25.4% 52.9%;
|
|
@@ -69,7 +129,6 @@
|
|
|
69
129
|
--forest-green: 90 16.7% 83.3%;
|
|
70
130
|
--error: 0 89% 65.7%;
|
|
71
131
|
--light-error: 0 45.5% 93.7%;
|
|
72
|
-
|
|
73
132
|
/* Greys */
|
|
74
133
|
--grey1: 0 0% 96.1%;
|
|
75
134
|
--grey2: 0 0% 94.1%;
|
|
@@ -78,11 +137,11 @@
|
|
|
78
137
|
--grey5: 0 0% 40%;
|
|
79
138
|
--grey6: 0 0% 26.7%;
|
|
80
139
|
--grey7: 0 0% 12.9%;
|
|
81
|
-
}
|
|
82
140
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
/*
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
/* Border radius values */
|
|
144
|
+
--radius: 0.5rem; /* Base radius used by shadcn borderRadius utilities (rounded-sm/md/lg/xl) */
|
|
86
145
|
--radius-pill: 100px; /* Pill/Extra large corner radius */
|
|
87
146
|
--radius-large: 15px; /* Large corner radius */
|
|
88
147
|
--radius-medium: 12px; /* Medium corner radius */
|
|
@@ -94,30 +153,21 @@
|
|
|
94
153
|
--breakpoint-tablet: 744px;
|
|
95
154
|
--breakpoint-desktop: 1156px;
|
|
96
155
|
}
|
|
97
|
-
/* Utility classes for border radius */
|
|
98
|
-
.rounded-pill {
|
|
99
|
-
border-radius: var(--radius-pill);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.rounded-large {
|
|
103
|
-
border-radius: var(--radius-large);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.rounded-medium {
|
|
107
|
-
border-radius: var(--radius-medium);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.rounded-small {
|
|
111
|
-
border-radius: var(--radius-small);
|
|
112
|
-
}
|
|
113
156
|
|
|
114
157
|
/*** GLOBAL STYLE CLASSES ***/
|
|
115
158
|
* {
|
|
116
159
|
border-color: hsl(var(--border));
|
|
117
160
|
}
|
|
118
161
|
|
|
162
|
+
button,
|
|
163
|
+
[role="button"] {
|
|
164
|
+
cursor: pointer;
|
|
165
|
+
}
|
|
166
|
+
|
|
119
167
|
html,
|
|
120
168
|
body {
|
|
169
|
+
width: 100%;
|
|
170
|
+
height: 100vh;
|
|
121
171
|
overflow: hidden; /* prevent scroll */
|
|
122
172
|
margin: 0;
|
|
123
173
|
background-color: hsl(var(--background));
|
|
@@ -126,18 +176,18 @@
|
|
|
126
176
|
|
|
127
177
|
/* This is the root container of the website(app.html) */
|
|
128
178
|
.root-ct {
|
|
129
|
-
@apply
|
|
179
|
+
@apply w-full h-full;
|
|
130
180
|
display: block !important;
|
|
131
181
|
}
|
|
132
182
|
|
|
133
183
|
/* This is the root layout container of the website pages */
|
|
134
184
|
.layout-ct {
|
|
135
|
-
@apply
|
|
185
|
+
@apply w-full h-full;
|
|
136
186
|
}
|
|
137
187
|
|
|
138
188
|
.page-ct {
|
|
139
189
|
width: 100%;
|
|
140
|
-
height:
|
|
190
|
+
height: 100%;
|
|
141
191
|
/* background-color: green; */
|
|
142
192
|
}
|
|
143
193
|
|
|
@@ -164,6 +214,7 @@
|
|
|
164
214
|
}
|
|
165
215
|
|
|
166
216
|
.native-scrollbar::-webkit-scrollbar-thumb {
|
|
217
|
+
@apply bg-muted;
|
|
167
218
|
cursor: pointer;
|
|
168
219
|
|
|
169
220
|
border: calc(var(--scrollbar-width) / 3) solid transparent;
|
|
@@ -185,11 +236,18 @@
|
|
|
185
236
|
.site-grid {
|
|
186
237
|
/* background-color: green; */
|
|
187
238
|
display: grid;
|
|
188
|
-
|
|
239
|
+
/* Prefer fluid columns so the page never forces horizontal scroll above tablet. */
|
|
240
|
+
grid-template-columns: repeat(var(--site-columns-desktop), minmax(0, 1fr));
|
|
189
241
|
column-gap: var(--site-column-gap);
|
|
242
|
+
max-width: calc(
|
|
243
|
+
(var(--site-columns-desktop) * var(--site-column-width)) +
|
|
244
|
+
((var(--site-columns-desktop) - 1) * var(--site-column-gap))
|
|
245
|
+
);
|
|
246
|
+
width: 100%;
|
|
190
247
|
margin: 0 auto;
|
|
191
248
|
justify-content: center;
|
|
192
249
|
position: relative;
|
|
250
|
+
box-sizing: border-box;
|
|
193
251
|
}
|
|
194
252
|
|
|
195
253
|
/* Debug class */
|
|
@@ -272,8 +330,8 @@
|
|
|
272
330
|
@apply bg-transparent;
|
|
273
331
|
}
|
|
274
332
|
|
|
275
|
-
/* Desktop Layout - Stretching (
|
|
276
|
-
@media (max-width:
|
|
333
|
+
/* Desktop Layout - Stretching (≤1156px). Use literal px — var() in @media is invalid CSS. */
|
|
334
|
+
@media (max-width: 1156px) {
|
|
277
335
|
:root {
|
|
278
336
|
--site-column-width: 64px;
|
|
279
337
|
--site-column-gap: 20px;
|
|
@@ -281,11 +339,14 @@
|
|
|
281
339
|
.site-grid {
|
|
282
340
|
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
283
341
|
max-width: none;
|
|
342
|
+
width: 100%;
|
|
343
|
+
padding-inline: 24px;
|
|
344
|
+
box-sizing: border-box;
|
|
284
345
|
}
|
|
285
346
|
}
|
|
286
347
|
|
|
287
|
-
/* Tablet (744px
|
|
288
|
-
@media (max-width:
|
|
348
|
+
/* Tablet (≤744px) */
|
|
349
|
+
@media (max-width: 744px) {
|
|
289
350
|
:root {
|
|
290
351
|
--site-columns-tablet: 8;
|
|
291
352
|
--site-column-gap: 16px;
|
|
@@ -297,11 +358,12 @@
|
|
|
297
358
|
.site-grid {
|
|
298
359
|
grid-template-columns: repeat(var(--site-columns-tablet), minmax(0, 1fr));
|
|
299
360
|
gap: 16px;
|
|
361
|
+
padding-inline: 16px;
|
|
300
362
|
}
|
|
301
363
|
}
|
|
302
364
|
|
|
303
|
-
/* Mobile (393px
|
|
304
|
-
@media (max-width:
|
|
365
|
+
/* Mobile (≤393px) */
|
|
366
|
+
@media (max-width: 393px) {
|
|
305
367
|
:root {
|
|
306
368
|
--site-columns-mobile: 4;
|
|
307
369
|
--dashboard-sidebar-width: auto;
|
|
@@ -309,6 +371,7 @@
|
|
|
309
371
|
.site-grid {
|
|
310
372
|
grid-template-columns: repeat(var(--site-columns-mobile), minmax(0, 1fr));
|
|
311
373
|
gap: 16px;
|
|
374
|
+
padding-inline: 16px;
|
|
312
375
|
}
|
|
313
376
|
}
|
|
314
377
|
|
|
@@ -551,7 +614,8 @@
|
|
|
551
614
|
|
|
552
615
|
/* Modal Button Styles */
|
|
553
616
|
.modal-btn-primary {
|
|
554
|
-
@apply h6 inline-flex items-center justify-center
|
|
617
|
+
@apply !h6 !inline-flex !items-center !justify-center;
|
|
618
|
+
cursor: pointer;
|
|
555
619
|
padding: 0 16px !important;
|
|
556
620
|
min-height: 34px !important;
|
|
557
621
|
border-radius: var(--radius-pill) !important;
|
|
@@ -567,7 +631,8 @@
|
|
|
567
631
|
}
|
|
568
632
|
|
|
569
633
|
.modal-btn-secondary {
|
|
570
|
-
@apply h6 inline-flex items-center justify-center
|
|
634
|
+
@apply !h6 !inline-flex !items-center !justify-center;
|
|
635
|
+
cursor: pointer;
|
|
571
636
|
padding: 0 16px !important;
|
|
572
637
|
min-height: 34px !important;
|
|
573
638
|
border-radius: var(--radius-pill) !important;
|
|
@@ -585,9 +650,9 @@
|
|
|
585
650
|
}
|
|
586
651
|
|
|
587
652
|
.modal-btn-attention {
|
|
588
|
-
@apply h6 inline-flex items-center justify-center
|
|
653
|
+
@apply !h6 !inline-flex !items-center !justify-center;
|
|
589
654
|
padding: 0 16px !important;
|
|
590
|
-
height: 34px;
|
|
655
|
+
height: 34px !important;
|
|
591
656
|
border-radius: var(--radius-pill) !important;
|
|
592
657
|
background-color: hsl(var(--error)) !important;
|
|
593
658
|
color: white !important;
|
|
@@ -604,7 +669,8 @@
|
|
|
604
669
|
|
|
605
670
|
/* Primary Button - Base styfles */
|
|
606
671
|
.btn-primary {
|
|
607
|
-
@apply inline-flex items-center justify-center gap-2
|
|
672
|
+
@apply !inline-flex !items-center !justify-center !gap-2;
|
|
673
|
+
cursor: pointer;
|
|
608
674
|
padding: 8px 16px !important;
|
|
609
675
|
height: 34px !important;
|
|
610
676
|
border-radius: var(--radius-small) !important;
|
|
@@ -624,7 +690,7 @@
|
|
|
624
690
|
|
|
625
691
|
/* Primary Button sizes */
|
|
626
692
|
.btn-primary-small {
|
|
627
|
-
@apply body-medium inline-flex items-center justify-center gap-1
|
|
693
|
+
@apply !body-medium !inline-flex !items-center !justify-center !gap-1;
|
|
628
694
|
padding: 4px 12px 6px 12px !important;
|
|
629
695
|
border-radius: var(--radius-medium) !important;
|
|
630
696
|
background-color: hsl(var(--deep-forest-green)) !important;
|
|
@@ -632,7 +698,7 @@
|
|
|
632
698
|
}
|
|
633
699
|
|
|
634
700
|
.btn-primary-large {
|
|
635
|
-
@apply body-medium inline-flex items-center justify-center gap-3
|
|
701
|
+
@apply !body-medium !inline-flex !items-center !justify-center !gap-3;
|
|
636
702
|
padding: 16px 32px !important;
|
|
637
703
|
min-height: 56px !important;
|
|
638
704
|
border-radius: var(--radius-medium) !important;
|
|
@@ -652,7 +718,8 @@
|
|
|
652
718
|
|
|
653
719
|
/* Secondary Button */
|
|
654
720
|
.btn-secondary {
|
|
655
|
-
@apply h6 inline-flex items-center justify-center gap-2
|
|
721
|
+
@apply !h6 !inline-flex !items-center !justify-center !gap-2;
|
|
722
|
+
cursor: pointer;
|
|
656
723
|
padding: 0 16px !important;
|
|
657
724
|
height: 34px !important;
|
|
658
725
|
border-radius: var(--radius-small) !important;
|
|
@@ -691,7 +758,7 @@
|
|
|
691
758
|
}
|
|
692
759
|
|
|
693
760
|
.dropdown-menu-item {
|
|
694
|
-
@apply flex items-center gap-2 w-full text-left h6 text-[hsl(var(--grey7))] whitespace-nowrap;
|
|
761
|
+
@apply !flex !items-center !gap-2 !w-full !text-left !h6 !text-[hsl(var(--grey7))] !whitespace-nowrap;
|
|
695
762
|
padding: 8px 16px;
|
|
696
763
|
}
|
|
697
764
|
|