@orangelogic/design-system 2.56.0 → 2.57.0

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 (131) hide show
  1. package/library/chunks/{button.CiWlWCNb.js → button.2-Io1Wm4.js} +80 -66
  2. package/library/chunks/{color-swatch-group.Bsa_Z57a.js → color-swatch-group.VXPK-2tU.js} +167 -157
  3. package/library/chunks/{color-swatch.CsKJgvVf.js → color-swatch.8OhqVqb6.js} +2 -2
  4. package/library/chunks/{confirm-popover.Bfuw361W.js → confirm-popover.DGvyB12c.js} +3 -3
  5. package/library/chunks/{content-builder.UlVFSATk.js → content-builder.WranV3P4.js} +6 -5
  6. package/library/chunks/{dialog.C28qzMSQ.js → dialog.CIeu0rVD.js} +2 -2
  7. package/library/chunks/{dot-pagination.D3RYAiHL.js → dot-pagination.CyCA3kSP.js} +1 -1
  8. package/library/chunks/{file-on-demand.Cr7E_KqH.js → file-on-demand.aux9gsvH.js} +10 -10
  9. package/library/chunks/{folder-select.ELghy6Qk.js → folder-select.B7u40ijN.js} +5 -5
  10. package/library/chunks/{format-time.HdcgoabZ.js → format-time.C56HetWv.js} +1 -1
  11. package/library/chunks/{header.oyZxakKM.js → header.RvymymCe.js} +1 -1
  12. package/library/chunks/{i18n.C3Z8Xe8q.js → i18n.dCiJrmqj.js} +74 -83
  13. package/library/chunks/{iframe.C6CLUrTT.js → iframe.Cwqniwf2.js} +1 -1
  14. package/library/chunks/{image.BJfasRY_.js → image.gpleN29o.js} +3 -3
  15. package/library/chunks/list-editor.BToq5cqp.js +1641 -0
  16. package/library/chunks/{option.BOHZB9Sv.js → option.CJ1p2V0m.js} +1 -1
  17. package/library/chunks/{popup.Ba501Rgg.js → popup.BE5MfEQJ.js} +1 -1
  18. package/library/chunks/purify.es.BGaRrCfO.js +553 -0
  19. package/library/chunks/{select.oVg7uA-M.js → select.xBh4yerC.js} +3 -3
  20. package/library/chunks/string.DPf4puTr.js +136 -0
  21. package/library/chunks/{tab-group.BWYMMhrE.js → tab-group.CjvHb3OJ.js} +3 -3
  22. package/library/chunks/{table.-ecyjIUr.js → table.CrX_NJiY.js} +2019 -1744
  23. package/library/chunks/{timecode.PY1bymeS.js → timecode.XXmVg6tU.js} +1 -1
  24. package/library/chunks/{tree.82OigIgE.js → tree.CDaFhGjU.js} +1 -1
  25. package/library/components/alert.js +1 -1
  26. package/library/components/asset-link-format.js +4 -4
  27. package/library/components/atoms.js +14 -14
  28. package/library/components/border-input-group.js +1 -1
  29. package/library/components/breadcrumb.js +1 -1
  30. package/library/components/button.js +2 -2
  31. package/library/components/color-picker.js +3 -3
  32. package/library/components/color-swatch-group.js +6 -6
  33. package/library/components/color-swatch.js +3 -3
  34. package/library/components/confirm-popover.js +4 -4
  35. package/library/components/copy-button.js +1 -1
  36. package/library/components/corner-position-input-group.js +3 -3
  37. package/library/components/details.js +1 -1
  38. package/library/components/dialog.js +3 -3
  39. package/library/components/dot-pagination.js +2 -2
  40. package/library/components/drawer.js +1 -1
  41. package/library/components/dropdown.js +2 -2
  42. package/library/components/dynamic-select.js +5 -5
  43. package/library/components/element-clamp.js +2 -2
  44. package/library/components/file-on-demand.js +11 -11
  45. package/library/components/folder-select.js +4 -4
  46. package/library/components/format-bytes.js +1 -1
  47. package/library/components/format-date.js +1 -1
  48. package/library/components/format-number.js +1 -1
  49. package/library/components/format-time.js +2 -2
  50. package/library/components/header.js +2 -2
  51. package/library/components/icon-button.js +1 -1
  52. package/library/components/iframe.js +2 -2
  53. package/library/components/image-comparer.js +1 -1
  54. package/library/components/image.js +3 -3
  55. package/library/components/input.js +1 -1
  56. package/library/components/line-clamp.js +31 -23
  57. package/library/components/list-editor.js +9 -8
  58. package/library/components/masonry.js +1 -1
  59. package/library/components/menu-item.js +2 -2
  60. package/library/components/menu.js +1 -1
  61. package/library/components/molecules.js +4 -4
  62. package/library/components/option.js +2 -2
  63. package/library/components/organisms.js +2 -2
  64. package/library/components/pagination.js +4 -4
  65. package/library/components/popup.js +2 -2
  66. package/library/components/position-picker.js +1 -1
  67. package/library/components/progress-bar.js +1 -1
  68. package/library/components/progress-ring.js +1 -1
  69. package/library/components/range.js +2 -2
  70. package/library/components/rating.js +1 -1
  71. package/library/components/relative-time.js +1 -1
  72. package/library/components/select.js +4 -4
  73. package/library/components/share-option-list.js +1 -1
  74. package/library/components/size-input-group.js +2 -2
  75. package/library/components/spinner.js +1 -1
  76. package/library/components/split-panel.js +1 -1
  77. package/library/components/tab-group.js +3 -3
  78. package/library/components/tab.js +1 -1
  79. package/library/components/table.js +2 -2
  80. package/library/components/tag.js +1 -1
  81. package/library/components/timecode.js +2 -2
  82. package/library/components/tooltip.js +2 -2
  83. package/library/components/tree-item.js +2 -2
  84. package/library/components/tree.js +2 -2
  85. package/library/components/typeface.js +1 -1
  86. package/library/components/types.js +30808 -30016
  87. package/library/components/video.js +2 -2
  88. package/library/package.json +1 -1
  89. package/library/packages/atoms/src/components/button/button.d.ts +4 -0
  90. package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +3 -1
  91. package/library/packages/atoms/src/components/table/components/table-toolbar/table-saved-search-dropdown.d.ts +60 -0
  92. package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.d.ts +38 -5
  93. package/library/packages/atoms/src/components/table/table.d.ts +28 -5
  94. package/library/packages/atoms/src/components/table/tabulator-tables/core/row/Row.d.ts +2 -2
  95. package/library/packages/events/src/cx-content-builder-translatable-value-change.d.ts +13 -0
  96. package/library/packages/events/src/cx-table-export.d.ts +1 -1
  97. package/library/packages/events/src/cx-table-save-search-select.d.ts +8 -0
  98. package/library/packages/events/src/events.d.ts +2 -0
  99. package/library/packages/molecules/src/data-tab-group/data-tab-group.d.ts +1 -0
  100. package/library/packages/molecules/src/details-group/details-group.d.ts +1 -0
  101. package/library/packages/molecules/src/list-editor/list-editor.d.ts +14 -0
  102. package/library/packages/molecules/src/timeline/timeline.d.ts +4 -0
  103. package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +1 -0
  104. package/library/packages/organisms/src/comment/comment.d.ts +13 -0
  105. package/library/packages/organisms/src/comment/components/comment-menu/comment-menu.d.ts +14 -0
  106. package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.d.ts +21 -0
  107. package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +19 -0
  108. package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +28 -8
  109. package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +28 -1
  110. package/library/packages/organisms/src/content-builder/components/gallery-config/gallery-config.d.ts +1 -0
  111. package/library/packages/organisms/src/content-builder/configs/accordion.d.ts +1 -0
  112. package/library/packages/organisms/src/content-builder/configs/color-swatches.d.ts +1 -0
  113. package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +2 -0
  114. package/library/packages/organisms/src/content-builder/configs/tab-group.d.ts +1 -0
  115. package/library/packages/organisms/src/content-builder/configs/timeline.d.ts +1 -0
  116. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +10 -0
  117. package/library/packages/organisms/src/content-builder/content-builder-constants.d.ts +2 -0
  118. package/library/packages/organisms/src/content-builder/content-builder.d.ts +19 -2
  119. package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +0 -7
  120. package/library/packages/organisms/src/content-builder/plugins/plugin-factory.d.ts +1 -0
  121. package/library/packages/organisms/src/content-builder/styleController.d.ts +3 -1
  122. package/library/packages/types/src/color-swatch.d.ts +1 -0
  123. package/library/packages/types/src/content-builder.d.ts +7 -0
  124. package/library/packages/types/src/table.d.ts +13 -1
  125. package/library/packages/utils/src/custom-element/i18n-utils.d.ts +2 -0
  126. package/library/packages/utils/src/custom-element/i18n.d.ts +32 -9
  127. package/library/packages/utils/src/string/string.d.ts +2 -0
  128. package/library/react-web-component.d.ts +115 -58
  129. package/package.json +1 -1
  130. package/library/chunks/list-editor.Ct803qvF.js +0 -737
  131. package/library/chunks/string.D6poLUEC.js +0 -678
@@ -0,0 +1,136 @@
1
+ import { p } from "./purify.es.BGaRrCfO.js";
2
+ var m = /* @__PURE__ */ ((t) => (t.Asset = "asset", t.Folder = "folder", t.Link = "link", t.Page = "page", t.Space = "space", t))(m || {}), S = /* @__PURE__ */ ((t) => (t.Default = "default", t.Overlay = "overlay", t))(S || {}), h = /* @__PURE__ */ ((t) => (t.Always = "always", t.OnHover = "on-hover", t))(h || {}), g = /* @__PURE__ */ ((t) => (t.Track = "track", t.Transition = "transition", t))(g || {}), u = /* @__PURE__ */ ((t) => (t.Frames = "Frames", t.SMPTE = "SMPTE", t.Standard = "Standard", t))(u || {});
3
+ const P = 50;
4
+ function v(t) {
5
+ if (typeof t != "string")
6
+ return null;
7
+ const n = t.trim(), r = n.charAt(0).toUpperCase(), e = n.slice(1);
8
+ return `${r}${e}`;
9
+ }
10
+ const w = (t, n, r, e) => t && t.length > n ? t.substring(0, r) + " ... " + t.substring(t.length - e, t.length) : t, I = (t) => t ? t.replaceAll(/([a-z0-9])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z][a-z])/g, "$1 $2").replaceAll(/([a-zA-Z])([0-9])/g, "$1 $2").replaceAll(/([0-9])([a-zA-Z])/g, "$1 $2").replaceAll(/\s+/g, " ").trim().toLowerCase() : "";
11
+ function x(t, n = {}) {
12
+ const {
13
+ frameRate: r = 24,
14
+ mode: e = u.Standard,
15
+ showHours: a = !1,
16
+ showMilliseconds: o = !1
17
+ } = n, i = Number.isFinite(r) && r > 0 ? r : 24;
18
+ if (typeof t != "number" || Number.isNaN(t) || t < 0)
19
+ switch (e) {
20
+ case u.Frames:
21
+ return "0";
22
+ case u.SMPTE:
23
+ return "00:00:00:00";
24
+ case u.Standard:
25
+ return a ? "00:00:00" : "00:00";
26
+ default:
27
+ return "00:00";
28
+ }
29
+ switch (e) {
30
+ case u.SMPTE:
31
+ return b(t, i);
32
+ case u.Frames:
33
+ return M(t, i);
34
+ case u.Standard:
35
+ default:
36
+ return F(t, o, a);
37
+ }
38
+ }
39
+ function N(t) {
40
+ return Math.abs(t - 29.97) < 0.01 || Math.abs(t - 59.94) < 0.01;
41
+ }
42
+ function b(t, n) {
43
+ const r = Math.floor(t), e = t - r, a = Math.floor(e * n), o = Math.floor(r / 3600), i = Math.floor(r % 3600 / 60), c = r % 60, s = N(n) ? ";" : ":";
44
+ return o.toString().padStart(2, "0") + ":" + i.toString().padStart(2, "0") + ":" + c.toString().padStart(2, "0") + s + a.toString().padStart(2, "0");
45
+ }
46
+ function M(t, n) {
47
+ const r = t * n;
48
+ return Math.floor(r + 1e-9).toString();
49
+ }
50
+ function F(t, n, r) {
51
+ const e = Math.round(t * 100) / 100, a = Math.floor(e / 3600), o = Math.floor(e % 3600 / 60), i = Math.floor(e % 60), c = Math.round(e % 1 * 100), s = [];
52
+ return (r || a > 0) && s.push(a.toString().padStart(2, "0")), s.push(o.toString().padStart(2, "0")), n && c > 0 ? s.push(
53
+ `${i.toString().padStart(2, "0")}.${c.toString().padStart(2, "0")}`
54
+ ) : s.push(i.toString().padStart(2, "0")), s.join(":");
55
+ }
56
+ function z(t) {
57
+ return t.endsWith("/") ? t : `${t}/`;
58
+ }
59
+ function k(t, n = {}) {
60
+ const { frameRate: r = 24, mode: e = u.Standard } = n, a = Number.isFinite(r) && r > 0 ? r : 24;
61
+ if (!t || typeof t != "string")
62
+ return 0;
63
+ const o = t.trim();
64
+ if (o === "")
65
+ return 0;
66
+ switch (e) {
67
+ case u.SMPTE:
68
+ return T(o, a);
69
+ case u.Frames:
70
+ return $(o, a);
71
+ case u.Standard:
72
+ default:
73
+ return A(o);
74
+ }
75
+ }
76
+ function T(t, n) {
77
+ const r = /^(\d{1,2}):(\d{1,2}):(\d{1,2})[:;](\d{1,2})$/, e = t.match(r);
78
+ if (!e)
79
+ return 0;
80
+ const [, a, o, i, c] = e, s = Number.parseInt(a, 10), f = Number.parseInt(o, 10), l = Number.parseInt(i, 10), d = Number.parseInt(c, 10);
81
+ return s < 0 || s > 23 || f < 0 || f > 59 || l < 0 || l > 59 || d < 0 || d >= n ? 0 : s * 3600 + f * 60 + l + d / n;
82
+ }
83
+ function $(t, n) {
84
+ const r = Number.parseInt(t, 10);
85
+ return Number.isNaN(r) || r < 0 ? 0 : r / n;
86
+ }
87
+ function A(t) {
88
+ const n = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?(?:\.(\d{1,2}))?$/, r = t.match(n);
89
+ if (!r)
90
+ return 0;
91
+ const [, e, a, o, i] = r;
92
+ let c = 0, s = 0, f = 0, l = 0;
93
+ if (o !== void 0 ? (c = Number.parseInt(e, 10), s = Number.parseInt(a, 10), f = Number.parseInt(o, 10)) : (s = Number.parseInt(e, 10), f = Number.parseInt(a, 10)), i !== void 0 && (l = Number.parseInt(i, 10)), c < 0 || s < 0 || f < 0 || l < 0)
94
+ return 0;
95
+ if (o !== void 0) {
96
+ if (s > 59 || f > 59)
97
+ return 0;
98
+ } else if (f > 59)
99
+ return 0;
100
+ return l > 99 ? 0 : c * 3600 + s * 60 + f + l / 100;
101
+ }
102
+ function L(t) {
103
+ if (typeof t != "string" || t.length === 0)
104
+ return null;
105
+ const n = t.split(/[?#]/)[0], r = (n.split("/").pop() ?? n).trim(), e = r.lastIndexOf(".");
106
+ return e <= 0 ? null : r.slice(e).toLowerCase();
107
+ }
108
+ function H(t) {
109
+ return p.sanitize(t, {
110
+ CUSTOM_ELEMENT_HANDLING: {
111
+ allowCustomizedBuiltInElements: !0,
112
+ attributeNameCheck: /^(?!on)[a-z][a-z0-9-]*$/i,
113
+ tagNameCheck: /^cx-/
114
+ }
115
+ });
116
+ }
117
+ function O(t) {
118
+ return typeof t != "string" ? !1 : Object.values(m).includes(t);
119
+ }
120
+ export {
121
+ P as F,
122
+ S as G,
123
+ g as M,
124
+ u as T,
125
+ h as a,
126
+ m as b,
127
+ I as c,
128
+ k as d,
129
+ L as e,
130
+ x as f,
131
+ O as i,
132
+ z as p,
133
+ H as s,
134
+ w as t,
135
+ v as u
136
+ };
@@ -1,7 +1,7 @@
1
1
  import In from "../components/resize-observer.js";
2
2
  import { i as Fn, n as wt, C as Ln, x as $t, c as $n } from "./custom-element.vnXBMQxc.js";
3
3
  import { c as Nn } from "./component.styles.CI-v8BZa.js";
4
- import { L as Bn } from "./i18n.C3Z8Xe8q.js";
4
+ import { L as Bn } from "./i18n.dCiJrmqj.js";
5
5
  import { s as Zi } from "./scroll.DwPiX2Ox.js";
6
6
  import { w as ft } from "./watch.BCJD77bD.js";
7
7
  import { i as Wn } from "./dom.CaZCTJCL.js";
@@ -15,7 +15,7 @@ import { i as Ji } from "./guard.BDP4A85K.js";
15
15
  import { o as tr } from "./map.D8heArFD.js";
16
16
  import { o as Ue } from "./style-map.CZovMmo_.js";
17
17
  import { n as Pe } from "./when.Dr1es41R.js";
18
- import { C as Yn } from "./button.CiWlWCNb.js";
18
+ import { C as Yn } from "./button.2-Io1Wm4.js";
19
19
  import Xn from "../components/dropdown.js";
20
20
  import qn from "../components/icon-button.js";
21
21
  import Gn from "../components/menu.js";
@@ -2566,7 +2566,7 @@ const Co = Fn`
2566
2566
  }
2567
2567
 
2568
2568
  .tab-group--top .tab-group__indicator {
2569
- bottom: calc(-1 * var(--track-width));
2569
+ bottom: 0;
2570
2570
  border-bottom: solid var(--indicator-width) var(--indicator-color);
2571
2571
  }
2572
2572