@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.
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 +142 -0
  55. package/lib/calendar.d.ts +82 -0
  56. package/lib/calendar.js +107 -0
  57. package/lib/index.d.ts +1619 -0
  58. package/lib/index.js +3487 -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 +241 -0
  63. package/package.json +59 -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,311 @@
1
+ .fi-ta-ctn {
2
+ @apply relative flex rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10;
3
+
4
+ &:not(.fi-ta-ctn-with-header) {
5
+ @apply overflow-hidden;
6
+ }
7
+
8
+ &.fi-loading {
9
+ @apply animate-pulse;
10
+ }
11
+
12
+ & .fi-ta-header {
13
+ @apply flex flex-col gap-3 border-b border-gray-200 p-4 sm:px-6 dark:border-white/10;
14
+
15
+ &.fi-ta-header-adaptive-actions-position {
16
+ @apply sm:flex-row sm:items-center;
17
+
18
+ & .fi-ta-actions {
19
+ @apply sm:ms-auto;
20
+ }
21
+
22
+ &:not(:has(.fi-ta-header-heading)) {
23
+ &:not(:has(.fi-ta-header-description)) {
24
+ & .fi-ta-actions {
25
+ @apply ms-auto;
26
+ }
27
+ }
28
+ }
29
+ }
30
+
31
+ & .fi-ta-actions {
32
+ /* The negative margins let the buttons overhang the header's vertical padding, so a header with actions matches the height of one without them. They are applied to the container instead of the buttons so wrapped rows of actions keep their gap, laddered so the largest button size present wins, and scoped to `sm` since the header stacks vertically below it. */
33
+ &:has(.fi-btn.fi-size-xs:not(.fi-dropdown-panel *)) {
34
+ @apply sm:-my-0.5;
35
+ }
36
+
37
+ &:has(.fi-btn.fi-size-sm:not(.fi-dropdown-panel *)) {
38
+ @apply sm:-my-1;
39
+ }
40
+
41
+ &:has(.fi-btn.fi-size-md:not(.fi-dropdown-panel *)) {
42
+ @apply sm:-my-1.5;
43
+ }
44
+
45
+ &:has(.fi-btn.fi-size-lg:not(.fi-dropdown-panel *)) {
46
+ @apply sm:-my-2;
47
+ }
48
+
49
+ &:has(.fi-btn.fi-size-xl:not(.fi-dropdown-panel *)) {
50
+ @apply sm:-my-2.5;
51
+ }
52
+ }
53
+
54
+ & .fi-ta-header-heading {
55
+ @apply text-base leading-6 font-semibold text-gray-950 dark:text-white;
56
+ }
57
+
58
+ & .fi-ta-header-description {
59
+ @apply mt-1 text-sm text-gray-600 dark:text-gray-400;
60
+ }
61
+ }
62
+
63
+ & .fi-ta-header-toolbar {
64
+ @apply flex flex-wrap items-center justify-between gap-4 border-b border-gray-200 px-4 py-3 sm:px-6 dark:border-white/10;
65
+
66
+ & > * {
67
+ @apply flex min-h-9 items-center gap-x-4;
68
+ }
69
+
70
+ & > :nth-child(1) {
71
+ @apply shrink-0;
72
+ }
73
+
74
+ & > :nth-child(2) {
75
+ @apply ms-auto;
76
+ }
77
+
78
+ & .fi-ta-grouping-settings {
79
+ & .fi-dropdown {
80
+ &.sm\:fi-hidden {
81
+ @apply sm:hidden;
82
+ }
83
+
84
+ & .fi-ta-grouping-settings-fields {
85
+ @apply grid gap-y-6 p-6;
86
+
87
+ & label {
88
+ @apply grid gap-y-2 text-sm leading-6 font-medium text-gray-950 dark:text-white;
89
+ }
90
+ }
91
+ }
92
+
93
+ & > .fi-ta-grouping-settings-fields {
94
+ @apply hidden items-center gap-x-3 sm:flex;
95
+ }
96
+ }
97
+
98
+ & .fi-ta-filters-dropdown {
99
+ & .fi-ta-filters {
100
+ @apply p-6;
101
+ }
102
+ }
103
+
104
+ & .fi-ta-col-manager-dropdown {
105
+ & .fi-ta-col-manager {
106
+ @apply p-6;
107
+ }
108
+ }
109
+ }
110
+
111
+ & .fi-ta-filters {
112
+ @apply grid gap-y-4;
113
+
114
+ &.fi-ta-filters-below-content {
115
+ @apply border-t border-gray-200 p-4 sm:px-6 dark:border-white/10;
116
+ }
117
+
118
+ & .fi-ta-filters-header {
119
+ @apply flex items-center justify-between;
120
+
121
+ & .fi-ta-filters-heading {
122
+ @apply text-base leading-6 font-semibold text-gray-950 dark:text-white;
123
+ }
124
+
125
+ & .fi-loading-indicator {
126
+ @apply text-gray-400 dark:text-gray-500;
127
+ }
128
+ }
129
+
130
+ & .fi-ta-filters-actions-ctn {
131
+ @apply flex gap-3;
132
+ }
133
+ }
134
+
135
+ & .fi-ta-filters-above-content-ctn {
136
+ @apply grid border-b border-gray-200 px-4 py-4 sm:px-6 dark:border-white/10;
137
+
138
+ & .fi-ta-filters-trigger-action-ctn {
139
+ @apply ms-auto;
140
+ }
141
+
142
+ &.fi-open {
143
+ & .fi-ta-filters-trigger-action-ctn {
144
+ @apply mt-3;
145
+ }
146
+
147
+ &:has(.fi-ta-filters-actions-ctn) {
148
+ & .fi-ta-filters-trigger-action-ctn {
149
+ @apply -mt-7;
150
+ }
151
+ }
152
+ }
153
+ }
154
+
155
+ & .fi-ta-reorder-indicator {
156
+ @apply flex items-center gap-x-3 border-b border-gray-200 bg-gray-50 px-3 py-1.5 text-sm leading-6 font-medium text-gray-700 sm:px-6 dark:border-white/10 dark:bg-white/5 dark:text-gray-200;
157
+
158
+ & .fi-loading-indicator {
159
+ @apply text-gray-400 dark:text-gray-500;
160
+ }
161
+ }
162
+
163
+ & .fi-ta-selection-indicator {
164
+ @apply flex flex-col justify-between gap-y-1 border-b border-gray-200 bg-gray-50 px-3 py-2 sm:flex-row sm:items-center sm:px-6 sm:py-1.5 dark:border-white/10 dark:bg-white/5;
165
+
166
+ & .fi-loading-indicator {
167
+ @apply text-gray-400 dark:text-gray-500;
168
+ }
169
+
170
+ & .fi-ta-selection-indicator-actions-ctn {
171
+ @apply flex gap-x-3;
172
+ }
173
+
174
+ & > * {
175
+ @apply flex gap-x-3;
176
+ }
177
+
178
+ & > :nth-child(1) {
179
+ @apply text-sm leading-6 font-medium text-gray-700 dark:text-gray-200;
180
+ }
181
+
182
+ & > :nth-child(2) {
183
+ @apply ms-auto;
184
+ }
185
+ }
186
+
187
+ & .fi-ta-filter-indicators {
188
+ @apply flex items-start justify-between gap-x-3 border-b border-gray-200 bg-gray-50 px-3 py-1.5 sm:px-6 dark:border-white/10 dark:bg-white/5;
189
+
190
+ & > :nth-child(1) {
191
+ @apply flex flex-col gap-x-3 gap-y-1 sm:flex-row;
192
+
193
+ & .fi-ta-filter-indicators-label {
194
+ @apply text-sm leading-6 font-medium whitespace-nowrap text-gray-700 dark:text-gray-200;
195
+ }
196
+
197
+ & .fi-ta-filter-indicators-badges-ctn {
198
+ @apply flex flex-wrap gap-1.5;
199
+ }
200
+ }
201
+
202
+ & > :nth-child(2).fi-icon-btn {
203
+ @apply -mt-1;
204
+ }
205
+ }
206
+
207
+ & .fi-pagination {
208
+ @apply border-t border-gray-200 px-3 py-3 sm:px-6 dark:border-white/10;
209
+ }
210
+
211
+ & .fi-ta-table-loading-ctn {
212
+ @apply flex h-32 items-center justify-center;
213
+ }
214
+
215
+ & .fi-ta-main {
216
+ @apply min-w-0 flex-1;
217
+ }
218
+
219
+ & .fi-ta-filters-trigger-action-ctn.lg\:fi-hidden {
220
+ @apply lg:hidden;
221
+ }
222
+
223
+ & .fi-ta-filters-before-content-ctn,
224
+ & .fi-ta-filters-after-content-ctn {
225
+ @apply absolute z-20 hidden w-screen max-w-[14rem]! shrink-0 rounded-lg border-gray-200 bg-white shadow-lg ring-1 ring-gray-950/5 transition lg:static lg:z-auto lg:shadow-none lg:ring-0 dark:border-white/10 dark:bg-gray-900 dark:ring-white/10;
226
+
227
+ & .fi-ta-filters {
228
+ @apply p-6 lg:py-4;
229
+ }
230
+
231
+ &.fi-open {
232
+ @apply block;
233
+ }
234
+
235
+ &.lg\:fi-open {
236
+ @apply lg:block;
237
+ }
238
+
239
+ &.fi-opacity-0 {
240
+ @apply opacity-0;
241
+ }
242
+
243
+ &.fi-width-3xs {
244
+ @apply max-w-3xs!;
245
+ }
246
+
247
+ &.fi-width-2xs {
248
+ @apply max-w-2xs!;
249
+ }
250
+
251
+ &.fi-width-xs {
252
+ @apply max-w-xs!;
253
+ }
254
+
255
+ &.fi-width-sm {
256
+ @apply max-w-sm!;
257
+ }
258
+
259
+ &.fi-width-md {
260
+ @apply max-w-md!;
261
+ }
262
+
263
+ &.fi-width-lg {
264
+ @apply max-w-lg!;
265
+ }
266
+
267
+ &.fi-width-xl {
268
+ @apply max-w-xl!;
269
+ }
270
+
271
+ &.fi-width-2xl {
272
+ @apply max-w-2xl!;
273
+ }
274
+
275
+ &.fi-width-3xl {
276
+ @apply max-w-3xl!;
277
+ }
278
+
279
+ &.fi-width-4xl {
280
+ @apply max-w-4xl!;
281
+ }
282
+
283
+ &.fi-width-5xl {
284
+ @apply max-w-5xl!;
285
+ }
286
+
287
+ &.fi-width-6xl {
288
+ @apply max-w-6xl!;
289
+ }
290
+
291
+ &.fi-width-7xl {
292
+ @apply max-w-7xl!;
293
+ }
294
+
295
+ &.fi-width-none {
296
+ @apply max-w-none!;
297
+ }
298
+
299
+ &.fi-width-container {
300
+ @apply container!;
301
+ }
302
+ }
303
+
304
+ & .fi-ta-filters-before-content-ctn {
305
+ @apply start-0 lg:rounded-s-xl lg:rounded-e-none lg:border-e;
306
+ }
307
+
308
+ & .fi-ta-filters-after-content-ctn {
309
+ @apply end-0 lg:rounded-s-none lg:rounded-e-xl lg:border-s;
310
+ }
311
+ }
@@ -0,0 +1,342 @@
1
+ .fi-ta-content-loading {
2
+ --loading-skeleton-animation: var(--animate-pulse);
3
+ --loading-skeleton-bg: var(--gray-200);
4
+ --loading-skeleton-border-radius: var(--radius-md);
5
+
6
+ @variant dark {
7
+ --loading-skeleton-bg: rgb(255 255 255 / 0.1);
8
+ }
9
+
10
+ @media (prefers-reduced-motion: reduce) {
11
+ --loading-skeleton-animation: none;
12
+ }
13
+
14
+ & > .fi-ta-content,
15
+ & > .fi-ta-table > .fi-ta-records {
16
+ @apply pointer-events-none;
17
+ }
18
+ }
19
+
20
+ .fi-ta-content-ctn {
21
+ @apply relative divide-y divide-gray-200 overflow-x-auto dark:divide-white/10 dark:border-t-white/10;
22
+
23
+ & .fi-ta-content-header {
24
+ @apply flex items-center gap-4 gap-x-6 bg-gray-50 px-4 sm:px-6 dark:bg-white/5;
25
+
26
+ & .fi-ta-page-checkbox {
27
+ @apply my-4 shrink-0;
28
+ }
29
+
30
+ & .fi-ta-sorting-settings {
31
+ @apply flex gap-x-3 py-3;
32
+ }
33
+ }
34
+
35
+ &:not(.fi-ta-ctn-with-footer .fi-ta-content-ctn) {
36
+ @apply rounded-b-xl;
37
+ }
38
+
39
+ &:not(.fi-ta-ctn-with-header .fi-ta-content-ctn) {
40
+ @apply border-t-0;
41
+ }
42
+
43
+ & .fi-ta-content {
44
+ @apply grid;
45
+
46
+ &.fi-ta-content-grid {
47
+ @apply gap-4 p-4 sm:px-6;
48
+
49
+ &.fi-ta-content-grouped {
50
+ @apply pt-0;
51
+ }
52
+
53
+ & .fi-ta-group-header {
54
+ @apply -mx-4 border-y border-gray-200 first:border-t-0 sm:-mx-6 dark:border-white/5;
55
+ width: calc(100% + 2rem);
56
+
57
+ @variant sm {
58
+ width: calc(100% + 3rem);
59
+ }
60
+ }
61
+
62
+ & .fi-ta-record {
63
+ @apply rounded-xl shadow-sm ring-1 ring-gray-950/5 dark:bg-white/5 dark:ring-white/10;
64
+
65
+ &.fi-clickable {
66
+ @apply dark:hover:bg-white/10 dark:hover:ring-white/20;
67
+ }
68
+
69
+ &.fi-selected {
70
+ @apply dark:bg-white/10 dark:ring-white/20;
71
+ }
72
+
73
+ &:not(.fi-selected) {
74
+ @apply bg-white dark:bg-white/5 dark:ring-white/10;
75
+ }
76
+
77
+ &.fi-ta-record-with-content-prefix {
78
+ & .fi-ta-record-content {
79
+ @apply ps-2;
80
+ }
81
+
82
+ & .fi-ta-actions {
83
+ @apply ps-2;
84
+ }
85
+ }
86
+
87
+ &.fi-ta-record-with-content-suffix {
88
+ & .fi-ta-record-content {
89
+ @apply pe-2;
90
+ }
91
+
92
+ & .fi-ta-actions {
93
+ @apply pe-2;
94
+ }
95
+ }
96
+ }
97
+ }
98
+
99
+ &:not(.fi-ta-content-grid) {
100
+ @apply divide-y divide-gray-200 dark:divide-white/10;
101
+
102
+ & .fi-ta-record {
103
+ &.fi-clickable {
104
+ @apply dark:hover:bg-white/5;
105
+ }
106
+
107
+ &.fi-selected {
108
+ @apply before:bg-primary-600 dark:before:bg-primary-500 before:absolute before:inset-y-0 before:start-0 before:w-0.5 dark:bg-white/5;
109
+ }
110
+
111
+ & .fi-ta-record-content-ctn {
112
+ @apply md:flex-row md:items-center;
113
+ }
114
+
115
+ &:not(.fi-ta-record-with-content-prefix) {
116
+ & .fi-ta-record-content {
117
+ @apply sm:ps-6;
118
+ }
119
+
120
+ & .fi-ta-actions {
121
+ @apply sm:ps-6;
122
+ }
123
+ }
124
+
125
+ &:not(.fi-ta-record-with-content-suffix) {
126
+ & .fi-ta-record-content {
127
+ @apply sm:pe-6;
128
+ }
129
+
130
+ & .fi-ta-actions {
131
+ @apply sm:pe-6;
132
+ }
133
+ }
134
+
135
+ &.fi-ta-record-with-content-prefix {
136
+ @apply sm:ps-3;
137
+
138
+ & .fi-ta-record-content {
139
+ @apply ps-3;
140
+ }
141
+
142
+ & .fi-ta-actions {
143
+ @apply ps-3;
144
+ }
145
+ }
146
+
147
+ &.fi-ta-record-with-content-suffix {
148
+ @apply sm:pe-3;
149
+
150
+ & .fi-ta-record-content {
151
+ @apply pe-3;
152
+ }
153
+
154
+ & .fi-ta-actions {
155
+ @apply pe-3;
156
+ }
157
+ }
158
+
159
+ & .fi-ta-actions {
160
+ @apply md:ps-3;
161
+ }
162
+ }
163
+ }
164
+
165
+ & .fi-ta-group-header {
166
+ @apply col-span-full bg-gray-50 px-1 sm:px-3 dark:bg-white/5;
167
+
168
+ & .fi-ta-group-checkbox {
169
+ @apply mx-3;
170
+ }
171
+ }
172
+
173
+ & .fi-ta-group-summary,
174
+ & .fi-ta-table {
175
+ @apply col-span-full;
176
+ }
177
+
178
+ & .fi-ta-record {
179
+ @apply relative flex h-full items-center bg-white transition duration-75 dark:bg-gray-900;
180
+
181
+ .fi-ta-content-loading & .fi-ta-record-checkbox {
182
+ @apply shadow-none ring-0 transition-none;
183
+ animation: var(--loading-skeleton-animation);
184
+ background-color: var(--loading-skeleton-bg) !important;
185
+ background-image: none !important;
186
+ }
187
+
188
+ &.fi-ta-record-with-content-prefix {
189
+ @apply ps-1;
190
+ }
191
+
192
+ &.fi-ta-record-with-content-suffix {
193
+ @apply pe-1;
194
+ }
195
+
196
+ &.fi-clickable {
197
+ @apply hover:bg-gray-50;
198
+ }
199
+
200
+ &.fi-collapsed {
201
+ @apply hidden;
202
+ }
203
+
204
+ &.fi-selected {
205
+ @apply bg-gray-50;
206
+ }
207
+
208
+ & .fi-ta-reorder-handle {
209
+ @apply mx-1 my-2;
210
+ }
211
+
212
+ & .fi-ta-record-checkbox {
213
+ @apply mx-3 my-4 shrink-0;
214
+ }
215
+
216
+ & .fi-ta-record-content-ctn {
217
+ @apply flex h-full w-full flex-col gap-y-3 py-4;
218
+
219
+ & > :nth-child(1) {
220
+ @apply flex-1;
221
+ }
222
+
223
+ & .fi-ta-record-content {
224
+ @apply block w-full;
225
+
226
+ & .fi-ta-col {
227
+ @apply flex justify-start text-start disabled:pointer-events-none;
228
+
229
+ &.fi-growable {
230
+ @apply w-full;
231
+ }
232
+
233
+ &.fi-align-center {
234
+ @apply justify-center text-center;
235
+ }
236
+
237
+ &.fi-align-end {
238
+ @apply justify-end text-end;
239
+ }
240
+
241
+ &.fi-align-left {
242
+ @apply justify-start text-left;
243
+ }
244
+
245
+ &.fi-align-right {
246
+ @apply justify-end text-right;
247
+ }
248
+
249
+ &.fi-align-justify,
250
+ &.fi-align-between {
251
+ @apply justify-between text-justify;
252
+ }
253
+ }
254
+
255
+ &.fi-collapsible {
256
+ @apply mt-3;
257
+ }
258
+
259
+ & .fi-growable {
260
+ @apply w-full flex-1;
261
+ }
262
+
263
+ & .sm\:fi-hidden {
264
+ @apply sm:hidden;
265
+ }
266
+
267
+ & .md\:fi-hidden {
268
+ @apply md:hidden;
269
+ }
270
+
271
+ & .lg\:fi-hidden {
272
+ @apply lg:hidden;
273
+ }
274
+
275
+ & .xl\:fi-hidden {
276
+ @apply xl:hidden;
277
+ }
278
+
279
+ & .\32xl\:fi-hidden {
280
+ @apply 2xl:hidden;
281
+ }
282
+
283
+ & .sm\:fi-visible {
284
+ @apply hidden sm:block;
285
+ }
286
+
287
+ & .md\:fi-visible {
288
+ @apply hidden md:block;
289
+ }
290
+
291
+ & .lg\:fi-visible {
292
+ @apply hidden lg:block;
293
+ }
294
+
295
+ & .xl\:fi-visible {
296
+ @apply hidden xl:block;
297
+ }
298
+
299
+ & .\32xl\:fi-visible {
300
+ @apply hidden 2xl:block;
301
+ }
302
+ }
303
+ }
304
+
305
+ & .fi-ta-record-collapse-btn {
306
+ @apply mx-1 my-2 shrink-0;
307
+ }
308
+
309
+ & .fi-ta-actions {
310
+ &.fi-ta-actions-before-columns-position {
311
+ @apply order-first;
312
+ }
313
+ }
314
+
315
+ &:not(.fi-ta-record-with-content-prefix) {
316
+ & .fi-ta-record-content {
317
+ @apply ps-4;
318
+ }
319
+
320
+ & .fi-ta-actions {
321
+ @apply ps-4;
322
+ }
323
+ }
324
+
325
+ &:not(.fi-ta-record-with-content-suffix) {
326
+ & .fi-ta-record-content {
327
+ @apply pe-4;
328
+ }
329
+
330
+ & .fi-ta-actions {
331
+ @apply pe-4;
332
+ }
333
+ }
334
+
335
+ &.fi-ta-record-collapsed {
336
+ & .fi-ta-record-collapse-btn {
337
+ @apply rotate-180;
338
+ }
339
+ }
340
+ }
341
+ }
342
+ }
@@ -0,0 +1,31 @@
1
+ .fi-ta-empty-state {
2
+ @apply px-6 py-12;
3
+
4
+ &:not(.fi-ta-ctn-with-content-layout .fi-ta-empty-state) {
5
+ @apply border-t border-gray-200 dark:border-white/10;
6
+ }
7
+
8
+ & .fi-ta-empty-state-content {
9
+ @apply mx-auto grid max-w-lg justify-items-center text-center;
10
+ }
11
+
12
+ & .fi-ta-empty-state-icon-bg {
13
+ @apply mb-4 rounded-full bg-gray-100 p-3 dark:bg-gray-500/20;
14
+
15
+ & .fi-icon {
16
+ @apply text-gray-500 dark:text-gray-400;
17
+ }
18
+ }
19
+
20
+ & .fi-ta-empty-state-heading {
21
+ @apply text-base leading-6 font-semibold text-gray-950 dark:text-white;
22
+ }
23
+
24
+ & .fi-ta-empty-state-description {
25
+ @apply mt-1 text-sm text-gray-500 dark:text-gray-400;
26
+ }
27
+
28
+ & .fi-ta-actions {
29
+ @apply mt-6;
30
+ }
31
+ }