@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,214 @@
1
+ .fi-btn {
2
+ /* `align-middle` keeps the button's placement in inline flow independent of its internal baseline, which shifts when the loading indicator is the first grid item. */
3
+ @apply relative inline-grid grid-flow-col items-center justify-center gap-1.5 rounded-lg px-3 py-2 align-middle text-sm font-medium transition duration-75 outline-none;
4
+
5
+ &.fi-force-enabled,
6
+ &:not(.fi-disabled):not([disabled]) {
7
+ @apply focus-visible:ring-2;
8
+ }
9
+
10
+ &[aria-pressed]:focus-visible:not([disabled]) {
11
+ @apply z-1 ring-2 ring-gray-950/10 dark:ring-white/20;
12
+ }
13
+
14
+ &.fi-disabled:not(.fi-force-enabled),
15
+ &[disabled]:not(.fi-force-enabled) {
16
+ @apply cursor-default opacity-70;
17
+
18
+ &:not([x-tooltip]) {
19
+ @apply pointer-events-none;
20
+ }
21
+ }
22
+
23
+ & > .fi-icon {
24
+ @apply text-gray-400 transition duration-75 dark:text-gray-500;
25
+ }
26
+
27
+ &.fi-size-xs {
28
+ @apply gap-1 px-2 py-1.5 text-xs;
29
+ }
30
+
31
+ &.fi-size-sm {
32
+ @apply gap-1 px-2.5 py-1.5 text-sm;
33
+ }
34
+
35
+ &.fi-size-lg {
36
+ @apply gap-1.5 px-3.5 py-2.5 text-sm;
37
+ }
38
+
39
+ &.fi-size-xl {
40
+ @apply gap-1.5 px-4 py-3 text-sm;
41
+ }
42
+
43
+ &.fi-outlined {
44
+ @apply text-gray-950 shadow-sm ring-1 ring-gray-300 dark:text-white dark:ring-gray-700;
45
+
46
+ &.fi-force-enabled,
47
+ &:not(.fi-disabled):not([disabled]) {
48
+ @apply hover:bg-gray-400/10 focus-visible:ring-gray-400/40;
49
+ }
50
+
51
+ &.fi-color {
52
+ @apply ring-color-600 dark:ring-color-500 text-(--text) dark:text-(--dark-text);
53
+
54
+ &.fi-force-enabled,
55
+ &:not(.fi-disabled):not([disabled]) {
56
+ @apply focus-visible:ring-color-500/40 dark:focus-visible:ring-color-400/40 hover:bg-color-500/10 dark:hover:bg-color-600/10;
57
+ }
58
+
59
+ & > .fi-icon {
60
+ @apply text-color-600 dark:text-color-400;
61
+ }
62
+ }
63
+ }
64
+
65
+ &:not(.fi-outlined) {
66
+ @apply bg-white text-gray-950 dark:bg-white/5 dark:text-white;
67
+
68
+ &.fi-force-enabled,
69
+ &:not(.fi-disabled):not([disabled]) {
70
+ @apply hover:bg-gray-50 dark:hover:bg-white/10;
71
+ }
72
+
73
+ input:checked + label&,
74
+ &[aria-pressed='true'] {
75
+ @apply bg-gray-400 text-white ring-0 dark:bg-gray-600;
76
+
77
+ &.fi-force-enabled,
78
+ &:not(.fi-disabled):not([disabled]) {
79
+ @apply hover:bg-gray-300 dark:hover:bg-gray-500;
80
+ }
81
+ }
82
+
83
+ &.fi-color {
84
+ &:not(label):not([aria-pressed]) {
85
+ @apply bg-(--bg) text-(--text) dark:bg-(--dark-bg) dark:text-(--dark-text);
86
+
87
+ &.fi-force-enabled,
88
+ &:not(.fi-disabled):not([disabled]) {
89
+ @apply focus-visible:ring-color-500/50 dark:focus-visible:ring-color-400/50 hover:bg-(--hover-bg) hover:text-(--hover-text) dark:hover:bg-(--dark-hover-bg) dark:hover:text-(--dark-hover-text);
90
+ }
91
+
92
+ & > .fi-icon {
93
+ @apply text-(--text) dark:text-(--dark-text);
94
+ }
95
+ }
96
+
97
+ &:is(label, [aria-pressed]) {
98
+ input:checked + &,
99
+ &[aria-pressed='true'] {
100
+ @apply bg-(--bg) text-(--text) ring-0 dark:bg-(--dark-bg) dark:text-(--dark-text);
101
+ }
102
+
103
+ &.fi-force-enabled,
104
+ &:not(.fi-disabled):not([disabled]) {
105
+ input:checked + &,
106
+ &[aria-pressed='true'] {
107
+ @apply hover:bg-(--hover-bg) hover:text-(--hover-text) dark:hover:bg-(--dark-hover-bg) dark:hover:text-(--dark-hover-text);
108
+ }
109
+
110
+ input:checked:focus-visible + & {
111
+ @apply ring-color-500/50 dark:ring-color-400/50;
112
+ }
113
+ }
114
+
115
+ &[aria-pressed='true']:focus-visible:not([disabled]) {
116
+ @apply ring-color-500/50 dark:ring-color-400/50 ring-2;
117
+ }
118
+ }
119
+ }
120
+ }
121
+
122
+ &:is(label, [aria-pressed]) {
123
+ @apply cursor-pointer;
124
+
125
+ &.fi-force-enabled,
126
+ &:not(.fi-disabled):not([disabled]) {
127
+ input:focus-visible + & {
128
+ @apply z-1 ring-2 ring-gray-950/10 dark:ring-white/20;
129
+ }
130
+ }
131
+
132
+ &
133
+ > .fi-icon:is(
134
+ :checked + label > .fi-icon,
135
+ [aria-pressed='true'] > .fi-icon
136
+ ) {
137
+ @apply text-(--text) dark:text-(--dark-text);
138
+ }
139
+ }
140
+
141
+ &:not(.fi-color),
142
+ &:is(label, [aria-pressed]) {
143
+ @apply ring-1 ring-gray-950/10 dark:ring-white/20;
144
+ }
145
+
146
+ &.fi-labeled-from-sm,
147
+ &.fi-labeled-from-md,
148
+ &.fi-labeled-from-lg,
149
+ &.fi-labeled-from-xl,
150
+ &.fi-labeled-from-2xl {
151
+ @apply hidden;
152
+ }
153
+
154
+ &.fi-labeled-from-sm {
155
+ @apply sm:inline-grid;
156
+ }
157
+
158
+ &.fi-labeled-from-md {
159
+ @apply md:inline-grid;
160
+ }
161
+
162
+ &.fi-labeled-from-lg {
163
+ @apply lg:inline-grid;
164
+ }
165
+
166
+ &.fi-labeled-from-xl {
167
+ @apply xl:inline-grid;
168
+ }
169
+
170
+ &.fi-labeled-from-2xl {
171
+ @apply 2xl:inline-grid;
172
+ }
173
+
174
+ & .fi-btn-badge-ctn {
175
+ @apply absolute start-full top-0 z-[1] flex w-max -translate-x-1/2 -translate-y-1/2 rounded-md bg-white rtl:translate-x-1/2 dark:bg-gray-900;
176
+ }
177
+ }
178
+
179
+ .fi-btn-group {
180
+ @apply grid grid-flow-col rounded-lg shadow-sm ring-1 ring-gray-950/10 dark:ring-white/20;
181
+
182
+ & > .fi-btn {
183
+ @apply flex-1 rounded-none;
184
+
185
+ &:nth-child(1 of .fi-btn) {
186
+ @apply rounded-s-lg;
187
+ }
188
+
189
+ &:nth-last-child(1 of .fi-btn) {
190
+ @apply rounded-e-lg;
191
+ }
192
+
193
+ &:not(:nth-child(1 of .fi-btn)) {
194
+ @apply shadow-[-1px_0_0_0_var(--color-gray-200)] rtl:shadow-[1px_0_0_0_var(--color-gray-200)] dark:shadow-[-1px_0_0_0_rgba(255,255,255,0.2)] rtl:dark:shadow-[1px_0_0_0_rgba(255,255,255,0.2)];
195
+ }
196
+
197
+ &:not(:nth-last-child(1 of .fi-btn)) {
198
+ @apply me-px;
199
+ }
200
+
201
+ &.fi-processing:enabled {
202
+ @apply cursor-wait opacity-70;
203
+ }
204
+
205
+ &:not(.fi-outlined) {
206
+ @apply shadow-none;
207
+ }
208
+
209
+ &:not(.fi-color),
210
+ &:is(label, [aria-pressed]) {
211
+ @apply ring-0;
212
+ }
213
+ }
214
+ }
@@ -0,0 +1,57 @@
1
+ .fi-callout {
2
+ @apply flex w-full gap-3 rounded-xl bg-white p-4 ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10;
3
+
4
+ & .fi-callout-icon {
5
+ @apply text-gray-400;
6
+
7
+ &.fi-color {
8
+ @apply text-color-400;
9
+ }
10
+ }
11
+
12
+ & .fi-callout-main {
13
+ @apply mt-0.5 grid flex-1 gap-3;
14
+ }
15
+
16
+ & .fi-callout-text {
17
+ @apply grid gap-1;
18
+ }
19
+
20
+ & .fi-callout-heading {
21
+ @apply text-sm font-medium text-gray-950 dark:text-white;
22
+ }
23
+
24
+ & .fi-callout-description {
25
+ @apply overflow-hidden text-sm text-pretty break-words text-gray-500 dark:text-gray-400;
26
+
27
+ & > p:not(:first-of-type) {
28
+ @apply mt-1;
29
+ }
30
+ }
31
+
32
+ & .fi-callout-footer {
33
+ @apply flex flex-wrap gap-3;
34
+ }
35
+
36
+ & .fi-callout-controls {
37
+ @apply self-start;
38
+ }
39
+
40
+ &.fi-color {
41
+ @apply ring-color-600/20 dark:ring-color-400/30;
42
+
43
+ background-color: color-mix(in oklab, white 90%, var(--color-400));
44
+
45
+ @variant dark {
46
+ background-color: color-mix(
47
+ in oklab,
48
+ var(--gray-900) 90%,
49
+ var(--color-400)
50
+ );
51
+ }
52
+
53
+ & .fi-callout-description {
54
+ @apply text-gray-700/75 dark:text-gray-300/75;
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,21 @@
1
+ .fi-dropdown-header {
2
+ @apply flex w-full gap-2 p-3 text-sm font-medium;
3
+
4
+ & .fi-icon {
5
+ @apply text-gray-400 dark:text-gray-500;
6
+ }
7
+
8
+ & span {
9
+ @apply flex-1 truncate text-start text-gray-700 dark:text-gray-200;
10
+ }
11
+
12
+ &.fi-color {
13
+ & .fi-icon {
14
+ @apply text-color-500 dark:text-color-400;
15
+ }
16
+
17
+ & span {
18
+ @apply text-(--text) dark:text-(--dark-text);
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,79 @@
1
+ & .fi-dropdown-trigger {
2
+ @apply flex cursor-pointer;
3
+ }
4
+
5
+ & .fi-dropdown-panel {
6
+ @apply absolute z-20 w-screen max-w-[14rem]! rounded-lg bg-white shadow-lg ring-1 ring-gray-950/5 transition dark:bg-gray-900 dark:ring-white/10;
7
+
8
+ &:not(.fi-dropdown-list) {
9
+ @apply divide-y divide-gray-100 dark:divide-white/5;
10
+ }
11
+
12
+ &.fi-opacity-0 {
13
+ @apply opacity-0;
14
+ }
15
+
16
+ &.fi-width-3xs {
17
+ @apply max-w-3xs!;
18
+ }
19
+
20
+ &.fi-width-2xs {
21
+ @apply max-w-2xs!;
22
+ }
23
+
24
+ &.fi-width-xs {
25
+ @apply max-w-xs!;
26
+ }
27
+
28
+ &.fi-width-sm {
29
+ @apply max-w-sm!;
30
+ }
31
+
32
+ &.fi-width-md {
33
+ @apply max-w-md!;
34
+ }
35
+
36
+ &.fi-width-lg {
37
+ @apply max-w-lg!;
38
+ }
39
+
40
+ &.fi-width-xl {
41
+ @apply max-w-xl!;
42
+ }
43
+
44
+ &.fi-width-2xl {
45
+ @apply max-w-2xl!;
46
+ }
47
+
48
+ &.fi-width-3xl {
49
+ @apply max-w-3xl!;
50
+ }
51
+
52
+ &.fi-width-4xl {
53
+ @apply max-w-4xl!;
54
+ }
55
+
56
+ &.fi-width-5xl {
57
+ @apply max-w-5xl!;
58
+ }
59
+
60
+ &.fi-width-6xl {
61
+ @apply max-w-6xl!;
62
+ }
63
+
64
+ &.fi-width-7xl {
65
+ @apply max-w-7xl!;
66
+ }
67
+
68
+ &.fi-width-none {
69
+ @apply max-w-none!;
70
+ }
71
+
72
+ &.fi-width-container {
73
+ @apply container!;
74
+ }
75
+
76
+ &.fi-scrollable {
77
+ @apply overflow-y-auto;
78
+ }
79
+ }
@@ -0,0 +1,7 @@
1
+ .fi-dropdown-list {
2
+ @apply grid gap-px p-1;
3
+
4
+ & > .fi-grid {
5
+ @apply overflow-x-hidden;
6
+ }
7
+ }
@@ -0,0 +1,74 @@
1
+ .fi-dropdown-list-item {
2
+ @apply flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-sm whitespace-nowrap transition-colors duration-75 outline-none select-none;
3
+
4
+ &:not(.fi-disabled):not([disabled]) {
5
+ @apply hover:bg-gray-50 focus-visible:bg-gray-50 dark:hover:bg-white/5 dark:focus-visible:bg-white/5;
6
+
7
+ &.fi-selected {
8
+ @apply bg-gray-50 dark:bg-white/5;
9
+ }
10
+ }
11
+
12
+ &.fi-disabled,
13
+ &[disabled] {
14
+ @apply cursor-default opacity-70;
15
+
16
+ &:not([x-tooltip]) {
17
+ @apply pointer-events-none;
18
+ }
19
+ }
20
+
21
+ &[role^='menuitem'][aria-disabled='true']:focus-visible {
22
+ @apply bg-gray-50 dark:bg-white/5;
23
+ }
24
+
25
+ & .fi-icon {
26
+ @apply transition duration-75;
27
+ }
28
+
29
+ & .fi-dropdown-list-item-image {
30
+ @apply size-5 rounded-full bg-cover bg-center;
31
+ }
32
+
33
+ & > .fi-icon {
34
+ @apply text-gray-400 dark:text-gray-500;
35
+
36
+ &.fi-color {
37
+ @apply text-color-500 dark:text-color-400;
38
+ }
39
+ }
40
+
41
+ &.fi-color {
42
+ &:not(.fi-disabled):not([disabled]) {
43
+ @apply hover:bg-color-50 focus-visible:bg-color-50 dark:hover:bg-color-400/10 dark:focus-visible:bg-color-400/10;
44
+
45
+ &.fi-selected {
46
+ @apply bg-color-50 dark:bg-color-400/10;
47
+ }
48
+ }
49
+
50
+ &[role^='menuitem'][aria-disabled='true']:focus-visible {
51
+ @apply bg-color-50 dark:bg-color-400/10;
52
+ }
53
+
54
+ & .fi-dropdown-list-item-label {
55
+ @apply text-(--text) hover:text-(--hover-text) dark:text-(--dark-text) dark:hover:text-(--dark-hover-text);
56
+
57
+ &.fi-selected {
58
+ @apply text-(--hover-text) dark:text-(--dark-hover-text);
59
+ }
60
+ }
61
+ }
62
+
63
+ & .fi-badge {
64
+ @apply min-w-[theme(spacing.5)] px-1.5 py-0.5 tracking-tight;
65
+ }
66
+ }
67
+
68
+ .fi-dropdown-list-item-label {
69
+ @apply flex-1 truncate text-start text-gray-700 dark:text-gray-200;
70
+ }
71
+
72
+ .fi-dropdown-list-item-badge-placeholder {
73
+ @apply flex items-center text-gray-400 dark:text-gray-500;
74
+ }
@@ -0,0 +1,67 @@
1
+ .fi-empty-state {
2
+ @apply px-6 py-12;
3
+
4
+ &:not(.fi-empty-state-not-contained) {
5
+ @apply rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10;
6
+ }
7
+
8
+ & .fi-empty-state-content {
9
+ @apply mx-auto grid max-w-lg justify-items-center text-center;
10
+ }
11
+
12
+ & .fi-empty-state-text-ctn {
13
+ @apply grid justify-items-center text-center;
14
+ }
15
+
16
+ & .fi-empty-state-icon-bg {
17
+ @apply mb-4 rounded-full bg-gray-100 p-3 dark:bg-gray-500/20;
18
+
19
+ &.fi-color {
20
+ @apply bg-color-100 dark:bg-color-500/20;
21
+ }
22
+
23
+ & .fi-icon {
24
+ @apply text-gray-500 dark:text-gray-400;
25
+
26
+ &.fi-color {
27
+ @apply text-color-500 dark:text-color-400;
28
+ }
29
+ }
30
+ }
31
+
32
+ & .fi-empty-state-heading {
33
+ @apply text-base leading-6 font-semibold text-gray-950 dark:text-white;
34
+ }
35
+
36
+ & .fi-empty-state-description {
37
+ @apply mt-1 text-sm text-gray-500 dark:text-gray-400;
38
+ }
39
+
40
+ & .fi-empty-state-footer {
41
+ @apply mt-6;
42
+ }
43
+
44
+ &.fi-compact {
45
+ @apply py-6;
46
+
47
+ & .fi-empty-state-content {
48
+ @apply mx-0 flex max-w-none items-start gap-4 text-start;
49
+ }
50
+
51
+ & .fi-empty-state-icon-bg {
52
+ @apply mb-0 shrink-0;
53
+ }
54
+
55
+ & .fi-empty-state-text-ctn {
56
+ @apply flex-1 justify-items-start text-start;
57
+ }
58
+
59
+ & .fi-empty-state-description {
60
+ @apply mt-1;
61
+ }
62
+
63
+ & .fi-empty-state-footer {
64
+ @apply mt-4;
65
+ }
66
+ }
67
+ }
@@ -0,0 +1,23 @@
1
+ .fi-fieldset {
2
+ & > legend {
3
+ @apply -ms-2 px-2 text-sm leading-6 font-medium text-gray-950 dark:text-white;
4
+
5
+ & .fi-fieldset-label-required-mark {
6
+ @apply text-danger-600 dark:text-danger-400 font-medium;
7
+ }
8
+ }
9
+
10
+ &.fi-fieldset-label-hidden {
11
+ & > legend {
12
+ @apply sr-only;
13
+ }
14
+ }
15
+
16
+ &:not(.fi-fieldset-not-contained) {
17
+ @apply rounded-xl border border-gray-200 p-6 dark:border-white/10;
18
+ }
19
+
20
+ &.fi-fieldset-not-contained {
21
+ @apply pt-6;
22
+ }
23
+ }