@fleetbase/ember-ui 0.3.4 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/addon/components/activity-log.hbs +137 -0
- package/addon/components/activity-log.js +310 -0
- package/addon/components/badge.hbs +1 -1
- package/addon/components/bulk-search-dropdown.hbs +14 -0
- package/addon/components/bulk-search-dropdown.js +26 -0
- package/addon/components/button.hbs +5 -1
- package/addon/components/comment-thread/comment.hbs +7 -7
- package/addon/components/comment-thread.hbs +2 -2
- package/addon/components/content-panel.hbs +104 -31
- package/addon/components/content-panel.js +10 -1
- package/addon/components/coordinates-input.hbs +17 -2
- package/addon/components/country-select.hbs +1 -1
- package/addon/components/country-select.js +3 -2
- package/addon/components/custom-field/form.hbs +77 -0
- package/addon/components/custom-field/form.js +103 -0
- package/addon/components/custom-field/input.hbs +93 -0
- package/addon/components/custom-field/input.js +151 -0
- package/addon/components/custom-field/options-input.hbs +17 -0
- package/addon/components/custom-field/options-input.js +123 -0
- package/addon/components/custom-field/value.hbs +10 -0
- package/addon/components/custom-field/value.js +23 -0
- package/addon/components/custom-field/yield.hbs +30 -0
- package/addon/components/custom-field/yield.js +107 -0
- package/addon/components/custom-fields-manager.hbs +103 -0
- package/addon/components/custom-fields-manager.js +231 -0
- package/addon/components/dashboard/create.hbs +13 -10
- package/addon/components/dashboard/widget-panel.hbs +5 -3
- package/addon/components/dashboard/widget-panel.js +0 -1
- package/addon/components/dashboard.hbs +35 -39
- package/addon/components/dashboard.js +6 -2
- package/addon/components/date-picker.js +17 -5
- package/addon/components/drawer.js +12 -16
- package/addon/components/dropdown-button.hbs +25 -1
- package/addon/components/fetch-select.js +22 -18
- package/addon/components/file.hbs +2 -2
- package/addon/components/filter/multi-option.hbs +1 -1
- package/addon/components/filter/multi-option.js +16 -23
- package/addon/components/filter/select.js +17 -22
- package/addon/components/filters-picker/button.hbs +9 -1
- package/addon/components/filters-picker.hbs +11 -8
- package/addon/components/full-calendar/draggable.hbs +8 -1
- package/addon/components/info-block.hbs +1 -1
- package/addon/components/kanban/card.hbs +23 -0
- package/addon/components/kanban/card.js +94 -0
- package/addon/components/kanban/column.hbs +83 -0
- package/addon/components/kanban/column.js +165 -0
- package/addon/components/kanban.hbs +56 -11
- package/addon/components/kanban.js +136 -1
- package/addon/components/layout/resource/card/body.hbs +3 -0
- package/addon/components/layout/resource/card/body.js +12 -0
- package/addon/components/layout/resource/card/footer.hbs +3 -0
- package/addon/components/layout/resource/card/footer.js +12 -0
- package/addon/components/layout/resource/card/header.hbs +3 -0
- package/addon/components/layout/resource/card/header.js +12 -0
- package/addon/components/layout/resource/card.hbs +11 -0
- package/addon/components/layout/resource/card.js +31 -0
- package/addon/components/layout/resource/cards-grid.hbs +28 -0
- package/addon/components/layout/resource/cards-grid.js +52 -0
- package/addon/components/layout/resource/panel/header-actions.hbs +115 -0
- package/addon/components/layout/resource/panel/header-actions.js +16 -0
- package/addon/components/layout/resource/panel/header.hbs +23 -0
- package/addon/components/layout/resource/panel/header.js +16 -0
- package/addon/components/layout/resource/panel.hbs +56 -0
- package/addon/components/layout/resource/panel.js +111 -0
- package/addon/components/layout/resource/tabular-actions.hbs +122 -0
- package/addon/components/layout/resource/tabular-actions.js +6 -0
- package/addon/components/layout/resource/tabular.hbs +138 -0
- package/addon/components/layout/resource/tabular.js +22 -0
- package/addon/components/layout/section/header.hbs +19 -13
- package/addon/components/layout/sidebar/item.hbs +2 -1
- package/addon/components/layout/sidebar/panel.hbs +2 -0
- package/addon/components/layout/sidebar.js +6 -1
- package/addon/components/layout/yield-sidebar.hbs +3 -0
- package/addon/components/metadata-editor.hbs +121 -0
- package/addon/components/metadata-editor.js +263 -0
- package/addon/components/metadata-viewer.hbs +46 -0
- package/addon/components/metadata-viewer.js +16 -0
- package/addon/components/modal/default.hbs +14 -3
- package/addon/components/modal/default.js +7 -0
- package/addon/components/modal/title-with-buttons.hbs +8 -1
- package/addon/components/modal.hbs +7 -4
- package/addon/components/modal.js +56 -16
- package/addon/components/modals/custom-field-group-form.hbs +5 -0
- package/addon/components/modals/edit-metadata.hbs +3 -0
- package/addon/components/modals/export-report.hbs +46 -0
- package/addon/components/modals/import-form.hbs +1 -1
- package/addon/components/modals/resource.hbs +9 -0
- package/addon/components/modals/save-report.hbs +38 -0
- package/addon/components/modals/verify-by-sms.hbs +1 -1
- package/addon/components/modals/view-metadata.hbs +3 -0
- package/addon/components/modals/view-raw-metadata.hbs +7 -0
- package/addon/components/modals-container.hbs +9 -7
- package/addon/components/modals-container.js +4 -4
- package/addon/components/model-coordinates-input.hbs +8 -0
- package/addon/components/model-coordinates-input.js +71 -0
- package/addon/components/model-multi-file-upload.hbs +67 -0
- package/addon/components/model-multi-file-upload.js +122 -0
- package/addon/components/model-select-multiple.hbs +0 -6
- package/addon/components/model-select.js +1 -1
- package/addon/components/model-tag-input.hbs +15 -0
- package/addon/components/model-tag-input.js +31 -0
- package/addon/components/money-input.hbs +1 -1
- package/addon/components/money-input.js +4 -0
- package/addon/components/overlay/header.hbs +99 -24
- package/addon/components/overlay.hbs +1 -0
- package/addon/components/overlay.js +19 -15
- package/addon/components/query-builder/actions.hbs +19 -0
- package/addon/components/query-builder/actions.js +22 -0
- package/addon/components/query-builder/column-select.hbs +85 -0
- package/addon/components/query-builder/column-select.js +77 -0
- package/addon/components/query-builder/conditions.hbs +242 -0
- package/addon/components/query-builder/conditions.js +496 -0
- package/addon/components/query-builder/group-by.hbs +174 -0
- package/addon/components/query-builder/group-by.js +183 -0
- package/addon/components/query-builder/joins.hbs +142 -0
- package/addon/components/query-builder/joins.js +283 -0
- package/addon/components/query-builder/limit.hbs +74 -0
- package/addon/components/query-builder/limit.js +50 -0
- package/addon/components/query-builder/sort-by.hbs +153 -0
- package/addon/components/query-builder/sort-by.js +175 -0
- package/addon/components/query-builder/table-select.hbs +45 -0
- package/addon/components/query-builder/table-select.js +19 -0
- package/addon/components/query-builder.hbs +79 -0
- package/addon/components/query-builder.js +205 -0
- package/addon/components/report/data.hbs +34 -0
- package/addon/components/report/details.hbs +32 -0
- package/addon/components/report/details.js +3 -0
- package/addon/components/report/form.hbs +3 -0
- package/addon/components/report/form.js +3 -0
- package/addon/components/report-builder/condition-value.hbs +11 -0
- package/addon/components/report-builder/condition-value.js +29 -0
- package/addon/components/report-builder/export-options.hbs +15 -0
- package/addon/components/report-builder/export-options.js +21 -0
- package/addon/components/report-builder/query-builder.hbs +38 -0
- package/addon/components/report-builder/query-builder.js +6 -0
- package/addon/components/report-builder/results-table.hbs +73 -0
- package/addon/components/report-builder/results-table.js +28 -0
- package/addon/components/report-builder.hbs +92 -0
- package/addon/components/report-builder.js +107 -0
- package/addon/components/resource-context-panel.hbs +74 -0
- package/addon/components/resource-context-panel.js +232 -0
- package/addon/components/rules-builder.js +3 -0
- package/addon/components/select.hbs +7 -3
- package/addon/components/spinner.hbs +1 -1
- package/addon/components/spinner.js +38 -1
- package/addon/components/tab-navigation.hbs +120 -0
- package/addon/components/tab-navigation.js +113 -0
- package/addon/components/table/cell/base.hbs +6 -2
- package/addon/components/table.js +8 -0
- package/addon/components/toggle.js +4 -62
- package/addon/components/upload-button.hbs +5 -0
- package/addon/components/view-raw-metadata.hbs +1 -0
- package/addon/components/visible-column-picker.hbs +4 -3
- package/addon/components/with-record.hbs +1 -0
- package/addon/components/with-record.js +40 -0
- package/addon/helpers/can-action.js +27 -0
- package/addon/helpers/can-delete.js +26 -0
- package/addon/helpers/can-write.js +27 -0
- package/addon/helpers/cannot-action.js +24 -0
- package/addon/helpers/cannot-delete.js +23 -0
- package/addon/helpers/cannot-write.js +23 -0
- package/addon/helpers/cfg-edit-buttons.js +21 -0
- package/addon/helpers/component-resolvable.js +13 -4
- package/addon/helpers/format-date-fns.js +63 -0
- package/addon/helpers/get-file-url.js +50 -0
- package/addon/helpers/get-model-name.js +25 -0
- package/addon/helpers/get-write-permission.js +6 -0
- package/addon/helpers/is-model.js +6 -0
- package/addon/helpers/is-url.js +12 -0
- package/addon/helpers/is-uuid.js +6 -0
- package/addon/helpers/join-column-list.js +17 -0
- package/addon/helpers/json-stringify.js +33 -0
- package/addon/helpers/resolve-component.js +23 -0
- package/addon/helpers/resource-context-panel-save-disabled.js +21 -0
- package/addon/helpers/set-has-item.js +5 -0
- package/addon/helpers/set-model-attr.js +23 -0
- package/addon/modifiers/set-height.js +5 -2
- package/addon/modifiers/set-z-index.js +5 -0
- package/addon/modifiers/translate-x.js +5 -0
- package/addon/services/dashboard.js +16 -0
- package/addon/services/modals-manager.js +245 -66
- package/addon/services/resource-context-panel.js +500 -0
- package/addon/services/sidebar.js +39 -0
- package/addon/styles/addon.css +6 -0
- package/addon/styles/components/activity-log.css +31 -0
- package/addon/styles/components/badge.css +41 -1
- package/addon/styles/components/basic-dropdown.css +17 -0
- package/addon/styles/components/button.css +6 -1
- package/addon/styles/components/card-grid.css +53 -0
- package/addon/styles/components/dashboard.css +7 -0
- package/addon/styles/components/ember-power-select.css +10 -0
- package/addon/styles/components/input.css +15 -1
- package/addon/styles/components/kanban.css +170 -25
- package/addon/styles/components/modal.css +14 -2
- package/addon/styles/components/overlay.css +1 -1
- package/addon/styles/components/panel.css +12 -27
- package/addon/styles/components/query-builder.css +387 -0
- package/addon/styles/components/report-builder.css +37 -0
- package/addon/styles/components/resource-context-panel.css +59 -0
- package/addon/styles/components/tab-navigation.css +275 -0
- package/addon/styles/layout/legacy.css +0 -15
- package/addon/styles/layout/next.css +283 -41
- package/addon/styles/layout/utilities.css +19 -2
- package/addon/utils/dom.js +65 -7
- package/addon/utils/get-custom-field-type-map.js +37 -0
- package/addon/utils/options.js +3 -0
- package/addon/utils/permission-check.js +97 -0
- package/addon/utils/remove-nullish.js +4 -0
- package/addon/utils/report-builder.js +63 -0
- package/addon/utils/to-power-select-groups.js +74 -0
- package/app/components/activity-log.js +1 -0
- package/app/components/bulk-search-dropdown.js +1 -0
- package/app/components/custom-field/form.js +1 -0
- package/app/components/custom-field/input.js +1 -0
- package/app/components/custom-field/options-input.js +1 -0
- package/app/components/custom-field/value.js +1 -0
- package/app/components/custom-field/yield.js +1 -0
- package/app/components/custom-fields-manager.js +1 -0
- package/app/components/kanban/card.js +1 -0
- package/app/components/kanban/column.js +1 -0
- package/app/components/layout/resource/card/body.js +1 -0
- package/app/components/layout/resource/card/footer.js +1 -0
- package/app/components/layout/resource/card/header.js +1 -0
- package/app/components/layout/resource/card.js +1 -0
- package/app/components/layout/resource/cards-grid.js +1 -0
- package/app/components/layout/resource/panel/header-actions.js +1 -0
- package/app/components/layout/resource/panel/header.js +1 -0
- package/app/components/layout/resource/panel.js +1 -0
- package/app/components/layout/resource/tabular-actions.js +1 -0
- package/app/components/layout/resource/tabular.js +1 -0
- package/app/components/layout/yield-sidebar.js +1 -0
- package/app/components/metadata-editor.js +1 -0
- package/app/components/metadata-viewer.js +1 -0
- package/app/components/modals/custom-field-group-form.js +1 -0
- package/app/components/modals/edit-metadata.js +1 -0
- package/app/components/modals/export-report.js +1 -0
- package/app/components/modals/resource.js +1 -0
- package/app/components/modals/save-report.js +1 -0
- package/app/components/modals/view-metadata.js +1 -0
- package/app/components/modals/view-raw-metadata.js +1 -0
- package/app/components/model-coordinates-input.js +1 -0
- package/app/components/model-multi-file-upload.js +1 -0
- package/app/components/model-tag-input.js +1 -0
- package/app/components/query-builder/actions.js +1 -0
- package/app/components/query-builder/column-select.js +1 -0
- package/app/components/query-builder/conditions.js +1 -0
- package/app/components/query-builder/group-by.js +1 -0
- package/app/components/query-builder/joins.js +1 -0
- package/app/components/query-builder/limit.js +1 -0
- package/app/components/query-builder/sort-by.js +1 -0
- package/app/components/query-builder/table-select.js +1 -0
- package/app/components/query-builder.js +1 -0
- package/app/components/report/data.js +1 -0
- package/app/components/report/details.js +1 -0
- package/app/components/report/form.js +1 -0
- package/app/components/report-builder/condition-value.js +1 -0
- package/app/components/report-builder/export-options.js +1 -0
- package/app/components/report-builder/query-builder.js +1 -0
- package/app/components/report-builder/results-table.js +1 -0
- package/app/components/report-builder.js +1 -0
- package/app/components/resource-context-panel.js +1 -0
- package/app/components/rules-builder.js +1 -0
- package/app/components/tab-navigation.js +1 -0
- package/app/components/view-raw-metadata.js +1 -0
- package/app/components/with-record.js +1 -0
- package/app/helpers/can-action.js +1 -0
- package/app/helpers/can-delete.js +1 -0
- package/app/helpers/can-write.js +1 -0
- package/app/helpers/cannot-action.js +1 -0
- package/app/helpers/cannot-delete.js +1 -0
- package/app/helpers/cannot-write.js +1 -0
- package/app/helpers/cfg-edit-buttons.js +1 -0
- package/app/helpers/{format-date.js → format-date-fns.js} +1 -1
- package/app/helpers/get-file-url.js +1 -0
- package/app/helpers/get-model-name.js +1 -0
- package/app/helpers/get-write-permission.js +1 -0
- package/app/helpers/is-model.js +1 -0
- package/app/helpers/is-url.js +1 -0
- package/app/helpers/is-uuid.js +1 -0
- package/app/helpers/join-column-list.js +1 -0
- package/app/helpers/json-stringify.js +1 -0
- package/app/helpers/resolve-component.js +1 -0
- package/app/helpers/resource-context-panel-save-disabled.js +1 -0
- package/app/helpers/set-has-item.js +1 -0
- package/app/helpers/set-model-attr.js +1 -0
- package/app/modifiers/set-z-index.js +1 -0
- package/app/modifiers/translate-x.js +1 -0
- package/app/services/resource-context-panel.js +1 -0
- package/app/services/sidebar.js +1 -0
- package/app/utils/get-custom-field-type-map.js +1 -0
- package/app/utils/options.js +1 -0
- package/app/utils/permission-check.js +1 -0
- package/app/utils/remove-nullish.js +1 -0
- package/app/utils/report-builder.js +1 -0
- package/app/utils/to-power-select-groups.js +1 -0
- package/index.js +1 -2
- package/package.json +3 -1
- package/addon/components/kanban/item.js +0 -3
- package/addon/helpers/format-date.js +0 -17
- package/app/components/kanban/item.js +0 -1
- /package/addon/components/{kanban/item.hbs → rules-builder.hbs} +0 -0
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--tab-bg-primary: theme('colors.white');
|
|
3
|
+
--tab-bg-secondary: theme('colors.gray.50');
|
|
4
|
+
--tab-border-color: theme('colors.gray.200');
|
|
5
|
+
--tab-text-primary: theme('colors.gray.900');
|
|
6
|
+
--tab-text-secondary: theme('colors.gray.600');
|
|
7
|
+
--tab-text-hover: theme('colors.gray.900');
|
|
8
|
+
--tab-hover-bg: theme('colors.gray.100');
|
|
9
|
+
--tab-active-indicator: theme('colors.blue.500');
|
|
10
|
+
--tab-focus-ring: theme('colors.blue.500');
|
|
11
|
+
--tab-close-hover: theme('colors.gray.200');
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
body[data-theme='dark'] {
|
|
15
|
+
--tab-bg-primary: theme('colors.gray.900');
|
|
16
|
+
--tab-bg-secondary: theme('colors.gray.800');
|
|
17
|
+
--tab-border-color: theme('colors.gray.700');
|
|
18
|
+
--tab-text-primary: theme('colors.white');
|
|
19
|
+
--tab-text-secondary: theme('colors.gray.400');
|
|
20
|
+
--tab-text-hover: theme('colors.white');
|
|
21
|
+
--tab-hover-bg: theme('colors.gray.700');
|
|
22
|
+
--tab-active-indicator: theme('colors.blue.500');
|
|
23
|
+
--tab-focus-ring: theme('colors.blue.500');
|
|
24
|
+
--tab-close-hover: theme('colors.gray.600');
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.tab-navigation {
|
|
28
|
+
@apply w-full h-full;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.tab-list {
|
|
32
|
+
@apply flex items-end;
|
|
33
|
+
background-color: var(--tab-bg-primary);
|
|
34
|
+
border-color: var(--tab-border-color);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.tab-navigation[data-style='github'] .tab-list {
|
|
38
|
+
@apply border-b;
|
|
39
|
+
background-color: var(--tab-bg-primary);
|
|
40
|
+
border-color: var(--tab-border-color);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.tab-navigation[data-style='obsidian'] .tab-list {
|
|
44
|
+
align-items: end;
|
|
45
|
+
background-color: var(--tab-bg-secondary);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.tab-item {
|
|
49
|
+
@apply relative flex items-center gap-2 font-medium transition-all duration-200 focus:outline-none;
|
|
50
|
+
color: var(--tab-text-secondary);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.tab-item:hover:not(.tab-item--disabled) {
|
|
54
|
+
color: var(--tab-text-hover);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* .tab-item:focus {
|
|
58
|
+
@apply ring-2 ring-offset-2;
|
|
59
|
+
--tw-ring-color: var(--tab-focus-ring);
|
|
60
|
+
} */
|
|
61
|
+
|
|
62
|
+
/* body[data-theme='dark'] .tab-item:focus {
|
|
63
|
+
@apply ring-offset-gray-900;
|
|
64
|
+
} */
|
|
65
|
+
|
|
66
|
+
.tab-item--active {
|
|
67
|
+
color: var(--tab-text-primary) !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.tab-item--disabled {
|
|
71
|
+
@apply opacity-50 cursor-not-allowed;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.tab-navigation[data-style='github'] .tab-item {
|
|
75
|
+
@apply border-b-2 border-transparent;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.tab-navigation[data-style='github'] .tab-item--active {
|
|
79
|
+
border-bottom-color: var(--tab-active-indicator);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.tab-navigation[data-style='github'] .tab-item:hover:not(.tab-item--active, .tab-item--disabled) {
|
|
83
|
+
border-bottom-color: var(--tab-border-color);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.tab-navigation[data-style='obsidian'] .tab-item {
|
|
87
|
+
@apply rounded-t-md;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.tab-navigation[data-style='obsidian'] .tab-item:hover:not(.tab-item--active, .tab-item--disabled) {
|
|
91
|
+
background-color: var(--tab-hover-bg);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.tab-navigation[data-style='obsidian'] .tab-item--active {
|
|
95
|
+
@apply border-t border-l border-r -mb-px z-10;
|
|
96
|
+
background-color: var(--tab-bg-primary);
|
|
97
|
+
border-color: var(--tab-border-color);
|
|
98
|
+
border-bottom: 1px solid var(--tab-bg-primary);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.tab-content {
|
|
102
|
+
display: block;
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 100%;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.tab-icon {
|
|
108
|
+
@apply flex-shrink-0;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.tab-label {
|
|
112
|
+
@apply truncate;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.tab-badge {
|
|
116
|
+
@apply inline-flex items-center justify-center rounded-full text-xs font-medium;
|
|
117
|
+
@apply bg-blue-500 text-white transition-all duration-200 ease-in-out;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
body[data-theme='dark'] .tab-badge {
|
|
121
|
+
@apply bg-blue-600;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.tab-close {
|
|
125
|
+
@apply flex-shrink-0 rounded-sm transition-all duration-150 ease-in-out;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.tab-close:hover {
|
|
129
|
+
background-color: var(--tab-close-hover);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* .tab-close:focus {
|
|
133
|
+
@apply outline-none ring-2 ring-offset-1;
|
|
134
|
+
--tw-ring-color: var(--tab-focus-ring);
|
|
135
|
+
} */
|
|
136
|
+
|
|
137
|
+
.tab-add-button {
|
|
138
|
+
@apply flex items-center justify-center rounded transition-all duration-150 ease-in-out;
|
|
139
|
+
color: var(--tab-text-secondary);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.tab-add-button:hover {
|
|
143
|
+
color: var(--tab-text-hover);
|
|
144
|
+
background-color: var(--tab-hover-bg);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* .tab-add-button:focus {
|
|
148
|
+
@apply outline-none ring-2 ring-offset-2;
|
|
149
|
+
--tw-ring-color: var(--tab-focus-ring);
|
|
150
|
+
} */
|
|
151
|
+
|
|
152
|
+
/* body[data-theme='dark'] .tab-add-button:focus {
|
|
153
|
+
@apply ring-offset-gray-800;
|
|
154
|
+
} */
|
|
155
|
+
|
|
156
|
+
.tab-navigation[data-size='sm'] .tab-list {
|
|
157
|
+
@apply h-8;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.tab-navigation[data-size='sm'] .tab-item {
|
|
161
|
+
@apply px-3 py-1.5 text-sm;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.tab-navigation[data-size='sm'] .tab-icon {
|
|
165
|
+
@apply w-3 h-3;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.tab-navigation[data-size='sm'] .tab-badge {
|
|
169
|
+
@apply min-w-[16px] h-4 px-1;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.tab-navigation[data-size='sm'] .tab-close {
|
|
173
|
+
@apply p-0.5;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.tab-navigation[data-size='sm'] .tab-add-button {
|
|
177
|
+
@apply w-6 h-6 ml-1;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.tab-navigation[data-size='md'] .tab-list {
|
|
181
|
+
@apply h-11;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.tab-navigation[data-size='md'] .tab-item {
|
|
185
|
+
@apply px-4 py-2 text-sm;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.tab-navigation[data-size='md'] .tab-icon {
|
|
189
|
+
@apply w-4 h-4;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.tab-navigation[data-size='md'] .tab-badge {
|
|
193
|
+
@apply min-w-[18px] h-[18px] px-1.5;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.tab-navigation[data-size='md'] .tab-close {
|
|
197
|
+
@apply p-1;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.tab-navigation[data-size='md'] .tab-add-button {
|
|
201
|
+
@apply w-8 h-8 ml-2;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.tab-navigation[data-size='lg'] .tab-list {
|
|
205
|
+
@apply h-12;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.tab-navigation[data-size='lg'] .tab-item {
|
|
209
|
+
@apply px-6 py-3 text-base;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.tab-navigation[data-size='lg'] .tab-icon {
|
|
213
|
+
@apply w-5 h-5;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.tab-navigation[data-size='lg'] .tab-badge {
|
|
217
|
+
@apply min-w-[20px] h-5 px-2;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.tab-navigation[data-size='lg'] .tab-close {
|
|
221
|
+
@apply p-1.5;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.tab-navigation[data-size='lg'] .tab-add-button {
|
|
225
|
+
@apply w-10 h-10 ml-2;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@media (max-width: 640px) {
|
|
229
|
+
.tab-navigation .tab-item {
|
|
230
|
+
@apply px-2 py-1.5 text-xs;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.tab-navigation .tab-label {
|
|
234
|
+
@apply max-w-[80px];
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.tab-navigation .tab-icon {
|
|
238
|
+
@apply w-3 h-3;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@media (prefers-contrast: high) {
|
|
243
|
+
.tab-navigation[data-style='github'] .tab-item--active {
|
|
244
|
+
--tab-active-indicator: theme('colors.blue.600');
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.tab-navigation .tab-item {
|
|
248
|
+
@apply border border-transparent;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.tab-navigation .tab-item--active {
|
|
252
|
+
@apply border-blue-600;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
@media (prefers-reduced-motion: reduce) {
|
|
257
|
+
.tab-item,
|
|
258
|
+
.tab-badge,
|
|
259
|
+
.tab-close,
|
|
260
|
+
.tab-add-button {
|
|
261
|
+
@apply transition-none;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.tab-navigation-actions {
|
|
266
|
+
display: flex;
|
|
267
|
+
flex-direction: row;
|
|
268
|
+
align-items: center;
|
|
269
|
+
height: 100%;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.tab-navigation-actions input.form-input,
|
|
273
|
+
.tab-navigation-actions span.btn-wrapper > button.btn {
|
|
274
|
+
height: 28px;
|
|
275
|
+
}
|
|
@@ -527,21 +527,6 @@ body[data-theme='dark'] .radio-group-condensed .radio-group-item {
|
|
|
527
527
|
@apply text-gray-100 border-night-905;
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
-
body[data-theme='dark'] .radio-group-condensed .radio-group-item .ui-input-info-block .ui-input-info-block-text > span,
|
|
531
|
-
body[data-theme='dark'] .radio-group-condensed .radio-group-item .ui-input-info-block .ui-input-info-block-text > p {
|
|
532
|
-
@apply text-blue-700;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
body[data-theme='dark'] .radio-group-condensed .radio-group-item.warning .ui-input-info-block .ui-input-info-block-text > span,
|
|
536
|
-
body[data-theme='dark'] .radio-group-condensed .radio-group-item.warning .ui-input-info-block .ui-input-info-block-text > p {
|
|
537
|
-
@apply text-yellow-900;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
body[data-theme='dark'] .radio-group-condensed .radio-group-item.success .ui-input-info-block .ui-input-info-block-text > span,
|
|
541
|
-
body[data-theme='dark'] .radio-group-condensed .radio-group-item.success .ui-input-info-block .ui-input-info-block-text > p {
|
|
542
|
-
@apply text-green-900;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
530
|
body[data-theme='dark'] .radio-group-condensed .radio-group-item label span:first-child {
|
|
546
531
|
@apply text-gray-200;
|
|
547
532
|
}
|