@esri/calcite-components 1.7.0-next.20 → 1.7.0-next.22
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.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-6f419964.entry.js → p-01804d4c.entry.js} +2 -2
- package/dist/calcite/{p-a0e9ecc4.js → p-0479eef7.js} +2 -2
- package/dist/calcite/p-055219d6.entry.js +6 -0
- package/dist/calcite/{p-971c488c.js → p-070d594f.js} +2 -2
- package/dist/calcite/{p-10edabda.js → p-07a4e017.js} +2 -2
- package/dist/calcite/{p-cdf58f13.js → p-0902343c.js} +2 -2
- package/dist/calcite/{p-696681d4.entry.js → p-094b0c2a.entry.js} +2 -2
- package/dist/calcite/{p-8bda8710.entry.js → p-0967bf21.entry.js} +2 -2
- package/dist/calcite/p-0b1d004e.entry.js +6 -0
- package/dist/calcite/{p-9e2d819d.entry.js → p-0b6381a2.entry.js} +2 -2
- package/dist/calcite/p-0bda099a.entry.js +6 -0
- package/dist/calcite/p-0e1be9e8.entry.js +6 -0
- package/dist/calcite/{p-8a82a72a.entry.js → p-100ffb87.entry.js} +2 -2
- package/dist/calcite/{p-1072f697.js → p-1229fa0b.js} +1 -1
- package/dist/calcite/{p-3dcbdaeb.entry.js → p-163c02b0.entry.js} +2 -2
- package/dist/calcite/{p-40445002.entry.js → p-174f8400.entry.js} +2 -2
- package/dist/calcite/{p-32a009c0.js → p-198e31d7.js} +2 -2
- package/dist/calcite/p-1b256dfe.entry.js +6 -0
- package/dist/calcite/{p-32e7a154.js → p-1f691ff8.js} +1 -1
- package/dist/calcite/{p-5e503ddf.js → p-216f7345.js} +1 -1
- package/dist/calcite/{p-d43a4d60.js → p-23a09d8b.js} +2 -2
- package/dist/calcite/{p-a835e18e.entry.js → p-23f775ae.entry.js} +2 -2
- package/dist/calcite/{p-2fcb0e94.js → p-25424761.js} +2 -2
- package/dist/calcite/p-25664d82.entry.js +6 -0
- package/dist/calcite/p-25a756f5.entry.js +6 -0
- package/dist/calcite/{p-a1737817.js → p-29ec90f2.js} +2 -2
- package/dist/calcite/{p-5010d2ff.js → p-2a0f653c.js} +2 -2
- package/dist/calcite/{p-3763a94d.entry.js → p-2a72cbb7.entry.js} +2 -2
- package/dist/calcite/{p-20ab6559.js → p-2b0282d1.js} +1 -1
- package/dist/calcite/{p-66d2625a.js → p-2b2a4da7.js} +2 -2
- package/dist/calcite/{p-12a870da.js → p-2b5729d9.js} +2 -2
- package/dist/calcite/{p-d0ebf4c4.js → p-3039e6a6.js} +2 -2
- package/dist/calcite/{p-f1a9ed23.js → p-370e0cba.js} +1 -1
- package/dist/calcite/{p-72162656.js → p-38475619.js} +2 -2
- package/dist/calcite/{p-c72f54de.entry.js → p-386782f1.entry.js} +2 -2
- package/dist/calcite/p-3906bf59.js +6 -0
- package/dist/calcite/p-3f76070b.entry.js +6 -0
- package/dist/calcite/{p-0b485d36.js → p-400a8eaf.js} +2 -2
- package/dist/calcite/{p-8b64c992.js → p-4142cb00.js} +2 -2
- package/dist/calcite/{p-cff6620b.js → p-4243debf.js} +2 -2
- package/dist/calcite/{p-d01da366.entry.js → p-443fe438.entry.js} +2 -2
- package/dist/calcite/p-45e01bea.entry.js +6 -0
- package/dist/calcite/{p-4c63e55f.js → p-45e7246e.js} +1 -1
- package/dist/calcite/p-48a6ae6d.js +6 -0
- package/dist/calcite/{p-79fecd10.entry.js → p-49b4fda3.entry.js} +2 -2
- package/dist/calcite/{p-ed6e0845.entry.js → p-49eadd89.entry.js} +2 -2
- package/dist/calcite/{p-d4dc20f3.entry.js → p-4b12af3a.entry.js} +2 -2
- package/dist/calcite/{p-a1779111.entry.js → p-4b2485c1.entry.js} +2 -2
- package/dist/calcite/{p-b4ed25ef.entry.js → p-4bec5261.entry.js} +2 -2
- package/dist/calcite/{p-d974298a.js → p-4c1b6a79.js} +2 -2
- package/dist/calcite/{p-b3c0b47e.entry.js → p-4ea6cb2a.entry.js} +2 -2
- package/dist/calcite/{p-72b1e772.entry.js → p-50c4cafa.entry.js} +2 -2
- package/dist/calcite/{p-1459127a.entry.js → p-51cabfed.entry.js} +2 -2
- package/dist/calcite/{p-cd0d88fe.entry.js → p-53cb3f7e.entry.js} +2 -2
- package/dist/calcite/{p-e5b87bab.js → p-5532a1e1.js} +2 -2
- package/dist/calcite/{p-cee985a2.js → p-559acb21.js} +2 -2
- package/dist/calcite/{p-cd52e5e6.js → p-5611a71a.js} +2 -2
- package/dist/calcite/{p-5e23ccba.js → p-592dac4a.js} +2 -2
- package/dist/calcite/{p-a4b172ec.entry.js → p-59fa90ef.entry.js} +2 -2
- package/dist/calcite/{p-a4bc82c2.js → p-5bb5ed08.js} +2 -2
- package/dist/calcite/{p-9d721a0c.entry.js → p-5cb9d6c8.entry.js} +2 -2
- package/dist/calcite/{p-6a10c08d.js → p-5d3a985c.js} +2 -2
- package/dist/calcite/{p-8711cfe3.entry.js → p-5ef45d46.entry.js} +2 -2
- package/dist/calcite/{p-8216acf5.entry.js → p-5f060aff.entry.js} +2 -2
- package/dist/calcite/{p-3e2bed55.entry.js → p-612fbb51.entry.js} +2 -2
- package/dist/calcite/{p-479102a9.js → p-63bc6404.js} +1 -1
- package/dist/calcite/{p-6e41acd6.js → p-662d2538.js} +2 -2
- package/dist/calcite/{p-88d0e5ff.js → p-6719d0dd.js} +1 -1
- package/dist/calcite/{p-0937973d.js → p-6a6d710f.js} +2 -2
- package/dist/calcite/{p-8941ac4e.js → p-6b08b450.js} +1 -1
- package/dist/calcite/{p-312ac7d1.js → p-6e7d0b97.js} +2 -2
- package/dist/calcite/{p-c25b026e.js → p-7062dcf0.js} +2 -2
- package/dist/calcite/{p-2f6435ed.js → p-7c9a5dfd.js} +1 -1
- package/dist/calcite/{p-86993565.js → p-7dafe716.js} +2 -2
- package/dist/calcite/{p-1ad2a366.js → p-7edb9dc8.js} +2 -2
- package/dist/calcite/{p-e40a8bce.entry.js → p-8309a725.entry.js} +2 -2
- package/dist/calcite/{p-6c6585f3.entry.js → p-8341f010.entry.js} +2 -2
- package/dist/calcite/p-839e859a.entry.js +6 -0
- package/dist/calcite/{p-4378ac13.entry.js → p-850b3ac9.entry.js} +2 -2
- package/dist/calcite/{p-7d399ecf.entry.js → p-892ae6ae.entry.js} +2 -2
- package/dist/calcite/{p-40b0c095.entry.js → p-8a02c803.entry.js} +2 -2
- package/dist/calcite/{p-055d6bb8.js → p-8b14678e.js} +2 -2
- package/dist/calcite/{p-451b0d40.entry.js → p-91ff342e.entry.js} +2 -2
- package/dist/calcite/{p-eb0ecd49.js → p-9215fdf4.js} +3 -3
- package/dist/calcite/{p-3d2166bf.entry.js → p-93256936.entry.js} +2 -2
- package/dist/calcite/{p-e7b49414.js → p-94c640a5.js} +2 -2
- package/dist/calcite/p-967e77e9.js +6 -0
- package/dist/calcite/{p-ba656362.js → p-979d53ee.js} +2 -2
- package/dist/calcite/{p-196d9a93.js → p-97c56eec.js} +2 -2
- package/dist/calcite/{p-20b870e7.entry.js → p-9cd69a1e.entry.js} +2 -2
- package/dist/calcite/{p-d5de6d89.entry.js → p-9e3014e8.entry.js} +2 -2
- package/dist/calcite/{p-c3f89fbe.entry.js → p-a240e249.entry.js} +2 -2
- package/dist/calcite/{p-617de4fd.js → p-a5f11fcf.js} +2 -2
- package/dist/calcite/{p-35cbd25c.js → p-a867595a.js} +2 -2
- package/dist/calcite/{p-400c792e.js → p-a90dda70.js} +2 -2
- package/dist/calcite/{p-b2e59eca.js → p-aa3e2685.js} +2 -2
- package/dist/calcite/{p-82b60f2a.js → p-ac19b0c6.js} +2 -2
- package/dist/calcite/{p-eefd5d17.js → p-b28fd46f.js} +2 -2
- package/dist/calcite/{p-07c9c175.entry.js → p-b4ea0825.entry.js} +2 -2
- package/dist/calcite/{p-367661b7.entry.js → p-b4feb70d.entry.js} +2 -2
- package/dist/calcite/{p-3ce64b1b.entry.js → p-b589a7ba.entry.js} +2 -2
- package/dist/calcite/{p-b53f2980.entry.js → p-b6e0828d.entry.js} +2 -2
- package/dist/calcite/{p-aa5f0aec.entry.js → p-b9f1609f.entry.js} +2 -2
- package/dist/calcite/p-bcde6cf7.entry.js +6 -0
- package/dist/calcite/{p-0ba82898.entry.js → p-c1685f0b.entry.js} +2 -2
- package/dist/calcite/p-c3b66e71.js +6 -0
- package/dist/calcite/{p-da0fe9e9.js → p-c41142b5.js} +1 -1
- package/dist/calcite/{p-307c56bc.js → p-c5b3a0ed.js} +2 -2
- package/dist/calcite/{p-09dd926f.js → p-c5ffa871.js} +2 -2
- package/dist/calcite/{p-b392b026.js → p-c8b32c8d.js} +2 -2
- package/dist/calcite/{p-c54f72e8.entry.js → p-ccc815cb.entry.js} +2 -2
- package/dist/calcite/{p-5d40d6df.js → p-cdf39c44.js} +2 -2
- package/dist/calcite/p-cdf76933.js +6 -0
- package/dist/calcite/{p-5ba139c0.entry.js → p-ce17cf67.entry.js} +2 -2
- package/dist/calcite/p-cfc60e2a.js +6 -0
- package/dist/calcite/p-d0524da7.js +6 -0
- package/dist/calcite/{p-5c08d3ed.js → p-d12e8719.js} +2 -2
- package/dist/calcite/{p-9d575311.js → p-d5363e91.js} +2 -2
- package/dist/calcite/{p-9e8080cf.js → p-d63f8884.js} +1 -1
- package/dist/calcite/{p-d02205f3.js → p-d6b2bde0.js} +1 -1
- package/dist/calcite/{p-49f417e9.js → p-d719d84d.js} +1 -1
- package/dist/calcite/{p-4ff9ddca.js → p-d902eaf9.js} +2 -2
- package/dist/calcite/{p-73dee48d.js → p-d90a723d.js} +2 -2
- package/dist/calcite/{p-105923b8.js → p-d9609986.js} +2 -2
- package/dist/calcite/{p-a818fdc2.js → p-d9c2f772.js} +1 -1
- package/dist/calcite/{p-c7d58e77.entry.js → p-dad2d5c4.entry.js} +2 -2
- package/dist/calcite/{p-2f5f993d.entry.js → p-dd0e743e.entry.js} +2 -2
- package/dist/calcite/{p-4cd8a908.entry.js → p-dd1e7336.entry.js} +2 -2
- package/dist/calcite/{p-becffd47.entry.js → p-dd82beed.entry.js} +2 -2
- package/dist/calcite/{p-d1e91f3f.js → p-ddf2164a.js} +2 -2
- package/dist/calcite/{p-14fec0cc.js → p-ddf40cbc.js} +2 -2
- package/dist/calcite/{p-bf786574.entry.js → p-df171570.entry.js} +2 -2
- package/dist/calcite/{p-b56027a5.js → p-e19053b6.js} +2 -2
- package/dist/calcite/{p-61197d3b.entry.js → p-e41ee19e.entry.js} +2 -2
- package/dist/calcite/{p-b99be95f.js → p-e637e863.js} +2 -2
- package/dist/calcite/{p-4270a61d.entry.js → p-e6a5fb8a.entry.js} +2 -2
- package/dist/calcite/{p-d6c48df2.js → p-e863f421.js} +2 -2
- package/dist/calcite/{p-3751ccec.entry.js → p-e88cd5b4.entry.js} +2 -2
- package/dist/calcite/{p-0ddac448.entry.js → p-e902ba6b.entry.js} +2 -2
- package/dist/calcite/{p-984ea7d0.js → p-eaa9f4f0.js} +2 -2
- package/dist/calcite/{p-e5223c2c.js → p-eb773e1d.js} +2 -2
- package/dist/calcite/{p-1cdc7d99.entry.js → p-ee0fa4ff.entry.js} +2 -2
- package/dist/calcite/{p-b4955122.js → p-f355f8e6.js} +2 -2
- package/dist/calcite/{p-efa34525.entry.js → p-f3717a90.entry.js} +2 -2
- package/dist/calcite/{p-cbd2c542.entry.js → p-f44893b6.entry.js} +2 -2
- package/dist/calcite/{p-c6b0ab7b.entry.js → p-f6560fe4.entry.js} +2 -2
- package/dist/calcite/p-f6874af1.js +6 -0
- package/dist/calcite/{p-fa1d38a8.js → p-f7f46134.js} +2 -2
- package/dist/calcite/{p-3e4b8bea.js → p-f9115437.js} +2 -2
- package/dist/calcite/{p-536f91a8.entry.js → p-f931ae79.entry.js} +2 -2
- package/dist/calcite/{p-069834a4.js → p-fa2153f1.js} +2 -2
- package/dist/calcite/{p-f1aafe0d.entry.js → p-fb95772c.entry.js} +2 -2
- package/dist/calcite/{p-8f91c7be.entry.js → p-fca2e955.entry.js} +2 -2
- package/dist/calcite/{p-8fca15c9.js → p-fcc92451.js} +2 -2
- package/dist/calcite/{p-f5e5941b.entry.js → p-fe441910.entry.js} +2 -2
- package/dist/calcite/{p-6eddbdd6.js → p-ff0cee38.js} +2 -2
- package/dist/cjs/{ExpandToggle-def7f3d2.js → ExpandToggle-e5bd685f.js} +5 -5
- package/dist/cjs/{FloatingArrow-8a6dee60.js → FloatingArrow-6f326dea.js} +2 -2
- package/dist/cjs/{Heading-62a73972.js → Heading-0fa4d552.js} +2 -2
- package/dist/cjs/{app-globals-8ea77e20.js → app-globals-4507b933.js} +2 -2
- package/dist/cjs/{ar-0919e98a.js → ar-9d595861.js} +17 -17
- package/dist/cjs/{array-ac2e9448.js → array-7ae92a57.js} +1 -1
- package/dist/cjs/{bg-70ac9c90.js → bg-299f0494.js} +17 -17
- package/dist/cjs/{browser-8d31dfd0.js → browser-02adc85a.js} +1 -1
- package/dist/cjs/{bs-0221cfaa.js → bs-09a8b364.js} +17 -17
- package/dist/cjs/{ca-1a537105.js → ca-55ba86a2.js} +17 -17
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- 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 +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +44 -40
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- 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 +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- 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 +19 -19
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-7565deb6.js → calcite-input-time-picker.calcite-time-picker-131374ac.js} +61 -61
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- 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 +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- 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 +16 -16
- 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 +11 -11
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
- 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 +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-82e34115.js → conditionalSlot-244e81dc.js} +3 -3
- package/dist/cjs/{cs-2420cc8f.js → cs-7218f877.js} +17 -17
- package/dist/cjs/{da-475f4fc2.js → da-df340b11.js} +17 -17
- package/dist/cjs/{de-8c18e85c.js → de-3dba774f.js} +17 -17
- package/dist/cjs/{de-at-40b9bfa0.js → de-at-9095a16a.js} +17 -17
- package/dist/cjs/{de-ch-ff0409a8.js → de-ch-5bdd5c7d.js} +17 -17
- package/dist/cjs/{debounce-684fc180.js → debounce-4af02ee5.js} +1 -1
- package/dist/cjs/{dom-77952532.js → dom-c0dc3c3f.js} +3 -3
- package/dist/cjs/{el-cd40fe8a.js → el-b78f6957.js} +17 -17
- package/dist/cjs/{en-au-b1790f46.js → en-au-643f458e.js} +17 -17
- package/dist/cjs/{en-ca-38304be0.js → en-ca-01a41342.js} +17 -17
- package/dist/cjs/{en-gb-6bdc6c3f.js → en-gb-6efd01b4.js} +17 -17
- package/dist/cjs/{es-9cd64fd5.js → es-b3a311f2.js} +17 -17
- package/dist/cjs/{es-mx-5ae583cb.js → es-mx-6d632403.js} +17 -17
- package/dist/cjs/{et-93c45728.js → et-a6204e79.js} +17 -17
- package/dist/cjs/{fi-56d2b58e.js → fi-19e1e114.js} +17 -17
- package/dist/cjs/{filter-1836ca44.js → filter-d070429b.js} +2 -2
- package/dist/cjs/{floating-ui-7abcf5b5.js → floating-ui-f02147cd.js} +3 -3
- package/dist/cjs/{focusTrapComponent-69f9e266.js → focusTrapComponent-b2854699.js} +2 -2
- package/dist/cjs/{form-0927c805.js → form-df2919ba.js} +3 -3
- package/dist/cjs/{fr-10b7a5a7.js → fr-6fd4a8d9.js} +17 -17
- package/dist/cjs/{fr-ch-3443072b.js → fr-ch-10c58b07.js} +17 -17
- package/dist/cjs/{guid-d336975c.js → guid-aab0c5b7.js} +1 -1
- package/dist/cjs/{he-bfb26ef2.js → he-33cdf866.js} +17 -17
- package/dist/cjs/{hi-17c9cdd3.js → hi-868f3126.js} +17 -17
- package/dist/cjs/{hr-95393487.js → hr-49fa4d08.js} +17 -17
- package/dist/cjs/{hu-9c3dc34c.js → hu-ebee507e.js} +17 -17
- package/dist/cjs/{id-e93b691d.js → id-8853e0c1.js} +17 -17
- package/dist/cjs/{index-c8d9234f.js → index-42dbee20.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-563a94c5.js → interactive-0e1326e2.js} +2 -2
- package/dist/cjs/{it-8f400bf7.js → it-78b07145.js} +17 -17
- package/dist/cjs/{it-ch-2e42084e.js → it-ch-8a8a3151.js} +17 -17
- package/dist/cjs/{ja-5883a7b1.js → ja-6c9f5189.js} +17 -17
- package/dist/cjs/{key-67f06f67.js → key-fbde518f.js} +1 -1
- package/dist/cjs/{ko-e3233577.js → ko-36898de4.js} +17 -17
- package/dist/cjs/{label-2a319c69.js → label-676600b1.js} +2 -2
- package/dist/cjs/{loadable-bfd95db2.js → loadable-7d25b1b4.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-69953dd8.js → locale-470a94da.js} +5 -5
- package/dist/cjs/{lt-7a5b443b.js → lt-9ec442f1.js} +17 -17
- package/dist/cjs/{lv-5db9b6d0.js → lv-617b0d64.js} +17 -17
- package/dist/cjs/{math-c50fec91.js → math-eab4f780.js} +1 -1
- package/dist/cjs/{mk-1ecd2a0b.js → mk-c1ee7416.js} +17 -17
- package/dist/cjs/{nb-5fe59c75.js → nb-92b709c1.js} +17 -17
- package/dist/cjs/{nl-8603e89c.js → nl-cdfd6be4.js} +17 -17
- package/dist/cjs/{observers-dc337b6a.js → observers-8f668f48.js} +1 -1
- package/dist/cjs/{openCloseComponent-2dd6927e.js → openCloseComponent-0ce4e7a0.js} +2 -2
- package/dist/cjs/{pl-42663c31.js → pl-1f104376.js} +17 -17
- package/dist/cjs/{pt-f0ea693e.js → pt-35c490aa.js} +17 -17
- package/dist/cjs/{pt-br-c4faac57.js → pt-br-eb34bfb0.js} +17 -17
- package/dist/cjs/{resources-7023a391.js → resources-276d512d.js} +1 -1
- package/dist/cjs/{resources-60a27062.js → resources-3dc55f63.js} +1 -1
- package/dist/cjs/{resources-c24ce712.js → resources-4cfbc6fc.js} +1 -1
- package/dist/cjs/{resources-2e83efa7.js → resources-6ae010d7.js} +5 -5
- package/dist/cjs/{resources-ae431f8b.js → resources-6df789c7.js} +1 -1
- package/dist/cjs/{resources-f1b195c2.js → resources-8cba5a89.js} +1 -1
- package/dist/cjs/{resources-11c578da.js → resources-f8360297.js} +1 -1
- package/dist/cjs/{ro-e8247edb.js → ro-add90927.js} +17 -17
- package/dist/cjs/{ru-02bf0b09.js → ru-518c2534.js} +17 -17
- package/dist/cjs/{sk-15695153.js → sk-d4899b1c.js} +17 -17
- package/dist/cjs/{sl-7a808853.js → sl-5f3ab929.js} +17 -17
- package/dist/cjs/{sortableComponent-67b2c9f0.js → sortableComponent-f8775296.js} +7 -1
- package/dist/cjs/{sr-11bfb1fe.js → sr-d63932a8.js} +17 -17
- package/dist/cjs/{sv-d1a1186a.js → sv-93a6faeb.js} +17 -17
- package/dist/cjs/{t9n-a884e96d.js → t9n-b6ad3e2a.js} +3 -3
- package/dist/cjs/{th-12662f1c.js → th-e8234af5.js} +17 -17
- package/dist/cjs/{throttle-07ce1c30.js → throttle-ce654ca0.js} +2 -2
- package/dist/cjs/{tr-e4e5d736.js → tr-c284f559.js} +17 -17
- package/dist/cjs/{uk-d28f2691.js → uk-81184487.js} +17 -17
- package/dist/cjs/{utils-e311226d.js → utils-3b841abb.js} +3 -3
- package/dist/cjs/{utils-6eb1a261.js → utils-a6202a16.js} +1 -1
- package/dist/cjs/{vi-3faba2c0.js → vi-7388285d.js} +17 -17
- package/dist/cjs/{zh-cn-019e5854.js → zh-cn-ab1e3b59.js} +17 -17
- package/dist/cjs/{zh-hk-c75f0f4d.js → zh-hk-60c47b87.js} +17 -17
- package/dist/cjs/{zh-tw-ccd43dde.js → zh-tw-4d6891a4.js} +17 -17
- package/dist/collection/components/accordion/accordion.js +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.js +1 -1
- package/dist/collection/components/action/resources.js +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.js +1 -1
- package/dist/collection/components/action-group/resources.js +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.js +1 -1
- package/dist/collection/components/action-pad/resources.js +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.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +4 -9
- package/dist/collection/components/block/resources.js +13 -15
- package/dist/collection/components/block-section/block-section.css +12 -1
- package/dist/collection/components/block-section/block-section.js +8 -11
- package/dist/collection/components/block-section/resources.js +10 -8
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +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.js +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.js +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.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.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +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.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.js +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.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +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.js +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.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +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.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.js +1 -1
- package/dist/collection/components/graph/util.js +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.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.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +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.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.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +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.js +1 -1
- package/dist/collection/components/input-text/resources.js +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.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +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.js +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.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.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +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.js +1 -1
- package/dist/collection/components/meter/resources.js +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.js +1 -1
- package/dist/collection/components/navigation/resources.js +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.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +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.js +1 -1
- package/dist/collection/components/option-group/option-group.js +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.js +1 -1
- package/dist/collection/components/panel/resources.js +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.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +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.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +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.js +1 -1
- package/dist/collection/components/rating/function/star.js +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.js +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.js +1 -1
- package/dist/collection/components/select/resources.js +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.js +1 -1
- package/dist/collection/components/shell/resources.js +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.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +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.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +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.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +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.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.js +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.js +1 -1
- package/dist/collection/components/text-area/resources.js +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.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +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.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +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.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.js +1 -1
- package/dist/collection/components/tooltip/utils.js +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.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.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +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/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 +2 -2
- 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/sortableComponent.js +7 -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 +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +25 -16
- package/dist/components/calcite-block.js +15 -16
- 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 +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 +1 -1
- 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 +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- 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/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/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 +1 -1
- 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/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 +7 -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 +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -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-bf01ecd2.js → ExpandToggle-6fd25e37.js} +5 -5
- package/dist/esm/{FloatingArrow-b37c4e24.js → FloatingArrow-cc2b53e5.js} +2 -2
- package/dist/esm/{Heading-fc343afb.js → Heading-f936e351.js} +2 -2
- package/dist/esm/{app-globals-f0972201.js → app-globals-325e16b3.js} +2 -2
- package/dist/esm/{ar-dc5d5eb9.js → ar-7567488a.js} +17 -17
- package/dist/esm/{array-d5d9c2cb.js → array-ecd49b54.js} +1 -1
- package/dist/esm/{bg-c6d85d66.js → bg-c9db4092.js} +17 -17
- package/dist/esm/{browser-fb93549e.js → browser-e8d27a06.js} +1 -1
- package/dist/esm/{bs-b0536806.js → bs-9cffb5cf.js} +17 -17
- package/dist/esm/{ca-24a9039c.js → ca-c60c0106.js} +17 -17
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- 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 +12 -12
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +44 -40
- package/dist/esm/calcite-button.entry.js +14 -14
- 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 +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +19 -19
- package/dist/esm/calcite-date-picker_4.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- 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 +19 -19
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-0b9bb8bd.js → calcite-input-time-picker.calcite-time-picker-02324722.js} +61 -61
- package/dist/esm/calcite-input-time-picker_2.entry.js +17 -17
- package/dist/esm/calcite-input-time-zone.entry.js +14 -14
- package/dist/esm/calcite-input.entry.js +14 -14
- 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 +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +10 -10
- 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 +16 -16
- 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 +11 -11
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +12 -12
- package/dist/esm/calcite-table-row.entry.js +8 -8
- 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 +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-4fdf14d0.js → conditionalSlot-feb04c38.js} +3 -3
- package/dist/esm/{cs-7f026d6e.js → cs-cd53a67f.js} +17 -17
- package/dist/esm/{da-736247cb.js → da-26579605.js} +17 -17
- package/dist/esm/{de-ebb2bc6b.js → de-2d28b5b8.js} +17 -17
- package/dist/esm/{de-at-b4279b8d.js → de-at-9fe4b1e2.js} +17 -17
- package/dist/esm/{de-ch-6580c1b9.js → de-ch-41aa4dae.js} +17 -17
- package/dist/esm/{debounce-34f3c4be.js → debounce-fce0d5a1.js} +1 -1
- package/dist/esm/{dom-eb9ed12e.js → dom-8982a4ab.js} +3 -3
- package/dist/esm/{el-730ddbc3.js → el-49eb343a.js} +17 -17
- package/dist/esm/{en-au-bfb98549.js → en-au-7eb22bdc.js} +17 -17
- package/dist/esm/{en-ca-225c14d9.js → en-ca-36615e15.js} +17 -17
- package/dist/esm/{en-gb-29d1734a.js → en-gb-3f764190.js} +17 -17
- package/dist/esm/{es-8bda714a.js → es-d20c4b61.js} +17 -17
- package/dist/esm/{es-mx-3bce6974.js → es-mx-61b60b16.js} +17 -17
- package/dist/esm/{et-02f4389e.js → et-d1c683a9.js} +17 -17
- package/dist/esm/{fi-7496ec18.js → fi-07974dc6.js} +17 -17
- package/dist/esm/{filter-d108563c.js → filter-6ca91e59.js} +2 -2
- package/dist/esm/{floating-ui-7ffce343.js → floating-ui-1a0ab213.js} +3 -3
- package/dist/esm/{focusTrapComponent-eec4c2fc.js → focusTrapComponent-4752a85d.js} +2 -2
- package/dist/esm/{form-937a946e.js → form-5074a236.js} +3 -3
- package/dist/esm/{fr-ch-4c7b9f67.js → fr-ch-2c0a005f.js} +17 -17
- package/dist/esm/{fr-24d1e219.js → fr-d2d89c1a.js} +17 -17
- package/dist/esm/{guid-fcfb8074.js → guid-dba67ec9.js} +1 -1
- package/dist/esm/{he-ac074cc1.js → he-c149223a.js} +17 -17
- package/dist/esm/{hi-2f1a20cf.js → hi-61169570.js} +17 -17
- package/dist/esm/{hr-d5ca7d7b.js → hr-6d8a93cf.js} +17 -17
- package/dist/esm/{hu-ec643f60.js → hu-d8a44695.js} +17 -17
- package/dist/esm/{id-45ed80f5.js → id-0d1d2613.js} +17 -17
- package/dist/esm/{index-48e53579.js → index-e79b8ea3.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-ba74ca2d.js → interactive-efdba674.js} +2 -2
- package/dist/esm/{it-ch-927b6d33.js → it-ch-6db6ef1e.js} +17 -17
- package/dist/esm/{it-8c21912c.js → it-dbc3cc57.js} +17 -17
- package/dist/esm/{ja-8d9b19d6.js → ja-351011e3.js} +17 -17
- package/dist/esm/{key-3b128d32.js → key-17a315be.js} +1 -1
- package/dist/esm/{ko-98b28aa0.js → ko-e38f5da6.js} +17 -17
- package/dist/esm/{label-84ff1fd7.js → label-ba46c75b.js} +2 -2
- package/dist/esm/{loadable-4f21a400.js → loadable-66576501.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-586f5b71.js → locale-541ce575.js} +5 -5
- package/dist/esm/{lt-2fd9c457.js → lt-4d3ccedd.js} +17 -17
- package/dist/esm/{lv-ce9645eb.js → lv-afb2aa9e.js} +17 -17
- package/dist/esm/{math-1f0ebea1.js → math-ec9d11a0.js} +1 -1
- package/dist/esm/{mk-735896fb.js → mk-6d8e440f.js} +17 -17
- package/dist/esm/{nb-e14f7956.js → nb-b5e09e8f.js} +17 -17
- package/dist/esm/{nl-fa74195c.js → nl-a283adbd.js} +17 -17
- package/dist/esm/{observers-bfee814c.js → observers-adf2b052.js} +1 -1
- package/dist/esm/{openCloseComponent-64429027.js → openCloseComponent-9f9a3b05.js} +2 -2
- package/dist/esm/{pl-5e3e7a05.js → pl-afffc831.js} +17 -17
- package/dist/esm/{pt-c33a58d4.js → pt-05ce6b9a.js} +17 -17
- package/dist/esm/{pt-br-48ddf109.js → pt-br-69b93f3f.js} +17 -17
- package/dist/esm/{resources-f54ff9c1.js → resources-22923ccc.js} +1 -1
- package/dist/esm/{resources-07b9639a.js → resources-29df5828.js} +1 -1
- package/dist/esm/{resources-0a588f67.js → resources-72356da1.js} +1 -1
- package/dist/esm/{resources-6906d92c.js → resources-736809e3.js} +1 -1
- package/dist/esm/{resources-85cedfb1.js → resources-9edefe11.js} +5 -5
- package/dist/esm/{resources-b136d07a.js → resources-ac989eb1.js} +1 -1
- package/dist/esm/{resources-eec9fd94.js → resources-ce16f9b8.js} +1 -1
- package/dist/esm/{ro-329faf55.js → ro-c28cac78.js} +17 -17
- package/dist/esm/{ru-b5eb9129.js → ru-d245e2d1.js} +17 -17
- package/dist/esm/{sk-e8b0932c.js → sk-7231c11b.js} +17 -17
- package/dist/esm/{sl-91529298.js → sl-640598b7.js} +17 -17
- package/dist/esm/{sortableComponent-92af37a5.js → sortableComponent-63fb82a5.js} +7 -1
- package/dist/esm/{sr-8874557a.js → sr-6c40a896.js} +17 -17
- package/dist/esm/{sv-bf6ef885.js → sv-a519cae6.js} +17 -17
- package/dist/esm/{t9n-581c3dfd.js → t9n-6a285ab3.js} +3 -3
- package/dist/esm/{th-d5b37298.js → th-6ac3fe5a.js} +17 -17
- package/dist/esm/{throttle-f35afd15.js → throttle-ea980106.js} +2 -2
- package/dist/esm/{tr-8f6f0201.js → tr-58daedf3.js} +17 -17
- package/dist/esm/{uk-17138c0f.js → uk-0ef74f75.js} +17 -17
- package/dist/esm/{utils-ce8053c5.js → utils-4bf6252b.js} +1 -1
- package/dist/esm/{utils-710f7474.js → utils-a9b951c5.js} +3 -3
- package/dist/esm/{vi-6c858f27.js → vi-2002d502.js} +17 -17
- package/dist/esm/{zh-cn-cdd90cbc.js → zh-cn-81aa5986.js} +17 -17
- package/dist/esm/{zh-hk-93c71409.js → zh-hk-fe8c9b32.js} +17 -17
- package/dist/esm/{zh-tw-1017b068.js → zh-tw-a51130ff.js} +17 -17
- package/dist/extras/docs-json.json +7 -1
- 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/block/block.d.ts +0 -1
- package/dist/types/components/block/resources.d.ts +12 -14
- package/dist/types/components/block-section/block-section.d.ts +0 -1
- package/dist/types/components/block-section/resources.d.ts +9 -7
- package/dist/types/utils/sortableComponent.d.ts +5 -0
- package/hydrate/index.js +311 -301
- package/package.json +2 -2
- package/dist/calcite/p-04795428.entry.js +0 -6
- package/dist/calcite/p-15ec5ff0.entry.js +0 -6
- package/dist/calcite/p-31d73bd1.js +0 -6
- package/dist/calcite/p-34f86a98.js +0 -6
- package/dist/calcite/p-4341f02a.entry.js +0 -6
- package/dist/calcite/p-43c766ad.entry.js +0 -6
- package/dist/calcite/p-44c18974.js +0 -6
- package/dist/calcite/p-519eb2bd.entry.js +0 -6
- package/dist/calcite/p-56484b88.js +0 -6
- package/dist/calcite/p-6bcc994c.js +0 -6
- package/dist/calcite/p-91844d4a.js +0 -6
- package/dist/calcite/p-950e50a2.entry.js +0 -6
- package/dist/calcite/p-9e439821.entry.js +0 -6
- package/dist/calcite/p-a087ffd2.entry.js +0 -6
- package/dist/calcite/p-a5985717.js +0 -6
- package/dist/calcite/p-b9dbd137.entry.js +0 -6
- package/dist/calcite/p-c00aef7a.js +0 -6
- package/dist/calcite/p-d10a0d89.entry.js +0 -6
- package/dist/calcite/p-ed8b861e.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.7.0-next.
|
|
4
|
+
* v1.7.0-next.22
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6989,7 +6989,7 @@ const SLOTS$z = {
|
|
|
6989
6989
|
actionsStart: "actions-start",
|
|
6990
6990
|
actionsEnd: "actions-end",
|
|
6991
6991
|
};
|
|
6992
|
-
const CSS$
|
|
6992
|
+
const CSS$1c = {
|
|
6993
6993
|
icon: "icon",
|
|
6994
6994
|
header: "header",
|
|
6995
6995
|
headerContent: "header-content",
|
|
@@ -7004,7 +7004,7 @@ const CSS$1b = {
|
|
|
7004
7004
|
iconEnd: "icon--end",
|
|
7005
7005
|
headerContainer: "header-container",
|
|
7006
7006
|
};
|
|
7007
|
-
const IDS = {
|
|
7007
|
+
const IDS$2 = {
|
|
7008
7008
|
section: "section",
|
|
7009
7009
|
sectionToggle: "section-toggle",
|
|
7010
7010
|
};
|
|
@@ -7057,28 +7057,28 @@ class AccordionItem {
|
|
|
7057
7057
|
// --------------------------------------------------------------------------
|
|
7058
7058
|
renderActionsStart() {
|
|
7059
7059
|
const { el } = this;
|
|
7060
|
-
return getSlotted(el, SLOTS$z.actionsStart) ? (hAsync("div", { class: CSS$
|
|
7060
|
+
return getSlotted(el, SLOTS$z.actionsStart) ? (hAsync("div", { class: CSS$1c.actionsStart }, hAsync("slot", { name: SLOTS$z.actionsStart }))) : null;
|
|
7061
7061
|
}
|
|
7062
7062
|
renderActionsEnd() {
|
|
7063
7063
|
const { el } = this;
|
|
7064
|
-
return getSlotted(el, SLOTS$z.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
7064
|
+
return getSlotted(el, SLOTS$z.actionsEnd) ? (hAsync("div", { class: CSS$1c.actionsEnd }, hAsync("slot", { name: SLOTS$z.actionsEnd }))) : null;
|
|
7065
7065
|
}
|
|
7066
7066
|
render() {
|
|
7067
7067
|
const { iconFlipRtl } = this;
|
|
7068
7068
|
const dir = getElementDir(this.el);
|
|
7069
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
7070
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
7069
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$1c.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7070
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$1c.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7071
7071
|
const { description } = this;
|
|
7072
7072
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
7073
7073
|
[`icon-position--${this.iconPosition}`]: true,
|
|
7074
7074
|
[`icon-type--${this.iconType}`]: true,
|
|
7075
|
-
} }, hAsync("div", { class: { [CSS$
|
|
7075
|
+
} }, hAsync("div", { class: { [CSS$1c.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-controls": IDS$2.section, "aria-expanded": toAriaBoolean(this.expanded), class: CSS$1c.headerContent, id: IDS$2.sectionToggle, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$1c.headerContainer }, iconStartEl, hAsync("div", { class: CSS$1c.headerText }, hAsync("span", { class: CSS$1c.heading }, this.heading), description ? hAsync("span", { class: CSS$1c.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$1c.expandIcon, icon: this.iconType === "chevron"
|
|
7076
7076
|
? "chevronDown"
|
|
7077
7077
|
: this.iconType === "caret"
|
|
7078
7078
|
? "caretDown"
|
|
7079
7079
|
: this.expanded
|
|
7080
7080
|
? "minus"
|
|
7081
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("section", { "aria-labelledby": IDS.sectionToggle, class: CSS$
|
|
7081
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("section", { "aria-labelledby": IDS$2.sectionToggle, class: CSS$1c.content, id: IDS$2.section }, hAsync("slot", null)))));
|
|
7082
7082
|
}
|
|
7083
7083
|
//--------------------------------------------------------------------------
|
|
7084
7084
|
//
|
|
@@ -7472,7 +7472,7 @@ function parseNumberString(numberString) {
|
|
|
7472
7472
|
}
|
|
7473
7473
|
return numberKeys.includes(value);
|
|
7474
7474
|
})
|
|
7475
|
-
.
|
|
7475
|
+
.join("");
|
|
7476
7476
|
return isValidNumber(result) ? new BigDecimal(result).toString() : "";
|
|
7477
7477
|
});
|
|
7478
7478
|
}
|
|
@@ -7998,7 +7998,7 @@ function defaultOnMessagesChange() {
|
|
|
7998
7998
|
mergeMessages(this);
|
|
7999
7999
|
}
|
|
8000
8000
|
|
|
8001
|
-
const CSS$
|
|
8001
|
+
const CSS$1b = {
|
|
8002
8002
|
button: "button",
|
|
8003
8003
|
buttonTextVisible: "button--text-visible",
|
|
8004
8004
|
buttonCompact: "button--compact",
|
|
@@ -8109,14 +8109,14 @@ class Action {
|
|
|
8109
8109
|
renderTextContainer() {
|
|
8110
8110
|
const { text, textEnabled } = this;
|
|
8111
8111
|
const textContainerClasses = {
|
|
8112
|
-
[CSS$
|
|
8113
|
-
[CSS$
|
|
8112
|
+
[CSS$1b.textContainer]: true,
|
|
8113
|
+
[CSS$1b.textContainerVisible]: textEnabled,
|
|
8114
8114
|
};
|
|
8115
8115
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
8116
8116
|
}
|
|
8117
8117
|
renderIndicatorText() {
|
|
8118
8118
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
8119
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
8119
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$1b.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
8120
8120
|
}
|
|
8121
8121
|
renderIconContainer() {
|
|
8122
8122
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -8127,18 +8127,18 @@ class Action {
|
|
|
8127
8127
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
8128
8128
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
8129
8129
|
const slotContainerNode = (hAsync("div", { class: {
|
|
8130
|
-
[CSS$
|
|
8131
|
-
[CSS$
|
|
8130
|
+
[CSS$1b.slotContainer]: true,
|
|
8131
|
+
[CSS$1b.slotContainerHidden]: loading,
|
|
8132
8132
|
} }, hAsync("slot", null)));
|
|
8133
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
8133
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$1b.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
8134
8134
|
}
|
|
8135
8135
|
render() {
|
|
8136
8136
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages, } = this;
|
|
8137
8137
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
8138
8138
|
const buttonClasses = {
|
|
8139
|
-
[CSS$
|
|
8140
|
-
[CSS$
|
|
8141
|
-
[CSS$
|
|
8139
|
+
[CSS$1b.button]: true,
|
|
8140
|
+
[CSS$1b.buttonTextVisible]: textEnabled,
|
|
8141
|
+
[CSS$1b.buttonCompact]: compact,
|
|
8142
8142
|
};
|
|
8143
8143
|
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,
|
|
8144
8144
|
// 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)
|
|
@@ -9450,11 +9450,11 @@ const SLOTS$x = {
|
|
|
9450
9450
|
const ICONS$j = {
|
|
9451
9451
|
menu: "ellipsis",
|
|
9452
9452
|
};
|
|
9453
|
-
const CSS$
|
|
9453
|
+
const CSS$1a = {
|
|
9454
9454
|
container: "container",
|
|
9455
9455
|
};
|
|
9456
9456
|
|
|
9457
|
-
const CSS$
|
|
9457
|
+
const CSS$19 = {
|
|
9458
9458
|
menu: "menu",
|
|
9459
9459
|
defaultTrigger: "default-trigger",
|
|
9460
9460
|
};
|
|
@@ -9554,7 +9554,7 @@ const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position
|
|
|
9554
9554
|
return actionNode;
|
|
9555
9555
|
};
|
|
9556
9556
|
|
|
9557
|
-
const CSS$
|
|
9557
|
+
const CSS$18 = {
|
|
9558
9558
|
actionGroupEnd: "action-group--end",
|
|
9559
9559
|
};
|
|
9560
9560
|
const SLOTS$v = {
|
|
@@ -9757,7 +9757,7 @@ class ActionBar {
|
|
|
9757
9757
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
9758
9758
|
// 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)
|
|
9759
9759
|
ref: this.setExpandToggleRef })) : null;
|
|
9760
|
-
return (hAsync("calcite-action-group", { class: CSS$
|
|
9760
|
+
return (hAsync("calcite-action-group", { class: CSS$18.actionGroupEnd, label: actionsEndGroupLabel, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), 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));
|
|
9761
9761
|
}
|
|
9762
9762
|
render() {
|
|
9763
9763
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9885,7 +9885,7 @@ class ActionGroup {
|
|
|
9885
9885
|
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$j.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 })));
|
|
9886
9886
|
}
|
|
9887
9887
|
render() {
|
|
9888
|
-
return (hAsync("div", { "aria-label": this.label, class: CSS$
|
|
9888
|
+
return (hAsync("div", { "aria-label": this.label, class: CSS$1a.container, role: "group" }, hAsync("slot", null), this.renderMenu()));
|
|
9889
9889
|
}
|
|
9890
9890
|
static get delegatesFocus() { return true; }
|
|
9891
9891
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10169,7 +10169,7 @@ class ActionMenu {
|
|
|
10169
10169
|
}
|
|
10170
10170
|
renderMenuButton() {
|
|
10171
10171
|
const { label, scale, expanded } = this;
|
|
10172
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$w.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
10172
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$w.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$19.defaultTrigger, icon: ICONS$i.menu, scale: scale, text: label, textEnabled: expanded,
|
|
10173
10173
|
// 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)
|
|
10174
10174
|
ref: this.setDefaultMenuButtonEl })));
|
|
10175
10175
|
return menuButtonSlot;
|
|
@@ -10178,7 +10178,7 @@ class ActionMenu {
|
|
|
10178
10178
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements, } = this;
|
|
10179
10179
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
10180
10180
|
const activeDescendantId = activeAction?.id || null;
|
|
10181
|
-
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$
|
|
10181
|
+
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$19.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
10182
10182
|
}
|
|
10183
10183
|
render() {
|
|
10184
10184
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$w.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -10214,7 +10214,7 @@ class ActionMenu {
|
|
|
10214
10214
|
}; }
|
|
10215
10215
|
}
|
|
10216
10216
|
|
|
10217
|
-
const CSS$
|
|
10217
|
+
const CSS$17 = {
|
|
10218
10218
|
actionGroupEnd: "action-group--end",
|
|
10219
10219
|
container: "container",
|
|
10220
10220
|
};
|
|
@@ -10339,10 +10339,10 @@ class ActionPad {
|
|
|
10339
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,
|
|
10340
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)
|
|
10341
10341
|
ref: this.setExpandToggleRef })) : null;
|
|
10342
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10342
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$17.actionGroupEnd, label: actionsEndGroupLabel, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
|
|
10343
10343
|
}
|
|
10344
10344
|
render() {
|
|
10345
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10345
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$17.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10346
10346
|
}
|
|
10347
10347
|
static get delegatesFocus() { return true; }
|
|
10348
10348
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10471,7 +10471,7 @@ const SLOTS$t = {
|
|
|
10471
10471
|
message: "message",
|
|
10472
10472
|
link: "link",
|
|
10473
10473
|
};
|
|
10474
|
-
const CSS$
|
|
10474
|
+
const CSS$16 = {
|
|
10475
10475
|
actionsEnd: "actions-end",
|
|
10476
10476
|
container: "container",
|
|
10477
10477
|
close: "alert-close",
|
|
@@ -10631,10 +10631,10 @@ class Alert {
|
|
|
10631
10631
|
container: true,
|
|
10632
10632
|
queued,
|
|
10633
10633
|
[placement]: true,
|
|
10634
|
-
[CSS$
|
|
10634
|
+
[CSS$16.slottedInShell]: this.slottedInShell,
|
|
10635
10635
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10636
10636
|
// 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)
|
|
10637
|
-
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$t.title }), hAsync("slot", { name: SLOTS$t.message }), hAsync("slot", { name: SLOTS$t.link })), hAsync("div", { class: CSS$
|
|
10637
|
+
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$t.title }), hAsync("slot", { name: SLOTS$t.message }), hAsync("slot", { name: SLOTS$t.link })), hAsync("div", { class: CSS$16.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10638
10638
|
}
|
|
10639
10639
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10640
10640
|
alertSync(event) {
|
|
@@ -11103,23 +11103,27 @@ const Heading = (props, children) => {
|
|
|
11103
11103
|
return hAsync(HeadingTag, { ...props }, children);
|
|
11104
11104
|
};
|
|
11105
11105
|
|
|
11106
|
-
const
|
|
11106
|
+
const IDS$1 = {
|
|
11107
|
+
content: "content",
|
|
11108
|
+
toggle: "toggle",
|
|
11109
|
+
};
|
|
11110
|
+
const CSS$15 = {
|
|
11111
|
+
button: "button",
|
|
11107
11112
|
container: "container",
|
|
11108
11113
|
content: "content",
|
|
11114
|
+
controlContainer: "control-container",
|
|
11115
|
+
description: "description",
|
|
11116
|
+
header: "header",
|
|
11109
11117
|
headerContainer: "header-container",
|
|
11118
|
+
heading: "heading",
|
|
11110
11119
|
icon: "icon",
|
|
11120
|
+
invalid: "invalid",
|
|
11111
11121
|
statusIcon: "status-icon",
|
|
11122
|
+
summary: "summary",
|
|
11123
|
+
title: "title",
|
|
11112
11124
|
toggle: "toggle",
|
|
11113
11125
|
toggleIcon: "toggle-icon",
|
|
11114
|
-
title: "title",
|
|
11115
|
-
heading: "heading",
|
|
11116
|
-
header: "header",
|
|
11117
|
-
button: "button",
|
|
11118
|
-
summary: "summary",
|
|
11119
|
-
description: "description",
|
|
11120
|
-
controlContainer: "control-container",
|
|
11121
11126
|
valid: "valid",
|
|
11122
|
-
invalid: "invalid",
|
|
11123
11127
|
};
|
|
11124
11128
|
const SLOTS$s = {
|
|
11125
11129
|
icon: "icon",
|
|
@@ -11145,7 +11149,6 @@ class Block {
|
|
|
11145
11149
|
constructor(hostRef) {
|
|
11146
11150
|
registerInstance(this, hostRef);
|
|
11147
11151
|
this.calciteBlockToggle = createEvent(this, "calciteBlockToggle", 6);
|
|
11148
|
-
this.guid = guid();
|
|
11149
11152
|
// --------------------------------------------------------------------------
|
|
11150
11153
|
//
|
|
11151
11154
|
// Private Methods
|
|
@@ -11228,30 +11231,27 @@ class Block {
|
|
|
11228
11231
|
renderIcon() {
|
|
11229
11232
|
const { loading, messages, status } = this;
|
|
11230
11233
|
const hasSlottedIcon = !!getSlotted(this.el, SLOTS$s.icon);
|
|
11231
|
-
return loading ? (hAsync("div", { class: CSS$
|
|
11232
|
-
[CSS$
|
|
11233
|
-
[CSS$
|
|
11234
|
-
[CSS$
|
|
11235
|
-
}, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$
|
|
11234
|
+
return loading ? (hAsync("div", { class: CSS$15.icon, key: "loader" }, hAsync("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (hAsync("div", { class: CSS$15.icon, key: "status-icon" }, hAsync("calcite-icon", { class: {
|
|
11235
|
+
[CSS$15.statusIcon]: true,
|
|
11236
|
+
[CSS$15.valid]: status == "valid",
|
|
11237
|
+
[CSS$15.invalid]: status == "invalid",
|
|
11238
|
+
}, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$15.icon, key: "icon-slot" }, hAsync("slot", { key: "icon-slot", name: SLOTS$s.icon }))) : null;
|
|
11236
11239
|
}
|
|
11237
11240
|
renderTitle() {
|
|
11238
11241
|
const { heading, headingLevel, description } = this;
|
|
11239
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
11242
|
+
return heading || description ? (hAsync("div", { class: CSS$15.title }, hAsync(Heading, { class: CSS$15.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$15.description }, description) : null)) : null;
|
|
11240
11243
|
}
|
|
11241
11244
|
render() {
|
|
11242
11245
|
const { collapsible, el, loading, open, messages } = this;
|
|
11243
11246
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11244
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
11247
|
+
const headerContent = (hAsync("header", { class: CSS$15.header }, this.renderIcon(), this.renderTitle()));
|
|
11245
11248
|
const hasControl = !!getSlotted(el, SLOTS$s.control);
|
|
11246
11249
|
const hasMenuActions = !!getSlotted(el, SLOTS$s.headerMenuActions);
|
|
11247
11250
|
const collapseIcon = open ? ICONS$g.opened : ICONS$g.closed;
|
|
11248
|
-
const {
|
|
11249
|
-
const regionId = `${guid}-region`;
|
|
11250
|
-
const buttonId = `${guid}-button`;
|
|
11251
|
-
const headerNode = (hAsync("div", { class: CSS$14.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$14.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$14.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), hasControl ? (hAsync("div", { class: CSS$14.controlContainer }, hAsync("slot", { name: SLOTS$s.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$s.headerMenuActions }))) : null));
|
|
11251
|
+
const headerNode = (hAsync("div", { class: CSS$15.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": IDS$1.content, "aria-expanded": collapsible ? toAriaBoolean(open) : null, class: CSS$15.toggle, id: IDS$1.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$15.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), hasControl ? (hAsync("div", { class: CSS$15.controlContainer }, hAsync("slot", { name: SLOTS$s.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$s.headerMenuActions }))) : null));
|
|
11252
11252
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
11253
|
-
[CSS$
|
|
11254
|
-
} }, headerNode, hAsync("section", { "aria-
|
|
11253
|
+
[CSS$15.container]: true,
|
|
11254
|
+
} }, headerNode, hAsync("section", { "aria-labelledby": IDS$1.toggle, class: CSS$15.content, hidden: !open, id: IDS$1.content }, this.renderScrim()))));
|
|
11255
11255
|
}
|
|
11256
11256
|
static get assetsDirs() { return ["assets"]; }
|
|
11257
11257
|
get el() { return getElement(this); }
|
|
@@ -11285,16 +11285,22 @@ class Block {
|
|
|
11285
11285
|
}; }
|
|
11286
11286
|
}
|
|
11287
11287
|
|
|
11288
|
-
const
|
|
11288
|
+
const IDS = {
|
|
11289
|
+
content: "content",
|
|
11290
|
+
toggle: "toggle",
|
|
11291
|
+
};
|
|
11292
|
+
const CSS$14 = {
|
|
11289
11293
|
content: "content",
|
|
11294
|
+
focusGuard: "focus-guard",
|
|
11290
11295
|
invalid: "invalid",
|
|
11296
|
+
sectionHeader: "section-header",
|
|
11297
|
+
sectionHeaderText: "section-header__text",
|
|
11298
|
+
statusIcon: "status-icon",
|
|
11291
11299
|
toggle: "toggle",
|
|
11292
11300
|
toggleSwitch: "toggle--switch",
|
|
11301
|
+
toggleSwitchContainer: "toggle--switch-container",
|
|
11293
11302
|
toggleSwitchContent: "toggle--switch__content",
|
|
11294
11303
|
toggleSwitchText: "toggle--switch__text",
|
|
11295
|
-
sectionHeader: "section-header",
|
|
11296
|
-
sectionHeaderText: "section-header__text",
|
|
11297
|
-
statusIcon: "status-icon",
|
|
11298
11304
|
valid: "valid",
|
|
11299
11305
|
};
|
|
11300
11306
|
const ICONS$f = {
|
|
@@ -11305,7 +11311,7 @@ const ICONS$f = {
|
|
|
11305
11311
|
invalid: "exclamation-mark-triangle",
|
|
11306
11312
|
};
|
|
11307
11313
|
|
|
11308
|
-
const blockSectionCss = "/*!@:host*/.sc-calcite-block-section-h{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@:host([open])*/[open].sc-calcite-block-section-h{border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}/*!@:host(:last-child)*/.sc-calcite-block-section-h:last-child{border-block-end-width:0px}/*!@.toggle*/.toggle.sc-calcite-block-section{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@.toggle--switch,\n.section-header*/.toggle--switch.sc-calcite-block-section,.section-header.sc-calcite-block-section{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}/*!@.toggle--switch:focus,\n.section-header:focus*/.toggle--switch.sc-calcite-block-section:focus,.section-header.sc-calcite-block-section: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 )}/*!@.toggle--switch:hover,\n.section-header:hover*/.toggle--switch.sc-calcite-block-section:hover,.section-header.sc-calcite-block-section:hover{color:var(--calcite-ui-text-1)}/*!@.section-header .status-icon*/.section-header.sc-calcite-block-section .status-icon.sc-calcite-block-section{align-self:flex-end}/*!@.section-header__text*/.section-header__text.sc-calcite-block-section{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}/*!@.toggle--switch
|
|
11314
|
+
const blockSectionCss = "/*!@:host*/.sc-calcite-block-section-h{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@:host([open])*/[open].sc-calcite-block-section-h{border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}/*!@:host(:last-child)*/.sc-calcite-block-section-h:last-child{border-block-end-width:0px}/*!@.toggle*/.toggle.sc-calcite-block-section{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@.toggle--switch,\n.section-header*/.toggle--switch.sc-calcite-block-section,.section-header.sc-calcite-block-section{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}/*!@.toggle--switch:focus,\n.section-header:focus*/.toggle--switch.sc-calcite-block-section:focus,.section-header.sc-calcite-block-section: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 )}/*!@.toggle--switch:hover,\n.section-header:hover*/.toggle--switch.sc-calcite-block-section:hover,.section-header.sc-calcite-block-section:hover{color:var(--calcite-ui-text-1)}/*!@.section-header .status-icon*/.section-header.sc-calcite-block-section .status-icon.sc-calcite-block-section{align-self:flex-end}/*!@.section-header__text*/.section-header__text.sc-calcite-block-section{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}/*!@.toggle--switch-container*/.toggle--switch-container.sc-calcite-block-section{position:relative;display:flex;inline-size:100%;align-items:center;background-color:transparent}/*!@.toggle--switch-container .focus-guard*/.toggle--switch-container.sc-calcite-block-section .focus-guard.sc-calcite-block-section{--calcite-label-margin-bottom:0;pointer-events:none;position:absolute;inset-inline-end:0;margin-inline-start:0.25rem}/*!@.toggle--switch .status-icon*/.toggle--switch.sc-calcite-block-section .status-icon.sc-calcite-block-section{margin-inline-start:0.5rem}/*!@.toggle--switch__content*/.toggle--switch__content.sc-calcite-block-section{display:flex;flex:1 1 auto;align-items:center}/*!@.status-icon.valid*/.status-icon.valid.sc-calcite-block-section{color:var(--calcite-ui-success)}/*!@.status-icon.invalid*/.status-icon.invalid.sc-calcite-block-section{color:var(--calcite-ui-danger)}/*!@:host([hidden])*/[hidden].sc-calcite-block-section-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-block-section{display:none}";
|
|
11309
11315
|
|
|
11310
11316
|
/**
|
|
11311
11317
|
* @slot - A slot for adding custom content.
|
|
@@ -11314,7 +11320,6 @@ class BlockSection {
|
|
|
11314
11320
|
constructor(hostRef) {
|
|
11315
11321
|
registerInstance(this, hostRef);
|
|
11316
11322
|
this.calciteBlockSectionToggle = createEvent(this, "calciteBlockSectionToggle", 6);
|
|
11317
|
-
this.guid = guid();
|
|
11318
11323
|
// --------------------------------------------------------------------------
|
|
11319
11324
|
//
|
|
11320
11325
|
// Private Methods
|
|
@@ -11388,9 +11393,9 @@ class BlockSection {
|
|
|
11388
11393
|
const { status } = this;
|
|
11389
11394
|
const statusIcon = ICONS$f[status] ?? false;
|
|
11390
11395
|
const statusIconClasses = {
|
|
11391
|
-
[CSS$
|
|
11392
|
-
[CSS$
|
|
11393
|
-
[CSS$
|
|
11396
|
+
[CSS$14.statusIcon]: true,
|
|
11397
|
+
[CSS$14.valid]: status == "valid",
|
|
11398
|
+
[CSS$14.invalid]: status == "invalid",
|
|
11394
11399
|
};
|
|
11395
11400
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11396
11401
|
}
|
|
@@ -11403,17 +11408,16 @@ class BlockSection {
|
|
|
11403
11408
|
? ICONS$f.menuClosedLeft
|
|
11404
11409
|
: ICONS$f.menuClosedRight;
|
|
11405
11410
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11406
|
-
const
|
|
11407
|
-
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
[CSS$
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
[CSS$
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$13.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
11411
|
+
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { class: {
|
|
11412
|
+
[CSS$14.toggleSwitchContainer]: true,
|
|
11413
|
+
} }, hAsync("div", { "aria-controls": IDS.content, "aria-expanded": toAriaBoolean(open), class: {
|
|
11414
|
+
[CSS$14.toggle]: true,
|
|
11415
|
+
[CSS$14.toggleSwitch]: true,
|
|
11416
|
+
}, id: IDS.toggle, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, role: "button", tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$14.toggleSwitchContent }, hAsync("span", { class: CSS$14.toggleSwitchText }, text)), this.renderStatusIcon()), hAsync("calcite-label", { class: CSS$14.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: {
|
|
11417
|
+
[CSS$14.sectionHeader]: true,
|
|
11418
|
+
[CSS$14.toggle]: true,
|
|
11419
|
+
}, id: IDS.toggle, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$14.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11420
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-labelledby": IDS.toggle, class: CSS$14.content, hidden: !open, id: IDS.content }, hAsync("slot", null))));
|
|
11417
11421
|
}
|
|
11418
11422
|
static get assetsDirs() { return ["assets"]; }
|
|
11419
11423
|
get el() { return getElement(this); }
|
|
@@ -11843,7 +11847,7 @@ function onLabelDisconnected() {
|
|
|
11843
11847
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11844
11848
|
}
|
|
11845
11849
|
|
|
11846
|
-
const CSS$
|
|
11850
|
+
const CSS$13 = {
|
|
11847
11851
|
buttonLoader: "calcite-button--loader",
|
|
11848
11852
|
content: "content",
|
|
11849
11853
|
contentSlotted: "content--slotted",
|
|
@@ -11971,17 +11975,17 @@ class Button {
|
|
|
11971
11975
|
render() {
|
|
11972
11976
|
const childElType = this.href ? "a" : "button";
|
|
11973
11977
|
const Tag = childElType;
|
|
11974
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
11978
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$13.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$13.loadingIn : CSS$13.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
11975
11979
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11976
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11977
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11978
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
11980
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$13.icon]: true, [CSS$13.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
11981
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$13.icon]: true, [CSS$13.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
11982
|
+
const contentEl = (hAsync("span", { class: CSS$13.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11979
11983
|
return (hAsync(Tag, { "aria-label": !this.loading ? getLabelText(this) : this.messages.loading, "aria-live": "polite", class: {
|
|
11980
|
-
[CSS$
|
|
11981
|
-
[CSS$
|
|
11982
|
-
[CSS$
|
|
11983
|
-
[CSS$
|
|
11984
|
-
[CSS$
|
|
11984
|
+
[CSS$13.buttonPadding]: noStartEndIcons,
|
|
11985
|
+
[CSS$13.buttonPaddingShrunk]: !noStartEndIcons,
|
|
11986
|
+
[CSS$13.contentSlotted]: this.hasContent,
|
|
11987
|
+
[CSS$13.iconStartEmpty]: !this.iconStart,
|
|
11988
|
+
[CSS$13.iconEndEmpty]: !this.iconEnd,
|
|
11985
11989
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: this.setChildEl, 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 }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
11986
11990
|
}
|
|
11987
11991
|
//--------------------------------------------------------------------------
|
|
@@ -12296,7 +12300,7 @@ class CalciteMenu {
|
|
|
12296
12300
|
}; }
|
|
12297
12301
|
}
|
|
12298
12302
|
|
|
12299
|
-
const CSS$
|
|
12303
|
+
const CSS$12 = {
|
|
12300
12304
|
container: "container",
|
|
12301
12305
|
content: "content",
|
|
12302
12306
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12500,54 +12504,54 @@ class CalciteMenuItem {
|
|
|
12500
12504
|
//
|
|
12501
12505
|
//--------------------------------------------------------------------------
|
|
12502
12506
|
renderIconStart() {
|
|
12503
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12507
|
+
return (hAsync("calcite-icon", { class: `${CSS$12.icon} ${CSS$12.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$12.iconStart, scale: "s" }));
|
|
12504
12508
|
}
|
|
12505
12509
|
renderIconEnd() {
|
|
12506
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12510
|
+
return (hAsync("calcite-icon", { class: `${CSS$12.icon} ${CSS$12.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$12.iconEnd, scale: "s" }));
|
|
12507
12511
|
}
|
|
12508
12512
|
renderBreadcrumbIcon(dir) {
|
|
12509
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12513
|
+
return (hAsync("calcite-icon", { class: `${CSS$12.icon} ${CSS$12.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$12.iconBreadcrumb, scale: "s" }));
|
|
12510
12514
|
}
|
|
12511
12515
|
renderDropdownIcon(dir) {
|
|
12512
12516
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12513
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12517
|
+
return (hAsync("calcite-icon", { class: `${CSS$12.icon} ${CSS$12.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12514
12518
|
? this.open
|
|
12515
12519
|
? "chevron-up"
|
|
12516
12520
|
: "chevron-down"
|
|
12517
|
-
: dirChevron, key: CSS$
|
|
12521
|
+
: dirChevron, key: CSS$12.iconDropdown, scale: "s" }));
|
|
12518
12522
|
}
|
|
12519
12523
|
renderDropdownAction(dir) {
|
|
12520
12524
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12521
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12525
|
+
return (hAsync("calcite-action", { class: CSS$12.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12522
12526
|
? this.open
|
|
12523
12527
|
? "chevron-up"
|
|
12524
12528
|
: "chevron-down"
|
|
12525
|
-
: dirChevron, key: CSS$
|
|
12529
|
+
: dirChevron, key: CSS$12.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12526
12530
|
// 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)
|
|
12527
12531
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12528
12532
|
}
|
|
12529
12533
|
renderSubmenuItems(dir) {
|
|
12530
12534
|
return (hAsync("calcite-menu", { class: {
|
|
12531
|
-
[CSS$
|
|
12532
|
-
[CSS$
|
|
12533
|
-
[CSS$
|
|
12535
|
+
[CSS$12.dropdownMenuItems]: true,
|
|
12536
|
+
[CSS$12.open]: this.open,
|
|
12537
|
+
[CSS$12.nested]: !this.isTopLevelItem,
|
|
12534
12538
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12535
|
-
[CSS$
|
|
12539
|
+
[CSS$12.dropdownVertical]: this.topLevelMenuLayout === "vertical",
|
|
12536
12540
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12537
12541
|
}
|
|
12538
12542
|
renderHrefIcon(dir) {
|
|
12539
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12543
|
+
return (hAsync("calcite-icon", { class: CSS$12.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", key: CSS$12.hoverHrefIcon, scale: "s" }));
|
|
12540
12544
|
}
|
|
12541
12545
|
renderItemContent(dir) {
|
|
12542
12546
|
const hasHref = this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem);
|
|
12543
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12547
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$12.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));
|
|
12544
12548
|
}
|
|
12545
12549
|
render() {
|
|
12546
12550
|
const dir = getElementDir(this.el);
|
|
12547
12551
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12548
|
-
[CSS$
|
|
12549
|
-
[CSS$
|
|
12550
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12552
|
+
[CSS$12.container]: true,
|
|
12553
|
+
[CSS$12.isParentVertical]: this.topLevelMenuLayout === "vertical",
|
|
12554
|
+
}, role: "none" }, hAsync("div", { class: CSS$12.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$12.layoutVertical]: this.layout === "vertical", [CSS$12.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12551
12555
|
// 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)
|
|
12552
12556
|
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir)), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12553
12557
|
}
|
|
@@ -12590,7 +12594,7 @@ class CalciteMenuItem {
|
|
|
12590
12594
|
}; }
|
|
12591
12595
|
}
|
|
12592
12596
|
|
|
12593
|
-
const CSS$
|
|
12597
|
+
const CSS$11 = {
|
|
12594
12598
|
container: "container",
|
|
12595
12599
|
containerContent: "container-content",
|
|
12596
12600
|
hasProgress: "progress-bar",
|
|
@@ -12739,11 +12743,11 @@ class CalciteNavigation {
|
|
|
12739
12743
|
this.navigationAction;
|
|
12740
12744
|
const slotName = this.el.slot;
|
|
12741
12745
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
12742
|
-
[CSS$
|
|
12743
|
-
[CSS$
|
|
12744
|
-
[CSS$
|
|
12745
|
-
[CSS$
|
|
12746
|
-
} }, hAsync("div", { class: { [CSS$
|
|
12746
|
+
[CSS$11.container]: true,
|
|
12747
|
+
[CSS$11.secondary]: slotName === SLOTS$r.navSecondary,
|
|
12748
|
+
[CSS$11.tertiary]: slotName === SLOTS$r.navTertiary,
|
|
12749
|
+
[CSS$11.primary]: primaryLevelHasElements,
|
|
12750
|
+
} }, hAsync("div", { class: { [CSS$11.hide]: !this.progressSlotHasElement, [SLOTS$r.progress]: true } }, hAsync("slot", { name: SLOTS$r.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$11.containerContent]: true, [CSS$11.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$11.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$11.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 }))));
|
|
12747
12751
|
}
|
|
12748
12752
|
get el() { return getElement(this); }
|
|
12749
12753
|
static get style() { return navigationCss; }
|
|
@@ -12770,7 +12774,7 @@ class CalciteNavigation {
|
|
|
12770
12774
|
}; }
|
|
12771
12775
|
}
|
|
12772
12776
|
|
|
12773
|
-
const CSS
|
|
12777
|
+
const CSS$10 = {
|
|
12774
12778
|
container: "container",
|
|
12775
12779
|
heading: "heading",
|
|
12776
12780
|
description: "description",
|
|
@@ -12823,10 +12827,10 @@ class CalciteNavigationLogo {
|
|
|
12823
12827
|
// --------------------------------------------------------------------------
|
|
12824
12828
|
render() {
|
|
12825
12829
|
const { heading, description, thumbnail } = this;
|
|
12826
|
-
return (hAsync(Host, null, hAsync("a", { class: CSS
|
|
12827
|
-
[CSS
|
|
12828
|
-
[CSS
|
|
12829
|
-
}, key: CSS
|
|
12830
|
+
return (hAsync(Host, null, hAsync("a", { class: CSS$10.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$10.image, src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$10.container }, heading && (hAsync("span", { "aria-label": this.heading, class: {
|
|
12831
|
+
[CSS$10.heading]: true,
|
|
12832
|
+
[CSS$10.standalone]: !this.description,
|
|
12833
|
+
}, key: CSS$10.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$10.description, key: CSS$10.description }, description)))))));
|
|
12830
12834
|
}
|
|
12831
12835
|
static get delegatesFocus() { return true; }
|
|
12832
12836
|
get el() { return getElement(this); }
|
|
@@ -12851,7 +12855,7 @@ class CalciteNavigationLogo {
|
|
|
12851
12855
|
}; }
|
|
12852
12856
|
}
|
|
12853
12857
|
|
|
12854
|
-
const CSS
|
|
12858
|
+
const CSS$$ = {
|
|
12855
12859
|
textContainer: "text-container",
|
|
12856
12860
|
fullName: "full-name",
|
|
12857
12861
|
username: "username",
|
|
@@ -12898,7 +12902,7 @@ class CalciteNavigationUser {
|
|
|
12898
12902
|
//
|
|
12899
12903
|
// --------------------------------------------------------------------------
|
|
12900
12904
|
render() {
|
|
12901
|
-
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS
|
|
12905
|
+
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$$.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$$.textContainer }, this.fullName && (hAsync("span", { class: CSS$$.fullName, key: CSS$$.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$$.username, key: CSS$$.username }, this.username)))))));
|
|
12902
12906
|
}
|
|
12903
12907
|
static get delegatesFocus() { return true; }
|
|
12904
12908
|
get el() { return getElement(this); }
|
|
@@ -12922,7 +12926,7 @@ class CalciteNavigationUser {
|
|
|
12922
12926
|
}; }
|
|
12923
12927
|
}
|
|
12924
12928
|
|
|
12925
|
-
const CSS$
|
|
12929
|
+
const CSS$_ = {
|
|
12926
12930
|
container: "container",
|
|
12927
12931
|
header: "header",
|
|
12928
12932
|
footer: "footer",
|
|
@@ -13007,7 +13011,7 @@ class Card {
|
|
|
13007
13011
|
render() {
|
|
13008
13012
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
13009
13013
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
13010
|
-
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$
|
|
13014
|
+
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$_.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
13011
13015
|
}
|
|
13012
13016
|
effectiveLocaleChange() {
|
|
13013
13017
|
updateMessages(this);
|
|
@@ -13017,24 +13021,24 @@ class Card {
|
|
|
13017
13021
|
this.calciteCardSelect.emit();
|
|
13018
13022
|
}
|
|
13019
13023
|
renderThumbnail() {
|
|
13020
|
-
return getSlotted(this.el, SLOTS$q.thumbnail) ? (hAsync("section", { class: CSS$
|
|
13024
|
+
return getSlotted(this.el, SLOTS$q.thumbnail) ? (hAsync("section", { class: CSS$_.thumbnailWrapper }, hAsync("slot", { name: SLOTS$q.thumbnail }))) : null;
|
|
13021
13025
|
}
|
|
13022
13026
|
renderCheckbox() {
|
|
13023
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
13027
|
+
return (hAsync("calcite-label", { class: CSS$_.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
13024
13028
|
}
|
|
13025
13029
|
renderHeader() {
|
|
13026
13030
|
const { el } = this;
|
|
13027
13031
|
const title = getSlotted(el, SLOTS$q.title);
|
|
13028
13032
|
const subtitle = getSlotted(el, SLOTS$q.subtitle);
|
|
13029
13033
|
const hasHeader = title || subtitle;
|
|
13030
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
13034
|
+
return hasHeader ? (hAsync("header", { class: CSS$_.header }, hAsync("slot", { name: SLOTS$q.title }), hAsync("slot", { name: SLOTS$q.subtitle }))) : null;
|
|
13031
13035
|
}
|
|
13032
13036
|
renderFooter() {
|
|
13033
13037
|
const { el } = this;
|
|
13034
13038
|
const startFooter = getSlotted(el, SLOTS$q.footerStart);
|
|
13035
13039
|
const endFooter = getSlotted(el, SLOTS$q.footerEnd);
|
|
13036
13040
|
const hasFooter = startFooter || endFooter;
|
|
13037
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
13041
|
+
return hasFooter ? (hAsync("footer", { class: CSS$_.footer }, hAsync("slot", { name: SLOTS$q.footerStart }), hAsync("slot", { name: SLOTS$q.footerEnd }))) : null;
|
|
13038
13042
|
}
|
|
13039
13043
|
static get assetsDirs() { return ["assets"]; }
|
|
13040
13044
|
get el() { return getElement(this); }
|
|
@@ -13197,7 +13201,7 @@ class Checkbox {
|
|
|
13197
13201
|
}; }
|
|
13198
13202
|
}
|
|
13199
13203
|
|
|
13200
|
-
const CSS$
|
|
13204
|
+
const CSS$Z = {
|
|
13201
13205
|
title: "title",
|
|
13202
13206
|
close: "close",
|
|
13203
13207
|
imageContainer: "image-container",
|
|
@@ -13366,7 +13370,7 @@ class Chip {
|
|
|
13366
13370
|
//
|
|
13367
13371
|
//--------------------------------------------------------------------------
|
|
13368
13372
|
renderChipImage() {
|
|
13369
|
-
return (hAsync("div", { class: CSS$
|
|
13373
|
+
return (hAsync("div", { class: CSS$Z.imageContainer }, hAsync("slot", { name: SLOTS$p.image, onSlotchange: this.handleSlotImageChange })));
|
|
13370
13374
|
}
|
|
13371
13375
|
renderSelectionIcon() {
|
|
13372
13376
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -13377,17 +13381,17 @@ class Chip {
|
|
|
13377
13381
|
? ICONS$d.checkedSingle
|
|
13378
13382
|
: undefined;
|
|
13379
13383
|
return (hAsync("div", { class: {
|
|
13380
|
-
[CSS$
|
|
13381
|
-
[CSS$
|
|
13384
|
+
[CSS$Z.selectIcon]: true,
|
|
13385
|
+
[CSS$Z.selectIconActive]: this.selectionMode === "multiple" || this.selected,
|
|
13382
13386
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
13383
13387
|
}
|
|
13384
13388
|
renderCloseButton() {
|
|
13385
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
13389
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$Z.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
13386
13390
|
// 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)
|
|
13387
13391
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$d.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
13388
13392
|
}
|
|
13389
13393
|
renderIcon() {
|
|
13390
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
13394
|
+
return (hAsync("calcite-icon", { class: CSS$Z.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
13391
13395
|
}
|
|
13392
13396
|
render() {
|
|
13393
13397
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -13401,21 +13405,21 @@ class Chip {
|
|
|
13401
13405
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
13402
13406
|
? toAriaBoolean(this.selected)
|
|
13403
13407
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
13404
|
-
[CSS$
|
|
13405
|
-
[CSS$
|
|
13406
|
-
[CSS$
|
|
13407
|
-
[CSS$
|
|
13408
|
-
[CSS$
|
|
13409
|
-
[CSS$
|
|
13410
|
-
[CSS$
|
|
13411
|
-
[CSS$
|
|
13408
|
+
[CSS$Z.container]: true,
|
|
13409
|
+
[CSS$Z.textSlotted]: this.hasText,
|
|
13410
|
+
[CSS$Z.imageSlotted]: this.hasImage,
|
|
13411
|
+
[CSS$Z.selectable]: this.selectionMode !== "none",
|
|
13412
|
+
[CSS$Z.multiple]: this.selectionMode === "multiple",
|
|
13413
|
+
[CSS$Z.closable]: this.closable,
|
|
13414
|
+
[CSS$Z.nonInteractive]: !this.interactive,
|
|
13415
|
+
[CSS$Z.isCircle]: !this.closable &&
|
|
13412
13416
|
!this.hasText &&
|
|
13413
13417
|
(!this.icon || !this.hasImage) &&
|
|
13414
13418
|
(this.selectionMode === "none" ||
|
|
13415
13419
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)),
|
|
13416
13420
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
13417
13421
|
// 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)
|
|
13418
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
13422
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$Z.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
13419
13423
|
}
|
|
13420
13424
|
static get assetsDirs() { return ["assets"]; }
|
|
13421
13425
|
get el() { return getElement(this); }
|
|
@@ -15737,7 +15741,7 @@ function zeroArray(array, length) {
|
|
|
15737
15741
|
|
|
15738
15742
|
var color = Color;
|
|
15739
15743
|
|
|
15740
|
-
const CSS$
|
|
15744
|
+
const CSS$Y = {
|
|
15741
15745
|
channel: "channel",
|
|
15742
15746
|
channels: "channels",
|
|
15743
15747
|
colorField: "color-field",
|
|
@@ -16086,7 +16090,7 @@ class ColorPicker {
|
|
|
16086
16090
|
const { channelMode: activeChannelMode, messages } = this;
|
|
16087
16091
|
const selected = channelMode === activeChannelMode;
|
|
16088
16092
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
16089
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
16093
|
+
return (hAsync("calcite-tab-title", { class: CSS$Y.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
16090
16094
|
};
|
|
16091
16095
|
this.renderChannelsTab = (channelMode) => {
|
|
16092
16096
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -16097,7 +16101,7 @@ class ColorPicker {
|
|
|
16097
16101
|
: [messages.hue, messages.saturation, messages.value];
|
|
16098
16102
|
const direction = getElementDir(this.el);
|
|
16099
16103
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
16100
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
16104
|
+
return (hAsync("calcite-tab", { class: CSS$Y.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$Y.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
|
|
16101
16105
|
const isAlphaChannel = index === 3;
|
|
16102
16106
|
if (isAlphaChannel) {
|
|
16103
16107
|
channelValue =
|
|
@@ -16108,7 +16112,7 @@ class ColorPicker {
|
|
|
16108
16112
|
}))));
|
|
16109
16113
|
};
|
|
16110
16114
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
16111
|
-
return (hAsync("calcite-input-number", { class: CSS$
|
|
16115
|
+
return (hAsync("calcite-input-number", { class: CSS$Y.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",
|
|
16112
16116
|
// workaround to ensure input borders overlap as desired
|
|
16113
16117
|
// this is because the build transforms margin-left to its
|
|
16114
16118
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -16298,7 +16302,7 @@ class ColorPicker {
|
|
|
16298
16302
|
this.shiftKeyChannelAdjustment = 0;
|
|
16299
16303
|
const { key } = event;
|
|
16300
16304
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
16301
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
16305
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$Y.channel))) {
|
|
16302
16306
|
return;
|
|
16303
16307
|
}
|
|
16304
16308
|
const { shiftKey } = event;
|
|
@@ -16390,35 +16394,35 @@ class ColorPicker {
|
|
|
16390
16394
|
const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(colorFieldScopeLeft, colorFieldScopeTop);
|
|
16391
16395
|
const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
|
|
16392
16396
|
const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
|
|
16393
|
-
return (hAsync("div", { class: CSS$
|
|
16397
|
+
return (hAsync("div", { class: CSS$Y.container }, hAsync("div", { class: CSS$Y.controlAndScope }, hAsync("canvas", { class: CSS$Y.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16394
16398
|
// 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)
|
|
16395
|
-
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$
|
|
16399
|
+
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$Y.scope]: true, [CSS$Y.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
|
|
16396
16400
|
top: `${adjustedColorFieldScopeTop || 0}px`,
|
|
16397
16401
|
left: `${adjustedColorFieldScopeLeft || 0}px`,
|
|
16398
16402
|
}, tabindex: "0",
|
|
16399
16403
|
// 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)
|
|
16400
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$
|
|
16404
|
+
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$Y.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$Y.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$Y.sliders }, hAsync("div", { class: CSS$Y.controlAndScope }, hAsync("canvas", { class: { [CSS$Y.slider]: true, [CSS$Y.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
16401
16405
|
// 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)
|
|
16402
|
-
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$
|
|
16406
|
+
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$Y.scope]: true, [CSS$Y.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
|
|
16403
16407
|
top: `${adjustedHueScopeTop}px`,
|
|
16404
16408
|
left: `${adjustedHueScopeLeft}px`,
|
|
16405
16409
|
}, tabindex: "0",
|
|
16406
16410
|
// 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)
|
|
16407
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$
|
|
16411
|
+
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$Y.controlAndScope }, hAsync("canvas", { class: { [CSS$Y.slider]: true, [CSS$Y.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
16408
16412
|
// 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)
|
|
16409
|
-
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$
|
|
16413
|
+
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$Y.scope]: true, [CSS$Y.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
|
|
16410
16414
|
top: `${adjustedOpacityScopeTop}px`,
|
|
16411
16415
|
left: `${adjustedOpacityScopeLeft}px`,
|
|
16412
16416
|
}, tabindex: "0",
|
|
16413
16417
|
// 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)
|
|
16414
16418
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
16415
|
-
[CSS$
|
|
16416
|
-
[CSS$
|
|
16417
|
-
} }, hAsync("div", { class: CSS$
|
|
16418
|
-
[CSS$
|
|
16419
|
-
[CSS$
|
|
16420
|
-
}, 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$
|
|
16421
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$
|
|
16419
|
+
[CSS$Y.controlSection]: true,
|
|
16420
|
+
[CSS$Y.section]: true,
|
|
16421
|
+
} }, hAsync("div", { class: CSS$Y.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$Y.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$Y.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
16422
|
+
[CSS$Y.colorModeContainer]: true,
|
|
16423
|
+
[CSS$Y.splitSection]: true,
|
|
16424
|
+
}, 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$Y.savedColorsSection]: true, [CSS$Y.section]: true } }, hAsync("div", { class: CSS$Y.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$Y.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$Y.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$Y.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$Y.savedColors }, [
|
|
16425
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$Y.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
|
|
16422
16426
|
])) : null))));
|
|
16423
16427
|
}
|
|
16424
16428
|
// --------------------------------------------------------------------------
|
|
@@ -16789,7 +16793,7 @@ class ColorPicker {
|
|
|
16789
16793
|
}; }
|
|
16790
16794
|
}
|
|
16791
16795
|
|
|
16792
|
-
const CSS$
|
|
16796
|
+
const CSS$X = {
|
|
16793
16797
|
container: "container",
|
|
16794
16798
|
hexInput: "hex-input",
|
|
16795
16799
|
opacityInput: "opacity-input",
|
|
@@ -16957,9 +16961,9 @@ class ColorPickerHexInput {
|
|
|
16957
16961
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
16958
16962
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16959
16963
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16960
|
-
return (hAsync("div", { class: CSS$
|
|
16964
|
+
return (hAsync("div", { class: CSS$X.container }, hAsync("calcite-input-text", { class: CSS$X.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
16961
16965
|
// 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)
|
|
16962
|
-
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$
|
|
16966
|
+
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$X.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,
|
|
16963
16967
|
// 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)
|
|
16964
16968
|
ref: this.storeOpacityInputRef })) : null));
|
|
16965
16969
|
}
|
|
@@ -17055,7 +17059,7 @@ class ColorPickerHexInput {
|
|
|
17055
17059
|
}; }
|
|
17056
17060
|
}
|
|
17057
17061
|
|
|
17058
|
-
const CSS$
|
|
17062
|
+
const CSS$W = {
|
|
17059
17063
|
swatch: "swatch",
|
|
17060
17064
|
noColorSwatch: "swatch--no-color",
|
|
17061
17065
|
checker: "checker",
|
|
@@ -17093,8 +17097,8 @@ class ColorPickerSwatch {
|
|
|
17093
17097
|
render() {
|
|
17094
17098
|
const isEmpty = !this.internalColor;
|
|
17095
17099
|
const classes = {
|
|
17096
|
-
[CSS$
|
|
17097
|
-
[CSS$
|
|
17100
|
+
[CSS$W.swatch]: true,
|
|
17101
|
+
[CSS$W.noColorSwatch]: isEmpty,
|
|
17098
17102
|
};
|
|
17099
17103
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
17100
17104
|
}
|
|
@@ -17120,7 +17124,7 @@ class ColorPickerSwatch {
|
|
|
17120
17124
|
const alpha = internalColor.alpha();
|
|
17121
17125
|
const hex = hexify(internalColor);
|
|
17122
17126
|
const hexa = hexify(internalColor, alpha < 1);
|
|
17123
|
-
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$
|
|
17127
|
+
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$W.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$W.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: {
|
|
17124
17128
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
17125
17129
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
17126
17130
|
}
|
|
@@ -18849,7 +18853,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18849
18853
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18850
18854
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18851
18855
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
18852
|
-
const CSS$
|
|
18856
|
+
const CSS$V = {
|
|
18853
18857
|
listContainer: "list-container",
|
|
18854
18858
|
};
|
|
18855
18859
|
|
|
@@ -18877,11 +18881,11 @@ function isSingleLike(selectionMode) {
|
|
|
18877
18881
|
return selectionMode.includes("single");
|
|
18878
18882
|
}
|
|
18879
18883
|
|
|
18880
|
-
const CSS$
|
|
18884
|
+
const CSS$U = {
|
|
18881
18885
|
button: "x-button",
|
|
18882
18886
|
};
|
|
18883
18887
|
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
18884
|
-
return (hAsync("button", { "aria-label": label, class: CSS$
|
|
18888
|
+
return (hAsync("button", { "aria-label": label, class: CSS$U.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18885
18889
|
// 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)
|
|
18886
18890
|
ref: ref },
|
|
18887
18891
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
@@ -19079,7 +19083,7 @@ class Combobox {
|
|
|
19079
19083
|
event.preventDefault();
|
|
19080
19084
|
return;
|
|
19081
19085
|
}
|
|
19082
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
19086
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$U.button))) {
|
|
19083
19087
|
this.clearValue();
|
|
19084
19088
|
event.preventDefault();
|
|
19085
19089
|
return;
|
|
@@ -19694,7 +19698,7 @@ class Combobox {
|
|
|
19694
19698
|
renderFloatingUIContainer() {
|
|
19695
19699
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19696
19700
|
const classes = {
|
|
19697
|
-
[CSS$
|
|
19701
|
+
[CSS$V.listContainer]: true,
|
|
19698
19702
|
[FloatingCSS.animation]: true,
|
|
19699
19703
|
[FloatingCSS.animationActive]: open,
|
|
19700
19704
|
};
|
|
@@ -19793,7 +19797,7 @@ class Combobox {
|
|
|
19793
19797
|
}; }
|
|
19794
19798
|
}
|
|
19795
19799
|
|
|
19796
|
-
const CSS$
|
|
19800
|
+
const CSS$T = {
|
|
19797
19801
|
icon: "icon",
|
|
19798
19802
|
iconActive: "icon--active",
|
|
19799
19803
|
iconIndent: "icon--indent",
|
|
@@ -19872,20 +19876,20 @@ class ComboboxItem {
|
|
|
19872
19876
|
// --------------------------------------------------------------------------
|
|
19873
19877
|
renderIcon(iconPath) {
|
|
19874
19878
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
19875
|
-
[CSS$
|
|
19876
|
-
[CSS$
|
|
19877
|
-
[CSS$
|
|
19879
|
+
[CSS$T.custom]: !!this.icon,
|
|
19880
|
+
[CSS$T.iconActive]: this.icon && this.selected,
|
|
19881
|
+
[CSS$T.iconIndent]: true,
|
|
19878
19882
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
19879
19883
|
}
|
|
19880
19884
|
renderSelectIndicator(showDot, iconPath) {
|
|
19881
19885
|
return showDot ? (hAsync("span", { class: {
|
|
19882
|
-
[CSS$
|
|
19883
|
-
[CSS$
|
|
19884
|
-
[CSS$
|
|
19886
|
+
[CSS$T.icon]: true,
|
|
19887
|
+
[CSS$T.dot]: true,
|
|
19888
|
+
[CSS$T.iconIndent]: true,
|
|
19885
19889
|
} })) : (hAsync("calcite-icon", { class: {
|
|
19886
|
-
[CSS$
|
|
19887
|
-
[CSS$
|
|
19888
|
-
[CSS$
|
|
19890
|
+
[CSS$T.icon]: true,
|
|
19891
|
+
[CSS$T.iconActive]: this.selected,
|
|
19892
|
+
[CSS$T.iconIndent]: true,
|
|
19889
19893
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
19890
19894
|
}
|
|
19891
19895
|
renderChildren() {
|
|
@@ -19900,10 +19904,10 @@ class ComboboxItem {
|
|
|
19900
19904
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19901
19905
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
19902
19906
|
const classes = {
|
|
19903
|
-
[CSS$
|
|
19904
|
-
[CSS$
|
|
19905
|
-
[CSS$
|
|
19906
|
-
[CSS$
|
|
19907
|
+
[CSS$T.label]: true,
|
|
19908
|
+
[CSS$T.selected]: this.selected,
|
|
19909
|
+
[CSS$T.active]: this.active,
|
|
19910
|
+
[CSS$T.single]: isSingleSelect,
|
|
19907
19911
|
};
|
|
19908
19912
|
const depth = getDepth$1();
|
|
19909
19913
|
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())));
|
|
@@ -19936,7 +19940,7 @@ class ComboboxItem {
|
|
|
19936
19940
|
}; }
|
|
19937
19941
|
}
|
|
19938
19942
|
|
|
19939
|
-
const CSS$
|
|
19943
|
+
const CSS$S = {
|
|
19940
19944
|
list: "list",
|
|
19941
19945
|
label: "label",
|
|
19942
19946
|
title: "title",
|
|
@@ -19972,7 +19976,7 @@ class ComboboxItemGroup {
|
|
|
19972
19976
|
render() {
|
|
19973
19977
|
const { el, scale } = this;
|
|
19974
19978
|
const depth = getDepth$1();
|
|
19975
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
19979
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$S.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$S.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$S.title }, this.label)), hAsync("slot", null)));
|
|
19976
19980
|
}
|
|
19977
19981
|
get el() { return getElement(this); }
|
|
19978
19982
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -21159,7 +21163,7 @@ class DatePickerMonth {
|
|
|
21159
21163
|
}; }
|
|
21160
21164
|
}
|
|
21161
21165
|
|
|
21162
|
-
const CSS$
|
|
21166
|
+
const CSS$R = {
|
|
21163
21167
|
header: "header",
|
|
21164
21168
|
month: "month",
|
|
21165
21169
|
chevron: "chevron",
|
|
@@ -21259,7 +21263,7 @@ class DatePickerMonthHeader {
|
|
|
21259
21263
|
this.setNextPrevMonthDates();
|
|
21260
21264
|
}
|
|
21261
21265
|
render() {
|
|
21262
|
-
return hAsync("div", { class: CSS$
|
|
21266
|
+
return hAsync("div", { class: CSS$R.header }, this.renderContent());
|
|
21263
21267
|
}
|
|
21264
21268
|
renderContent() {
|
|
21265
21269
|
const { messages, localeData, activeDate } = this;
|
|
@@ -21282,12 +21286,12 @@ class DatePickerMonthHeader {
|
|
|
21282
21286
|
const order = getOrder(unitOrder);
|
|
21283
21287
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
21284
21288
|
const suffix = localeData.year?.suffix;
|
|
21285
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
21289
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$R.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: iconScale })), hAsync("div", { class: { text: true, [CSS$R.textReverse]: reverse } }, hAsync(Heading, { class: CSS$R.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$R.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
21286
21290
|
year: true,
|
|
21287
|
-
[CSS$
|
|
21291
|
+
[CSS$R.yearSuffix]: !!suffix,
|
|
21288
21292
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21289
21293
|
// 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)
|
|
21290
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
21294
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$R.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$R.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: iconScale }))));
|
|
21291
21295
|
}
|
|
21292
21296
|
setNextPrevMonthDates() {
|
|
21293
21297
|
if (!this.activeDate) {
|
|
@@ -21790,7 +21794,7 @@ class Dropdown {
|
|
|
21790
21794
|
}; }
|
|
21791
21795
|
}
|
|
21792
21796
|
|
|
21793
|
-
const CSS$
|
|
21797
|
+
const CSS$Q = {
|
|
21794
21798
|
container: "container",
|
|
21795
21799
|
containerLink: "container--link",
|
|
21796
21800
|
containerMulti: "container--multi-selection",
|
|
@@ -21838,8 +21842,8 @@ class DropdownGroup {
|
|
|
21838
21842
|
const groupTitle = this.groupTitle ? (hAsync("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
21839
21843
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21840
21844
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21841
|
-
[CSS$
|
|
21842
|
-
[`${CSS$
|
|
21845
|
+
[CSS$Q.container]: true,
|
|
21846
|
+
[`${CSS$Q.container}--${this.scale}`]: true,
|
|
21843
21847
|
} }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21844
21848
|
}
|
|
21845
21849
|
//--------------------------------------------------------------------------
|
|
@@ -21933,9 +21937,9 @@ class DropdownItem {
|
|
|
21933
21937
|
}
|
|
21934
21938
|
render() {
|
|
21935
21939
|
const { href, selectionMode, label, iconFlipRtl, scale } = this;
|
|
21936
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
21937
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
21938
|
-
const iconEndEl = (hAsync("calcite-icon", { class: CSS$
|
|
21940
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$Q.iconStart, flipRtl: iconFlipRtl === "start" || iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
21941
|
+
const contentNode = (hAsync("span", { class: CSS$Q.itemContent }, hAsync("slot", null)));
|
|
21942
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$Q.iconEnd, flipRtl: iconFlipRtl === "end" || iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
21939
21943
|
const slottedContent = this.iconStart && this.iconEnd
|
|
21940
21944
|
? [iconStartEl, contentNode, iconEndEl]
|
|
21941
21945
|
: this.iconStart
|
|
@@ -21943,7 +21947,7 @@ class DropdownItem {
|
|
|
21943
21947
|
: this.iconEnd
|
|
21944
21948
|
? [contentNode, iconEndEl]
|
|
21945
21949
|
: contentNode;
|
|
21946
|
-
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$
|
|
21950
|
+
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$Q.link, href: href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
21947
21951
|
// 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)
|
|
21948
21952
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
21949
21953
|
const itemRole = href
|
|
@@ -21955,13 +21959,13 @@ class DropdownItem {
|
|
|
21955
21959
|
: "menuitem";
|
|
21956
21960
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
21957
21961
|
return (hAsync(Host, { "aria-checked": itemAria, "aria-label": !href ? label : "", role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
21958
|
-
[CSS$
|
|
21959
|
-
[CSS$
|
|
21960
|
-
[`${CSS$
|
|
21961
|
-
[CSS$
|
|
21962
|
-
[CSS$
|
|
21963
|
-
[CSS$
|
|
21964
|
-
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$
|
|
21962
|
+
[CSS$Q.container]: true,
|
|
21963
|
+
[CSS$Q.containerLink]: !!href,
|
|
21964
|
+
[`${CSS$Q.container}--${scale}`]: true,
|
|
21965
|
+
[CSS$Q.containerMulti]: selectionMode === "multiple",
|
|
21966
|
+
[CSS$Q.containerSingle]: selectionMode === "single",
|
|
21967
|
+
[CSS$Q.containerNone]: selectionMode === "none",
|
|
21968
|
+
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$Q.icon, icon: selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
|
|
21965
21969
|
}
|
|
21966
21970
|
//--------------------------------------------------------------------------
|
|
21967
21971
|
//
|
|
@@ -22068,7 +22072,7 @@ class DropdownItem {
|
|
|
22068
22072
|
}; }
|
|
22069
22073
|
}
|
|
22070
22074
|
|
|
22071
|
-
const CSS$
|
|
22075
|
+
const CSS$P = {
|
|
22072
22076
|
button: "button",
|
|
22073
22077
|
};
|
|
22074
22078
|
const ICONS$c = {
|
|
@@ -22129,7 +22133,7 @@ class Fab {
|
|
|
22129
22133
|
render() {
|
|
22130
22134
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl, } = this;
|
|
22131
22135
|
const title = !textEnabled ? label || text || null : null;
|
|
22132
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
22136
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$P.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",
|
|
22133
22137
|
// 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)
|
|
22134
22138
|
ref: (buttonEl) => {
|
|
22135
22139
|
this.buttonEl = buttonEl;
|
|
@@ -22159,7 +22163,7 @@ class Fab {
|
|
|
22159
22163
|
}; }
|
|
22160
22164
|
}
|
|
22161
22165
|
|
|
22162
|
-
const CSS$
|
|
22166
|
+
const CSS$O = {
|
|
22163
22167
|
container: "container",
|
|
22164
22168
|
searchIcon: "search-icon",
|
|
22165
22169
|
};
|
|
@@ -22288,7 +22292,7 @@ class Filter {
|
|
|
22288
22292
|
// --------------------------------------------------------------------------
|
|
22289
22293
|
render() {
|
|
22290
22294
|
const { disabled, scale } = this;
|
|
22291
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
22295
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$O.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$b.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
|
|
22292
22296
|
// 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)
|
|
22293
22297
|
ref: (el) => {
|
|
22294
22298
|
this.textInput = el;
|
|
@@ -22327,7 +22331,7 @@ class Filter {
|
|
|
22327
22331
|
}; }
|
|
22328
22332
|
}
|
|
22329
22333
|
|
|
22330
|
-
const CSS$
|
|
22334
|
+
const CSS$N = {
|
|
22331
22335
|
frame: "frame",
|
|
22332
22336
|
frameAdvancing: "frame--advancing",
|
|
22333
22337
|
frameRetreating: "frame--retreating",
|
|
@@ -22449,9 +22453,9 @@ class Flow {
|
|
|
22449
22453
|
render() {
|
|
22450
22454
|
const { flowDirection } = this;
|
|
22451
22455
|
const frameDirectionClasses = {
|
|
22452
|
-
[CSS$
|
|
22453
|
-
[CSS$
|
|
22454
|
-
[CSS$
|
|
22456
|
+
[CSS$N.frame]: true,
|
|
22457
|
+
[CSS$N.frameAdvancing]: flowDirection === "advancing",
|
|
22458
|
+
[CSS$N.frameRetreating]: flowDirection === "retreating",
|
|
22455
22459
|
};
|
|
22456
22460
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
22457
22461
|
}
|
|
@@ -22474,7 +22478,7 @@ class Flow {
|
|
|
22474
22478
|
}; }
|
|
22475
22479
|
}
|
|
22476
22480
|
|
|
22477
|
-
const CSS$
|
|
22481
|
+
const CSS$M = {
|
|
22478
22482
|
actionBarContainer: "action-bar-container",
|
|
22479
22483
|
backButton: "back-button",
|
|
22480
22484
|
container: "container",
|
|
@@ -22509,7 +22513,7 @@ const SLOTS$n = {
|
|
|
22509
22513
|
footerActions: "footer-actions",
|
|
22510
22514
|
};
|
|
22511
22515
|
|
|
22512
|
-
const CSS$
|
|
22516
|
+
const CSS$L = {
|
|
22513
22517
|
backButton: "back-button",
|
|
22514
22518
|
};
|
|
22515
22519
|
const ICONS$9 = {
|
|
@@ -22657,7 +22661,7 @@ class FlowItem {
|
|
|
22657
22661
|
const { showBackButton, backButtonClick, messages } = this;
|
|
22658
22662
|
const label = messages.back;
|
|
22659
22663
|
const icon = rtl ? ICONS$9.backRight : ICONS$9.backLeft;
|
|
22660
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
22664
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$L.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label, title: label,
|
|
22661
22665
|
// 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)
|
|
22662
22666
|
ref: this.setBackRef })) : null;
|
|
22663
22667
|
}
|
|
@@ -22921,7 +22925,7 @@ class Graph {
|
|
|
22921
22925
|
}; }
|
|
22922
22926
|
}
|
|
22923
22927
|
|
|
22924
|
-
const CSS$
|
|
22928
|
+
const CSS$K = {
|
|
22925
22929
|
handle: "handle",
|
|
22926
22930
|
handleActivated: "handle--activated",
|
|
22927
22931
|
};
|
|
@@ -23044,7 +23048,7 @@ class Handle {
|
|
|
23044
23048
|
render() {
|
|
23045
23049
|
return (
|
|
23046
23050
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
23047
|
-
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
23051
|
+
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$K.handle]: true, [CSS$K.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages?.dragHandle,
|
|
23048
23052
|
// 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)
|
|
23049
23053
|
ref: (el) => {
|
|
23050
23054
|
this.handleButton = el;
|
|
@@ -23083,7 +23087,7 @@ class Handle {
|
|
|
23083
23087
|
}; }
|
|
23084
23088
|
}
|
|
23085
23089
|
|
|
23086
|
-
const CSS$
|
|
23090
|
+
const CSS$J = {
|
|
23087
23091
|
icon: "icon",
|
|
23088
23092
|
flipRtl: "flip-rtl",
|
|
23089
23093
|
};
|
|
@@ -23131,7 +23135,7 @@ class Icon {
|
|
|
23131
23135
|
const semantic = !!textLabel;
|
|
23132
23136
|
const paths = [].concat(pathData || "");
|
|
23133
23137
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
23134
|
-
[CSS$
|
|
23138
|
+
[CSS$J.flipRtl]: dir === "rtl" && flipRtl,
|
|
23135
23139
|
svg: true,
|
|
23136
23140
|
}, 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 }))))));
|
|
23137
23141
|
}
|
|
@@ -23177,7 +23181,7 @@ class Icon {
|
|
|
23177
23181
|
}; }
|
|
23178
23182
|
}
|
|
23179
23183
|
|
|
23180
|
-
const CSS$
|
|
23184
|
+
const CSS$I = {
|
|
23181
23185
|
wrapper: "wrapper",
|
|
23182
23186
|
confirmChangesButton: "confirm-changes-button",
|
|
23183
23187
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -23327,16 +23331,16 @@ class InlineEditable {
|
|
|
23327
23331
|
updateHostInteraction(this);
|
|
23328
23332
|
}
|
|
23329
23333
|
render() {
|
|
23330
|
-
return (hAsync("div", { class: CSS$
|
|
23334
|
+
return (hAsync("div", { class: CSS$I.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$I.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$I.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$I.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
|
|
23331
23335
|
opacity: this.editingEnabled ? "0" : "1",
|
|
23332
23336
|
width: this.editingEnabled ? "0" : "inherit",
|
|
23333
23337
|
}, type: "button",
|
|
23334
23338
|
// 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)
|
|
23335
23339
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
23336
|
-
hAsync("div", { class: CSS$
|
|
23340
|
+
hAsync("div", { class: CSS$I.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$I.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
|
|
23337
23341
|
// 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)
|
|
23338
23342
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
23339
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
23343
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$I.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
|
|
23340
23344
|
// 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)
|
|
23341
23345
|
ref: (el) => (this.confirmEditingButton = el) }),
|
|
23342
23346
|
])));
|
|
@@ -23422,7 +23426,7 @@ class InlineEditable {
|
|
|
23422
23426
|
}; }
|
|
23423
23427
|
}
|
|
23424
23428
|
|
|
23425
|
-
const CSS$
|
|
23429
|
+
const CSS$H = {
|
|
23426
23430
|
loader: "loader",
|
|
23427
23431
|
clearButton: "clear-button",
|
|
23428
23432
|
editingEnabled: "editing-enabled",
|
|
@@ -24006,38 +24010,38 @@ class Input {
|
|
|
24006
24010
|
// --------------------------------------------------------------------------
|
|
24007
24011
|
render() {
|
|
24008
24012
|
const dir = getElementDir(this.el);
|
|
24009
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24010
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24011
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
24013
|
+
const loader = (hAsync("div", { class: CSS$H.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
24014
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$H.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
24015
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$H.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
24012
24016
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
24013
24017
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24014
|
-
[CSS$
|
|
24015
|
-
[CSS$
|
|
24018
|
+
[CSS$H.numberButtonItem]: true,
|
|
24019
|
+
[CSS$H.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24016
24020
|
}, "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: this.scale === "l" ? "m" : "s" })));
|
|
24017
24021
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24018
|
-
[CSS$
|
|
24019
|
-
[CSS$
|
|
24022
|
+
[CSS$H.numberButtonItem]: true,
|
|
24023
|
+
[CSS$H.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24020
24024
|
}, "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: this.scale === "l" ? "m" : "s" })));
|
|
24021
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
24022
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24023
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
24025
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$H.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
24026
|
+
const prefixText = hAsync("div", { class: CSS$H.prefix }, this.prefixText);
|
|
24027
|
+
const suffixText = hAsync("div", { class: CSS$H.suffix }, this.suffixText);
|
|
24024
24028
|
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,
|
|
24025
24029
|
// 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)
|
|
24026
24030
|
ref: this.setChildNumberElRef })) : null;
|
|
24027
24031
|
const childEl = this.type !== "number"
|
|
24028
24032
|
? [
|
|
24029
24033
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
24030
|
-
[CSS$
|
|
24031
|
-
[CSS$
|
|
24034
|
+
[CSS$H.editingEnabled]: this.editingEnabled,
|
|
24035
|
+
[CSS$H.inlineChild]: !!this.inlineEditableEl,
|
|
24032
24036
|
}, 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,
|
|
24033
24037
|
// 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)
|
|
24034
24038
|
ref: this.setChildElRef }),
|
|
24035
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
24039
|
+
this.isTextarea ? (hAsync("div", { class: CSS$H.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null,
|
|
24036
24040
|
]
|
|
24037
24041
|
: null;
|
|
24038
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
24042
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$H.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24039
24043
|
? numberButtonsHorizontalDown
|
|
24040
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
24044
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$H.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$H.actionWrapper }, hAsync("slot", { name: SLOTS$l.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
24041
24045
|
? numberButtonsVertical
|
|
24042
24046
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24043
24047
|
? numberButtonsHorizontalUp
|
|
@@ -24112,7 +24116,7 @@ class Input {
|
|
|
24112
24116
|
}; }
|
|
24113
24117
|
}
|
|
24114
24118
|
|
|
24115
|
-
const CSS$
|
|
24119
|
+
const CSS$G = {
|
|
24116
24120
|
assistiveText: "assistive-text",
|
|
24117
24121
|
menu: "menu-container",
|
|
24118
24122
|
menuActive: "menu-container--active",
|
|
@@ -25579,9 +25583,9 @@ class InputDatePicker {
|
|
|
25579
25583
|
// 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)
|
|
25580
25584
|
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, type: "text",
|
|
25581
25585
|
// 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)
|
|
25582
|
-
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$
|
|
25583
|
-
[CSS$
|
|
25584
|
-
[CSS$
|
|
25586
|
+
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$G.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: {
|
|
25587
|
+
[CSS$G.menu]: true,
|
|
25588
|
+
[CSS$G.menuActive]: this.open,
|
|
25585
25589
|
}, id: this.dialogId, role: "dialog",
|
|
25586
25590
|
// 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)
|
|
25587
25591
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -25603,7 +25607,7 @@ class InputDatePicker {
|
|
|
25603
25607
|
ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25604
25608
|
}
|
|
25605
25609
|
renderToggleIcon(open) {
|
|
25606
|
-
return (hAsync("span", { class: CSS$
|
|
25610
|
+
return (hAsync("span", { class: CSS$G.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
25607
25611
|
}
|
|
25608
25612
|
setReferenceEl() {
|
|
25609
25613
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -25862,7 +25866,7 @@ class InputMessage {
|
|
|
25862
25866
|
}; }
|
|
25863
25867
|
}
|
|
25864
25868
|
|
|
25865
|
-
const CSS$
|
|
25869
|
+
const CSS$F = {
|
|
25866
25870
|
loader: "loader",
|
|
25867
25871
|
clearButton: "clear-button",
|
|
25868
25872
|
editingEnabled: "editing-enabled",
|
|
@@ -26377,27 +26381,27 @@ class InputNumber {
|
|
|
26377
26381
|
// --------------------------------------------------------------------------
|
|
26378
26382
|
render() {
|
|
26379
26383
|
const dir = getElementDir(this.el);
|
|
26380
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26381
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26382
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26384
|
+
const loader = (hAsync("div", { class: CSS$F.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26385
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$F.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26386
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$F.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26383
26387
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
26384
26388
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26385
|
-
[CSS$
|
|
26386
|
-
[CSS$
|
|
26389
|
+
[CSS$F.numberButtonItem]: true,
|
|
26390
|
+
[CSS$F.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26387
26391
|
}, "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: this.scale === "l" ? "m" : "s" })));
|
|
26388
26392
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26389
|
-
[CSS$
|
|
26390
|
-
[CSS$
|
|
26393
|
+
[CSS$F.numberButtonItem]: true,
|
|
26394
|
+
[CSS$F.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26391
26395
|
}, "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: this.scale === "l" ? "m" : "s" })));
|
|
26392
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
26393
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26394
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26396
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$F.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
26397
|
+
const prefixText = hAsync("div", { class: CSS$F.prefix }, this.prefixText);
|
|
26398
|
+
const suffixText = hAsync("div", { class: CSS$F.suffix }, this.suffixText);
|
|
26395
26399
|
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,
|
|
26396
26400
|
// 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)
|
|
26397
26401
|
ref: this.setChildNumberElRef }));
|
|
26398
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26402
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$F.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26399
26403
|
? numberButtonsHorizontalDown
|
|
26400
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
26404
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$F.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$F.actionWrapper }, hAsync("slot", { name: SLOTS$k.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26401
26405
|
? numberButtonsHorizontalUp
|
|
26402
26406
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26403
26407
|
}
|
|
@@ -26465,7 +26469,7 @@ class InputNumber {
|
|
|
26465
26469
|
}; }
|
|
26466
26470
|
}
|
|
26467
26471
|
|
|
26468
|
-
const CSS$
|
|
26472
|
+
const CSS$E = {
|
|
26469
26473
|
loader: "loader",
|
|
26470
26474
|
clearButton: "clear-button",
|
|
26471
26475
|
editingEnabled: "editing-enabled",
|
|
@@ -26765,18 +26769,18 @@ class InputText {
|
|
|
26765
26769
|
// --------------------------------------------------------------------------
|
|
26766
26770
|
render() {
|
|
26767
26771
|
const dir = getElementDir(this.el);
|
|
26768
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26769
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26770
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26771
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26772
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26772
|
+
const loader = (hAsync("div", { class: CSS$E.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26773
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$E.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26774
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$E.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26775
|
+
const prefixText = hAsync("div", { class: CSS$E.prefix }, this.prefixText);
|
|
26776
|
+
const suffixText = hAsync("div", { class: CSS$E.suffix }, this.suffixText);
|
|
26773
26777
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
26774
|
-
[CSS$
|
|
26775
|
-
[CSS$
|
|
26778
|
+
[CSS$E.editingEnabled]: this.editingEnabled,
|
|
26779
|
+
[CSS$E.inlineChild]: !!this.inlineEditableEl,
|
|
26776
26780
|
}, 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,
|
|
26777
26781
|
// 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)
|
|
26778
26782
|
ref: this.setChildElRef }));
|
|
26779
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26783
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$E.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$E.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$E.actionWrapper }, hAsync("slot", { name: SLOTS$j.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26780
26784
|
}
|
|
26781
26785
|
static get assetsDirs() { return ["assets"]; }
|
|
26782
26786
|
get el() { return getElement(this); }
|
|
@@ -27092,7 +27096,7 @@ function toISOTimeString(value, includeSeconds = true) {
|
|
|
27092
27096
|
return isoTimeString;
|
|
27093
27097
|
}
|
|
27094
27098
|
|
|
27095
|
-
const CSS$
|
|
27099
|
+
const CSS$D = {
|
|
27096
27100
|
toggleIcon: "toggle-icon",
|
|
27097
27101
|
};
|
|
27098
27102
|
|
|
@@ -28865,7 +28869,7 @@ class InputTimePicker {
|
|
|
28865
28869
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
28866
28870
|
}
|
|
28867
28871
|
renderToggleIcon(open) {
|
|
28868
|
-
return (hAsync("span", { class: CSS$
|
|
28872
|
+
return (hAsync("span", { class: CSS$D.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
28869
28873
|
}
|
|
28870
28874
|
static get delegatesFocus() { return true; }
|
|
28871
28875
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -29109,7 +29113,7 @@ class InputTimeZone {
|
|
|
29109
29113
|
}; }
|
|
29110
29114
|
}
|
|
29111
29115
|
|
|
29112
|
-
const CSS$
|
|
29116
|
+
const CSS$C = {
|
|
29113
29117
|
container: "container",
|
|
29114
29118
|
};
|
|
29115
29119
|
|
|
@@ -29149,7 +29153,7 @@ class Label {
|
|
|
29149
29153
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
29150
29154
|
}
|
|
29151
29155
|
render() {
|
|
29152
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
29156
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$C.container }, hAsync("slot", null))));
|
|
29153
29157
|
}
|
|
29154
29158
|
get el() { return getElement(this); }
|
|
29155
29159
|
static get style() { return labelCss; }
|
|
@@ -29284,7 +29288,7 @@ class Link {
|
|
|
29284
29288
|
}; }
|
|
29285
29289
|
}
|
|
29286
29290
|
|
|
29287
|
-
const CSS$
|
|
29291
|
+
const CSS$B = {
|
|
29288
29292
|
container: "container",
|
|
29289
29293
|
containerBorderSelected: "container--border-selected",
|
|
29290
29294
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -29351,7 +29355,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
29351
29355
|
}
|
|
29352
29356
|
}
|
|
29353
29357
|
|
|
29354
|
-
const CSS$
|
|
29358
|
+
const CSS$A = {
|
|
29355
29359
|
container: "container",
|
|
29356
29360
|
table: "table",
|
|
29357
29361
|
scrim: "scrim",
|
|
@@ -32387,6 +32391,11 @@ Sortable.mount(new AutoScrollPlugin());
|
|
|
32387
32391
|
Sortable.mount(Remove, Revert);
|
|
32388
32392
|
|
|
32389
32393
|
const sortableComponentSet = new Set();
|
|
32394
|
+
const CSS$z = {
|
|
32395
|
+
ghostClass: "calcite-sortable--ghost",
|
|
32396
|
+
chosenClass: "calcite-sortable--chosen",
|
|
32397
|
+
dragClass: "calcite-sortable--drag",
|
|
32398
|
+
};
|
|
32390
32399
|
/**
|
|
32391
32400
|
* Helper to keep track of a SortableComponent. This should be called in the `connectedCallback` lifecycle method as well as any other method necessary to rebuild the sortable instance.
|
|
32392
32401
|
*
|
|
@@ -32399,6 +32408,7 @@ function connectSortableComponent(component) {
|
|
|
32399
32408
|
const { group, handleSelector: handle, dragSelector: draggable } = component;
|
|
32400
32409
|
component.sortable = Sortable.create(component.el, {
|
|
32401
32410
|
dataIdAttr,
|
|
32411
|
+
...CSS$z,
|
|
32402
32412
|
...(!!draggable && { draggable }),
|
|
32403
32413
|
...(!!group && {
|
|
32404
32414
|
group: {
|
|
@@ -32781,9 +32791,9 @@ class List$1 {
|
|
|
32781
32791
|
// --------------------------------------------------------------------------
|
|
32782
32792
|
render() {
|
|
32783
32793
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
|
|
32784
|
-
return (hAsync("div", { class: CSS$
|
|
32794
|
+
return (hAsync("div", { class: CSS$A.container }, this.dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: CSS$A.assistiveText }, this.assistiveText)) : null, loading ? hAsync("calcite-scrim", { class: CSS$A.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$A.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$A.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-stack", { class: CSS$A.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,
|
|
32785
32795
|
// 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)
|
|
32786
|
-
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$h.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$g.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$
|
|
32796
|
+
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$h.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$g.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$A.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
32787
32797
|
}
|
|
32788
32798
|
// --------------------------------------------------------------------------
|
|
32789
32799
|
//
|
|
@@ -33197,47 +33207,47 @@ class ListItem {
|
|
|
33197
33207
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
33198
33208
|
return null;
|
|
33199
33209
|
}
|
|
33200
|
-
return (hAsync("td", { class: CSS$
|
|
33210
|
+
return (hAsync("td", { class: CSS$B.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
33201
33211
|
? selectionMode === "multiple"
|
|
33202
33212
|
? ICONS$7.selectedMultiple
|
|
33203
33213
|
: ICONS$7.selectedSingle
|
|
33204
33214
|
: ICONS$7.unselected, scale: "s" })));
|
|
33205
33215
|
}
|
|
33206
33216
|
renderDragHandle() {
|
|
33207
|
-
return this.dragHandle ? (hAsync("td", { class: CSS$
|
|
33217
|
+
return this.dragHandle ? (hAsync("td", { class: CSS$B.dragContainer, key: "drag-handle-container" }, hAsync("calcite-handle", { label: this.label, setPosition: this.setPosition, setSize: this.setSize }))) : null;
|
|
33208
33218
|
}
|
|
33209
33219
|
renderOpen() {
|
|
33210
33220
|
const { el, open, openable, parentListEl } = this;
|
|
33211
33221
|
const dir = getElementDir(el);
|
|
33212
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
33222
|
+
return openable ? (hAsync("td", { class: CSS$B.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$7.open : dir === "rtl" ? ICONS$7.closedRTL : ICONS$7.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$B.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$7.blank, scale: "s" }))) : null;
|
|
33213
33223
|
}
|
|
33214
33224
|
renderActionsStart() {
|
|
33215
33225
|
const { label, hasActionsStart } = this;
|
|
33216
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
33226
|
+
return (hAsync("td", { "aria-label": label, class: CSS$B.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
33217
33227
|
// 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)
|
|
33218
33228
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$i.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
33219
33229
|
}
|
|
33220
33230
|
renderActionsEnd() {
|
|
33221
33231
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
33222
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
33232
|
+
return (hAsync("td", { "aria-label": label, class: CSS$B.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
33223
33233
|
// 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)
|
|
33224
33234
|
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$i.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$7.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
|
33225
33235
|
}
|
|
33226
33236
|
renderContentStart() {
|
|
33227
33237
|
const { hasContentStart } = this;
|
|
33228
|
-
return (hAsync("div", { class: CSS$
|
|
33238
|
+
return (hAsync("div", { class: CSS$B.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$i.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
33229
33239
|
}
|
|
33230
33240
|
renderCustomContent() {
|
|
33231
33241
|
const { hasCustomContent } = this;
|
|
33232
|
-
return (hAsync("div", { class: CSS$
|
|
33242
|
+
return (hAsync("div", { class: CSS$B.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$i.content, onSlotchange: this.handleContentSlotChange })));
|
|
33233
33243
|
}
|
|
33234
33244
|
renderContentEnd() {
|
|
33235
33245
|
const { hasContentEnd } = this;
|
|
33236
|
-
return (hAsync("div", { class: CSS$
|
|
33246
|
+
return (hAsync("div", { class: CSS$B.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$i.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
33237
33247
|
}
|
|
33238
33248
|
renderContentProperties() {
|
|
33239
33249
|
const { label, description, hasCustomContent } = this;
|
|
33240
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
33250
|
+
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$B.content, key: "content" }, label ? (hAsync("div", { class: CSS$B.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$B.description, key: "description" }, description)) : null)) : null;
|
|
33241
33251
|
}
|
|
33242
33252
|
renderContentContainer() {
|
|
33243
33253
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -33249,9 +33259,9 @@ class ListItem {
|
|
|
33249
33259
|
this.renderContentEnd(),
|
|
33250
33260
|
];
|
|
33251
33261
|
return (hAsync("td", { "aria-label": label, class: {
|
|
33252
|
-
[CSS$
|
|
33253
|
-
[CSS$
|
|
33254
|
-
[CSS$
|
|
33262
|
+
[CSS$B.contentContainer]: true,
|
|
33263
|
+
[CSS$B.contentContainerSelectable]: selectionMode !== "none",
|
|
33264
|
+
[CSS$B.contentContainerHasCenterContent]: hasCenterContent,
|
|
33255
33265
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
33256
33266
|
// 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)
|
|
33257
33267
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -33262,14 +33272,14 @@ class ListItem {
|
|
|
33262
33272
|
const borderSelected = showBorder && selected;
|
|
33263
33273
|
const borderUnselected = showBorder && !selected;
|
|
33264
33274
|
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: {
|
|
33265
|
-
[CSS$
|
|
33266
|
-
[CSS$
|
|
33267
|
-
[CSS$
|
|
33275
|
+
[CSS$B.container]: true,
|
|
33276
|
+
[CSS$B.containerBorderSelected]: borderSelected,
|
|
33277
|
+
[CSS$B.containerBorderUnselected]: borderUnselected,
|
|
33268
33278
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
33269
33279
|
// 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)
|
|
33270
33280
|
ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
33271
|
-
[CSS$
|
|
33272
|
-
[CSS$
|
|
33281
|
+
[CSS$B.nestedContainer]: true,
|
|
33282
|
+
[CSS$B.nestedContainerHidden]: openable && !open,
|
|
33273
33283
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (el) => (this.defaultSlotEl = el) }))));
|
|
33274
33284
|
}
|
|
33275
33285
|
// --------------------------------------------------------------------------
|
|
@@ -34918,22 +34928,22 @@ class Panel {
|
|
|
34918
34928
|
// --------------------------------------------------------------------------
|
|
34919
34929
|
renderHeaderContent() {
|
|
34920
34930
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
34921
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
34922
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
34923
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
34931
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$M.heading, level: headingLevel }, heading)) : null;
|
|
34932
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$M.description }, description) : null;
|
|
34933
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$M.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
34924
34934
|
}
|
|
34925
34935
|
renderActionBar() {
|
|
34926
|
-
return (hAsync("div", { class: CSS$
|
|
34936
|
+
return (hAsync("div", { class: CSS$M.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$n.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
34927
34937
|
}
|
|
34928
34938
|
/**
|
|
34929
34939
|
* Allows user to override the entire header-content node.
|
|
34930
34940
|
*/
|
|
34931
34941
|
renderHeaderSlottedContent() {
|
|
34932
|
-
return (hAsync("div", { class: CSS$
|
|
34942
|
+
return (hAsync("div", { class: CSS$M.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$n.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
34933
34943
|
}
|
|
34934
34944
|
renderHeaderStartActions() {
|
|
34935
34945
|
const { hasStartActions } = this;
|
|
34936
|
-
return (hAsync("div", { class: { [CSS$
|
|
34946
|
+
return (hAsync("div", { class: { [CSS$M.headerActionsStart]: true, [CSS$M.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$n.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
34937
34947
|
}
|
|
34938
34948
|
renderHeaderActionsEnd() {
|
|
34939
34949
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -34943,7 +34953,7 @@ class Panel {
|
|
|
34943
34953
|
ref: this.setCloseRef })) : null;
|
|
34944
34954
|
const slotNode = (hAsync("slot", { name: SLOTS$n.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
34945
34955
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
34946
|
-
return (hAsync("div", { class: { [CSS$
|
|
34956
|
+
return (hAsync("div", { class: { [CSS$M.headerActionsEnd]: true, [CSS$M.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
34947
34957
|
}
|
|
34948
34958
|
renderMenu() {
|
|
34949
34959
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -34959,24 +34969,24 @@ class Panel {
|
|
|
34959
34969
|
closable ||
|
|
34960
34970
|
hasMenuItems;
|
|
34961
34971
|
this.showHeaderContent = showHeaderContent;
|
|
34962
|
-
return (hAsync("header", { class: CSS$
|
|
34972
|
+
return (hAsync("header", { class: CSS$M.header, hidden: !(showHeaderContent || hasActionBar) }, hAsync("div", { class: { [CSS$M.headerContainer]: true, [CSS$M.headerContainerBorderEnd]: hasActionBar }, hidden: !showHeaderContent }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()), this.renderActionBar()));
|
|
34963
34973
|
}
|
|
34964
34974
|
renderFooterNode() {
|
|
34965
34975
|
const { hasFooterContent, hasFooterActions } = this;
|
|
34966
34976
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
34967
|
-
return (hAsync("footer", { class: CSS$
|
|
34977
|
+
return (hAsync("footer", { class: CSS$M.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 })));
|
|
34968
34978
|
}
|
|
34969
34979
|
renderContent() {
|
|
34970
|
-
return (hAsync("div", { class: CSS$
|
|
34980
|
+
return (hAsync("div", { class: CSS$M.contentWrapper, onScroll: this.panelScrollHandler,
|
|
34971
34981
|
// 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)
|
|
34972
34982
|
ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
|
|
34973
34983
|
}
|
|
34974
34984
|
renderFab() {
|
|
34975
|
-
return (hAsync("div", { class: CSS$
|
|
34985
|
+
return (hAsync("div", { class: CSS$M.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$n.fab, onSlotchange: this.handleFabSlotChange })));
|
|
34976
34986
|
}
|
|
34977
34987
|
render() {
|
|
34978
34988
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
34979
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
34989
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$M.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
34980
34990
|
// 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)
|
|
34981
34991
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
34982
34992
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|