@orangelogic/design-system 3.0.0 → 3.2.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 (120) hide show
  1. package/library/chunks/{asset-link-format.D--xQVgR.js → asset-link-format.BnIUG_vO.js} +19 -18
  2. package/library/chunks/{button.BnkkUqiI.js → button.CpY4FCwE.js} +1 -1
  3. package/library/chunks/{color-swatch-group.CCgwey9f.js → color-swatch-group.CTcv62MK.js} +367 -330
  4. package/library/chunks/{color-swatch.D6Gg5bpz.js → color-swatch.Caved2kL.js} +1 -1
  5. package/library/chunks/{confirm-popover.CrQKEChc.js → confirm-popover.BSS1VhB2.js} +3 -3
  6. package/library/chunks/content-builder.BX4pHujE.js +60 -0
  7. package/library/chunks/{dialog.CWGtufDA.js → dialog.ICoCAj6Z.js} +4 -4
  8. package/library/chunks/{document-viewer.C90j1Xrr.js → document-viewer.D6PxGcEL.js} +8 -7
  9. package/library/chunks/{dot-pagination.BqGFeFXK.js → dot-pagination.CzVpiv00.js} +1 -1
  10. package/library/chunks/{folder-select.CIqVGGFl.js → folder-select.DN-JomDt.js} +4 -4
  11. package/library/chunks/{header.CWlWNree.js → header.BQg_JjHw.js} +1 -1
  12. package/library/chunks/{i18n.DbXTTLXx.js → i18n.BA19xtyU.js} +6 -3
  13. package/library/chunks/{icon-button.CVrxJcZq.js → icon-button.BWJ1Vqn5.js} +17 -11
  14. package/library/chunks/{iframe.-GCTFas1.js → iframe.Dm-nXSBv.js} +1 -1
  15. package/library/chunks/{image.CTMzUqCC.js → image.B-4cVbol.js} +187 -188
  16. package/library/chunks/{input.33UmFGqR.js → input.xgeLCG8I.js} +1 -1
  17. package/library/chunks/{markdown.DOHru2Rz.js → markdown.bkEjjjS9.js} +2 -2
  18. package/library/chunks/menu-item.DgUMVYe5.js +493 -0
  19. package/library/chunks/{option.B6odSlS2.js → option.jeaj7_Lr.js} +1 -1
  20. package/library/chunks/{pagination.mzolTIpF.js → pagination.CSPKsj4y.js} +5 -5
  21. package/library/chunks/{tab-group.uSHlsFu8.js → tab-group.BSl6GdIO.js} +4 -4
  22. package/library/chunks/{toast.CXEAfCvN.js → toast.C5Ir5yKA.js} +1 -1
  23. package/library/chunks/transformation.CWKaoGaY.js +254 -0
  24. package/library/chunks/{tree.CmEdKtzK.js → tree.DYFFjW1-.js} +1 -1
  25. package/library/components/alert.js +2 -2
  26. package/library/components/asset-link-format.js +4 -4
  27. package/library/components/atoms.js +31 -31
  28. package/library/components/audio.js +2 -2
  29. package/library/components/border-input-group.js +2 -2
  30. package/library/components/breadcrumb.js +1 -1
  31. package/library/components/button.js +2 -2
  32. package/library/components/color-picker.js +3 -3
  33. package/library/components/color-swatch-group.js +5 -5
  34. package/library/components/color-swatch.js +2 -2
  35. package/library/components/confirm-popover.js +4 -4
  36. package/library/components/copy-button.js +1 -1
  37. package/library/components/corner-position-input-group.js +3 -3
  38. package/library/components/date-calendar.js +1 -1
  39. package/library/components/details.js +1 -1
  40. package/library/components/dialog.js +3 -3
  41. package/library/components/document-viewer.js +3 -3
  42. package/library/components/dot-pagination.js +2 -2
  43. package/library/components/drawer.js +4 -4
  44. package/library/components/dropdown.js +2 -2
  45. package/library/components/dynamic-select.js +4 -4
  46. package/library/components/e-chart.js +1 -1
  47. package/library/components/element-clamp.js +2 -2
  48. package/library/components/file-on-demand.js +9 -9
  49. package/library/components/folder-select.js +4 -4
  50. package/library/components/format-bytes.js +1 -1
  51. package/library/components/format-date.js +1 -1
  52. package/library/components/format-number.js +1 -1
  53. package/library/components/format-time.js +1 -1
  54. package/library/components/header.js +2 -2
  55. package/library/components/icon-button.js +2 -2
  56. package/library/components/iframe.js +2 -2
  57. package/library/components/image-comparer.js +1 -1
  58. package/library/components/image.js +3 -4
  59. package/library/components/input.js +2 -2
  60. package/library/components/line-clamp.js +1 -1
  61. package/library/components/markdown.js +3 -3
  62. package/library/components/masonry.js +113 -100
  63. package/library/components/menu-item.js +15 -483
  64. package/library/components/menu.js +20 -20
  65. package/library/components/molecules.js +3 -3
  66. package/library/components/option.js +2 -2
  67. package/library/components/organisms.js +2 -2
  68. package/library/components/padding-input-group.js +1 -1
  69. package/library/components/pagination.js +6 -6
  70. package/library/components/popup.js +101 -98
  71. package/library/components/position-picker.js +1 -1
  72. package/library/components/progress-bar.js +1 -1
  73. package/library/components/progress-ring.js +1 -1
  74. package/library/components/range.js +1 -1
  75. package/library/components/rating.js +1 -1
  76. package/library/components/relative-time.js +1 -1
  77. package/library/components/select.js +18 -13
  78. package/library/components/shadow-input-group.js +1 -1
  79. package/library/components/share-option-list.js +1 -1
  80. package/library/components/sidebar.js +1 -1
  81. package/library/components/size-input-group.js +3 -3
  82. package/library/components/spinner.js +1 -1
  83. package/library/components/split-panel.js +1 -1
  84. package/library/components/tab-group.js +5 -5
  85. package/library/components/tab.js +2 -2
  86. package/library/components/tag.js +2 -2
  87. package/library/components/tooltip.js +1 -1
  88. package/library/components/tree-item.js +2 -2
  89. package/library/components/tree.js +2 -2
  90. package/library/components/typeface.js +2 -2
  91. package/library/components/types.js +18617 -18388
  92. package/library/components/video.js +2 -2
  93. package/library/package.json +1 -1
  94. package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +11 -0
  95. package/library/packages/atoms/src/components/image/image.d.ts +30 -4
  96. package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +5 -2
  97. package/library/packages/atoms/src/components/menu-item/submenu-controller.d.ts +1 -0
  98. package/library/packages/atoms/src/components/popup/popup.d.ts +11 -0
  99. package/library/packages/atoms/src/components/select/select.d.ts +8 -0
  100. package/library/packages/hybrid/table-core/src/table/styles/table-frozen.styles.d.ts +4 -4
  101. package/library/packages/hybrid/table-core/src/table/styles/table-overlay-scrollbar.styles.d.ts +8 -5
  102. package/library/packages/hybrid/table-core/src/table/table.d.ts +2 -12
  103. package/library/packages/hybrid/table-core/src/tabulator-tables/core/RowManager.d.ts +1 -0
  104. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +5 -3
  105. package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +10 -0
  106. package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +1 -0
  107. package/library/packages/molecules/src/masonry/masonry.d.ts +9 -0
  108. package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +8 -0
  109. package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +88 -0
  110. package/library/packages/organisms/src/comment/components/comment-menu/comment-menu.d.ts +10 -0
  111. package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +11 -1
  112. package/library/packages/organisms/src/content-builder/content-builder.d.ts +31 -6
  113. package/library/packages/organisms/src/downloader/downloader.d.ts +1 -1
  114. package/library/packages/types/src/menu-item.d.ts +12 -1
  115. package/library/packages/utils/src/custom-element/i18n.d.ts +3 -0
  116. package/library/packages/utils/src/transformation/transformation.d.ts +52 -0
  117. package/library/react-web-component.d.ts +25 -1
  118. package/library/utils.js +173 -167
  119. package/package.json +1 -1
  120. package/library/chunks/transformation.8uLv6uwG.js +0 -264
@@ -1,5 +1,5 @@
1
1
  import "../components/cropper.js";
2
- import { C as Z } from "./button.BnkkUqiI.js";
2
+ import { C as Z } from "./button.CpY4FCwE.js";
3
3
  import L from "../components/space.js";
4
4
  import { C as U } from "./typography.IqHbnd3C.js";
5
5
  import { n as l, C as B } from "./lib-cortex-element.CVMmyPMC.js";
@@ -8,11 +8,12 @@ import { M as $t, U as o, T as m } from "./asset-link-format.ClaYu_v8.js";
8
8
  import "./browser.BHOCIF_A.js";
9
9
  import { i as q, x as A, E as Xt } from "./lit-element.jLBm65_O.js";
10
10
  import "./form.DSsy3Fcy.js";
11
- import { L as j } from "./i18n.DbXTTLXx.js";
11
+ import { L as j } from "./i18n.BA19xtyU.js";
12
12
  import { a as Kt } from "./string.CfI2ejyR.js";
13
13
  import "./date-picker.BGHn6qg8.js";
14
- import { a as Pt, b as rt } from "./transformation.8uLv6uwG.js";
14
+ import "./content-builder.BX4pHujE.js";
15
15
  import "./unsafe-html.Dff7-rCx.js";
16
+ import { a as Pt, c as rt } from "./transformation.CWKaoGaY.js";
16
17
  import { b as Zt } from "./_baseUniq.lwMgmtt2.js";
17
18
  import { c as V } from "./component.styles.CRO4Odto.js";
18
19
  import { v as Yt } from "./v4.CKZ6klMF.js";
@@ -25,9 +26,9 @@ import { n as M } from "./when.Dr1es41R.js";
25
26
  import et from "../components/details.js";
26
27
  import Jt from "../components/divider.js";
27
28
  import { C as it } from "./icon.CpHbi8tH.js";
28
- import { C as vt } from "./icon-button.CVrxJcZq.js";
29
- import { C as bt } from "./input.33UmFGqR.js";
30
- import { C as gt } from "./option.B6odSlS2.js";
29
+ import { C as vt } from "./icon-button.BWJ1Vqn5.js";
30
+ import { C as bt } from "./input.xgeLCG8I.js";
31
+ import { C as gt } from "./option.jeaj7_Lr.js";
31
32
  import xt from "../components/select.js";
32
33
  import te from "../components/position-picker.js";
33
34
  import { c as ee } from "./image.Y5c_hFx8.js";
@@ -130,7 +131,7 @@ function ht(t) {
130
131
  }
131
132
  return le(t);
132
133
  }
133
- const wt = "CoreField.LargeSizePreview", lt = "CoreField.DocType", ce = "Document.Title", pe = "Document.CaptionLong", ct = "Document.FileExtension", Mt = "CoreField.FileSize", It = "CoreField.Identifier", Et = "CoreField.Keywords", pt = "CoreField.MaxHeight", dt = "CoreField.MaxWidth", ut = "Document.RecordID", Tt = "CoreField.DocSubType", Ut = "CoreField.TitleWithFallback", mt = "CoreField.OriginalFileName", ft = "CoreField.UpdatedFileName", tt = "CoreField.OriginalPreview", Fi = "Document.DocSubType", Mi = "Document.InPoint", Ii = "Document.OutPoint", Ct = {
134
+ const wt = "CoreField.LargeSizePreview", lt = "CoreField.DocType", ce = "Document.Title", pe = "Document.CaptionLong", ct = "Document.FileExtension", Mt = "CoreField.FileSize", It = "CoreField.Identifier", Et = "CoreField.Keywords", pt = "CoreField.MaxHeight", dt = "CoreField.MaxWidth", ut = "Document.RecordID", Tt = "CoreField.DocSubType", Ut = "CoreField.TitleWithFallback", mt = "CoreField.OriginalFileName", ft = "CoreField.UpdatedFileName", tt = "CoreField.OriginalPreview", Mi = "Document.DocSubType", Ii = "Document.InPoint", Ei = "Document.OutPoint", Ct = {
134
135
  DEFAULT_VIEW_SIZE: "Document.LargeSizePreview",
135
136
  FIELD_TITLE_WITH_FALLBACK: "Document.TitleWithFallback",
136
137
  ORIGINAL_VIEW_SIZE: "Document.OriginalPreview"
@@ -418,7 +419,7 @@ async function Ce({
418
419
  return null;
419
420
  }
420
421
  }
421
- async function Ei({
422
+ async function Ti({
422
423
  assetRecordId: t,
423
424
  isSiteBuilder: e,
424
425
  siteUrl: i,
@@ -455,7 +456,7 @@ async function Ei({
455
456
  return [];
456
457
  }
457
458
  }
458
- async function Ti({
459
+ async function Hi({
459
460
  siteUrl: t
460
461
  } = {}) {
461
462
  try {
@@ -482,7 +483,7 @@ async function Ti({
482
483
  return { formatsByDocType: {} };
483
484
  }
484
485
  }
485
- async function Hi({
486
+ async function Wi({
486
487
  recordIds: t,
487
488
  rightsToCheck: e
488
489
  }) {
@@ -520,7 +521,7 @@ function At(t) {
520
521
  const e = t.toLowerCase(), i = e.startsWith(".") ? e : `.${e}`;
521
522
  return ze.has(i);
522
523
  }
523
- class Wi {
524
+ class Di {
524
525
  constructor(e, i) {
525
526
  this.data = [], this.folderId = "", this.fetchedPages = /* @__PURE__ */ new Set(), this.totalCount = 0, this.maxEnd = 1 / 0, this.pageSize = Wt, this.requestEpoch = 0, this.host = e, this.host.addController?.(this);
526
527
  const s = i?.maxEnd;
@@ -3120,9 +3121,9 @@ export {
3120
3121
  ye as a,
3121
3122
  ce as b,
3122
3123
  Ut as c,
3123
- Ti as d,
3124
- Hi as e,
3125
- Ei as f,
3124
+ Hi as d,
3125
+ Wi as e,
3126
+ Ti as f,
3126
3127
  qt as g,
3127
3128
  ut as h,
3128
3129
  At as i,
@@ -3132,10 +3133,10 @@ export {
3132
3133
  pt as m,
3133
3134
  dt as n,
3134
3135
  Tt as o,
3135
- Wi as p,
3136
+ Di as p,
3136
3137
  oe as q,
3137
- Fi as r,
3138
- Mi as s,
3139
- Ii as t,
3138
+ Mi as r,
3139
+ Ii as s,
3140
+ Ei as t,
3140
3141
  ae as u
3141
3142
  };
@@ -2,7 +2,7 @@ import { n as i, C as g } from "./lib-cortex-element.CVMmyPMC.js";
2
2
  import { c as C } from "./component.styles.CRO4Odto.js";
3
3
  import { c as x } from "./custom-element.L4WJXn1j.js";
4
4
  import { F as w, v as $ } from "./form.DSsy3Fcy.js";
5
- import { L as S } from "./i18n.DbXTTLXx.js";
5
+ import { L as S } from "./i18n.BA19xtyU.js";
6
6
  import { H as L, g as O } from "./slot.j5oheLJC.js";
7
7
  import { w as y } from "./watch.DJF5K-8U.js";
8
8
  import { r as u } from "./state.CSDxrqLd.js";