@esri/calcite-components 5.2.1-next.3 → 5.2.2

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 (173) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/{AWRQDF22.js → 2SO2Q4VA.js} +1 -1
  3. package/dist/cdn/{7KFK6UMQ.js → 2YSTLLLM.js} +1 -1
  4. package/dist/cdn/{POJ34CKO.js → 2ZIBL6D3.js} +1 -1
  5. package/dist/cdn/{MHL7SSC6.js → 37JC4JXK.js} +1 -1
  6. package/dist/cdn/{IGY3A42N.js → 3DT2WZNL.js} +1 -1
  7. package/dist/cdn/{FPU447H2.js → 3FWZ6M3G.js} +1 -1
  8. package/dist/cdn/{JKQVUBHH.js → 3O7UX2TC.js} +1 -1
  9. package/dist/cdn/{O3YUATA7.js → 3QUXG3PB.js} +1 -1
  10. package/dist/cdn/{7VFBNIEQ.js → 3XQF4GBB.js} +1 -1
  11. package/dist/cdn/{BV3G36AA.js → 3Z7ISXGS.js} +1 -1
  12. package/dist/cdn/{GGU7TV4F.js → 4FOMHT2A.js} +1 -1
  13. package/dist/cdn/{E6ZBXXZO.js → 4VXFBWWU.js} +1 -1
  14. package/dist/cdn/{4GP7Y2SJ.js → 5CRDUDHA.js} +1 -1
  15. package/dist/cdn/{PNZG7XVI.js → 5KX7M5XH.js} +1 -1
  16. package/dist/cdn/{MQJQXVDT.js → 5PXBZQII.js} +1 -1
  17. package/dist/cdn/{A2A6BPAO.js → 5SFO5ELV.js} +1 -1
  18. package/dist/cdn/{DSLFGBDZ.js → 5XUVQLRU.js} +1 -1
  19. package/dist/cdn/{AIVE2G3F.js → 622I6WWF.js} +1 -1
  20. package/dist/cdn/{5QMNF4NQ.js → 62NP3PUJ.js} +1 -1
  21. package/dist/cdn/{754YWHMD.js → 6BRZCIAQ.js} +1 -1
  22. package/dist/cdn/{4O2F7P2K.js → 6EKPNTCO.js} +1 -1
  23. package/dist/cdn/{7EDVIRNF.js → 6JQFAS3D.js} +1 -1
  24. package/dist/cdn/{US7OH74Z.js → 6MXOOY7Z.js} +1 -1
  25. package/dist/cdn/{5OCVOZWC.js → 6QBHF7CK.js} +1 -1
  26. package/dist/cdn/{ALN37MWW.js → 6WZ5PSYI.js} +1 -1
  27. package/dist/cdn/77OXAIUV.js +2 -0
  28. package/dist/cdn/{OC25ZSXR.js → 7CILGKX3.js} +1 -1
  29. package/dist/cdn/{66URCJRJ.js → 7D7MOOEW.js} +1 -1
  30. package/dist/cdn/{VWFXENR4.js → 7HRLYZS2.js} +1 -1
  31. package/dist/cdn/{QEHLFY6B.js → 7L2IAF6J.js} +1 -1
  32. package/dist/cdn/{M3PM3ZC5.js → 7MAE2O6N.js} +1 -1
  33. package/dist/cdn/{RN4N3S76.js → ABRI6LNP.js} +1 -1
  34. package/dist/cdn/{2BWFYMWU.js → B2Z54VLK.js} +1 -1
  35. package/dist/cdn/{VM5EQZC2.js → BADV4PKN.js} +1 -1
  36. package/dist/cdn/BASTKHTS.js +2 -0
  37. package/dist/cdn/{NISQASUR.js → BGHV32ML.js} +1 -1
  38. package/dist/cdn/{S7AGZIOA.js → BLVSQQZQ.js} +1 -1
  39. package/dist/cdn/{QQQW3Q4O.js → BZCSFZFF.js} +1 -1
  40. package/dist/cdn/{NFCNTQQT.js → CHBBXKPH.js} +1 -1
  41. package/dist/cdn/{3LRQ2Q6N.js → CNZQDKPT.js} +1 -1
  42. package/dist/cdn/{QTN52AZZ.js → E77CZTJO.js} +1 -1
  43. package/dist/cdn/{WR4TIONE.js → EDWIAMUP.js} +1 -1
  44. package/dist/cdn/{XDGXIEBN.js → EHNJZIS6.js} +1 -1
  45. package/dist/cdn/{ZSWGWFDK.js → EM2TNNUS.js} +1 -1
  46. package/dist/cdn/{NPCPOUTG.js → EPZJDLSN.js} +1 -1
  47. package/dist/cdn/{PC5XT27S.js → EUUM5DDA.js} +1 -1
  48. package/dist/cdn/{CR5RLTY7.js → EXSFFITO.js} +1 -1
  49. package/dist/cdn/{QCRCWN75.js → F2R5CMMK.js} +1 -1
  50. package/dist/cdn/{VTZSAH53.js → F34ANYFH.js} +1 -1
  51. package/dist/cdn/{U2IAZX73.js → FPBGMQBN.js} +1 -1
  52. package/dist/cdn/{R5VP3JJ4.js → FR5Q3R3W.js} +1 -1
  53. package/dist/cdn/{2BC6XEQR.js → FVJY6CR3.js} +1 -1
  54. package/dist/cdn/{HFO7F2DK.js → GEY6EEXY.js} +1 -1
  55. package/dist/cdn/{BMFDHX5K.js → GF5KVJS5.js} +1 -1
  56. package/dist/cdn/{TX2XJPMN.js → GGSNMFIM.js} +1 -1
  57. package/dist/cdn/{57INRABK.js → GJIXOOG5.js} +1 -1
  58. package/dist/cdn/{DCPRVIOV.js → GLB2PEWG.js} +1 -1
  59. package/dist/cdn/{X33Q3HNC.js → GRRX6VUF.js} +1 -1
  60. package/dist/cdn/{BTXEZX2E.js → GUKKW7ZW.js} +1 -1
  61. package/dist/cdn/{EHODVFUU.js → GZVKTTOE.js} +1 -1
  62. package/dist/cdn/{JLD2TVF6.js → H5P3AUVV.js} +1 -1
  63. package/dist/cdn/{TG37NSVB.js → HDRL7LIM.js} +1 -1
  64. package/dist/cdn/{UWMSPEMD.js → HG57TSME.js} +1 -1
  65. package/dist/cdn/{BW3W2JV4.js → HZGZ25T5.js} +1 -1
  66. package/dist/cdn/{N4GQLOFC.js → I7TLQNFL.js} +1 -1
  67. package/dist/cdn/{RCKVR5UE.js → IDJR62Q5.js} +1 -1
  68. package/dist/cdn/{ZNF2XKRD.js → IJE7DZDU.js} +1 -1
  69. package/dist/cdn/{UG4ISMWE.js → IKJIQ35E.js} +1 -1
  70. package/dist/cdn/{JWTFDPZT.js → IXAWI2J7.js} +1 -1
  71. package/dist/cdn/{GOFJHC6K.js → J2OBBB6O.js} +1 -1
  72. package/dist/cdn/{UGUS6UV4.js → JAYHMGBA.js} +1 -1
  73. package/dist/cdn/{3DR6XUK2.js → JEWZ564S.js} +1 -1
  74. package/dist/cdn/{UBSGG3MZ.js → JIY4DRPK.js} +1 -1
  75. package/dist/cdn/{BW27WG4V.js → JSNI22GR.js} +1 -1
  76. package/dist/cdn/{CPFUUBDA.js → JVN677UQ.js} +1 -1
  77. package/dist/cdn/{GJRUBNCB.js → JWHRBKJQ.js} +1 -1
  78. package/dist/cdn/{OU3ELGWB.js → KGFRYZWM.js} +1 -1
  79. package/dist/cdn/{5B2CNALY.js → KKLZYJ2T.js} +1 -1
  80. package/dist/cdn/{PTOXQLN4.js → KMA4RT67.js} +1 -1
  81. package/dist/cdn/{GMXFPTA7.js → KR76TKGG.js} +1 -1
  82. package/dist/cdn/{2M32OB6Z.js → KV6FPDWF.js} +1 -1
  83. package/dist/cdn/{IWG6RMKN.js → L53GIXNB.js} +1 -1
  84. package/dist/cdn/{4ZSCQZAH.js → L6JDBYOW.js} +1 -1
  85. package/dist/cdn/{OZTYJIXS.js → LGFWWJOI.js} +1 -1
  86. package/dist/cdn/{VINTCRI4.js → M2PROFA4.js} +1 -1
  87. package/dist/cdn/{B77TO2FE.js → MA6JCEL7.js} +1 -1
  88. package/dist/cdn/{CITATLBN.js → MCEHOIJF.js} +1 -1
  89. package/dist/cdn/{ZWYX6TAE.js → MNDZL4G3.js} +1 -1
  90. package/dist/cdn/{CS4QQQQ6.js → MRCMIRNA.js} +1 -1
  91. package/dist/cdn/{U3YG6WDQ.js → MUDPF5Q5.js} +1 -1
  92. package/dist/cdn/{YKAV2JPA.js → MUGER5FC.js} +1 -1
  93. package/dist/cdn/{2CH52GNQ.js → MVBK6IRK.js} +1 -1
  94. package/dist/cdn/{KSUF3NIF.js → MXC6EBWE.js} +1 -1
  95. package/dist/cdn/{32GL6OD7.js → N2KD2HL6.js} +1 -1
  96. package/dist/cdn/{QR3WS5SG.js → NBJWK5EV.js} +1 -1
  97. package/dist/cdn/{TNNI7MPZ.js → NG4ERCGH.js} +1 -1
  98. package/dist/cdn/{UP27XAGF.js → NMUKEVNZ.js} +1 -1
  99. package/dist/cdn/{LZNA2NKS.js → O3QQW6LY.js} +1 -1
  100. package/dist/cdn/{DEJ4PCXW.js → O4KFIWTZ.js} +1 -1
  101. package/dist/cdn/{QYTU4N7H.js → O4T55WDJ.js} +1 -1
  102. package/dist/cdn/{DWGXV3I4.js → O6Q7HSBV.js} +1 -1
  103. package/dist/cdn/{K7QC2ZDU.js → OAD5WXZK.js} +1 -1
  104. package/dist/cdn/{RPKC6E2Z.js → OJQZ24LO.js} +1 -1
  105. package/dist/cdn/{FXCRLC3T.js → OKJ7U7CP.js} +1 -1
  106. package/dist/cdn/{SPTBEPX3.js → OKTSOLYU.js} +1 -1
  107. package/dist/cdn/{WG7232JG.js → ORMGS2UN.js} +1 -1
  108. package/dist/cdn/{DAHNK7HU.js → Q4JN7T2K.js} +1 -1
  109. package/dist/cdn/{XK6LG672.js → Q762YCLH.js} +1 -1
  110. package/dist/cdn/{KJNLKQIQ.js → QDSKV4J4.js} +1 -1
  111. package/dist/cdn/{7X2ZE26K.js → QFW6NQ7G.js} +1 -1
  112. package/dist/cdn/{LJBXISRW.js → QNZ7XYNA.js} +1 -1
  113. package/dist/cdn/{EFNBCCF3.js → QWWYVNIO.js} +1 -1
  114. package/dist/cdn/{VXFZZLN5.js → RIL5SP5M.js} +1 -1
  115. package/dist/cdn/{ZZVJ6JVG.js → RINA24EA.js} +1 -1
  116. package/dist/cdn/{XMS57KJK.js → RO7YLCT2.js} +1 -1
  117. package/dist/cdn/{S2UQHU6U.js → SDVEMJQO.js} +1 -1
  118. package/dist/cdn/{7WT7RASO.js → SKF6TKLS.js} +1 -1
  119. package/dist/cdn/{D6FUGXVO.js → TCEZ7GJG.js} +1 -1
  120. package/dist/cdn/{ODDVU6HH.js → THVAC46D.js} +1 -1
  121. package/dist/cdn/{6V734JQA.js → TT5P6OBO.js} +1 -1
  122. package/dist/cdn/{NPHIXWAI.js → U4N5GJXG.js} +1 -1
  123. package/dist/cdn/{C6UONLQJ.js → UVODSRBS.js} +1 -1
  124. package/dist/cdn/{ITNEYONG.js → UWKHMU5S.js} +1 -1
  125. package/dist/cdn/{LOUCDQ4W.js → UYHAVAIC.js} +1 -1
  126. package/dist/cdn/{5QSLEGLG.js → UYI2NE3U.js} +1 -1
  127. package/dist/cdn/{6AYD6QWQ.js → V7ZCDP5W.js} +1 -1
  128. package/dist/cdn/{3UJTJZIM.js → VEMGPSDX.js} +1 -1
  129. package/dist/cdn/{DMIVIN3O.js → VNOBMY5Y.js} +1 -1
  130. package/dist/cdn/{I6IRJGWA.js → VQDU2XSC.js} +1 -1
  131. package/dist/cdn/WGOW2SCZ.js +2 -0
  132. package/dist/cdn/{SN52MIVD.js → WRXHBZWM.js} +1 -1
  133. package/dist/cdn/{V6XMYWUP.js → WX4MQ4AP.js} +1 -1
  134. package/dist/cdn/{5NFMURRE.js → WZ4YFIIH.js} +1 -1
  135. package/dist/cdn/{SQX6RUIY.js → YE6HPPDB.js} +1 -1
  136. package/dist/cdn/{RNP7WMCG.js → YEBSX4FM.js} +1 -1
  137. package/dist/cdn/YFB5THXG.js +2 -0
  138. package/dist/cdn/{ONJQP2QF.js → YIIBELM6.js} +1 -1
  139. package/dist/cdn/{IH4AMPBO.js → YTNK5M6R.js} +1 -1
  140. package/dist/cdn/{7QHWXOG6.js → YZXE4472.js} +1 -1
  141. package/dist/cdn/{4B7E5HVJ.js → ZDKTQEY7.js} +1 -1
  142. package/dist/cdn/{RMXCUZS7.js → ZF4YNH4S.js} +1 -1
  143. package/dist/cdn/{5IQWUVJ2.js → ZP2PCTBG.js} +1 -1
  144. package/dist/cdn/{F7SSLALU.js → ZX55KCTR.js} +1 -1
  145. package/dist/cdn/index.js +1 -1
  146. package/dist/chunks/runtime.js +4 -4
  147. package/dist/components/calcite-action-bar/customElement.js +3 -5
  148. package/dist/components/calcite-block/customElement.js +1 -1
  149. package/dist/components/calcite-input-message/customElement.d.ts +1 -4
  150. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  151. package/dist/components/calcite-input-time-zone/customElement.js +21 -2
  152. package/dist/components/calcite-loader/customElement.js +1 -2
  153. package/dist/components/calcite-notice/customElement.js +0 -3
  154. package/dist/components/calcite-rating/customElement.js +6 -8
  155. package/dist/components/calcite-shell/customElement.js +3 -1
  156. package/dist/components/calcite-shell-panel/customElement.d.ts +2 -2
  157. package/dist/components/calcite-shell-panel/customElement.js +8 -0
  158. package/dist/docs/api.json +1 -1
  159. package/dist/docs/docs.json +1 -1
  160. package/dist/docs/supported-browsers.json +1 -1
  161. package/dist/docs/vscode.html-custom-data.json +1 -1
  162. package/dist/docs/web-types.json +1 -1
  163. package/package.json +9 -9
  164. package/dist/cdn/4H2JHQJI.js +0 -2
  165. package/dist/cdn/5HAQIGGH.js +0 -2
  166. package/dist/cdn/IB4REEGW.js +0 -2
  167. package/dist/cdn/LUVFKHWX.js +0 -2
  168. package/dist/cdn/assets/icon/spectralProfile16.json +0 -1
  169. package/dist/cdn/assets/icon/spectralProfile24.json +0 -1
  170. package/dist/cdn/assets/icon/spectralProfile32.json +0 -1
  171. package/dist/cdn/assets/icon/temporalProfile16.json +0 -1
  172. package/dist/cdn/assets/icon/temporalProfile24.json +0 -1
  173. package/dist/cdn/assets/icon/temporalProfile32.json +0 -1
@@ -102,9 +102,9 @@ function getConfig() {
102
102
  }
103
103
  return effectiveConfig;
104
104
  }
105
- const version = "5.2.1-next.3";
106
- const buildDate = "2026-10-21";
107
- const revision = "640b9ed33";
105
+ const version = "5.2.2";
106
+ const buildDate = "2026-11-30";
107
+ const revision = "629f36518";
108
108
  function stampVersion() {
109
109
  const config = getConfig();
110
110
  if (config && config.version) {
@@ -127,7 +127,7 @@ if (!isServer) {
127
127
  if (process.env.NODE_ENV !== "test") {
128
128
  queueMicrotask(stampVersion);
129
129
  }
130
- const runtime = makeRuntime({ defaultAssetPath: "https://cdn.jsdelivr.net/npm/@esri/calcite-components@5.2.1-next.3/dist/cdn/", hydratedAttribute: "calcite-hydrated" });
130
+ const runtime = makeRuntime({ defaultAssetPath: "https://js.arcgis.com/calcite-components/5.2.2/", hydratedAttribute: "calcite-hydrated" });
131
131
  const originalSetAssetPath = runtime.setAssetPath;
132
132
  runtime.setAssetPath = (path) => {
133
133
  assetPathChanged = true;
@@ -148,7 +148,7 @@ class ActionBar extends LitElement {
148
148
  slottedActionGroups.forEach((actionGroup, index) => {
149
149
  const actionGroupStyle = getComputedStyle(actionGroup);
150
150
  const actionGroupGap = getStylePixelValue(actionGroupStyle.gap);
151
- const actionGroupItemCount = this.getVisibleActionGroupItemCount(actionGroup);
151
+ const actionGroupItemCount = this.getActionGroupItemCount(actionGroup);
152
152
  const actionGroupGapQuantity = Math.max(actionGroupItemCount - 1, 0);
153
153
  bufferSize += actionGroupGap * actionGroupGapQuantity;
154
154
  if (index !== lastSlottedActionGroupIndex) {
@@ -343,12 +343,10 @@ class ActionBar extends LitElement {
343
343
  const fallbackSize = Math.max(...itemSizes, 0);
344
344
  return itemSizes.map((size) => size || fallbackSize);
345
345
  }
346
- getVisibleActionGroupItemCount(actionGroup) {
346
+ getActionGroupItemCount(actionGroup) {
347
347
  const directActionGroupActions = actionGroup.actions.filter((action) => action.parentElement === actionGroup);
348
348
  const directActionMenusCount = filterDirectChildren(actionGroup, "calcite-action-menu").length;
349
- const defaultActionsCount = directActionGroupActions.filter((action) => action.slot !== SLOTS.menuActions).length + directActionMenusCount;
350
- const hasMenuActions = directActionGroupActions.some((action) => action.slot === SLOTS.menuActions);
351
- return defaultActionsCount + (hasMenuActions ? 1 : 0);
349
+ return directActionGroupActions.length + directActionMenusCount;
352
350
  }
353
351
  expandedHandler() {
354
352
  this.syncActionsState(true);
@@ -166,7 +166,6 @@ class Block extends LitElement {
166
166
  this.calciteBlockSortHandleOpen.emit();
167
167
  }
168
168
  onHeaderClick() {
169
- this.calciteBlockToggle.emit();
170
169
  if (this.parentBlockGroupElement) {
171
170
  this.calciteInternalBlockChange.emit({
172
171
  el: this.el,
@@ -175,6 +174,7 @@ class Block extends LitElement {
175
174
  } else {
176
175
  this.expanded = !this.expanded;
177
176
  }
177
+ this.calciteBlockToggle.emit();
178
178
  }
179
179
  menuActionsSlotChangeHandler(event) {
180
180
  this.hasMenuActions = slotChangeHasAssignedElement(event);
@@ -18,10 +18,7 @@ export interface DeclareCssProperties {
18
18
  }
19
19
  }
20
20
 
21
- /**
22
- * @deprecated in v5.0.0, removal target v6.0.0 - Use the `calcite-notice` component with `appearance="transparent"` instead.
23
- * @slot - A slot for adding text.
24
- */
21
+ /** @slot - A slot for adding text. */
25
22
  export abstract class InputMessage extends LitElement {
26
23
  /** Specifies an icon to display. */
27
24
  accessor icon: IconName | boolean | undefined;
@@ -333,7 +333,7 @@ class InputTimePicker extends LitElement {
333
333
  return this.interactiveContainer({ disabled: this.disabled, children: html`${this.labelText && InternalLabel({ labelText: this.labelText, onClick: this.onLabelClick, required: this.required, tooltipText: this.messages.required }) || ""}<div aria-controls=${IDS.inputContainer} aria-expanded=${toAriaBoolean(this.open) ?? nothing} aria-labelledby=${IDS.inputContainer} class=${safeClassMap({
334
334
  [CSS.container]: true,
335
335
  [CSS.readOnly]: readOnly
336
- })} role=combobox ${ref(this.containerRef)}><calcite-icon class=${safeClassMap(CSS.clockIcon)} .icon=${ICONS.clock} .scale=${scale === "l" ? "m" : "s"}></calcite-icon><div class=${safeClassMap(CSS.contentContainer)}>${this.showPlaceholder && html`<div class=${safeClassMap(CSS.placeholder)}>${this.placeholder}</div>` || ""}<div aria-label=${getLabelText(this) ?? nothing} .ariaRequired=${this.required} class=${safeClassMap({
336
+ })} role=combobox ${ref(this.containerRef)}><calcite-icon class=${safeClassMap(CSS.clockIcon)} .icon=${ICONS.clock} .scale=${scale === "l" ? "m" : "s"}></calcite-icon><div class=${safeClassMap(CSS.contentContainer)}>${this.showPlaceholder && html`<div class=${safeClassMap(CSS.placeholder)}>${this.placeholder}</div>` || ""}<div aria-label=${(getLabelText(this) || this.placeholder || void 0) ?? nothing} .ariaRequired=${this.required} class=${safeClassMap({
337
337
  [CSS.inputContainer]: true,
338
338
  [CSS.inputContainerHidden]: this.showPlaceholder
339
339
  })} dir=ltr id=${IDS.inputContainer} role=group>${showMeridiem && meridiemStart && this.renderMeridiem() || ""}<span aria-label=${this.messages.hour ?? nothing} aria-valuemax=23 aria-valuemin=1 aria-valuenow=${(hourIsNumber && parseInt(hour, 10) || "0") ?? nothing} aria-valuetext=${hour ?? nothing} class=${safeClassMap({
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as customElement } from "../../chunks/runtime.js";
2
+ import { l as logger, c as customElement } from "../../chunks/runtime.js";
3
3
  import { repeat } from "lit/directives/repeat.js";
4
4
  import { keyed } from "lit/directives/keyed.js";
5
5
  import { css, nothing, html } from "lit";
@@ -18,6 +18,7 @@ const CSS = {
18
18
  const SLOTS = {
19
19
  labelContent: "label-content"
20
20
  };
21
+ const unsupportedFactoryTimeZoneWarningMessage = `The browser does not support the "Factory" time zone. Using a zero offset for compatibility; use a supported IANA time zone instead.`;
21
22
  const hourToMinutes = 60;
22
23
  function timeZoneOffsetToDecimal(shortOffsetTimeZoneName) {
23
24
  const minusSign = "−";
@@ -120,8 +121,26 @@ async function createTimeZoneItems(locale, messages, mode, referenceDate, standa
120
121
  import("timezone-groups/groupByOffset"),
121
122
  import("timezone-groups/groupByOffset/strategy/native")
122
123
  ]);
124
+ class CompatibleDateEngine extends DateEngine {
125
+ constructor() {
126
+ super(...arguments);
127
+ this.factoryTimeZone = "Factory";
128
+ }
129
+ isoToTimeZone(isoDate, timeZone) {
130
+ try {
131
+ return super.isoToTimeZone(isoDate, timeZone === "Factory" ? this.factoryTimeZone : timeZone);
132
+ } catch (error) {
133
+ if (timeZone !== "Factory" || !(error instanceof RangeError) || this.factoryTimeZone !== "Factory") {
134
+ throw error;
135
+ }
136
+ this.factoryTimeZone = "Etc/GMT";
137
+ logger.warn(unsupportedFactoryTimeZoneWarningMessage);
138
+ return super.isoToTimeZone(isoDate, this.factoryTimeZone);
139
+ }
140
+ }
141
+ }
123
142
  const groups = await groupByOffset({
124
- dateEngine: new DateEngine(),
143
+ dateEngine: new CompatibleDateEngine(),
125
144
  groupDateRange: 1,
126
145
  startDate: new Date(referenceDateInMs).toISOString()
127
146
  });
@@ -80,7 +80,6 @@ class Loader extends LitElement {
80
80
  const { el, inline, label, text, type, value } = this;
81
81
  const id = el.id || guid();
82
82
  const isDeterminate = type !== "indeterminate";
83
- const hasValueLabel = type === "determinate-value";
84
83
  const valueNow = Math.floor(value);
85
84
  this.el.ariaLabel = label;
86
85
  this.el.ariaValueMax = isDeterminate ? "100" : null;
@@ -88,7 +87,7 @@ class Loader extends LitElement {
88
87
  this.el.ariaValueNow = isDeterminate ? valueNow.toString() : null;
89
88
  setAttribute(this.el, "id", id);
90
89
  this.el.role = "progressbar";
91
- return html`<div class=${safeClassMap(CSS.rings)}>${this.renderRing("track")}${this.renderRing("progress")}${!inline && hasValueLabel && html`<div class=${safeClassMap(CSS.percentage)}>${this.formatValue()}</div>` || ""}</div>${!inline && text && html`<div class=${safeClassMap(CSS.text)}>${text}</div>` || ""}`;
90
+ return html`<div class=${safeClassMap(CSS.rings)}>${this.renderRing("track")}${this.renderRing("progress")}${!inline && isDeterminate && html`<div class=${safeClassMap(CSS.percentage)}>${this.formatValue()}</div>` || ""}</div>${!inline && text && html`<div class=${safeClassMap(CSS.text)}>${text}</div>` || ""}`;
92
91
  }
93
92
  renderRing(type) {
94
93
  const { inline, scale, value } = this;
@@ -87,9 +87,6 @@ class Notice extends LitElement {
87
87
  this.hasActionEnd = slotChangeHasAssignedElement(event);
88
88
  }
89
89
  render() {
90
- const { open } = this;
91
- const hidden = !open;
92
- this.el.inert = hidden;
93
90
  const closeButton = html`<calcite-action class=${safeClassMap(CSS.close)} icon=x @click=${this.close} .scale=${this.scale} .text=${this.messages.close} ${ref(this.closeButtonRef)}></calcite-action>`;
94
91
  return html`<div class=${safeClassMap(CSS.container)} ${ref(this.transitionRef)}>${this.requestedIcon ? html`<div class=${safeClassMap(CSS.icon)}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${getIconScale(this.scale)}></calcite-icon></div>` : null}<div class=${safeClassMap(CSS.content)}><slot name=${SLOTS.title}></slot><slot name=${SLOTS.message}></slot><slot name=${SLOTS.link}></slot></div><div class=${safeClassMap(CSS.actionsEnd)} .hidden=${!this.hasActionEnd}><slot name=${SLOTS.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable ? closeButton : null}</div>`;
95
92
  }
@@ -3,7 +3,6 @@ import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { live } from "lit/directives/live.js";
4
4
  import { html, css } from "lit";
5
5
  import { safeClassMap, LitElement, createEvent, stringOrBoolean, nothing, safeStyleMap } from "@arcgis/lumina";
6
- import { useDirection } from "@arcgis/lumina/controllers";
7
6
  import { g as guid } from "../../chunks/guid.js";
8
7
  import { g as getLabelText } from "../../chunks/label.js";
9
8
  import { u as useLabel } from "../../chunks/useLabel.js";
@@ -32,7 +31,6 @@ const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;use
32
31
  class Rating extends LitElement {
33
32
  constructor() {
34
33
  super();
35
- this.direction = useDirection();
36
34
  this.emit = false;
37
35
  this.formSupport = useForm({
38
36
  inputType: "number",
@@ -142,7 +140,6 @@ class Rating extends LitElement {
142
140
  const inputValue = this.getValueFromLabelEvent(event);
143
141
  const key = event.key;
144
142
  const numberKey = key == " " ? NaN : Number(key);
145
- const isRtl = this.direction === "rtl";
146
143
  this.emit = true;
147
144
  if (isNaN(numberKey)) {
148
145
  switch (key) {
@@ -151,14 +148,15 @@ class Rating extends LitElement {
151
148
  this.value = !this.required && this.value === inputValue ? 0 : inputValue;
152
149
  break;
153
150
  case "ArrowLeft":
154
- case "ArrowRight": {
155
- const isLeft = key === "ArrowLeft";
156
- const shouldIncrement = isLeft === isRtl;
157
- this.value = shouldIncrement ? this.getNextRatingValue(inputValue) : this.getPreviousRatingValue(inputValue);
151
+ this.value = this.getPreviousRatingValue(inputValue);
152
+ this.updateFocus();
153
+ event.preventDefault();
154
+ break;
155
+ case "ArrowRight":
156
+ this.value = this.getNextRatingValue(inputValue);
158
157
  this.updateFocus();
159
158
  event.preventDefault();
160
159
  break;
161
- }
162
160
  case "Tab":
163
161
  this.hoverValue = void 0;
164
162
  break;
@@ -3,6 +3,7 @@ import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { keyed } from "lit/directives/keyed.js";
4
4
  import { css, html } from "lit";
5
5
  import { LitElement, safeClassMap } from "@arcgis/lumina";
6
+ import { useDirection } from "@arcgis/lumina/controllers";
6
7
  import { createRef, ref } from "lit/directives/ref.js";
7
8
  import { s as slotChangeHasAssignedElement, b as slotChangeGetAssignedElements, l as getStylePixelValue } from "../../chunks/dom.js";
8
9
  import { i as isAlert } from "../../chunks/resources13.js";
@@ -34,6 +35,7 @@ const SLOTS = {
34
35
  class Shell extends LitElement {
35
36
  constructor() {
36
37
  super();
38
+ this.direction = useDirection();
37
39
  this.defaultSlotRef = createRef();
38
40
  this.panelBottomSlotRef = createRef();
39
41
  this.panelEndSlotRef = createRef();
@@ -136,7 +138,7 @@ class Shell extends LitElement {
136
138
  };
137
139
  }
138
140
  const defaultSlotMinSize = this.getDefaultSlotMinSize(axis);
139
- const isRTL = window.getComputedStyle(this).direction === "rtl";
141
+ const isRTL = this.direction === "rtl";
140
142
  let availableOccupiedSize;
141
143
  if (axis === "inline") {
142
144
  const isStart = panel.position === "start";
@@ -66,7 +66,7 @@ export abstract class ShellPanel extends LitElement {
66
66
  /**
67
67
  * Specifies the component's direction.
68
68
  *
69
- * @deprecated in v5.0.0, removal target v6.0.0 - No longer necessary.
69
+ * @deprecated in v5.0.0, removal target v7.0.0 - No longer necessary.
70
70
  * @default "vertical"
71
71
  */
72
72
  accessor layout: Extract<"horizontal" | "vertical", Layout>;
@@ -79,7 +79,7 @@ export abstract class ShellPanel extends LitElement {
79
79
  /**
80
80
  * Specifies the component's position. Will be flipped when the element direction is right-to-left (`"rtl"`).
81
81
  *
82
- * @deprecated in v5.0.0, removal target v6.0.0 - No longer necessary.
82
+ * @deprecated in v5.0.0, removal target v7.0.0 - No longer necessary.
83
83
  * @default "start"
84
84
  */
85
85
  accessor position: Extract<"start" | "end", Position>;
@@ -68,6 +68,9 @@ class ShellPanel extends LitElement {
68
68
  this.refreshResize();
69
69
  }
70
70
  }
71
+ load() {
72
+ this.listenOn(window, "resize", this.handleWindowResize);
73
+ }
71
74
  willUpdate(changes) {
72
75
  let shouldRefreshResize = false;
73
76
  if (changes.has("layout") && (this.hasUpdated || this.layout !== "vertical")) {
@@ -99,6 +102,11 @@ class ShellPanel extends LitElement {
99
102
  super.disconnectedCallback();
100
103
  this.cleanUpInteractions();
101
104
  }
105
+ handleWindowResize() {
106
+ if (this.resizable && !this.collapsed) {
107
+ this.refreshResize();
108
+ }
109
+ }
102
110
  updateSizeInternal(size) {
103
111
  if (!this.contentRef.value) {
104
112
  return;