@esri/calcite-components 1.9.0-next.3 → 1.9.0-next.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-1bb457f3.entry.js → p-000e2728.entry.js} +2 -2
- package/dist/calcite/{p-6de366a5.js → p-000e7a9c.js} +2 -2
- package/dist/calcite/{p-d65c24dd.js → p-011d1649.js} +2 -2
- package/dist/calcite/{p-474b3b53.entry.js → p-01a22ce7.entry.js} +2 -2
- package/dist/calcite/{p-227395bb.js → p-021d91a8.js} +2 -2
- package/dist/calcite/{p-4f7aa70e.js → p-02fa5c31.js} +2 -2
- package/dist/calcite/{p-80108615.js → p-03b3c4ea.js} +2 -2
- package/dist/calcite/{p-3e274800.entry.js → p-04122b9d.entry.js} +2 -2
- package/dist/calcite/p-07d78a7f.entry.js +6 -0
- package/dist/calcite/{p-3ddd77cd.js → p-09cb59f9.js} +1 -1
- package/dist/calcite/{p-aa2e2365.js → p-0a7b1cec.js} +2 -2
- package/dist/calcite/{p-8d53d2e0.js → p-0c8fa9de.js} +2 -2
- package/dist/calcite/{p-e24b0372.js → p-0cddb6c1.js} +1 -1
- package/dist/calcite/{p-6e8d3adf.js → p-1079767f.js} +1 -1
- package/dist/calcite/{p-aa812f76.js → p-10fef526.js} +2 -2
- package/dist/calcite/{p-ed5f082e.js → p-1115b118.js} +2 -2
- package/dist/calcite/{p-b51bd332.js → p-13188419.js} +2 -2
- package/dist/calcite/p-159fc8a5.entry.js +6 -0
- package/dist/calcite/{p-3784b9d3.js → p-1653e454.js} +2 -2
- package/dist/calcite/{p-05f0f72f.js → p-18d1ecdc.js} +2 -2
- package/dist/calcite/{p-0672b0b1.js → p-1bffbde0.js} +1 -1
- package/dist/calcite/{p-c5c33dce.js → p-1cf1b025.js} +2 -2
- package/dist/calcite/{p-202af81c.entry.js → p-1de68360.entry.js} +2 -2
- package/dist/calcite/{p-66a4d86d.js → p-1f50aa79.js} +2 -2
- package/dist/calcite/{p-9f622eeb.js → p-1f8b57a0.js} +2 -2
- package/dist/calcite/{p-a1234dfc.entry.js → p-20e37b03.entry.js} +2 -2
- package/dist/calcite/p-244e4681.js +6 -0
- package/dist/calcite/{p-96b285c9.entry.js → p-2af4fea0.entry.js} +2 -2
- package/dist/calcite/{p-632bffd2.js → p-2c53660f.js} +2 -2
- package/dist/calcite/{p-d8ebee0d.js → p-2ed6823b.js} +2 -2
- package/dist/calcite/p-308c35a1.entry.js +6 -0
- package/dist/calcite/{p-acb80b26.js → p-30c9a405.js} +1 -1
- package/dist/calcite/{p-f5e8dc3c.entry.js → p-31f3d1cd.entry.js} +2 -2
- package/dist/calcite/p-321620e7.entry.js +6 -0
- package/dist/calcite/{p-4e1d3647.js → p-3a9f5e51.js} +2 -2
- package/dist/calcite/{p-d14bdea8.js → p-3c0c9062.js} +1 -1
- package/dist/calcite/{p-e99818cd.js → p-40534bdb.js} +2 -2
- package/dist/calcite/{p-10b6fe75.js → p-40d04b81.js} +2 -2
- package/dist/calcite/{p-17f68268.entry.js → p-4160803c.entry.js} +2 -2
- package/dist/calcite/{p-ca0b7000.js → p-41de55f3.js} +2 -2
- package/dist/calcite/{p-d9204e60.entry.js → p-44507391.entry.js} +2 -2
- package/dist/calcite/{p-092415db.js → p-44ff61cf.js} +2 -2
- package/dist/calcite/{p-d1b5553f.entry.js → p-46688e32.entry.js} +2 -2
- package/dist/calcite/p-4717d649.entry.js +6 -0
- package/dist/calcite/{p-7b34551a.js → p-4a89502c.js} +2 -2
- package/dist/calcite/{p-138b7c6b.js → p-4b55b4bb.js} +2 -2
- package/dist/calcite/{p-2808b8e6.entry.js → p-4b8caa79.entry.js} +2 -2
- package/dist/calcite/p-4e8f7f88.entry.js +6 -0
- package/dist/calcite/p-504612a0.js +6 -0
- package/dist/calcite/{p-82721218.js → p-5202719d.js} +2 -2
- package/dist/calcite/p-5310f0f3.entry.js +6 -0
- package/dist/calcite/{p-575ce009.entry.js → p-541f50aa.entry.js} +2 -2
- package/dist/calcite/{p-e4028c9b.js → p-594685ef.js} +1 -1
- package/dist/calcite/{p-8bba9eb4.entry.js → p-5a2286b3.entry.js} +2 -2
- package/dist/calcite/{p-e7dafa71.entry.js → p-5acbf81c.entry.js} +2 -2
- package/dist/calcite/{p-caa0d248.entry.js → p-5c6f03a9.entry.js} +2 -2
- package/dist/calcite/{p-dda93ade.js → p-5cd5148f.js} +2 -2
- package/dist/calcite/{p-501a85a4.entry.js → p-5e00c115.entry.js} +2 -2
- package/dist/calcite/{p-b2f0aefc.entry.js → p-5e1ce095.entry.js} +2 -2
- package/dist/calcite/{p-0a97c208.entry.js → p-6421db35.entry.js} +2 -2
- package/dist/calcite/{p-b873ddbb.js → p-66d86690.js} +2 -2
- package/dist/calcite/{p-539a47c3.entry.js → p-66dbb3a5.entry.js} +2 -2
- package/dist/calcite/{p-a3814816.js → p-670a12e0.js} +1 -1
- package/dist/calcite/{p-67404525.js → p-692ee511.js} +2 -2
- package/dist/calcite/{p-dd2068da.js → p-6930d00b.js} +2 -2
- package/dist/calcite/{p-97bd33a0.js → p-697cac06.js} +1 -1
- package/dist/calcite/{p-04cbbd5f.js → p-6ab46155.js} +2 -2
- package/dist/calcite/{p-63294041.js → p-6abf3b07.js} +2 -2
- package/dist/calcite/{p-2aac6be6.js → p-6d06de09.js} +2 -2
- package/dist/calcite/{p-4bbe68c7.entry.js → p-70348af5.entry.js} +2 -2
- package/dist/calcite/{p-e3c38667.js → p-708502b9.js} +2 -2
- package/dist/calcite/{p-c055b2c0.entry.js → p-72de2f13.entry.js} +2 -2
- package/dist/calcite/{p-0819be03.entry.js → p-76059641.entry.js} +2 -2
- package/dist/calcite/{p-8f9e1d99.entry.js → p-78b43541.entry.js} +2 -2
- package/dist/calcite/{p-7672ccaa.entry.js → p-7ae1d0a0.entry.js} +2 -2
- package/dist/calcite/p-7d349e81.entry.js +6 -0
- package/dist/calcite/{p-494ed09d.js → p-7f57d8ec.js} +2 -2
- package/dist/calcite/{p-a17b24ae.entry.js → p-80f25522.entry.js} +2 -2
- package/dist/calcite/{p-e41b4435.js → p-82aa4c07.js} +2 -2
- package/dist/calcite/{p-3fe61b67.js → p-8416ab96.js} +1 -1
- package/dist/calcite/{p-3987789d.js → p-85ba9cf2.js} +1 -1
- package/dist/calcite/{p-6a772188.entry.js → p-867a8769.entry.js} +2 -2
- package/dist/calcite/{p-35c239ea.entry.js → p-86e4872d.entry.js} +2 -2
- package/dist/calcite/{p-e07c17fc.js → p-87c23b12.js} +2 -2
- package/dist/calcite/{p-58b03205.entry.js → p-88d9e9a4.entry.js} +2 -2
- package/dist/calcite/{p-e7552393.entry.js → p-8ac0e436.entry.js} +2 -2
- package/dist/calcite/{p-a372f0c2.entry.js → p-8bd469b8.entry.js} +2 -2
- package/dist/calcite/{p-e6c704be.entry.js → p-8d0f5fba.entry.js} +2 -2
- package/dist/calcite/p-8fc815f5.entry.js +6 -0
- package/dist/calcite/{p-d3941767.entry.js → p-92797d46.entry.js} +2 -2
- package/dist/calcite/{p-a8d266f5.js → p-93cf6e19.js} +2 -2
- package/dist/calcite/{p-50ebc4bb.entry.js → p-940e30b2.entry.js} +2 -2
- package/dist/calcite/{p-5a1f0e11.js → p-94e18a95.js} +2 -2
- package/dist/calcite/{p-360a98ae.entry.js → p-94f110e4.entry.js} +2 -2
- package/dist/calcite/{p-e34de236.entry.js → p-97928219.entry.js} +2 -2
- package/dist/calcite/{p-116b627f.js → p-98941cdc.js} +2 -2
- package/dist/calcite/{p-a71dbd86.entry.js → p-98d203b4.entry.js} +2 -2
- package/dist/calcite/{p-015b8deb.js → p-998ea89d.js} +2 -2
- package/dist/calcite/{p-4b878974.entry.js → p-9b950893.entry.js} +2 -2
- package/dist/calcite/{p-be7daaa2.entry.js → p-9c72c43d.entry.js} +2 -2
- package/dist/calcite/{p-ccd7fa4f.js → p-9cbc68c9.js} +2 -2
- package/dist/calcite/{p-8cf720c2.entry.js → p-9d546c95.entry.js} +2 -2
- package/dist/calcite/{p-4c4f0e98.js → p-9e6c60e9.js} +2 -2
- package/dist/calcite/{p-428f2852.entry.js → p-a1e40a1d.entry.js} +2 -2
- package/dist/calcite/{p-ca8188c0.js → p-a2f8b1aa.js} +2 -2
- package/dist/calcite/{p-903166d0.js → p-a37b8a5a.js} +2 -2
- package/dist/calcite/{p-60a555cc.js → p-a7349964.js} +1 -1
- package/dist/calcite/{p-fbbe2e48.js → p-a73a62de.js} +2 -2
- package/dist/calcite/{p-a3ed074f.entry.js → p-ac5b214c.entry.js} +2 -2
- package/dist/calcite/{p-22c70dca.js → p-ac7c6fb4.js} +2 -2
- package/dist/calcite/{p-b4a189e1.js → p-b32e4dd2.js} +2 -2
- package/dist/calcite/{p-7b28f4e2.entry.js → p-b340fadb.entry.js} +2 -2
- package/dist/calcite/{p-3e673c27.js → p-b476dab9.js} +1 -1
- package/dist/calcite/{p-c0019074.js → p-b79ddc49.js} +2 -2
- package/dist/calcite/{p-49859f3d.js → p-bbfb71b0.js} +2 -2
- package/dist/calcite/{p-7a6c4f07.js → p-bcdc1a86.js} +2 -2
- package/dist/calcite/{p-89b74c91.js → p-c0329007.js} +3 -3
- package/dist/calcite/{p-c13b2362.js → p-c43c60a6.js} +2 -2
- package/dist/calcite/{p-bdfa4598.entry.js → p-c65a6103.entry.js} +2 -2
- package/dist/calcite/{p-b7193256.entry.js → p-c90f7871.entry.js} +2 -2
- package/dist/calcite/{p-a760d47e.entry.js → p-c914f5ed.entry.js} +2 -2
- package/dist/calcite/{p-a6b99aa2.js → p-ca4ff8f7.js} +2 -2
- package/dist/calcite/{p-114c88a9.js → p-cb3642ea.js} +1 -1
- package/dist/calcite/{p-2bf261b6.js → p-cd922542.js} +1 -1
- package/dist/calcite/{p-7eac9696.entry.js → p-cfd3d633.entry.js} +2 -2
- package/dist/calcite/{p-fbd091fa.js → p-d2695ab0.js} +2 -2
- package/dist/calcite/{p-5c5f0f4f.js → p-d27f291f.js} +2 -2
- package/dist/calcite/{p-2e059d2e.entry.js → p-d474c1d8.entry.js} +2 -2
- package/dist/calcite/{p-6e3b88e9.js → p-d51009c9.js} +2 -2
- package/dist/calcite/{p-3a416724.entry.js → p-d6cacd64.entry.js} +2 -2
- package/dist/calcite/{p-c6f85adf.entry.js → p-d8976d20.entry.js} +2 -2
- package/dist/calcite/{p-55cce950.entry.js → p-dbb4fc15.entry.js} +2 -2
- package/dist/calcite/p-dc08ed59.js +6 -0
- package/dist/calcite/{p-969babf0.entry.js → p-dc2ffeb0.entry.js} +2 -2
- package/dist/calcite/{p-97b46a59.js → p-e041fd1f.js} +2 -2
- package/dist/calcite/{p-3cf64d80.js → p-e0933da0.js} +2 -2
- package/dist/calcite/{p-48f40353.entry.js → p-e216e7fe.entry.js} +2 -2
- package/dist/calcite/{p-f7e5d929.entry.js → p-e400c42b.entry.js} +2 -2
- package/dist/calcite/{p-bb34ac07.js → p-ec2aeb78.js} +2 -2
- package/dist/calcite/p-ec50d32a.entry.js +6 -0
- package/dist/calcite/{p-f0acd028.entry.js → p-ecb4344d.entry.js} +2 -2
- package/dist/calcite/{p-4f4d1a06.js → p-ed12e92c.js} +2 -2
- package/dist/calcite/{p-1eab0bb1.js → p-ee381acc.js} +1 -1
- package/dist/calcite/{p-2663f0ed.entry.js → p-efbbd69b.entry.js} +2 -2
- package/dist/calcite/{p-b162eacd.js → p-f0ce5ce7.js} +2 -2
- package/dist/calcite/{p-12acd423.entry.js → p-f0d294ec.entry.js} +2 -2
- package/dist/calcite/{p-322448c8.js → p-f0d5725f.js} +2 -2
- package/dist/calcite/{p-fb6b602a.entry.js → p-f13f4f5b.entry.js} +2 -2
- package/dist/calcite/{p-4b63da06.entry.js → p-f416712b.entry.js} +2 -2
- package/dist/calcite/{p-324fd3f8.entry.js → p-f5035070.entry.js} +2 -2
- package/dist/calcite/p-f74092e5.entry.js +6 -0
- package/dist/calcite/{p-6a1b5722.js → p-fb2dda31.js} +2 -2
- package/dist/calcite/{p-16199ef7.js → p-fbd7a792.js} +2 -2
- package/dist/calcite/p-fc66e25e.entry.js +6 -0
- package/dist/calcite/{p-313b7853.js → p-fd9ed78f.js} +2 -2
- package/dist/calcite/{p-71ed65ec.js → p-ff9835b0.js} +2 -2
- package/dist/cjs/{ExpandToggle-d6b4aa4f.js → ExpandToggle-7857c8e0.js} +5 -5
- package/dist/cjs/{FloatingArrow-e8ed9ae0.js → FloatingArrow-062ab16b.js} +2 -2
- package/dist/cjs/{Heading-b66e3928.js → Heading-4e47de1f.js} +2 -2
- package/dist/cjs/{app-globals-e3e6c83f.js → app-globals-47b2b1ec.js} +2 -2
- package/dist/cjs/{ar-9fac2182.js → ar-d9b6af55.js} +17 -17
- package/dist/cjs/{array-58af9e46.js → array-0d703ddf.js} +1 -1
- package/dist/cjs/{bg-c447edd7.js → bg-896db83d.js} +17 -17
- package/dist/cjs/{browser-3511f80d.js → browser-1f618d7a.js} +1 -1
- package/dist/cjs/{bs-17b59cd3.js → bs-58968521.js} +17 -17
- package/dist/cjs/{ca-9d950f3b.js → ca-863cb0ba.js} +17 -17
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
- 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 +15 -14
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +14 -14
- 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-c038b936.js → calcite-input-time-picker.calcite-time-picker-38f61403.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 +15 -14
- 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 +34 -23
- 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 +4 -4
- package/dist/cjs/{conditionalSlot-310c9291.js → conditionalSlot-dd6343e3.js} +3 -3
- package/dist/cjs/{cs-bcf52385.js → cs-7d530f46.js} +17 -17
- package/dist/cjs/{da-34f98b1e.js → da-348d902b.js} +17 -17
- package/dist/cjs/{de-at-d83583e5.js → de-at-d2e4e86a.js} +17 -17
- package/dist/cjs/{de-7a9f776c.js → de-c4629bdb.js} +17 -17
- package/dist/cjs/{de-ch-25837e6f.js → de-ch-edbab000.js} +17 -17
- package/dist/cjs/{debounce-92810b06.js → debounce-85eab90c.js} +1 -1
- package/dist/cjs/{dom-be0f500d.js → dom-c63795f7.js} +3 -3
- package/dist/cjs/{el-5f94d634.js → el-36e5a1cc.js} +17 -17
- package/dist/cjs/{en-au-90028244.js → en-au-d3a7d72f.js} +17 -17
- package/dist/cjs/{en-ca-a16462fb.js → en-ca-74b64e90.js} +17 -17
- package/dist/cjs/{en-gb-6b0ba369.js → en-gb-0e8aa5ba.js} +17 -17
- package/dist/cjs/{es-8452d6bd.js → es-d7492fd9.js} +17 -17
- package/dist/cjs/{es-mx-e55fd7d3.js → es-mx-d1da148c.js} +17 -17
- package/dist/cjs/{et-a43caecd.js → et-7203e206.js} +17 -17
- package/dist/cjs/{fi-549ed3df.js → fi-f4607990.js} +17 -17
- package/dist/cjs/{filter-9167ca93.js → filter-3518d792.js} +2 -2
- package/dist/cjs/{floating-ui-2993dfdb.js → floating-ui-615c36c7.js} +3 -3
- package/dist/cjs/{focusTrapComponent-af12730c.js → focusTrapComponent-f751140a.js} +2 -2
- package/dist/cjs/{form-0bd26a64.js → form-140fd4b8.js} +3 -3
- package/dist/cjs/{fr-29091e29.js → fr-14c18538.js} +17 -17
- package/dist/cjs/{fr-ch-04aba42c.js → fr-ch-3eddd2e7.js} +17 -17
- package/dist/cjs/{guid-ed39f58f.js → guid-edf245dc.js} +1 -1
- package/dist/cjs/{he-df382c4e.js → he-128d3ad4.js} +17 -17
- package/dist/cjs/{hi-aff129ea.js → hi-ee7455cf.js} +17 -17
- package/dist/cjs/{hr-1b9e44c3.js → hr-a53a22e9.js} +17 -17
- package/dist/cjs/{hu-09693f1f.js → hu-7789845f.js} +17 -17
- package/dist/cjs/{id-1dca44ff.js → id-59292040.js} +17 -17
- package/dist/cjs/{index-e7d87bd5.js → index-f96ce67b.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-c30321e3.js → interactive-957b16b8.js} +2 -2
- package/dist/cjs/{it-295a8e6e.js → it-bcee2c22.js} +17 -17
- package/dist/cjs/{it-ch-b532c36f.js → it-ch-ed0afbce.js} +17 -17
- package/dist/cjs/{ja-55b719dc.js → ja-64251ad5.js} +17 -17
- package/dist/cjs/{key-b25f9579.js → key-f6a11beb.js} +1 -1
- package/dist/cjs/{ko-3166aed4.js → ko-f5955077.js} +17 -17
- package/dist/cjs/{label-c05e67e3.js → label-4b519a10.js} +2 -2
- package/dist/cjs/{loadable-71818069.js → loadable-fac90a84.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-14a68ae8.js → locale-7c6cc877.js} +4 -4
- package/dist/cjs/{lt-da2b2d06.js → lt-8cd38ed0.js} +17 -17
- package/dist/cjs/{lv-55ba4b61.js → lv-14b2fbb6.js} +17 -17
- package/dist/cjs/{math-190b8e04.js → math-d3e3e67c.js} +1 -1
- package/dist/cjs/{mk-0d722453.js → mk-6e5d1037.js} +17 -17
- package/dist/cjs/{nb-eb2a5e58.js → nb-fd31f7a0.js} +17 -17
- package/dist/cjs/{nl-f040c180.js → nl-8d78323a.js} +17 -17
- package/dist/cjs/{observers-9a593cbe.js → observers-2639f553.js} +1 -1
- package/dist/cjs/{openCloseComponent-cc47782d.js → openCloseComponent-6f5fdc24.js} +2 -2
- package/dist/cjs/{pl-9c51cacb.js → pl-d460fbc0.js} +17 -17
- package/dist/cjs/{pt-8df6e649.js → pt-a27b0047.js} +17 -17
- package/dist/cjs/{pt-br-da20a835.js → pt-br-36c3e4b9.js} +17 -17
- package/dist/cjs/{resources-1df67c17.js → resources-1b793887.js} +5 -5
- package/dist/cjs/{resources-fb261833.js → resources-6afd9281.js} +1 -1
- package/dist/cjs/{resources-af0aade0.js → resources-70bc8a88.js} +1 -1
- package/dist/cjs/{resources-b875b7c8.js → resources-b343f1ae.js} +1 -1
- package/dist/cjs/{resources-37569a03.js → resources-b9b292ac.js} +1 -1
- package/dist/cjs/{resources-ce409aa3.js → resources-bbb40f9e.js} +1 -1
- package/dist/cjs/{resources-972c56ae.js → resources-e0d532fd.js} +1 -1
- package/dist/cjs/{ro-b048ad64.js → ro-9c6c160a.js} +17 -17
- package/dist/cjs/{ru-a16aa5c4.js → ru-6b7f5201.js} +17 -17
- package/dist/cjs/{sk-cc4b81d5.js → sk-e26645bb.js} +17 -17
- package/dist/cjs/{sl-aaf1dd2c.js → sl-3435a5e8.js} +17 -17
- package/dist/cjs/{sortableComponent-ba3a2e21.js → sortableComponent-91ee50b5.js} +1 -1
- package/dist/cjs/{sr-a12bea4a.js → sr-836aac56.js} +17 -17
- package/dist/cjs/{sv-e36dc411.js → sv-a1004980.js} +17 -17
- package/dist/cjs/{t9n-06eb6ad9.js → t9n-9937200f.js} +3 -3
- package/dist/cjs/{th-45d148a2.js → th-2e6c4584.js} +17 -17
- package/dist/cjs/{throttle-61ebda1e.js → throttle-5e79aac3.js} +2 -2
- package/dist/cjs/{tr-c78e553c.js → tr-d9c8eb3b.js} +17 -17
- package/dist/cjs/{uk-3168cc2f.js → uk-2cfda1c9.js} +17 -17
- package/dist/cjs/{utils-1cebf4ae.js → utils-7397f7c5.js} +1 -1
- package/dist/cjs/{utils-6071c024.js → utils-8cf4afaa.js} +3 -3
- package/dist/cjs/{vi-d4637792.js → vi-4daa9f3b.js} +17 -17
- package/dist/cjs/{zh-cn-2be6f3d8.js → zh-cn-e783e57a.js} +17 -17
- package/dist/cjs/{zh-hk-17672c3f.js → zh-hk-91ba0466.js} +17 -17
- package/dist/cjs/{zh-tw-9ed49ae6.js → zh-tw-badecdc4.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 +2 -2
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +6 -2
- 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 +4 -3
- 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 +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.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 -4
- 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 +5 -4
- 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 +12 -12
- package/dist/collection/components/stepper-item/resources.js +15 -0
- package/dist/collection/components/stepper-item/stepper-item.css +12 -0
- package/dist/collection/components/stepper-item/stepper-item.js +4 -4
- 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 +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- 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 +2 -2
- 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 +4 -3
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +5 -4
- 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 +15 -5
- package/dist/components/calcite-stepper.js +12 -12
- 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 +1 -1
- 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 +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +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-6903fabe.js → ExpandToggle-439f1b93.js} +5 -5
- package/dist/esm/{FloatingArrow-3977d80c.js → FloatingArrow-b2bdb5f3.js} +2 -2
- package/dist/esm/{Heading-5ba19ff3.js → Heading-7534ac7a.js} +2 -2
- package/dist/esm/{app-globals-2931c5a3.js → app-globals-ffd250e8.js} +2 -2
- package/dist/esm/{ar-013a6b33.js → ar-fff016e6.js} +17 -17
- package/dist/esm/{array-2d7627ce.js → array-f4ff5ac3.js} +1 -1
- package/dist/esm/{bg-058bdc20.js → bg-589eeb96.js} +17 -17
- package/dist/esm/{browser-48a86998.js → browser-9ea46b1d.js} +1 -1
- package/dist/esm/{bs-c5ae37da.js → bs-3e9a7f6f.js} +17 -17
- package/dist/esm/{ca-d23279c0.js → ca-e7adbe1d.js} +17 -17
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +16 -16
- package/dist/esm/calcite-action-group.entry.js +14 -14
- 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 +15 -14
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +14 -14
- 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-daaa9019.js → calcite-input-time-picker.calcite-time-picker-432d6f62.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 +15 -14
- 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 +34 -23
- 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 +5 -5
- package/dist/esm/{conditionalSlot-54c7c6d6.js → conditionalSlot-1fc2fe96.js} +3 -3
- package/dist/esm/{cs-6bd9906f.js → cs-d7c69107.js} +17 -17
- package/dist/esm/{da-e5cabdab.js → da-987f5fd0.js} +17 -17
- package/dist/esm/{de-1f3c2103.js → de-8ad57742.js} +17 -17
- package/dist/esm/{de-at-97ab9b10.js → de-at-2433de2b.js} +17 -17
- package/dist/esm/{de-ch-949e61ca.js → de-ch-09603311.js} +17 -17
- package/dist/esm/{debounce-84ea3e27.js → debounce-a589bb88.js} +1 -1
- package/dist/esm/{dom-20afb017.js → dom-19bfec68.js} +3 -3
- package/dist/esm/{el-4d1387b1.js → el-1bf73fd1.js} +17 -17
- package/dist/esm/{en-au-4e0b361f.js → en-au-724ae20e.js} +17 -17
- package/dist/esm/{en-ca-eb4750aa.js → en-ca-59891314.js} +17 -17
- package/dist/esm/{en-gb-b46a8dce.js → en-gb-7a17cf7e.js} +17 -17
- package/dist/esm/{es-11ba4617.js → es-1fcecbb2.js} +17 -17
- package/dist/esm/{es-mx-5e3006ac.js → es-mx-d348e66f.js} +17 -17
- package/dist/esm/{et-b98a3db5.js → et-caf6a4bf.js} +17 -17
- package/dist/esm/{fi-f890be16.js → fi-94cf28d7.js} +17 -17
- package/dist/esm/{filter-52f67de0.js → filter-5b44fe71.js} +2 -2
- package/dist/esm/{floating-ui-6a44854a.js → floating-ui-dd95d9ed.js} +3 -3
- package/dist/esm/{focusTrapComponent-aec09e2d.js → focusTrapComponent-129d2efd.js} +2 -2
- package/dist/esm/{form-946ba09e.js → form-9adbc5d4.js} +3 -3
- package/dist/esm/{fr-1cc658a2.js → fr-14eec833.js} +17 -17
- package/dist/esm/{fr-ch-dc36e2cf.js → fr-ch-ee0aa57a.js} +17 -17
- package/dist/esm/{guid-e1dc53b7.js → guid-c1c25315.js} +1 -1
- package/dist/esm/{he-4f4616e0.js → he-52c2889f.js} +17 -17
- package/dist/esm/{hi-cc5f43cd.js → hi-b60e9ef0.js} +17 -17
- package/dist/esm/{hr-6d41f3b8.js → hr-7a885b05.js} +17 -17
- package/dist/esm/{hu-d7d98a56.js → hu-a4bbd2d9.js} +17 -17
- package/dist/esm/{id-18b89a09.js → id-1dc5dadf.js} +17 -17
- package/dist/esm/{index-93cd83f0.js → index-82196201.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-79db9632.js → interactive-1ac9fd23.js} +2 -2
- package/dist/esm/{it-ch-cbc6c031.js → it-ch-01a2b5e5.js} +17 -17
- package/dist/esm/{it-e995049e.js → it-e1d9bd89.js} +17 -17
- package/dist/esm/{ja-ddf29e4d.js → ja-6d22b0ff.js} +17 -17
- package/dist/esm/{key-0e0333e4.js → key-10a1582a.js} +1 -1
- package/dist/esm/{ko-1014d88a.js → ko-0609fc37.js} +17 -17
- package/dist/esm/{label-a9cf0e6d.js → label-b3b9c2a8.js} +2 -2
- package/dist/esm/{loadable-7401caa9.js → loadable-ab537228.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-fd5da0bd.js → locale-ddc139f8.js} +4 -4
- package/dist/esm/{lt-b94532b1.js → lt-22bb97a3.js} +17 -17
- package/dist/esm/{lv-8becaf88.js → lv-fdb4edf8.js} +17 -17
- package/dist/esm/{math-617c9001.js → math-3aef0bd5.js} +1 -1
- package/dist/esm/{mk-e27af94a.js → mk-9912cf3d.js} +17 -17
- package/dist/esm/{nb-b76766f7.js → nb-243bdaf2.js} +17 -17
- package/dist/esm/{nl-6c2e1b01.js → nl-3e19a20f.js} +17 -17
- package/dist/esm/{observers-c215437c.js → observers-0d6012bd.js} +1 -1
- package/dist/esm/{openCloseComponent-aa30f1df.js → openCloseComponent-a63e8209.js} +2 -2
- package/dist/esm/{pl-e13cb810.js → pl-e68f8931.js} +17 -17
- package/dist/esm/{pt-52ab79e6.js → pt-aadaafbb.js} +17 -17
- package/dist/esm/{pt-br-9e82a39e.js → pt-br-0fd3c39c.js} +17 -17
- package/dist/esm/{resources-34554df7.js → resources-124d1f7c.js} +1 -1
- package/dist/esm/{resources-3c8ccec9.js → resources-1817e733.js} +1 -1
- package/dist/esm/{resources-43196521.js → resources-3ac9d7b9.js} +1 -1
- package/dist/esm/{resources-93b3c0b1.js → resources-4c780b62.js} +1 -1
- package/dist/esm/{resources-138f5482.js → resources-9dc66088.js} +1 -1
- package/dist/esm/{resources-1941a7ad.js → resources-9ff1cb70.js} +5 -5
- package/dist/esm/{resources-7fc9f350.js → resources-cfd94169.js} +1 -1
- package/dist/esm/{ro-ebb9d839.js → ro-b0fa4522.js} +17 -17
- package/dist/esm/{ru-b1304479.js → ru-a8c94d35.js} +17 -17
- package/dist/esm/{sk-b03cfee6.js → sk-d87b902a.js} +17 -17
- package/dist/esm/{sl-8dff7ac8.js → sl-12ba1989.js} +17 -17
- package/dist/esm/{sortableComponent-37e9ac25.js → sortableComponent-478f4faf.js} +1 -1
- package/dist/esm/{sr-03b929b0.js → sr-d86ca0be.js} +17 -17
- package/dist/esm/{sv-5f369bb0.js → sv-aa1e7d9b.js} +17 -17
- package/dist/esm/{t9n-94da9b2f.js → t9n-bf27bf73.js} +3 -3
- package/dist/esm/{th-a12210d6.js → th-db71193d.js} +17 -17
- package/dist/esm/{throttle-1c8f4dca.js → throttle-152b149a.js} +2 -2
- package/dist/esm/{tr-cdc52844.js → tr-3a739c15.js} +17 -17
- package/dist/esm/{uk-cf65111e.js → uk-e85cf643.js} +17 -17
- package/dist/esm/{utils-ad32fafa.js → utils-6e20db31.js} +3 -3
- package/dist/esm/{utils-224a9381.js → utils-7f5dda38.js} +1 -1
- package/dist/esm/{vi-6347b33e.js → vi-3e2ec380.js} +17 -17
- package/dist/esm/{zh-cn-b59f1070.js → zh-cn-1acb38b3.js} +17 -17
- package/dist/esm/{zh-hk-2ebb86b0.js → zh-hk-de2ce6ca.js} +17 -17
- package/dist/esm/{zh-tw-bc4d4799.js → zh-tw-4b509e83.js} +17 -17
- package/dist/extras/docs-json.json +11 -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/dropdown/resources.d.ts +0 -3
- package/dist/types/components/stepper/assets/stepper/t9n/index.d.ts +3 -0
- package/dist/types/components/stepper/stepper.d.ts +1 -0
- package/dist/types/components/stepper-item/assets/stepper-item/t9n/index.d.ts +3 -0
- package/dist/types/components/stepper-item/resources.d.ts +10 -0
- package/hydrate/index.js +451 -438
- package/package.json +2 -2
- package/dist/calcite/p-2206d566.entry.js +0 -6
- package/dist/calcite/p-2402a4a6.js +0 -6
- package/dist/calcite/p-35cf868b.entry.js +0 -6
- package/dist/calcite/p-43fb7afe.entry.js +0 -6
- package/dist/calcite/p-4775d3a7.entry.js +0 -6
- package/dist/calcite/p-4a527d71.entry.js +0 -6
- package/dist/calcite/p-59808601.js +0 -6
- package/dist/calcite/p-767360ab.js +0 -6
- package/dist/calcite/p-7a32d7a6.entry.js +0 -6
- package/dist/calcite/p-95b46e28.entry.js +0 -6
- package/dist/calcite/p-99fe7541.entry.js +0 -6
- package/dist/calcite/p-b64af8d2.entry.js +0 -6
- package/dist/calcite/p-f7a2d0b1.entry.js +0 -6
- package/dist/calcite/p-f7e55e5d.entry.js +0 -6
- package/dist/calcite/p-fe9f2443.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.9.0-next.
|
|
4
|
+
* v1.9.0-next.5
|
|
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$1d = {
|
|
6993
6993
|
icon: "icon",
|
|
6994
6994
|
header: "header",
|
|
6995
6995
|
headerContent: "header-content",
|
|
@@ -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$1d.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$1d.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$1d.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$1d.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$1d.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-controls": IDS$2.section, "aria-expanded": toAriaBoolean(this.expanded), class: CSS$1d.headerContent, id: IDS$2.sectionToggle, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$1d.headerContainer }, iconStartEl, hAsync("div", { class: CSS$1d.headerText }, hAsync("span", { class: CSS$1d.heading }, this.heading), description ? hAsync("span", { class: CSS$1d.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$1d.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$2.sectionToggle, class: CSS$
|
|
7081
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("section", { "aria-labelledby": IDS$2.sectionToggle, class: CSS$1d.content, id: IDS$2.section }, hAsync("slot", null)))));
|
|
7082
7082
|
}
|
|
7083
7083
|
//--------------------------------------------------------------------------
|
|
7084
7084
|
//
|
|
@@ -8000,7 +8000,7 @@ function defaultOnMessagesChange() {
|
|
|
8000
8000
|
mergeMessages(this);
|
|
8001
8001
|
}
|
|
8002
8002
|
|
|
8003
|
-
const CSS$
|
|
8003
|
+
const CSS$1c = {
|
|
8004
8004
|
button: "button",
|
|
8005
8005
|
buttonTextVisible: "button--text-visible",
|
|
8006
8006
|
buttonCompact: "button--compact",
|
|
@@ -8112,14 +8112,14 @@ class Action {
|
|
|
8112
8112
|
renderTextContainer() {
|
|
8113
8113
|
const { text, textEnabled } = this;
|
|
8114
8114
|
const textContainerClasses = {
|
|
8115
|
-
[CSS$
|
|
8116
|
-
[CSS$
|
|
8115
|
+
[CSS$1c.textContainer]: true,
|
|
8116
|
+
[CSS$1c.textContainerVisible]: textEnabled,
|
|
8117
8117
|
};
|
|
8118
8118
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
8119
8119
|
}
|
|
8120
8120
|
renderIndicatorText() {
|
|
8121
8121
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
8122
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
8122
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$1c.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
8123
8123
|
}
|
|
8124
8124
|
renderIconContainer() {
|
|
8125
8125
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -8130,18 +8130,18 @@ class Action {
|
|
|
8130
8130
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
8131
8131
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
8132
8132
|
const slotContainerNode = (hAsync("div", { class: {
|
|
8133
|
-
[CSS$
|
|
8134
|
-
[CSS$
|
|
8133
|
+
[CSS$1c.slotContainer]: true,
|
|
8134
|
+
[CSS$1c.slotContainerHidden]: loading,
|
|
8135
8135
|
} }, hAsync("slot", null)));
|
|
8136
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
8136
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$1c.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
8137
8137
|
}
|
|
8138
8138
|
render() {
|
|
8139
8139
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages, } = this;
|
|
8140
8140
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
8141
8141
|
const buttonClasses = {
|
|
8142
|
-
[CSS$
|
|
8143
|
-
[CSS$
|
|
8144
|
-
[CSS$
|
|
8142
|
+
[CSS$1c.button]: true,
|
|
8143
|
+
[CSS$1c.buttonTextVisible]: textEnabled,
|
|
8144
|
+
[CSS$1c.buttonCompact]: compact,
|
|
8145
8145
|
};
|
|
8146
8146
|
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,
|
|
8147
8147
|
// 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)
|
|
@@ -9453,11 +9453,11 @@ const SLOTS$x = {
|
|
|
9453
9453
|
const ICONS$k = {
|
|
9454
9454
|
menu: "ellipsis",
|
|
9455
9455
|
};
|
|
9456
|
-
const CSS$
|
|
9456
|
+
const CSS$1b = {
|
|
9457
9457
|
container: "container",
|
|
9458
9458
|
};
|
|
9459
9459
|
|
|
9460
|
-
const CSS$
|
|
9460
|
+
const CSS$1a = {
|
|
9461
9461
|
menu: "menu",
|
|
9462
9462
|
defaultTrigger: "default-trigger",
|
|
9463
9463
|
};
|
|
@@ -9557,7 +9557,7 @@ const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position
|
|
|
9557
9557
|
return actionNode;
|
|
9558
9558
|
};
|
|
9559
9559
|
|
|
9560
|
-
const CSS$
|
|
9560
|
+
const CSS$19 = {
|
|
9561
9561
|
actionGroupEnd: "action-group--end",
|
|
9562
9562
|
};
|
|
9563
9563
|
const SLOTS$v = {
|
|
@@ -9760,7 +9760,7 @@ class ActionBar {
|
|
|
9760
9760
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
9761
9761
|
// 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)
|
|
9762
9762
|
ref: this.setExpandToggleRef })) : null;
|
|
9763
|
-
return (hAsync("calcite-action-group", { class: CSS$
|
|
9763
|
+
return (hAsync("calcite-action-group", { class: CSS$19.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), label: actionsEndGroupLabel, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$v.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$v.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$v.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
|
9764
9764
|
}
|
|
9765
9765
|
render() {
|
|
9766
9766
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9803,7 +9803,7 @@ class ActionBar {
|
|
|
9803
9803
|
}; }
|
|
9804
9804
|
}
|
|
9805
9805
|
|
|
9806
|
-
const actionGroupCss = "/*!@:host*/.sc-calcite-action-group-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-group-h *.sc-calcite-action-group{box-sizing:border-box}/*!@:host*/.sc-calcite-action-group-h{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}/*!@.container*/.container.sc-calcite-action-group{display:flex;flex-grow:1;flex-direction:column}/*!@:host([columns=\"1\"])*/[columns=\"1\"].sc-calcite-action-group-h{--calcite-action-group-columns:1}/*!@:host([columns=\"2\"])*/[columns=\"2\"].sc-calcite-action-group-h{--calcite-action-group-columns:2}/*!@:host([columns=\"3\"])*/[columns=\"3\"].sc-calcite-action-group-h{--calcite-action-group-columns:3}/*!@:host([columns=\"4\"])*/[columns=\"4\"].sc-calcite-action-group-h{--calcite-action-group-columns:4}/*!@:host([columns=\"5\"])*/[columns=\"5\"].sc-calcite-action-group-h{--calcite-action-group-columns:5}/*!@:host([columns=\"6\"])*/[columns=\"6\"].sc-calcite-action-group-h{--calcite-action-group-columns:6}/*!@:host(:first-child)*/.sc-calcite-action-group-h:first-child{padding-block-start:0px}/*!@:host([layout=horizontal]),\n:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-action-group-h,[layout=horizontal].sc-calcite-action-group-h .container.sc-calcite-action-group{flex-direction:row}/*!@:host([layout=grid])*/[layout=grid].sc-calcite-action-group-h{display:grid}/*!@:host([layout=grid]) .container*/[layout=grid].sc-calcite-action-group-h .container.sc-calcite-action-group{display:grid;place-content:stretch;
|
|
9806
|
+
const actionGroupCss = "/*!@:host*/.sc-calcite-action-group-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-group-h *.sc-calcite-action-group{box-sizing:border-box}/*!@:host*/.sc-calcite-action-group-h{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3;--calcite-action-group-gap:1px;--calcite-action-group-padding:1px}/*!@.container*/.container.sc-calcite-action-group{display:flex;flex-grow:1;flex-direction:column}/*!@:host([columns=\"1\"])*/[columns=\"1\"].sc-calcite-action-group-h{--calcite-action-group-columns:1}/*!@:host([columns=\"2\"])*/[columns=\"2\"].sc-calcite-action-group-h{--calcite-action-group-columns:2}/*!@:host([columns=\"3\"])*/[columns=\"3\"].sc-calcite-action-group-h{--calcite-action-group-columns:3}/*!@:host([columns=\"4\"])*/[columns=\"4\"].sc-calcite-action-group-h{--calcite-action-group-columns:4}/*!@:host([columns=\"5\"])*/[columns=\"5\"].sc-calcite-action-group-h{--calcite-action-group-columns:5}/*!@:host([columns=\"6\"])*/[columns=\"6\"].sc-calcite-action-group-h{--calcite-action-group-columns:6}/*!@:host(:first-child)*/.sc-calcite-action-group-h:first-child{padding-block-start:0px}/*!@:host([layout=horizontal]),\n:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-action-group-h,[layout=horizontal].sc-calcite-action-group-h .container.sc-calcite-action-group{flex-direction:row}/*!@:host([layout=grid])*/[layout=grid].sc-calcite-action-group-h{display:grid}/*!@:host([layout=grid]) .container*/[layout=grid].sc-calcite-action-group-h .container.sc-calcite-action-group{display:grid;place-content:stretch;background-color:var(--calcite-ui-background);gap:var(--calcite-action-group-gap);padding:var(--calcite-action-group-gap);grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}/*!@:host([hidden])*/[hidden].sc-calcite-action-group-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-action-group{display:none}";
|
|
9807
9807
|
|
|
9808
9808
|
/**
|
|
9809
9809
|
* @slot - A slot for adding a group of `calcite-action`s.
|
|
@@ -9888,7 +9888,7 @@ class ActionGroup {
|
|
|
9888
9888
|
return (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], hidden: !hasMenuActions, label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, overlayPositioning: overlayPositioning, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$k.menu, scale: scale, slot: SLOTS$w.trigger, text: messages.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$x.menuActions, onSlotchange: this.handleMenuActionsSlotChange }), hAsync("slot", { name: SLOTS$x.menuTooltip, slot: SLOTS$w.tooltip })));
|
|
9889
9889
|
}
|
|
9890
9890
|
render() {
|
|
9891
|
-
return (hAsync("div", { "aria-label": this.label, class: CSS$
|
|
9891
|
+
return (hAsync("div", { "aria-label": this.label, class: CSS$1b.container, role: "group" }, hAsync("slot", null), this.renderMenu()));
|
|
9892
9892
|
}
|
|
9893
9893
|
static get delegatesFocus() { return true; }
|
|
9894
9894
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10172,7 +10172,7 @@ class ActionMenu {
|
|
|
10172
10172
|
}
|
|
10173
10173
|
renderMenuButton() {
|
|
10174
10174
|
const { label, scale, expanded } = this;
|
|
10175
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$w.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
10175
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$w.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$1a.defaultTrigger, icon: ICONS$j.menu, scale: scale, text: label, textEnabled: expanded,
|
|
10176
10176
|
// 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)
|
|
10177
10177
|
ref: this.setDefaultMenuButtonEl })));
|
|
10178
10178
|
return menuButtonSlot;
|
|
@@ -10181,7 +10181,7 @@ class ActionMenu {
|
|
|
10181
10181
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements, } = this;
|
|
10182
10182
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
10183
10183
|
const activeDescendantId = activeAction?.id || null;
|
|
10184
|
-
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$
|
|
10184
|
+
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$1a.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
10185
10185
|
}
|
|
10186
10186
|
render() {
|
|
10187
10187
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$w.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -10217,7 +10217,7 @@ class ActionMenu {
|
|
|
10217
10217
|
}; }
|
|
10218
10218
|
}
|
|
10219
10219
|
|
|
10220
|
-
const CSS$
|
|
10220
|
+
const CSS$18 = {
|
|
10221
10221
|
actionGroupEnd: "action-group--end",
|
|
10222
10222
|
container: "container",
|
|
10223
10223
|
};
|
|
@@ -10342,10 +10342,10 @@ class ActionPad {
|
|
|
10342
10342
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
10343
10343
|
// 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)
|
|
10344
10344
|
ref: this.setExpandToggleRef })) : null;
|
|
10345
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10345
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$18.actionGroupEnd, label: actionsEndGroupLabel, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
|
|
10346
10346
|
}
|
|
10347
10347
|
render() {
|
|
10348
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10348
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$18.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10349
10349
|
}
|
|
10350
10350
|
static get delegatesFocus() { return true; }
|
|
10351
10351
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10477,7 +10477,7 @@ const SLOTS$t = {
|
|
|
10477
10477
|
message: "message",
|
|
10478
10478
|
link: "link",
|
|
10479
10479
|
};
|
|
10480
|
-
const CSS$
|
|
10480
|
+
const CSS$17 = {
|
|
10481
10481
|
actionsEnd: "actions-end",
|
|
10482
10482
|
container: "container",
|
|
10483
10483
|
close: "alert-close",
|
|
@@ -10593,15 +10593,16 @@ class Alert {
|
|
|
10593
10593
|
connectMessages(this);
|
|
10594
10594
|
const open = this.open;
|
|
10595
10595
|
if (open && !this.queued) {
|
|
10596
|
-
this.openHandler();
|
|
10597
10596
|
this.calciteInternalAlertRegister.emit();
|
|
10598
|
-
onToggleOpenCloseComponent(this);
|
|
10599
10597
|
}
|
|
10600
10598
|
}
|
|
10601
10599
|
async componentWillLoad() {
|
|
10602
10600
|
setUpLoadableComponent(this);
|
|
10603
10601
|
this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);
|
|
10604
10602
|
await setUpMessages(this);
|
|
10603
|
+
if (this.open) {
|
|
10604
|
+
onToggleOpenCloseComponent(this);
|
|
10605
|
+
}
|
|
10605
10606
|
}
|
|
10606
10607
|
componentDidLoad() {
|
|
10607
10608
|
setComponentLoaded(this);
|
|
@@ -10637,10 +10638,10 @@ class Alert {
|
|
|
10637
10638
|
container: true,
|
|
10638
10639
|
queued,
|
|
10639
10640
|
[placement]: true,
|
|
10640
|
-
[CSS$
|
|
10641
|
+
[CSS$17.slottedInShell]: this.slottedInShell,
|
|
10641
10642
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10642
10643
|
// 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)
|
|
10643
|
-
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$
|
|
10644
|
+
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$17.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10644
10645
|
}
|
|
10645
10646
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10646
10647
|
alertSync(event) {
|
|
@@ -11114,7 +11115,7 @@ const IDS$1 = {
|
|
|
11114
11115
|
toggle: "toggle",
|
|
11115
11116
|
header: "header",
|
|
11116
11117
|
};
|
|
11117
|
-
const CSS$
|
|
11118
|
+
const CSS$16 = {
|
|
11118
11119
|
button: "button",
|
|
11119
11120
|
container: "container",
|
|
11120
11121
|
content: "content",
|
|
@@ -11238,27 +11239,27 @@ class Block {
|
|
|
11238
11239
|
renderIcon() {
|
|
11239
11240
|
const { loading, messages, status } = this;
|
|
11240
11241
|
const hasSlottedIcon = !!getSlotted(this.el, SLOTS$s.icon);
|
|
11241
|
-
return loading ? (hAsync("div", { class: CSS$
|
|
11242
|
-
[CSS$
|
|
11243
|
-
[CSS$
|
|
11244
|
-
[CSS$
|
|
11245
|
-
}, icon: ICONS$h[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$
|
|
11242
|
+
return loading ? (hAsync("div", { class: CSS$16.icon, key: "loader" }, hAsync("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (hAsync("div", { class: CSS$16.icon, key: "status-icon" }, hAsync("calcite-icon", { class: {
|
|
11243
|
+
[CSS$16.statusIcon]: true,
|
|
11244
|
+
[CSS$16.valid]: status == "valid",
|
|
11245
|
+
[CSS$16.invalid]: status == "invalid",
|
|
11246
|
+
}, icon: ICONS$h[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$16.icon, key: "icon-slot" }, hAsync("slot", { key: "icon-slot", name: SLOTS$s.icon }))) : null;
|
|
11246
11247
|
}
|
|
11247
11248
|
renderTitle() {
|
|
11248
11249
|
const { heading, headingLevel, description } = this;
|
|
11249
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
11250
|
+
return heading || description ? (hAsync("div", { class: CSS$16.title }, hAsync(Heading, { class: CSS$16.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$16.description }, description) : null)) : null;
|
|
11250
11251
|
}
|
|
11251
11252
|
render() {
|
|
11252
11253
|
const { collapsible, el, loading, open, messages } = this;
|
|
11253
11254
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11254
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
11255
|
+
const headerContent = (hAsync("header", { class: CSS$16.header, id: IDS$1.header }, this.renderIcon(), this.renderTitle()));
|
|
11255
11256
|
const hasControl = !!getSlotted(el, SLOTS$s.control);
|
|
11256
11257
|
const hasMenuActions = !!getSlotted(el, SLOTS$s.headerMenuActions);
|
|
11257
11258
|
const collapseIcon = open ? ICONS$h.opened : ICONS$h.closed;
|
|
11258
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
11259
|
+
const headerNode = (hAsync("div", { class: CSS$16.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": IDS$1.content, "aria-describedby": IDS$1.header, "aria-expanded": collapsible ? toAriaBoolean(open) : null, class: CSS$16.toggle, id: IDS$1.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$16.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), hasControl ? (hAsync("div", { class: CSS$16.controlContainer }, hAsync("slot", { name: SLOTS$s.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$s.headerMenuActions }))) : null));
|
|
11259
11260
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
11260
|
-
[CSS$
|
|
11261
|
-
} }, headerNode, hAsync("section", { "aria-labelledby": IDS$1.toggle, class: CSS$
|
|
11261
|
+
[CSS$16.container]: true,
|
|
11262
|
+
} }, headerNode, hAsync("section", { "aria-labelledby": IDS$1.toggle, class: CSS$16.content, hidden: !open, id: IDS$1.content }, this.renderScrim()))));
|
|
11262
11263
|
}
|
|
11263
11264
|
static get assetsDirs() { return ["assets"]; }
|
|
11264
11265
|
get el() { return getElement(this); }
|
|
@@ -11296,7 +11297,7 @@ const IDS = {
|
|
|
11296
11297
|
content: "content",
|
|
11297
11298
|
toggle: "toggle",
|
|
11298
11299
|
};
|
|
11299
|
-
const CSS$
|
|
11300
|
+
const CSS$15 = {
|
|
11300
11301
|
content: "content",
|
|
11301
11302
|
focusGuard: "focus-guard",
|
|
11302
11303
|
invalid: "invalid",
|
|
@@ -11400,9 +11401,9 @@ class BlockSection {
|
|
|
11400
11401
|
const { status } = this;
|
|
11401
11402
|
const statusIcon = ICONS$g[status] ?? false;
|
|
11402
11403
|
const statusIconClasses = {
|
|
11403
|
-
[CSS$
|
|
11404
|
-
[CSS$
|
|
11405
|
-
[CSS$
|
|
11404
|
+
[CSS$15.statusIcon]: true,
|
|
11405
|
+
[CSS$15.valid]: status == "valid",
|
|
11406
|
+
[CSS$15.invalid]: status == "invalid",
|
|
11406
11407
|
};
|
|
11407
11408
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11408
11409
|
}
|
|
@@ -11416,15 +11417,15 @@ class BlockSection {
|
|
|
11416
11417
|
: ICONS$g.menuClosedRight;
|
|
11417
11418
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11418
11419
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { class: {
|
|
11419
|
-
[CSS$
|
|
11420
|
+
[CSS$15.toggleSwitchContainer]: true,
|
|
11420
11421
|
} }, hAsync("div", { "aria-controls": IDS.content, "aria-expanded": toAriaBoolean(open), class: {
|
|
11421
|
-
[CSS$
|
|
11422
|
-
[CSS$
|
|
11423
|
-
}, id: IDS.toggle, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, role: "button", tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
11424
|
-
[CSS$
|
|
11425
|
-
[CSS$
|
|
11426
|
-
}, id: IDS.toggle, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
11427
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-labelledby": IDS.toggle, class: CSS$
|
|
11422
|
+
[CSS$15.toggle]: true,
|
|
11423
|
+
[CSS$15.toggleSwitch]: true,
|
|
11424
|
+
}, id: IDS.toggle, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, role: "button", tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$15.toggleSwitchContent }, hAsync("span", { class: CSS$15.toggleSwitchText }, text)), this.renderStatusIcon()), hAsync("calcite-label", { class: CSS$15.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: {
|
|
11425
|
+
[CSS$15.sectionHeader]: true,
|
|
11426
|
+
[CSS$15.toggle]: true,
|
|
11427
|
+
}, id: IDS.toggle, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$15.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11428
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-labelledby": IDS.toggle, class: CSS$15.content, hidden: !open, id: IDS.content }, hAsync("slot", null))));
|
|
11428
11429
|
}
|
|
11429
11430
|
static get assetsDirs() { return ["assets"]; }
|
|
11430
11431
|
get el() { return getElement(this); }
|
|
@@ -11854,7 +11855,7 @@ function onLabelDisconnected() {
|
|
|
11854
11855
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11855
11856
|
}
|
|
11856
11857
|
|
|
11857
|
-
const CSS$
|
|
11858
|
+
const CSS$14 = {
|
|
11858
11859
|
buttonLoader: "calcite-button--loader",
|
|
11859
11860
|
content: "content",
|
|
11860
11861
|
contentSlotted: "content--slotted",
|
|
@@ -11982,17 +11983,17 @@ class Button {
|
|
|
11982
11983
|
render() {
|
|
11983
11984
|
const childElType = this.href ? "a" : "button";
|
|
11984
11985
|
const Tag = childElType;
|
|
11985
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
11986
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$14.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$14.loadingIn : CSS$14.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
11986
11987
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11987
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11988
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11989
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
11988
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$14.icon]: true, [CSS$14.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
11989
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$14.icon]: true, [CSS$14.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
11990
|
+
const contentEl = (hAsync("span", { class: CSS$14.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11990
11991
|
return (hAsync(Tag, { "aria-label": !this.loading ? getLabelText(this) : this.messages.loading, "aria-live": "polite", class: {
|
|
11991
|
-
[CSS$
|
|
11992
|
-
[CSS$
|
|
11993
|
-
[CSS$
|
|
11994
|
-
[CSS$
|
|
11995
|
-
[CSS$
|
|
11992
|
+
[CSS$14.buttonPadding]: noStartEndIcons,
|
|
11993
|
+
[CSS$14.buttonPaddingShrunk]: !noStartEndIcons,
|
|
11994
|
+
[CSS$14.contentSlotted]: this.hasContent,
|
|
11995
|
+
[CSS$14.iconStartEmpty]: !this.iconStart,
|
|
11996
|
+
[CSS$14.iconEndEmpty]: !this.iconEnd,
|
|
11996
11997
|
}, 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));
|
|
11997
11998
|
}
|
|
11998
11999
|
//--------------------------------------------------------------------------
|
|
@@ -12307,7 +12308,7 @@ class CalciteMenu {
|
|
|
12307
12308
|
}; }
|
|
12308
12309
|
}
|
|
12309
12310
|
|
|
12310
|
-
const CSS$
|
|
12311
|
+
const CSS$13 = {
|
|
12311
12312
|
container: "container",
|
|
12312
12313
|
content: "content",
|
|
12313
12314
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12511,54 +12512,54 @@ class CalciteMenuItem {
|
|
|
12511
12512
|
//
|
|
12512
12513
|
//--------------------------------------------------------------------------
|
|
12513
12514
|
renderIconStart() {
|
|
12514
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12515
|
+
return (hAsync("calcite-icon", { class: `${CSS$13.icon} ${CSS$13.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$13.iconStart, scale: "s" }));
|
|
12515
12516
|
}
|
|
12516
12517
|
renderIconEnd() {
|
|
12517
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12518
|
+
return (hAsync("calcite-icon", { class: `${CSS$13.icon} ${CSS$13.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$13.iconEnd, scale: "s" }));
|
|
12518
12519
|
}
|
|
12519
12520
|
renderBreadcrumbIcon(dir) {
|
|
12520
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12521
|
+
return (hAsync("calcite-icon", { class: `${CSS$13.icon} ${CSS$13.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$13.iconBreadcrumb, scale: "s" }));
|
|
12521
12522
|
}
|
|
12522
12523
|
renderDropdownIcon(dir) {
|
|
12523
12524
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12524
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12525
|
+
return (hAsync("calcite-icon", { class: `${CSS$13.icon} ${CSS$13.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12525
12526
|
? this.open
|
|
12526
12527
|
? "chevron-up"
|
|
12527
12528
|
: "chevron-down"
|
|
12528
|
-
: dirChevron, key: CSS$
|
|
12529
|
+
: dirChevron, key: CSS$13.iconDropdown, scale: "s" }));
|
|
12529
12530
|
}
|
|
12530
12531
|
renderDropdownAction(dir) {
|
|
12531
12532
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12532
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12533
|
+
return (hAsync("calcite-action", { class: CSS$13.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12533
12534
|
? this.open
|
|
12534
12535
|
? "chevron-up"
|
|
12535
12536
|
: "chevron-down"
|
|
12536
|
-
: dirChevron, key: CSS$
|
|
12537
|
+
: dirChevron, key: CSS$13.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12537
12538
|
// 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)
|
|
12538
12539
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12539
12540
|
}
|
|
12540
12541
|
renderSubmenuItems(dir) {
|
|
12541
12542
|
return (hAsync("calcite-menu", { class: {
|
|
12542
|
-
[CSS$
|
|
12543
|
-
[CSS$
|
|
12544
|
-
[CSS$
|
|
12543
|
+
[CSS$13.dropdownMenuItems]: true,
|
|
12544
|
+
[CSS$13.open]: this.open,
|
|
12545
|
+
[CSS$13.nested]: !this.isTopLevelItem,
|
|
12545
12546
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12546
|
-
[CSS$
|
|
12547
|
+
[CSS$13.dropdownVertical]: this.topLevelMenuLayout === "vertical",
|
|
12547
12548
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12548
12549
|
}
|
|
12549
12550
|
renderHrefIcon(dir) {
|
|
12550
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12551
|
+
return (hAsync("calcite-icon", { class: CSS$13.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", key: CSS$13.hoverHrefIcon, scale: "s" }));
|
|
12551
12552
|
}
|
|
12552
12553
|
renderItemContent(dir) {
|
|
12553
12554
|
const hasHref = this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem);
|
|
12554
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12555
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$13.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));
|
|
12555
12556
|
}
|
|
12556
12557
|
render() {
|
|
12557
12558
|
const dir = getElementDir(this.el);
|
|
12558
12559
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12559
|
-
[CSS$
|
|
12560
|
-
[CSS$
|
|
12561
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12560
|
+
[CSS$13.container]: true,
|
|
12561
|
+
[CSS$13.isParentVertical]: this.topLevelMenuLayout === "vertical",
|
|
12562
|
+
}, role: "none" }, hAsync("div", { class: CSS$13.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$13.layoutVertical]: this.layout === "vertical", [CSS$13.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12562
12563
|
// 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)
|
|
12563
12564
|
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir)), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12564
12565
|
}
|
|
@@ -12601,7 +12602,7 @@ class CalciteMenuItem {
|
|
|
12601
12602
|
}; }
|
|
12602
12603
|
}
|
|
12603
12604
|
|
|
12604
|
-
const CSS$
|
|
12605
|
+
const CSS$12 = {
|
|
12605
12606
|
container: "container",
|
|
12606
12607
|
containerContent: "container-content",
|
|
12607
12608
|
hasProgress: "progress-bar",
|
|
@@ -12750,11 +12751,11 @@ class CalciteNavigation {
|
|
|
12750
12751
|
this.navigationAction;
|
|
12751
12752
|
const slotName = this.el.slot;
|
|
12752
12753
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
12753
|
-
[CSS$
|
|
12754
|
-
[CSS$
|
|
12755
|
-
[CSS$
|
|
12756
|
-
[CSS$
|
|
12757
|
-
} }, hAsync("div", { class: { [CSS$
|
|
12754
|
+
[CSS$12.container]: true,
|
|
12755
|
+
[CSS$12.secondary]: slotName === SLOTS$r.navSecondary,
|
|
12756
|
+
[CSS$12.tertiary]: slotName === SLOTS$r.navTertiary,
|
|
12757
|
+
[CSS$12.primary]: primaryLevelHasElements,
|
|
12758
|
+
} }, hAsync("div", { class: { [CSS$12.hide]: !this.progressSlotHasElement, [SLOTS$r.progress]: true } }, hAsync("slot", { name: SLOTS$r.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$12.containerContent]: true, [CSS$12.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$12.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$12.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 }))));
|
|
12758
12759
|
}
|
|
12759
12760
|
get el() { return getElement(this); }
|
|
12760
12761
|
static get style() { return navigationCss; }
|
|
@@ -12781,7 +12782,7 @@ class CalciteNavigation {
|
|
|
12781
12782
|
}; }
|
|
12782
12783
|
}
|
|
12783
12784
|
|
|
12784
|
-
const CSS$
|
|
12785
|
+
const CSS$11 = {
|
|
12785
12786
|
container: "container",
|
|
12786
12787
|
heading: "heading",
|
|
12787
12788
|
description: "description",
|
|
@@ -12834,10 +12835,10 @@ class CalciteNavigationLogo {
|
|
|
12834
12835
|
// --------------------------------------------------------------------------
|
|
12835
12836
|
render() {
|
|
12836
12837
|
const { heading, description, thumbnail } = this;
|
|
12837
|
-
return (hAsync(Host, null, hAsync("a", { class: CSS$
|
|
12838
|
-
[CSS$
|
|
12839
|
-
[CSS$
|
|
12840
|
-
}, key: CSS$
|
|
12838
|
+
return (hAsync(Host, null, hAsync("a", { class: CSS$11.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$11.image, src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$11.container }, heading && (hAsync("span", { "aria-label": this.heading, class: {
|
|
12839
|
+
[CSS$11.heading]: true,
|
|
12840
|
+
[CSS$11.standalone]: !this.description,
|
|
12841
|
+
}, key: CSS$11.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$11.description, key: CSS$11.description }, description)))))));
|
|
12841
12842
|
}
|
|
12842
12843
|
static get delegatesFocus() { return true; }
|
|
12843
12844
|
get el() { return getElement(this); }
|
|
@@ -12862,7 +12863,7 @@ class CalciteNavigationLogo {
|
|
|
12862
12863
|
}; }
|
|
12863
12864
|
}
|
|
12864
12865
|
|
|
12865
|
-
const CSS
|
|
12866
|
+
const CSS$10 = {
|
|
12866
12867
|
textContainer: "text-container",
|
|
12867
12868
|
fullName: "full-name",
|
|
12868
12869
|
username: "username",
|
|
@@ -12909,7 +12910,7 @@ class CalciteNavigationUser {
|
|
|
12909
12910
|
//
|
|
12910
12911
|
// --------------------------------------------------------------------------
|
|
12911
12912
|
render() {
|
|
12912
|
-
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS
|
|
12913
|
+
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$10.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$10.textContainer }, this.fullName && (hAsync("span", { class: CSS$10.fullName, key: CSS$10.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$10.username, key: CSS$10.username }, this.username)))))));
|
|
12913
12914
|
}
|
|
12914
12915
|
static get delegatesFocus() { return true; }
|
|
12915
12916
|
get el() { return getElement(this); }
|
|
@@ -12933,7 +12934,7 @@ class CalciteNavigationUser {
|
|
|
12933
12934
|
}; }
|
|
12934
12935
|
}
|
|
12935
12936
|
|
|
12936
|
-
const CSS
|
|
12937
|
+
const CSS$$ = {
|
|
12937
12938
|
container: "container",
|
|
12938
12939
|
header: "header",
|
|
12939
12940
|
footer: "footer",
|
|
@@ -13018,7 +13019,7 @@ class Card {
|
|
|
13018
13019
|
render() {
|
|
13019
13020
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
13020
13021
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
13021
|
-
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
|
|
13022
|
+
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()));
|
|
13022
13023
|
}
|
|
13023
13024
|
effectiveLocaleChange() {
|
|
13024
13025
|
updateMessages(this);
|
|
@@ -13028,24 +13029,24 @@ class Card {
|
|
|
13028
13029
|
this.calciteCardSelect.emit();
|
|
13029
13030
|
}
|
|
13030
13031
|
renderThumbnail() {
|
|
13031
|
-
return getSlotted(this.el, SLOTS$q.thumbnail) ? (hAsync("section", { class: CSS
|
|
13032
|
+
return getSlotted(this.el, SLOTS$q.thumbnail) ? (hAsync("section", { class: CSS$$.thumbnailWrapper }, hAsync("slot", { name: SLOTS$q.thumbnail }))) : null;
|
|
13032
13033
|
}
|
|
13033
13034
|
renderCheckbox() {
|
|
13034
|
-
return (hAsync("calcite-label", { class: CSS
|
|
13035
|
+
return (hAsync("calcite-label", { class: CSS$$.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
13035
13036
|
}
|
|
13036
13037
|
renderHeader() {
|
|
13037
13038
|
const { el } = this;
|
|
13038
13039
|
const title = getSlotted(el, SLOTS$q.title);
|
|
13039
13040
|
const subtitle = getSlotted(el, SLOTS$q.subtitle);
|
|
13040
13041
|
const hasHeader = title || subtitle;
|
|
13041
|
-
return hasHeader ? (hAsync("header", { class: CSS
|
|
13042
|
+
return hasHeader ? (hAsync("header", { class: CSS$$.header }, hAsync("slot", { name: SLOTS$q.title }), hAsync("slot", { name: SLOTS$q.subtitle }))) : null;
|
|
13042
13043
|
}
|
|
13043
13044
|
renderFooter() {
|
|
13044
13045
|
const { el } = this;
|
|
13045
13046
|
const startFooter = getSlotted(el, SLOTS$q.footerStart);
|
|
13046
13047
|
const endFooter = getSlotted(el, SLOTS$q.footerEnd);
|
|
13047
13048
|
const hasFooter = startFooter || endFooter;
|
|
13048
|
-
return hasFooter ? (hAsync("footer", { class: CSS
|
|
13049
|
+
return hasFooter ? (hAsync("footer", { class: CSS$$.footer }, hAsync("slot", { name: SLOTS$q.footerStart }), hAsync("slot", { name: SLOTS$q.footerEnd }))) : null;
|
|
13049
13050
|
}
|
|
13050
13051
|
static get assetsDirs() { return ["assets"]; }
|
|
13051
13052
|
get el() { return getElement(this); }
|
|
@@ -13208,7 +13209,7 @@ class Checkbox {
|
|
|
13208
13209
|
}; }
|
|
13209
13210
|
}
|
|
13210
13211
|
|
|
13211
|
-
const CSS$
|
|
13212
|
+
const CSS$_ = {
|
|
13212
13213
|
title: "title",
|
|
13213
13214
|
close: "close",
|
|
13214
13215
|
imageContainer: "image-container",
|
|
@@ -13377,7 +13378,7 @@ class Chip {
|
|
|
13377
13378
|
//
|
|
13378
13379
|
//--------------------------------------------------------------------------
|
|
13379
13380
|
renderChipImage() {
|
|
13380
|
-
return (hAsync("div", { class: CSS$
|
|
13381
|
+
return (hAsync("div", { class: CSS$_.imageContainer }, hAsync("slot", { name: SLOTS$p.image, onSlotchange: this.handleSlotImageChange })));
|
|
13381
13382
|
}
|
|
13382
13383
|
renderSelectionIcon() {
|
|
13383
13384
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -13388,17 +13389,17 @@ class Chip {
|
|
|
13388
13389
|
? ICONS$e.checkedSingle
|
|
13389
13390
|
: undefined;
|
|
13390
13391
|
return (hAsync("div", { class: {
|
|
13391
|
-
[CSS$
|
|
13392
|
-
[CSS$
|
|
13392
|
+
[CSS$_.selectIcon]: true,
|
|
13393
|
+
[CSS$_.selectIconActive]: this.selectionMode === "multiple" || this.selected,
|
|
13393
13394
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
13394
13395
|
}
|
|
13395
13396
|
renderCloseButton() {
|
|
13396
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
13397
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$_.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
13397
13398
|
// 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)
|
|
13398
13399
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$e.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
13399
13400
|
}
|
|
13400
13401
|
renderIcon() {
|
|
13401
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
13402
|
+
return (hAsync("calcite-icon", { class: CSS$_.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
13402
13403
|
}
|
|
13403
13404
|
render() {
|
|
13404
13405
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -13412,21 +13413,21 @@ class Chip {
|
|
|
13412
13413
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
13413
13414
|
? toAriaBoolean(this.selected)
|
|
13414
13415
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
13415
|
-
[CSS$
|
|
13416
|
-
[CSS$
|
|
13417
|
-
[CSS$
|
|
13418
|
-
[CSS$
|
|
13419
|
-
[CSS$
|
|
13420
|
-
[CSS$
|
|
13421
|
-
[CSS$
|
|
13422
|
-
[CSS$
|
|
13416
|
+
[CSS$_.container]: true,
|
|
13417
|
+
[CSS$_.textSlotted]: this.hasText,
|
|
13418
|
+
[CSS$_.imageSlotted]: this.hasImage,
|
|
13419
|
+
[CSS$_.selectable]: this.selectionMode !== "none",
|
|
13420
|
+
[CSS$_.multiple]: this.selectionMode === "multiple",
|
|
13421
|
+
[CSS$_.closable]: this.closable,
|
|
13422
|
+
[CSS$_.nonInteractive]: !this.interactive,
|
|
13423
|
+
[CSS$_.isCircle]: !this.closable &&
|
|
13423
13424
|
!this.hasText &&
|
|
13424
13425
|
(!this.icon || !this.hasImage) &&
|
|
13425
13426
|
(this.selectionMode === "none" ||
|
|
13426
13427
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)),
|
|
13427
13428
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
13428
13429
|
// 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)
|
|
13429
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
13430
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$_.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
13430
13431
|
}
|
|
13431
13432
|
static get assetsDirs() { return ["assets"]; }
|
|
13432
13433
|
get el() { return getElement(this); }
|
|
@@ -15748,7 +15749,7 @@ function zeroArray(array, length) {
|
|
|
15748
15749
|
|
|
15749
15750
|
var color = Color;
|
|
15750
15751
|
|
|
15751
|
-
const CSS$
|
|
15752
|
+
const CSS$Z = {
|
|
15752
15753
|
channel: "channel",
|
|
15753
15754
|
channels: "channels",
|
|
15754
15755
|
colorField: "color-field",
|
|
@@ -16097,7 +16098,7 @@ class ColorPicker {
|
|
|
16097
16098
|
const { channelMode: activeChannelMode, messages } = this;
|
|
16098
16099
|
const selected = channelMode === activeChannelMode;
|
|
16099
16100
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
16100
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
16101
|
+
return (hAsync("calcite-tab-title", { class: CSS$Z.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
16101
16102
|
};
|
|
16102
16103
|
this.renderChannelsTab = (channelMode) => {
|
|
16103
16104
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -16108,7 +16109,7 @@ class ColorPicker {
|
|
|
16108
16109
|
: [messages.hue, messages.saturation, messages.value];
|
|
16109
16110
|
const direction = getElementDir(this.el);
|
|
16110
16111
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
16111
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
16112
|
+
return (hAsync("calcite-tab", { class: CSS$Z.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$Z.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
|
|
16112
16113
|
const isAlphaChannel = index === 3;
|
|
16113
16114
|
if (isAlphaChannel) {
|
|
16114
16115
|
channelValue =
|
|
@@ -16119,7 +16120,7 @@ class ColorPicker {
|
|
|
16119
16120
|
}))));
|
|
16120
16121
|
};
|
|
16121
16122
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
16122
|
-
return (hAsync("calcite-input-number", { class: CSS$
|
|
16123
|
+
return (hAsync("calcite-input-number", { class: CSS$Z.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",
|
|
16123
16124
|
// workaround to ensure input borders overlap as desired
|
|
16124
16125
|
// this is because the build transforms margin-left to its
|
|
16125
16126
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -16309,7 +16310,7 @@ class ColorPicker {
|
|
|
16309
16310
|
this.shiftKeyChannelAdjustment = 0;
|
|
16310
16311
|
const { key } = event;
|
|
16311
16312
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
16312
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
16313
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$Z.channel))) {
|
|
16313
16314
|
return;
|
|
16314
16315
|
}
|
|
16315
16316
|
const { shiftKey } = event;
|
|
@@ -16401,35 +16402,35 @@ class ColorPicker {
|
|
|
16401
16402
|
const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(colorFieldScopeLeft, colorFieldScopeTop);
|
|
16402
16403
|
const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
|
|
16403
16404
|
const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
|
|
16404
|
-
return (hAsync("div", { class: CSS$
|
|
16405
|
+
return (hAsync("div", { class: CSS$Z.container }, hAsync("div", { class: CSS$Z.controlAndScope }, hAsync("canvas", { class: CSS$Z.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16405
16406
|
// 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)
|
|
16406
|
-
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$
|
|
16407
|
+
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$Z.scope]: true, [CSS$Z.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
|
|
16407
16408
|
top: `${adjustedColorFieldScopeTop || 0}px`,
|
|
16408
16409
|
left: `${adjustedColorFieldScopeLeft || 0}px`,
|
|
16409
16410
|
}, tabindex: "0",
|
|
16410
16411
|
// 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)
|
|
16411
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$
|
|
16412
|
+
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$Z.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$Z.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$Z.sliders }, hAsync("div", { class: CSS$Z.controlAndScope }, hAsync("canvas", { class: { [CSS$Z.slider]: true, [CSS$Z.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
16412
16413
|
// 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)
|
|
16413
|
-
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$
|
|
16414
|
+
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$Z.scope]: true, [CSS$Z.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
|
|
16414
16415
|
top: `${adjustedHueScopeTop}px`,
|
|
16415
16416
|
left: `${adjustedHueScopeLeft}px`,
|
|
16416
16417
|
}, tabindex: "0",
|
|
16417
16418
|
// 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)
|
|
16418
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$
|
|
16419
|
+
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$Z.controlAndScope }, hAsync("canvas", { class: { [CSS$Z.slider]: true, [CSS$Z.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
16419
16420
|
// 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)
|
|
16420
|
-
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$
|
|
16421
|
+
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$Z.scope]: true, [CSS$Z.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
|
|
16421
16422
|
top: `${adjustedOpacityScopeTop}px`,
|
|
16422
16423
|
left: `${adjustedOpacityScopeLeft}px`,
|
|
16423
16424
|
}, tabindex: "0",
|
|
16424
16425
|
// 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)
|
|
16425
16426
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
16426
|
-
[CSS$
|
|
16427
|
-
[CSS$
|
|
16428
|
-
} }, hAsync("div", { class: CSS$
|
|
16429
|
-
[CSS$
|
|
16430
|
-
[CSS$
|
|
16431
|
-
}, 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$
|
|
16432
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$
|
|
16427
|
+
[CSS$Z.controlSection]: true,
|
|
16428
|
+
[CSS$Z.section]: true,
|
|
16429
|
+
} }, hAsync("div", { class: CSS$Z.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$Z.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$Z.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
16430
|
+
[CSS$Z.colorModeContainer]: true,
|
|
16431
|
+
[CSS$Z.splitSection]: true,
|
|
16432
|
+
}, 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$Z.savedColorsSection]: true, [CSS$Z.section]: true } }, hAsync("div", { class: CSS$Z.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$Z.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$Z.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$Z.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$Z.savedColors }, [
|
|
16433
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$Z.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
|
|
16433
16434
|
])) : null))));
|
|
16434
16435
|
}
|
|
16435
16436
|
// --------------------------------------------------------------------------
|
|
@@ -16800,7 +16801,7 @@ class ColorPicker {
|
|
|
16800
16801
|
}; }
|
|
16801
16802
|
}
|
|
16802
16803
|
|
|
16803
|
-
const CSS$
|
|
16804
|
+
const CSS$Y = {
|
|
16804
16805
|
container: "container",
|
|
16805
16806
|
hexInput: "hex-input",
|
|
16806
16807
|
opacityInput: "opacity-input",
|
|
@@ -16968,9 +16969,9 @@ class ColorPickerHexInput {
|
|
|
16968
16969
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
16969
16970
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16970
16971
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16971
|
-
return (hAsync("div", { class: CSS$
|
|
16972
|
+
return (hAsync("div", { class: CSS$Y.container }, hAsync("calcite-input-text", { class: CSS$Y.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
16972
16973
|
// 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)
|
|
16973
|
-
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$
|
|
16974
|
+
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$Y.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,
|
|
16974
16975
|
// 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)
|
|
16975
16976
|
ref: this.storeOpacityInputRef })) : null));
|
|
16976
16977
|
}
|
|
@@ -17066,7 +17067,7 @@ class ColorPickerHexInput {
|
|
|
17066
17067
|
}; }
|
|
17067
17068
|
}
|
|
17068
17069
|
|
|
17069
|
-
const CSS$
|
|
17070
|
+
const CSS$X = {
|
|
17070
17071
|
swatch: "swatch",
|
|
17071
17072
|
noColorSwatch: "swatch--no-color",
|
|
17072
17073
|
checker: "checker",
|
|
@@ -17104,8 +17105,8 @@ class ColorPickerSwatch {
|
|
|
17104
17105
|
render() {
|
|
17105
17106
|
const isEmpty = !this.internalColor;
|
|
17106
17107
|
const classes = {
|
|
17107
|
-
[CSS$
|
|
17108
|
-
[CSS$
|
|
17108
|
+
[CSS$X.swatch]: true,
|
|
17109
|
+
[CSS$X.noColorSwatch]: isEmpty,
|
|
17109
17110
|
};
|
|
17110
17111
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
17111
17112
|
}
|
|
@@ -17131,7 +17132,7 @@ class ColorPickerSwatch {
|
|
|
17131
17132
|
const alpha = internalColor.alpha();
|
|
17132
17133
|
const hex = hexify(internalColor);
|
|
17133
17134
|
const hexa = hexify(internalColor, alpha < 1);
|
|
17134
|
-
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$
|
|
17135
|
+
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$X.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$X.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: {
|
|
17135
17136
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
17136
17137
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
17137
17138
|
}
|
|
@@ -18876,7 +18877,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18876
18877
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18877
18878
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18878
18879
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
18879
|
-
const CSS$
|
|
18880
|
+
const CSS$W = {
|
|
18880
18881
|
listContainer: "list-container",
|
|
18881
18882
|
};
|
|
18882
18883
|
|
|
@@ -18904,11 +18905,11 @@ function isSingleLike(selectionMode) {
|
|
|
18904
18905
|
return selectionMode.includes("single");
|
|
18905
18906
|
}
|
|
18906
18907
|
|
|
18907
|
-
const CSS$
|
|
18908
|
+
const CSS$V = {
|
|
18908
18909
|
button: "x-button",
|
|
18909
18910
|
};
|
|
18910
18911
|
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
18911
|
-
return (hAsync("button", { "aria-label": label, class: CSS$
|
|
18912
|
+
return (hAsync("button", { "aria-label": label, class: CSS$V.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18912
18913
|
// 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)
|
|
18913
18914
|
ref: ref },
|
|
18914
18915
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
@@ -19106,7 +19107,7 @@ class Combobox {
|
|
|
19106
19107
|
event.preventDefault();
|
|
19107
19108
|
return;
|
|
19108
19109
|
}
|
|
19109
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
19110
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$V.button))) {
|
|
19110
19111
|
this.clearValue();
|
|
19111
19112
|
event.preventDefault();
|
|
19112
19113
|
return;
|
|
@@ -19714,7 +19715,7 @@ class Combobox {
|
|
|
19714
19715
|
renderFloatingUIContainer() {
|
|
19715
19716
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19716
19717
|
const classes = {
|
|
19717
|
-
[CSS$
|
|
19718
|
+
[CSS$W.listContainer]: true,
|
|
19718
19719
|
[FloatingCSS.animation]: true,
|
|
19719
19720
|
[FloatingCSS.animationActive]: open,
|
|
19720
19721
|
};
|
|
@@ -19813,7 +19814,7 @@ class Combobox {
|
|
|
19813
19814
|
}; }
|
|
19814
19815
|
}
|
|
19815
19816
|
|
|
19816
|
-
const CSS$
|
|
19817
|
+
const CSS$U = {
|
|
19817
19818
|
icon: "icon",
|
|
19818
19819
|
iconActive: "icon--active",
|
|
19819
19820
|
iconIndent: "icon--indent",
|
|
@@ -19892,20 +19893,20 @@ class ComboboxItem {
|
|
|
19892
19893
|
// --------------------------------------------------------------------------
|
|
19893
19894
|
renderIcon(iconPath) {
|
|
19894
19895
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
19895
|
-
[CSS$
|
|
19896
|
-
[CSS$
|
|
19897
|
-
[CSS$
|
|
19896
|
+
[CSS$U.custom]: !!this.icon,
|
|
19897
|
+
[CSS$U.iconActive]: this.icon && this.selected,
|
|
19898
|
+
[CSS$U.iconIndent]: true,
|
|
19898
19899
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
19899
19900
|
}
|
|
19900
19901
|
renderSelectIndicator(showDot, iconPath) {
|
|
19901
19902
|
return showDot ? (hAsync("span", { class: {
|
|
19902
|
-
[CSS$
|
|
19903
|
-
[CSS$
|
|
19904
|
-
[CSS$
|
|
19903
|
+
[CSS$U.icon]: true,
|
|
19904
|
+
[CSS$U.dot]: true,
|
|
19905
|
+
[CSS$U.iconIndent]: true,
|
|
19905
19906
|
} })) : (hAsync("calcite-icon", { class: {
|
|
19906
|
-
[CSS$
|
|
19907
|
-
[CSS$
|
|
19908
|
-
[CSS$
|
|
19907
|
+
[CSS$U.icon]: true,
|
|
19908
|
+
[CSS$U.iconActive]: this.selected,
|
|
19909
|
+
[CSS$U.iconIndent]: true,
|
|
19909
19910
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
19910
19911
|
}
|
|
19911
19912
|
renderChildren() {
|
|
@@ -19920,10 +19921,10 @@ class ComboboxItem {
|
|
|
19920
19921
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19921
19922
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
19922
19923
|
const classes = {
|
|
19923
|
-
[CSS$
|
|
19924
|
-
[CSS$
|
|
19925
|
-
[CSS$
|
|
19926
|
-
[CSS$
|
|
19924
|
+
[CSS$U.label]: true,
|
|
19925
|
+
[CSS$U.selected]: this.selected,
|
|
19926
|
+
[CSS$U.active]: this.active,
|
|
19927
|
+
[CSS$U.single]: isSingleSelect,
|
|
19927
19928
|
};
|
|
19928
19929
|
const depth = getDepth$1();
|
|
19929
19930
|
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())));
|
|
@@ -19956,7 +19957,7 @@ class ComboboxItem {
|
|
|
19956
19957
|
}; }
|
|
19957
19958
|
}
|
|
19958
19959
|
|
|
19959
|
-
const CSS$
|
|
19960
|
+
const CSS$T = {
|
|
19960
19961
|
list: "list",
|
|
19961
19962
|
label: "label",
|
|
19962
19963
|
title: "title",
|
|
@@ -19992,7 +19993,7 @@ class ComboboxItemGroup {
|
|
|
19992
19993
|
render() {
|
|
19993
19994
|
const { el, scale } = this;
|
|
19994
19995
|
const depth = getDepth$1();
|
|
19995
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
19996
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$T.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$T.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$T.title }, this.label)), hAsync("slot", null)));
|
|
19996
19997
|
}
|
|
19997
19998
|
get el() { return getElement(this); }
|
|
19998
19999
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -21179,7 +21180,7 @@ class DatePickerMonth {
|
|
|
21179
21180
|
}; }
|
|
21180
21181
|
}
|
|
21181
21182
|
|
|
21182
|
-
const CSS$
|
|
21183
|
+
const CSS$S = {
|
|
21183
21184
|
header: "header",
|
|
21184
21185
|
month: "month",
|
|
21185
21186
|
chevron: "chevron",
|
|
@@ -21279,7 +21280,7 @@ class DatePickerMonthHeader {
|
|
|
21279
21280
|
this.setNextPrevMonthDates();
|
|
21280
21281
|
}
|
|
21281
21282
|
render() {
|
|
21282
|
-
return hAsync("div", { class: CSS$
|
|
21283
|
+
return hAsync("div", { class: CSS$S.header }, this.renderContent());
|
|
21283
21284
|
}
|
|
21284
21285
|
renderContent() {
|
|
21285
21286
|
const { messages, localeData, activeDate } = this;
|
|
@@ -21302,12 +21303,12 @@ class DatePickerMonthHeader {
|
|
|
21302
21303
|
const order = getOrder(unitOrder);
|
|
21303
21304
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
21304
21305
|
const suffix = localeData.year?.suffix;
|
|
21305
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
21306
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$S.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$S.textReverse]: reverse } }, hAsync(Heading, { class: CSS$S.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$S.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
21306
21307
|
year: true,
|
|
21307
|
-
[CSS$
|
|
21308
|
+
[CSS$S.yearSuffix]: !!suffix,
|
|
21308
21309
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21309
21310
|
// 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)
|
|
21310
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
21311
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$S.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$S.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 }))));
|
|
21311
21312
|
}
|
|
21312
21313
|
setNextPrevMonthDates() {
|
|
21313
21314
|
if (!this.activeDate) {
|
|
@@ -21809,7 +21810,7 @@ class Dropdown {
|
|
|
21809
21810
|
}; }
|
|
21810
21811
|
}
|
|
21811
21812
|
|
|
21812
|
-
const CSS$
|
|
21813
|
+
const CSS$R = {
|
|
21813
21814
|
container: "container",
|
|
21814
21815
|
containerLink: "container--link",
|
|
21815
21816
|
containerMulti: "container--multi-selection",
|
|
@@ -21857,8 +21858,8 @@ class DropdownGroup {
|
|
|
21857
21858
|
const groupTitle = this.groupTitle ? (hAsync("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
21858
21859
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21859
21860
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21860
|
-
[CSS$
|
|
21861
|
-
[`${CSS$
|
|
21861
|
+
[CSS$R.container]: true,
|
|
21862
|
+
[`${CSS$R.container}--${this.scale}`]: true,
|
|
21862
21863
|
} }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21863
21864
|
}
|
|
21864
21865
|
//--------------------------------------------------------------------------
|
|
@@ -21952,9 +21953,9 @@ class DropdownItem {
|
|
|
21952
21953
|
}
|
|
21953
21954
|
render() {
|
|
21954
21955
|
const { href, selectionMode, label, iconFlipRtl, scale } = this;
|
|
21955
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
21956
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
21957
|
-
const iconEndEl = (hAsync("calcite-icon", { class: CSS$
|
|
21956
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$R.iconStart, flipRtl: iconFlipRtl === "start" || iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
21957
|
+
const contentNode = (hAsync("span", { class: CSS$R.itemContent }, hAsync("slot", null)));
|
|
21958
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$R.iconEnd, flipRtl: iconFlipRtl === "end" || iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
21958
21959
|
const slottedContent = this.iconStart && this.iconEnd
|
|
21959
21960
|
? [iconStartEl, contentNode, iconEndEl]
|
|
21960
21961
|
: this.iconStart
|
|
@@ -21962,7 +21963,7 @@ class DropdownItem {
|
|
|
21962
21963
|
: this.iconEnd
|
|
21963
21964
|
? [contentNode, iconEndEl]
|
|
21964
21965
|
: contentNode;
|
|
21965
|
-
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$
|
|
21966
|
+
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$R.link, href: href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
21966
21967
|
// 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)
|
|
21967
21968
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
21968
21969
|
const itemRole = href
|
|
@@ -21974,13 +21975,13 @@ class DropdownItem {
|
|
|
21974
21975
|
: "menuitem";
|
|
21975
21976
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
21976
21977
|
return (hAsync(Host, { "aria-checked": itemAria, "aria-label": !href ? label : "", role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
21977
|
-
[CSS$
|
|
21978
|
-
[CSS$
|
|
21979
|
-
[`${CSS$
|
|
21980
|
-
[CSS$
|
|
21981
|
-
[CSS$
|
|
21982
|
-
[CSS$
|
|
21983
|
-
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$
|
|
21978
|
+
[CSS$R.container]: true,
|
|
21979
|
+
[CSS$R.containerLink]: !!href,
|
|
21980
|
+
[`${CSS$R.container}--${scale}`]: true,
|
|
21981
|
+
[CSS$R.containerMulti]: selectionMode === "multiple",
|
|
21982
|
+
[CSS$R.containerSingle]: selectionMode === "single",
|
|
21983
|
+
[CSS$R.containerNone]: selectionMode === "none",
|
|
21984
|
+
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$R.icon, icon: selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
|
|
21984
21985
|
}
|
|
21985
21986
|
//--------------------------------------------------------------------------
|
|
21986
21987
|
//
|
|
@@ -22087,7 +22088,7 @@ class DropdownItem {
|
|
|
22087
22088
|
}; }
|
|
22088
22089
|
}
|
|
22089
22090
|
|
|
22090
|
-
const CSS$
|
|
22091
|
+
const CSS$Q = {
|
|
22091
22092
|
button: "button",
|
|
22092
22093
|
};
|
|
22093
22094
|
const ICONS$d = {
|
|
@@ -22148,7 +22149,7 @@ class Fab {
|
|
|
22148
22149
|
render() {
|
|
22149
22150
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl, } = this;
|
|
22150
22151
|
const title = !textEnabled ? label || text || null : null;
|
|
22151
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
22152
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$Q.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",
|
|
22152
22153
|
// 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)
|
|
22153
22154
|
ref: (buttonEl) => {
|
|
22154
22155
|
this.buttonEl = buttonEl;
|
|
@@ -22178,7 +22179,7 @@ class Fab {
|
|
|
22178
22179
|
}; }
|
|
22179
22180
|
}
|
|
22180
22181
|
|
|
22181
|
-
const CSS$
|
|
22182
|
+
const CSS$P = {
|
|
22182
22183
|
container: "container",
|
|
22183
22184
|
searchIcon: "search-icon",
|
|
22184
22185
|
};
|
|
@@ -22307,7 +22308,7 @@ class Filter {
|
|
|
22307
22308
|
// --------------------------------------------------------------------------
|
|
22308
22309
|
render() {
|
|
22309
22310
|
const { disabled, scale } = this;
|
|
22310
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
22311
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$P.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$c.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
|
|
22311
22312
|
// 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)
|
|
22312
22313
|
ref: (el) => {
|
|
22313
22314
|
this.textInput = el;
|
|
@@ -22346,7 +22347,7 @@ class Filter {
|
|
|
22346
22347
|
}; }
|
|
22347
22348
|
}
|
|
22348
22349
|
|
|
22349
|
-
const CSS$
|
|
22350
|
+
const CSS$O = {
|
|
22350
22351
|
frame: "frame",
|
|
22351
22352
|
frameAdvancing: "frame--advancing",
|
|
22352
22353
|
frameRetreating: "frame--retreating",
|
|
@@ -22468,9 +22469,9 @@ class Flow {
|
|
|
22468
22469
|
render() {
|
|
22469
22470
|
const { flowDirection } = this;
|
|
22470
22471
|
const frameDirectionClasses = {
|
|
22471
|
-
[CSS$
|
|
22472
|
-
[CSS$
|
|
22473
|
-
[CSS$
|
|
22472
|
+
[CSS$O.frame]: true,
|
|
22473
|
+
[CSS$O.frameAdvancing]: flowDirection === "advancing",
|
|
22474
|
+
[CSS$O.frameRetreating]: flowDirection === "retreating",
|
|
22474
22475
|
};
|
|
22475
22476
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
22476
22477
|
}
|
|
@@ -22493,7 +22494,7 @@ class Flow {
|
|
|
22493
22494
|
}; }
|
|
22494
22495
|
}
|
|
22495
22496
|
|
|
22496
|
-
const CSS$
|
|
22497
|
+
const CSS$N = {
|
|
22497
22498
|
actionBarContainer: "action-bar-container",
|
|
22498
22499
|
backButton: "back-button",
|
|
22499
22500
|
container: "container",
|
|
@@ -22528,7 +22529,7 @@ const SLOTS$n = {
|
|
|
22528
22529
|
footerActions: "footer-actions",
|
|
22529
22530
|
};
|
|
22530
22531
|
|
|
22531
|
-
const CSS$
|
|
22532
|
+
const CSS$M = {
|
|
22532
22533
|
backButton: "back-button",
|
|
22533
22534
|
};
|
|
22534
22535
|
const ICONS$a = {
|
|
@@ -22676,7 +22677,7 @@ class FlowItem {
|
|
|
22676
22677
|
const { showBackButton, backButtonClick, messages } = this;
|
|
22677
22678
|
const label = messages.back;
|
|
22678
22679
|
const icon = rtl ? ICONS$a.backRight : ICONS$a.backLeft;
|
|
22679
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
22680
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$M.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label, title: label,
|
|
22680
22681
|
// 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)
|
|
22681
22682
|
ref: this.setBackRef })) : null;
|
|
22682
22683
|
}
|
|
@@ -22940,7 +22941,7 @@ class Graph {
|
|
|
22940
22941
|
}; }
|
|
22941
22942
|
}
|
|
22942
22943
|
|
|
22943
|
-
const CSS$
|
|
22944
|
+
const CSS$L = {
|
|
22944
22945
|
handle: "handle",
|
|
22945
22946
|
handleActivated: "handle--activated",
|
|
22946
22947
|
};
|
|
@@ -23063,7 +23064,7 @@ class Handle {
|
|
|
23063
23064
|
render() {
|
|
23064
23065
|
return (
|
|
23065
23066
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
23066
|
-
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
23067
|
+
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$L.handle]: true, [CSS$L.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages?.dragHandle,
|
|
23067
23068
|
// 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)
|
|
23068
23069
|
ref: (el) => {
|
|
23069
23070
|
this.handleButton = el;
|
|
@@ -23102,7 +23103,7 @@ class Handle {
|
|
|
23102
23103
|
}; }
|
|
23103
23104
|
}
|
|
23104
23105
|
|
|
23105
|
-
const CSS$
|
|
23106
|
+
const CSS$K = {
|
|
23106
23107
|
icon: "icon",
|
|
23107
23108
|
flipRtl: "flip-rtl",
|
|
23108
23109
|
};
|
|
@@ -23150,7 +23151,7 @@ class Icon {
|
|
|
23150
23151
|
const semantic = !!textLabel;
|
|
23151
23152
|
const paths = [].concat(pathData || "");
|
|
23152
23153
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
23153
|
-
[CSS$
|
|
23154
|
+
[CSS$K.flipRtl]: dir === "rtl" && flipRtl,
|
|
23154
23155
|
svg: true,
|
|
23155
23156
|
}, 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 }))))));
|
|
23156
23157
|
}
|
|
@@ -23196,7 +23197,7 @@ class Icon {
|
|
|
23196
23197
|
}; }
|
|
23197
23198
|
}
|
|
23198
23199
|
|
|
23199
|
-
const CSS$
|
|
23200
|
+
const CSS$J = {
|
|
23200
23201
|
wrapper: "wrapper",
|
|
23201
23202
|
confirmChangesButton: "confirm-changes-button",
|
|
23202
23203
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -23346,16 +23347,16 @@ class InlineEditable {
|
|
|
23346
23347
|
updateHostInteraction(this);
|
|
23347
23348
|
}
|
|
23348
23349
|
render() {
|
|
23349
|
-
return (hAsync("div", { class: CSS$
|
|
23350
|
+
return (hAsync("div", { class: CSS$J.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$J.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$J.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$J.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
|
|
23350
23351
|
opacity: this.editingEnabled ? "0" : "1",
|
|
23351
23352
|
width: this.editingEnabled ? "0" : "inherit",
|
|
23352
23353
|
}, type: "button",
|
|
23353
23354
|
// 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)
|
|
23354
23355
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
23355
|
-
hAsync("div", { class: CSS$
|
|
23356
|
+
hAsync("div", { class: CSS$J.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$J.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
|
|
23356
23357
|
// 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)
|
|
23357
23358
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
23358
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
23359
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$J.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
|
|
23359
23360
|
// 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)
|
|
23360
23361
|
ref: (el) => (this.confirmEditingButton = el) }),
|
|
23361
23362
|
])));
|
|
@@ -23441,7 +23442,7 @@ class InlineEditable {
|
|
|
23441
23442
|
}; }
|
|
23442
23443
|
}
|
|
23443
23444
|
|
|
23444
|
-
const CSS$
|
|
23445
|
+
const CSS$I = {
|
|
23445
23446
|
loader: "loader",
|
|
23446
23447
|
clearButton: "clear-button",
|
|
23447
23448
|
editingEnabled: "editing-enabled",
|
|
@@ -24025,38 +24026,38 @@ class Input {
|
|
|
24025
24026
|
// --------------------------------------------------------------------------
|
|
24026
24027
|
render() {
|
|
24027
24028
|
const dir = getElementDir(this.el);
|
|
24028
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24029
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24030
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
24029
|
+
const loader = (hAsync("div", { class: CSS$I.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
24030
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$I.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
24031
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$I.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
24031
24032
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
24032
24033
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24033
|
-
[CSS$
|
|
24034
|
-
[CSS$
|
|
24034
|
+
[CSS$I.numberButtonItem]: true,
|
|
24035
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24035
24036
|
}, "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" })));
|
|
24036
24037
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24037
|
-
[CSS$
|
|
24038
|
-
[CSS$
|
|
24038
|
+
[CSS$I.numberButtonItem]: true,
|
|
24039
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24039
24040
|
}, "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" })));
|
|
24040
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
24041
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24042
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
24041
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$I.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
24042
|
+
const prefixText = hAsync("div", { class: CSS$I.prefix }, this.prefixText);
|
|
24043
|
+
const suffixText = hAsync("div", { class: CSS$I.suffix }, this.suffixText);
|
|
24043
24044
|
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,
|
|
24044
24045
|
// 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)
|
|
24045
24046
|
ref: this.setChildNumberElRef })) : null;
|
|
24046
24047
|
const childEl = this.type !== "number"
|
|
24047
24048
|
? [
|
|
24048
24049
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
24049
|
-
[CSS$
|
|
24050
|
-
[CSS$
|
|
24050
|
+
[CSS$I.editingEnabled]: this.editingEnabled,
|
|
24051
|
+
[CSS$I.inlineChild]: !!this.inlineEditableEl,
|
|
24051
24052
|
}, 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,
|
|
24052
24053
|
// 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)
|
|
24053
24054
|
ref: this.setChildElRef }),
|
|
24054
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
24055
|
+
this.isTextarea ? (hAsync("div", { class: CSS$I.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null,
|
|
24055
24056
|
]
|
|
24056
24057
|
: null;
|
|
24057
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
24058
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$I.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24058
24059
|
? numberButtonsHorizontalDown
|
|
24059
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
24060
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$I.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$I.actionWrapper }, hAsync("slot", { name: SLOTS$l.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
24060
24061
|
? numberButtonsVertical
|
|
24061
24062
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24062
24063
|
? numberButtonsHorizontalUp
|
|
@@ -24131,7 +24132,7 @@ class Input {
|
|
|
24131
24132
|
}; }
|
|
24132
24133
|
}
|
|
24133
24134
|
|
|
24134
|
-
const CSS$
|
|
24135
|
+
const CSS$H = {
|
|
24135
24136
|
assistiveText: "assistive-text",
|
|
24136
24137
|
menu: "menu-container",
|
|
24137
24138
|
menuActive: "menu-container--active",
|
|
@@ -25598,9 +25599,9 @@ class InputDatePicker {
|
|
|
25598
25599
|
// 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)
|
|
25599
25600
|
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",
|
|
25600
25601
|
// 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)
|
|
25601
|
-
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$
|
|
25602
|
-
[CSS$
|
|
25603
|
-
[CSS$
|
|
25602
|
+
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$H.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: {
|
|
25603
|
+
[CSS$H.menu]: true,
|
|
25604
|
+
[CSS$H.menuActive]: this.open,
|
|
25604
25605
|
}, id: this.dialogId, role: "dialog",
|
|
25605
25606
|
// 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)
|
|
25606
25607
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -25622,7 +25623,7 @@ class InputDatePicker {
|
|
|
25622
25623
|
ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25623
25624
|
}
|
|
25624
25625
|
renderToggleIcon(open) {
|
|
25625
|
-
return (hAsync("span", { class: CSS$
|
|
25626
|
+
return (hAsync("span", { class: CSS$H.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
25626
25627
|
}
|
|
25627
25628
|
setReferenceEl() {
|
|
25628
25629
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -25887,7 +25888,7 @@ class InputMessage {
|
|
|
25887
25888
|
}; }
|
|
25888
25889
|
}
|
|
25889
25890
|
|
|
25890
|
-
const CSS$
|
|
25891
|
+
const CSS$G = {
|
|
25891
25892
|
loader: "loader",
|
|
25892
25893
|
clearButton: "clear-button",
|
|
25893
25894
|
editingEnabled: "editing-enabled",
|
|
@@ -26402,27 +26403,27 @@ class InputNumber {
|
|
|
26402
26403
|
// --------------------------------------------------------------------------
|
|
26403
26404
|
render() {
|
|
26404
26405
|
const dir = getElementDir(this.el);
|
|
26405
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26406
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26407
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26406
|
+
const loader = (hAsync("div", { class: CSS$G.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26407
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$G.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26408
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$G.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26408
26409
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
26409
26410
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26410
|
-
[CSS$
|
|
26411
|
-
[CSS$
|
|
26411
|
+
[CSS$G.numberButtonItem]: true,
|
|
26412
|
+
[CSS$G.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26412
26413
|
}, "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" })));
|
|
26413
26414
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26414
|
-
[CSS$
|
|
26415
|
-
[CSS$
|
|
26415
|
+
[CSS$G.numberButtonItem]: true,
|
|
26416
|
+
[CSS$G.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26416
26417
|
}, "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" })));
|
|
26417
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
26418
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26419
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26418
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$G.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
26419
|
+
const prefixText = hAsync("div", { class: CSS$G.prefix }, this.prefixText);
|
|
26420
|
+
const suffixText = hAsync("div", { class: CSS$G.suffix }, this.suffixText);
|
|
26420
26421
|
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,
|
|
26421
26422
|
// 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)
|
|
26422
26423
|
ref: this.setChildNumberElRef }));
|
|
26423
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26424
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$G.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26424
26425
|
? numberButtonsHorizontalDown
|
|
26425
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
26426
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$G.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$G.actionWrapper }, hAsync("slot", { name: SLOTS$k.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26426
26427
|
? numberButtonsHorizontalUp
|
|
26427
26428
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26428
26429
|
}
|
|
@@ -26490,7 +26491,7 @@ class InputNumber {
|
|
|
26490
26491
|
}; }
|
|
26491
26492
|
}
|
|
26492
26493
|
|
|
26493
|
-
const CSS$
|
|
26494
|
+
const CSS$F = {
|
|
26494
26495
|
loader: "loader",
|
|
26495
26496
|
clearButton: "clear-button",
|
|
26496
26497
|
editingEnabled: "editing-enabled",
|
|
@@ -26790,18 +26791,18 @@ class InputText {
|
|
|
26790
26791
|
// --------------------------------------------------------------------------
|
|
26791
26792
|
render() {
|
|
26792
26793
|
const dir = getElementDir(this.el);
|
|
26793
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26794
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26795
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26796
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26797
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26794
|
+
const loader = (hAsync("div", { class: CSS$F.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26795
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$F.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26796
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$F.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26797
|
+
const prefixText = hAsync("div", { class: CSS$F.prefix }, this.prefixText);
|
|
26798
|
+
const suffixText = hAsync("div", { class: CSS$F.suffix }, this.suffixText);
|
|
26798
26799
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
26799
|
-
[CSS$
|
|
26800
|
-
[CSS$
|
|
26800
|
+
[CSS$F.editingEnabled]: this.editingEnabled,
|
|
26801
|
+
[CSS$F.inlineChild]: !!this.inlineEditableEl,
|
|
26801
26802
|
}, 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,
|
|
26802
26803
|
// 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)
|
|
26803
26804
|
ref: this.setChildElRef }));
|
|
26804
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26805
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$F.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, 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$j.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26805
26806
|
}
|
|
26806
26807
|
static get assetsDirs() { return ["assets"]; }
|
|
26807
26808
|
get el() { return getElement(this); }
|
|
@@ -27117,7 +27118,7 @@ function toISOTimeString(value, includeSeconds = true) {
|
|
|
27117
27118
|
return isoTimeString;
|
|
27118
27119
|
}
|
|
27119
27120
|
|
|
27120
|
-
const CSS$
|
|
27121
|
+
const CSS$E = {
|
|
27121
27122
|
toggleIcon: "toggle-icon",
|
|
27122
27123
|
};
|
|
27123
27124
|
|
|
@@ -28890,7 +28891,7 @@ class InputTimePicker {
|
|
|
28890
28891
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
28891
28892
|
}
|
|
28892
28893
|
renderToggleIcon(open) {
|
|
28893
|
-
return (hAsync("span", { class: CSS$
|
|
28894
|
+
return (hAsync("span", { class: CSS$E.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
28894
28895
|
}
|
|
28895
28896
|
static get delegatesFocus() { return true; }
|
|
28896
28897
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -29130,7 +29131,7 @@ class InputTimeZone {
|
|
|
29130
29131
|
}; }
|
|
29131
29132
|
}
|
|
29132
29133
|
|
|
29133
|
-
const CSS$
|
|
29134
|
+
const CSS$D = {
|
|
29134
29135
|
container: "container",
|
|
29135
29136
|
};
|
|
29136
29137
|
|
|
@@ -29170,7 +29171,7 @@ class Label {
|
|
|
29170
29171
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
29171
29172
|
}
|
|
29172
29173
|
render() {
|
|
29173
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
29174
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$D.container }, hAsync("slot", null))));
|
|
29174
29175
|
}
|
|
29175
29176
|
get el() { return getElement(this); }
|
|
29176
29177
|
static get style() { return labelCss; }
|
|
@@ -29305,7 +29306,7 @@ class Link {
|
|
|
29305
29306
|
}; }
|
|
29306
29307
|
}
|
|
29307
29308
|
|
|
29308
|
-
const CSS$
|
|
29309
|
+
const CSS$C = {
|
|
29309
29310
|
container: "container",
|
|
29310
29311
|
containerBorderSelected: "container--border-selected",
|
|
29311
29312
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -29372,7 +29373,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
29372
29373
|
}
|
|
29373
29374
|
}
|
|
29374
29375
|
|
|
29375
|
-
const CSS$
|
|
29376
|
+
const CSS$B = {
|
|
29376
29377
|
container: "container",
|
|
29377
29378
|
table: "table",
|
|
29378
29379
|
scrim: "scrim",
|
|
@@ -32408,7 +32409,7 @@ Sortable.mount(new AutoScrollPlugin());
|
|
|
32408
32409
|
Sortable.mount(Remove, Revert);
|
|
32409
32410
|
|
|
32410
32411
|
const sortableComponentSet = new Set();
|
|
32411
|
-
const CSS$
|
|
32412
|
+
const CSS$A = {
|
|
32412
32413
|
ghostClass: "calcite-sortable--ghost",
|
|
32413
32414
|
chosenClass: "calcite-sortable--chosen",
|
|
32414
32415
|
dragClass: "calcite-sortable--drag",
|
|
@@ -32425,7 +32426,7 @@ function connectSortableComponent(component) {
|
|
|
32425
32426
|
const { group, handleSelector: handle, dragSelector: draggable } = component;
|
|
32426
32427
|
component.sortable = Sortable.create(component.el, {
|
|
32427
32428
|
dataIdAttr,
|
|
32428
|
-
...CSS$
|
|
32429
|
+
...CSS$A,
|
|
32429
32430
|
...(!!draggable && { draggable }),
|
|
32430
32431
|
...(!!group && {
|
|
32431
32432
|
group: {
|
|
@@ -32479,7 +32480,7 @@ function onDragEnd() {
|
|
|
32479
32480
|
Array.from(sortableComponentSet).forEach((component) => component.onDragEnd());
|
|
32480
32481
|
}
|
|
32481
32482
|
|
|
32482
|
-
const CSS$
|
|
32483
|
+
const CSS$z = {
|
|
32483
32484
|
container: "container",
|
|
32484
32485
|
actionsStart: "actions-start",
|
|
32485
32486
|
contentStart: "content-start",
|
|
@@ -32808,9 +32809,9 @@ class List$1 {
|
|
|
32808
32809
|
// --------------------------------------------------------------------------
|
|
32809
32810
|
render() {
|
|
32810
32811
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
|
|
32811
|
-
return (hAsync("div", { class: CSS$
|
|
32812
|
+
return (hAsync("div", { class: CSS$B.container }, this.dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: CSS$B.assistiveText }, this.assistiveText)) : null, loading ? hAsync("calcite-scrim", { class: CSS$B.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$B.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$B.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-stack", { class: CSS$B.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,
|
|
32812
32813
|
// 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)
|
|
32813
|
-
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$h.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$g.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$
|
|
32814
|
+
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$h.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$g.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$B.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
32814
32815
|
}
|
|
32815
32816
|
// --------------------------------------------------------------------------
|
|
32816
32817
|
//
|
|
@@ -33226,47 +33227,47 @@ class ListItem {
|
|
|
33226
33227
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
33227
33228
|
return null;
|
|
33228
33229
|
}
|
|
33229
|
-
return (hAsync("td", { class: CSS$
|
|
33230
|
+
return (hAsync("td", { class: CSS$C.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
33230
33231
|
? selectionMode === "multiple"
|
|
33231
33232
|
? ICONS$8.selectedMultiple
|
|
33232
33233
|
: ICONS$8.selectedSingle
|
|
33233
33234
|
: ICONS$8.unselected, scale: "s" })));
|
|
33234
33235
|
}
|
|
33235
33236
|
renderDragHandle() {
|
|
33236
|
-
return this.dragHandle ? (hAsync("td", { class: CSS$
|
|
33237
|
+
return this.dragHandle ? (hAsync("td", { class: CSS$C.dragContainer, key: "drag-handle-container" }, hAsync("calcite-handle", { label: this.label, setPosition: this.setPosition, setSize: this.setSize }))) : null;
|
|
33237
33238
|
}
|
|
33238
33239
|
renderOpen() {
|
|
33239
33240
|
const { el, open, openable, parentListEl } = this;
|
|
33240
33241
|
const dir = getElementDir(el);
|
|
33241
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
33242
|
+
return openable ? (hAsync("td", { class: CSS$C.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$8.open : dir === "rtl" ? ICONS$8.closedRTL : ICONS$8.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$C.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$8.blank, scale: "s" }))) : null;
|
|
33242
33243
|
}
|
|
33243
33244
|
renderActionsStart() {
|
|
33244
33245
|
const { label, hasActionsStart } = this;
|
|
33245
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
33246
|
+
return (hAsync("td", { "aria-label": label, class: CSS$C.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
33246
33247
|
// 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)
|
|
33247
33248
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$i.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
33248
33249
|
}
|
|
33249
33250
|
renderActionsEnd() {
|
|
33250
33251
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
33251
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
33252
|
+
return (hAsync("td", { "aria-label": label, class: CSS$C.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
33252
33253
|
// 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)
|
|
33253
33254
|
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$i.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$8.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
|
33254
33255
|
}
|
|
33255
33256
|
renderContentStart() {
|
|
33256
33257
|
const { hasContentStart } = this;
|
|
33257
|
-
return (hAsync("div", { class: CSS$
|
|
33258
|
+
return (hAsync("div", { class: CSS$C.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$i.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
33258
33259
|
}
|
|
33259
33260
|
renderCustomContent() {
|
|
33260
33261
|
const { hasCustomContent } = this;
|
|
33261
|
-
return (hAsync("div", { class: CSS$
|
|
33262
|
+
return (hAsync("div", { class: CSS$C.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$i.content, onSlotchange: this.handleContentSlotChange })));
|
|
33262
33263
|
}
|
|
33263
33264
|
renderContentEnd() {
|
|
33264
33265
|
const { hasContentEnd } = this;
|
|
33265
|
-
return (hAsync("div", { class: CSS$
|
|
33266
|
+
return (hAsync("div", { class: CSS$C.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$i.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
33266
33267
|
}
|
|
33267
33268
|
renderContentProperties() {
|
|
33268
33269
|
const { label, description, hasCustomContent } = this;
|
|
33269
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
33270
|
+
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$C.content, key: "content" }, label ? (hAsync("div", { class: CSS$C.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$C.description, key: "description" }, description)) : null)) : null;
|
|
33270
33271
|
}
|
|
33271
33272
|
renderContentContainer() {
|
|
33272
33273
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -33278,9 +33279,9 @@ class ListItem {
|
|
|
33278
33279
|
this.renderContentEnd(),
|
|
33279
33280
|
];
|
|
33280
33281
|
return (hAsync("td", { "aria-label": label, class: {
|
|
33281
|
-
[CSS$
|
|
33282
|
-
[CSS$
|
|
33283
|
-
[CSS$
|
|
33282
|
+
[CSS$C.contentContainer]: true,
|
|
33283
|
+
[CSS$C.contentContainerSelectable]: selectionMode !== "none",
|
|
33284
|
+
[CSS$C.contentContainerHasCenterContent]: hasCenterContent,
|
|
33284
33285
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
33285
33286
|
// 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)
|
|
33286
33287
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -33291,14 +33292,14 @@ class ListItem {
|
|
|
33291
33292
|
const borderSelected = showBorder && selected;
|
|
33292
33293
|
const borderUnselected = showBorder && !selected;
|
|
33293
33294
|
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: {
|
|
33294
|
-
[CSS$
|
|
33295
|
-
[CSS$
|
|
33296
|
-
[CSS$
|
|
33295
|
+
[CSS$C.container]: true,
|
|
33296
|
+
[CSS$C.containerBorderSelected]: borderSelected,
|
|
33297
|
+
[CSS$C.containerBorderUnselected]: borderUnselected,
|
|
33297
33298
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
33298
33299
|
// 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)
|
|
33299
33300
|
ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
33300
|
-
[CSS$
|
|
33301
|
-
[CSS$
|
|
33301
|
+
[CSS$C.nestedContainer]: true,
|
|
33302
|
+
[CSS$C.nestedContainerHidden]: openable && !open,
|
|
33302
33303
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (el) => (this.defaultSlotEl = el) }))));
|
|
33303
33304
|
}
|
|
33304
33305
|
// --------------------------------------------------------------------------
|
|
@@ -33388,7 +33389,7 @@ class ListItem {
|
|
|
33388
33389
|
}; }
|
|
33389
33390
|
}
|
|
33390
33391
|
|
|
33391
|
-
const CSS$
|
|
33392
|
+
const CSS$y = {
|
|
33392
33393
|
container: "container",
|
|
33393
33394
|
heading: "heading",
|
|
33394
33395
|
};
|
|
@@ -33437,7 +33438,7 @@ class ListItemGroup {
|
|
|
33437
33438
|
// --------------------------------------------------------------------------
|
|
33438
33439
|
render() {
|
|
33439
33440
|
const { heading, visualLevel } = this;
|
|
33440
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
33441
|
+
return (hAsync(Host, null, hAsync("tr", { class: CSS$y.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$y.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })));
|
|
33441
33442
|
}
|
|
33442
33443
|
get el() { return getElement(this); }
|
|
33443
33444
|
static get style() { return listItemGroupCss; }
|
|
@@ -33537,7 +33538,7 @@ class Loader {
|
|
|
33537
33538
|
}; }
|
|
33538
33539
|
}
|
|
33539
33540
|
|
|
33540
|
-
const CSS$
|
|
33541
|
+
const CSS$x = {
|
|
33541
33542
|
container: "container",
|
|
33542
33543
|
fill: "fill",
|
|
33543
33544
|
stepLine: "step-line",
|
|
@@ -33687,16 +33688,16 @@ class Meter {
|
|
|
33687
33688
|
const aboveHighest = value >= highest;
|
|
33688
33689
|
const belowHighest = value < highest;
|
|
33689
33690
|
if (!value || (!low && belowHighest) || belowLowest) {
|
|
33690
|
-
return CSS$
|
|
33691
|
+
return CSS$x.success;
|
|
33691
33692
|
}
|
|
33692
33693
|
else if (aboveLowest && belowHighest) {
|
|
33693
|
-
return CSS$
|
|
33694
|
+
return CSS$x.warning;
|
|
33694
33695
|
}
|
|
33695
33696
|
else if (aboveHighest) {
|
|
33696
|
-
return CSS$
|
|
33697
|
+
return CSS$x.danger;
|
|
33697
33698
|
}
|
|
33698
33699
|
else {
|
|
33699
|
-
return CSS$
|
|
33700
|
+
return CSS$x.success;
|
|
33700
33701
|
}
|
|
33701
33702
|
}
|
|
33702
33703
|
intersects(el1, el2) {
|
|
@@ -33710,7 +33711,7 @@ class Meter {
|
|
|
33710
33711
|
const minHighOverlap = this.intersects(minLabelEl, highLabelEl);
|
|
33711
33712
|
const minLowOverlap = this.intersects(minLabelEl, lowLabelEl);
|
|
33712
33713
|
const minMaxOverlap = this.intersects(minLabelEl, maxLabelEl);
|
|
33713
|
-
const hiddenClass = CSS$
|
|
33714
|
+
const hiddenClass = CSS$x.labelHidden;
|
|
33714
33715
|
if (lowLabelEl) {
|
|
33715
33716
|
if (minLowOverlap || lowMaxOverlap || lowHighOverlap) {
|
|
33716
33717
|
lowLabelEl.classList.add(hiddenClass);
|
|
@@ -33759,26 +33760,26 @@ class Meter {
|
|
|
33759
33760
|
renderMeterFill() {
|
|
33760
33761
|
const { currentPercent, fillType } = this;
|
|
33761
33762
|
const kindClass = this.getMeterKindCssClass();
|
|
33762
|
-
return (hAsync("div", { class: { [CSS$
|
|
33763
|
+
return (hAsync("div", { class: { [CSS$x.fill]: true, [kindClass]: fillType !== "single" }, style: { width: `${currentPercent}%` } }));
|
|
33763
33764
|
}
|
|
33764
33765
|
renderRangeLine(position) {
|
|
33765
33766
|
const style = { insetInlineStart: `${position}%` };
|
|
33766
|
-
return hAsync("div", { class: CSS$
|
|
33767
|
+
return hAsync("div", { class: CSS$x.stepLine, style: style });
|
|
33767
33768
|
}
|
|
33768
33769
|
renderValueLabel() {
|
|
33769
33770
|
const { currentPercent, valueLabelType, unitLabel, value } = this;
|
|
33770
33771
|
const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
|
|
33771
|
-
return (hAsync("div", { class: { [CSS$
|
|
33772
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelValue]: true }, key: "low-label-line",
|
|
33772
33773
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33773
|
-
ref: (el) => (this.valueLabelEl = el) }, label, unitLabel && valueLabelType !== "percent" && (hAsync("span", { class: CSS$
|
|
33774
|
+
ref: (el) => (this.valueLabelEl = el) }, label, unitLabel && valueLabelType !== "percent" && (hAsync("span", { class: CSS$x.unitLabel }, "\u00A0", unitLabel))));
|
|
33774
33775
|
}
|
|
33775
33776
|
renderMinLabel() {
|
|
33776
33777
|
const { rangeLabelType, min, minPercent, unitLabel } = this;
|
|
33777
33778
|
const style = { insetInlineStart: `${minPercent}%` };
|
|
33778
33779
|
const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
|
|
33779
|
-
return (hAsync("div", { class: { [CSS$
|
|
33780
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "min-label-line", style: style,
|
|
33780
33781
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33781
|
-
ref: (el) => (this.minLabelEl = el) }, labelMin, unitLabel && rangeLabelType !== "percent" && (hAsync("span", { class: CSS$
|
|
33782
|
+
ref: (el) => (this.minLabelEl = el) }, labelMin, unitLabel && rangeLabelType !== "percent" && (hAsync("span", { class: CSS$x.unitLabel }, "\u00A0", unitLabel))));
|
|
33782
33783
|
}
|
|
33783
33784
|
renderLowLabel() {
|
|
33784
33785
|
const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
|
|
@@ -33788,7 +33789,7 @@ class Meter {
|
|
|
33788
33789
|
const styleDefault = { insetInlineStart: `${lowPercent}%` };
|
|
33789
33790
|
const styleFlipped = { insetInlineEnd: `${100 - lowPercent}%` };
|
|
33790
33791
|
const style = (highPercent - lowPercent) / 100 < labelFlipProximity ? styleFlipped : styleDefault;
|
|
33791
|
-
return (hAsync("div", { class: { [CSS$
|
|
33792
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "low-label-line", style: style,
|
|
33792
33793
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33793
33794
|
ref: (el) => (this.lowLabelEl = el) }, label));
|
|
33794
33795
|
}
|
|
@@ -33800,7 +33801,7 @@ class Meter {
|
|
|
33800
33801
|
const styleDefault = { insetInlineStart: `${highPercent}%` };
|
|
33801
33802
|
const styleFlipped = { insetInlineEnd: `${100 - highPercent}%` };
|
|
33802
33803
|
const style = highPercent / 100 >= labelFlipMax ? styleFlipped : styleDefault;
|
|
33803
|
-
return (hAsync("div", { class: { [CSS$
|
|
33804
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "high-label-line", style: style,
|
|
33804
33805
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33805
33806
|
ref: (el) => (this.highLabelEl = el) }, label));
|
|
33806
33807
|
}
|
|
@@ -33808,7 +33809,7 @@ class Meter {
|
|
|
33808
33809
|
const { rangeLabelType, max, maxPercent } = this;
|
|
33809
33810
|
const style = { insetInlineEnd: `${100 - maxPercent}%` };
|
|
33810
33811
|
const labelMax = this.formatLabel(rangeLabelType === "percent" ? maxPercent / 100 : max, rangeLabelType);
|
|
33811
|
-
return (hAsync("div", { class: { [CSS$
|
|
33812
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "max-label-line", style: style,
|
|
33812
33813
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33813
33814
|
ref: (el) => (this.maxLabelEl = el) }, labelMax));
|
|
33814
33815
|
}
|
|
@@ -33822,9 +33823,9 @@ class Meter {
|
|
|
33822
33823
|
? textUnitLabel
|
|
33823
33824
|
: undefined;
|
|
33824
33825
|
return (hAsync(Host, null, hAsync("div", { "aria-label": label, "aria-valuemax": rangeLabelType === "percent" ? maxPercent : max, "aria-valuemin": rangeLabelType === "percent" ? minPercent : min, "aria-valuenow": valueLabelType === "percent" ? currentPercent : value, "aria-valuetext": valueText, class: {
|
|
33825
|
-
[CSS$
|
|
33826
|
-
[CSS$
|
|
33827
|
-
[CSS$
|
|
33826
|
+
[CSS$x.container]: true,
|
|
33827
|
+
[CSS$x.stepsVisible]: rangeLabels,
|
|
33828
|
+
[CSS$x.valueVisible]: valueLabel,
|
|
33828
33829
|
[appearance]: appearance !== "outline-fill",
|
|
33829
33830
|
}, role: "meter",
|
|
33830
33831
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -33880,7 +33881,7 @@ class Meter {
|
|
|
33880
33881
|
}; }
|
|
33881
33882
|
}
|
|
33882
33883
|
|
|
33883
|
-
const CSS$
|
|
33884
|
+
const CSS$w = {
|
|
33884
33885
|
modal: "modal",
|
|
33885
33886
|
title: "title",
|
|
33886
33887
|
header: "header",
|
|
@@ -34070,50 +34071,50 @@ class Modal {
|
|
|
34070
34071
|
}
|
|
34071
34072
|
render() {
|
|
34072
34073
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
34073
|
-
[CSS$
|
|
34074
|
-
[CSS$
|
|
34075
|
-
[CSS$
|
|
34076
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
34077
|
-
[CSS$
|
|
34074
|
+
[CSS$w.container]: true,
|
|
34075
|
+
[CSS$w.containerOpen]: this.opened,
|
|
34076
|
+
[CSS$w.slottedInShell]: this.slottedInShell,
|
|
34077
|
+
} }, hAsync("calcite-scrim", { class: CSS$w.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
34078
|
+
[CSS$w.modal]: true,
|
|
34078
34079
|
},
|
|
34079
34080
|
// 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)
|
|
34080
|
-
ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
34081
|
-
[CSS$
|
|
34082
|
-
[CSS$
|
|
34081
|
+
ref: this.setTransitionEl }, hAsync("div", { class: CSS$w.header }, this.renderCloseButton(), hAsync("header", { class: CSS$w.title }, hAsync("slot", { name: CSS$w.header }))), this.renderContentTop(), hAsync("div", { class: {
|
|
34082
|
+
[CSS$w.content]: true,
|
|
34083
|
+
[CSS$w.contentNoFooter]: !this.hasFooter,
|
|
34083
34084
|
},
|
|
34084
34085
|
// 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)
|
|
34085
34086
|
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$f.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
34086
34087
|
}
|
|
34087
34088
|
renderFooter() {
|
|
34088
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
34089
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$w.footer, key: "footer" }, hAsync("span", { class: CSS$w.back }, hAsync("slot", { name: SLOTS$f.back })), hAsync("span", { class: CSS$w.secondary }, hAsync("slot", { name: SLOTS$f.secondary })), hAsync("span", { class: CSS$w.primary }, hAsync("slot", { name: SLOTS$f.primary })))) : null;
|
|
34089
34090
|
}
|
|
34090
34091
|
renderContentTop() {
|
|
34091
|
-
return (hAsync("div", { class: CSS$
|
|
34092
|
+
return (hAsync("div", { class: CSS$w.contentTop, hidden: !this.hasContentTop }, hAsync("slot", { name: SLOTS$f.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
|
|
34092
34093
|
}
|
|
34093
34094
|
renderContentBottom() {
|
|
34094
|
-
return (hAsync("div", { class: CSS$
|
|
34095
|
+
return (hAsync("div", { class: CSS$w.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$f.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
|
|
34095
34096
|
}
|
|
34096
34097
|
renderCloseButton() {
|
|
34097
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
34098
|
+
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$w.close, key: "button", onClick: this.handleCloseClick, title: this.messages.close,
|
|
34098
34099
|
// 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)
|
|
34099
34100
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$7.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
34100
34101
|
}
|
|
34101
34102
|
renderStyle() {
|
|
34102
34103
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
34103
|
-
return (hAsync("style", null, `.${CSS$
|
|
34104
|
+
return (hAsync("style", null, `.${CSS$w.container} {
|
|
34104
34105
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
34105
34106
|
}
|
|
34106
|
-
.${CSS$
|
|
34107
|
+
.${CSS$w.modal} {
|
|
34107
34108
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
34108
34109
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
34109
34110
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
34110
34111
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
34111
34112
|
}
|
|
34112
34113
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
34113
|
-
.${CSS$
|
|
34114
|
+
.${CSS$w.container} {
|
|
34114
34115
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
34115
34116
|
}
|
|
34116
|
-
.${CSS$
|
|
34117
|
+
.${CSS$w.modal} {
|
|
34117
34118
|
max-block-size: 100% !important;
|
|
34118
34119
|
inline-size: 100% !important;
|
|
34119
34120
|
max-inline-size: 100% !important;
|
|
@@ -34180,20 +34181,20 @@ class Modal {
|
|
|
34180
34181
|
}
|
|
34181
34182
|
}
|
|
34182
34183
|
onBeforeOpen() {
|
|
34183
|
-
this.transitionEl.classList.add(CSS$
|
|
34184
|
+
this.transitionEl.classList.add(CSS$w.openingActive);
|
|
34184
34185
|
this.calciteModalBeforeOpen.emit();
|
|
34185
34186
|
}
|
|
34186
34187
|
onOpen() {
|
|
34187
|
-
this.transitionEl.classList.remove(CSS$
|
|
34188
|
+
this.transitionEl.classList.remove(CSS$w.openingIdle, CSS$w.openingActive);
|
|
34188
34189
|
this.calciteModalOpen.emit();
|
|
34189
34190
|
activateFocusTrap(this);
|
|
34190
34191
|
}
|
|
34191
34192
|
onBeforeClose() {
|
|
34192
|
-
this.transitionEl.classList.add(CSS$
|
|
34193
|
+
this.transitionEl.classList.add(CSS$w.closingActive);
|
|
34193
34194
|
this.calciteModalBeforeClose.emit();
|
|
34194
34195
|
}
|
|
34195
34196
|
onClose() {
|
|
34196
|
-
this.transitionEl.classList.remove(CSS$
|
|
34197
|
+
this.transitionEl.classList.remove(CSS$w.closingIdle, CSS$w.closingActive);
|
|
34197
34198
|
this.calciteModalClose.emit();
|
|
34198
34199
|
deactivateFocusTrap(this);
|
|
34199
34200
|
}
|
|
@@ -34211,10 +34212,10 @@ class Modal {
|
|
|
34211
34212
|
handleOpenedChange(value) {
|
|
34212
34213
|
onToggleOpenCloseComponent(this);
|
|
34213
34214
|
if (value) {
|
|
34214
|
-
this.transitionEl?.classList.add(CSS$
|
|
34215
|
+
this.transitionEl?.classList.add(CSS$w.openingIdle);
|
|
34215
34216
|
}
|
|
34216
34217
|
else {
|
|
34217
|
-
this.transitionEl?.classList.add(CSS$
|
|
34218
|
+
this.transitionEl?.classList.add(CSS$w.closingIdle);
|
|
34218
34219
|
}
|
|
34219
34220
|
}
|
|
34220
34221
|
openModal() {
|
|
@@ -34285,7 +34286,7 @@ const SLOTS$e = {
|
|
|
34285
34286
|
link: "link",
|
|
34286
34287
|
actionsEnd: "actions-end",
|
|
34287
34288
|
};
|
|
34288
|
-
const CSS$
|
|
34289
|
+
const CSS$v = {
|
|
34289
34290
|
actionsEnd: "actions-end",
|
|
34290
34291
|
close: "notice-close",
|
|
34291
34292
|
container: "container",
|
|
@@ -34364,11 +34365,11 @@ class Notice {
|
|
|
34364
34365
|
}
|
|
34365
34366
|
render() {
|
|
34366
34367
|
const { el } = this;
|
|
34367
|
-
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
34368
|
+
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$v.close, onClick: this.close,
|
|
34368
34369
|
// 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)
|
|
34369
34370
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
34370
34371
|
const hasActionEnd = getSlotted(el, SLOTS$e.actionsEnd);
|
|
34371
|
-
return (hAsync("div", { class: CSS$
|
|
34372
|
+
return (hAsync("div", { class: CSS$v.container }, this.requestedIcon ? (hAsync("div", { class: CSS$v.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$v.content }, hAsync("slot", { name: SLOTS$e.title }), hAsync("slot", { name: SLOTS$e.message }), hAsync("slot", { name: SLOTS$e.link })), hasActionEnd ? (hAsync("div", { class: CSS$v.actionsEnd }, hAsync("slot", { name: SLOTS$e.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
34372
34373
|
}
|
|
34373
34374
|
//--------------------------------------------------------------------------
|
|
34374
34375
|
//
|
|
@@ -34448,12 +34449,13 @@ class Option {
|
|
|
34448
34449
|
//
|
|
34449
34450
|
//--------------------------------------------------------------------------
|
|
34450
34451
|
ensureTextContentDependentProps() {
|
|
34451
|
-
const { el: { textContent }, } = this;
|
|
34452
|
-
if (!
|
|
34452
|
+
const { el: { textContent }, internallySetLabel, internallySetValue, label, value, } = this;
|
|
34453
|
+
if (!label || label === internallySetLabel) {
|
|
34453
34454
|
this.label = textContent;
|
|
34454
34455
|
this.internallySetLabel = textContent;
|
|
34455
34456
|
}
|
|
34456
|
-
if (
|
|
34457
|
+
if (value == null /* intentional loose equals to handle both undefined & null */ ||
|
|
34458
|
+
value === internallySetValue) {
|
|
34457
34459
|
this.value = textContent;
|
|
34458
34460
|
this.internallySetValue = textContent;
|
|
34459
34461
|
}
|
|
@@ -34547,7 +34549,7 @@ class OptionGroup {
|
|
|
34547
34549
|
}; }
|
|
34548
34550
|
}
|
|
34549
34551
|
|
|
34550
|
-
const CSS$
|
|
34552
|
+
const CSS$u = {
|
|
34551
34553
|
page: "page",
|
|
34552
34554
|
selected: "is-selected",
|
|
34553
34555
|
previous: "previous",
|
|
@@ -34743,9 +34745,9 @@ class Pagination {
|
|
|
34743
34745
|
//--------------------------------------------------------------------------
|
|
34744
34746
|
renderEllipsis(type) {
|
|
34745
34747
|
return (hAsync("span", { class: {
|
|
34746
|
-
[CSS$
|
|
34747
|
-
[CSS$
|
|
34748
|
-
[CSS$
|
|
34748
|
+
[CSS$u.ellipsis]: true,
|
|
34749
|
+
[CSS$u.ellipsisStart]: type === "start",
|
|
34750
|
+
[CSS$u.ellipsisEnd]: type === "end",
|
|
34749
34751
|
}, key: type }, "\u2026"));
|
|
34750
34752
|
}
|
|
34751
34753
|
renderItems() {
|
|
@@ -34812,8 +34814,8 @@ class Pagination {
|
|
|
34812
34814
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
34813
34815
|
const selected = start === this.startItem;
|
|
34814
34816
|
return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
|
|
34815
|
-
[CSS$
|
|
34816
|
-
[CSS$
|
|
34817
|
+
[CSS$u.page]: true,
|
|
34818
|
+
[CSS$u.selected]: selected,
|
|
34817
34819
|
}, onClick: this.handlePageClick, value: start }, displayedPage));
|
|
34818
34820
|
}
|
|
34819
34821
|
render() {
|
|
@@ -34822,11 +34824,11 @@ class Pagination {
|
|
|
34822
34824
|
const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
|
|
34823
34825
|
const iconScale = scale === "l" ? "m" : "s";
|
|
34824
34826
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": messages.previous, class: {
|
|
34825
|
-
[CSS$
|
|
34826
|
-
[CSS$
|
|
34827
|
+
[CSS$u.previous]: true,
|
|
34828
|
+
[CSS$u.disabled]: prevDisabled,
|
|
34827
34829
|
}, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: ICONS$6.previous, scale: iconScale })), this.renderItems(), hAsync("button", { "aria-label": messages.next, class: {
|
|
34828
|
-
[CSS$
|
|
34829
|
-
[CSS$
|
|
34830
|
+
[CSS$u.next]: true,
|
|
34831
|
+
[CSS$u.disabled]: nextDisabled,
|
|
34830
34832
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: ICONS$6.next, scale: iconScale }))));
|
|
34831
34833
|
}
|
|
34832
34834
|
static get delegatesFocus() { return true; }
|
|
@@ -35041,22 +35043,22 @@ class Panel {
|
|
|
35041
35043
|
// --------------------------------------------------------------------------
|
|
35042
35044
|
renderHeaderContent() {
|
|
35043
35045
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
35044
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
35045
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
35046
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
35046
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$N.heading, level: headingLevel }, heading)) : null;
|
|
35047
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$N.description }, description) : null;
|
|
35048
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$N.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
35047
35049
|
}
|
|
35048
35050
|
renderActionBar() {
|
|
35049
|
-
return (hAsync("div", { class: CSS$
|
|
35051
|
+
return (hAsync("div", { class: CSS$N.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$n.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
35050
35052
|
}
|
|
35051
35053
|
/**
|
|
35052
35054
|
* Allows user to override the entire header-content node.
|
|
35053
35055
|
*/
|
|
35054
35056
|
renderHeaderSlottedContent() {
|
|
35055
|
-
return (hAsync("div", { class: CSS$
|
|
35057
|
+
return (hAsync("div", { class: CSS$N.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$n.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
35056
35058
|
}
|
|
35057
35059
|
renderHeaderStartActions() {
|
|
35058
35060
|
const { hasStartActions } = this;
|
|
35059
|
-
return (hAsync("div", { class: { [CSS$
|
|
35061
|
+
return (hAsync("div", { class: { [CSS$N.headerActionsStart]: true, [CSS$N.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$n.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
35060
35062
|
}
|
|
35061
35063
|
renderHeaderActionsEnd() {
|
|
35062
35064
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -35066,7 +35068,7 @@ class Panel {
|
|
|
35066
35068
|
ref: this.setCloseRef })) : null;
|
|
35067
35069
|
const slotNode = (hAsync("slot", { name: SLOTS$n.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
35068
35070
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
35069
|
-
return (hAsync("div", { class: { [CSS$
|
|
35071
|
+
return (hAsync("div", { class: { [CSS$N.headerActionsEnd]: true, [CSS$N.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
35070
35072
|
}
|
|
35071
35073
|
renderMenu() {
|
|
35072
35074
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -35082,24 +35084,24 @@ class Panel {
|
|
|
35082
35084
|
closable ||
|
|
35083
35085
|
hasMenuItems;
|
|
35084
35086
|
this.showHeaderContent = showHeaderContent;
|
|
35085
|
-
return (hAsync("header", { class: CSS$
|
|
35087
|
+
return (hAsync("header", { class: CSS$N.header, hidden: !(showHeaderContent || hasActionBar) }, hAsync("div", { class: { [CSS$N.headerContainer]: true, [CSS$N.headerContainerBorderEnd]: hasActionBar }, hidden: !showHeaderContent }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()), this.renderActionBar()));
|
|
35086
35088
|
}
|
|
35087
35089
|
renderFooterNode() {
|
|
35088
35090
|
const { hasFooterContent, hasFooterActions } = this;
|
|
35089
35091
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
35090
|
-
return (hAsync("footer", { class: CSS$
|
|
35092
|
+
return (hAsync("footer", { class: CSS$N.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 })));
|
|
35091
35093
|
}
|
|
35092
35094
|
renderContent() {
|
|
35093
|
-
return (hAsync("div", { class: CSS$
|
|
35095
|
+
return (hAsync("div", { class: CSS$N.contentWrapper, onScroll: this.panelScrollHandler,
|
|
35094
35096
|
// 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)
|
|
35095
35097
|
ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
|
|
35096
35098
|
}
|
|
35097
35099
|
renderFab() {
|
|
35098
|
-
return (hAsync("div", { class: CSS$
|
|
35100
|
+
return (hAsync("div", { class: CSS$N.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$n.fab, onSlotchange: this.handleFabSlotChange })));
|
|
35099
35101
|
}
|
|
35100
35102
|
render() {
|
|
35101
35103
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
35102
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
35104
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$N.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
35103
35105
|
// 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)
|
|
35104
35106
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
35105
35107
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -35145,7 +35147,7 @@ class Panel {
|
|
|
35145
35147
|
}; }
|
|
35146
35148
|
}
|
|
35147
35149
|
|
|
35148
|
-
const CSS$
|
|
35150
|
+
const CSS$t = {
|
|
35149
35151
|
sticky: "sticky-pos",
|
|
35150
35152
|
};
|
|
35151
35153
|
var ICON_TYPES$1;
|
|
@@ -35158,7 +35160,7 @@ const SLOTS$d = {
|
|
|
35158
35160
|
menuActions: "menu-actions",
|
|
35159
35161
|
};
|
|
35160
35162
|
|
|
35161
|
-
const CSS$
|
|
35163
|
+
const CSS$s = {
|
|
35162
35164
|
heading: "heading",
|
|
35163
35165
|
container: "container",
|
|
35164
35166
|
indented: "container--indented",
|
|
@@ -35484,7 +35486,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
35484
35486
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
35485
35487
|
// 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)
|
|
35486
35488
|
ref: storeAssistiveEl })) : null,
|
|
35487
|
-
hAsync("header", { class: { [CSS$
|
|
35489
|
+
hAsync("header", { class: { [CSS$t.sticky]: true } },
|
|
35488
35490
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
35489
35491
|
// 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)
|
|
35490
35492
|
ref: setFilterEl })) : null,
|
|
@@ -35675,14 +35677,14 @@ class PickListGroup {
|
|
|
35675
35677
|
const { el, groupTitle, headingLevel } = this;
|
|
35676
35678
|
const hasParentItem = getSlotted(el, SLOTS$c.parentItem) !== null;
|
|
35677
35679
|
const sectionClasses = {
|
|
35678
|
-
[CSS$
|
|
35679
|
-
[CSS$
|
|
35680
|
+
[CSS$s.container]: true,
|
|
35681
|
+
[CSS$s.indented]: hasParentItem,
|
|
35680
35682
|
};
|
|
35681
35683
|
const title = groupTitle;
|
|
35682
35684
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
35683
35685
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
35684
35686
|
const level = headingLevel || relativeLevel;
|
|
35685
|
-
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$
|
|
35687
|
+
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$s.heading, level: level }, title)) : null, hAsync("slot", { name: SLOTS$c.parentItem }), hAsync("section", { class: sectionClasses }, hAsync("slot", null))));
|
|
35686
35688
|
}
|
|
35687
35689
|
get el() { return getElement(this); }
|
|
35688
35690
|
static get style() { return pickListGroupCss; }
|
|
@@ -35699,7 +35701,7 @@ class PickListGroup {
|
|
|
35699
35701
|
}; }
|
|
35700
35702
|
}
|
|
35701
35703
|
|
|
35702
|
-
const CSS$
|
|
35704
|
+
const CSS$r = {
|
|
35703
35705
|
actions: "actions",
|
|
35704
35706
|
actionsEnd: "actions--end",
|
|
35705
35707
|
actionsStart: "actions--start",
|
|
@@ -35861,28 +35863,28 @@ class PickListItem {
|
|
|
35861
35863
|
return null;
|
|
35862
35864
|
}
|
|
35863
35865
|
return (hAsync("span", { class: {
|
|
35864
|
-
[CSS$
|
|
35865
|
-
[CSS$
|
|
35866
|
+
[CSS$r.icon]: true,
|
|
35867
|
+
[CSS$r.iconDot]: icon === ICON_TYPES$1.circle,
|
|
35866
35868
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$5.checked, scale: "s" })) : null));
|
|
35867
35869
|
}
|
|
35868
35870
|
renderRemoveAction() {
|
|
35869
|
-
return this.removable ? (hAsync("calcite-action", { class: CSS$
|
|
35871
|
+
return this.removable ? (hAsync("calcite-action", { class: CSS$r.remove, icon: ICONS$5.remove, onClick: this.removeClickHandler, slot: SLOTS$b.actionsEnd, text: this.messages.remove })) : null;
|
|
35870
35872
|
}
|
|
35871
35873
|
renderActionsStart() {
|
|
35872
35874
|
const { el } = this;
|
|
35873
35875
|
const hasActionsStart = getSlotted(el, SLOTS$b.actionsStart);
|
|
35874
|
-
return hasActionsStart ? (hAsync("div", { class: { [CSS$
|
|
35876
|
+
return hasActionsStart ? (hAsync("div", { class: { [CSS$r.actions]: true, [CSS$r.actionsStart]: true } }, hAsync("slot", { name: SLOTS$b.actionsStart }))) : null;
|
|
35875
35877
|
}
|
|
35876
35878
|
renderActionsEnd() {
|
|
35877
35879
|
const { el, removable } = this;
|
|
35878
35880
|
const hasActionsEnd = getSlotted(el, SLOTS$b.actionsEnd);
|
|
35879
|
-
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$
|
|
35881
|
+
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$r.actions]: true, [CSS$r.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$b.actionsEnd }), this.renderRemoveAction())) : null;
|
|
35880
35882
|
}
|
|
35881
35883
|
render() {
|
|
35882
35884
|
const { description, label } = this;
|
|
35883
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$
|
|
35885
|
+
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$r.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, tabIndex: 0,
|
|
35884
35886
|
// 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)
|
|
35885
|
-
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$
|
|
35887
|
+
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$r.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$r.title }, label), description ? hAsync("span", { class: CSS$r.description }, description) : null)), this.renderActionsEnd()));
|
|
35886
35888
|
}
|
|
35887
35889
|
static get assetsDirs() { return ["assets"]; }
|
|
35888
35890
|
get el() { return getElement(this); }
|
|
@@ -35925,7 +35927,7 @@ class PickListItem {
|
|
|
35925
35927
|
}; }
|
|
35926
35928
|
}
|
|
35927
35929
|
|
|
35928
|
-
const CSS$
|
|
35930
|
+
const CSS$q = {
|
|
35929
35931
|
container: "container",
|
|
35930
35932
|
imageContainer: "image-container",
|
|
35931
35933
|
closeButtonContainer: "close-button-container",
|
|
@@ -36019,7 +36021,7 @@ class PopoverManager {
|
|
|
36019
36021
|
}
|
|
36020
36022
|
}
|
|
36021
36023
|
|
|
36022
|
-
const CSS$
|
|
36024
|
+
const CSS$p = {
|
|
36023
36025
|
arrow: "calcite-floating-ui-arrow",
|
|
36024
36026
|
arrowStroke: "calcite-floating-ui-arrow__stroke",
|
|
36025
36027
|
};
|
|
@@ -36049,8 +36051,8 @@ const FloatingArrow = ({ floatingLayout, key, ref, }) => {
|
|
|
36049
36051
|
` L${width - svgX},${height}` +
|
|
36050
36052
|
` Q${svgX},${height} ${svgX},${height}` +
|
|
36051
36053
|
" Z";
|
|
36052
|
-
return (hAsync("svg", { "aria-hidden": "true", class: CSS$
|
|
36053
|
-
strokeWidth > 0 && (hAsync("path", { class: CSS$
|
|
36054
|
+
return (hAsync("svg", { "aria-hidden": "true", class: CSS$p.arrow, height: width, key: key, ref: ref, viewBox: `0 0 ${width} ${width + (!isVertical ? strokeWidth : 0)}`, width: width + (isVertical ? strokeWidth : 0) },
|
|
36055
|
+
strokeWidth > 0 && (hAsync("path", { class: CSS$p.arrowStroke, d: dValue, fill: "none", "stroke-width": strokeWidth + 1 })),
|
|
36054
36056
|
hAsync("path", { d: dValue, stroke: "none" })));
|
|
36055
36057
|
};
|
|
36056
36058
|
|
|
@@ -36302,14 +36304,14 @@ class Popover {
|
|
|
36302
36304
|
// --------------------------------------------------------------------------
|
|
36303
36305
|
renderCloseButton() {
|
|
36304
36306
|
const { messages, closable } = this;
|
|
36305
|
-
return closable ? (hAsync("div", { class: CSS$
|
|
36307
|
+
return closable ? (hAsync("div", { class: CSS$q.closeButtonContainer, key: CSS$q.closeButtonContainer }, hAsync("calcite-action", { appearance: "transparent", class: CSS$q.closeButton, onClick: this.hide, scale: this.scale, text: messages.close,
|
|
36306
36308
|
// 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)
|
|
36307
36309
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
36308
36310
|
}
|
|
36309
36311
|
renderHeader() {
|
|
36310
36312
|
const { heading, headingLevel } = this;
|
|
36311
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
36312
|
-
return headingNode ? (hAsync("div", { class: CSS$
|
|
36313
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$q.heading, level: headingLevel }, heading)) : null;
|
|
36314
|
+
return headingNode ? (hAsync("div", { class: CSS$q.header, key: CSS$q.header }, headingNode, this.renderCloseButton())) : null;
|
|
36313
36315
|
}
|
|
36314
36316
|
render() {
|
|
36315
36317
|
const { effectiveReferenceElement, heading, label, open, pointerDisabled, floatingLayout } = this;
|
|
@@ -36324,9 +36326,9 @@ class Popover {
|
|
|
36324
36326
|
},
|
|
36325
36327
|
// 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)
|
|
36326
36328
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
36327
|
-
[CSS$
|
|
36328
|
-
[CSS$
|
|
36329
|
-
} }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
36329
|
+
[CSS$q.hasHeader]: !!heading,
|
|
36330
|
+
[CSS$q.container]: true,
|
|
36331
|
+
} }, this.renderHeader(), hAsync("div", { class: CSS$q.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
36330
36332
|
}
|
|
36331
36333
|
static get assetsDirs() { return ["assets"]; }
|
|
36332
36334
|
get el() { return getElement(this); }
|
|
@@ -36420,7 +36422,7 @@ class Progress {
|
|
|
36420
36422
|
}; }
|
|
36421
36423
|
}
|
|
36422
36424
|
|
|
36423
|
-
const CSS$
|
|
36425
|
+
const CSS$o = {
|
|
36424
36426
|
container: "container",
|
|
36425
36427
|
};
|
|
36426
36428
|
|
|
@@ -36697,7 +36699,7 @@ class RadioButton {
|
|
|
36697
36699
|
// --------------------------------------------------------------------------
|
|
36698
36700
|
render() {
|
|
36699
36701
|
const tabIndex = this.getTabIndex();
|
|
36700
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$
|
|
36702
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$o.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, role: "radio", tabIndex: tabIndex,
|
|
36701
36703
|
// 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)
|
|
36702
36704
|
ref: this.setContainerEl }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
36703
36705
|
}
|
|
@@ -37124,7 +37126,7 @@ class Rating {
|
|
|
37124
37126
|
}; }
|
|
37125
37127
|
}
|
|
37126
37128
|
|
|
37127
|
-
const CSS$
|
|
37129
|
+
const CSS$n = {
|
|
37128
37130
|
scrim: "scrim",
|
|
37129
37131
|
content: "content",
|
|
37130
37132
|
};
|
|
@@ -37194,7 +37196,7 @@ class Scrim {
|
|
|
37194
37196
|
// --------------------------------------------------------------------------
|
|
37195
37197
|
render() {
|
|
37196
37198
|
const { hasContent, loading, messages } = this;
|
|
37197
|
-
return (hAsync("div", { class: CSS$
|
|
37199
|
+
return (hAsync("div", { class: CSS$n.scrim }, loading ? (hAsync("calcite-loader", { label: messages.loading, ref: this.storeLoaderEl, scale: this.loaderScale })) : null, hAsync("div", { class: CSS$n.content, hidden: !hasContent }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
37198
37200
|
}
|
|
37199
37201
|
getScale(size) {
|
|
37200
37202
|
if (size < BREAKPOINTS.s) {
|
|
@@ -37469,7 +37471,7 @@ class SegmentedControl {
|
|
|
37469
37471
|
const SLOTS$a = {
|
|
37470
37472
|
input: "input",
|
|
37471
37473
|
};
|
|
37472
|
-
const CSS$
|
|
37474
|
+
const CSS$m = {
|
|
37473
37475
|
segmentedControlItemIcon: "segmented-control-item-icon",
|
|
37474
37476
|
};
|
|
37475
37477
|
|
|
@@ -37498,8 +37500,8 @@ class SegmentedControlItem {
|
|
|
37498
37500
|
//--------------------------------------------------------------------------
|
|
37499
37501
|
render() {
|
|
37500
37502
|
const { appearance, checked, layout, scale, value } = this;
|
|
37501
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
37502
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
37503
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$m.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
37504
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$m.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
37503
37505
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
37504
37506
|
"label--scale-s": scale === "s",
|
|
37505
37507
|
"label--scale-m": scale === "m",
|
|
@@ -37533,7 +37535,7 @@ class SegmentedControlItem {
|
|
|
37533
37535
|
}; }
|
|
37534
37536
|
}
|
|
37535
37537
|
|
|
37536
|
-
const CSS$
|
|
37538
|
+
const CSS$l = {
|
|
37537
37539
|
icon: "icon",
|
|
37538
37540
|
iconContainer: "icon-container",
|
|
37539
37541
|
select: "select",
|
|
@@ -37720,10 +37722,10 @@ class Select {
|
|
|
37720
37722
|
//
|
|
37721
37723
|
//--------------------------------------------------------------------------
|
|
37722
37724
|
renderChevron() {
|
|
37723
|
-
return (hAsync("div", { class: CSS$
|
|
37725
|
+
return (hAsync("div", { class: CSS$l.iconContainer }, hAsync("calcite-icon", { class: CSS$l.icon, icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
37724
37726
|
}
|
|
37725
37727
|
render() {
|
|
37726
|
-
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$
|
|
37728
|
+
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$l.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
|
|
37727
37729
|
// 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)
|
|
37728
37730
|
ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
37729
37731
|
}
|
|
@@ -37754,7 +37756,7 @@ class Select {
|
|
|
37754
37756
|
}; }
|
|
37755
37757
|
}
|
|
37756
37758
|
|
|
37757
|
-
const CSS$
|
|
37759
|
+
const CSS$k = {
|
|
37758
37760
|
scrim: "scrim",
|
|
37759
37761
|
container: "container",
|
|
37760
37762
|
containerOpen: "container--open",
|
|
@@ -37872,12 +37874,12 @@ class Sheet {
|
|
|
37872
37874
|
render() {
|
|
37873
37875
|
const dir = getElementDir(this.el);
|
|
37874
37876
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-label": this.label, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
37875
|
-
[CSS$
|
|
37876
|
-
[CSS$
|
|
37877
|
-
[CSS$
|
|
37877
|
+
[CSS$k.container]: true,
|
|
37878
|
+
[CSS$k.containerOpen]: this.opened,
|
|
37879
|
+
[CSS$k.containerSlottedInShell]: this.slottedInShell,
|
|
37878
37880
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
37879
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
37880
|
-
[CSS$
|
|
37881
|
+
} }, hAsync("calcite-scrim", { class: CSS$k.scrim, onClick: this.handleOutsideClose }), hAsync("div", { class: {
|
|
37882
|
+
[CSS$k.content]: true,
|
|
37881
37883
|
},
|
|
37882
37884
|
// 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)
|
|
37883
37885
|
ref: this.setTransitionEl }, hAsync("slot", null)))));
|
|
@@ -37978,7 +37980,7 @@ class Sheet {
|
|
|
37978
37980
|
}; }
|
|
37979
37981
|
}
|
|
37980
37982
|
|
|
37981
|
-
const CSS$
|
|
37983
|
+
const CSS$j = {
|
|
37982
37984
|
main: "main",
|
|
37983
37985
|
content: "content",
|
|
37984
37986
|
contentBehind: "content--behind",
|
|
@@ -38080,7 +38082,7 @@ class Shell {
|
|
|
38080
38082
|
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$9.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
38081
38083
|
}
|
|
38082
38084
|
renderFooter() {
|
|
38083
|
-
return (hAsync("div", { class: CSS$
|
|
38085
|
+
return (hAsync("div", { class: CSS$j.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$9.footer, onSlotchange: this.handleFooterSlotChange })));
|
|
38084
38086
|
}
|
|
38085
38087
|
renderAlerts() {
|
|
38086
38088
|
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$9.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
@@ -38100,21 +38102,21 @@ class Shell {
|
|
|
38100
38102
|
const content = !!this.contentBehind
|
|
38101
38103
|
? [
|
|
38102
38104
|
hAsync("div", { class: {
|
|
38103
|
-
[CSS$
|
|
38104
|
-
[CSS$
|
|
38105
|
+
[CSS$j.content]: true,
|
|
38106
|
+
[CSS$j.contentBehind]: true,
|
|
38105
38107
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
38106
|
-
hAsync("div", { class: CSS$
|
|
38108
|
+
hAsync("div", { class: CSS$j.contentBehindCenterContent }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
38107
38109
|
]
|
|
38108
38110
|
: [
|
|
38109
|
-
hAsync("div", { class: CSS$
|
|
38111
|
+
hAsync("div", { class: CSS$j.content, key: contentContainerKey }, panelTopSlotNode, defaultSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
38110
38112
|
];
|
|
38111
38113
|
return content;
|
|
38112
38114
|
}
|
|
38113
38115
|
renderMain() {
|
|
38114
|
-
return (hAsync("div", { class: CSS$
|
|
38116
|
+
return (hAsync("div", { class: CSS$j.main }, hAsync("slot", { name: SLOTS$9.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$9.panelEnd })));
|
|
38115
38117
|
}
|
|
38116
38118
|
renderPositionedSlots() {
|
|
38117
|
-
return (hAsync("div", { class: CSS$
|
|
38119
|
+
return (hAsync("div", { class: CSS$j.positionedSlotWrapper }, this.renderAlerts(), this.renderModals(), this.renderSheets()));
|
|
38118
38120
|
}
|
|
38119
38121
|
render() {
|
|
38120
38122
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -38138,7 +38140,7 @@ class Shell {
|
|
|
38138
38140
|
}; }
|
|
38139
38141
|
}
|
|
38140
38142
|
|
|
38141
|
-
const CSS$
|
|
38143
|
+
const CSS$i = {
|
|
38142
38144
|
actionBarContainer: "action-bar-container",
|
|
38143
38145
|
content: "content",
|
|
38144
38146
|
};
|
|
@@ -38177,9 +38179,9 @@ class ShellCenterRow {
|
|
|
38177
38179
|
// --------------------------------------------------------------------------
|
|
38178
38180
|
render() {
|
|
38179
38181
|
const { el } = this;
|
|
38180
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
38182
|
+
const contentNode = (hAsync("div", { class: CSS$i.content }, hAsync("slot", null)));
|
|
38181
38183
|
const actionBar = getSlotted(el, SLOTS$8.actionBar);
|
|
38182
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$
|
|
38184
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$i.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$8.actionBar }))) : null;
|
|
38183
38185
|
const children = [actionBarNode, contentNode];
|
|
38184
38186
|
if (actionBar?.position === "end") {
|
|
38185
38187
|
children.reverse();
|
|
@@ -38202,7 +38204,7 @@ class ShellCenterRow {
|
|
|
38202
38204
|
}; }
|
|
38203
38205
|
}
|
|
38204
38206
|
|
|
38205
|
-
const CSS$
|
|
38207
|
+
const CSS$h = {
|
|
38206
38208
|
container: "container",
|
|
38207
38209
|
content: "content",
|
|
38208
38210
|
contentHeader: "content__header",
|
|
@@ -38465,7 +38467,7 @@ class ShellPanel {
|
|
|
38465
38467
|
//
|
|
38466
38468
|
// --------------------------------------------------------------------------
|
|
38467
38469
|
renderHeader() {
|
|
38468
|
-
return (hAsync("div", { class: CSS$
|
|
38470
|
+
return (hAsync("div", { class: CSS$h.contentHeader, hidden: !this.hasHeader, key: "header" }, hAsync("slot", { name: SLOTS$7.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
38469
38471
|
}
|
|
38470
38472
|
render() {
|
|
38471
38473
|
const { collapsed, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout, displayMode, } = this;
|
|
@@ -38482,7 +38484,7 @@ class ShellPanel {
|
|
|
38482
38484
|
: null;
|
|
38483
38485
|
const separatorNode = !collapsed && allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": layout === "horizontal" ? "vertical" : "horizontal", "aria-valuemax": layout == "horizontal" ? contentHeightMax : contentWidthMax, "aria-valuemin": layout == "horizontal" ? contentHeightMin : contentWidthMin, "aria-valuenow": layout == "horizontal"
|
|
38484
38486
|
? contentHeight ?? initialContentHeight
|
|
38485
|
-
: contentWidth ?? initialContentWidth, class: CSS$
|
|
38487
|
+
: contentWidth ?? initialContentWidth, class: CSS$h.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
38486
38488
|
// 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)
|
|
38487
38489
|
ref: this.connectSeparator })) : null;
|
|
38488
38490
|
const getAnimationDir = () => {
|
|
@@ -38498,20 +38500,20 @@ class ShellPanel {
|
|
|
38498
38500
|
};
|
|
38499
38501
|
const contentNode = (hAsync("div", { class: {
|
|
38500
38502
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
38501
|
-
[CSS$
|
|
38502
|
-
[CSS$
|
|
38503
|
-
[CSS$
|
|
38503
|
+
[CSS$h.content]: true,
|
|
38504
|
+
[CSS$h.contentOverlay]: displayMode === "overlay",
|
|
38505
|
+
[CSS$h.contentFloat]: displayMode === "float",
|
|
38504
38506
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
38505
38507
|
[getAnimationDir()]: displayMode === "overlay",
|
|
38506
38508
|
}, hidden: collapsed, key: "content", style: style,
|
|
38507
38509
|
// 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)
|
|
38508
|
-
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
38510
|
+
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$h.contentBody }, hAsync("slot", null)), separatorNode));
|
|
38509
38511
|
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$7.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
38510
38512
|
const mainNodes = [actionBarNode, contentNode];
|
|
38511
38513
|
if (position === "end") {
|
|
38512
38514
|
mainNodes.reverse();
|
|
38513
38515
|
}
|
|
38514
|
-
return hAsync("div", { class: { [CSS$
|
|
38516
|
+
return hAsync("div", { class: { [CSS$h.container]: true } }, mainNodes);
|
|
38515
38517
|
}
|
|
38516
38518
|
// --------------------------------------------------------------------------
|
|
38517
38519
|
//
|
|
@@ -38612,7 +38614,7 @@ class ShellPanel {
|
|
|
38612
38614
|
}; }
|
|
38613
38615
|
}
|
|
38614
38616
|
|
|
38615
|
-
const CSS$
|
|
38617
|
+
const CSS$g = {
|
|
38616
38618
|
handleLabel: "handle__label",
|
|
38617
38619
|
handleLabelMinValue: "handle__label--minValue",
|
|
38618
38620
|
handleLabelValue: "handle__label--value",
|
|
@@ -38811,8 +38813,8 @@ class Slider {
|
|
|
38811
38813
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
38812
38814
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
38813
38815
|
const valueIsRange = isRange(this.value);
|
|
38814
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
38815
|
-
const handleLabelValueClasses = `${CSS$
|
|
38816
|
+
const handleLabelMinValueClasses = `${CSS$g.handleLabel} ${CSS$g.handleLabelMinValue}`;
|
|
38817
|
+
const handleLabelValueClasses = `${CSS$g.handleLabel} ${CSS$g.handleLabelValue}`;
|
|
38816
38818
|
const handle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
38817
38819
|
thumb: true,
|
|
38818
38820
|
"thumb--value": true,
|
|
@@ -38948,8 +38950,8 @@ class Slider {
|
|
|
38948
38950
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
38949
38951
|
const tickLabel = (hAsync("span", { class: {
|
|
38950
38952
|
tick__label: true,
|
|
38951
|
-
[CSS$
|
|
38952
|
-
[CSS$
|
|
38953
|
+
[CSS$g.tickMin]: isMinTickLabel,
|
|
38954
|
+
[CSS$g.tickMax]: isMaxTickLabel,
|
|
38953
38955
|
} }, displayedTickValue));
|
|
38954
38956
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
38955
38957
|
return tickLabel;
|
|
@@ -39507,7 +39509,7 @@ class Slider {
|
|
|
39507
39509
|
}; }
|
|
39508
39510
|
}
|
|
39509
39511
|
|
|
39510
|
-
const CSS$
|
|
39512
|
+
const CSS$f = {
|
|
39511
39513
|
sortItem: "sort-item",
|
|
39512
39514
|
container: "container",
|
|
39513
39515
|
containerHorizontal: "container--horizontal",
|
|
@@ -39641,9 +39643,9 @@ class SortableList {
|
|
|
39641
39643
|
const { layout } = this;
|
|
39642
39644
|
const horizontal = layout === "horizontal" || false;
|
|
39643
39645
|
return (hAsync("div", { class: {
|
|
39644
|
-
[CSS$
|
|
39645
|
-
[CSS$
|
|
39646
|
-
[CSS$
|
|
39646
|
+
[CSS$f.container]: true,
|
|
39647
|
+
[CSS$f.containerVertical]: !horizontal,
|
|
39648
|
+
[CSS$f.containerHorizontal]: horizontal,
|
|
39647
39649
|
} }, hAsync("slot", null)));
|
|
39648
39650
|
}
|
|
39649
39651
|
get el() { return getElement(this); }
|
|
@@ -39667,7 +39669,7 @@ class SortableList {
|
|
|
39667
39669
|
}; }
|
|
39668
39670
|
}
|
|
39669
39671
|
|
|
39670
|
-
const CSS$
|
|
39672
|
+
const CSS$e = {
|
|
39671
39673
|
container: "split-button__container",
|
|
39672
39674
|
dividerContainer: "split-button__divider-container",
|
|
39673
39675
|
divider: "split-button__divider",
|
|
@@ -39746,13 +39748,13 @@ class SplitButton {
|
|
|
39746
39748
|
}
|
|
39747
39749
|
render() {
|
|
39748
39750
|
const widthClasses = {
|
|
39749
|
-
[CSS$
|
|
39750
|
-
[CSS$
|
|
39751
|
-
[CSS$
|
|
39752
|
-
[CSS$
|
|
39751
|
+
[CSS$e.container]: true,
|
|
39752
|
+
[CSS$e.widthAuto]: this.width === "auto",
|
|
39753
|
+
[CSS$e.widthHalf]: this.width === "half",
|
|
39754
|
+
[CSS$e.widthFull]: this.width === "full",
|
|
39753
39755
|
};
|
|
39754
39756
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
39755
|
-
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$
|
|
39757
|
+
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$e.dividerContainer }, hAsync("div", { class: CSS$e.divider })), hAsync("calcite-dropdown", { disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, open: this.active, overlayPositioning: this.overlayPositioning, placement: "bottom-end", scale: this.scale, width: this.scale }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-start": this.dropdownIcon, kind: this.kind, label: this.dropdownLabel, scale: this.scale, slot: "trigger", splitChild: "secondary", type: "button" }), hAsync("slot", null))));
|
|
39756
39758
|
}
|
|
39757
39759
|
get dropdownIcon() {
|
|
39758
39760
|
return this.dropdownIconType === "chevron"
|
|
@@ -39839,25 +39841,25 @@ class Stack {
|
|
|
39839
39841
|
// --------------------------------------------------------------------------
|
|
39840
39842
|
renderActionsStart() {
|
|
39841
39843
|
const { hasActionsStart } = this;
|
|
39842
|
-
return (hAsync("div", { class: CSS$
|
|
39844
|
+
return (hAsync("div", { class: CSS$z.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$g.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
39843
39845
|
}
|
|
39844
39846
|
renderActionsEnd() {
|
|
39845
39847
|
const { hasActionsEnd } = this;
|
|
39846
|
-
return (hAsync("div", { class: CSS$
|
|
39848
|
+
return (hAsync("div", { class: CSS$z.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$g.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
39847
39849
|
}
|
|
39848
39850
|
renderContentStart() {
|
|
39849
39851
|
const { hasContentStart } = this;
|
|
39850
|
-
return (hAsync("div", { class: CSS$
|
|
39852
|
+
return (hAsync("div", { class: CSS$z.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$g.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
39851
39853
|
}
|
|
39852
39854
|
renderDefaultContent() {
|
|
39853
|
-
return (hAsync("div", { class: CSS$
|
|
39855
|
+
return (hAsync("div", { class: CSS$z.content }, hAsync("slot", null)));
|
|
39854
39856
|
}
|
|
39855
39857
|
renderContentEnd() {
|
|
39856
39858
|
const { hasContentEnd } = this;
|
|
39857
|
-
return (hAsync("div", { class: CSS$
|
|
39859
|
+
return (hAsync("div", { class: CSS$z.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$g.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
39858
39860
|
}
|
|
39859
39861
|
render() {
|
|
39860
|
-
return (hAsync(Host, null, hAsync("div", { class: CSS$
|
|
39862
|
+
return (hAsync(Host, null, hAsync("div", { class: CSS$z.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
|
|
39861
39863
|
}
|
|
39862
39864
|
static get style() { return stackCss; }
|
|
39863
39865
|
static get cmpMeta() { return {
|
|
@@ -39892,6 +39894,14 @@ class Stepper {
|
|
|
39892
39894
|
/** list of enabled Stepper items */
|
|
39893
39895
|
this.enabledItems = [];
|
|
39894
39896
|
this.mutationObserver = createObserver();
|
|
39897
|
+
this.handleDefaultSlotChange = (event) => {
|
|
39898
|
+
const slottedItems = slotChangeGetAssignedElements(event);
|
|
39899
|
+
const items = slottedItems.filter((el) => el?.tagName === "CALCITE-STEPPER-ITEM");
|
|
39900
|
+
const spacing = Array(items.length).fill("1fr").join(" ");
|
|
39901
|
+
this.el.style.gridTemplateAreas = spacing;
|
|
39902
|
+
this.el.style.gridTemplateColumns = spacing;
|
|
39903
|
+
this.setStepperItemNumberingSystem();
|
|
39904
|
+
};
|
|
39895
39905
|
this.icon = false;
|
|
39896
39906
|
this.layout = "horizontal";
|
|
39897
39907
|
this.numbered = false;
|
|
@@ -39923,15 +39933,7 @@ class Stepper {
|
|
|
39923
39933
|
}
|
|
39924
39934
|
}
|
|
39925
39935
|
render() {
|
|
39926
|
-
return (hAsync("slot", { onSlotchange:
|
|
39927
|
-
const items = event.currentTarget
|
|
39928
|
-
.assignedElements()
|
|
39929
|
-
.filter((el) => el?.tagName === "CALCITE-STEPPER-ITEM");
|
|
39930
|
-
const spacing = Array(items.length).fill("1fr").join(" ");
|
|
39931
|
-
this.el.style.gridTemplateAreas = spacing;
|
|
39932
|
-
this.el.style.gridTemplateColumns = spacing;
|
|
39933
|
-
this.setStepperItemNumberingSystem();
|
|
39934
|
-
} }));
|
|
39936
|
+
return (hAsync(Host, { "aria-label": "Progress steps", role: "region" }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })));
|
|
39935
39937
|
}
|
|
39936
39938
|
//--------------------------------------------------------------------------
|
|
39937
39939
|
//
|
|
@@ -40100,7 +40102,18 @@ class Stepper {
|
|
|
40100
40102
|
}; }
|
|
40101
40103
|
}
|
|
40102
40104
|
|
|
40103
|
-
const stepperItemCss = "/*!@:host([layout=horizontal][disabled]) .stepper-item-header, :host([disabled])*/[layout=horizontal][disabled].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item,[disabled].sc-calcite-stepper-item-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([layout=horizontal][disabled]) .stepper-item-header *, :host([disabled]) *,\n:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),\n:host([disabled]) ::slotted(*)*/[layout=horizontal][disabled].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item,[disabled].sc-calcite-stepper-item-h *.sc-calcite-stepper-item,.sc-calcite-stepper-item-h[layout=horizontal][disabled] .stepper-item-header .sc-calcite-stepper-item-s>*,.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>*{pointer-events:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}/*!@:host([scale=s]) .stepper-item-description*/[scale=s].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}/*!@:host([scale=m]) .stepper-item-description*/[scale=m].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}/*!@:host([scale=l]) .stepper-item-description*/[scale=l].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host*/.sc-calcite-stepper-item-h{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host .container*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host*/.sc-calcite-stepper-item-h{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-stepper-item-h: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 )}/*!@:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{display:flex;cursor:pointer;align-items:flex-start}/*!@:host .stepper-item-content,\n:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}/*!@:host .stepper-item-header **/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .stepper-item-content*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host .stepper-item-icon*/.sc-calcite-stepper-item-h .stepper-item-icon.sc-calcite-stepper-item{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .stepper-item-header-text*/.sc-calcite-stepper-item-h .stepper-item-header-text.sc-calcite-stepper-item{flex-direction:column;text-align:initial;margin-inline-end:auto}/*!@:host .stepper-item-heading,\n:host .stepper-item-description*/.sc-calcite-stepper-item-h .stepper-item-heading.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{display:flex;inline-size:100%}/*!@:host .stepper-item-heading*/.sc-calcite-stepper-item-h .stepper-item-heading.sc-calcite-stepper-item{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .stepper-item-description*/.sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-3)}/*!@:host .stepper-item-number*/.sc-calcite-stepper-item-h .stepper-item-number.sc-calcite-stepper-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-stepper-item-h [calcite-hydrated][disabled].sc-calcite-stepper-item{opacity:1}/*!@:host([complete]) .container*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([complete]) .container .stepper-item-icon*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([error]) .container*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-number*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-icon*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{opacity:1;color:var(--calcite-ui-danger)}/*!@:host(:hover:not([disabled]):not([selected])) .container,\n:host(:focus:not([disabled]):not([selected])) .container*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-brand)}/*!@:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,\n:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,\n:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([error]:hover:not([disabled]):not([selected])) .container,\n:host([error]:focus:not([disabled]):not([selected])) .container*/[error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-danger-hover)}/*!@:host([selected]) .container*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-brand)}/*!@:host([selected]) .container .stepper-item-heading*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host([selected]) .container .stepper-item-description*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([selected]) .container .stepper-item-number*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([selected]) .container .stepper-item-icon*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand);opacity:1}/*!@:host([selected]) .container .stepper-item-content*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{display:flex}/*!@:host([layout=vertical]) .container*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical]) .container .stepper-item-icon*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}/*!@:host([layout=vertical]) .container .stepper-item-header*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-header.sc-calcite-stepper-item{padding-inline-end:0px}/*!@:host([layout=vertical]) .container .stepper-item-content*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{padding:0px}/*!@:host([layout=vertical][complete]) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][error]) .container*/[layout=vertical][error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=vertical][selected]) .container*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty)*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical]:focus:not([disabled]):not([selected])) .container*/[layout=vertical].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container*/[layout=vertical][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}/*!@:host([layout=horizontal])*/[layout=horizontal].sc-calcite-stepper-item-h{display:contents}/*!@:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{display:contents}/*!@:host([layout=horizontal]) .stepper-item-header*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal]) .stepper-item-header:focus*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item: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 )}/*!@:host([layout=horizontal]) .stepper-item-content*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}/*!@:host([layout=horizontal][selected]) .stepper-item-content*/[layout=horizontal][selected].sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{grid-area:2/1/2/-1}/*!@:host([layout=horizontal][scale=s]) .stepper-item-header*/[layout=horizontal][scale=s].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal][scale=l]) .stepper-item-header*/[layout=horizontal][scale=l].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal][complete]) .stepper-item-header*/[layout=horizontal][complete].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=horizontal][error]) .stepper-item-header*/[layout=horizontal][error].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=horizontal][selected]) .stepper-item-header*/[layout=horizontal][selected].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){/*!@:host .container*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{outline-width:0;outline-offset:0}/*!@:host(:focus),\n :host(:focus-visible)*/.sc-calcite-stepper-item-h:focus,.sc-calcite-stepper-item-h:focus-visible{outline-color:canvasText}/*!@:host([selected]) .container*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:highlight}/*!@:host([selected]) .container .stepper-item-number*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:highlight}/*!@:host([selected]) .container .stepper-item-icon*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:highlight}/*!@:host([layout=vertical][selected]) .container*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:highlight}}/*!@:host([hidden])*/[hidden].sc-calcite-stepper-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-stepper-item{display:none}";
|
|
40105
|
+
const CSS$d = {
|
|
40106
|
+
container: "container",
|
|
40107
|
+
stepperItemContent: "stepper-item-content",
|
|
40108
|
+
stepperItemDescription: "stepper-item-description",
|
|
40109
|
+
stepperItemHeader: "stepper-item-header",
|
|
40110
|
+
stepperItemHeading: "stepper-item-heading",
|
|
40111
|
+
stepperItemHeaderText: "stepper-item-header-text",
|
|
40112
|
+
stepperItemNumber: "stepper-item-number",
|
|
40113
|
+
visuallyHidden: "visually-hidden",
|
|
40114
|
+
};
|
|
40115
|
+
|
|
40116
|
+
const stepperItemCss = "/*!@:host([layout=horizontal][disabled]) .stepper-item-header, :host([disabled])*/[layout=horizontal][disabled].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item,[disabled].sc-calcite-stepper-item-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([layout=horizontal][disabled]) .stepper-item-header *, :host([disabled]) *,\n:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),\n:host([disabled]) ::slotted(*)*/[layout=horizontal][disabled].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item,[disabled].sc-calcite-stepper-item-h *.sc-calcite-stepper-item,.sc-calcite-stepper-item-h[layout=horizontal][disabled] .stepper-item-header .sc-calcite-stepper-item-s>*,.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>*{pointer-events:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}/*!@:host([scale=s]) .stepper-item-description*/[scale=s].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}/*!@:host([scale=m]) .stepper-item-description*/[scale=m].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-stepper-item-h{--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}/*!@:host([scale=l]) .stepper-item-description*/[scale=l].sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host*/.sc-calcite-stepper-item-h{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host .container*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host*/.sc-calcite-stepper-item-h{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-stepper-item-h: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 )}/*!@:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{display:flex;cursor:pointer;align-items:flex-start}/*!@:host .stepper-item-content,\n:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}/*!@:host .stepper-item-header **/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .stepper-item-content*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host .stepper-item-icon*/.sc-calcite-stepper-item-h .stepper-item-icon.sc-calcite-stepper-item{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .stepper-item-header-text*/.sc-calcite-stepper-item-h .stepper-item-header-text.sc-calcite-stepper-item{flex-direction:column;text-align:initial;margin-inline-end:auto}/*!@:host .stepper-item-heading,\n:host .stepper-item-description*/.sc-calcite-stepper-item-h .stepper-item-heading.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{display:flex;inline-size:100%}/*!@:host .stepper-item-heading*/.sc-calcite-stepper-item-h .stepper-item-heading.sc-calcite-stepper-item{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .stepper-item-description*/.sc-calcite-stepper-item-h .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-3)}/*!@:host .stepper-item-number*/.sc-calcite-stepper-item-h .stepper-item-number.sc-calcite-stepper-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-stepper-item-h [calcite-hydrated][disabled].sc-calcite-stepper-item{opacity:1}/*!@:host([complete]) .container*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([complete]) .container .stepper-item-icon*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([error]) .container*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-number*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-icon*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{opacity:1;color:var(--calcite-ui-danger)}/*!@:host(:hover:not([disabled]):not([selected])) .container,\n:host(:focus:not([disabled]):not([selected])) .container*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-brand)}/*!@:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,\n:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,\n:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([error]:hover:not([disabled]):not([selected])) .container,\n:host([error]:focus:not([disabled]):not([selected])) .container*/[error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-danger-hover)}/*!@:host([selected]) .container*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:var(--calcite-ui-brand)}/*!@:host([selected]) .container .stepper-item-heading*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-heading.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host([selected]) .container .stepper-item-description*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-description.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([selected]) .container .stepper-item-number*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([selected]) .container .stepper-item-icon*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand);opacity:1}/*!@:host([selected]) .container .stepper-item-content*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{display:flex}/*!@:host([layout=vertical]) .container*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical]) .container .stepper-item-icon*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}/*!@:host([layout=vertical]) .container .stepper-item-header*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-header.sc-calcite-stepper-item{padding-inline-end:0px}/*!@:host([layout=vertical]) .container .stepper-item-content*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{padding:0px}/*!@:host([layout=vertical][complete]) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][error]) .container*/[layout=vertical][error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=vertical][selected]) .container*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty)*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical]:focus:not([disabled]):not([selected])) .container*/[layout=vertical].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,\n:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container*/[layout=vertical][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .container.sc-calcite-stepper-item,[layout=vertical][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}/*!@:host([layout=horizontal])*/[layout=horizontal].sc-calcite-stepper-item-h{display:contents}/*!@:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{display:contents}/*!@:host([layout=horizontal]) .stepper-item-header*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal]) .stepper-item-header:focus*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item: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 )}/*!@:host([layout=horizontal]) .stepper-item-content*/[layout=horizontal].sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}/*!@:host([layout=horizontal][selected]) .stepper-item-content*/[layout=horizontal][selected].sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{grid-area:2/1/2/-1}/*!@:host([layout=horizontal][scale=s]) .stepper-item-header*/[layout=horizontal][scale=s].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal][scale=l]) .stepper-item-header*/[layout=horizontal][scale=l].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}/*!@:host([layout=horizontal][complete]) .stepper-item-header*/[layout=horizontal][complete].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=horizontal][error]) .stepper-item-header*/[layout=horizontal][error].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=horizontal][selected]) .stepper-item-header*/[layout=horizontal][selected].sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,\n:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header*/[layout=horizontal][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item,[layout=horizontal][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([selected]) .stepper-item-header.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){/*!@:host .container*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{outline-width:0;outline-offset:0}/*!@:host(:focus),\n :host(:focus-visible)*/.sc-calcite-stepper-item-h:focus,.sc-calcite-stepper-item-h:focus-visible{outline-color:canvasText}/*!@:host([selected]) .container*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-block-start-color:highlight}/*!@:host([selected]) .container .stepper-item-number*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:highlight}/*!@:host([selected]) .container .stepper-item-icon*/[selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:highlight}/*!@:host([layout=vertical][selected]) .container*/[layout=vertical][selected].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:highlight}}/*!@.visually-hidden*/.visually-hidden.sc-calcite-stepper-item{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@:host([hidden])*/[hidden].sc-calcite-stepper-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-stepper-item{display:none}";
|
|
40104
40117
|
|
|
40105
40118
|
/**
|
|
40106
40119
|
* @slot - A slot for adding custom content.
|
|
@@ -40223,11 +40236,11 @@ class StepperItem {
|
|
|
40223
40236
|
disconnectLocalized(this);
|
|
40224
40237
|
}
|
|
40225
40238
|
render() {
|
|
40226
|
-
return (hAsync(Host, { "aria-
|
|
40239
|
+
return (hAsync(Host, { "aria-current": this.selected ? "step" : "false", onClick: this.handleItemClick, onKeyDown: this.keyDownHandler }, hAsync("div", { class: CSS$d.container }, this.complete && (hAsync("span", { "aria-live": "polite", class: CSS$d.visuallyHidden }, "Completed step")), hAsync("div", { class: CSS$d.stepperItemHeader, tabIndex:
|
|
40227
40240
|
/* additional tab index logic needed because of display: contents */
|
|
40228
40241
|
this.layout === "horizontal" && !this.disabled ? 0 : null,
|
|
40229
40242
|
// 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)
|
|
40230
|
-
ref: (el) => (this.headerEl = el) }, this.icon ? this.renderIcon() : null, this.numbered ? hAsync("div", { class:
|
|
40243
|
+
ref: (el) => (this.headerEl = el) }, this.icon ? this.renderIcon() : null, this.numbered ? (hAsync("div", { class: CSS$d.stepperItemNumber }, this.renderNumbers(), ".")) : null, hAsync("div", { class: CSS$d.stepperItemHeaderText }, hAsync("span", { class: CSS$d.stepperItemHeading }, this.heading), hAsync("span", { class: CSS$d.stepperItemDescription }, this.description))), hAsync("div", { class: CSS$d.stepperItemContent }, hAsync("slot", null)))));
|
|
40231
40244
|
}
|
|
40232
40245
|
//--------------------------------------------------------------------------
|
|
40233
40246
|
//
|
|
@@ -45424,8 +45437,8 @@ class ValueListItem {
|
|
|
45424
45437
|
const { icon, iconFlipRtl } = this;
|
|
45425
45438
|
if (icon === ICON_TYPES$1.grip) {
|
|
45426
45439
|
return (hAsync("span", { class: {
|
|
45427
|
-
[CSS$
|
|
45428
|
-
[CSS$
|
|
45440
|
+
[CSS$r.handle]: true,
|
|
45441
|
+
[CSS$r.handleActivated]: this.handleActivated,
|
|
45429
45442
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => (this.handleEl = el), role: "button", tabindex: "0" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS.drag, scale: "s" })));
|
|
45430
45443
|
}
|
|
45431
45444
|
}
|