@revolist/ui 4.0.3-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.
Files changed (192) hide show
  1. package/OWNERSHIP.md +1 -1
  2. package/README.md +16 -0
  3. package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
  4. package/_chunks/badge.view-D30pMUfi.js +14 -0
  5. package/_chunks/calculator-CDWOuAcp.js +4 -0
  6. package/_chunks/{calendar-xpZ0v3xf.js → calendar-DsXIhybL.js} +19 -19
  7. package/_chunks/chart-frame-CuZABXVI.js +141 -0
  8. package/_chunks/check-BwI7iCAm.js +4 -0
  9. package/_chunks/choice-chips-BhP8MZjs.js +126 -0
  10. package/_chunks/{color-palette-D8vyPfld.js → color-palette-DMJUChWC.js} +20 -22
  11. package/_chunks/color-picker-B4TQvxxB.js +143 -0
  12. package/_chunks/{component-C_T2VN5u.js → component-qKctqdzk.js} +281 -265
  13. package/_chunks/configurator-actions-C19O1rda.js +155 -0
  14. package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
  15. package/_chunks/{control-AHKXD5Eu.js → control-BkWukVt9.js} +13 -13
  16. package/_chunks/{controls-DsNi8V8I.js → controls-BLQnWEd7.js} +147 -155
  17. package/_chunks/{date-control-DrVFX13g.js → date-control-Cgw5PwlZ.js} +1 -1
  18. package/_chunks/date-time-B8rK5gpC.js +784 -0
  19. package/_chunks/{dialog.parts-CKGkC5zP.js → dialog.parts-BSbvnEwX.js} +21 -21
  20. package/_chunks/{duration-CL68Em0o.js → duration-DwFXonEV.js} +1 -4
  21. package/_chunks/editor-popup-BaaxL89T.js +81 -0
  22. package/_chunks/field-configurator-1eQP0tKy.js +223 -0
  23. package/_chunks/icon-toolbar-xbqa0hu9.js +128 -0
  24. package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
  25. package/_chunks/minus-BOAR3A1C.js +4 -0
  26. package/_chunks/mount-D1i5DLRn.js +266 -0
  27. package/_chunks/native-control-DO0d1kgx.js +636 -0
  28. package/_chunks/{number-input-BKwA5FnM.js → number-input-s9ddPwX6.js} +7 -7
  29. package/_chunks/{picker-h1P5RUgp.js → picker-AY05b41W.js} +2 -2
  30. package/_chunks/plus-CbGRkIGl.js +4 -0
  31. package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
  32. package/_chunks/{popup-CT2uD3go.js → popup-UXGCiv3n.js} +97 -97
  33. package/_chunks/{rating-choice-DZgmaic0.js → rating-choice-BEs_QFZC.js} +1 -1
  34. package/_chunks/{reorder-list-CSlqAGHw.js → reorder-list-A49l172e.js} +1 -1
  35. package/_chunks/request-trail-DCOfa5zw.js +753 -0
  36. package/_chunks/rich-text-xfMWadGi.js +842 -0
  37. package/_chunks/rotate-left-BF6G883o.js +4 -0
  38. package/_chunks/title-tooltip-Cw6LOZhb.js +11 -0
  39. package/_chunks/tooltip-D4xkio5G.js +54 -0
  40. package/_chunks/tooltip-owner-DjdvqKzz.js +19 -0
  41. package/_chunks/tooltip-session-B6X6x8G_.js +110 -0
  42. package/_chunks/tooltip-text-BXsUEmBH.js +12 -0
  43. package/_chunks/top-layer-popup-CNSDdfJV.js +59 -0
  44. package/ai/_chat.scss +28 -3
  45. package/ai/_style.scss +55 -2
  46. package/ai/chat.d.ts +3 -1
  47. package/ai/components.d.ts +13 -2
  48. package/ai/index.d.ts +1 -0
  49. package/ai/index.js +3 -3
  50. package/ai/mount.d.ts +17 -1
  51. package/ai/results/_style.scss +80 -0
  52. package/ai/results/index.d.ts +11 -0
  53. package/ai/results/metrics.d.ts +5 -0
  54. package/ai/results/table.d.ts +5 -0
  55. package/ai/results/text.d.ts +5 -0
  56. package/ai/results/types.d.ts +29 -0
  57. package/ai/transcript.d.ts +2 -0
  58. package/ai/translations.d.ts +1 -1
  59. package/assignee/index.js +2 -2
  60. package/avatar/index.js +32 -31
  61. package/badge.view.d.ts +8 -0
  62. package/brush-range/component.js +28 -27
  63. package/buttons/svg-button.d.ts +1 -1
  64. package/buttons/svg-button.js +16 -16
  65. package/calendar/_calendar.scss +2 -2
  66. package/calendar/calendar.js +1 -1
  67. package/calendar/index.js +2 -2
  68. package/choice-chips/index.d.ts +3 -1
  69. package/choice-chips/index.js +1 -1
  70. package/color-palette/color-palette.js +1 -1
  71. package/color-palette/color-palette.style.scss +1 -1
  72. package/color-palette/color-picker.js +2 -2
  73. package/component-catalog.d.ts +6 -1
  74. package/configurator-actions.d.ts +67 -0
  75. package/configurator-actions.js +1 -0
  76. package/configurator-aggregation-list.d.ts +14 -0
  77. package/configurator-aggregation-list.js +61 -0
  78. package/configurator-drop-zone.d.ts +38 -0
  79. package/configurator-drop-zone.js +64 -0
  80. package/configurator-field-icon.d.ts +10 -0
  81. package/configurator-field-icon.js +1 -0
  82. package/configurator-focus.d.ts +4 -0
  83. package/configurator-focus.js +39 -0
  84. package/configurator-sections.d.ts +42 -0
  85. package/configurator-sections.js +71 -0
  86. package/control-presentation.js +24 -19
  87. package/controls.d.ts +1 -2
  88. package/controls.js +4 -3
  89. package/core/editor-popup.js +1 -1
  90. package/core/popover-controller.d.ts +35 -0
  91. package/core/popup-ownership.d.ts +2 -0
  92. package/core/title-tooltip.d.ts +2 -0
  93. package/core/tooltip-session.d.ts +29 -0
  94. package/core/tooltip-surface.d.ts +13 -0
  95. package/core/tooltip-text.d.ts +6 -0
  96. package/core/tooltip.d.ts +35 -0
  97. package/core/top-layer-popup.d.ts +4 -0
  98. package/core/top-layer-popup.js +1 -23
  99. package/date-time/index.js +1 -1
  100. package/date-time/style.scss +50 -7
  101. package/date-time/time-selection.d.ts +3 -1
  102. package/dialog/dialog.dom.js +8 -8
  103. package/dialog/dialog.parts.js +1 -1
  104. package/distribution-chart/_distribution-chart.scss +1 -57
  105. package/distribution-chart/area-chart.js +1 -1
  106. package/distribution-chart/bar-chart.js +1 -1
  107. package/distribution-chart/line-chart.js +1 -1
  108. package/dropdown/content.js +1 -1
  109. package/dropdown/control.js +1 -1
  110. package/dropdown/index.js +2 -2
  111. package/dropdown/lookup-field.js +2 -1
  112. package/dropdown/popup.d.ts +2 -2
  113. package/dropdown/popup.js +1 -1
  114. package/duration/index.js +1 -1
  115. package/editor-actions.js +1 -1
  116. package/field-configurator.d.ts +19 -0
  117. package/field-configurator.js +4 -170
  118. package/field-expansion.d.ts +9 -0
  119. package/filter/filters/slider/_slider.scss +0 -17
  120. package/filter/filters/slider/control.js +2 -0
  121. package/filter/filters/slider/runtime.js +49 -22
  122. package/filter/filters/slider/single.js +1 -1
  123. package/filter-badge.js +1 -1
  124. package/filter-controls.js +1 -1
  125. package/form-controls/index.js +6 -6
  126. package/form-controls/presentation.js +12 -12
  127. package/formatting/control-tooltip.d.ts +2 -27
  128. package/formatting/index.js +22 -21
  129. package/formatting/styles.scss +2 -47
  130. package/framework.js +215 -208
  131. package/history-controls.js +27 -1
  132. package/icon-toolbar.d.ts +58 -0
  133. package/icon-toolbar.js +1 -0
  134. package/masked-input/index.js +1 -1
  135. package/native-control.d.ts +1 -2
  136. package/native-control.js +1 -1
  137. package/native-styles.css +1 -1
  138. package/native.js +45 -42
  139. package/number-input/index.js +1 -1
  140. package/package.json +71 -2
  141. package/pagination.js +1 -1
  142. package/pdf-viewer/index.js +1 -1
  143. package/pickers.d.ts +5 -1
  144. package/preact-mount.js +1 -1
  145. package/preact.d.ts +7 -0
  146. package/preact.js +68 -61
  147. package/rating-choice.js +1 -1
  148. package/react.d.ts +5 -0
  149. package/react.js +67 -65
  150. package/reorder-list.js +1 -1
  151. package/resource-picker/resource-picker-popup.js +1 -1
  152. package/resource-picker/resource-picker.js +4 -4
  153. package/rich-text/engine.d.ts +1 -0
  154. package/rich-text/format-html.d.ts +2 -0
  155. package/rich-text/index.d.ts +4 -0
  156. package/rich-text/index.js +1 -1
  157. package/rich-text/model.d.ts +2 -0
  158. package/rich-text/style.scss +165 -70
  159. package/rich-text/syntax.d.ts +5 -0
  160. package/rich-text/translations.d.ts +2 -0
  161. package/select.d.ts +3 -1
  162. package/select.js +1 -1
  163. package/status-feedback/exit-snapshot.js +4 -4
  164. package/status-feedback/popover.js +4 -4
  165. package/styles/_compositions.scss +3 -3
  166. package/styles/_field-configurator.scss +146 -0
  167. package/styles/_fields-grid.scss +35 -0
  168. package/styles/_primitives.scss +25 -18
  169. package/styles/configurator-actions.scss +141 -0
  170. package/styles/legacy-pagination.css +19 -2
  171. package/styles.css +1 -1
  172. package/surfaces.d.ts +3 -0
  173. package/surfaces.js +34 -131
  174. package/surfaces.view.d.ts +4 -34
  175. package/svelte.js +1 -1
  176. package/switch/index.js +15 -14
  177. package/time-grid.js +37 -36
  178. package/timeline-track/index.js +2 -2
  179. package/ui.css +1 -1
  180. package/vue.d.ts +24 -9
  181. package/vue.js +118 -116
  182. package/_chunks/chart-frame-Cmc7xU1i.js +0 -130
  183. package/_chunks/choice-chips-CHQTUdLs.js +0 -110
  184. package/_chunks/color-picker-CudqPYZo.js +0 -138
  185. package/_chunks/control-tooltip-uscKfAnV.js +0 -100
  186. package/_chunks/date-time-qIhp5vaX.js +0 -768
  187. package/_chunks/editor-popup-WDdtVDNA.js +0 -81
  188. package/_chunks/history-controls-B3u3INEK.js +0 -27
  189. package/_chunks/mount-DQ1cpppK.js +0 -257
  190. package/_chunks/native-control-C_yok8_-.js +0 -605
  191. package/_chunks/request-trail-DSlFix6i.js +0 -618
  192. package/_chunks/rich-text-CH7gIqOS.js +0 -636
@@ -1,9 +1,9 @@
1
1
  import { i as e, o as t, u as n } from "../_chunks/preact.module-BBM36DnO.js";
2
2
  import { i as r, s as i } from "../_chunks/hooks.module-CG3gN83z.js";
3
3
  import { t as a } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
4
- import { t as o } from "../_chunks/field-context-D57PnBbH.js";
5
- import { nativeControlTag as s } from "../control-presentation.js";
6
- import { createControlId as c } from "../core/control-id.js";
4
+ import { createControlId as o } from "../core/control-id.js";
5
+ import { t as s } from "../_chunks/field-context-D57PnBbH.js";
6
+ import { nativeControlTag as c } from "../control-presentation.js";
7
7
  //#region src/form-controls/presentation.tsx
8
8
  function l({ children: e, removeLabel: t, onRemove: n, className: r = "", removeClassName: i = "", role: o }) {
9
9
  return /* @__PURE__ */ a("span", {
@@ -34,9 +34,9 @@ function u({ label: e, children: t, hint: n, hintId: r, labelId: i = r ? `${r}-l
34
34
  }) : null
35
35
  ];
36
36
  }
37
- function d({ label: e, children: t, hint: n, hintId: s, labelId: l, controlId: d, className: f = "", class: p, ...m }) {
38
- let [h] = r(() => c("rv-field")), g = i(o), _ = s ?? `rv-field-hint-${h}`, v = l ?? `${_}-label`;
39
- return /* @__PURE__ */ a(o.Provider, {
37
+ function d({ label: e, children: t, hint: n, hintId: c, labelId: l, controlId: d, className: f = "", class: p, ...m }) {
38
+ let [h] = r(() => o("rv-field")), g = i(s), _ = c ?? `rv-field-hint-${h}`, v = l ?? `${_}-label`;
39
+ return /* @__PURE__ */ a(s.Provider, {
40
40
  value: {
41
41
  disabled: g.disabled,
42
42
  labelId: v,
@@ -64,21 +64,21 @@ function f(r, i, a) {
64
64
  if (Array.isArray(r)) return r.map((e) => f(e, i, a));
65
65
  if (!n(r)) return r;
66
66
  if (r.type === e) return t(r, { children: f(r.props.children, i, a) });
67
- let o = s(r.type);
67
+ let o = c(r.type);
68
68
  if (!o) return r;
69
- let c = r;
69
+ let s = r;
70
70
  if ([
71
71
  "input",
72
72
  "select",
73
73
  "textarea"
74
74
  ].includes(o)) {
75
- let e = new Set(`${c.props["aria-describedby"] ?? ""} ${i}`.trim().split(/\s+/));
76
- return t(c, {
75
+ let e = new Set(`${s.props["aria-describedby"] ?? ""} ${i}`.trim().split(/\s+/));
76
+ return t(s, {
77
77
  "aria-describedby": [...e].join(" "),
78
- "aria-labelledby": c.props["aria-labelledby"] ?? (c.props["aria-label"] ? void 0 : a)
78
+ "aria-labelledby": s.props["aria-labelledby"] ?? (s.props["aria-label"] ? void 0 : a)
79
79
  });
80
80
  }
81
- return t(c, { children: f(c.props.children, i, a) });
81
+ return t(s, { children: f(s.props.children, i, a) });
82
82
  }
83
83
  function p({ children: e, icon: t, iconClassName: n = "", iconPosition: r = "before", className: i = "", class: o, ...s }) {
84
84
  let c = t == null ? null : /* @__PURE__ */ a("span", {
@@ -1,27 +1,2 @@
1
- import { h, TargetedEvent } from '../_vendor/preact/src/index';
2
- export declare function useControlTooltip(text: string, floating?: boolean, presentation?: {
3
- className?: string;
4
- placement?: 'above';
5
- }): {
6
- readonly id: string;
7
- readonly hide: () => void;
8
- readonly triggerProps: {
9
- readonly 'aria-describedby': string;
10
- readonly onFocus: (event: TargetedEvent<HTMLElement>) => void;
11
- readonly onBlur: () => void;
12
- readonly onMouseEnter: (event: TargetedEvent<HTMLElement>) => void;
13
- readonly onMouseLeave: () => void;
14
- readonly onPointerDown: (event: TargetedEvent<HTMLElement>) => void;
15
- readonly onPointerCancel: () => void;
16
- readonly onKeyDown: (event: KeyboardEvent) => void;
17
- };
18
- readonly tooltip: h.JSX.Element;
19
- };
20
- export declare function ControlTooltip({ id, text, visible, anchor, className, placement, }: {
21
- readonly id: string;
22
- readonly text: string;
23
- readonly visible: boolean;
24
- readonly anchor?: HTMLElement | null;
25
- readonly className?: string;
26
- readonly placement?: 'above';
27
- }): h.JSX.Element;
1
+ /** Compatibility exports; all tooltip behavior is owned by the UI core. */
2
+ export { useTooltip, useControlTooltip, ControlTooltip } from '../core/tooltip';
@@ -2,12 +2,13 @@ import { i as e } from "../_chunks/preact.module-BBM36DnO.js";
2
2
  import { i as t } from "../_chunks/hooks.module-CG3gN83z.js";
3
3
  import { t as n } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
4
4
  import { SvgIcon as r } from "../icons/icon.js";
5
- import { i, l as a, n as o, t as s } from "../_chunks/native-control-C_yok8_-.js";
5
+ import { i, l as a, n as o, t as s } from "../_chunks/native-control-DO0d1kgx.js";
6
6
  import { t as c } from "../_chunks/chevron-down-GbplLa6s.js";
7
- import { n as l, t as u } from "../_chunks/control-tooltip-uscKfAnV.js";
7
+ import { n as l, r as u, t as d } from "../_chunks/tooltip-D4xkio5G.js";
8
+ import { t as f } from "../_chunks/tooltip-text-BXsUEmBH.js";
8
9
  //#region src/formatting/inspector-section.tsx
9
- function d({ title: e, icon: a, expandLabel: o, collapseLabel: s, open: u = !1, children: d }) {
10
- let [f, p] = t(u), m = f ? s : o, h = l(m);
10
+ function p({ title: e, icon: a, expandLabel: o, collapseLabel: s, open: u = !1, children: d }) {
11
+ let [f, p] = t(u), m = f ? s : o, h = l(m, !0);
11
12
  return /* @__PURE__ */ n("details", {
12
13
  class: "rv-format-inspector-section",
13
14
  open: f,
@@ -39,16 +40,16 @@ function d({ title: e, icon: a, expandLabel: o, collapseLabel: s, open: u = !1,
39
40
  }
40
41
  //#endregion
41
42
  //#region src/formatting/icon-controls.tsx
42
- var f = ({ icon: e }) => /* @__PURE__ */ n(r, {
43
+ var m = ({ icon: e }) => /* @__PURE__ */ n(r, {
43
44
  svg: e,
44
45
  className: "rv-format-icon"
45
46
  });
46
- function p({ value: e, options: t, ariaLabel: r, onChange: i }) {
47
+ function h({ value: e, options: t, ariaLabel: r, onChange: i }) {
47
48
  return /* @__PURE__ */ n("div", {
48
49
  class: "rv-format-segmented",
49
50
  role: "group",
50
51
  "aria-label": r,
51
- children: t.map((t) => /* @__PURE__ */ n(h, {
52
+ children: t.map((t) => /* @__PURE__ */ n(_, {
52
53
  selected: t.value === e,
53
54
  label: t.label,
54
55
  icon: t.icon,
@@ -56,16 +57,16 @@ function p({ value: e, options: t, ariaLabel: r, onChange: i }) {
56
57
  }, t.value))
57
58
  });
58
59
  }
59
- function m({ value: e, label: t, icon: r, onChange: i }) {
60
- return /* @__PURE__ */ n(h, {
60
+ function g({ value: e, label: t, icon: r, onChange: i }) {
61
+ return /* @__PURE__ */ n(_, {
61
62
  selected: e,
62
63
  label: t,
63
64
  icon: r,
64
65
  onClick: () => i(!e)
65
66
  });
66
67
  }
67
- function h({ selected: e, label: t, icon: r, onClick: i }) {
68
- let a = l(t);
68
+ function _({ selected: e, label: t, icon: r, onClick: i }) {
69
+ let a = l(t, !0);
69
70
  return /* @__PURE__ */ n(s, {
70
71
  type: "button",
71
72
  class: `rv-format-segmented__button${e ? " rv-format-segmented__button--selected" : ""}`,
@@ -73,12 +74,12 @@ function h({ selected: e, label: t, icon: r, onClick: i }) {
73
74
  "aria-pressed": e,
74
75
  onClick: i,
75
76
  ...a.triggerProps,
76
- children: [/* @__PURE__ */ n(f, { icon: r }), a.tooltip]
77
+ children: [/* @__PURE__ */ n(m, { icon: r }), a.tooltip]
77
78
  });
78
79
  }
79
80
  //#endregion
80
81
  //#region src/formatting/typography-controls.tsx
81
- var g = [
82
+ var v = [
82
83
  "Inter",
83
84
  "Arial",
84
85
  "Helvetica",
@@ -86,7 +87,7 @@ var g = [
86
87
  "Times New Roman",
87
88
  "Courier New"
88
89
  ];
89
- function _({ value: t, fonts: r = g, labels: i, icons: s, onChange: c }) {
90
+ function y({ value: t, fonts: r = v, labels: i, icons: s, onChange: c }) {
90
91
  return /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ n("div", {
91
92
  class: "rv-form-grid",
92
93
  children: [/* @__PURE__ */ n("label", {
@@ -129,25 +130,25 @@ function _({ value: t, fonts: r = g, labels: i, icons: s, onChange: c }) {
129
130
  role: "group",
130
131
  "aria-label": i.typographySection,
131
132
  children: [
132
- /* @__PURE__ */ n(m, {
133
+ /* @__PURE__ */ n(g, {
133
134
  value: t.bold ?? !1,
134
135
  label: i.bold,
135
136
  icon: s.bold,
136
137
  onChange: (e) => c({ bold: e })
137
138
  }),
138
- /* @__PURE__ */ n(m, {
139
+ /* @__PURE__ */ n(g, {
139
140
  value: t.italic ?? !1,
140
141
  label: i.italic,
141
142
  icon: s.italic,
142
143
  onChange: (e) => c({ italic: e })
143
144
  }),
144
- /* @__PURE__ */ n(m, {
145
+ /* @__PURE__ */ n(g, {
145
146
  value: t.underline ?? !1,
146
147
  label: i.underline,
147
148
  icon: s.underline,
148
149
  onChange: (e) => c({ underline: e })
149
150
  }),
150
- /* @__PURE__ */ n(m, {
151
+ /* @__PURE__ */ n(g, {
151
152
  value: t.strike ?? !1,
152
153
  label: i.strike,
153
154
  icon: s.strike,
@@ -158,7 +159,7 @@ function _({ value: t, fonts: r = g, labels: i, icons: s, onChange: c }) {
158
159
  }
159
160
  //#endregion
160
161
  //#region src/formatting/comparison-preview.tsx
161
- function v({ originalValue: e, formatted: t, formattedStyle: r, visual: i = !1, formattedClassName: a = "", labels: o }) {
162
+ function b({ originalValue: e, formatted: t, formattedStyle: r, visual: i = !1, formattedClassName: a = "", labels: o }) {
162
163
  return /* @__PURE__ */ n("section", {
163
164
  class: `rv-format-preview${i ? " rv-format-preview--visual" : ""}`,
164
165
  children: [
@@ -198,7 +199,7 @@ function v({ originalValue: e, formatted: t, formattedStyle: r, visual: i = !1,
198
199
  role: "rowheader",
199
200
  children: "1"
200
201
  }),
201
- /* @__PURE__ */ n("span", {
202
+ /* @__PURE__ */ n(f, {
202
203
  class: "rv-format-preview__gridcell",
203
204
  role: "cell",
204
205
  title: e,
@@ -228,4 +229,4 @@ function v({ originalValue: e, formatted: t, formattedStyle: r, visual: i = !1,
228
229
  });
229
230
  }
230
231
  //#endregion
231
- export { v as ComparisonPreview, u as ControlTooltip, p as IconChoiceGroup, m as IconToggleButton, d as InspectorSection, _ as TypographyControls, l as useControlTooltip };
232
+ export { b as ComparisonPreview, d as ControlTooltip, h as IconChoiceGroup, g as IconToggleButton, p as InspectorSection, y as TypographyControls, l as useControlTooltip, u as useTooltip };
@@ -216,59 +216,14 @@
216
216
  box-shadow: none;
217
217
  }
218
218
 
219
- .rv-format-control-tooltip {
220
- position: absolute;
221
- z-index: 4;
222
- top: calc(100% + 7px);
223
- left: 50%;
224
- width: max-content;
225
- max-width: 220px;
226
- padding: 5px 8px;
227
- border: 1px solid var(--rv-format-divider, var(--rv-ui-border));
228
- border-radius: 6px;
229
- background: var(--rv-dialog-color, var(--rv-ui-text));
230
- color: var(--rv-dialog-bg, var(--rv-ui-surface));
231
- box-shadow: 0 6px 16px var(--rv-ui-shadow);
232
- font-size: 12px;
233
- font-weight: 400;
234
- line-height: 1.3;
235
- opacity: 0;
236
- pointer-events: none;
237
- transform: translate(-50%, -2px);
238
- transition:
239
- opacity var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out),
240
- transform var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out);
241
- }
242
-
243
- .rv-format-inspector-section__summary > .rv-format-control-tooltip {
244
- right: 0;
245
- left: auto;
246
- transform: translateY(-2px);
247
- }
248
-
249
- .rv-format-control-tooltip[data-visible='true'] {
250
- opacity: 1;
251
- transform: translate(-50%, 0);
252
- }
253
-
254
- .rv-format-inspector-section__summary
255
- > .rv-format-control-tooltip[data-visible='true'] {
256
- transform: translateY(0);
257
- }
258
-
259
219
  @media (forced-colors: active) {
260
220
  .rv-format-segmented__button--selected {
261
221
  outline: 2px solid Highlight;
262
222
  }
263
- .rv-format-control-tooltip {
264
- border: 1px solid CanvasText;
265
- background: Canvas;
266
- color: CanvasText;
267
- }
223
+
268
224
  }
269
225
  @media (prefers-reduced-motion: reduce) {
270
- .rv-format-inspector-section__chevron,
271
- .rv-format-control-tooltip {
226
+ .rv-format-inspector-section__chevron {
272
227
  transition: none;
273
228
  }
274
229
  }