@navette-js/panels 0.0.0-stage → 1.0.0-beta.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/LICENSE +21 -0
- package/README.md +8 -2
- package/THIRD-PARTY-NOTICES.md +12 -0
- package/dist/FILAMENT-LICENSE.md +21 -0
- package/dist/filament/css/filament/filament/app.css +2 -0
- package/dist/filament/fonts/INTER-LICENSE.txt +92 -0
- package/dist/filament/fonts/filament/filament/inter/index.css +1 -0
- package/dist/filament/fonts/filament/filament/inter/inter-cyrillic-ext-wght-normal-SP7Z6XGK.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-cyrillic-wght-normal-DR6K5BQD.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-greek-ext-wght-normal-A2J6H3EX.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-greek-wght-normal-ZABHMKQG.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-latin-ext-wght-normal-ZIT2UBIY.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-latin-wght-normal-DIHYUR35.woff2 +0 -0
- package/dist/filament/fonts/filament/filament/inter/inter-vietnamese-wght-normal-VWEHJHBA.woff2 +0 -0
- package/dist/filament/js/filament/actions/actions.js +1 -0
- package/dist/filament/js/filament/filament/app.js +1 -0
- package/dist/filament/js/filament/filament/echo.js +13 -0
- package/dist/filament/js/filament/forms/components/builder.js +1 -0
- package/dist/filament/js/filament/forms/components/checkbox-list.js +1 -0
- package/dist/filament/js/filament/forms/components/code-editor.js +38 -0
- package/dist/filament/js/filament/forms/components/color-picker.js +1 -0
- package/dist/filament/js/filament/forms/components/date-time-picker.js +1 -0
- package/dist/filament/js/filament/forms/components/file-upload.js +116 -0
- package/dist/filament/js/filament/forms/components/js-field.js +1 -0
- package/dist/filament/js/filament/forms/components/key-value.js +1 -0
- package/dist/filament/js/filament/forms/components/markdown-editor.js +51 -0
- package/dist/filament/js/filament/forms/components/repeater.js +1 -0
- package/dist/filament/js/filament/forms/components/rich-editor.js +161 -0
- package/dist/filament/js/filament/forms/components/select.js +11 -0
- package/dist/filament/js/filament/forms/components/slider.js +1 -0
- package/dist/filament/js/filament/forms/components/tags-input.js +1 -0
- package/dist/filament/js/filament/forms/components/text-input/password-reveal.js +1 -0
- package/dist/filament/js/filament/forms/components/textarea.js +1 -0
- package/dist/filament/js/filament/forms/components/toggle-buttons.js +1 -0
- package/dist/filament/js/filament/notifications/notifications.js +1 -0
- package/dist/filament/js/filament/schemas/components/actions.js +1 -0
- package/dist/filament/js/filament/schemas/components/js-component.js +1 -0
- package/dist/filament/js/filament/schemas/components/tabs.js +1 -0
- package/dist/filament/js/filament/schemas/components/wizard.js +1 -0
- package/dist/filament/js/filament/schemas/schemas.js +1 -0
- package/dist/filament/js/filament/support/support.js +46 -0
- package/dist/filament/js/filament/tables/components/columns/checkbox.js +1 -0
- package/dist/filament/js/filament/tables/components/columns/select.js +11 -0
- package/dist/filament/js/filament/tables/components/columns/text-input.js +1 -0
- package/dist/filament/js/filament/tables/components/columns/toggle.js +1 -0
- package/dist/filament/js/filament/tables/tables.js +1 -0
- package/dist/filament/js/filament/widgets/components/chart.js +31 -0
- package/dist/filament/js/filament/widgets/components/js-widget.js +1 -0
- package/dist/filament/js/filament/widgets/components/stats-overview/stat/chart.js +20 -0
- package/dist/navette/navette/calendar.css +108 -0
- package/dist/navette/navette/motion.css +101 -0
- package/dist/navette/navette/motion.js +49 -0
- package/lib/auth.d.ts +61 -0
- package/lib/auth.js +142 -0
- package/lib/calendar.d.ts +82 -0
- package/lib/calendar.js +107 -0
- package/lib/index.d.ts +1619 -0
- package/lib/index.js +3487 -0
- package/lib/notifications.d.ts +76 -0
- package/lib/notifications.js +112 -0
- package/lib/topbar.d.ts +90 -0
- package/lib/topbar.js +241 -0
- package/package.json +59 -4
- package/resources/filament/LICENSE.md +21 -0
- package/resources/filament/README.md +2 -0
- package/resources/filament/packages/actions/resources/css/actions.css +30 -0
- package/resources/filament/packages/actions/resources/css/index.css +1 -0
- package/resources/filament/packages/forms/dist/index.css +1 -0
- package/resources/filament/packages/forms/resources/css/components/builder.css +206 -0
- package/resources/filament/packages/forms/resources/css/components/checkbox-list.css +55 -0
- package/resources/filament/packages/forms/resources/css/components/code-editor.css +79 -0
- package/resources/filament/packages/forms/resources/css/components/color-picker.css +17 -0
- package/resources/filament/packages/forms/resources/css/components/date-time-picker.css +127 -0
- package/resources/filament/packages/forms/resources/css/components/field.css +88 -0
- package/resources/filament/packages/forms/resources/css/components/file-upload/filepond-plugin-media-preview.css +104 -0
- package/resources/filament/packages/forms/resources/css/components/file-upload.css +199 -0
- package/resources/filament/packages/forms/resources/css/components/key-value.css +57 -0
- package/resources/filament/packages/forms/resources/css/components/markdown-editor.css +343 -0
- package/resources/filament/packages/forms/resources/css/components/modal-table-select.css +17 -0
- package/resources/filament/packages/forms/resources/css/components/radio.css +41 -0
- package/resources/filament/packages/forms/resources/css/components/repeater.css +401 -0
- package/resources/filament/packages/forms/resources/css/components/rich-editor.css +666 -0
- package/resources/filament/packages/forms/resources/css/components/select.css +13 -0
- package/resources/filament/packages/forms/resources/css/components/slider.css +54 -0
- package/resources/filament/packages/forms/resources/css/components/tags-input.css +33 -0
- package/resources/filament/packages/forms/resources/css/components/text-input.css +20 -0
- package/resources/filament/packages/forms/resources/css/components/textarea.css +26 -0
- package/resources/filament/packages/forms/resources/css/components/toggle-buttons.css +49 -0
- package/resources/filament/packages/forms/resources/css/index.css +32 -0
- package/resources/filament/packages/infolists/resources/css/components/code.css +21 -0
- package/resources/filament/packages/infolists/resources/css/components/color.css +34 -0
- package/resources/filament/packages/infolists/resources/css/components/entry.css +68 -0
- package/resources/filament/packages/infolists/resources/css/components/icon.css +39 -0
- package/resources/filament/packages/infolists/resources/css/components/image.css +161 -0
- package/resources/filament/packages/infolists/resources/css/components/key-value.css +24 -0
- package/resources/filament/packages/infolists/resources/css/components/repeatable.css +136 -0
- package/resources/filament/packages/infolists/resources/css/components/text.css +234 -0
- package/resources/filament/packages/infolists/resources/css/index.css +14 -0
- package/resources/filament/packages/notifications/resources/css/database-notifications.css +56 -0
- package/resources/filament/packages/notifications/resources/css/index.css +3 -0
- package/resources/filament/packages/notifications/resources/css/notification.css +109 -0
- package/resources/filament/packages/notifications/resources/css/notifications.css +29 -0
- package/resources/filament/packages/panels/resources/css/base.css +13 -0
- package/resources/filament/packages/panels/resources/css/components/global-search.css +93 -0
- package/resources/filament/packages/panels/resources/css/components/header.css +56 -0
- package/resources/filament/packages/panels/resources/css/components/layout.css +182 -0
- package/resources/filament/packages/panels/resources/css/components/logo.css +11 -0
- package/resources/filament/packages/panels/resources/css/components/page.css +60 -0
- package/resources/filament/packages/panels/resources/css/components/sidebar.css +311 -0
- package/resources/filament/packages/panels/resources/css/components/tenant-menu.css +49 -0
- package/resources/filament/packages/panels/resources/css/components/theme-switcher.css +15 -0
- package/resources/filament/packages/panels/resources/css/components/topbar.css +89 -0
- package/resources/filament/packages/panels/resources/css/components/user-menu.css +46 -0
- package/resources/filament/packages/panels/resources/css/index.css +40 -0
- package/resources/filament/packages/panels/resources/css/theme.css +2 -0
- package/resources/filament/packages/panels/resources/css/utilities.css +3 -0
- package/resources/filament/packages/panels/resources/css/widgets/account-widget.css +21 -0
- package/resources/filament/packages/panels/resources/css/widgets/filament-info-widget.css +21 -0
- package/resources/filament/packages/schemas/resources/css/components/actions.css +29 -0
- package/resources/filament/packages/schemas/resources/css/components/flex.css +106 -0
- package/resources/filament/packages/schemas/resources/css/components/form.css +7 -0
- package/resources/filament/packages/schemas/resources/css/components/fused-group.css +337 -0
- package/resources/filament/packages/schemas/resources/css/components/icon.css +11 -0
- package/resources/filament/packages/schemas/resources/css/components/image.css +12 -0
- package/resources/filament/packages/schemas/resources/css/components/section.css +24 -0
- package/resources/filament/packages/schemas/resources/css/components/tabs.css +77 -0
- package/resources/filament/packages/schemas/resources/css/components/text.css +77 -0
- package/resources/filament/packages/schemas/resources/css/components/unordered-list.css +15 -0
- package/resources/filament/packages/schemas/resources/css/components/wizard.css +177 -0
- package/resources/filament/packages/schemas/resources/css/index.css +12 -0
- package/resources/filament/packages/schemas/resources/css/schema.css +132 -0
- package/resources/filament/packages/support/dist/index.css +1 -0
- package/resources/filament/packages/support/resources/css/base.css +23 -0
- package/resources/filament/packages/support/resources/css/components/avatar.css +15 -0
- package/resources/filament/packages/support/resources/css/components/badge.css +90 -0
- package/resources/filament/packages/support/resources/css/components/breadcrumbs.css +25 -0
- package/resources/filament/packages/support/resources/css/components/button.css +214 -0
- package/resources/filament/packages/support/resources/css/components/callout.css +57 -0
- package/resources/filament/packages/support/resources/css/components/dropdown/header.css +21 -0
- package/resources/filament/packages/support/resources/css/components/dropdown/index.css +79 -0
- package/resources/filament/packages/support/resources/css/components/dropdown/list/index.css +7 -0
- package/resources/filament/packages/support/resources/css/components/dropdown/list/item.css +74 -0
- package/resources/filament/packages/support/resources/css/components/empty-state.css +67 -0
- package/resources/filament/packages/support/resources/css/components/fieldset.css +23 -0
- package/resources/filament/packages/support/resources/css/components/grid.css +511 -0
- package/resources/filament/packages/support/resources/css/components/icon-button.css +124 -0
- package/resources/filament/packages/support/resources/css/components/icon.css +31 -0
- package/resources/filament/packages/support/resources/css/components/input/checkbox.css +32 -0
- package/resources/filament/packages/support/resources/css/components/input/index.css +55 -0
- package/resources/filament/packages/support/resources/css/components/input/one-time-code.css +7 -0
- package/resources/filament/packages/support/resources/css/components/input/radio.css +11 -0
- package/resources/filament/packages/support/resources/css/components/input/select.css +154 -0
- package/resources/filament/packages/support/resources/css/components/input/wrapper.css +107 -0
- package/resources/filament/packages/support/resources/css/components/link.css +90 -0
- package/resources/filament/packages/support/resources/css/components/loading-indicator.css +3 -0
- package/resources/filament/packages/support/resources/css/components/loading-section.css +3 -0
- package/resources/filament/packages/support/resources/css/components/modal.css +494 -0
- package/resources/filament/packages/support/resources/css/components/pagination.css +160 -0
- package/resources/filament/packages/support/resources/css/components/section.css +234 -0
- package/resources/filament/packages/support/resources/css/components/tabs.css +70 -0
- package/resources/filament/packages/support/resources/css/components/toggle.css +60 -0
- package/resources/filament/packages/support/resources/css/components/tooltip.css +36 -0
- package/resources/filament/packages/support/resources/css/index.css +133 -0
- package/resources/filament/packages/support/resources/css/sortable.css +3 -0
- package/resources/filament/packages/support/resources/css/utilities.css +897 -0
- package/resources/filament/packages/tables/resources/css/actions.css +51 -0
- package/resources/filament/packages/tables/resources/css/cell.css +139 -0
- package/resources/filament/packages/tables/resources/css/column-manager.css +48 -0
- package/resources/filament/packages/tables/resources/css/columns/checkbox.css +54 -0
- package/resources/filament/packages/tables/resources/css/columns/color.css +76 -0
- package/resources/filament/packages/tables/resources/css/columns/icon.css +81 -0
- package/resources/filament/packages/tables/resources/css/columns/image.css +207 -0
- package/resources/filament/packages/tables/resources/css/columns/layout/grid.css +49 -0
- package/resources/filament/packages/tables/resources/css/columns/layout/panel.css +3 -0
- package/resources/filament/packages/tables/resources/css/columns/layout/split.css +35 -0
- package/resources/filament/packages/tables/resources/css/columns/layout/stack.css +29 -0
- package/resources/filament/packages/tables/resources/css/columns/select.css +36 -0
- package/resources/filament/packages/tables/resources/css/columns/summaries/icon-count.css +43 -0
- package/resources/filament/packages/tables/resources/css/columns/summaries/range.css +27 -0
- package/resources/filament/packages/tables/resources/css/columns/summaries/text.css +29 -0
- package/resources/filament/packages/tables/resources/css/columns/summaries/values.css +33 -0
- package/resources/filament/packages/tables/resources/css/columns/text-input.css +36 -0
- package/resources/filament/packages/tables/resources/css/columns/text.css +319 -0
- package/resources/filament/packages/tables/resources/css/columns/toggle.css +54 -0
- package/resources/filament/packages/tables/resources/css/container.css +311 -0
- package/resources/filament/packages/tables/resources/css/content.css +342 -0
- package/resources/filament/packages/tables/resources/css/empty-state.css +31 -0
- package/resources/filament/packages/tables/resources/css/group-header.css +54 -0
- package/resources/filament/packages/tables/resources/css/header-cell.css +224 -0
- package/resources/filament/packages/tables/resources/css/index.css +26 -0
- package/resources/filament/packages/tables/resources/css/row.css +47 -0
- package/resources/filament/packages/tables/resources/css/table.css +394 -0
- package/resources/filament/packages/widgets/resources/css/chart-widget.css +88 -0
- package/resources/filament/packages/widgets/resources/css/index.css +3 -0
- package/resources/filament/packages/widgets/resources/css/stats-overview-widget.css +67 -0
- package/resources/filament/packages/widgets/resources/css/widget.css +3 -0
- package/theme.css +17 -0
- package/views/components/logo.ejs +9 -0
- package/views/components/tenant-menu.ejs +13 -0
- package/views/components/user-menu.ejs +82 -0
- package/views/layout/base.ejs +129 -0
- package/views/layout/index.ejs +41 -0
- package/views/layout/simple.ejs +19 -0
- package/views/livewire/sidebar.ejs +123 -0
- package/views/livewire/topbar.ejs +47 -0
- package/views/pages/page.ejs +143 -0
- package/views/pages/simple.ejs +32 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
.fi-section {
|
|
2
|
+
&:not(.fi-section-not-contained) {
|
|
3
|
+
&:not(.fi-divided) {
|
|
4
|
+
& > .fi-section-content-ctn > .fi-section-content {
|
|
5
|
+
@apply p-6;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&.fi-divided {
|
|
10
|
+
& > .fi-section-content-ctn > .fi-section-content {
|
|
11
|
+
& > * {
|
|
12
|
+
@apply p-6;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
& > .fi-section-content-ctn > .fi-section-footer {
|
|
18
|
+
@apply border-t border-gray-200 px-6 py-4 dark:border-white/10;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:not(.fi-aside) {
|
|
22
|
+
@apply rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10;
|
|
23
|
+
|
|
24
|
+
&.fi-compact {
|
|
25
|
+
@apply rounded-lg;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.fi-secondary {
|
|
29
|
+
@apply bg-gray-50 dark:bg-white/5;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
& > .fi-section-header {
|
|
33
|
+
@apply px-6 py-4;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.fi-section-has-header:not(.fi-collapsed) {
|
|
37
|
+
& > .fi-section-content-ctn {
|
|
38
|
+
@apply border-t border-gray-200 dark:border-white/10;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.fi-aside {
|
|
44
|
+
& > .fi-section-content-ctn {
|
|
45
|
+
@apply rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 md:col-span-2 dark:bg-gray-900 dark:ring-white/10;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.fi-compact {
|
|
49
|
+
& > .fi-section-content-ctn {
|
|
50
|
+
@apply rounded-lg;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.fi-secondary {
|
|
55
|
+
& > .fi-section-content-ctn {
|
|
56
|
+
@apply bg-gray-50 dark:bg-white/5;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.fi-compact {
|
|
62
|
+
&:not(.fi-aside) {
|
|
63
|
+
& > .fi-section-header {
|
|
64
|
+
@apply px-4 py-2.5;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:not(.fi-divided) {
|
|
69
|
+
& > .fi-section-content-ctn > .fi-section-content {
|
|
70
|
+
@apply p-4;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.fi-divided {
|
|
75
|
+
& > .fi-section-content-ctn > .fi-section-content {
|
|
76
|
+
& > * {
|
|
77
|
+
@apply p-4;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
& > .fi-section-footer {
|
|
83
|
+
@apply px-4 py-2.5;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.fi-section-not-contained {
|
|
89
|
+
&.fi-aside {
|
|
90
|
+
& > .fi-section-content-ctn {
|
|
91
|
+
@apply md:col-span-2;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&:not(.fi-aside) {
|
|
96
|
+
@apply grid gap-y-4;
|
|
97
|
+
|
|
98
|
+
&:not(.fi-collapsed) {
|
|
99
|
+
& > .fi-section-content-ctn {
|
|
100
|
+
@apply grid gap-y-4;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.fi-divided {
|
|
105
|
+
& > .fi-section-content-ctn > .fi-section-content {
|
|
106
|
+
& > * {
|
|
107
|
+
@apply py-6;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&.fi-compact {
|
|
113
|
+
@apply gap-y-2.5;
|
|
114
|
+
|
|
115
|
+
& > .fi-section-content-ctn {
|
|
116
|
+
@apply gap-y-2.5;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.fi-divided {
|
|
120
|
+
& > .fi-section-content-ctn > .fi-section-content {
|
|
121
|
+
& > * {
|
|
122
|
+
@apply py-4;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&.fi-divided {
|
|
131
|
+
& > .fi-section-content-ctn > .fi-section-content {
|
|
132
|
+
@apply gap-0 divide-y divide-gray-200 dark:divide-white/10;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&.fi-aside {
|
|
137
|
+
@apply grid grid-cols-1 items-start gap-x-6 gap-y-4 md:grid-cols-3;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&.fi-collapsible {
|
|
141
|
+
& > .fi-section-header {
|
|
142
|
+
@apply cursor-pointer;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&.fi-collapsed {
|
|
147
|
+
& > .fi-section-header > .fi-section-collapse-btn {
|
|
148
|
+
@apply rotate-180;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
& > .fi-section-content-ctn {
|
|
152
|
+
@apply hidden;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&.fi-section-has-content-before {
|
|
157
|
+
& > .fi-section-content-ctn {
|
|
158
|
+
@apply md:order-first;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
& > .fi-section-header {
|
|
163
|
+
@apply flex items-start gap-3;
|
|
164
|
+
|
|
165
|
+
& > .fi-icon {
|
|
166
|
+
@apply shrink-0 text-gray-400 dark:text-gray-500;
|
|
167
|
+
|
|
168
|
+
&.fi-color {
|
|
169
|
+
@apply text-color-500 dark:text-color-400;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&.fi-size-sm {
|
|
173
|
+
@apply mt-1;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&.fi-size-md {
|
|
177
|
+
@apply mt-0.5;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
& > .fi-section-header-content > .fi-section-header-after-ctn {
|
|
182
|
+
@apply max-w-full shrink-0 self-center;
|
|
183
|
+
|
|
184
|
+
& .fi-link:not(.fi-section-header-after-ctn .fi-dropdown-panel *) {
|
|
185
|
+
@apply leading-6;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* The negative margins let the buttons overhang the header's vertical padding, so a header with actions matches the height of one without them. They are applied to the container instead of the buttons so wrapped rows of actions keep their gap, laddered so the largest button size present wins. */
|
|
189
|
+
&:has(.fi-btn.fi-size-xs:not(.fi-dropdown-panel *)) {
|
|
190
|
+
@apply -my-0.5;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&:has(.fi-btn.fi-size-sm:not(.fi-dropdown-panel *)) {
|
|
194
|
+
@apply -my-1;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&:has(.fi-btn.fi-size-md:not(.fi-dropdown-panel *)) {
|
|
198
|
+
@apply -my-1.5;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&:has(.fi-btn.fi-size-lg:not(.fi-dropdown-panel *)) {
|
|
202
|
+
@apply -my-2;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&:has(.fi-btn.fi-size-xl:not(.fi-dropdown-panel *)) {
|
|
206
|
+
@apply -my-2.5;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
& > .fi-section-collapse-btn {
|
|
211
|
+
@apply -my-1.5 shrink-0;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
& .fi-section-header-content {
|
|
216
|
+
@apply flex min-w-0 flex-wrap items-start gap-3;
|
|
217
|
+
|
|
218
|
+
&.fi-section-header-content-has-heading {
|
|
219
|
+
@apply flex-1;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
& .fi-section-header-text-ctn {
|
|
224
|
+
@apply grid w-max max-w-full flex-auto gap-y-1;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
& .fi-section-header-heading {
|
|
228
|
+
@apply text-base leading-6 font-semibold text-gray-950 dark:text-white;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
& .fi-section-header-description {
|
|
232
|
+
@apply overflow-hidden text-sm break-words text-gray-500 dark:text-gray-400;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
.fi-tabs {
|
|
2
|
+
@apply flex max-w-full gap-x-1 overflow-x-auto;
|
|
3
|
+
|
|
4
|
+
&.fi-contained {
|
|
5
|
+
@apply border-b border-gray-200 px-3 py-2.5 dark:border-white/10;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&:not(.fi-contained) {
|
|
9
|
+
@apply mx-auto rounded-xl bg-white p-2 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.fi-vertical {
|
|
13
|
+
@apply flex-col gap-x-0 gap-y-1 overflow-x-hidden overflow-y-auto;
|
|
14
|
+
|
|
15
|
+
&.fi-contained {
|
|
16
|
+
@apply border-e border-b-0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:not(.fi-contained) {
|
|
20
|
+
@apply mx-0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
& .fi-tabs-item {
|
|
24
|
+
@apply justify-start;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.fi-tabs-item {
|
|
30
|
+
@apply flex items-center justify-center gap-x-2 rounded-lg px-3 py-2 text-sm font-medium whitespace-nowrap transition duration-75 outline-none hover:bg-gray-50 focus-visible:bg-gray-50 dark:hover:bg-white/5 dark:focus-visible:bg-white/5;
|
|
31
|
+
|
|
32
|
+
&.fi-active {
|
|
33
|
+
@apply bg-gray-50 dark:bg-white/5;
|
|
34
|
+
|
|
35
|
+
& .fi-tabs-item-label,
|
|
36
|
+
& > .fi-icon {
|
|
37
|
+
@apply text-primary-700 dark:text-primary-400;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:not(.fi-active) {
|
|
42
|
+
&:hover {
|
|
43
|
+
& .fi-tabs-item-label {
|
|
44
|
+
@apply text-gray-700 group-focus-visible:text-gray-700 dark:text-gray-200 dark:group-focus-visible:text-gray-200;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:focus-visible {
|
|
49
|
+
& .fi-tabs-item-label {
|
|
50
|
+
@apply text-gray-700 dark:text-gray-200;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
& .fi-tabs-item-label {
|
|
56
|
+
@apply text-gray-500 transition duration-75 dark:text-gray-400;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
& > .fi-icon {
|
|
60
|
+
@apply shrink-0 text-gray-400 transition duration-75 dark:text-gray-500;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
& .fi-badge {
|
|
64
|
+
@apply w-max;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
& .fi-tabs-item-badge-placeholder {
|
|
68
|
+
@apply flex items-center text-gray-400 dark:text-gray-500;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
.fi-toggle {
|
|
2
|
+
@apply focus-visible:ring-primary-600 dark:focus-visible:ring-primary-500 relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent bg-gray-200 transition-colors duration-200 ease-in-out outline-none focus-visible:ring-2 focus-visible:ring-offset-1 disabled:pointer-events-none disabled:opacity-70 dark:bg-gray-700 dark:focus-visible:ring-offset-gray-900;
|
|
3
|
+
|
|
4
|
+
&:disabled,
|
|
5
|
+
&[disabled] {
|
|
6
|
+
@apply pointer-events-none opacity-70;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&.fi-color {
|
|
10
|
+
@apply bg-(--bg) dark:bg-(--dark-bg);
|
|
11
|
+
|
|
12
|
+
& .fi-icon {
|
|
13
|
+
@apply text-(--text);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.fi-hidden {
|
|
18
|
+
@apply hidden;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
& > :first-child {
|
|
22
|
+
@apply pointer-events-none relative inline-block size-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out;
|
|
23
|
+
|
|
24
|
+
& > * {
|
|
25
|
+
@apply absolute inset-0 flex h-full w-full items-center justify-center transition-opacity;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
& .fi-icon {
|
|
30
|
+
@apply text-gray-400 dark:text-gray-700;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.fi-toggle-on {
|
|
34
|
+
& > :first-child {
|
|
35
|
+
@apply translate-x-5 rtl:-translate-x-5;
|
|
36
|
+
|
|
37
|
+
& > :first-child {
|
|
38
|
+
@apply opacity-0 duration-100 ease-out;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& > :last-child {
|
|
42
|
+
@apply opacity-100 duration-200 ease-in;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.fi-toggle-off {
|
|
48
|
+
& > :first-child {
|
|
49
|
+
@apply translate-x-0;
|
|
50
|
+
|
|
51
|
+
& > :first-child {
|
|
52
|
+
@apply opacity-100 duration-200 ease-in;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
& > :last-child {
|
|
56
|
+
@apply opacity-0 duration-100 ease-out;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* Tooltips are rendered by `tippy.js`, whose stylesheets ship inside this package's compiled JS bundle that `index.css` imports before this file. Its bundled `light` theme paints the arrow with explicit per-placement border colors instead of `currentColor`, so recoloring the tooltip on its own leaves a mismatched arrow. Routing the background through one custom property keeps the box and the arrow together, in both themes. */
|
|
2
|
+
.tippy-box {
|
|
3
|
+
background-color: var(--tooltip-bg, #333);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.tippy-arrow {
|
|
7
|
+
color: var(--tooltip-bg, #333);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.tippy-box[data-theme~='light'] {
|
|
11
|
+
--tooltip-bg: #fff;
|
|
12
|
+
|
|
13
|
+
background-color: var(--tooltip-bg);
|
|
14
|
+
box-shadow: var(
|
|
15
|
+
--tooltip-box-shadow,
|
|
16
|
+
0 0 20px 4px rgba(154, 161, 177, 0.15),
|
|
17
|
+
0 4px 80px -8px rgba(36, 40, 47, 0.25),
|
|
18
|
+
0 4px 4px -2px rgba(91, 94, 105, 0.15)
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
&[data-placement^='top'] > .tippy-arrow::before {
|
|
22
|
+
border-top-color: var(--tooltip-bg);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&[data-placement^='bottom'] > .tippy-arrow::before {
|
|
26
|
+
border-bottom-color: var(--tooltip-bg);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&[data-placement^='left'] > .tippy-arrow::before {
|
|
30
|
+
border-left-color: var(--tooltip-bg);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&[data-placement^='right'] > .tippy-arrow::before {
|
|
34
|
+
border-right-color: var(--tooltip-bg);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
@import './base.css' layer(base);
|
|
2
|
+
|
|
3
|
+
@import './utilities.css' layer(utilities);
|
|
4
|
+
|
|
5
|
+
@import '../../dist/index.css' layer(components);
|
|
6
|
+
@import './components/avatar.css' layer(components);
|
|
7
|
+
@import './components/badge.css' layer(components);
|
|
8
|
+
@import './components/breadcrumbs.css' layer(components);
|
|
9
|
+
@import './components/button.css' layer(components);
|
|
10
|
+
@import './components/callout.css' layer(components);
|
|
11
|
+
@import './components/dropdown/header.css' layer(components);
|
|
12
|
+
@import './components/dropdown/index.css' layer(components);
|
|
13
|
+
@import './components/dropdown/list/index.css' layer(components);
|
|
14
|
+
@import './components/dropdown/list/item.css' layer(components);
|
|
15
|
+
@import './components/empty-state.css' layer(components);
|
|
16
|
+
@import './components/fieldset.css' layer(components);
|
|
17
|
+
@import './components/grid.css' layer(components);
|
|
18
|
+
@import './components/icon.css' layer(components);
|
|
19
|
+
@import './components/icon-button.css' layer(components);
|
|
20
|
+
@import './components/input/checkbox.css' layer(components);
|
|
21
|
+
@import './components/input/index.css' layer(components);
|
|
22
|
+
@import './components/input/one-time-code.css' layer(components);
|
|
23
|
+
@import './components/input/radio.css' layer(components);
|
|
24
|
+
@import './components/input/select.css' layer(components);
|
|
25
|
+
@import './components/input/wrapper.css' layer(components);
|
|
26
|
+
@import './components/link.css' layer(components);
|
|
27
|
+
@import './components/loading-indicator.css' layer(components);
|
|
28
|
+
@import './components/loading-section.css' layer(components);
|
|
29
|
+
@import './components/modal.css' layer(components);
|
|
30
|
+
@import './components/pagination.css' layer(components);
|
|
31
|
+
@import './components/section.css' layer(components);
|
|
32
|
+
@import './components/tabs.css' layer(components);
|
|
33
|
+
@import './components/toggle.css' layer(components);
|
|
34
|
+
@import './components/tooltip.css' layer(components);
|
|
35
|
+
@import './sortable.css' layer(components);
|
|
36
|
+
|
|
37
|
+
@theme inline {
|
|
38
|
+
--color-color-50: var(--color-50);
|
|
39
|
+
--color-color-100: var(--color-100);
|
|
40
|
+
--color-color-200: var(--color-200);
|
|
41
|
+
--color-color-300: var(--color-300);
|
|
42
|
+
--color-color-400: var(--color-400);
|
|
43
|
+
--color-color-500: var(--color-500);
|
|
44
|
+
--color-color-600: var(--color-600);
|
|
45
|
+
--color-color-700: var(--color-700);
|
|
46
|
+
--color-color-800: var(--color-800);
|
|
47
|
+
--color-color-900: var(--color-900);
|
|
48
|
+
--color-color-950: var(--color-950);
|
|
49
|
+
|
|
50
|
+
--color-danger-50: var(--danger-50);
|
|
51
|
+
--color-danger-100: var(--danger-100);
|
|
52
|
+
--color-danger-200: var(--danger-200);
|
|
53
|
+
--color-danger-300: var(--danger-300);
|
|
54
|
+
--color-danger-400: var(--danger-400);
|
|
55
|
+
--color-danger-500: var(--danger-500);
|
|
56
|
+
--color-danger-600: var(--danger-600);
|
|
57
|
+
--color-danger-700: var(--danger-700);
|
|
58
|
+
--color-danger-800: var(--danger-800);
|
|
59
|
+
--color-danger-900: var(--danger-900);
|
|
60
|
+
--color-danger-950: var(--danger-950);
|
|
61
|
+
|
|
62
|
+
--color-gray-50: var(--gray-50);
|
|
63
|
+
--color-gray-100: var(--gray-100);
|
|
64
|
+
--color-gray-200: var(--gray-200);
|
|
65
|
+
--color-gray-300: var(--gray-300);
|
|
66
|
+
--color-gray-400: var(--gray-400);
|
|
67
|
+
--color-gray-500: var(--gray-500);
|
|
68
|
+
--color-gray-600: var(--gray-600);
|
|
69
|
+
--color-gray-700: var(--gray-700);
|
|
70
|
+
--color-gray-800: var(--gray-800);
|
|
71
|
+
--color-gray-900: var(--gray-900);
|
|
72
|
+
--color-gray-950: var(--gray-950);
|
|
73
|
+
|
|
74
|
+
--color-info-50: var(--info-50);
|
|
75
|
+
--color-info-100: var(--info-100);
|
|
76
|
+
--color-info-200: var(--info-200);
|
|
77
|
+
--color-info-300: var(--info-300);
|
|
78
|
+
--color-info-400: var(--info-400);
|
|
79
|
+
--color-info-500: var(--info-500);
|
|
80
|
+
--color-info-600: var(--info-600);
|
|
81
|
+
--color-info-700: var(--info-700);
|
|
82
|
+
--color-info-800: var(--info-800);
|
|
83
|
+
--color-info-900: var(--info-900);
|
|
84
|
+
--color-info-950: var(--info-950);
|
|
85
|
+
|
|
86
|
+
--color-primary-50: var(--primary-50);
|
|
87
|
+
--color-primary-100: var(--primary-100);
|
|
88
|
+
--color-primary-200: var(--primary-200);
|
|
89
|
+
--color-primary-300: var(--primary-300);
|
|
90
|
+
--color-primary-400: var(--primary-400);
|
|
91
|
+
--color-primary-500: var(--primary-500);
|
|
92
|
+
--color-primary-600: var(--primary-600);
|
|
93
|
+
--color-primary-700: var(--primary-700);
|
|
94
|
+
--color-primary-800: var(--primary-800);
|
|
95
|
+
--color-primary-900: var(--primary-900);
|
|
96
|
+
--color-primary-950: var(--primary-950);
|
|
97
|
+
|
|
98
|
+
--color-success-50: var(--success-50);
|
|
99
|
+
--color-success-100: var(--success-100);
|
|
100
|
+
--color-success-200: var(--success-200);
|
|
101
|
+
--color-success-300: var(--success-300);
|
|
102
|
+
--color-success-400: var(--success-400);
|
|
103
|
+
--color-success-500: var(--success-500);
|
|
104
|
+
--color-success-600: var(--success-600);
|
|
105
|
+
--color-success-700: var(--success-700);
|
|
106
|
+
--color-success-800: var(--success-800);
|
|
107
|
+
--color-success-900: var(--success-900);
|
|
108
|
+
--color-success-950: var(--success-950);
|
|
109
|
+
|
|
110
|
+
--color-warning-50: var(--warning-50);
|
|
111
|
+
--color-warning-100: var(--warning-100);
|
|
112
|
+
--color-warning-200: var(--warning-200);
|
|
113
|
+
--color-warning-300: var(--warning-300);
|
|
114
|
+
--color-warning-400: var(--warning-400);
|
|
115
|
+
--color-warning-500: var(--warning-500);
|
|
116
|
+
--color-warning-600: var(--warning-600);
|
|
117
|
+
--color-warning-700: var(--warning-700);
|
|
118
|
+
--color-warning-800: var(--warning-800);
|
|
119
|
+
--color-warning-900: var(--warning-900);
|
|
120
|
+
--color-warning-950: var(--warning-950);
|
|
121
|
+
|
|
122
|
+
--color-custom-50: var(--color-50);
|
|
123
|
+
--color-custom-100: var(--color-100);
|
|
124
|
+
--color-custom-200: var(--color-200);
|
|
125
|
+
--color-custom-300: var(--color-300);
|
|
126
|
+
--color-custom-400: var(--color-400);
|
|
127
|
+
--color-custom-500: var(--color-500);
|
|
128
|
+
--color-custom-600: var(--color-600);
|
|
129
|
+
--color-custom-700: var(--color-700);
|
|
130
|
+
--color-custom-800: var(--color-800);
|
|
131
|
+
--color-custom-900: var(--color-900);
|
|
132
|
+
--color-custom-950: var(--color-950);
|
|
133
|
+
}
|