@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,54 @@
|
|
|
1
|
+
.fi-fo-slider {
|
|
2
|
+
@apply gap-4 rounded-lg border-0 bg-transparent shadow-sm ring-1 ring-gray-950/10 dark:ring-white/20;
|
|
3
|
+
|
|
4
|
+
& .noUi-connect {
|
|
5
|
+
@apply bg-primary-500 dark:bg-primary-600;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
& .noUi-connects {
|
|
9
|
+
@apply rounded-lg bg-gray-950/5 dark:bg-white/5;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
& .noUi-handle {
|
|
13
|
+
@apply focus:outline-primary-600 dark:focus:outline-primary-500 absolute rounded-lg border-1 border-gray-950/10 bg-white shadow-none backface-hidden focus:outline-2 dark:border-white/20 dark:bg-gray-700;
|
|
14
|
+
|
|
15
|
+
&::before,
|
|
16
|
+
&::after {
|
|
17
|
+
@apply border-0 bg-gray-400;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
& .noUi-tooltip {
|
|
22
|
+
@apply rounded-md border-0 bg-white text-gray-950 shadow-sm ring-1 ring-gray-950/10 dark:bg-gray-800 dark:text-white dark:ring-white/20;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& .noUi-pips {
|
|
26
|
+
& .noUi-value {
|
|
27
|
+
@apply text-gray-950 dark:text-white;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.fi-fo-slider-vertical {
|
|
32
|
+
@apply mt-4 h-40;
|
|
33
|
+
|
|
34
|
+
&.fi-fo-slider-has-tooltips {
|
|
35
|
+
@apply ms-10;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:not(.fi-fo-slider-vertical) {
|
|
40
|
+
&.fi-fo-slider-has-pips {
|
|
41
|
+
@apply mb-8;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.fi-fo-slider-has-tooltips {
|
|
45
|
+
@apply mt-10;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& .noUi-pips {
|
|
49
|
+
& .noUi-value {
|
|
50
|
+
@apply mt-1;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.fi-fo-tags-input {
|
|
2
|
+
&.fi-disabled {
|
|
3
|
+
& .fi-badge-delete-btn {
|
|
4
|
+
@apply hidden;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
& .fi-fo-tags-input-tags-ctn {
|
|
9
|
+
@apply flex w-full flex-wrap gap-1.5 border-t border-t-gray-200 p-2 dark:border-t-white/10;
|
|
10
|
+
|
|
11
|
+
& > template {
|
|
12
|
+
@apply hidden;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
& > .fi-badge {
|
|
16
|
+
&.fi-reorderable {
|
|
17
|
+
@apply cursor-move;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
& .fi-badge-label-ctn {
|
|
21
|
+
@apply text-start select-none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.fi-fo-tags-input-wrp {
|
|
28
|
+
&.fi-fo-field-has-inline-label {
|
|
29
|
+
& .fi-fo-field-label-col {
|
|
30
|
+
@apply sm:pt-1.5;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.fi-fo-text-input {
|
|
2
|
+
@apply overflow-hidden;
|
|
3
|
+
|
|
4
|
+
& input {
|
|
5
|
+
&.fi-revealable {
|
|
6
|
+
@apply [&::-ms-reveal]:hidden;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&[type='number']:disabled,
|
|
10
|
+
&[type='number'][readonly] {
|
|
11
|
+
-moz-appearance: textfield;
|
|
12
|
+
|
|
13
|
+
&::-webkit-inner-spin-button,
|
|
14
|
+
&::-webkit-outer-spin-button {
|
|
15
|
+
@apply appearance-none;
|
|
16
|
+
margin: 0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.fi-fo-textarea {
|
|
2
|
+
@apply overflow-hidden;
|
|
3
|
+
|
|
4
|
+
& textarea {
|
|
5
|
+
@apply block h-full w-full border-none bg-transparent px-3 py-1.5 text-sm leading-6 text-gray-950 placeholder:text-gray-400 focus:ring-0 focus:outline-none disabled:text-gray-500 disabled:[-webkit-text-fill-color:var(--color-gray-500)] disabled:placeholder:[-webkit-text-fill-color:var(--color-gray-400)] dark:text-white dark:placeholder:text-gray-500 dark:disabled:text-gray-400 dark:disabled:[-webkit-text-fill-color:var(--color-gray-400)] dark:disabled:placeholder:[-webkit-text-fill-color:var(--color-gray-500)];
|
|
6
|
+
|
|
7
|
+
/* https://defensivecss.dev/tip/input-zoom-safari */
|
|
8
|
+
@supports (-webkit-touch-callout: none) {
|
|
9
|
+
@apply text-base;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.fi-autosizable {
|
|
14
|
+
& textarea {
|
|
15
|
+
@apply resize-none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.fi-fo-textarea-wrp {
|
|
21
|
+
&.fi-fo-field-has-inline-label {
|
|
22
|
+
& .fi-fo-field-label-col {
|
|
23
|
+
@apply sm:pt-1.5;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.fi-fo-toggle-buttons {
|
|
2
|
+
&.fi-btn-group {
|
|
3
|
+
@apply w-max max-w-full;
|
|
4
|
+
|
|
5
|
+
&.fi-width-full {
|
|
6
|
+
@apply w-full;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&:not(.fi-btn-group) {
|
|
11
|
+
@apply gap-3;
|
|
12
|
+
|
|
13
|
+
&.fi-inline {
|
|
14
|
+
@apply flex flex-wrap;
|
|
15
|
+
|
|
16
|
+
&.fi-width-full {
|
|
17
|
+
& .fi-fo-toggle-buttons-btn-ctn {
|
|
18
|
+
@apply grow;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:not(.fi-inline).fi-grid-direction-col {
|
|
24
|
+
@apply -mt-3;
|
|
25
|
+
|
|
26
|
+
& .fi-fo-toggle-buttons-btn-ctn {
|
|
27
|
+
@apply break-inside-avoid pt-3;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.fi-width-full .fi-fo-toggle-buttons-btn-ctn .fi-btn {
|
|
32
|
+
@apply w-full;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
& .fi-fo-toggle-buttons-input {
|
|
37
|
+
@apply pointer-events-none absolute opacity-0;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.fi-fo-toggle-buttons-wrp {
|
|
42
|
+
@apply outline-none;
|
|
43
|
+
|
|
44
|
+
&.fi-fo-field-has-inline-label {
|
|
45
|
+
& .fi-fo-field-label-col {
|
|
46
|
+
@apply sm:pt-1.5;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@import '../../dist/index.css' layer(components);
|
|
2
|
+
@import './components/builder.css' layer(components);
|
|
3
|
+
@import './components/checkbox-list.css' layer(components);
|
|
4
|
+
@import './components/code-editor.css' layer(components);
|
|
5
|
+
@import './components/color-picker.css' layer(components);
|
|
6
|
+
@import './components/date-time-picker.css' layer(components);
|
|
7
|
+
@import './components/field.css' layer(components);
|
|
8
|
+
@import './components/file-upload.css' layer(components);
|
|
9
|
+
@import './components/key-value.css' layer(components);
|
|
10
|
+
@import './components/markdown-editor.css' layer(components);
|
|
11
|
+
@import './components/modal-table-select.css' layer(components);
|
|
12
|
+
@import './components/radio.css' layer(components);
|
|
13
|
+
@import './components/repeater.css' layer(components);
|
|
14
|
+
@import './components/rich-editor.css' layer(components);
|
|
15
|
+
@import './components/select.css' layer(components);
|
|
16
|
+
@import './components/slider.css' layer(components);
|
|
17
|
+
@import './components/tags-input.css' layer(components);
|
|
18
|
+
@import './components/text-input.css' layer(components);
|
|
19
|
+
@import './components/textarea.css' layer(components);
|
|
20
|
+
@import './components/toggle-buttons.css' layer(components);
|
|
21
|
+
|
|
22
|
+
@layer utilities {
|
|
23
|
+
.fi-fo-rich-editor .tiptap {
|
|
24
|
+
&
|
|
25
|
+
p
|
|
26
|
+
[data-resize-container][data-node='image']:where(
|
|
27
|
+
:not(.fi-not-prose, .fi-not-prose *)
|
|
28
|
+
) {
|
|
29
|
+
margin-top: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.fi-in-code {
|
|
2
|
+
& .phiki {
|
|
3
|
+
@apply overflow-x-auto rounded-lg px-4 py-3 shadow-sm ring-1 ring-gray-950/10 dark:ring-white/20;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@variant dark {
|
|
7
|
+
& .phiki,
|
|
8
|
+
& .phiki span {
|
|
9
|
+
color: var(--phiki-dark-color) !important;
|
|
10
|
+
background-color: var(--phiki-dark-background-color) !important;
|
|
11
|
+
font-style: var(--phiki-dark-font-style) !important;
|
|
12
|
+
font-weight: var(--phiki-dark-font-weight) !important;
|
|
13
|
+
text-decoration: var(--phiki-dark-text-decoration) !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.fi-copyable,
|
|
18
|
+
& > .fi-copyable {
|
|
19
|
+
@apply focus-visible:ring-primary-600 dark:focus-visible:ring-primary-500 cursor-pointer rounded-lg outline-none focus-visible:ring-2;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.fi-in-color {
|
|
2
|
+
@apply flex w-full gap-1.5;
|
|
3
|
+
|
|
4
|
+
&.fi-wrapped {
|
|
5
|
+
@apply flex-wrap;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&.fi-align-start,
|
|
9
|
+
&.fi-align-left {
|
|
10
|
+
@apply justify-start;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.fi-align-center {
|
|
14
|
+
@apply justify-center;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.fi-align-end,
|
|
18
|
+
&.fi-align-right {
|
|
19
|
+
@apply justify-end;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.fi-align-justify,
|
|
23
|
+
&.fi-align-between {
|
|
24
|
+
@apply justify-between;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
& > .fi-in-color-item {
|
|
28
|
+
@apply size-6 rounded-md ring-1 ring-gray-950/10 dark:ring-white/20;
|
|
29
|
+
|
|
30
|
+
&.fi-copyable {
|
|
31
|
+
@apply focus-visible:ring-primary-600 dark:focus-visible:ring-primary-500 cursor-pointer outline-none focus-visible:ring-2;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
.fi-in-entry {
|
|
2
|
+
@apply grid gap-y-2;
|
|
3
|
+
|
|
4
|
+
&.fi-in-entry-has-inline-label {
|
|
5
|
+
@apply sm:grid-cols-3 sm:items-start sm:gap-x-4;
|
|
6
|
+
|
|
7
|
+
& .fi-in-entry-content-col {
|
|
8
|
+
@apply sm:col-span-2;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
& .fi-in-entry-label-ctn {
|
|
13
|
+
@apply flex items-start gap-x-3;
|
|
14
|
+
|
|
15
|
+
& > .fi-sc:nth-child(1) {
|
|
16
|
+
@apply grow-0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
& .fi-in-entry-label {
|
|
21
|
+
@apply text-sm font-medium text-gray-950 dark:text-white;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
& .fi-in-entry-label-col {
|
|
25
|
+
@apply grid auto-cols-fr gap-y-2;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
& .fi-in-entry-content-col {
|
|
29
|
+
@apply grid auto-cols-fr gap-y-2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
& .fi-in-entry-content-slot {
|
|
33
|
+
@apply contents;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
& .fi-in-entry-content-ctn {
|
|
37
|
+
@apply flex w-full items-center gap-x-3;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
& .fi-in-entry-content {
|
|
41
|
+
@apply block w-full text-start;
|
|
42
|
+
|
|
43
|
+
&.fi-align-center {
|
|
44
|
+
@apply text-center;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.fi-align-end {
|
|
48
|
+
@apply text-end;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.fi-align-left {
|
|
52
|
+
@apply text-left;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.fi-align-right {
|
|
56
|
+
@apply text-right;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.fi-align-justify,
|
|
60
|
+
&.fi-align-between {
|
|
61
|
+
@apply text-justify;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
& .fi-in-placeholder {
|
|
66
|
+
@apply text-sm text-gray-400 dark:text-gray-500;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.fi-in-icon {
|
|
2
|
+
@apply flex w-full gap-1.5;
|
|
3
|
+
|
|
4
|
+
&.fi-wrapped {
|
|
5
|
+
@apply flex-wrap;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&.fi-in-icon-has-line-breaks {
|
|
9
|
+
@apply flex-col;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.fi-align-start,
|
|
13
|
+
&.fi-align-left {
|
|
14
|
+
@apply justify-start;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.fi-align-center {
|
|
18
|
+
@apply justify-center;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.fi-align-end,
|
|
22
|
+
&.fi-align-right {
|
|
23
|
+
@apply justify-end;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.fi-align-justify,
|
|
27
|
+
&.fi-align-between {
|
|
28
|
+
@apply justify-between;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
& > .fi-icon,
|
|
32
|
+
& > a > .fi-icon {
|
|
33
|
+
@apply text-gray-400 dark:text-gray-500;
|
|
34
|
+
|
|
35
|
+
&.fi-color {
|
|
36
|
+
@apply text-(--text) dark:text-(--dark-text);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
.fi-in-image {
|
|
2
|
+
@apply flex w-full items-center gap-1.5;
|
|
3
|
+
|
|
4
|
+
& img {
|
|
5
|
+
@apply max-w-none object-cover object-center;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&.fi-circular {
|
|
9
|
+
& img {
|
|
10
|
+
@apply rounded-full;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.fi-in-image-ring {
|
|
15
|
+
& img,
|
|
16
|
+
& .fi-in-image-limited-remaining-text {
|
|
17
|
+
@apply ring ring-white dark:ring-gray-900;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.fi-in-image-ring-0 {
|
|
21
|
+
& img,
|
|
22
|
+
& .fi-in-image-limited-remaining-text {
|
|
23
|
+
@apply ring-0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.fi-in-image-ring-1 {
|
|
28
|
+
& img,
|
|
29
|
+
& .fi-in-image-limited-remaining-text {
|
|
30
|
+
@apply ring-1;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.fi-in-image-ring-2 {
|
|
35
|
+
& img,
|
|
36
|
+
& .fi-in-image-limited-remaining-text {
|
|
37
|
+
@apply ring-2;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.fi-in-image-ring-3 {
|
|
42
|
+
& img,
|
|
43
|
+
& .fi-in-image-limited-remaining-text {
|
|
44
|
+
@apply ring-3;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.fi-in-image-ring-4 {
|
|
49
|
+
& img,
|
|
50
|
+
& .fi-in-image-limited-remaining-text {
|
|
51
|
+
@apply ring-4;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.fi-in-image-ring-5 {
|
|
56
|
+
& img,
|
|
57
|
+
& .fi-in-image-limited-remaining-text {
|
|
58
|
+
@apply ring-5;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.fi-in-image-ring-6 {
|
|
63
|
+
& img,
|
|
64
|
+
& .fi-in-image-limited-remaining-text {
|
|
65
|
+
@apply ring-6;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.fi-in-image-ring-7 {
|
|
70
|
+
& img,
|
|
71
|
+
& .fi-in-image-limited-remaining-text {
|
|
72
|
+
@apply ring-7;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.fi-in-image-ring-8 {
|
|
77
|
+
& img,
|
|
78
|
+
& .fi-in-image-limited-remaining-text {
|
|
79
|
+
@apply ring-8;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.fi-in-image-overlap-1 {
|
|
85
|
+
@apply gap-x-0 -space-x-1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.fi-in-image-overlap-2 {
|
|
89
|
+
@apply gap-x-0 -space-x-2;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.fi-in-image-overlap-3 {
|
|
93
|
+
@apply gap-x-0 -space-x-3;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.fi-in-image-overlap-4 {
|
|
97
|
+
@apply gap-x-0 -space-x-4;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&.fi-in-image-overlap-5 {
|
|
101
|
+
@apply gap-x-0 -space-x-5;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.fi-in-image-overlap-6 {
|
|
105
|
+
@apply gap-x-0 -space-x-6;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&.fi-in-image-overlap-7 {
|
|
109
|
+
@apply gap-x-0 -space-x-7;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&.fi-in-image-overlap-8 {
|
|
113
|
+
@apply gap-x-0 -space-x-8;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.fi-wrapped {
|
|
117
|
+
@apply flex-wrap;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.fi-align-start,
|
|
121
|
+
&.fi-align-left {
|
|
122
|
+
@apply justify-start;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&.fi-align-center {
|
|
126
|
+
@apply justify-center;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.fi-align-end,
|
|
130
|
+
&.fi-align-right {
|
|
131
|
+
@apply justify-end;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.fi-align-justify,
|
|
135
|
+
&.fi-align-between {
|
|
136
|
+
@apply justify-between;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&.fi-stacked {
|
|
140
|
+
& .fi-in-image-limited-remaining-text {
|
|
141
|
+
@apply rounded-full bg-gray-100 dark:bg-gray-800;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
& .fi-in-image-limited-remaining-text {
|
|
146
|
+
@apply flex items-center justify-center text-sm font-medium text-gray-500 dark:text-gray-400;
|
|
147
|
+
|
|
148
|
+
&.fi-size-xs {
|
|
149
|
+
@apply text-xs;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&.fi-size-base,
|
|
153
|
+
&.fi-size-md {
|
|
154
|
+
@apply text-base;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&.fi-size-lg {
|
|
158
|
+
@apply text-lg;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.fi-in-key-value {
|
|
2
|
+
@apply w-full table-auto divide-y divide-gray-200 rounded-lg bg-white shadow-xs ring-1 ring-gray-950/5 dark:divide-white/5 dark:bg-white/5 dark:ring-white/10;
|
|
3
|
+
|
|
4
|
+
& thead th {
|
|
5
|
+
@apply px-3 py-2 text-start text-sm font-medium text-gray-700 dark:text-gray-200;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
& tbody {
|
|
9
|
+
@apply divide-y divide-gray-200 font-mono text-base sm:text-sm sm:leading-6 dark:divide-white/5;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
& tr {
|
|
13
|
+
@apply divide-x divide-gray-200 rtl:divide-x-reverse dark:divide-white/5;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
& tbody th,
|
|
17
|
+
& tbody td {
|
|
18
|
+
@apply w-1/2 px-3 py-1.5 text-start font-normal wrap-anywhere;
|
|
19
|
+
|
|
20
|
+
&.fi-in-placeholder {
|
|
21
|
+
@apply w-full py-2 text-center font-sans;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
.fi-in-repeatable {
|
|
2
|
+
ul& {
|
|
3
|
+
@apply gap-4;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
& > .fi-in-repeatable-item {
|
|
7
|
+
@apply block;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.fi-contained {
|
|
11
|
+
& > .fi-in-repeatable-item {
|
|
12
|
+
@apply rounded-xl bg-white p-4 shadow-xs ring-1 ring-gray-950/5 dark:bg-white/5 dark:ring-white/10;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.fi-in-table-repeatable {
|
|
18
|
+
@apply grid gap-3;
|
|
19
|
+
|
|
20
|
+
& > table {
|
|
21
|
+
@apply block w-full divide-y divide-gray-200 rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:divide-white/10 dark:bg-gray-900 dark:ring-white/10;
|
|
22
|
+
|
|
23
|
+
& > thead {
|
|
24
|
+
@apply hidden whitespace-nowrap;
|
|
25
|
+
|
|
26
|
+
& > tr {
|
|
27
|
+
& > th {
|
|
28
|
+
@apply border-gray-200 bg-gray-50 px-3 py-2 text-start text-sm font-semibold text-gray-950 first-of-type:rounded-ss-xl last-of-type:rounded-se-xl dark:border-white/5 dark:bg-white/5 dark:text-white [&:not(:last-of-type)]:border-e;
|
|
29
|
+
|
|
30
|
+
&.fi-align-center {
|
|
31
|
+
@apply text-center;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.fi-align-end,
|
|
35
|
+
&.fi-align-right {
|
|
36
|
+
@apply text-end;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.fi-wrapped {
|
|
40
|
+
@apply whitespace-normal;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:not(.fi-wrapped) {
|
|
44
|
+
@apply whitespace-nowrap;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
& > tbody {
|
|
51
|
+
@apply block divide-y divide-gray-200 dark:divide-white/5;
|
|
52
|
+
|
|
53
|
+
& > tr {
|
|
54
|
+
@apply grid gap-6 p-6;
|
|
55
|
+
|
|
56
|
+
& > td {
|
|
57
|
+
@apply block;
|
|
58
|
+
|
|
59
|
+
&.fi-hidden {
|
|
60
|
+
@apply hidden;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@supports (container-type: inline-size) {
|
|
68
|
+
@apply @container;
|
|
69
|
+
|
|
70
|
+
& > table {
|
|
71
|
+
@apply @xl:table;
|
|
72
|
+
|
|
73
|
+
& > thead {
|
|
74
|
+
@apply @xl:table-header-group;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
& > tbody {
|
|
78
|
+
@apply @xl:table-row-group;
|
|
79
|
+
|
|
80
|
+
& > tr {
|
|
81
|
+
@apply @xl:table-row @xl:p-0;
|
|
82
|
+
|
|
83
|
+
& > td {
|
|
84
|
+
@apply @xl:table-cell @xl:px-3 @xl:py-2;
|
|
85
|
+
|
|
86
|
+
&.fi-hidden {
|
|
87
|
+
@apply @xl:table-cell;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
& .fi-in-entry {
|
|
91
|
+
@apply @xl:gap-y-0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
& .fi-in-entry-label {
|
|
95
|
+
@apply @xl:hidden;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@supports not (container-type: inline-size) {
|
|
104
|
+
& > table {
|
|
105
|
+
@apply lg:table;
|
|
106
|
+
|
|
107
|
+
& > thead {
|
|
108
|
+
@apply lg:table-header-group;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
& > tbody {
|
|
112
|
+
@apply lg:table-row-group;
|
|
113
|
+
|
|
114
|
+
& > tr {
|
|
115
|
+
@apply lg:table-row lg:p-0;
|
|
116
|
+
|
|
117
|
+
& > td {
|
|
118
|
+
@apply lg:table-cell lg:px-3 lg:py-2;
|
|
119
|
+
|
|
120
|
+
&.fi-hidden {
|
|
121
|
+
@apply lg:table-cell;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
& .fi-in-entry {
|
|
125
|
+
@apply lg:gap-y-0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
& .fi-in-entry-label {
|
|
129
|
+
@apply lg:hidden;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|