@revolist/ui 4.0.4-rc → 4.0.5-rc
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/OWNERSHIP.md +1 -1
- package/README.md +16 -0
- package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
- package/_chunks/badge.view-D30pMUfi.js +14 -0
- package/_chunks/calculator-CDWOuAcp.js +4 -0
- package/_chunks/{calendar-xpZ0v3xf.js → calendar-DsXIhybL.js} +19 -19
- package/_chunks/chart-frame-CuZABXVI.js +141 -0
- package/_chunks/check-BwI7iCAm.js +4 -0
- package/_chunks/choice-chips-BhP8MZjs.js +126 -0
- package/_chunks/{color-palette-D8vyPfld.js → color-palette-DMJUChWC.js} +20 -22
- package/_chunks/color-picker-B4TQvxxB.js +143 -0
- package/_chunks/{component-C_T2VN5u.js → component-qKctqdzk.js} +281 -265
- package/_chunks/configurator-actions-C19O1rda.js +155 -0
- package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
- package/_chunks/{control-AHKXD5Eu.js → control-BkWukVt9.js} +13 -13
- package/_chunks/{controls-DsNi8V8I.js → controls-BLQnWEd7.js} +147 -155
- package/_chunks/{date-control-DrVFX13g.js → date-control-Cgw5PwlZ.js} +1 -1
- package/_chunks/date-time-B8rK5gpC.js +784 -0
- package/_chunks/{dialog.parts-CKGkC5zP.js → dialog.parts-BSbvnEwX.js} +21 -21
- package/_chunks/{duration-CL68Em0o.js → duration-DwFXonEV.js} +1 -4
- package/_chunks/editor-popup-BaaxL89T.js +81 -0
- package/_chunks/field-configurator-1eQP0tKy.js +223 -0
- package/_chunks/icon-toolbar-xbqa0hu9.js +128 -0
- package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
- package/_chunks/minus-BOAR3A1C.js +4 -0
- package/_chunks/mount-D1i5DLRn.js +266 -0
- package/_chunks/native-control-DO0d1kgx.js +636 -0
- package/_chunks/{number-input-BKwA5FnM.js → number-input-s9ddPwX6.js} +7 -7
- package/_chunks/{picker-h1P5RUgp.js → picker-AY05b41W.js} +2 -2
- package/_chunks/plus-CbGRkIGl.js +4 -0
- package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
- package/_chunks/{popup-CT2uD3go.js → popup-UXGCiv3n.js} +97 -97
- package/_chunks/{rating-choice-DZgmaic0.js → rating-choice-BEs_QFZC.js} +1 -1
- package/_chunks/{reorder-list-CSlqAGHw.js → reorder-list-A49l172e.js} +1 -1
- package/_chunks/request-trail-DCOfa5zw.js +753 -0
- package/_chunks/rich-text-xfMWadGi.js +842 -0
- package/_chunks/rotate-left-BF6G883o.js +4 -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/ai/_chat.scss +28 -3
- package/ai/_style.scss +55 -2
- package/ai/chat.d.ts +3 -1
- package/ai/components.d.ts +13 -2
- package/ai/index.d.ts +1 -0
- package/ai/index.js +3 -3
- package/ai/mount.d.ts +17 -1
- package/ai/results/_style.scss +80 -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 +2 -0
- package/ai/translations.d.ts +1 -1
- package/assignee/index.js +2 -2
- package/avatar/index.js +32 -31
- package/badge.view.d.ts +8 -0
- package/brush-range/component.js +28 -27
- package/buttons/svg-button.d.ts +1 -1
- package/buttons/svg-button.js +16 -16
- package/calendar/_calendar.scss +2 -2
- package/calendar/calendar.js +1 -1
- package/calendar/index.js +2 -2
- 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 +1 -1
- package/color-palette/color-picker.js +2 -2
- package/component-catalog.d.ts +6 -1
- 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 +61 -0
- package/configurator-drop-zone.d.ts +38 -0
- package/configurator-drop-zone.js +64 -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-presentation.js +24 -19
- package/controls.d.ts +1 -2
- package/controls.js +4 -3
- 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/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/index.js +1 -1
- package/date-time/style.scss +50 -7
- package/date-time/time-selection.d.ts +3 -1
- package/dialog/dialog.dom.js +8 -8
- package/dialog/dialog.parts.js +1 -1
- package/distribution-chart/_distribution-chart.scss +1 -57
- package/distribution-chart/area-chart.js +1 -1
- package/distribution-chart/bar-chart.js +1 -1
- package/distribution-chart/line-chart.js +1 -1
- package/dropdown/content.js +1 -1
- package/dropdown/control.js +1 -1
- package/dropdown/index.js +2 -2
- package/dropdown/lookup-field.js +2 -1
- package/dropdown/popup.d.ts +2 -2
- package/dropdown/popup.js +1 -1
- package/duration/index.js +1 -1
- package/editor-actions.js +1 -1
- package/field-configurator.d.ts +19 -0
- package/field-configurator.js +4 -170
- package/field-expansion.d.ts +9 -0
- package/filter/filters/slider/_slider.scss +0 -17
- 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.js +1 -1
- package/form-controls/index.js +6 -6
- package/form-controls/presentation.js +12 -12
- package/formatting/control-tooltip.d.ts +2 -27
- package/formatting/index.js +22 -21
- package/formatting/styles.scss +2 -47
- package/framework.js +215 -208
- package/history-controls.js +27 -1
- package/icon-toolbar.d.ts +58 -0
- package/icon-toolbar.js +1 -0
- package/masked-input/index.js +1 -1
- package/native-control.d.ts +1 -2
- package/native-control.js +1 -1
- package/native-styles.css +1 -1
- package/native.js +45 -42
- package/number-input/index.js +1 -1
- package/package.json +36 -1
- package/pagination.js +1 -1
- package/pdf-viewer/index.js +1 -1
- package/pickers.d.ts +5 -1
- package/preact-mount.js +1 -1
- package/preact.d.ts +7 -0
- package/preact.js +68 -61
- package/rating-choice.js +1 -1
- package/react.d.ts +5 -0
- package/react.js +67 -65
- package/reorder-list.js +1 -1
- package/resource-picker/resource-picker-popup.js +1 -1
- package/resource-picker/resource-picker.js +4 -4
- package/rich-text/engine.d.ts +1 -0
- package/rich-text/format-html.d.ts +2 -0
- package/rich-text/index.d.ts +4 -0
- package/rich-text/index.js +1 -1
- package/rich-text/model.d.ts +2 -0
- package/rich-text/style.scss +165 -70
- package/rich-text/syntax.d.ts +5 -0
- package/rich-text/translations.d.ts +2 -0
- package/select.d.ts +3 -1
- package/select.js +1 -1
- package/status-feedback/exit-snapshot.js +4 -4
- package/status-feedback/popover.js +4 -4
- package/styles/_compositions.scss +3 -3
- package/styles/_field-configurator.scss +146 -0
- package/styles/_fields-grid.scss +35 -0
- package/styles/_primitives.scss +25 -18
- package/styles/configurator-actions.scss +141 -0
- package/styles/legacy-pagination.css +19 -2
- package/styles.css +1 -1
- package/surfaces.d.ts +3 -0
- package/surfaces.js +34 -131
- package/surfaces.view.d.ts +4 -34
- package/svelte.js +1 -1
- package/switch/index.js +15 -14
- package/time-grid.js +37 -36
- package/timeline-track/index.js +2 -2
- package/ui.css +1 -1
- package/vue.d.ts +24 -9
- package/vue.js +118 -116
- package/_chunks/chart-frame-Cmc7xU1i.js +0 -130
- package/_chunks/choice-chips-CHQTUdLs.js +0 -110
- package/_chunks/color-picker-CudqPYZo.js +0 -138
- package/_chunks/control-tooltip-uscKfAnV.js +0 -100
- package/_chunks/date-time-qIhp5vaX.js +0 -768
- package/_chunks/editor-popup-WDdtVDNA.js +0 -81
- package/_chunks/history-controls-B3u3INEK.js +0 -27
- package/_chunks/mount-DQ1cpppK.js +0 -257
- package/_chunks/native-control-C_yok8_-.js +0 -605
- package/_chunks/request-trail-DSlFix6i.js +0 -618
- package/_chunks/rich-text-CH7gIqOS.js +0 -636
|
@@ -0,0 +1,141 @@
|
|
|
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: .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 { display: block; font-size: 13px; font-weight: 600; line-height: 20px; }
|
|
38
|
+
.pivot-field-action-header .rv-search-input { margin: 8px 0 0; }
|
|
39
|
+
.pivot-field-action-body {
|
|
40
|
+
min-height: 0;
|
|
41
|
+
padding: 6px;
|
|
42
|
+
overflow: auto;
|
|
43
|
+
overscroll-behavior: contain;
|
|
44
|
+
scrollbar-width: thin;
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
gap: 2px;
|
|
48
|
+
}
|
|
49
|
+
.pivot-field-action-group { display: flex; flex: 0 0 auto; flex-direction: column; gap: 2px; }
|
|
50
|
+
.pivot-field-action-group + .pivot-field-action-group {
|
|
51
|
+
border-top: 1px solid var(--rv-dropdown-menu-border);
|
|
52
|
+
margin-top: 4px;
|
|
53
|
+
padding-top: 6px;
|
|
54
|
+
}
|
|
55
|
+
.rv-configurator-action-panel.pivot-field-action-panel button.rv-btn {
|
|
56
|
+
font-family: inherit;
|
|
57
|
+
font-size: 13px;
|
|
58
|
+
line-height: 1.5;
|
|
59
|
+
width: 100%;
|
|
60
|
+
min-height: 36px;
|
|
61
|
+
flex: 0 0 auto;
|
|
62
|
+
padding: 8px;
|
|
63
|
+
margin: 0;
|
|
64
|
+
align-items: center;
|
|
65
|
+
text-align: start;
|
|
66
|
+
white-space: normal;
|
|
67
|
+
flex-wrap: nowrap;
|
|
68
|
+
gap: 10px;
|
|
69
|
+
justify-content: flex-start;
|
|
70
|
+
opacity: 1;
|
|
71
|
+
appearance: none;
|
|
72
|
+
border: 0;
|
|
73
|
+
box-shadow: none;
|
|
74
|
+
background-image: none;
|
|
75
|
+
border-radius: .375rem;
|
|
76
|
+
color: inherit;
|
|
77
|
+
background: transparent;
|
|
78
|
+
}
|
|
79
|
+
.pivot-field-action-panel button.rv-btn:disabled { color: var(--pv-action-muted, var(--rv-ui-text-muted)); opacity: .55; cursor: not-allowed; }
|
|
80
|
+
.pivot-field-action-symbol, .column-icon { display: inline-flex; flex: 0 0 16px; align-items: center; justify-content: center; color: var(--pv-action-muted, var(--rv-ui-text-muted)); }
|
|
81
|
+
.pivot-field-action-symbol svg, .column-icon svg { display: block; width: 12px; height: 12px; fill: currentColor; }
|
|
82
|
+
.pivot-field-action-copy { min-width: 0; }
|
|
83
|
+
.pivot-field-action-check { display: inline-flex; flex: 0 0 12px; margin-left: auto; svg { display: block; width: 12px; height: 12px; fill: currentColor; } }
|
|
84
|
+
.pivot-field-action-panel button.rv-btn:not(:disabled):hover, .pivot-field-action-panel button.rv-btn:focus-visible { background: var(--rv-dropdown-container-hover-background); }
|
|
85
|
+
.pivot-field-action-panel button.rv-btn:focus-visible { outline: 2px solid var(--rv-ui-accent); outline-offset: -2px; }
|
|
86
|
+
.pivot-action-reason { display: block; font-size: 11px; line-height: 16px; font-weight: normal; }
|
|
87
|
+
.pivot-field-picker-list { max-height: none; overflow: visible; }
|
|
88
|
+
.pivot-aggregation-menu { margin: 0; padding: 0; }
|
|
89
|
+
.pivot-aggregation-menu [role='menu'] { display: flex; flex-direction: column; gap: 2px; }
|
|
90
|
+
.pivot-aggregation-heading { padding: 6px 8px; color: var(--pv-action-muted, var(--rv-ui-text-muted)); font-size: 11px; font-weight: 500; }
|
|
91
|
+
.pivot-aggregation-name { flex: 1; min-width: 0; overflow-wrap: anywhere; text-transform: uppercase; font-size: 12px; font-weight: 500; }
|
|
92
|
+
.pivot-aggregation-check { display: inline-flex; flex: 0 0 12px; svg { display: block; width: 12px; height: 12px; fill: currentColor; } }
|
|
93
|
+
.pivot-field-action-panel button.pivot-aggregation-option[aria-checked='true'] {
|
|
94
|
+
background: color-mix(in srgb, var(--rv-ui-accent) 12%, transparent);
|
|
95
|
+
color: var(--pv-inspector-accent-text, var(--pv-action-accent-text, var(--rv-ui-accent)));
|
|
96
|
+
.pivot-field-action-symbol { color: inherit; }
|
|
97
|
+
}
|
|
98
|
+
.rv-search-input { width: 100%; min-width: 0; box-sizing: border-box; }
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// The shared popup is portalled outside the inspector, so it carries its palette.
|
|
102
|
+
.revo-dropdown-menu.pivot-field-action-popover,
|
|
103
|
+
.revo-dropdown-menu.pivot-editor-popover,
|
|
104
|
+
.rv-pivot-member-filter-dialog {
|
|
105
|
+
--rv-dropdown-menu-background: var(--rv-ui-surface);
|
|
106
|
+
--rv-dropdown-menu-border: var(--rv-ui-border);
|
|
107
|
+
--rv-dropdown-menu-option-color: var(--rv-ui-text);
|
|
108
|
+
--rv-dropdown-container-hover-background: var(--rv-ui-surface-hover);
|
|
109
|
+
--pv-action-muted: var(--rv-ui-text-muted);
|
|
110
|
+
--pv-action-accent-text: color-mix(in srgb, var(--rv-ui-accent) 90%, #{palettes.color('pivot-interface-mix', 'shade')});
|
|
111
|
+
--rv-search-input-bg: var(--rv-ui-surface-sunken);
|
|
112
|
+
--rv-search-input-focus-bg: var(--rv-search-input-bg);
|
|
113
|
+
--rv-search-input-border: var(--rv-ui-border);
|
|
114
|
+
--rv-search-input-color: var(--rv-ui-text);
|
|
115
|
+
--rv-search-input-icon-color: var(--rv-ui-text-muted);
|
|
116
|
+
--rv-search-input-placeholder-color: var(--rv-ui-text-muted);
|
|
117
|
+
--rv-search-input-focus-border: var(--rv-ui-accent);
|
|
118
|
+
// Progressive editors own their palette, even inside a differently themed host.
|
|
119
|
+
// Shared form controls and member lists must resolve this popup's surface.
|
|
120
|
+
--rv-control-bg: var(--rv-dropdown-menu-background);
|
|
121
|
+
--rv-control-border: var(--rv-dropdown-menu-border);
|
|
122
|
+
--rv-form-border: var(--rv-dropdown-menu-border);
|
|
123
|
+
font-family: inherit;
|
|
124
|
+
line-height: 1.5;
|
|
125
|
+
font-size: 13px;
|
|
126
|
+
&[data-theme^='dark'] {
|
|
127
|
+
--rv-dropdown-menu-background: var(--rv-ui-surface);
|
|
128
|
+
--rv-dropdown-menu-border: var(--rv-ui-border);
|
|
129
|
+
--rv-dropdown-menu-option-color: var(--rv-ui-text);
|
|
130
|
+
--rv-dropdown-container-hover-background: var(--rv-ui-surface-hover);
|
|
131
|
+
--pv-action-muted: var(--rv-ui-text-muted);
|
|
132
|
+
--pv-action-accent-text: color-mix(in srgb, var(--rv-ui-accent) 45%, #{palettes.color('pivot-interface-mix', 'tint')});
|
|
133
|
+
--rv-search-input-bg: var(--rv-ui-surface-sunken);
|
|
134
|
+
--rv-search-input-border: var(--rv-ui-border);
|
|
135
|
+
--rv-search-input-color: var(--rv-ui-text);
|
|
136
|
+
--rv-search-input-icon-color: var(--rv-ui-text-muted);
|
|
137
|
+
--rv-search-input-placeholder-color: var(--rv-ui-text-muted);
|
|
138
|
+
--rv-search-input-focus-border: var(--rv-ui-accent);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
line-height: 1.4;
|
|
15
15
|
font-variant-numeric: tabular-nums;
|
|
16
16
|
}
|
|
17
|
-
.rv-pagination-panel { justify-content: space-between; }
|
|
17
|
+
.rv-pagination-panel { box-sizing: border-box; padding: 8px 12px; justify-content: space-between; }
|
|
18
18
|
.rv-pagination-panel > span {
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
@@ -98,15 +98,32 @@
|
|
|
98
98
|
.rv-pagination-summary--responsive { display: inline-flex; }
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
@container (max-width:
|
|
101
|
+
@container (max-width: 900px) {
|
|
102
102
|
.rv-pagination-pages { gap: 2px; }
|
|
103
103
|
.rv-pagination-button { min-width: 28px !important; width: 28px; height: 28px !important; padding: 4px !important; }
|
|
104
104
|
.rv-pagination-panel .rv-pagination-button:not(.rv-pagination-button--icon):not([aria-current]),
|
|
105
105
|
.rv-pagination-panel .rv-pagination-ellipsis { display: none; }
|
|
106
106
|
}
|
|
107
107
|
.rv-pagination-panel { container-type: inline-size; inline-size: 100%; }
|
|
108
|
+
@container (max-width: 900px) {
|
|
109
|
+
.rv-pagination-panel > span:first-child { flex-wrap: nowrap; }
|
|
110
|
+
.rv-pagination-panel > span:last-child { margin-inline-start: auto; }
|
|
111
|
+
}
|
|
112
|
+
@container (max-width: 580px) {
|
|
113
|
+
.rv-pagination-panel .rv-pagination-selector { display: none; }
|
|
114
|
+
}
|
|
108
115
|
|
|
109
116
|
/* Numeric fractions keep their reading order inside an RTL navigation row. */
|
|
110
117
|
.rv-pagination-summary { direction: ltr; unicode-bidi: isolate; }
|
|
111
118
|
|
|
112
119
|
.rv-pagination-button--icon:dir(rtl) .rv-svg-icon { transform: rotate(180deg); }
|
|
120
|
+
|
|
121
|
+
@container (max-width: 420px) {
|
|
122
|
+
.rv-pagination-panel > span:first-child > .rv-pagination-button--icon:first-child,
|
|
123
|
+
.rv-pagination-panel > span:first-child > .rv-pagination-button--icon:last-of-type { display: none; }
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@container (min-width: 621px) and (max-width: 900px) {
|
|
127
|
+
.rv-pagination-panel .rv-pagination-button:not(.rv-pagination-button--icon):has(+ [aria-current='page']),
|
|
128
|
+
.rv-pagination-panel [aria-current='page'] + .rv-pagination-button:not(.rv-pagination-button--icon) { display: inline-flex; }
|
|
129
|
+
}
|