@esri/calcite-components 5.1.0-next.4 → 5.1.0-next.5
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.
- package/dist/cdn/{FAHLSHDH.js → 22IPJDDL.js} +1 -1
- package/dist/cdn/25CWB6HX.js +2 -0
- package/dist/cdn/25YVFVC7.js +2 -0
- package/dist/cdn/{VLGFWPBL.js → 2GS6R2BX.js} +1 -1
- package/dist/cdn/2QARK4VJ.js +2 -0
- package/dist/cdn/{BWUA5WU5.js → 2Z4Z3NMS.js} +1 -1
- package/dist/cdn/{GW7IPUQS.js → 3KLZFJXW.js} +1 -1
- package/dist/cdn/3L2WKJUB.js +2 -0
- package/dist/cdn/{CZYFEVKF.js → 3LOKHBAB.js} +1 -1
- package/dist/cdn/{A4OYPK5D.js → 3NNVHOGK.js} +1 -1
- package/dist/cdn/{HVBNJRAQ.js → 3WLFK4RW.js} +1 -1
- package/dist/cdn/{ZIOXZBYF.js → 42NQN6DY.js} +1 -1
- package/dist/cdn/462JN5WF.js +2 -0
- package/dist/cdn/{GDTRICJF.js → 464S36UH.js} +1 -1
- package/dist/cdn/{ULBA6IRN.js → 4ALKCXNH.js} +1 -1
- package/dist/cdn/4GQPJFUJ.js +2 -0
- package/dist/cdn/{WAC3IAWB.js → 4GVH7HTQ.js} +1 -1
- package/dist/cdn/{7CZHE7FZ.js → 4J6YW6EK.js} +1 -1
- package/dist/cdn/{7CLOFSLV.js → 52ZOO5HQ.js} +1 -1
- package/dist/cdn/5HTRQR7F.js +2 -0
- package/dist/cdn/{IFHMJCAE.js → 5J2UYJYX.js} +1 -1
- package/dist/cdn/{TCAGY7OI.js → 5L7CGWWD.js} +1 -1
- package/dist/cdn/{LIJYENWJ.js → 5SU52VYR.js} +1 -1
- package/dist/cdn/5TCLHXAD.js +2 -0
- package/dist/cdn/{7KCC74EE.js → 6NEHFZMJ.js} +1 -1
- package/dist/cdn/{RSCA2AM5.js → 6VRXKEA7.js} +1 -1
- package/dist/cdn/{EW6277QZ.js → 6XJYCX76.js} +1 -1
- package/dist/cdn/{XYAZINKS.js → 752PQ7IA.js} +1 -1
- package/dist/cdn/{ILES2J66.js → 7RSGSW76.js} +1 -1
- package/dist/cdn/7UOYXJ3K.js +2 -0
- package/dist/cdn/{EIFNZZAD.js → A2UZRUUF.js} +1 -1
- package/dist/cdn/{GFZYTB3O.js → A7IQIXR3.js} +1 -1
- package/dist/cdn/{R3EE76WN.js → AEUCGVU4.js} +1 -1
- package/dist/cdn/{RA4KNUNM.js → AJKEEG2Z.js} +1 -1
- package/dist/cdn/{5TWM6GKK.js → ALC6PGDZ.js} +1 -1
- package/dist/cdn/{HRUVPNCI.js → B55VO4LW.js} +1 -1
- package/dist/cdn/{JKLX623E.js → BIEIKUB2.js} +1 -1
- package/dist/cdn/{MXRMT4RB.js → BPSXK66S.js} +1 -1
- package/dist/cdn/BS22M3WT.js +2 -0
- package/dist/cdn/{MASQZEFU.js → BWDCDFXW.js} +1 -1
- package/dist/cdn/C25VFIND.js +2 -0
- package/dist/cdn/{UTFS3HNB.js → CWQZDXHH.js} +1 -1
- package/dist/cdn/CXVISA7Y.js +2 -0
- package/dist/cdn/{X7JEHH2B.js → D7UER3G6.js} +1 -1
- package/dist/cdn/{3W4NT367.js → DR7JKZAI.js} +1 -1
- package/dist/cdn/{AMZPSRIA.js → DY6SXW3X.js} +1 -1
- package/dist/cdn/{IMOAPVVW.js → ED7SQQHM.js} +1 -1
- package/dist/cdn/EFNE45MK.js +2 -0
- package/dist/cdn/{MUGKSK5F.js → EGK4PSW5.js} +1 -1
- package/dist/cdn/{YOYLPMEA.js → EJCQCHH7.js} +1 -1
- package/dist/cdn/{A22XLAKZ.js → ENCYKNKN.js} +1 -1
- package/dist/cdn/EY4MG3NU.js +2 -0
- package/dist/cdn/{Z22BRBT4.js → EZW5GK73.js} +1 -1
- package/dist/cdn/{MTNYIXZQ.js → FWEFFYYZ.js} +1 -1
- package/dist/cdn/{KVSU3DLB.js → G4QI7VSJ.js} +1 -1
- package/dist/cdn/{V4KATS7H.js → GEQ3EBJO.js} +1 -1
- package/dist/cdn/GLJVCFQW.js +2 -0
- package/dist/cdn/GNDNKP2Q.js +2 -0
- package/dist/cdn/H77SNVVI.js +2 -0
- package/dist/cdn/{FAOX7WLQ.js → HAUWZRL4.js} +1 -1
- package/dist/cdn/{FDGUUC3D.js → HBUNMGZ3.js} +1 -1
- package/dist/cdn/{R6D5F2V7.js → HFGDCX3I.js} +1 -1
- package/dist/cdn/{XDOFVA4S.js → HGRVTRR3.js} +1 -1
- package/dist/cdn/{WR6QBFCR.js → HHOMMC4H.js} +1 -1
- package/dist/cdn/{LGKOEBZ4.js → HUNZU2OF.js} +1 -1
- package/dist/cdn/{DFXECQ6Z.js → IFLPCKYL.js} +1 -1
- package/dist/cdn/{AYPT6VGV.js → IJP6ZKHZ.js} +1 -1
- package/dist/cdn/{Z3IVC2AV.js → IU4TJIME.js} +1 -1
- package/dist/cdn/J42TNDHM.js +2 -0
- package/dist/cdn/J4J65DN5.js +2 -0
- package/dist/cdn/{SYSNPKVM.js → K4R3HUW3.js} +1 -1
- package/dist/cdn/KBHLSIAR.js +2 -0
- package/dist/cdn/{FRI4RPRX.js → KKMGV3S6.js} +1 -1
- package/dist/cdn/{IOSK2I75.js → KUC6KV4R.js} +1 -1
- package/dist/cdn/{ED2GANBI.js → KVPLQQ75.js} +1 -1
- package/dist/cdn/{37APBABQ.js → KVRUYI63.js} +1 -1
- package/dist/cdn/MLQDQZZR.js +2 -0
- package/dist/cdn/{OVU2NGHU.js → MM6LZCYO.js} +1 -1
- package/dist/cdn/{MJCRT7H4.js → MQMNX7AM.js} +1 -1
- package/dist/cdn/N47CSPB7.js +2 -0
- package/dist/cdn/{RRHN2PDB.js → NAFJ5ZYO.js} +1 -1
- package/dist/cdn/{HXS3PD57.js → NIBBUVHR.js} +1 -1
- package/dist/cdn/NMIBGEIB.js +2 -0
- package/dist/cdn/{5HQ3O27G.js → NNSUCRNU.js} +1 -1
- package/dist/cdn/{ZZNRLKQQ.js → NT6RQTF7.js} +1 -1
- package/dist/cdn/O6ZRTXVO.js +2 -0
- package/dist/cdn/{7DA7BZM3.js → O75ZRZLS.js} +1 -1
- package/dist/cdn/{SXVCUXNL.js → OCFKSX5L.js} +1 -1
- package/dist/cdn/{6IZMIAV2.js → ODOOWGRW.js} +1 -1
- package/dist/cdn/{CAAZHUX4.js → OGOI7JTF.js} +1 -1
- package/dist/cdn/{FCNCDBSI.js → OO556Q5A.js} +1 -1
- package/dist/cdn/PGUOVY7V.js +2 -0
- package/dist/cdn/{GZNBU3BV.js → PJ3GHZ7T.js} +1 -1
- package/dist/cdn/PNXNTD3R.js +2 -0
- package/dist/cdn/{HXVXRVZW.js → PYD5GHXA.js} +1 -1
- package/dist/cdn/{CPDXUV3S.js → Q4EG6G7W.js} +1 -1
- package/dist/cdn/{7B4D4WJ2.js → Q52IY7SS.js} +1 -1
- package/dist/cdn/{S22OVJTO.js → QEPJF6TC.js} +2 -2
- package/dist/cdn/{P7U46JDU.js → QHZAKDI7.js} +1 -1
- package/dist/cdn/{SBPWZDAB.js → QIUVPLV2.js} +1 -1
- package/dist/cdn/{KKH2HVQW.js → QVTLP2LK.js} +1 -1
- package/dist/cdn/R3DLH5BB.js +2 -0
- package/dist/cdn/R5DGN3O6.js +2 -0
- package/dist/cdn/{LHJSBAM5.js → RGKOGN5W.js} +1 -1
- package/dist/cdn/{GM6FZWSL.js → RRNEZXM4.js} +1 -1
- package/dist/cdn/{YUJ33VWR.js → RU3YCR42.js} +1 -1
- package/dist/cdn/{TLAXB6HU.js → SF7SFEKA.js} +1 -1
- package/dist/cdn/SKOYS4HM.js +2 -0
- package/dist/cdn/{F7XISEIT.js → SP22KLIK.js} +1 -1
- package/dist/cdn/{HCJDTU7F.js → SVHI2LRC.js} +1 -1
- package/dist/cdn/{4MFRMO5M.js → T2MUZ4UN.js} +1 -1
- package/dist/cdn/{GAUJK4Z7.js → TAS3P2HU.js} +1 -1
- package/dist/cdn/{LRL6N22U.js → TBA5ATIB.js} +1 -1
- package/dist/cdn/{KNDQJ2XX.js → TW2SRS2O.js} +1 -1
- package/dist/cdn/{CDTY6WOM.js → TZFOTRCX.js} +1 -1
- package/dist/cdn/{5YROPSGB.js → UUHRTJGO.js} +1 -1
- package/dist/cdn/{QKUQGG2M.js → UVJ3XYK5.js} +1 -1
- package/dist/cdn/{7TEW7OYZ.js → UYYGQ6AY.js} +1 -1
- package/dist/cdn/V2PPBU7J.js +2 -0
- package/dist/cdn/{5WKPS2ZT.js → VB7GHJWK.js} +1 -1
- package/dist/cdn/VIMF6KPF.js +2 -0
- package/dist/cdn/{6NGWODBG.js → VYSJFEY6.js} +1 -1
- package/dist/cdn/WI7KEIGV.js +2 -0
- package/dist/cdn/WOJJ53FN.js +2 -0
- package/dist/cdn/WSRLM2TQ.js +2 -0
- package/dist/cdn/{GJE7FY35.js → X53XDNBL.js} +1 -1
- package/dist/cdn/{Q7WYXKFZ.js → XPXJW5E3.js} +1 -1
- package/dist/cdn/XXVIE4SD.js +2 -0
- package/dist/cdn/{RROGXGP5.js → Y5FMVLYP.js} +1 -1
- package/dist/cdn/{PS64W4X6.js → YBZVV5BN.js} +1 -1
- package/dist/cdn/{HYYJZO6T.js → YQOYGBGD.js} +1 -1
- package/dist/cdn/{3TCEXRVB.js → Z3B276DZ.js} +1 -1
- package/dist/cdn/Z6LSD6MR.js +2 -0
- package/dist/cdn/ZDZGWD2Y.js +2 -0
- package/dist/cdn/{2ZJ5ADD2.js → ZIKLLQSU.js} +1 -1
- package/dist/cdn/{QBLAE2O5.js → ZKCFISUX.js} +1 -1
- package/dist/cdn/{QOSBMGOZ.js → ZKPCUAN2.js} +1 -1
- package/dist/cdn/{XLGGANFA.js → ZPJ4FGXO.js} +1 -1
- package/dist/cdn/{YQY6DOSF.js → ZVFZSDLX.js} +1 -1
- package/dist/cdn/ZZ746O36.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ExpandToggle.js +2 -3
- package/dist/chunks/dom.js +22 -29
- package/dist/chunks/floating-ui.js +2 -2
- package/dist/chunks/input.js +17 -7
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +4 -3
- package/dist/components/calcite-action-bar/customElement.js +4 -2
- package/dist/components/calcite-action-pad/customElement.js +4 -2
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.js +3 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.js +1 -1
- package/dist/components/calcite-block-group/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.js +1 -1
- package/dist/components/calcite-carousel/customElement.js +27 -25
- package/dist/components/calcite-checkbox/customElement.js +3 -2
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +4 -2
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.d.ts +11 -1
- package/dist/components/calcite-combobox/customElement.js +8 -3
- package/dist/components/calcite-combobox-item/customElement.js +10 -4
- package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.d.ts +2 -2
- package/dist/components/calcite-dialog/customElement.js +1 -1
- package/dist/components/calcite-dropdown/customElement.js +4 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +3 -3
- package/dist/components/calcite-flow-item/customElement.js +3 -3
- package/dist/components/calcite-icon/customElement.js +4 -3
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.js +4 -3
- package/dist/components/calcite-input-date-picker/customElement.js +3 -0
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +4 -3
- package/dist/components/calcite-input-text/customElement.d.ts +1 -1
- package/dist/components/calcite-input-text/customElement.js +174 -27
- package/dist/components/calcite-input-time-picker/customElement.js +3 -2
- package/dist/components/calcite-link/customElement.js +4 -3
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.js +5 -3
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +4 -2
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.d.ts +4 -4
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.js +4 -1
- package/dist/components/calcite-progress/customElement.js +3 -2
- package/dist/components/calcite-radio-button/customElement.js +3 -3
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +5 -3
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-sheet/customElement.js +8 -5
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +7 -5
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.js +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-swatch-group/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.js +4 -2
- package/dist/components/calcite-tab-title/customElement.js +5 -3
- package/dist/components/calcite-table-cell/customElement.js +3 -2
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.js +3 -2
- package/dist/components/calcite-tooltip/customElement.js +4 -1
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +4 -2
- package/dist/controllers/useForm.d.ts +3 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +6 -6
- package/dist/cdn/256EMMKX.js +0 -2
- package/dist/cdn/3OIE2RR5.js +0 -2
- package/dist/cdn/43T3HPVW.js +0 -2
- package/dist/cdn/4ET37OQN.js +0 -2
- package/dist/cdn/4SJVPWEI.js +0 -2
- package/dist/cdn/7WPF3NTF.js +0 -2
- package/dist/cdn/F7SGO63N.js +0 -2
- package/dist/cdn/G6R56WT6.js +0 -2
- package/dist/cdn/HBVQ77SB.js +0 -2
- package/dist/cdn/HD23H6LX.js +0 -2
- package/dist/cdn/I6CQ5UW5.js +0 -2
- package/dist/cdn/IR6Z2XSF.js +0 -2
- package/dist/cdn/IUAHSZQ6.js +0 -2
- package/dist/cdn/JLB2FYLL.js +0 -2
- package/dist/cdn/JRCEHRYP.js +0 -2
- package/dist/cdn/L6F7C3O7.js +0 -2
- package/dist/cdn/LIZ5IMMJ.js +0 -2
- package/dist/cdn/LR57FDVO.js +0 -2
- package/dist/cdn/LYKD5N65.js +0 -2
- package/dist/cdn/MAXAPKJ5.js +0 -2
- package/dist/cdn/MQPFYNQR.js +0 -2
- package/dist/cdn/N6QRZM7N.js +0 -2
- package/dist/cdn/NQEVKT6K.js +0 -2
- package/dist/cdn/OS7NHPEF.js +0 -2
- package/dist/cdn/P7RXOG72.js +0 -2
- package/dist/cdn/PBMFDSRI.js +0 -2
- package/dist/cdn/Q52SIZ3L.js +0 -2
- package/dist/cdn/R6YSSNOG.js +0 -2
- package/dist/cdn/SFEXJ2YW.js +0 -2
- package/dist/cdn/TPXLAPIE.js +0 -2
- package/dist/cdn/TSZAQNPK.js +0 -2
- package/dist/cdn/U6LKEFFT.js +0 -2
- package/dist/cdn/UAADJQTQ.js +0 -2
- package/dist/cdn/UOIMVKXE.js +0 -2
- package/dist/cdn/XSSG2WBN.js +0 -2
- package/dist/cdn/YHGC7HRA.js +0 -2
- package/dist/cdn/Z53AVC5H.js +0 -2
- package/dist/cdn/ZXUITROT.js +0 -2
|
@@ -3,7 +3,7 @@ import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, nothing, html } from "lit";
|
|
4
4
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
5
5
|
import { LitElement, safeClassMap } from "@arcgis/lumina";
|
|
6
|
-
import {
|
|
6
|
+
import { useDirection } from "@arcgis/lumina/controllers";
|
|
7
7
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
8
8
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
9
9
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
@@ -22,6 +22,7 @@ class TableCell extends LitElement {
|
|
|
22
22
|
constructor() {
|
|
23
23
|
super(...arguments);
|
|
24
24
|
this.containerRef = createRef();
|
|
25
|
+
this.direction = useDirection();
|
|
25
26
|
this.messages = useT9n();
|
|
26
27
|
this.focusSetter = useSetFocus()(this);
|
|
27
28
|
this.interactiveContainer = useInteractive(this);
|
|
@@ -66,7 +67,7 @@ class TableCell extends LitElement {
|
|
|
66
67
|
this.focused = true;
|
|
67
68
|
}
|
|
68
69
|
render() {
|
|
69
|
-
const dir =
|
|
70
|
+
const dir = this.direction;
|
|
70
71
|
const staticCell = this.disabled || this.interactionMode === "static" && (!this.selectionCell || this.selectionCell && this.parentRowType === "foot");
|
|
71
72
|
return this.interactiveContainer({ disabled: this.disabled, children: html`<td class=${safeClassMap({
|
|
72
73
|
[CSS.footerCell]: this.parentRowType === "foot",
|
|
@@ -3,7 +3,7 @@ import { c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement, safeClassMap } from "@arcgis/lumina";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
|
-
import {
|
|
6
|
+
import { a as slotChangeGetAssignedElements, A as getSlotAssignedElements } from "../../chunks/dom.js";
|
|
7
7
|
const CSS = {
|
|
8
8
|
section: "section"
|
|
9
9
|
};
|
|
@@ -3,10 +3,10 @@ import { c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
|
+
import { useDirection } from "@arcgis/lumina/controllers";
|
|
6
7
|
import { i as isValidNumber } from "../../chunks/locale.js";
|
|
7
8
|
import { c as componentFocusable, g as getIconScale } from "../../chunks/component.js";
|
|
8
9
|
import { d as decimalPlaces } from "../../chunks/math.js";
|
|
9
|
-
import { g as getElementDir } from "../../chunks/dom.js";
|
|
10
10
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
11
11
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
12
12
|
import { u as useTime } from "../../chunks/useTime.js";
|
|
@@ -53,6 +53,7 @@ const styles = css`:host{display:inline-block}.time-picker{display:flex;-webkit-
|
|
|
53
53
|
class TimePicker extends LitElement {
|
|
54
54
|
constructor() {
|
|
55
55
|
super();
|
|
56
|
+
this.direction = useDirection();
|
|
56
57
|
this.fractionalSecondRef = createRef();
|
|
57
58
|
this.hourRef = createRef();
|
|
58
59
|
this.meridiemRef = createRef();
|
|
@@ -318,7 +319,7 @@ class TimePicker extends LitElement {
|
|
|
318
319
|
[CSS.buttonFractionalSecondDown]: true
|
|
319
320
|
})} @click=${this.fractionalSecondDownClickHandler} role=button><calcite-icon .icon=${ICONS.chevronDown} .scale=${iconScale}></calcite-icon></span></div>` || ""}${showSecondSuffix && html`<span class=${safeClassMap({ [CSS.delimiter]: true, [CSS.secondSuffix]: true })}>${localizedSecondSuffix.trim()}</span>` || ""}${showMeridiem && html`<div class=${safeClassMap({
|
|
320
321
|
[CSS.column]: true,
|
|
321
|
-
[CSS.meridiemStart]: meridiemOrder === 0 ||
|
|
322
|
+
[CSS.meridiemStart]: meridiemOrder === 0 || this.direction === "rtl"
|
|
322
323
|
})} role=group><span .ariaLabel=${messages.meridiemUp} class=${safeClassMap({
|
|
323
324
|
[CSS.button]: true,
|
|
324
325
|
[CSS.buttonMeridiemUp]: true,
|
|
@@ -3,12 +3,13 @@ import { c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement, createEvent, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
|
+
import { useDirection } from "@arcgis/lumina/controllers";
|
|
6
7
|
import { e as defaultOffsetDistance, r as reposition, a as disconnectFloatingUI, h as hideFloatingUI, c as connectFloatingUI, F as FloatingCSS } from "../../chunks/floating-ui.js";
|
|
7
8
|
import { g as guid } from "../../chunks/guid.js";
|
|
8
9
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
9
10
|
import { F as FloatingArrow } from "../../chunks/FloatingArrow.js";
|
|
10
11
|
import { u as useTopLayer } from "../../chunks/useTopLayer.js";
|
|
11
|
-
import { q as queryElementRoots,
|
|
12
|
+
import { q as queryElementRoots, B as getShadowRootNode } from "../../chunks/dom.js";
|
|
12
13
|
const CSS = {
|
|
13
14
|
positionContainer: "position-container",
|
|
14
15
|
container: "container"
|
|
@@ -269,6 +270,7 @@ class Tooltip extends LitElement {
|
|
|
269
270
|
constructor() {
|
|
270
271
|
super(...arguments);
|
|
271
272
|
this.arrowRef = createRef();
|
|
273
|
+
this.direction = useDirection();
|
|
272
274
|
this.guid = IDS.host(guid());
|
|
273
275
|
this.transitionProp = "opacity";
|
|
274
276
|
this.transitionRef = createRef();
|
|
@@ -298,6 +300,7 @@ class Tooltip extends LitElement {
|
|
|
298
300
|
async reposition(delayed = false) {
|
|
299
301
|
const { referenceEl, placement, overlayPositioning, offsetDistance, offsetSkidding, arrowRef, floatingEl } = this;
|
|
300
302
|
return reposition(this, {
|
|
303
|
+
direction: this.direction,
|
|
301
304
|
floatingEl,
|
|
302
305
|
referenceEl,
|
|
303
306
|
overlayPositioning,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement, createEvent, setAttribute } from "@arcgis/lumina";
|
|
5
|
-
import {
|
|
5
|
+
import { i as focusElement, n as nodeListToArray, a as slotChangeGetAssignedElements } from "../../chunks/dom.js";
|
|
6
6
|
import { t as toAriaBoolean } from "../../chunks/aria.js";
|
|
7
7
|
function isTreeItem(element) {
|
|
8
8
|
return element?.tagName === "CALCITE-TREE-ITEM";
|
|
@@ -4,7 +4,8 @@ import { keyed } from "lit/directives/keyed.js";
|
|
|
4
4
|
import { css, html, nothing } from "lit";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap, setAttribute } from "@arcgis/lumina";
|
|
7
|
-
import {
|
|
7
|
+
import { useDirection } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { z as filterDirectChildren, a as slotChangeGetAssignedElements, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
8
9
|
import { t as toAriaBoolean } from "../../chunks/aria.js";
|
|
9
10
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
10
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
@@ -39,6 +40,7 @@ class TreeItem extends LitElement {
|
|
|
39
40
|
constructor() {
|
|
40
41
|
super();
|
|
41
42
|
this.actionSlotWrapperRef = createRef();
|
|
43
|
+
this.direction = useDirection();
|
|
42
44
|
this.userChangedValue = false;
|
|
43
45
|
this.interactiveContainer = useInteractive(this);
|
|
44
46
|
this.hasEndActions = false;
|
|
@@ -242,7 +244,7 @@ class TreeItem extends LitElement {
|
|
|
242
244
|
return null;
|
|
243
245
|
}
|
|
244
246
|
render() {
|
|
245
|
-
const rtl =
|
|
247
|
+
const rtl = this.direction === "rtl";
|
|
246
248
|
const selectionIcon = this.getSelectionIcon();
|
|
247
249
|
const checkboxIsIndeterminate = this.hasChildren && this.indeterminate;
|
|
248
250
|
const chevron = this.hasChildren || this.selectionMode === "ancestors" ? html`<calcite-icon class=${safeClassMap({
|