@esri/calcite-components 1.10.0-next.8 → 1.10.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.
- package/dist/calcite/assets/input-time-zone/t9n/messages.json +3 -3
- package/dist/calcite/assets/input-time-zone/t9n/messages_en.json +3 -3
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-f2923204.entry.js → p-004e069a.entry.js} +2 -2
- package/dist/calcite/{p-57db9bb5.js → p-01336eb8.js} +2 -2
- package/dist/calcite/{p-95c6ff70.js → p-02ffe899.js} +2 -2
- package/dist/calcite/{p-3ba340ce.js → p-0673188b.js} +1 -1
- package/dist/calcite/{p-80761c9d.js → p-08e5ea49.js} +2 -2
- package/dist/calcite/{p-f9bdfc63.js → p-09040350.js} +2 -2
- package/dist/calcite/{p-28b31c1d.entry.js → p-0c8d3da3.entry.js} +2 -2
- package/dist/calcite/{p-3d2fcd90.js → p-0dd00c35.js} +2 -2
- package/dist/calcite/p-0e6f7f43.entry.js +6 -0
- package/dist/calcite/{p-2391fe21.js → p-0ee37677.js} +2 -2
- package/dist/calcite/{p-0f89703c.entry.js → p-0fccefd2.entry.js} +2 -2
- package/dist/calcite/{p-ff69f87d.js → p-105a525e.js} +2 -2
- package/dist/calcite/{p-3b20998f.entry.js → p-1178cbbe.entry.js} +2 -2
- package/dist/calcite/{p-979e7659.entry.js → p-131f9b12.entry.js} +2 -2
- package/dist/calcite/{p-61f0517c.entry.js → p-1332c842.entry.js} +2 -2
- package/dist/calcite/{p-d5d9c044.js → p-150280cd.js} +2 -2
- package/dist/calcite/{p-605c531d.entry.js → p-153131fb.entry.js} +2 -2
- package/dist/calcite/{p-434e0a98.entry.js → p-17847501.entry.js} +2 -2
- package/dist/calcite/p-17ee73e0.entry.js +6 -0
- package/dist/calcite/p-1809af8d.js +6 -0
- package/dist/calcite/{p-89daf1d6.entry.js → p-1890b4bf.entry.js} +2 -2
- package/dist/calcite/{p-5d0440be.entry.js → p-19c3058b.entry.js} +2 -2
- package/dist/calcite/{p-ba88ee2f.js → p-1d2aa6bc.js} +1 -1
- package/dist/calcite/{p-09611013.entry.js → p-1eac1008.entry.js} +2 -2
- package/dist/calcite/{p-042a1275.js → p-1ebea24f.js} +2 -2
- package/dist/calcite/{p-8731ff1a.entry.js → p-1f5f36b0.entry.js} +2 -2
- package/dist/calcite/{p-d1c6fb95.entry.js → p-2555068c.entry.js} +2 -2
- package/dist/calcite/{p-2c0cfd3a.js → p-2556334a.js} +2 -2
- package/dist/calcite/{p-94b16f0e.js → p-27384fa5.js} +2 -2
- package/dist/calcite/{p-90052d9f.entry.js → p-284658ce.entry.js} +2 -2
- package/dist/calcite/{p-a0f4f6eb.entry.js → p-2b090fd0.entry.js} +2 -2
- package/dist/calcite/p-2b573ead.entry.js +6 -0
- package/dist/calcite/p-2c69dd69.entry.js +6 -0
- package/dist/calcite/{p-3411072d.entry.js → p-2f298505.entry.js} +2 -2
- package/dist/calcite/{p-e81ba1a6.js → p-308f5dd8.js} +2 -2
- package/dist/calcite/{p-6ffbc922.entry.js → p-311776da.entry.js} +2 -2
- package/dist/calcite/{p-85891552.entry.js → p-32b2d67a.entry.js} +2 -2
- package/dist/calcite/{p-95bc8a66.entry.js → p-33c3ea9c.entry.js} +2 -2
- package/dist/calcite/{p-3f9f4578.js → p-342e5f69.js} +2 -2
- package/dist/calcite/{p-b41dbbf2.js → p-343f1e34.js} +2 -2
- package/dist/calcite/{p-7cec9f27.js → p-36d3ed5d.js} +1 -1
- package/dist/calcite/{p-74bdde00.entry.js → p-37051c74.entry.js} +2 -2
- package/dist/calcite/{p-0e205036.js → p-397635f5.js} +2 -2
- package/dist/calcite/{p-f0ae6250.entry.js → p-39af3299.entry.js} +2 -2
- package/dist/calcite/{p-afb5bfac.js → p-39c4bd14.js} +1 -1
- package/dist/calcite/{p-b61aeefa.js → p-3aa6843f.js} +1 -1
- package/dist/calcite/{p-472805ec.entry.js → p-3c3483c7.entry.js} +2 -2
- package/dist/calcite/{p-05d93355.js → p-3d697009.js} +2 -2
- package/dist/calcite/{p-fbb6928e.entry.js → p-3e3f4098.entry.js} +2 -2
- package/dist/calcite/{p-f25b3d95.entry.js → p-3f3ba232.entry.js} +2 -2
- package/dist/calcite/{p-df3b1c71.js → p-4011c57e.js} +2 -2
- package/dist/calcite/{p-6fe3a8cb.entry.js → p-428e9f05.entry.js} +2 -2
- package/dist/calcite/{p-5ffe1323.entry.js → p-42f6e04f.entry.js} +2 -2
- package/dist/calcite/{p-1c93f3f7.js → p-430a4118.js} +2 -2
- package/dist/calcite/{p-4ea2589b.js → p-438d4256.js} +2 -2
- package/dist/calcite/{p-7363c949.js → p-45376bb7.js} +1 -1
- package/dist/calcite/{p-dd9c8057.js → p-46c48630.js} +2 -2
- package/dist/calcite/{p-a78846d5.js → p-46f0626f.js} +1 -1
- package/dist/calcite/{p-f720ead4.entry.js → p-4860f0ef.entry.js} +2 -2
- package/dist/calcite/{p-6ae2760e.entry.js → p-4882f1e7.entry.js} +2 -2
- package/dist/calcite/p-4b72efc5.entry.js +6 -0
- package/dist/calcite/{p-4387e048.js → p-4c505e07.js} +2 -2
- package/dist/calcite/{p-f9654c06.js → p-4c9d8a31.js} +2 -2
- package/dist/calcite/{p-671a8dab.entry.js → p-4dfbd1bc.entry.js} +2 -2
- package/dist/calcite/{p-c03bf329.js → p-4f5868d5.js} +2 -2
- package/dist/calcite/{p-c212e6ce.js → p-530096f0.js} +2 -2
- package/dist/calcite/p-53386f79.js +6 -0
- package/dist/calcite/{p-9b3ff9fe.js → p-5418fb94.js} +1 -1
- package/dist/calcite/{p-3109135c.js → p-54ad40fe.js} +2 -2
- package/dist/calcite/{p-2ef0535d.entry.js → p-5529d66d.entry.js} +2 -2
- package/dist/calcite/p-580f2500.entry.js +6 -0
- package/dist/calcite/{p-2a7a126c.entry.js → p-58232284.entry.js} +2 -2
- package/dist/calcite/{p-50b4fe6e.js → p-593d1938.js} +2 -2
- package/dist/calcite/{p-2ed7bd5f.js → p-5945f229.js} +2 -2
- package/dist/calcite/{p-d9ab276c.entry.js → p-5d3063ea.entry.js} +2 -2
- package/dist/calcite/{p-bde7c875.js → p-5e057250.js} +2 -2
- package/dist/calcite/{p-07d2e108.entry.js → p-6209d02d.entry.js} +2 -2
- package/dist/calcite/p-63d24825.entry.js +6 -0
- package/dist/calcite/{p-0ce4ae49.js → p-66deab13.js} +2 -2
- package/dist/calcite/{p-bd02e0c4.js → p-6a381b8b.js} +2 -2
- package/dist/calcite/{p-0a1db46f.js → p-6d390983.js} +2 -2
- package/dist/calcite/{p-8f711d4c.js → p-7255d779.js} +1 -1
- package/dist/calcite/{p-1ad99156.js → p-731400db.js} +1 -1
- package/dist/calcite/{p-75b25bb9.js → p-7833f32a.js} +2 -2
- package/dist/calcite/{p-6453048f.entry.js → p-7ae804f8.entry.js} +2 -2
- package/dist/calcite/{p-d1c47ad6.js → p-7b2a2228.js} +2 -2
- package/dist/calcite/{p-bd658cfa.js → p-7bb0a24d.js} +2 -2
- package/dist/calcite/p-7dcb8d27.entry.js +6 -0
- package/dist/calcite/p-7ec1c4e6.js +6 -0
- package/dist/calcite/{p-3efc6b1d.js → p-7f81cc49.js} +2 -2
- package/dist/calcite/{p-e9b47353.js → p-802467c1.js} +2 -2
- package/dist/calcite/{p-1cbdeba8.js → p-8527626c.js} +2 -2
- package/dist/calcite/{p-51824a22.entry.js → p-85347869.entry.js} +2 -2
- package/dist/calcite/{p-d4f975ff.js → p-87791eeb.js} +2 -2
- package/dist/calcite/{p-ec9031b4.entry.js → p-8a4ff950.entry.js} +2 -2
- package/dist/calcite/{p-c350ab73.js → p-8afff3b2.js} +2 -2
- package/dist/calcite/{p-237265c2.js → p-8bfdc9d6.js} +2 -2
- package/dist/calcite/{p-dbcba905.entry.js → p-8dbdc2ee.entry.js} +2 -2
- package/dist/calcite/{p-73f87812.entry.js → p-8eb1cb04.entry.js} +2 -2
- package/dist/calcite/{p-6801f583.entry.js → p-9052ced6.entry.js} +2 -2
- package/dist/calcite/{p-3b2bced3.js → p-90898a8d.js} +1 -1
- package/dist/calcite/p-914c936d.entry.js +6 -0
- package/dist/calcite/{p-159569ef.js → p-9312fc08.js} +1 -1
- package/dist/calcite/{p-0f5da816.entry.js → p-9608ce1c.entry.js} +2 -2
- package/dist/calcite/{p-3f4978b0.entry.js → p-9ad8f2dc.entry.js} +2 -2
- package/dist/calcite/{p-1aef3a68.entry.js → p-9bc263b0.entry.js} +2 -2
- package/dist/calcite/{p-66e9e959.entry.js → p-9bc561b9.entry.js} +2 -2
- package/dist/calcite/{p-9b2a04b5.js → p-9bd510bf.js} +2 -2
- package/dist/calcite/{p-577e8e66.js → p-9bdf2220.js} +1 -1
- package/dist/calcite/{p-ec05c729.js → p-9bf9b1f6.js} +2 -2
- package/dist/calcite/{p-a37ac19b.js → p-9ce6b1a0.js} +2 -2
- package/dist/calcite/{p-01356069.js → p-9fa7f921.js} +1 -1
- package/dist/calcite/{p-a38a050a.js → p-a1785cb1.js} +1 -1
- package/dist/calcite/{p-1d5a5ce8.js → p-a3a72125.js} +2 -2
- package/dist/calcite/{p-4cd1d362.js → p-a871bf16.js} +2 -2
- package/dist/calcite/{p-7f1940cc.entry.js → p-a97224e3.entry.js} +2 -2
- package/dist/calcite/{p-d94f3311.js → p-ac683d4b.js} +2 -2
- package/dist/calcite/{p-59c918d0.entry.js → p-ad54e10a.entry.js} +2 -2
- package/dist/calcite/{p-87408cbe.js → p-ae13c82e.js} +2 -2
- package/dist/calcite/{p-68460237.js → p-b123f4eb.js} +2 -2
- package/dist/calcite/{p-af220fc5.entry.js → p-b295dd07.entry.js} +2 -2
- package/dist/calcite/{p-88105b7d.js → p-b56661b0.js} +3 -3
- package/dist/calcite/{p-9740f047.js → p-b58e1d02.js} +2 -2
- package/dist/calcite/{p-1699661b.js → p-b7c24c21.js} +2 -2
- package/dist/calcite/{p-977c8870.js → p-b9648199.js} +2 -2
- package/dist/calcite/p-bbbbad84.entry.js +6 -0
- package/dist/calcite/p-bbd3d30b.js +6 -0
- package/dist/calcite/{p-35692ab1.js → p-bde954a7.js} +2 -2
- package/dist/calcite/{p-0b8f858f.js → p-c30c47b1.js} +2 -2
- package/dist/calcite/{p-7cefd7bf.js → p-c3a16369.js} +2 -2
- package/dist/calcite/{p-0bc6cf5c.entry.js → p-c40aa963.entry.js} +2 -2
- package/dist/calcite/p-c6acafe6.entry.js +6 -0
- package/dist/calcite/{p-603b42a5.js → p-c7143cb9.js} +2 -2
- package/dist/calcite/p-c981b8c2.entry.js +6 -0
- package/dist/calcite/{p-a4d8e161.entry.js → p-ca73a030.entry.js} +2 -2
- package/dist/calcite/{p-c6cb1274.js → p-d02a423b.js} +2 -2
- package/dist/calcite/{p-9cb81da5.entry.js → p-d520f8a9.entry.js} +2 -2
- package/dist/calcite/{p-f807b34f.js → p-d7e55add.js} +2 -2
- package/dist/calcite/{p-930f1c93.entry.js → p-d96d8572.entry.js} +2 -2
- package/dist/calcite/{p-f546a964.js → p-db148515.js} +2 -2
- package/dist/calcite/{p-128223be.js → p-db7b5a5d.js} +1 -1
- package/dist/calcite/{p-d22c3be5.js → p-dc8221b8.js} +2 -2
- package/dist/calcite/{p-bc416404.entry.js → p-df7c7641.entry.js} +2 -2
- package/dist/calcite/{p-617b58be.entry.js → p-e016c47c.entry.js} +2 -2
- package/dist/calcite/{p-eee7b66b.js → p-e03abf55.js} +2 -2
- package/dist/calcite/{p-8c382a3e.js → p-e1544594.js} +2 -2
- package/dist/calcite/p-e25df814.js +6 -0
- package/dist/calcite/{p-afb6d64b.entry.js → p-e4cb03fe.entry.js} +2 -2
- package/dist/calcite/p-e587d33b.js +6 -0
- package/dist/calcite/{p-17bb07b7.js → p-e5b74595.js} +1 -1
- package/dist/calcite/{p-947bcb5b.js → p-ec05c1a3.js} +2 -2
- package/dist/calcite/{p-e4289501.entry.js → p-ec701024.entry.js} +2 -2
- package/dist/calcite/{p-09f8a836.js → p-ee9bb199.js} +2 -2
- package/dist/calcite/{p-1f4b228f.entry.js → p-eff69f08.entry.js} +2 -2
- package/dist/calcite/{p-d63cdaf9.entry.js → p-f0d94046.entry.js} +2 -2
- package/dist/calcite/{p-a2fb4362.entry.js → p-f0dfab94.entry.js} +2 -2
- package/dist/calcite/{p-cd8ce34f.entry.js → p-f42601b2.entry.js} +2 -2
- package/dist/calcite/{p-5046a969.entry.js → p-f7784ecf.entry.js} +2 -2
- package/dist/calcite/{p-d5a0aeb4.js → p-fa55c6cb.js} +1 -1
- package/dist/calcite/{p-86947894.js → p-fc4ae57c.js} +2 -2
- package/dist/calcite/{p-4ed03cc4.js → p-fd8af378.js} +2 -2
- package/dist/cjs/{ExpandToggle-df83d3e1.js → ExpandToggle-3fb2b6cd.js} +5 -5
- package/dist/cjs/{FloatingArrow-27b5a710.js → FloatingArrow-53d1857a.js} +2 -2
- package/dist/cjs/{Heading-fc03cdb5.js → Heading-6252a876.js} +2 -2
- package/dist/cjs/{app-globals-3e7e2d36.js → app-globals-63e51788.js} +2 -2
- package/dist/cjs/{ar-23ad9127.js → ar-ff196d50.js} +19 -19
- package/dist/cjs/{array-b4c77a24.js → array-9f0a082a.js} +1 -1
- package/dist/cjs/{bg-fcaf728b.js → bg-53b237a8.js} +19 -19
- package/dist/cjs/{browser-c8e6a9e3.js → browser-bc2f2efb.js} +1 -1
- package/dist/cjs/{bs-c0e172d0.js → bs-90a14199.js} +19 -19
- package/dist/cjs/{ca-5230c611.js → ca-c2d44673.js} +19 -19
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +15 -15
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +16 -16
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +44 -46
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +15 -15
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-text.cjs.entry.js +15 -15
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-023c89c4.js → calcite-input-time-picker.calcite-time-picker-e62854f3.js} +63 -63
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input.cjs.entry.js +15 -15
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +81 -35
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{component-ab6f34b4.js → component-75681f41.js} +1 -1
- package/dist/cjs/{conditionalSlot-97d87ee0.js → conditionalSlot-849e1a34.js} +3 -3
- package/dist/cjs/{cs-c1362466.js → cs-833ac105.js} +19 -19
- package/dist/cjs/{da-1770c810.js → da-a78ac4d4.js} +19 -19
- package/dist/cjs/{de-at-88bbd625.js → de-at-11a78c7a.js} +19 -19
- package/dist/cjs/{de-ch-21ac80a3.js → de-ch-7013df28.js} +19 -19
- package/dist/cjs/{de-0ba359c8.js → de-dfbba77e.js} +19 -19
- package/dist/cjs/{debounce-85cadc83.js → debounce-94fa0a04.js} +1 -1
- package/dist/cjs/{dom-73ce44a6.js → dom-6172ed4c.js} +3 -18
- package/dist/cjs/{el-824252d0.js → el-5820ebeb.js} +19 -19
- package/dist/cjs/{en-au-0de8ad5c.js → en-au-e93c1794.js} +19 -19
- package/dist/cjs/{en-ca-64d1d2fd.js → en-ca-adebc326.js} +19 -19
- package/dist/cjs/{en-gb-fb312acc.js → en-gb-4996e917.js} +19 -19
- package/dist/cjs/{es-166f0c12.js → es-4bed0f9f.js} +19 -19
- package/dist/cjs/{es-mx-91422d01.js → es-mx-3f758f26.js} +19 -19
- package/dist/cjs/{et-643b33ee.js → et-ee862ea4.js} +19 -19
- package/dist/cjs/{fi-80c19f6b.js → fi-84798e76.js} +19 -19
- package/dist/cjs/{filter-1964b36a.js → filter-3cbeb5e0.js} +2 -2
- package/dist/cjs/{floating-ui-6be49e6e.js → floating-ui-38753771.js} +3 -3
- package/dist/cjs/{focusTrapComponent-6bb56299.js → focusTrapComponent-014b315b.js} +2 -2
- package/dist/cjs/{form-2eb31c00.js → form-00b7de4b.js} +3 -3
- package/dist/cjs/{fr-36d67e7b.js → fr-a2c5c04b.js} +19 -19
- package/dist/cjs/{fr-ch-19aa6043.js → fr-ch-3f656295.js} +19 -19
- package/dist/cjs/{globalAttributes-1db2eeca.js → globalAttributes-625c8efa.js} +2 -2
- package/dist/cjs/{guid-2813d472.js → guid-67658644.js} +1 -1
- package/dist/cjs/{he-72162c4d.js → he-cb7336d0.js} +19 -19
- package/dist/cjs/{hi-4f6491d2.js → hi-f3c85b74.js} +19 -19
- package/dist/cjs/{hr-a852cd23.js → hr-c6821e59.js} +19 -19
- package/dist/cjs/{hu-b523a700.js → hu-4e2b7bfa.js} +19 -19
- package/dist/cjs/{id-9e9f7234.js → id-2f6176de.js} +19 -19
- package/dist/cjs/{index-881fa04e.js → index-631c1935.js} +1 -1
- package/dist/cjs/{index-4ef3fa42.js → index-a872d5df.js} +1 -1
- package/dist/cjs/{index-5dab04a7.js → index-f05af83a.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-5c4c1535.js → interactive-e0c7a04c.js} +2 -2
- package/dist/cjs/{it-3bc00555.js → it-5f449eb7.js} +19 -19
- package/dist/cjs/{it-ch-16d5d7ac.js → it-ch-48290b2f.js} +19 -19
- package/dist/cjs/{ja-6771fb79.js → ja-ceeefc77.js} +19 -19
- package/dist/cjs/{key-f31e193b.js → key-1b72be47.js} +1 -1
- package/dist/cjs/{ko-48652d75.js → ko-240c001d.js} +19 -19
- package/dist/cjs/{label-d8ba7528.js → label-40e4cd77.js} +2 -2
- package/dist/cjs/{loadable-107a05e5.js → loadable-77539c62.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-7212ba29.js → locale-786ce6b3.js} +4 -4
- package/dist/cjs/{lt-d44d2cbc.js → lt-73c0e4e1.js} +19 -19
- package/dist/cjs/{lv-5570cadb.js → lv-b1beabb2.js} +19 -19
- package/dist/cjs/{math-6cc42fbd.js → math-b503dee6.js} +1 -1
- package/dist/cjs/{mk-85f54b97.js → mk-8f575310.js} +19 -19
- package/dist/cjs/{nb-2ece26f7.js → nb-7d0e6896.js} +19 -19
- package/dist/cjs/{nl-5f77e82b.js → nl-4d62e622.js} +19 -19
- package/dist/cjs/{observers-d5d839b6.js → observers-c825c70d.js} +1 -1
- package/dist/cjs/{openCloseComponent-627f0265.js → openCloseComponent-7235170a.js} +2 -2
- package/dist/cjs/{pl-3497b142.js → pl-524cca47.js} +19 -19
- package/dist/cjs/{pt-cb326195.js → pt-3f90bc0a.js} +19 -19
- package/dist/cjs/{pt-br-a36f8f67.js → pt-br-a7f9ce20.js} +19 -19
- package/dist/cjs/{resources-0f827835.js → resources-01ae6233.js} +1 -1
- package/dist/cjs/{resources-778bdf12.js → resources-5d33edb3.js} +1 -1
- package/dist/cjs/{resources-cda94bd0.js → resources-6d227abf.js} +1 -1
- package/dist/cjs/{resources-6d17ac2c.js → resources-790ebd6e.js} +1 -1
- package/dist/cjs/{resources-e0376306.js → resources-d5c37631.js} +1 -1
- package/dist/cjs/{resources-5d9e2aaf.js → resources-e8c96bce.js} +5 -5
- package/dist/cjs/{resources-8ea1ba99.js → resources-faeadfb6.js} +1 -1
- package/dist/cjs/{responsive-56071122.js → responsive-5b2e13fe.js} +1 -1
- package/dist/cjs/{ro-a486e9e6.js → ro-91d6df25.js} +19 -19
- package/dist/cjs/{ru-1c0e0117.js → ru-bea4d3be.js} +19 -19
- package/dist/cjs/{sk-0574a1d3.js → sk-7557e087.js} +19 -19
- package/dist/cjs/{sl-2a517b8d.js → sl-5ce09d71.js} +19 -19
- package/dist/cjs/{sortableComponent-dbe98730.js → sortableComponent-2e141c24.js} +1 -1
- package/dist/cjs/{sr-8d49ff1f.js → sr-9d55fff2.js} +19 -19
- package/dist/cjs/{sv-62089b1e.js → sv-a699c161.js} +19 -19
- package/dist/cjs/{t9n-2f2c7a13.js → t9n-5def0889.js} +3 -3
- package/dist/cjs/{th-f7a7e313.js → th-70243587.js} +19 -19
- package/dist/cjs/{throttle-a43800c9.js → throttle-a3cc83a5.js} +2 -2
- package/dist/cjs/{tr-30dbac55.js → tr-ec2e4a74.js} +19 -19
- package/dist/cjs/{uk-e8208346.js → uk-d79384e3.js} +19 -19
- package/dist/cjs/{utils-749ee45b.js → utils-13f61f3f.js} +1 -1
- package/dist/cjs/{utils-31177fdf.js → utils-baea4844.js} +3 -3
- package/dist/cjs/{vi-b0608403.js → vi-7ded95b8.js} +19 -19
- package/dist/cjs/{zh-cn-41831871.js → zh-cn-ad3a3ad6.js} +19 -19
- package/dist/cjs/{zh-hk-63347d09.js → zh-hk-91ca468a.js} +19 -19
- package/dist/cjs/{zh-tw-8f2635ff.js → zh-tw-ad4bd55f.js} +19 -19
- package/dist/collection/components/accordion/accordion.css +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +1 -2
- package/dist/collection/components/combobox/combobox.js +23 -23
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +2 -3
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +1 -1
- package/dist/collection/components/filter/filter.js +2 -2
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +3 -2
- package/dist/collection/components/graph/graph.css +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages.json +3 -3
- package/dist/collection/components/input-time-zone/assets/input-time-zone/t9n/messages_en.json +3 -3
- package/dist/collection/components/input-time-zone/input-time-zone.css +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.css +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.css +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +9 -0
- package/dist/collection/components/tab/tab.css +28 -28
- package/dist/collection/components/tab/tab.js +6 -8
- package/dist/collection/components/tab-nav/resources.js +8 -0
- package/dist/collection/components/tab-nav/tab-nav.css +24 -7
- package/dist/collection/components/tab-nav/tab-nav.js +16 -13
- package/dist/collection/components/tab-title/resources.js +2 -2
- package/dist/collection/components/tab-title/tab-title.css +24 -25
- package/dist/collection/components/tab-title/tab-title.js +13 -17
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +1 -1
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +1 -1
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/table-row.css +1 -1
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +1 -1
- package/dist/collection/components/tabs/tabs.js +53 -3
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +2 -3
- package/dist/components/combobox.js +25 -25
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -16
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +2 -2
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/globalAttributes.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +2 -2
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/responsive.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +16 -10
- package/dist/components/tab-title.js +9 -15
- package/dist/components/tab.js +9 -7
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +46 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-bbb02721.js → ExpandToggle-3c49d639.js} +5 -5
- package/dist/esm/{FloatingArrow-d7d7007c.js → FloatingArrow-b99544af.js} +2 -2
- package/dist/esm/{Heading-801b555e.js → Heading-8274015d.js} +2 -2
- package/dist/esm/{app-globals-339b9630.js → app-globals-a400dd61.js} +2 -2
- package/dist/esm/{ar-17fb35e1.js → ar-0d24ba19.js} +19 -19
- package/dist/esm/{array-e4659a40.js → array-4078e4e8.js} +1 -1
- package/dist/esm/{bg-29e807de.js → bg-41f0a344.js} +19 -19
- package/dist/esm/{browser-95616b47.js → browser-6b1c93d7.js} +1 -1
- package/dist/esm/{bs-601b17f0.js → bs-9fb6cb20.js} +19 -19
- package/dist/esm/{ca-db0d2bb9.js → ca-02763ffe.js} +19 -19
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +15 -15
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +16 -16
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +44 -46
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +15 -15
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +14 -14
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-date-picker.entry.js +20 -20
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +15 -15
- package/dist/esm/calcite-input-text.entry.js +15 -15
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-7cb0ee1f.js → calcite-input-time-picker.calcite-time-picker-b4438756.js} +63 -63
- package/dist/esm/calcite-input-time-picker_2.entry.js +19 -19
- package/dist/esm/calcite-input-time-zone.entry.js +16 -16
- package/dist/esm/calcite-input.entry.js +15 -15
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +11 -11
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +81 -35
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{component-ce5d17ad.js → component-d6d13dbf.js} +1 -1
- package/dist/esm/{conditionalSlot-c9701a0e.js → conditionalSlot-5bef2941.js} +3 -3
- package/dist/esm/{cs-996013ab.js → cs-5e710b40.js} +19 -19
- package/dist/esm/{da-711ce961.js → da-a1a6bb9b.js} +19 -19
- package/dist/esm/{de-e60855b4.js → de-acd02bc2.js} +19 -19
- package/dist/esm/{de-at-238f8b5c.js → de-at-8e5ec8c0.js} +19 -19
- package/dist/esm/{de-ch-a4c26365.js → de-ch-375f0b07.js} +19 -19
- package/dist/esm/{debounce-1a62d92d.js → debounce-686e8954.js} +1 -1
- package/dist/esm/{dom-a421ce55.js → dom-9ac56900.js} +4 -18
- package/dist/esm/{el-e586eec9.js → el-80e1ff0c.js} +19 -19
- package/dist/esm/{en-au-68e82791.js → en-au-6077eea6.js} +19 -19
- package/dist/esm/{en-ca-f4b9e9d8.js → en-ca-8511686c.js} +19 -19
- package/dist/esm/{en-gb-3e14c946.js → en-gb-8144d60e.js} +19 -19
- package/dist/esm/{es-dcabffb1.js → es-0462a378.js} +19 -19
- package/dist/esm/{es-mx-83b5f502.js → es-mx-982091e0.js} +19 -19
- package/dist/esm/{et-4bc70520.js → et-14225e6e.js} +19 -19
- package/dist/esm/{fi-9128c8de.js → fi-30956ee6.js} +19 -19
- package/dist/esm/{filter-93566a5e.js → filter-58f40640.js} +2 -2
- package/dist/esm/{floating-ui-63dd5d72.js → floating-ui-be2d5268.js} +3 -3
- package/dist/esm/{focusTrapComponent-edbf3695.js → focusTrapComponent-3b9fb942.js} +2 -2
- package/dist/esm/{form-6756c63e.js → form-093f5b04.js} +3 -3
- package/dist/esm/{fr-529f2c27.js → fr-4ed7daff.js} +19 -19
- package/dist/esm/{fr-ch-8a26fec6.js → fr-ch-8fbbc30f.js} +19 -19
- package/dist/esm/{globalAttributes-abdacaf6.js → globalAttributes-c361d715.js} +2 -2
- package/dist/esm/{guid-f172ae54.js → guid-805a73d1.js} +1 -1
- package/dist/esm/{he-2285e0ec.js → he-b57e3a7c.js} +19 -19
- package/dist/esm/{hi-aae182f9.js → hi-99c9b198.js} +19 -19
- package/dist/esm/{hr-dd408fd6.js → hr-74a407de.js} +19 -19
- package/dist/esm/{hu-3a5c9247.js → hu-b4ea1f8d.js} +19 -19
- package/dist/esm/{id-3c8c9335.js → id-35f140e2.js} +19 -19
- package/dist/esm/{index-d33bc281.js → index-4c97cc37.js} +1 -1
- package/dist/esm/{index-ed3e0e7f.js → index-89cd0584.js} +1 -1
- package/dist/esm/{index-a7390dca.js → index-8f3f586a.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-b1d604fe.js → interactive-2b2de863.js} +2 -2
- package/dist/esm/{it-ch-87a1d688.js → it-ch-72916841.js} +19 -19
- package/dist/esm/{it-5cee14c4.js → it-dc9fa292.js} +19 -19
- package/dist/esm/{ja-f97bc371.js → ja-dcc50b14.js} +19 -19
- package/dist/esm/{key-25616884.js → key-f3638642.js} +1 -1
- package/dist/esm/{ko-85e15879.js → ko-b58db1fa.js} +19 -19
- package/dist/esm/{label-5b1effee.js → label-0873b8dd.js} +2 -2
- package/dist/esm/{loadable-8c31e49d.js → loadable-1917c524.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-34b0349d.js → locale-07424fa5.js} +4 -4
- package/dist/esm/{lt-f77ce5eb.js → lt-afd75bee.js} +19 -19
- package/dist/esm/{lv-246fcdfb.js → lv-d7823878.js} +19 -19
- package/dist/esm/{math-1fceef96.js → math-84ae8cd7.js} +1 -1
- package/dist/esm/{mk-e8d2b98c.js → mk-2fc51c89.js} +19 -19
- package/dist/esm/{nb-0062fda2.js → nb-1a230648.js} +19 -19
- package/dist/esm/{nl-9bb9afd1.js → nl-510ce2f9.js} +19 -19
- package/dist/esm/{observers-47704288.js → observers-469c8c46.js} +1 -1
- package/dist/esm/{openCloseComponent-21cc8d40.js → openCloseComponent-baf628d7.js} +2 -2
- package/dist/esm/{pl-17ea3d42.js → pl-18390b80.js} +19 -19
- package/dist/esm/{pt-45e225ea.js → pt-9fa332f4.js} +19 -19
- package/dist/esm/{pt-br-0614606f.js → pt-br-6dd90b72.js} +19 -19
- package/dist/esm/{resources-5d276419.js → resources-1e592f26.js} +1 -1
- package/dist/esm/{resources-775613d6.js → resources-4b543454.js} +1 -1
- package/dist/esm/{resources-5be296d6.js → resources-6ed27057.js} +1 -1
- package/dist/esm/{resources-1e44ac95.js → resources-8c8ad2c0.js} +5 -5
- package/dist/esm/{resources-e640663e.js → resources-93a25f6f.js} +1 -1
- package/dist/esm/{resources-20ef1636.js → resources-ce721825.js} +1 -1
- package/dist/esm/{resources-818f7e91.js → resources-e83ed566.js} +1 -1
- package/dist/esm/{responsive-e6fbf452.js → responsive-0a8f63c5.js} +1 -1
- package/dist/esm/{ro-89624e5e.js → ro-a522cc24.js} +19 -19
- package/dist/esm/{ru-bf759c13.js → ru-bbd9194b.js} +19 -19
- package/dist/esm/{sk-5e81ebbe.js → sk-a303deba.js} +19 -19
- package/dist/esm/{sl-a7be7b95.js → sl-a45d1446.js} +19 -19
- package/dist/esm/{sortableComponent-fc890d29.js → sortableComponent-ded95007.js} +1 -1
- package/dist/esm/{sr-262c281f.js → sr-8560d64c.js} +19 -19
- package/dist/esm/{sv-9a73ae91.js → sv-2bcbce22.js} +19 -19
- package/dist/esm/{t9n-beee2af5.js → t9n-0cedcbfc.js} +3 -3
- package/dist/esm/{th-f4669de2.js → th-6b613c60.js} +19 -19
- package/dist/esm/{throttle-21d71c9b.js → throttle-2808d5d5.js} +2 -2
- package/dist/esm/{tr-7a71bab8.js → tr-9c792030.js} +19 -19
- package/dist/esm/{uk-f29accef.js → uk-8b1b5351.js} +19 -19
- package/dist/esm/{utils-c600f230.js → utils-9da4191c.js} +1 -1
- package/dist/esm/{utils-68c0332f.js → utils-e4941644.js} +3 -3
- package/dist/esm/{vi-2b78aa6b.js → vi-96d0b47a.js} +19 -19
- package/dist/esm/{zh-cn-0f25c9c0.js → zh-cn-92ec38c3.js} +19 -19
- package/dist/esm/{zh-hk-b10ececc.js → zh-hk-1451a1a9.js} +19 -19
- package/dist/esm/{zh-tw-c801f484.js → zh-tw-f74b1bd5.js} +19 -19
- package/dist/extras/docs-json.json +4 -4
- package/dist/extras/translations-json.json +1 -1
- package/dist/extras/vscode-data.json +2 -2
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/combobox/combobox.d.ts +0 -2
- package/dist/types/components/combobox-item/combobox-item.d.ts +1 -1
- package/dist/types/components/tab/resources.d.ts +4 -0
- package/dist/types/components/tab/tab.d.ts +2 -1
- package/dist/types/components/tab-nav/resources.d.ts +3 -0
- package/dist/types/components/tab-nav/tab-nav.d.ts +6 -2
- package/dist/types/components/tab-title/resources.d.ts +1 -1
- package/dist/types/components/tab-title/tab-title.d.ts +5 -1
- package/dist/types/components/tabs/tabs.d.ts +8 -2
- package/dist/types/components.d.ts +19 -4
- package/hydrate/index.js +526 -505
- package/package.json +3 -3
- package/readme.md +2 -2
- package/dist/calcite/p-09365075.entry.js +0 -6
- package/dist/calcite/p-1dc395d5.js +0 -6
- package/dist/calcite/p-25c3efe4.entry.js +0 -6
- package/dist/calcite/p-2e76b8f0.entry.js +0 -6
- package/dist/calcite/p-5c0751d5.js +0 -6
- package/dist/calcite/p-646610e9.entry.js +0 -6
- package/dist/calcite/p-6b94f278.entry.js +0 -6
- package/dist/calcite/p-7f8eea81.entry.js +0 -6
- package/dist/calcite/p-814f5371.js +0 -6
- package/dist/calcite/p-979de2bf.js +0 -6
- package/dist/calcite/p-a2c564eb.entry.js +0 -6
- package/dist/calcite/p-abaee6e8.js +0 -6
- package/dist/calcite/p-b34d500c.js +0 -6
- package/dist/calcite/p-bbcc57ab.entry.js +0 -6
- package/dist/calcite/p-c686a2fa.entry.js +0 -6
- package/dist/calcite/p-d279f09b.entry.js +0 -6
- package/dist/calcite/p-d46cf3a7.entry.js +0 -6
- package/dist/calcite/p-fb824477.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.10.0
|
|
4
|
+
* v1.10.0
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6622,20 +6622,6 @@ function getElementDir(el) {
|
|
|
6622
6622
|
const closest = closestElementCrossShadowBoundary(el, selector);
|
|
6623
6623
|
return closest ? closest.getAttribute(prop) : "ltr";
|
|
6624
6624
|
}
|
|
6625
|
-
/**
|
|
6626
|
-
* This helper returns the value of an attribute on an element.
|
|
6627
|
-
*
|
|
6628
|
-
* @param {HTMLElement} el An element.
|
|
6629
|
-
* @param {string} attribute An attribute name.
|
|
6630
|
-
* @param {any} fallbackValue A fallback value.
|
|
6631
|
-
* @returns {any} The value.
|
|
6632
|
-
* @deprecated
|
|
6633
|
-
*/
|
|
6634
|
-
function getElementProp(el, attribute, fallbackValue) {
|
|
6635
|
-
const selector = `[${attribute}]`;
|
|
6636
|
-
const closest = el.closest(selector);
|
|
6637
|
-
return closest ? closest.getAttribute(attribute) : fallbackValue;
|
|
6638
|
-
}
|
|
6639
6625
|
/**
|
|
6640
6626
|
* This helper returns the rootNode of an element.
|
|
6641
6627
|
*
|
|
@@ -6993,7 +6979,7 @@ const SLOTS$z = {
|
|
|
6993
6979
|
actionsStart: "actions-start",
|
|
6994
6980
|
actionsEnd: "actions-end",
|
|
6995
6981
|
};
|
|
6996
|
-
const CSS$
|
|
6982
|
+
const CSS$1f = {
|
|
6997
6983
|
icon: "icon",
|
|
6998
6984
|
header: "header",
|
|
6999
6985
|
headerContent: "header-content",
|
|
@@ -7061,28 +7047,28 @@ class AccordionItem {
|
|
|
7061
7047
|
// --------------------------------------------------------------------------
|
|
7062
7048
|
renderActionsStart() {
|
|
7063
7049
|
const { el } = this;
|
|
7064
|
-
return getSlotted(el, SLOTS$z.actionsStart) ? (hAsync("div", { class: CSS$
|
|
7050
|
+
return getSlotted(el, SLOTS$z.actionsStart) ? (hAsync("div", { class: CSS$1f.actionsStart }, hAsync("slot", { name: SLOTS$z.actionsStart }))) : null;
|
|
7065
7051
|
}
|
|
7066
7052
|
renderActionsEnd() {
|
|
7067
7053
|
const { el } = this;
|
|
7068
|
-
return getSlotted(el, SLOTS$z.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
7054
|
+
return getSlotted(el, SLOTS$z.actionsEnd) ? (hAsync("div", { class: CSS$1f.actionsEnd }, hAsync("slot", { name: SLOTS$z.actionsEnd }))) : null;
|
|
7069
7055
|
}
|
|
7070
7056
|
render() {
|
|
7071
7057
|
const { iconFlipRtl } = this;
|
|
7072
7058
|
const dir = getElementDir(this.el);
|
|
7073
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
7074
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
7059
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$1f.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: getIconScale(this.scale) })) : null;
|
|
7060
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$1f.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: getIconScale(this.scale) })) : null;
|
|
7075
7061
|
const { description } = this;
|
|
7076
7062
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
7077
7063
|
[`icon-position--${this.iconPosition}`]: true,
|
|
7078
7064
|
[`icon-type--${this.iconType}`]: true,
|
|
7079
|
-
} }, hAsync("div", { class: { [CSS$
|
|
7065
|
+
} }, hAsync("div", { class: { [CSS$1f.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-controls": IDS$2.section, "aria-expanded": toAriaBoolean(this.expanded), class: CSS$1f.headerContent, id: IDS$2.sectionToggle, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$1f.headerContainer }, iconStartEl, hAsync("div", { class: CSS$1f.headerText }, hAsync("span", { class: CSS$1f.heading }, this.heading), description ? hAsync("span", { class: CSS$1f.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$1f.expandIcon, icon: this.iconType === "chevron"
|
|
7080
7066
|
? "chevronDown"
|
|
7081
7067
|
: this.iconType === "caret"
|
|
7082
7068
|
? "caretDown"
|
|
7083
7069
|
: this.expanded
|
|
7084
7070
|
? "minus"
|
|
7085
|
-
: "plus", scale: getIconScale(this.scale) })), this.renderActionsEnd()), hAsync("section", { "aria-labelledby": IDS$2.sectionToggle, class: CSS$
|
|
7071
|
+
: "plus", scale: getIconScale(this.scale) })), this.renderActionsEnd()), hAsync("section", { "aria-labelledby": IDS$2.sectionToggle, class: CSS$1f.content, id: IDS$2.section }, hAsync("slot", null)))));
|
|
7086
7072
|
}
|
|
7087
7073
|
//--------------------------------------------------------------------------
|
|
7088
7074
|
//
|
|
@@ -8004,7 +7990,7 @@ function defaultOnMessagesChange() {
|
|
|
8004
7990
|
mergeMessages(this);
|
|
8005
7991
|
}
|
|
8006
7992
|
|
|
8007
|
-
const CSS$
|
|
7993
|
+
const CSS$1e = {
|
|
8008
7994
|
button: "button",
|
|
8009
7995
|
buttonTextVisible: "button--text-visible",
|
|
8010
7996
|
buttonCompact: "button--compact",
|
|
@@ -8116,14 +8102,14 @@ class Action {
|
|
|
8116
8102
|
renderTextContainer() {
|
|
8117
8103
|
const { text, textEnabled } = this;
|
|
8118
8104
|
const textContainerClasses = {
|
|
8119
|
-
[CSS$
|
|
8120
|
-
[CSS$
|
|
8105
|
+
[CSS$1e.textContainer]: true,
|
|
8106
|
+
[CSS$1e.textContainerVisible]: textEnabled,
|
|
8121
8107
|
};
|
|
8122
8108
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
8123
8109
|
}
|
|
8124
8110
|
renderIndicatorText() {
|
|
8125
8111
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
8126
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
8112
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$1e.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
8127
8113
|
}
|
|
8128
8114
|
renderIconContainer() {
|
|
8129
8115
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -8133,18 +8119,18 @@ class Action {
|
|
|
8133
8119
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
8134
8120
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
8135
8121
|
const slotContainerNode = (hAsync("div", { class: {
|
|
8136
|
-
[CSS$
|
|
8137
|
-
[CSS$
|
|
8122
|
+
[CSS$1e.slotContainer]: true,
|
|
8123
|
+
[CSS$1e.slotContainerHidden]: loading,
|
|
8138
8124
|
} }, hAsync("slot", null)));
|
|
8139
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
8125
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$1e.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
8140
8126
|
}
|
|
8141
8127
|
render() {
|
|
8142
8128
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages, } = this;
|
|
8143
8129
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
8144
8130
|
const buttonClasses = {
|
|
8145
|
-
[CSS$
|
|
8146
|
-
[CSS$
|
|
8147
|
-
[CSS$
|
|
8131
|
+
[CSS$1e.button]: true,
|
|
8132
|
+
[CSS$1e.buttonTextVisible]: textEnabled,
|
|
8133
|
+
[CSS$1e.buttonCompact]: compact,
|
|
8148
8134
|
};
|
|
8149
8135
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
|
|
8150
8136
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
@@ -9456,11 +9442,11 @@ const SLOTS$x = {
|
|
|
9456
9442
|
const ICONS$k = {
|
|
9457
9443
|
menu: "ellipsis",
|
|
9458
9444
|
};
|
|
9459
|
-
const CSS$
|
|
9445
|
+
const CSS$1d = {
|
|
9460
9446
|
container: "container",
|
|
9461
9447
|
};
|
|
9462
9448
|
|
|
9463
|
-
const CSS$
|
|
9449
|
+
const CSS$1c = {
|
|
9464
9450
|
menu: "menu",
|
|
9465
9451
|
defaultTrigger: "default-trigger",
|
|
9466
9452
|
};
|
|
@@ -9562,7 +9548,7 @@ const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position
|
|
|
9562
9548
|
return actionNode;
|
|
9563
9549
|
};
|
|
9564
9550
|
|
|
9565
|
-
const CSS$
|
|
9551
|
+
const CSS$1b = {
|
|
9566
9552
|
actionGroupEnd: "action-group--end",
|
|
9567
9553
|
};
|
|
9568
9554
|
const SLOTS$v = {
|
|
@@ -9768,7 +9754,7 @@ class ActionBar {
|
|
|
9768
9754
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
9769
9755
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
9770
9756
|
ref: this.setExpandToggleRef })) : null;
|
|
9771
|
-
return (hAsync("calcite-action-group", { class: CSS$
|
|
9757
|
+
return (hAsync("calcite-action-group", { class: CSS$1b.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), label: actionsEndGroupLabel, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$v.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$v.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$v.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
|
9772
9758
|
}
|
|
9773
9759
|
render() {
|
|
9774
9760
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9896,7 +9882,7 @@ class ActionGroup {
|
|
|
9896
9882
|
return (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], hidden: !hasMenuActions, label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, overlayPositioning: overlayPositioning, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$k.menu, scale: scale, slot: SLOTS$w.trigger, text: messages.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$x.menuActions, onSlotchange: this.handleMenuActionsSlotChange }), hAsync("slot", { name: SLOTS$x.menuTooltip, slot: SLOTS$w.tooltip })));
|
|
9897
9883
|
}
|
|
9898
9884
|
render() {
|
|
9899
|
-
return (hAsync("div", { "aria-label": this.label, class: CSS$
|
|
9885
|
+
return (hAsync("div", { "aria-label": this.label, class: CSS$1d.container, role: "group" }, hAsync("slot", null), this.renderMenu()));
|
|
9900
9886
|
}
|
|
9901
9887
|
static get delegatesFocus() { return true; }
|
|
9902
9888
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10182,7 +10168,7 @@ class ActionMenu {
|
|
|
10182
10168
|
}
|
|
10183
10169
|
renderMenuButton() {
|
|
10184
10170
|
const { appearance, label, scale, expanded } = this;
|
|
10185
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$w.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { appearance: appearance, class: CSS$
|
|
10171
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$w.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { appearance: appearance, class: CSS$1c.defaultTrigger, icon: ICONS$j.menu, scale: scale, text: label, textEnabled: expanded,
|
|
10186
10172
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10187
10173
|
ref: this.setDefaultMenuButtonEl })));
|
|
10188
10174
|
return menuButtonSlot;
|
|
@@ -10191,7 +10177,7 @@ class ActionMenu {
|
|
|
10191
10177
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements, } = this;
|
|
10192
10178
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
10193
10179
|
const activeDescendantId = activeAction?.id || null;
|
|
10194
|
-
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$
|
|
10180
|
+
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$1c.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
10195
10181
|
}
|
|
10196
10182
|
render() {
|
|
10197
10183
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$w.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -10228,7 +10214,7 @@ class ActionMenu {
|
|
|
10228
10214
|
}; }
|
|
10229
10215
|
}
|
|
10230
10216
|
|
|
10231
|
-
const CSS$
|
|
10217
|
+
const CSS$1a = {
|
|
10232
10218
|
actionGroupEnd: "action-group--end",
|
|
10233
10219
|
container: "container",
|
|
10234
10220
|
};
|
|
@@ -10353,10 +10339,10 @@ class ActionPad {
|
|
|
10353
10339
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
10354
10340
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10355
10341
|
ref: this.setExpandToggleRef })) : null;
|
|
10356
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10342
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$1a.actionGroupEnd, label: actionsEndGroupLabel, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
|
|
10357
10343
|
}
|
|
10358
10344
|
render() {
|
|
10359
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10345
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$1a.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10360
10346
|
}
|
|
10361
10347
|
static get delegatesFocus() { return true; }
|
|
10362
10348
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10488,7 +10474,7 @@ const SLOTS$t = {
|
|
|
10488
10474
|
message: "message",
|
|
10489
10475
|
link: "link",
|
|
10490
10476
|
};
|
|
10491
|
-
const CSS$
|
|
10477
|
+
const CSS$19 = {
|
|
10492
10478
|
actionsEnd: "actions-end",
|
|
10493
10479
|
close: "close",
|
|
10494
10480
|
container: "container",
|
|
@@ -10694,16 +10680,16 @@ class Alert {
|
|
|
10694
10680
|
const effectiveIcon = setRequestedIcon(KindIcons, this.icon, this.kind);
|
|
10695
10681
|
const hasQueuedAlerts = this.queueLength > 1;
|
|
10696
10682
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, hAsync("div", { class: {
|
|
10697
|
-
[CSS$
|
|
10698
|
-
[CSS$
|
|
10699
|
-
[`${CSS$
|
|
10700
|
-
[CSS$
|
|
10683
|
+
[CSS$19.container]: true,
|
|
10684
|
+
[CSS$19.containerQueued]: queued,
|
|
10685
|
+
[`${CSS$19.container}--${placement}`]: true,
|
|
10686
|
+
[CSS$19.containerSlottedInShell]: this.slottedInShell,
|
|
10701
10687
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10702
10688
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10703
|
-
ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
10689
|
+
ref: this.setTransitionEl }, hAsync("div", { class: CSS$19.contentContainer }, effectiveIcon && greaterOrEqualThanSmall ? this.renderIcon(effectiveIcon) : null, hAsync("div", { class: CSS$19.content }, effectiveIcon && lessThanSmall ? this.renderIcon(effectiveIcon) : null, hAsync("div", { class: CSS$19.textContainer }, hAsync("slot", { name: SLOTS$t.title }), hAsync("slot", { name: SLOTS$t.message }), hAsync("slot", { name: SLOTS$t.link })))), lessThanSmall ? this.renderCloseButton() : null, hAsync("div", { class: CSS$19.footer, hidden: !hasEndActions && !hasQueuedAlerts }, this.renderActionsEnd(), hasQueuedAlerts ? this.renderQueueCount() : null), greaterOrEqualThanSmall ? this.renderCloseButton() : null, open && !queued && autoClose ? hAsync("div", { class: CSS$19.dismissProgress }) : null)));
|
|
10704
10690
|
}
|
|
10705
10691
|
renderCloseButton() {
|
|
10706
|
-
return (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
10692
|
+
return (hAsync("button", { "aria-label": this.messages.close, class: CSS$19.close, key: "close", onClick: this.closeAlert, type: "button",
|
|
10707
10693
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10708
10694
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: getIconScale(this.scale) })));
|
|
10709
10695
|
}
|
|
@@ -10711,15 +10697,15 @@ class Alert {
|
|
|
10711
10697
|
const queueNumber = this.queueLength > 2 ? this.queueLength - 1 : 1;
|
|
10712
10698
|
const queueText = numberStringFormatter.numberFormatter.format(queueNumber);
|
|
10713
10699
|
return (hAsync("div", { class: {
|
|
10714
|
-
[CSS$
|
|
10715
|
-
[CSS$
|
|
10700
|
+
[CSS$19.queueCount]: true,
|
|
10701
|
+
[CSS$19.queueCountActive]: this.queueLength > 1,
|
|
10716
10702
|
}, key: "queue-count" }, hAsync("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
|
|
10717
10703
|
}
|
|
10718
10704
|
renderActionsEnd() {
|
|
10719
|
-
return (hAsync("div", { class: CSS$
|
|
10705
|
+
return (hAsync("div", { class: CSS$19.actionsEnd }, hAsync("slot", { name: SLOTS$t.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler })));
|
|
10720
10706
|
}
|
|
10721
10707
|
renderIcon(icon) {
|
|
10722
|
-
return (hAsync("div", { class: CSS$
|
|
10708
|
+
return (hAsync("div", { class: CSS$19.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: icon, scale: getIconScale(this.scale) })));
|
|
10723
10709
|
}
|
|
10724
10710
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10725
10711
|
alertSync(event) {
|
|
@@ -11191,7 +11177,7 @@ const IDS$1 = {
|
|
|
11191
11177
|
toggle: "toggle",
|
|
11192
11178
|
header: "header",
|
|
11193
11179
|
};
|
|
11194
|
-
const CSS$
|
|
11180
|
+
const CSS$18 = {
|
|
11195
11181
|
button: "button",
|
|
11196
11182
|
container: "container",
|
|
11197
11183
|
content: "content",
|
|
@@ -11341,27 +11327,27 @@ class Block {
|
|
|
11341
11327
|
renderIcon() {
|
|
11342
11328
|
const { loading, messages, status } = this;
|
|
11343
11329
|
const hasSlottedIcon = !!getSlotted(this.el, SLOTS$s.icon);
|
|
11344
|
-
return loading ? (hAsync("div", { class: CSS$
|
|
11345
|
-
[CSS$
|
|
11346
|
-
[CSS$
|
|
11347
|
-
[CSS$
|
|
11348
|
-
}, icon: ICONS$h[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$
|
|
11330
|
+
return loading ? (hAsync("div", { class: CSS$18.icon, key: "loader" }, hAsync("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (hAsync("div", { class: CSS$18.icon, key: "status-icon" }, hAsync("calcite-icon", { class: {
|
|
11331
|
+
[CSS$18.statusIcon]: true,
|
|
11332
|
+
[CSS$18.valid]: status == "valid",
|
|
11333
|
+
[CSS$18.invalid]: status == "invalid",
|
|
11334
|
+
}, icon: ICONS$h[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$18.icon, key: "icon-slot" }, hAsync("slot", { key: "icon-slot", name: SLOTS$s.icon }))) : null;
|
|
11349
11335
|
}
|
|
11350
11336
|
renderTitle() {
|
|
11351
11337
|
const { heading, headingLevel, description } = this;
|
|
11352
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
11338
|
+
return heading || description ? (hAsync("div", { class: CSS$18.title }, hAsync(Heading, { class: CSS$18.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$18.description }, description) : null)) : null;
|
|
11353
11339
|
}
|
|
11354
11340
|
render() {
|
|
11355
11341
|
const { collapsible, el, loading, open, messages } = this;
|
|
11356
11342
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11357
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
11343
|
+
const headerContent = (hAsync("header", { class: CSS$18.header, id: IDS$1.header }, this.renderIcon(), this.renderTitle()));
|
|
11358
11344
|
const hasControl = !!getSlotted(el, SLOTS$s.control);
|
|
11359
11345
|
const hasMenuActions = !!getSlotted(el, SLOTS$s.headerMenuActions);
|
|
11360
11346
|
const collapseIcon = open ? ICONS$h.opened : ICONS$h.closed;
|
|
11361
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
11347
|
+
const headerNode = (hAsync("div", { class: CSS$18.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": IDS$1.content, "aria-describedby": IDS$1.header, "aria-expanded": collapsible ? toAriaBoolean(open) : null, class: CSS$18.toggle, id: IDS$1.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$18.toggleIcon, icon: collapseIcon, scale: "s" }))) : (headerContent), hasControl ? (hAsync("div", { class: CSS$18.controlContainer }, hAsync("slot", { name: SLOTS$s.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$s.headerMenuActions }))) : null));
|
|
11362
11348
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
11363
|
-
[CSS$
|
|
11364
|
-
} }, headerNode, hAsync("section", { "aria-labelledby": IDS$1.toggle, class: CSS$
|
|
11349
|
+
[CSS$18.container]: true,
|
|
11350
|
+
} }, headerNode, hAsync("section", { "aria-labelledby": IDS$1.toggle, class: CSS$18.content, hidden: !open, id: IDS$1.content,
|
|
11365
11351
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
11366
11352
|
ref: this.setTransitionEl }, this.renderScrim()))));
|
|
11367
11353
|
}
|
|
@@ -11402,7 +11388,7 @@ const IDS = {
|
|
|
11402
11388
|
content: "content",
|
|
11403
11389
|
toggle: "toggle",
|
|
11404
11390
|
};
|
|
11405
|
-
const CSS$
|
|
11391
|
+
const CSS$17 = {
|
|
11406
11392
|
content: "content",
|
|
11407
11393
|
focusGuard: "focus-guard",
|
|
11408
11394
|
invalid: "invalid",
|
|
@@ -11506,9 +11492,9 @@ class BlockSection {
|
|
|
11506
11492
|
const { status } = this;
|
|
11507
11493
|
const statusIcon = ICONS$g[status] ?? false;
|
|
11508
11494
|
const statusIconClasses = {
|
|
11509
|
-
[CSS$
|
|
11510
|
-
[CSS$
|
|
11511
|
-
[CSS$
|
|
11495
|
+
[CSS$17.statusIcon]: true,
|
|
11496
|
+
[CSS$17.valid]: status == "valid",
|
|
11497
|
+
[CSS$17.invalid]: status == "invalid",
|
|
11512
11498
|
};
|
|
11513
11499
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11514
11500
|
}
|
|
@@ -11522,15 +11508,15 @@ class BlockSection {
|
|
|
11522
11508
|
: ICONS$g.menuClosedRight;
|
|
11523
11509
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11524
11510
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { class: {
|
|
11525
|
-
[CSS$
|
|
11511
|
+
[CSS$17.toggleSwitchContainer]: true,
|
|
11526
11512
|
} }, hAsync("div", { "aria-controls": IDS.content, "aria-expanded": toAriaBoolean(open), class: {
|
|
11527
|
-
[CSS$
|
|
11528
|
-
[CSS$
|
|
11529
|
-
}, id: IDS.toggle, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, role: "button", tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
11530
|
-
[CSS$
|
|
11531
|
-
[CSS$
|
|
11532
|
-
}, id: IDS.toggle, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
11533
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-labelledby": IDS.toggle, class: CSS$
|
|
11513
|
+
[CSS$17.toggle]: true,
|
|
11514
|
+
[CSS$17.toggleSwitch]: true,
|
|
11515
|
+
}, id: IDS.toggle, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, role: "button", tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$17.toggleSwitchContent }, hAsync("span", { class: CSS$17.toggleSwitchText }, text)), this.renderStatusIcon()), hAsync("calcite-label", { class: CSS$17.focusGuard, layout: "inline", tabIndex: -1 }, hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s" })))) : (hAsync("button", { "aria-controls": IDS.content, "aria-expanded": toAriaBoolean(open), class: {
|
|
11516
|
+
[CSS$17.sectionHeader]: true,
|
|
11517
|
+
[CSS$17.toggle]: true,
|
|
11518
|
+
}, id: IDS.toggle, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$17.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11519
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-labelledby": IDS.toggle, class: CSS$17.content, hidden: !open, id: IDS.content }, hAsync("slot", null))));
|
|
11534
11520
|
}
|
|
11535
11521
|
static get assetsDirs() { return ["assets"]; }
|
|
11536
11522
|
get el() { return getElement(this); }
|
|
@@ -11960,7 +11946,7 @@ function onLabelDisconnected() {
|
|
|
11960
11946
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11961
11947
|
}
|
|
11962
11948
|
|
|
11963
|
-
const CSS$
|
|
11949
|
+
const CSS$16 = {
|
|
11964
11950
|
buttonLoader: "calcite-button--loader",
|
|
11965
11951
|
content: "content",
|
|
11966
11952
|
contentSlotted: "content--slotted",
|
|
@@ -12154,17 +12140,17 @@ class Button {
|
|
|
12154
12140
|
render() {
|
|
12155
12141
|
const childElType = this.href ? "a" : "button";
|
|
12156
12142
|
const Tag = childElType;
|
|
12157
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
12143
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$16.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$16.loadingIn : CSS$16.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
12158
12144
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
12159
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
12160
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
12161
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
12145
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$16.icon]: true, [CSS$16.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: getIconScale(this.scale) }));
|
|
12146
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$16.icon]: true, [CSS$16.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: getIconScale(this.scale) }));
|
|
12147
|
+
const contentEl = (hAsync("span", { class: CSS$16.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
12162
12148
|
return (hAsync(Tag, { "aria-label": !this.loading ? getLabelText(this) : this.messages.loading, "aria-live": "polite", class: {
|
|
12163
|
-
[CSS$
|
|
12164
|
-
[CSS$
|
|
12165
|
-
[CSS$
|
|
12166
|
-
[CSS$
|
|
12167
|
-
[CSS$
|
|
12149
|
+
[CSS$16.buttonPadding]: noStartEndIcons,
|
|
12150
|
+
[CSS$16.buttonPaddingShrunk]: !noStartEndIcons,
|
|
12151
|
+
[CSS$16.contentSlotted]: this.hasContent,
|
|
12152
|
+
[CSS$16.iconStartEmpty]: !this.iconStart,
|
|
12153
|
+
[CSS$16.iconEndEmpty]: !this.iconEnd,
|
|
12168
12154
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, title: this.tooltipText, type: childElType === "button" && this.type, ...this.globalAttributes,
|
|
12169
12155
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12170
12156
|
ref: this.setChildEl }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
@@ -12421,7 +12407,7 @@ class CalciteMenu {
|
|
|
12421
12407
|
}; }
|
|
12422
12408
|
}
|
|
12423
12409
|
|
|
12424
|
-
const CSS$
|
|
12410
|
+
const CSS$15 = {
|
|
12425
12411
|
container: "container",
|
|
12426
12412
|
content: "content",
|
|
12427
12413
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12625,54 +12611,54 @@ class CalciteMenuItem {
|
|
|
12625
12611
|
//
|
|
12626
12612
|
//--------------------------------------------------------------------------
|
|
12627
12613
|
renderIconStart() {
|
|
12628
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12614
|
+
return (hAsync("calcite-icon", { class: `${CSS$15.icon} ${CSS$15.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$15.iconStart, scale: "s" }));
|
|
12629
12615
|
}
|
|
12630
12616
|
renderIconEnd() {
|
|
12631
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12617
|
+
return (hAsync("calcite-icon", { class: `${CSS$15.icon} ${CSS$15.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$15.iconEnd, scale: "s" }));
|
|
12632
12618
|
}
|
|
12633
12619
|
renderBreadcrumbIcon(dir) {
|
|
12634
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12620
|
+
return (hAsync("calcite-icon", { class: `${CSS$15.icon} ${CSS$15.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$15.iconBreadcrumb, scale: "s" }));
|
|
12635
12621
|
}
|
|
12636
12622
|
renderDropdownIcon(dir) {
|
|
12637
12623
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12638
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12624
|
+
return (hAsync("calcite-icon", { class: `${CSS$15.icon} ${CSS$15.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12639
12625
|
? this.open
|
|
12640
12626
|
? "chevron-up"
|
|
12641
12627
|
: "chevron-down"
|
|
12642
|
-
: dirChevron, key: CSS$
|
|
12628
|
+
: dirChevron, key: CSS$15.iconDropdown, scale: "s" }));
|
|
12643
12629
|
}
|
|
12644
12630
|
renderDropdownAction(dir) {
|
|
12645
12631
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12646
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12632
|
+
return (hAsync("calcite-action", { class: CSS$15.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12647
12633
|
? this.open
|
|
12648
12634
|
? "chevron-up"
|
|
12649
12635
|
: "chevron-down"
|
|
12650
|
-
: dirChevron, key: CSS$
|
|
12636
|
+
: dirChevron, key: CSS$15.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12651
12637
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12652
12638
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12653
12639
|
}
|
|
12654
12640
|
renderSubmenuItems(dir) {
|
|
12655
12641
|
return (hAsync("calcite-menu", { class: {
|
|
12656
|
-
[CSS$
|
|
12657
|
-
[CSS$
|
|
12658
|
-
[CSS$
|
|
12642
|
+
[CSS$15.dropdownMenuItems]: true,
|
|
12643
|
+
[CSS$15.open]: this.open,
|
|
12644
|
+
[CSS$15.nested]: !this.isTopLevelItem,
|
|
12659
12645
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12660
|
-
[CSS$
|
|
12646
|
+
[CSS$15.dropdownVertical]: this.topLevelMenuLayout === "vertical",
|
|
12661
12647
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12662
12648
|
}
|
|
12663
12649
|
renderHrefIcon(dir) {
|
|
12664
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12650
|
+
return (hAsync("calcite-icon", { class: CSS$15.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", key: CSS$15.hoverHrefIcon, scale: "s" }));
|
|
12665
12651
|
}
|
|
12666
12652
|
renderItemContent(dir) {
|
|
12667
12653
|
const hasHref = this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem);
|
|
12668
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12654
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$15.textContainer }, hAsync("span", null, this.text)), hasHref && this.renderHrefIcon(dir), this.iconEnd && this.renderIconEnd(), this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null, !this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null));
|
|
12669
12655
|
}
|
|
12670
12656
|
render() {
|
|
12671
12657
|
const dir = getElementDir(this.el);
|
|
12672
12658
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12673
|
-
[CSS$
|
|
12674
|
-
[CSS$
|
|
12675
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12659
|
+
[CSS$15.container]: true,
|
|
12660
|
+
[CSS$15.isParentVertical]: this.topLevelMenuLayout === "vertical",
|
|
12661
|
+
}, role: "none" }, hAsync("div", { class: CSS$15.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$15.layoutVertical]: this.layout === "vertical", [CSS$15.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12676
12662
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12677
12663
|
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir)), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12678
12664
|
}
|
|
@@ -12715,7 +12701,7 @@ class CalciteMenuItem {
|
|
|
12715
12701
|
}; }
|
|
12716
12702
|
}
|
|
12717
12703
|
|
|
12718
|
-
const CSS$
|
|
12704
|
+
const CSS$14 = {
|
|
12719
12705
|
container: "container",
|
|
12720
12706
|
containerContent: "container-content",
|
|
12721
12707
|
hasProgress: "progress-bar",
|
|
@@ -12864,11 +12850,11 @@ class CalciteNavigation {
|
|
|
12864
12850
|
this.navigationAction;
|
|
12865
12851
|
const slotName = this.el.slot;
|
|
12866
12852
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
12867
|
-
[CSS$
|
|
12868
|
-
[CSS$
|
|
12869
|
-
[CSS$
|
|
12870
|
-
[CSS$
|
|
12871
|
-
} }, hAsync("div", { class: { [CSS$
|
|
12853
|
+
[CSS$14.container]: true,
|
|
12854
|
+
[CSS$14.secondary]: slotName === SLOTS$r.navSecondary,
|
|
12855
|
+
[CSS$14.tertiary]: slotName === SLOTS$r.navTertiary,
|
|
12856
|
+
[CSS$14.primary]: primaryLevelHasElements,
|
|
12857
|
+
} }, hAsync("div", { class: { [CSS$14.hide]: !this.progressSlotHasElement, [SLOTS$r.progress]: true } }, hAsync("slot", { name: SLOTS$r.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$14.containerContent]: true, [CSS$14.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$14.hide]: !this.logoSlotHasElements, [SLOTS$r.logo]: true } }, hAsync("slot", { name: SLOTS$r.logo, onSlotchange: this.handleLogoSlotChange })), hAsync("slot", { name: SLOTS$r.contentStart, onSlotchange: this.handleContentStartSlotChange }), hAsync("slot", { name: SLOTS$r.contentCenter, onSlotchange: this.handleContentCenterSlotChange }), hAsync("slot", { name: SLOTS$r.contentEnd, onSlotchange: this.handleContentEndSlotChange }), hAsync("div", { class: { [CSS$14.hide]: !this.userSlotHasElements, [SLOTS$r.user]: true } }, hAsync("slot", { name: SLOTS$r.user, onSlotchange: this.handleUserSlotChange })))), hAsync(Fragment, null, hAsync("slot", { name: SLOTS$r.navSecondary, onSlotchange: this.handleSecondarySlotChange }), hAsync("slot", { name: SLOTS$r.navTertiary, onSlotchange: this.handleTertiarySlotChange }))));
|
|
12872
12858
|
}
|
|
12873
12859
|
get el() { return getElement(this); }
|
|
12874
12860
|
static get style() { return navigationCss; }
|
|
@@ -12895,7 +12881,7 @@ class CalciteNavigation {
|
|
|
12895
12881
|
}; }
|
|
12896
12882
|
}
|
|
12897
12883
|
|
|
12898
|
-
const CSS$
|
|
12884
|
+
const CSS$13 = {
|
|
12899
12885
|
container: "container",
|
|
12900
12886
|
heading: "heading",
|
|
12901
12887
|
description: "description",
|
|
@@ -12951,14 +12937,14 @@ class CalciteNavigationLogo {
|
|
|
12951
12937
|
// --------------------------------------------------------------------------
|
|
12952
12938
|
renderIcon() {
|
|
12953
12939
|
/** Icon scale is not variable as the component does not have a scale property */
|
|
12954
|
-
return hAsync("calcite-icon", { class: CSS$
|
|
12940
|
+
return hAsync("calcite-icon", { class: CSS$13.icon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "l" });
|
|
12955
12941
|
}
|
|
12956
12942
|
render() {
|
|
12957
12943
|
const { heading, description, thumbnail } = this;
|
|
12958
|
-
return (hAsync(Host, null, hAsync("a", { class: CSS$
|
|
12959
|
-
[CSS$
|
|
12960
|
-
[CSS$
|
|
12961
|
-
}, key: CSS$
|
|
12944
|
+
return (hAsync(Host, null, hAsync("a", { class: CSS$13.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$13.image, src: thumbnail }), this.icon && this.renderIcon(), (heading || description) && (hAsync("div", { class: CSS$13.container }, heading && (hAsync("span", { "aria-label": this.heading, class: {
|
|
12945
|
+
[CSS$13.heading]: true,
|
|
12946
|
+
[CSS$13.standalone]: !this.description,
|
|
12947
|
+
}, key: CSS$13.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$13.description, key: CSS$13.description }, description)))))));
|
|
12962
12948
|
}
|
|
12963
12949
|
static get delegatesFocus() { return true; }
|
|
12964
12950
|
get el() { return getElement(this); }
|
|
@@ -12985,7 +12971,7 @@ class CalciteNavigationLogo {
|
|
|
12985
12971
|
}; }
|
|
12986
12972
|
}
|
|
12987
12973
|
|
|
12988
|
-
const CSS$
|
|
12974
|
+
const CSS$12 = {
|
|
12989
12975
|
textContainer: "text-container",
|
|
12990
12976
|
fullName: "full-name",
|
|
12991
12977
|
username: "username",
|
|
@@ -13032,7 +13018,7 @@ class CalciteNavigationUser {
|
|
|
13032
13018
|
//
|
|
13033
13019
|
// --------------------------------------------------------------------------
|
|
13034
13020
|
render() {
|
|
13035
|
-
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$
|
|
13021
|
+
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$12.button }, hAsync("calcite-avatar", { "full-name": this.fullName, label: this.label, thumbnail: this.thumbnail, "user-id": this.userId, username: this.username }), (this.fullName || this.username) && !this.textDisabled && (hAsync("div", { class: CSS$12.textContainer }, this.fullName && (hAsync("span", { class: CSS$12.fullName, key: CSS$12.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$12.username, key: CSS$12.username }, this.username)))))));
|
|
13036
13022
|
}
|
|
13037
13023
|
static get delegatesFocus() { return true; }
|
|
13038
13024
|
get el() { return getElement(this); }
|
|
@@ -13056,7 +13042,7 @@ class CalciteNavigationUser {
|
|
|
13056
13042
|
}; }
|
|
13057
13043
|
}
|
|
13058
13044
|
|
|
13059
|
-
const CSS
|
|
13045
|
+
const CSS$11 = {
|
|
13060
13046
|
container: "container",
|
|
13061
13047
|
header: "header",
|
|
13062
13048
|
footer: "footer",
|
|
@@ -13141,7 +13127,7 @@ class Card {
|
|
|
13141
13127
|
render() {
|
|
13142
13128
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
13143
13129
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
13144
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS
|
|
13130
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$11.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
13145
13131
|
}
|
|
13146
13132
|
effectiveLocaleChange() {
|
|
13147
13133
|
updateMessages(this);
|
|
@@ -13151,24 +13137,24 @@ class Card {
|
|
|
13151
13137
|
this.calciteCardSelect.emit();
|
|
13152
13138
|
}
|
|
13153
13139
|
renderThumbnail() {
|
|
13154
|
-
return getSlotted(this.el, SLOTS$q.thumbnail) ? (hAsync("section", { class: CSS
|
|
13140
|
+
return getSlotted(this.el, SLOTS$q.thumbnail) ? (hAsync("section", { class: CSS$11.thumbnailWrapper }, hAsync("slot", { name: SLOTS$q.thumbnail }))) : null;
|
|
13155
13141
|
}
|
|
13156
13142
|
renderCheckbox() {
|
|
13157
|
-
return (hAsync("calcite-label", { class: CSS
|
|
13143
|
+
return (hAsync("calcite-label", { class: CSS$11.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
13158
13144
|
}
|
|
13159
13145
|
renderHeader() {
|
|
13160
13146
|
const { el } = this;
|
|
13161
13147
|
const title = getSlotted(el, SLOTS$q.title);
|
|
13162
13148
|
const subtitle = getSlotted(el, SLOTS$q.subtitle);
|
|
13163
13149
|
const hasHeader = title || subtitle;
|
|
13164
|
-
return hasHeader ? (hAsync("header", { class: CSS
|
|
13150
|
+
return hasHeader ? (hAsync("header", { class: CSS$11.header }, hAsync("slot", { name: SLOTS$q.title }), hAsync("slot", { name: SLOTS$q.subtitle }))) : null;
|
|
13165
13151
|
}
|
|
13166
13152
|
renderFooter() {
|
|
13167
13153
|
const { el } = this;
|
|
13168
13154
|
const startFooter = getSlotted(el, SLOTS$q.footerStart);
|
|
13169
13155
|
const endFooter = getSlotted(el, SLOTS$q.footerEnd);
|
|
13170
13156
|
const hasFooter = startFooter || endFooter;
|
|
13171
|
-
return hasFooter ? (hAsync("footer", { class: CSS
|
|
13157
|
+
return hasFooter ? (hAsync("footer", { class: CSS$11.footer }, hAsync("slot", { name: SLOTS$q.footerStart }), hAsync("slot", { name: SLOTS$q.footerEnd }))) : null;
|
|
13172
13158
|
}
|
|
13173
13159
|
static get assetsDirs() { return ["assets"]; }
|
|
13174
13160
|
get el() { return getElement(this); }
|
|
@@ -13331,7 +13317,7 @@ class Checkbox {
|
|
|
13331
13317
|
}; }
|
|
13332
13318
|
}
|
|
13333
13319
|
|
|
13334
|
-
const CSS$
|
|
13320
|
+
const CSS$10 = {
|
|
13335
13321
|
title: "title",
|
|
13336
13322
|
close: "close",
|
|
13337
13323
|
imageContainer: "image-container",
|
|
@@ -13500,7 +13486,7 @@ class Chip {
|
|
|
13500
13486
|
//
|
|
13501
13487
|
//--------------------------------------------------------------------------
|
|
13502
13488
|
renderChipImage() {
|
|
13503
|
-
return (hAsync("div", { class: CSS$
|
|
13489
|
+
return (hAsync("div", { class: CSS$10.imageContainer }, hAsync("slot", { name: SLOTS$p.image, onSlotchange: this.handleSlotImageChange })));
|
|
13504
13490
|
}
|
|
13505
13491
|
renderSelectionIcon() {
|
|
13506
13492
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -13511,17 +13497,17 @@ class Chip {
|
|
|
13511
13497
|
? ICONS$e.checkedSingle
|
|
13512
13498
|
: undefined;
|
|
13513
13499
|
return (hAsync("div", { class: {
|
|
13514
|
-
[CSS$
|
|
13515
|
-
[CSS$
|
|
13500
|
+
[CSS$10.selectIcon]: true,
|
|
13501
|
+
[CSS$10.selectIconActive]: this.selectionMode === "multiple" || this.selected,
|
|
13516
13502
|
} }, hAsync("calcite-icon", { icon: icon, scale: getIconScale(this.scale) })));
|
|
13517
13503
|
}
|
|
13518
13504
|
renderCloseButton() {
|
|
13519
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
13505
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$10.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
13520
13506
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
13521
13507
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$e.close, scale: getIconScale(this.scale) })));
|
|
13522
13508
|
}
|
|
13523
13509
|
renderIcon() {
|
|
13524
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
13510
|
+
return (hAsync("calcite-icon", { class: CSS$10.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: getIconScale(this.scale) }));
|
|
13525
13511
|
}
|
|
13526
13512
|
render() {
|
|
13527
13513
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -13535,21 +13521,21 @@ class Chip {
|
|
|
13535
13521
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
13536
13522
|
? toAriaBoolean(this.selected)
|
|
13537
13523
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
13538
|
-
[CSS$
|
|
13539
|
-
[CSS$
|
|
13540
|
-
[CSS$
|
|
13541
|
-
[CSS$
|
|
13542
|
-
[CSS$
|
|
13543
|
-
[CSS$
|
|
13544
|
-
[CSS$
|
|
13545
|
-
[CSS$
|
|
13524
|
+
[CSS$10.container]: true,
|
|
13525
|
+
[CSS$10.textSlotted]: this.hasText,
|
|
13526
|
+
[CSS$10.imageSlotted]: this.hasImage,
|
|
13527
|
+
[CSS$10.selectable]: this.selectionMode !== "none",
|
|
13528
|
+
[CSS$10.multiple]: this.selectionMode === "multiple",
|
|
13529
|
+
[CSS$10.closable]: this.closable,
|
|
13530
|
+
[CSS$10.nonInteractive]: !this.interactive,
|
|
13531
|
+
[CSS$10.isCircle]: !this.closable &&
|
|
13546
13532
|
!this.hasText &&
|
|
13547
13533
|
(!this.icon || !this.hasImage) &&
|
|
13548
13534
|
(this.selectionMode === "none" ||
|
|
13549
13535
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)),
|
|
13550
13536
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
13551
13537
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
13552
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
13538
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$10.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
13553
13539
|
}
|
|
13554
13540
|
static get assetsDirs() { return ["assets"]; }
|
|
13555
13541
|
get el() { return getElement(this); }
|
|
@@ -15871,7 +15857,7 @@ function zeroArray(array, length) {
|
|
|
15871
15857
|
|
|
15872
15858
|
var color = Color;
|
|
15873
15859
|
|
|
15874
|
-
const CSS
|
|
15860
|
+
const CSS$$ = {
|
|
15875
15861
|
channel: "channel",
|
|
15876
15862
|
channels: "channels",
|
|
15877
15863
|
colorField: "color-field",
|
|
@@ -16220,7 +16206,7 @@ class ColorPicker {
|
|
|
16220
16206
|
const { channelMode: activeChannelMode, messages } = this;
|
|
16221
16207
|
const selected = channelMode === activeChannelMode;
|
|
16222
16208
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
16223
|
-
return (hAsync("calcite-tab-title", { class: CSS
|
|
16209
|
+
return (hAsync("calcite-tab-title", { class: CSS$$.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
16224
16210
|
};
|
|
16225
16211
|
this.renderChannelsTab = (channelMode) => {
|
|
16226
16212
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -16231,7 +16217,7 @@ class ColorPicker {
|
|
|
16231
16217
|
: [messages.hue, messages.saturation, messages.value];
|
|
16232
16218
|
const direction = getElementDir(this.el);
|
|
16233
16219
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
16234
|
-
return (hAsync("calcite-tab", { class: CSS
|
|
16220
|
+
return (hAsync("calcite-tab", { class: CSS$$.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$$.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
|
|
16235
16221
|
const isAlphaChannel = index === 3;
|
|
16236
16222
|
if (isAlphaChannel) {
|
|
16237
16223
|
channelValue =
|
|
@@ -16242,7 +16228,7 @@ class ColorPicker {
|
|
|
16242
16228
|
}))));
|
|
16243
16229
|
};
|
|
16244
16230
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
16245
|
-
return (hAsync("calcite-input-number", { class: CSS
|
|
16231
|
+
return (hAsync("calcite-input-number", { class: CSS$$.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.handleChannelChange, onCalciteInputNumberInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, scale: this.scale === "l" ? "m" : "s",
|
|
16246
16232
|
// workaround to ensure input borders overlap as desired
|
|
16247
16233
|
// this is because the build transforms margin-left to its
|
|
16248
16234
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -16432,7 +16418,7 @@ class ColorPicker {
|
|
|
16432
16418
|
this.shiftKeyChannelAdjustment = 0;
|
|
16433
16419
|
const { key } = event;
|
|
16434
16420
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
16435
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS
|
|
16421
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$$.channel))) {
|
|
16436
16422
|
return;
|
|
16437
16423
|
}
|
|
16438
16424
|
const { shiftKey } = event;
|
|
@@ -16524,35 +16510,35 @@ class ColorPicker {
|
|
|
16524
16510
|
const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(colorFieldScopeLeft, colorFieldScopeTop);
|
|
16525
16511
|
const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
|
|
16526
16512
|
const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
|
|
16527
|
-
return (hAsync("div", { class: CSS
|
|
16513
|
+
return (hAsync("div", { class: CSS$$.container }, hAsync("div", { class: CSS$$.controlAndScope }, hAsync("canvas", { class: CSS$$.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16528
16514
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16529
|
-
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS
|
|
16515
|
+
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$$.scope]: true, [CSS$$.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
|
|
16530
16516
|
top: `${adjustedColorFieldScopeTop || 0}px`,
|
|
16531
16517
|
left: `${adjustedColorFieldScopeLeft || 0}px`,
|
|
16532
16518
|
}, tabindex: "0",
|
|
16533
16519
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16534
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS
|
|
16520
|
+
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$$.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$$.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$$.sliders }, hAsync("div", { class: CSS$$.controlAndScope }, hAsync("canvas", { class: { [CSS$$.slider]: true, [CSS$$.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
16535
16521
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16536
|
-
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS
|
|
16522
|
+
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$$.scope]: true, [CSS$$.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
|
|
16537
16523
|
top: `${adjustedHueScopeTop}px`,
|
|
16538
16524
|
left: `${adjustedHueScopeLeft}px`,
|
|
16539
16525
|
}, tabindex: "0",
|
|
16540
16526
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16541
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS
|
|
16527
|
+
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$$.controlAndScope }, hAsync("canvas", { class: { [CSS$$.slider]: true, [CSS$$.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
16542
16528
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16543
|
-
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS
|
|
16529
|
+
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$$.scope]: true, [CSS$$.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
|
|
16544
16530
|
top: `${adjustedOpacityScopeTop}px`,
|
|
16545
16531
|
left: `${adjustedOpacityScopeLeft}px`,
|
|
16546
16532
|
}, tabindex: "0",
|
|
16547
16533
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16548
16534
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
16549
|
-
[CSS
|
|
16550
|
-
[CSS
|
|
16551
|
-
} }, hAsync("div", { class: CSS
|
|
16552
|
-
[CSS
|
|
16553
|
-
[CSS
|
|
16554
|
-
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS
|
|
16555
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS
|
|
16535
|
+
[CSS$$.controlSection]: true,
|
|
16536
|
+
[CSS$$.section]: true,
|
|
16537
|
+
} }, hAsync("div", { class: CSS$$.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$$.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$$.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
16538
|
+
[CSS$$.colorModeContainer]: true,
|
|
16539
|
+
[CSS$$.splitSection]: true,
|
|
16540
|
+
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$$.savedColorsSection]: true, [CSS$$.section]: true } }, hAsync("div", { class: CSS$$.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$$.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$$.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$$.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$$.savedColors }, [
|
|
16541
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$$.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
|
|
16556
16542
|
])) : null))));
|
|
16557
16543
|
}
|
|
16558
16544
|
// --------------------------------------------------------------------------
|
|
@@ -16923,7 +16909,7 @@ class ColorPicker {
|
|
|
16923
16909
|
}; }
|
|
16924
16910
|
}
|
|
16925
16911
|
|
|
16926
|
-
const CSS$
|
|
16912
|
+
const CSS$_ = {
|
|
16927
16913
|
container: "container",
|
|
16928
16914
|
hexInput: "hex-input",
|
|
16929
16915
|
opacityInput: "opacity-input",
|
|
@@ -17091,9 +17077,9 @@ class ColorPickerHexInput {
|
|
|
17091
17077
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
17092
17078
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
17093
17079
|
const inputScale = scale === "l" ? "m" : "s";
|
|
17094
|
-
return (hAsync("div", { class: CSS$
|
|
17080
|
+
return (hAsync("div", { class: CSS$_.container }, hAsync("calcite-input-text", { class: CSS$_.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
17095
17081
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
17096
|
-
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$
|
|
17082
|
+
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$_.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
|
|
17097
17083
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
17098
17084
|
ref: this.storeOpacityInputRef })) : null));
|
|
17099
17085
|
}
|
|
@@ -17189,7 +17175,7 @@ class ColorPickerHexInput {
|
|
|
17189
17175
|
}; }
|
|
17190
17176
|
}
|
|
17191
17177
|
|
|
17192
|
-
const CSS$
|
|
17178
|
+
const CSS$Z = {
|
|
17193
17179
|
swatch: "swatch",
|
|
17194
17180
|
noColorSwatch: "swatch--no-color",
|
|
17195
17181
|
checker: "checker",
|
|
@@ -17227,8 +17213,8 @@ class ColorPickerSwatch {
|
|
|
17227
17213
|
render() {
|
|
17228
17214
|
const isEmpty = !this.internalColor;
|
|
17229
17215
|
const classes = {
|
|
17230
|
-
[CSS$
|
|
17231
|
-
[CSS$
|
|
17216
|
+
[CSS$Z.swatch]: true,
|
|
17217
|
+
[CSS$Z.noColorSwatch]: isEmpty,
|
|
17232
17218
|
};
|
|
17233
17219
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
17234
17220
|
}
|
|
@@ -17254,7 +17240,7 @@ class ColorPickerSwatch {
|
|
|
17254
17240
|
const alpha = internalColor.alpha();
|
|
17255
17241
|
const hex = hexify(internalColor);
|
|
17256
17242
|
const hexa = hexify(internalColor, alpha < 1);
|
|
17257
|
-
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$
|
|
17243
|
+
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$Z.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$Z.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: CHECKER_DIMENSIONS.squareSize, y: CHECKER_DIMENSIONS.squareSize }))), hAsync("rect", { fill: "url(#checker)", height: "100%", rx: borderRadius, width: "100%" }), hAsync("rect", { fill: hex, style: {
|
|
17258
17244
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
17259
17245
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
17260
17246
|
}
|
|
@@ -18997,7 +18983,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18997
18983
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18998
18984
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18999
18985
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
19000
|
-
const CSS$
|
|
18986
|
+
const CSS$Y = {
|
|
19001
18987
|
listContainer: "list-container",
|
|
19002
18988
|
};
|
|
19003
18989
|
|
|
@@ -19025,17 +19011,17 @@ function isSingleLike(selectionMode) {
|
|
|
19025
19011
|
return selectionMode.includes("single");
|
|
19026
19012
|
}
|
|
19027
19013
|
|
|
19028
|
-
const CSS$
|
|
19014
|
+
const CSS$X = {
|
|
19029
19015
|
button: "x-button",
|
|
19030
19016
|
};
|
|
19031
19017
|
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
19032
|
-
return (hAsync("button", { "aria-label": label, class: CSS$
|
|
19018
|
+
return (hAsync("button", { "aria-label": label, class: CSS$X.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
19033
19019
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
19034
19020
|
ref: ref },
|
|
19035
|
-
hAsync("calcite-icon", { icon: "x", scale: scale
|
|
19021
|
+
hAsync("calcite-icon", { icon: "x", scale: getIconScale(scale) })));
|
|
19036
19022
|
}
|
|
19037
19023
|
|
|
19038
|
-
const comboboxCss = "/*!@:host([disabled])*/[disabled].sc-calcite-combobox-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-combobox-h *.sc-calcite-combobox,.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>*{pointer-events:none}/*!@:host*/.sc-calcite-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s]) .x-button*/[scale=s].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:1rem;block-size:1rem}/*!@:host([scale=m]) .x-button*/[scale=m].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:1.5rem;block-size:1.5rem}/*!@:host([scale=l]) .x-button*/[scale=l].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:2rem;block-size:2rem}/*!@.x-button*/.x-button.sc-calcite-combobox{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-ui-foreground-2)}/*!@.x-button:active, .x-button:hover*/.x-button.sc-calcite-combobox:active,.x-button.sc-calcite-combobox:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}/*!@.x-button:active*/.x-button.sc-calcite-combobox:active{border-style:solid;border-color:var(--calcite-ui-brand)}/*!@.x-button calcite-icon*/.x-button.sc-calcite-combobox calcite-icon.sc-calcite-combobox{color:inherit}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}/*!@:host([scale=s]) .x-button*/[scale=s].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}/*!@:host([scale=m]) .x-button*/[scale=m].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}/*!@:host([scale=l]) .x-button*/[scale=l].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:1rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper,\n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:flex;flex-grow:1;align-items:center}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--icon*/.label--icon.sc-calcite-combobox{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end,\n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:flex;
|
|
19024
|
+
const comboboxCss = "/*!@:host([disabled])*/[disabled].sc-calcite-combobox-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-combobox-h *.sc-calcite-combobox,.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>*{pointer-events:none}/*!@:host*/.sc-calcite-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s]) .x-button*/[scale=s].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:1rem;block-size:1rem}/*!@:host([scale=m]) .x-button*/[scale=m].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:1.5rem;block-size:1.5rem}/*!@:host([scale=l]) .x-button*/[scale=l].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:2rem;block-size:2rem}/*!@.x-button*/.x-button.sc-calcite-combobox{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-ui-foreground-2)}/*!@.x-button:active, .x-button:hover*/.x-button.sc-calcite-combobox:active,.x-button.sc-calcite-combobox:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}/*!@.x-button:active*/.x-button.sc-calcite-combobox:active{border-style:solid;border-color:var(--calcite-ui-brand)}/*!@.x-button calcite-icon*/.x-button.sc-calcite-combobox calcite-icon.sc-calcite-combobox{color:inherit}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}/*!@:host([scale=s]) .x-button*/[scale=s].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}/*!@:host([scale=m]) .x-button*/[scale=m].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}/*!@:host([scale=l]) .x-button*/[scale=l].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:1rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper,\n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:flex;flex-grow:1;align-items:center}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--icon*/.label--icon.sc-calcite-combobox{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end,\n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:flex;cursor:pointer;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}/*!@.floating-ui-container .calcite-floating-ui-anim*/.floating-ui-container.sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}/*!@.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=bottom].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(-5px)}/*!@.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=top].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(5px)}/*!@.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=left].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(5px)}/*!@.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=right].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(-5px)}/*!@.floating-ui-container[data-placement] .calcite-floating-ui-anim--active*/.floating-ui-container[data-placement].sc-calcite-combobox .calcite-floating-ui-anim--active.sc-calcite-combobox{opacity:1;transform:translate(0)}/*!@.floating-ui-container--active*/.floating-ui-container--active.sc-calcite-combobox{visibility:visible}@media (forced-colors: active){/*!@.wrapper,\n .floating-ui-container--active*/.wrapper.sc-calcite-combobox,.floating-ui-container--active.sc-calcite-combobox{border:1px solid canvasText}}/*!@.screen-readers-only*/.screen-readers-only.sc-calcite-combobox{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@.list-container*/.list-container.sc-calcite-combobox{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.list*/.list.sc-calcite-combobox{margin:0px;display:block;padding:0px}/*!@.list--hide*/.list--hide.sc-calcite-combobox{block-size:0px;overflow:hidden}/*!@.chip*/.chip.sc-calcite-combobox{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}/*!@.chip--active*/.chip--active.sc-calcite-combobox{background-color:var(--calcite-ui-foreground-3)}/*!@.item*/.item.sc-calcite-combobox{display:block}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-combobox-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-combobox{display:none}/*!@::slotted(calcite-combobox-item-group:not(:first-child))*/.sc-calcite-combobox-s>calcite-combobox-item-group:not(:first-child){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";
|
|
19039
19025
|
|
|
19040
19026
|
const isGroup = (el) => el.tagName === ComboboxItemGroup$1;
|
|
19041
19027
|
const itemUidPrefix = "combobox-item-";
|
|
@@ -19092,6 +19078,11 @@ class Combobox {
|
|
|
19092
19078
|
this.open = false;
|
|
19093
19079
|
event.preventDefault();
|
|
19094
19080
|
}
|
|
19081
|
+
else if (!this.allowCustomValues && this.text) {
|
|
19082
|
+
this.clearInputValue();
|
|
19083
|
+
this.filterItems("");
|
|
19084
|
+
this.updateActiveItemIndex(-1);
|
|
19085
|
+
}
|
|
19095
19086
|
break;
|
|
19096
19087
|
case "ArrowLeft":
|
|
19097
19088
|
this.previousChip();
|
|
@@ -19227,7 +19218,7 @@ class Combobox {
|
|
|
19227
19218
|
event.preventDefault();
|
|
19228
19219
|
return;
|
|
19229
19220
|
}
|
|
19230
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
19221
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$X.button))) {
|
|
19231
19222
|
this.clearValue();
|
|
19232
19223
|
event.preventDefault();
|
|
19233
19224
|
return;
|
|
@@ -19235,21 +19226,6 @@ class Combobox {
|
|
|
19235
19226
|
this.open = !this.open;
|
|
19236
19227
|
this.ensureRecentSelectedItemIsActive();
|
|
19237
19228
|
};
|
|
19238
|
-
this.setInactiveIfNotContained = (event) => {
|
|
19239
|
-
const composedPath = event.composedPath();
|
|
19240
|
-
if (!this.open || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
|
|
19241
|
-
return;
|
|
19242
|
-
}
|
|
19243
|
-
if (!this.allowCustomValues && this.textInput.value) {
|
|
19244
|
-
this.clearInputValue();
|
|
19245
|
-
this.filterItems("");
|
|
19246
|
-
this.updateActiveItemIndex(-1);
|
|
19247
|
-
}
|
|
19248
|
-
if (this.allowCustomValues && this.text.trim().length) {
|
|
19249
|
-
this.addCustomChip(this.text);
|
|
19250
|
-
}
|
|
19251
|
-
this.open = false;
|
|
19252
|
-
};
|
|
19253
19229
|
this.setFloatingEl = (el) => {
|
|
19254
19230
|
this.floatingEl = el;
|
|
19255
19231
|
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
@@ -19340,9 +19316,6 @@ class Combobox {
|
|
|
19340
19316
|
}
|
|
19341
19317
|
this.textInput?.focus();
|
|
19342
19318
|
};
|
|
19343
|
-
this.comboboxBlurHandler = (event) => {
|
|
19344
|
-
this.setInactiveIfNotContained(event);
|
|
19345
|
-
};
|
|
19346
19319
|
this.clearDisabled = false;
|
|
19347
19320
|
this.open = false;
|
|
19348
19321
|
this.disabled = false;
|
|
@@ -19432,7 +19405,19 @@ class Combobox {
|
|
|
19432
19405
|
if (this.disabled || !isPrimaryPointerButton(event)) {
|
|
19433
19406
|
return;
|
|
19434
19407
|
}
|
|
19435
|
-
|
|
19408
|
+
const composedPath = event.composedPath();
|
|
19409
|
+
if (composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
|
|
19410
|
+
return;
|
|
19411
|
+
}
|
|
19412
|
+
if (!this.allowCustomValues && this.textInput.value) {
|
|
19413
|
+
this.clearInputValue();
|
|
19414
|
+
this.filterItems("");
|
|
19415
|
+
this.updateActiveItemIndex(-1);
|
|
19416
|
+
}
|
|
19417
|
+
if (this.allowCustomValues && this.text.trim().length) {
|
|
19418
|
+
this.addCustomChip(this.text);
|
|
19419
|
+
}
|
|
19420
|
+
this.open = false;
|
|
19436
19421
|
}
|
|
19437
19422
|
calciteComboboxItemChangeHandler(event) {
|
|
19438
19423
|
if (this.ignoreSelectedEventsFlag) {
|
|
@@ -19825,7 +19810,7 @@ class Combobox {
|
|
|
19825
19810
|
"input--transparent": this.activeChipIndex > -1,
|
|
19826
19811
|
"input--hidden": showLabel,
|
|
19827
19812
|
"input--icon": !!this.placeholderIcon,
|
|
19828
|
-
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input",
|
|
19813
|
+
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, type: "text",
|
|
19829
19814
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
19830
19815
|
ref: (el) => (this.textInput = el) })));
|
|
19831
19816
|
}
|
|
@@ -19835,7 +19820,7 @@ class Combobox {
|
|
|
19835
19820
|
renderFloatingUIContainer() {
|
|
19836
19821
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19837
19822
|
const classes = {
|
|
19838
|
-
[CSS$
|
|
19823
|
+
[CSS$Y.listContainer]: true,
|
|
19839
19824
|
[FloatingCSS.animation]: true,
|
|
19840
19825
|
[FloatingCSS.animationActive]: open,
|
|
19841
19826
|
};
|
|
@@ -19856,11 +19841,11 @@ class Combobox {
|
|
|
19856
19841
|
const iconAtStart = !this.open && selectedItem
|
|
19857
19842
|
? !!selectedIcon && singleSelectionMode
|
|
19858
19843
|
: !!this.placeholderIcon && (!selectedItem || singleSelectionMode);
|
|
19859
|
-
return (iconAtStart && (hAsync("span", { class: "icon-start" }, hAsync("calcite-icon", { class: "selected-icon", flipRtl: this.open && selectedItem ? selectedItem.iconFlipRtl : placeholderIconFlipRtl, icon: !this.open && selectedItem ? selectedIcon : placeholderIcon, scale:
|
|
19844
|
+
return (iconAtStart && (hAsync("span", { class: "icon-start" }, hAsync("calcite-icon", { class: "selected-icon", flipRtl: this.open && selectedItem ? selectedItem.iconFlipRtl : placeholderIconFlipRtl, icon: !this.open && selectedItem ? selectedIcon : placeholderIcon, scale: getIconScale(this.scale) }))));
|
|
19860
19845
|
}
|
|
19861
19846
|
renderIconEnd() {
|
|
19862
19847
|
const { open } = this;
|
|
19863
|
-
return (hAsync("span", { class: "icon-end" }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale:
|
|
19848
|
+
return (hAsync("span", { class: "icon-end" }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: getIconScale(this.scale) })));
|
|
19864
19849
|
}
|
|
19865
19850
|
render() {
|
|
19866
19851
|
const { guid, label, open } = this;
|
|
@@ -19934,7 +19919,7 @@ class Combobox {
|
|
|
19934
19919
|
}; }
|
|
19935
19920
|
}
|
|
19936
19921
|
|
|
19937
|
-
const CSS$
|
|
19922
|
+
const CSS$W = {
|
|
19938
19923
|
icon: "icon",
|
|
19939
19924
|
iconActive: "icon--active",
|
|
19940
19925
|
iconIndent: "icon--indent",
|
|
@@ -19957,8 +19942,7 @@ class ComboboxItem {
|
|
|
19957
19942
|
constructor(hostRef) {
|
|
19958
19943
|
registerInstance(this, hostRef);
|
|
19959
19944
|
this.calciteComboboxItemChange = createEvent(this, "calciteComboboxItemChange", 6);
|
|
19960
|
-
this.itemClickHandler = (
|
|
19961
|
-
event.preventDefault();
|
|
19945
|
+
this.itemClickHandler = () => {
|
|
19962
19946
|
this.toggleSelected();
|
|
19963
19947
|
};
|
|
19964
19948
|
this.disabled = false;
|
|
@@ -20013,20 +19997,20 @@ class ComboboxItem {
|
|
|
20013
19997
|
// --------------------------------------------------------------------------
|
|
20014
19998
|
renderIcon(iconPath) {
|
|
20015
19999
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
20016
|
-
[CSS$
|
|
20017
|
-
[CSS$
|
|
20018
|
-
[CSS$
|
|
20000
|
+
[CSS$W.custom]: !!this.icon,
|
|
20001
|
+
[CSS$W.iconActive]: this.icon && this.selected,
|
|
20002
|
+
[CSS$W.iconIndent]: true,
|
|
20019
20003
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: getIconScale(this.scale) })) : null;
|
|
20020
20004
|
}
|
|
20021
20005
|
renderSelectIndicator(showDot, iconPath) {
|
|
20022
20006
|
return showDot ? (hAsync("span", { class: {
|
|
20023
|
-
[CSS$
|
|
20024
|
-
[CSS$
|
|
20025
|
-
[CSS$
|
|
20007
|
+
[CSS$W.icon]: true,
|
|
20008
|
+
[CSS$W.dot]: true,
|
|
20009
|
+
[CSS$W.iconIndent]: true,
|
|
20026
20010
|
} })) : (hAsync("calcite-icon", { class: {
|
|
20027
|
-
[CSS$
|
|
20028
|
-
[CSS$
|
|
20029
|
-
[CSS$
|
|
20011
|
+
[CSS$W.icon]: true,
|
|
20012
|
+
[CSS$W.iconActive]: this.selected,
|
|
20013
|
+
[CSS$W.iconIndent]: true,
|
|
20030
20014
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: getIconScale(this.scale) }));
|
|
20031
20015
|
}
|
|
20032
20016
|
renderChildren() {
|
|
@@ -20041,10 +20025,10 @@ class ComboboxItem {
|
|
|
20041
20025
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
20042
20026
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
20043
20027
|
const classes = {
|
|
20044
|
-
[CSS$
|
|
20045
|
-
[CSS$
|
|
20046
|
-
[CSS$
|
|
20047
|
-
[CSS$
|
|
20028
|
+
[CSS$W.label]: true,
|
|
20029
|
+
[CSS$W.selected]: this.selected,
|
|
20030
|
+
[CSS$W.active]: this.active,
|
|
20031
|
+
[CSS$W.single]: isSingleSelect,
|
|
20048
20032
|
};
|
|
20049
20033
|
const depth = getDepth$1();
|
|
20050
20034
|
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderSelectIndicator(showDot, iconPath), this.renderIcon(iconPath), hAsync("span", { class: "title" }, this.textLabel)), this.renderChildren())));
|
|
@@ -20077,7 +20061,7 @@ class ComboboxItem {
|
|
|
20077
20061
|
}; }
|
|
20078
20062
|
}
|
|
20079
20063
|
|
|
20080
|
-
const CSS$
|
|
20064
|
+
const CSS$V = {
|
|
20081
20065
|
list: "list",
|
|
20082
20066
|
label: "label",
|
|
20083
20067
|
title: "title",
|
|
@@ -20113,7 +20097,7 @@ class ComboboxItemGroup {
|
|
|
20113
20097
|
render() {
|
|
20114
20098
|
const { el, scale } = this;
|
|
20115
20099
|
const depth = getDepth$1();
|
|
20116
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
20100
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$V.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$V.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$V.title }, this.label)), hAsync("slot", null)));
|
|
20117
20101
|
}
|
|
20118
20102
|
get el() { return getElement(this); }
|
|
20119
20103
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -21300,7 +21284,7 @@ class DatePickerMonth {
|
|
|
21300
21284
|
}; }
|
|
21301
21285
|
}
|
|
21302
21286
|
|
|
21303
|
-
const CSS$
|
|
21287
|
+
const CSS$U = {
|
|
21304
21288
|
header: "header",
|
|
21305
21289
|
month: "month",
|
|
21306
21290
|
chevron: "chevron",
|
|
@@ -21400,7 +21384,7 @@ class DatePickerMonthHeader {
|
|
|
21400
21384
|
this.setNextPrevMonthDates();
|
|
21401
21385
|
}
|
|
21402
21386
|
render() {
|
|
21403
|
-
return hAsync("div", { class: CSS$
|
|
21387
|
+
return hAsync("div", { class: CSS$U.header }, this.renderContent());
|
|
21404
21388
|
}
|
|
21405
21389
|
renderContent() {
|
|
21406
21390
|
const { messages, localeData, activeDate } = this;
|
|
@@ -21422,12 +21406,12 @@ class DatePickerMonthHeader {
|
|
|
21422
21406
|
const order = getOrder(unitOrder);
|
|
21423
21407
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
21424
21408
|
const suffix = localeData.year?.suffix;
|
|
21425
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
21409
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$U.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: getIconScale(this.scale) })), hAsync("div", { class: { text: true, [CSS$U.textReverse]: reverse } }, hAsync(Heading, { class: CSS$U.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$U.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
21426
21410
|
year: true,
|
|
21427
|
-
[CSS$
|
|
21411
|
+
[CSS$U.yearSuffix]: !!suffix,
|
|
21428
21412
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21429
21413
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
21430
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
21414
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$U.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$U.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: getIconScale(this.scale) }))));
|
|
21431
21415
|
}
|
|
21432
21416
|
setNextPrevMonthDates() {
|
|
21433
21417
|
if (!this.activeDate) {
|
|
@@ -21929,7 +21913,7 @@ class Dropdown {
|
|
|
21929
21913
|
}; }
|
|
21930
21914
|
}
|
|
21931
21915
|
|
|
21932
|
-
const CSS$
|
|
21916
|
+
const CSS$T = {
|
|
21933
21917
|
container: "container",
|
|
21934
21918
|
containerLink: "container--link",
|
|
21935
21919
|
containerMulti: "container--multi-selection",
|
|
@@ -21981,8 +21965,8 @@ class DropdownGroup {
|
|
|
21981
21965
|
const groupTitle = this.groupTitle ? (hAsync("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
21982
21966
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21983
21967
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21984
|
-
[CSS$
|
|
21985
|
-
[`${CSS$
|
|
21968
|
+
[CSS$T.container]: true,
|
|
21969
|
+
[`${CSS$T.container}--${this.scale}`]: true,
|
|
21986
21970
|
} }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21987
21971
|
}
|
|
21988
21972
|
//--------------------------------------------------------------------------
|
|
@@ -22076,9 +22060,9 @@ class DropdownItem {
|
|
|
22076
22060
|
}
|
|
22077
22061
|
render() {
|
|
22078
22062
|
const { href, selectionMode, label, iconFlipRtl, scale } = this;
|
|
22079
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
22080
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
22081
|
-
const iconEndEl = (hAsync("calcite-icon", { class: CSS$
|
|
22063
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$T.iconStart, flipRtl: iconFlipRtl === "start" || iconFlipRtl === "both", icon: this.iconStart, scale: getIconScale(this.scale) }));
|
|
22064
|
+
const contentNode = (hAsync("span", { class: CSS$T.itemContent }, hAsync("slot", null)));
|
|
22065
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$T.iconEnd, flipRtl: iconFlipRtl === "end" || iconFlipRtl === "both", icon: this.iconEnd, scale: getIconScale(this.scale) }));
|
|
22082
22066
|
const slottedContent = this.iconStart && this.iconEnd
|
|
22083
22067
|
? [iconStartEl, contentNode, iconEndEl]
|
|
22084
22068
|
: this.iconStart
|
|
@@ -22086,7 +22070,7 @@ class DropdownItem {
|
|
|
22086
22070
|
: this.iconEnd
|
|
22087
22071
|
? [contentNode, iconEndEl]
|
|
22088
22072
|
: contentNode;
|
|
22089
|
-
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$
|
|
22073
|
+
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$T.link, href: href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
22090
22074
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
22091
22075
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
22092
22076
|
const itemRole = href
|
|
@@ -22098,13 +22082,13 @@ class DropdownItem {
|
|
|
22098
22082
|
: "menuitem";
|
|
22099
22083
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
22100
22084
|
return (hAsync(Host, { "aria-checked": itemAria, "aria-label": !href ? label : "", role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
22101
|
-
[CSS$
|
|
22102
|
-
[CSS$
|
|
22103
|
-
[`${CSS$
|
|
22104
|
-
[CSS$
|
|
22105
|
-
[CSS$
|
|
22106
|
-
[CSS$
|
|
22107
|
-
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$
|
|
22085
|
+
[CSS$T.container]: true,
|
|
22086
|
+
[CSS$T.containerLink]: !!href,
|
|
22087
|
+
[`${CSS$T.container}--${scale}`]: true,
|
|
22088
|
+
[CSS$T.containerMulti]: selectionMode === "multiple",
|
|
22089
|
+
[CSS$T.containerSingle]: selectionMode === "single",
|
|
22090
|
+
[CSS$T.containerNone]: selectionMode === "none",
|
|
22091
|
+
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$T.icon, icon: selectionMode === "multiple" ? "check" : "bullet-point", scale: getIconScale(this.scale) })) : null, contentEl)));
|
|
22108
22092
|
}
|
|
22109
22093
|
//--------------------------------------------------------------------------
|
|
22110
22094
|
//
|
|
@@ -22211,7 +22195,7 @@ class DropdownItem {
|
|
|
22211
22195
|
}; }
|
|
22212
22196
|
}
|
|
22213
22197
|
|
|
22214
|
-
const CSS$
|
|
22198
|
+
const CSS$S = {
|
|
22215
22199
|
button: "button",
|
|
22216
22200
|
};
|
|
22217
22201
|
const ICONS$d = {
|
|
@@ -22272,7 +22256,7 @@ class Fab {
|
|
|
22272
22256
|
render() {
|
|
22273
22257
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl, } = this;
|
|
22274
22258
|
const title = !textEnabled ? label || text || null : null;
|
|
22275
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
22259
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$S.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, round: true, scale: scale, title: title, type: "button", width: "auto",
|
|
22276
22260
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
22277
22261
|
ref: (buttonEl) => {
|
|
22278
22262
|
this.buttonEl = buttonEl;
|
|
@@ -22302,7 +22286,7 @@ class Fab {
|
|
|
22302
22286
|
}; }
|
|
22303
22287
|
}
|
|
22304
22288
|
|
|
22305
|
-
const CSS$
|
|
22289
|
+
const CSS$R = {
|
|
22306
22290
|
container: "container",
|
|
22307
22291
|
searchIcon: "search-icon",
|
|
22308
22292
|
};
|
|
@@ -22431,7 +22415,7 @@ class Filter {
|
|
|
22431
22415
|
// --------------------------------------------------------------------------
|
|
22432
22416
|
render() {
|
|
22433
22417
|
const { disabled, scale } = this;
|
|
22434
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
22418
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$R.container }, hAsync("label", null, hAsync("calcite-input", { clearable: true, disabled: disabled, icon: ICONS$c.search, label: this.messages.label, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
|
|
22435
22419
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
22436
22420
|
ref: (el) => {
|
|
22437
22421
|
this.textInput = el;
|
|
@@ -22470,7 +22454,7 @@ class Filter {
|
|
|
22470
22454
|
}; }
|
|
22471
22455
|
}
|
|
22472
22456
|
|
|
22473
|
-
const CSS$
|
|
22457
|
+
const CSS$Q = {
|
|
22474
22458
|
frame: "frame",
|
|
22475
22459
|
frameAdvancing: "frame--advancing",
|
|
22476
22460
|
frameRetreating: "frame--retreating",
|
|
@@ -22595,9 +22579,9 @@ class Flow {
|
|
|
22595
22579
|
render() {
|
|
22596
22580
|
const { flowDirection } = this;
|
|
22597
22581
|
const frameDirectionClasses = {
|
|
22598
|
-
[CSS$
|
|
22599
|
-
[CSS$
|
|
22600
|
-
[CSS$
|
|
22582
|
+
[CSS$Q.frame]: true,
|
|
22583
|
+
[CSS$Q.frameAdvancing]: flowDirection === "advancing",
|
|
22584
|
+
[CSS$Q.frameRetreating]: flowDirection === "retreating",
|
|
22601
22585
|
};
|
|
22602
22586
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
22603
22587
|
}
|
|
@@ -22620,7 +22604,7 @@ class Flow {
|
|
|
22620
22604
|
}; }
|
|
22621
22605
|
}
|
|
22622
22606
|
|
|
22623
|
-
const CSS$
|
|
22607
|
+
const CSS$P = {
|
|
22624
22608
|
actionBarContainer: "action-bar-container",
|
|
22625
22609
|
backButton: "back-button",
|
|
22626
22610
|
container: "container",
|
|
@@ -22657,7 +22641,7 @@ const SLOTS$n = {
|
|
|
22657
22641
|
footerActions: "footer-actions",
|
|
22658
22642
|
};
|
|
22659
22643
|
|
|
22660
|
-
const CSS$
|
|
22644
|
+
const CSS$O = {
|
|
22661
22645
|
backButton: "back-button",
|
|
22662
22646
|
};
|
|
22663
22647
|
const ICONS$a = {
|
|
@@ -22817,7 +22801,7 @@ class FlowItem {
|
|
|
22817
22801
|
const { showBackButton, backButtonClick, messages } = this;
|
|
22818
22802
|
const label = messages.back;
|
|
22819
22803
|
const icon = rtl ? ICONS$a.backRight : ICONS$a.backLeft;
|
|
22820
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
22804
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$O.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label, title: label,
|
|
22821
22805
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
22822
22806
|
ref: this.setBackRef })) : null;
|
|
22823
22807
|
}
|
|
@@ -23084,7 +23068,7 @@ class Graph {
|
|
|
23084
23068
|
}; }
|
|
23085
23069
|
}
|
|
23086
23070
|
|
|
23087
|
-
const CSS$
|
|
23071
|
+
const CSS$N = {
|
|
23088
23072
|
handle: "handle",
|
|
23089
23073
|
handleActivated: "handle--activated",
|
|
23090
23074
|
};
|
|
@@ -23207,7 +23191,7 @@ class Handle {
|
|
|
23207
23191
|
render() {
|
|
23208
23192
|
return (
|
|
23209
23193
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
23210
|
-
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
23194
|
+
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$N.handle]: true, [CSS$N.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages?.dragHandle,
|
|
23211
23195
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23212
23196
|
ref: (el) => {
|
|
23213
23197
|
this.handleButton = el;
|
|
@@ -23246,7 +23230,7 @@ class Handle {
|
|
|
23246
23230
|
}; }
|
|
23247
23231
|
}
|
|
23248
23232
|
|
|
23249
|
-
const CSS$
|
|
23233
|
+
const CSS$M = {
|
|
23250
23234
|
icon: "icon",
|
|
23251
23235
|
flipRtl: "flip-rtl",
|
|
23252
23236
|
};
|
|
@@ -23294,7 +23278,7 @@ class Icon {
|
|
|
23294
23278
|
const semantic = !!textLabel;
|
|
23295
23279
|
const paths = [].concat(pathData || "");
|
|
23296
23280
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
23297
|
-
[CSS$
|
|
23281
|
+
[CSS$M.flipRtl]: dir === "rtl" && flipRtl,
|
|
23298
23282
|
svg: true,
|
|
23299
23283
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
23300
23284
|
}
|
|
@@ -23340,7 +23324,7 @@ class Icon {
|
|
|
23340
23324
|
}; }
|
|
23341
23325
|
}
|
|
23342
23326
|
|
|
23343
|
-
const CSS$
|
|
23327
|
+
const CSS$L = {
|
|
23344
23328
|
wrapper: "wrapper",
|
|
23345
23329
|
confirmChangesButton: "confirm-changes-button",
|
|
23346
23330
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -23490,16 +23474,16 @@ class InlineEditable {
|
|
|
23490
23474
|
updateHostInteraction(this);
|
|
23491
23475
|
}
|
|
23492
23476
|
render() {
|
|
23493
|
-
return (hAsync("div", { class: CSS$
|
|
23477
|
+
return (hAsync("div", { class: CSS$L.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$L.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$L.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$L.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
|
|
23494
23478
|
opacity: this.editingEnabled ? "0" : "1",
|
|
23495
23479
|
width: this.editingEnabled ? "0" : "inherit",
|
|
23496
23480
|
}, type: "button",
|
|
23497
23481
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23498
23482
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
23499
|
-
hAsync("div", { class: CSS$
|
|
23483
|
+
hAsync("div", { class: CSS$L.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$L.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
|
|
23500
23484
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23501
23485
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
23502
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
23486
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$L.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
|
|
23503
23487
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23504
23488
|
ref: (el) => (this.confirmEditingButton = el) }),
|
|
23505
23489
|
])));
|
|
@@ -23585,7 +23569,7 @@ class InlineEditable {
|
|
|
23585
23569
|
}; }
|
|
23586
23570
|
}
|
|
23587
23571
|
|
|
23588
|
-
const CSS$
|
|
23572
|
+
const CSS$K = {
|
|
23589
23573
|
loader: "loader",
|
|
23590
23574
|
clearButton: "clear-button",
|
|
23591
23575
|
editingEnabled: "editing-enabled",
|
|
@@ -24169,38 +24153,38 @@ class Input {
|
|
|
24169
24153
|
// --------------------------------------------------------------------------
|
|
24170
24154
|
render() {
|
|
24171
24155
|
const dir = getElementDir(this.el);
|
|
24172
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24173
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24174
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
24156
|
+
const loader = (hAsync("div", { class: CSS$K.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
24157
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$K.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: getIconScale(this.scale) })));
|
|
24158
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$K.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: getIconScale(this.scale) }));
|
|
24175
24159
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
24176
24160
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24177
|
-
[CSS$
|
|
24178
|
-
[CSS$
|
|
24161
|
+
[CSS$K.numberButtonItem]: true,
|
|
24162
|
+
[CSS$K.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24179
24163
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: getIconScale(this.scale) })));
|
|
24180
24164
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24181
|
-
[CSS$
|
|
24182
|
-
[CSS$
|
|
24165
|
+
[CSS$K.numberButtonItem]: true,
|
|
24166
|
+
[CSS$K.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24183
24167
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: getIconScale(this.scale) })));
|
|
24184
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
24185
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24186
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
24168
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$K.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
24169
|
+
const prefixText = hAsync("div", { class: CSS$K.prefix }, this.prefixText);
|
|
24170
|
+
const suffixText = hAsync("div", { class: CSS$K.suffix }, this.suffixText);
|
|
24187
24171
|
const localeNumberInput = this.type === "number" ? (hAsync("input", { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, multiple: this.multiple, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
24188
24172
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
24189
24173
|
ref: this.setChildNumberElRef })) : null;
|
|
24190
24174
|
const childEl = this.type !== "number"
|
|
24191
24175
|
? [
|
|
24192
24176
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
24193
|
-
[CSS$
|
|
24194
|
-
[CSS$
|
|
24177
|
+
[CSS$K.editingEnabled]: this.editingEnabled,
|
|
24178
|
+
[CSS$K.inlineChild]: !!this.inlineEditableEl,
|
|
24195
24179
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, multiple: this.multiple, name: this.name, onBlur: this.inputBlurHandler, onChange: this.inputChangeHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value,
|
|
24196
24180
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
24197
24181
|
ref: this.setChildElRef }),
|
|
24198
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
24182
|
+
this.isTextarea ? (hAsync("div", { class: CSS$K.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: getIconScale(this.scale) }))) : null,
|
|
24199
24183
|
]
|
|
24200
24184
|
: null;
|
|
24201
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
24185
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$K.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24202
24186
|
? numberButtonsHorizontalDown
|
|
24203
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
24187
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$K.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$K.actionWrapper }, hAsync("slot", { name: SLOTS$l.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
24204
24188
|
? numberButtonsVertical
|
|
24205
24189
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24206
24190
|
? numberButtonsHorizontalUp
|
|
@@ -24275,7 +24259,7 @@ class Input {
|
|
|
24275
24259
|
}; }
|
|
24276
24260
|
}
|
|
24277
24261
|
|
|
24278
|
-
const CSS$
|
|
24262
|
+
const CSS$J = {
|
|
24279
24263
|
assistiveText: "assistive-text",
|
|
24280
24264
|
menu: "menu-container",
|
|
24281
24265
|
menuActive: "menu-container--active",
|
|
@@ -25762,9 +25746,9 @@ class InputDatePicker {
|
|
|
25762
25746
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25763
25747
|
ref: this.setStartWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-describedby": this.placeholderTextId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, status: this.status, type: "text",
|
|
25764
25748
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25765
|
-
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$
|
|
25766
|
-
[CSS$
|
|
25767
|
-
[CSS$
|
|
25749
|
+
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$J.assistiveText, id: this.placeholderTextId }, "Date Format: ", this.localeData?.placeholder)), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
25750
|
+
[CSS$J.menu]: true,
|
|
25751
|
+
[CSS$J.menuActive]: this.open,
|
|
25768
25752
|
}, id: this.dialogId, role: "dialog",
|
|
25769
25753
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25770
25754
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -25786,7 +25770,7 @@ class InputDatePicker {
|
|
|
25786
25770
|
ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25787
25771
|
}
|
|
25788
25772
|
renderToggleIcon(open) {
|
|
25789
|
-
return (hAsync("span", { class: CSS$
|
|
25773
|
+
return (hAsync("span", { class: CSS$J.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: getIconScale(this.scale) })));
|
|
25790
25774
|
}
|
|
25791
25775
|
setReferenceEl() {
|
|
25792
25776
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -26052,7 +26036,7 @@ class InputMessage {
|
|
|
26052
26036
|
}; }
|
|
26053
26037
|
}
|
|
26054
26038
|
|
|
26055
|
-
const CSS$
|
|
26039
|
+
const CSS$I = {
|
|
26056
26040
|
loader: "loader",
|
|
26057
26041
|
clearButton: "clear-button",
|
|
26058
26042
|
editingEnabled: "editing-enabled",
|
|
@@ -26567,27 +26551,27 @@ class InputNumber {
|
|
|
26567
26551
|
// --------------------------------------------------------------------------
|
|
26568
26552
|
render() {
|
|
26569
26553
|
const dir = getElementDir(this.el);
|
|
26570
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26571
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26572
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26554
|
+
const loader = (hAsync("div", { class: CSS$I.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26555
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$I.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: getIconScale(this.scale) })));
|
|
26556
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$I.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: getIconScale(this.scale) }));
|
|
26573
26557
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
26574
26558
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26575
|
-
[CSS$
|
|
26576
|
-
[CSS$
|
|
26559
|
+
[CSS$I.numberButtonItem]: true,
|
|
26560
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26577
26561
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: getIconScale(this.scale) })));
|
|
26578
26562
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26579
|
-
[CSS$
|
|
26580
|
-
[CSS$
|
|
26563
|
+
[CSS$I.numberButtonItem]: true,
|
|
26564
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26581
26565
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: getIconScale(this.scale) })));
|
|
26582
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
26583
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26584
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26566
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$I.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
26567
|
+
const prefixText = hAsync("div", { class: CSS$I.prefix }, this.prefixText);
|
|
26568
|
+
const suffixText = hAsync("div", { class: CSS$I.suffix }, this.suffixText);
|
|
26585
26569
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
26586
26570
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
26587
26571
|
ref: this.setChildNumberElRef }));
|
|
26588
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26572
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$I.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26589
26573
|
? numberButtonsHorizontalDown
|
|
26590
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
26574
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$I.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$I.actionWrapper }, hAsync("slot", { name: SLOTS$k.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26591
26575
|
? numberButtonsHorizontalUp
|
|
26592
26576
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26593
26577
|
}
|
|
@@ -26655,7 +26639,7 @@ class InputNumber {
|
|
|
26655
26639
|
}; }
|
|
26656
26640
|
}
|
|
26657
26641
|
|
|
26658
|
-
const CSS$
|
|
26642
|
+
const CSS$H = {
|
|
26659
26643
|
loader: "loader",
|
|
26660
26644
|
clearButton: "clear-button",
|
|
26661
26645
|
editingEnabled: "editing-enabled",
|
|
@@ -26955,18 +26939,18 @@ class InputText {
|
|
|
26955
26939
|
// --------------------------------------------------------------------------
|
|
26956
26940
|
render() {
|
|
26957
26941
|
const dir = getElementDir(this.el);
|
|
26958
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26959
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26960
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26961
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26962
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26942
|
+
const loader = (hAsync("div", { class: CSS$H.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26943
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$H.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: getIconScale(this.scale) })));
|
|
26944
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$H.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: getIconScale(this.scale) }));
|
|
26945
|
+
const prefixText = hAsync("div", { class: CSS$H.prefix }, this.prefixText);
|
|
26946
|
+
const suffixText = hAsync("div", { class: CSS$H.suffix }, this.suffixText);
|
|
26963
26947
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
26964
|
-
[CSS$
|
|
26965
|
-
[CSS$
|
|
26948
|
+
[CSS$H.editingEnabled]: this.editingEnabled,
|
|
26949
|
+
[CSS$H.inlineChild]: !!this.inlineEditableEl,
|
|
26966
26950
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value,
|
|
26967
26951
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
26968
26952
|
ref: this.setChildElRef }));
|
|
26969
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26953
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$H.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$H.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$H.actionWrapper }, hAsync("slot", { name: SLOTS$j.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26970
26954
|
}
|
|
26971
26955
|
static get assetsDirs() { return ["assets"]; }
|
|
26972
26956
|
get el() { return getElement(this); }
|
|
@@ -27282,7 +27266,7 @@ function toISOTimeString(value, includeSeconds = true) {
|
|
|
27282
27266
|
return isoTimeString;
|
|
27283
27267
|
}
|
|
27284
27268
|
|
|
27285
|
-
const CSS$
|
|
27269
|
+
const CSS$G = {
|
|
27286
27270
|
toggleIcon: "toggle-icon",
|
|
27287
27271
|
};
|
|
27288
27272
|
|
|
@@ -29081,7 +29065,7 @@ class InputTimePicker {
|
|
|
29081
29065
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
29082
29066
|
}
|
|
29083
29067
|
renderToggleIcon(open) {
|
|
29084
|
-
return (hAsync("span", { class: CSS$
|
|
29068
|
+
return (hAsync("span", { class: CSS$G.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: getIconScale(this.scale) })));
|
|
29085
29069
|
}
|
|
29086
29070
|
static get delegatesFocus() { return true; }
|
|
29087
29071
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -29452,7 +29436,7 @@ class InputTimeZone {
|
|
|
29452
29436
|
}; }
|
|
29453
29437
|
}
|
|
29454
29438
|
|
|
29455
|
-
const CSS$
|
|
29439
|
+
const CSS$F = {
|
|
29456
29440
|
container: "container",
|
|
29457
29441
|
};
|
|
29458
29442
|
|
|
@@ -29492,7 +29476,7 @@ class Label {
|
|
|
29492
29476
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
29493
29477
|
}
|
|
29494
29478
|
render() {
|
|
29495
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
29479
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$F.container }, hAsync("slot", null))));
|
|
29496
29480
|
}
|
|
29497
29481
|
get el() { return getElement(this); }
|
|
29498
29482
|
static get style() { return labelCss; }
|
|
@@ -29627,7 +29611,7 @@ class Link {
|
|
|
29627
29611
|
}; }
|
|
29628
29612
|
}
|
|
29629
29613
|
|
|
29630
|
-
const CSS$
|
|
29614
|
+
const CSS$E = {
|
|
29631
29615
|
container: "container",
|
|
29632
29616
|
containerBorderSelected: "container--border-selected",
|
|
29633
29617
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -29694,7 +29678,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
29694
29678
|
}
|
|
29695
29679
|
}
|
|
29696
29680
|
|
|
29697
|
-
const CSS$
|
|
29681
|
+
const CSS$D = {
|
|
29698
29682
|
container: "container",
|
|
29699
29683
|
table: "table",
|
|
29700
29684
|
scrim: "scrim",
|
|
@@ -32730,7 +32714,7 @@ Sortable.mount(new AutoScrollPlugin());
|
|
|
32730
32714
|
Sortable.mount(Remove, Revert);
|
|
32731
32715
|
|
|
32732
32716
|
const sortableComponentSet = new Set();
|
|
32733
|
-
const CSS$
|
|
32717
|
+
const CSS$C = {
|
|
32734
32718
|
ghostClass: "calcite-sortable--ghost",
|
|
32735
32719
|
chosenClass: "calcite-sortable--chosen",
|
|
32736
32720
|
dragClass: "calcite-sortable--drag",
|
|
@@ -32747,7 +32731,7 @@ function connectSortableComponent(component) {
|
|
|
32747
32731
|
const { group, handleSelector: handle, dragSelector: draggable } = component;
|
|
32748
32732
|
component.sortable = Sortable.create(component.el, {
|
|
32749
32733
|
dataIdAttr,
|
|
32750
|
-
...CSS$
|
|
32734
|
+
...CSS$C,
|
|
32751
32735
|
...(!!draggable && { draggable }),
|
|
32752
32736
|
...(!!group && {
|
|
32753
32737
|
group: {
|
|
@@ -32801,7 +32785,7 @@ function onDragEnd() {
|
|
|
32801
32785
|
Array.from(sortableComponentSet).forEach((component) => component.onDragEnd());
|
|
32802
32786
|
}
|
|
32803
32787
|
|
|
32804
|
-
const CSS$
|
|
32788
|
+
const CSS$B = {
|
|
32805
32789
|
container: "container",
|
|
32806
32790
|
actionsStart: "actions-start",
|
|
32807
32791
|
contentStart: "content-start",
|
|
@@ -33130,9 +33114,9 @@ class List$1 {
|
|
|
33130
33114
|
// --------------------------------------------------------------------------
|
|
33131
33115
|
render() {
|
|
33132
33116
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
|
|
33133
|
-
return (hAsync("div", { class: CSS$
|
|
33117
|
+
return (hAsync("div", { class: CSS$D.container }, this.dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: CSS$D.assistiveText }, this.assistiveText)) : null, loading ? hAsync("calcite-scrim", { class: CSS$D.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$D.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$D.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-stack", { class: CSS$D.stack }, hAsync("slot", { name: SLOTS$h.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: SLOTS$g.actionsStart }), hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilterChange, placeholder: filterPlaceholder, value: filterText,
|
|
33134
33118
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33135
|
-
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$h.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$g.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$
|
|
33119
|
+
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$h.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$g.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$D.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
33136
33120
|
}
|
|
33137
33121
|
// --------------------------------------------------------------------------
|
|
33138
33122
|
//
|
|
@@ -33552,47 +33536,47 @@ class ListItem {
|
|
|
33552
33536
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
33553
33537
|
return null;
|
|
33554
33538
|
}
|
|
33555
|
-
return (hAsync("td", { class: CSS$
|
|
33539
|
+
return (hAsync("td", { class: CSS$E.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
33556
33540
|
? selectionMode === "multiple"
|
|
33557
33541
|
? ICONS$8.selectedMultiple
|
|
33558
33542
|
: ICONS$8.selectedSingle
|
|
33559
33543
|
: ICONS$8.unselected, scale: "s" })));
|
|
33560
33544
|
}
|
|
33561
33545
|
renderDragHandle() {
|
|
33562
|
-
return this.dragHandle ? (hAsync("td", { class: CSS$
|
|
33546
|
+
return this.dragHandle ? (hAsync("td", { class: CSS$E.dragContainer, key: "drag-handle-container" }, hAsync("calcite-handle", { label: this.label, setPosition: this.setPosition, setSize: this.setSize }))) : null;
|
|
33563
33547
|
}
|
|
33564
33548
|
renderOpen() {
|
|
33565
33549
|
const { el, open, openable, parentListEl } = this;
|
|
33566
33550
|
const dir = getElementDir(el);
|
|
33567
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
33551
|
+
return openable ? (hAsync("td", { class: CSS$E.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$8.open : dir === "rtl" ? ICONS$8.closedRTL : ICONS$8.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$E.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$8.blank, scale: "s" }))) : null;
|
|
33568
33552
|
}
|
|
33569
33553
|
renderActionsStart() {
|
|
33570
33554
|
const { label, hasActionsStart } = this;
|
|
33571
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
33555
|
+
return (hAsync("td", { "aria-label": label, class: CSS$E.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
33572
33556
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33573
33557
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$i.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
33574
33558
|
}
|
|
33575
33559
|
renderActionsEnd() {
|
|
33576
33560
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
33577
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
33561
|
+
return (hAsync("td", { "aria-label": label, class: CSS$E.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
33578
33562
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33579
33563
|
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$i.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$8.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
|
33580
33564
|
}
|
|
33581
33565
|
renderContentStart() {
|
|
33582
33566
|
const { hasContentStart } = this;
|
|
33583
|
-
return (hAsync("div", { class: CSS$
|
|
33567
|
+
return (hAsync("div", { class: CSS$E.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$i.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
33584
33568
|
}
|
|
33585
33569
|
renderCustomContent() {
|
|
33586
33570
|
const { hasCustomContent } = this;
|
|
33587
|
-
return (hAsync("div", { class: CSS$
|
|
33571
|
+
return (hAsync("div", { class: CSS$E.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$i.content, onSlotchange: this.handleContentSlotChange })));
|
|
33588
33572
|
}
|
|
33589
33573
|
renderContentEnd() {
|
|
33590
33574
|
const { hasContentEnd } = this;
|
|
33591
|
-
return (hAsync("div", { class: CSS$
|
|
33575
|
+
return (hAsync("div", { class: CSS$E.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$i.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
33592
33576
|
}
|
|
33593
33577
|
renderContentProperties() {
|
|
33594
33578
|
const { label, description, hasCustomContent } = this;
|
|
33595
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
33579
|
+
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$E.content, key: "content" }, label ? (hAsync("div", { class: CSS$E.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$E.description, key: "description" }, description)) : null)) : null;
|
|
33596
33580
|
}
|
|
33597
33581
|
renderContentContainer() {
|
|
33598
33582
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -33604,9 +33588,9 @@ class ListItem {
|
|
|
33604
33588
|
this.renderContentEnd(),
|
|
33605
33589
|
];
|
|
33606
33590
|
return (hAsync("td", { "aria-label": label, class: {
|
|
33607
|
-
[CSS$
|
|
33608
|
-
[CSS$
|
|
33609
|
-
[CSS$
|
|
33591
|
+
[CSS$E.contentContainer]: true,
|
|
33592
|
+
[CSS$E.contentContainerSelectable]: selectionMode !== "none",
|
|
33593
|
+
[CSS$E.contentContainerHasCenterContent]: hasCenterContent,
|
|
33610
33594
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
33611
33595
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33612
33596
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -33617,14 +33601,14 @@ class ListItem {
|
|
|
33617
33601
|
const borderSelected = showBorder && selected;
|
|
33618
33602
|
const borderUnselected = showBorder && !selected;
|
|
33619
33603
|
return (hAsync(Host, null, hAsync("tr", { "aria-expanded": openable ? toAriaBoolean(open) : null, "aria-label": label, "aria-level": level, "aria-posinset": setPosition, "aria-selected": toAriaBoolean(selected), "aria-setsize": setSize, class: {
|
|
33620
|
-
[CSS$
|
|
33621
|
-
[CSS$
|
|
33622
|
-
[CSS$
|
|
33604
|
+
[CSS$E.container]: true,
|
|
33605
|
+
[CSS$E.containerBorderSelected]: borderSelected,
|
|
33606
|
+
[CSS$E.containerBorderUnselected]: borderUnselected,
|
|
33623
33607
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
33624
33608
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33625
33609
|
ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
33626
|
-
[CSS$
|
|
33627
|
-
[CSS$
|
|
33610
|
+
[CSS$E.nestedContainer]: true,
|
|
33611
|
+
[CSS$E.nestedContainerHidden]: openable && !open,
|
|
33628
33612
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (el) => (this.defaultSlotEl = el) }))));
|
|
33629
33613
|
}
|
|
33630
33614
|
// --------------------------------------------------------------------------
|
|
@@ -33714,7 +33698,7 @@ class ListItem {
|
|
|
33714
33698
|
}; }
|
|
33715
33699
|
}
|
|
33716
33700
|
|
|
33717
|
-
const CSS$
|
|
33701
|
+
const CSS$A = {
|
|
33718
33702
|
container: "container",
|
|
33719
33703
|
heading: "heading",
|
|
33720
33704
|
};
|
|
@@ -33763,7 +33747,7 @@ class ListItemGroup {
|
|
|
33763
33747
|
// --------------------------------------------------------------------------
|
|
33764
33748
|
render() {
|
|
33765
33749
|
const { heading, visualLevel } = this;
|
|
33766
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
33750
|
+
return (hAsync(Host, null, hAsync("tr", { class: CSS$A.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$A.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })));
|
|
33767
33751
|
}
|
|
33768
33752
|
get el() { return getElement(this); }
|
|
33769
33753
|
static get style() { return listItemGroupCss; }
|
|
@@ -33863,7 +33847,7 @@ class Loader {
|
|
|
33863
33847
|
}; }
|
|
33864
33848
|
}
|
|
33865
33849
|
|
|
33866
|
-
const CSS$
|
|
33850
|
+
const CSS$z = {
|
|
33867
33851
|
container: "container",
|
|
33868
33852
|
fill: "fill",
|
|
33869
33853
|
stepLine: "step-line",
|
|
@@ -34013,16 +33997,16 @@ class Meter {
|
|
|
34013
33997
|
const aboveHighest = value >= highest;
|
|
34014
33998
|
const belowHighest = value < highest;
|
|
34015
33999
|
if (!value || (!low && belowHighest) || belowLowest) {
|
|
34016
|
-
return CSS$
|
|
34000
|
+
return CSS$z.success;
|
|
34017
34001
|
}
|
|
34018
34002
|
else if (aboveLowest && belowHighest) {
|
|
34019
|
-
return CSS$
|
|
34003
|
+
return CSS$z.warning;
|
|
34020
34004
|
}
|
|
34021
34005
|
else if (aboveHighest) {
|
|
34022
|
-
return CSS$
|
|
34006
|
+
return CSS$z.danger;
|
|
34023
34007
|
}
|
|
34024
34008
|
else {
|
|
34025
|
-
return CSS$
|
|
34009
|
+
return CSS$z.success;
|
|
34026
34010
|
}
|
|
34027
34011
|
}
|
|
34028
34012
|
intersects(el1, el2) {
|
|
@@ -34036,7 +34020,7 @@ class Meter {
|
|
|
34036
34020
|
const minHighOverlap = this.intersects(minLabelEl, highLabelEl);
|
|
34037
34021
|
const minLowOverlap = this.intersects(minLabelEl, lowLabelEl);
|
|
34038
34022
|
const minMaxOverlap = this.intersects(minLabelEl, maxLabelEl);
|
|
34039
|
-
const hiddenClass = CSS$
|
|
34023
|
+
const hiddenClass = CSS$z.labelHidden;
|
|
34040
34024
|
if (lowLabelEl) {
|
|
34041
34025
|
if (minLowOverlap || lowMaxOverlap || lowHighOverlap) {
|
|
34042
34026
|
lowLabelEl.classList.add(hiddenClass);
|
|
@@ -34085,26 +34069,26 @@ class Meter {
|
|
|
34085
34069
|
renderMeterFill() {
|
|
34086
34070
|
const { currentPercent, fillType } = this;
|
|
34087
34071
|
const kindClass = this.getMeterKindCssClass();
|
|
34088
|
-
return (hAsync("div", { class: { [CSS$
|
|
34072
|
+
return (hAsync("div", { class: { [CSS$z.fill]: true, [kindClass]: fillType !== "single" }, style: { width: `${currentPercent}%` } }));
|
|
34089
34073
|
}
|
|
34090
34074
|
renderRangeLine(position) {
|
|
34091
34075
|
const style = { insetInlineStart: `${position}%` };
|
|
34092
|
-
return hAsync("div", { class: CSS$
|
|
34076
|
+
return hAsync("div", { class: CSS$z.stepLine, style: style });
|
|
34093
34077
|
}
|
|
34094
34078
|
renderValueLabel() {
|
|
34095
34079
|
const { currentPercent, valueLabelType, unitLabel, value } = this;
|
|
34096
34080
|
const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
|
|
34097
|
-
return (hAsync("div", { class: { [CSS$
|
|
34081
|
+
return (hAsync("div", { class: { [CSS$z.label]: true, [CSS$z.labelValue]: true }, key: "low-label-line",
|
|
34098
34082
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34099
|
-
ref: (el) => (this.valueLabelEl = el) }, label, unitLabel && valueLabelType !== "percent" && (hAsync("span", { class: CSS$
|
|
34083
|
+
ref: (el) => (this.valueLabelEl = el) }, label, unitLabel && valueLabelType !== "percent" && (hAsync("span", { class: CSS$z.unitLabel }, "\u00A0", unitLabel))));
|
|
34100
34084
|
}
|
|
34101
34085
|
renderMinLabel() {
|
|
34102
34086
|
const { rangeLabelType, min, minPercent, unitLabel } = this;
|
|
34103
34087
|
const style = { insetInlineStart: `${minPercent}%` };
|
|
34104
34088
|
const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
|
|
34105
|
-
return (hAsync("div", { class: { [CSS$
|
|
34089
|
+
return (hAsync("div", { class: { [CSS$z.label]: true, [CSS$z.labelRange]: true }, key: "min-label-line", style: style,
|
|
34106
34090
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34107
|
-
ref: (el) => (this.minLabelEl = el) }, labelMin, unitLabel && rangeLabelType !== "percent" && (hAsync("span", { class: CSS$
|
|
34091
|
+
ref: (el) => (this.minLabelEl = el) }, labelMin, unitLabel && rangeLabelType !== "percent" && (hAsync("span", { class: CSS$z.unitLabel }, "\u00A0", unitLabel))));
|
|
34108
34092
|
}
|
|
34109
34093
|
renderLowLabel() {
|
|
34110
34094
|
const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
|
|
@@ -34114,7 +34098,7 @@ class Meter {
|
|
|
34114
34098
|
const styleDefault = { insetInlineStart: `${lowPercent}%` };
|
|
34115
34099
|
const styleFlipped = { insetInlineEnd: `${100 - lowPercent}%` };
|
|
34116
34100
|
const style = (highPercent - lowPercent) / 100 < labelFlipProximity ? styleFlipped : styleDefault;
|
|
34117
|
-
return (hAsync("div", { class: { [CSS$
|
|
34101
|
+
return (hAsync("div", { class: { [CSS$z.label]: true, [CSS$z.labelRange]: true }, key: "low-label-line", style: style,
|
|
34118
34102
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34119
34103
|
ref: (el) => (this.lowLabelEl = el) }, label));
|
|
34120
34104
|
}
|
|
@@ -34126,7 +34110,7 @@ class Meter {
|
|
|
34126
34110
|
const styleDefault = { insetInlineStart: `${highPercent}%` };
|
|
34127
34111
|
const styleFlipped = { insetInlineEnd: `${100 - highPercent}%` };
|
|
34128
34112
|
const style = highPercent / 100 >= labelFlipMax ? styleFlipped : styleDefault;
|
|
34129
|
-
return (hAsync("div", { class: { [CSS$
|
|
34113
|
+
return (hAsync("div", { class: { [CSS$z.label]: true, [CSS$z.labelRange]: true }, key: "high-label-line", style: style,
|
|
34130
34114
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34131
34115
|
ref: (el) => (this.highLabelEl = el) }, label));
|
|
34132
34116
|
}
|
|
@@ -34134,7 +34118,7 @@ class Meter {
|
|
|
34134
34118
|
const { rangeLabelType, max, maxPercent } = this;
|
|
34135
34119
|
const style = { insetInlineEnd: `${100 - maxPercent}%` };
|
|
34136
34120
|
const labelMax = this.formatLabel(rangeLabelType === "percent" ? maxPercent / 100 : max, rangeLabelType);
|
|
34137
|
-
return (hAsync("div", { class: { [CSS$
|
|
34121
|
+
return (hAsync("div", { class: { [CSS$z.label]: true, [CSS$z.labelRange]: true }, key: "max-label-line", style: style,
|
|
34138
34122
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34139
34123
|
ref: (el) => (this.maxLabelEl = el) }, labelMax));
|
|
34140
34124
|
}
|
|
@@ -34148,9 +34132,9 @@ class Meter {
|
|
|
34148
34132
|
? textUnitLabel
|
|
34149
34133
|
: undefined;
|
|
34150
34134
|
return (hAsync(Host, null, hAsync("div", { "aria-label": label, "aria-valuemax": rangeLabelType === "percent" ? maxPercent : max, "aria-valuemin": rangeLabelType === "percent" ? minPercent : min, "aria-valuenow": valueLabelType === "percent" ? currentPercent : value, "aria-valuetext": valueText, class: {
|
|
34151
|
-
[CSS$
|
|
34152
|
-
[CSS$
|
|
34153
|
-
[CSS$
|
|
34135
|
+
[CSS$z.container]: true,
|
|
34136
|
+
[CSS$z.stepsVisible]: rangeLabels,
|
|
34137
|
+
[CSS$z.valueVisible]: valueLabel,
|
|
34154
34138
|
[appearance]: appearance !== "outline-fill",
|
|
34155
34139
|
}, role: "meter",
|
|
34156
34140
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -34206,7 +34190,7 @@ class Meter {
|
|
|
34206
34190
|
}; }
|
|
34207
34191
|
}
|
|
34208
34192
|
|
|
34209
|
-
const CSS$
|
|
34193
|
+
const CSS$y = {
|
|
34210
34194
|
modal: "modal",
|
|
34211
34195
|
title: "title",
|
|
34212
34196
|
header: "header",
|
|
@@ -34396,50 +34380,50 @@ class Modal {
|
|
|
34396
34380
|
}
|
|
34397
34381
|
render() {
|
|
34398
34382
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
34399
|
-
[CSS$
|
|
34400
|
-
[CSS$
|
|
34401
|
-
[CSS$
|
|
34402
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
34403
|
-
[CSS$
|
|
34383
|
+
[CSS$y.container]: true,
|
|
34384
|
+
[CSS$y.containerOpen]: this.opened,
|
|
34385
|
+
[CSS$y.slottedInShell]: this.slottedInShell,
|
|
34386
|
+
} }, hAsync("calcite-scrim", { class: CSS$y.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
34387
|
+
[CSS$y.modal]: true,
|
|
34404
34388
|
},
|
|
34405
34389
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34406
|
-
ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
34407
|
-
[CSS$
|
|
34408
|
-
[CSS$
|
|
34390
|
+
ref: this.setTransitionEl }, hAsync("div", { class: CSS$y.header }, this.renderCloseButton(), hAsync("header", { class: CSS$y.title }, hAsync("slot", { name: CSS$y.header }))), this.renderContentTop(), hAsync("div", { class: {
|
|
34391
|
+
[CSS$y.content]: true,
|
|
34392
|
+
[CSS$y.contentNoFooter]: !this.hasFooter,
|
|
34409
34393
|
},
|
|
34410
34394
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34411
34395
|
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$f.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
34412
34396
|
}
|
|
34413
34397
|
renderFooter() {
|
|
34414
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
34398
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$y.footer, key: "footer" }, hAsync("span", { class: CSS$y.back }, hAsync("slot", { name: SLOTS$f.back })), hAsync("span", { class: CSS$y.secondary }, hAsync("slot", { name: SLOTS$f.secondary })), hAsync("span", { class: CSS$y.primary }, hAsync("slot", { name: SLOTS$f.primary })))) : null;
|
|
34415
34399
|
}
|
|
34416
34400
|
renderContentTop() {
|
|
34417
|
-
return (hAsync("div", { class: CSS$
|
|
34401
|
+
return (hAsync("div", { class: CSS$y.contentTop, hidden: !this.hasContentTop }, hAsync("slot", { name: SLOTS$f.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
|
|
34418
34402
|
}
|
|
34419
34403
|
renderContentBottom() {
|
|
34420
|
-
return (hAsync("div", { class: CSS$
|
|
34404
|
+
return (hAsync("div", { class: CSS$y.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$f.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
|
|
34421
34405
|
}
|
|
34422
34406
|
renderCloseButton() {
|
|
34423
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
34407
|
+
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$y.close, key: "button", onClick: this.handleCloseClick, title: this.messages.close,
|
|
34424
34408
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34425
34409
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$7.close, scale: getIconScale(this.scale) }))) : null;
|
|
34426
34410
|
}
|
|
34427
34411
|
renderStyle() {
|
|
34428
34412
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
34429
|
-
return (hAsync("style", null, `.${CSS$
|
|
34413
|
+
return (hAsync("style", null, `.${CSS$y.container} {
|
|
34430
34414
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
34431
34415
|
}
|
|
34432
|
-
.${CSS$
|
|
34416
|
+
.${CSS$y.modal} {
|
|
34433
34417
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
34434
34418
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
34435
34419
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
34436
34420
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
34437
34421
|
}
|
|
34438
34422
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
34439
|
-
.${CSS$
|
|
34423
|
+
.${CSS$y.container} {
|
|
34440
34424
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
34441
34425
|
}
|
|
34442
|
-
.${CSS$
|
|
34426
|
+
.${CSS$y.modal} {
|
|
34443
34427
|
max-block-size: 100% !important;
|
|
34444
34428
|
inline-size: 100% !important;
|
|
34445
34429
|
max-inline-size: 100% !important;
|
|
@@ -34506,20 +34490,20 @@ class Modal {
|
|
|
34506
34490
|
}
|
|
34507
34491
|
}
|
|
34508
34492
|
onBeforeOpen() {
|
|
34509
|
-
this.transitionEl.classList.add(CSS$
|
|
34493
|
+
this.transitionEl.classList.add(CSS$y.openingActive);
|
|
34510
34494
|
this.calciteModalBeforeOpen.emit();
|
|
34511
34495
|
}
|
|
34512
34496
|
onOpen() {
|
|
34513
|
-
this.transitionEl.classList.remove(CSS$
|
|
34497
|
+
this.transitionEl.classList.remove(CSS$y.openingIdle, CSS$y.openingActive);
|
|
34514
34498
|
this.calciteModalOpen.emit();
|
|
34515
34499
|
activateFocusTrap(this);
|
|
34516
34500
|
}
|
|
34517
34501
|
onBeforeClose() {
|
|
34518
|
-
this.transitionEl.classList.add(CSS$
|
|
34502
|
+
this.transitionEl.classList.add(CSS$y.closingActive);
|
|
34519
34503
|
this.calciteModalBeforeClose.emit();
|
|
34520
34504
|
}
|
|
34521
34505
|
onClose() {
|
|
34522
|
-
this.transitionEl.classList.remove(CSS$
|
|
34506
|
+
this.transitionEl.classList.remove(CSS$y.closingIdle, CSS$y.closingActive);
|
|
34523
34507
|
this.calciteModalClose.emit();
|
|
34524
34508
|
deactivateFocusTrap(this);
|
|
34525
34509
|
}
|
|
@@ -34537,10 +34521,10 @@ class Modal {
|
|
|
34537
34521
|
handleOpenedChange(value) {
|
|
34538
34522
|
onToggleOpenCloseComponent(this);
|
|
34539
34523
|
if (value) {
|
|
34540
|
-
this.transitionEl?.classList.add(CSS$
|
|
34524
|
+
this.transitionEl?.classList.add(CSS$y.openingIdle);
|
|
34541
34525
|
}
|
|
34542
34526
|
else {
|
|
34543
|
-
this.transitionEl?.classList.add(CSS$
|
|
34527
|
+
this.transitionEl?.classList.add(CSS$y.closingIdle);
|
|
34544
34528
|
}
|
|
34545
34529
|
}
|
|
34546
34530
|
openModal() {
|
|
@@ -34611,7 +34595,7 @@ const SLOTS$e = {
|
|
|
34611
34595
|
link: "link",
|
|
34612
34596
|
actionsEnd: "actions-end",
|
|
34613
34597
|
};
|
|
34614
|
-
const CSS$
|
|
34598
|
+
const CSS$x = {
|
|
34615
34599
|
actionsEnd: "actions-end",
|
|
34616
34600
|
close: "notice-close",
|
|
34617
34601
|
container: "container",
|
|
@@ -34701,13 +34685,13 @@ class Notice {
|
|
|
34701
34685
|
}
|
|
34702
34686
|
render() {
|
|
34703
34687
|
const { el } = this;
|
|
34704
|
-
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
34688
|
+
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$x.close, onClick: this.close,
|
|
34705
34689
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34706
34690
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: getIconScale(this.scale) })));
|
|
34707
34691
|
const hasActionEnd = getSlotted(el, SLOTS$e.actionsEnd);
|
|
34708
|
-
return (hAsync("div", { class: CSS$
|
|
34692
|
+
return (hAsync("div", { class: CSS$x.container,
|
|
34709
34693
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34710
|
-
ref: this.setTransitionEl }, this.requestedIcon ? (hAsync("div", { class: CSS$
|
|
34694
|
+
ref: this.setTransitionEl }, this.requestedIcon ? (hAsync("div", { class: CSS$x.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: getIconScale(this.scale) }))) : null, hAsync("div", { class: CSS$x.content }, hAsync("slot", { name: SLOTS$e.title }), hAsync("slot", { name: SLOTS$e.message }), hAsync("slot", { name: SLOTS$e.link })), hasActionEnd ? (hAsync("div", { class: CSS$x.actionsEnd }, hAsync("slot", { name: SLOTS$e.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
34711
34695
|
}
|
|
34712
34696
|
//--------------------------------------------------------------------------
|
|
34713
34697
|
//
|
|
@@ -34900,7 +34884,7 @@ class OptionGroup {
|
|
|
34900
34884
|
}; }
|
|
34901
34885
|
}
|
|
34902
34886
|
|
|
34903
|
-
const CSS$
|
|
34887
|
+
const CSS$w = {
|
|
34904
34888
|
page: "page",
|
|
34905
34889
|
selected: "is-selected",
|
|
34906
34890
|
previous: "previous",
|
|
@@ -35068,9 +35052,9 @@ class Pagination {
|
|
|
35068
35052
|
//--------------------------------------------------------------------------
|
|
35069
35053
|
renderEllipsis(type) {
|
|
35070
35054
|
return (hAsync("span", { class: {
|
|
35071
|
-
[CSS$
|
|
35072
|
-
[CSS$
|
|
35073
|
-
[CSS$
|
|
35055
|
+
[CSS$w.ellipsis]: true,
|
|
35056
|
+
[CSS$w.ellipsisStart]: type === "start",
|
|
35057
|
+
[CSS$w.ellipsisEnd]: type === "end",
|
|
35074
35058
|
}, key: type }, "\u2026"));
|
|
35075
35059
|
}
|
|
35076
35060
|
renderItems() {
|
|
@@ -35137,8 +35121,8 @@ class Pagination {
|
|
|
35137
35121
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
35138
35122
|
const selected = start === this.startItem;
|
|
35139
35123
|
return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
|
|
35140
|
-
[CSS$
|
|
35141
|
-
[CSS$
|
|
35124
|
+
[CSS$w.page]: true,
|
|
35125
|
+
[CSS$w.selected]: selected,
|
|
35142
35126
|
}, onClick: this.handlePageClick, value: start }, displayedPage));
|
|
35143
35127
|
}
|
|
35144
35128
|
render() {
|
|
@@ -35146,11 +35130,11 @@ class Pagination {
|
|
|
35146
35130
|
const prevDisabled = pageSize === 1 ? startItem <= pageSize : startItem < pageSize;
|
|
35147
35131
|
const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
|
|
35148
35132
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": messages.previous, class: {
|
|
35149
|
-
[CSS$
|
|
35150
|
-
[CSS$
|
|
35133
|
+
[CSS$w.previous]: true,
|
|
35134
|
+
[CSS$w.disabled]: prevDisabled,
|
|
35151
35135
|
}, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: ICONS$6.previous, scale: getIconScale(this.scale) })), this.renderItems(), hAsync("button", { "aria-label": messages.next, class: {
|
|
35152
|
-
[CSS$
|
|
35153
|
-
[CSS$
|
|
35136
|
+
[CSS$w.next]: true,
|
|
35137
|
+
[CSS$w.disabled]: nextDisabled,
|
|
35154
35138
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: ICONS$6.next, scale: getIconScale(this.scale) }))));
|
|
35155
35139
|
}
|
|
35156
35140
|
static get delegatesFocus() { return true; }
|
|
@@ -35368,19 +35352,19 @@ class Panel {
|
|
|
35368
35352
|
// --------------------------------------------------------------------------
|
|
35369
35353
|
renderHeaderContent() {
|
|
35370
35354
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
35371
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
35372
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
35373
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
35355
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$P.heading, level: headingLevel }, heading)) : null;
|
|
35356
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$P.description }, description) : null;
|
|
35357
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$P.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
35374
35358
|
}
|
|
35375
35359
|
renderActionBar() {
|
|
35376
|
-
return (hAsync("div", { class: CSS$
|
|
35360
|
+
return (hAsync("div", { class: CSS$P.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$n.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
35377
35361
|
}
|
|
35378
35362
|
renderHeaderSlottedContent() {
|
|
35379
|
-
return (hAsync("div", { class: CSS$
|
|
35363
|
+
return (hAsync("div", { class: CSS$P.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$n.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
35380
35364
|
}
|
|
35381
35365
|
renderHeaderStartActions() {
|
|
35382
35366
|
const { hasStartActions } = this;
|
|
35383
|
-
return (hAsync("div", { class: { [CSS$
|
|
35367
|
+
return (hAsync("div", { class: { [CSS$P.headerActionsStart]: true, [CSS$P.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$n.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
35384
35368
|
}
|
|
35385
35369
|
renderHeaderActionsEnd() {
|
|
35386
35370
|
const { hasEndActions, messages, closable, collapsed, collapseDirection, collapsible, hasMenuItems, } = this;
|
|
@@ -35393,7 +35377,7 @@ class Panel {
|
|
|
35393
35377
|
const closeNode = closable ? (hAsync("calcite-action", { "aria-label": close, "data-test": "close", icon: ICONS$b.close, onClick: this.close, text: close, title: close })) : null;
|
|
35394
35378
|
const slotNode = (hAsync("slot", { name: SLOTS$n.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
35395
35379
|
const showContainer = hasEndActions || collapseNode || closeNode || hasMenuItems;
|
|
35396
|
-
return (hAsync("div", { class: { [CSS$
|
|
35380
|
+
return (hAsync("div", { class: { [CSS$P.headerActionsEnd]: true, [CSS$P.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), collapseNode, closeNode));
|
|
35397
35381
|
}
|
|
35398
35382
|
renderMenu() {
|
|
35399
35383
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -35410,24 +35394,24 @@ class Panel {
|
|
|
35410
35394
|
closable ||
|
|
35411
35395
|
hasMenuItems;
|
|
35412
35396
|
this.showHeaderContent = showHeaderContent;
|
|
35413
|
-
return (hAsync("header", { class: CSS$
|
|
35397
|
+
return (hAsync("header", { class: CSS$P.header, hidden: !(showHeaderContent || hasActionBar) }, hAsync("div", { class: { [CSS$P.headerContainer]: true, [CSS$P.headerContainerBorderEnd]: hasActionBar }, hidden: !showHeaderContent }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()), this.renderActionBar()));
|
|
35414
35398
|
}
|
|
35415
35399
|
renderFooterNode() {
|
|
35416
35400
|
const { hasFooterContent, hasFooterActions } = this;
|
|
35417
35401
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
35418
|
-
return (hAsync("footer", { class: CSS$
|
|
35402
|
+
return (hAsync("footer", { class: CSS$P.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$n.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$n.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
35419
35403
|
}
|
|
35420
35404
|
renderContent() {
|
|
35421
|
-
return (hAsync("div", { class: CSS$
|
|
35405
|
+
return (hAsync("div", { class: CSS$P.contentWrapper, hidden: this.collapsible && this.collapsed, onScroll: this.panelScrollHandler,
|
|
35422
35406
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35423
35407
|
ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
|
|
35424
35408
|
}
|
|
35425
35409
|
renderFab() {
|
|
35426
|
-
return (hAsync("div", { class: CSS$
|
|
35410
|
+
return (hAsync("div", { class: CSS$P.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$n.fab, onSlotchange: this.handleFabSlotChange })));
|
|
35427
35411
|
}
|
|
35428
35412
|
render() {
|
|
35429
35413
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
35430
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
35414
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$P.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
35431
35415
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35432
35416
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
35433
35417
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -35476,7 +35460,7 @@ class Panel {
|
|
|
35476
35460
|
}; }
|
|
35477
35461
|
}
|
|
35478
35462
|
|
|
35479
|
-
const CSS$
|
|
35463
|
+
const CSS$v = {
|
|
35480
35464
|
sticky: "sticky-pos",
|
|
35481
35465
|
};
|
|
35482
35466
|
var ICON_TYPES$1;
|
|
@@ -35489,7 +35473,7 @@ const SLOTS$d = {
|
|
|
35489
35473
|
menuActions: "menu-actions",
|
|
35490
35474
|
};
|
|
35491
35475
|
|
|
35492
|
-
const CSS$
|
|
35476
|
+
const CSS$u = {
|
|
35493
35477
|
heading: "heading",
|
|
35494
35478
|
container: "container",
|
|
35495
35479
|
indented: "container--indented",
|
|
@@ -35815,7 +35799,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
35815
35799
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
35816
35800
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35817
35801
|
ref: storeAssistiveEl })) : null,
|
|
35818
|
-
hAsync("header", { class: { [CSS$
|
|
35802
|
+
hAsync("header", { class: { [CSS$v.sticky]: true } },
|
|
35819
35803
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
35820
35804
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35821
35805
|
ref: setFilterEl })) : null,
|
|
@@ -36006,14 +35990,14 @@ class PickListGroup {
|
|
|
36006
35990
|
const { el, groupTitle, headingLevel } = this;
|
|
36007
35991
|
const hasParentItem = getSlotted(el, SLOTS$c.parentItem) !== null;
|
|
36008
35992
|
const sectionClasses = {
|
|
36009
|
-
[CSS$
|
|
36010
|
-
[CSS$
|
|
35993
|
+
[CSS$u.container]: true,
|
|
35994
|
+
[CSS$u.indented]: hasParentItem,
|
|
36011
35995
|
};
|
|
36012
35996
|
const title = groupTitle;
|
|
36013
35997
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
36014
35998
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
36015
35999
|
const level = headingLevel || relativeLevel;
|
|
36016
|
-
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$
|
|
36000
|
+
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$u.heading, level: level }, title)) : null, hAsync("slot", { name: SLOTS$c.parentItem }), hAsync("section", { class: sectionClasses }, hAsync("slot", null))));
|
|
36017
36001
|
}
|
|
36018
36002
|
get el() { return getElement(this); }
|
|
36019
36003
|
static get style() { return pickListGroupCss; }
|
|
@@ -36030,7 +36014,7 @@ class PickListGroup {
|
|
|
36030
36014
|
}; }
|
|
36031
36015
|
}
|
|
36032
36016
|
|
|
36033
|
-
const CSS$
|
|
36017
|
+
const CSS$t = {
|
|
36034
36018
|
actions: "actions",
|
|
36035
36019
|
actionsEnd: "actions--end",
|
|
36036
36020
|
actionsStart: "actions--start",
|
|
@@ -36192,28 +36176,28 @@ class PickListItem {
|
|
|
36192
36176
|
return null;
|
|
36193
36177
|
}
|
|
36194
36178
|
return (hAsync("span", { class: {
|
|
36195
|
-
[CSS$
|
|
36196
|
-
[CSS$
|
|
36179
|
+
[CSS$t.icon]: true,
|
|
36180
|
+
[CSS$t.iconDot]: icon === ICON_TYPES$1.circle,
|
|
36197
36181
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$5.checked, scale: "s" })) : null));
|
|
36198
36182
|
}
|
|
36199
36183
|
renderRemoveAction() {
|
|
36200
|
-
return this.removable ? (hAsync("calcite-action", { class: CSS$
|
|
36184
|
+
return this.removable ? (hAsync("calcite-action", { class: CSS$t.remove, icon: ICONS$5.remove, onClick: this.removeClickHandler, slot: SLOTS$b.actionsEnd, text: this.messages.remove })) : null;
|
|
36201
36185
|
}
|
|
36202
36186
|
renderActionsStart() {
|
|
36203
36187
|
const { el } = this;
|
|
36204
36188
|
const hasActionsStart = getSlotted(el, SLOTS$b.actionsStart);
|
|
36205
|
-
return hasActionsStart ? (hAsync("div", { class: { [CSS$
|
|
36189
|
+
return hasActionsStart ? (hAsync("div", { class: { [CSS$t.actions]: true, [CSS$t.actionsStart]: true } }, hAsync("slot", { name: SLOTS$b.actionsStart }))) : null;
|
|
36206
36190
|
}
|
|
36207
36191
|
renderActionsEnd() {
|
|
36208
36192
|
const { el, removable } = this;
|
|
36209
36193
|
const hasActionsEnd = getSlotted(el, SLOTS$b.actionsEnd);
|
|
36210
|
-
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$
|
|
36194
|
+
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$t.actions]: true, [CSS$t.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$b.actionsEnd }), this.renderRemoveAction())) : null;
|
|
36211
36195
|
}
|
|
36212
36196
|
render() {
|
|
36213
36197
|
const { description, label } = this;
|
|
36214
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$
|
|
36198
|
+
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$t.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, tabIndex: 0,
|
|
36215
36199
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
36216
|
-
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$
|
|
36200
|
+
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$t.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$t.title }, label), description ? hAsync("span", { class: CSS$t.description }, description) : null)), this.renderActionsEnd()));
|
|
36217
36201
|
}
|
|
36218
36202
|
static get assetsDirs() { return ["assets"]; }
|
|
36219
36203
|
get el() { return getElement(this); }
|
|
@@ -36256,7 +36240,7 @@ class PickListItem {
|
|
|
36256
36240
|
}; }
|
|
36257
36241
|
}
|
|
36258
36242
|
|
|
36259
|
-
const CSS$
|
|
36243
|
+
const CSS$s = {
|
|
36260
36244
|
container: "container",
|
|
36261
36245
|
imageContainer: "image-container",
|
|
36262
36246
|
closeButtonContainer: "close-button-container",
|
|
@@ -36350,7 +36334,7 @@ class PopoverManager {
|
|
|
36350
36334
|
}
|
|
36351
36335
|
}
|
|
36352
36336
|
|
|
36353
|
-
const CSS$
|
|
36337
|
+
const CSS$r = {
|
|
36354
36338
|
arrow: "calcite-floating-ui-arrow",
|
|
36355
36339
|
arrowStroke: "calcite-floating-ui-arrow__stroke",
|
|
36356
36340
|
};
|
|
@@ -36380,8 +36364,8 @@ const FloatingArrow = ({ floatingLayout, key, ref, }) => {
|
|
|
36380
36364
|
` L${width - svgX},${height}` +
|
|
36381
36365
|
` Q${svgX},${height} ${svgX},${height}` +
|
|
36382
36366
|
" Z";
|
|
36383
|
-
return (hAsync("svg", { "aria-hidden": "true", class: CSS$
|
|
36384
|
-
strokeWidth > 0 && (hAsync("path", { class: CSS$
|
|
36367
|
+
return (hAsync("svg", { "aria-hidden": "true", class: CSS$r.arrow, height: width, key: key, ref: ref, viewBox: `0 0 ${width} ${width + (!isVertical ? strokeWidth : 0)}`, width: width + (isVertical ? strokeWidth : 0) },
|
|
36368
|
+
strokeWidth > 0 && (hAsync("path", { class: CSS$r.arrowStroke, d: dValue, fill: "none", "stroke-width": strokeWidth + 1 })),
|
|
36385
36369
|
hAsync("path", { d: dValue, stroke: "none" })));
|
|
36386
36370
|
};
|
|
36387
36371
|
|
|
@@ -36633,14 +36617,14 @@ class Popover {
|
|
|
36633
36617
|
// --------------------------------------------------------------------------
|
|
36634
36618
|
renderCloseButton() {
|
|
36635
36619
|
const { messages, closable } = this;
|
|
36636
|
-
return closable ? (hAsync("div", { class: CSS$
|
|
36620
|
+
return closable ? (hAsync("div", { class: CSS$s.closeButtonContainer, key: CSS$s.closeButtonContainer }, hAsync("calcite-action", { appearance: "transparent", class: CSS$s.closeButton, onClick: this.hide, scale: this.scale, text: messages.close,
|
|
36637
36621
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
36638
36622
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: getIconScale(this.scale) })))) : null;
|
|
36639
36623
|
}
|
|
36640
36624
|
renderHeader() {
|
|
36641
36625
|
const { heading, headingLevel } = this;
|
|
36642
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
36643
|
-
return headingNode ? (hAsync("div", { class: CSS$
|
|
36626
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$s.heading, level: headingLevel }, heading)) : null;
|
|
36627
|
+
return headingNode ? (hAsync("div", { class: CSS$s.header, key: CSS$s.header }, headingNode, this.renderCloseButton())) : null;
|
|
36644
36628
|
}
|
|
36645
36629
|
render() {
|
|
36646
36630
|
const { effectiveReferenceElement, heading, label, open, pointerDisabled, floatingLayout } = this;
|
|
@@ -36655,9 +36639,9 @@ class Popover {
|
|
|
36655
36639
|
},
|
|
36656
36640
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
36657
36641
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
36658
|
-
[CSS$
|
|
36659
|
-
[CSS$
|
|
36660
|
-
} }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
36642
|
+
[CSS$s.hasHeader]: !!heading,
|
|
36643
|
+
[CSS$s.container]: true,
|
|
36644
|
+
} }, this.renderHeader(), hAsync("div", { class: CSS$s.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
36661
36645
|
}
|
|
36662
36646
|
static get assetsDirs() { return ["assets"]; }
|
|
36663
36647
|
get el() { return getElement(this); }
|
|
@@ -36751,7 +36735,7 @@ class Progress {
|
|
|
36751
36735
|
}; }
|
|
36752
36736
|
}
|
|
36753
36737
|
|
|
36754
|
-
const CSS$
|
|
36738
|
+
const CSS$q = {
|
|
36755
36739
|
container: "container",
|
|
36756
36740
|
};
|
|
36757
36741
|
|
|
@@ -37028,7 +37012,7 @@ class RadioButton {
|
|
|
37028
37012
|
// --------------------------------------------------------------------------
|
|
37029
37013
|
render() {
|
|
37030
37014
|
const tabIndex = this.getTabIndex();
|
|
37031
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$
|
|
37015
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$q.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, role: "radio", tabIndex: tabIndex,
|
|
37032
37016
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
37033
37017
|
ref: this.setContainerEl }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
37034
37018
|
}
|
|
@@ -37455,7 +37439,7 @@ class Rating {
|
|
|
37455
37439
|
}; }
|
|
37456
37440
|
}
|
|
37457
37441
|
|
|
37458
|
-
const CSS$
|
|
37442
|
+
const CSS$p = {
|
|
37459
37443
|
scrim: "scrim",
|
|
37460
37444
|
content: "content",
|
|
37461
37445
|
};
|
|
@@ -37525,9 +37509,9 @@ class Scrim {
|
|
|
37525
37509
|
// --------------------------------------------------------------------------
|
|
37526
37510
|
render() {
|
|
37527
37511
|
const { hasContent, loading, messages } = this;
|
|
37528
|
-
return (hAsync("div", { class: CSS$
|
|
37512
|
+
return (hAsync("div", { class: CSS$p.scrim }, loading ? (hAsync("calcite-loader", { label: messages.loading, scale: this.loaderScale,
|
|
37529
37513
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
37530
|
-
ref: this.storeLoaderEl })) : null, hAsync("div", { class: CSS$
|
|
37514
|
+
ref: this.storeLoaderEl })) : null, hAsync("div", { class: CSS$p.content, hidden: !hasContent }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
37531
37515
|
}
|
|
37532
37516
|
getScale(size) {
|
|
37533
37517
|
if (size < BREAKPOINTS.s) {
|
|
@@ -37802,7 +37786,7 @@ class SegmentedControl {
|
|
|
37802
37786
|
const SLOTS$a = {
|
|
37803
37787
|
input: "input",
|
|
37804
37788
|
};
|
|
37805
|
-
const CSS$
|
|
37789
|
+
const CSS$o = {
|
|
37806
37790
|
segmentedControlItemIcon: "segmented-control-item-icon",
|
|
37807
37791
|
};
|
|
37808
37792
|
|
|
@@ -37831,8 +37815,8 @@ class SegmentedControlItem {
|
|
|
37831
37815
|
//--------------------------------------------------------------------------
|
|
37832
37816
|
render() {
|
|
37833
37817
|
const { appearance, checked, layout, scale, value } = this;
|
|
37834
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
37835
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
37818
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$o.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
37819
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$o.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
37836
37820
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
37837
37821
|
"label--scale-s": scale === "s",
|
|
37838
37822
|
"label--scale-m": scale === "m",
|
|
@@ -37866,7 +37850,7 @@ class SegmentedControlItem {
|
|
|
37866
37850
|
}; }
|
|
37867
37851
|
}
|
|
37868
37852
|
|
|
37869
|
-
const CSS$
|
|
37853
|
+
const CSS$n = {
|
|
37870
37854
|
icon: "icon",
|
|
37871
37855
|
iconContainer: "icon-container",
|
|
37872
37856
|
select: "select",
|
|
@@ -38053,10 +38037,10 @@ class Select {
|
|
|
38053
38037
|
//
|
|
38054
38038
|
//--------------------------------------------------------------------------
|
|
38055
38039
|
renderChevron() {
|
|
38056
|
-
return (hAsync("div", { class: CSS$
|
|
38040
|
+
return (hAsync("div", { class: CSS$n.iconContainer }, hAsync("calcite-icon", { class: CSS$n.icon, icon: "chevron-down", scale: getIconScale(this.scale) })));
|
|
38057
38041
|
}
|
|
38058
38042
|
render() {
|
|
38059
|
-
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$
|
|
38043
|
+
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$n.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
|
|
38060
38044
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38061
38045
|
ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
38062
38046
|
}
|
|
@@ -38087,7 +38071,7 @@ class Select {
|
|
|
38087
38071
|
}; }
|
|
38088
38072
|
}
|
|
38089
38073
|
|
|
38090
|
-
const CSS$
|
|
38074
|
+
const CSS$m = {
|
|
38091
38075
|
scrim: "scrim",
|
|
38092
38076
|
container: "container",
|
|
38093
38077
|
containerOpen: "container--open",
|
|
@@ -38205,12 +38189,12 @@ class Sheet {
|
|
|
38205
38189
|
render() {
|
|
38206
38190
|
const dir = getElementDir(this.el);
|
|
38207
38191
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-label": this.label, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
38208
|
-
[CSS$
|
|
38209
|
-
[CSS$
|
|
38210
|
-
[CSS$
|
|
38192
|
+
[CSS$m.container]: true,
|
|
38193
|
+
[CSS$m.containerOpen]: this.opened,
|
|
38194
|
+
[CSS$m.containerSlottedInShell]: this.slottedInShell,
|
|
38211
38195
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
38212
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
38213
|
-
[CSS$
|
|
38196
|
+
} }, hAsync("calcite-scrim", { class: CSS$m.scrim, onClick: this.handleOutsideClose }), hAsync("div", { class: {
|
|
38197
|
+
[CSS$m.content]: true,
|
|
38214
38198
|
},
|
|
38215
38199
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38216
38200
|
ref: this.setTransitionEl }, hAsync("slot", null)))));
|
|
@@ -38311,7 +38295,7 @@ class Sheet {
|
|
|
38311
38295
|
}; }
|
|
38312
38296
|
}
|
|
38313
38297
|
|
|
38314
|
-
const CSS$
|
|
38298
|
+
const CSS$l = {
|
|
38315
38299
|
main: "main",
|
|
38316
38300
|
content: "content",
|
|
38317
38301
|
contentBehind: "content--behind",
|
|
@@ -38413,7 +38397,7 @@ class Shell {
|
|
|
38413
38397
|
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$9.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
38414
38398
|
}
|
|
38415
38399
|
renderFooter() {
|
|
38416
|
-
return (hAsync("div", { class: CSS$
|
|
38400
|
+
return (hAsync("div", { class: CSS$l.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$9.footer, onSlotchange: this.handleFooterSlotChange })));
|
|
38417
38401
|
}
|
|
38418
38402
|
renderAlerts() {
|
|
38419
38403
|
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$9.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
@@ -38433,21 +38417,21 @@ class Shell {
|
|
|
38433
38417
|
const content = !!this.contentBehind
|
|
38434
38418
|
? [
|
|
38435
38419
|
hAsync("div", { class: {
|
|
38436
|
-
[CSS$
|
|
38437
|
-
[CSS$
|
|
38420
|
+
[CSS$l.content]: true,
|
|
38421
|
+
[CSS$l.contentBehind]: true,
|
|
38438
38422
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
38439
|
-
hAsync("div", { class: CSS$
|
|
38423
|
+
hAsync("div", { class: CSS$l.contentBehindCenterContent }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
38440
38424
|
]
|
|
38441
38425
|
: [
|
|
38442
|
-
hAsync("div", { class: CSS$
|
|
38426
|
+
hAsync("div", { class: CSS$l.content, key: contentContainerKey }, panelTopSlotNode, defaultSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
38443
38427
|
];
|
|
38444
38428
|
return content;
|
|
38445
38429
|
}
|
|
38446
38430
|
renderMain() {
|
|
38447
|
-
return (hAsync("div", { class: CSS$
|
|
38431
|
+
return (hAsync("div", { class: CSS$l.main }, hAsync("slot", { name: SLOTS$9.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$9.panelEnd })));
|
|
38448
38432
|
}
|
|
38449
38433
|
renderPositionedSlots() {
|
|
38450
|
-
return (hAsync("div", { class: CSS$
|
|
38434
|
+
return (hAsync("div", { class: CSS$l.positionedSlotWrapper }, this.renderAlerts(), this.renderModals(), this.renderSheets()));
|
|
38451
38435
|
}
|
|
38452
38436
|
render() {
|
|
38453
38437
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -38471,7 +38455,7 @@ class Shell {
|
|
|
38471
38455
|
}; }
|
|
38472
38456
|
}
|
|
38473
38457
|
|
|
38474
|
-
const CSS$
|
|
38458
|
+
const CSS$k = {
|
|
38475
38459
|
actionBarContainer: "action-bar-container",
|
|
38476
38460
|
content: "content",
|
|
38477
38461
|
};
|
|
@@ -38510,9 +38494,9 @@ class ShellCenterRow {
|
|
|
38510
38494
|
// --------------------------------------------------------------------------
|
|
38511
38495
|
render() {
|
|
38512
38496
|
const { el } = this;
|
|
38513
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
38497
|
+
const contentNode = (hAsync("div", { class: CSS$k.content }, hAsync("slot", null)));
|
|
38514
38498
|
const actionBar = getSlotted(el, SLOTS$8.actionBar);
|
|
38515
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$
|
|
38499
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$k.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$8.actionBar }))) : null;
|
|
38516
38500
|
const children = [actionBarNode, contentNode];
|
|
38517
38501
|
if (actionBar?.position === "end") {
|
|
38518
38502
|
children.reverse();
|
|
@@ -38535,7 +38519,7 @@ class ShellCenterRow {
|
|
|
38535
38519
|
}; }
|
|
38536
38520
|
}
|
|
38537
38521
|
|
|
38538
|
-
const CSS$
|
|
38522
|
+
const CSS$j = {
|
|
38539
38523
|
container: "container",
|
|
38540
38524
|
content: "content",
|
|
38541
38525
|
contentHeader: "content__header",
|
|
@@ -38798,7 +38782,7 @@ class ShellPanel {
|
|
|
38798
38782
|
//
|
|
38799
38783
|
// --------------------------------------------------------------------------
|
|
38800
38784
|
renderHeader() {
|
|
38801
|
-
return (hAsync("div", { class: CSS$
|
|
38785
|
+
return (hAsync("div", { class: CSS$j.contentHeader, hidden: !this.hasHeader, key: "header" }, hAsync("slot", { name: SLOTS$7.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
38802
38786
|
}
|
|
38803
38787
|
render() {
|
|
38804
38788
|
const { collapsed, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout, displayMode, } = this;
|
|
@@ -38815,7 +38799,7 @@ class ShellPanel {
|
|
|
38815
38799
|
: null;
|
|
38816
38800
|
const separatorNode = !collapsed && allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": layout === "horizontal" ? "vertical" : "horizontal", "aria-valuemax": layout == "horizontal" ? contentHeightMax : contentWidthMax, "aria-valuemin": layout == "horizontal" ? contentHeightMin : contentWidthMin, "aria-valuenow": layout == "horizontal"
|
|
38817
38801
|
? contentHeight ?? initialContentHeight
|
|
38818
|
-
: contentWidth ?? initialContentWidth, class: CSS$
|
|
38802
|
+
: contentWidth ?? initialContentWidth, class: CSS$j.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
38819
38803
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38820
38804
|
ref: this.connectSeparator })) : null;
|
|
38821
38805
|
const getAnimationDir = () => {
|
|
@@ -38831,20 +38815,20 @@ class ShellPanel {
|
|
|
38831
38815
|
};
|
|
38832
38816
|
const contentNode = (hAsync("div", { class: {
|
|
38833
38817
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
38834
|
-
[CSS$
|
|
38835
|
-
[CSS$
|
|
38836
|
-
[CSS$
|
|
38818
|
+
[CSS$j.content]: true,
|
|
38819
|
+
[CSS$j.contentOverlay]: displayMode === "overlay",
|
|
38820
|
+
[CSS$j.contentFloat]: displayMode === "float",
|
|
38837
38821
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
38838
38822
|
[getAnimationDir()]: displayMode === "overlay",
|
|
38839
38823
|
}, hidden: collapsed, key: "content", style: style,
|
|
38840
38824
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38841
|
-
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
38825
|
+
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$j.contentBody }, hAsync("slot", null)), separatorNode));
|
|
38842
38826
|
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$7.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
38843
38827
|
const mainNodes = [actionBarNode, contentNode];
|
|
38844
38828
|
if (position === "end") {
|
|
38845
38829
|
mainNodes.reverse();
|
|
38846
38830
|
}
|
|
38847
|
-
return hAsync("div", { class: { [CSS$
|
|
38831
|
+
return hAsync("div", { class: { [CSS$j.container]: true } }, mainNodes);
|
|
38848
38832
|
}
|
|
38849
38833
|
// --------------------------------------------------------------------------
|
|
38850
38834
|
//
|
|
@@ -38945,7 +38929,7 @@ class ShellPanel {
|
|
|
38945
38929
|
}; }
|
|
38946
38930
|
}
|
|
38947
38931
|
|
|
38948
|
-
const CSS$
|
|
38932
|
+
const CSS$i = {
|
|
38949
38933
|
handleLabel: "handle__label",
|
|
38950
38934
|
handleLabelMinValue: "handle__label--minValue",
|
|
38951
38935
|
handleLabelValue: "handle__label--value",
|
|
@@ -39144,8 +39128,8 @@ class Slider {
|
|
|
39144
39128
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
39145
39129
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
39146
39130
|
const valueIsRange = isRange(this.value);
|
|
39147
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
39148
|
-
const handleLabelValueClasses = `${CSS$
|
|
39131
|
+
const handleLabelMinValueClasses = `${CSS$i.handleLabel} ${CSS$i.handleLabelMinValue}`;
|
|
39132
|
+
const handleLabelValueClasses = `${CSS$i.handleLabel} ${CSS$i.handleLabelValue}`;
|
|
39149
39133
|
const handle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
39150
39134
|
thumb: true,
|
|
39151
39135
|
"thumb--value": true,
|
|
@@ -39281,8 +39265,8 @@ class Slider {
|
|
|
39281
39265
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
39282
39266
|
const tickLabel = (hAsync("span", { class: {
|
|
39283
39267
|
tick__label: true,
|
|
39284
|
-
[CSS$
|
|
39285
|
-
[CSS$
|
|
39268
|
+
[CSS$i.tickMin]: isMinTickLabel,
|
|
39269
|
+
[CSS$i.tickMax]: isMaxTickLabel,
|
|
39286
39270
|
} }, displayedTickValue));
|
|
39287
39271
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
39288
39272
|
return tickLabel;
|
|
@@ -39840,7 +39824,7 @@ class Slider {
|
|
|
39840
39824
|
}; }
|
|
39841
39825
|
}
|
|
39842
39826
|
|
|
39843
|
-
const CSS$
|
|
39827
|
+
const CSS$h = {
|
|
39844
39828
|
sortItem: "sort-item",
|
|
39845
39829
|
container: "container",
|
|
39846
39830
|
containerHorizontal: "container--horizontal",
|
|
@@ -39974,9 +39958,9 @@ class SortableList {
|
|
|
39974
39958
|
const { layout } = this;
|
|
39975
39959
|
const horizontal = layout === "horizontal" || false;
|
|
39976
39960
|
return (hAsync("div", { class: {
|
|
39977
|
-
[CSS$
|
|
39978
|
-
[CSS$
|
|
39979
|
-
[CSS$
|
|
39961
|
+
[CSS$h.container]: true,
|
|
39962
|
+
[CSS$h.containerVertical]: !horizontal,
|
|
39963
|
+
[CSS$h.containerHorizontal]: horizontal,
|
|
39980
39964
|
} }, hAsync("slot", null)));
|
|
39981
39965
|
}
|
|
39982
39966
|
get el() { return getElement(this); }
|
|
@@ -40000,7 +39984,7 @@ class SortableList {
|
|
|
40000
39984
|
}; }
|
|
40001
39985
|
}
|
|
40002
39986
|
|
|
40003
|
-
const CSS$
|
|
39987
|
+
const CSS$g = {
|
|
40004
39988
|
container: "split-button__container",
|
|
40005
39989
|
dividerContainer: "split-button__divider-container",
|
|
40006
39990
|
divider: "split-button__divider",
|
|
@@ -40079,13 +40063,13 @@ class SplitButton {
|
|
|
40079
40063
|
}
|
|
40080
40064
|
render() {
|
|
40081
40065
|
const widthClasses = {
|
|
40082
|
-
[CSS$
|
|
40083
|
-
[CSS$
|
|
40084
|
-
[CSS$
|
|
40085
|
-
[CSS$
|
|
40066
|
+
[CSS$g.container]: true,
|
|
40067
|
+
[CSS$g.widthAuto]: this.width === "auto",
|
|
40068
|
+
[CSS$g.widthHalf]: this.width === "half",
|
|
40069
|
+
[CSS$g.widthFull]: this.width === "full",
|
|
40086
40070
|
};
|
|
40087
40071
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
40088
|
-
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$
|
|
40072
|
+
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$g.dividerContainer }, hAsync("div", { class: CSS$g.divider })), hAsync("calcite-dropdown", { disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, open: this.active, overlayPositioning: this.overlayPositioning, placement: "bottom-end", scale: this.scale, width: this.scale }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-start": this.dropdownIcon, kind: this.kind, label: this.dropdownLabel, scale: this.scale, slot: "trigger", splitChild: "secondary", type: "button" }), hAsync("slot", null))));
|
|
40089
40073
|
}
|
|
40090
40074
|
get dropdownIcon() {
|
|
40091
40075
|
return this.dropdownIconType === "chevron"
|
|
@@ -40172,25 +40156,25 @@ class Stack {
|
|
|
40172
40156
|
// --------------------------------------------------------------------------
|
|
40173
40157
|
renderActionsStart() {
|
|
40174
40158
|
const { hasActionsStart } = this;
|
|
40175
|
-
return (hAsync("div", { class: CSS$
|
|
40159
|
+
return (hAsync("div", { class: CSS$B.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$g.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
40176
40160
|
}
|
|
40177
40161
|
renderActionsEnd() {
|
|
40178
40162
|
const { hasActionsEnd } = this;
|
|
40179
|
-
return (hAsync("div", { class: CSS$
|
|
40163
|
+
return (hAsync("div", { class: CSS$B.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$g.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
40180
40164
|
}
|
|
40181
40165
|
renderContentStart() {
|
|
40182
40166
|
const { hasContentStart } = this;
|
|
40183
|
-
return (hAsync("div", { class: CSS$
|
|
40167
|
+
return (hAsync("div", { class: CSS$B.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$g.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
40184
40168
|
}
|
|
40185
40169
|
renderDefaultContent() {
|
|
40186
|
-
return (hAsync("div", { class: CSS$
|
|
40170
|
+
return (hAsync("div", { class: CSS$B.content }, hAsync("slot", null)));
|
|
40187
40171
|
}
|
|
40188
40172
|
renderContentEnd() {
|
|
40189
40173
|
const { hasContentEnd } = this;
|
|
40190
|
-
return (hAsync("div", { class: CSS$
|
|
40174
|
+
return (hAsync("div", { class: CSS$B.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$g.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
40191
40175
|
}
|
|
40192
40176
|
render() {
|
|
40193
|
-
return (hAsync(Host, null, hAsync("div", { class: CSS$
|
|
40177
|
+
return (hAsync(Host, null, hAsync("div", { class: CSS$B.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
|
|
40194
40178
|
}
|
|
40195
40179
|
static get style() { return stackCss; }
|
|
40196
40180
|
static get cmpMeta() { return {
|
|
@@ -40464,7 +40448,7 @@ class Stepper {
|
|
|
40464
40448
|
}; }
|
|
40465
40449
|
}
|
|
40466
40450
|
|
|
40467
|
-
const CSS$
|
|
40451
|
+
const CSS$f = {
|
|
40468
40452
|
container: "container",
|
|
40469
40453
|
stepperItemContent: "stepper-item-content",
|
|
40470
40454
|
stepperItemDescription: "stepper-item-description",
|
|
@@ -40608,11 +40592,11 @@ class StepperItem {
|
|
|
40608
40592
|
disconnectMessages(this);
|
|
40609
40593
|
}
|
|
40610
40594
|
render() {
|
|
40611
|
-
return (hAsync(Host, { "aria-current": this.selected ? "step" : "false", onClick: this.handleItemClick, onKeyDown: this.keyDownHandler }, hAsync("div", { class: CSS$
|
|
40595
|
+
return (hAsync(Host, { "aria-current": this.selected ? "step" : "false", onClick: this.handleItemClick, onKeyDown: this.keyDownHandler }, hAsync("div", { class: CSS$f.container }, this.complete && (hAsync("span", { "aria-live": "polite", class: CSS$f.visuallyHidden }, this.messages.complete)), hAsync("div", { class: CSS$f.stepperItemHeader, tabIndex:
|
|
40612
40596
|
/* additional tab index logic needed because of display: contents */
|
|
40613
40597
|
this.layout === "horizontal" && !this.disabled ? 0 : null,
|
|
40614
40598
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
40615
|
-
ref: (el) => (this.headerEl = el) }, this.icon ? this.renderIcon() : null, this.numbered ? (hAsync("div", { class: CSS$
|
|
40599
|
+
ref: (el) => (this.headerEl = el) }, this.icon ? this.renderIcon() : null, this.numbered ? (hAsync("div", { class: CSS$f.stepperItemNumber }, this.renderNumbers(), ".")) : null, hAsync("div", { class: CSS$f.stepperItemHeaderText }, hAsync("span", { class: CSS$f.stepperItemHeading }, this.heading), hAsync("span", { class: CSS$f.stepperItemDescription }, this.description))), hAsync("div", { class: CSS$f.stepperItemContent }, hAsync("slot", null)))));
|
|
40616
40600
|
}
|
|
40617
40601
|
//--------------------------------------------------------------------------
|
|
40618
40602
|
//
|
|
@@ -40814,7 +40798,12 @@ class Switch {
|
|
|
40814
40798
|
}; }
|
|
40815
40799
|
}
|
|
40816
40800
|
|
|
40817
|
-
const
|
|
40801
|
+
const CSS$e = {
|
|
40802
|
+
container: "container",
|
|
40803
|
+
content: "content",
|
|
40804
|
+
};
|
|
40805
|
+
|
|
40806
|
+
const tabCss = "/*!@:host([selected]) section,\n:host([selected]) .container*/[selected].sc-calcite-tab-h section.sc-calcite-tab,[selected].sc-calcite-tab-h .container.sc-calcite-tab{display:block}/*!@:host*/.sc-calcite-tab-h{display:none;block-size:100%;inline-size:100%}/*!@:host([selected])*/[selected].sc-calcite-tab-h{display:block;block-size:100%;inline-size:100%;overflow:auto}/*!@.scale-s .content*/.scale-s.sc-calcite-tab .content.sc-calcite-tab{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@.scale-m .content*/.scale-m.sc-calcite-tab .content.sc-calcite-tab{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.scale-l .content*/.scale-l.sc-calcite-tab .content.sc-calcite-tab{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@section,\n.container*/section.sc-calcite-tab,.container.sc-calcite-tab{display:none;block-size:100%;inline-size:100%}/*!@:host([hidden])*/[hidden].sc-calcite-tab-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-tab{display:none}";
|
|
40818
40807
|
|
|
40819
40808
|
/**
|
|
40820
40809
|
* @slot - A slot for adding custom content.
|
|
@@ -40836,7 +40825,7 @@ class Tab {
|
|
|
40836
40825
|
//--------------------------------------------------------------------------
|
|
40837
40826
|
render() {
|
|
40838
40827
|
const id = this.el.id || this.guid;
|
|
40839
|
-
return (hAsync(Host, { "aria-labelledby": this.labeledBy, id: id }, hAsync("div", { class:
|
|
40828
|
+
return (hAsync(Host, { "aria-labelledby": this.labeledBy, id: id }, hAsync("div", { class: { [CSS$e.container]: true, [`scale-${this.scale}`]: true }, role: "tabpanel", tabIndex: this.selected ? 0 : -1 }, hAsync("section", { class: CSS$e.content }, hAsync("slot", null)))));
|
|
40840
40829
|
}
|
|
40841
40830
|
connectedCallback() {
|
|
40842
40831
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
@@ -40844,9 +40833,6 @@ class Tab {
|
|
|
40844
40833
|
componentDidLoad() {
|
|
40845
40834
|
this.calciteInternalTabRegister.emit();
|
|
40846
40835
|
}
|
|
40847
|
-
componentWillRender() {
|
|
40848
|
-
this.scale = this.parentTabsEl?.scale;
|
|
40849
|
-
}
|
|
40850
40836
|
disconnectedCallback() {
|
|
40851
40837
|
// Dispatching to body in order to be listened by other elements that are still connected to the DOM.
|
|
40852
40838
|
document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister", {
|
|
@@ -40910,18 +40896,22 @@ class Tab {
|
|
|
40910
40896
|
"$members$": {
|
|
40911
40897
|
"tab": [513],
|
|
40912
40898
|
"selected": [1540],
|
|
40913
|
-
"scale": [
|
|
40899
|
+
"scale": [1],
|
|
40914
40900
|
"labeledBy": [32],
|
|
40915
40901
|
"getTabIndex": [64],
|
|
40916
40902
|
"updateAriaInfo": [64]
|
|
40917
40903
|
},
|
|
40918
40904
|
"$listeners$": [[16, "calciteInternalTabChange", "internalTabChangeHandler"]],
|
|
40919
40905
|
"$lazyBundleId$": "-",
|
|
40920
|
-
"$attrsToReflect$": [["tab", "tab"], ["selected", "selected"]
|
|
40906
|
+
"$attrsToReflect$": [["tab", "tab"], ["selected", "selected"]]
|
|
40921
40907
|
}; }
|
|
40922
40908
|
}
|
|
40923
40909
|
|
|
40924
|
-
const
|
|
40910
|
+
const CSS$d = {
|
|
40911
|
+
container: "tab-nav",
|
|
40912
|
+
};
|
|
40913
|
+
|
|
40914
|
+
const tabNavCss = "/*!@:host*/.sc-calcite-tab-nav-h{position:relative;display:flex}/*!@.scale-s*/.scale-s.sc-calcite-tab-nav{min-block-size:1.5rem}/*!@.scale-m*/.scale-m.sc-calcite-tab-nav{min-block-size:2rem}/*!@.scale-l*/.scale-l.sc-calcite-tab-nav{min-block-size:2.75rem}/*!@:host([layout=center]:not([bordered]))*/[layout=center].sc-calcite-tab-nav-h:not([bordered]){padding-inline:1.25rem}/*!@:host([layout=center]:not([bordered])) .tab-nav ::slotted(calcite-tab-title:last-child)*/.sc-calcite-tab-nav-h[layout=center]:not([bordered]) .tab-nav .sc-calcite-tab-nav-s>calcite-tab-title:last-child{margin-inline-end:0px}/*!@:host(:not([bordered])) .scale-l ::slotted(calcite-tab-title)*/.sc-calcite-tab-nav-h:not([bordered]) .scale-l .sc-calcite-tab-nav-s>calcite-tab-title{margin-inline-end:1.5rem}/*!@:host(:not([bordered])) .scale-m ::slotted(calcite-tab-title)*/.sc-calcite-tab-nav-h:not([bordered]) .scale-m .sc-calcite-tab-nav-s>calcite-tab-title{margin-inline-end:1.25rem}/*!@:host(:not([bordered])) .scale-s ::slotted(calcite-tab-title)*/.sc-calcite-tab-nav-h:not([bordered]) .scale-s .sc-calcite-tab-nav-s>calcite-tab-title{margin-inline-end:1rem}/*!@.tab-nav*/.tab-nav.sc-calcite-tab-nav{display:flex;inline-size:100%;justify-content:flex-start;overflow:auto}/*!@.tab-nav-active-indicator-container*/.tab-nav-active-indicator-container.sc-calcite-tab-nav{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-ui-brand);transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}/*!@:host([layout=center]) .tab-nav*/[layout=center].sc-calcite-tab-nav-h .tab-nav.sc-calcite-tab-nav{justify-content:space-evenly}/*!@:host .position-bottom .tab-nav-active-indicator*/.sc-calcite-tab-nav-h .position-bottom.sc-calcite-tab-nav .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host .position-bottom .tab-nav-active-indicator-container*/.sc-calcite-tab-nav-h .position-bottom.sc-calcite-tab-nav .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([bordered]) .tab-nav-active-indicator-container*/[bordered].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset}/*!@:host([bordered]) .position-bottom .tab-nav-active-indicator-container*/[bordered].sc-calcite-tab-nav-h .position-bottom.sc-calcite-tab-nav .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{background-color:highlight}}/*!@:host([hidden])*/[hidden].sc-calcite-tab-nav-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-tab-nav{display:none}";
|
|
40925
40915
|
|
|
40926
40916
|
/**
|
|
40927
40917
|
* @slot - A slot for adding `calcite-tab-title`s.
|
|
@@ -40985,9 +40975,6 @@ class TabNav {
|
|
|
40985
40975
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
40986
40976
|
this.resizeObserver?.observe(this.el);
|
|
40987
40977
|
}
|
|
40988
|
-
disconnectedCallback() {
|
|
40989
|
-
this.resizeObserver?.disconnect();
|
|
40990
|
-
}
|
|
40991
40978
|
componentWillLoad() {
|
|
40992
40979
|
const storageKey = `calcite-tab-nav-${this.storageId}`;
|
|
40993
40980
|
if (localStorage && this.storageId && localStorage.getItem(storageKey)) {
|
|
@@ -40998,8 +40985,6 @@ class TabNav {
|
|
|
40998
40985
|
componentWillRender() {
|
|
40999
40986
|
const { parentTabsEl } = this;
|
|
41000
40987
|
this.layout = parentTabsEl?.layout;
|
|
41001
|
-
this.position = parentTabsEl?.position;
|
|
41002
|
-
this.scale = parentTabsEl?.scale;
|
|
41003
40988
|
this.bordered = parentTabsEl?.bordered;
|
|
41004
40989
|
// fix issue with active tab-title not lining up with blue indicator
|
|
41005
40990
|
if (this.selectedTitle) {
|
|
@@ -41018,12 +41003,19 @@ class TabNav {
|
|
|
41018
41003
|
});
|
|
41019
41004
|
}
|
|
41020
41005
|
}
|
|
41006
|
+
disconnectedCallback() {
|
|
41007
|
+
this.resizeObserver?.disconnect();
|
|
41008
|
+
}
|
|
41021
41009
|
render() {
|
|
41022
41010
|
const dir = getElementDir(this.el);
|
|
41023
41011
|
const width = `${this.indicatorWidth}px`;
|
|
41024
41012
|
const offset = `${this.indicatorOffset}px`;
|
|
41025
41013
|
const indicatorStyle = dir !== "rtl" ? { width, left: offset } : { width, right: offset };
|
|
41026
|
-
return (hAsync(Host, { role: "tablist" }, hAsync("div", { class:
|
|
41014
|
+
return (hAsync(Host, { role: "tablist" }, hAsync("div", { class: {
|
|
41015
|
+
[CSS$d.container]: true,
|
|
41016
|
+
[`scale-${this.scale}`]: true,
|
|
41017
|
+
[`position-${this.position}`]: true,
|
|
41018
|
+
}, onScroll: this.handleContainerScroll,
|
|
41027
41019
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
41028
41020
|
ref: (el) => (this.tabNavEl = el) }, hAsync("slot", null), hAsync("div", { class: "tab-nav-active-indicator-container",
|
|
41029
41021
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
@@ -41148,9 +41140,9 @@ class TabNav {
|
|
|
41148
41140
|
"storageId": [513, "storage-id"],
|
|
41149
41141
|
"syncId": [513, "sync-id"],
|
|
41150
41142
|
"selectedTitle": [1040],
|
|
41151
|
-
"scale": [
|
|
41143
|
+
"scale": [1],
|
|
41152
41144
|
"layout": [1537],
|
|
41153
|
-
"position": [
|
|
41145
|
+
"position": [1],
|
|
41154
41146
|
"bordered": [1540],
|
|
41155
41147
|
"indicatorOffset": [1026, "indicator-offset"],
|
|
41156
41148
|
"indicatorWidth": [1026, "indicator-width"],
|
|
@@ -41158,7 +41150,7 @@ class TabNav {
|
|
|
41158
41150
|
},
|
|
41159
41151
|
"$listeners$": [[0, "calciteInternalTabsFocusPrevious", "focusPreviousTabHandler"], [0, "calciteInternalTabsFocusNext", "focusNextTabHandler"], [0, "calciteInternalTabsFocusFirst", "focusFirstTabHandler"], [0, "calciteInternalTabsFocusLast", "focusLastTabHandler"], [0, "calciteInternalTabsActivate", "internalActivateTabHandler"], [0, "calciteTabsActivate", "activateTabHandler"], [0, "calciteInternalTabsClose", "internalCloseTabHandler"], [0, "calciteInternalTabTitleRegister", "updateTabTitles"], [16, "calciteInternalTabChange", "globalInternalTabChangeHandler"], [0, "calciteInternalTabIconChanged", "iconStartChangeHandler"]],
|
|
41160
41152
|
"$lazyBundleId$": "-",
|
|
41161
|
-
"$attrsToReflect$": [["storageId", "storage-id"], ["syncId", "sync-id"], ["
|
|
41153
|
+
"$attrsToReflect$": [["storageId", "storage-id"], ["syncId", "sync-id"], ["layout", "layout"], ["bordered", "bordered"]]
|
|
41162
41154
|
}; }
|
|
41163
41155
|
}
|
|
41164
41156
|
|
|
@@ -41168,15 +41160,15 @@ const CSS$c = {
|
|
|
41168
41160
|
content: "content",
|
|
41169
41161
|
contentHasText: "content--has-text",
|
|
41170
41162
|
iconEnd: "icon-end",
|
|
41171
|
-
iconStart: "icon-start",
|
|
41172
41163
|
iconPresent: "icon-present",
|
|
41164
|
+
iconStart: "icon-start",
|
|
41173
41165
|
titleIcon: "calcite-tab-title--icon",
|
|
41174
41166
|
};
|
|
41175
41167
|
const ICONS$4 = {
|
|
41176
41168
|
close: "x",
|
|
41177
41169
|
};
|
|
41178
41170
|
|
|
41179
|
-
const tabTitleCss = "/*!@:host([disabled])*/[disabled].sc-calcite-tab-title-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-tab-title-h *.sc-calcite-tab-title,.sc-calcite-tab-title-h[disabled] .sc-calcite-tab-title-s>*{pointer-events:none}/*!@:host*/.sc-calcite-tab-title-h{display:block;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px;margin-inline-end:1.25rem}/*!@:host([layout=center][scale=s]),\n:host([layout=center][scale=m]),\n:host([layout=center][scale=l])*/[layout=center][scale=s].sc-calcite-tab-title-h,[layout=center][scale=m].sc-calcite-tab-title-h,[layout=center][scale=l].sc-calcite-tab-title-h{margin-block:0px;text-align:center;margin-inline-end:0px;flex-basis:12rem}/*!@:host([layout=center][scale=s]) .content,\n:host([layout=center][scale=m]) .content,\n:host([layout=center][scale=l]) .content*/[layout=center][scale=s].sc-calcite-tab-title-h .content.sc-calcite-tab-title,[layout=center][scale=m].sc-calcite-tab-title-h .content.sc-calcite-tab-title,[layout=center][scale=l].sc-calcite-tab-title-h .content.sc-calcite-tab-title{margin:auto}/*!@:host([layout=center][closable]) .content*/[layout=center][closable].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-inline-start:32px}/*!@:host([layout=center][bordered][closable][scale=s]) .content*/[layout=center][bordered][closable][scale=s].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-inline-start:36px}/*!@:host([layout=center][bordered][closable][scale=m]) .content*/[layout=center][bordered][closable][scale=m].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-inline-start:40px}/*!@:host([layout=center][closable][scale=l]) .content*/[layout=center][closable][scale=l].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-inline-start:40px}/*!@:host([layout=center][closable][bordered][scale=l]) .content*/[layout=center][closable][bordered][scale=l].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-inline-start:52px}/*!@:host([position=bottom]) .container*/[position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}/*!@:host([closed])*/[closed].sc-calcite-tab-title-h{display:none}/*!@.container*/.container.sc-calcite-tab-title{outline-color:transparent}/*!@:host(:focus) .container*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host(:focus) .container:focus-within*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title:focus-within{outline-color:transparent}/*!@:host(:active) a,\n:host(:focus) a,\n:host(:hover) a*/.sc-calcite-tab-title-h:active a.sc-calcite-tab-title,.sc-calcite-tab-title-h:focus a.sc-calcite-tab-title,.sc-calcite-tab-title-h:hover a.sc-calcite-tab-title{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);text-decoration-line:none}/*!@:host([selected]) .container*/[selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-color:transparent;color:var(--calcite-ui-text-1)}/*!@:host([disabled]) .container*/[disabled].sc-calcite-tab-title-h .container.sc-calcite-tab-title{pointer-events:none;opacity:0.5}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tab-title-h[disabled] .sc-calcite-tab-title-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tab-title-h [calcite-hydrated][disabled].sc-calcite-tab-title{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-title-h{margin-inline-end:1rem}/*!@:host([scale=s]) .content*/[scale=s].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m]) .content*/[scale=m].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-title-h{margin-inline-end:1.5rem}/*!@:host([scale=l]) .content*/[scale=l].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@.container*/.container.sc-calcite-tab-title{box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;border-block-end-width:2px;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end-color:transparent;border-block-end-style:solid}/*!@.content*/.content.sc-calcite-tab-title{display:flex;align-items:center;justify-content:center}/*!@.calcite-tab-title--icon*/.calcite-tab-title--icon.sc-calcite-tab-title{position:relative;margin:0px;display:inline-flex;align-self:center}/*!@.calcite-tab-title--icon svg*/.calcite-tab-title--icon.sc-calcite-tab-title svg.sc-calcite-tab-title{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.content--has-text*/.content--has-text.sc-calcite-tab-title{padding:0.25rem}/*!@.content--has-text .calcite-tab-title--icon.icon-start*/.content--has-text.sc-calcite-tab-title .calcite-tab-title--icon.icon-start.sc-calcite-tab-title{margin-inline-end:0.5rem}/*!@.content--has-text .calcite-tab-title--icon.icon-end*/.content--has-text.sc-calcite-tab-title .calcite-tab-title--icon.icon-end.sc-calcite-tab-title{margin-inline-start:0.5rem}/*!@.close-button*/.close-button.sc-calcite-tab-title{display:flex;cursor:pointer;-webkit-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:calc(100% - 2px);background-color:var(--calcite-button-transparent-1);margin-inline-start:auto}/*!@.close-button:focus*/.close-button.sc-calcite-tab-title:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:-1px}/*!@.close-button:focus, .close-button:hover*/.close-button.sc-calcite-tab-title:focus,.close-button.sc-calcite-tab-title:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2)}/*!@.close-button:active*/.close-button.sc-calcite-tab-title:active{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}/*!@.close-button calcite-icon*/.close-button.sc-calcite-tab-title calcite-icon.sc-calcite-tab-title{color:inherit}/*!@:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child*/[icon-start][icon-end].sc-calcite-tab-title-h .calcite-tab-title--icon.sc-calcite-tab-title:first-child{margin-inline-end:0.5rem}/*!@:host([bordered])*/[bordered].sc-calcite-tab-title-h{margin-inline-end:0}/*!@:host([bordered][selected])*/[bordered][selected].sc-calcite-tab-title-h{box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}/*!@:host([bordered][selected][position=bottom])*/[bordered][selected][position=bottom].sc-calcite-tab-title-h{box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}/*!@:host([bordered]:hover) .container,\n:host([bordered]:focus) .container,\n:host([bordered]:active) .container*/[bordered].sc-calcite-tab-title-h:hover .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h:active .container.sc-calcite-tab-title{position:relative}/*!@:host([bordered]:hover) .container*/[bordered].sc-calcite-tab-title-h:hover .container.sc-calcite-tab-title{background-color:var(--calcite-button-transparent-hover)}/*!@:host([closable]) .container,\n:host([bordered]) .container*/[closable].sc-calcite-tab-title-h .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-inline-start:1px solid transparent;border-inline-end:1px solid transparent}/*!@:host([closable]) .container .close-button,\n:host([bordered]) .container .close-button*/[closable].sc-calcite-tab-title-h .container.sc-calcite-tab-title .close-button.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title .close-button.sc-calcite-tab-title{margin-inline:0}/*!@:host([closable]) .content*/[closable].sc-calcite-tab-title-h .content.sc-calcite-tab-title{box-sizing:border-box;block-size:100%;border-block-end-color:transparent}/*!@:host([closable][position=bottom]) .container,\n:host([bordered][position=bottom]) .container*/[closable][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title,[bordered][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:unset}/*!@:host([selected][bordered]) .container*/[selected][bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-inline-start-color:var(--calcite-ui-border-1);border-inline-end-color:var(--calcite-ui-border-1)}/*!@:host([bordered]) .content*/[bordered].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-inline:0.75rem}/*!@:host([bordered][scale=s]) .content*/[bordered][scale=s].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-inline:0.5rem}/*!@:host([bordered][scale=l]) .content*/[bordered][scale=l].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-inline:1rem}@media (forced-colors: active){/*!@:host*/.sc-calcite-tab-title-h{outline-width:0;outline-offset:0}/*!@:host(:focus) .container*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title{outline-color:highlight}/*!@:host([bordered]) .container*/[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:solid}/*!@:host([bordered][position=bottom]) .container*/[bordered][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:solid}/*!@:host([bordered][selected]) .container*/[bordered][selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:none}/*!@:host([bordered][position=bottom][selected]) .container*/[bordered][position=bottom][selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:none}/*!@.close-button*/.close-button.sc-calcite-tab-title{z-index:var(--calcite-app-z-index)}}/*!@:host([hidden])*/[hidden].sc-calcite-tab-title-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-tab-title{display:none}";
|
|
41171
|
+
const tabTitleCss = "/*!@:host([disabled])*/[disabled].sc-calcite-tab-title-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-tab-title-h *.sc-calcite-tab-title,.sc-calcite-tab-title-h[disabled] .sc-calcite-tab-title-s>*{pointer-events:none}/*!@:host*/.sc-calcite-tab-title-h{display:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}/*!@:host([layout=inline])*/[layout=inline].sc-calcite-tab-title-h{flex:0 1 auto}/*!@:host([layout=center])*/[layout=center].sc-calcite-tab-title-h{flex:1 1 auto}/*!@:host([layout=center]) .scale-s,\n:host([layout=center]) .scale-m,\n:host([layout=center]) .scale-l*/[layout=center].sc-calcite-tab-title-h .scale-s.sc-calcite-tab-title,[layout=center].sc-calcite-tab-title-h .scale-m.sc-calcite-tab-title,[layout=center].sc-calcite-tab-title-h .scale-l.sc-calcite-tab-title{margin-block:0px;text-align:center;flex-basis:12rem}/*!@:host([layout=center]) .scale-s .content,\n:host([layout=center]) .scale-m .content,\n:host([layout=center]) .scale-l .content*/[layout=center].sc-calcite-tab-title-h .scale-s.sc-calcite-tab-title .content.sc-calcite-tab-title,[layout=center].sc-calcite-tab-title-h .scale-m.sc-calcite-tab-title .content.sc-calcite-tab-title,[layout=center].sc-calcite-tab-title-h .scale-l.sc-calcite-tab-title .content.sc-calcite-tab-title{margin:auto}/*!@:host([layout=center][closable]) .content*/[layout=center][closable].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-inline-start:32px}/*!@:host([layout=center][bordered][closable]) .scale-s .content*/[layout=center][bordered][closable].sc-calcite-tab-title-h .scale-s.sc-calcite-tab-title .content.sc-calcite-tab-title{padding-inline-start:36px}/*!@:host([layout=center][bordered][closable]) .scale-m .content*/[layout=center][bordered][closable].sc-calcite-tab-title-h .scale-m.sc-calcite-tab-title .content.sc-calcite-tab-title{padding-inline-start:40px}/*!@:host([layout=center][closable]) .scale-l .content*/[layout=center][closable].sc-calcite-tab-title-h .scale-l.sc-calcite-tab-title .content.sc-calcite-tab-title{padding-inline-start:40px}/*!@:host([layout=center][closable][bordered]) .scale-s .content*/[layout=center][closable][bordered].sc-calcite-tab-title-h .scale-s.sc-calcite-tab-title .content.sc-calcite-tab-title{padding-inline-start:52px}/*!@:host([position=bottom]) .container*/[position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}/*!@:host([closed])*/[closed].sc-calcite-tab-title-h{display:none}/*!@.container*/.container.sc-calcite-tab-title{outline-color:transparent}/*!@:host(:focus) .container*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host(:focus) .container:focus-within*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title:focus-within{outline-color:transparent}/*!@:host(:active) a,\n:host(:focus) a,\n:host(:hover) a*/.sc-calcite-tab-title-h:active a.sc-calcite-tab-title,.sc-calcite-tab-title-h:focus a.sc-calcite-tab-title,.sc-calcite-tab-title-h:hover a.sc-calcite-tab-title{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);text-decoration-line:none}/*!@:host([selected]) .container*/[selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-color:transparent;color:var(--calcite-ui-text-1)}/*!@:host([disabled]) .container*/[disabled].sc-calcite-tab-title-h .container.sc-calcite-tab-title{pointer-events:none;opacity:0.5}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tab-title-h[disabled] .sc-calcite-tab-title-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tab-title-h [calcite-hydrated][disabled].sc-calcite-tab-title{opacity:1}/*!@.scale-s .content*/.scale-s.sc-calcite-tab-title .content.sc-calcite-tab-title{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@.scale-m .content*/.scale-m.sc-calcite-tab-title .content.sc-calcite-tab-title{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.scale-l .content*/.scale-l.sc-calcite-tab-title .content.sc-calcite-tab-title{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@.container*/.container.sc-calcite-tab-title{box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;border-block-end-width:2px;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end-color:transparent;border-block-end-style:solid}/*!@.content*/.content.sc-calcite-tab-title{display:flex;align-items:center;justify-content:center}/*!@.calcite-tab-title--icon*/.calcite-tab-title--icon.sc-calcite-tab-title{position:relative;margin:0px;display:inline-flex;align-self:center}/*!@.calcite-tab-title--icon svg*/.calcite-tab-title--icon.sc-calcite-tab-title svg.sc-calcite-tab-title{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.content--has-text*/.content--has-text.sc-calcite-tab-title{padding:0.25rem}/*!@.content--has-text .calcite-tab-title--icon.icon-start*/.content--has-text.sc-calcite-tab-title .calcite-tab-title--icon.icon-start.sc-calcite-tab-title{margin-inline-end:0.5rem}/*!@.content--has-text .calcite-tab-title--icon.icon-end*/.content--has-text.sc-calcite-tab-title .calcite-tab-title--icon.icon-end.sc-calcite-tab-title{margin-inline-start:0.5rem}/*!@.close-button*/.close-button.sc-calcite-tab-title{display:flex;cursor:pointer;-webkit-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:calc(100% - 2px);background-color:var(--calcite-button-transparent-1);margin-inline-start:auto}/*!@.close-button:focus*/.close-button.sc-calcite-tab-title:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:-1px}/*!@.close-button:focus, .close-button:hover*/.close-button.sc-calcite-tab-title:focus,.close-button.sc-calcite-tab-title:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2)}/*!@.close-button:active*/.close-button.sc-calcite-tab-title:active{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}/*!@.close-button calcite-icon*/.close-button.sc-calcite-tab-title calcite-icon.sc-calcite-tab-title{color:inherit}/*!@:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child*/[icon-start][icon-end].sc-calcite-tab-title-h .calcite-tab-title--icon.sc-calcite-tab-title:first-child{margin-inline-end:0.5rem}/*!@:host([bordered])*/[bordered].sc-calcite-tab-title-h{margin-inline-end:0}/*!@:host([bordered][selected])*/[bordered][selected].sc-calcite-tab-title-h{box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}/*!@:host([bordered][selected][position=bottom])*/[bordered][selected][position=bottom].sc-calcite-tab-title-h{box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}/*!@:host([bordered]:hover) .container,\n:host([bordered]:focus) .container,\n:host([bordered]:active) .container*/[bordered].sc-calcite-tab-title-h:hover .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h:active .container.sc-calcite-tab-title{position:relative}/*!@:host([bordered]:hover) .container*/[bordered].sc-calcite-tab-title-h:hover .container.sc-calcite-tab-title{background-color:var(--calcite-button-transparent-hover)}/*!@:host([closable]) .container,\n:host([bordered]) .container*/[closable].sc-calcite-tab-title-h .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-inline-start:1px solid transparent;border-inline-end:1px solid transparent}/*!@:host([closable]) .container .close-button,\n:host([bordered]) .container .close-button*/[closable].sc-calcite-tab-title-h .container.sc-calcite-tab-title .close-button.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title .close-button.sc-calcite-tab-title{margin-inline:0}/*!@:host([closable]) .content*/[closable].sc-calcite-tab-title-h .content.sc-calcite-tab-title{box-sizing:border-box;block-size:100%;border-block-end-color:transparent}/*!@:host([closable][position=bottom]) .container,\n:host([bordered][position=bottom]) .container*/[closable][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title,[bordered][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:unset}/*!@:host([selected][bordered]) .container*/[selected][bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-inline-start-color:var(--calcite-ui-border-1);border-inline-end-color:var(--calcite-ui-border-1)}/*!@:host([bordered]) .content*/[bordered].sc-calcite-tab-title-h .content.sc-calcite-tab-title{padding-inline:0.75rem}/*!@:host([bordered]) .scale-s .content*/[bordered].sc-calcite-tab-title-h .scale-s.sc-calcite-tab-title .content.sc-calcite-tab-title{padding-inline:0.5rem}/*!@:host([bordered]) .scale-l .content*/[bordered].sc-calcite-tab-title-h .scale-l.sc-calcite-tab-title .content.sc-calcite-tab-title{padding-inline:1rem}@media (forced-colors: active){/*!@:host*/.sc-calcite-tab-title-h{outline-width:0;outline-offset:0}/*!@:host(:focus) .container*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title{outline-color:highlight}/*!@:host([bordered]) .container*/[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:solid}/*!@:host([bordered][position=bottom]) .container*/[bordered][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:solid}/*!@:host([bordered][selected]) .container*/[bordered][selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:none}/*!@:host([bordered][position=bottom][selected]) .container*/[bordered][position=bottom][selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:none}/*!@.close-button*/.close-button.sc-calcite-tab-title{z-index:var(--calcite-app-z-index)}}/*!@:host([hidden])*/[hidden].sc-calcite-tab-title-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-tab-title{display:none}";
|
|
41180
41172
|
|
|
41181
41173
|
/**
|
|
41182
41174
|
* Tab-titles are optionally individually closable.
|
|
@@ -41217,8 +41209,8 @@ class TabTitle {
|
|
|
41217
41209
|
this.iconFlipRtl = undefined;
|
|
41218
41210
|
this.iconStart = undefined;
|
|
41219
41211
|
this.layout = undefined;
|
|
41220
|
-
this.position =
|
|
41221
|
-
this.scale =
|
|
41212
|
+
this.position = "top";
|
|
41213
|
+
this.scale = "m";
|
|
41222
41214
|
this.bordered = false;
|
|
41223
41215
|
this.tab = undefined;
|
|
41224
41216
|
this.messages = undefined;
|
|
@@ -41269,15 +41261,8 @@ class TabTitle {
|
|
|
41269
41261
|
componentWillRender() {
|
|
41270
41262
|
if (this.parentTabsEl) {
|
|
41271
41263
|
this.layout = this.parentTabsEl.layout;
|
|
41272
|
-
this.position = this.parentTabsEl.position;
|
|
41273
|
-
this.scale = this.parentTabsEl.scale;
|
|
41274
41264
|
this.bordered = this.parentTabsEl.bordered;
|
|
41275
41265
|
}
|
|
41276
|
-
// handle case when tab-nav is only parent
|
|
41277
|
-
if (!this.parentTabsEl && this.parentTabNavEl) {
|
|
41278
|
-
this.position = getElementProp(this.parentTabNavEl, "position", this.position);
|
|
41279
|
-
this.scale = getElementProp(this.parentTabNavEl, "scale", this.scale);
|
|
41280
|
-
}
|
|
41281
41266
|
}
|
|
41282
41267
|
render() {
|
|
41283
41268
|
const { el, closed } = this;
|
|
@@ -41287,6 +41272,7 @@ class TabTitle {
|
|
|
41287
41272
|
return (hAsync(Host, { "aria-controls": this.controls, "aria-selected": toAriaBoolean(this.selected), id: id, role: "tab", tabIndex: this.selected ? 0 : -1 }, hAsync("div", { class: {
|
|
41288
41273
|
container: true,
|
|
41289
41274
|
[CSS$c.iconPresent]: !!this.iconStart || !!this.iconEnd,
|
|
41275
|
+
[`scale-${this.scale}`]: true,
|
|
41290
41276
|
}, hidden: closed,
|
|
41291
41277
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
41292
41278
|
ref: (el) => this.resizeObserver?.observe(el) }, hAsync("div", { class: { [CSS$c.content]: true, [CSS$c.contentHasText]: this.hasText } }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null), this.renderCloseButton())));
|
|
@@ -41440,8 +41426,8 @@ class TabTitle {
|
|
|
41440
41426
|
"iconFlipRtl": [513, "icon-flip-rtl"],
|
|
41441
41427
|
"iconStart": [513, "icon-start"],
|
|
41442
41428
|
"layout": [1537],
|
|
41443
|
-
"position": [
|
|
41444
|
-
"scale": [
|
|
41429
|
+
"position": [1],
|
|
41430
|
+
"scale": [1],
|
|
41445
41431
|
"bordered": [1540],
|
|
41446
41432
|
"tab": [513],
|
|
41447
41433
|
"messages": [1040],
|
|
@@ -41456,7 +41442,7 @@ class TabTitle {
|
|
|
41456
41442
|
},
|
|
41457
41443
|
"$listeners$": [[16, "calciteInternalTabChange", "internalTabChangeHandler"], [0, "click", "onClick"], [0, "keydown", "keyDownHandler"]],
|
|
41458
41444
|
"$lazyBundleId$": "-",
|
|
41459
|
-
"$attrsToReflect$": [["selected", "selected"], ["closable", "closable"], ["closed", "closed"], ["disabled", "disabled"], ["iconEnd", "icon-end"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["layout", "layout"], ["
|
|
41445
|
+
"$attrsToReflect$": [["selected", "selected"], ["closable", "closable"], ["closed", "closed"], ["disabled", "disabled"], ["iconEnd", "icon-end"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["layout", "layout"], ["bordered", "bordered"], ["tab", "tab"]]
|
|
41460
41446
|
}; }
|
|
41461
41447
|
}
|
|
41462
41448
|
|
|
@@ -42352,6 +42338,7 @@ const tabsCss = "/*!@:host*/.sc-calcite-tabs-h{display:flex;flex-direction:colum
|
|
|
42352
42338
|
class Tabs {
|
|
42353
42339
|
constructor(hostRef) {
|
|
42354
42340
|
registerInstance(this, hostRef);
|
|
42341
|
+
this.mutationObserver = createObserver();
|
|
42355
42342
|
this.layout = "inline";
|
|
42356
42343
|
this.position = "top";
|
|
42357
42344
|
this.scale = "m";
|
|
@@ -42359,11 +42346,24 @@ class Tabs {
|
|
|
42359
42346
|
this.titles = [];
|
|
42360
42347
|
this.tabs = [];
|
|
42361
42348
|
}
|
|
42349
|
+
handleInheritableProps() {
|
|
42350
|
+
this.updateItems();
|
|
42351
|
+
}
|
|
42362
42352
|
//--------------------------------------------------------------------------
|
|
42363
42353
|
//
|
|
42364
42354
|
// Lifecycle
|
|
42365
42355
|
//
|
|
42366
42356
|
//--------------------------------------------------------------------------
|
|
42357
|
+
connectedCallback() {
|
|
42358
|
+
this.mutationObserver.observe(this.el, { childList: true });
|
|
42359
|
+
this.updateItems();
|
|
42360
|
+
}
|
|
42361
|
+
async componentWillLoad() {
|
|
42362
|
+
this.updateItems();
|
|
42363
|
+
}
|
|
42364
|
+
disconnectedCallback() {
|
|
42365
|
+
this.mutationObserver?.disconnect();
|
|
42366
|
+
}
|
|
42367
42367
|
render() {
|
|
42368
42368
|
return (hAsync(Fragment, null, hAsync("slot", { name: SLOTS$5.titleGroup }), hAsync("section", null, hAsync("slot", null))));
|
|
42369
42369
|
}
|
|
@@ -42408,6 +42408,23 @@ class Tabs {
|
|
|
42408
42408
|
this.registryHandler();
|
|
42409
42409
|
event.stopPropagation();
|
|
42410
42410
|
}
|
|
42411
|
+
updateItems() {
|
|
42412
|
+
const { position, scale } = this;
|
|
42413
|
+
const nav = this.el.querySelector("calcite-tab-nav");
|
|
42414
|
+
if (nav) {
|
|
42415
|
+
nav.position = position;
|
|
42416
|
+
nav.scale = scale;
|
|
42417
|
+
}
|
|
42418
|
+
Array.from(this.el.querySelectorAll("calcite-tab")).forEach((tab) => {
|
|
42419
|
+
if (tab.parentElement === this.el) {
|
|
42420
|
+
tab.scale = scale;
|
|
42421
|
+
}
|
|
42422
|
+
});
|
|
42423
|
+
Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach((title) => {
|
|
42424
|
+
title.position = position;
|
|
42425
|
+
title.scale = scale;
|
|
42426
|
+
});
|
|
42427
|
+
}
|
|
42411
42428
|
//--------------------------------------------------------------------------
|
|
42412
42429
|
//
|
|
42413
42430
|
// Private Methods
|
|
@@ -42455,6 +42472,10 @@ class Tabs {
|
|
|
42455
42472
|
this.titles.forEach((el) => el.updateAriaInfo(tabIds, titleIds));
|
|
42456
42473
|
}
|
|
42457
42474
|
get el() { return getElement(this); }
|
|
42475
|
+
static get watchers() { return {
|
|
42476
|
+
"position": ["handleInheritableProps"],
|
|
42477
|
+
"scale": ["handleInheritableProps"]
|
|
42478
|
+
}; }
|
|
42458
42479
|
static get style() { return tabsCss; }
|
|
42459
42480
|
static get cmpMeta() { return {
|
|
42460
42481
|
"$flags$": 9,
|
|
@@ -45793,8 +45814,8 @@ class ValueListItem {
|
|
|
45793
45814
|
const { icon, iconFlipRtl } = this;
|
|
45794
45815
|
if (icon === ICON_TYPES$1.grip) {
|
|
45795
45816
|
return (hAsync("span", { class: {
|
|
45796
|
-
[CSS$
|
|
45797
|
-
[CSS$
|
|
45817
|
+
[CSS$t.handle]: true,
|
|
45818
|
+
[CSS$t.handleActivated]: this.handleActivated,
|
|
45798
45819
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => (this.handleEl = el), role: "button", tabindex: "0" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS.drag, scale: "s" })));
|
|
45799
45820
|
}
|
|
45800
45821
|
}
|