@revolist/ui 4.0.2-rc → 4.0.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.
- package/LICENSE +21 -0
- package/MIGRATION.md +36 -0
- package/OWNERSHIP.md +32 -32
- package/README.md +405 -265
- package/_button.scss +6 -2
- package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
- package/_chunks/calculator-CDWOuAcp.js +4 -0
- package/_chunks/{calendar-CpaUK7w1.js → calendar-CgXQgkga.js} +28 -18
- package/_chunks/chart-frame-hcOlnQ1K.js +145 -0
- package/_chunks/{chevron-right-sxHQMSkq.js → check-BwI7iCAm.js} +2 -2
- package/_chunks/{chevron-left-D0nc4Z5S.js → chevron-right-CM3ljziP.js} +2 -2
- package/_chunks/choice-chips-SkllS5Kl.js +126 -0
- package/_chunks/clock-BOhPNlW3.js +4 -0
- package/_chunks/{color-palette-BBMFmUNA.js → color-palette-DMJUChWC.js} +20 -22
- package/_chunks/{color-picker-D90Jg-M8.js → color-picker-BpCTuIdm.js} +77 -72
- package/_chunks/{component-YDcfoOLz.js → component-CfeHXgIw.js} +301 -282
- package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BKd7U8OW.js} +0 -12
- package/_chunks/configurator-actions-DnStE6Yl.js +155 -0
- package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
- package/_chunks/control-Dcrjsunl.js +118 -0
- package/_chunks/{controls-DIum-E66.js → controls-B_6NJarZ.js} +217 -182
- package/_chunks/{date-control-BJSzu79z.js → date-control-C4h4m75W.js} +1 -1
- package/_chunks/{date-time-BxPJusp9.js → date-time-CTOSbzb0.js} +344 -307
- package/_chunks/{delete-button-Bblyah10.js → delete-button-CW9vjLnk.js} +6 -6
- package/_chunks/dialog.parts-3w5FR06n.js +131 -0
- package/_chunks/{duration-87U2EoMS.js → duration-Bf2OS1V5.js} +19 -18
- package/_chunks/editor-popup-ByU7qiub.js +82 -0
- package/_chunks/field-configurator-D5dZRhDe.js +288 -0
- package/_chunks/field-context-D57PnBbH.js +5 -0
- package/_chunks/{framework-mount-C-Zwm44H.js → framework-mount-Bk4O_T7T.js} +1 -1
- package/_chunks/icon-toolbar-DSjOdwM7.js +134 -0
- package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
- package/_chunks/minus-BOAR3A1C.js +4 -0
- package/_chunks/mount-BRdcG60g.js +267 -0
- package/_chunks/{native.view-ByyZ1CT5.js → native-Blr3byjO.js} +1 -1
- package/_chunks/native-control-B_fVA5bL.js +649 -0
- package/_chunks/{number-input-BeIadZuL.js → number-input-CmM6_2vR.js} +7 -7
- package/_chunks/{picker-DpP7iQLA.js → picker-DTqET-2W.js} +2 -2
- package/_chunks/plus-CbGRkIGl.js +4 -0
- package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
- package/_chunks/popup-C35Isk7p.js +378 -0
- package/_chunks/{rating-choice-Ca8ZBty3.js → rating-choice-C-6wcb9U.js} +1 -1
- package/_chunks/render-m5eMMwFR.js +83 -0
- package/_chunks/{reorder-list-Cc3KmfAN.js → reorder-list-DIl1gkV6.js} +1 -1
- package/_chunks/request-trail-DrhdpWiH.js +762 -0
- package/_chunks/rich-text-BnilBbhU.js +842 -0
- package/_chunks/rotate-left-BF6G883o.js +4 -0
- package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
- package/_chunks/selection-list-tooltips-C5oMJe26.js +42 -0
- package/_chunks/title-tooltip-Cw6LOZhb.js +11 -0
- package/_chunks/tooltip-D4xkio5G.js +54 -0
- package/_chunks/tooltip-owner-DjdvqKzz.js +19 -0
- package/_chunks/tooltip-session-B6X6x8G_.js +110 -0
- package/_chunks/tooltip-text-BXsUEmBH.js +12 -0
- package/_chunks/top-layer-popup-CNSDdfJV.js +59 -0
- package/_dialog.scss +55 -21
- package/_form.scss +71 -21
- package/_legend.scss +25 -7
- package/_shared/data-query/index.d.ts +2 -2
- package/_shared/data-query/load-options.d.ts +2 -2
- package/_variables.scss +34 -32
- package/_view-switcher.scss +6 -0
- package/activity-message.d.ts +1 -1
- package/ai/_chat.scss +227 -0
- package/ai/_style.scss +170 -39
- package/ai/chat.d.ts +65 -0
- package/ai/components.d.ts +34 -5
- package/ai/index.d.ts +3 -0
- package/ai/index.js +3 -3
- package/ai/mount.d.ts +59 -6
- package/ai/prompt-history.d.ts +13 -0
- package/ai/request-trail.d.ts +9 -3
- package/ai/results/_style.scss +83 -0
- package/ai/results/index.d.ts +11 -0
- package/ai/results/metrics.d.ts +5 -0
- package/ai/results/table.d.ts +5 -0
- package/ai/results/text.d.ts +5 -0
- package/ai/results/types.d.ts +29 -0
- package/ai/transcript.d.ts +27 -0
- package/ai/translations.d.ts +1 -1
- package/angular/angular.d.ts +1 -1
- package/angular/angular.js +13 -10
- package/assignee/assignee.scss +28 -6
- package/assignee/index.js +34 -35
- package/avatar/avatar.style.scss +23 -6
- package/avatar/index.d.ts +25 -2
- package/avatar/index.js +33 -32
- package/badge.d.ts +1 -1
- package/badge.view.d.ts +8 -0
- package/brush-range/_brush-range.scss +55 -49
- package/brush-range/component.d.ts +1 -3
- package/brush-range/component.js +27 -27
- package/buttons/delete-button.d.ts +2 -1
- package/buttons/delete-button.js +1 -1
- package/buttons/delete-button.style.scss +6 -2
- package/buttons/remove-button.d.ts +1 -1
- package/buttons/remove-button.js +1 -1
- package/buttons/remove-button.style.scss +1 -1
- package/buttons/svg-button.d.ts +2 -1
- package/buttons/svg-button.js +19 -19
- package/calendar/_calendar.scss +27 -26
- package/calendar/calendar.js +1 -1
- package/calendar/header.js +1 -2
- package/calendar/index.js +2 -2
- package/cell-input.scss +3 -7
- package/cell-visuals/badge.style.scss +6 -3
- package/cell-visuals/bar-chart.style.scss +2 -1
- package/cell-visuals/column-type.style.css +12 -0
- package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
- package/cell-visuals/progress-line.style.scss +1 -4
- package/cell-visuals/sparkline.style.scss +2 -1
- package/cell-visuals/timeline.style.css +4 -2
- package/checkbox/checkbox.scss +6 -24
- package/choice-chips/index.d.ts +3 -1
- package/choice-chips/index.js +1 -1
- package/color-palette/color-palette.js +1 -1
- package/color-palette/color-palette.style.scss +88 -25
- package/color-palette/color-picker.js +2 -2
- package/color-palette/color-picker.style.scss +23 -10
- package/color-palette/common-palettes.d.ts +1 -1
- package/color-palette/common-palettes.js +1 -1
- package/color-palette/native.d.ts +15 -2
- package/component-catalog.d.ts +24 -11
- package/configurator-actions.d.ts +67 -0
- package/configurator-actions.js +1 -0
- package/configurator-aggregation-list.d.ts +14 -0
- package/configurator-aggregation-list.js +63 -0
- package/configurator-drop-zone.d.ts +39 -0
- package/configurator-drop-zone.js +66 -0
- package/configurator-field-icon.d.ts +10 -0
- package/configurator-field-icon.js +1 -0
- package/configurator-focus.d.ts +4 -0
- package/configurator-focus.js +39 -0
- package/configurator-sections.d.ts +42 -0
- package/configurator-sections.js +71 -0
- package/control-attributes.js +7 -7
- package/control-presentation.d.ts +8 -2
- package/control-presentation.js +25 -20
- package/controls.d.ts +19 -7
- package/controls.js +4 -3
- package/core/editor-popup-position.d.ts +6 -2
- package/core/editor-popup.d.ts +4 -0
- package/core/editor-popup.js +1 -1
- package/core/popover-controller.d.ts +35 -0
- package/core/popup-ownership.d.ts +2 -0
- package/core/selection-list-tooltips.d.ts +2 -0
- package/core/title-tooltip.d.ts +2 -0
- package/core/tooltip-session.d.ts +29 -0
- package/core/tooltip-surface.d.ts +13 -0
- package/core/tooltip-text.d.ts +6 -0
- package/core/tooltip.d.ts +35 -0
- package/core/top-layer-popup.d.ts +4 -0
- package/core/top-layer-popup.js +1 -23
- package/date-time/attach.d.ts +1 -1
- package/date-time/date-control.d.ts +1 -1
- package/date-time/field.d.ts +3 -2
- package/date-time/index.js +1 -1
- package/date-time/style.scss +242 -39
- package/date-time/time-selection.d.ts +3 -1
- package/date-time/types.d.ts +5 -1
- package/dialog/dialog-action-footer.d.ts +17 -2
- package/dialog/dialog.dom.d.ts +15 -2
- package/dialog/dialog.dom.js +3 -3
- package/dialog/dialog.parts.d.ts +1 -1
- package/dialog/dialog.parts.js +1 -1
- package/distribution-chart/_distribution-chart.scss +113 -77
- package/distribution-chart/area-chart.js +1 -1
- package/distribution-chart/bar-chart.d.ts +5 -2
- package/distribution-chart/bar-chart.js +7 -3
- package/distribution-chart/chart-frame.d.ts +2 -1
- package/distribution-chart/index.d.ts +1 -1
- package/distribution-chart/line-chart.js +1 -1
- package/dropdown/content.d.ts +2 -1
- package/dropdown/content.js +1 -142
- package/dropdown/control.d.ts +14 -0
- package/dropdown/control.js +1 -0
- package/dropdown/control.view.d.ts +6 -0
- package/dropdown/dropdown.types.d.ts +5 -1
- package/dropdown/editor-dropdown.style.scss +54 -16
- package/dropdown/index.d.ts +1 -1
- package/dropdown/index.js +3 -4
- package/dropdown/lookup-field.d.ts +5 -0
- package/dropdown/lookup-field.js +2 -1
- package/dropdown/popup.d.ts +2 -2
- package/dropdown/popup.js +1 -141
- package/duration/index.js +1 -1
- package/duration/style.scss +1 -1
- package/editor-actions.js +1 -1
- package/editor-layout/index.d.ts +4 -4
- package/editor-layout/index.js +39 -34
- package/editor-layout/style.scss +82 -18
- package/field-configurator.d.ts +39 -1
- package/field-configurator.js +4 -170
- package/field-expansion.d.ts +9 -0
- package/fieldset.d.ts +3 -0
- package/filter/filters/slider/_single-slider.scss +57 -38
- package/filter/filters/slider/_slider.scss +41 -33
- package/filter/filters/slider/control.js +2 -0
- package/filter/filters/slider/runtime.js +49 -22
- package/filter/filters/slider/single.js +1 -1
- package/filter-badge.js +1 -1
- package/filter-controls.d.ts +0 -1
- package/filter-controls.js +9 -10
- package/form-controls/field-context.d.ts +5 -0
- package/form-controls/index.d.ts +10 -2
- package/form-controls/index.js +4 -9
- package/form-controls/presentation.d.ts +1 -1
- package/form-controls/presentation.js +53 -45
- package/formatting/index.d.ts +1 -1
- package/formatting/index.js +40 -35
- package/formatting/styles.scss +14 -57
- package/framework.js +237 -226
- package/history-controls.d.ts +14 -0
- package/history-controls.js +27 -0
- package/icon-toolbar.d.ts +62 -0
- package/icon-toolbar.js +1 -0
- package/icons/icon.d.ts +1 -1
- package/legend.d.ts +1 -1
- package/masked-input/index.js +1 -1
- package/native-control.d.ts +6 -5
- package/native-control.js +3 -26
- package/native-controls.d.ts +54 -2
- package/native-styles.css +1 -1
- package/native-styles.scss +6 -2
- package/native.d.ts +3 -3
- package/native.js +41 -37
- package/number-input/index.d.ts +1 -1
- package/number-input/index.js +1 -1
- package/package.json +88 -14
- package/pagination.d.ts +3 -0
- package/pagination.js +50 -40
- package/pdf-viewer/header.d.ts +1 -1
- package/pdf-viewer/index.d.ts +2 -2
- package/pdf-viewer/index.js +1 -1
- package/pdf-viewer/search-bar.d.ts +1 -1
- package/pdf-viewer/status.d.ts +1 -1
- package/pdf-viewer/style.scss +205 -45
- package/pickers.d.ts +5 -1
- package/preact-mount.js +1 -1
- package/preact.d.ts +15 -10
- package/preact.js +109 -64
- package/progress/_bar.scss +9 -3
- package/progress/_circular.scss +2 -1
- package/rating-choice.js +1 -1
- package/react-adapter.d.ts +4 -2
- package/react-control.d.ts +1 -0
- package/react.d.ts +20 -11
- package/react.js +72 -88
- package/reorder-list.d.ts +1 -1
- package/reorder-list.js +1 -1
- package/reorder-list.scss +59 -17
- package/resource-picker/resource-picker-popup.js +1 -1
- package/resource-picker/resource-picker.js +73 -71
- package/resource-picker/resource-picker.scss +66 -35
- package/rich-text/engine.d.ts +17 -19
- package/rich-text/format-html.d.ts +2 -0
- package/rich-text/index.d.ts +11 -7
- package/rich-text/index.js +1 -1
- package/rich-text/model.d.ts +6 -3
- package/rich-text/render-model.d.ts +4 -5
- package/rich-text/style.scss +295 -55
- package/rich-text/syntax.d.ts +5 -2
- package/rich-text/toolbar.d.ts +6 -6
- package/rich-text/translations.d.ts +5 -15
- package/search-input/index.js +1 -1
- package/search-input/native.d.ts +21 -2
- package/select.d.ts +22 -0
- package/select.js +1 -0
- package/selection-list.d.ts +1 -0
- package/selection-list.js +3 -1
- package/status-feedback/exit-snapshot.js +1 -1
- package/status-feedback/index.js +2 -2
- package/status-feedback/popover.js +9 -9
- package/status-feedback/render.js +3 -44
- package/status-feedback/status-feedback.scss +130 -34
- package/status-feedback/types.d.ts +4 -0
- package/status-feedback/use-auto-dismiss.d.ts +3 -0
- package/styles/_activity-message.scss +24 -7
- package/styles/_alert.scss +78 -17
- package/styles/_cell-editor-frame.scss +11 -0
- package/styles/_compositions.scss +404 -82
- package/styles/_control.scss +42 -12
- package/styles/_disclosure.scss +15 -5
- package/styles/_editor-counter.scss +16 -6
- package/styles/_editor-slider.scss +8 -4
- package/styles/_field-configurator.scss +321 -23
- package/styles/_fields-grid.scss +49 -0
- package/styles/_filter-controls.scss +10 -2
- package/styles/_icon-action.scss +48 -15
- package/styles/_loading.scss +12 -3
- package/styles/_motion.scss +32 -9
- package/styles/_palette.scss +0 -24
- package/styles/_primitives.scss +376 -116
- package/styles/_theme.scss +130 -86
- package/styles/_thresholds.scss +28 -25
- package/styles/_time-grid.scss +8 -3
- package/styles/_tokens.scss +6 -1
- package/styles/configurator-actions.scss +241 -0
- package/styles/pagination.css +213 -0
- package/styles/{legacy-rating.css → rating.css} +8 -3
- package/styles.css +1 -1
- package/styles.scss +3 -5
- package/surfaces.d.ts +38 -2
- package/surfaces.js +37 -134
- package/svelte/UiComponent.server.js +1 -48
- package/svelte/UiComponent.svelte +44 -32
- package/svelte.d.ts +1 -1
- package/svelte.js +33 -68
- package/switch/index.js +15 -14
- package/time-grid.d.ts +0 -1
- package/time-grid.js +38 -37
- package/timeline-track/_style.scss +96 -24
- package/timeline-track/component.d.ts +5 -1
- package/timeline-track/index.js +71 -54
- package/timeline-track/model.d.ts +9 -0
- package/timeline-track/model.js +10 -1
- package/ui.css +1 -1
- package/view-switcher.d.ts +23 -0
- package/vue.d.ts +51 -35
- package/vue.js +149 -178
- package/_chunks/chart-frame-BC99KjGa.js +0 -127
- package/_chunks/choice-chips-Cs4D-3nH.js +0 -110
- package/_chunks/compat.module-DDB2pm9O.js +0 -229
- package/_chunks/control-tooltip-ztgmsG7H.js +0 -100
- package/_chunks/dialog.parts-DBqo3Qwb.js +0 -134
- package/_chunks/dropdown-voWqmwAe.js +0 -357
- package/_chunks/editor-popup-D3JdS8l3.js +0 -81
- package/_chunks/mount-DZe_6VtR.js +0 -90
- package/_chunks/request-trail-IdNiFvKH.js +0 -347
- package/_chunks/rich-text-BzI1DyfF.js +0 -477
- package/avatar/index.view.d.ts +0 -25
- package/color-palette/native.view.d.ts +0 -15
- package/control-presentation.view.d.ts +0 -8
- package/dialog/dialog-action-footer.view.d.ts +0 -20
- package/dialog/dialog.dom.view.d.ts +0 -15
- package/form-controls/index.view.d.ts +0 -12
- package/formatting/control-tooltip.d.ts +0 -27
- package/native-controls.view.d.ts +0 -54
- package/react-native-select.d.ts +0 -6
- package/search-input/native.view.d.ts +0 -21
- package/styles/legacy-pagination.css +0 -112
- package/surfaces.view.d.ts +0 -63
- package/vue-native-select.d.ts +0 -9
package/styles/_theme.scss
CHANGED
|
@@ -8,121 +8,165 @@
|
|
|
8
8
|
--rv-ui-shadow: color-mix(in srgb, black 10%, transparent);
|
|
9
9
|
--rv-ui-disabled-bg: var(--rv-ui-surface-sunken);
|
|
10
10
|
--rv-ui-disabled-fg: var(--rv-ui-text-muted);
|
|
11
|
-
--rv-ui-danger-surface: color-mix(
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
--rv-ui-danger-surface: color-mix(
|
|
12
|
+
in srgb,
|
|
13
|
+
var(--rv-ui-danger) 10%,
|
|
14
|
+
var(--rv-ui-surface)
|
|
15
|
+
);
|
|
16
|
+
--rv-ui-warning-surface: color-mix(
|
|
17
|
+
in srgb,
|
|
18
|
+
var(--rv-ui-warning) 10%,
|
|
19
|
+
var(--rv-ui-surface)
|
|
20
|
+
);
|
|
21
|
+
--rv-ui-success-surface: color-mix(
|
|
22
|
+
in srgb,
|
|
23
|
+
var(--rv-ui-success) 10%,
|
|
24
|
+
var(--rv-ui-surface)
|
|
25
|
+
);
|
|
14
26
|
--rv-ui-field-muted: var(--rv-ui-text-muted);
|
|
15
|
-
--rv-ui-field-accent-text: color-mix(
|
|
27
|
+
--rv-ui-field-accent-text: color-mix(
|
|
28
|
+
in srgb,
|
|
29
|
+
var(--rv-ui-accent, #{palette.$blue-600}) 90%,
|
|
30
|
+
black
|
|
31
|
+
);
|
|
16
32
|
--rv-ui-field-surface: #{palette.$gray-f6f6f6};
|
|
17
33
|
--rv-ui-field-text: var(--rv-ui-text);
|
|
18
34
|
/* Typography */
|
|
19
35
|
--rv-ui-font-weight-medium: #{variables.$rv-font-weight-medium};
|
|
20
36
|
|
|
21
37
|
/* Semantic surfaces and content */
|
|
22
|
-
--rv-ui-canvas:
|
|
23
|
-
--rv-ui-surface:
|
|
24
|
-
--rv-ui-surface-elevated:
|
|
25
|
-
--rv-ui-surface-sunken:
|
|
26
|
-
--rv-ui-surface-hover:
|
|
27
|
-
--rv-ui-border:
|
|
28
|
-
--rv-ui-border-strong:
|
|
29
|
-
--rv-ui-text:
|
|
30
|
-
--rv-ui-text-muted:
|
|
31
|
-
--rv-ui-text-subtle:
|
|
32
|
-
--rv-ui-selected-bg:
|
|
38
|
+
--rv-ui-canvas: #{palette.$neutral-100};
|
|
39
|
+
--rv-ui-surface: #{palette.$white};
|
|
40
|
+
--rv-ui-surface-elevated: #{palette.$white};
|
|
41
|
+
--rv-ui-surface-sunken: #{palette.$gray-f8f8f8};
|
|
42
|
+
--rv-ui-surface-hover: #{palette.$gray-f1f1f1};
|
|
43
|
+
--rv-ui-border: #{palette.$neutral-200};
|
|
44
|
+
--rv-ui-border-strong: #{palette.$neutral-300};
|
|
45
|
+
--rv-ui-text: #{palette.$neutral-900};
|
|
46
|
+
--rv-ui-text-muted: #{palette.$neutral-600};
|
|
47
|
+
--rv-ui-text-subtle: #{palette.$neutral-500};
|
|
48
|
+
--rv-ui-selected-bg: color-mix(
|
|
49
|
+
in srgb,
|
|
50
|
+
var(--rv-ui-accent) 12%,
|
|
51
|
+
var(--rv-ui-surface)
|
|
52
|
+
);
|
|
33
53
|
--rv-dropdown-container-tag-background: #{palette.$gray-eeeeee};
|
|
34
54
|
--rv-dropdown-placeholder-color: var(--rv-ui-text-muted);
|
|
35
|
-
--rv-ui-selected-fg:
|
|
36
|
-
--rv-ui-selected-accent-fg:
|
|
55
|
+
--rv-ui-selected-fg: #{palette.$neutral-900};
|
|
56
|
+
--rv-ui-selected-accent-fg: color-mix(
|
|
57
|
+
in srgb,
|
|
58
|
+
var(--rv-ui-accent) 65%,
|
|
59
|
+
black
|
|
60
|
+
);
|
|
37
61
|
|
|
38
62
|
--rv-ui-danger: #{palette.$red-700};
|
|
39
63
|
--rv-ui-warning: #{palette.$amber-700};
|
|
40
64
|
--rv-ui-success: #{palette.$green-700};
|
|
41
65
|
|
|
42
66
|
/* Accent (primary / switch on) */
|
|
43
|
-
--rv-ui-accent:
|
|
44
|
-
--rv-ui-accent-hover:
|
|
45
|
-
--rv-ui-accent-fg:
|
|
67
|
+
--rv-ui-accent: #{palette.$blue-600};
|
|
68
|
+
--rv-ui-accent-hover: #{palette.$blue-700};
|
|
69
|
+
--rv-ui-accent-fg: #{palette.$white};
|
|
46
70
|
--rv-ui-accent-text-weight: 90%;
|
|
47
|
-
--rv-ui-accent-text-base:
|
|
71
|
+
--rv-ui-accent-text-base: black;
|
|
48
72
|
--rv-ui-accent-text: color-mix(in srgb, var(--rv-ui-accent) 90%, black);
|
|
49
73
|
|
|
50
74
|
/* Outline button (default) */
|
|
51
|
-
--rv-ui-btn-outline-bg:
|
|
52
|
-
--rv-ui-btn-outline-bg-hover:var(--rv-ui-surface-hover);
|
|
53
|
-
--rv-ui-btn-outline-fg:
|
|
75
|
+
--rv-ui-btn-outline-bg: transparent;
|
|
76
|
+
--rv-ui-btn-outline-bg-hover: var(--rv-ui-surface-hover);
|
|
77
|
+
--rv-ui-btn-outline-fg: var(--rv-ui-text);
|
|
54
78
|
--rv-ui-btn-outline-border: var(--rv-ui-border);
|
|
55
|
-
--rv-ui-btn-outline-border-hover:var(--rv-ui-border-strong);
|
|
79
|
+
--rv-ui-btn-outline-border-hover: var(--rv-ui-border-strong);
|
|
56
80
|
|
|
57
81
|
/* Filled neutral button */
|
|
58
|
-
--rv-ui-btn-bg:
|
|
59
|
-
--rv-ui-btn-bg-hover:
|
|
60
|
-
--rv-ui-btn-fg:
|
|
82
|
+
--rv-ui-btn-bg: #{palette.$neutral-800};
|
|
83
|
+
--rv-ui-btn-bg-hover: #{palette.$neutral-700};
|
|
84
|
+
--rv-ui-btn-fg: #{palette.$white};
|
|
61
85
|
|
|
62
86
|
/* Secondary button */
|
|
63
|
-
--rv-ui-btn-secondary-bg:
|
|
87
|
+
--rv-ui-btn-secondary-bg: var(--rv-ui-border);
|
|
64
88
|
--rv-ui-btn-secondary-bg-hover: var(--rv-ui-border-strong);
|
|
65
|
-
--rv-ui-btn-secondary-fg:
|
|
89
|
+
--rv-ui-btn-secondary-fg: var(--rv-ui-text);
|
|
66
90
|
|
|
67
91
|
/* Danger button */
|
|
68
|
-
--rv-ui-btn-danger-bg:
|
|
69
|
-
--rv-ui-btn-danger-bg-hover:
|
|
70
|
-
--rv-ui-btn-danger-fg:
|
|
71
|
-
--rv-ui-btn-danger-outline:
|
|
72
|
-
--rv-ui-btn-danger-outline-hover
|
|
92
|
+
--rv-ui-btn-danger-bg: transparent;
|
|
93
|
+
--rv-ui-btn-danger-bg-hover: #{palette.$red-overlay-8};
|
|
94
|
+
--rv-ui-btn-danger-fg: var(--rv-ui-danger);
|
|
95
|
+
--rv-ui-btn-danger-outline: #{palette.$gray-dc2626};
|
|
96
|
+
--rv-ui-btn-danger-outline-hover: #{palette.$red-overlay-8};
|
|
73
97
|
|
|
74
98
|
/* Ghost hover overlay */
|
|
75
|
-
--rv-ui-btn-ghost-hover-bg:
|
|
76
|
-
--rv-ui-btn-ghost-active-bg:
|
|
99
|
+
--rv-ui-btn-ghost-hover-bg: #{palette.$black-overlay-6};
|
|
100
|
+
--rv-ui-btn-ghost-active-bg: #{palette.$black-overlay-10};
|
|
77
101
|
|
|
78
102
|
/* Toggle switch */
|
|
79
|
-
--rv-ui-switch-track-off:
|
|
80
|
-
--rv-ui-switch-thumb:
|
|
103
|
+
--rv-ui-switch-track-off: #{palette.$gray-9ca3af};
|
|
104
|
+
--rv-ui-switch-thumb: #{palette.$white};
|
|
81
105
|
|
|
82
106
|
/* Button group */
|
|
83
|
-
--rv-ui-group-border:
|
|
84
|
-
--rv-ui-group-hover-bg:
|
|
107
|
+
--rv-ui-group-border: var(--rv-ui-border);
|
|
108
|
+
--rv-ui-group-hover-bg: var(--rv-ui-surface-hover);
|
|
85
109
|
|
|
86
110
|
/* Badge */
|
|
87
|
-
--rv-ui-badge-bg:
|
|
88
|
-
--rv-ui-badge-fg:
|
|
89
|
-
--rv-ui-badge-disabled-bg:
|
|
90
|
-
--rv-ui-badge-disabled-fg:
|
|
111
|
+
--rv-ui-badge-bg: var(--rv-ui-accent);
|
|
112
|
+
--rv-ui-badge-fg: var(--rv-ui-accent-fg);
|
|
113
|
+
--rv-ui-badge-disabled-bg: #{palette.$gray-a1a1aa};
|
|
114
|
+
--rv-ui-badge-disabled-fg: #{palette.$white};
|
|
91
115
|
|
|
92
116
|
/* Shared */
|
|
93
|
-
--rv-ui-radius:
|
|
94
|
-
--rv-ui-transition:
|
|
95
|
-
--rv-ui-focus-ring:
|
|
117
|
+
--rv-ui-radius: 6px;
|
|
118
|
+
--rv-ui-transition: var(--rv-ui-motion-fast, 120ms);
|
|
119
|
+
--rv-ui-focus-ring: color-mix(in srgb, var(--rv-ui-accent) 35%, transparent);
|
|
96
120
|
}
|
|
97
121
|
|
|
98
122
|
@mixin rv-ui-dark-tokens {
|
|
99
123
|
--rv-ui-color-scheme: dark;
|
|
100
124
|
--rv-ui-disabled-bg: var(--rv-ui-surface-sunken);
|
|
101
125
|
--rv-ui-disabled-fg: var(--rv-ui-text-muted);
|
|
102
|
-
--rv-ui-danger-surface: color-mix(
|
|
103
|
-
|
|
104
|
-
|
|
126
|
+
--rv-ui-danger-surface: color-mix(
|
|
127
|
+
in srgb,
|
|
128
|
+
var(--rv-ui-danger) 10%,
|
|
129
|
+
var(--rv-ui-surface)
|
|
130
|
+
);
|
|
131
|
+
--rv-ui-warning-surface: color-mix(
|
|
132
|
+
in srgb,
|
|
133
|
+
var(--rv-ui-warning) 10%,
|
|
134
|
+
var(--rv-ui-surface)
|
|
135
|
+
);
|
|
136
|
+
--rv-ui-success-surface: color-mix(
|
|
137
|
+
in srgb,
|
|
138
|
+
var(--rv-ui-success) 10%,
|
|
139
|
+
var(--rv-ui-surface)
|
|
140
|
+
);
|
|
105
141
|
--rv-ui-overlay: color-mix(in srgb, black 60%, transparent);
|
|
106
142
|
--rv-ui-shadow: color-mix(in srgb, black 32%, transparent);
|
|
107
143
|
--rv-ui-field-muted: var(--rv-ui-text-muted);
|
|
108
|
-
--rv-ui-field-accent-text: color-mix(
|
|
144
|
+
--rv-ui-field-accent-text: color-mix(
|
|
145
|
+
in srgb,
|
|
146
|
+
var(--rv-ui-accent, #{palette.$blue-600}) 45%,
|
|
147
|
+
white
|
|
148
|
+
);
|
|
109
149
|
--rv-ui-field-surface: #{palette.$neutral-800};
|
|
110
150
|
--rv-ui-field-text: var(--rv-ui-text);
|
|
111
|
-
--rv-ui-canvas:
|
|
112
|
-
--rv-ui-surface:
|
|
113
|
-
--rv-ui-surface-elevated:
|
|
114
|
-
--rv-ui-surface-sunken:
|
|
115
|
-
--rv-ui-surface-hover:
|
|
116
|
-
--rv-ui-border:
|
|
117
|
-
--rv-ui-border-strong:
|
|
118
|
-
--rv-ui-text:
|
|
119
|
-
--rv-ui-text-muted:
|
|
120
|
-
--rv-ui-text-subtle:
|
|
121
|
-
--rv-ui-selected-bg:
|
|
151
|
+
--rv-ui-canvas: #{palette.$neutral-950};
|
|
152
|
+
--rv-ui-surface: #{palette.$gray-1f1f1f};
|
|
153
|
+
--rv-ui-surface-elevated: #{palette.$neutral-800};
|
|
154
|
+
--rv-ui-surface-sunken: #{palette.$gray-111111};
|
|
155
|
+
--rv-ui-surface-hover: #{palette.$gray-2f2f2f};
|
|
156
|
+
--rv-ui-border: #{palette.$gray-3a3a3a};
|
|
157
|
+
--rv-ui-border-strong: #{palette.$gray-525252};
|
|
158
|
+
--rv-ui-text: #{palette.$neutral-100};
|
|
159
|
+
--rv-ui-text-muted: #{palette.$gray-a3a3a3};
|
|
160
|
+
--rv-ui-text-subtle: #{palette.$neutral-500};
|
|
161
|
+
--rv-ui-selected-bg: color-mix(
|
|
162
|
+
in srgb,
|
|
163
|
+
var(--rv-ui-accent) 12%,
|
|
164
|
+
var(--rv-ui-surface)
|
|
165
|
+
);
|
|
122
166
|
--rv-dropdown-container-tag-background: #{palette.$gray-2b2b2b};
|
|
123
167
|
--rv-dropdown-placeholder-color: var(--rv-ui-text-muted);
|
|
124
|
-
--rv-ui-selected-fg:
|
|
125
|
-
--rv-ui-selected-accent-fg:
|
|
168
|
+
--rv-ui-selected-fg: #{palette.$neutral-100};
|
|
169
|
+
--rv-ui-selected-accent-fg: var(--rv-ui-accent-text);
|
|
126
170
|
--rv-ui-danger: #{palette.$red-300};
|
|
127
171
|
--rv-ui-warning: #{palette.$amber-300};
|
|
128
172
|
--rv-ui-success: #{palette.$green-300};
|
|
@@ -130,34 +174,34 @@
|
|
|
130
174
|
--rv-ui-btn-danger-outline-hover: #{palette.$red-light-overlay-10};
|
|
131
175
|
color-scheme: dark;
|
|
132
176
|
|
|
133
|
-
--rv-ui-accent:
|
|
134
|
-
--rv-ui-accent-hover:
|
|
177
|
+
--rv-ui-accent: #{palette.$blue-600};
|
|
178
|
+
--rv-ui-accent-hover: #{palette.$blue-700};
|
|
135
179
|
--rv-ui-accent-text-weight: 45%;
|
|
136
|
-
--rv-ui-accent-text-base:
|
|
180
|
+
--rv-ui-accent-text-base: white;
|
|
137
181
|
--rv-ui-accent-text: color-mix(in srgb, var(--rv-ui-accent) 45%, white);
|
|
138
182
|
|
|
139
|
-
--rv-ui-btn-outline-bg:
|
|
140
|
-
--rv-ui-btn-outline-bg-hover:
|
|
141
|
-
--rv-ui-btn-outline-fg:
|
|
142
|
-
--rv-ui-btn-outline-border:
|
|
143
|
-
--rv-ui-btn-outline-border-hover:var(--rv-ui-border-strong);
|
|
183
|
+
--rv-ui-btn-outline-bg: transparent;
|
|
184
|
+
--rv-ui-btn-outline-bg-hover: var(--rv-ui-surface-hover);
|
|
185
|
+
--rv-ui-btn-outline-fg: var(--rv-ui-text);
|
|
186
|
+
--rv-ui-btn-outline-border: var(--rv-ui-border);
|
|
187
|
+
--rv-ui-btn-outline-border-hover: var(--rv-ui-border-strong);
|
|
144
188
|
|
|
145
|
-
--rv-ui-btn-bg:
|
|
146
|
-
--rv-ui-btn-bg-hover:
|
|
189
|
+
--rv-ui-btn-bg: var(--rv-ui-surface-elevated);
|
|
190
|
+
--rv-ui-btn-bg-hover: #{palette.$neutral-700};
|
|
147
191
|
|
|
148
|
-
--rv-ui-btn-secondary-bg:
|
|
192
|
+
--rv-ui-btn-secondary-bg: var(--rv-ui-surface);
|
|
149
193
|
--rv-ui-btn-secondary-bg-hover: var(--rv-ui-surface-hover);
|
|
150
|
-
--rv-ui-btn-secondary-fg:
|
|
194
|
+
--rv-ui-btn-secondary-fg: var(--rv-ui-text);
|
|
151
195
|
|
|
152
|
-
--rv-ui-btn-ghost-hover-bg:
|
|
153
|
-
--rv-ui-btn-ghost-active-bg:
|
|
196
|
+
--rv-ui-btn-ghost-hover-bg: #{palette.$white-overlay-8};
|
|
197
|
+
--rv-ui-btn-ghost-active-bg: #{palette.$white-overlay-14};
|
|
154
198
|
|
|
155
|
-
--rv-ui-switch-track-off:
|
|
156
|
-
--rv-ui-switch-thumb:
|
|
199
|
+
--rv-ui-switch-track-off: #{palette.$neutral-600};
|
|
200
|
+
--rv-ui-switch-thumb: var(--rv-ui-text);
|
|
157
201
|
|
|
158
|
-
--rv-ui-group-border:
|
|
159
|
-
--rv-ui-group-hover-bg:
|
|
160
|
-
--rv-ui-focus-ring:
|
|
161
|
-
--rv-ui-badge-disabled-bg:
|
|
162
|
-
--rv-ui-badge-disabled-fg:
|
|
202
|
+
--rv-ui-group-border: var(--rv-ui-border);
|
|
203
|
+
--rv-ui-group-hover-bg: var(--rv-ui-surface-hover);
|
|
204
|
+
--rv-ui-focus-ring: color-mix(in srgb, var(--rv-ui-accent) 38%, transparent);
|
|
205
|
+
--rv-ui-badge-disabled-bg: #{palette.$gray-52525b};
|
|
206
|
+
--rv-ui-badge-disabled-fg: #{palette.$gray-e4e4e7};
|
|
163
207
|
}
|
package/styles/_thresholds.scss
CHANGED
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
@use '../variables' as *;
|
|
2
2
|
|
|
3
3
|
@mixin thresholds {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
4
|
+
&.low {
|
|
5
|
+
--threshold-color: var(--progress-bar-low-color, #{$rv-low-color});
|
|
6
|
+
--progress-bar-text-color: #ffffff;
|
|
7
|
+
}
|
|
8
|
+
&.medium {
|
|
9
|
+
--threshold-color: var(--progress-bar-medium-color, #{$rv-medium-color});
|
|
10
|
+
--progress-bar-text-color: #000000;
|
|
11
|
+
}
|
|
12
|
+
&.high {
|
|
13
|
+
--threshold-color: var(--progress-bar-high-color, #{$rv-high-color});
|
|
14
|
+
--progress-bar-text-color: #ffffff;
|
|
15
|
+
}
|
|
16
|
+
&.critical {
|
|
17
|
+
--threshold-color: var(
|
|
18
|
+
--progress-bar-critical-color,
|
|
19
|
+
#{$rv-critical-color}
|
|
20
|
+
);
|
|
21
|
+
--progress-bar-text-color: #ffffff;
|
|
22
|
+
}
|
|
23
|
+
&.info {
|
|
24
|
+
--threshold-color: var(--progress-bar-info-color, #{$rv-info-color});
|
|
25
|
+
--progress-bar-text-color: #ffffff;
|
|
26
|
+
}
|
|
27
|
+
&.neutral {
|
|
28
|
+
--threshold-color: var(--progress-bar-neutral-color, #{$rv-neutral-color});
|
|
29
|
+
--progress-bar-text-color: #ffffff;
|
|
30
|
+
}
|
|
31
|
+
}
|
package/styles/_time-grid.scss
CHANGED
|
@@ -58,8 +58,10 @@
|
|
|
58
58
|
background: var(--rv-matrix-working, var(--rv-ui-surface));
|
|
59
59
|
cursor: crosshair;
|
|
60
60
|
transition:
|
|
61
|
-
border-color var(--rv-ui-motion-fast, 120ms)
|
|
62
|
-
|
|
61
|
+
border-color var(--rv-ui-motion-fast, 120ms)
|
|
62
|
+
var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1)),
|
|
63
|
+
background-color var(--rv-ui-motion-fast, 120ms)
|
|
64
|
+
var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1));
|
|
63
65
|
}
|
|
64
66
|
.rv-time-grid__cell.is-outside-work-hours {
|
|
65
67
|
background: var(--rv-matrix-outside, var(--rv-ui-surface-hover));
|
|
@@ -91,4 +93,7 @@
|
|
|
91
93
|
z-index: 1;
|
|
92
94
|
}
|
|
93
95
|
|
|
94
|
-
.rv-time-grid__hours,
|
|
96
|
+
.rv-time-grid__hours,
|
|
97
|
+
.rv-time-grid__matrix {
|
|
98
|
+
min-inline-size: var(--rv-time-grid-min-width, 500px);
|
|
99
|
+
}
|
package/styles/_tokens.scss
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
@use './theme';
|
|
2
|
-
:root,
|
|
2
|
+
:root,
|
|
3
|
+
.light,
|
|
4
|
+
[data-theme^='light'],
|
|
5
|
+
revo-grid[theme^='light'] {
|
|
6
|
+
@include theme.rv-ui-light-tokens;
|
|
7
|
+
}
|
|
3
8
|
|
|
4
9
|
/* Explicit dark selectors */
|
|
5
10
|
[data-theme^='dark'],
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
@use './built-in-palettes' as palettes;
|
|
2
|
+
// Shared action surfaces for Grid and Pivot. Keep legacy classes and theme tokens compatible.
|
|
3
|
+
.revo-dropdown-menu.pivot-field-action-popover {
|
|
4
|
+
--rv-dropdown-menu-max-height: 400px;
|
|
5
|
+
position: fixed;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
min-width: 0;
|
|
8
|
+
width: min(20rem, calc(100vw - 16px));
|
|
9
|
+
max-width: calc(100vw - 16px);
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
padding: 0;
|
|
12
|
+
color: var(--rv-dropdown-menu-option-color);
|
|
13
|
+
.pivot-field-action-panel {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
align-items: stretch;
|
|
17
|
+
min-width: 0;
|
|
18
|
+
max-width: 100%;
|
|
19
|
+
border-radius: 0.25rem;
|
|
20
|
+
font-weight: normal;
|
|
21
|
+
white-space: normal;
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
width: 100%;
|
|
24
|
+
min-height: 0;
|
|
25
|
+
flex: 1 1 auto;
|
|
26
|
+
border: 0;
|
|
27
|
+
padding: 0;
|
|
28
|
+
gap: 0;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
}
|
|
31
|
+
.pivot-field-action-header {
|
|
32
|
+
flex-shrink: 0;
|
|
33
|
+
padding: 12px;
|
|
34
|
+
background: var(--rv-dropdown-menu-background);
|
|
35
|
+
border-bottom: 1px solid var(--rv-dropdown-menu-border);
|
|
36
|
+
}
|
|
37
|
+
.pivot-field-action-title {
|
|
38
|
+
display: block;
|
|
39
|
+
font-size: 13px;
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
line-height: 20px;
|
|
42
|
+
}
|
|
43
|
+
.pivot-field-action-header .rv-search-input {
|
|
44
|
+
margin: 8px 0 0;
|
|
45
|
+
}
|
|
46
|
+
.pivot-field-action-body {
|
|
47
|
+
min-height: 0;
|
|
48
|
+
padding: 6px;
|
|
49
|
+
overflow: auto;
|
|
50
|
+
overscroll-behavior: contain;
|
|
51
|
+
scrollbar-width: thin;
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
gap: 2px;
|
|
55
|
+
}
|
|
56
|
+
.pivot-field-action-group {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex: 0 0 auto;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
gap: 2px;
|
|
61
|
+
}
|
|
62
|
+
.pivot-field-action-group + .pivot-field-action-group {
|
|
63
|
+
border-top: 1px solid var(--rv-dropdown-menu-border);
|
|
64
|
+
margin-top: 4px;
|
|
65
|
+
padding-top: 6px;
|
|
66
|
+
}
|
|
67
|
+
.rv-configurator-action-panel.pivot-field-action-panel button.rv-btn {
|
|
68
|
+
font-family: inherit;
|
|
69
|
+
font-size: 13px;
|
|
70
|
+
line-height: 1.5;
|
|
71
|
+
width: 100%;
|
|
72
|
+
min-height: 36px;
|
|
73
|
+
flex: 0 0 auto;
|
|
74
|
+
padding: 8px;
|
|
75
|
+
margin: 0;
|
|
76
|
+
align-items: center;
|
|
77
|
+
text-align: start;
|
|
78
|
+
white-space: normal;
|
|
79
|
+
flex-wrap: nowrap;
|
|
80
|
+
gap: 10px;
|
|
81
|
+
justify-content: flex-start;
|
|
82
|
+
opacity: 1;
|
|
83
|
+
appearance: none;
|
|
84
|
+
border: 0;
|
|
85
|
+
box-shadow: none;
|
|
86
|
+
background-image: none;
|
|
87
|
+
border-radius: 0.375rem;
|
|
88
|
+
color: inherit;
|
|
89
|
+
background: transparent;
|
|
90
|
+
}
|
|
91
|
+
.pivot-field-action-panel button.rv-btn:disabled {
|
|
92
|
+
color: var(--pv-action-muted, var(--rv-ui-text-muted));
|
|
93
|
+
opacity: 0.55;
|
|
94
|
+
cursor: not-allowed;
|
|
95
|
+
}
|
|
96
|
+
.pivot-field-action-symbol,
|
|
97
|
+
.column-icon {
|
|
98
|
+
display: inline-flex;
|
|
99
|
+
flex: 0 0 16px;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
color: var(--pv-action-muted, var(--rv-ui-text-muted));
|
|
103
|
+
}
|
|
104
|
+
.pivot-field-action-symbol svg,
|
|
105
|
+
.column-icon svg {
|
|
106
|
+
display: block;
|
|
107
|
+
width: 12px;
|
|
108
|
+
height: 12px;
|
|
109
|
+
fill: currentColor;
|
|
110
|
+
}
|
|
111
|
+
.pivot-field-action-copy {
|
|
112
|
+
min-width: 0;
|
|
113
|
+
}
|
|
114
|
+
.pivot-field-action-check {
|
|
115
|
+
display: inline-flex;
|
|
116
|
+
flex: 0 0 12px;
|
|
117
|
+
margin-left: auto;
|
|
118
|
+
svg {
|
|
119
|
+
display: block;
|
|
120
|
+
width: 12px;
|
|
121
|
+
height: 12px;
|
|
122
|
+
fill: currentColor;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
.pivot-field-action-panel button.rv-btn:not(:disabled):hover,
|
|
126
|
+
.pivot-field-action-panel button.rv-btn:focus-visible {
|
|
127
|
+
background: var(--rv-dropdown-container-hover-background);
|
|
128
|
+
}
|
|
129
|
+
.pivot-field-action-panel button.rv-btn:focus-visible {
|
|
130
|
+
outline: 2px solid var(--rv-ui-accent);
|
|
131
|
+
outline-offset: -2px;
|
|
132
|
+
}
|
|
133
|
+
.pivot-action-reason {
|
|
134
|
+
display: block;
|
|
135
|
+
font-size: 11px;
|
|
136
|
+
line-height: 16px;
|
|
137
|
+
font-weight: normal;
|
|
138
|
+
}
|
|
139
|
+
.pivot-field-picker-list {
|
|
140
|
+
max-height: none;
|
|
141
|
+
overflow: visible;
|
|
142
|
+
}
|
|
143
|
+
.pivot-aggregation-menu {
|
|
144
|
+
margin: 0;
|
|
145
|
+
padding: 0;
|
|
146
|
+
}
|
|
147
|
+
.pivot-aggregation-menu [role='menu'] {
|
|
148
|
+
display: flex;
|
|
149
|
+
flex-direction: column;
|
|
150
|
+
gap: 2px;
|
|
151
|
+
}
|
|
152
|
+
.pivot-aggregation-heading {
|
|
153
|
+
padding: 6px 8px;
|
|
154
|
+
color: var(--pv-action-muted, var(--rv-ui-text-muted));
|
|
155
|
+
font-size: 11px;
|
|
156
|
+
font-weight: 500;
|
|
157
|
+
}
|
|
158
|
+
.pivot-aggregation-name {
|
|
159
|
+
flex: 1;
|
|
160
|
+
min-width: 0;
|
|
161
|
+
overflow-wrap: anywhere;
|
|
162
|
+
text-transform: uppercase;
|
|
163
|
+
font-size: 12px;
|
|
164
|
+
font-weight: 500;
|
|
165
|
+
}
|
|
166
|
+
.pivot-aggregation-check {
|
|
167
|
+
display: inline-flex;
|
|
168
|
+
flex: 0 0 12px;
|
|
169
|
+
svg {
|
|
170
|
+
display: block;
|
|
171
|
+
width: 12px;
|
|
172
|
+
height: 12px;
|
|
173
|
+
fill: currentColor;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
.pivot-field-action-panel
|
|
177
|
+
button.pivot-aggregation-option[aria-checked='true'] {
|
|
178
|
+
background: color-mix(in srgb, var(--rv-ui-accent) 12%, transparent);
|
|
179
|
+
color: var(
|
|
180
|
+
--pv-inspector-accent-text,
|
|
181
|
+
var(--pv-action-accent-text, var(--rv-ui-accent))
|
|
182
|
+
);
|
|
183
|
+
.pivot-field-action-symbol {
|
|
184
|
+
color: inherit;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
.rv-search-input {
|
|
188
|
+
width: 100%;
|
|
189
|
+
min-width: 0;
|
|
190
|
+
box-sizing: border-box;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// The shared popup is portalled outside the inspector, so it carries its palette.
|
|
195
|
+
.revo-dropdown-menu.pivot-field-action-popover,
|
|
196
|
+
.revo-dropdown-menu.pivot-editor-popover,
|
|
197
|
+
.rv-pivot-member-filter-dialog {
|
|
198
|
+
--rv-dropdown-menu-background: var(--rv-ui-surface);
|
|
199
|
+
--rv-dropdown-menu-border: var(--rv-ui-border);
|
|
200
|
+
--rv-dropdown-menu-option-color: var(--rv-ui-text);
|
|
201
|
+
--rv-dropdown-container-hover-background: var(--rv-ui-surface-hover);
|
|
202
|
+
--pv-action-muted: var(--rv-ui-text-muted);
|
|
203
|
+
--pv-action-accent-text: color-mix(
|
|
204
|
+
in srgb,
|
|
205
|
+
var(--rv-ui-accent) 90%,
|
|
206
|
+
#{palettes.color('pivot-interface-mix', 'shade')}
|
|
207
|
+
);
|
|
208
|
+
--rv-search-input-bg: var(--rv-ui-surface-sunken);
|
|
209
|
+
--rv-search-input-focus-bg: var(--rv-search-input-bg);
|
|
210
|
+
--rv-search-input-border: var(--rv-ui-border);
|
|
211
|
+
--rv-search-input-color: var(--rv-ui-text);
|
|
212
|
+
--rv-search-input-icon-color: var(--rv-ui-text-muted);
|
|
213
|
+
--rv-search-input-placeholder-color: var(--rv-ui-text-muted);
|
|
214
|
+
--rv-search-input-focus-border: var(--rv-ui-accent);
|
|
215
|
+
// Progressive editors own their palette, even inside a differently themed host.
|
|
216
|
+
// Shared form controls and member lists must resolve this popup's surface.
|
|
217
|
+
--rv-control-bg: var(--rv-dropdown-menu-background);
|
|
218
|
+
--rv-control-border: var(--rv-dropdown-menu-border);
|
|
219
|
+
--rv-form-border: var(--rv-dropdown-menu-border);
|
|
220
|
+
font-family: inherit;
|
|
221
|
+
line-height: 1.5;
|
|
222
|
+
font-size: 13px;
|
|
223
|
+
&[data-theme^='dark'] {
|
|
224
|
+
--rv-dropdown-menu-background: var(--rv-ui-surface);
|
|
225
|
+
--rv-dropdown-menu-border: var(--rv-ui-border);
|
|
226
|
+
--rv-dropdown-menu-option-color: var(--rv-ui-text);
|
|
227
|
+
--rv-dropdown-container-hover-background: var(--rv-ui-surface-hover);
|
|
228
|
+
--pv-action-muted: var(--rv-ui-text-muted);
|
|
229
|
+
--pv-action-accent-text: color-mix(
|
|
230
|
+
in srgb,
|
|
231
|
+
var(--rv-ui-accent) 45%,
|
|
232
|
+
#{palettes.color('pivot-interface-mix', 'tint')}
|
|
233
|
+
);
|
|
234
|
+
--rv-search-input-bg: var(--rv-ui-surface-sunken);
|
|
235
|
+
--rv-search-input-border: var(--rv-ui-border);
|
|
236
|
+
--rv-search-input-color: var(--rv-ui-text);
|
|
237
|
+
--rv-search-input-icon-color: var(--rv-ui-text-muted);
|
|
238
|
+
--rv-search-input-placeholder-color: var(--rv-ui-text-muted);
|
|
239
|
+
--rv-search-input-focus-border: var(--rv-ui-accent);
|
|
240
|
+
}
|
|
241
|
+
}
|