@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,35 @@
1
+ .fi-ta-split {
2
+ @apply flex;
3
+
4
+ &.default\:fi-ta-split {
5
+ @apply items-center gap-3;
6
+ }
7
+
8
+ &.sm\:fi-ta-split,
9
+ &.md\:fi-ta-split,
10
+ &.lg\:fi-ta-split,
11
+ &.xl\:fi-ta-split,
12
+ &.\32xl\:fi-ta-split {
13
+ @apply flex-col gap-2;
14
+ }
15
+
16
+ &.sm\:fi-ta-split {
17
+ @apply sm:flex-row sm:items-center sm:gap-3;
18
+ }
19
+
20
+ &.md\:fi-ta-split {
21
+ @apply md:flex-row md:items-center md:gap-3;
22
+ }
23
+
24
+ &.lg\:fi-ta-split {
25
+ @apply lg:flex-row lg:items-center lg:gap-3;
26
+ }
27
+
28
+ &.xl\:fi-ta-split {
29
+ @apply xl:flex-row xl:items-center xl:gap-3;
30
+ }
31
+
32
+ &.\32xl\:fi-ta-split {
33
+ @apply 2xl:flex-row 2xl:items-center 2xl:gap-3;
34
+ }
35
+ }
@@ -0,0 +1,29 @@
1
+ .fi-ta-stack {
2
+ @apply flex flex-col;
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-gap-sm {
19
+ @apply space-y-1;
20
+ }
21
+
22
+ &.fi-gap-md {
23
+ @apply space-y-2;
24
+ }
25
+
26
+ &.fi-gap-lg {
27
+ @apply space-y-3;
28
+ }
29
+ }
@@ -0,0 +1,36 @@
1
+ .fi-ta-select {
2
+ @apply w-full min-w-48;
3
+
4
+ .fi-ta-content-loading > .fi-ta-content &,
5
+ .fi-ta-content-loading > .fi-ta-table > .fi-ta-records > .fi-ta-row & {
6
+ @apply relative w-fit max-w-full text-transparent;
7
+
8
+ &::after {
9
+ @apply absolute inset-x-3 inset-y-4;
10
+ animation: var(--loading-skeleton-animation);
11
+ background-color: var(--loading-skeleton-bg);
12
+ border-radius: var(--loading-skeleton-border-radius);
13
+ content: '';
14
+ }
15
+
16
+ &.fi-inline::after {
17
+ @apply inset-0;
18
+ }
19
+
20
+ .fi-ta-table-stacked-on-mobile &::after {
21
+ @apply inset-0 sm:inset-x-3 sm:inset-y-4;
22
+ }
23
+
24
+ & > * {
25
+ @apply opacity-0;
26
+ }
27
+ }
28
+
29
+ &:not(.fi-inline) {
30
+ @apply px-3 py-4;
31
+ }
32
+
33
+ .fi-ta-table-stacked-on-mobile & {
34
+ @apply p-0 sm:px-3 sm:py-4;
35
+ }
36
+ }
@@ -0,0 +1,43 @@
1
+ .fi-ta-icon-count-summary {
2
+ @apply grid gap-y-1.5 px-3 py-4 text-sm text-gray-500 tabular-nums dark:text-gray-400;
3
+
4
+ .fi-ta-content-loading & {
5
+ @apply relative w-fit max-w-full text-transparent;
6
+
7
+ &::after {
8
+ @apply absolute inset-x-0 top-1/2 h-4 -translate-y-1/2;
9
+ animation: var(--loading-skeleton-animation);
10
+ background-color: var(--loading-skeleton-bg);
11
+ border-radius: var(--loading-skeleton-border-radius);
12
+ content: '';
13
+ }
14
+
15
+ & > * {
16
+ @apply opacity-0;
17
+ }
18
+ }
19
+
20
+ .fi-ta-table-stacked-on-mobile & {
21
+ @apply px-0 py-2 sm:px-3 sm:py-4;
22
+ }
23
+
24
+ & > .fi-ta-icon-count-summary-label {
25
+ @apply font-medium text-gray-950 dark:text-white;
26
+ }
27
+
28
+ & > ul {
29
+ @apply grid gap-y-1.5;
30
+
31
+ & > li {
32
+ @apply flex items-center gap-x-1.5;
33
+
34
+ & > .fi-icon {
35
+ @apply text-gray-400 dark:text-gray-500;
36
+
37
+ &.fi-color {
38
+ @apply text-(--text) dark:text-(--dark-text);
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,27 @@
1
+ .fi-ta-range-summary {
2
+ @apply grid gap-y-1 px-3 py-4 text-sm text-gray-500 tabular-nums dark:text-gray-400;
3
+
4
+ .fi-ta-content-loading & {
5
+ @apply relative w-fit max-w-full text-transparent;
6
+
7
+ &::after {
8
+ @apply absolute inset-x-0 top-1/2 h-4 -translate-y-1/2;
9
+ animation: var(--loading-skeleton-animation);
10
+ background-color: var(--loading-skeleton-bg);
11
+ border-radius: var(--loading-skeleton-border-radius);
12
+ content: '';
13
+ }
14
+
15
+ & > * {
16
+ @apply opacity-0;
17
+ }
18
+ }
19
+
20
+ .fi-ta-table-stacked-on-mobile & {
21
+ @apply px-0 py-2 sm:px-3 sm:py-4;
22
+ }
23
+
24
+ & > .fi-ta-range-summary-label {
25
+ @apply font-medium text-gray-950 dark:text-white;
26
+ }
27
+ }
@@ -0,0 +1,29 @@
1
+ .fi-ta-text-summary {
2
+ /* Summaries are computed aggregates: tabular figures keep them aligned
3
+ with the numeric column above. */
4
+ @apply grid gap-y-1 px-3 py-4 text-sm text-gray-500 tabular-nums dark:text-gray-400;
5
+
6
+ .fi-ta-content-loading & {
7
+ @apply relative w-fit max-w-full text-transparent;
8
+
9
+ &::after {
10
+ @apply absolute inset-x-0 top-1/2 h-4 -translate-y-1/2;
11
+ animation: var(--loading-skeleton-animation);
12
+ background-color: var(--loading-skeleton-bg);
13
+ border-radius: var(--loading-skeleton-border-radius);
14
+ content: '';
15
+ }
16
+
17
+ & > * {
18
+ @apply opacity-0;
19
+ }
20
+ }
21
+
22
+ .fi-ta-table-stacked-on-mobile & {
23
+ @apply px-0 py-2 sm:px-3 sm:py-4;
24
+ }
25
+
26
+ & > .fi-ta-text-summary-label {
27
+ @apply font-medium text-gray-950 dark:text-white;
28
+ }
29
+ }
@@ -0,0 +1,33 @@
1
+ .fi-ta-values-summary {
2
+ @apply grid gap-y-1 px-3 py-4 text-sm text-gray-500 tabular-nums dark:text-gray-400;
3
+
4
+ .fi-ta-content-loading & {
5
+ @apply relative w-fit max-w-full text-transparent;
6
+
7
+ &::after {
8
+ @apply absolute inset-x-0 top-1/2 h-4 -translate-y-1/2;
9
+ animation: var(--loading-skeleton-animation);
10
+ background-color: var(--loading-skeleton-bg);
11
+ border-radius: var(--loading-skeleton-border-radius);
12
+ content: '';
13
+ }
14
+
15
+ & > * {
16
+ @apply opacity-0;
17
+ }
18
+ }
19
+
20
+ .fi-ta-table-stacked-on-mobile & {
21
+ @apply px-0 py-2 sm:px-3 sm:py-4;
22
+ }
23
+
24
+ & > .fi-ta-values-summary-label {
25
+ @apply font-medium text-gray-950 dark:text-white;
26
+ }
27
+
28
+ & > ul {
29
+ &.fi-bulleted {
30
+ @apply list-inside list-disc;
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,36 @@
1
+ .fi-ta-text-input {
2
+ @apply w-full min-w-48;
3
+
4
+ .fi-ta-content-loading > .fi-ta-content &,
5
+ .fi-ta-content-loading > .fi-ta-table > .fi-ta-records > .fi-ta-row & {
6
+ @apply relative w-fit max-w-full text-transparent;
7
+
8
+ &::after {
9
+ @apply absolute inset-x-3 inset-y-4;
10
+ animation: var(--loading-skeleton-animation);
11
+ background-color: var(--loading-skeleton-bg);
12
+ border-radius: var(--loading-skeleton-border-radius);
13
+ content: '';
14
+ }
15
+
16
+ &.fi-inline::after {
17
+ @apply inset-0;
18
+ }
19
+
20
+ .fi-ta-table-stacked-on-mobile &::after {
21
+ @apply inset-0 sm:inset-x-3 sm:inset-y-4;
22
+ }
23
+
24
+ & > * {
25
+ @apply opacity-0;
26
+ }
27
+ }
28
+
29
+ &:not(.fi-inline) {
30
+ @apply px-3 py-4;
31
+ }
32
+
33
+ .fi-ta-table-stacked-on-mobile & {
34
+ @apply p-0 sm:px-3 sm:py-4;
35
+ }
36
+ }
@@ -0,0 +1,319 @@
1
+ .fi-ta-text {
2
+ @apply w-full;
3
+
4
+ .fi-ta-content-loading > .fi-ta-content &,
5
+ .fi-ta-content-loading > .fi-ta-table > .fi-ta-records > .fi-ta-row & {
6
+ @apply relative w-fit max-w-full text-transparent;
7
+
8
+ &.fi-align-center {
9
+ @apply mx-auto;
10
+ }
11
+
12
+ &.fi-align-end,
13
+ &.fi-align-right {
14
+ @apply ms-auto;
15
+ }
16
+
17
+ &::after {
18
+ @apply absolute inset-x-3 top-1/2 h-4 -translate-y-1/2;
19
+ animation: var(--loading-skeleton-animation);
20
+ background-color: var(--loading-skeleton-bg);
21
+ border-radius: var(--loading-skeleton-border-radius);
22
+ content: '';
23
+ }
24
+
25
+ &:is(
26
+ .fi-wrapped,
27
+ .fi-ta-text-has-descriptions,
28
+ .fi-ta-text-has-line-breaks,
29
+ .fi-ta-text-list-limited,
30
+ .fi-ta-text-has-line-clamp
31
+ )::after {
32
+ @apply inset-y-4 h-auto translate-y-0;
33
+ }
34
+
35
+ &.fi-inline::after {
36
+ @apply inset-x-0;
37
+ }
38
+
39
+ &.fi-inline:is(
40
+ .fi-wrapped,
41
+ .fi-ta-text-has-descriptions,
42
+ .fi-ta-text-has-line-breaks,
43
+ .fi-ta-text-list-limited,
44
+ .fi-ta-text-has-line-clamp
45
+ )::after {
46
+ @apply inset-y-0;
47
+ }
48
+
49
+ .fi-ta-table-stacked-on-mobile &::after {
50
+ @apply inset-x-0 sm:inset-x-3;
51
+ }
52
+
53
+ .fi-ta-table-stacked-on-mobile
54
+ &:is(
55
+ .fi-wrapped,
56
+ .fi-ta-text-has-descriptions,
57
+ .fi-ta-text-has-line-breaks,
58
+ .fi-ta-text-list-limited,
59
+ .fi-ta-text-has-line-clamp
60
+ )::after {
61
+ @apply inset-y-0 sm:inset-y-4;
62
+ }
63
+
64
+ & > * {
65
+ @apply opacity-0;
66
+ }
67
+ }
68
+
69
+ &.fi-numeric {
70
+ /* Numeric and money columns use tabular figures, so digits line up
71
+ down the column. */
72
+ @apply tabular-nums;
73
+ }
74
+
75
+ &.fi-ta-text-has-descriptions,
76
+ &.fi-ta-text-list-limited {
77
+ /* Add space between content and descriptions / list limit message. */
78
+ @apply flex flex-col;
79
+
80
+ &.fi-ta-text-has-badges {
81
+ /* When the content contains badges, more gap is required to balance the spacing. */
82
+ @apply gap-y-2;
83
+ }
84
+
85
+ &:not(.fi-ta-text-has-badges) {
86
+ /* When the content does not contain badges, less gap is required to balance the spacing. */
87
+ @apply gap-y-1;
88
+ }
89
+ }
90
+
91
+ &:not(.fi-inline) {
92
+ @apply px-3 py-4;
93
+ }
94
+
95
+ .fi-ta-table-stacked-on-mobile & {
96
+ @apply p-0 sm:px-3 sm:py-4;
97
+ }
98
+
99
+ ul&.fi-bulleted,
100
+ &.fi-bulleted ul {
101
+ @apply list-inside list-disc;
102
+ }
103
+
104
+ &:not(.fi-ta-text-has-line-breaks) {
105
+ ul&.fi-ta-text-has-badges,
106
+ &.fi-ta-text-has-badges ul {
107
+ /* A list of badges without line breaks need to remain on the same line, not wrap */
108
+ @apply flex gap-x-1.5;
109
+
110
+ &.fi-wrapped,
111
+ &:is(.fi-wrapped ul) {
112
+ /* When wrap is enabled, some badges can remain on the same line as others and some should wrap */
113
+ @apply flex-wrap gap-y-1;
114
+ }
115
+ }
116
+ }
117
+
118
+ ul&.fi-ta-text-has-badges,
119
+ &.fi-ta-text-has-badges ul {
120
+ &.fi-ta-text-has-line-breaks,
121
+ &:is(.fi-ta-text-has-line-breaks ul) {
122
+ /* Add vertical gap between badges in a list with line breaks */
123
+ @apply flex flex-col gap-y-1;
124
+ }
125
+
126
+ &:not(ul.fi-ta-text-has-line-breaks),
127
+ &:not(.fi-ta-text-has-line-breaks ul) {
128
+ /* A list of badges without line breaks need to remain on the same line, not wrap */
129
+ @apply flex gap-x-1.5;
130
+
131
+ &.fi-wrapped,
132
+ &:is(.fi-wrapped ul) {
133
+ /* When wrap is enabled, some badges can remain on the same line as others and some should wrap */
134
+ @apply flex-wrap gap-y-1;
135
+ }
136
+ }
137
+ }
138
+
139
+ &.fi-wrapped:not(.fi-ta-text-has-badges.fi-ta-text-has-line-breaks) {
140
+ /* If the content has badges, and they have line breaks, setting `whitespace-normal` sometimes pushes the badge
141
+ onto the line below the bullet point if there is one, and badge content does not need to wrap anyway. */
142
+ @apply whitespace-normal;
143
+
144
+ & .fi-badge,
145
+ & .fi-ta-text-list-limited-message {
146
+ /* Badge content should not wrap, but descriptions above and below badges should. The list limited
147
+ message and actions should not wrap. */
148
+ @apply whitespace-nowrap;
149
+ }
150
+ }
151
+
152
+ & > .fi-ta-text-description,
153
+ & > .fi-ta-text-list-limited-message {
154
+ @apply text-sm text-gray-500 dark:text-gray-400;
155
+ }
156
+
157
+ &.fi-align-center {
158
+ @apply text-center;
159
+
160
+ ul&,
161
+ & ul {
162
+ @apply justify-center;
163
+ }
164
+ }
165
+
166
+ &.fi-align-end,
167
+ &.fi-align-right {
168
+ @apply text-end;
169
+
170
+ ul&,
171
+ & ul {
172
+ @apply justify-end;
173
+ }
174
+ }
175
+
176
+ &.fi-align-justify,
177
+ &.fi-align-between {
178
+ @apply text-justify;
179
+
180
+ ul&,
181
+ & ul {
182
+ @apply justify-between;
183
+ }
184
+ }
185
+ }
186
+
187
+ .fi-ta-text-item {
188
+ @apply text-gray-950 dark:text-white;
189
+
190
+ & a {
191
+ @apply hover:underline focus-visible:underline;
192
+ }
193
+
194
+ &:not(.fi-bulleted li.fi-ta-text-item) {
195
+ /* Line clamping sets the `display` property of the list item to `-webkit-box` instead of `list-item`, which hides the bullet point. */
196
+ @apply line-clamp-(--line-clamp,none);
197
+ }
198
+
199
+ & > .fi-copyable {
200
+ @apply focus-visible:ring-primary-600 dark:focus-visible:ring-primary-500 cursor-pointer rounded-md outline-none focus-visible:ring-2;
201
+ }
202
+
203
+ &.fi-size-xs {
204
+ @apply text-xs;
205
+ }
206
+
207
+ &.fi-size-sm {
208
+ @apply text-sm leading-6;
209
+ }
210
+
211
+ &.fi-size-md {
212
+ @apply text-base;
213
+ }
214
+
215
+ &.fi-size-lg {
216
+ @apply text-lg;
217
+ }
218
+
219
+ &.fi-font-thin {
220
+ @apply font-thin;
221
+ }
222
+
223
+ &.fi-font-extralight {
224
+ @apply font-extralight;
225
+ }
226
+
227
+ &.fi-font-light {
228
+ @apply font-light;
229
+ }
230
+
231
+ &.fi-font-normal {
232
+ @apply font-normal;
233
+ }
234
+
235
+ &.fi-font-medium {
236
+ @apply font-medium;
237
+ }
238
+
239
+ &.fi-font-semibold {
240
+ @apply font-semibold;
241
+ }
242
+
243
+ &.fi-font-bold {
244
+ @apply font-bold;
245
+ }
246
+
247
+ &.fi-font-extrabold {
248
+ @apply font-extrabold;
249
+ }
250
+
251
+ &.fi-font-black {
252
+ @apply font-black;
253
+ }
254
+
255
+ &.fi-font-sans {
256
+ @apply font-sans;
257
+ }
258
+
259
+ &.fi-font-serif {
260
+ @apply font-serif;
261
+ }
262
+
263
+ &.fi-font-mono {
264
+ @apply font-mono;
265
+ }
266
+
267
+ &.fi-color {
268
+ @apply text-(--text) dark:text-(--dark-text);
269
+
270
+ li&::marker {
271
+ @apply text-gray-950;
272
+ }
273
+
274
+ @variant dark {
275
+ li&::marker {
276
+ @apply text-white;
277
+ }
278
+ }
279
+ }
280
+
281
+ &.fi-color-gray {
282
+ @apply text-gray-500 dark:text-gray-400;
283
+
284
+ li&::marker {
285
+ @apply text-gray-950;
286
+ }
287
+
288
+ @variant dark {
289
+ li&::marker {
290
+ @apply text-white;
291
+ }
292
+ }
293
+ }
294
+
295
+ & > .fi-icon,
296
+ & > span:not(.fi-badge) > .fi-icon {
297
+ @apply inline-block shrink-0 text-gray-400 dark:text-gray-500;
298
+
299
+ &.fi-color {
300
+ @apply text-color-500;
301
+ }
302
+ }
303
+
304
+ &.fi-ta-text-has-badges > .fi-badge {
305
+ @apply align-middle;
306
+ }
307
+ }
308
+
309
+ .fi-ta-col-has-column-url .fi-ta-text-item {
310
+ @apply hover:underline focus-visible:underline;
311
+
312
+ & .fi-icon {
313
+ @apply hover:no-underline focus-visible:no-underline;
314
+ }
315
+
316
+ & > .fi-badge {
317
+ @apply hover:no-underline focus-visible:no-underline;
318
+ }
319
+ }
@@ -0,0 +1,54 @@
1
+ .fi-ta-toggle {
2
+ @apply w-full;
3
+
4
+ .fi-ta-content-loading > .fi-ta-content &,
5
+ .fi-ta-content-loading > .fi-ta-table > .fi-ta-records > .fi-ta-row & {
6
+ @apply relative w-fit max-w-full text-transparent;
7
+
8
+ &.fi-align-center {
9
+ @apply mx-auto;
10
+ }
11
+
12
+ &.fi-align-end,
13
+ &.fi-align-right {
14
+ @apply ms-auto;
15
+ }
16
+
17
+ &::after {
18
+ @apply absolute inset-x-3 top-1/2 h-6 -translate-y-1/2;
19
+ animation: var(--loading-skeleton-animation);
20
+ background-color: var(--loading-skeleton-bg);
21
+ border-radius: var(--loading-skeleton-border-radius);
22
+ content: '';
23
+ }
24
+
25
+ &.fi-inline::after {
26
+ @apply inset-x-0;
27
+ }
28
+
29
+ .fi-ta-table-stacked-on-mobile &::after {
30
+ @apply inset-x-0 sm:inset-x-3;
31
+ }
32
+
33
+ & > * {
34
+ @apply opacity-0;
35
+ }
36
+ }
37
+
38
+ &:not(.fi-inline) {
39
+ @apply px-3 py-4;
40
+ }
41
+
42
+ .fi-ta-table-stacked-on-mobile & {
43
+ @apply p-0 sm:px-3 sm:py-4;
44
+ }
45
+
46
+ &.fi-align-center {
47
+ @apply text-center;
48
+ }
49
+
50
+ &.fi-align-end,
51
+ &.fi-align-right {
52
+ @apply text-end;
53
+ }
54
+ }