@esri/calcite-components 1.10.0-next.9 → 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/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-a3871656.entry.js → p-004e069a.entry.js} +2 -2
- package/dist/calcite/{p-379eda2e.js → p-01336eb8.js} +2 -2
- package/dist/calcite/{p-eadd8f98.js → p-02ffe899.js} +2 -2
- package/dist/calcite/{p-f8ee0d71.js → p-0673188b.js} +1 -1
- package/dist/calcite/{p-a2847044.js → p-08e5ea49.js} +2 -2
- package/dist/calcite/{p-ca1e67fb.js → p-09040350.js} +2 -2
- package/dist/calcite/{p-b0f70fe1.entry.js → p-0c8d3da3.entry.js} +2 -2
- package/dist/calcite/{p-0db418dd.js → p-0dd00c35.js} +2 -2
- package/dist/calcite/{p-fd99157a.entry.js → p-0e6f7f43.entry.js} +2 -2
- package/dist/calcite/{p-3c7e4009.js → p-0ee37677.js} +2 -2
- package/dist/calcite/{p-2148c458.entry.js → p-0fccefd2.entry.js} +2 -2
- package/dist/calcite/{p-0f7e847a.js → p-105a525e.js} +2 -2
- package/dist/calcite/{p-d285ad0b.entry.js → p-1178cbbe.entry.js} +2 -2
- package/dist/calcite/{p-c12dfedf.entry.js → p-131f9b12.entry.js} +2 -2
- package/dist/calcite/{p-2241fd39.entry.js → p-1332c842.entry.js} +2 -2
- package/dist/calcite/{p-afd8ea9c.js → p-150280cd.js} +2 -2
- package/dist/calcite/{p-deb8b150.entry.js → p-153131fb.entry.js} +2 -2
- package/dist/calcite/{p-6b96d27d.entry.js → p-17847501.entry.js} +2 -2
- package/dist/calcite/p-17ee73e0.entry.js +6 -0
- package/dist/calcite/{p-76dcee76.js → p-1809af8d.js} +2 -2
- package/dist/calcite/{p-4efd1cf5.entry.js → p-1890b4bf.entry.js} +2 -2
- package/dist/calcite/{p-7e16cb7e.entry.js → p-19c3058b.entry.js} +2 -2
- package/dist/calcite/{p-a552c096.js → p-1d2aa6bc.js} +1 -1
- package/dist/calcite/{p-175a68fd.entry.js → p-1eac1008.entry.js} +2 -2
- package/dist/calcite/{p-10d1a7ed.js → p-1ebea24f.js} +2 -2
- package/dist/calcite/{p-f0b1f7cc.entry.js → p-1f5f36b0.entry.js} +2 -2
- package/dist/calcite/{p-d8c33212.entry.js → p-2555068c.entry.js} +2 -2
- package/dist/calcite/p-2556334a.js +6 -0
- package/dist/calcite/{p-9e54a280.js → p-27384fa5.js} +2 -2
- package/dist/calcite/{p-af849f4e.entry.js → p-284658ce.entry.js} +2 -2
- package/dist/calcite/{p-a4dabbc4.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-3794dc76.entry.js → p-2f298505.entry.js} +2 -2
- package/dist/calcite/{p-e5792c53.js → p-308f5dd8.js} +2 -2
- package/dist/calcite/{p-b64e15b4.entry.js → p-311776da.entry.js} +2 -2
- package/dist/calcite/{p-56a8c9ef.entry.js → p-32b2d67a.entry.js} +2 -2
- package/dist/calcite/{p-17ecac28.entry.js → p-33c3ea9c.entry.js} +2 -2
- package/dist/calcite/{p-2e1b2031.js → p-342e5f69.js} +2 -2
- package/dist/calcite/{p-8e7e3e00.js → p-343f1e34.js} +2 -2
- package/dist/calcite/{p-6294fd29.js → p-36d3ed5d.js} +1 -1
- package/dist/calcite/{p-a26c0fe0.entry.js → p-37051c74.entry.js} +2 -2
- package/dist/calcite/{p-a8513f9a.js → p-397635f5.js} +2 -2
- package/dist/calcite/{p-3634e9f4.entry.js → p-39af3299.entry.js} +2 -2
- package/dist/calcite/{p-d3ae7050.js → p-39c4bd14.js} +1 -1
- package/dist/calcite/{p-0c0a5f97.js → p-3aa6843f.js} +1 -1
- package/dist/calcite/{p-b30bf925.entry.js → p-3c3483c7.entry.js} +2 -2
- package/dist/calcite/{p-4fbc0bab.js → p-3d697009.js} +2 -2
- package/dist/calcite/{p-f53a5507.entry.js → p-3e3f4098.entry.js} +2 -2
- package/dist/calcite/{p-e27ff15d.entry.js → p-3f3ba232.entry.js} +2 -2
- package/dist/calcite/{p-899f5d5c.js → p-4011c57e.js} +2 -2
- package/dist/calcite/{p-702d8735.entry.js → p-428e9f05.entry.js} +2 -2
- package/dist/calcite/{p-1b9768f5.entry.js → p-42f6e04f.entry.js} +2 -2
- package/dist/calcite/{p-90c940c9.js → p-430a4118.js} +2 -2
- package/dist/calcite/{p-6ab46bc6.js → p-438d4256.js} +2 -2
- package/dist/calcite/{p-fc9cd612.js → p-45376bb7.js} +1 -1
- package/dist/calcite/{p-1f01a9f2.js → p-46c48630.js} +2 -2
- package/dist/calcite/{p-23b9579f.js → p-46f0626f.js} +1 -1
- package/dist/calcite/{p-ee187db4.entry.js → p-4860f0ef.entry.js} +2 -2
- package/dist/calcite/{p-d9edf263.entry.js → p-4882f1e7.entry.js} +2 -2
- package/dist/calcite/{p-70d771d7.entry.js → p-4b72efc5.entry.js} +2 -2
- package/dist/calcite/{p-772e71df.js → p-4c505e07.js} +2 -2
- package/dist/calcite/{p-ebfef9b3.js → p-4c9d8a31.js} +2 -2
- package/dist/calcite/{p-bb7d3789.entry.js → p-4dfbd1bc.entry.js} +2 -2
- package/dist/calcite/{p-4b3cc7c7.js → p-4f5868d5.js} +2 -2
- package/dist/calcite/{p-f2047f0b.js → p-530096f0.js} +2 -2
- package/dist/calcite/{p-27f2ebd2.js → p-53386f79.js} +2 -2
- package/dist/calcite/{p-b9f4a826.js → p-5418fb94.js} +1 -1
- package/dist/calcite/{p-41614411.js → p-54ad40fe.js} +2 -2
- package/dist/calcite/{p-cdc954ed.entry.js → p-5529d66d.entry.js} +2 -2
- package/dist/calcite/{p-d60412ad.entry.js → p-580f2500.entry.js} +2 -2
- package/dist/calcite/{p-17a87ff5.entry.js → p-58232284.entry.js} +2 -2
- package/dist/calcite/{p-71e37420.js → p-593d1938.js} +2 -2
- package/dist/calcite/{p-0bffa792.js → p-5945f229.js} +2 -2
- package/dist/calcite/{p-abf72c57.entry.js → p-5d3063ea.entry.js} +2 -2
- package/dist/calcite/{p-65cb69c7.js → p-5e057250.js} +2 -2
- package/dist/calcite/p-6209d02d.entry.js +6 -0
- package/dist/calcite/{p-4b36f5c0.entry.js → p-63d24825.entry.js} +2 -2
- package/dist/calcite/{p-f9b7d608.js → p-66deab13.js} +2 -2
- package/dist/calcite/{p-a0abc7e8.js → p-6a381b8b.js} +2 -2
- package/dist/calcite/{p-695be6d8.js → p-6d390983.js} +2 -2
- package/dist/calcite/{p-f9ef5b99.js → p-7255d779.js} +1 -1
- package/dist/calcite/{p-daee84e9.js → p-731400db.js} +1 -1
- package/dist/calcite/{p-2bc2c05a.js → p-7833f32a.js} +2 -2
- package/dist/calcite/{p-5b9cdaca.entry.js → p-7ae804f8.entry.js} +2 -2
- package/dist/calcite/{p-889eaf07.js → p-7b2a2228.js} +2 -2
- package/dist/calcite/{p-7f33e450.js → p-7bb0a24d.js} +2 -2
- package/dist/calcite/{p-cd1c338e.entry.js → p-7dcb8d27.entry.js} +2 -2
- package/dist/calcite/{p-40c8e8ed.js → p-7ec1c4e6.js} +2 -2
- package/dist/calcite/{p-cdf2c812.js → p-7f81cc49.js} +2 -2
- package/dist/calcite/{p-c674ce35.js → p-802467c1.js} +2 -2
- package/dist/calcite/{p-275ef88e.js → p-8527626c.js} +2 -2
- package/dist/calcite/{p-460a6d61.entry.js → p-85347869.entry.js} +2 -2
- package/dist/calcite/{p-cbd4dd1e.js → p-87791eeb.js} +2 -2
- package/dist/calcite/{p-44c16302.entry.js → p-8a4ff950.entry.js} +2 -2
- package/dist/calcite/{p-06086e24.js → p-8afff3b2.js} +2 -2
- package/dist/calcite/{p-0938d58f.js → p-8bfdc9d6.js} +2 -2
- package/dist/calcite/{p-810f1eeb.entry.js → p-8dbdc2ee.entry.js} +2 -2
- package/dist/calcite/{p-3e98d6b3.entry.js → p-8eb1cb04.entry.js} +2 -2
- package/dist/calcite/{p-5eacece5.entry.js → p-9052ced6.entry.js} +2 -2
- package/dist/calcite/{p-80d1b0ef.js → p-90898a8d.js} +1 -1
- package/dist/calcite/p-914c936d.entry.js +6 -0
- package/dist/calcite/{p-3f10228f.js → p-9312fc08.js} +1 -1
- package/dist/calcite/{p-bd3a6c3b.entry.js → p-9608ce1c.entry.js} +2 -2
- package/dist/calcite/{p-7e38dee4.entry.js → p-9ad8f2dc.entry.js} +2 -2
- package/dist/calcite/{p-6fd669c3.entry.js → p-9bc263b0.entry.js} +2 -2
- package/dist/calcite/{p-3cc51e04.entry.js → p-9bc561b9.entry.js} +2 -2
- package/dist/calcite/{p-85a364e3.js → p-9bd510bf.js} +2 -2
- package/dist/calcite/{p-f3b6607d.js → p-9bdf2220.js} +1 -1
- package/dist/calcite/{p-748b3859.js → p-9bf9b1f6.js} +2 -2
- package/dist/calcite/{p-08c3b1c3.js → p-9ce6b1a0.js} +2 -2
- package/dist/calcite/{p-dff28a46.js → p-9fa7f921.js} +1 -1
- package/dist/calcite/{p-30576580.js → p-a1785cb1.js} +1 -1
- package/dist/calcite/{p-b04d2706.js → p-a3a72125.js} +2 -2
- package/dist/calcite/{p-b3959127.js → p-a871bf16.js} +2 -2
- package/dist/calcite/{p-9d9f118d.entry.js → p-a97224e3.entry.js} +2 -2
- package/dist/calcite/{p-5bc8f55b.js → p-ac683d4b.js} +2 -2
- package/dist/calcite/{p-ff83df6e.entry.js → p-ad54e10a.entry.js} +2 -2
- package/dist/calcite/{p-81202210.js → p-ae13c82e.js} +2 -2
- package/dist/calcite/{p-a3b00e35.js → p-b123f4eb.js} +2 -2
- package/dist/calcite/{p-a7bb9c1b.entry.js → p-b295dd07.entry.js} +2 -2
- package/dist/calcite/{p-d2216e3b.js → p-b56661b0.js} +3 -3
- package/dist/calcite/{p-dbae3b27.js → p-b58e1d02.js} +2 -2
- package/dist/calcite/{p-4f05830a.js → p-b7c24c21.js} +2 -2
- package/dist/calcite/{p-14edfccc.js → p-b9648199.js} +2 -2
- package/dist/calcite/{p-3053689b.entry.js → p-bbbbad84.entry.js} +2 -2
- package/dist/calcite/p-bbd3d30b.js +6 -0
- package/dist/calcite/{p-b937705f.js → p-bde954a7.js} +2 -2
- package/dist/calcite/{p-124c2cde.js → p-c30c47b1.js} +2 -2
- package/dist/calcite/{p-04a3a99d.js → p-c3a16369.js} +2 -2
- package/dist/calcite/{p-399aa815.entry.js → p-c40aa963.entry.js} +2 -2
- package/dist/calcite/p-c6acafe6.entry.js +6 -0
- package/dist/calcite/{p-1215c60f.js → p-c7143cb9.js} +2 -2
- package/dist/calcite/p-c981b8c2.entry.js +6 -0
- package/dist/calcite/{p-7a27edfb.entry.js → p-ca73a030.entry.js} +2 -2
- package/dist/calcite/{p-b1639913.js → p-d02a423b.js} +2 -2
- package/dist/calcite/{p-73cdb3ef.entry.js → p-d520f8a9.entry.js} +2 -2
- package/dist/calcite/{p-a318c5ce.js → p-d7e55add.js} +2 -2
- package/dist/calcite/{p-39b32f4a.entry.js → p-d96d8572.entry.js} +2 -2
- package/dist/calcite/{p-090410ba.js → p-db148515.js} +2 -2
- package/dist/calcite/{p-b0c2ea72.js → p-db7b5a5d.js} +1 -1
- package/dist/calcite/{p-98b8cd13.js → p-dc8221b8.js} +2 -2
- package/dist/calcite/{p-544c1caa.entry.js → p-df7c7641.entry.js} +2 -2
- package/dist/calcite/p-e016c47c.entry.js +6 -0
- package/dist/calcite/{p-ecc882e9.js → p-e03abf55.js} +2 -2
- package/dist/calcite/{p-b3f9d7de.js → p-e1544594.js} +2 -2
- package/dist/calcite/{p-1f73a1e1.js → p-e25df814.js} +2 -2
- package/dist/calcite/{p-b8aacf29.entry.js → p-e4cb03fe.entry.js} +2 -2
- package/dist/calcite/p-e587d33b.js +6 -0
- package/dist/calcite/{p-9c138760.js → p-e5b74595.js} +1 -1
- package/dist/calcite/{p-c55ae720.js → p-ec05c1a3.js} +2 -2
- package/dist/calcite/{p-5c25be9c.entry.js → p-ec701024.entry.js} +2 -2
- package/dist/calcite/{p-d51d7e80.js → p-ee9bb199.js} +2 -2
- package/dist/calcite/{p-8139db38.entry.js → p-eff69f08.entry.js} +2 -2
- package/dist/calcite/{p-5ae95a89.entry.js → p-f0d94046.entry.js} +2 -2
- package/dist/calcite/{p-3c3873e5.entry.js → p-f0dfab94.entry.js} +2 -2
- package/dist/calcite/{p-6c50c436.entry.js → p-f42601b2.entry.js} +2 -2
- package/dist/calcite/{p-9a58f313.entry.js → p-f7784ecf.entry.js} +2 -2
- package/dist/calcite/{p-b660b11c.js → p-fa55c6cb.js} +1 -1
- package/dist/calcite/{p-641dab55.js → p-fc4ae57c.js} +2 -2
- package/dist/calcite/{p-4689c284.js → p-fd8af378.js} +2 -2
- package/dist/cjs/{ExpandToggle-8de515d3.js → ExpandToggle-3fb2b6cd.js} +5 -5
- package/dist/cjs/{FloatingArrow-ef73ec0f.js → FloatingArrow-53d1857a.js} +2 -2
- package/dist/cjs/{Heading-f41266fa.js → Heading-6252a876.js} +2 -2
- package/dist/cjs/{app-globals-7b40e641.js → app-globals-63e51788.js} +2 -2
- package/dist/cjs/{ar-d9068d09.js → ar-ff196d50.js} +19 -19
- package/dist/cjs/{array-e0c6319b.js → array-9f0a082a.js} +1 -1
- package/dist/cjs/{bg-e129c545.js → bg-53b237a8.js} +19 -19
- package/dist/cjs/{browser-997b41e3.js → browser-bc2f2efb.js} +1 -1
- package/dist/cjs/{bs-d443cdf3.js → bs-90a14199.js} +19 -19
- package/dist/cjs/{ca-67943154.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 +23 -23
- 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-0cd142bc.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-2fd9205e.js → component-75681f41.js} +1 -1
- package/dist/cjs/{conditionalSlot-c8386463.js → conditionalSlot-849e1a34.js} +3 -3
- package/dist/cjs/{cs-2c1c2576.js → cs-833ac105.js} +19 -19
- package/dist/cjs/{da-77068bad.js → da-a78ac4d4.js} +19 -19
- package/dist/cjs/{de-at-2095baf3.js → de-at-11a78c7a.js} +19 -19
- package/dist/cjs/{de-ch-fd98f409.js → de-ch-7013df28.js} +19 -19
- package/dist/cjs/{de-a25a7794.js → de-dfbba77e.js} +19 -19
- package/dist/cjs/{debounce-f389bc32.js → debounce-94fa0a04.js} +1 -1
- package/dist/cjs/{dom-5776ed80.js → dom-6172ed4c.js} +3 -18
- package/dist/cjs/{el-7a9b9a9b.js → el-5820ebeb.js} +19 -19
- package/dist/cjs/{en-au-29f6fe70.js → en-au-e93c1794.js} +19 -19
- package/dist/cjs/{en-ca-bc12a457.js → en-ca-adebc326.js} +19 -19
- package/dist/cjs/{en-gb-1e946d8e.js → en-gb-4996e917.js} +19 -19
- package/dist/cjs/{es-3e0b2bcf.js → es-4bed0f9f.js} +19 -19
- package/dist/cjs/{es-mx-29195d69.js → es-mx-3f758f26.js} +19 -19
- package/dist/cjs/{et-96d8ca94.js → et-ee862ea4.js} +19 -19
- package/dist/cjs/{fi-308b75e8.js → fi-84798e76.js} +19 -19
- package/dist/cjs/{filter-e78303ce.js → filter-3cbeb5e0.js} +2 -2
- package/dist/cjs/{floating-ui-41b87aa7.js → floating-ui-38753771.js} +3 -3
- package/dist/cjs/{focusTrapComponent-7dfaf9f9.js → focusTrapComponent-014b315b.js} +2 -2
- package/dist/cjs/{form-5fec342a.js → form-00b7de4b.js} +3 -3
- package/dist/cjs/{fr-64b4f669.js → fr-a2c5c04b.js} +19 -19
- package/dist/cjs/{fr-ch-bc7dfd1e.js → fr-ch-3f656295.js} +19 -19
- package/dist/cjs/{globalAttributes-caf8e3a1.js → globalAttributes-625c8efa.js} +2 -2
- package/dist/cjs/{guid-0cf0ab89.js → guid-67658644.js} +1 -1
- package/dist/cjs/{he-a87ea416.js → he-cb7336d0.js} +19 -19
- package/dist/cjs/{hi-38e8e0c9.js → hi-f3c85b74.js} +19 -19
- package/dist/cjs/{hr-351c3717.js → hr-c6821e59.js} +19 -19
- package/dist/cjs/{hu-49189f10.js → hu-4e2b7bfa.js} +19 -19
- package/dist/cjs/{id-94e19d12.js → id-2f6176de.js} +19 -19
- package/dist/cjs/{index-6df33c14.js → index-631c1935.js} +1 -1
- package/dist/cjs/{index-0dd6b1ce.js → index-a872d5df.js} +1 -1
- package/dist/cjs/{index-221071ee.js → index-f05af83a.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-4f54146c.js → interactive-e0c7a04c.js} +2 -2
- package/dist/cjs/{it-139dd30e.js → it-5f449eb7.js} +19 -19
- package/dist/cjs/{it-ch-d717dbd2.js → it-ch-48290b2f.js} +19 -19
- package/dist/cjs/{ja-365f3de2.js → ja-ceeefc77.js} +19 -19
- package/dist/cjs/{key-a7a6805d.js → key-1b72be47.js} +1 -1
- package/dist/cjs/{ko-5f0f7c03.js → ko-240c001d.js} +19 -19
- package/dist/cjs/{label-6fbacdcb.js → label-40e4cd77.js} +2 -2
- package/dist/cjs/{loadable-ed47ba83.js → loadable-77539c62.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-47cf926a.js → locale-786ce6b3.js} +4 -4
- package/dist/cjs/{lt-dfca0ebb.js → lt-73c0e4e1.js} +19 -19
- package/dist/cjs/{lv-136d3bb3.js → lv-b1beabb2.js} +19 -19
- package/dist/cjs/{math-dbb9501b.js → math-b503dee6.js} +1 -1
- package/dist/cjs/{mk-2086f407.js → mk-8f575310.js} +19 -19
- package/dist/cjs/{nb-7dd37615.js → nb-7d0e6896.js} +19 -19
- package/dist/cjs/{nl-145c2a7c.js → nl-4d62e622.js} +19 -19
- package/dist/cjs/{observers-3f7b1803.js → observers-c825c70d.js} +1 -1
- package/dist/cjs/{openCloseComponent-f48c5399.js → openCloseComponent-7235170a.js} +2 -2
- package/dist/cjs/{pl-4784e828.js → pl-524cca47.js} +19 -19
- package/dist/cjs/{pt-951584d6.js → pt-3f90bc0a.js} +19 -19
- package/dist/cjs/{pt-br-e380b08c.js → pt-br-a7f9ce20.js} +19 -19
- package/dist/cjs/{resources-76b54679.js → resources-01ae6233.js} +1 -1
- package/dist/cjs/{resources-6e7ffe05.js → resources-5d33edb3.js} +1 -1
- package/dist/cjs/{resources-524ceaee.js → resources-6d227abf.js} +1 -1
- package/dist/cjs/{resources-a1e03100.js → resources-790ebd6e.js} +1 -1
- package/dist/cjs/{resources-6bffdb57.js → resources-d5c37631.js} +1 -1
- package/dist/cjs/{resources-083153d6.js → resources-e8c96bce.js} +5 -5
- package/dist/cjs/{resources-b8c1eefd.js → resources-faeadfb6.js} +1 -1
- package/dist/cjs/{responsive-f6999076.js → responsive-5b2e13fe.js} +1 -1
- package/dist/cjs/{ro-b3fe7c0a.js → ro-91d6df25.js} +19 -19
- package/dist/cjs/{ru-c4fd7f45.js → ru-bea4d3be.js} +19 -19
- package/dist/cjs/{sk-0b96b954.js → sk-7557e087.js} +19 -19
- package/dist/cjs/{sl-4d17095b.js → sl-5ce09d71.js} +19 -19
- package/dist/cjs/{sortableComponent-3f6af25a.js → sortableComponent-2e141c24.js} +1 -1
- package/dist/cjs/{sr-c70ba3e4.js → sr-9d55fff2.js} +19 -19
- package/dist/cjs/{sv-0c66a769.js → sv-a699c161.js} +19 -19
- package/dist/cjs/{t9n-6818e96a.js → t9n-5def0889.js} +3 -3
- package/dist/cjs/{th-13ec48f6.js → th-70243587.js} +19 -19
- package/dist/cjs/{throttle-ba3ddf74.js → throttle-a3cc83a5.js} +2 -2
- package/dist/cjs/{tr-ef9b25c5.js → tr-ec2e4a74.js} +19 -19
- package/dist/cjs/{uk-ed9e42b5.js → uk-d79384e3.js} +19 -19
- package/dist/cjs/{utils-36912291.js → utils-13f61f3f.js} +1 -1
- package/dist/cjs/{utils-7743de26.js → utils-baea4844.js} +3 -3
- package/dist/cjs/{vi-f3fabb0f.js → vi-7ded95b8.js} +19 -19
- package/dist/cjs/{zh-cn-73a84505.js → zh-cn-ad3a3ad6.js} +19 -19
- package/dist/cjs/{zh-hk-c8212c0b.js → zh-hk-91ca468a.js} +19 -19
- package/dist/cjs/{zh-tw-200a3a5d.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 +4 -3
- 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 +1 -1
- 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 +1 -1
- 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/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 +1 -1
- package/dist/components/combobox.js +4 -4
- 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-29afce86.js → ExpandToggle-3c49d639.js} +5 -5
- package/dist/esm/{FloatingArrow-43eb9297.js → FloatingArrow-b99544af.js} +2 -2
- package/dist/esm/{Heading-0ce52e7e.js → Heading-8274015d.js} +2 -2
- package/dist/esm/{app-globals-a269c0b2.js → app-globals-a400dd61.js} +2 -2
- package/dist/esm/{ar-c6277ddd.js → ar-0d24ba19.js} +19 -19
- package/dist/esm/{array-0c8752ae.js → array-4078e4e8.js} +1 -1
- package/dist/esm/{bg-290a7ed3.js → bg-41f0a344.js} +19 -19
- package/dist/esm/{browser-98cb1502.js → browser-6b1c93d7.js} +1 -1
- package/dist/esm/{bs-e439eed0.js → bs-9fb6cb20.js} +19 -19
- package/dist/esm/{ca-54fce7ca.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 +23 -23
- 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-b4c80769.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-5bc41f44.js → component-d6d13dbf.js} +1 -1
- package/dist/esm/{conditionalSlot-3cdbd3f8.js → conditionalSlot-5bef2941.js} +3 -3
- package/dist/esm/{cs-56e05168.js → cs-5e710b40.js} +19 -19
- package/dist/esm/{da-df6d51c9.js → da-a1a6bb9b.js} +19 -19
- package/dist/esm/{de-d4107333.js → de-acd02bc2.js} +19 -19
- package/dist/esm/{de-at-0aaf8eea.js → de-at-8e5ec8c0.js} +19 -19
- package/dist/esm/{de-ch-9144a302.js → de-ch-375f0b07.js} +19 -19
- package/dist/esm/{debounce-b60ad4f5.js → debounce-686e8954.js} +1 -1
- package/dist/esm/{dom-dcf7f510.js → dom-9ac56900.js} +4 -18
- package/dist/esm/{el-76c1936d.js → el-80e1ff0c.js} +19 -19
- package/dist/esm/{en-au-d11d7189.js → en-au-6077eea6.js} +19 -19
- package/dist/esm/{en-ca-3ad39ef8.js → en-ca-8511686c.js} +19 -19
- package/dist/esm/{en-gb-cb16c184.js → en-gb-8144d60e.js} +19 -19
- package/dist/esm/{es-143dfa4e.js → es-0462a378.js} +19 -19
- package/dist/esm/{es-mx-3b1dec0b.js → es-mx-982091e0.js} +19 -19
- package/dist/esm/{et-f560536f.js → et-14225e6e.js} +19 -19
- package/dist/esm/{fi-34dca2a4.js → fi-30956ee6.js} +19 -19
- package/dist/esm/{filter-8006aa6b.js → filter-58f40640.js} +2 -2
- package/dist/esm/{floating-ui-b15f0f6f.js → floating-ui-be2d5268.js} +3 -3
- package/dist/esm/{focusTrapComponent-20042f9b.js → focusTrapComponent-3b9fb942.js} +2 -2
- package/dist/esm/{form-b4d9cff8.js → form-093f5b04.js} +3 -3
- package/dist/esm/{fr-66b19ef3.js → fr-4ed7daff.js} +19 -19
- package/dist/esm/{fr-ch-0c91a5ee.js → fr-ch-8fbbc30f.js} +19 -19
- package/dist/esm/{globalAttributes-12212ddf.js → globalAttributes-c361d715.js} +2 -2
- package/dist/esm/{guid-d55dd4fd.js → guid-805a73d1.js} +1 -1
- package/dist/esm/{he-d888bc23.js → he-b57e3a7c.js} +19 -19
- package/dist/esm/{hi-f864ad4b.js → hi-99c9b198.js} +19 -19
- package/dist/esm/{hr-d678653a.js → hr-74a407de.js} +19 -19
- package/dist/esm/{hu-05e3a1d9.js → hu-b4ea1f8d.js} +19 -19
- package/dist/esm/{id-4165ab11.js → id-35f140e2.js} +19 -19
- package/dist/esm/{index-ceded7be.js → index-4c97cc37.js} +1 -1
- package/dist/esm/{index-9626b551.js → index-89cd0584.js} +1 -1
- package/dist/esm/{index-f398dc5e.js → index-8f3f586a.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-cdf696fd.js → interactive-2b2de863.js} +2 -2
- package/dist/esm/{it-ch-013be636.js → it-ch-72916841.js} +19 -19
- package/dist/esm/{it-dac6af20.js → it-dc9fa292.js} +19 -19
- package/dist/esm/{ja-031ebc8e.js → ja-dcc50b14.js} +19 -19
- package/dist/esm/{key-8e7a2b82.js → key-f3638642.js} +1 -1
- package/dist/esm/{ko-2df84ed8.js → ko-b58db1fa.js} +19 -19
- package/dist/esm/{label-8b28abc6.js → label-0873b8dd.js} +2 -2
- package/dist/esm/{loadable-3be792f3.js → loadable-1917c524.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-d523ac0c.js → locale-07424fa5.js} +4 -4
- package/dist/esm/{lt-6964d6fd.js → lt-afd75bee.js} +19 -19
- package/dist/esm/{lv-4a3a81a5.js → lv-d7823878.js} +19 -19
- package/dist/esm/{math-1a721206.js → math-84ae8cd7.js} +1 -1
- package/dist/esm/{mk-35a36ed8.js → mk-2fc51c89.js} +19 -19
- package/dist/esm/{nb-7d593523.js → nb-1a230648.js} +19 -19
- package/dist/esm/{nl-8f5f6189.js → nl-510ce2f9.js} +19 -19
- package/dist/esm/{observers-7b74aad9.js → observers-469c8c46.js} +1 -1
- package/dist/esm/{openCloseComponent-f49886cb.js → openCloseComponent-baf628d7.js} +2 -2
- package/dist/esm/{pl-7f2928dc.js → pl-18390b80.js} +19 -19
- package/dist/esm/{pt-db24c689.js → pt-9fa332f4.js} +19 -19
- package/dist/esm/{pt-br-53a82213.js → pt-br-6dd90b72.js} +19 -19
- package/dist/esm/{resources-af7268d3.js → resources-1e592f26.js} +1 -1
- package/dist/esm/{resources-646c24c4.js → resources-4b543454.js} +1 -1
- package/dist/esm/{resources-1211b7cc.js → resources-6ed27057.js} +1 -1
- package/dist/esm/{resources-396b0559.js → resources-8c8ad2c0.js} +5 -5
- package/dist/esm/{resources-53445822.js → resources-93a25f6f.js} +1 -1
- package/dist/esm/{resources-4d20ef1a.js → resources-ce721825.js} +1 -1
- package/dist/esm/{resources-081ad2e0.js → resources-e83ed566.js} +1 -1
- package/dist/esm/{responsive-707564e1.js → responsive-0a8f63c5.js} +1 -1
- package/dist/esm/{ro-d0a90a54.js → ro-a522cc24.js} +19 -19
- package/dist/esm/{ru-22f4f72f.js → ru-bbd9194b.js} +19 -19
- package/dist/esm/{sk-d047d9bf.js → sk-a303deba.js} +19 -19
- package/dist/esm/{sl-ec651750.js → sl-a45d1446.js} +19 -19
- package/dist/esm/{sortableComponent-40883a09.js → sortableComponent-ded95007.js} +1 -1
- package/dist/esm/{sr-756ae769.js → sr-8560d64c.js} +19 -19
- package/dist/esm/{sv-4df1402d.js → sv-2bcbce22.js} +19 -19
- package/dist/esm/{t9n-9285b93e.js → t9n-0cedcbfc.js} +3 -3
- package/dist/esm/{th-66de4fdb.js → th-6b613c60.js} +19 -19
- package/dist/esm/{throttle-89d019fd.js → throttle-2808d5d5.js} +2 -2
- package/dist/esm/{tr-42915b22.js → tr-9c792030.js} +19 -19
- package/dist/esm/{uk-96727a14.js → uk-8b1b5351.js} +19 -19
- package/dist/esm/{utils-87b9e429.js → utils-9da4191c.js} +1 -1
- package/dist/esm/{utils-ae5bc9c2.js → utils-e4941644.js} +3 -3
- package/dist/esm/{vi-5699816b.js → vi-96d0b47a.js} +19 -19
- package/dist/esm/{zh-cn-31067a9a.js → zh-cn-92ec38c3.js} +19 -19
- package/dist/esm/{zh-hk-87d11ba5.js → zh-hk-1451a1a9.js} +19 -19
- package/dist/esm/{zh-tw-77c5872d.js → zh-tw-f74b1bd5.js} +19 -19
- package/dist/extras/docs-json.json +4 -4
- 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/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 +505 -482
- package/package.json +3 -3
- package/readme.md +2 -2
- package/dist/calcite/p-12d51552.entry.js +0 -6
- package/dist/calcite/p-13f204ce.js +0 -6
- package/dist/calcite/p-1bd0ab46.entry.js +0 -6
- package/dist/calcite/p-267f0029.entry.js +0 -6
- package/dist/calcite/p-532174f6.entry.js +0 -6
- package/dist/calcite/p-5f7ddbd3.entry.js +0 -6
- package/dist/calcite/p-76ae2f58.js +0 -6
- package/dist/calcite/p-84f917af.js +0 -6
- package/dist/calcite/p-b7bfa965.entry.js +0 -6
- package/dist/calcite/p-c720f00e.entry.js +0 -6
- package/dist/calcite/p-ec2a34d4.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
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-";
|
|
@@ -19232,7 +19218,7 @@ class Combobox {
|
|
|
19232
19218
|
event.preventDefault();
|
|
19233
19219
|
return;
|
|
19234
19220
|
}
|
|
19235
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
19221
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$X.button))) {
|
|
19236
19222
|
this.clearValue();
|
|
19237
19223
|
event.preventDefault();
|
|
19238
19224
|
return;
|
|
@@ -19834,7 +19820,7 @@ class Combobox {
|
|
|
19834
19820
|
renderFloatingUIContainer() {
|
|
19835
19821
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19836
19822
|
const classes = {
|
|
19837
|
-
[CSS$
|
|
19823
|
+
[CSS$Y.listContainer]: true,
|
|
19838
19824
|
[FloatingCSS.animation]: true,
|
|
19839
19825
|
[FloatingCSS.animationActive]: open,
|
|
19840
19826
|
};
|
|
@@ -19855,11 +19841,11 @@ class Combobox {
|
|
|
19855
19841
|
const iconAtStart = !this.open && selectedItem
|
|
19856
19842
|
? !!selectedIcon && singleSelectionMode
|
|
19857
19843
|
: !!this.placeholderIcon && (!selectedItem || singleSelectionMode);
|
|
19858
|
-
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) }))));
|
|
19859
19845
|
}
|
|
19860
19846
|
renderIconEnd() {
|
|
19861
19847
|
const { open } = this;
|
|
19862
|
-
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) })));
|
|
19863
19849
|
}
|
|
19864
19850
|
render() {
|
|
19865
19851
|
const { guid, label, open } = this;
|
|
@@ -19933,7 +19919,7 @@ class Combobox {
|
|
|
19933
19919
|
}; }
|
|
19934
19920
|
}
|
|
19935
19921
|
|
|
19936
|
-
const CSS$
|
|
19922
|
+
const CSS$W = {
|
|
19937
19923
|
icon: "icon",
|
|
19938
19924
|
iconActive: "icon--active",
|
|
19939
19925
|
iconIndent: "icon--indent",
|
|
@@ -20011,20 +19997,20 @@ class ComboboxItem {
|
|
|
20011
19997
|
// --------------------------------------------------------------------------
|
|
20012
19998
|
renderIcon(iconPath) {
|
|
20013
19999
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
20014
|
-
[CSS$
|
|
20015
|
-
[CSS$
|
|
20016
|
-
[CSS$
|
|
20000
|
+
[CSS$W.custom]: !!this.icon,
|
|
20001
|
+
[CSS$W.iconActive]: this.icon && this.selected,
|
|
20002
|
+
[CSS$W.iconIndent]: true,
|
|
20017
20003
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: getIconScale(this.scale) })) : null;
|
|
20018
20004
|
}
|
|
20019
20005
|
renderSelectIndicator(showDot, iconPath) {
|
|
20020
20006
|
return showDot ? (hAsync("span", { class: {
|
|
20021
|
-
[CSS$
|
|
20022
|
-
[CSS$
|
|
20023
|
-
[CSS$
|
|
20007
|
+
[CSS$W.icon]: true,
|
|
20008
|
+
[CSS$W.dot]: true,
|
|
20009
|
+
[CSS$W.iconIndent]: true,
|
|
20024
20010
|
} })) : (hAsync("calcite-icon", { class: {
|
|
20025
|
-
[CSS$
|
|
20026
|
-
[CSS$
|
|
20027
|
-
[CSS$
|
|
20011
|
+
[CSS$W.icon]: true,
|
|
20012
|
+
[CSS$W.iconActive]: this.selected,
|
|
20013
|
+
[CSS$W.iconIndent]: true,
|
|
20028
20014
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: getIconScale(this.scale) }));
|
|
20029
20015
|
}
|
|
20030
20016
|
renderChildren() {
|
|
@@ -20039,10 +20025,10 @@ class ComboboxItem {
|
|
|
20039
20025
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
20040
20026
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
20041
20027
|
const classes = {
|
|
20042
|
-
[CSS$
|
|
20043
|
-
[CSS$
|
|
20044
|
-
[CSS$
|
|
20045
|
-
[CSS$
|
|
20028
|
+
[CSS$W.label]: true,
|
|
20029
|
+
[CSS$W.selected]: this.selected,
|
|
20030
|
+
[CSS$W.active]: this.active,
|
|
20031
|
+
[CSS$W.single]: isSingleSelect,
|
|
20046
20032
|
};
|
|
20047
20033
|
const depth = getDepth$1();
|
|
20048
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())));
|
|
@@ -20075,7 +20061,7 @@ class ComboboxItem {
|
|
|
20075
20061
|
}; }
|
|
20076
20062
|
}
|
|
20077
20063
|
|
|
20078
|
-
const CSS$
|
|
20064
|
+
const CSS$V = {
|
|
20079
20065
|
list: "list",
|
|
20080
20066
|
label: "label",
|
|
20081
20067
|
title: "title",
|
|
@@ -20111,7 +20097,7 @@ class ComboboxItemGroup {
|
|
|
20111
20097
|
render() {
|
|
20112
20098
|
const { el, scale } = this;
|
|
20113
20099
|
const depth = getDepth$1();
|
|
20114
|
-
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)));
|
|
20115
20101
|
}
|
|
20116
20102
|
get el() { return getElement(this); }
|
|
20117
20103
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -21298,7 +21284,7 @@ class DatePickerMonth {
|
|
|
21298
21284
|
}; }
|
|
21299
21285
|
}
|
|
21300
21286
|
|
|
21301
|
-
const CSS$
|
|
21287
|
+
const CSS$U = {
|
|
21302
21288
|
header: "header",
|
|
21303
21289
|
month: "month",
|
|
21304
21290
|
chevron: "chevron",
|
|
@@ -21398,7 +21384,7 @@ class DatePickerMonthHeader {
|
|
|
21398
21384
|
this.setNextPrevMonthDates();
|
|
21399
21385
|
}
|
|
21400
21386
|
render() {
|
|
21401
|
-
return hAsync("div", { class: CSS$
|
|
21387
|
+
return hAsync("div", { class: CSS$U.header }, this.renderContent());
|
|
21402
21388
|
}
|
|
21403
21389
|
renderContent() {
|
|
21404
21390
|
const { messages, localeData, activeDate } = this;
|
|
@@ -21420,12 +21406,12 @@ class DatePickerMonthHeader {
|
|
|
21420
21406
|
const order = getOrder(unitOrder);
|
|
21421
21407
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
21422
21408
|
const suffix = localeData.year?.suffix;
|
|
21423
|
-
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: {
|
|
21424
21410
|
year: true,
|
|
21425
|
-
[CSS$
|
|
21411
|
+
[CSS$U.yearSuffix]: !!suffix,
|
|
21426
21412
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21427
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)
|
|
21428
|
-
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) }))));
|
|
21429
21415
|
}
|
|
21430
21416
|
setNextPrevMonthDates() {
|
|
21431
21417
|
if (!this.activeDate) {
|
|
@@ -21927,7 +21913,7 @@ class Dropdown {
|
|
|
21927
21913
|
}; }
|
|
21928
21914
|
}
|
|
21929
21915
|
|
|
21930
|
-
const CSS$
|
|
21916
|
+
const CSS$T = {
|
|
21931
21917
|
container: "container",
|
|
21932
21918
|
containerLink: "container--link",
|
|
21933
21919
|
containerMulti: "container--multi-selection",
|
|
@@ -21979,8 +21965,8 @@ class DropdownGroup {
|
|
|
21979
21965
|
const groupTitle = this.groupTitle ? (hAsync("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
21980
21966
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21981
21967
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21982
|
-
[CSS$
|
|
21983
|
-
[`${CSS$
|
|
21968
|
+
[CSS$T.container]: true,
|
|
21969
|
+
[`${CSS$T.container}--${this.scale}`]: true,
|
|
21984
21970
|
} }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21985
21971
|
}
|
|
21986
21972
|
//--------------------------------------------------------------------------
|
|
@@ -22074,9 +22060,9 @@ class DropdownItem {
|
|
|
22074
22060
|
}
|
|
22075
22061
|
render() {
|
|
22076
22062
|
const { href, selectionMode, label, iconFlipRtl, scale } = this;
|
|
22077
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
22078
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
22079
|
-
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) }));
|
|
22080
22066
|
const slottedContent = this.iconStart && this.iconEnd
|
|
22081
22067
|
? [iconStartEl, contentNode, iconEndEl]
|
|
22082
22068
|
: this.iconStart
|
|
@@ -22084,7 +22070,7 @@ class DropdownItem {
|
|
|
22084
22070
|
: this.iconEnd
|
|
22085
22071
|
? [contentNode, iconEndEl]
|
|
22086
22072
|
: contentNode;
|
|
22087
|
-
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,
|
|
22088
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)
|
|
22089
22075
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
22090
22076
|
const itemRole = href
|
|
@@ -22096,13 +22082,13 @@ class DropdownItem {
|
|
|
22096
22082
|
: "menuitem";
|
|
22097
22083
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
22098
22084
|
return (hAsync(Host, { "aria-checked": itemAria, "aria-label": !href ? label : "", role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
22099
|
-
[CSS$
|
|
22100
|
-
[CSS$
|
|
22101
|
-
[`${CSS$
|
|
22102
|
-
[CSS$
|
|
22103
|
-
[CSS$
|
|
22104
|
-
[CSS$
|
|
22105
|
-
} }, 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)));
|
|
22106
22092
|
}
|
|
22107
22093
|
//--------------------------------------------------------------------------
|
|
22108
22094
|
//
|
|
@@ -22209,7 +22195,7 @@ class DropdownItem {
|
|
|
22209
22195
|
}; }
|
|
22210
22196
|
}
|
|
22211
22197
|
|
|
22212
|
-
const CSS$
|
|
22198
|
+
const CSS$S = {
|
|
22213
22199
|
button: "button",
|
|
22214
22200
|
};
|
|
22215
22201
|
const ICONS$d = {
|
|
@@ -22270,7 +22256,7 @@ class Fab {
|
|
|
22270
22256
|
render() {
|
|
22271
22257
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl, } = this;
|
|
22272
22258
|
const title = !textEnabled ? label || text || null : null;
|
|
22273
|
-
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",
|
|
22274
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)
|
|
22275
22261
|
ref: (buttonEl) => {
|
|
22276
22262
|
this.buttonEl = buttonEl;
|
|
@@ -22300,7 +22286,7 @@ class Fab {
|
|
|
22300
22286
|
}; }
|
|
22301
22287
|
}
|
|
22302
22288
|
|
|
22303
|
-
const CSS$
|
|
22289
|
+
const CSS$R = {
|
|
22304
22290
|
container: "container",
|
|
22305
22291
|
searchIcon: "search-icon",
|
|
22306
22292
|
};
|
|
@@ -22429,7 +22415,7 @@ class Filter {
|
|
|
22429
22415
|
// --------------------------------------------------------------------------
|
|
22430
22416
|
render() {
|
|
22431
22417
|
const { disabled, scale } = this;
|
|
22432
|
-
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,
|
|
22433
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)
|
|
22434
22420
|
ref: (el) => {
|
|
22435
22421
|
this.textInput = el;
|
|
@@ -22468,7 +22454,7 @@ class Filter {
|
|
|
22468
22454
|
}; }
|
|
22469
22455
|
}
|
|
22470
22456
|
|
|
22471
|
-
const CSS$
|
|
22457
|
+
const CSS$Q = {
|
|
22472
22458
|
frame: "frame",
|
|
22473
22459
|
frameAdvancing: "frame--advancing",
|
|
22474
22460
|
frameRetreating: "frame--retreating",
|
|
@@ -22593,9 +22579,9 @@ class Flow {
|
|
|
22593
22579
|
render() {
|
|
22594
22580
|
const { flowDirection } = this;
|
|
22595
22581
|
const frameDirectionClasses = {
|
|
22596
|
-
[CSS$
|
|
22597
|
-
[CSS$
|
|
22598
|
-
[CSS$
|
|
22582
|
+
[CSS$Q.frame]: true,
|
|
22583
|
+
[CSS$Q.frameAdvancing]: flowDirection === "advancing",
|
|
22584
|
+
[CSS$Q.frameRetreating]: flowDirection === "retreating",
|
|
22599
22585
|
};
|
|
22600
22586
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
22601
22587
|
}
|
|
@@ -22618,7 +22604,7 @@ class Flow {
|
|
|
22618
22604
|
}; }
|
|
22619
22605
|
}
|
|
22620
22606
|
|
|
22621
|
-
const CSS$
|
|
22607
|
+
const CSS$P = {
|
|
22622
22608
|
actionBarContainer: "action-bar-container",
|
|
22623
22609
|
backButton: "back-button",
|
|
22624
22610
|
container: "container",
|
|
@@ -22655,7 +22641,7 @@ const SLOTS$n = {
|
|
|
22655
22641
|
footerActions: "footer-actions",
|
|
22656
22642
|
};
|
|
22657
22643
|
|
|
22658
|
-
const CSS$
|
|
22644
|
+
const CSS$O = {
|
|
22659
22645
|
backButton: "back-button",
|
|
22660
22646
|
};
|
|
22661
22647
|
const ICONS$a = {
|
|
@@ -22815,7 +22801,7 @@ class FlowItem {
|
|
|
22815
22801
|
const { showBackButton, backButtonClick, messages } = this;
|
|
22816
22802
|
const label = messages.back;
|
|
22817
22803
|
const icon = rtl ? ICONS$a.backRight : ICONS$a.backLeft;
|
|
22818
|
-
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,
|
|
22819
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)
|
|
22820
22806
|
ref: this.setBackRef })) : null;
|
|
22821
22807
|
}
|
|
@@ -23082,7 +23068,7 @@ class Graph {
|
|
|
23082
23068
|
}; }
|
|
23083
23069
|
}
|
|
23084
23070
|
|
|
23085
|
-
const CSS$
|
|
23071
|
+
const CSS$N = {
|
|
23086
23072
|
handle: "handle",
|
|
23087
23073
|
handleActivated: "handle--activated",
|
|
23088
23074
|
};
|
|
@@ -23205,7 +23191,7 @@ class Handle {
|
|
|
23205
23191
|
render() {
|
|
23206
23192
|
return (
|
|
23207
23193
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
23208
|
-
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,
|
|
23209
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)
|
|
23210
23196
|
ref: (el) => {
|
|
23211
23197
|
this.handleButton = el;
|
|
@@ -23244,7 +23230,7 @@ class Handle {
|
|
|
23244
23230
|
}; }
|
|
23245
23231
|
}
|
|
23246
23232
|
|
|
23247
|
-
const CSS$
|
|
23233
|
+
const CSS$M = {
|
|
23248
23234
|
icon: "icon",
|
|
23249
23235
|
flipRtl: "flip-rtl",
|
|
23250
23236
|
};
|
|
@@ -23292,7 +23278,7 @@ class Icon {
|
|
|
23292
23278
|
const semantic = !!textLabel;
|
|
23293
23279
|
const paths = [].concat(pathData || "");
|
|
23294
23280
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
23295
|
-
[CSS$
|
|
23281
|
+
[CSS$M.flipRtl]: dir === "rtl" && flipRtl,
|
|
23296
23282
|
svg: true,
|
|
23297
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 }))))));
|
|
23298
23284
|
}
|
|
@@ -23338,7 +23324,7 @@ class Icon {
|
|
|
23338
23324
|
}; }
|
|
23339
23325
|
}
|
|
23340
23326
|
|
|
23341
|
-
const CSS$
|
|
23327
|
+
const CSS$L = {
|
|
23342
23328
|
wrapper: "wrapper",
|
|
23343
23329
|
confirmChangesButton: "confirm-changes-button",
|
|
23344
23330
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -23488,16 +23474,16 @@ class InlineEditable {
|
|
|
23488
23474
|
updateHostInteraction(this);
|
|
23489
23475
|
}
|
|
23490
23476
|
render() {
|
|
23491
|
-
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: {
|
|
23492
23478
|
opacity: this.editingEnabled ? "0" : "1",
|
|
23493
23479
|
width: this.editingEnabled ? "0" : "inherit",
|
|
23494
23480
|
}, type: "button",
|
|
23495
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)
|
|
23496
23482
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
23497
|
-
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",
|
|
23498
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)
|
|
23499
23485
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
23500
|
-
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",
|
|
23501
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)
|
|
23502
23488
|
ref: (el) => (this.confirmEditingButton = el) }),
|
|
23503
23489
|
])));
|
|
@@ -23583,7 +23569,7 @@ class InlineEditable {
|
|
|
23583
23569
|
}; }
|
|
23584
23570
|
}
|
|
23585
23571
|
|
|
23586
|
-
const CSS$
|
|
23572
|
+
const CSS$K = {
|
|
23587
23573
|
loader: "loader",
|
|
23588
23574
|
clearButton: "clear-button",
|
|
23589
23575
|
editingEnabled: "editing-enabled",
|
|
@@ -24167,38 +24153,38 @@ class Input {
|
|
|
24167
24153
|
// --------------------------------------------------------------------------
|
|
24168
24154
|
render() {
|
|
24169
24155
|
const dir = getElementDir(this.el);
|
|
24170
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24171
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24172
|
-
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) }));
|
|
24173
24159
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
24174
24160
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24175
|
-
[CSS$
|
|
24176
|
-
[CSS$
|
|
24161
|
+
[CSS$K.numberButtonItem]: true,
|
|
24162
|
+
[CSS$K.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24177
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) })));
|
|
24178
24164
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24179
|
-
[CSS$
|
|
24180
|
-
[CSS$
|
|
24165
|
+
[CSS$K.numberButtonItem]: true,
|
|
24166
|
+
[CSS$K.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24181
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) })));
|
|
24182
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
24183
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24184
|
-
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);
|
|
24185
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,
|
|
24186
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)
|
|
24187
24173
|
ref: this.setChildNumberElRef })) : null;
|
|
24188
24174
|
const childEl = this.type !== "number"
|
|
24189
24175
|
? [
|
|
24190
24176
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
24191
|
-
[CSS$
|
|
24192
|
-
[CSS$
|
|
24177
|
+
[CSS$K.editingEnabled]: this.editingEnabled,
|
|
24178
|
+
[CSS$K.inlineChild]: !!this.inlineEditableEl,
|
|
24193
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,
|
|
24194
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)
|
|
24195
24181
|
ref: this.setChildElRef }),
|
|
24196
|
-
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,
|
|
24197
24183
|
]
|
|
24198
24184
|
: null;
|
|
24199
|
-
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
|
|
24200
24186
|
? numberButtonsHorizontalDown
|
|
24201
|
-
: 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
|
|
24202
24188
|
? numberButtonsVertical
|
|
24203
24189
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24204
24190
|
? numberButtonsHorizontalUp
|
|
@@ -24273,7 +24259,7 @@ class Input {
|
|
|
24273
24259
|
}; }
|
|
24274
24260
|
}
|
|
24275
24261
|
|
|
24276
|
-
const CSS$
|
|
24262
|
+
const CSS$J = {
|
|
24277
24263
|
assistiveText: "assistive-text",
|
|
24278
24264
|
menu: "menu-container",
|
|
24279
24265
|
menuActive: "menu-container--active",
|
|
@@ -25760,9 +25746,9 @@ class InputDatePicker {
|
|
|
25760
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)
|
|
25761
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",
|
|
25762
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)
|
|
25763
|
-
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$
|
|
25764
|
-
[CSS$
|
|
25765
|
-
[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,
|
|
25766
25752
|
}, id: this.dialogId, role: "dialog",
|
|
25767
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)
|
|
25768
25754
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -25784,7 +25770,7 @@ class InputDatePicker {
|
|
|
25784
25770
|
ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25785
25771
|
}
|
|
25786
25772
|
renderToggleIcon(open) {
|
|
25787
|
-
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) })));
|
|
25788
25774
|
}
|
|
25789
25775
|
setReferenceEl() {
|
|
25790
25776
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -26050,7 +26036,7 @@ class InputMessage {
|
|
|
26050
26036
|
}; }
|
|
26051
26037
|
}
|
|
26052
26038
|
|
|
26053
|
-
const CSS$
|
|
26039
|
+
const CSS$I = {
|
|
26054
26040
|
loader: "loader",
|
|
26055
26041
|
clearButton: "clear-button",
|
|
26056
26042
|
editingEnabled: "editing-enabled",
|
|
@@ -26565,27 +26551,27 @@ class InputNumber {
|
|
|
26565
26551
|
// --------------------------------------------------------------------------
|
|
26566
26552
|
render() {
|
|
26567
26553
|
const dir = getElementDir(this.el);
|
|
26568
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26569
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26570
|
-
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) }));
|
|
26571
26557
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
26572
26558
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26573
|
-
[CSS$
|
|
26574
|
-
[CSS$
|
|
26559
|
+
[CSS$I.numberButtonItem]: true,
|
|
26560
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26575
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) })));
|
|
26576
26562
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26577
|
-
[CSS$
|
|
26578
|
-
[CSS$
|
|
26563
|
+
[CSS$I.numberButtonItem]: true,
|
|
26564
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26579
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) })));
|
|
26580
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
26581
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26582
|
-
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);
|
|
26583
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,
|
|
26584
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)
|
|
26585
26571
|
ref: this.setChildNumberElRef }));
|
|
26586
|
-
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
|
|
26587
26573
|
? numberButtonsHorizontalDown
|
|
26588
|
-
: 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
|
|
26589
26575
|
? numberButtonsHorizontalUp
|
|
26590
26576
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26591
26577
|
}
|
|
@@ -26653,7 +26639,7 @@ class InputNumber {
|
|
|
26653
26639
|
}; }
|
|
26654
26640
|
}
|
|
26655
26641
|
|
|
26656
|
-
const CSS$
|
|
26642
|
+
const CSS$H = {
|
|
26657
26643
|
loader: "loader",
|
|
26658
26644
|
clearButton: "clear-button",
|
|
26659
26645
|
editingEnabled: "editing-enabled",
|
|
@@ -26953,18 +26939,18 @@ class InputText {
|
|
|
26953
26939
|
// --------------------------------------------------------------------------
|
|
26954
26940
|
render() {
|
|
26955
26941
|
const dir = getElementDir(this.el);
|
|
26956
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26957
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26958
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26959
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26960
|
-
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);
|
|
26961
26947
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
26962
|
-
[CSS$
|
|
26963
|
-
[CSS$
|
|
26948
|
+
[CSS$H.editingEnabled]: this.editingEnabled,
|
|
26949
|
+
[CSS$H.inlineChild]: !!this.inlineEditableEl,
|
|
26964
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,
|
|
26965
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)
|
|
26966
26952
|
ref: this.setChildElRef }));
|
|
26967
|
-
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 }))));
|
|
26968
26954
|
}
|
|
26969
26955
|
static get assetsDirs() { return ["assets"]; }
|
|
26970
26956
|
get el() { return getElement(this); }
|
|
@@ -27280,7 +27266,7 @@ function toISOTimeString(value, includeSeconds = true) {
|
|
|
27280
27266
|
return isoTimeString;
|
|
27281
27267
|
}
|
|
27282
27268
|
|
|
27283
|
-
const CSS$
|
|
27269
|
+
const CSS$G = {
|
|
27284
27270
|
toggleIcon: "toggle-icon",
|
|
27285
27271
|
};
|
|
27286
27272
|
|
|
@@ -29079,7 +29065,7 @@ class InputTimePicker {
|
|
|
29079
29065
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
29080
29066
|
}
|
|
29081
29067
|
renderToggleIcon(open) {
|
|
29082
|
-
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) })));
|
|
29083
29069
|
}
|
|
29084
29070
|
static get delegatesFocus() { return true; }
|
|
29085
29071
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -29450,7 +29436,7 @@ class InputTimeZone {
|
|
|
29450
29436
|
}; }
|
|
29451
29437
|
}
|
|
29452
29438
|
|
|
29453
|
-
const CSS$
|
|
29439
|
+
const CSS$F = {
|
|
29454
29440
|
container: "container",
|
|
29455
29441
|
};
|
|
29456
29442
|
|
|
@@ -29490,7 +29476,7 @@ class Label {
|
|
|
29490
29476
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
29491
29477
|
}
|
|
29492
29478
|
render() {
|
|
29493
|
-
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))));
|
|
29494
29480
|
}
|
|
29495
29481
|
get el() { return getElement(this); }
|
|
29496
29482
|
static get style() { return labelCss; }
|
|
@@ -29625,7 +29611,7 @@ class Link {
|
|
|
29625
29611
|
}; }
|
|
29626
29612
|
}
|
|
29627
29613
|
|
|
29628
|
-
const CSS$
|
|
29614
|
+
const CSS$E = {
|
|
29629
29615
|
container: "container",
|
|
29630
29616
|
containerBorderSelected: "container--border-selected",
|
|
29631
29617
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -29692,7 +29678,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
29692
29678
|
}
|
|
29693
29679
|
}
|
|
29694
29680
|
|
|
29695
|
-
const CSS$
|
|
29681
|
+
const CSS$D = {
|
|
29696
29682
|
container: "container",
|
|
29697
29683
|
table: "table",
|
|
29698
29684
|
scrim: "scrim",
|
|
@@ -32728,7 +32714,7 @@ Sortable.mount(new AutoScrollPlugin());
|
|
|
32728
32714
|
Sortable.mount(Remove, Revert);
|
|
32729
32715
|
|
|
32730
32716
|
const sortableComponentSet = new Set();
|
|
32731
|
-
const CSS$
|
|
32717
|
+
const CSS$C = {
|
|
32732
32718
|
ghostClass: "calcite-sortable--ghost",
|
|
32733
32719
|
chosenClass: "calcite-sortable--chosen",
|
|
32734
32720
|
dragClass: "calcite-sortable--drag",
|
|
@@ -32745,7 +32731,7 @@ function connectSortableComponent(component) {
|
|
|
32745
32731
|
const { group, handleSelector: handle, dragSelector: draggable } = component;
|
|
32746
32732
|
component.sortable = Sortable.create(component.el, {
|
|
32747
32733
|
dataIdAttr,
|
|
32748
|
-
...CSS$
|
|
32734
|
+
...CSS$C,
|
|
32749
32735
|
...(!!draggable && { draggable }),
|
|
32750
32736
|
...(!!group && {
|
|
32751
32737
|
group: {
|
|
@@ -32799,7 +32785,7 @@ function onDragEnd() {
|
|
|
32799
32785
|
Array.from(sortableComponentSet).forEach((component) => component.onDragEnd());
|
|
32800
32786
|
}
|
|
32801
32787
|
|
|
32802
|
-
const CSS$
|
|
32788
|
+
const CSS$B = {
|
|
32803
32789
|
container: "container",
|
|
32804
32790
|
actionsStart: "actions-start",
|
|
32805
32791
|
contentStart: "content-start",
|
|
@@ -33128,9 +33114,9 @@ class List$1 {
|
|
|
33128
33114
|
// --------------------------------------------------------------------------
|
|
33129
33115
|
render() {
|
|
33130
33116
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
|
|
33131
|
-
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,
|
|
33132
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)
|
|
33133
|
-
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 })))));
|
|
33134
33120
|
}
|
|
33135
33121
|
// --------------------------------------------------------------------------
|
|
33136
33122
|
//
|
|
@@ -33550,47 +33536,47 @@ class ListItem {
|
|
|
33550
33536
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
33551
33537
|
return null;
|
|
33552
33538
|
}
|
|
33553
|
-
return (hAsync("td", { class: CSS$
|
|
33539
|
+
return (hAsync("td", { class: CSS$E.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
33554
33540
|
? selectionMode === "multiple"
|
|
33555
33541
|
? ICONS$8.selectedMultiple
|
|
33556
33542
|
: ICONS$8.selectedSingle
|
|
33557
33543
|
: ICONS$8.unselected, scale: "s" })));
|
|
33558
33544
|
}
|
|
33559
33545
|
renderDragHandle() {
|
|
33560
|
-
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;
|
|
33561
33547
|
}
|
|
33562
33548
|
renderOpen() {
|
|
33563
33549
|
const { el, open, openable, parentListEl } = this;
|
|
33564
33550
|
const dir = getElementDir(el);
|
|
33565
|
-
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;
|
|
33566
33552
|
}
|
|
33567
33553
|
renderActionsStart() {
|
|
33568
33554
|
const { label, hasActionsStart } = this;
|
|
33569
|
-
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",
|
|
33570
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)
|
|
33571
33557
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$i.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
33572
33558
|
}
|
|
33573
33559
|
renderActionsEnd() {
|
|
33574
33560
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
33575
|
-
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",
|
|
33576
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)
|
|
33577
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));
|
|
33578
33564
|
}
|
|
33579
33565
|
renderContentStart() {
|
|
33580
33566
|
const { hasContentStart } = this;
|
|
33581
|
-
return (hAsync("div", { class: CSS$
|
|
33567
|
+
return (hAsync("div", { class: CSS$E.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$i.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
33582
33568
|
}
|
|
33583
33569
|
renderCustomContent() {
|
|
33584
33570
|
const { hasCustomContent } = this;
|
|
33585
|
-
return (hAsync("div", { class: CSS$
|
|
33571
|
+
return (hAsync("div", { class: CSS$E.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$i.content, onSlotchange: this.handleContentSlotChange })));
|
|
33586
33572
|
}
|
|
33587
33573
|
renderContentEnd() {
|
|
33588
33574
|
const { hasContentEnd } = this;
|
|
33589
|
-
return (hAsync("div", { class: CSS$
|
|
33575
|
+
return (hAsync("div", { class: CSS$E.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$i.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
33590
33576
|
}
|
|
33591
33577
|
renderContentProperties() {
|
|
33592
33578
|
const { label, description, hasCustomContent } = this;
|
|
33593
|
-
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;
|
|
33594
33580
|
}
|
|
33595
33581
|
renderContentContainer() {
|
|
33596
33582
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -33602,9 +33588,9 @@ class ListItem {
|
|
|
33602
33588
|
this.renderContentEnd(),
|
|
33603
33589
|
];
|
|
33604
33590
|
return (hAsync("td", { "aria-label": label, class: {
|
|
33605
|
-
[CSS$
|
|
33606
|
-
[CSS$
|
|
33607
|
-
[CSS$
|
|
33591
|
+
[CSS$E.contentContainer]: true,
|
|
33592
|
+
[CSS$E.contentContainerSelectable]: selectionMode !== "none",
|
|
33593
|
+
[CSS$E.contentContainerHasCenterContent]: hasCenterContent,
|
|
33608
33594
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
33609
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)
|
|
33610
33596
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -33615,14 +33601,14 @@ class ListItem {
|
|
|
33615
33601
|
const borderSelected = showBorder && selected;
|
|
33616
33602
|
const borderUnselected = showBorder && !selected;
|
|
33617
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: {
|
|
33618
|
-
[CSS$
|
|
33619
|
-
[CSS$
|
|
33620
|
-
[CSS$
|
|
33604
|
+
[CSS$E.container]: true,
|
|
33605
|
+
[CSS$E.containerBorderSelected]: borderSelected,
|
|
33606
|
+
[CSS$E.containerBorderUnselected]: borderUnselected,
|
|
33621
33607
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
33622
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)
|
|
33623
33609
|
ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
33624
|
-
[CSS$
|
|
33625
|
-
[CSS$
|
|
33610
|
+
[CSS$E.nestedContainer]: true,
|
|
33611
|
+
[CSS$E.nestedContainerHidden]: openable && !open,
|
|
33626
33612
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (el) => (this.defaultSlotEl = el) }))));
|
|
33627
33613
|
}
|
|
33628
33614
|
// --------------------------------------------------------------------------
|
|
@@ -33712,7 +33698,7 @@ class ListItem {
|
|
|
33712
33698
|
}; }
|
|
33713
33699
|
}
|
|
33714
33700
|
|
|
33715
|
-
const CSS$
|
|
33701
|
+
const CSS$A = {
|
|
33716
33702
|
container: "container",
|
|
33717
33703
|
heading: "heading",
|
|
33718
33704
|
};
|
|
@@ -33761,7 +33747,7 @@ class ListItemGroup {
|
|
|
33761
33747
|
// --------------------------------------------------------------------------
|
|
33762
33748
|
render() {
|
|
33763
33749
|
const { heading, visualLevel } = this;
|
|
33764
|
-
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 })));
|
|
33765
33751
|
}
|
|
33766
33752
|
get el() { return getElement(this); }
|
|
33767
33753
|
static get style() { return listItemGroupCss; }
|
|
@@ -33861,7 +33847,7 @@ class Loader {
|
|
|
33861
33847
|
}; }
|
|
33862
33848
|
}
|
|
33863
33849
|
|
|
33864
|
-
const CSS$
|
|
33850
|
+
const CSS$z = {
|
|
33865
33851
|
container: "container",
|
|
33866
33852
|
fill: "fill",
|
|
33867
33853
|
stepLine: "step-line",
|
|
@@ -34011,16 +33997,16 @@ class Meter {
|
|
|
34011
33997
|
const aboveHighest = value >= highest;
|
|
34012
33998
|
const belowHighest = value < highest;
|
|
34013
33999
|
if (!value || (!low && belowHighest) || belowLowest) {
|
|
34014
|
-
return CSS$
|
|
34000
|
+
return CSS$z.success;
|
|
34015
34001
|
}
|
|
34016
34002
|
else if (aboveLowest && belowHighest) {
|
|
34017
|
-
return CSS$
|
|
34003
|
+
return CSS$z.warning;
|
|
34018
34004
|
}
|
|
34019
34005
|
else if (aboveHighest) {
|
|
34020
|
-
return CSS$
|
|
34006
|
+
return CSS$z.danger;
|
|
34021
34007
|
}
|
|
34022
34008
|
else {
|
|
34023
|
-
return CSS$
|
|
34009
|
+
return CSS$z.success;
|
|
34024
34010
|
}
|
|
34025
34011
|
}
|
|
34026
34012
|
intersects(el1, el2) {
|
|
@@ -34034,7 +34020,7 @@ class Meter {
|
|
|
34034
34020
|
const minHighOverlap = this.intersects(minLabelEl, highLabelEl);
|
|
34035
34021
|
const minLowOverlap = this.intersects(minLabelEl, lowLabelEl);
|
|
34036
34022
|
const minMaxOverlap = this.intersects(minLabelEl, maxLabelEl);
|
|
34037
|
-
const hiddenClass = CSS$
|
|
34023
|
+
const hiddenClass = CSS$z.labelHidden;
|
|
34038
34024
|
if (lowLabelEl) {
|
|
34039
34025
|
if (minLowOverlap || lowMaxOverlap || lowHighOverlap) {
|
|
34040
34026
|
lowLabelEl.classList.add(hiddenClass);
|
|
@@ -34083,26 +34069,26 @@ class Meter {
|
|
|
34083
34069
|
renderMeterFill() {
|
|
34084
34070
|
const { currentPercent, fillType } = this;
|
|
34085
34071
|
const kindClass = this.getMeterKindCssClass();
|
|
34086
|
-
return (hAsync("div", { class: { [CSS$
|
|
34072
|
+
return (hAsync("div", { class: { [CSS$z.fill]: true, [kindClass]: fillType !== "single" }, style: { width: `${currentPercent}%` } }));
|
|
34087
34073
|
}
|
|
34088
34074
|
renderRangeLine(position) {
|
|
34089
34075
|
const style = { insetInlineStart: `${position}%` };
|
|
34090
|
-
return hAsync("div", { class: CSS$
|
|
34076
|
+
return hAsync("div", { class: CSS$z.stepLine, style: style });
|
|
34091
34077
|
}
|
|
34092
34078
|
renderValueLabel() {
|
|
34093
34079
|
const { currentPercent, valueLabelType, unitLabel, value } = this;
|
|
34094
34080
|
const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
|
|
34095
|
-
return (hAsync("div", { class: { [CSS$
|
|
34081
|
+
return (hAsync("div", { class: { [CSS$z.label]: true, [CSS$z.labelValue]: true }, key: "low-label-line",
|
|
34096
34082
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34097
|
-
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))));
|
|
34098
34084
|
}
|
|
34099
34085
|
renderMinLabel() {
|
|
34100
34086
|
const { rangeLabelType, min, minPercent, unitLabel } = this;
|
|
34101
34087
|
const style = { insetInlineStart: `${minPercent}%` };
|
|
34102
34088
|
const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
|
|
34103
|
-
return (hAsync("div", { class: { [CSS$
|
|
34089
|
+
return (hAsync("div", { class: { [CSS$z.label]: true, [CSS$z.labelRange]: true }, key: "min-label-line", style: style,
|
|
34104
34090
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34105
|
-
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))));
|
|
34106
34092
|
}
|
|
34107
34093
|
renderLowLabel() {
|
|
34108
34094
|
const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
|
|
@@ -34112,7 +34098,7 @@ class Meter {
|
|
|
34112
34098
|
const styleDefault = { insetInlineStart: `${lowPercent}%` };
|
|
34113
34099
|
const styleFlipped = { insetInlineEnd: `${100 - lowPercent}%` };
|
|
34114
34100
|
const style = (highPercent - lowPercent) / 100 < labelFlipProximity ? styleFlipped : styleDefault;
|
|
34115
|
-
return (hAsync("div", { class: { [CSS$
|
|
34101
|
+
return (hAsync("div", { class: { [CSS$z.label]: true, [CSS$z.labelRange]: true }, key: "low-label-line", style: style,
|
|
34116
34102
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34117
34103
|
ref: (el) => (this.lowLabelEl = el) }, label));
|
|
34118
34104
|
}
|
|
@@ -34124,7 +34110,7 @@ class Meter {
|
|
|
34124
34110
|
const styleDefault = { insetInlineStart: `${highPercent}%` };
|
|
34125
34111
|
const styleFlipped = { insetInlineEnd: `${100 - highPercent}%` };
|
|
34126
34112
|
const style = highPercent / 100 >= labelFlipMax ? styleFlipped : styleDefault;
|
|
34127
|
-
return (hAsync("div", { class: { [CSS$
|
|
34113
|
+
return (hAsync("div", { class: { [CSS$z.label]: true, [CSS$z.labelRange]: true }, key: "high-label-line", style: style,
|
|
34128
34114
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34129
34115
|
ref: (el) => (this.highLabelEl = el) }, label));
|
|
34130
34116
|
}
|
|
@@ -34132,7 +34118,7 @@ class Meter {
|
|
|
34132
34118
|
const { rangeLabelType, max, maxPercent } = this;
|
|
34133
34119
|
const style = { insetInlineEnd: `${100 - maxPercent}%` };
|
|
34134
34120
|
const labelMax = this.formatLabel(rangeLabelType === "percent" ? maxPercent / 100 : max, rangeLabelType);
|
|
34135
|
-
return (hAsync("div", { class: { [CSS$
|
|
34121
|
+
return (hAsync("div", { class: { [CSS$z.label]: true, [CSS$z.labelRange]: true }, key: "max-label-line", style: style,
|
|
34136
34122
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34137
34123
|
ref: (el) => (this.maxLabelEl = el) }, labelMax));
|
|
34138
34124
|
}
|
|
@@ -34146,9 +34132,9 @@ class Meter {
|
|
|
34146
34132
|
? textUnitLabel
|
|
34147
34133
|
: undefined;
|
|
34148
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: {
|
|
34149
|
-
[CSS$
|
|
34150
|
-
[CSS$
|
|
34151
|
-
[CSS$
|
|
34135
|
+
[CSS$z.container]: true,
|
|
34136
|
+
[CSS$z.stepsVisible]: rangeLabels,
|
|
34137
|
+
[CSS$z.valueVisible]: valueLabel,
|
|
34152
34138
|
[appearance]: appearance !== "outline-fill",
|
|
34153
34139
|
}, role: "meter",
|
|
34154
34140
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -34204,7 +34190,7 @@ class Meter {
|
|
|
34204
34190
|
}; }
|
|
34205
34191
|
}
|
|
34206
34192
|
|
|
34207
|
-
const CSS$
|
|
34193
|
+
const CSS$y = {
|
|
34208
34194
|
modal: "modal",
|
|
34209
34195
|
title: "title",
|
|
34210
34196
|
header: "header",
|
|
@@ -34394,50 +34380,50 @@ class Modal {
|
|
|
34394
34380
|
}
|
|
34395
34381
|
render() {
|
|
34396
34382
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
34397
|
-
[CSS$
|
|
34398
|
-
[CSS$
|
|
34399
|
-
[CSS$
|
|
34400
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
34401
|
-
[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,
|
|
34402
34388
|
},
|
|
34403
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)
|
|
34404
|
-
ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
34405
|
-
[CSS$
|
|
34406
|
-
[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,
|
|
34407
34393
|
},
|
|
34408
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)
|
|
34409
34395
|
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$f.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
34410
34396
|
}
|
|
34411
34397
|
renderFooter() {
|
|
34412
|
-
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;
|
|
34413
34399
|
}
|
|
34414
34400
|
renderContentTop() {
|
|
34415
|
-
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 })));
|
|
34416
34402
|
}
|
|
34417
34403
|
renderContentBottom() {
|
|
34418
|
-
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 })));
|
|
34419
34405
|
}
|
|
34420
34406
|
renderCloseButton() {
|
|
34421
|
-
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,
|
|
34422
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)
|
|
34423
34409
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$7.close, scale: getIconScale(this.scale) }))) : null;
|
|
34424
34410
|
}
|
|
34425
34411
|
renderStyle() {
|
|
34426
34412
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
34427
|
-
return (hAsync("style", null, `.${CSS$
|
|
34413
|
+
return (hAsync("style", null, `.${CSS$y.container} {
|
|
34428
34414
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
34429
34415
|
}
|
|
34430
|
-
.${CSS$
|
|
34416
|
+
.${CSS$y.modal} {
|
|
34431
34417
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
34432
34418
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
34433
34419
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
34434
34420
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
34435
34421
|
}
|
|
34436
34422
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
34437
|
-
.${CSS$
|
|
34423
|
+
.${CSS$y.container} {
|
|
34438
34424
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
34439
34425
|
}
|
|
34440
|
-
.${CSS$
|
|
34426
|
+
.${CSS$y.modal} {
|
|
34441
34427
|
max-block-size: 100% !important;
|
|
34442
34428
|
inline-size: 100% !important;
|
|
34443
34429
|
max-inline-size: 100% !important;
|
|
@@ -34504,20 +34490,20 @@ class Modal {
|
|
|
34504
34490
|
}
|
|
34505
34491
|
}
|
|
34506
34492
|
onBeforeOpen() {
|
|
34507
|
-
this.transitionEl.classList.add(CSS$
|
|
34493
|
+
this.transitionEl.classList.add(CSS$y.openingActive);
|
|
34508
34494
|
this.calciteModalBeforeOpen.emit();
|
|
34509
34495
|
}
|
|
34510
34496
|
onOpen() {
|
|
34511
|
-
this.transitionEl.classList.remove(CSS$
|
|
34497
|
+
this.transitionEl.classList.remove(CSS$y.openingIdle, CSS$y.openingActive);
|
|
34512
34498
|
this.calciteModalOpen.emit();
|
|
34513
34499
|
activateFocusTrap(this);
|
|
34514
34500
|
}
|
|
34515
34501
|
onBeforeClose() {
|
|
34516
|
-
this.transitionEl.classList.add(CSS$
|
|
34502
|
+
this.transitionEl.classList.add(CSS$y.closingActive);
|
|
34517
34503
|
this.calciteModalBeforeClose.emit();
|
|
34518
34504
|
}
|
|
34519
34505
|
onClose() {
|
|
34520
|
-
this.transitionEl.classList.remove(CSS$
|
|
34506
|
+
this.transitionEl.classList.remove(CSS$y.closingIdle, CSS$y.closingActive);
|
|
34521
34507
|
this.calciteModalClose.emit();
|
|
34522
34508
|
deactivateFocusTrap(this);
|
|
34523
34509
|
}
|
|
@@ -34535,10 +34521,10 @@ class Modal {
|
|
|
34535
34521
|
handleOpenedChange(value) {
|
|
34536
34522
|
onToggleOpenCloseComponent(this);
|
|
34537
34523
|
if (value) {
|
|
34538
|
-
this.transitionEl?.classList.add(CSS$
|
|
34524
|
+
this.transitionEl?.classList.add(CSS$y.openingIdle);
|
|
34539
34525
|
}
|
|
34540
34526
|
else {
|
|
34541
|
-
this.transitionEl?.classList.add(CSS$
|
|
34527
|
+
this.transitionEl?.classList.add(CSS$y.closingIdle);
|
|
34542
34528
|
}
|
|
34543
34529
|
}
|
|
34544
34530
|
openModal() {
|
|
@@ -34609,7 +34595,7 @@ const SLOTS$e = {
|
|
|
34609
34595
|
link: "link",
|
|
34610
34596
|
actionsEnd: "actions-end",
|
|
34611
34597
|
};
|
|
34612
|
-
const CSS$
|
|
34598
|
+
const CSS$x = {
|
|
34613
34599
|
actionsEnd: "actions-end",
|
|
34614
34600
|
close: "notice-close",
|
|
34615
34601
|
container: "container",
|
|
@@ -34699,13 +34685,13 @@ class Notice {
|
|
|
34699
34685
|
}
|
|
34700
34686
|
render() {
|
|
34701
34687
|
const { el } = this;
|
|
34702
|
-
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,
|
|
34703
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)
|
|
34704
34690
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: getIconScale(this.scale) })));
|
|
34705
34691
|
const hasActionEnd = getSlotted(el, SLOTS$e.actionsEnd);
|
|
34706
|
-
return (hAsync("div", { class: CSS$
|
|
34692
|
+
return (hAsync("div", { class: CSS$x.container,
|
|
34707
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)
|
|
34708
|
-
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));
|
|
34709
34695
|
}
|
|
34710
34696
|
//--------------------------------------------------------------------------
|
|
34711
34697
|
//
|
|
@@ -34898,7 +34884,7 @@ class OptionGroup {
|
|
|
34898
34884
|
}; }
|
|
34899
34885
|
}
|
|
34900
34886
|
|
|
34901
|
-
const CSS$
|
|
34887
|
+
const CSS$w = {
|
|
34902
34888
|
page: "page",
|
|
34903
34889
|
selected: "is-selected",
|
|
34904
34890
|
previous: "previous",
|
|
@@ -35066,9 +35052,9 @@ class Pagination {
|
|
|
35066
35052
|
//--------------------------------------------------------------------------
|
|
35067
35053
|
renderEllipsis(type) {
|
|
35068
35054
|
return (hAsync("span", { class: {
|
|
35069
|
-
[CSS$
|
|
35070
|
-
[CSS$
|
|
35071
|
-
[CSS$
|
|
35055
|
+
[CSS$w.ellipsis]: true,
|
|
35056
|
+
[CSS$w.ellipsisStart]: type === "start",
|
|
35057
|
+
[CSS$w.ellipsisEnd]: type === "end",
|
|
35072
35058
|
}, key: type }, "\u2026"));
|
|
35073
35059
|
}
|
|
35074
35060
|
renderItems() {
|
|
@@ -35135,8 +35121,8 @@ class Pagination {
|
|
|
35135
35121
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
35136
35122
|
const selected = start === this.startItem;
|
|
35137
35123
|
return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
|
|
35138
|
-
[CSS$
|
|
35139
|
-
[CSS$
|
|
35124
|
+
[CSS$w.page]: true,
|
|
35125
|
+
[CSS$w.selected]: selected,
|
|
35140
35126
|
}, onClick: this.handlePageClick, value: start }, displayedPage));
|
|
35141
35127
|
}
|
|
35142
35128
|
render() {
|
|
@@ -35144,11 +35130,11 @@ class Pagination {
|
|
|
35144
35130
|
const prevDisabled = pageSize === 1 ? startItem <= pageSize : startItem < pageSize;
|
|
35145
35131
|
const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
|
|
35146
35132
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": messages.previous, class: {
|
|
35147
|
-
[CSS$
|
|
35148
|
-
[CSS$
|
|
35133
|
+
[CSS$w.previous]: true,
|
|
35134
|
+
[CSS$w.disabled]: prevDisabled,
|
|
35149
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: {
|
|
35150
|
-
[CSS$
|
|
35151
|
-
[CSS$
|
|
35136
|
+
[CSS$w.next]: true,
|
|
35137
|
+
[CSS$w.disabled]: nextDisabled,
|
|
35152
35138
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: ICONS$6.next, scale: getIconScale(this.scale) }))));
|
|
35153
35139
|
}
|
|
35154
35140
|
static get delegatesFocus() { return true; }
|
|
@@ -35366,19 +35352,19 @@ class Panel {
|
|
|
35366
35352
|
// --------------------------------------------------------------------------
|
|
35367
35353
|
renderHeaderContent() {
|
|
35368
35354
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
35369
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
35370
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
35371
|
-
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;
|
|
35372
35358
|
}
|
|
35373
35359
|
renderActionBar() {
|
|
35374
|
-
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 })));
|
|
35375
35361
|
}
|
|
35376
35362
|
renderHeaderSlottedContent() {
|
|
35377
|
-
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 })));
|
|
35378
35364
|
}
|
|
35379
35365
|
renderHeaderStartActions() {
|
|
35380
35366
|
const { hasStartActions } = this;
|
|
35381
|
-
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 })));
|
|
35382
35368
|
}
|
|
35383
35369
|
renderHeaderActionsEnd() {
|
|
35384
35370
|
const { hasEndActions, messages, closable, collapsed, collapseDirection, collapsible, hasMenuItems, } = this;
|
|
@@ -35391,7 +35377,7 @@ class Panel {
|
|
|
35391
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;
|
|
35392
35378
|
const slotNode = (hAsync("slot", { name: SLOTS$n.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
35393
35379
|
const showContainer = hasEndActions || collapseNode || closeNode || hasMenuItems;
|
|
35394
|
-
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));
|
|
35395
35381
|
}
|
|
35396
35382
|
renderMenu() {
|
|
35397
35383
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -35408,24 +35394,24 @@ class Panel {
|
|
|
35408
35394
|
closable ||
|
|
35409
35395
|
hasMenuItems;
|
|
35410
35396
|
this.showHeaderContent = showHeaderContent;
|
|
35411
|
-
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()));
|
|
35412
35398
|
}
|
|
35413
35399
|
renderFooterNode() {
|
|
35414
35400
|
const { hasFooterContent, hasFooterActions } = this;
|
|
35415
35401
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
35416
|
-
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 })));
|
|
35417
35403
|
}
|
|
35418
35404
|
renderContent() {
|
|
35419
|
-
return (hAsync("div", { class: CSS$
|
|
35405
|
+
return (hAsync("div", { class: CSS$P.contentWrapper, hidden: this.collapsible && this.collapsed, onScroll: this.panelScrollHandler,
|
|
35420
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)
|
|
35421
35407
|
ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
|
|
35422
35408
|
}
|
|
35423
35409
|
renderFab() {
|
|
35424
|
-
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 })));
|
|
35425
35411
|
}
|
|
35426
35412
|
render() {
|
|
35427
35413
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
35428
|
-
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,
|
|
35429
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)
|
|
35430
35416
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
35431
35417
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -35474,7 +35460,7 @@ class Panel {
|
|
|
35474
35460
|
}; }
|
|
35475
35461
|
}
|
|
35476
35462
|
|
|
35477
|
-
const CSS$
|
|
35463
|
+
const CSS$v = {
|
|
35478
35464
|
sticky: "sticky-pos",
|
|
35479
35465
|
};
|
|
35480
35466
|
var ICON_TYPES$1;
|
|
@@ -35487,7 +35473,7 @@ const SLOTS$d = {
|
|
|
35487
35473
|
menuActions: "menu-actions",
|
|
35488
35474
|
};
|
|
35489
35475
|
|
|
35490
|
-
const CSS$
|
|
35476
|
+
const CSS$u = {
|
|
35491
35477
|
heading: "heading",
|
|
35492
35478
|
container: "container",
|
|
35493
35479
|
indented: "container--indented",
|
|
@@ -35813,7 +35799,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
35813
35799
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
35814
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)
|
|
35815
35801
|
ref: storeAssistiveEl })) : null,
|
|
35816
|
-
hAsync("header", { class: { [CSS$
|
|
35802
|
+
hAsync("header", { class: { [CSS$v.sticky]: true } },
|
|
35817
35803
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
35818
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)
|
|
35819
35805
|
ref: setFilterEl })) : null,
|
|
@@ -36004,14 +35990,14 @@ class PickListGroup {
|
|
|
36004
35990
|
const { el, groupTitle, headingLevel } = this;
|
|
36005
35991
|
const hasParentItem = getSlotted(el, SLOTS$c.parentItem) !== null;
|
|
36006
35992
|
const sectionClasses = {
|
|
36007
|
-
[CSS$
|
|
36008
|
-
[CSS$
|
|
35993
|
+
[CSS$u.container]: true,
|
|
35994
|
+
[CSS$u.indented]: hasParentItem,
|
|
36009
35995
|
};
|
|
36010
35996
|
const title = groupTitle;
|
|
36011
35997
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
36012
35998
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
36013
35999
|
const level = headingLevel || relativeLevel;
|
|
36014
|
-
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))));
|
|
36015
36001
|
}
|
|
36016
36002
|
get el() { return getElement(this); }
|
|
36017
36003
|
static get style() { return pickListGroupCss; }
|
|
@@ -36028,7 +36014,7 @@ class PickListGroup {
|
|
|
36028
36014
|
}; }
|
|
36029
36015
|
}
|
|
36030
36016
|
|
|
36031
|
-
const CSS$
|
|
36017
|
+
const CSS$t = {
|
|
36032
36018
|
actions: "actions",
|
|
36033
36019
|
actionsEnd: "actions--end",
|
|
36034
36020
|
actionsStart: "actions--start",
|
|
@@ -36190,28 +36176,28 @@ class PickListItem {
|
|
|
36190
36176
|
return null;
|
|
36191
36177
|
}
|
|
36192
36178
|
return (hAsync("span", { class: {
|
|
36193
|
-
[CSS$
|
|
36194
|
-
[CSS$
|
|
36179
|
+
[CSS$t.icon]: true,
|
|
36180
|
+
[CSS$t.iconDot]: icon === ICON_TYPES$1.circle,
|
|
36195
36181
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$5.checked, scale: "s" })) : null));
|
|
36196
36182
|
}
|
|
36197
36183
|
renderRemoveAction() {
|
|
36198
|
-
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;
|
|
36199
36185
|
}
|
|
36200
36186
|
renderActionsStart() {
|
|
36201
36187
|
const { el } = this;
|
|
36202
36188
|
const hasActionsStart = getSlotted(el, SLOTS$b.actionsStart);
|
|
36203
|
-
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;
|
|
36204
36190
|
}
|
|
36205
36191
|
renderActionsEnd() {
|
|
36206
36192
|
const { el, removable } = this;
|
|
36207
36193
|
const hasActionsEnd = getSlotted(el, SLOTS$b.actionsEnd);
|
|
36208
|
-
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;
|
|
36209
36195
|
}
|
|
36210
36196
|
render() {
|
|
36211
36197
|
const { description, label } = this;
|
|
36212
|
-
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,
|
|
36213
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)
|
|
36214
|
-
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()));
|
|
36215
36201
|
}
|
|
36216
36202
|
static get assetsDirs() { return ["assets"]; }
|
|
36217
36203
|
get el() { return getElement(this); }
|
|
@@ -36254,7 +36240,7 @@ class PickListItem {
|
|
|
36254
36240
|
}; }
|
|
36255
36241
|
}
|
|
36256
36242
|
|
|
36257
|
-
const CSS$
|
|
36243
|
+
const CSS$s = {
|
|
36258
36244
|
container: "container",
|
|
36259
36245
|
imageContainer: "image-container",
|
|
36260
36246
|
closeButtonContainer: "close-button-container",
|
|
@@ -36348,7 +36334,7 @@ class PopoverManager {
|
|
|
36348
36334
|
}
|
|
36349
36335
|
}
|
|
36350
36336
|
|
|
36351
|
-
const CSS$
|
|
36337
|
+
const CSS$r = {
|
|
36352
36338
|
arrow: "calcite-floating-ui-arrow",
|
|
36353
36339
|
arrowStroke: "calcite-floating-ui-arrow__stroke",
|
|
36354
36340
|
};
|
|
@@ -36378,8 +36364,8 @@ const FloatingArrow = ({ floatingLayout, key, ref, }) => {
|
|
|
36378
36364
|
` L${width - svgX},${height}` +
|
|
36379
36365
|
` Q${svgX},${height} ${svgX},${height}` +
|
|
36380
36366
|
" Z";
|
|
36381
|
-
return (hAsync("svg", { "aria-hidden": "true", class: CSS$
|
|
36382
|
-
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 })),
|
|
36383
36369
|
hAsync("path", { d: dValue, stroke: "none" })));
|
|
36384
36370
|
};
|
|
36385
36371
|
|
|
@@ -36631,14 +36617,14 @@ class Popover {
|
|
|
36631
36617
|
// --------------------------------------------------------------------------
|
|
36632
36618
|
renderCloseButton() {
|
|
36633
36619
|
const { messages, closable } = this;
|
|
36634
|
-
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,
|
|
36635
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)
|
|
36636
36622
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: getIconScale(this.scale) })))) : null;
|
|
36637
36623
|
}
|
|
36638
36624
|
renderHeader() {
|
|
36639
36625
|
const { heading, headingLevel } = this;
|
|
36640
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
36641
|
-
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;
|
|
36642
36628
|
}
|
|
36643
36629
|
render() {
|
|
36644
36630
|
const { effectiveReferenceElement, heading, label, open, pointerDisabled, floatingLayout } = this;
|
|
@@ -36653,9 +36639,9 @@ class Popover {
|
|
|
36653
36639
|
},
|
|
36654
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)
|
|
36655
36641
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
36656
|
-
[CSS$
|
|
36657
|
-
[CSS$
|
|
36658
|
-
} }, 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))));
|
|
36659
36645
|
}
|
|
36660
36646
|
static get assetsDirs() { return ["assets"]; }
|
|
36661
36647
|
get el() { return getElement(this); }
|
|
@@ -36749,7 +36735,7 @@ class Progress {
|
|
|
36749
36735
|
}; }
|
|
36750
36736
|
}
|
|
36751
36737
|
|
|
36752
|
-
const CSS$
|
|
36738
|
+
const CSS$q = {
|
|
36753
36739
|
container: "container",
|
|
36754
36740
|
};
|
|
36755
36741
|
|
|
@@ -37026,7 +37012,7 @@ class RadioButton {
|
|
|
37026
37012
|
// --------------------------------------------------------------------------
|
|
37027
37013
|
render() {
|
|
37028
37014
|
const tabIndex = this.getTabIndex();
|
|
37029
|
-
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,
|
|
37030
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)
|
|
37031
37017
|
ref: this.setContainerEl }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
37032
37018
|
}
|
|
@@ -37453,7 +37439,7 @@ class Rating {
|
|
|
37453
37439
|
}; }
|
|
37454
37440
|
}
|
|
37455
37441
|
|
|
37456
|
-
const CSS$
|
|
37442
|
+
const CSS$p = {
|
|
37457
37443
|
scrim: "scrim",
|
|
37458
37444
|
content: "content",
|
|
37459
37445
|
};
|
|
@@ -37523,9 +37509,9 @@ class Scrim {
|
|
|
37523
37509
|
// --------------------------------------------------------------------------
|
|
37524
37510
|
render() {
|
|
37525
37511
|
const { hasContent, loading, messages } = this;
|
|
37526
|
-
return (hAsync("div", { class: CSS$
|
|
37512
|
+
return (hAsync("div", { class: CSS$p.scrim }, loading ? (hAsync("calcite-loader", { label: messages.loading, scale: this.loaderScale,
|
|
37527
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)
|
|
37528
|
-
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 }))));
|
|
37529
37515
|
}
|
|
37530
37516
|
getScale(size) {
|
|
37531
37517
|
if (size < BREAKPOINTS.s) {
|
|
@@ -37800,7 +37786,7 @@ class SegmentedControl {
|
|
|
37800
37786
|
const SLOTS$a = {
|
|
37801
37787
|
input: "input",
|
|
37802
37788
|
};
|
|
37803
|
-
const CSS$
|
|
37789
|
+
const CSS$o = {
|
|
37804
37790
|
segmentedControlItemIcon: "segmented-control-item-icon",
|
|
37805
37791
|
};
|
|
37806
37792
|
|
|
@@ -37829,8 +37815,8 @@ class SegmentedControlItem {
|
|
|
37829
37815
|
//--------------------------------------------------------------------------
|
|
37830
37816
|
render() {
|
|
37831
37817
|
const { appearance, checked, layout, scale, value } = this;
|
|
37832
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
37833
|
-
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;
|
|
37834
37820
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
37835
37821
|
"label--scale-s": scale === "s",
|
|
37836
37822
|
"label--scale-m": scale === "m",
|
|
@@ -37864,7 +37850,7 @@ class SegmentedControlItem {
|
|
|
37864
37850
|
}; }
|
|
37865
37851
|
}
|
|
37866
37852
|
|
|
37867
|
-
const CSS$
|
|
37853
|
+
const CSS$n = {
|
|
37868
37854
|
icon: "icon",
|
|
37869
37855
|
iconContainer: "icon-container",
|
|
37870
37856
|
select: "select",
|
|
@@ -38051,10 +38037,10 @@ class Select {
|
|
|
38051
38037
|
//
|
|
38052
38038
|
//--------------------------------------------------------------------------
|
|
38053
38039
|
renderChevron() {
|
|
38054
|
-
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) })));
|
|
38055
38041
|
}
|
|
38056
38042
|
render() {
|
|
38057
|
-
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,
|
|
38058
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)
|
|
38059
38045
|
ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
38060
38046
|
}
|
|
@@ -38085,7 +38071,7 @@ class Select {
|
|
|
38085
38071
|
}; }
|
|
38086
38072
|
}
|
|
38087
38073
|
|
|
38088
|
-
const CSS$
|
|
38074
|
+
const CSS$m = {
|
|
38089
38075
|
scrim: "scrim",
|
|
38090
38076
|
container: "container",
|
|
38091
38077
|
containerOpen: "container--open",
|
|
@@ -38203,12 +38189,12 @@ class Sheet {
|
|
|
38203
38189
|
render() {
|
|
38204
38190
|
const dir = getElementDir(this.el);
|
|
38205
38191
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-label": this.label, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
38206
|
-
[CSS$
|
|
38207
|
-
[CSS$
|
|
38208
|
-
[CSS$
|
|
38192
|
+
[CSS$m.container]: true,
|
|
38193
|
+
[CSS$m.containerOpen]: this.opened,
|
|
38194
|
+
[CSS$m.containerSlottedInShell]: this.slottedInShell,
|
|
38209
38195
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
38210
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
38211
|
-
[CSS$
|
|
38196
|
+
} }, hAsync("calcite-scrim", { class: CSS$m.scrim, onClick: this.handleOutsideClose }), hAsync("div", { class: {
|
|
38197
|
+
[CSS$m.content]: true,
|
|
38212
38198
|
},
|
|
38213
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)
|
|
38214
38200
|
ref: this.setTransitionEl }, hAsync("slot", null)))));
|
|
@@ -38309,7 +38295,7 @@ class Sheet {
|
|
|
38309
38295
|
}; }
|
|
38310
38296
|
}
|
|
38311
38297
|
|
|
38312
|
-
const CSS$
|
|
38298
|
+
const CSS$l = {
|
|
38313
38299
|
main: "main",
|
|
38314
38300
|
content: "content",
|
|
38315
38301
|
contentBehind: "content--behind",
|
|
@@ -38411,7 +38397,7 @@ class Shell {
|
|
|
38411
38397
|
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$9.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
38412
38398
|
}
|
|
38413
38399
|
renderFooter() {
|
|
38414
|
-
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 })));
|
|
38415
38401
|
}
|
|
38416
38402
|
renderAlerts() {
|
|
38417
38403
|
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$9.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
@@ -38431,21 +38417,21 @@ class Shell {
|
|
|
38431
38417
|
const content = !!this.contentBehind
|
|
38432
38418
|
? [
|
|
38433
38419
|
hAsync("div", { class: {
|
|
38434
|
-
[CSS$
|
|
38435
|
-
[CSS$
|
|
38420
|
+
[CSS$l.content]: true,
|
|
38421
|
+
[CSS$l.contentBehind]: true,
|
|
38436
38422
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
38437
|
-
hAsync("div", { class: CSS$
|
|
38423
|
+
hAsync("div", { class: CSS$l.contentBehindCenterContent }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
38438
38424
|
]
|
|
38439
38425
|
: [
|
|
38440
|
-
hAsync("div", { class: CSS$
|
|
38426
|
+
hAsync("div", { class: CSS$l.content, key: contentContainerKey }, panelTopSlotNode, defaultSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
38441
38427
|
];
|
|
38442
38428
|
return content;
|
|
38443
38429
|
}
|
|
38444
38430
|
renderMain() {
|
|
38445
|
-
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 })));
|
|
38446
38432
|
}
|
|
38447
38433
|
renderPositionedSlots() {
|
|
38448
|
-
return (hAsync("div", { class: CSS$
|
|
38434
|
+
return (hAsync("div", { class: CSS$l.positionedSlotWrapper }, this.renderAlerts(), this.renderModals(), this.renderSheets()));
|
|
38449
38435
|
}
|
|
38450
38436
|
render() {
|
|
38451
38437
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -38469,7 +38455,7 @@ class Shell {
|
|
|
38469
38455
|
}; }
|
|
38470
38456
|
}
|
|
38471
38457
|
|
|
38472
|
-
const CSS$
|
|
38458
|
+
const CSS$k = {
|
|
38473
38459
|
actionBarContainer: "action-bar-container",
|
|
38474
38460
|
content: "content",
|
|
38475
38461
|
};
|
|
@@ -38508,9 +38494,9 @@ class ShellCenterRow {
|
|
|
38508
38494
|
// --------------------------------------------------------------------------
|
|
38509
38495
|
render() {
|
|
38510
38496
|
const { el } = this;
|
|
38511
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
38497
|
+
const contentNode = (hAsync("div", { class: CSS$k.content }, hAsync("slot", null)));
|
|
38512
38498
|
const actionBar = getSlotted(el, SLOTS$8.actionBar);
|
|
38513
|
-
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;
|
|
38514
38500
|
const children = [actionBarNode, contentNode];
|
|
38515
38501
|
if (actionBar?.position === "end") {
|
|
38516
38502
|
children.reverse();
|
|
@@ -38533,7 +38519,7 @@ class ShellCenterRow {
|
|
|
38533
38519
|
}; }
|
|
38534
38520
|
}
|
|
38535
38521
|
|
|
38536
|
-
const CSS$
|
|
38522
|
+
const CSS$j = {
|
|
38537
38523
|
container: "container",
|
|
38538
38524
|
content: "content",
|
|
38539
38525
|
contentHeader: "content__header",
|
|
@@ -38796,7 +38782,7 @@ class ShellPanel {
|
|
|
38796
38782
|
//
|
|
38797
38783
|
// --------------------------------------------------------------------------
|
|
38798
38784
|
renderHeader() {
|
|
38799
|
-
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 })));
|
|
38800
38786
|
}
|
|
38801
38787
|
render() {
|
|
38802
38788
|
const { collapsed, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout, displayMode, } = this;
|
|
@@ -38813,7 +38799,7 @@ class ShellPanel {
|
|
|
38813
38799
|
: null;
|
|
38814
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"
|
|
38815
38801
|
? contentHeight ?? initialContentHeight
|
|
38816
|
-
: contentWidth ?? initialContentWidth, class: CSS$
|
|
38802
|
+
: contentWidth ?? initialContentWidth, class: CSS$j.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
38817
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)
|
|
38818
38804
|
ref: this.connectSeparator })) : null;
|
|
38819
38805
|
const getAnimationDir = () => {
|
|
@@ -38829,20 +38815,20 @@ class ShellPanel {
|
|
|
38829
38815
|
};
|
|
38830
38816
|
const contentNode = (hAsync("div", { class: {
|
|
38831
38817
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
38832
|
-
[CSS$
|
|
38833
|
-
[CSS$
|
|
38834
|
-
[CSS$
|
|
38818
|
+
[CSS$j.content]: true,
|
|
38819
|
+
[CSS$j.contentOverlay]: displayMode === "overlay",
|
|
38820
|
+
[CSS$j.contentFloat]: displayMode === "float",
|
|
38835
38821
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
38836
38822
|
[getAnimationDir()]: displayMode === "overlay",
|
|
38837
38823
|
}, hidden: collapsed, key: "content", style: style,
|
|
38838
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)
|
|
38839
|
-
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));
|
|
38840
38826
|
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$7.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
38841
38827
|
const mainNodes = [actionBarNode, contentNode];
|
|
38842
38828
|
if (position === "end") {
|
|
38843
38829
|
mainNodes.reverse();
|
|
38844
38830
|
}
|
|
38845
|
-
return hAsync("div", { class: { [CSS$
|
|
38831
|
+
return hAsync("div", { class: { [CSS$j.container]: true } }, mainNodes);
|
|
38846
38832
|
}
|
|
38847
38833
|
// --------------------------------------------------------------------------
|
|
38848
38834
|
//
|
|
@@ -38943,7 +38929,7 @@ class ShellPanel {
|
|
|
38943
38929
|
}; }
|
|
38944
38930
|
}
|
|
38945
38931
|
|
|
38946
|
-
const CSS$
|
|
38932
|
+
const CSS$i = {
|
|
38947
38933
|
handleLabel: "handle__label",
|
|
38948
38934
|
handleLabelMinValue: "handle__label--minValue",
|
|
38949
38935
|
handleLabelValue: "handle__label--value",
|
|
@@ -39142,8 +39128,8 @@ class Slider {
|
|
|
39142
39128
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
39143
39129
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
39144
39130
|
const valueIsRange = isRange(this.value);
|
|
39145
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
39146
|
-
const handleLabelValueClasses = `${CSS$
|
|
39131
|
+
const handleLabelMinValueClasses = `${CSS$i.handleLabel} ${CSS$i.handleLabelMinValue}`;
|
|
39132
|
+
const handleLabelValueClasses = `${CSS$i.handleLabel} ${CSS$i.handleLabelValue}`;
|
|
39147
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: {
|
|
39148
39134
|
thumb: true,
|
|
39149
39135
|
"thumb--value": true,
|
|
@@ -39279,8 +39265,8 @@ class Slider {
|
|
|
39279
39265
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
39280
39266
|
const tickLabel = (hAsync("span", { class: {
|
|
39281
39267
|
tick__label: true,
|
|
39282
|
-
[CSS$
|
|
39283
|
-
[CSS$
|
|
39268
|
+
[CSS$i.tickMin]: isMinTickLabel,
|
|
39269
|
+
[CSS$i.tickMax]: isMaxTickLabel,
|
|
39284
39270
|
} }, displayedTickValue));
|
|
39285
39271
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
39286
39272
|
return tickLabel;
|
|
@@ -39838,7 +39824,7 @@ class Slider {
|
|
|
39838
39824
|
}; }
|
|
39839
39825
|
}
|
|
39840
39826
|
|
|
39841
|
-
const CSS$
|
|
39827
|
+
const CSS$h = {
|
|
39842
39828
|
sortItem: "sort-item",
|
|
39843
39829
|
container: "container",
|
|
39844
39830
|
containerHorizontal: "container--horizontal",
|
|
@@ -39972,9 +39958,9 @@ class SortableList {
|
|
|
39972
39958
|
const { layout } = this;
|
|
39973
39959
|
const horizontal = layout === "horizontal" || false;
|
|
39974
39960
|
return (hAsync("div", { class: {
|
|
39975
|
-
[CSS$
|
|
39976
|
-
[CSS$
|
|
39977
|
-
[CSS$
|
|
39961
|
+
[CSS$h.container]: true,
|
|
39962
|
+
[CSS$h.containerVertical]: !horizontal,
|
|
39963
|
+
[CSS$h.containerHorizontal]: horizontal,
|
|
39978
39964
|
} }, hAsync("slot", null)));
|
|
39979
39965
|
}
|
|
39980
39966
|
get el() { return getElement(this); }
|
|
@@ -39998,7 +39984,7 @@ class SortableList {
|
|
|
39998
39984
|
}; }
|
|
39999
39985
|
}
|
|
40000
39986
|
|
|
40001
|
-
const CSS$
|
|
39987
|
+
const CSS$g = {
|
|
40002
39988
|
container: "split-button__container",
|
|
40003
39989
|
dividerContainer: "split-button__divider-container",
|
|
40004
39990
|
divider: "split-button__divider",
|
|
@@ -40077,13 +40063,13 @@ class SplitButton {
|
|
|
40077
40063
|
}
|
|
40078
40064
|
render() {
|
|
40079
40065
|
const widthClasses = {
|
|
40080
|
-
[CSS$
|
|
40081
|
-
[CSS$
|
|
40082
|
-
[CSS$
|
|
40083
|
-
[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",
|
|
40084
40070
|
};
|
|
40085
40071
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
40086
|
-
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))));
|
|
40087
40073
|
}
|
|
40088
40074
|
get dropdownIcon() {
|
|
40089
40075
|
return this.dropdownIconType === "chevron"
|
|
@@ -40170,25 +40156,25 @@ class Stack {
|
|
|
40170
40156
|
// --------------------------------------------------------------------------
|
|
40171
40157
|
renderActionsStart() {
|
|
40172
40158
|
const { hasActionsStart } = this;
|
|
40173
|
-
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 })));
|
|
40174
40160
|
}
|
|
40175
40161
|
renderActionsEnd() {
|
|
40176
40162
|
const { hasActionsEnd } = this;
|
|
40177
|
-
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 })));
|
|
40178
40164
|
}
|
|
40179
40165
|
renderContentStart() {
|
|
40180
40166
|
const { hasContentStart } = this;
|
|
40181
|
-
return (hAsync("div", { class: CSS$
|
|
40167
|
+
return (hAsync("div", { class: CSS$B.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$g.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
40182
40168
|
}
|
|
40183
40169
|
renderDefaultContent() {
|
|
40184
|
-
return (hAsync("div", { class: CSS$
|
|
40170
|
+
return (hAsync("div", { class: CSS$B.content }, hAsync("slot", null)));
|
|
40185
40171
|
}
|
|
40186
40172
|
renderContentEnd() {
|
|
40187
40173
|
const { hasContentEnd } = this;
|
|
40188
|
-
return (hAsync("div", { class: CSS$
|
|
40174
|
+
return (hAsync("div", { class: CSS$B.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$g.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
40189
40175
|
}
|
|
40190
40176
|
render() {
|
|
40191
|
-
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())));
|
|
40192
40178
|
}
|
|
40193
40179
|
static get style() { return stackCss; }
|
|
40194
40180
|
static get cmpMeta() { return {
|
|
@@ -40462,7 +40448,7 @@ class Stepper {
|
|
|
40462
40448
|
}; }
|
|
40463
40449
|
}
|
|
40464
40450
|
|
|
40465
|
-
const CSS$
|
|
40451
|
+
const CSS$f = {
|
|
40466
40452
|
container: "container",
|
|
40467
40453
|
stepperItemContent: "stepper-item-content",
|
|
40468
40454
|
stepperItemDescription: "stepper-item-description",
|
|
@@ -40606,11 +40592,11 @@ class StepperItem {
|
|
|
40606
40592
|
disconnectMessages(this);
|
|
40607
40593
|
}
|
|
40608
40594
|
render() {
|
|
40609
|
-
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:
|
|
40610
40596
|
/* additional tab index logic needed because of display: contents */
|
|
40611
40597
|
this.layout === "horizontal" && !this.disabled ? 0 : null,
|
|
40612
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)
|
|
40613
|
-
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)))));
|
|
40614
40600
|
}
|
|
40615
40601
|
//--------------------------------------------------------------------------
|
|
40616
40602
|
//
|
|
@@ -40812,7 +40798,12 @@ class Switch {
|
|
|
40812
40798
|
}; }
|
|
40813
40799
|
}
|
|
40814
40800
|
|
|
40815
|
-
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}";
|
|
40816
40807
|
|
|
40817
40808
|
/**
|
|
40818
40809
|
* @slot - A slot for adding custom content.
|
|
@@ -40834,7 +40825,7 @@ class Tab {
|
|
|
40834
40825
|
//--------------------------------------------------------------------------
|
|
40835
40826
|
render() {
|
|
40836
40827
|
const id = this.el.id || this.guid;
|
|
40837
|
-
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)))));
|
|
40838
40829
|
}
|
|
40839
40830
|
connectedCallback() {
|
|
40840
40831
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
@@ -40842,9 +40833,6 @@ class Tab {
|
|
|
40842
40833
|
componentDidLoad() {
|
|
40843
40834
|
this.calciteInternalTabRegister.emit();
|
|
40844
40835
|
}
|
|
40845
|
-
componentWillRender() {
|
|
40846
|
-
this.scale = this.parentTabsEl?.scale;
|
|
40847
|
-
}
|
|
40848
40836
|
disconnectedCallback() {
|
|
40849
40837
|
// Dispatching to body in order to be listened by other elements that are still connected to the DOM.
|
|
40850
40838
|
document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister", {
|
|
@@ -40908,18 +40896,22 @@ class Tab {
|
|
|
40908
40896
|
"$members$": {
|
|
40909
40897
|
"tab": [513],
|
|
40910
40898
|
"selected": [1540],
|
|
40911
|
-
"scale": [
|
|
40899
|
+
"scale": [1],
|
|
40912
40900
|
"labeledBy": [32],
|
|
40913
40901
|
"getTabIndex": [64],
|
|
40914
40902
|
"updateAriaInfo": [64]
|
|
40915
40903
|
},
|
|
40916
40904
|
"$listeners$": [[16, "calciteInternalTabChange", "internalTabChangeHandler"]],
|
|
40917
40905
|
"$lazyBundleId$": "-",
|
|
40918
|
-
"$attrsToReflect$": [["tab", "tab"], ["selected", "selected"]
|
|
40906
|
+
"$attrsToReflect$": [["tab", "tab"], ["selected", "selected"]]
|
|
40919
40907
|
}; }
|
|
40920
40908
|
}
|
|
40921
40909
|
|
|
40922
|
-
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}";
|
|
40923
40915
|
|
|
40924
40916
|
/**
|
|
40925
40917
|
* @slot - A slot for adding `calcite-tab-title`s.
|
|
@@ -40983,9 +40975,6 @@ class TabNav {
|
|
|
40983
40975
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
40984
40976
|
this.resizeObserver?.observe(this.el);
|
|
40985
40977
|
}
|
|
40986
|
-
disconnectedCallback() {
|
|
40987
|
-
this.resizeObserver?.disconnect();
|
|
40988
|
-
}
|
|
40989
40978
|
componentWillLoad() {
|
|
40990
40979
|
const storageKey = `calcite-tab-nav-${this.storageId}`;
|
|
40991
40980
|
if (localStorage && this.storageId && localStorage.getItem(storageKey)) {
|
|
@@ -40996,8 +40985,6 @@ class TabNav {
|
|
|
40996
40985
|
componentWillRender() {
|
|
40997
40986
|
const { parentTabsEl } = this;
|
|
40998
40987
|
this.layout = parentTabsEl?.layout;
|
|
40999
|
-
this.position = parentTabsEl?.position;
|
|
41000
|
-
this.scale = parentTabsEl?.scale;
|
|
41001
40988
|
this.bordered = parentTabsEl?.bordered;
|
|
41002
40989
|
// fix issue with active tab-title not lining up with blue indicator
|
|
41003
40990
|
if (this.selectedTitle) {
|
|
@@ -41016,12 +41003,19 @@ class TabNav {
|
|
|
41016
41003
|
});
|
|
41017
41004
|
}
|
|
41018
41005
|
}
|
|
41006
|
+
disconnectedCallback() {
|
|
41007
|
+
this.resizeObserver?.disconnect();
|
|
41008
|
+
}
|
|
41019
41009
|
render() {
|
|
41020
41010
|
const dir = getElementDir(this.el);
|
|
41021
41011
|
const width = `${this.indicatorWidth}px`;
|
|
41022
41012
|
const offset = `${this.indicatorOffset}px`;
|
|
41023
41013
|
const indicatorStyle = dir !== "rtl" ? { width, left: offset } : { width, right: offset };
|
|
41024
|
-
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,
|
|
41025
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)
|
|
41026
41020
|
ref: (el) => (this.tabNavEl = el) }, hAsync("slot", null), hAsync("div", { class: "tab-nav-active-indicator-container",
|
|
41027
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)
|
|
@@ -41146,9 +41140,9 @@ class TabNav {
|
|
|
41146
41140
|
"storageId": [513, "storage-id"],
|
|
41147
41141
|
"syncId": [513, "sync-id"],
|
|
41148
41142
|
"selectedTitle": [1040],
|
|
41149
|
-
"scale": [
|
|
41143
|
+
"scale": [1],
|
|
41150
41144
|
"layout": [1537],
|
|
41151
|
-
"position": [
|
|
41145
|
+
"position": [1],
|
|
41152
41146
|
"bordered": [1540],
|
|
41153
41147
|
"indicatorOffset": [1026, "indicator-offset"],
|
|
41154
41148
|
"indicatorWidth": [1026, "indicator-width"],
|
|
@@ -41156,7 +41150,7 @@ class TabNav {
|
|
|
41156
41150
|
},
|
|
41157
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"]],
|
|
41158
41152
|
"$lazyBundleId$": "-",
|
|
41159
|
-
"$attrsToReflect$": [["storageId", "storage-id"], ["syncId", "sync-id"], ["
|
|
41153
|
+
"$attrsToReflect$": [["storageId", "storage-id"], ["syncId", "sync-id"], ["layout", "layout"], ["bordered", "bordered"]]
|
|
41160
41154
|
}; }
|
|
41161
41155
|
}
|
|
41162
41156
|
|
|
@@ -41166,15 +41160,15 @@ const CSS$c = {
|
|
|
41166
41160
|
content: "content",
|
|
41167
41161
|
contentHasText: "content--has-text",
|
|
41168
41162
|
iconEnd: "icon-end",
|
|
41169
|
-
iconStart: "icon-start",
|
|
41170
41163
|
iconPresent: "icon-present",
|
|
41164
|
+
iconStart: "icon-start",
|
|
41171
41165
|
titleIcon: "calcite-tab-title--icon",
|
|
41172
41166
|
};
|
|
41173
41167
|
const ICONS$4 = {
|
|
41174
41168
|
close: "x",
|
|
41175
41169
|
};
|
|
41176
41170
|
|
|
41177
|
-
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}";
|
|
41178
41172
|
|
|
41179
41173
|
/**
|
|
41180
41174
|
* Tab-titles are optionally individually closable.
|
|
@@ -41215,8 +41209,8 @@ class TabTitle {
|
|
|
41215
41209
|
this.iconFlipRtl = undefined;
|
|
41216
41210
|
this.iconStart = undefined;
|
|
41217
41211
|
this.layout = undefined;
|
|
41218
|
-
this.position =
|
|
41219
|
-
this.scale =
|
|
41212
|
+
this.position = "top";
|
|
41213
|
+
this.scale = "m";
|
|
41220
41214
|
this.bordered = false;
|
|
41221
41215
|
this.tab = undefined;
|
|
41222
41216
|
this.messages = undefined;
|
|
@@ -41267,15 +41261,8 @@ class TabTitle {
|
|
|
41267
41261
|
componentWillRender() {
|
|
41268
41262
|
if (this.parentTabsEl) {
|
|
41269
41263
|
this.layout = this.parentTabsEl.layout;
|
|
41270
|
-
this.position = this.parentTabsEl.position;
|
|
41271
|
-
this.scale = this.parentTabsEl.scale;
|
|
41272
41264
|
this.bordered = this.parentTabsEl.bordered;
|
|
41273
41265
|
}
|
|
41274
|
-
// handle case when tab-nav is only parent
|
|
41275
|
-
if (!this.parentTabsEl && this.parentTabNavEl) {
|
|
41276
|
-
this.position = getElementProp(this.parentTabNavEl, "position", this.position);
|
|
41277
|
-
this.scale = getElementProp(this.parentTabNavEl, "scale", this.scale);
|
|
41278
|
-
}
|
|
41279
41266
|
}
|
|
41280
41267
|
render() {
|
|
41281
41268
|
const { el, closed } = this;
|
|
@@ -41285,6 +41272,7 @@ class TabTitle {
|
|
|
41285
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: {
|
|
41286
41273
|
container: true,
|
|
41287
41274
|
[CSS$c.iconPresent]: !!this.iconStart || !!this.iconEnd,
|
|
41275
|
+
[`scale-${this.scale}`]: true,
|
|
41288
41276
|
}, hidden: closed,
|
|
41289
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)
|
|
41290
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())));
|
|
@@ -41438,8 +41426,8 @@ class TabTitle {
|
|
|
41438
41426
|
"iconFlipRtl": [513, "icon-flip-rtl"],
|
|
41439
41427
|
"iconStart": [513, "icon-start"],
|
|
41440
41428
|
"layout": [1537],
|
|
41441
|
-
"position": [
|
|
41442
|
-
"scale": [
|
|
41429
|
+
"position": [1],
|
|
41430
|
+
"scale": [1],
|
|
41443
41431
|
"bordered": [1540],
|
|
41444
41432
|
"tab": [513],
|
|
41445
41433
|
"messages": [1040],
|
|
@@ -41454,7 +41442,7 @@ class TabTitle {
|
|
|
41454
41442
|
},
|
|
41455
41443
|
"$listeners$": [[16, "calciteInternalTabChange", "internalTabChangeHandler"], [0, "click", "onClick"], [0, "keydown", "keyDownHandler"]],
|
|
41456
41444
|
"$lazyBundleId$": "-",
|
|
41457
|
-
"$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"]]
|
|
41458
41446
|
}; }
|
|
41459
41447
|
}
|
|
41460
41448
|
|
|
@@ -42350,6 +42338,7 @@ const tabsCss = "/*!@:host*/.sc-calcite-tabs-h{display:flex;flex-direction:colum
|
|
|
42350
42338
|
class Tabs {
|
|
42351
42339
|
constructor(hostRef) {
|
|
42352
42340
|
registerInstance(this, hostRef);
|
|
42341
|
+
this.mutationObserver = createObserver();
|
|
42353
42342
|
this.layout = "inline";
|
|
42354
42343
|
this.position = "top";
|
|
42355
42344
|
this.scale = "m";
|
|
@@ -42357,11 +42346,24 @@ class Tabs {
|
|
|
42357
42346
|
this.titles = [];
|
|
42358
42347
|
this.tabs = [];
|
|
42359
42348
|
}
|
|
42349
|
+
handleInheritableProps() {
|
|
42350
|
+
this.updateItems();
|
|
42351
|
+
}
|
|
42360
42352
|
//--------------------------------------------------------------------------
|
|
42361
42353
|
//
|
|
42362
42354
|
// Lifecycle
|
|
42363
42355
|
//
|
|
42364
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
|
+
}
|
|
42365
42367
|
render() {
|
|
42366
42368
|
return (hAsync(Fragment, null, hAsync("slot", { name: SLOTS$5.titleGroup }), hAsync("section", null, hAsync("slot", null))));
|
|
42367
42369
|
}
|
|
@@ -42406,6 +42408,23 @@ class Tabs {
|
|
|
42406
42408
|
this.registryHandler();
|
|
42407
42409
|
event.stopPropagation();
|
|
42408
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
|
+
}
|
|
42409
42428
|
//--------------------------------------------------------------------------
|
|
42410
42429
|
//
|
|
42411
42430
|
// Private Methods
|
|
@@ -42453,6 +42472,10 @@ class Tabs {
|
|
|
42453
42472
|
this.titles.forEach((el) => el.updateAriaInfo(tabIds, titleIds));
|
|
42454
42473
|
}
|
|
42455
42474
|
get el() { return getElement(this); }
|
|
42475
|
+
static get watchers() { return {
|
|
42476
|
+
"position": ["handleInheritableProps"],
|
|
42477
|
+
"scale": ["handleInheritableProps"]
|
|
42478
|
+
}; }
|
|
42456
42479
|
static get style() { return tabsCss; }
|
|
42457
42480
|
static get cmpMeta() { return {
|
|
42458
42481
|
"$flags$": 9,
|
|
@@ -45791,8 +45814,8 @@ class ValueListItem {
|
|
|
45791
45814
|
const { icon, iconFlipRtl } = this;
|
|
45792
45815
|
if (icon === ICON_TYPES$1.grip) {
|
|
45793
45816
|
return (hAsync("span", { class: {
|
|
45794
|
-
[CSS$
|
|
45795
|
-
[CSS$
|
|
45817
|
+
[CSS$t.handle]: true,
|
|
45818
|
+
[CSS$t.handleActivated]: this.handleActivated,
|
|
45796
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" })));
|
|
45797
45820
|
}
|
|
45798
45821
|
}
|