@navette-js/panels 0.0.0-stage → 1.0.0-beta.2
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 +140 -0
- package/lib/calendar.d.ts +82 -0
- package/lib/calendar.js +107 -0
- package/lib/index.d.ts +1624 -0
- package/lib/index.js +3532 -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 +240 -0
- package/package.json +58 -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,494 @@
|
|
|
1
|
+
.fi-modal {
|
|
2
|
+
@apply outline-none;
|
|
3
|
+
|
|
4
|
+
&.fi-modal-slide-over,
|
|
5
|
+
&.fi-width-screen {
|
|
6
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
7
|
+
@apply h-dvh;
|
|
8
|
+
|
|
9
|
+
& .fi-modal-content {
|
|
10
|
+
@apply flex-1;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.fi-modal-slide-over.fi-modal-slide-over-from-start {
|
|
16
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
17
|
+
@apply me-auto;
|
|
18
|
+
|
|
19
|
+
&.fi-transition-enter-start,
|
|
20
|
+
&.fi-transition-leave-end {
|
|
21
|
+
@apply -translate-x-full rtl:translate-x-full;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.fi-modal-slide-over.fi-modal-slide-over-from-end {
|
|
27
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
28
|
+
@apply ms-auto;
|
|
29
|
+
|
|
30
|
+
&.fi-transition-enter-start,
|
|
31
|
+
&.fi-transition-leave-end {
|
|
32
|
+
@apply translate-x-full rtl:-translate-x-full;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.fi-modal-slide-over {
|
|
38
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
39
|
+
@apply overflow-y-auto;
|
|
40
|
+
|
|
41
|
+
&.fi-transition-enter-end,
|
|
42
|
+
&.fi-transition-leave-start {
|
|
43
|
+
@apply translate-x-0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
& .fi-modal-header {
|
|
47
|
+
@apply gap-x-3 pt-5;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
& .fi-modal-icon-bg {
|
|
51
|
+
@apply -my-2 -ms-2 p-2;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& .fi-modal-close-btn {
|
|
55
|
+
@apply end-6 top-5;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&:not(.fi-modal-slide-over) {
|
|
61
|
+
&:not(.fi-width-screen) {
|
|
62
|
+
&:not(.fi-modal-has-sticky-header):not(
|
|
63
|
+
.fi-modal-has-sticky-footer
|
|
64
|
+
) {
|
|
65
|
+
& > .fi-modal-window-ctn {
|
|
66
|
+
@apply overflow-y-auto;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.fi-modal-has-sticky-header,
|
|
71
|
+
&.fi-modal-has-sticky-footer {
|
|
72
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
73
|
+
@apply max-h-[calc(100dvh-2rem)] overflow-y-auto;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
79
|
+
&.fi-transition-enter-start,
|
|
80
|
+
&.fi-transition-leave-end {
|
|
81
|
+
@apply scale-95 opacity-0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.fi-transition-enter-end,
|
|
85
|
+
&.fi-transition-leave-start {
|
|
86
|
+
@apply scale-100 opacity-100;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
& .fi-modal-close-btn {
|
|
90
|
+
@apply end-4 top-4;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&.fi-align-start:not(.fi-modal-has-sticky-header) {
|
|
96
|
+
& > .fi-modal-window-ctn > .fi-modal-window-has-icon {
|
|
97
|
+
& .fi-modal-content {
|
|
98
|
+
@apply ps-[5.25rem] pe-6;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
& .fi-modal-footer {
|
|
102
|
+
&:not(.fi-align-center) {
|
|
103
|
+
@apply ps-[5.25rem] pe-6;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&:not(.fi-align-start) {
|
|
110
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
111
|
+
& .fi-modal-content,
|
|
112
|
+
& .fi-modal-footer {
|
|
113
|
+
@apply px-6;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
& > .fi-modal-close-overlay {
|
|
119
|
+
@apply fixed inset-0 z-40 bg-gray-950/50 transition-opacity duration-300 dark:bg-gray-950/75;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&.fi-modal-open:has(~ .fi-modal.fi-modal-open) > .fi-modal-close-overlay {
|
|
123
|
+
@apply opacity-0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.fi-modal-open ~ .fi-modal.fi-modal-open {
|
|
127
|
+
& > .fi-modal-close-overlay,
|
|
128
|
+
& > .fi-modal-window-ctn {
|
|
129
|
+
@apply z-50;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* Like the modal itself, the window container does not show a focus outline when it receives focus from the focus trap, such as when the modal has no tabbable content. */
|
|
134
|
+
& > .fi-modal-window-ctn {
|
|
135
|
+
@apply fixed inset-0 z-40 grid min-h-full grid-rows-[1fr_auto_1fr] justify-items-center outline-none sm:grid-rows-[1fr_auto_3fr];
|
|
136
|
+
|
|
137
|
+
&.fi-clickable {
|
|
138
|
+
@apply cursor-pointer;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&.fi-modal-click-through {
|
|
143
|
+
@apply pointer-events-none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&:not(.fi-modal-slide-over):not(.fi-width-screen) {
|
|
147
|
+
& > .fi-modal-window-ctn {
|
|
148
|
+
@apply p-4;
|
|
149
|
+
|
|
150
|
+
& > .fi-modal-window {
|
|
151
|
+
@apply mx-auto rounded-xl;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&.fi-modal-has-sticky-header {
|
|
156
|
+
& > .fi-modal-window-ctn > .fi-modal-window > .fi-modal-header {
|
|
157
|
+
@apply rounded-t-xl;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.fi-modal-has-sticky-footer {
|
|
162
|
+
& > .fi-modal-window-ctn > .fi-modal-window > .fi-modal-footer {
|
|
163
|
+
@apply rounded-b-xl;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Like the modal itself, the window does not show a focus outline when it receives focus from the focus trap, such as when it carries the `autofocus` attribute. */
|
|
169
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
170
|
+
@apply pointer-events-auto relative row-start-2 flex w-full cursor-default flex-col bg-white shadow-xl ring-1 ring-gray-950/5 outline-none dark:bg-gray-900 dark:ring-white/10;
|
|
171
|
+
|
|
172
|
+
& .fi-modal-header {
|
|
173
|
+
@apply flex px-6 pt-6;
|
|
174
|
+
|
|
175
|
+
&.fi-vertical-align-center {
|
|
176
|
+
@apply items-center;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
& .fi-modal-eyebrow {
|
|
181
|
+
@apply mb-1 text-xs font-medium text-gray-500 dark:text-gray-400;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
& .fi-modal-heading {
|
|
185
|
+
@apply text-base leading-6 font-semibold text-gray-950 dark:text-white;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
& .fi-modal-description {
|
|
189
|
+
@apply mt-2 text-sm text-gray-500 dark:text-gray-400;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
& .fi-modal-content {
|
|
193
|
+
@apply flex flex-col gap-y-4 py-6;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
&.fi-align-start,
|
|
197
|
+
&.fi-align-left {
|
|
198
|
+
& .fi-modal-header {
|
|
199
|
+
@apply gap-x-5;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
& .fi-modal-icon-bg {
|
|
203
|
+
@apply p-2;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&.fi-align-center {
|
|
208
|
+
& .fi-modal-header {
|
|
209
|
+
@apply flex-col text-center;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
& .fi-modal-icon-ctn {
|
|
213
|
+
@apply mb-5 flex items-center justify-center;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
& .fi-modal-icon-bg {
|
|
217
|
+
@apply p-3;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
&.fi-hidden {
|
|
222
|
+
@apply hidden;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&.fi-width-3xs {
|
|
226
|
+
@apply max-w-3xs;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&.fi-width-2xs {
|
|
230
|
+
@apply max-w-2xs;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&.fi-width-xs {
|
|
234
|
+
@apply max-w-xs;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&.fi-width-sm {
|
|
238
|
+
@apply max-w-sm;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
&.fi-width-md {
|
|
242
|
+
@apply max-w-md;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
&.fi-width-lg {
|
|
246
|
+
@apply max-w-lg;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&.fi-width-xl {
|
|
250
|
+
@apply max-w-xl;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
&.fi-width-2xl {
|
|
254
|
+
@apply max-w-2xl;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
&.fi-width-3xl {
|
|
258
|
+
@apply max-w-3xl;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
&.fi-width-4xl {
|
|
262
|
+
@apply max-w-4xl;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
&.fi-width-5xl {
|
|
266
|
+
@apply max-w-5xl;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
&.fi-width-6xl {
|
|
270
|
+
@apply max-w-6xl;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&.fi-width-7xl {
|
|
274
|
+
@apply max-w-7xl;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&.fi-width-none {
|
|
278
|
+
@apply max-w-none;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
&.fi-width-full {
|
|
282
|
+
@apply max-w-full;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
&.fi-width-min {
|
|
286
|
+
@apply max-w-min;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
&.fi-width-max {
|
|
290
|
+
@apply max-w-max;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
&.fi-width-fit {
|
|
294
|
+
@apply max-w-fit;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
&.fi-width-prose {
|
|
298
|
+
@apply max-w-prose;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&.fi-width-container {
|
|
302
|
+
@apply container;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&.fi-width-screen-sm {
|
|
306
|
+
@apply max-w-screen-sm;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
&.fi-width-screen-md {
|
|
310
|
+
@apply max-w-screen-md;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
&.fi-width-screen-lg {
|
|
314
|
+
@apply max-w-screen-lg;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
&.fi-width-screen-xl {
|
|
318
|
+
@apply max-w-screen-xl;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
&.fi-width-screen-2xl {
|
|
322
|
+
@apply max-w-screen-2xl;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
&.fi-width-screen {
|
|
326
|
+
@apply fixed inset-0;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
&.fi-transition-enter,
|
|
330
|
+
&.fi-transition-leave {
|
|
331
|
+
@apply duration-300;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
&.fi-modal-window-has-close-btn {
|
|
335
|
+
&.fi-align-center:not(.fi-modal-window-has-icon) {
|
|
336
|
+
& .fi-modal-eyebrow,
|
|
337
|
+
& .fi-modal-heading {
|
|
338
|
+
@apply ms-6;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
&:not(.fi-modal-window-has-icon),
|
|
343
|
+
&.fi-align-start,
|
|
344
|
+
&.fi-align-left {
|
|
345
|
+
& .fi-modal-eyebrow,
|
|
346
|
+
& .fi-modal-heading {
|
|
347
|
+
@apply me-6;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
& .fi-modal-close-btn {
|
|
353
|
+
@apply absolute;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
& .fi-modal-footer {
|
|
357
|
+
@apply w-full;
|
|
358
|
+
|
|
359
|
+
& .fi-modal-footer-actions {
|
|
360
|
+
@apply gap-3;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
&.fi-align-start,
|
|
364
|
+
&.fi-align-left {
|
|
365
|
+
& .fi-modal-footer-actions {
|
|
366
|
+
@apply flex flex-wrap items-center;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
&.fi-align-center {
|
|
371
|
+
@apply px-6;
|
|
372
|
+
|
|
373
|
+
& .fi-modal-footer-actions {
|
|
374
|
+
@apply flex flex-col-reverse;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
&.fi-align-end,
|
|
379
|
+
&.fi-align-right {
|
|
380
|
+
& .fi-modal-footer-actions {
|
|
381
|
+
@apply flex flex-row-reverse flex-wrap items-center;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
& .fi-modal-icon-bg {
|
|
387
|
+
@apply rounded-full bg-gray-100 dark:bg-gray-500/20;
|
|
388
|
+
|
|
389
|
+
& > .fi-icon {
|
|
390
|
+
@apply text-gray-500 dark:text-gray-400;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
&.fi-color {
|
|
394
|
+
@apply bg-color-100 dark:bg-color-500/20;
|
|
395
|
+
|
|
396
|
+
& > .fi-icon {
|
|
397
|
+
@apply text-color-600 dark:text-color-400;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
&.fi-modal-has-sticky-header {
|
|
404
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
405
|
+
& > .fi-modal-header {
|
|
406
|
+
@apply sticky top-0 z-10 border-b border-gray-200 bg-white pb-6 dark:border-white/10 dark:bg-gray-900;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
& .fi-modal-content,
|
|
410
|
+
& .fi-modal-footer {
|
|
411
|
+
@apply px-6;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
&.fi-modal-slide-over.fi-modal-has-sticky-header {
|
|
417
|
+
& > .fi-modal-window-ctn > .fi-modal-window > .fi-modal-header {
|
|
418
|
+
@apply pb-5;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
&.fi-modal-has-sticky-footer {
|
|
423
|
+
& > .fi-modal-window-ctn > .fi-modal-window > .fi-modal-footer {
|
|
424
|
+
@apply sticky bottom-0 z-10 border-t border-gray-200 bg-white py-5 dark:border-white/10 dark:bg-gray-900;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
&:not(.fi-modal-has-sticky-footer) {
|
|
429
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
430
|
+
&:not(.fi-modal-window-has-content) {
|
|
431
|
+
& .fi-modal-footer {
|
|
432
|
+
@apply mt-6;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
&:not(.fi-modal-window-has-footer) {
|
|
436
|
+
& .fi-modal-header {
|
|
437
|
+
@apply pb-6;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
& .fi-modal-footer {
|
|
443
|
+
@apply pb-6;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
&:not(.fi-modal-has-sticky-header) {
|
|
449
|
+
&
|
|
450
|
+
> .fi-modal-window-ctn
|
|
451
|
+
> .fi-modal-window:not(.fi-modal-window-has-icon) {
|
|
452
|
+
& .fi-modal-content,
|
|
453
|
+
& .fi-modal-footer {
|
|
454
|
+
@apply px-6;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
&.fi-modal-slide-over {
|
|
460
|
+
& > .fi-modal-window-ctn > .fi-modal-window > .fi-modal-footer {
|
|
461
|
+
@apply mt-auto;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
@supports (container-type: inline-size) {
|
|
466
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
467
|
+
& .fi-modal-footer {
|
|
468
|
+
&.fi-align-center {
|
|
469
|
+
@apply @container;
|
|
470
|
+
|
|
471
|
+
& .fi-modal-footer-actions {
|
|
472
|
+
@apply @sm:grid @sm:grid-cols-[repeat(auto-fit,minmax(0,1fr))];
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
@supports not (container-type: inline-size) {
|
|
480
|
+
& > .fi-modal-window-ctn > .fi-modal-window {
|
|
481
|
+
& .fi-modal-footer {
|
|
482
|
+
&.fi-align-center {
|
|
483
|
+
& .fi-modal-footer-actions {
|
|
484
|
+
@apply sm:grid sm:grid-cols-[repeat(auto-fit,minmax(0,1fr))];
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
& .fi-modal-trigger {
|
|
493
|
+
@apply flex;
|
|
494
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
.fi-pagination {
|
|
2
|
+
@apply grid grid-cols-[1fr_auto_1fr] items-center gap-x-3;
|
|
3
|
+
|
|
4
|
+
&:empty {
|
|
5
|
+
@apply hidden;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
& .fi-pagination-previous-btn,
|
|
9
|
+
& .fi-pagination-next-btn {
|
|
10
|
+
&.fi-disabled {
|
|
11
|
+
@apply focus-visible:ring-primary-600 dark:focus-visible:ring-primary-500 focus-visible:ring-2;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
& .fi-pagination-previous-btn {
|
|
16
|
+
@apply justify-self-start;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
& .fi-pagination-overview {
|
|
20
|
+
@apply hidden text-sm font-medium text-gray-700 dark:text-gray-200;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
& .fi-pagination-records-per-page-select-ctn {
|
|
24
|
+
@apply col-start-2 justify-self-center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
& .fi-pagination-records-per-page-select {
|
|
28
|
+
&:not(.fi-compact) {
|
|
29
|
+
@apply hidden;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
& .fi-pagination-next-btn {
|
|
34
|
+
@apply col-start-3 justify-self-end;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
& .fi-pagination-items {
|
|
38
|
+
@apply hidden justify-self-end rounded-lg bg-white shadow-sm ring-1 ring-gray-950/10 dark:bg-white/5 dark:ring-white/20;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& .fi-pagination-item {
|
|
42
|
+
@apply border-x-[0.5px] border-gray-200 first:border-s-0 last:border-e-0 dark:border-white/10;
|
|
43
|
+
|
|
44
|
+
&.fi-active {
|
|
45
|
+
& .fi-pagination-item-btn {
|
|
46
|
+
@apply bg-gray-50 dark:bg-white/5;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
& .fi-pagination-item-label {
|
|
50
|
+
@apply text-primary-700 dark:text-primary-400;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:first-of-type {
|
|
55
|
+
& .fi-pagination-item-btn {
|
|
56
|
+
@apply rounded-s-lg;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&:last-of-type {
|
|
61
|
+
& .fi-pagination-item-btn {
|
|
62
|
+
@apply rounded-e-lg;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.fi-disabled {
|
|
67
|
+
& .fi-pagination-item-label {
|
|
68
|
+
@apply text-gray-500 dark:text-gray-400;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
& .fi-pagination-item-btn {
|
|
74
|
+
@apply relative flex overflow-hidden p-2 transition duration-75 outline-none;
|
|
75
|
+
|
|
76
|
+
&.fi-disabled {
|
|
77
|
+
@apply cursor-default;
|
|
78
|
+
|
|
79
|
+
& .fi-pagination-item-label {
|
|
80
|
+
@apply text-gray-500 dark:text-gray-400;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:enabled {
|
|
85
|
+
@apply focus-visible:ring-primary-600 dark:focus-visible:ring-primary-500 focus-visible:z-1 focus-visible:ring-2;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:enabled:not(.fi-disabled):hover {
|
|
89
|
+
@apply bg-gray-50 dark:bg-white/5;
|
|
90
|
+
|
|
91
|
+
& .fi-icon {
|
|
92
|
+
@apply text-gray-500 dark:text-gray-400;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
& .fi-icon {
|
|
97
|
+
@apply text-gray-400 transition duration-75 dark:text-gray-500;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
& .fi-pagination-item-label {
|
|
101
|
+
@apply px-1.5 text-sm font-semibold text-gray-700 dark:text-gray-200;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@supports (container-type: inline-size) {
|
|
106
|
+
@apply @container;
|
|
107
|
+
|
|
108
|
+
& .fi-pagination-records-per-page-select {
|
|
109
|
+
&:not(.fi-compact) {
|
|
110
|
+
@apply @md:inline;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.fi-compact {
|
|
114
|
+
@apply @md:hidden;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:not(.fi-simple) {
|
|
119
|
+
& .fi-pagination-previous-btn,
|
|
120
|
+
& .fi-pagination-next-btn {
|
|
121
|
+
@apply @4xl:hidden;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
& .fi-pagination-overview {
|
|
126
|
+
@apply @4xl:inline;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
& .fi-pagination-items {
|
|
130
|
+
@apply @4xl:flex;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@supports not (container-type: inline-size) {
|
|
135
|
+
& .fi-pagination-records-per-page-select {
|
|
136
|
+
&:not(.fi-compact) {
|
|
137
|
+
@apply sm:inline;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&.fi-compact {
|
|
141
|
+
@apply sm:hidden;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&:not(.fi-simple) {
|
|
146
|
+
& .fi-pagination-previous-btn,
|
|
147
|
+
& .fi-pagination-next-btn {
|
|
148
|
+
@apply md:hidden;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
& .fi-pagination-overview {
|
|
153
|
+
@apply md:inline;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
& .fi-pagination-items {
|
|
157
|
+
@apply md:flex;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|