@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,77 @@
|
|
|
1
|
+
.fi-sc-tabs {
|
|
2
|
+
@apply flex flex-col;
|
|
3
|
+
|
|
4
|
+
& > .fi-tabs > .fi-sc-tabs-tablist {
|
|
5
|
+
@apply contents;
|
|
6
|
+
|
|
7
|
+
&.fi-disabled > .fi-tabs-item {
|
|
8
|
+
@apply cursor-default opacity-70;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
& .fi-sc-tabs-header-overflow:not(.fi-sc-tabs-header-overflow-open) {
|
|
13
|
+
@apply sr-only;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
& .fi-sc-tabs-header-overflow-open {
|
|
17
|
+
@apply focus-visible:ring-primary-600 dark:focus-visible:ring-primary-500 fixed z-32 justify-start rounded-md px-2 font-normal focus-visible:ring-2 focus-visible:ring-inset;
|
|
18
|
+
|
|
19
|
+
left: var(--tab-overflow-left);
|
|
20
|
+
top: var(--tab-overflow-top);
|
|
21
|
+
width: var(--tab-overflow-width);
|
|
22
|
+
height: var(--tab-overflow-height);
|
|
23
|
+
clip-path: var(--tab-overflow-clip-path);
|
|
24
|
+
|
|
25
|
+
& .fi-tabs-item-label {
|
|
26
|
+
@apply flex-1 truncate text-start;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& .fi-sc-tabs-overflow-panel {
|
|
31
|
+
@apply fixed z-31 overflow-y-auto;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
& .fi-sc-tabs-overflow-placeholder {
|
|
35
|
+
@apply invisible;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
& .fi-tabs.fi-invisible {
|
|
39
|
+
@apply invisible;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
& .fi-sc-tabs-tab {
|
|
43
|
+
@apply focus-visible:ring-primary-600 dark:focus-visible:ring-primary-500 outline-hidden focus-visible:ring-2;
|
|
44
|
+
|
|
45
|
+
&.fi-active {
|
|
46
|
+
@apply mt-6;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:not(.fi-active) {
|
|
50
|
+
@apply hidden;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.fi-contained {
|
|
55
|
+
@apply rounded-xl bg-white shadow-xs ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10;
|
|
56
|
+
|
|
57
|
+
& .fi-sc-tabs-tab {
|
|
58
|
+
&.fi-active {
|
|
59
|
+
@apply mt-0 p-6;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.fi-vertical {
|
|
65
|
+
@apply flex-row;
|
|
66
|
+
|
|
67
|
+
&:not(.fi-contained) > .fi-tabs {
|
|
68
|
+
@apply self-start;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
& .fi-sc-tabs-tab {
|
|
72
|
+
&.fi-active {
|
|
73
|
+
@apply ms-6 mt-0 flex-1;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
.fi-sc-text {
|
|
2
|
+
&.fi-copyable {
|
|
3
|
+
@apply cursor-pointer outline-none focus-visible:rounded-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&.fi-font-sans {
|
|
7
|
+
@apply font-sans;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.fi-font-serif {
|
|
11
|
+
@apply font-serif;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.fi-font-mono {
|
|
15
|
+
@apply font-mono;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:not(.fi-badge) {
|
|
19
|
+
@apply inline-block text-sm break-words text-gray-600 dark:text-gray-400;
|
|
20
|
+
|
|
21
|
+
&.fi-font-thin {
|
|
22
|
+
@apply font-thin;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.fi-font-extralight {
|
|
26
|
+
@apply font-extralight;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.fi-font-light {
|
|
30
|
+
@apply font-light;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.fi-font-normal {
|
|
34
|
+
@apply font-normal;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.fi-font-medium {
|
|
38
|
+
@apply font-medium;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.fi-font-semibold {
|
|
42
|
+
@apply font-semibold;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.fi-font-bold {
|
|
46
|
+
@apply font-bold;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.fi-font-extrabold {
|
|
50
|
+
@apply font-extrabold;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.fi-font-black {
|
|
54
|
+
@apply font-black;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.fi-size-lg {
|
|
58
|
+
@apply text-lg;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.fi-color-neutral {
|
|
62
|
+
@apply text-gray-950 dark:text-white;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.fi-color:not(.fi-color-neutral) {
|
|
66
|
+
@apply text-(--text) dark:text-(--dark-text);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.fi-size-xs {
|
|
70
|
+
@apply text-xs;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.fi-size-md {
|
|
74
|
+
@apply text-base;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
.fi-sc-wizard {
|
|
2
|
+
@apply flex flex-col;
|
|
3
|
+
|
|
4
|
+
& .fi-sc-wizard-header {
|
|
5
|
+
@apply grid md:grid-flow-col md:overflow-x-auto;
|
|
6
|
+
|
|
7
|
+
& .fi-sc-wizard-header-step {
|
|
8
|
+
@apply relative flex;
|
|
9
|
+
|
|
10
|
+
&:not(.fi-active) {
|
|
11
|
+
@apply hidden md:flex;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
& .fi-sc-wizard-header-step-btn {
|
|
15
|
+
@apply flex h-full items-center gap-x-4 px-6 py-4 text-start;
|
|
16
|
+
|
|
17
|
+
& .fi-sc-wizard-header-step-icon-ctn {
|
|
18
|
+
@apply flex size-10 shrink-0 items-center justify-center rounded-full;
|
|
19
|
+
|
|
20
|
+
& .fi-sc-wizard-header-step-number {
|
|
21
|
+
@apply text-sm font-medium;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& .fi-sc-wizard-header-step-text {
|
|
26
|
+
@apply grid justify-items-start md:w-max md:max-w-60;
|
|
27
|
+
|
|
28
|
+
& .fi-sc-wizard-header-step-label {
|
|
29
|
+
@apply text-sm font-medium;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
& .fi-sc-wizard-header-step-description {
|
|
33
|
+
@apply text-start text-sm text-gray-500 dark:text-gray-400;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
& .fi-sc-wizard-header-step-separator {
|
|
39
|
+
@apply absolute end-0 hidden h-full w-5 text-gray-200 md:block rtl:rotate-180 dark:text-white/5;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.fi-completed {
|
|
43
|
+
& .fi-sc-wizard-header-step-btn {
|
|
44
|
+
& .fi-sc-wizard-header-step-icon-ctn {
|
|
45
|
+
@apply bg-primary-600 dark:bg-primary-500;
|
|
46
|
+
|
|
47
|
+
& .fi-icon {
|
|
48
|
+
@apply text-white;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
& .fi-sc-wizard-header-step-text {
|
|
53
|
+
& .fi-sc-wizard-header-step-label {
|
|
54
|
+
@apply text-gray-950 dark:text-white;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&:not(.fi-completed) {
|
|
61
|
+
& .fi-sc-wizard-header-step-btn {
|
|
62
|
+
& .fi-sc-wizard-header-step-icon-ctn {
|
|
63
|
+
@apply border-2;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.fi-active {
|
|
68
|
+
& .fi-sc-wizard-header-step-btn {
|
|
69
|
+
& .fi-sc-wizard-header-step-icon-ctn {
|
|
70
|
+
& .fi-icon {
|
|
71
|
+
@apply text-primary-600 dark:text-primary-500;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:not(.fi-active) {
|
|
78
|
+
& .fi-sc-wizard-header-step-btn {
|
|
79
|
+
& .fi-sc-wizard-header-step-icon-ctn {
|
|
80
|
+
& .fi-icon {
|
|
81
|
+
@apply text-gray-500 dark:text-gray-400;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
& .fi-sc-wizard-header-step-text {
|
|
86
|
+
& .fi-sc-wizard-header-step-label {
|
|
87
|
+
@apply text-gray-500 dark:text-gray-400;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.fi-active {
|
|
95
|
+
& .fi-sc-wizard-header-step-btn {
|
|
96
|
+
& .fi-sc-wizard-header-step-icon-ctn {
|
|
97
|
+
@apply border-primary-600 dark:border-primary-500;
|
|
98
|
+
|
|
99
|
+
& .fi-sc-wizard-header-step-number {
|
|
100
|
+
@apply text-primary-600 dark:text-primary-500;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
& .fi-sc-wizard-header-step-text {
|
|
105
|
+
& .fi-sc-wizard-header-step-label {
|
|
106
|
+
@apply text-primary-700 dark:text-primary-400;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&:not(.fi-active) {
|
|
113
|
+
& .fi-sc-wizard-header-step-btn {
|
|
114
|
+
& .fi-sc-wizard-header-step-icon-ctn {
|
|
115
|
+
@apply border-gray-300 dark:border-gray-600;
|
|
116
|
+
|
|
117
|
+
& .fi-sc-wizard-header-step-number {
|
|
118
|
+
@apply text-gray-500 dark:text-gray-400;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
& .fi-sc-wizard-step {
|
|
127
|
+
@apply outline-hidden;
|
|
128
|
+
|
|
129
|
+
&:not(.fi-active) {
|
|
130
|
+
@apply hidden;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&:not(.fi-sc-wizard-header-hidden) {
|
|
135
|
+
& .fi-sc-wizard-step {
|
|
136
|
+
&.fi-active {
|
|
137
|
+
@apply mt-6;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
& .fi-sc-wizard-footer {
|
|
143
|
+
@apply flex items-center justify-between gap-x-3;
|
|
144
|
+
|
|
145
|
+
& > .fi-hidden {
|
|
146
|
+
@apply hidden;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&.fi-contained {
|
|
151
|
+
@apply rounded-xl bg-white shadow-xs ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10;
|
|
152
|
+
|
|
153
|
+
& .fi-sc-wizard-header {
|
|
154
|
+
@apply border-b border-gray-200 dark:border-white/10;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
& .fi-sc-wizard-step {
|
|
158
|
+
&.fi-active {
|
|
159
|
+
@apply mt-0 p-6;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
& .fi-sc-wizard-footer {
|
|
164
|
+
@apply px-6 pb-6;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&:not(.fi-contained) {
|
|
169
|
+
& .fi-sc-wizard-header {
|
|
170
|
+
@apply rounded-xl bg-white shadow-xs ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
& .fi-sc-wizard-footer {
|
|
174
|
+
@apply mt-6;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@import './components/actions.css' layer(components);
|
|
2
|
+
@import './components/flex.css' layer(components);
|
|
3
|
+
@import './components/form.css' layer(components);
|
|
4
|
+
@import './components/fused-group.css' layer(components);
|
|
5
|
+
@import './components/icon.css' layer(components);
|
|
6
|
+
@import './components/image.css' layer(components);
|
|
7
|
+
@import './components/section.css' layer(components);
|
|
8
|
+
@import './components/tabs.css' layer(components);
|
|
9
|
+
@import './components/text.css' layer(components);
|
|
10
|
+
@import './components/unordered-list.css' layer(components);
|
|
11
|
+
@import './components/wizard.css' layer(components);
|
|
12
|
+
@import './schema.css' layer(components);
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
.fi-sc {
|
|
2
|
+
@apply text-sm;
|
|
3
|
+
|
|
4
|
+
& > .fi-sc-liberated {
|
|
5
|
+
@apply contents;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&.fi-sc-loading {
|
|
9
|
+
@apply grid min-h-32 place-items-center text-gray-400 dark:text-gray-500;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.fi-inline {
|
|
13
|
+
@apply flex grow flex-wrap items-center;
|
|
14
|
+
|
|
15
|
+
& > .fi-growable,
|
|
16
|
+
& > .fi-sc-liberated > .fi-growable {
|
|
17
|
+
@apply w-full flex-1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
& > .fi-sc-action:not(.fi-hidden) {
|
|
21
|
+
@apply contents;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.fi-sc-has-gap {
|
|
26
|
+
@apply gap-6;
|
|
27
|
+
|
|
28
|
+
&.fi-sc-dense {
|
|
29
|
+
@apply gap-3;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.fi-align-start,
|
|
34
|
+
&.fi-align-left {
|
|
35
|
+
@apply justify-start;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.fi-align-center {
|
|
39
|
+
@apply justify-center;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.fi-align-end,
|
|
43
|
+
&.fi-align-right {
|
|
44
|
+
@apply justify-end;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.fi-align-between,
|
|
48
|
+
&.fi-align-justify {
|
|
49
|
+
@apply justify-between;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
& > .fi-hidden,
|
|
53
|
+
& > .fi-sc-liberated > .fi-hidden {
|
|
54
|
+
@apply hidden;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
& > .fi-grid-col,
|
|
58
|
+
& > .fi-sc-liberated > .fi-grid-col {
|
|
59
|
+
&.fi-width-3xs {
|
|
60
|
+
@apply max-w-3xs;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.fi-width-2xs {
|
|
64
|
+
@apply max-w-2xs;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.fi-width-xs {
|
|
68
|
+
@apply max-w-xs;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.fi-width-sm {
|
|
72
|
+
@apply max-w-sm;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.fi-width-md {
|
|
76
|
+
@apply max-w-md;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.fi-width-lg {
|
|
80
|
+
@apply max-w-lg;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.fi-width-xl {
|
|
84
|
+
@apply max-w-xl;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.fi-width-2xl {
|
|
88
|
+
@apply max-w-2xl;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&.fi-width-3xl {
|
|
92
|
+
@apply max-w-3xl;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&.fi-width-4xl {
|
|
96
|
+
@apply max-w-4xl;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&.fi-width-5xl {
|
|
100
|
+
@apply max-w-5xl;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.fi-width-6xl {
|
|
104
|
+
@apply max-w-6xl;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.fi-width-7xl {
|
|
108
|
+
@apply max-w-7xl;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.fi-width-none {
|
|
112
|
+
@apply max-w-none;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&.fi-width-container {
|
|
116
|
+
@apply container;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
& > .fi-sc-component {
|
|
120
|
+
@apply h-full;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* The `<fieldset>` around a component with a client-side visibility condition exists to
|
|
126
|
+
be `disabled` while the component is hidden, not to group controls, so it must not
|
|
127
|
+
affect the layout like a fieldset. */
|
|
128
|
+
fieldset.fi-sc-visibility-fieldset {
|
|
129
|
+
@apply m-0 min-w-0 border-0 p-0;
|
|
130
|
+
|
|
131
|
+
min-inline-size: 0;
|
|
132
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px #9aa1b126,0 4px 80px -8px #24282f40,0 4px 4px -2px #5b5e6926;background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
button:not(:disabled),
|
|
2
|
+
[role='button']:not(:disabled) {
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
* Honor the OS "reduce motion" setting for every framework animation/transition
|
|
8
|
+
* (WCAG 2.3.3, and 2.2.2 for the indefinite loading pulse). This reduces rather
|
|
9
|
+
* than removes motion: a near-instant `0.01ms` (not `0`) keeps `transitionend` /
|
|
10
|
+
* `animationend` firing so Alpine `x-transition` / `x-collapse` still resolve,
|
|
11
|
+
* and end-states (chevron rotation, toggle thumb) land instantly. `!important`
|
|
12
|
+
* in the base layer beats component-layer transitions without per-rule guards.
|
|
13
|
+
*/
|
|
14
|
+
@media (prefers-reduced-motion: reduce) {
|
|
15
|
+
*,
|
|
16
|
+
*::before,
|
|
17
|
+
*::after {
|
|
18
|
+
animation-duration: 0.01ms !important;
|
|
19
|
+
animation-iteration-count: 1 !important;
|
|
20
|
+
transition-duration: 0.01ms !important;
|
|
21
|
+
scroll-behavior: auto !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
.fi-badge {
|
|
2
|
+
@apply inline-flex min-w-[theme(spacing.6)] items-center justify-center gap-x-1 rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-gray-600/10 ring-inset dark:bg-gray-400/10 dark:text-gray-200 dark:ring-gray-400/20;
|
|
3
|
+
|
|
4
|
+
&:not(.fi-wrapped) {
|
|
5
|
+
@apply truncate;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&.fi-disabled:not(.fi-force-enabled),
|
|
9
|
+
&[disabled]:not(.fi-force-enabled) {
|
|
10
|
+
@apply cursor-default opacity-70;
|
|
11
|
+
|
|
12
|
+
&:not([x-tooltip]) {
|
|
13
|
+
@apply pointer-events-none;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Pinning the badge's baseline to the label keeps it aligned with surrounding text, even when the loading indicator is the first flex item. */
|
|
18
|
+
& .fi-badge-label-ctn {
|
|
19
|
+
@apply grid self-baseline;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
& .fi-badge-label {
|
|
23
|
+
&.fi-wrapped {
|
|
24
|
+
@apply text-wrap;
|
|
25
|
+
word-break: break-word;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:not(.fi-wrapped) {
|
|
29
|
+
@apply truncate;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
& .fi-icon {
|
|
34
|
+
@apply shrink-0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.fi-size-xs {
|
|
38
|
+
@apply min-w-[theme(spacing.4)] px-0.5 py-0 tracking-tighter;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.fi-size-sm {
|
|
42
|
+
@apply min-w-[theme(spacing.5)] px-1.5 py-0.5 tracking-tight;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.fi-color {
|
|
46
|
+
@apply bg-color-50 ring-color-600/10 dark:bg-color-400/10 dark:ring-color-400/30 text-(--text) dark:text-(--dark-text);
|
|
47
|
+
|
|
48
|
+
& .fi-badge-delete-btn-icon {
|
|
49
|
+
@apply text-color-700/50 dark:text-color-300/50;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:not(.fi-color) .fi-icon {
|
|
54
|
+
@apply text-gray-400 dark:text-gray-500;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
& .fi-icon.fi-color {
|
|
58
|
+
@apply text-color-500;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
& .fi-badge-delete-btn {
|
|
62
|
+
@apply -my-1 -ms-1 -me-2 flex items-center justify-center p-1 transition duration-75 outline-none;
|
|
63
|
+
|
|
64
|
+
&.fi-disabled {
|
|
65
|
+
@apply cursor-default opacity-70;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* The glyph is a mask painted in `currentColor`, not a hardcoded fill, so
|
|
70
|
+
the hover and focus colors below still reach it. */
|
|
71
|
+
& .fi-badge-delete-btn-icon {
|
|
72
|
+
@apply size-3 shrink-0 text-gray-700/50 dark:text-gray-300/50;
|
|
73
|
+
|
|
74
|
+
background-color: currentColor;
|
|
75
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M5.28 4.22a.75.75 0 0 0-1.06 1.06L6.94 8l-2.72 2.72a.75.75 0 1 0 1.06 1.06L8 9.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L9.06 8l2.72-2.72a.75.75 0 0 0-1.06-1.06L8 6.94 5.28 4.22Z' /%3E%3C/svg%3E");
|
|
76
|
+
mask-position: center;
|
|
77
|
+
mask-repeat: no-repeat;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.fi-force-enabled,
|
|
81
|
+
&:not(.fi-disabled):not([disabled]) {
|
|
82
|
+
& .fi-badge-delete-btn-icon {
|
|
83
|
+
@apply focus-visible:text-gray-700/75 dark:hover:text-gray-300/75 dark:focus-visible:text-gray-300/75;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&.fi-color .fi-badge-delete-btn-icon {
|
|
87
|
+
@apply hover:text-color-700/75 focus-visible:text-color-700/75 dark:hover:text-color-300/75 dark:focus-visible:text-color-300/75;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.fi-breadcrumbs {
|
|
2
|
+
& ol {
|
|
3
|
+
@apply flex flex-wrap items-center gap-x-2;
|
|
4
|
+
|
|
5
|
+
& li {
|
|
6
|
+
@apply flex items-center gap-x-2 text-sm font-medium text-gray-500 dark:text-gray-400;
|
|
7
|
+
|
|
8
|
+
& a {
|
|
9
|
+
@apply transition duration-75 hover:text-gray-700 dark:hover:text-gray-200;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
& .fi-icon {
|
|
13
|
+
@apply flex text-gray-400 dark:text-gray-500;
|
|
14
|
+
|
|
15
|
+
&.fi-ltr {
|
|
16
|
+
@apply rtl:hidden;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.fi-rtl {
|
|
20
|
+
@apply ltr:hidden;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|