@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.
Files changed (207) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +8 -2
  3. package/THIRD-PARTY-NOTICES.md +12 -0
  4. package/dist/FILAMENT-LICENSE.md +21 -0
  5. package/dist/filament/css/filament/filament/app.css +2 -0
  6. package/dist/filament/fonts/INTER-LICENSE.txt +92 -0
  7. package/dist/filament/fonts/filament/filament/inter/index.css +1 -0
  8. package/dist/filament/fonts/filament/filament/inter/inter-cyrillic-ext-wght-normal-SP7Z6XGK.woff2 +0 -0
  9. package/dist/filament/fonts/filament/filament/inter/inter-cyrillic-wght-normal-DR6K5BQD.woff2 +0 -0
  10. package/dist/filament/fonts/filament/filament/inter/inter-greek-ext-wght-normal-A2J6H3EX.woff2 +0 -0
  11. package/dist/filament/fonts/filament/filament/inter/inter-greek-wght-normal-ZABHMKQG.woff2 +0 -0
  12. package/dist/filament/fonts/filament/filament/inter/inter-latin-ext-wght-normal-ZIT2UBIY.woff2 +0 -0
  13. package/dist/filament/fonts/filament/filament/inter/inter-latin-wght-normal-DIHYUR35.woff2 +0 -0
  14. package/dist/filament/fonts/filament/filament/inter/inter-vietnamese-wght-normal-VWEHJHBA.woff2 +0 -0
  15. package/dist/filament/js/filament/actions/actions.js +1 -0
  16. package/dist/filament/js/filament/filament/app.js +1 -0
  17. package/dist/filament/js/filament/filament/echo.js +13 -0
  18. package/dist/filament/js/filament/forms/components/builder.js +1 -0
  19. package/dist/filament/js/filament/forms/components/checkbox-list.js +1 -0
  20. package/dist/filament/js/filament/forms/components/code-editor.js +38 -0
  21. package/dist/filament/js/filament/forms/components/color-picker.js +1 -0
  22. package/dist/filament/js/filament/forms/components/date-time-picker.js +1 -0
  23. package/dist/filament/js/filament/forms/components/file-upload.js +116 -0
  24. package/dist/filament/js/filament/forms/components/js-field.js +1 -0
  25. package/dist/filament/js/filament/forms/components/key-value.js +1 -0
  26. package/dist/filament/js/filament/forms/components/markdown-editor.js +51 -0
  27. package/dist/filament/js/filament/forms/components/repeater.js +1 -0
  28. package/dist/filament/js/filament/forms/components/rich-editor.js +161 -0
  29. package/dist/filament/js/filament/forms/components/select.js +11 -0
  30. package/dist/filament/js/filament/forms/components/slider.js +1 -0
  31. package/dist/filament/js/filament/forms/components/tags-input.js +1 -0
  32. package/dist/filament/js/filament/forms/components/text-input/password-reveal.js +1 -0
  33. package/dist/filament/js/filament/forms/components/textarea.js +1 -0
  34. package/dist/filament/js/filament/forms/components/toggle-buttons.js +1 -0
  35. package/dist/filament/js/filament/notifications/notifications.js +1 -0
  36. package/dist/filament/js/filament/schemas/components/actions.js +1 -0
  37. package/dist/filament/js/filament/schemas/components/js-component.js +1 -0
  38. package/dist/filament/js/filament/schemas/components/tabs.js +1 -0
  39. package/dist/filament/js/filament/schemas/components/wizard.js +1 -0
  40. package/dist/filament/js/filament/schemas/schemas.js +1 -0
  41. package/dist/filament/js/filament/support/support.js +46 -0
  42. package/dist/filament/js/filament/tables/components/columns/checkbox.js +1 -0
  43. package/dist/filament/js/filament/tables/components/columns/select.js +11 -0
  44. package/dist/filament/js/filament/tables/components/columns/text-input.js +1 -0
  45. package/dist/filament/js/filament/tables/components/columns/toggle.js +1 -0
  46. package/dist/filament/js/filament/tables/tables.js +1 -0
  47. package/dist/filament/js/filament/widgets/components/chart.js +31 -0
  48. package/dist/filament/js/filament/widgets/components/js-widget.js +1 -0
  49. package/dist/filament/js/filament/widgets/components/stats-overview/stat/chart.js +20 -0
  50. package/dist/navette/navette/calendar.css +108 -0
  51. package/dist/navette/navette/motion.css +101 -0
  52. package/dist/navette/navette/motion.js +49 -0
  53. package/lib/auth.d.ts +61 -0
  54. package/lib/auth.js +140 -0
  55. package/lib/calendar.d.ts +82 -0
  56. package/lib/calendar.js +107 -0
  57. package/lib/index.d.ts +1624 -0
  58. package/lib/index.js +3532 -0
  59. package/lib/notifications.d.ts +76 -0
  60. package/lib/notifications.js +112 -0
  61. package/lib/topbar.d.ts +90 -0
  62. package/lib/topbar.js +240 -0
  63. package/package.json +58 -4
  64. package/resources/filament/LICENSE.md +21 -0
  65. package/resources/filament/README.md +2 -0
  66. package/resources/filament/packages/actions/resources/css/actions.css +30 -0
  67. package/resources/filament/packages/actions/resources/css/index.css +1 -0
  68. package/resources/filament/packages/forms/dist/index.css +1 -0
  69. package/resources/filament/packages/forms/resources/css/components/builder.css +206 -0
  70. package/resources/filament/packages/forms/resources/css/components/checkbox-list.css +55 -0
  71. package/resources/filament/packages/forms/resources/css/components/code-editor.css +79 -0
  72. package/resources/filament/packages/forms/resources/css/components/color-picker.css +17 -0
  73. package/resources/filament/packages/forms/resources/css/components/date-time-picker.css +127 -0
  74. package/resources/filament/packages/forms/resources/css/components/field.css +88 -0
  75. package/resources/filament/packages/forms/resources/css/components/file-upload/filepond-plugin-media-preview.css +104 -0
  76. package/resources/filament/packages/forms/resources/css/components/file-upload.css +199 -0
  77. package/resources/filament/packages/forms/resources/css/components/key-value.css +57 -0
  78. package/resources/filament/packages/forms/resources/css/components/markdown-editor.css +343 -0
  79. package/resources/filament/packages/forms/resources/css/components/modal-table-select.css +17 -0
  80. package/resources/filament/packages/forms/resources/css/components/radio.css +41 -0
  81. package/resources/filament/packages/forms/resources/css/components/repeater.css +401 -0
  82. package/resources/filament/packages/forms/resources/css/components/rich-editor.css +666 -0
  83. package/resources/filament/packages/forms/resources/css/components/select.css +13 -0
  84. package/resources/filament/packages/forms/resources/css/components/slider.css +54 -0
  85. package/resources/filament/packages/forms/resources/css/components/tags-input.css +33 -0
  86. package/resources/filament/packages/forms/resources/css/components/text-input.css +20 -0
  87. package/resources/filament/packages/forms/resources/css/components/textarea.css +26 -0
  88. package/resources/filament/packages/forms/resources/css/components/toggle-buttons.css +49 -0
  89. package/resources/filament/packages/forms/resources/css/index.css +32 -0
  90. package/resources/filament/packages/infolists/resources/css/components/code.css +21 -0
  91. package/resources/filament/packages/infolists/resources/css/components/color.css +34 -0
  92. package/resources/filament/packages/infolists/resources/css/components/entry.css +68 -0
  93. package/resources/filament/packages/infolists/resources/css/components/icon.css +39 -0
  94. package/resources/filament/packages/infolists/resources/css/components/image.css +161 -0
  95. package/resources/filament/packages/infolists/resources/css/components/key-value.css +24 -0
  96. package/resources/filament/packages/infolists/resources/css/components/repeatable.css +136 -0
  97. package/resources/filament/packages/infolists/resources/css/components/text.css +234 -0
  98. package/resources/filament/packages/infolists/resources/css/index.css +14 -0
  99. package/resources/filament/packages/notifications/resources/css/database-notifications.css +56 -0
  100. package/resources/filament/packages/notifications/resources/css/index.css +3 -0
  101. package/resources/filament/packages/notifications/resources/css/notification.css +109 -0
  102. package/resources/filament/packages/notifications/resources/css/notifications.css +29 -0
  103. package/resources/filament/packages/panels/resources/css/base.css +13 -0
  104. package/resources/filament/packages/panels/resources/css/components/global-search.css +93 -0
  105. package/resources/filament/packages/panels/resources/css/components/header.css +56 -0
  106. package/resources/filament/packages/panels/resources/css/components/layout.css +182 -0
  107. package/resources/filament/packages/panels/resources/css/components/logo.css +11 -0
  108. package/resources/filament/packages/panels/resources/css/components/page.css +60 -0
  109. package/resources/filament/packages/panels/resources/css/components/sidebar.css +311 -0
  110. package/resources/filament/packages/panels/resources/css/components/tenant-menu.css +49 -0
  111. package/resources/filament/packages/panels/resources/css/components/theme-switcher.css +15 -0
  112. package/resources/filament/packages/panels/resources/css/components/topbar.css +89 -0
  113. package/resources/filament/packages/panels/resources/css/components/user-menu.css +46 -0
  114. package/resources/filament/packages/panels/resources/css/index.css +40 -0
  115. package/resources/filament/packages/panels/resources/css/theme.css +2 -0
  116. package/resources/filament/packages/panels/resources/css/utilities.css +3 -0
  117. package/resources/filament/packages/panels/resources/css/widgets/account-widget.css +21 -0
  118. package/resources/filament/packages/panels/resources/css/widgets/filament-info-widget.css +21 -0
  119. package/resources/filament/packages/schemas/resources/css/components/actions.css +29 -0
  120. package/resources/filament/packages/schemas/resources/css/components/flex.css +106 -0
  121. package/resources/filament/packages/schemas/resources/css/components/form.css +7 -0
  122. package/resources/filament/packages/schemas/resources/css/components/fused-group.css +337 -0
  123. package/resources/filament/packages/schemas/resources/css/components/icon.css +11 -0
  124. package/resources/filament/packages/schemas/resources/css/components/image.css +12 -0
  125. package/resources/filament/packages/schemas/resources/css/components/section.css +24 -0
  126. package/resources/filament/packages/schemas/resources/css/components/tabs.css +77 -0
  127. package/resources/filament/packages/schemas/resources/css/components/text.css +77 -0
  128. package/resources/filament/packages/schemas/resources/css/components/unordered-list.css +15 -0
  129. package/resources/filament/packages/schemas/resources/css/components/wizard.css +177 -0
  130. package/resources/filament/packages/schemas/resources/css/index.css +12 -0
  131. package/resources/filament/packages/schemas/resources/css/schema.css +132 -0
  132. package/resources/filament/packages/support/dist/index.css +1 -0
  133. package/resources/filament/packages/support/resources/css/base.css +23 -0
  134. package/resources/filament/packages/support/resources/css/components/avatar.css +15 -0
  135. package/resources/filament/packages/support/resources/css/components/badge.css +90 -0
  136. package/resources/filament/packages/support/resources/css/components/breadcrumbs.css +25 -0
  137. package/resources/filament/packages/support/resources/css/components/button.css +214 -0
  138. package/resources/filament/packages/support/resources/css/components/callout.css +57 -0
  139. package/resources/filament/packages/support/resources/css/components/dropdown/header.css +21 -0
  140. package/resources/filament/packages/support/resources/css/components/dropdown/index.css +79 -0
  141. package/resources/filament/packages/support/resources/css/components/dropdown/list/index.css +7 -0
  142. package/resources/filament/packages/support/resources/css/components/dropdown/list/item.css +74 -0
  143. package/resources/filament/packages/support/resources/css/components/empty-state.css +67 -0
  144. package/resources/filament/packages/support/resources/css/components/fieldset.css +23 -0
  145. package/resources/filament/packages/support/resources/css/components/grid.css +511 -0
  146. package/resources/filament/packages/support/resources/css/components/icon-button.css +124 -0
  147. package/resources/filament/packages/support/resources/css/components/icon.css +31 -0
  148. package/resources/filament/packages/support/resources/css/components/input/checkbox.css +32 -0
  149. package/resources/filament/packages/support/resources/css/components/input/index.css +55 -0
  150. package/resources/filament/packages/support/resources/css/components/input/one-time-code.css +7 -0
  151. package/resources/filament/packages/support/resources/css/components/input/radio.css +11 -0
  152. package/resources/filament/packages/support/resources/css/components/input/select.css +154 -0
  153. package/resources/filament/packages/support/resources/css/components/input/wrapper.css +107 -0
  154. package/resources/filament/packages/support/resources/css/components/link.css +90 -0
  155. package/resources/filament/packages/support/resources/css/components/loading-indicator.css +3 -0
  156. package/resources/filament/packages/support/resources/css/components/loading-section.css +3 -0
  157. package/resources/filament/packages/support/resources/css/components/modal.css +494 -0
  158. package/resources/filament/packages/support/resources/css/components/pagination.css +160 -0
  159. package/resources/filament/packages/support/resources/css/components/section.css +234 -0
  160. package/resources/filament/packages/support/resources/css/components/tabs.css +70 -0
  161. package/resources/filament/packages/support/resources/css/components/toggle.css +60 -0
  162. package/resources/filament/packages/support/resources/css/components/tooltip.css +36 -0
  163. package/resources/filament/packages/support/resources/css/index.css +133 -0
  164. package/resources/filament/packages/support/resources/css/sortable.css +3 -0
  165. package/resources/filament/packages/support/resources/css/utilities.css +897 -0
  166. package/resources/filament/packages/tables/resources/css/actions.css +51 -0
  167. package/resources/filament/packages/tables/resources/css/cell.css +139 -0
  168. package/resources/filament/packages/tables/resources/css/column-manager.css +48 -0
  169. package/resources/filament/packages/tables/resources/css/columns/checkbox.css +54 -0
  170. package/resources/filament/packages/tables/resources/css/columns/color.css +76 -0
  171. package/resources/filament/packages/tables/resources/css/columns/icon.css +81 -0
  172. package/resources/filament/packages/tables/resources/css/columns/image.css +207 -0
  173. package/resources/filament/packages/tables/resources/css/columns/layout/grid.css +49 -0
  174. package/resources/filament/packages/tables/resources/css/columns/layout/panel.css +3 -0
  175. package/resources/filament/packages/tables/resources/css/columns/layout/split.css +35 -0
  176. package/resources/filament/packages/tables/resources/css/columns/layout/stack.css +29 -0
  177. package/resources/filament/packages/tables/resources/css/columns/select.css +36 -0
  178. package/resources/filament/packages/tables/resources/css/columns/summaries/icon-count.css +43 -0
  179. package/resources/filament/packages/tables/resources/css/columns/summaries/range.css +27 -0
  180. package/resources/filament/packages/tables/resources/css/columns/summaries/text.css +29 -0
  181. package/resources/filament/packages/tables/resources/css/columns/summaries/values.css +33 -0
  182. package/resources/filament/packages/tables/resources/css/columns/text-input.css +36 -0
  183. package/resources/filament/packages/tables/resources/css/columns/text.css +319 -0
  184. package/resources/filament/packages/tables/resources/css/columns/toggle.css +54 -0
  185. package/resources/filament/packages/tables/resources/css/container.css +311 -0
  186. package/resources/filament/packages/tables/resources/css/content.css +342 -0
  187. package/resources/filament/packages/tables/resources/css/empty-state.css +31 -0
  188. package/resources/filament/packages/tables/resources/css/group-header.css +54 -0
  189. package/resources/filament/packages/tables/resources/css/header-cell.css +224 -0
  190. package/resources/filament/packages/tables/resources/css/index.css +26 -0
  191. package/resources/filament/packages/tables/resources/css/row.css +47 -0
  192. package/resources/filament/packages/tables/resources/css/table.css +394 -0
  193. package/resources/filament/packages/widgets/resources/css/chart-widget.css +88 -0
  194. package/resources/filament/packages/widgets/resources/css/index.css +3 -0
  195. package/resources/filament/packages/widgets/resources/css/stats-overview-widget.css +67 -0
  196. package/resources/filament/packages/widgets/resources/css/widget.css +3 -0
  197. package/theme.css +17 -0
  198. package/views/components/logo.ejs +9 -0
  199. package/views/components/tenant-menu.ejs +13 -0
  200. package/views/components/user-menu.ejs +82 -0
  201. package/views/layout/base.ejs +129 -0
  202. package/views/layout/index.ejs +41 -0
  203. package/views/layout/simple.ejs +19 -0
  204. package/views/livewire/sidebar.ejs +123 -0
  205. package/views/livewire/topbar.ejs +47 -0
  206. package/views/pages/page.ejs +143 -0
  207. package/views/pages/simple.ejs +32 -0
@@ -0,0 +1,88 @@
1
+ .fi-fo-field {
2
+ @apply grid gap-y-2;
3
+
4
+ &.fi-fo-field-has-inline-label {
5
+ @apply sm:grid-cols-3 sm:items-start sm:gap-x-4;
6
+
7
+ & .fi-fo-field-content-col {
8
+ @apply sm:col-span-2;
9
+ }
10
+ }
11
+
12
+ & .fi-fo-field-label-ctn,
13
+ & .fi-fo-field-label {
14
+ @apply flex items-start gap-x-3;
15
+
16
+ & > .fi-checkbox-input {
17
+ @apply mt-0.5 shrink-0;
18
+ }
19
+
20
+ & > .fi-toggle {
21
+ @apply -my-0.5;
22
+ }
23
+
24
+ & > .fi-sc:nth-child(1) {
25
+ @apply grow-0;
26
+ }
27
+
28
+ &.fi-hidden {
29
+ @apply hidden;
30
+ }
31
+ }
32
+
33
+ & .fi-fo-field-label-content {
34
+ @apply text-sm font-medium text-gray-950 dark:text-white;
35
+
36
+ & .fi-fo-field-label-required-mark {
37
+ @apply text-danger-600 dark:text-danger-400 font-medium;
38
+ }
39
+ }
40
+
41
+ & .fi-fo-field-label-col {
42
+ @apply grid h-full auto-cols-fr gap-y-2;
43
+
44
+ &.fi-vertical-align-start {
45
+ @apply sm:items-start;
46
+ }
47
+
48
+ &.fi-vertical-align-center {
49
+ @apply sm:items-center;
50
+ }
51
+
52
+ &.fi-vertical-align-end {
53
+ @apply sm:items-end;
54
+ }
55
+ }
56
+
57
+ & .fi-fo-field-content-col {
58
+ @apply grid auto-cols-fr gap-y-2;
59
+ }
60
+
61
+ & .fi-fo-field-content-slot {
62
+ @apply contents;
63
+ }
64
+
65
+ & .fi-fo-field-content-ctn {
66
+ @apply flex w-full items-center gap-x-3;
67
+
68
+ &.fi-empty {
69
+ @apply contents;
70
+
71
+ & > .fi-fo-field-content {
72
+ @apply contents;
73
+ }
74
+ }
75
+ }
76
+
77
+ & .fi-fo-field-content {
78
+ @apply w-full;
79
+ }
80
+
81
+ & .fi-fo-field-wrp-error-message {
82
+ @apply text-danger-600 dark:text-danger-400 text-sm;
83
+ }
84
+
85
+ & .fi-fo-field-wrp-error-list {
86
+ @apply list-inside list-disc space-y-0.5;
87
+ }
88
+ }
@@ -0,0 +1,104 @@
1
+ /**
2
+ * Source: https://github.com/nielsboogaard/filepond-plugin-media-preview (MIT)
3
+ * Changes:
4
+ * - Vendored compiled CSS from dist — upstream source is SCSS.
5
+ * - Overrode FilePond's reordering cursor for audio controls.
6
+ * - Expanded the audio timeline hit target.
7
+ */
8
+ .filepond--media-preview audio {
9
+ display: none;
10
+ }
11
+
12
+ .filepond--media-preview .audioplayer {
13
+ width: calc(100% - 1.4em);
14
+ margin: 2.3em auto auto;
15
+ cursor: pointer;
16
+ }
17
+
18
+ .filepond--media-preview .playpausebtn {
19
+ margin-top: 0.3em;
20
+ margin-right: 0.3em;
21
+ height: 25px;
22
+ width: 25px;
23
+ border-radius: 25px;
24
+ border: none;
25
+ background-repeat: no-repeat;
26
+ background-position: center;
27
+ float: left;
28
+ outline: none;
29
+ cursor: pointer;
30
+ }
31
+ .filepond--media-preview .playpausebtn:hover {
32
+ background-color: rgba(0, 0, 0, 0.5);
33
+ }
34
+
35
+ .filepond--media-preview .play {
36
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAyElEQVQ4T9XUsWoCQRRG4XPaFL5SfIy8gKYKBCysrax8Ahs7qzQ2qVIFOwsrsbEWLEK6EBFGBrIQhN2d3dnGgalm+Jh7789Ix8uOPe4YDCH0gZ66atKW0pJDCE/AEngDXtRjCpwCRucbGANzNVTBqWBhfAJDdV+GNgWj8wtM41bPt3AbsDB2f69d/0dzwC0wUDe54A8wAWbqJbfkD+BZPeQO5QsYqYu6LKb0MIb7VT3VYfG8CnwEHtT3FKi4c8e/TZMyk3LYFrwCgMdHFbRDKS8AAAAASUVORK5CYII=');
37
+ }
38
+
39
+ .filepond--media-preview .pause {
40
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAh0lEQVQ4T+2UsQkCURBE30PLMbAMMResQrAPsQ0TK9AqDKxGZeTLD74aGNwlhzfZssvADDMrPcOe+RggYZIJcG2s2KinMidZAvu6u6uzT8u+JCeZArfmcKUeK+EaONTdQy23bxgJX8aPHvIHsSnVuzTx36rn2pQFsGuqN//ZlK7vbIDvq6vkJ9yteBXzecYbAAAAAElFTkSuQmCC');
41
+ }
42
+
43
+ .filepond--media-preview .timeline {
44
+ box-sizing: content-box;
45
+ width: calc(100% - 2.5em);
46
+ height: 3px;
47
+ padding-block: 14px;
48
+ margin-top: 2px;
49
+ float: left;
50
+ border-radius: 15px;
51
+ background: rgba(255, 255, 255, 0.3);
52
+ background-clip: content-box;
53
+ }
54
+
55
+ .filepond--media-preview .playhead {
56
+ width: 13px;
57
+ height: 13px;
58
+ border-radius: 50%;
59
+ margin-top: -5px;
60
+ background: white;
61
+ transform: translateX(-50%);
62
+ }
63
+
64
+ .filepond--media-preview-wrapper {
65
+ position: absolute;
66
+ left: 0;
67
+ top: 0;
68
+ right: 0;
69
+ height: 100%;
70
+ margin: 0;
71
+ border-radius: 0.45em;
72
+ overflow: hidden;
73
+ background: rgba(0, 0, 0, 0.01);
74
+ pointer-events: auto;
75
+ }
76
+ .filepond--media-preview-wrapper:before {
77
+ content: ' ';
78
+ position: absolute;
79
+ width: 100%;
80
+ height: 2em;
81
+ /* FF3.6-15 */
82
+ /* Chrome10-25,Safari5.1-6 */
83
+ background: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0) 100%);
84
+ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
85
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 );
86
+ /* IE6-9 */
87
+ z-index: 3;
88
+ }
89
+
90
+ .filepond--media-preview {
91
+ position: relative;
92
+ z-index: 1;
93
+ display: block;
94
+ width: 100%;
95
+ height: 100%;
96
+ -webkit-transform-origin: center center;
97
+ transform-origin: center center;
98
+ will-change: transform, opacity;
99
+ }
100
+ .filepond--media-preview video,
101
+ .filepond--media-preview audio {
102
+ width: 100%;
103
+ will-change: transform;
104
+ }
@@ -0,0 +1,199 @@
1
+ .fi-fo-file-upload {
2
+ @apply flex flex-col gap-y-2;
3
+
4
+ &.fi-align-start,
5
+ &.fi-align-left {
6
+ @apply items-start;
7
+ }
8
+
9
+ &.fi-align-center {
10
+ @apply items-center;
11
+ }
12
+
13
+ &.fi-align-end,
14
+ &.fi-align-right {
15
+ @apply items-end;
16
+ }
17
+
18
+ & .fi-fo-file-upload-input-ctn {
19
+ @apply h-full w-full;
20
+ }
21
+
22
+ &.fi-fo-file-upload-avatar {
23
+ & .fi-fo-file-upload-input-ctn {
24
+ @apply h-full w-32;
25
+ }
26
+ }
27
+
28
+ & .fi-fo-file-upload-error-message {
29
+ @apply text-danger-600 dark:text-danger-400 text-sm;
30
+ }
31
+
32
+ & .filepond--root {
33
+ @apply mb-0 overflow-hidden rounded-lg bg-white font-sans shadow-sm ring-1 ring-gray-950/10 dark:bg-white/5 dark:ring-white/20;
34
+ }
35
+
36
+ & .filepond--root[data-disabled='disabled'] {
37
+ @apply bg-gray-50 dark:bg-transparent dark:ring-white/10;
38
+ }
39
+
40
+ & .filepond--root[data-style-panel-layout='compact circle'] {
41
+ @apply rounded-full;
42
+ }
43
+
44
+ & .filepond--panel-root {
45
+ @apply bg-transparent;
46
+ }
47
+
48
+ & .filepond--file-info-sub {
49
+ @apply opacity-100;
50
+ }
51
+
52
+ & .filepond--drop-label {
53
+ @apply h-auto! p-3!;
54
+ }
55
+
56
+ &
57
+ .filepond--root[data-disabled]:has(.filepond--item)
58
+ .filepond--drop-label:has(> label:empty) {
59
+ @apply hidden;
60
+ }
61
+
62
+ & .filepond--drop-label[style*='visibility: hidden'] {
63
+ @apply min-h-0!;
64
+ }
65
+
66
+ & .filepond--drop-label label {
67
+ @apply p-0!;
68
+ }
69
+
70
+ & .filepond--drop-label,
71
+ & .filepond--drop-label label {
72
+ @apply text-sm text-gray-600! opacity-100! dark:text-gray-400!;
73
+ }
74
+
75
+ & .filepond--label-action {
76
+ @apply text-primary-700 hover:text-primary-600 dark:hover:text-primary-400 dark:text-primary-400 font-medium no-underline transition duration-75;
77
+ }
78
+
79
+ & .filepond--drip-blob {
80
+ @apply bg-gray-400 dark:bg-gray-500;
81
+ }
82
+
83
+ & .filepond--root[data-style-panel-layout='grid'] .filepond--item {
84
+ @apply inline;
85
+ width: calc(50% - 0.5rem);
86
+ }
87
+
88
+ @variant lg {
89
+ & .filepond--root[data-style-panel-layout='grid'] .filepond--item {
90
+ width: calc(33.33% - 0.5rem);
91
+ }
92
+ }
93
+
94
+ & .filepond--download-icon {
95
+ @apply pointer-events-auto me-1 inline-block size-4 bg-white align-bottom hover:bg-white/70;
96
+ -webkit-mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItZG93bmxvYWQiPjxwYXRoIGQ9Ik0yMSAxNXY0YTIgMiAwIDAgMS0yIDJINWEyIDIgMCAwIDEtMi0ydi00Ij48L3BhdGg+PHBvbHlsaW5lIHBvaW50cz0iNyAxMCAxMiAxNSAxNyAxMCI+PC9wb2x5bGluZT48bGluZSB4MT0iMTIiIHkxPSIxNSIgeDI9IjEyIiB5Mj0iMyI+PC9saW5lPjwvc3ZnPg==');
97
+ mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItZG93bmxvYWQiPjxwYXRoIGQ9Ik0yMSAxNXY0YTIgMiAwIDAgMS0yIDJINWEyIDIgMCAwIDEtMi0ydi00Ij48L3BhdGg+PHBvbHlsaW5lIHBvaW50cz0iNyAxMCAxMiAxNSAxNyAxMCI+PC9wb2x5bGluZT48bGluZSB4MT0iMTIiIHkxPSIxNSIgeDI9IjEyIiB5Mj0iMyI+PC9saW5lPjwvc3ZnPg==');
98
+ -webkit-mask-repeat: no-repeat;
99
+ mask-repeat: no-repeat;
100
+ -webkit-mask-size: 100%;
101
+ mask-size: 100%;
102
+ }
103
+
104
+ & .filepond--open-icon {
105
+ @apply pointer-events-auto me-1 inline-block size-4 bg-white align-bottom hover:bg-white/70;
106
+ -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGNsYXNzPSJoLTYgdy02IiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjIiPgogIDxwYXRoIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTEwIDZINmEyIDIgMCAwMC0yIDJ2MTBhMiAyIDAgMDAyIDJoMTBhMiAyIDAgMDAyLTJ2LTRNMTQgNGg2bTAgMHY2bTAtNkwxMCAxNCIgLz4KPC9zdmc+Cg==);
107
+ mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGNsYXNzPSJoLTYgdy02IiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjIiPgogIDxwYXRoIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTEwIDZINmEyIDIgMCAwMC0yIDJ2MTBhMiAyIDAgMDAyIDJoMTBhMiAyIDAgMDAyLTJ2LTRNMTQgNGg2bTAgMHY2bTAtNkwxMCAxNCIgLz4KPC9zdmc+Cg==);
108
+ -webkit-mask-repeat: no-repeat;
109
+ mask-repeat: no-repeat;
110
+ -webkit-mask-size: 100%;
111
+ mask-size: 100%;
112
+ }
113
+
114
+ & .filepond--file-action-button.filepond--action-edit-item {
115
+ @apply bg-black/50;
116
+ }
117
+
118
+ & .fi-fo-file-upload-editor {
119
+ @apply fixed inset-0 isolate z-50 h-[100dvh] w-screen p-2 sm:p-10 md:p-20;
120
+
121
+ & .fi-fo-file-upload-editor-overlay {
122
+ @apply fixed inset-0 h-full w-full cursor-pointer bg-gray-950/50 dark:bg-gray-950/75;
123
+ will-change: transform;
124
+ }
125
+
126
+ & .fi-fo-file-upload-editor-window {
127
+ @apply isolate mx-auto flex h-full w-full flex-col overflow-hidden rounded-xl bg-white ring-1 ring-gray-900/10 lg:flex-row dark:bg-gray-800 dark:ring-gray-50/10;
128
+ }
129
+
130
+ & .fi-fo-file-upload-editor-image-ctn {
131
+ @apply m-4 max-h-full max-w-full flex-1;
132
+ }
133
+
134
+ & .fi-fo-file-upload-editor-image {
135
+ @apply h-full w-auto;
136
+ }
137
+
138
+ & .fi-fo-file-upload-editor-control-panel {
139
+ @apply flex h-full w-full flex-1 flex-col overflow-y-auto bg-gray-50 lg:max-w-xs dark:bg-gray-900/30;
140
+
141
+ & .fi-fo-file-upload-editor-control-panel-main {
142
+ @apply flex-1 space-y-6 overflow-auto p-4;
143
+ }
144
+
145
+ & .fi-fo-file-upload-editor-control-panel-group {
146
+ @apply grid gap-3;
147
+
148
+ & .fi-btn-group {
149
+ @apply w-full;
150
+ }
151
+
152
+ & .fi-btn.fi-active {
153
+ @apply bg-gray-50 dark:bg-gray-700;
154
+ }
155
+
156
+ & .fi-fo-file-upload-editor-control-panel-group-title {
157
+ @apply text-xs text-gray-950 dark:text-white;
158
+ }
159
+ }
160
+
161
+ & .fi-fo-file-upload-editor-control-panel-footer {
162
+ @apply flex items-center justify-end gap-3 px-4 py-3;
163
+ }
164
+
165
+ & .fi-fo-file-upload-editor-control-panel-reset-action-ctn {
166
+ @apply flex justify-end;
167
+ }
168
+ }
169
+
170
+ & .cropper-drag-box.cropper-crop.cropper-modal {
171
+ @apply bg-gray-100/50 opacity-100 dark:bg-gray-900/80;
172
+ }
173
+
174
+ &.fi-fo-file-upload-editor-circle-cropper {
175
+ & .cropper-view-box,
176
+ & .cropper-face {
177
+ border-radius: 50%;
178
+ }
179
+ }
180
+
181
+ &.fi-fo-file-upload-editor-crop-only {
182
+ & .fi-fo-file-upload-editor-window {
183
+ @apply max-w-3xl flex-col;
184
+ }
185
+
186
+ & .fi-fo-file-upload-editor-image-ctn {
187
+ @apply min-h-0 flex-1 overflow-hidden;
188
+ }
189
+
190
+ & .fi-fo-file-upload-editor-control-panel {
191
+ @apply h-auto flex-none lg:max-w-none;
192
+ }
193
+
194
+ & .fi-fo-file-upload-editor-control-panel-footer {
195
+ @apply justify-start;
196
+ }
197
+ }
198
+ }
199
+ }
@@ -0,0 +1,57 @@
1
+ .fi-fo-key-value {
2
+ & .fi-fo-key-value-table-ctn {
3
+ @apply divide-y divide-gray-200 dark:divide-white/10;
4
+ }
5
+
6
+ & .fi-fo-key-value-table {
7
+ @apply w-full table-auto divide-y divide-gray-200 dark:divide-white/5;
8
+
9
+ & > thead {
10
+ & > tr {
11
+ & > th {
12
+ @apply px-3 py-2 text-start text-sm font-medium text-gray-700 dark:text-gray-200;
13
+
14
+ &.fi-has-action {
15
+ @apply w-9 p-0;
16
+ }
17
+ }
18
+ }
19
+ }
20
+
21
+ & > tbody {
22
+ @apply divide-y divide-gray-200 dark:divide-white/5;
23
+
24
+ & > tr {
25
+ @apply divide-x divide-gray-200 rtl:divide-x-reverse dark:divide-white/5;
26
+
27
+ & > td {
28
+ @apply w-1/2 p-0;
29
+
30
+ &.fi-has-action {
31
+ @apply w-auto px-3 py-2;
32
+
33
+ & .fi-fo-key-value-table-row-sortable-handle {
34
+ @apply flex;
35
+ }
36
+ }
37
+
38
+ & .fi-input {
39
+ @apply font-mono;
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+
46
+ & .fi-fo-key-value-add-action-ctn {
47
+ @apply flex justify-center px-3 py-2;
48
+ }
49
+ }
50
+
51
+ .fi-fo-key-value-wrp {
52
+ &.fi-fo-field-has-inline-label {
53
+ & .fi-fo-field-label-col {
54
+ @apply sm:pt-1.5;
55
+ }
56
+ }
57
+ }