@orangelogic/design-system 2.48.0 → 2.49.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 (189) hide show
  1. package/library/chunks/{amazon_s3.BB3xCgkt.js → amazon_s3.DeaMdPPn.js} +1 -1
  2. package/library/chunks/{animation.DPqSuC7g.js → animation.B7d72NVK.js} +2 -2
  3. package/library/chunks/{button.DQ1SyxmK.js → button.DCaz7tVb.js} +39 -33
  4. package/library/chunks/{button.styles.CRh5_Ev4.js → button.styles.C8AIO8fd.js} +1 -1
  5. package/library/chunks/{chatbot.D37AAQvv.js → chatbot.sm4Rph1v.js} +2 -2
  6. package/library/chunks/{class-map.DqNfBvJI.js → class-map.CoZTSvbM.js} +1 -1
  7. package/library/chunks/{color-swatch-group.DN7t4a6b.js → color-swatch-group.18TICCVX.js} +16 -13
  8. package/library/chunks/{color-swatch.CyN0Rfwc.js → color-swatch.BVFmLzfK.js} +9 -9
  9. package/library/chunks/{component.styles.DtouHn2g.js → component.styles.CI-v8BZa.js} +1 -1
  10. package/library/chunks/{confirm-popover.CFrckJqd.js → confirm-popover.BvRVjl2b.js} +6 -6
  11. package/library/chunks/{cropper.CfSeVI5y.js → cropper.aA0v16xS.js} +3 -3
  12. package/library/chunks/{custom-element.fmLrnDZr.js → custom-element.vnXBMQxc.js} +17 -11
  13. package/library/chunks/{default-value.BrNrMtnz.js → default-value.CIKAvD5l.js} +1 -1
  14. package/library/chunks/{dialog.B1-k8d10.js → dialog.Cj9XqgFc.js} +26 -23
  15. package/library/chunks/{directive-helpers.D78ZFDYN.js → directive-helpers.DBHob-_L.js} +1 -1
  16. package/library/chunks/{dom.DDszM5Cy.js → dom.CaZCTJCL.js} +1 -1
  17. package/library/chunks/{dot-pagination.Ci2f-RDI.js → dot-pagination.Bl8K-G8Q.js} +5 -5
  18. package/library/chunks/{file-on-demand.DKBPqNSf.js → file-on-demand.BQR4rKDc.js} +15 -15
  19. package/library/chunks/{folder-select.BY9NfYq8.js → folder-select.ez3fKPUF.js} +10 -10
  20. package/library/chunks/{form-control.styles.j0hNjZTU.js → form-control.styles.NE2Q-quE.js} +1 -1
  21. package/library/chunks/{form.BY8-x3IU.js → form.DycFDdkp.js} +1 -1
  22. package/library/chunks/{guard.L-Ctqt3S.js → guard.BDP4A85K.js} +1 -1
  23. package/library/chunks/{header.55H9vN7t.js → header.BZiLoNKd.js} +8 -8
  24. package/library/chunks/{hub-connection.BiLljnv2.js → hub-connection.CxfaT11o.js} +2 -2
  25. package/library/chunks/{if-defined.CKupVaWs.js → if-defined.MfEgpxEN.js} +1 -1
  26. package/library/chunks/{iframe.BYMxR3Sc.js → iframe.BULqQVyL.js} +4 -4
  27. package/library/chunks/{image.qBD2O7kA.js → image.CRz6QPaa.js} +42 -39
  28. package/library/chunks/{list-editor.BT8jyXOn.js → list-editor.c__KOqBj.js} +11 -11
  29. package/library/chunks/{live.DCdtYl87.js → live.LdB9xEhp.js} +2 -2
  30. package/library/chunks/{mailchimp.ZMIYWF8f.js → mailchimp.BjbPJfd-.js} +1 -1
  31. package/library/chunks/{option.DrGgLWa5.js → option.Bx0TQ3Aw.js} +4 -4
  32. package/library/chunks/{orangelogic.B9VE3Ocx.js → orangelogic.BgbQXkBv.js} +1 -1
  33. package/library/chunks/{overlayscrollbars.BhATcEys.js → overlayscrollbars.aFuRG5Rs.js} +1 -1
  34. package/library/chunks/{popup.dmeEbJcf.js → popup.DjWAljHx.js} +99 -99
  35. package/library/chunks/{ref.BDmlFGTP.js → ref.BaCjlzLO.js} +2 -2
  36. package/library/chunks/{repeat.B1pVpmRx.js → repeat.CauKaXyy.js} +2 -2
  37. package/library/chunks/{select.Bc4UXmFy.js → select.kCK7Ljie.js} +11 -11
  38. package/library/chunks/{state.Dt9F_SuS.js → state.Cw55xXlb.js} +1 -1
  39. package/library/chunks/{static.kLXgh3Gq.js → static.BjNkqt7_.js} +1 -1
  40. package/library/chunks/{style-map.lEJHEwk3.js → style-map.CZovMmo_.js} +1 -1
  41. package/library/chunks/{tab-group.BHNXl1XO.js → tab-group.D5JZyPZM.js} +8 -8
  42. package/library/chunks/{table.CNDxXSQ-.js → table.D_DSVLyS.js} +11 -11
  43. package/library/chunks/{timecode.DYwU2oVN.js → timecode.D4_FNCCI.js} +4 -4
  44. package/library/chunks/{tree.CwqbM4ad.js → tree.DmH2Ckn-.js} +22 -21
  45. package/library/chunks/{typography.trna8y2b.js → typography.BFpl0WMA.js} +2 -2
  46. package/library/chunks/{unsafe-html.BpqikVtf.js → unsafe-html.DyO9_Rsq.js} +1 -1
  47. package/library/components/alert.js +4 -4
  48. package/library/components/animated-image.js +3 -3
  49. package/library/components/animation.js +3 -3
  50. package/library/components/asset-link-format.js +89 -80
  51. package/library/components/atoms.js +18 -18
  52. package/library/components/avatar.js +4 -4
  53. package/library/components/badge.js +3 -3
  54. package/library/components/bicolor-picker.js +3 -3
  55. package/library/components/border-input-group.js +2 -2
  56. package/library/components/breadcrumb-item.js +5 -5
  57. package/library/components/breadcrumb.js +2 -2
  58. package/library/components/button-group.js +3 -3
  59. package/library/components/button.js +9 -9
  60. package/library/components/card.js +3 -3
  61. package/library/components/checkbox.js +9 -9
  62. package/library/components/color-picker.js +10 -10
  63. package/library/components/color-swatch-group.js +13 -13
  64. package/library/components/color-swatch.js +10 -10
  65. package/library/components/confirm-popover.js +7 -7
  66. package/library/components/copy-button.js +4 -4
  67. package/library/components/corner-position-input-group.js +4 -4
  68. package/library/components/cropper.js +4 -4
  69. package/library/components/details.js +7 -4
  70. package/library/components/dialog.js +9 -9
  71. package/library/components/divider.js +2 -2
  72. package/library/components/dot-pagination.js +6 -6
  73. package/library/components/dot-status.js +3 -3
  74. package/library/components/drawer.js +11 -11
  75. package/library/components/dropdown.js +7 -10
  76. package/library/components/dynamic-select.js +7 -7
  77. package/library/components/element-clamp.js +5 -5
  78. package/library/components/file-on-demand.js +15 -15
  79. package/library/components/folder-select.js +6 -6
  80. package/library/components/format-bytes.js +1 -1
  81. package/library/components/format-date.js +1 -1
  82. package/library/components/format-number.js +1 -1
  83. package/library/components/format-time.js +3 -3
  84. package/library/components/grid-item.js +3 -3
  85. package/library/components/grid.js +4 -4
  86. package/library/components/header.js +6 -6
  87. package/library/components/hub-connection.js +3 -3
  88. package/library/components/icon-button.js +15 -12
  89. package/library/components/icon.js +8 -8
  90. package/library/components/iframe.js +5 -5
  91. package/library/components/image-comparer.js +4 -4
  92. package/library/components/image.js +8 -8
  93. package/library/components/include.js +2 -2
  94. package/library/components/input-group.js +3 -3
  95. package/library/components/input.js +25 -25
  96. package/library/components/line-clamp.js +5 -5
  97. package/library/components/list-editor.js +11 -11
  98. package/library/components/markdown.js +3 -3
  99. package/library/components/masonry.js +43 -43
  100. package/library/components/menu-item.js +10 -8
  101. package/library/components/menu-label.js +2 -2
  102. package/library/components/menu-section.js +2 -2
  103. package/library/components/menu.js +3 -3
  104. package/library/components/molecules.js +5 -5
  105. package/library/components/mutation-observer.js +2 -2
  106. package/library/components/option.js +5 -5
  107. package/library/components/organisms.js +2 -2
  108. package/library/components/padding-input-group.js +3 -3
  109. package/library/components/pagination.js +9 -9
  110. package/library/components/popup.js +4 -4
  111. package/library/components/position-picker.js +2 -2
  112. package/library/components/progress-bar.js +5 -5
  113. package/library/components/progress-ring.js +3 -3
  114. package/library/components/qr-code.js +3 -3
  115. package/library/components/radio-button.js +7 -7
  116. package/library/components/radio-card.js +4 -4
  117. package/library/components/radio-group.js +8 -8
  118. package/library/components/radio.js +4 -4
  119. package/library/components/range.js +13 -13
  120. package/library/components/rating.js +7 -7
  121. package/library/components/relative-time.js +2 -2
  122. package/library/components/resize-observer.js +2 -2
  123. package/library/components/select.js +12 -12
  124. package/library/components/shadow-input-group.js +3 -3
  125. package/library/components/share-option-list.js +17 -17
  126. package/library/components/sidebar.js +4 -4
  127. package/library/components/size-input-group.js +5 -5
  128. package/library/components/skeleton.js +3 -3
  129. package/library/components/space.js +2 -2
  130. package/library/components/spinner.js +2 -2
  131. package/library/components/split-panel.js +19 -16
  132. package/library/components/step.js +4 -4
  133. package/library/components/stepper-wizard.js +4 -4
  134. package/library/components/stepper.js +4 -4
  135. package/library/components/switch.js +9 -9
  136. package/library/components/tab-group.js +9 -9
  137. package/library/components/tab-panel.js +3 -3
  138. package/library/components/tab.js +3 -3
  139. package/library/components/table.js +6 -6
  140. package/library/components/tag.js +3 -3
  141. package/library/components/textarea.js +9 -9
  142. package/library/components/timecode.js +5 -5
  143. package/library/components/tooltip.js +25 -22
  144. package/library/components/tree-item.js +7 -7
  145. package/library/components/tree.js +4 -4
  146. package/library/components/typeface.js +5 -5
  147. package/library/components/types.js +2900 -2890
  148. package/library/components/typography.js +3 -3
  149. package/library/components/video.js +8 -5
  150. package/library/components/visually-hidden.js +2 -2
  151. package/library/package.json +1 -1
  152. package/library/packages/atoms/src/components/button/button.d.ts +4 -0
  153. package/library/packages/atoms/src/components/details/details.d.ts +1 -0
  154. package/library/packages/atoms/src/components/dialog/dialog.d.ts +1 -0
  155. package/library/packages/atoms/src/components/drawer/drawer.d.ts +1 -1
  156. package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +1 -2
  157. package/library/packages/atoms/src/components/header/header.d.ts +1 -1
  158. package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +3 -1
  159. package/library/packages/atoms/src/components/image/image.d.ts +1 -0
  160. package/library/packages/atoms/src/components/input/input.d.ts +1 -1
  161. package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +1 -1
  162. package/library/packages/atoms/src/components/popup/popup.d.ts +1 -1
  163. package/library/packages/atoms/src/components/split-panel/split-panel.d.ts +1 -0
  164. package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +1 -0
  165. package/library/packages/atoms/src/components/tree/tree.d.ts +1 -1
  166. package/library/packages/atoms/src/components/video/video.d.ts +1 -0
  167. package/library/packages/base/src/cortex-element.d.ts +2 -0
  168. package/library/packages/molecules/src/3d-viewer/3d-viewer.d.ts +1 -5
  169. package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.d.ts +1 -1
  170. package/library/packages/molecules/src/masonry/masonry.d.ts +1 -1
  171. package/library/packages/molecules/src/page-outline/page-outline.d.ts +1 -1
  172. package/library/packages/molecules/src/search-box/search-box.d.ts +1 -0
  173. package/library/packages/molecules/src/share-option-list/share-option-list.d.ts +2 -2
  174. package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +1 -1
  175. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +1 -0
  176. package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +1 -1
  177. package/library/packages/organisms/src/carousel/carousel.d.ts +2 -1
  178. package/library/packages/organisms/src/cluster-management/cluster-management.d.ts +1 -0
  179. package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +1 -0
  180. package/library/packages/organisms/src/comment/components/comment-menu/comment-menu.d.ts +1 -1
  181. package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +1 -2
  182. package/library/packages/organisms/src/content-builder/content-builder.d.ts +1 -1
  183. package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +1 -0
  184. package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/rte-image-viewer.d.ts +1 -0
  185. package/library/packages/organisms/src/video-editor/components/video-editor-timeline/video-editor-timeline.d.ts +1 -0
  186. package/library/packages/organisms/src/video-editor/components/video-editor-track/video-editor-track.d.ts +1 -1
  187. package/library/packages/organisms/src/video-editor/components/video-editor-tracks/video-editor-tracks.d.ts +1 -1
  188. package/library/packages/organisms/src/video-editor/video-editor.d.ts +1 -1
  189. package/package.json +1 -1
@@ -1,24 +1,24 @@
1
1
  import G from "../components/icon.js";
2
2
  import Z from "../components/input.js";
3
- import { C as J } from "./select.Bc4UXmFy.js";
4
- import { C as x, a as K } from "./tree.CwqbM4ad.js";
5
- import { n as r, C as I, x as f, c as w, i as X } from "./custom-element.fmLrnDZr.js";
3
+ import { C as J } from "./select.kCK7Ljie.js";
4
+ import { C as x, a as K } from "./tree.DmH2Ckn-.js";
5
+ import { n as r, C as I, x as f, c as w, i as X } from "./custom-element.vnXBMQxc.js";
6
6
  import { h as k, F as Y, b as A } from "./endpoints.BgyupJys.js";
7
- import { c as R } from "./component.styles.DtouHn2g.js";
7
+ import { c as R } from "./component.styles.CI-v8BZa.js";
8
8
  import { L as V } from "./i18n.CXUGdxzx.js";
9
9
  import { w as m } from "./watch.BCJD77bD.js";
10
- import { r as y } from "./state.Dt9F_SuS.js";
10
+ import { r as y } from "./state.Cw55xXlb.js";
11
11
  import { e as B } from "./query.BBf1UFkC.js";
12
12
  import { r as ee } from "./choose.BTbF6BAn.js";
13
- import { C as q } from "./button.DQ1SyxmK.js";
14
- import { d as te } from "./popup.dmeEbJcf.js";
15
- import { o as S } from "./if-defined.CKupVaWs.js";
16
- import { c as W } from "./repeat.B1pVpmRx.js";
13
+ import { C as q } from "./button.DCaz7tVb.js";
14
+ import { d as te } from "./popup.DjWAljHx.js";
15
+ import { o as S } from "./if-defined.MfEgpxEN.js";
16
+ import { c as W } from "./repeat.CauKaXyy.js";
17
17
  import { n as O } from "./when.Dr1es41R.js";
18
18
  import re from "../components/line-clamp.js";
19
19
  import se from "../components/space.js";
20
20
  import { M } from "./asset-link-format.BSRDqHg7.js";
21
- import { e as ae } from "./class-map.DqNfBvJI.js";
21
+ import { e as ae } from "./class-map.CoZTSvbM.js";
22
22
  var v = /* @__PURE__ */ ((e) => (e.CortexPath = "Document.CortexPath", e.DocType = "CoreField.DocType", e.HasBrowserChildren = "Document.HasBrowserChildren", e.RepresentativeAssetId = "Document.DocumentDirectRepresentativeRID", e.TitleWithFallback = "CoreField.TitleWithFallback", e))(v || {});
23
23
  const le = 50;
24
24
  async function U({
@@ -1,4 +1,4 @@
1
- import { i as o } from "./custom-element.fmLrnDZr.js";
1
+ import { i as o } from "./custom-element.vnXBMQxc.js";
2
2
  const t = o`
3
3
  .form-control .form-control__label {
4
4
  display: none;
@@ -1,4 +1,4 @@
1
- import { s as m } from "./dom.DDszM5Cy.js";
1
+ import { s as m } from "./dom.CaZCTJCL.js";
2
2
  const n = /* @__PURE__ */ new WeakMap(), h = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakSet(), f = /* @__PURE__ */ new WeakMap();
3
3
  class v {
4
4
  constructor(e, s) {
@@ -1,4 +1,4 @@
1
- import { T as t } from "./custom-element.fmLrnDZr.js";
1
+ import { T as t } from "./custom-element.vnXBMQxc.js";
2
2
  import { e as a, i as n } from "./directive.oAbCiebi.js";
3
3
  /**
4
4
  * @license
@@ -1,13 +1,13 @@
1
1
  import k from "../components/copy-button.js";
2
- import { i as u, n as c, C as b, c as x } from "./custom-element.fmLrnDZr.js";
3
- import { c as v } from "./component.styles.DtouHn2g.js";
2
+ import { i as u, n as c, C as b, c as x } from "./custom-element.vnXBMQxc.js";
3
+ import { c as v } from "./component.styles.CI-v8BZa.js";
4
4
  import { L as y } from "./i18n.CXUGdxzx.js";
5
5
  import { w } from "./watch.BCJD77bD.js";
6
6
  import { e as m } from "./query.BBf1UFkC.js";
7
- import { e as g } from "./class-map.DqNfBvJI.js";
8
- import { o as P } from "./style-map.lEJHEwk3.js";
7
+ import { e as g } from "./class-map.CoZTSvbM.js";
8
+ import { o as P } from "./style-map.CZovMmo_.js";
9
9
  import { n as z } from "./when.Dr1es41R.js";
10
- import { i as l, u as h } from "./static.kLXgh3Gq.js";
10
+ import { i as l, u as h } from "./static.BjNkqt7_.js";
11
11
  const C = u`
12
12
  .column-resize-handle {
13
13
  background-color: var(--editor-table-resize-handle-color);
@@ -639,12 +639,12 @@ let o = class extends b {
639
639
  return this.hasAnchorLink && (this.anchorLink || this.textContent?.trim().replace(/\s+/g, "-").toLowerCase()) || "";
640
640
  }
641
641
  runFirstUpdated() {
642
- this.addEventListener("click", this.handleClick), setTimeout(() => {
642
+ setTimeout(() => {
643
643
  this.scrollToAnchor();
644
644
  }, 200);
645
645
  }
646
- connectedCallback() {
647
- super.connectedCallback(), this.setAttribute("role", "heading"), this.hasAnchorLink && (this.ownerWindow.addEventListener("hashchange", this.scrollToAnchor), this.ownerWindow.addEventListener(
646
+ runConnectedCallback() {
647
+ this.addEventListener("click", this.handleClick), this.setAttribute("role", "heading"), this.hasAnchorLink && (this.ownerWindow.addEventListener("hashchange", this.scrollToAnchor), this.ownerWindow.addEventListener(
648
648
  "cx-cms5-page-ready",
649
649
  this.handleCMS5PageReady,
650
650
  {
@@ -1,6 +1,6 @@
1
- import { C as K, n as T, c as X } from "./custom-element.fmLrnDZr.js";
1
+ import { C as K, n as T, c as X } from "./custom-element.vnXBMQxc.js";
2
2
  import { w as J } from "./watch.BCJD77bD.js";
3
- import { r as F } from "./state.Dt9F_SuS.js";
3
+ import { r as F } from "./state.Cw55xXlb.js";
4
4
  class v extends Error {
5
5
  /** Constructs a new instance of {@link @microsoft/signalr.HttpError}.
6
6
  *
@@ -1,4 +1,4 @@
1
- import { E as r } from "./custom-element.fmLrnDZr.js";
1
+ import { E as r } from "./custom-element.vnXBMQxc.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2018 Google LLC
@@ -1,10 +1,10 @@
1
- import { i as d, n as r, C as h, x as p, c as y } from "./custom-element.fmLrnDZr.js";
2
- import { c as u } from "./component.styles.DtouHn2g.js";
1
+ import { i as d, n as r, C as h, x as p, c as y } from "./custom-element.vnXBMQxc.js";
2
+ import { c as u } from "./component.styles.CI-v8BZa.js";
3
3
  import { L as g } from "./i18n.CXUGdxzx.js";
4
4
  import { w as v } from "./watch.BCJD77bD.js";
5
5
  import { e as b } from "./query.BBf1UFkC.js";
6
- import { e as x } from "./class-map.DqNfBvJI.js";
7
- import { o as f } from "./if-defined.CKupVaWs.js";
6
+ import { e as x } from "./class-map.CoZTSvbM.js";
7
+ import { o as f } from "./if-defined.MfEgpxEN.js";
8
8
  import { n as w } from "./when.Dr1es41R.js";
9
9
  var m = /* @__PURE__ */ ((a) => (a.Eager = "eager", a.Lazy = "lazy", a))(m || {});
10
10
  const _ = d`
@@ -1,18 +1,18 @@
1
- import { C as Le, n as c, x as T, i as se, E as Re, c as He } from "./custom-element.fmLrnDZr.js";
2
- import { r as H } from "./state.Dt9F_SuS.js";
3
- import { e as q } from "./query.BBf1UFkC.js";
1
+ import { C as Le, n as c, x as T, i as se, E as Re, c as He } from "./custom-element.vnXBMQxc.js";
2
+ import { r as H } from "./state.Cw55xXlb.js";
3
+ import { e as X } from "./query.BBf1UFkC.js";
4
4
  import { E as $e, b as de, a as We } from "./index.Cpamj0jB.js";
5
- import { c as Ae } from "./component.styles.DtouHn2g.js";
6
- import { C as Oe, d as Me } from "./popup.dmeEbJcf.js";
5
+ import { c as Ae } from "./component.styles.CI-v8BZa.js";
6
+ import { C as Oe, d as Me } from "./popup.DjWAljHx.js";
7
7
  import { L as De } from "./i18n.CXUGdxzx.js";
8
- import { w as X } from "./watch.BCJD77bD.js";
9
- import { e as j } from "./class-map.DqNfBvJI.js";
10
- import { o as je } from "./if-defined.CKupVaWs.js";
11
- import { o as Te } from "./style-map.lEJHEwk3.js";
8
+ import { w as q } from "./watch.BCJD77bD.js";
9
+ import { e as j } from "./class-map.CoZTSvbM.js";
10
+ import { o as je } from "./if-defined.MfEgpxEN.js";
11
+ import { o as Te } from "./style-map.CZovMmo_.js";
12
12
  import { n as V } from "./when.Dr1es41R.js";
13
13
  import Be from "../components/icon.js";
14
- import Ie from "../components/resize-observer.js";
15
- import Ze from "../components/skeleton.js";
14
+ import Ze from "../components/resize-observer.js";
15
+ import Ie from "../components/skeleton.js";
16
16
  import Ne from "../components/space.js";
17
17
  var Pe = /* @__PURE__ */ ((e) => (e.Bottom = "bottom", e.BottomCenter = "bottom-center", e.BottomLeft = "bottom-left", e.BottomRight = "bottom-right", e.CenterCenter = "center-center", e.CenterLeft = "center-left", e.CenterRight = "center-right", e.Left = "left", e.Right = "right", e.Top = "top", e.TopCenter = "top-center", e.TopLeft = "top-left", e.TopRight = "top-right", e))(Pe || {}), Y = /* @__PURE__ */ ((e) => (e.Jump = "jump", e.None = "none", e.TextReveal = "text-reveal", e.Zoom = "zoom", e))(Y || {}), ge = /* @__PURE__ */ ((e) => (e.PopOut = "pop-out", e.WithinBorders = "within-borders", e))(ge || {}), ue = /* @__PURE__ */ ((e) => (e.Fade = "fade", e.Slide = "slide", e))(ue || {}), ne = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Fixed = "fixed", e))(ne || {}), Ve = Object.defineProperty, E = (e, t, o, h) => {
18
18
  for (var r = void 0, g = e.length - 1, p; g >= 0; g--)
@@ -52,7 +52,7 @@ class S extends Le {
52
52
  }
53
53
  }
54
54
  E([
55
- q("slot")
55
+ X("slot")
56
56
  ], S.prototype, "slotEl");
57
57
  E([
58
58
  c({ attribute: "has-event", reflect: !0, type: Boolean })
@@ -169,7 +169,7 @@ class A extends S {
169
169
  event: t
170
170
  }
171
171
  });
172
- const I = ($) => {
172
+ const Z = ($) => {
173
173
  g = Number(C.width) + (o ? r.x - $.pageX : $.pageX - r.x), p = Number(C.height) + (h ? r.y - $.pageY : $.pageY - r.y), this.keepRatio && (p >= g / this.ratio && (p = g / this.ratio), g >= p * this.ratio && (g = p * this.ratio));
174
174
  let f = g, v = p;
175
175
  if (this.keepRatio) {
@@ -182,7 +182,7 @@ class A extends S {
182
182
  height: Math.round(v),
183
183
  width: Math.round(f)
184
184
  }, this.keepRatio ? (this.minHeight && this.resizeSize.height < this.minHeight && (this.resizeSize.height = this.minHeight, this.resizeSize.width = Math.round(this.minHeight * this.ratio)), this.minWidth && this.resizeSize.width < this.minWidth && (this.resizeSize.width = this.minWidth, this.resizeSize.height = Math.round(this.minWidth / this.ratio))) : (this.minHeight && this.resizeSize.height < this.minHeight && (this.resizeSize.height = this.minHeight), this.minWidth && this.resizeSize.width < this.minWidth && (this.resizeSize.width = this.minWidth));
185
- }, Z = ($) => {
185
+ }, I = ($) => {
186
186
  if (g > 0 && p > 0) {
187
187
  let f = g, v = p;
188
188
  if (this.keepRatio) {
@@ -203,13 +203,13 @@ class A extends S {
203
203
  }
204
204
  }), this.ownerDocument.defaultView?.removeEventListener(
205
205
  "mousemove",
206
- I
206
+ Z
207
207
  );
208
208
  };
209
209
  this.ownerDocument.defaultView?.addEventListener(
210
210
  "mousemove",
211
- I
212
- ), this.ownerDocument.defaultView?.addEventListener("mouseup", Z, {
211
+ Z
212
+ ), this.ownerDocument.defaultView?.addEventListener("mouseup", I, {
213
213
  once: !0
214
214
  });
215
215
  }
@@ -247,7 +247,7 @@ class A extends S {
247
247
  }
248
248
  }
249
249
  O([
250
- q('[part="base"]')
250
+ X('[part="base"]')
251
251
  ], A.prototype, "containingElement");
252
252
  O([
253
253
  c({ reflect: !0, type: String })
@@ -335,9 +335,9 @@ See: https://github.com/francoischalifour/medium-zoom`);
335
335
  }, Ye = function(t) {
336
336
  var o = document.createElement("div");
337
337
  return o.classList.add("medium-zoom-overlay"), o.style.background = t, o;
338
- }, Xe = function(t) {
339
- var o = t.getBoundingClientRect(), h = o.top, r = o.left, g = o.width, p = o.height, C = t.cloneNode(), I = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0, Z = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0;
340
- return C.removeAttribute("id"), C.style.position = "absolute", C.style.top = h + I + "px", C.style.left = r + Z + "px", C.style.width = g + "px", C.style.height = p + "px", C.style.transform = "", C;
338
+ }, qe = function(t) {
339
+ var o = t.getBoundingClientRect(), h = o.top, r = o.left, g = o.width, p = o.height, C = t.cloneNode(), Z = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0, I = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0;
340
+ return C.removeAttribute("id"), C.style.position = "absolute", C.style.top = h + Z + "px", C.style.left = r + I + "px", C.style.width = g + "px", C.style.height = p + "px", C.style.transform = "", C;
341
341
  }, F = function(t, o) {
342
342
  var h = B({
343
343
  bubbles: !1,
@@ -348,7 +348,7 @@ See: https://github.com/francoischalifour/medium-zoom`);
348
348
  return new CustomEvent(t, h);
349
349
  var r = document.createEvent("CustomEvent");
350
350
  return r.initCustomEvent(t, h.bubbles, h.cancelable, h.detail), r;
351
- }, qe = function e(t) {
351
+ }, Xe = function e(t) {
352
352
  var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, h = window.Promise || function(a) {
353
353
  function n() {
354
354
  }
@@ -379,10 +379,10 @@ See: https://github.com/francoischalifour/medium-zoom`);
379
379
  detail: { zoom: b }
380
380
  }));
381
381
  }), b;
382
- }, I = function() {
382
+ }, Z = function() {
383
383
  var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
384
384
  return e(B({}, d, a));
385
- }, Z = function() {
385
+ }, I = function() {
386
386
  for (var a = arguments.length, n = Array(a), u = 0; u < a; u++)
387
387
  n[u] = arguments[u];
388
388
  var z = n.reduce(function(s, w) {
@@ -475,7 +475,7 @@ See: https://github.com/francoischalifour/medium-zoom`);
475
475
  }
476
476
  if (i.original.dispatchEvent(F("medium-zoom:open", {
477
477
  detail: { zoom: b }
478
- })), he = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0, N = !0, i.zoomed = Xe(i.original), document.body.appendChild(J), d.template) {
478
+ })), he = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0, N = !0, i.zoomed = qe(i.original), document.body.appendChild(J), d.template) {
479
479
  var W = ee(d.template) ? d.template : document.querySelector(d.template);
480
480
  i.template = document.createElement("div"), i.template.appendChild(W.content.cloneNode(!0)), document.body.appendChild(i.template);
481
481
  }
@@ -527,7 +527,7 @@ See: https://github.com/francoischalifour/medium-zoom`);
527
527
  template: null
528
528
  // If the selector is omitted, it's replaced by the options
529
529
  };
530
- Object.prototype.toString.call(t) === "[object Object]" ? d = t : (t || typeof t == "string") && Z(t), d = B({
530
+ Object.prototype.toString.call(t) === "[object Object]" ? d = t : (t || typeof t == "string") && I(t), d = B({
531
531
  margin: 0,
532
532
  background: "#fff",
533
533
  scrollOffset: 40,
@@ -541,8 +541,8 @@ See: https://github.com/francoischalifour/medium-zoom`);
541
541
  close: y,
542
542
  toggle: R,
543
543
  update: C,
544
- clone: I,
545
- attach: Z,
544
+ clone: Z,
545
+ attach: I,
546
546
  detach: $,
547
547
  on: f,
548
548
  off: v,
@@ -980,6 +980,9 @@ let l = class extends A {
980
980
  runFirstUpdated() {
981
981
  this.theme = this.getTheme();
982
982
  }
983
+ runConnectedCallback() {
984
+ this.hasUpdated && this.requestUpdate("canZoom");
985
+ }
983
986
  disconnectedCallback() {
984
987
  super.disconnectedCallback(), this.zoom && this.zoom.detach();
985
988
  }
@@ -1014,7 +1017,7 @@ let l = class extends A {
1014
1017
  this.isLoaded = !1, this.isError = !1;
1015
1018
  }
1016
1019
  async initZoom() {
1017
- this.zoomImageElement && !this.zoom && this.isLoaded && (this.zoom = qe(this.zoomImageElement, {
1020
+ this.zoomImageElement && !this.zoom && this.isLoaded && (this.zoom = Xe(this.zoomImageElement, {
1018
1021
  background: "light-dark(rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.8))",
1019
1022
  margin: 0,
1020
1023
  scrollOffset: 0
@@ -1183,18 +1186,18 @@ l.styles = [Ae, _e, Qe];
1183
1186
  l.dependencies = {
1184
1187
  "cx-icon": Be,
1185
1188
  "cx-popup": Oe,
1186
- "cx-resize-observer": Ie,
1187
- "cx-skeleton": Ze,
1189
+ "cx-resize-observer": Ze,
1190
+ "cx-skeleton": Ie,
1188
1191
  "cx-space": Ne
1189
1192
  };
1190
1193
  m([
1191
- q(".image")
1194
+ X(".image")
1192
1195
  ], l.prototype, "imageElement", 2);
1193
1196
  m([
1194
- q(".zoom-image")
1197
+ X(".zoom-image")
1195
1198
  ], l.prototype, "zoomImageElement", 2);
1196
1199
  m([
1197
- q(".highlighter")
1200
+ X(".highlighter")
1198
1201
  ], l.prototype, "highlighterElement", 2);
1199
1202
  m([
1200
1203
  H()
@@ -1248,15 +1251,15 @@ m([
1248
1251
  H()
1249
1252
  ], l.prototype, "parsedAltDarkMode", 2);
1250
1253
  m([
1251
- X("isLoaded"),
1252
- X("canZoom", { waitUntilFirstUpdate: !0 })
1254
+ q("isLoaded"),
1255
+ q("canZoom", { waitUntilFirstUpdate: !0 })
1253
1256
  ], l.prototype, "handleCanZoomChange", 1);
1254
1257
  m([
1255
- X("objectFit", { waitUntilFirstUpdate: !0 })
1258
+ q("objectFit", { waitUntilFirstUpdate: !0 })
1256
1259
  ], l.prototype, "handleObjectFitChange", 1);
1257
1260
  m([
1258
- X("src"),
1259
- X("srcDarkMode")
1261
+ q("src"),
1262
+ q("srcDarkMode")
1260
1263
  ], l.prototype, "handleSrcChange", 1);
1261
1264
  m([
1262
1265
  Me(100)
@@ -1,5 +1,5 @@
1
- import { C as _ } from "./button.DQ1SyxmK.js";
2
- import { C as z } from "./dialog.B1-k8d10.js";
1
+ import { C as _ } from "./button.DCaz7tVb.js";
2
+ import { C as z } from "./dialog.Cj9XqgFc.js";
3
3
  import M from "../components/grid.js";
4
4
  import q from "../components/grid-item.js";
5
5
  import C from "../components/input.js";
@@ -7,22 +7,22 @@ import T from "../components/line-clamp.js";
7
7
  import R from "../components/radio.js";
8
8
  import O from "../components/radio-group.js";
9
9
  import $ from "../components/space.js";
10
- import { C as P, H as k } from "./table.CNDxXSQ-.js";
11
- import { C as I } from "./typography.trna8y2b.js";
12
- import { i as A, n, C as w, x as l, c as E } from "./custom-element.fmLrnDZr.js";
13
- import { c as D } from "./component.styles.DtouHn2g.js";
14
- import { d as F } from "./popup.dmeEbJcf.js";
10
+ import { C as P, H as k } from "./table.D_DSVLyS.js";
11
+ import { C as I } from "./typography.BFpl0WMA.js";
12
+ import { i as A, n, C as w, x as l, c as E } from "./custom-element.vnXBMQxc.js";
13
+ import { c as D } from "./component.styles.CI-v8BZa.js";
14
+ import { d as F } from "./popup.DjWAljHx.js";
15
15
  import { L as S } from "./i18n.CXUGdxzx.js";
16
16
  import { w as g } from "./watch.BCJD77bD.js";
17
- import { r as x } from "./state.Dt9F_SuS.js";
17
+ import { r as x } from "./state.Cw55xXlb.js";
18
18
  import { e as b } from "./query.BBf1UFkC.js";
19
19
  import { r as j } from "./choose.BTbF6BAn.js";
20
- import { e as L } from "./class-map.DqNfBvJI.js";
21
- import { c as y } from "./repeat.B1pVpmRx.js";
20
+ import { e as L } from "./class-map.CoZTSvbM.js";
21
+ import { c as y } from "./repeat.CauKaXyy.js";
22
22
  import { n as m } from "./when.Dr1es41R.js";
23
23
  import { t as B } from "./toString.CL_lYXbK.js";
24
24
  import H from "../components/icon-button.js";
25
- import { C as N } from "./image.qBD2O7kA.js";
25
+ import { C as N } from "./image.CRz6QPaa.js";
26
26
  import { t as U, a as G, D as v } from "./asset.Ba-CxnNM.js";
27
27
  import { a as V } from "./index.Cpamj0jB.js";
28
28
  import { A as u } from "./content-builder.UlVFSATk.js";
@@ -1,6 +1,6 @@
1
- import { T as n, E as s } from "./custom-element.fmLrnDZr.js";
1
+ import { T as n, E as s } from "./custom-element.vnXBMQxc.js";
2
2
  import { e as T, i as f, t } from "./directive.oAbCiebi.js";
3
- import { f as l, m as p } from "./directive-helpers.D78ZFDYN.js";
3
+ import { f as l, m as p } from "./directive-helpers.DBHob-_L.js";
4
4
  /**
5
5
  * @license
6
6
  * Copyright 2020 Google LLC
@@ -1,4 +1,4 @@
1
- import { x as s } from "./custom-element.fmLrnDZr.js";
1
+ import { x as s } from "./custom-element.vnXBMQxc.js";
2
2
  const m = {
3
3
  svg: s`<svg
4
4
  xmlns="http://www.w3.org/2000/svg"
@@ -1,10 +1,10 @@
1
- import { i as x, n as r, C as v, x as h, c as m } from "./custom-element.fmLrnDZr.js";
2
- import { c as g } from "./component.styles.DtouHn2g.js";
1
+ import { i as x, n as r, C as v, x as h, c as m } from "./custom-element.vnXBMQxc.js";
2
+ import { c as g } from "./component.styles.CI-v8BZa.js";
3
3
  import { L as b } from "./i18n.CXUGdxzx.js";
4
4
  import { w as d } from "./watch.BCJD77bD.js";
5
- import { r as f } from "./state.Dt9F_SuS.js";
5
+ import { r as f } from "./state.Cw55xXlb.js";
6
6
  import { e as _ } from "./query.BBf1UFkC.js";
7
- import { e as y } from "./class-map.DqNfBvJI.js";
7
+ import { e as y } from "./class-map.CoZTSvbM.js";
8
8
  import { n as u } from "./when.Dr1es41R.js";
9
9
  import k from "../components/icon.js";
10
10
  import w from "../components/space.js";
@@ -1,4 +1,4 @@
1
- import { x as C } from "./custom-element.fmLrnDZr.js";
1
+ import { x as C } from "./custom-element.vnXBMQxc.js";
2
2
  const t = {
3
3
  svg: C`<svg
4
4
  width="16"
@@ -1,4 +1,4 @@
1
- import { i as Ws } from "./custom-element.fmLrnDZr.js";
1
+ import { i as Ws } from "./custom-element.vnXBMQxc.js";
2
2
  const Qn = Ws`
3
3
  .os-size-observer,
4
4
  .os-size-observer-listener {