@revolist/ui 4.0.5-rc → 4.0.6-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 (153) hide show
  1. package/MIGRATION.md +36 -0
  2. package/OWNERSHIP.md +10 -10
  3. package/README.md +6 -4
  4. package/_chunks/{calendar-DsXIhybL.js → calendar-QWDyYzdo.js} +1 -1
  5. package/_chunks/{chart-frame-CuZABXVI.js → chart-frame-hcOlnQ1K.js} +13 -9
  6. package/_chunks/{choice-chips-BhP8MZjs.js → choice-chips-A6WR-WJe.js} +1 -1
  7. package/_chunks/{color-picker-B4TQvxxB.js → color-picker-BK4W1nd6.js} +1 -1
  8. package/_chunks/{component-qKctqdzk.js → component-CMkF17YZ.js} +5 -5
  9. package/_chunks/{component-metadata-BMOOmqx5.js → component-metadata-BKd7U8OW.js} +0 -8
  10. package/_chunks/{configurator-actions-C19O1rda.js → configurator-actions-By8WSL2m.js} +3 -3
  11. package/_chunks/{control-BkWukVt9.js → control-mlH7l0Uq.js} +30 -5
  12. package/_chunks/{controls-BLQnWEd7.js → controls-FUU-MUKC.js} +26 -33
  13. package/_chunks/{date-control-Cgw5PwlZ.js → date-control-Dup_P3w5.js} +1 -1
  14. package/_chunks/{date-time-B8rK5gpC.js → date-time-9z6pAG5T.js} +304 -281
  15. package/_chunks/dialog.parts-Bi7YbXqS.js +131 -0
  16. package/_chunks/{duration-DwFXonEV.js → duration-D7oRjsmP.js} +5 -2
  17. package/_chunks/{editor-popup-BaaxL89T.js → editor-popup-ByU7qiub.js} +8 -7
  18. package/_chunks/{field-configurator-1eQP0tKy.js → field-configurator-BCINdXpU.js} +1 -1
  19. package/_chunks/{framework-mount--RTLIqE-.js → framework-mount-Bk4O_T7T.js} +1 -1
  20. package/_chunks/{icon-toolbar-xbqa0hu9.js → icon-toolbar-DSjOdwM7.js} +39 -33
  21. package/_chunks/mount-Cw2zk58T.js +266 -0
  22. package/_chunks/{native.view-ByyZ1CT5.js → native-Blr3byjO.js} +1 -1
  23. package/_chunks/{native-control-DO0d1kgx.js → native-control-pFMuHf3G.js} +106 -98
  24. package/_chunks/{number-input-s9ddPwX6.js → number-input-DqXV6vgP.js} +2 -2
  25. package/_chunks/{picker-AY05b41W.js → picker-gEGTu1Ki.js} +2 -2
  26. package/_chunks/{popup-UXGCiv3n.js → popup-C35Isk7p.js} +19 -8
  27. package/_chunks/{rating-choice-BEs_QFZC.js → rating-choice-DbxdUJr-.js} +1 -1
  28. package/_chunks/{reorder-list-A49l172e.js → reorder-list-B0_13Sja.js} +1 -1
  29. package/_chunks/{request-trail-DCOfa5zw.js → request-trail-CCSK6TJA.js} +2 -2
  30. package/_chunks/{rich-text-xfMWadGi.js → rich-text-5rnc8lpI.js} +3 -3
  31. package/_variables.scss +33 -32
  32. package/ai/index.js +2 -2
  33. package/ai/results/_style.scss +3 -0
  34. package/assignee/assignee.scss +5 -1
  35. package/assignee/index.js +2 -2
  36. package/avatar/index.d.ts +25 -2
  37. package/avatar/index.js +1 -1
  38. package/brush-range/component.d.ts +1 -3
  39. package/brush-range/component.js +8 -9
  40. package/buttons/remove-button.d.ts +1 -1
  41. package/buttons/remove-button.style.scss +1 -1
  42. package/buttons/svg-button.js +1 -1
  43. package/calendar/calendar.js +1 -1
  44. package/calendar/index.js +2 -2
  45. package/checkbox/checkbox.scss +1 -22
  46. package/choice-chips/index.js +1 -1
  47. package/color-palette/color-picker.js +1 -1
  48. package/color-palette/common-palettes.d.ts +1 -1
  49. package/color-palette/common-palettes.js +1 -1
  50. package/color-palette/native.d.ts +15 -2
  51. package/component-catalog.d.ts +3 -6
  52. package/configurator-actions.js +1 -1
  53. package/configurator-aggregation-list.js +1 -1
  54. package/configurator-drop-zone.d.ts +1 -1
  55. package/configurator-drop-zone.js +1 -1
  56. package/control-presentation.d.ts +8 -2
  57. package/control-presentation.js +1 -1
  58. package/controls.js +1 -1
  59. package/core/editor-popup-position.d.ts +6 -2
  60. package/core/editor-popup.d.ts +4 -0
  61. package/core/editor-popup.js +1 -1
  62. package/date-time/attach.d.ts +1 -1
  63. package/date-time/field.d.ts +3 -2
  64. package/date-time/index.js +1 -1
  65. package/date-time/style.scss +16 -2
  66. package/date-time/types.d.ts +5 -1
  67. package/dialog/dialog-action-footer.d.ts +17 -2
  68. package/dialog/dialog.dom.d.ts +15 -2
  69. package/dialog/dialog.dom.js +3 -3
  70. package/dialog/dialog.parts.d.ts +1 -1
  71. package/dialog/dialog.parts.js +1 -1
  72. package/distribution-chart/_distribution-chart.scss +14 -0
  73. package/distribution-chart/area-chart.js +1 -1
  74. package/distribution-chart/bar-chart.js +1 -1
  75. package/distribution-chart/index.d.ts +1 -1
  76. package/distribution-chart/line-chart.js +1 -1
  77. package/dropdown/content.js +1 -1
  78. package/dropdown/control.js +1 -1
  79. package/dropdown/editor-dropdown.style.scss +5 -0
  80. package/dropdown/index.js +2 -2
  81. package/dropdown/lookup-field.d.ts +5 -0
  82. package/dropdown/lookup-field.js +1 -1
  83. package/dropdown/popup.js +1 -1
  84. package/duration/index.js +1 -1
  85. package/editor-actions.js +1 -1
  86. package/field-configurator.d.ts +8 -0
  87. package/field-configurator.js +1 -1
  88. package/filter/filters/slider/_slider.scss +8 -8
  89. package/filter/filters/slider/single.js +1 -1
  90. package/filter-badge.js +1 -1
  91. package/filter-controls.d.ts +0 -1
  92. package/filter-controls.js +5 -6
  93. package/form-controls/index.d.ts +10 -2
  94. package/form-controls/index.js +3 -3
  95. package/formatting/index.d.ts +1 -1
  96. package/formatting/index.js +1 -1
  97. package/framework.js +202 -205
  98. package/icon-toolbar.d.ts +5 -1
  99. package/icon-toolbar.js +1 -1
  100. package/masked-input/index.js +1 -1
  101. package/native-control.js +1 -1
  102. package/native-controls.d.ts +54 -2
  103. package/native-styles.css +1 -1
  104. package/native.js +29 -29
  105. package/number-input/index.js +1 -1
  106. package/package.json +1 -1
  107. package/pagination.js +11 -11
  108. package/pdf-viewer/index.js +1 -1
  109. package/preact.d.ts +1 -6
  110. package/preact.js +60 -60
  111. package/rating-choice.js +1 -1
  112. package/react-control.d.ts +2 -0
  113. package/react-control.js +2 -2
  114. package/react.d.ts +0 -6
  115. package/react.js +54 -54
  116. package/reorder-list.js +1 -1
  117. package/resource-picker/resource-picker-popup.js +1 -1
  118. package/rich-text/index.js +1 -1
  119. package/search-input/index.js +1 -1
  120. package/search-input/native.d.ts +21 -2
  121. package/select.js +1 -1
  122. package/styles/_alert.scss +18 -4
  123. package/styles/_editor-slider.scss +0 -2
  124. package/styles/_field-configurator.scss +2 -1
  125. package/styles/_fields-grid.scss +2 -0
  126. package/styles/_palette.scss +0 -24
  127. package/styles/_primitives.scss +3 -1
  128. package/styles.css +1 -1
  129. package/styles.scss +2 -2
  130. package/surfaces.d.ts +34 -3
  131. package/surfaces.js +2 -2
  132. package/svelte.js +3 -3
  133. package/switch/index.js +1 -1
  134. package/time-grid.d.ts +0 -1
  135. package/time-grid.js +4 -4
  136. package/timeline-track/index.js +1 -1
  137. package/ui.css +1 -1
  138. package/vue.d.ts +2 -21
  139. package/vue.js +83 -89
  140. package/_chunks/dialog.parts-BSbvnEwX.js +0 -134
  141. package/_chunks/mount-D1i5DLRn.js +0 -266
  142. package/avatar/index.view.d.ts +0 -25
  143. package/color-palette/native.view.d.ts +0 -15
  144. package/control-presentation.view.d.ts +0 -8
  145. package/dialog/dialog-action-footer.view.d.ts +0 -20
  146. package/dialog/dialog.dom.view.d.ts +0 -15
  147. package/form-controls/index.view.d.ts +0 -10
  148. package/formatting/control-tooltip.d.ts +0 -2
  149. package/native-controls.view.d.ts +0 -54
  150. package/search-input/native.view.d.ts +0 -21
  151. package/surfaces.view.d.ts +0 -33
  152. /package/styles/{legacy-pagination.css → pagination.css} +0 -0
  153. /package/styles/{legacy-rating.css → rating.css} +0 -0
@@ -5,7 +5,7 @@ import { renderPreactInto as d } from "../preact-mount.js";
5
5
  import { i as f } from "./top-layer-popup-CNSDdfJV.js";
6
6
  import { t as p } from "./title-tooltip-Cw6LOZhb.js";
7
7
  import { t as m } from "./field-context-D57PnBbH.js";
8
- import { r as h, t as g } from "./popup-UXGCiv3n.js";
8
+ import { r as h, t as g } from "./popup-C35Isk7p.js";
9
9
  import { useDropdownService as _ } from "../dropdown/dropdown.service.js";
10
10
  import { RemoveButton as v } from "../buttons/remove-button.js";
11
11
  import { t as y } from "./chevron-down-GbplLa6s.js";
@@ -178,30 +178,38 @@ function w(e) {
178
178
  }
179
179
  //#endregion
180
180
  //#region src/dropdown/content.tsx
181
- function T({ options: e, selectedValues: t, remote: n, value: i, onChange: a, config: o, multiSelect: s, search: c, searchPlaceholder: d, listboxId: f, searchId: p, renderOption: m, renderNoResults: h, onClose: g, onTabNavigation: v, theme: y }) {
182
- let b = l(null), x = l(null), S = l(null), { searchValue: C, focusedIndex: w, selectedOptions: T, filteredOptions: D, handleSelect: ee, handleKeyDown: O, handleSearchChange: k, setFocusedIndex: A } = _(e, i, a, o, g, n && {
181
+ function T({ options: e, selectedValues: t, remote: n, value: i, onChange: a, config: o, multiSelect: c, search: d, searchPlaceholder: f, listboxId: p, searchId: m, renderOption: h, renderNoResults: g, onClose: v, onTabNavigation: y, theme: b }) {
182
+ let x = l(null), S = l(null), C = l(null), w = l(!1), { searchValue: T, focusedIndex: D, selectedOptions: ee, filteredOptions: O, handleSelect: te, handleKeyDown: k, handleSearchChange: A, setFocusedIndex: j } = _(e, i, a, o, v, n && {
183
183
  selected: t ?? [],
184
184
  search: n.search
185
- }), j = w >= 0 && w < D.length && !D[w].disabled ? `${f}-option-${w}` : void 0;
186
- return r(() => {
185
+ }), M = D >= 0 && D < O.length && !O[D].disabled ? `${p}-option-${D}` : void 0;
186
+ return s(() => {
187
+ let e = C.current;
188
+ if (!w.current || !e || !M) return;
189
+ w.current = !1;
190
+ let t = e.ownerDocument.getElementById(M);
191
+ if (!t) return;
192
+ let n = e.getBoundingClientRect(), { top: r, bottom: i } = t.getBoundingClientRect();
193
+ r < n.top ? e.scrollTop += r - n.top : i > n.bottom && (e.scrollTop += i - n.bottom);
194
+ }), r(() => {
187
195
  if (!o.autoFocus) return;
188
196
  let e = () => {
189
- c && b.current ? b.current.focus({ preventScroll: !0 }) : x.current?.focus({ preventScroll: !0 });
190
- }, t = x.current?.ownerDocument.defaultView ?? (typeof window < "u" ? window : void 0);
197
+ d && x.current ? x.current.focus({ preventScroll: !0 }) : S.current?.focus({ preventScroll: !0 });
198
+ }, t = S.current?.ownerDocument.defaultView ?? (typeof window < "u" ? window : void 0);
191
199
  if (!t) return;
192
200
  e();
193
201
  let n = t.setTimeout(e, 0), r = t.requestAnimationFrame(e), i = t.setTimeout(e, 16);
194
202
  return () => {
195
203
  t.clearTimeout(n), t.cancelAnimationFrame(r), t.clearTimeout(i);
196
204
  };
197
- }, [o.autoFocus, c]), /* @__PURE__ */ u("div", {
198
- ref: x,
205
+ }, [o.autoFocus, d]), /* @__PURE__ */ u("div", {
206
+ ref: S,
199
207
  className: "dropdown-listbox",
200
- "data-theme": y ?? "default",
208
+ "data-theme": b ?? "default",
201
209
  role: "listbox",
202
- id: f,
203
- "aria-multiselectable": s,
204
- "aria-activedescendant": j,
210
+ id: p,
211
+ "aria-multiselectable": c,
212
+ "aria-activedescendant": M,
205
213
  tabIndex: -1,
206
214
  "aria-busy": n?.loading,
207
215
  onScrollCapture: (e) => {
@@ -210,27 +218,27 @@ function T({ options: e, selectedValues: t, remote: n, value: i, onChange: a, co
210
218
  },
211
219
  onKeyUp: (e) => e.stopPropagation(),
212
220
  onKeyDown: (e) => {
213
- if (e.stopPropagation(), e.key === "Escape") e.preventDefault(), e.stopPropagation(), g(!1);
221
+ if (e.stopPropagation(), e.key === "Escape") e.preventDefault(), e.stopPropagation(), v(!1);
214
222
  else if (e.key === "Tab") {
215
- if (o.nativeTabNavigation && v) {
216
- v();
223
+ if (o.nativeTabNavigation && y) {
224
+ y();
217
225
  return;
218
226
  }
219
- e.preventDefault(), e.stopPropagation(), o.closeOnTab && g(!0);
220
- } else (e.key !== " " || e.target !== b.current) && O(e);
227
+ e.preventDefault(), e.stopPropagation(), o.closeOnTab && v(!0);
228
+ } else (e.key !== " " || e.target !== x.current) && (w.current = e.key === "ArrowDown" || e.key === "ArrowUp", k(e));
221
229
  },
222
230
  children: [
223
- c && /* @__PURE__ */ u("div", {
231
+ d && /* @__PURE__ */ u("div", {
224
232
  className: "dropdown-search",
225
233
  children: /* @__PURE__ */ u("input", {
226
- ref: b,
234
+ ref: x,
227
235
  type: "text",
228
- id: p,
229
- className: `dropdown-search-input ${y ? `theme-${y}` : ""}`,
230
- placeholder: d,
231
- value: C,
232
- onChange: k,
233
- onInput: k,
236
+ id: m,
237
+ className: `dropdown-search-input ${b ? `theme-${b}` : ""}`,
238
+ placeholder: f,
239
+ value: T,
240
+ onChange: A,
241
+ onInput: A,
234
242
  "aria-label": o.searchAriaLabel ?? "Search options"
235
243
  })
236
244
  }),
@@ -243,7 +251,7 @@ function T({ options: e, selectedValues: t, remote: n, value: i, onChange: a, co
243
251
  children: [
244
252
  n.text.error,
245
253
  " ",
246
- /* @__PURE__ */ u(V, {
254
+ /* @__PURE__ */ u(B, {
247
255
  onClick: n.retry,
248
256
  children: n.text.retry
249
257
  })
@@ -251,20 +259,20 @@ function T({ options: e, selectedValues: t, remote: n, value: i, onChange: a, co
251
259
  }),
252
260
  /* @__PURE__ */ u(E, {
253
261
  options: e,
254
- filteredOptions: D,
255
- multiSelect: s,
256
- focusedIndex: w,
257
- selectedOptions: T,
258
- onKeyDown: O,
259
- onSelect: ee,
260
- onFocusChange: A,
261
- renderOption: m,
262
- renderNoResults: n ? () => n.loading || n.error ? null : n.text.empty : h,
263
- dropdownListRef: S,
264
- theme: y,
265
- optionIdPrefix: f
262
+ filteredOptions: O,
263
+ multiSelect: c,
264
+ focusedIndex: D,
265
+ selectedOptions: ee,
266
+ onKeyDown: k,
267
+ onSelect: te,
268
+ onFocusChange: j,
269
+ renderOption: h,
270
+ renderNoResults: n ? () => n.loading || n.error ? null : n.text.empty : g,
271
+ dropdownListRef: C,
272
+ theme: b,
273
+ optionIdPrefix: p
266
274
  }),
267
- n?.hasMore && /* @__PURE__ */ u(V, {
275
+ n?.hasMore && /* @__PURE__ */ u(B, {
268
276
  disabled: n.loading,
269
277
  onClick: n.loadMore,
270
278
  children: n.text.loadMore
@@ -343,16 +351,16 @@ var D = ({ options: t, className: n, renderValue: r }) => /* @__PURE__ */ u("spa
343
351
  className: `dropdown-arrow ${e}`,
344
352
  "aria-hidden": "true",
345
353
  dangerouslySetInnerHTML: { __html: y }
346
- }), k = ({ placeholder: e, className: t }) => [/* @__PURE__ */ u("span", {
354
+ }), te = ({ placeholder: e, className: t }) => [/* @__PURE__ */ u("span", {
347
355
  className: `placeholder px-2 ${t}`,
348
356
  children: e
349
357
  }), /* @__PURE__ */ u(O, { className: "mr-2" })];
350
- function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, remoteText: c, value: d, onChange: m, placeholder: h = "Select an option", disabled: _ = !1, name: v, id: y, className: b = "", style: x, config: S = {}, renderContent: C, renderOption: E, renderValue: A, renderPlaceholder: j, renderSelectedValue: M, renderNoResults: N, onClose: P, beforeOutsideClose: F, environment: I }) {
351
- let { search: L = !1, searchPlaceholder: R = "Search...", closeOnClickOutside: z = !0, autoOpen: B = !1, multiSelect: V = !1, portalTarget: H, ariaLabel: te, ariaLabelledBy: ne, ariaDescribedBy: re, popupClassName: ie, maxHeight: ae } = S, { title: oe, ...se } = n ?? {}, U = p(typeof oe == "string" ? oe : void 0), W = H ?? (S.topLayer ? U.current?.closest("dialog[open], [role=dialog], revo-grid") : void 0) ?? (typeof document < "u" ? document.body : null), G = a(() => y || `dropdown-${Math.random().toString(36).substring(2, 9)}`, [y]), K = `${G}-listbox`, ce = `${G}-search`, q = `${G}-menu`, [J, Y] = i(B && !_), [le, ue] = i(!_ && (B || !!S.autoFocus)), de = l(B), fe = S.theme ?? "default";
358
+ function k({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, remoteText: c, value: d, onChange: m, placeholder: h = "Select an option", disabled: _ = !1, name: v, id: y, className: b = "", style: x, config: S = {}, renderContent: C, renderOption: E, renderValue: k, renderPlaceholder: A, renderSelectedValue: j, renderNoResults: M, onClose: N, beforeOutsideClose: P, environment: F }) {
359
+ let { search: I = !1, searchPlaceholder: L = "Search...", closeOnClickOutside: R = !0, autoOpen: z = !1, multiSelect: B = !1, portalTarget: V, ariaLabel: H, ariaLabelledBy: ne, ariaDescribedBy: re, popupClassName: ie, maxHeight: ae } = S, { title: oe, ...se } = n ?? {}, U = p(typeof oe == "string" ? oe : void 0), W = V ?? (S.topLayer ? U.current?.closest("dialog[open], [role=dialog], revo-grid") : void 0) ?? (typeof document < "u" ? document.body : null), G = a(() => y || `dropdown-${Math.random().toString(36).substring(2, 9)}`, [y]), K = `${G}-listbox`, ce = `${G}-search`, q = `${G}-menu`, [J, Y] = i(z && !_), [le, ue] = i(!_ && (z || !!S.autoFocus)), de = l(z), fe = S.theme ?? "default";
352
360
  r(() => {
353
- B && !de.current && !_ && (ue(!0), Y(!0)), de.current = B;
354
- }, [B, _]), r(() => {
355
- _ && J && (Y(!1), P?.(!1));
361
+ z && !de.current && !_ && (ue(!0), Y(!0)), de.current = z;
362
+ }, [z, _]), r(() => {
363
+ _ && J && (Y(!1), N?.(!1));
356
364
  }, [_, J]);
357
365
  let X = w({
358
366
  dataSource: o,
@@ -365,7 +373,7 @@ function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
365
373
  initialQuery: S.initialSearch ?? ""
366
374
  }), Z = o ? [...new Map([...X.selected, ...X.items].map((e) => [e.value, e])).values()] : t, Q = a(() => {
367
375
  if (d === void 0) return [];
368
- if (V && Array.isArray(d)) return Z.filter((e) => d.some((t) => JSON.stringify(t) === JSON.stringify(e.value)));
376
+ if (B && Array.isArray(d)) return Z.filter((e) => d.some((t) => JSON.stringify(t) === JSON.stringify(e.value)));
369
377
  {
370
378
  let e = Z.find((e) => JSON.stringify(e.value) === JSON.stringify(d));
371
379
  return e ? [e] : [];
@@ -373,66 +381,66 @@ function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
373
381
  }, [
374
382
  d,
375
383
  Z,
376
- V
384
+ B
377
385
  ]), pe = () => {
378
386
  _ || Y((e) => {
379
387
  let t = !e;
380
388
  return t && ue(!0), t;
381
389
  });
382
390
  }, $ = (e = !1) => {
383
- Y((t) => (t && P?.(e), !1));
391
+ Y((t) => (t && N?.(e), !1));
384
392
  };
385
393
  r(() => {
386
394
  if (!J) return;
387
395
  let e = U.current;
388
- if (e) return I?.onOpen?.(e, $);
396
+ if (e) return F?.onOpen?.(e, $);
389
397
  }, [J]);
390
398
  let me = (e) => {
391
399
  if (!(_ || e.disabled)) {
392
- if (V) {
400
+ if (B) {
393
401
  let t = Q.some((t) => JSON.stringify(t.value) === JSON.stringify(e.value)), n;
394
402
  n = t ? Q.filter((t) => JSON.stringify(t.value) !== JSON.stringify(e.value)) : [...Q, e], m && m(n.map((e) => e.value));
395
403
  } else m && m(e.value), $();
396
404
  }
397
405
  };
398
406
  r(() => {
399
- if (!z || !J) return;
407
+ if (!R || !J) return;
400
408
  let e = W?.ownerDocument ?? U.current?.ownerDocument ?? (typeof document < "u" ? document : void 0);
401
409
  if (!e) return;
402
410
  let t = (t) => {
403
411
  let n = e.getElementById(q), r = t.target;
404
412
  if (n && r && !f(n, r) && U.current && !U.current.contains(r)) {
405
- if (F?.() === !1) {
413
+ if (P?.() === !1) {
406
414
  t.preventDefault(), t.stopImmediatePropagation();
407
415
  return;
408
416
  }
409
417
  $();
410
418
  }
411
- }, n = !!F;
419
+ }, n = !!P;
412
420
  return e.addEventListener("pointerdown", t, n), () => {
413
421
  e.removeEventListener("pointerdown", t, n);
414
422
  };
415
423
  }, [
416
- z,
424
+ R,
417
425
  J,
418
426
  q,
419
427
  W,
420
- F
428
+ P
421
429
  ]);
422
430
  let he = () => {
423
431
  let t = [O({})];
424
- return M ? M(e, Q, t) : Q.length > 0 ? V ? [/* @__PURE__ */ u(ee, {
432
+ return j ? j(e, Q, t) : Q.length > 0 ? B ? [/* @__PURE__ */ u(ee, {
425
433
  options: Q,
426
434
  removeOption: me,
427
- renderValue: A,
435
+ renderValue: k,
428
436
  disabled: _,
429
437
  removeLabel: S.removeLabel
430
438
  }), /* @__PURE__ */ u(O, { className: "mr-2" })] : [/* @__PURE__ */ u(D, {
431
439
  options: Q,
432
- renderValue: A
433
- }), /* @__PURE__ */ u(O, { className: "mr-2" })] : j ? j(e, h, t) : /* @__PURE__ */ u(k, { placeholder: h });
440
+ renderValue: k
441
+ }), /* @__PURE__ */ u(O, { className: "mr-2" })] : A ? A(e, h, t) : /* @__PURE__ */ u(te, { placeholder: h });
434
442
  }, ge = () => /* @__PURE__ */ u(g, {
435
- onPointerRelease: I?.onPointerRelease,
443
+ onPointerRelease: F?.onPointerRelease,
436
444
  topLayer: S.topLayer,
437
445
  triggerRef: U,
438
446
  portalTarget: W,
@@ -449,7 +457,7 @@ function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
449
457
  remote: o ? X : void 0,
450
458
  value: d,
451
459
  onChange: (e) => {
452
- if (!_ && (m?.(e), !V)) {
460
+ if (!_ && (m?.(e), !B)) {
453
461
  let e = U.current;
454
462
  e?.ownerDocument.defaultView?.requestAnimationFrame(() => {
455
463
  let t = e.ownerDocument.activeElement;
@@ -461,13 +469,13 @@ function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
461
469
  ...S,
462
470
  autoFocus: S.autoFocus || le
463
471
  },
464
- multiSelect: V,
465
- search: !!o || L,
466
- searchPlaceholder: R,
472
+ multiSelect: B,
473
+ search: !!o || I,
474
+ searchPlaceholder: L,
467
475
  listboxId: K,
468
476
  searchId: ce,
469
477
  renderOption: E,
470
- renderNoResults: N,
478
+ renderNoResults: M,
471
479
  onClose: $,
472
480
  onTabNavigation: () => {
473
481
  $(), U.current?.focus();
@@ -490,13 +498,13 @@ function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
490
498
  "aria-disabled": _,
491
499
  "aria-owns": K,
492
500
  "aria-controls": K,
493
- "aria-label": te,
501
+ "aria-label": H,
494
502
  "aria-labelledby": ne,
495
503
  "aria-describedby": re,
496
504
  tabIndex: _ ? -1 : 0,
497
505
  onClick: _ ? void 0 : pe,
498
506
  onKeyDown: (e) => {
499
- _ || e.target !== e.currentTarget || (J && e.key === "Escape" ? (e.preventDefault(), e.stopPropagation(), $()) : !J && (e.key === "Enter" || e.key === " " || e.key === "ArrowDown") && (e.preventDefault(), e.stopPropagation(), pe()));
507
+ _ || e.target !== e.currentTarget || (J && e.key === "Tab" && S.nativeTabNavigation ? (e.stopPropagation(), $()) : J && e.key === "Escape" ? (e.preventDefault(), e.stopPropagation(), $()) : !J && (e.key === "Enter" || e.key === " " || e.key === "ArrowDown") && (e.preventDefault(), e.stopPropagation(), pe()));
500
508
  },
501
509
  children: he()
502
510
  }),
@@ -504,32 +512,32 @@ function A({ source: t, triggerAttributes: n, dataSource: o, dataContext: s, rem
504
512
  v && /* @__PURE__ */ u("input", {
505
513
  type: "hidden",
506
514
  name: v,
507
- value: JSON.stringify(V ? Q.map((e) => e.value) : Q[0]?.value || "")
515
+ value: JSON.stringify(B ? Q.map((e) => e.value) : Q[0]?.value || "")
508
516
  })
509
517
  ]
510
518
  });
511
519
  }
512
- var j = (e, t) => {
513
- d(e, /* @__PURE__ */ u(A, { ...t }));
514
- }, M = (e) => {
520
+ var A = (e, t) => {
521
+ d(e, /* @__PURE__ */ u(k, { ...t }));
522
+ }, j = (e) => {
515
523
  d(e, null);
516
524
  };
517
525
  //#endregion
518
526
  //#region src/select.tsx
519
- function N(e) {
520
- return Array.isArray(e) ? e.map(N).join("") : n(e) ? N(e.props.children) : e == null || typeof e == "boolean" ? "" : String(e);
527
+ function M(e) {
528
+ return Array.isArray(e) ? e.map(M).join("") : n(e) ? M(e.props.children) : e == null || typeof e == "boolean" ? "" : String(e);
521
529
  }
522
- function P(e, r, i = "", a = !1) {
523
- if (Array.isArray(e)) return e.flatMap((e) => P(e, r, i, a));
530
+ function N(e, r, i = "", a = !1) {
531
+ if (Array.isArray(e)) return e.flatMap((e) => N(e, r, i, a));
524
532
  if (!n(e)) return [];
525
533
  let o = e.props;
526
- if (e.type === t) return P(o.children, r, i, a);
527
- if (e.type === "optgroup") return P(o.children, r, o.label ?? "", a || !!o.disabled);
534
+ if (e.type === t) return N(o.children, r, i, a);
535
+ if (e.type === "optgroup") return N(o.children, r, o.label ?? "", a || !!o.disabled);
528
536
  let s = r ? r(o) : o, c = {
529
537
  ...s,
530
538
  disabled: o.disabled || s.disabled,
531
539
  hidden: o.hidden || s.hidden
532
- }, l = String(c.label ?? N(c.children)).trim();
540
+ }, l = String(c.label ?? M(c.children)).trim();
533
541
  return [{
534
542
  value: String(c.value ?? l),
535
543
  label: i ? `${i}: ${l}` : l,
@@ -538,12 +546,12 @@ function P(e, r, i = "", a = !1) {
538
546
  selected: !!c.selected
539
547
  }];
540
548
  }
541
- function F(e) {
542
- let { children: n, environment: r, value: a, defaultValue: o, onValueChange: s, optionPolicy: l, multiple: d, disabled: f, name: p, class: h, className: g, style: _, ...v } = e, y = c(m), b = y.disabled || !!f, x = P(n, l), [S, C] = i(() => {
549
+ function P(e) {
550
+ let { children: n, environment: r, value: a, defaultValue: o, onValueChange: s, optionPolicy: l, multiple: d, disabled: f, name: p, class: h, className: g, style: _, ...v } = e, y = c(m), b = y.disabled || !!f, x = N(n, l), [S, C] = i(() => {
543
551
  let e = o ?? (d ? x.filter((e) => e.selected).map((e) => e.value) : x.find((e) => e.selected)?.value ?? x[0]?.value ?? "");
544
552
  return Array.isArray(e) ? [...e] : String(e);
545
553
  }), w = a === void 0 ? S : Array.isArray(a) ? [...a] : String(a), T = Array.isArray(w) ? w : [w], E = x.filter((e) => !e.hidden || T.includes(e.value)), D = `rv-select rv-select-control ${typeof h == "string" ? h : ""} ${g ?? ""}`.replace(/\brv-control\b/g, "").trim();
546
- return /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ u(A, {
554
+ return /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ u(k, {
547
555
  environment: r,
548
556
  renderOption: (e, t) => /* @__PURE__ */ u("span", {
549
557
  "data-select-option": t.value,
@@ -579,7 +587,7 @@ function F(e) {
579
587
  }
580
588
  //#endregion
581
589
  //#region src/fieldset.tsx
582
- function I(e) {
590
+ function F(e) {
583
591
  let t = c(m), n = t.disabled || !!e.disabled;
584
592
  return /* @__PURE__ */ u(m.Provider, {
585
593
  value: {
@@ -594,43 +602,43 @@ function I(e) {
594
602
  }
595
603
  //#endregion
596
604
  //#region src/native-control.tsx
597
- function L(t, n, ...r) {
605
+ function I(t, n, ...r) {
598
606
  let { onChange: i, ...a } = n, o = x(e, t, a, ...r);
599
607
  return i && !(t === "button" && n.busy) && Object.assign(o.props, { onChange: i }), o;
600
608
  }
601
- function R(e, t) {
609
+ function L(e, t) {
602
610
  let n = p(typeof e == "string" ? e : void 0);
603
611
  return o((e) => {
604
612
  n.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
605
613
  }, [t]);
606
614
  }
607
- var z = b(h(({ title: e, ...t }, n) => {
608
- let r = R(e, n);
609
- return L("input", {
615
+ var R = b(h(({ title: e, ...t }, n) => {
616
+ let r = L(e, n);
617
+ return I("input", {
610
618
  ...t,
611
619
  ref: r
612
620
  });
613
- }), "input"), B = b(h(({ children: e, title: t, ...n }, r) => {
614
- let i = R(t, r);
615
- return L("textarea", {
621
+ }), "input"), z = b(h(({ children: e, title: t, ...n }, r) => {
622
+ let i = L(t, r);
623
+ return I("textarea", {
616
624
  ...n,
617
625
  ref: i
618
626
  }, e);
619
- }), "textarea"), V = b(h(({ children: e, title: t, ...n }, r) => {
627
+ }), "textarea"), B = b(h(({ children: e, title: t, ...n }, r) => {
620
628
  let i = p(typeof t == "string" ? t : void 0), a = o((e) => {
621
629
  i.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
622
630
  }, [r]);
623
- return L("button", {
631
+ return I("button", {
624
632
  ...n,
625
633
  ref: a,
626
634
  "aria-label": n["aria-label"] ?? (!e && typeof t == "string" ? t : void 0)
627
635
  }, e);
628
- }), "button"), H = b(h(({ children: e, title: t, ...n }, r) => {
629
- let i = R(t, r);
630
- return L("summary", {
636
+ }), "button"), V = b(h(({ children: e, title: t, ...n }, r) => {
637
+ let i = L(t, r);
638
+ return I("summary", {
631
639
  ...n,
632
640
  ref: i
633
641
  }, e);
634
- }), "summary"), te = b(F, "select");
642
+ }), "summary"), H = b(P, "select");
635
643
  //#endregion
636
- export { B as a, P as c, M as d, E as f, H as i, A as l, z as n, I as o, T as p, te as r, F as s, V as t, j as u };
644
+ export { z as a, N as c, j as d, E as f, V as i, k as l, R as n, F as o, T as p, H as r, P as s, B as t, A as u };
@@ -1,8 +1,8 @@
1
1
  import { c as e, i as t, t as n } from "./hooks.module-CG3gN83z.js";
2
2
  import { t as r } from "./jsxRuntime.module-F6UFnpT-.js";
3
3
  import { createControlId as i } from "../core/control-id.js";
4
- import { n as a } from "./native-control-DO0d1kgx.js";
5
- import { t as o } from "./controls-BLQnWEd7.js";
4
+ import { n as a } from "./native-control-pFMuHf3G.js";
5
+ import { t as o } from "./controls-FUU-MUKC.js";
6
6
  import { EditorActions as s } from "../editor-actions.js";
7
7
  //#region src/number-input/model.ts
8
8
  var c = {
@@ -1,11 +1,11 @@
1
1
  import { i as e } from "./preact.module-BBM36DnO.js";
2
2
  import { i as t } from "./hooks.module-CG3gN83z.js";
3
3
  import { t as n } from "./jsxRuntime.module-F6UFnpT-.js";
4
- import { t as r } from "./native-control-DO0d1kgx.js";
4
+ import { t as r } from "./native-control-pFMuHf3G.js";
5
5
  import { DEFAULT_CALENDAR_TRANSLATIONS as i } from "../calendar/translations.js";
6
6
  import { n as a } from "./iso-B0YHBK7m.js";
7
7
  import { f as o, h as s, m as c, o as l, p as u } from "./model-mPO2tG2f.js";
8
- import { t as d } from "./calendar-DsXIhybL.js";
8
+ import { t as d } from "./calendar-QWDyYzdo.js";
9
9
  //#region src/calendar/picker.tsx
10
10
  function f(f) {
11
11
  let { selected: p, onSelectionChange: ee, presets: m, mode: h = "single", min: g = 0, max: _ = Infinity, required: v = !1, excludeDisabled: y = !1, month: b, defaultMonth: x, onMonthChange: S, ...C } = f, w = typeof p == "string" ? p : Array.isArray(p) ? p[0] : p?.from, [T, E] = t(x ?? w ?? f.referenceDate ?? s()), [D, O] = t(w ?? T), [k, A] = t(), [j, M] = t(), N = (e) => {
@@ -233,12 +233,21 @@ n.diffed = function(e) {
233
233
  var U = 5, W = 4;
234
234
  function G(e, t, n) {
235
235
  let r = e.ownerDocument.defaultView;
236
- if (!r || r.getComputedStyle(e).position === "fixed") return {
236
+ if (!r) return {
237
237
  top: t,
238
238
  left: n,
239
239
  scaleX: 1,
240
240
  scaleY: 1
241
241
  };
242
+ if (r.getComputedStyle(e).position === "fixed") {
243
+ let r = e.currentCSSZoom, i = Number.isFinite(r) && r > 0 ? r : 1;
244
+ return {
245
+ top: t / i,
246
+ left: n / i,
247
+ scaleX: i,
248
+ scaleY: i
249
+ };
250
+ }
242
251
  let i = e.offsetParent, a = e.ownerDocument;
243
252
  if (!i || i === a.body || i === a.documentElement) return {
244
253
  top: t + r.scrollY,
@@ -293,15 +302,17 @@ function K({ onPointerRelease: e, triggerRef: t, children: n, portalTarget: r, t
293
302
  maxHeight: h / x.scaleY,
294
303
  ...y ? { width: r.width / x.scaleX } : {}
295
304
  });
305
+ }, a = (e) => {
306
+ e.target instanceof n.Node && d(C.current, e.target) || i();
296
307
  };
297
308
  r();
298
- let a = n.setTimeout(i, 0);
299
- n.addEventListener("resize", i), n.addEventListener("scroll", i, !0);
300
- let o = n.ResizeObserver, s = o ? new o(i) : void 0;
301
- s?.observe(e);
302
- let c = e.closest(".rv-dialog__surface, dialog");
303
- return c && s?.observe(c), x && C.current && s?.observe(C.current), () => {
304
- n.clearTimeout(a), n.removeEventListener("resize", i), n.removeEventListener("scroll", i, !0), s?.disconnect();
309
+ let o = n.setTimeout(i, 0);
310
+ n.addEventListener("resize", i), n.addEventListener("scroll", a, !0);
311
+ let s = n.ResizeObserver, c = s ? new s(i) : void 0;
312
+ c?.observe(e);
313
+ let l = e.closest(".rv-dialog__surface, dialog");
314
+ return l && c?.observe(l), x && C.current && c?.observe(C.current), () => {
315
+ n.clearTimeout(o), n.removeEventListener("resize", i), n.removeEventListener("scroll", a, !0), c?.disconnect();
305
316
  };
306
317
  }, [
307
318
  v,
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./jsxRuntime.module-F6UFnpT-.js";
2
2
  import { SvgIcon as t } from "../icons/icon.js";
3
- import { t as n } from "./native-control-DO0d1kgx.js";
3
+ import { t as n } from "./native-control-pFMuHf3G.js";
4
4
  //#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/star.svg?raw
5
5
  var r = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M309.5-18.9c-4.1-8-12.4-13.1-21.4-13.1s-17.3 5.1-21.4 13.1L193.1 125.3 33.2 150.7c-8.9 1.4-16.3 7.7-19.1 16.3s-.5 18 5.8 24.4l114.4 114.5-25.2 159.9c-1.4 8.9 2.3 17.9 9.6 23.2s16.9 6.1 25 2L288.1 417.6 432.4 491c8 4.1 17.7 3.3 25-2s11-14.2 9.6-23.2L441.7 305.9 556.1 191.4c6.4-6.4 8.6-15.8 5.8-24.4s-10.1-14.9-19.1-16.3L383 125.3 309.5-18.9z\"/></svg>", i = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M288.1-32c9 0 17.3 5.1 21.4 13.1L383 125.3 542.9 150.7c8.9 1.4 16.3 7.7 19.1 16.3s.5 18-5.8 24.4L441.7 305.9 467 465.8c1.4 8.9-2.3 17.9-9.6 23.2s-17 6.1-25 2L288.1 417.6 143.8 491c-8 4.1-17.7 3.3-25-2s-11-14.2-9.6-23.2L134.4 305.9 20 191.4c-6.4-6.4-8.6-15.8-5.8-24.4s10.1-14.9 19.1-16.3l159.9-25.4 73.6-144.2c4.1-8 12.4-13.1 21.4-13.1zm0 76.8L230.3 158c-3.5 6.8-10 11.6-17.6 12.8l-125.5 20 89.8 89.9c5.4 5.4 7.9 13.1 6.7 20.7l-19.8 125.5 113.3-57.6c6.8-3.5 14.9-3.5 21.8 0l113.3 57.6-19.8-125.5c-1.2-7.6 1.3-15.3 6.7-20.7l89.8-89.9-125.5-20c-7.6-1.2-14.1-6-17.6-12.8L288.1 44.8z\"/></svg>";
6
6
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { c as e } from "./preact.module-BBM36DnO.js";
2
2
  import { t } from "./jsxRuntime.module-F6UFnpT-.js";
3
- import { t as n } from "./native-control-DO0d1kgx.js";
3
+ import { t as n } from "./native-control-pFMuHf3G.js";
4
4
  import { fieldDropIndex as r, fieldListDropIndex as i } from "../field-reorder.js";
5
5
  //#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/grip-vertical.svg?raw
6
6
  var a = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M128 40c0-22.1-17.9-40-40-40L40 0C17.9 0 0 17.9 0 40L0 88c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm0 192c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM0 424l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 40c0-22.1-17.9-40-40-40L232 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM192 232l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 424c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48z\"/></svg>";
@@ -4,10 +4,10 @@ import { t as c } from "./jsxRuntime.module-F6UFnpT-.js";
4
4
  import { createControlId as l } from "../core/control-id.js";
5
5
  import { t as u } from "./popover-controller-D-AvKQ7B.js";
6
6
  import { SvgIcon as d } from "../icons/icon.js";
7
- import { l as f } from "./native-control-DO0d1kgx.js";
7
+ import { l as f } from "./native-control-pFMuHf3G.js";
8
8
  import { RemoveButton as p } from "../buttons/remove-button.js";
9
9
  import { t as m } from "./chevron-down-GbplLa6s.js";
10
- import { E as h, a as g, c as _, j as v, p as y, t as b } from "./controls-BLQnWEd7.js";
10
+ import { E as h, a as g, c as _, j as v, p as y, t as b } from "./controls-FUU-MUKC.js";
11
11
  import { t as x } from "./tooltip-text-BXsUEmBH.js";
12
12
  import { t as S } from "./clock-BOhPNlW3.js";
13
13
  import { t as C } from "./arrow-up-Cw8hW9vp.js";
@@ -2,10 +2,10 @@ import { i as e } from "./preact.module-BBM36DnO.js";
2
2
  import { c as t, i as n, n as r, r as i, t as a } from "./hooks.module-CG3gN83z.js";
3
3
  import { t as o } from "./jsxRuntime.module-F6UFnpT-.js";
4
4
  import { createControlId as s } from "../core/control-id.js";
5
- import { n as c } from "./native-control-DO0d1kgx.js";
6
- import { t as l } from "./controls-BLQnWEd7.js";
5
+ import { n as c } from "./native-control-pFMuHf3G.js";
6
+ import { t as l } from "./controls-FUU-MUKC.js";
7
7
  import { SegmentedSwitch as u } from "../segmented-switch/index.js";
8
- import { n as d } from "./icon-toolbar-xbqa0hu9.js";
8
+ import { n as d } from "./icon-toolbar-DSjOdwM7.js";
9
9
  import { HighlightedTextInput as f } from "../filter-controls.js";
10
10
  import { n as p } from "./editor-commit-Bq3wSgvr.js";
11
11
  import { EditorActions as m } from "../editor-actions.js";
package/_variables.scss CHANGED
@@ -1,3 +1,4 @@
1
+ @use 'styles/built-in-palettes' as palettes;
1
2
  @use './styles/palette';
2
3
  /**
3
4
  * Variables
@@ -5,47 +6,47 @@
5
6
 
6
7
  $rv-font-weight-medium: 500 !default;
7
8
 
8
- $primary-color-light: palette.$legacy-007bff;
9
- $primary-color-dark: palette.$legacy-0d63e8;
9
+ $primary-color-light: palettes.color('common', 'hex007bff');
10
+ $primary-color-dark: palettes.color('common', 'hex0d63e8');
10
11
 
11
- $text-color-light: palette.$legacy-000;
12
- $text-color-light-secondary: palette.$legacy-757575;
12
+ $text-color-light: palettes.color('common', 'hex000');
13
+ $text-color-light-secondary: palettes.color('common', 'hex757575');
13
14
  $text-color-dark: palette.$white;
14
- $text-color-dark-secondary: palette.$legacy-999;
15
- $background-color-light: palette.$legacy-f6f6f7;
15
+ $text-color-dark-secondary: palettes.color('common', 'hex999');
16
+ $background-color-light: palettes.color('common', 'hexf6f6f7');
16
17
 
17
- $button-alt-bg-light: palette.$legacy-ebebef;
18
- $button-alt-bg-light-hover: palette.$legacy-e4e4e9;
18
+ $button-alt-bg-light: palettes.color('common', 'hexebebef');
19
+ $button-alt-bg-light-hover: palettes.color('common', 'hexe4e4e9');
19
20
 
20
- $background-color-dark: palette.$legacy-333333;
21
+ $background-color-dark: palettes.color('common', 'hex333333');
21
22
 
22
- $border-color-light: palette.$legacy-ebebef;
23
- $border-color-dark: palette.$legacy-ebebef;
23
+ $border-color-light: palettes.color('common', 'hexebebef');
24
+ $border-color-dark: palettes.color('common', 'hexebebef');
24
25
 
25
- $rv-badge-bg-color: palette.$legacy-f0f0f0;
26
- $rv-badge-bg-color-dark: palette.$legacy-2d2d2d;
26
+ $rv-badge-bg-color: palettes.color('common', 'hexf0f0f0');
27
+ $rv-badge-bg-color-dark: palettes.color('common', 'hex2d2d2d');
27
28
 
28
29
  $rv-popup-bg-color: palette.$white;
29
- $rv-popup-border-color: palette.$legacy-d4d4d4;
30
+ $rv-popup-border-color: palettes.color('common', 'hexd4d4d4');
30
31
  $rv-popup-border-opacity: 0.5;
31
- $rv-popup-shadow-color: palette.$legacy-shadow-54;
32
- $rv-popup-hover-bg-color: palette.$legacy-f6f6f7;
32
+ $rv-popup-shadow-color: palettes.color('common', 'rgba_0_0_0_0_15');
33
+ $rv-popup-hover-bg-color: palettes.color('common', 'hexf6f6f7');
33
34
  $rv-popup-border-radius: 8px;
34
35
  $rv-popup-padding: 10px;
35
- $rv-popup-box-shadow: 0 4px 12px #{palette.$legacy-shadow-54};
36
- $rv-popup-bg-color-dark: palette.$legacy-1c1c1c;
37
- $rv-popup-border-color-dark: palette.$legacy-686868;
36
+ $rv-popup-box-shadow: 0 4px 12px #{palettes.color('common', 'rgba_0_0_0_0_15')};
37
+ $rv-popup-bg-color-dark: palettes.color('common', 'hex1c1c1c');
38
+ $rv-popup-border-color-dark: palettes.color('common', 'hex686868');
38
39
  $rv-popup-border-opacity-dark: 0;
39
- $rv-popup-shadow-color-dark: palette.$legacy-shadow-57;
40
- $rv-popup-hover-bg-color-dark: palette.$legacy-2c2c2c;
41
- $rv-popup-box-shadow-dark: 0 4px 12px #{palette.$legacy-shadow-57};
42
-
43
- $rv-low-color: palette.$legacy-fa2057;
44
- $rv-medium-color: palette.$legacy-f7c605;
45
- $rv-high-color: palette.$legacy-01c26e;
46
- $rv-critical-color: palette.$legacy-a8183c;
47
- $rv-info-color: palette.$legacy-5555fc;
48
- $rv-neutral-color: palette.$legacy-161a42;
49
-
50
- $rv-progress-bg-color: palette.$legacy-f0f0f0;
51
- $rv-progress-bg-color-dark: palette.$legacy-252525;
40
+ $rv-popup-shadow-color-dark: palettes.color('common', 'rgba_0_0_0_0_5');
41
+ $rv-popup-hover-bg-color-dark: palettes.color('common', 'hex2c2c2c');
42
+ $rv-popup-box-shadow-dark: 0 4px 12px #{palettes.color('common', 'rgba_0_0_0_0_5')};
43
+
44
+ $rv-low-color: palettes.color('common', 'hexfa2057');
45
+ $rv-medium-color: palettes.color('common', 'hexf7c605');
46
+ $rv-high-color: palettes.color('common', 'hex01c26e');
47
+ $rv-critical-color: palettes.color('common', 'hexa8183c');
48
+ $rv-info-color: palettes.color('common', 'hex5555fc');
49
+ $rv-neutral-color: palettes.color('common', 'hex161a42');
50
+
51
+ $rv-progress-bg-color: palettes.color('common', 'hexf0f0f0');
52
+ $rv-progress-bg-color-dark: palettes.color('common', 'hex252525');