@esri/calcite-components 1.9.0-next.3 → 1.9.0-next.4
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-b51bd332.js → p-003bec51.js} +2 -2
- package/dist/calcite/{p-a6b99aa2.js → p-0425f900.js} +2 -2
- package/dist/calcite/{p-138b7c6b.js → p-051d3769.js} +2 -2
- package/dist/calcite/{p-f5e8dc3c.entry.js → p-0551e741.entry.js} +2 -2
- package/dist/calcite/{p-55cce950.entry.js → p-0608b56c.entry.js} +2 -2
- package/dist/calcite/{p-a3ed074f.entry.js → p-0ec34f38.entry.js} +2 -2
- package/dist/calcite/{p-4b63da06.entry.js → p-0fe3aaa3.entry.js} +2 -2
- package/dist/calcite/{p-ca8188c0.js → p-11da1b14.js} +2 -2
- package/dist/calcite/{p-313b7853.js → p-1520a1ea.js} +2 -2
- package/dist/calcite/{p-2808b8e6.entry.js → p-16ed3229.entry.js} +2 -2
- package/dist/calcite/{p-82721218.js → p-17eab823.js} +2 -2
- package/dist/calcite/{p-e6c704be.entry.js → p-1a667c2a.entry.js} +2 -2
- package/dist/calcite/{p-969babf0.entry.js → p-1a8b427b.entry.js} +2 -2
- package/dist/calcite/p-1b9ea6a1.entry.js +6 -0
- package/dist/calcite/{p-fbd091fa.js → p-1da04471.js} +2 -2
- package/dist/calcite/p-1db5419b.entry.js +6 -0
- package/dist/calcite/{p-0819be03.entry.js → p-1dc83d37.entry.js} +2 -2
- package/dist/calcite/{p-ca0b7000.js → p-1dfad893.js} +2 -2
- package/dist/calcite/{p-575ce009.entry.js → p-1fd9b546.entry.js} +2 -2
- package/dist/calcite/{p-7b28f4e2.entry.js → p-20469675.entry.js} +2 -2
- package/dist/calcite/{p-4f7aa70e.js → p-213c3493.js} +2 -2
- package/dist/calcite/{p-e4028c9b.js → p-21795ae4.js} +1 -1
- package/dist/calcite/{p-3a416724.entry.js → p-25f6daf4.entry.js} +2 -2
- package/dist/calcite/p-2a41b985.js +6 -0
- package/dist/calcite/p-2a61240e.entry.js +6 -0
- package/dist/calcite/p-2b940331.js +6 -0
- package/dist/calcite/{p-6e3b88e9.js → p-2bcc09b6.js} +2 -2
- package/dist/calcite/{p-4b878974.entry.js → p-2c848ca4.entry.js} +2 -2
- package/dist/calcite/{p-6de366a5.js → p-2e54fed8.js} +2 -2
- package/dist/calcite/{p-d3941767.entry.js → p-2ecebb3f.entry.js} +2 -2
- package/dist/calcite/{p-e24b0372.js → p-342aef2f.js} +1 -1
- package/dist/calcite/{p-66a4d86d.js → p-34d96cac.js} +2 -2
- package/dist/calcite/{p-2663f0ed.entry.js → p-353d1be6.entry.js} +2 -2
- package/dist/calcite/{p-e3c38667.js → p-35477750.js} +2 -2
- package/dist/calcite/{p-b162eacd.js → p-375b9b2d.js} +2 -2
- package/dist/calcite/{p-3e673c27.js → p-377e4dee.js} +1 -1
- package/dist/calcite/{p-aa2e2365.js → p-39e0b8d2.js} +2 -2
- package/dist/calcite/{p-0a97c208.entry.js → p-3a6ce74b.entry.js} +2 -2
- package/dist/calcite/p-3aa897da.entry.js +6 -0
- package/dist/calcite/p-3f76348b.entry.js +6 -0
- package/dist/calcite/{p-bdfa4598.entry.js → p-437c8183.entry.js} +2 -2
- package/dist/calcite/{p-16199ef7.js → p-43c86ccd.js} +2 -2
- package/dist/calcite/{p-05f0f72f.js → p-45550a07.js} +2 -2
- package/dist/calcite/{p-a17b24ae.entry.js → p-462f80c9.entry.js} +2 -2
- package/dist/calcite/{p-632bffd2.js → p-484edaed.js} +2 -2
- package/dist/calcite/{p-fb6b602a.entry.js → p-49a50b1a.entry.js} +2 -2
- package/dist/calcite/p-49edc571.js +6 -0
- package/dist/calcite/{p-e34de236.entry.js → p-4a16cb2b.entry.js} +2 -2
- package/dist/calcite/p-4b3cb8b5.entry.js +6 -0
- package/dist/calcite/{p-e41b4435.js → p-4ce14ea6.js} +2 -2
- package/dist/calcite/{p-f0acd028.entry.js → p-4e7223f3.entry.js} +2 -2
- package/dist/calcite/p-4ebb255c.entry.js +6 -0
- package/dist/calcite/{p-0672b0b1.js → p-51eecde8.js} +1 -1
- package/dist/calcite/{p-f7e5d929.entry.js → p-5275df01.entry.js} +2 -2
- package/dist/calcite/{p-d65c24dd.js → p-53a12543.js} +2 -2
- package/dist/calcite/{p-202af81c.entry.js → p-53b611a0.entry.js} +2 -2
- package/dist/calcite/{p-e07c17fc.js → p-565143ee.js} +2 -2
- package/dist/calcite/{p-3cf64d80.js → p-59fe253d.js} +2 -2
- package/dist/calcite/{p-dda93ade.js → p-5cf6a2d1.js} +2 -2
- package/dist/calcite/{p-49859f3d.js → p-5d25ded7.js} +2 -2
- package/dist/calcite/{p-a1234dfc.entry.js → p-5f85c2d5.entry.js} +2 -2
- package/dist/calcite/{p-a8d266f5.js → p-6003be2e.js} +2 -2
- package/dist/calcite/{p-80108615.js → p-6045938b.js} +2 -2
- package/dist/calcite/{p-5a1f0e11.js → p-6066c714.js} +2 -2
- package/dist/calcite/{p-4bbe68c7.entry.js → p-60f52fd1.entry.js} +2 -2
- package/dist/calcite/{p-360a98ae.entry.js → p-62087aff.entry.js} +2 -2
- package/dist/calcite/{p-3e274800.entry.js → p-637ca361.entry.js} +2 -2
- package/dist/calcite/{p-d1b5553f.entry.js → p-6489dd01.entry.js} +2 -2
- package/dist/calcite/{p-015b8deb.js → p-66b37ba1.js} +2 -2
- package/dist/calcite/{p-96b285c9.entry.js → p-66d3c705.entry.js} +2 -2
- package/dist/calcite/{p-322448c8.js → p-681d53d1.js} +2 -2
- package/dist/calcite/{p-2206d566.entry.js → p-68251e67.entry.js} +2 -2
- package/dist/calcite/{p-35c239ea.entry.js → p-6b55ffab.entry.js} +2 -2
- package/dist/calcite/{p-caa0d248.entry.js → p-6d0d412a.entry.js} +2 -2
- package/dist/calcite/p-7063f0d9.entry.js +6 -0
- package/dist/calcite/{p-7b34551a.js → p-71117e49.js} +2 -2
- package/dist/calcite/{p-4775d3a7.entry.js → p-730660ae.entry.js} +2 -2
- package/dist/calcite/{p-89b74c91.js → p-7315e44d.js} +3 -3
- package/dist/calcite/{p-9f622eeb.js → p-73f5b511.js} +2 -2
- package/dist/calcite/{p-494ed09d.js → p-784dab4e.js} +2 -2
- package/dist/calcite/{p-b7193256.entry.js → p-79bd6c3b.entry.js} +2 -2
- package/dist/calcite/{p-3fe61b67.js → p-7a6a1681.js} +1 -1
- package/dist/calcite/{p-e99818cd.js → p-7b2d9b51.js} +2 -2
- package/dist/calcite/{p-63294041.js → p-7b9eb7cc.js} +2 -2
- package/dist/calcite/{p-7a6c4f07.js → p-7e2492e5.js} +2 -2
- package/dist/calcite/{p-1bb457f3.entry.js → p-7e302b25.entry.js} +2 -2
- package/dist/calcite/{p-c13b2362.js → p-7f41466a.js} +2 -2
- package/dist/calcite/{p-8d53d2e0.js → p-88ac8d08.js} +2 -2
- package/dist/calcite/{p-48f40353.entry.js → p-8a2c019e.entry.js} +2 -2
- package/dist/calcite/{p-539a47c3.entry.js → p-8dac9001.entry.js} +2 -2
- package/dist/calcite/{p-a760d47e.entry.js → p-8eef1347.entry.js} +2 -2
- package/dist/calcite/{p-1eab0bb1.js → p-922444e0.js} +1 -1
- package/dist/calcite/{p-e7dafa71.entry.js → p-92c2f075.entry.js} +2 -2
- package/dist/calcite/{p-17f68268.entry.js → p-940d5651.entry.js} +2 -2
- package/dist/calcite/p-944dc8a6.entry.js +6 -0
- package/dist/calcite/{p-7eac9696.entry.js → p-959afe76.entry.js} +2 -2
- package/dist/calcite/{p-2aac6be6.js → p-97e27455.js} +2 -2
- package/dist/calcite/{p-4c4f0e98.js → p-9b2e2e23.js} +2 -2
- package/dist/calcite/{p-d14bdea8.js → p-9b4b0ec1.js} +1 -1
- package/dist/calcite/{p-acb80b26.js → p-9fc38aad.js} +1 -1
- package/dist/calcite/{p-227395bb.js → p-a04ce9be.js} +2 -2
- package/dist/calcite/{p-a372f0c2.entry.js → p-a2df5b28.entry.js} +2 -2
- package/dist/calcite/{p-903166d0.js → p-a318e315.js} +2 -2
- package/dist/calcite/{p-2e059d2e.entry.js → p-a4e4ca7d.entry.js} +2 -2
- package/dist/calcite/{p-e7552393.entry.js → p-aa6c6096.entry.js} +2 -2
- package/dist/calcite/{p-97bd33a0.js → p-ac6d0e15.js} +1 -1
- package/dist/calcite/p-ad040021.js +6 -0
- package/dist/calcite/{p-4f4d1a06.js → p-ad9e20af.js} +2 -2
- package/dist/calcite/{p-114c88a9.js → p-b4d7ede4.js} +1 -1
- package/dist/calcite/{p-ccd7fa4f.js → p-b4fbfdaa.js} +2 -2
- package/dist/calcite/{p-60a555cc.js → p-b5a3476e.js} +1 -1
- package/dist/calcite/p-b973d61d.entry.js +6 -0
- package/dist/calcite/{p-324fd3f8.entry.js → p-b97da44c.entry.js} +2 -2
- package/dist/calcite/{p-474b3b53.entry.js → p-bb455c73.entry.js} +2 -2
- package/dist/calcite/{p-a71dbd86.entry.js → p-beb7c906.entry.js} +2 -2
- package/dist/calcite/p-bff59d54.js +6 -0
- package/dist/calcite/{p-8bba9eb4.entry.js → p-c37af731.entry.js} +2 -2
- package/dist/calcite/p-c52e1541.js +6 -0
- package/dist/calcite/{p-95b46e28.entry.js → p-c7af7ed1.entry.js} +2 -2
- package/dist/calcite/{p-6e8d3adf.js → p-c8551f70.js} +1 -1
- package/dist/calcite/{p-ed5f082e.js → p-cd22a526.js} +2 -2
- package/dist/calcite/{p-97b46a59.js → p-ce04d8b2.js} +2 -2
- package/dist/calcite/{p-8cf720c2.entry.js → p-cfcdefca.entry.js} +2 -2
- package/dist/calcite/{p-3ddd77cd.js → p-d0fd025c.js} +1 -1
- package/dist/calcite/{p-fe9f2443.entry.js → p-d229043d.entry.js} +2 -2
- package/dist/calcite/{p-092415db.js → p-d3486826.js} +2 -2
- package/dist/calcite/{p-67404525.js → p-d407a27d.js} +2 -2
- package/dist/calcite/{p-c055b2c0.entry.js → p-d4fd7943.entry.js} +2 -2
- package/dist/calcite/{p-2bf261b6.js → p-d5538ed2.js} +1 -1
- package/dist/calcite/{p-bb34ac07.js → p-da54c3f7.js} +2 -2
- package/dist/calcite/{p-c0019074.js → p-dbf2e726.js} +2 -2
- package/dist/calcite/{p-6a1b5722.js → p-dcc09ec8.js} +2 -2
- package/dist/calcite/{p-71ed65ec.js → p-dd9d4ff6.js} +2 -2
- package/dist/calcite/{p-fbbe2e48.js → p-e0099329.js} +2 -2
- package/dist/calcite/{p-58b03205.entry.js → p-e2b6eccc.entry.js} +2 -2
- package/dist/calcite/p-e342cb16.js +6 -0
- package/dist/calcite/{p-b873ddbb.js → p-e3aeb8aa.js} +2 -2
- package/dist/calcite/{p-5c5f0f4f.js → p-e3d4060e.js} +2 -2
- package/dist/calcite/{p-3987789d.js → p-e8651158.js} +1 -1
- package/dist/calcite/{p-3784b9d3.js → p-e9091728.js} +2 -2
- package/dist/calcite/{p-a3814816.js → p-e941ed6f.js} +1 -1
- package/dist/calcite/{p-be7daaa2.entry.js → p-e9f9655f.entry.js} +2 -2
- package/dist/calcite/{p-22c70dca.js → p-ea031e51.js} +2 -2
- package/dist/calcite/p-ea3be343.entry.js +6 -0
- package/dist/calcite/{p-428f2852.entry.js → p-ebcde8c5.entry.js} +2 -2
- package/dist/calcite/p-ec1ae22e.js +6 -0
- package/dist/calcite/{p-12acd423.entry.js → p-ed1789b8.entry.js} +2 -2
- package/dist/calcite/{p-116b627f.js → p-ed202896.js} +2 -2
- package/dist/calcite/{p-50ebc4bb.entry.js → p-ef922019.entry.js} +2 -2
- package/dist/calcite/{p-c5c33dce.js → p-f365a643.js} +2 -2
- package/dist/calcite/p-f6dec19a.js +6 -0
- package/dist/calcite/p-fb77792b.entry.js +6 -0
- package/dist/calcite/{p-c6f85adf.entry.js → p-fd18d6c2.entry.js} +2 -2
- package/dist/calcite/p-fdb61d3d.js +6 -0
- package/dist/calcite/{p-d9204e60.entry.js → p-ff79df54.entry.js} +2 -2
- package/dist/calcite/{p-7672ccaa.entry.js → p-ffbe7782.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-d6b4aa4f.js → ExpandToggle-df0261a1.js} +5 -5
- package/dist/cjs/{FloatingArrow-e8ed9ae0.js → FloatingArrow-ae11c373.js} +2 -2
- package/dist/cjs/{Heading-b66e3928.js → Heading-295f255d.js} +2 -2
- package/dist/cjs/{app-globals-e3e6c83f.js → app-globals-f9312c49.js} +2 -2
- package/dist/cjs/{ar-9fac2182.js → ar-033f58cd.js} +17 -17
- package/dist/cjs/{array-58af9e46.js → array-e5e2c254.js} +1 -1
- package/dist/cjs/{bg-c447edd7.js → bg-1c632350.js} +17 -17
- package/dist/cjs/{browser-3511f80d.js → browser-9fce3122.js} +1 -1
- package/dist/cjs/{bs-17b59cd3.js → bs-06adaff9.js} +17 -17
- package/dist/cjs/{ca-9d950f3b.js → ca-6695e3f9.js} +17 -17
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +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 +12 -12
- 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-f5a12954.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-3d02bf30.js} +3 -3
- package/dist/cjs/{cs-bcf52385.js → cs-789affe9.js} +17 -17
- package/dist/cjs/{da-34f98b1e.js → da-6fe53ac5.js} +17 -17
- package/dist/cjs/{de-7a9f776c.js → de-325ba5f7.js} +17 -17
- package/dist/cjs/{de-at-d83583e5.js → de-at-c96284d2.js} +17 -17
- package/dist/cjs/{de-ch-25837e6f.js → de-ch-cebb38a5.js} +17 -17
- package/dist/cjs/{debounce-92810b06.js → debounce-38e7a73a.js} +1 -1
- package/dist/cjs/{dom-be0f500d.js → dom-138abdfd.js} +3 -3
- package/dist/cjs/{el-5f94d634.js → el-eefbb8f0.js} +17 -17
- package/dist/cjs/{en-au-90028244.js → en-au-1b9a4817.js} +17 -17
- package/dist/cjs/{en-ca-a16462fb.js → en-ca-c3088d9c.js} +17 -17
- package/dist/cjs/{en-gb-6b0ba369.js → en-gb-a4e2c393.js} +17 -17
- package/dist/cjs/{es-8452d6bd.js → es-37507274.js} +17 -17
- package/dist/cjs/{es-mx-e55fd7d3.js → es-mx-14025c63.js} +17 -17
- package/dist/cjs/{et-a43caecd.js → et-67e905ad.js} +17 -17
- package/dist/cjs/{fi-549ed3df.js → fi-2b433171.js} +17 -17
- package/dist/cjs/{filter-9167ca93.js → filter-8985175b.js} +2 -2
- package/dist/cjs/{floating-ui-2993dfdb.js → floating-ui-29817784.js} +3 -3
- package/dist/cjs/{focusTrapComponent-af12730c.js → focusTrapComponent-5b83374b.js} +2 -2
- package/dist/cjs/{form-0bd26a64.js → form-13812899.js} +3 -3
- package/dist/cjs/{fr-29091e29.js → fr-2368905b.js} +17 -17
- package/dist/cjs/{fr-ch-04aba42c.js → fr-ch-a72b59e4.js} +17 -17
- package/dist/cjs/{guid-ed39f58f.js → guid-55893448.js} +1 -1
- package/dist/cjs/{he-df382c4e.js → he-7d9e269c.js} +17 -17
- package/dist/cjs/{hi-aff129ea.js → hi-018ffb71.js} +17 -17
- package/dist/cjs/{hr-1b9e44c3.js → hr-3574f4e7.js} +17 -17
- package/dist/cjs/{hu-09693f1f.js → hu-05194164.js} +17 -17
- package/dist/cjs/{id-1dca44ff.js → id-d4a0ad33.js} +17 -17
- package/dist/cjs/{index-e7d87bd5.js → index-7a81ba8f.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-c30321e3.js → interactive-84a20b01.js} +2 -2
- package/dist/cjs/{it-295a8e6e.js → it-8a4490f8.js} +17 -17
- package/dist/cjs/{it-ch-b532c36f.js → it-ch-1583fbfa.js} +17 -17
- package/dist/cjs/{ja-55b719dc.js → ja-1a25c9d6.js} +17 -17
- package/dist/cjs/{key-b25f9579.js → key-a7949c92.js} +1 -1
- package/dist/cjs/{ko-3166aed4.js → ko-e5bcdc0c.js} +17 -17
- package/dist/cjs/{label-c05e67e3.js → label-7d8d04a8.js} +2 -2
- package/dist/cjs/{loadable-71818069.js → loadable-21208622.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-14a68ae8.js → locale-5175878b.js} +4 -4
- package/dist/cjs/{lt-da2b2d06.js → lt-2a67d7f6.js} +17 -17
- package/dist/cjs/{lv-55ba4b61.js → lv-1495aa27.js} +17 -17
- package/dist/cjs/{math-190b8e04.js → math-e2d320ab.js} +1 -1
- package/dist/cjs/{mk-0d722453.js → mk-eddc87b4.js} +17 -17
- package/dist/cjs/{nb-eb2a5e58.js → nb-da9eacb6.js} +17 -17
- package/dist/cjs/{nl-f040c180.js → nl-3624a686.js} +17 -17
- package/dist/cjs/{observers-9a593cbe.js → observers-6e6f34dc.js} +1 -1
- package/dist/cjs/{openCloseComponent-cc47782d.js → openCloseComponent-8001f9d7.js} +2 -2
- package/dist/cjs/{pl-9c51cacb.js → pl-1fa02b3d.js} +17 -17
- package/dist/cjs/{pt-8df6e649.js → pt-300c8ed7.js} +17 -17
- package/dist/cjs/{pt-br-da20a835.js → pt-br-1eb1da6f.js} +17 -17
- package/dist/cjs/{resources-1df67c17.js → resources-7471dc8e.js} +5 -5
- package/dist/cjs/{resources-b875b7c8.js → resources-8100a860.js} +1 -1
- package/dist/cjs/{resources-fb261833.js → resources-8ae36d9c.js} +1 -1
- package/dist/cjs/{resources-972c56ae.js → resources-d21c5f03.js} +1 -1
- package/dist/cjs/{resources-ce409aa3.js → resources-e73d435b.js} +1 -1
- package/dist/cjs/{resources-af0aade0.js → resources-eea0963c.js} +1 -1
- package/dist/cjs/{resources-37569a03.js → resources-fbf5f39a.js} +1 -1
- package/dist/cjs/{ro-b048ad64.js → ro-cad9ab88.js} +17 -17
- package/dist/cjs/{ru-a16aa5c4.js → ru-9af0d3a6.js} +17 -17
- package/dist/cjs/{sk-cc4b81d5.js → sk-f97469d9.js} +17 -17
- package/dist/cjs/{sl-aaf1dd2c.js → sl-a931f05f.js} +17 -17
- package/dist/cjs/{sortableComponent-ba3a2e21.js → sortableComponent-8552c0f9.js} +1 -1
- package/dist/cjs/{sr-a12bea4a.js → sr-c2f8dd4d.js} +17 -17
- package/dist/cjs/{sv-e36dc411.js → sv-503f8963.js} +17 -17
- package/dist/cjs/{t9n-06eb6ad9.js → t9n-17617255.js} +3 -3
- package/dist/cjs/{th-45d148a2.js → th-90451add.js} +17 -17
- package/dist/cjs/{throttle-61ebda1e.js → throttle-91a36c63.js} +2 -2
- package/dist/cjs/{tr-c78e553c.js → tr-93cd06d0.js} +17 -17
- package/dist/cjs/{uk-3168cc2f.js → uk-7ebad5b3.js} +17 -17
- package/dist/cjs/{utils-1cebf4ae.js → utils-c4598449.js} +1 -1
- package/dist/cjs/{utils-6071c024.js → utils-e3bf661c.js} +3 -3
- package/dist/cjs/{vi-d4637792.js → vi-e029dae5.js} +17 -17
- package/dist/cjs/{zh-cn-2be6f3d8.js → zh-cn-7a08fb5a.js} +17 -17
- package/dist/cjs/{zh-hk-17672c3f.js → zh-hk-5657a268.js} +17 -17
- package/dist/cjs/{zh-tw-9ed49ae6.js → zh-tw-bd1a4ebe.js} +17 -17
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.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 +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +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 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +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 +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +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-e9b8af64.js} +5 -5
- package/dist/esm/{FloatingArrow-3977d80c.js → FloatingArrow-296dd644.js} +2 -2
- package/dist/esm/{Heading-5ba19ff3.js → Heading-3bb6a361.js} +2 -2
- package/dist/esm/{app-globals-2931c5a3.js → app-globals-88ce082d.js} +2 -2
- package/dist/esm/{ar-013a6b33.js → ar-ed936295.js} +17 -17
- package/dist/esm/{array-2d7627ce.js → array-8f8667ab.js} +1 -1
- package/dist/esm/{bg-058bdc20.js → bg-388ebb42.js} +17 -17
- package/dist/esm/{browser-48a86998.js → browser-67eb1449.js} +1 -1
- package/dist/esm/{bs-c5ae37da.js → bs-0c2f5362.js} +17 -17
- package/dist/esm/{ca-d23279c0.js → ca-d94dd59a.js} +17 -17
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +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 +12 -12
- 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-d6e94b4e.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-f3152533.js} +3 -3
- package/dist/esm/{cs-6bd9906f.js → cs-3ef82f69.js} +17 -17
- package/dist/esm/{da-e5cabdab.js → da-c212daa9.js} +17 -17
- package/dist/esm/{de-1f3c2103.js → de-46648aaa.js} +17 -17
- package/dist/esm/{de-at-97ab9b10.js → de-at-334cbe1a.js} +17 -17
- package/dist/esm/{de-ch-949e61ca.js → de-ch-deb053fa.js} +17 -17
- package/dist/esm/{debounce-84ea3e27.js → debounce-b7540c4a.js} +1 -1
- package/dist/esm/{dom-20afb017.js → dom-6cec6d04.js} +3 -3
- package/dist/esm/{el-4d1387b1.js → el-9c8e3b98.js} +17 -17
- package/dist/esm/{en-au-4e0b361f.js → en-au-5d9f440e.js} +17 -17
- package/dist/esm/{en-ca-eb4750aa.js → en-ca-f922c516.js} +17 -17
- package/dist/esm/{en-gb-b46a8dce.js → en-gb-f1ea3fdb.js} +17 -17
- package/dist/esm/{es-11ba4617.js → es-e4bd2418.js} +17 -17
- package/dist/esm/{es-mx-5e3006ac.js → es-mx-3937b118.js} +17 -17
- package/dist/esm/{et-b98a3db5.js → et-c966e41f.js} +17 -17
- package/dist/esm/{fi-f890be16.js → fi-821f5dcc.js} +17 -17
- package/dist/esm/{filter-52f67de0.js → filter-1c35bfd4.js} +2 -2
- package/dist/esm/{floating-ui-6a44854a.js → floating-ui-0826b417.js} +3 -3
- package/dist/esm/{focusTrapComponent-aec09e2d.js → focusTrapComponent-9781627a.js} +2 -2
- package/dist/esm/{form-946ba09e.js → form-5a7865cb.js} +3 -3
- package/dist/esm/{fr-1cc658a2.js → fr-8d68e0e8.js} +17 -17
- package/dist/esm/{fr-ch-dc36e2cf.js → fr-ch-94748048.js} +17 -17
- package/dist/esm/{guid-e1dc53b7.js → guid-e6d9b593.js} +1 -1
- package/dist/esm/{he-4f4616e0.js → he-02ceec03.js} +17 -17
- package/dist/esm/{hi-cc5f43cd.js → hi-7c08957b.js} +17 -17
- package/dist/esm/{hr-6d41f3b8.js → hr-03f61107.js} +17 -17
- package/dist/esm/{hu-d7d98a56.js → hu-0652948f.js} +17 -17
- package/dist/esm/{id-18b89a09.js → id-92f6fa38.js} +17 -17
- package/dist/esm/{index-93cd83f0.js → index-06e90a9e.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-79db9632.js → interactive-e936b816.js} +2 -2
- package/dist/esm/{it-e995049e.js → it-9025abc6.js} +17 -17
- package/dist/esm/{it-ch-cbc6c031.js → it-ch-4f23205d.js} +17 -17
- package/dist/esm/{ja-ddf29e4d.js → ja-11ff0fa7.js} +17 -17
- package/dist/esm/{key-0e0333e4.js → key-df25d2ee.js} +1 -1
- package/dist/esm/{ko-1014d88a.js → ko-9cf98261.js} +17 -17
- package/dist/esm/{label-a9cf0e6d.js → label-7fcc498c.js} +2 -2
- package/dist/esm/{loadable-7401caa9.js → loadable-a1dced56.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-fd5da0bd.js → locale-5d42672d.js} +4 -4
- package/dist/esm/{lt-b94532b1.js → lt-667eacef.js} +17 -17
- package/dist/esm/{lv-8becaf88.js → lv-f7544c41.js} +17 -17
- package/dist/esm/{math-617c9001.js → math-3bac3db7.js} +1 -1
- package/dist/esm/{mk-e27af94a.js → mk-45f80351.js} +17 -17
- package/dist/esm/{nb-b76766f7.js → nb-a9fe2baa.js} +17 -17
- package/dist/esm/{nl-6c2e1b01.js → nl-9eeeb909.js} +17 -17
- package/dist/esm/{observers-c215437c.js → observers-81bfe238.js} +1 -1
- package/dist/esm/{openCloseComponent-aa30f1df.js → openCloseComponent-1c903268.js} +2 -2
- package/dist/esm/{pl-e13cb810.js → pl-9dabba85.js} +17 -17
- package/dist/esm/{pt-52ab79e6.js → pt-26613a75.js} +17 -17
- package/dist/esm/{pt-br-9e82a39e.js → pt-br-a12f9d62.js} +17 -17
- package/dist/esm/{resources-3c8ccec9.js → resources-0160d8db.js} +1 -1
- package/dist/esm/{resources-7fc9f350.js → resources-35b588b5.js} +1 -1
- package/dist/esm/{resources-138f5482.js → resources-3b4bbf27.js} +1 -1
- package/dist/esm/{resources-43196521.js → resources-6c1eff45.js} +1 -1
- package/dist/esm/{resources-93b3c0b1.js → resources-a2f0ea43.js} +1 -1
- package/dist/esm/{resources-1941a7ad.js → resources-adc73c36.js} +5 -5
- package/dist/esm/{resources-34554df7.js → resources-d12b2a0e.js} +1 -1
- package/dist/esm/{ro-ebb9d839.js → ro-6a0704d5.js} +17 -17
- package/dist/esm/{ru-b1304479.js → ru-dfa753b1.js} +17 -17
- package/dist/esm/{sk-b03cfee6.js → sk-cee071c8.js} +17 -17
- package/dist/esm/{sl-8dff7ac8.js → sl-47300442.js} +17 -17
- package/dist/esm/{sortableComponent-37e9ac25.js → sortableComponent-b3ee129b.js} +1 -1
- package/dist/esm/{sr-03b929b0.js → sr-1b9c6b33.js} +17 -17
- package/dist/esm/{sv-5f369bb0.js → sv-f83e9435.js} +17 -17
- package/dist/esm/{t9n-94da9b2f.js → t9n-f3535f7a.js} +3 -3
- package/dist/esm/{th-a12210d6.js → th-153374e4.js} +17 -17
- package/dist/esm/{throttle-1c8f4dca.js → throttle-dbec8793.js} +2 -2
- package/dist/esm/{tr-cdc52844.js → tr-2c1c9227.js} +17 -17
- package/dist/esm/{uk-cf65111e.js → uk-4b952dec.js} +17 -17
- package/dist/esm/{utils-224a9381.js → utils-02cbc822.js} +1 -1
- package/dist/esm/{utils-ad32fafa.js → utils-db0b3cc9.js} +3 -3
- package/dist/esm/{vi-6347b33e.js → vi-f782ebdf.js} +17 -17
- package/dist/esm/{zh-cn-b59f1070.js → zh-cn-3390cc2e.js} +17 -17
- package/dist/esm/{zh-hk-2ebb86b0.js → zh-hk-cfccc140.js} +17 -17
- package/dist/esm/{zh-tw-bc4d4799.js → zh-tw-731c753b.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/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 +448 -436
- package/package.json +2 -2
- package/dist/calcite/p-04cbbd5f.js +0 -6
- package/dist/calcite/p-10b6fe75.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-4a527d71.entry.js +0 -6
- package/dist/calcite/p-4e1d3647.js +0 -6
- package/dist/calcite/p-501a85a4.entry.js +0 -6
- package/dist/calcite/p-59808601.js +0 -6
- package/dist/calcite/p-6a772188.entry.js +0 -6
- package/dist/calcite/p-767360ab.js +0 -6
- package/dist/calcite/p-7a32d7a6.entry.js +0 -6
- package/dist/calcite/p-8f9e1d99.entry.js +0 -6
- package/dist/calcite/p-99fe7541.entry.js +0 -6
- package/dist/calcite/p-aa812f76.js +0 -6
- package/dist/calcite/p-b2f0aefc.entry.js +0 -6
- package/dist/calcite/p-b4a189e1.js +0 -6
- package/dist/calcite/p-b64af8d2.entry.js +0 -6
- package/dist/calcite/p-d8ebee0d.js +0 -6
- package/dist/calcite/p-dd2068da.js +0 -6
- package/dist/calcite/p-f7a2d0b1.entry.js +0 -6
- package/dist/calcite/p-f7e55e5d.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.4
|
|
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, label: actionsEndGroupLabel, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$v.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$v.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$v.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
|
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",
|
|
@@ -10637,10 +10637,10 @@ class Alert {
|
|
|
10637
10637
|
container: true,
|
|
10638
10638
|
queued,
|
|
10639
10639
|
[placement]: true,
|
|
10640
|
-
[CSS$
|
|
10640
|
+
[CSS$17.slottedInShell]: this.slottedInShell,
|
|
10641
10641
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10642
10642
|
// 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$
|
|
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$17.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10644
10644
|
}
|
|
10645
10645
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10646
10646
|
alertSync(event) {
|
|
@@ -11114,7 +11114,7 @@ const IDS$1 = {
|
|
|
11114
11114
|
toggle: "toggle",
|
|
11115
11115
|
header: "header",
|
|
11116
11116
|
};
|
|
11117
|
-
const CSS$
|
|
11117
|
+
const CSS$16 = {
|
|
11118
11118
|
button: "button",
|
|
11119
11119
|
container: "container",
|
|
11120
11120
|
content: "content",
|
|
@@ -11238,27 +11238,27 @@ class Block {
|
|
|
11238
11238
|
renderIcon() {
|
|
11239
11239
|
const { loading, messages, status } = this;
|
|
11240
11240
|
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$
|
|
11241
|
+
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: {
|
|
11242
|
+
[CSS$16.statusIcon]: true,
|
|
11243
|
+
[CSS$16.valid]: status == "valid",
|
|
11244
|
+
[CSS$16.invalid]: status == "invalid",
|
|
11245
|
+
}, 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
11246
|
}
|
|
11247
11247
|
renderTitle() {
|
|
11248
11248
|
const { heading, headingLevel, description } = this;
|
|
11249
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
11249
|
+
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
11250
|
}
|
|
11251
11251
|
render() {
|
|
11252
11252
|
const { collapsible, el, loading, open, messages } = this;
|
|
11253
11253
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11254
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
11254
|
+
const headerContent = (hAsync("header", { class: CSS$16.header, id: IDS$1.header }, this.renderIcon(), this.renderTitle()));
|
|
11255
11255
|
const hasControl = !!getSlotted(el, SLOTS$s.control);
|
|
11256
11256
|
const hasMenuActions = !!getSlotted(el, SLOTS$s.headerMenuActions);
|
|
11257
11257
|
const collapseIcon = open ? ICONS$h.opened : ICONS$h.closed;
|
|
11258
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
11258
|
+
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
11259
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
11260
|
-
[CSS$
|
|
11261
|
-
} }, headerNode, hAsync("section", { "aria-labelledby": IDS$1.toggle, class: CSS$
|
|
11260
|
+
[CSS$16.container]: true,
|
|
11261
|
+
} }, headerNode, hAsync("section", { "aria-labelledby": IDS$1.toggle, class: CSS$16.content, hidden: !open, id: IDS$1.content }, this.renderScrim()))));
|
|
11262
11262
|
}
|
|
11263
11263
|
static get assetsDirs() { return ["assets"]; }
|
|
11264
11264
|
get el() { return getElement(this); }
|
|
@@ -11296,7 +11296,7 @@ const IDS = {
|
|
|
11296
11296
|
content: "content",
|
|
11297
11297
|
toggle: "toggle",
|
|
11298
11298
|
};
|
|
11299
|
-
const CSS$
|
|
11299
|
+
const CSS$15 = {
|
|
11300
11300
|
content: "content",
|
|
11301
11301
|
focusGuard: "focus-guard",
|
|
11302
11302
|
invalid: "invalid",
|
|
@@ -11400,9 +11400,9 @@ class BlockSection {
|
|
|
11400
11400
|
const { status } = this;
|
|
11401
11401
|
const statusIcon = ICONS$g[status] ?? false;
|
|
11402
11402
|
const statusIconClasses = {
|
|
11403
|
-
[CSS$
|
|
11404
|
-
[CSS$
|
|
11405
|
-
[CSS$
|
|
11403
|
+
[CSS$15.statusIcon]: true,
|
|
11404
|
+
[CSS$15.valid]: status == "valid",
|
|
11405
|
+
[CSS$15.invalid]: status == "invalid",
|
|
11406
11406
|
};
|
|
11407
11407
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11408
11408
|
}
|
|
@@ -11416,15 +11416,15 @@ class BlockSection {
|
|
|
11416
11416
|
: ICONS$g.menuClosedRight;
|
|
11417
11417
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11418
11418
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { class: {
|
|
11419
|
-
[CSS$
|
|
11419
|
+
[CSS$15.toggleSwitchContainer]: true,
|
|
11420
11420
|
} }, 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$
|
|
11421
|
+
[CSS$15.toggle]: true,
|
|
11422
|
+
[CSS$15.toggleSwitch]: true,
|
|
11423
|
+
}, 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: {
|
|
11424
|
+
[CSS$15.sectionHeader]: true,
|
|
11425
|
+
[CSS$15.toggle]: true,
|
|
11426
|
+
}, id: IDS.toggle, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$15.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11427
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-labelledby": IDS.toggle, class: CSS$15.content, hidden: !open, id: IDS.content }, hAsync("slot", null))));
|
|
11428
11428
|
}
|
|
11429
11429
|
static get assetsDirs() { return ["assets"]; }
|
|
11430
11430
|
get el() { return getElement(this); }
|
|
@@ -11854,7 +11854,7 @@ function onLabelDisconnected() {
|
|
|
11854
11854
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11855
11855
|
}
|
|
11856
11856
|
|
|
11857
|
-
const CSS$
|
|
11857
|
+
const CSS$14 = {
|
|
11858
11858
|
buttonLoader: "calcite-button--loader",
|
|
11859
11859
|
content: "content",
|
|
11860
11860
|
contentSlotted: "content--slotted",
|
|
@@ -11982,17 +11982,17 @@ class Button {
|
|
|
11982
11982
|
render() {
|
|
11983
11983
|
const childElType = this.href ? "a" : "button";
|
|
11984
11984
|
const Tag = childElType;
|
|
11985
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
11985
|
+
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
11986
|
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$
|
|
11987
|
+
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" }));
|
|
11988
|
+
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" }));
|
|
11989
|
+
const contentEl = (hAsync("span", { class: CSS$14.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11990
11990
|
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$
|
|
11991
|
+
[CSS$14.buttonPadding]: noStartEndIcons,
|
|
11992
|
+
[CSS$14.buttonPaddingShrunk]: !noStartEndIcons,
|
|
11993
|
+
[CSS$14.contentSlotted]: this.hasContent,
|
|
11994
|
+
[CSS$14.iconStartEmpty]: !this.iconStart,
|
|
11995
|
+
[CSS$14.iconEndEmpty]: !this.iconEnd,
|
|
11996
11996
|
}, 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
11997
|
}
|
|
11998
11998
|
//--------------------------------------------------------------------------
|
|
@@ -12307,7 +12307,7 @@ class CalciteMenu {
|
|
|
12307
12307
|
}; }
|
|
12308
12308
|
}
|
|
12309
12309
|
|
|
12310
|
-
const CSS$
|
|
12310
|
+
const CSS$13 = {
|
|
12311
12311
|
container: "container",
|
|
12312
12312
|
content: "content",
|
|
12313
12313
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12511,54 +12511,54 @@ class CalciteMenuItem {
|
|
|
12511
12511
|
//
|
|
12512
12512
|
//--------------------------------------------------------------------------
|
|
12513
12513
|
renderIconStart() {
|
|
12514
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12514
|
+
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
12515
|
}
|
|
12516
12516
|
renderIconEnd() {
|
|
12517
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12517
|
+
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
12518
|
}
|
|
12519
12519
|
renderBreadcrumbIcon(dir) {
|
|
12520
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12520
|
+
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
12521
|
}
|
|
12522
12522
|
renderDropdownIcon(dir) {
|
|
12523
12523
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12524
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12524
|
+
return (hAsync("calcite-icon", { class: `${CSS$13.icon} ${CSS$13.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12525
12525
|
? this.open
|
|
12526
12526
|
? "chevron-up"
|
|
12527
12527
|
: "chevron-down"
|
|
12528
|
-
: dirChevron, key: CSS$
|
|
12528
|
+
: dirChevron, key: CSS$13.iconDropdown, scale: "s" }));
|
|
12529
12529
|
}
|
|
12530
12530
|
renderDropdownAction(dir) {
|
|
12531
12531
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12532
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12532
|
+
return (hAsync("calcite-action", { class: CSS$13.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12533
12533
|
? this.open
|
|
12534
12534
|
? "chevron-up"
|
|
12535
12535
|
: "chevron-down"
|
|
12536
|
-
: dirChevron, key: CSS$
|
|
12536
|
+
: dirChevron, key: CSS$13.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12537
12537
|
// 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
12538
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12539
12539
|
}
|
|
12540
12540
|
renderSubmenuItems(dir) {
|
|
12541
12541
|
return (hAsync("calcite-menu", { class: {
|
|
12542
|
-
[CSS$
|
|
12543
|
-
[CSS$
|
|
12544
|
-
[CSS$
|
|
12542
|
+
[CSS$13.dropdownMenuItems]: true,
|
|
12543
|
+
[CSS$13.open]: this.open,
|
|
12544
|
+
[CSS$13.nested]: !this.isTopLevelItem,
|
|
12545
12545
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12546
|
-
[CSS$
|
|
12546
|
+
[CSS$13.dropdownVertical]: this.topLevelMenuLayout === "vertical",
|
|
12547
12547
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12548
12548
|
}
|
|
12549
12549
|
renderHrefIcon(dir) {
|
|
12550
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12550
|
+
return (hAsync("calcite-icon", { class: CSS$13.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", key: CSS$13.hoverHrefIcon, scale: "s" }));
|
|
12551
12551
|
}
|
|
12552
12552
|
renderItemContent(dir) {
|
|
12553
12553
|
const hasHref = this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem);
|
|
12554
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12554
|
+
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
12555
|
}
|
|
12556
12556
|
render() {
|
|
12557
12557
|
const dir = getElementDir(this.el);
|
|
12558
12558
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12559
|
-
[CSS$
|
|
12560
|
-
[CSS$
|
|
12561
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12559
|
+
[CSS$13.container]: true,
|
|
12560
|
+
[CSS$13.isParentVertical]: this.topLevelMenuLayout === "vertical",
|
|
12561
|
+
}, 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
12562
|
// 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
12563
|
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir)), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12564
12564
|
}
|
|
@@ -12601,7 +12601,7 @@ class CalciteMenuItem {
|
|
|
12601
12601
|
}; }
|
|
12602
12602
|
}
|
|
12603
12603
|
|
|
12604
|
-
const CSS$
|
|
12604
|
+
const CSS$12 = {
|
|
12605
12605
|
container: "container",
|
|
12606
12606
|
containerContent: "container-content",
|
|
12607
12607
|
hasProgress: "progress-bar",
|
|
@@ -12750,11 +12750,11 @@ class CalciteNavigation {
|
|
|
12750
12750
|
this.navigationAction;
|
|
12751
12751
|
const slotName = this.el.slot;
|
|
12752
12752
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
12753
|
-
[CSS$
|
|
12754
|
-
[CSS$
|
|
12755
|
-
[CSS$
|
|
12756
|
-
[CSS$
|
|
12757
|
-
} }, hAsync("div", { class: { [CSS$
|
|
12753
|
+
[CSS$12.container]: true,
|
|
12754
|
+
[CSS$12.secondary]: slotName === SLOTS$r.navSecondary,
|
|
12755
|
+
[CSS$12.tertiary]: slotName === SLOTS$r.navTertiary,
|
|
12756
|
+
[CSS$12.primary]: primaryLevelHasElements,
|
|
12757
|
+
} }, 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
12758
|
}
|
|
12759
12759
|
get el() { return getElement(this); }
|
|
12760
12760
|
static get style() { return navigationCss; }
|
|
@@ -12781,7 +12781,7 @@ class CalciteNavigation {
|
|
|
12781
12781
|
}; }
|
|
12782
12782
|
}
|
|
12783
12783
|
|
|
12784
|
-
const CSS$
|
|
12784
|
+
const CSS$11 = {
|
|
12785
12785
|
container: "container",
|
|
12786
12786
|
heading: "heading",
|
|
12787
12787
|
description: "description",
|
|
@@ -12834,10 +12834,10 @@ class CalciteNavigationLogo {
|
|
|
12834
12834
|
// --------------------------------------------------------------------------
|
|
12835
12835
|
render() {
|
|
12836
12836
|
const { heading, description, thumbnail } = this;
|
|
12837
|
-
return (hAsync(Host, null, hAsync("a", { class: CSS$
|
|
12838
|
-
[CSS$
|
|
12839
|
-
[CSS$
|
|
12840
|
-
}, key: CSS$
|
|
12837
|
+
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: {
|
|
12838
|
+
[CSS$11.heading]: true,
|
|
12839
|
+
[CSS$11.standalone]: !this.description,
|
|
12840
|
+
}, key: CSS$11.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$11.description, key: CSS$11.description }, description)))))));
|
|
12841
12841
|
}
|
|
12842
12842
|
static get delegatesFocus() { return true; }
|
|
12843
12843
|
get el() { return getElement(this); }
|
|
@@ -12862,7 +12862,7 @@ class CalciteNavigationLogo {
|
|
|
12862
12862
|
}; }
|
|
12863
12863
|
}
|
|
12864
12864
|
|
|
12865
|
-
const CSS
|
|
12865
|
+
const CSS$10 = {
|
|
12866
12866
|
textContainer: "text-container",
|
|
12867
12867
|
fullName: "full-name",
|
|
12868
12868
|
username: "username",
|
|
@@ -12909,7 +12909,7 @@ class CalciteNavigationUser {
|
|
|
12909
12909
|
//
|
|
12910
12910
|
// --------------------------------------------------------------------------
|
|
12911
12911
|
render() {
|
|
12912
|
-
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS
|
|
12912
|
+
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
12913
|
}
|
|
12914
12914
|
static get delegatesFocus() { return true; }
|
|
12915
12915
|
get el() { return getElement(this); }
|
|
@@ -12933,7 +12933,7 @@ class CalciteNavigationUser {
|
|
|
12933
12933
|
}; }
|
|
12934
12934
|
}
|
|
12935
12935
|
|
|
12936
|
-
const CSS
|
|
12936
|
+
const CSS$$ = {
|
|
12937
12937
|
container: "container",
|
|
12938
12938
|
header: "header",
|
|
12939
12939
|
footer: "footer",
|
|
@@ -13018,7 +13018,7 @@ class Card {
|
|
|
13018
13018
|
render() {
|
|
13019
13019
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
13020
13020
|
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
|
|
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$$.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
13022
13022
|
}
|
|
13023
13023
|
effectiveLocaleChange() {
|
|
13024
13024
|
updateMessages(this);
|
|
@@ -13028,24 +13028,24 @@ class Card {
|
|
|
13028
13028
|
this.calciteCardSelect.emit();
|
|
13029
13029
|
}
|
|
13030
13030
|
renderThumbnail() {
|
|
13031
|
-
return getSlotted(this.el, SLOTS$q.thumbnail) ? (hAsync("section", { class: CSS
|
|
13031
|
+
return getSlotted(this.el, SLOTS$q.thumbnail) ? (hAsync("section", { class: CSS$$.thumbnailWrapper }, hAsync("slot", { name: SLOTS$q.thumbnail }))) : null;
|
|
13032
13032
|
}
|
|
13033
13033
|
renderCheckbox() {
|
|
13034
|
-
return (hAsync("calcite-label", { class: CSS
|
|
13034
|
+
return (hAsync("calcite-label", { class: CSS$$.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
13035
13035
|
}
|
|
13036
13036
|
renderHeader() {
|
|
13037
13037
|
const { el } = this;
|
|
13038
13038
|
const title = getSlotted(el, SLOTS$q.title);
|
|
13039
13039
|
const subtitle = getSlotted(el, SLOTS$q.subtitle);
|
|
13040
13040
|
const hasHeader = title || subtitle;
|
|
13041
|
-
return hasHeader ? (hAsync("header", { class: CSS
|
|
13041
|
+
return hasHeader ? (hAsync("header", { class: CSS$$.header }, hAsync("slot", { name: SLOTS$q.title }), hAsync("slot", { name: SLOTS$q.subtitle }))) : null;
|
|
13042
13042
|
}
|
|
13043
13043
|
renderFooter() {
|
|
13044
13044
|
const { el } = this;
|
|
13045
13045
|
const startFooter = getSlotted(el, SLOTS$q.footerStart);
|
|
13046
13046
|
const endFooter = getSlotted(el, SLOTS$q.footerEnd);
|
|
13047
13047
|
const hasFooter = startFooter || endFooter;
|
|
13048
|
-
return hasFooter ? (hAsync("footer", { class: CSS
|
|
13048
|
+
return hasFooter ? (hAsync("footer", { class: CSS$$.footer }, hAsync("slot", { name: SLOTS$q.footerStart }), hAsync("slot", { name: SLOTS$q.footerEnd }))) : null;
|
|
13049
13049
|
}
|
|
13050
13050
|
static get assetsDirs() { return ["assets"]; }
|
|
13051
13051
|
get el() { return getElement(this); }
|
|
@@ -13208,7 +13208,7 @@ class Checkbox {
|
|
|
13208
13208
|
}; }
|
|
13209
13209
|
}
|
|
13210
13210
|
|
|
13211
|
-
const CSS$
|
|
13211
|
+
const CSS$_ = {
|
|
13212
13212
|
title: "title",
|
|
13213
13213
|
close: "close",
|
|
13214
13214
|
imageContainer: "image-container",
|
|
@@ -13377,7 +13377,7 @@ class Chip {
|
|
|
13377
13377
|
//
|
|
13378
13378
|
//--------------------------------------------------------------------------
|
|
13379
13379
|
renderChipImage() {
|
|
13380
|
-
return (hAsync("div", { class: CSS$
|
|
13380
|
+
return (hAsync("div", { class: CSS$_.imageContainer }, hAsync("slot", { name: SLOTS$p.image, onSlotchange: this.handleSlotImageChange })));
|
|
13381
13381
|
}
|
|
13382
13382
|
renderSelectionIcon() {
|
|
13383
13383
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -13388,17 +13388,17 @@ class Chip {
|
|
|
13388
13388
|
? ICONS$e.checkedSingle
|
|
13389
13389
|
: undefined;
|
|
13390
13390
|
return (hAsync("div", { class: {
|
|
13391
|
-
[CSS$
|
|
13392
|
-
[CSS$
|
|
13391
|
+
[CSS$_.selectIcon]: true,
|
|
13392
|
+
[CSS$_.selectIconActive]: this.selectionMode === "multiple" || this.selected,
|
|
13393
13393
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
13394
13394
|
}
|
|
13395
13395
|
renderCloseButton() {
|
|
13396
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
13396
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$_.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
13397
13397
|
// 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
13398
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$e.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
13399
13399
|
}
|
|
13400
13400
|
renderIcon() {
|
|
13401
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
13401
|
+
return (hAsync("calcite-icon", { class: CSS$_.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
13402
13402
|
}
|
|
13403
13403
|
render() {
|
|
13404
13404
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -13412,21 +13412,21 @@ class Chip {
|
|
|
13412
13412
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
13413
13413
|
? toAriaBoolean(this.selected)
|
|
13414
13414
|
: 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$
|
|
13415
|
+
[CSS$_.container]: true,
|
|
13416
|
+
[CSS$_.textSlotted]: this.hasText,
|
|
13417
|
+
[CSS$_.imageSlotted]: this.hasImage,
|
|
13418
|
+
[CSS$_.selectable]: this.selectionMode !== "none",
|
|
13419
|
+
[CSS$_.multiple]: this.selectionMode === "multiple",
|
|
13420
|
+
[CSS$_.closable]: this.closable,
|
|
13421
|
+
[CSS$_.nonInteractive]: !this.interactive,
|
|
13422
|
+
[CSS$_.isCircle]: !this.closable &&
|
|
13423
13423
|
!this.hasText &&
|
|
13424
13424
|
(!this.icon || !this.hasImage) &&
|
|
13425
13425
|
(this.selectionMode === "none" ||
|
|
13426
13426
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)),
|
|
13427
13427
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
13428
13428
|
// 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$
|
|
13429
|
+
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
13430
|
}
|
|
13431
13431
|
static get assetsDirs() { return ["assets"]; }
|
|
13432
13432
|
get el() { return getElement(this); }
|
|
@@ -15748,7 +15748,7 @@ function zeroArray(array, length) {
|
|
|
15748
15748
|
|
|
15749
15749
|
var color = Color;
|
|
15750
15750
|
|
|
15751
|
-
const CSS$
|
|
15751
|
+
const CSS$Z = {
|
|
15752
15752
|
channel: "channel",
|
|
15753
15753
|
channels: "channels",
|
|
15754
15754
|
colorField: "color-field",
|
|
@@ -16097,7 +16097,7 @@ class ColorPicker {
|
|
|
16097
16097
|
const { channelMode: activeChannelMode, messages } = this;
|
|
16098
16098
|
const selected = channelMode === activeChannelMode;
|
|
16099
16099
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
16100
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
16100
|
+
return (hAsync("calcite-tab-title", { class: CSS$Z.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
16101
16101
|
};
|
|
16102
16102
|
this.renderChannelsTab = (channelMode) => {
|
|
16103
16103
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -16108,7 +16108,7 @@ class ColorPicker {
|
|
|
16108
16108
|
: [messages.hue, messages.saturation, messages.value];
|
|
16109
16109
|
const direction = getElementDir(this.el);
|
|
16110
16110
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
16111
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
16111
|
+
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
16112
|
const isAlphaChannel = index === 3;
|
|
16113
16113
|
if (isAlphaChannel) {
|
|
16114
16114
|
channelValue =
|
|
@@ -16119,7 +16119,7 @@ class ColorPicker {
|
|
|
16119
16119
|
}))));
|
|
16120
16120
|
};
|
|
16121
16121
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
16122
|
-
return (hAsync("calcite-input-number", { class: CSS$
|
|
16122
|
+
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
16123
|
// workaround to ensure input borders overlap as desired
|
|
16124
16124
|
// this is because the build transforms margin-left to its
|
|
16125
16125
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -16309,7 +16309,7 @@ class ColorPicker {
|
|
|
16309
16309
|
this.shiftKeyChannelAdjustment = 0;
|
|
16310
16310
|
const { key } = event;
|
|
16311
16311
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
16312
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
16312
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$Z.channel))) {
|
|
16313
16313
|
return;
|
|
16314
16314
|
}
|
|
16315
16315
|
const { shiftKey } = event;
|
|
@@ -16401,35 +16401,35 @@ class ColorPicker {
|
|
|
16401
16401
|
const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(colorFieldScopeLeft, colorFieldScopeTop);
|
|
16402
16402
|
const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
|
|
16403
16403
|
const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
|
|
16404
|
-
return (hAsync("div", { class: CSS$
|
|
16404
|
+
return (hAsync("div", { class: CSS$Z.container }, hAsync("div", { class: CSS$Z.controlAndScope }, hAsync("canvas", { class: CSS$Z.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16405
16405
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
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$
|
|
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$Z.scope]: true, [CSS$Z.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
|
|
16407
16407
|
top: `${adjustedColorFieldScopeTop || 0}px`,
|
|
16408
16408
|
left: `${adjustedColorFieldScopeLeft || 0}px`,
|
|
16409
16409
|
}, tabindex: "0",
|
|
16410
16410
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16411
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$
|
|
16411
|
+
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
16412
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
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$
|
|
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$Z.scope]: true, [CSS$Z.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
|
|
16414
16414
|
top: `${adjustedHueScopeTop}px`,
|
|
16415
16415
|
left: `${adjustedHueScopeLeft}px`,
|
|
16416
16416
|
}, tabindex: "0",
|
|
16417
16417
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16418
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$
|
|
16418
|
+
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
16419
|
// 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$
|
|
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$Z.scope]: true, [CSS$Z.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
|
|
16421
16421
|
top: `${adjustedOpacityScopeTop}px`,
|
|
16422
16422
|
left: `${adjustedOpacityScopeLeft}px`,
|
|
16423
16423
|
}, tabindex: "0",
|
|
16424
16424
|
// 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
16425
|
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$
|
|
16426
|
+
[CSS$Z.controlSection]: true,
|
|
16427
|
+
[CSS$Z.section]: true,
|
|
16428
|
+
} }, 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: {
|
|
16429
|
+
[CSS$Z.colorModeContainer]: true,
|
|
16430
|
+
[CSS$Z.splitSection]: true,
|
|
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$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 }, [
|
|
16432
|
+
...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
16433
|
])) : null))));
|
|
16434
16434
|
}
|
|
16435
16435
|
// --------------------------------------------------------------------------
|
|
@@ -16800,7 +16800,7 @@ class ColorPicker {
|
|
|
16800
16800
|
}; }
|
|
16801
16801
|
}
|
|
16802
16802
|
|
|
16803
|
-
const CSS$
|
|
16803
|
+
const CSS$Y = {
|
|
16804
16804
|
container: "container",
|
|
16805
16805
|
hexInput: "hex-input",
|
|
16806
16806
|
opacityInput: "opacity-input",
|
|
@@ -16968,9 +16968,9 @@ class ColorPickerHexInput {
|
|
|
16968
16968
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
16969
16969
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16970
16970
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16971
|
-
return (hAsync("div", { class: CSS$
|
|
16971
|
+
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
16972
|
// 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$
|
|
16973
|
+
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
16974
|
// 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
16975
|
ref: this.storeOpacityInputRef })) : null));
|
|
16976
16976
|
}
|
|
@@ -17066,7 +17066,7 @@ class ColorPickerHexInput {
|
|
|
17066
17066
|
}; }
|
|
17067
17067
|
}
|
|
17068
17068
|
|
|
17069
|
-
const CSS$
|
|
17069
|
+
const CSS$X = {
|
|
17070
17070
|
swatch: "swatch",
|
|
17071
17071
|
noColorSwatch: "swatch--no-color",
|
|
17072
17072
|
checker: "checker",
|
|
@@ -17104,8 +17104,8 @@ class ColorPickerSwatch {
|
|
|
17104
17104
|
render() {
|
|
17105
17105
|
const isEmpty = !this.internalColor;
|
|
17106
17106
|
const classes = {
|
|
17107
|
-
[CSS$
|
|
17108
|
-
[CSS$
|
|
17107
|
+
[CSS$X.swatch]: true,
|
|
17108
|
+
[CSS$X.noColorSwatch]: isEmpty,
|
|
17109
17109
|
};
|
|
17110
17110
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
17111
17111
|
}
|
|
@@ -17131,7 +17131,7 @@ class ColorPickerSwatch {
|
|
|
17131
17131
|
const alpha = internalColor.alpha();
|
|
17132
17132
|
const hex = hexify(internalColor);
|
|
17133
17133
|
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$
|
|
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$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
17135
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
17136
17136
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
17137
17137
|
}
|
|
@@ -18876,7 +18876,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18876
18876
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18877
18877
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18878
18878
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
18879
|
-
const CSS$
|
|
18879
|
+
const CSS$W = {
|
|
18880
18880
|
listContainer: "list-container",
|
|
18881
18881
|
};
|
|
18882
18882
|
|
|
@@ -18904,11 +18904,11 @@ function isSingleLike(selectionMode) {
|
|
|
18904
18904
|
return selectionMode.includes("single");
|
|
18905
18905
|
}
|
|
18906
18906
|
|
|
18907
|
-
const CSS$
|
|
18907
|
+
const CSS$V = {
|
|
18908
18908
|
button: "x-button",
|
|
18909
18909
|
};
|
|
18910
18910
|
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
18911
|
-
return (hAsync("button", { "aria-label": label, class: CSS$
|
|
18911
|
+
return (hAsync("button", { "aria-label": label, class: CSS$V.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18912
18912
|
// 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
18913
|
ref: ref },
|
|
18914
18914
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
@@ -19106,7 +19106,7 @@ class Combobox {
|
|
|
19106
19106
|
event.preventDefault();
|
|
19107
19107
|
return;
|
|
19108
19108
|
}
|
|
19109
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
19109
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$V.button))) {
|
|
19110
19110
|
this.clearValue();
|
|
19111
19111
|
event.preventDefault();
|
|
19112
19112
|
return;
|
|
@@ -19714,7 +19714,7 @@ class Combobox {
|
|
|
19714
19714
|
renderFloatingUIContainer() {
|
|
19715
19715
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19716
19716
|
const classes = {
|
|
19717
|
-
[CSS$
|
|
19717
|
+
[CSS$W.listContainer]: true,
|
|
19718
19718
|
[FloatingCSS.animation]: true,
|
|
19719
19719
|
[FloatingCSS.animationActive]: open,
|
|
19720
19720
|
};
|
|
@@ -19813,7 +19813,7 @@ class Combobox {
|
|
|
19813
19813
|
}; }
|
|
19814
19814
|
}
|
|
19815
19815
|
|
|
19816
|
-
const CSS$
|
|
19816
|
+
const CSS$U = {
|
|
19817
19817
|
icon: "icon",
|
|
19818
19818
|
iconActive: "icon--active",
|
|
19819
19819
|
iconIndent: "icon--indent",
|
|
@@ -19892,20 +19892,20 @@ class ComboboxItem {
|
|
|
19892
19892
|
// --------------------------------------------------------------------------
|
|
19893
19893
|
renderIcon(iconPath) {
|
|
19894
19894
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
19895
|
-
[CSS$
|
|
19896
|
-
[CSS$
|
|
19897
|
-
[CSS$
|
|
19895
|
+
[CSS$U.custom]: !!this.icon,
|
|
19896
|
+
[CSS$U.iconActive]: this.icon && this.selected,
|
|
19897
|
+
[CSS$U.iconIndent]: true,
|
|
19898
19898
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
19899
19899
|
}
|
|
19900
19900
|
renderSelectIndicator(showDot, iconPath) {
|
|
19901
19901
|
return showDot ? (hAsync("span", { class: {
|
|
19902
|
-
[CSS$
|
|
19903
|
-
[CSS$
|
|
19904
|
-
[CSS$
|
|
19902
|
+
[CSS$U.icon]: true,
|
|
19903
|
+
[CSS$U.dot]: true,
|
|
19904
|
+
[CSS$U.iconIndent]: true,
|
|
19905
19905
|
} })) : (hAsync("calcite-icon", { class: {
|
|
19906
|
-
[CSS$
|
|
19907
|
-
[CSS$
|
|
19908
|
-
[CSS$
|
|
19906
|
+
[CSS$U.icon]: true,
|
|
19907
|
+
[CSS$U.iconActive]: this.selected,
|
|
19908
|
+
[CSS$U.iconIndent]: true,
|
|
19909
19909
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
19910
19910
|
}
|
|
19911
19911
|
renderChildren() {
|
|
@@ -19920,10 +19920,10 @@ class ComboboxItem {
|
|
|
19920
19920
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19921
19921
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
19922
19922
|
const classes = {
|
|
19923
|
-
[CSS$
|
|
19924
|
-
[CSS$
|
|
19925
|
-
[CSS$
|
|
19926
|
-
[CSS$
|
|
19923
|
+
[CSS$U.label]: true,
|
|
19924
|
+
[CSS$U.selected]: this.selected,
|
|
19925
|
+
[CSS$U.active]: this.active,
|
|
19926
|
+
[CSS$U.single]: isSingleSelect,
|
|
19927
19927
|
};
|
|
19928
19928
|
const depth = getDepth$1();
|
|
19929
19929
|
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 +19956,7 @@ class ComboboxItem {
|
|
|
19956
19956
|
}; }
|
|
19957
19957
|
}
|
|
19958
19958
|
|
|
19959
|
-
const CSS$
|
|
19959
|
+
const CSS$T = {
|
|
19960
19960
|
list: "list",
|
|
19961
19961
|
label: "label",
|
|
19962
19962
|
title: "title",
|
|
@@ -19992,7 +19992,7 @@ class ComboboxItemGroup {
|
|
|
19992
19992
|
render() {
|
|
19993
19993
|
const { el, scale } = this;
|
|
19994
19994
|
const depth = getDepth$1();
|
|
19995
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
19995
|
+
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
19996
|
}
|
|
19997
19997
|
get el() { return getElement(this); }
|
|
19998
19998
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -21179,7 +21179,7 @@ class DatePickerMonth {
|
|
|
21179
21179
|
}; }
|
|
21180
21180
|
}
|
|
21181
21181
|
|
|
21182
|
-
const CSS$
|
|
21182
|
+
const CSS$S = {
|
|
21183
21183
|
header: "header",
|
|
21184
21184
|
month: "month",
|
|
21185
21185
|
chevron: "chevron",
|
|
@@ -21279,7 +21279,7 @@ class DatePickerMonthHeader {
|
|
|
21279
21279
|
this.setNextPrevMonthDates();
|
|
21280
21280
|
}
|
|
21281
21281
|
render() {
|
|
21282
|
-
return hAsync("div", { class: CSS$
|
|
21282
|
+
return hAsync("div", { class: CSS$S.header }, this.renderContent());
|
|
21283
21283
|
}
|
|
21284
21284
|
renderContent() {
|
|
21285
21285
|
const { messages, localeData, activeDate } = this;
|
|
@@ -21302,12 +21302,12 @@ class DatePickerMonthHeader {
|
|
|
21302
21302
|
const order = getOrder(unitOrder);
|
|
21303
21303
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
21304
21304
|
const suffix = localeData.year?.suffix;
|
|
21305
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
21305
|
+
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
21306
|
year: true,
|
|
21307
|
-
[CSS$
|
|
21307
|
+
[CSS$S.yearSuffix]: !!suffix,
|
|
21308
21308
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21309
21309
|
// 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$
|
|
21310
|
+
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
21311
|
}
|
|
21312
21312
|
setNextPrevMonthDates() {
|
|
21313
21313
|
if (!this.activeDate) {
|
|
@@ -21809,7 +21809,7 @@ class Dropdown {
|
|
|
21809
21809
|
}; }
|
|
21810
21810
|
}
|
|
21811
21811
|
|
|
21812
|
-
const CSS$
|
|
21812
|
+
const CSS$R = {
|
|
21813
21813
|
container: "container",
|
|
21814
21814
|
containerLink: "container--link",
|
|
21815
21815
|
containerMulti: "container--multi-selection",
|
|
@@ -21857,8 +21857,8 @@ class DropdownGroup {
|
|
|
21857
21857
|
const groupTitle = this.groupTitle ? (hAsync("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
21858
21858
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21859
21859
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21860
|
-
[CSS$
|
|
21861
|
-
[`${CSS$
|
|
21860
|
+
[CSS$R.container]: true,
|
|
21861
|
+
[`${CSS$R.container}--${this.scale}`]: true,
|
|
21862
21862
|
} }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21863
21863
|
}
|
|
21864
21864
|
//--------------------------------------------------------------------------
|
|
@@ -21952,9 +21952,9 @@ class DropdownItem {
|
|
|
21952
21952
|
}
|
|
21953
21953
|
render() {
|
|
21954
21954
|
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$
|
|
21955
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$R.iconStart, flipRtl: iconFlipRtl === "start" || iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
21956
|
+
const contentNode = (hAsync("span", { class: CSS$R.itemContent }, hAsync("slot", null)));
|
|
21957
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$R.iconEnd, flipRtl: iconFlipRtl === "end" || iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
21958
21958
|
const slottedContent = this.iconStart && this.iconEnd
|
|
21959
21959
|
? [iconStartEl, contentNode, iconEndEl]
|
|
21960
21960
|
: this.iconStart
|
|
@@ -21962,7 +21962,7 @@ class DropdownItem {
|
|
|
21962
21962
|
: this.iconEnd
|
|
21963
21963
|
? [contentNode, iconEndEl]
|
|
21964
21964
|
: contentNode;
|
|
21965
|
-
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$
|
|
21965
|
+
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$R.link, href: href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
21966
21966
|
// 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
21967
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
21968
21968
|
const itemRole = href
|
|
@@ -21974,13 +21974,13 @@ class DropdownItem {
|
|
|
21974
21974
|
: "menuitem";
|
|
21975
21975
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
21976
21976
|
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$
|
|
21977
|
+
[CSS$R.container]: true,
|
|
21978
|
+
[CSS$R.containerLink]: !!href,
|
|
21979
|
+
[`${CSS$R.container}--${scale}`]: true,
|
|
21980
|
+
[CSS$R.containerMulti]: selectionMode === "multiple",
|
|
21981
|
+
[CSS$R.containerSingle]: selectionMode === "single",
|
|
21982
|
+
[CSS$R.containerNone]: selectionMode === "none",
|
|
21983
|
+
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$R.icon, icon: selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
|
|
21984
21984
|
}
|
|
21985
21985
|
//--------------------------------------------------------------------------
|
|
21986
21986
|
//
|
|
@@ -22087,7 +22087,7 @@ class DropdownItem {
|
|
|
22087
22087
|
}; }
|
|
22088
22088
|
}
|
|
22089
22089
|
|
|
22090
|
-
const CSS$
|
|
22090
|
+
const CSS$Q = {
|
|
22091
22091
|
button: "button",
|
|
22092
22092
|
};
|
|
22093
22093
|
const ICONS$d = {
|
|
@@ -22148,7 +22148,7 @@ class Fab {
|
|
|
22148
22148
|
render() {
|
|
22149
22149
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl, } = this;
|
|
22150
22150
|
const title = !textEnabled ? label || text || null : null;
|
|
22151
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
22151
|
+
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
22152
|
// 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
22153
|
ref: (buttonEl) => {
|
|
22154
22154
|
this.buttonEl = buttonEl;
|
|
@@ -22178,7 +22178,7 @@ class Fab {
|
|
|
22178
22178
|
}; }
|
|
22179
22179
|
}
|
|
22180
22180
|
|
|
22181
|
-
const CSS$
|
|
22181
|
+
const CSS$P = {
|
|
22182
22182
|
container: "container",
|
|
22183
22183
|
searchIcon: "search-icon",
|
|
22184
22184
|
};
|
|
@@ -22307,7 +22307,7 @@ class Filter {
|
|
|
22307
22307
|
// --------------------------------------------------------------------------
|
|
22308
22308
|
render() {
|
|
22309
22309
|
const { disabled, scale } = this;
|
|
22310
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
22310
|
+
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
22311
|
// 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
22312
|
ref: (el) => {
|
|
22313
22313
|
this.textInput = el;
|
|
@@ -22346,7 +22346,7 @@ class Filter {
|
|
|
22346
22346
|
}; }
|
|
22347
22347
|
}
|
|
22348
22348
|
|
|
22349
|
-
const CSS$
|
|
22349
|
+
const CSS$O = {
|
|
22350
22350
|
frame: "frame",
|
|
22351
22351
|
frameAdvancing: "frame--advancing",
|
|
22352
22352
|
frameRetreating: "frame--retreating",
|
|
@@ -22468,9 +22468,9 @@ class Flow {
|
|
|
22468
22468
|
render() {
|
|
22469
22469
|
const { flowDirection } = this;
|
|
22470
22470
|
const frameDirectionClasses = {
|
|
22471
|
-
[CSS$
|
|
22472
|
-
[CSS$
|
|
22473
|
-
[CSS$
|
|
22471
|
+
[CSS$O.frame]: true,
|
|
22472
|
+
[CSS$O.frameAdvancing]: flowDirection === "advancing",
|
|
22473
|
+
[CSS$O.frameRetreating]: flowDirection === "retreating",
|
|
22474
22474
|
};
|
|
22475
22475
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
22476
22476
|
}
|
|
@@ -22493,7 +22493,7 @@ class Flow {
|
|
|
22493
22493
|
}; }
|
|
22494
22494
|
}
|
|
22495
22495
|
|
|
22496
|
-
const CSS$
|
|
22496
|
+
const CSS$N = {
|
|
22497
22497
|
actionBarContainer: "action-bar-container",
|
|
22498
22498
|
backButton: "back-button",
|
|
22499
22499
|
container: "container",
|
|
@@ -22528,7 +22528,7 @@ const SLOTS$n = {
|
|
|
22528
22528
|
footerActions: "footer-actions",
|
|
22529
22529
|
};
|
|
22530
22530
|
|
|
22531
|
-
const CSS$
|
|
22531
|
+
const CSS$M = {
|
|
22532
22532
|
backButton: "back-button",
|
|
22533
22533
|
};
|
|
22534
22534
|
const ICONS$a = {
|
|
@@ -22676,7 +22676,7 @@ class FlowItem {
|
|
|
22676
22676
|
const { showBackButton, backButtonClick, messages } = this;
|
|
22677
22677
|
const label = messages.back;
|
|
22678
22678
|
const icon = rtl ? ICONS$a.backRight : ICONS$a.backLeft;
|
|
22679
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
22679
|
+
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
22680
|
// 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
22681
|
ref: this.setBackRef })) : null;
|
|
22682
22682
|
}
|
|
@@ -22940,7 +22940,7 @@ class Graph {
|
|
|
22940
22940
|
}; }
|
|
22941
22941
|
}
|
|
22942
22942
|
|
|
22943
|
-
const CSS$
|
|
22943
|
+
const CSS$L = {
|
|
22944
22944
|
handle: "handle",
|
|
22945
22945
|
handleActivated: "handle--activated",
|
|
22946
22946
|
};
|
|
@@ -23063,7 +23063,7 @@ class Handle {
|
|
|
23063
23063
|
render() {
|
|
23064
23064
|
return (
|
|
23065
23065
|
// 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$
|
|
23066
|
+
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
23067
|
// 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
23068
|
ref: (el) => {
|
|
23069
23069
|
this.handleButton = el;
|
|
@@ -23102,7 +23102,7 @@ class Handle {
|
|
|
23102
23102
|
}; }
|
|
23103
23103
|
}
|
|
23104
23104
|
|
|
23105
|
-
const CSS$
|
|
23105
|
+
const CSS$K = {
|
|
23106
23106
|
icon: "icon",
|
|
23107
23107
|
flipRtl: "flip-rtl",
|
|
23108
23108
|
};
|
|
@@ -23150,7 +23150,7 @@ class Icon {
|
|
|
23150
23150
|
const semantic = !!textLabel;
|
|
23151
23151
|
const paths = [].concat(pathData || "");
|
|
23152
23152
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
23153
|
-
[CSS$
|
|
23153
|
+
[CSS$K.flipRtl]: dir === "rtl" && flipRtl,
|
|
23154
23154
|
svg: true,
|
|
23155
23155
|
}, 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
23156
|
}
|
|
@@ -23196,7 +23196,7 @@ class Icon {
|
|
|
23196
23196
|
}; }
|
|
23197
23197
|
}
|
|
23198
23198
|
|
|
23199
|
-
const CSS$
|
|
23199
|
+
const CSS$J = {
|
|
23200
23200
|
wrapper: "wrapper",
|
|
23201
23201
|
confirmChangesButton: "confirm-changes-button",
|
|
23202
23202
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -23346,16 +23346,16 @@ class InlineEditable {
|
|
|
23346
23346
|
updateHostInteraction(this);
|
|
23347
23347
|
}
|
|
23348
23348
|
render() {
|
|
23349
|
-
return (hAsync("div", { class: CSS$
|
|
23349
|
+
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
23350
|
opacity: this.editingEnabled ? "0" : "1",
|
|
23351
23351
|
width: this.editingEnabled ? "0" : "inherit",
|
|
23352
23352
|
}, type: "button",
|
|
23353
23353
|
// 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
23354
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
23355
|
-
hAsync("div", { class: CSS$
|
|
23355
|
+
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
23356
|
// 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
23357
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
23358
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
23358
|
+
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
23359
|
// 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
23360
|
ref: (el) => (this.confirmEditingButton = el) }),
|
|
23361
23361
|
])));
|
|
@@ -23441,7 +23441,7 @@ class InlineEditable {
|
|
|
23441
23441
|
}; }
|
|
23442
23442
|
}
|
|
23443
23443
|
|
|
23444
|
-
const CSS$
|
|
23444
|
+
const CSS$I = {
|
|
23445
23445
|
loader: "loader",
|
|
23446
23446
|
clearButton: "clear-button",
|
|
23447
23447
|
editingEnabled: "editing-enabled",
|
|
@@ -24025,38 +24025,38 @@ class Input {
|
|
|
24025
24025
|
// --------------------------------------------------------------------------
|
|
24026
24026
|
render() {
|
|
24027
24027
|
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$
|
|
24028
|
+
const loader = (hAsync("div", { class: CSS$I.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
24029
|
+
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" })));
|
|
24030
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$I.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
24031
24031
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
24032
24032
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24033
|
-
[CSS$
|
|
24034
|
-
[CSS$
|
|
24033
|
+
[CSS$I.numberButtonItem]: true,
|
|
24034
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24035
24035
|
}, "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
24036
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24037
|
-
[CSS$
|
|
24038
|
-
[CSS$
|
|
24037
|
+
[CSS$I.numberButtonItem]: true,
|
|
24038
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24039
24039
|
}, "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$
|
|
24040
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$I.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
24041
|
+
const prefixText = hAsync("div", { class: CSS$I.prefix }, this.prefixText);
|
|
24042
|
+
const suffixText = hAsync("div", { class: CSS$I.suffix }, this.suffixText);
|
|
24043
24043
|
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
24044
|
// 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
24045
|
ref: this.setChildNumberElRef })) : null;
|
|
24046
24046
|
const childEl = this.type !== "number"
|
|
24047
24047
|
? [
|
|
24048
24048
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
24049
|
-
[CSS$
|
|
24050
|
-
[CSS$
|
|
24049
|
+
[CSS$I.editingEnabled]: this.editingEnabled,
|
|
24050
|
+
[CSS$I.inlineChild]: !!this.inlineEditableEl,
|
|
24051
24051
|
}, 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
24052
|
// 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
24053
|
ref: this.setChildElRef }),
|
|
24054
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
24054
|
+
this.isTextarea ? (hAsync("div", { class: CSS$I.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null,
|
|
24055
24055
|
]
|
|
24056
24056
|
: null;
|
|
24057
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
24057
|
+
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
24058
|
? numberButtonsHorizontalDown
|
|
24059
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
24059
|
+
: 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
24060
|
? numberButtonsVertical
|
|
24061
24061
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24062
24062
|
? numberButtonsHorizontalUp
|
|
@@ -24131,7 +24131,7 @@ class Input {
|
|
|
24131
24131
|
}; }
|
|
24132
24132
|
}
|
|
24133
24133
|
|
|
24134
|
-
const CSS$
|
|
24134
|
+
const CSS$H = {
|
|
24135
24135
|
assistiveText: "assistive-text",
|
|
24136
24136
|
menu: "menu-container",
|
|
24137
24137
|
menuActive: "menu-container--active",
|
|
@@ -25598,9 +25598,9 @@ class InputDatePicker {
|
|
|
25598
25598
|
// 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
25599
|
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
25600
|
// 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$
|
|
25601
|
+
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: {
|
|
25602
|
+
[CSS$H.menu]: true,
|
|
25603
|
+
[CSS$H.menuActive]: this.open,
|
|
25604
25604
|
}, id: this.dialogId, role: "dialog",
|
|
25605
25605
|
// 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
25606
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -25622,7 +25622,7 @@ class InputDatePicker {
|
|
|
25622
25622
|
ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25623
25623
|
}
|
|
25624
25624
|
renderToggleIcon(open) {
|
|
25625
|
-
return (hAsync("span", { class: CSS$
|
|
25625
|
+
return (hAsync("span", { class: CSS$H.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
25626
25626
|
}
|
|
25627
25627
|
setReferenceEl() {
|
|
25628
25628
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -25887,7 +25887,7 @@ class InputMessage {
|
|
|
25887
25887
|
}; }
|
|
25888
25888
|
}
|
|
25889
25889
|
|
|
25890
|
-
const CSS$
|
|
25890
|
+
const CSS$G = {
|
|
25891
25891
|
loader: "loader",
|
|
25892
25892
|
clearButton: "clear-button",
|
|
25893
25893
|
editingEnabled: "editing-enabled",
|
|
@@ -26402,27 +26402,27 @@ class InputNumber {
|
|
|
26402
26402
|
// --------------------------------------------------------------------------
|
|
26403
26403
|
render() {
|
|
26404
26404
|
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$
|
|
26405
|
+
const loader = (hAsync("div", { class: CSS$G.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26406
|
+
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" })));
|
|
26407
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$G.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26408
26408
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
26409
26409
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26410
|
-
[CSS$
|
|
26411
|
-
[CSS$
|
|
26410
|
+
[CSS$G.numberButtonItem]: true,
|
|
26411
|
+
[CSS$G.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26412
26412
|
}, "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
26413
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26414
|
-
[CSS$
|
|
26415
|
-
[CSS$
|
|
26414
|
+
[CSS$G.numberButtonItem]: true,
|
|
26415
|
+
[CSS$G.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26416
26416
|
}, "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$
|
|
26417
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$G.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
26418
|
+
const prefixText = hAsync("div", { class: CSS$G.prefix }, this.prefixText);
|
|
26419
|
+
const suffixText = hAsync("div", { class: CSS$G.suffix }, this.suffixText);
|
|
26420
26420
|
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
26421
|
// 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
26422
|
ref: this.setChildNumberElRef }));
|
|
26423
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26423
|
+
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
26424
|
? numberButtonsHorizontalDown
|
|
26425
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
26425
|
+
: 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
26426
|
? numberButtonsHorizontalUp
|
|
26427
26427
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26428
26428
|
}
|
|
@@ -26490,7 +26490,7 @@ class InputNumber {
|
|
|
26490
26490
|
}; }
|
|
26491
26491
|
}
|
|
26492
26492
|
|
|
26493
|
-
const CSS$
|
|
26493
|
+
const CSS$F = {
|
|
26494
26494
|
loader: "loader",
|
|
26495
26495
|
clearButton: "clear-button",
|
|
26496
26496
|
editingEnabled: "editing-enabled",
|
|
@@ -26790,18 +26790,18 @@ class InputText {
|
|
|
26790
26790
|
// --------------------------------------------------------------------------
|
|
26791
26791
|
render() {
|
|
26792
26792
|
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$
|
|
26793
|
+
const loader = (hAsync("div", { class: CSS$F.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26794
|
+
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" })));
|
|
26795
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$F.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26796
|
+
const prefixText = hAsync("div", { class: CSS$F.prefix }, this.prefixText);
|
|
26797
|
+
const suffixText = hAsync("div", { class: CSS$F.suffix }, this.suffixText);
|
|
26798
26798
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
26799
|
-
[CSS$
|
|
26800
|
-
[CSS$
|
|
26799
|
+
[CSS$F.editingEnabled]: this.editingEnabled,
|
|
26800
|
+
[CSS$F.inlineChild]: !!this.inlineEditableEl,
|
|
26801
26801
|
}, 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
26802
|
// 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
26803
|
ref: this.setChildElRef }));
|
|
26804
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26804
|
+
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
26805
|
}
|
|
26806
26806
|
static get assetsDirs() { return ["assets"]; }
|
|
26807
26807
|
get el() { return getElement(this); }
|
|
@@ -27117,7 +27117,7 @@ function toISOTimeString(value, includeSeconds = true) {
|
|
|
27117
27117
|
return isoTimeString;
|
|
27118
27118
|
}
|
|
27119
27119
|
|
|
27120
|
-
const CSS$
|
|
27120
|
+
const CSS$E = {
|
|
27121
27121
|
toggleIcon: "toggle-icon",
|
|
27122
27122
|
};
|
|
27123
27123
|
|
|
@@ -28890,7 +28890,7 @@ class InputTimePicker {
|
|
|
28890
28890
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
28891
28891
|
}
|
|
28892
28892
|
renderToggleIcon(open) {
|
|
28893
|
-
return (hAsync("span", { class: CSS$
|
|
28893
|
+
return (hAsync("span", { class: CSS$E.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
28894
28894
|
}
|
|
28895
28895
|
static get delegatesFocus() { return true; }
|
|
28896
28896
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -29130,7 +29130,7 @@ class InputTimeZone {
|
|
|
29130
29130
|
}; }
|
|
29131
29131
|
}
|
|
29132
29132
|
|
|
29133
|
-
const CSS$
|
|
29133
|
+
const CSS$D = {
|
|
29134
29134
|
container: "container",
|
|
29135
29135
|
};
|
|
29136
29136
|
|
|
@@ -29170,7 +29170,7 @@ class Label {
|
|
|
29170
29170
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
29171
29171
|
}
|
|
29172
29172
|
render() {
|
|
29173
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
29173
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$D.container }, hAsync("slot", null))));
|
|
29174
29174
|
}
|
|
29175
29175
|
get el() { return getElement(this); }
|
|
29176
29176
|
static get style() { return labelCss; }
|
|
@@ -29305,7 +29305,7 @@ class Link {
|
|
|
29305
29305
|
}; }
|
|
29306
29306
|
}
|
|
29307
29307
|
|
|
29308
|
-
const CSS$
|
|
29308
|
+
const CSS$C = {
|
|
29309
29309
|
container: "container",
|
|
29310
29310
|
containerBorderSelected: "container--border-selected",
|
|
29311
29311
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -29372,7 +29372,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
29372
29372
|
}
|
|
29373
29373
|
}
|
|
29374
29374
|
|
|
29375
|
-
const CSS$
|
|
29375
|
+
const CSS$B = {
|
|
29376
29376
|
container: "container",
|
|
29377
29377
|
table: "table",
|
|
29378
29378
|
scrim: "scrim",
|
|
@@ -32408,7 +32408,7 @@ Sortable.mount(new AutoScrollPlugin());
|
|
|
32408
32408
|
Sortable.mount(Remove, Revert);
|
|
32409
32409
|
|
|
32410
32410
|
const sortableComponentSet = new Set();
|
|
32411
|
-
const CSS$
|
|
32411
|
+
const CSS$A = {
|
|
32412
32412
|
ghostClass: "calcite-sortable--ghost",
|
|
32413
32413
|
chosenClass: "calcite-sortable--chosen",
|
|
32414
32414
|
dragClass: "calcite-sortable--drag",
|
|
@@ -32425,7 +32425,7 @@ function connectSortableComponent(component) {
|
|
|
32425
32425
|
const { group, handleSelector: handle, dragSelector: draggable } = component;
|
|
32426
32426
|
component.sortable = Sortable.create(component.el, {
|
|
32427
32427
|
dataIdAttr,
|
|
32428
|
-
...CSS$
|
|
32428
|
+
...CSS$A,
|
|
32429
32429
|
...(!!draggable && { draggable }),
|
|
32430
32430
|
...(!!group && {
|
|
32431
32431
|
group: {
|
|
@@ -32479,7 +32479,7 @@ function onDragEnd() {
|
|
|
32479
32479
|
Array.from(sortableComponentSet).forEach((component) => component.onDragEnd());
|
|
32480
32480
|
}
|
|
32481
32481
|
|
|
32482
|
-
const CSS$
|
|
32482
|
+
const CSS$z = {
|
|
32483
32483
|
container: "container",
|
|
32484
32484
|
actionsStart: "actions-start",
|
|
32485
32485
|
contentStart: "content-start",
|
|
@@ -32808,9 +32808,9 @@ class List$1 {
|
|
|
32808
32808
|
// --------------------------------------------------------------------------
|
|
32809
32809
|
render() {
|
|
32810
32810
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
|
|
32811
|
-
return (hAsync("div", { class: CSS$
|
|
32811
|
+
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
32812
|
// 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$
|
|
32813
|
+
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
32814
|
}
|
|
32815
32815
|
// --------------------------------------------------------------------------
|
|
32816
32816
|
//
|
|
@@ -33226,47 +33226,47 @@ class ListItem {
|
|
|
33226
33226
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
33227
33227
|
return null;
|
|
33228
33228
|
}
|
|
33229
|
-
return (hAsync("td", { class: CSS$
|
|
33229
|
+
return (hAsync("td", { class: CSS$C.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
33230
33230
|
? selectionMode === "multiple"
|
|
33231
33231
|
? ICONS$8.selectedMultiple
|
|
33232
33232
|
: ICONS$8.selectedSingle
|
|
33233
33233
|
: ICONS$8.unselected, scale: "s" })));
|
|
33234
33234
|
}
|
|
33235
33235
|
renderDragHandle() {
|
|
33236
|
-
return this.dragHandle ? (hAsync("td", { class: CSS$
|
|
33236
|
+
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
33237
|
}
|
|
33238
33238
|
renderOpen() {
|
|
33239
33239
|
const { el, open, openable, parentListEl } = this;
|
|
33240
33240
|
const dir = getElementDir(el);
|
|
33241
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
33241
|
+
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
33242
|
}
|
|
33243
33243
|
renderActionsStart() {
|
|
33244
33244
|
const { label, hasActionsStart } = this;
|
|
33245
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
33245
|
+
return (hAsync("td", { "aria-label": label, class: CSS$C.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
33246
33246
|
// 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
33247
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$i.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
33248
33248
|
}
|
|
33249
33249
|
renderActionsEnd() {
|
|
33250
33250
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
33251
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
33251
|
+
return (hAsync("td", { "aria-label": label, class: CSS$C.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
33252
33252
|
// 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
33253
|
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
33254
|
}
|
|
33255
33255
|
renderContentStart() {
|
|
33256
33256
|
const { hasContentStart } = this;
|
|
33257
|
-
return (hAsync("div", { class: CSS$
|
|
33257
|
+
return (hAsync("div", { class: CSS$C.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$i.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
33258
33258
|
}
|
|
33259
33259
|
renderCustomContent() {
|
|
33260
33260
|
const { hasCustomContent } = this;
|
|
33261
|
-
return (hAsync("div", { class: CSS$
|
|
33261
|
+
return (hAsync("div", { class: CSS$C.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$i.content, onSlotchange: this.handleContentSlotChange })));
|
|
33262
33262
|
}
|
|
33263
33263
|
renderContentEnd() {
|
|
33264
33264
|
const { hasContentEnd } = this;
|
|
33265
|
-
return (hAsync("div", { class: CSS$
|
|
33265
|
+
return (hAsync("div", { class: CSS$C.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$i.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
33266
33266
|
}
|
|
33267
33267
|
renderContentProperties() {
|
|
33268
33268
|
const { label, description, hasCustomContent } = this;
|
|
33269
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
33269
|
+
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
33270
|
}
|
|
33271
33271
|
renderContentContainer() {
|
|
33272
33272
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -33278,9 +33278,9 @@ class ListItem {
|
|
|
33278
33278
|
this.renderContentEnd(),
|
|
33279
33279
|
];
|
|
33280
33280
|
return (hAsync("td", { "aria-label": label, class: {
|
|
33281
|
-
[CSS$
|
|
33282
|
-
[CSS$
|
|
33283
|
-
[CSS$
|
|
33281
|
+
[CSS$C.contentContainer]: true,
|
|
33282
|
+
[CSS$C.contentContainerSelectable]: selectionMode !== "none",
|
|
33283
|
+
[CSS$C.contentContainerHasCenterContent]: hasCenterContent,
|
|
33284
33284
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
33285
33285
|
// 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
33286
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -33291,14 +33291,14 @@ class ListItem {
|
|
|
33291
33291
|
const borderSelected = showBorder && selected;
|
|
33292
33292
|
const borderUnselected = showBorder && !selected;
|
|
33293
33293
|
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$
|
|
33294
|
+
[CSS$C.container]: true,
|
|
33295
|
+
[CSS$C.containerBorderSelected]: borderSelected,
|
|
33296
|
+
[CSS$C.containerBorderUnselected]: borderUnselected,
|
|
33297
33297
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
33298
33298
|
// 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
33299
|
ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
33300
|
-
[CSS$
|
|
33301
|
-
[CSS$
|
|
33300
|
+
[CSS$C.nestedContainer]: true,
|
|
33301
|
+
[CSS$C.nestedContainerHidden]: openable && !open,
|
|
33302
33302
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (el) => (this.defaultSlotEl = el) }))));
|
|
33303
33303
|
}
|
|
33304
33304
|
// --------------------------------------------------------------------------
|
|
@@ -33388,7 +33388,7 @@ class ListItem {
|
|
|
33388
33388
|
}; }
|
|
33389
33389
|
}
|
|
33390
33390
|
|
|
33391
|
-
const CSS$
|
|
33391
|
+
const CSS$y = {
|
|
33392
33392
|
container: "container",
|
|
33393
33393
|
heading: "heading",
|
|
33394
33394
|
};
|
|
@@ -33437,7 +33437,7 @@ class ListItemGroup {
|
|
|
33437
33437
|
// --------------------------------------------------------------------------
|
|
33438
33438
|
render() {
|
|
33439
33439
|
const { heading, visualLevel } = this;
|
|
33440
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
33440
|
+
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
33441
|
}
|
|
33442
33442
|
get el() { return getElement(this); }
|
|
33443
33443
|
static get style() { return listItemGroupCss; }
|
|
@@ -33537,7 +33537,7 @@ class Loader {
|
|
|
33537
33537
|
}; }
|
|
33538
33538
|
}
|
|
33539
33539
|
|
|
33540
|
-
const CSS$
|
|
33540
|
+
const CSS$x = {
|
|
33541
33541
|
container: "container",
|
|
33542
33542
|
fill: "fill",
|
|
33543
33543
|
stepLine: "step-line",
|
|
@@ -33687,16 +33687,16 @@ class Meter {
|
|
|
33687
33687
|
const aboveHighest = value >= highest;
|
|
33688
33688
|
const belowHighest = value < highest;
|
|
33689
33689
|
if (!value || (!low && belowHighest) || belowLowest) {
|
|
33690
|
-
return CSS$
|
|
33690
|
+
return CSS$x.success;
|
|
33691
33691
|
}
|
|
33692
33692
|
else if (aboveLowest && belowHighest) {
|
|
33693
|
-
return CSS$
|
|
33693
|
+
return CSS$x.warning;
|
|
33694
33694
|
}
|
|
33695
33695
|
else if (aboveHighest) {
|
|
33696
|
-
return CSS$
|
|
33696
|
+
return CSS$x.danger;
|
|
33697
33697
|
}
|
|
33698
33698
|
else {
|
|
33699
|
-
return CSS$
|
|
33699
|
+
return CSS$x.success;
|
|
33700
33700
|
}
|
|
33701
33701
|
}
|
|
33702
33702
|
intersects(el1, el2) {
|
|
@@ -33710,7 +33710,7 @@ class Meter {
|
|
|
33710
33710
|
const minHighOverlap = this.intersects(minLabelEl, highLabelEl);
|
|
33711
33711
|
const minLowOverlap = this.intersects(minLabelEl, lowLabelEl);
|
|
33712
33712
|
const minMaxOverlap = this.intersects(minLabelEl, maxLabelEl);
|
|
33713
|
-
const hiddenClass = CSS$
|
|
33713
|
+
const hiddenClass = CSS$x.labelHidden;
|
|
33714
33714
|
if (lowLabelEl) {
|
|
33715
33715
|
if (minLowOverlap || lowMaxOverlap || lowHighOverlap) {
|
|
33716
33716
|
lowLabelEl.classList.add(hiddenClass);
|
|
@@ -33759,26 +33759,26 @@ class Meter {
|
|
|
33759
33759
|
renderMeterFill() {
|
|
33760
33760
|
const { currentPercent, fillType } = this;
|
|
33761
33761
|
const kindClass = this.getMeterKindCssClass();
|
|
33762
|
-
return (hAsync("div", { class: { [CSS$
|
|
33762
|
+
return (hAsync("div", { class: { [CSS$x.fill]: true, [kindClass]: fillType !== "single" }, style: { width: `${currentPercent}%` } }));
|
|
33763
33763
|
}
|
|
33764
33764
|
renderRangeLine(position) {
|
|
33765
33765
|
const style = { insetInlineStart: `${position}%` };
|
|
33766
|
-
return hAsync("div", { class: CSS$
|
|
33766
|
+
return hAsync("div", { class: CSS$x.stepLine, style: style });
|
|
33767
33767
|
}
|
|
33768
33768
|
renderValueLabel() {
|
|
33769
33769
|
const { currentPercent, valueLabelType, unitLabel, value } = this;
|
|
33770
33770
|
const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
|
|
33771
|
-
return (hAsync("div", { class: { [CSS$
|
|
33771
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelValue]: true }, key: "low-label-line",
|
|
33772
33772
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33773
|
-
ref: (el) => (this.valueLabelEl = el) }, label, unitLabel && valueLabelType !== "percent" && (hAsync("span", { class: CSS$
|
|
33773
|
+
ref: (el) => (this.valueLabelEl = el) }, label, unitLabel && valueLabelType !== "percent" && (hAsync("span", { class: CSS$x.unitLabel }, "\u00A0", unitLabel))));
|
|
33774
33774
|
}
|
|
33775
33775
|
renderMinLabel() {
|
|
33776
33776
|
const { rangeLabelType, min, minPercent, unitLabel } = this;
|
|
33777
33777
|
const style = { insetInlineStart: `${minPercent}%` };
|
|
33778
33778
|
const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
|
|
33779
|
-
return (hAsync("div", { class: { [CSS$
|
|
33779
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "min-label-line", style: style,
|
|
33780
33780
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33781
|
-
ref: (el) => (this.minLabelEl = el) }, labelMin, unitLabel && rangeLabelType !== "percent" && (hAsync("span", { class: CSS$
|
|
33781
|
+
ref: (el) => (this.minLabelEl = el) }, labelMin, unitLabel && rangeLabelType !== "percent" && (hAsync("span", { class: CSS$x.unitLabel }, "\u00A0", unitLabel))));
|
|
33782
33782
|
}
|
|
33783
33783
|
renderLowLabel() {
|
|
33784
33784
|
const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
|
|
@@ -33788,7 +33788,7 @@ class Meter {
|
|
|
33788
33788
|
const styleDefault = { insetInlineStart: `${lowPercent}%` };
|
|
33789
33789
|
const styleFlipped = { insetInlineEnd: `${100 - lowPercent}%` };
|
|
33790
33790
|
const style = (highPercent - lowPercent) / 100 < labelFlipProximity ? styleFlipped : styleDefault;
|
|
33791
|
-
return (hAsync("div", { class: { [CSS$
|
|
33791
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "low-label-line", style: style,
|
|
33792
33792
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33793
33793
|
ref: (el) => (this.lowLabelEl = el) }, label));
|
|
33794
33794
|
}
|
|
@@ -33800,7 +33800,7 @@ class Meter {
|
|
|
33800
33800
|
const styleDefault = { insetInlineStart: `${highPercent}%` };
|
|
33801
33801
|
const styleFlipped = { insetInlineEnd: `${100 - highPercent}%` };
|
|
33802
33802
|
const style = highPercent / 100 >= labelFlipMax ? styleFlipped : styleDefault;
|
|
33803
|
-
return (hAsync("div", { class: { [CSS$
|
|
33803
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "high-label-line", style: style,
|
|
33804
33804
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33805
33805
|
ref: (el) => (this.highLabelEl = el) }, label));
|
|
33806
33806
|
}
|
|
@@ -33808,7 +33808,7 @@ class Meter {
|
|
|
33808
33808
|
const { rangeLabelType, max, maxPercent } = this;
|
|
33809
33809
|
const style = { insetInlineEnd: `${100 - maxPercent}%` };
|
|
33810
33810
|
const labelMax = this.formatLabel(rangeLabelType === "percent" ? maxPercent / 100 : max, rangeLabelType);
|
|
33811
|
-
return (hAsync("div", { class: { [CSS$
|
|
33811
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "max-label-line", style: style,
|
|
33812
33812
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33813
33813
|
ref: (el) => (this.maxLabelEl = el) }, labelMax));
|
|
33814
33814
|
}
|
|
@@ -33822,9 +33822,9 @@ class Meter {
|
|
|
33822
33822
|
? textUnitLabel
|
|
33823
33823
|
: undefined;
|
|
33824
33824
|
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$
|
|
33825
|
+
[CSS$x.container]: true,
|
|
33826
|
+
[CSS$x.stepsVisible]: rangeLabels,
|
|
33827
|
+
[CSS$x.valueVisible]: valueLabel,
|
|
33828
33828
|
[appearance]: appearance !== "outline-fill",
|
|
33829
33829
|
}, role: "meter",
|
|
33830
33830
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -33880,7 +33880,7 @@ class Meter {
|
|
|
33880
33880
|
}; }
|
|
33881
33881
|
}
|
|
33882
33882
|
|
|
33883
|
-
const CSS$
|
|
33883
|
+
const CSS$w = {
|
|
33884
33884
|
modal: "modal",
|
|
33885
33885
|
title: "title",
|
|
33886
33886
|
header: "header",
|
|
@@ -34070,50 +34070,50 @@ class Modal {
|
|
|
34070
34070
|
}
|
|
34071
34071
|
render() {
|
|
34072
34072
|
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$
|
|
34073
|
+
[CSS$w.container]: true,
|
|
34074
|
+
[CSS$w.containerOpen]: this.opened,
|
|
34075
|
+
[CSS$w.slottedInShell]: this.slottedInShell,
|
|
34076
|
+
} }, hAsync("calcite-scrim", { class: CSS$w.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
34077
|
+
[CSS$w.modal]: true,
|
|
34078
34078
|
},
|
|
34079
34079
|
// 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$
|
|
34080
|
+
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: {
|
|
34081
|
+
[CSS$w.content]: true,
|
|
34082
|
+
[CSS$w.contentNoFooter]: !this.hasFooter,
|
|
34083
34083
|
},
|
|
34084
34084
|
// 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
34085
|
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$f.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
34086
34086
|
}
|
|
34087
34087
|
renderFooter() {
|
|
34088
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
34088
|
+
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
34089
|
}
|
|
34090
34090
|
renderContentTop() {
|
|
34091
|
-
return (hAsync("div", { class: CSS$
|
|
34091
|
+
return (hAsync("div", { class: CSS$w.contentTop, hidden: !this.hasContentTop }, hAsync("slot", { name: SLOTS$f.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
|
|
34092
34092
|
}
|
|
34093
34093
|
renderContentBottom() {
|
|
34094
|
-
return (hAsync("div", { class: CSS$
|
|
34094
|
+
return (hAsync("div", { class: CSS$w.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$f.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
|
|
34095
34095
|
}
|
|
34096
34096
|
renderCloseButton() {
|
|
34097
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
34097
|
+
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$w.close, key: "button", onClick: this.handleCloseClick, title: this.messages.close,
|
|
34098
34098
|
// 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
34099
|
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
34100
|
}
|
|
34101
34101
|
renderStyle() {
|
|
34102
34102
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
34103
|
-
return (hAsync("style", null, `.${CSS$
|
|
34103
|
+
return (hAsync("style", null, `.${CSS$w.container} {
|
|
34104
34104
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
34105
34105
|
}
|
|
34106
|
-
.${CSS$
|
|
34106
|
+
.${CSS$w.modal} {
|
|
34107
34107
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
34108
34108
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
34109
34109
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
34110
34110
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
34111
34111
|
}
|
|
34112
34112
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
34113
|
-
.${CSS$
|
|
34113
|
+
.${CSS$w.container} {
|
|
34114
34114
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
34115
34115
|
}
|
|
34116
|
-
.${CSS$
|
|
34116
|
+
.${CSS$w.modal} {
|
|
34117
34117
|
max-block-size: 100% !important;
|
|
34118
34118
|
inline-size: 100% !important;
|
|
34119
34119
|
max-inline-size: 100% !important;
|
|
@@ -34180,20 +34180,20 @@ class Modal {
|
|
|
34180
34180
|
}
|
|
34181
34181
|
}
|
|
34182
34182
|
onBeforeOpen() {
|
|
34183
|
-
this.transitionEl.classList.add(CSS$
|
|
34183
|
+
this.transitionEl.classList.add(CSS$w.openingActive);
|
|
34184
34184
|
this.calciteModalBeforeOpen.emit();
|
|
34185
34185
|
}
|
|
34186
34186
|
onOpen() {
|
|
34187
|
-
this.transitionEl.classList.remove(CSS$
|
|
34187
|
+
this.transitionEl.classList.remove(CSS$w.openingIdle, CSS$w.openingActive);
|
|
34188
34188
|
this.calciteModalOpen.emit();
|
|
34189
34189
|
activateFocusTrap(this);
|
|
34190
34190
|
}
|
|
34191
34191
|
onBeforeClose() {
|
|
34192
|
-
this.transitionEl.classList.add(CSS$
|
|
34192
|
+
this.transitionEl.classList.add(CSS$w.closingActive);
|
|
34193
34193
|
this.calciteModalBeforeClose.emit();
|
|
34194
34194
|
}
|
|
34195
34195
|
onClose() {
|
|
34196
|
-
this.transitionEl.classList.remove(CSS$
|
|
34196
|
+
this.transitionEl.classList.remove(CSS$w.closingIdle, CSS$w.closingActive);
|
|
34197
34197
|
this.calciteModalClose.emit();
|
|
34198
34198
|
deactivateFocusTrap(this);
|
|
34199
34199
|
}
|
|
@@ -34211,10 +34211,10 @@ class Modal {
|
|
|
34211
34211
|
handleOpenedChange(value) {
|
|
34212
34212
|
onToggleOpenCloseComponent(this);
|
|
34213
34213
|
if (value) {
|
|
34214
|
-
this.transitionEl?.classList.add(CSS$
|
|
34214
|
+
this.transitionEl?.classList.add(CSS$w.openingIdle);
|
|
34215
34215
|
}
|
|
34216
34216
|
else {
|
|
34217
|
-
this.transitionEl?.classList.add(CSS$
|
|
34217
|
+
this.transitionEl?.classList.add(CSS$w.closingIdle);
|
|
34218
34218
|
}
|
|
34219
34219
|
}
|
|
34220
34220
|
openModal() {
|
|
@@ -34285,7 +34285,7 @@ const SLOTS$e = {
|
|
|
34285
34285
|
link: "link",
|
|
34286
34286
|
actionsEnd: "actions-end",
|
|
34287
34287
|
};
|
|
34288
|
-
const CSS$
|
|
34288
|
+
const CSS$v = {
|
|
34289
34289
|
actionsEnd: "actions-end",
|
|
34290
34290
|
close: "notice-close",
|
|
34291
34291
|
container: "container",
|
|
@@ -34364,11 +34364,11 @@ class Notice {
|
|
|
34364
34364
|
}
|
|
34365
34365
|
render() {
|
|
34366
34366
|
const { el } = this;
|
|
34367
|
-
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
34367
|
+
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$v.close, onClick: this.close,
|
|
34368
34368
|
// 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
34369
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
34370
34370
|
const hasActionEnd = getSlotted(el, SLOTS$e.actionsEnd);
|
|
34371
|
-
return (hAsync("div", { class: CSS$
|
|
34371
|
+
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
34372
|
}
|
|
34373
34373
|
//--------------------------------------------------------------------------
|
|
34374
34374
|
//
|
|
@@ -34448,12 +34448,13 @@ class Option {
|
|
|
34448
34448
|
//
|
|
34449
34449
|
//--------------------------------------------------------------------------
|
|
34450
34450
|
ensureTextContentDependentProps() {
|
|
34451
|
-
const { el: { textContent }, } = this;
|
|
34452
|
-
if (!
|
|
34451
|
+
const { el: { textContent }, internallySetLabel, internallySetValue, label, value, } = this;
|
|
34452
|
+
if (!label || label === internallySetLabel) {
|
|
34453
34453
|
this.label = textContent;
|
|
34454
34454
|
this.internallySetLabel = textContent;
|
|
34455
34455
|
}
|
|
34456
|
-
if (
|
|
34456
|
+
if (value == null /* intentional loose equals to handle both undefined & null */ ||
|
|
34457
|
+
value === internallySetValue) {
|
|
34457
34458
|
this.value = textContent;
|
|
34458
34459
|
this.internallySetValue = textContent;
|
|
34459
34460
|
}
|
|
@@ -34547,7 +34548,7 @@ class OptionGroup {
|
|
|
34547
34548
|
}; }
|
|
34548
34549
|
}
|
|
34549
34550
|
|
|
34550
|
-
const CSS$
|
|
34551
|
+
const CSS$u = {
|
|
34551
34552
|
page: "page",
|
|
34552
34553
|
selected: "is-selected",
|
|
34553
34554
|
previous: "previous",
|
|
@@ -34743,9 +34744,9 @@ class Pagination {
|
|
|
34743
34744
|
//--------------------------------------------------------------------------
|
|
34744
34745
|
renderEllipsis(type) {
|
|
34745
34746
|
return (hAsync("span", { class: {
|
|
34746
|
-
[CSS$
|
|
34747
|
-
[CSS$
|
|
34748
|
-
[CSS$
|
|
34747
|
+
[CSS$u.ellipsis]: true,
|
|
34748
|
+
[CSS$u.ellipsisStart]: type === "start",
|
|
34749
|
+
[CSS$u.ellipsisEnd]: type === "end",
|
|
34749
34750
|
}, key: type }, "\u2026"));
|
|
34750
34751
|
}
|
|
34751
34752
|
renderItems() {
|
|
@@ -34812,8 +34813,8 @@ class Pagination {
|
|
|
34812
34813
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
34813
34814
|
const selected = start === this.startItem;
|
|
34814
34815
|
return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
|
|
34815
|
-
[CSS$
|
|
34816
|
-
[CSS$
|
|
34816
|
+
[CSS$u.page]: true,
|
|
34817
|
+
[CSS$u.selected]: selected,
|
|
34817
34818
|
}, onClick: this.handlePageClick, value: start }, displayedPage));
|
|
34818
34819
|
}
|
|
34819
34820
|
render() {
|
|
@@ -34822,11 +34823,11 @@ class Pagination {
|
|
|
34822
34823
|
const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
|
|
34823
34824
|
const iconScale = scale === "l" ? "m" : "s";
|
|
34824
34825
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": messages.previous, class: {
|
|
34825
|
-
[CSS$
|
|
34826
|
-
[CSS$
|
|
34826
|
+
[CSS$u.previous]: true,
|
|
34827
|
+
[CSS$u.disabled]: prevDisabled,
|
|
34827
34828
|
}, 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$
|
|
34829
|
+
[CSS$u.next]: true,
|
|
34830
|
+
[CSS$u.disabled]: nextDisabled,
|
|
34830
34831
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: ICONS$6.next, scale: iconScale }))));
|
|
34831
34832
|
}
|
|
34832
34833
|
static get delegatesFocus() { return true; }
|
|
@@ -35041,22 +35042,22 @@ class Panel {
|
|
|
35041
35042
|
// --------------------------------------------------------------------------
|
|
35042
35043
|
renderHeaderContent() {
|
|
35043
35044
|
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$
|
|
35045
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$N.heading, level: headingLevel }, heading)) : null;
|
|
35046
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$N.description }, description) : null;
|
|
35047
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$N.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
35047
35048
|
}
|
|
35048
35049
|
renderActionBar() {
|
|
35049
|
-
return (hAsync("div", { class: CSS$
|
|
35050
|
+
return (hAsync("div", { class: CSS$N.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$n.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
35050
35051
|
}
|
|
35051
35052
|
/**
|
|
35052
35053
|
* Allows user to override the entire header-content node.
|
|
35053
35054
|
*/
|
|
35054
35055
|
renderHeaderSlottedContent() {
|
|
35055
|
-
return (hAsync("div", { class: CSS$
|
|
35056
|
+
return (hAsync("div", { class: CSS$N.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$n.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
35056
35057
|
}
|
|
35057
35058
|
renderHeaderStartActions() {
|
|
35058
35059
|
const { hasStartActions } = this;
|
|
35059
|
-
return (hAsync("div", { class: { [CSS$
|
|
35060
|
+
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
35061
|
}
|
|
35061
35062
|
renderHeaderActionsEnd() {
|
|
35062
35063
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -35066,7 +35067,7 @@ class Panel {
|
|
|
35066
35067
|
ref: this.setCloseRef })) : null;
|
|
35067
35068
|
const slotNode = (hAsync("slot", { name: SLOTS$n.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
35068
35069
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
35069
|
-
return (hAsync("div", { class: { [CSS$
|
|
35070
|
+
return (hAsync("div", { class: { [CSS$N.headerActionsEnd]: true, [CSS$N.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
35070
35071
|
}
|
|
35071
35072
|
renderMenu() {
|
|
35072
35073
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -35082,24 +35083,24 @@ class Panel {
|
|
|
35082
35083
|
closable ||
|
|
35083
35084
|
hasMenuItems;
|
|
35084
35085
|
this.showHeaderContent = showHeaderContent;
|
|
35085
|
-
return (hAsync("header", { class: CSS$
|
|
35086
|
+
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
35087
|
}
|
|
35087
35088
|
renderFooterNode() {
|
|
35088
35089
|
const { hasFooterContent, hasFooterActions } = this;
|
|
35089
35090
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
35090
|
-
return (hAsync("footer", { class: CSS$
|
|
35091
|
+
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
35092
|
}
|
|
35092
35093
|
renderContent() {
|
|
35093
|
-
return (hAsync("div", { class: CSS$
|
|
35094
|
+
return (hAsync("div", { class: CSS$N.contentWrapper, onScroll: this.panelScrollHandler,
|
|
35094
35095
|
// 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
35096
|
ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
|
|
35096
35097
|
}
|
|
35097
35098
|
renderFab() {
|
|
35098
|
-
return (hAsync("div", { class: CSS$
|
|
35099
|
+
return (hAsync("div", { class: CSS$N.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$n.fab, onSlotchange: this.handleFabSlotChange })));
|
|
35099
35100
|
}
|
|
35100
35101
|
render() {
|
|
35101
35102
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
35102
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
35103
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$N.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
35103
35104
|
// 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
35105
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
35105
35106
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -35145,7 +35146,7 @@ class Panel {
|
|
|
35145
35146
|
}; }
|
|
35146
35147
|
}
|
|
35147
35148
|
|
|
35148
|
-
const CSS$
|
|
35149
|
+
const CSS$t = {
|
|
35149
35150
|
sticky: "sticky-pos",
|
|
35150
35151
|
};
|
|
35151
35152
|
var ICON_TYPES$1;
|
|
@@ -35158,7 +35159,7 @@ const SLOTS$d = {
|
|
|
35158
35159
|
menuActions: "menu-actions",
|
|
35159
35160
|
};
|
|
35160
35161
|
|
|
35161
|
-
const CSS$
|
|
35162
|
+
const CSS$s = {
|
|
35162
35163
|
heading: "heading",
|
|
35163
35164
|
container: "container",
|
|
35164
35165
|
indented: "container--indented",
|
|
@@ -35484,7 +35485,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
35484
35485
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
35485
35486
|
// 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
35487
|
ref: storeAssistiveEl })) : null,
|
|
35487
|
-
hAsync("header", { class: { [CSS$
|
|
35488
|
+
hAsync("header", { class: { [CSS$t.sticky]: true } },
|
|
35488
35489
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
35489
35490
|
// 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
35491
|
ref: setFilterEl })) : null,
|
|
@@ -35675,14 +35676,14 @@ class PickListGroup {
|
|
|
35675
35676
|
const { el, groupTitle, headingLevel } = this;
|
|
35676
35677
|
const hasParentItem = getSlotted(el, SLOTS$c.parentItem) !== null;
|
|
35677
35678
|
const sectionClasses = {
|
|
35678
|
-
[CSS$
|
|
35679
|
-
[CSS$
|
|
35679
|
+
[CSS$s.container]: true,
|
|
35680
|
+
[CSS$s.indented]: hasParentItem,
|
|
35680
35681
|
};
|
|
35681
35682
|
const title = groupTitle;
|
|
35682
35683
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
35683
35684
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
35684
35685
|
const level = headingLevel || relativeLevel;
|
|
35685
|
-
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$
|
|
35686
|
+
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
35687
|
}
|
|
35687
35688
|
get el() { return getElement(this); }
|
|
35688
35689
|
static get style() { return pickListGroupCss; }
|
|
@@ -35699,7 +35700,7 @@ class PickListGroup {
|
|
|
35699
35700
|
}; }
|
|
35700
35701
|
}
|
|
35701
35702
|
|
|
35702
|
-
const CSS$
|
|
35703
|
+
const CSS$r = {
|
|
35703
35704
|
actions: "actions",
|
|
35704
35705
|
actionsEnd: "actions--end",
|
|
35705
35706
|
actionsStart: "actions--start",
|
|
@@ -35861,28 +35862,28 @@ class PickListItem {
|
|
|
35861
35862
|
return null;
|
|
35862
35863
|
}
|
|
35863
35864
|
return (hAsync("span", { class: {
|
|
35864
|
-
[CSS$
|
|
35865
|
-
[CSS$
|
|
35865
|
+
[CSS$r.icon]: true,
|
|
35866
|
+
[CSS$r.iconDot]: icon === ICON_TYPES$1.circle,
|
|
35866
35867
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$5.checked, scale: "s" })) : null));
|
|
35867
35868
|
}
|
|
35868
35869
|
renderRemoveAction() {
|
|
35869
|
-
return this.removable ? (hAsync("calcite-action", { class: CSS$
|
|
35870
|
+
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
35871
|
}
|
|
35871
35872
|
renderActionsStart() {
|
|
35872
35873
|
const { el } = this;
|
|
35873
35874
|
const hasActionsStart = getSlotted(el, SLOTS$b.actionsStart);
|
|
35874
|
-
return hasActionsStart ? (hAsync("div", { class: { [CSS$
|
|
35875
|
+
return hasActionsStart ? (hAsync("div", { class: { [CSS$r.actions]: true, [CSS$r.actionsStart]: true } }, hAsync("slot", { name: SLOTS$b.actionsStart }))) : null;
|
|
35875
35876
|
}
|
|
35876
35877
|
renderActionsEnd() {
|
|
35877
35878
|
const { el, removable } = this;
|
|
35878
35879
|
const hasActionsEnd = getSlotted(el, SLOTS$b.actionsEnd);
|
|
35879
|
-
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$
|
|
35880
|
+
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$r.actions]: true, [CSS$r.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$b.actionsEnd }), this.renderRemoveAction())) : null;
|
|
35880
35881
|
}
|
|
35881
35882
|
render() {
|
|
35882
35883
|
const { description, label } = this;
|
|
35883
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$
|
|
35884
|
+
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
35885
|
// 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$
|
|
35886
|
+
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
35887
|
}
|
|
35887
35888
|
static get assetsDirs() { return ["assets"]; }
|
|
35888
35889
|
get el() { return getElement(this); }
|
|
@@ -35925,7 +35926,7 @@ class PickListItem {
|
|
|
35925
35926
|
}; }
|
|
35926
35927
|
}
|
|
35927
35928
|
|
|
35928
|
-
const CSS$
|
|
35929
|
+
const CSS$q = {
|
|
35929
35930
|
container: "container",
|
|
35930
35931
|
imageContainer: "image-container",
|
|
35931
35932
|
closeButtonContainer: "close-button-container",
|
|
@@ -36019,7 +36020,7 @@ class PopoverManager {
|
|
|
36019
36020
|
}
|
|
36020
36021
|
}
|
|
36021
36022
|
|
|
36022
|
-
const CSS$
|
|
36023
|
+
const CSS$p = {
|
|
36023
36024
|
arrow: "calcite-floating-ui-arrow",
|
|
36024
36025
|
arrowStroke: "calcite-floating-ui-arrow__stroke",
|
|
36025
36026
|
};
|
|
@@ -36049,8 +36050,8 @@ const FloatingArrow = ({ floatingLayout, key, ref, }) => {
|
|
|
36049
36050
|
` L${width - svgX},${height}` +
|
|
36050
36051
|
` Q${svgX},${height} ${svgX},${height}` +
|
|
36051
36052
|
" Z";
|
|
36052
|
-
return (hAsync("svg", { "aria-hidden": "true", class: CSS$
|
|
36053
|
-
strokeWidth > 0 && (hAsync("path", { class: CSS$
|
|
36053
|
+
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) },
|
|
36054
|
+
strokeWidth > 0 && (hAsync("path", { class: CSS$p.arrowStroke, d: dValue, fill: "none", "stroke-width": strokeWidth + 1 })),
|
|
36054
36055
|
hAsync("path", { d: dValue, stroke: "none" })));
|
|
36055
36056
|
};
|
|
36056
36057
|
|
|
@@ -36302,14 +36303,14 @@ class Popover {
|
|
|
36302
36303
|
// --------------------------------------------------------------------------
|
|
36303
36304
|
renderCloseButton() {
|
|
36304
36305
|
const { messages, closable } = this;
|
|
36305
|
-
return closable ? (hAsync("div", { class: CSS$
|
|
36306
|
+
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
36307
|
// 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
36308
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
36308
36309
|
}
|
|
36309
36310
|
renderHeader() {
|
|
36310
36311
|
const { heading, headingLevel } = this;
|
|
36311
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
36312
|
-
return headingNode ? (hAsync("div", { class: CSS$
|
|
36312
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$q.heading, level: headingLevel }, heading)) : null;
|
|
36313
|
+
return headingNode ? (hAsync("div", { class: CSS$q.header, key: CSS$q.header }, headingNode, this.renderCloseButton())) : null;
|
|
36313
36314
|
}
|
|
36314
36315
|
render() {
|
|
36315
36316
|
const { effectiveReferenceElement, heading, label, open, pointerDisabled, floatingLayout } = this;
|
|
@@ -36324,9 +36325,9 @@ class Popover {
|
|
|
36324
36325
|
},
|
|
36325
36326
|
// 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
36327
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
36327
|
-
[CSS$
|
|
36328
|
-
[CSS$
|
|
36329
|
-
} }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
36328
|
+
[CSS$q.hasHeader]: !!heading,
|
|
36329
|
+
[CSS$q.container]: true,
|
|
36330
|
+
} }, this.renderHeader(), hAsync("div", { class: CSS$q.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
36330
36331
|
}
|
|
36331
36332
|
static get assetsDirs() { return ["assets"]; }
|
|
36332
36333
|
get el() { return getElement(this); }
|
|
@@ -36420,7 +36421,7 @@ class Progress {
|
|
|
36420
36421
|
}; }
|
|
36421
36422
|
}
|
|
36422
36423
|
|
|
36423
|
-
const CSS$
|
|
36424
|
+
const CSS$o = {
|
|
36424
36425
|
container: "container",
|
|
36425
36426
|
};
|
|
36426
36427
|
|
|
@@ -36697,7 +36698,7 @@ class RadioButton {
|
|
|
36697
36698
|
// --------------------------------------------------------------------------
|
|
36698
36699
|
render() {
|
|
36699
36700
|
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$
|
|
36701
|
+
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
36702
|
// 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
36703
|
ref: this.setContainerEl }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
36703
36704
|
}
|
|
@@ -37124,7 +37125,7 @@ class Rating {
|
|
|
37124
37125
|
}; }
|
|
37125
37126
|
}
|
|
37126
37127
|
|
|
37127
|
-
const CSS$
|
|
37128
|
+
const CSS$n = {
|
|
37128
37129
|
scrim: "scrim",
|
|
37129
37130
|
content: "content",
|
|
37130
37131
|
};
|
|
@@ -37194,7 +37195,7 @@ class Scrim {
|
|
|
37194
37195
|
// --------------------------------------------------------------------------
|
|
37195
37196
|
render() {
|
|
37196
37197
|
const { hasContent, loading, messages } = this;
|
|
37197
|
-
return (hAsync("div", { class: CSS$
|
|
37198
|
+
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
37199
|
}
|
|
37199
37200
|
getScale(size) {
|
|
37200
37201
|
if (size < BREAKPOINTS.s) {
|
|
@@ -37469,7 +37470,7 @@ class SegmentedControl {
|
|
|
37469
37470
|
const SLOTS$a = {
|
|
37470
37471
|
input: "input",
|
|
37471
37472
|
};
|
|
37472
|
-
const CSS$
|
|
37473
|
+
const CSS$m = {
|
|
37473
37474
|
segmentedControlItemIcon: "segmented-control-item-icon",
|
|
37474
37475
|
};
|
|
37475
37476
|
|
|
@@ -37498,8 +37499,8 @@ class SegmentedControlItem {
|
|
|
37498
37499
|
//--------------------------------------------------------------------------
|
|
37499
37500
|
render() {
|
|
37500
37501
|
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$
|
|
37502
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$m.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
37503
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$m.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
37503
37504
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
37504
37505
|
"label--scale-s": scale === "s",
|
|
37505
37506
|
"label--scale-m": scale === "m",
|
|
@@ -37533,7 +37534,7 @@ class SegmentedControlItem {
|
|
|
37533
37534
|
}; }
|
|
37534
37535
|
}
|
|
37535
37536
|
|
|
37536
|
-
const CSS$
|
|
37537
|
+
const CSS$l = {
|
|
37537
37538
|
icon: "icon",
|
|
37538
37539
|
iconContainer: "icon-container",
|
|
37539
37540
|
select: "select",
|
|
@@ -37720,10 +37721,10 @@ class Select {
|
|
|
37720
37721
|
//
|
|
37721
37722
|
//--------------------------------------------------------------------------
|
|
37722
37723
|
renderChevron() {
|
|
37723
|
-
return (hAsync("div", { class: CSS$
|
|
37724
|
+
return (hAsync("div", { class: CSS$l.iconContainer }, hAsync("calcite-icon", { class: CSS$l.icon, icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
37724
37725
|
}
|
|
37725
37726
|
render() {
|
|
37726
|
-
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$
|
|
37727
|
+
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$l.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
|
|
37727
37728
|
// 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
37729
|
ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
37729
37730
|
}
|
|
@@ -37754,7 +37755,7 @@ class Select {
|
|
|
37754
37755
|
}; }
|
|
37755
37756
|
}
|
|
37756
37757
|
|
|
37757
|
-
const CSS$
|
|
37758
|
+
const CSS$k = {
|
|
37758
37759
|
scrim: "scrim",
|
|
37759
37760
|
container: "container",
|
|
37760
37761
|
containerOpen: "container--open",
|
|
@@ -37872,12 +37873,12 @@ class Sheet {
|
|
|
37872
37873
|
render() {
|
|
37873
37874
|
const dir = getElementDir(this.el);
|
|
37874
37875
|
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$
|
|
37876
|
+
[CSS$k.container]: true,
|
|
37877
|
+
[CSS$k.containerOpen]: this.opened,
|
|
37878
|
+
[CSS$k.containerSlottedInShell]: this.slottedInShell,
|
|
37878
37879
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
37879
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
37880
|
-
[CSS$
|
|
37880
|
+
} }, hAsync("calcite-scrim", { class: CSS$k.scrim, onClick: this.handleOutsideClose }), hAsync("div", { class: {
|
|
37881
|
+
[CSS$k.content]: true,
|
|
37881
37882
|
},
|
|
37882
37883
|
// 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
37884
|
ref: this.setTransitionEl }, hAsync("slot", null)))));
|
|
@@ -37978,7 +37979,7 @@ class Sheet {
|
|
|
37978
37979
|
}; }
|
|
37979
37980
|
}
|
|
37980
37981
|
|
|
37981
|
-
const CSS$
|
|
37982
|
+
const CSS$j = {
|
|
37982
37983
|
main: "main",
|
|
37983
37984
|
content: "content",
|
|
37984
37985
|
contentBehind: "content--behind",
|
|
@@ -38080,7 +38081,7 @@ class Shell {
|
|
|
38080
38081
|
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$9.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
38081
38082
|
}
|
|
38082
38083
|
renderFooter() {
|
|
38083
|
-
return (hAsync("div", { class: CSS$
|
|
38084
|
+
return (hAsync("div", { class: CSS$j.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$9.footer, onSlotchange: this.handleFooterSlotChange })));
|
|
38084
38085
|
}
|
|
38085
38086
|
renderAlerts() {
|
|
38086
38087
|
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$9.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
@@ -38100,21 +38101,21 @@ class Shell {
|
|
|
38100
38101
|
const content = !!this.contentBehind
|
|
38101
38102
|
? [
|
|
38102
38103
|
hAsync("div", { class: {
|
|
38103
|
-
[CSS$
|
|
38104
|
-
[CSS$
|
|
38104
|
+
[CSS$j.content]: true,
|
|
38105
|
+
[CSS$j.contentBehind]: true,
|
|
38105
38106
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
38106
|
-
hAsync("div", { class: CSS$
|
|
38107
|
+
hAsync("div", { class: CSS$j.contentBehindCenterContent }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
38107
38108
|
]
|
|
38108
38109
|
: [
|
|
38109
|
-
hAsync("div", { class: CSS$
|
|
38110
|
+
hAsync("div", { class: CSS$j.content, key: contentContainerKey }, panelTopSlotNode, defaultSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
38110
38111
|
];
|
|
38111
38112
|
return content;
|
|
38112
38113
|
}
|
|
38113
38114
|
renderMain() {
|
|
38114
|
-
return (hAsync("div", { class: CSS$
|
|
38115
|
+
return (hAsync("div", { class: CSS$j.main }, hAsync("slot", { name: SLOTS$9.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$9.panelEnd })));
|
|
38115
38116
|
}
|
|
38116
38117
|
renderPositionedSlots() {
|
|
38117
|
-
return (hAsync("div", { class: CSS$
|
|
38118
|
+
return (hAsync("div", { class: CSS$j.positionedSlotWrapper }, this.renderAlerts(), this.renderModals(), this.renderSheets()));
|
|
38118
38119
|
}
|
|
38119
38120
|
render() {
|
|
38120
38121
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -38138,7 +38139,7 @@ class Shell {
|
|
|
38138
38139
|
}; }
|
|
38139
38140
|
}
|
|
38140
38141
|
|
|
38141
|
-
const CSS$
|
|
38142
|
+
const CSS$i = {
|
|
38142
38143
|
actionBarContainer: "action-bar-container",
|
|
38143
38144
|
content: "content",
|
|
38144
38145
|
};
|
|
@@ -38177,9 +38178,9 @@ class ShellCenterRow {
|
|
|
38177
38178
|
// --------------------------------------------------------------------------
|
|
38178
38179
|
render() {
|
|
38179
38180
|
const { el } = this;
|
|
38180
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
38181
|
+
const contentNode = (hAsync("div", { class: CSS$i.content }, hAsync("slot", null)));
|
|
38181
38182
|
const actionBar = getSlotted(el, SLOTS$8.actionBar);
|
|
38182
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$
|
|
38183
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$i.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$8.actionBar }))) : null;
|
|
38183
38184
|
const children = [actionBarNode, contentNode];
|
|
38184
38185
|
if (actionBar?.position === "end") {
|
|
38185
38186
|
children.reverse();
|
|
@@ -38202,7 +38203,7 @@ class ShellCenterRow {
|
|
|
38202
38203
|
}; }
|
|
38203
38204
|
}
|
|
38204
38205
|
|
|
38205
|
-
const CSS$
|
|
38206
|
+
const CSS$h = {
|
|
38206
38207
|
container: "container",
|
|
38207
38208
|
content: "content",
|
|
38208
38209
|
contentHeader: "content__header",
|
|
@@ -38465,7 +38466,7 @@ class ShellPanel {
|
|
|
38465
38466
|
//
|
|
38466
38467
|
// --------------------------------------------------------------------------
|
|
38467
38468
|
renderHeader() {
|
|
38468
|
-
return (hAsync("div", { class: CSS$
|
|
38469
|
+
return (hAsync("div", { class: CSS$h.contentHeader, hidden: !this.hasHeader, key: "header" }, hAsync("slot", { name: SLOTS$7.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
38469
38470
|
}
|
|
38470
38471
|
render() {
|
|
38471
38472
|
const { collapsed, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout, displayMode, } = this;
|
|
@@ -38482,7 +38483,7 @@ class ShellPanel {
|
|
|
38482
38483
|
: null;
|
|
38483
38484
|
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
38485
|
? contentHeight ?? initialContentHeight
|
|
38485
|
-
: contentWidth ?? initialContentWidth, class: CSS$
|
|
38486
|
+
: contentWidth ?? initialContentWidth, class: CSS$h.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
38486
38487
|
// 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
38488
|
ref: this.connectSeparator })) : null;
|
|
38488
38489
|
const getAnimationDir = () => {
|
|
@@ -38498,20 +38499,20 @@ class ShellPanel {
|
|
|
38498
38499
|
};
|
|
38499
38500
|
const contentNode = (hAsync("div", { class: {
|
|
38500
38501
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
38501
|
-
[CSS$
|
|
38502
|
-
[CSS$
|
|
38503
|
-
[CSS$
|
|
38502
|
+
[CSS$h.content]: true,
|
|
38503
|
+
[CSS$h.contentOverlay]: displayMode === "overlay",
|
|
38504
|
+
[CSS$h.contentFloat]: displayMode === "float",
|
|
38504
38505
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
38505
38506
|
[getAnimationDir()]: displayMode === "overlay",
|
|
38506
38507
|
}, hidden: collapsed, key: "content", style: style,
|
|
38507
38508
|
// 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$
|
|
38509
|
+
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$h.contentBody }, hAsync("slot", null)), separatorNode));
|
|
38509
38510
|
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$7.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
38510
38511
|
const mainNodes = [actionBarNode, contentNode];
|
|
38511
38512
|
if (position === "end") {
|
|
38512
38513
|
mainNodes.reverse();
|
|
38513
38514
|
}
|
|
38514
|
-
return hAsync("div", { class: { [CSS$
|
|
38515
|
+
return hAsync("div", { class: { [CSS$h.container]: true } }, mainNodes);
|
|
38515
38516
|
}
|
|
38516
38517
|
// --------------------------------------------------------------------------
|
|
38517
38518
|
//
|
|
@@ -38612,7 +38613,7 @@ class ShellPanel {
|
|
|
38612
38613
|
}; }
|
|
38613
38614
|
}
|
|
38614
38615
|
|
|
38615
|
-
const CSS$
|
|
38616
|
+
const CSS$g = {
|
|
38616
38617
|
handleLabel: "handle__label",
|
|
38617
38618
|
handleLabelMinValue: "handle__label--minValue",
|
|
38618
38619
|
handleLabelValue: "handle__label--value",
|
|
@@ -38811,8 +38812,8 @@ class Slider {
|
|
|
38811
38812
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
38812
38813
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
38813
38814
|
const valueIsRange = isRange(this.value);
|
|
38814
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
38815
|
-
const handleLabelValueClasses = `${CSS$
|
|
38815
|
+
const handleLabelMinValueClasses = `${CSS$g.handleLabel} ${CSS$g.handleLabelMinValue}`;
|
|
38816
|
+
const handleLabelValueClasses = `${CSS$g.handleLabel} ${CSS$g.handleLabelValue}`;
|
|
38816
38817
|
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
38818
|
thumb: true,
|
|
38818
38819
|
"thumb--value": true,
|
|
@@ -38948,8 +38949,8 @@ class Slider {
|
|
|
38948
38949
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
38949
38950
|
const tickLabel = (hAsync("span", { class: {
|
|
38950
38951
|
tick__label: true,
|
|
38951
|
-
[CSS$
|
|
38952
|
-
[CSS$
|
|
38952
|
+
[CSS$g.tickMin]: isMinTickLabel,
|
|
38953
|
+
[CSS$g.tickMax]: isMaxTickLabel,
|
|
38953
38954
|
} }, displayedTickValue));
|
|
38954
38955
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
38955
38956
|
return tickLabel;
|
|
@@ -39507,7 +39508,7 @@ class Slider {
|
|
|
39507
39508
|
}; }
|
|
39508
39509
|
}
|
|
39509
39510
|
|
|
39510
|
-
const CSS$
|
|
39511
|
+
const CSS$f = {
|
|
39511
39512
|
sortItem: "sort-item",
|
|
39512
39513
|
container: "container",
|
|
39513
39514
|
containerHorizontal: "container--horizontal",
|
|
@@ -39641,9 +39642,9 @@ class SortableList {
|
|
|
39641
39642
|
const { layout } = this;
|
|
39642
39643
|
const horizontal = layout === "horizontal" || false;
|
|
39643
39644
|
return (hAsync("div", { class: {
|
|
39644
|
-
[CSS$
|
|
39645
|
-
[CSS$
|
|
39646
|
-
[CSS$
|
|
39645
|
+
[CSS$f.container]: true,
|
|
39646
|
+
[CSS$f.containerVertical]: !horizontal,
|
|
39647
|
+
[CSS$f.containerHorizontal]: horizontal,
|
|
39647
39648
|
} }, hAsync("slot", null)));
|
|
39648
39649
|
}
|
|
39649
39650
|
get el() { return getElement(this); }
|
|
@@ -39667,7 +39668,7 @@ class SortableList {
|
|
|
39667
39668
|
}; }
|
|
39668
39669
|
}
|
|
39669
39670
|
|
|
39670
|
-
const CSS$
|
|
39671
|
+
const CSS$e = {
|
|
39671
39672
|
container: "split-button__container",
|
|
39672
39673
|
dividerContainer: "split-button__divider-container",
|
|
39673
39674
|
divider: "split-button__divider",
|
|
@@ -39746,13 +39747,13 @@ class SplitButton {
|
|
|
39746
39747
|
}
|
|
39747
39748
|
render() {
|
|
39748
39749
|
const widthClasses = {
|
|
39749
|
-
[CSS$
|
|
39750
|
-
[CSS$
|
|
39751
|
-
[CSS$
|
|
39752
|
-
[CSS$
|
|
39750
|
+
[CSS$e.container]: true,
|
|
39751
|
+
[CSS$e.widthAuto]: this.width === "auto",
|
|
39752
|
+
[CSS$e.widthHalf]: this.width === "half",
|
|
39753
|
+
[CSS$e.widthFull]: this.width === "full",
|
|
39753
39754
|
};
|
|
39754
39755
|
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$
|
|
39756
|
+
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
39757
|
}
|
|
39757
39758
|
get dropdownIcon() {
|
|
39758
39759
|
return this.dropdownIconType === "chevron"
|
|
@@ -39839,25 +39840,25 @@ class Stack {
|
|
|
39839
39840
|
// --------------------------------------------------------------------------
|
|
39840
39841
|
renderActionsStart() {
|
|
39841
39842
|
const { hasActionsStart } = this;
|
|
39842
|
-
return (hAsync("div", { class: CSS$
|
|
39843
|
+
return (hAsync("div", { class: CSS$z.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$g.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
39843
39844
|
}
|
|
39844
39845
|
renderActionsEnd() {
|
|
39845
39846
|
const { hasActionsEnd } = this;
|
|
39846
|
-
return (hAsync("div", { class: CSS$
|
|
39847
|
+
return (hAsync("div", { class: CSS$z.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$g.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
39847
39848
|
}
|
|
39848
39849
|
renderContentStart() {
|
|
39849
39850
|
const { hasContentStart } = this;
|
|
39850
|
-
return (hAsync("div", { class: CSS$
|
|
39851
|
+
return (hAsync("div", { class: CSS$z.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$g.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
39851
39852
|
}
|
|
39852
39853
|
renderDefaultContent() {
|
|
39853
|
-
return (hAsync("div", { class: CSS$
|
|
39854
|
+
return (hAsync("div", { class: CSS$z.content }, hAsync("slot", null)));
|
|
39854
39855
|
}
|
|
39855
39856
|
renderContentEnd() {
|
|
39856
39857
|
const { hasContentEnd } = this;
|
|
39857
|
-
return (hAsync("div", { class: CSS$
|
|
39858
|
+
return (hAsync("div", { class: CSS$z.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$g.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
39858
39859
|
}
|
|
39859
39860
|
render() {
|
|
39860
|
-
return (hAsync(Host, null, hAsync("div", { class: CSS$
|
|
39861
|
+
return (hAsync(Host, null, hAsync("div", { class: CSS$z.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
|
|
39861
39862
|
}
|
|
39862
39863
|
static get style() { return stackCss; }
|
|
39863
39864
|
static get cmpMeta() { return {
|
|
@@ -39892,6 +39893,14 @@ class Stepper {
|
|
|
39892
39893
|
/** list of enabled Stepper items */
|
|
39893
39894
|
this.enabledItems = [];
|
|
39894
39895
|
this.mutationObserver = createObserver();
|
|
39896
|
+
this.handleDefaultSlotChange = (event) => {
|
|
39897
|
+
const slottedItems = slotChangeGetAssignedElements(event);
|
|
39898
|
+
const items = slottedItems.filter((el) => el?.tagName === "CALCITE-STEPPER-ITEM");
|
|
39899
|
+
const spacing = Array(items.length).fill("1fr").join(" ");
|
|
39900
|
+
this.el.style.gridTemplateAreas = spacing;
|
|
39901
|
+
this.el.style.gridTemplateColumns = spacing;
|
|
39902
|
+
this.setStepperItemNumberingSystem();
|
|
39903
|
+
};
|
|
39895
39904
|
this.icon = false;
|
|
39896
39905
|
this.layout = "horizontal";
|
|
39897
39906
|
this.numbered = false;
|
|
@@ -39923,15 +39932,7 @@ class Stepper {
|
|
|
39923
39932
|
}
|
|
39924
39933
|
}
|
|
39925
39934
|
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
|
-
} }));
|
|
39935
|
+
return (hAsync(Host, { "aria-label": "Progress steps", role: "region" }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })));
|
|
39935
39936
|
}
|
|
39936
39937
|
//--------------------------------------------------------------------------
|
|
39937
39938
|
//
|
|
@@ -40100,7 +40101,18 @@ class Stepper {
|
|
|
40100
40101
|
}; }
|
|
40101
40102
|
}
|
|
40102
40103
|
|
|
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}";
|
|
40104
|
+
const CSS$d = {
|
|
40105
|
+
container: "container",
|
|
40106
|
+
stepperItemContent: "stepper-item-content",
|
|
40107
|
+
stepperItemDescription: "stepper-item-description",
|
|
40108
|
+
stepperItemHeader: "stepper-item-header",
|
|
40109
|
+
stepperItemHeading: "stepper-item-heading",
|
|
40110
|
+
stepperItemHeaderText: "stepper-item-header-text",
|
|
40111
|
+
stepperItemNumber: "stepper-item-number",
|
|
40112
|
+
visuallyHidden: "visually-hidden",
|
|
40113
|
+
};
|
|
40114
|
+
|
|
40115
|
+
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
40116
|
|
|
40105
40117
|
/**
|
|
40106
40118
|
* @slot - A slot for adding custom content.
|
|
@@ -40223,11 +40235,11 @@ class StepperItem {
|
|
|
40223
40235
|
disconnectLocalized(this);
|
|
40224
40236
|
}
|
|
40225
40237
|
render() {
|
|
40226
|
-
return (hAsync(Host, { "aria-
|
|
40238
|
+
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
40239
|
/* additional tab index logic needed because of display: contents */
|
|
40228
40240
|
this.layout === "horizontal" && !this.disabled ? 0 : null,
|
|
40229
40241
|
// 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:
|
|
40242
|
+
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
40243
|
}
|
|
40232
40244
|
//--------------------------------------------------------------------------
|
|
40233
40245
|
//
|
|
@@ -45424,8 +45436,8 @@ class ValueListItem {
|
|
|
45424
45436
|
const { icon, iconFlipRtl } = this;
|
|
45425
45437
|
if (icon === ICON_TYPES$1.grip) {
|
|
45426
45438
|
return (hAsync("span", { class: {
|
|
45427
|
-
[CSS$
|
|
45428
|
-
[CSS$
|
|
45439
|
+
[CSS$r.handle]: true,
|
|
45440
|
+
[CSS$r.handleActivated]: this.handleActivated,
|
|
45429
45441
|
}, "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
45442
|
}
|
|
45431
45443
|
}
|