@esri/calcite-components 1.9.0-next.2 → 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-68f14f80.js → p-003bec51.js} +2 -2
- package/dist/calcite/{p-ff9cf414.js → p-0425f900.js} +2 -2
- package/dist/calcite/{p-ec438d5e.js → p-051d3769.js} +2 -2
- package/dist/calcite/{p-70fcf1ca.entry.js → p-0551e741.entry.js} +2 -2
- package/dist/calcite/{p-e7b63d0e.entry.js → p-0608b56c.entry.js} +2 -2
- package/dist/calcite/{p-8735a364.entry.js → p-0ec34f38.entry.js} +2 -2
- package/dist/calcite/{p-acfef0b9.entry.js → p-0fe3aaa3.entry.js} +2 -2
- package/dist/calcite/{p-533e529e.js → p-11da1b14.js} +2 -2
- package/dist/calcite/{p-865fb48f.js → p-1520a1ea.js} +2 -2
- package/dist/calcite/{p-53d1c057.entry.js → p-16ed3229.entry.js} +2 -2
- package/dist/calcite/{p-0c0c333b.js → p-17eab823.js} +2 -2
- package/dist/calcite/{p-59703d42.entry.js → p-1a667c2a.entry.js} +2 -2
- package/dist/calcite/{p-7dbfc53b.entry.js → p-1a8b427b.entry.js} +2 -2
- package/dist/calcite/{p-8c131b5f.entry.js → p-1b9ea6a1.entry.js} +2 -2
- package/dist/calcite/{p-675b6557.js → p-1da04471.js} +2 -2
- package/dist/calcite/{p-f48daa6c.entry.js → p-1db5419b.entry.js} +2 -2
- package/dist/calcite/{p-a7c52287.entry.js → p-1dc83d37.entry.js} +2 -2
- package/dist/calcite/{p-d60d1ab4.js → p-1dfad893.js} +2 -2
- package/dist/calcite/{p-4e35d688.entry.js → p-1fd9b546.entry.js} +2 -2
- package/dist/calcite/{p-0ed9761b.entry.js → p-20469675.entry.js} +2 -2
- package/dist/calcite/{p-b2c20b5a.js → p-213c3493.js} +2 -2
- package/dist/calcite/{p-6845a16e.js → p-21795ae4.js} +1 -1
- package/dist/calcite/{p-30d08f7e.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-b47fc1c3.js → p-2b940331.js} +2 -2
- package/dist/calcite/{p-9513aa32.js → p-2bcc09b6.js} +2 -2
- package/dist/calcite/{p-7796e1ef.entry.js → p-2c848ca4.entry.js} +2 -2
- package/dist/calcite/{p-b9b79f0b.js → p-2e54fed8.js} +2 -2
- package/dist/calcite/{p-03fd962c.entry.js → p-2ecebb3f.entry.js} +2 -2
- package/dist/calcite/{p-02674313.js → p-342aef2f.js} +1 -1
- package/dist/calcite/{p-c1e4afe6.js → p-34d96cac.js} +2 -2
- package/dist/calcite/{p-b1bc2b61.entry.js → p-353d1be6.entry.js} +2 -2
- package/dist/calcite/{p-79624bb6.js → p-35477750.js} +2 -2
- package/dist/calcite/{p-e708a21d.js → p-375b9b2d.js} +2 -2
- package/dist/calcite/{p-fd4d74ee.js → p-377e4dee.js} +1 -1
- package/dist/calcite/{p-6dcd6082.js → p-39e0b8d2.js} +2 -2
- package/dist/calcite/{p-9650fa93.entry.js → p-3a6ce74b.entry.js} +2 -2
- package/dist/calcite/p-3aa897da.entry.js +6 -0
- package/dist/calcite/{p-38b509e8.entry.js → p-3f76348b.entry.js} +2 -2
- package/dist/calcite/{p-b2d492a7.entry.js → p-437c8183.entry.js} +2 -2
- package/dist/calcite/{p-4ac6fe6d.js → p-43c86ccd.js} +2 -2
- package/dist/calcite/{p-11a3a106.js → p-45550a07.js} +2 -2
- package/dist/calcite/{p-4ab096a2.entry.js → p-462f80c9.entry.js} +2 -2
- package/dist/calcite/{p-dca917ce.js → p-484edaed.js} +2 -2
- package/dist/calcite/{p-21c00034.entry.js → p-49a50b1a.entry.js} +2 -2
- package/dist/calcite/p-49edc571.js +6 -0
- package/dist/calcite/{p-2e0a5b8e.entry.js → p-4a16cb2b.entry.js} +2 -2
- package/dist/calcite/{p-400de60e.entry.js → p-4b3cb8b5.entry.js} +2 -2
- package/dist/calcite/{p-30fd7c01.js → p-4ce14ea6.js} +2 -2
- package/dist/calcite/{p-30d55551.entry.js → p-4e7223f3.entry.js} +2 -2
- package/dist/calcite/p-4ebb255c.entry.js +6 -0
- package/dist/calcite/{p-e23d32ae.js → p-51eecde8.js} +1 -1
- package/dist/calcite/{p-6011bf95.entry.js → p-5275df01.entry.js} +2 -2
- package/dist/calcite/{p-61cf3f17.js → p-53a12543.js} +2 -2
- package/dist/calcite/{p-61b917ad.entry.js → p-53b611a0.entry.js} +2 -2
- package/dist/calcite/{p-03b57f3b.js → p-565143ee.js} +2 -2
- package/dist/calcite/{p-6dd6c8f3.js → p-59fe253d.js} +2 -2
- package/dist/calcite/{p-7414798f.js → p-5cf6a2d1.js} +2 -2
- package/dist/calcite/{p-84c75688.js → p-5d25ded7.js} +2 -2
- package/dist/calcite/{p-f4a6ff70.entry.js → p-5f85c2d5.entry.js} +2 -2
- package/dist/calcite/{p-f899bbaa.js → p-6003be2e.js} +2 -2
- package/dist/calcite/{p-e1797c3d.js → p-6045938b.js} +2 -2
- package/dist/calcite/{p-80efd114.js → p-6066c714.js} +2 -2
- package/dist/calcite/{p-2d44b388.entry.js → p-60f52fd1.entry.js} +2 -2
- package/dist/calcite/{p-35a0c629.entry.js → p-62087aff.entry.js} +2 -2
- package/dist/calcite/p-637ca361.entry.js +6 -0
- package/dist/calcite/{p-2ef13a20.entry.js → p-6489dd01.entry.js} +2 -2
- package/dist/calcite/{p-2218df37.js → p-66b37ba1.js} +2 -2
- package/dist/calcite/{p-ad24b41a.entry.js → p-66d3c705.entry.js} +2 -2
- package/dist/calcite/{p-699a37fd.js → p-681d53d1.js} +2 -2
- package/dist/calcite/{p-a533da18.entry.js → p-68251e67.entry.js} +2 -2
- package/dist/calcite/{p-7b602a15.entry.js → p-6b55ffab.entry.js} +2 -2
- package/dist/calcite/{p-3a3b986c.entry.js → p-6d0d412a.entry.js} +2 -2
- package/dist/calcite/p-7063f0d9.entry.js +6 -0
- package/dist/calcite/{p-f46bdc7c.js → p-71117e49.js} +2 -2
- package/dist/calcite/{p-2011ad31.entry.js → p-730660ae.entry.js} +2 -2
- package/dist/calcite/{p-0a9879c1.js → p-7315e44d.js} +3 -3
- package/dist/calcite/{p-0865d32c.js → p-73f5b511.js} +2 -2
- package/dist/calcite/{p-d82fa129.js → p-784dab4e.js} +2 -2
- package/dist/calcite/{p-ceb3c61b.entry.js → p-79bd6c3b.entry.js} +2 -2
- package/dist/calcite/{p-3f349e94.js → p-7a6a1681.js} +1 -1
- package/dist/calcite/p-7b2d9b51.js +6 -0
- package/dist/calcite/p-7b9eb7cc.js +6 -0
- package/dist/calcite/{p-b53999d7.js → p-7e2492e5.js} +2 -2
- package/dist/calcite/{p-256e85eb.entry.js → p-7e302b25.entry.js} +2 -2
- package/dist/calcite/{p-86d0271d.js → p-7f41466a.js} +2 -2
- package/dist/calcite/{p-32d2710d.js → p-88ac8d08.js} +2 -2
- package/dist/calcite/{p-4f080ba9.entry.js → p-8a2c019e.entry.js} +2 -2
- package/dist/calcite/{p-af7a0d8f.entry.js → p-8dac9001.entry.js} +2 -2
- package/dist/calcite/{p-6049b004.entry.js → p-8eef1347.entry.js} +2 -2
- package/dist/calcite/{p-70be7b62.js → p-922444e0.js} +1 -1
- package/dist/calcite/{p-611d4428.entry.js → p-92c2f075.entry.js} +2 -2
- package/dist/calcite/{p-37fa269e.entry.js → p-940d5651.entry.js} +2 -2
- package/dist/calcite/p-944dc8a6.entry.js +6 -0
- package/dist/calcite/{p-266cc550.entry.js → p-959afe76.entry.js} +2 -2
- package/dist/calcite/{p-1f0c80ff.js → p-97e27455.js} +2 -2
- package/dist/calcite/{p-0ea2d542.js → p-9b2e2e23.js} +2 -2
- package/dist/calcite/{p-6622cd4d.js → p-9b4b0ec1.js} +1 -1
- package/dist/calcite/{p-87bffe31.js → p-9fc38aad.js} +1 -1
- package/dist/calcite/{p-24f91384.js → p-a04ce9be.js} +2 -2
- package/dist/calcite/{p-eb43c0cb.entry.js → p-a2df5b28.entry.js} +2 -2
- package/dist/calcite/{p-38c2589e.js → p-a318e315.js} +2 -2
- package/dist/calcite/{p-32b211e6.entry.js → p-a4e4ca7d.entry.js} +2 -2
- package/dist/calcite/{p-2891f550.entry.js → p-aa6c6096.entry.js} +2 -2
- package/dist/calcite/{p-d7feaa30.js → p-ac6d0e15.js} +1 -1
- package/dist/calcite/{p-0a1b2c88.js → p-ad040021.js} +2 -2
- package/dist/calcite/{p-7990c747.js → p-ad9e20af.js} +2 -2
- package/dist/calcite/{p-7d1fe80d.js → p-b4d7ede4.js} +1 -1
- package/dist/calcite/{p-8f7d97e2.js → p-b4fbfdaa.js} +2 -2
- package/dist/calcite/{p-7a0fd9c8.js → p-b5a3476e.js} +1 -1
- package/dist/calcite/p-b973d61d.entry.js +6 -0
- package/dist/calcite/{p-47166824.entry.js → p-b97da44c.entry.js} +2 -2
- package/dist/calcite/{p-619516e9.entry.js → p-bb455c73.entry.js} +2 -2
- package/dist/calcite/{p-5d6b9996.entry.js → p-beb7c906.entry.js} +2 -2
- package/dist/calcite/{p-d2e38f5e.js → p-bff59d54.js} +2 -2
- package/dist/calcite/{p-b1b80710.entry.js → p-c37af731.entry.js} +2 -2
- package/dist/calcite/{p-04452681.js → p-c52e1541.js} +2 -2
- package/dist/calcite/{p-d809b89f.entry.js → p-c7af7ed1.entry.js} +2 -2
- package/dist/calcite/{p-92cee3b9.js → p-c8551f70.js} +1 -1
- package/dist/calcite/{p-3fd375ec.js → p-cd22a526.js} +2 -2
- package/dist/calcite/{p-d41aa5cf.js → p-ce04d8b2.js} +2 -2
- package/dist/calcite/{p-6ab7b3c6.entry.js → p-cfcdefca.entry.js} +2 -2
- package/dist/calcite/{p-90ccbb73.js → p-d0fd025c.js} +1 -1
- package/dist/calcite/p-d229043d.entry.js +6 -0
- package/dist/calcite/{p-0334b869.js → p-d3486826.js} +2 -2
- package/dist/calcite/{p-63c31282.js → p-d407a27d.js} +2 -2
- package/dist/calcite/{p-963d384b.entry.js → p-d4fd7943.entry.js} +2 -2
- package/dist/calcite/{p-1c22ef18.js → p-d5538ed2.js} +1 -1
- package/dist/calcite/{p-2dc209d5.js → p-da54c3f7.js} +2 -2
- package/dist/calcite/{p-4fdaa42e.js → p-dbf2e726.js} +2 -2
- package/dist/calcite/{p-edf31390.js → p-dcc09ec8.js} +2 -2
- package/dist/calcite/{p-aca39f19.js → p-dd9d4ff6.js} +2 -2
- package/dist/calcite/{p-0f487f5a.js → p-e0099329.js} +2 -2
- package/dist/calcite/{p-d0928968.entry.js → p-e2b6eccc.entry.js} +2 -2
- package/dist/calcite/p-e342cb16.js +6 -0
- package/dist/calcite/{p-c8868da1.js → p-e3aeb8aa.js} +2 -2
- package/dist/calcite/{p-a5a3f3a6.js → p-e3d4060e.js} +2 -2
- package/dist/calcite/{p-ed4e242f.js → p-e8651158.js} +1 -1
- package/dist/calcite/{p-636ea890.js → p-e9091728.js} +2 -2
- package/dist/calcite/{p-eebfbb45.js → p-e941ed6f.js} +1 -1
- package/dist/calcite/{p-870e6cb3.entry.js → p-e9f9655f.entry.js} +2 -2
- package/dist/calcite/{p-8eac3920.js → p-ea031e51.js} +2 -2
- package/dist/calcite/p-ea3be343.entry.js +6 -0
- package/dist/calcite/{p-2640c282.entry.js → p-ebcde8c5.entry.js} +2 -2
- package/dist/calcite/{p-da8834e4.js → p-ec1ae22e.js} +2 -2
- package/dist/calcite/{p-3150677d.entry.js → p-ed1789b8.entry.js} +2 -2
- package/dist/calcite/{p-a40c2404.js → p-ed202896.js} +2 -2
- package/dist/calcite/{p-141523f8.entry.js → p-ef922019.entry.js} +2 -2
- package/dist/calcite/{p-3ce61697.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-41b711cb.entry.js → p-fd18d6c2.entry.js} +2 -2
- package/dist/calcite/p-fdb61d3d.js +6 -0
- package/dist/calcite/{p-96bbc2cd.entry.js → p-ff79df54.entry.js} +2 -2
- package/dist/calcite/{p-d098d462.entry.js → p-ffbe7782.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-fe9ddf25.js → ExpandToggle-df0261a1.js} +5 -5
- package/dist/cjs/{FloatingArrow-3f56af0b.js → FloatingArrow-ae11c373.js} +2 -2
- package/dist/cjs/{Heading-cec9aa78.js → Heading-295f255d.js} +2 -2
- package/dist/cjs/{app-globals-96b5e59f.js → app-globals-f9312c49.js} +2 -2
- package/dist/cjs/{ar-e9841d1d.js → ar-033f58cd.js} +17 -17
- package/dist/cjs/{array-b882ea91.js → array-e5e2c254.js} +1 -1
- package/dist/cjs/{bg-f4dd5772.js → bg-1c632350.js} +17 -17
- package/dist/cjs/{browser-c8229b6a.js → browser-9fce3122.js} +1 -1
- package/dist/cjs/{bs-a4753b0e.js → bs-06adaff9.js} +17 -17
- package/dist/cjs/{ca-355e5613.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-681f2be0.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 +12 -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-4ba11667.js → conditionalSlot-3d02bf30.js} +3 -3
- package/dist/cjs/{cs-21c0a00e.js → cs-789affe9.js} +17 -17
- package/dist/cjs/{da-a108c651.js → da-6fe53ac5.js} +17 -17
- package/dist/cjs/{de-ae9f0819.js → de-325ba5f7.js} +17 -17
- package/dist/cjs/{de-at-a7bd75ca.js → de-at-c96284d2.js} +17 -17
- package/dist/cjs/{de-ch-2b4c2ccf.js → de-ch-cebb38a5.js} +17 -17
- package/dist/cjs/{debounce-82a75957.js → debounce-38e7a73a.js} +1 -1
- package/dist/cjs/{dom-f9a104a6.js → dom-138abdfd.js} +3 -3
- package/dist/cjs/{el-201dd593.js → el-eefbb8f0.js} +17 -17
- package/dist/cjs/{en-au-3b95e303.js → en-au-1b9a4817.js} +17 -17
- package/dist/cjs/{en-ca-18616a46.js → en-ca-c3088d9c.js} +17 -17
- package/dist/cjs/{en-gb-6aa6445f.js → en-gb-a4e2c393.js} +17 -17
- package/dist/cjs/{es-0a280f64.js → es-37507274.js} +17 -17
- package/dist/cjs/{es-mx-346bb570.js → es-mx-14025c63.js} +17 -17
- package/dist/cjs/{et-b5ec1db0.js → et-67e905ad.js} +17 -17
- package/dist/cjs/{fi-adda771d.js → fi-2b433171.js} +17 -17
- package/dist/cjs/{filter-5f1376c5.js → filter-8985175b.js} +2 -2
- package/dist/cjs/{floating-ui-5d561701.js → floating-ui-29817784.js} +32 -16
- package/dist/cjs/{focusTrapComponent-2b002902.js → focusTrapComponent-5b83374b.js} +2 -2
- package/dist/cjs/{form-48d88145.js → form-13812899.js} +3 -3
- package/dist/cjs/{fr-a2a2ecc9.js → fr-2368905b.js} +17 -17
- package/dist/cjs/{fr-ch-5c3e7f28.js → fr-ch-a72b59e4.js} +17 -17
- package/dist/cjs/{guid-43b8b53a.js → guid-55893448.js} +1 -1
- package/dist/cjs/{he-927ce386.js → he-7d9e269c.js} +17 -17
- package/dist/cjs/{hi-93823f22.js → hi-018ffb71.js} +17 -17
- package/dist/cjs/{hr-2a875c3c.js → hr-3574f4e7.js} +17 -17
- package/dist/cjs/{hu-3d3d3f65.js → hu-05194164.js} +17 -17
- package/dist/cjs/{id-81c5791a.js → id-d4a0ad33.js} +17 -17
- package/dist/cjs/{index-92218405.js → index-7a81ba8f.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-c3ace628.js → interactive-84a20b01.js} +2 -2
- package/dist/cjs/{it-d4afcdd9.js → it-8a4490f8.js} +17 -17
- package/dist/cjs/{it-ch-a11f800a.js → it-ch-1583fbfa.js} +17 -17
- package/dist/cjs/{ja-85a84421.js → ja-1a25c9d6.js} +17 -17
- package/dist/cjs/{key-8e30c967.js → key-a7949c92.js} +1 -1
- package/dist/cjs/{ko-1d20587a.js → ko-e5bcdc0c.js} +17 -17
- package/dist/cjs/{label-24c8e35c.js → label-7d8d04a8.js} +2 -2
- package/dist/cjs/{loadable-7de1df75.js → loadable-21208622.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-98d3adb6.js → locale-5175878b.js} +4 -4
- package/dist/cjs/{lt-18a1fec9.js → lt-2a67d7f6.js} +17 -17
- package/dist/cjs/{lv-b7010b64.js → lv-1495aa27.js} +17 -17
- package/dist/cjs/{math-c9af7223.js → math-e2d320ab.js} +1 -1
- package/dist/cjs/{mk-f3c4c0d9.js → mk-eddc87b4.js} +17 -17
- package/dist/cjs/{nb-4b7783e0.js → nb-da9eacb6.js} +17 -17
- package/dist/cjs/{nl-1e4c19f4.js → nl-3624a686.js} +17 -17
- package/dist/cjs/{observers-fea8899b.js → observers-6e6f34dc.js} +1 -1
- package/dist/cjs/{openCloseComponent-d895b0ef.js → openCloseComponent-8001f9d7.js} +2 -2
- package/dist/cjs/{pl-d21946f7.js → pl-1fa02b3d.js} +17 -17
- package/dist/cjs/{pt-f3a0befd.js → pt-300c8ed7.js} +17 -17
- package/dist/cjs/{pt-br-83cb636c.js → pt-br-1eb1da6f.js} +17 -17
- package/dist/cjs/{resources-09ea383f.js → resources-7471dc8e.js} +5 -5
- package/dist/cjs/{resources-98e07bcd.js → resources-8100a860.js} +1 -1
- package/dist/cjs/{resources-ecb027a1.js → resources-8ae36d9c.js} +1 -1
- package/dist/cjs/{resources-e7bf9033.js → resources-d21c5f03.js} +1 -1
- package/dist/cjs/{resources-003386cb.js → resources-e73d435b.js} +1 -1
- package/dist/cjs/{resources-75389e58.js → resources-eea0963c.js} +1 -1
- package/dist/cjs/{resources-1a18768c.js → resources-fbf5f39a.js} +1 -1
- package/dist/cjs/{ro-06e805a0.js → ro-cad9ab88.js} +17 -17
- package/dist/cjs/{ru-790ac577.js → ru-9af0d3a6.js} +17 -17
- package/dist/cjs/{sk-de1036cc.js → sk-f97469d9.js} +17 -17
- package/dist/cjs/{sl-a09c0824.js → sl-a931f05f.js} +17 -17
- package/dist/cjs/{sortableComponent-a26cfdd8.js → sortableComponent-8552c0f9.js} +1 -1
- package/dist/cjs/{sr-406b32fc.js → sr-c2f8dd4d.js} +17 -17
- package/dist/cjs/{sv-091e89d4.js → sv-503f8963.js} +17 -17
- package/dist/cjs/{t9n-980f6197.js → t9n-17617255.js} +3 -3
- package/dist/cjs/{th-ff5705c9.js → th-90451add.js} +17 -17
- package/dist/cjs/{throttle-a3625f31.js → throttle-91a36c63.js} +2 -2
- package/dist/cjs/{tr-249cd500.js → tr-93cd06d0.js} +17 -17
- package/dist/cjs/{uk-93a55bdd.js → uk-7ebad5b3.js} +17 -17
- package/dist/cjs/{utils-6ae49619.js → utils-c4598449.js} +1 -1
- package/dist/cjs/{utils-2b850241.js → utils-e3bf661c.js} +3 -3
- package/dist/cjs/{vi-556135e4.js → vi-e029dae5.js} +17 -17
- package/dist/cjs/{zh-cn-6638ccbf.js → zh-cn-7a08fb5a.js} +17 -17
- package/dist/cjs/{zh-hk-2a6ca344.js → zh-hk-5657a268.js} +17 -17
- package/dist/cjs/{zh-tw-0e548133.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 +2 -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 +30 -14
- 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 +2 -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-1650066c.js → ExpandToggle-e9b8af64.js} +5 -5
- package/dist/esm/{FloatingArrow-6b183579.js → FloatingArrow-296dd644.js} +2 -2
- package/dist/esm/{Heading-c2555842.js → Heading-3bb6a361.js} +2 -2
- package/dist/esm/{app-globals-b0a6e40f.js → app-globals-88ce082d.js} +2 -2
- package/dist/esm/{ar-5289a664.js → ar-ed936295.js} +17 -17
- package/dist/esm/{array-5aef1918.js → array-8f8667ab.js} +1 -1
- package/dist/esm/{bg-d40e3430.js → bg-388ebb42.js} +17 -17
- package/dist/esm/{browser-72e99f7e.js → browser-67eb1449.js} +1 -1
- package/dist/esm/{bs-3071c7a4.js → bs-0c2f5362.js} +17 -17
- package/dist/esm/{ca-6b02a663.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-839c4ada.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 +12 -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-70b1962d.js → conditionalSlot-f3152533.js} +3 -3
- package/dist/esm/{cs-0355110d.js → cs-3ef82f69.js} +17 -17
- package/dist/esm/{da-79a464cc.js → da-c212daa9.js} +17 -17
- package/dist/esm/{de-f15366ac.js → de-46648aaa.js} +17 -17
- package/dist/esm/{de-at-3806f4bf.js → de-at-334cbe1a.js} +17 -17
- package/dist/esm/{de-ch-0c068488.js → de-ch-deb053fa.js} +17 -17
- package/dist/esm/{debounce-8a478a6b.js → debounce-b7540c4a.js} +1 -1
- package/dist/esm/{dom-87b64189.js → dom-6cec6d04.js} +3 -3
- package/dist/esm/{el-b0811ad4.js → el-9c8e3b98.js} +17 -17
- package/dist/esm/{en-au-ac2db00e.js → en-au-5d9f440e.js} +17 -17
- package/dist/esm/{en-ca-82b51832.js → en-ca-f922c516.js} +17 -17
- package/dist/esm/{en-gb-f788bdff.js → en-gb-f1ea3fdb.js} +17 -17
- package/dist/esm/{es-5db2e7ff.js → es-e4bd2418.js} +17 -17
- package/dist/esm/{es-mx-f30c3f52.js → es-mx-3937b118.js} +17 -17
- package/dist/esm/{et-60edf965.js → et-c966e41f.js} +17 -17
- package/dist/esm/{fi-fc5d1827.js → fi-821f5dcc.js} +17 -17
- package/dist/esm/{filter-fcee1dd4.js → filter-1c35bfd4.js} +2 -2
- package/dist/esm/{floating-ui-b3ea5d3f.js → floating-ui-0826b417.js} +32 -16
- package/dist/esm/{focusTrapComponent-1ca9bda0.js → focusTrapComponent-9781627a.js} +2 -2
- package/dist/esm/{form-6742e55f.js → form-5a7865cb.js} +3 -3
- package/dist/esm/{fr-2c202c7e.js → fr-8d68e0e8.js} +17 -17
- package/dist/esm/{fr-ch-95cde70c.js → fr-ch-94748048.js} +17 -17
- package/dist/esm/{guid-da69a646.js → guid-e6d9b593.js} +1 -1
- package/dist/esm/{he-e01bb5b8.js → he-02ceec03.js} +17 -17
- package/dist/esm/{hi-73a9741d.js → hi-7c08957b.js} +17 -17
- package/dist/esm/{hr-e43bb93f.js → hr-03f61107.js} +17 -17
- package/dist/esm/{hu-fd9daf6b.js → hu-0652948f.js} +17 -17
- package/dist/esm/{id-b258b08d.js → id-92f6fa38.js} +17 -17
- package/dist/esm/{index-0f30f28c.js → index-06e90a9e.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-26bdcac8.js → interactive-e936b816.js} +2 -2
- package/dist/esm/{it-59e1bc1c.js → it-9025abc6.js} +17 -17
- package/dist/esm/{it-ch-874104d8.js → it-ch-4f23205d.js} +17 -17
- package/dist/esm/{ja-c5fd1466.js → ja-11ff0fa7.js} +17 -17
- package/dist/esm/{key-22e2967e.js → key-df25d2ee.js} +1 -1
- package/dist/esm/{ko-45fefbc3.js → ko-9cf98261.js} +17 -17
- package/dist/esm/{label-0a3854c1.js → label-7fcc498c.js} +2 -2
- package/dist/esm/{loadable-50ee79b5.js → loadable-a1dced56.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-ac07a914.js → locale-5d42672d.js} +4 -4
- package/dist/esm/{lt-c21ed204.js → lt-667eacef.js} +17 -17
- package/dist/esm/{lv-4ea7a844.js → lv-f7544c41.js} +17 -17
- package/dist/esm/{math-f6fe0784.js → math-3bac3db7.js} +1 -1
- package/dist/esm/{mk-0187ba70.js → mk-45f80351.js} +17 -17
- package/dist/esm/{nb-05585c41.js → nb-a9fe2baa.js} +17 -17
- package/dist/esm/{nl-5d36b06d.js → nl-9eeeb909.js} +17 -17
- package/dist/esm/{observers-399da751.js → observers-81bfe238.js} +1 -1
- package/dist/esm/{openCloseComponent-4dfffb2a.js → openCloseComponent-1c903268.js} +2 -2
- package/dist/esm/{pl-8a0ef8fd.js → pl-9dabba85.js} +17 -17
- package/dist/esm/{pt-7084421b.js → pt-26613a75.js} +17 -17
- package/dist/esm/{pt-br-3529fe2c.js → pt-br-a12f9d62.js} +17 -17
- package/dist/esm/{resources-5d647924.js → resources-0160d8db.js} +1 -1
- package/dist/esm/{resources-580d5a8c.js → resources-35b588b5.js} +1 -1
- package/dist/esm/{resources-3fccc5f5.js → resources-3b4bbf27.js} +1 -1
- package/dist/esm/{resources-771c649a.js → resources-6c1eff45.js} +1 -1
- package/dist/esm/{resources-8f3b7e1c.js → resources-a2f0ea43.js} +1 -1
- package/dist/esm/{resources-6f0462da.js → resources-adc73c36.js} +5 -5
- package/dist/esm/{resources-2f19bb4e.js → resources-d12b2a0e.js} +1 -1
- package/dist/esm/{ro-b9dd8eb5.js → ro-6a0704d5.js} +17 -17
- package/dist/esm/{ru-0dba2959.js → ru-dfa753b1.js} +17 -17
- package/dist/esm/{sk-abe5a632.js → sk-cee071c8.js} +17 -17
- package/dist/esm/{sl-0e816422.js → sl-47300442.js} +17 -17
- package/dist/esm/{sortableComponent-bc1a129c.js → sortableComponent-b3ee129b.js} +1 -1
- package/dist/esm/{sr-3c93451e.js → sr-1b9c6b33.js} +17 -17
- package/dist/esm/{sv-776e506e.js → sv-f83e9435.js} +17 -17
- package/dist/esm/{t9n-866a05a0.js → t9n-f3535f7a.js} +3 -3
- package/dist/esm/{th-3151a453.js → th-153374e4.js} +17 -17
- package/dist/esm/{throttle-d5749010.js → throttle-dbec8793.js} +2 -2
- package/dist/esm/{tr-eb149ccc.js → tr-2c1c9227.js} +17 -17
- package/dist/esm/{uk-f76a0d07.js → uk-4b952dec.js} +17 -17
- package/dist/esm/{utils-017d7c88.js → utils-02cbc822.js} +1 -1
- package/dist/esm/{utils-56ceb4ad.js → utils-db0b3cc9.js} +3 -3
- package/dist/esm/{vi-a2c1340e.js → vi-f782ebdf.js} +17 -17
- package/dist/esm/{zh-cn-9625ab16.js → zh-cn-3390cc2e.js} +17 -17
- package/dist/esm/{zh-hk-ce883dc1.js → zh-hk-cfccc140.js} +17 -17
- package/dist/esm/{zh-tw-bd9959cf.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 +478 -449
- package/package.json +3 -3
- package/dist/calcite/p-02e3c0c8.js +0 -6
- package/dist/calcite/p-118b1f36.entry.js +0 -6
- package/dist/calcite/p-1b004360.entry.js +0 -6
- package/dist/calcite/p-3585ac60.entry.js +0 -6
- package/dist/calcite/p-3c176726.entry.js +0 -6
- package/dist/calcite/p-3e4d4dc3.js +0 -6
- package/dist/calcite/p-4c086cf4.js +0 -6
- package/dist/calcite/p-5e8be5c5.entry.js +0 -6
- package/dist/calcite/p-691fbfe1.entry.js +0 -6
- package/dist/calcite/p-82772c8b.js +0 -6
- package/dist/calcite/p-84037be5.js +0 -6
- package/dist/calcite/p-898cd428.js +0 -6
- package/dist/calcite/p-97ab1f5d.entry.js +0 -6
- package/dist/calcite/p-ab41c12c.entry.js +0 -6
- package/dist/calcite/p-b3afc6e7.entry.js +0 -6
- package/dist/calcite/p-c24c1eb1.entry.js +0 -6
- package/dist/calcite/p-de87da9c.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
|
}
|
|
@@ -17535,7 +17535,8 @@ const arrow = options => ({
|
|
|
17535
17535
|
placement,
|
|
17536
17536
|
rects,
|
|
17537
17537
|
platform,
|
|
17538
|
-
elements
|
|
17538
|
+
elements,
|
|
17539
|
+
middlewareData
|
|
17539
17540
|
} = state;
|
|
17540
17541
|
// Since `element` is required, we don't Partial<> the type.
|
|
17541
17542
|
const {
|
|
@@ -17583,16 +17584,20 @@ const arrow = options => ({
|
|
|
17583
17584
|
|
|
17584
17585
|
// If the reference is small enough that the arrow's padding causes it to
|
|
17585
17586
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
17586
|
-
// floating element itself.
|
|
17587
|
-
//
|
|
17588
|
-
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
17589
|
-
const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1
|
|
17587
|
+
// floating element itself. To ensure `shift()` continues to take action,
|
|
17588
|
+
// a single reset is performed when this is true.
|
|
17589
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
17590
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
|
17590
17591
|
return {
|
|
17591
|
-
[axis]: coords[axis]
|
|
17592
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
17592
17593
|
data: {
|
|
17593
17594
|
[axis]: offset,
|
|
17594
|
-
centerOffset: center - offset
|
|
17595
|
-
|
|
17595
|
+
centerOffset: center - offset - alignmentOffset,
|
|
17596
|
+
...(shouldAddOffset && {
|
|
17597
|
+
alignmentOffset
|
|
17598
|
+
})
|
|
17599
|
+
},
|
|
17600
|
+
reset: shouldAddOffset
|
|
17596
17601
|
};
|
|
17597
17602
|
}
|
|
17598
17603
|
});
|
|
@@ -17714,7 +17719,7 @@ const flip = function (options) {
|
|
|
17714
17719
|
name: 'flip',
|
|
17715
17720
|
options,
|
|
17716
17721
|
async fn(state) {
|
|
17717
|
-
var _middlewareData$flip;
|
|
17722
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
17718
17723
|
const {
|
|
17719
17724
|
placement,
|
|
17720
17725
|
middlewareData,
|
|
@@ -17732,6 +17737,14 @@ const flip = function (options) {
|
|
|
17732
17737
|
flipAlignment = true,
|
|
17733
17738
|
...detectOverflowOptions
|
|
17734
17739
|
} = evaluate(options, state);
|
|
17740
|
+
|
|
17741
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
|
17742
|
+
// added, we should skip any logic now since `flip()` has already done its
|
|
17743
|
+
// work.
|
|
17744
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
17745
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
17746
|
+
return {};
|
|
17747
|
+
}
|
|
17735
17748
|
const side = getSide(placement);
|
|
17736
17749
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
17737
17750
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
@@ -18132,18 +18145,21 @@ function getNearestOverflowAncestor(node) {
|
|
|
18132
18145
|
}
|
|
18133
18146
|
return getNearestOverflowAncestor(parentNode);
|
|
18134
18147
|
}
|
|
18135
|
-
function getOverflowAncestors(node, list) {
|
|
18148
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
18136
18149
|
var _node$ownerDocument2;
|
|
18137
18150
|
if (list === void 0) {
|
|
18138
18151
|
list = [];
|
|
18139
18152
|
}
|
|
18153
|
+
if (traverseIframes === void 0) {
|
|
18154
|
+
traverseIframes = true;
|
|
18155
|
+
}
|
|
18140
18156
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
18141
18157
|
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
18142
18158
|
const win = getWindow(scrollableAncestor);
|
|
18143
18159
|
if (isBody) {
|
|
18144
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
18160
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
18145
18161
|
}
|
|
18146
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
18162
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
18147
18163
|
}
|
|
18148
18164
|
|
|
18149
18165
|
function getCssDimensions(element) {
|
|
@@ -18414,7 +18430,7 @@ function getClippingElementAncestors(element, cache) {
|
|
|
18414
18430
|
if (cachedResult) {
|
|
18415
18431
|
return cachedResult;
|
|
18416
18432
|
}
|
|
18417
|
-
let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
18433
|
+
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
18418
18434
|
let currentContainingBlockComputedStyle = null;
|
|
18419
18435
|
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
18420
18436
|
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
@@ -18860,7 +18876,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18860
18876
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18861
18877
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18862
18878
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
18863
|
-
const CSS$
|
|
18879
|
+
const CSS$W = {
|
|
18864
18880
|
listContainer: "list-container",
|
|
18865
18881
|
};
|
|
18866
18882
|
|
|
@@ -18888,11 +18904,11 @@ function isSingleLike(selectionMode) {
|
|
|
18888
18904
|
return selectionMode.includes("single");
|
|
18889
18905
|
}
|
|
18890
18906
|
|
|
18891
|
-
const CSS$
|
|
18907
|
+
const CSS$V = {
|
|
18892
18908
|
button: "x-button",
|
|
18893
18909
|
};
|
|
18894
18910
|
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
18895
|
-
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",
|
|
18896
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)
|
|
18897
18913
|
ref: ref },
|
|
18898
18914
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
@@ -19090,7 +19106,7 @@ class Combobox {
|
|
|
19090
19106
|
event.preventDefault();
|
|
19091
19107
|
return;
|
|
19092
19108
|
}
|
|
19093
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
19109
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$V.button))) {
|
|
19094
19110
|
this.clearValue();
|
|
19095
19111
|
event.preventDefault();
|
|
19096
19112
|
return;
|
|
@@ -19698,7 +19714,7 @@ class Combobox {
|
|
|
19698
19714
|
renderFloatingUIContainer() {
|
|
19699
19715
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19700
19716
|
const classes = {
|
|
19701
|
-
[CSS$
|
|
19717
|
+
[CSS$W.listContainer]: true,
|
|
19702
19718
|
[FloatingCSS.animation]: true,
|
|
19703
19719
|
[FloatingCSS.animationActive]: open,
|
|
19704
19720
|
};
|
|
@@ -19797,7 +19813,7 @@ class Combobox {
|
|
|
19797
19813
|
}; }
|
|
19798
19814
|
}
|
|
19799
19815
|
|
|
19800
|
-
const CSS$
|
|
19816
|
+
const CSS$U = {
|
|
19801
19817
|
icon: "icon",
|
|
19802
19818
|
iconActive: "icon--active",
|
|
19803
19819
|
iconIndent: "icon--indent",
|
|
@@ -19876,20 +19892,20 @@ class ComboboxItem {
|
|
|
19876
19892
|
// --------------------------------------------------------------------------
|
|
19877
19893
|
renderIcon(iconPath) {
|
|
19878
19894
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
19879
|
-
[CSS$
|
|
19880
|
-
[CSS$
|
|
19881
|
-
[CSS$
|
|
19895
|
+
[CSS$U.custom]: !!this.icon,
|
|
19896
|
+
[CSS$U.iconActive]: this.icon && this.selected,
|
|
19897
|
+
[CSS$U.iconIndent]: true,
|
|
19882
19898
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
19883
19899
|
}
|
|
19884
19900
|
renderSelectIndicator(showDot, iconPath) {
|
|
19885
19901
|
return showDot ? (hAsync("span", { class: {
|
|
19886
|
-
[CSS$
|
|
19887
|
-
[CSS$
|
|
19888
|
-
[CSS$
|
|
19902
|
+
[CSS$U.icon]: true,
|
|
19903
|
+
[CSS$U.dot]: true,
|
|
19904
|
+
[CSS$U.iconIndent]: true,
|
|
19889
19905
|
} })) : (hAsync("calcite-icon", { class: {
|
|
19890
|
-
[CSS$
|
|
19891
|
-
[CSS$
|
|
19892
|
-
[CSS$
|
|
19906
|
+
[CSS$U.icon]: true,
|
|
19907
|
+
[CSS$U.iconActive]: this.selected,
|
|
19908
|
+
[CSS$U.iconIndent]: true,
|
|
19893
19909
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
19894
19910
|
}
|
|
19895
19911
|
renderChildren() {
|
|
@@ -19904,10 +19920,10 @@ class ComboboxItem {
|
|
|
19904
19920
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19905
19921
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
19906
19922
|
const classes = {
|
|
19907
|
-
[CSS$
|
|
19908
|
-
[CSS$
|
|
19909
|
-
[CSS$
|
|
19910
|
-
[CSS$
|
|
19923
|
+
[CSS$U.label]: true,
|
|
19924
|
+
[CSS$U.selected]: this.selected,
|
|
19925
|
+
[CSS$U.active]: this.active,
|
|
19926
|
+
[CSS$U.single]: isSingleSelect,
|
|
19911
19927
|
};
|
|
19912
19928
|
const depth = getDepth$1();
|
|
19913
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())));
|
|
@@ -19940,7 +19956,7 @@ class ComboboxItem {
|
|
|
19940
19956
|
}; }
|
|
19941
19957
|
}
|
|
19942
19958
|
|
|
19943
|
-
const CSS$
|
|
19959
|
+
const CSS$T = {
|
|
19944
19960
|
list: "list",
|
|
19945
19961
|
label: "label",
|
|
19946
19962
|
title: "title",
|
|
@@ -19976,7 +19992,7 @@ class ComboboxItemGroup {
|
|
|
19976
19992
|
render() {
|
|
19977
19993
|
const { el, scale } = this;
|
|
19978
19994
|
const depth = getDepth$1();
|
|
19979
|
-
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)));
|
|
19980
19996
|
}
|
|
19981
19997
|
get el() { return getElement(this); }
|
|
19982
19998
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -21163,7 +21179,7 @@ class DatePickerMonth {
|
|
|
21163
21179
|
}; }
|
|
21164
21180
|
}
|
|
21165
21181
|
|
|
21166
|
-
const CSS$
|
|
21182
|
+
const CSS$S = {
|
|
21167
21183
|
header: "header",
|
|
21168
21184
|
month: "month",
|
|
21169
21185
|
chevron: "chevron",
|
|
@@ -21263,7 +21279,7 @@ class DatePickerMonthHeader {
|
|
|
21263
21279
|
this.setNextPrevMonthDates();
|
|
21264
21280
|
}
|
|
21265
21281
|
render() {
|
|
21266
|
-
return hAsync("div", { class: CSS$
|
|
21282
|
+
return hAsync("div", { class: CSS$S.header }, this.renderContent());
|
|
21267
21283
|
}
|
|
21268
21284
|
renderContent() {
|
|
21269
21285
|
const { messages, localeData, activeDate } = this;
|
|
@@ -21286,12 +21302,12 @@ class DatePickerMonthHeader {
|
|
|
21286
21302
|
const order = getOrder(unitOrder);
|
|
21287
21303
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
21288
21304
|
const suffix = localeData.year?.suffix;
|
|
21289
|
-
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: {
|
|
21290
21306
|
year: true,
|
|
21291
|
-
[CSS$
|
|
21307
|
+
[CSS$S.yearSuffix]: !!suffix,
|
|
21292
21308
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21293
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)
|
|
21294
|
-
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 }))));
|
|
21295
21311
|
}
|
|
21296
21312
|
setNextPrevMonthDates() {
|
|
21297
21313
|
if (!this.activeDate) {
|
|
@@ -21793,7 +21809,7 @@ class Dropdown {
|
|
|
21793
21809
|
}; }
|
|
21794
21810
|
}
|
|
21795
21811
|
|
|
21796
|
-
const CSS$
|
|
21812
|
+
const CSS$R = {
|
|
21797
21813
|
container: "container",
|
|
21798
21814
|
containerLink: "container--link",
|
|
21799
21815
|
containerMulti: "container--multi-selection",
|
|
@@ -21841,8 +21857,8 @@ class DropdownGroup {
|
|
|
21841
21857
|
const groupTitle = this.groupTitle ? (hAsync("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
21842
21858
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21843
21859
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21844
|
-
[CSS$
|
|
21845
|
-
[`${CSS$
|
|
21860
|
+
[CSS$R.container]: true,
|
|
21861
|
+
[`${CSS$R.container}--${this.scale}`]: true,
|
|
21846
21862
|
} }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21847
21863
|
}
|
|
21848
21864
|
//--------------------------------------------------------------------------
|
|
@@ -21936,9 +21952,9 @@ class DropdownItem {
|
|
|
21936
21952
|
}
|
|
21937
21953
|
render() {
|
|
21938
21954
|
const { href, selectionMode, label, iconFlipRtl, scale } = this;
|
|
21939
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
21940
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
21941
|
-
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" }));
|
|
21942
21958
|
const slottedContent = this.iconStart && this.iconEnd
|
|
21943
21959
|
? [iconStartEl, contentNode, iconEndEl]
|
|
21944
21960
|
: this.iconStart
|
|
@@ -21946,7 +21962,7 @@ class DropdownItem {
|
|
|
21946
21962
|
: this.iconEnd
|
|
21947
21963
|
? [contentNode, iconEndEl]
|
|
21948
21964
|
: contentNode;
|
|
21949
|
-
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,
|
|
21950
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)
|
|
21951
21967
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
21952
21968
|
const itemRole = href
|
|
@@ -21958,13 +21974,13 @@ class DropdownItem {
|
|
|
21958
21974
|
: "menuitem";
|
|
21959
21975
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
21960
21976
|
return (hAsync(Host, { "aria-checked": itemAria, "aria-label": !href ? label : "", role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
21961
|
-
[CSS$
|
|
21962
|
-
[CSS$
|
|
21963
|
-
[`${CSS$
|
|
21964
|
-
[CSS$
|
|
21965
|
-
[CSS$
|
|
21966
|
-
[CSS$
|
|
21967
|
-
} }, 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)));
|
|
21968
21984
|
}
|
|
21969
21985
|
//--------------------------------------------------------------------------
|
|
21970
21986
|
//
|
|
@@ -22071,7 +22087,7 @@ class DropdownItem {
|
|
|
22071
22087
|
}; }
|
|
22072
22088
|
}
|
|
22073
22089
|
|
|
22074
|
-
const CSS$
|
|
22090
|
+
const CSS$Q = {
|
|
22075
22091
|
button: "button",
|
|
22076
22092
|
};
|
|
22077
22093
|
const ICONS$d = {
|
|
@@ -22132,7 +22148,7 @@ class Fab {
|
|
|
22132
22148
|
render() {
|
|
22133
22149
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl, } = this;
|
|
22134
22150
|
const title = !textEnabled ? label || text || null : null;
|
|
22135
|
-
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",
|
|
22136
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)
|
|
22137
22153
|
ref: (buttonEl) => {
|
|
22138
22154
|
this.buttonEl = buttonEl;
|
|
@@ -22162,7 +22178,7 @@ class Fab {
|
|
|
22162
22178
|
}; }
|
|
22163
22179
|
}
|
|
22164
22180
|
|
|
22165
|
-
const CSS$
|
|
22181
|
+
const CSS$P = {
|
|
22166
22182
|
container: "container",
|
|
22167
22183
|
searchIcon: "search-icon",
|
|
22168
22184
|
};
|
|
@@ -22291,7 +22307,7 @@ class Filter {
|
|
|
22291
22307
|
// --------------------------------------------------------------------------
|
|
22292
22308
|
render() {
|
|
22293
22309
|
const { disabled, scale } = this;
|
|
22294
|
-
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,
|
|
22295
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)
|
|
22296
22312
|
ref: (el) => {
|
|
22297
22313
|
this.textInput = el;
|
|
@@ -22330,7 +22346,7 @@ class Filter {
|
|
|
22330
22346
|
}; }
|
|
22331
22347
|
}
|
|
22332
22348
|
|
|
22333
|
-
const CSS$
|
|
22349
|
+
const CSS$O = {
|
|
22334
22350
|
frame: "frame",
|
|
22335
22351
|
frameAdvancing: "frame--advancing",
|
|
22336
22352
|
frameRetreating: "frame--retreating",
|
|
@@ -22452,9 +22468,9 @@ class Flow {
|
|
|
22452
22468
|
render() {
|
|
22453
22469
|
const { flowDirection } = this;
|
|
22454
22470
|
const frameDirectionClasses = {
|
|
22455
|
-
[CSS$
|
|
22456
|
-
[CSS$
|
|
22457
|
-
[CSS$
|
|
22471
|
+
[CSS$O.frame]: true,
|
|
22472
|
+
[CSS$O.frameAdvancing]: flowDirection === "advancing",
|
|
22473
|
+
[CSS$O.frameRetreating]: flowDirection === "retreating",
|
|
22458
22474
|
};
|
|
22459
22475
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
22460
22476
|
}
|
|
@@ -22477,7 +22493,7 @@ class Flow {
|
|
|
22477
22493
|
}; }
|
|
22478
22494
|
}
|
|
22479
22495
|
|
|
22480
|
-
const CSS$
|
|
22496
|
+
const CSS$N = {
|
|
22481
22497
|
actionBarContainer: "action-bar-container",
|
|
22482
22498
|
backButton: "back-button",
|
|
22483
22499
|
container: "container",
|
|
@@ -22512,7 +22528,7 @@ const SLOTS$n = {
|
|
|
22512
22528
|
footerActions: "footer-actions",
|
|
22513
22529
|
};
|
|
22514
22530
|
|
|
22515
|
-
const CSS$
|
|
22531
|
+
const CSS$M = {
|
|
22516
22532
|
backButton: "back-button",
|
|
22517
22533
|
};
|
|
22518
22534
|
const ICONS$a = {
|
|
@@ -22660,7 +22676,7 @@ class FlowItem {
|
|
|
22660
22676
|
const { showBackButton, backButtonClick, messages } = this;
|
|
22661
22677
|
const label = messages.back;
|
|
22662
22678
|
const icon = rtl ? ICONS$a.backRight : ICONS$a.backLeft;
|
|
22663
|
-
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,
|
|
22664
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)
|
|
22665
22681
|
ref: this.setBackRef })) : null;
|
|
22666
22682
|
}
|
|
@@ -22924,7 +22940,7 @@ class Graph {
|
|
|
22924
22940
|
}; }
|
|
22925
22941
|
}
|
|
22926
22942
|
|
|
22927
|
-
const CSS$
|
|
22943
|
+
const CSS$L = {
|
|
22928
22944
|
handle: "handle",
|
|
22929
22945
|
handleActivated: "handle--activated",
|
|
22930
22946
|
};
|
|
@@ -23047,7 +23063,7 @@ class Handle {
|
|
|
23047
23063
|
render() {
|
|
23048
23064
|
return (
|
|
23049
23065
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
23050
|
-
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,
|
|
23051
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)
|
|
23052
23068
|
ref: (el) => {
|
|
23053
23069
|
this.handleButton = el;
|
|
@@ -23086,7 +23102,7 @@ class Handle {
|
|
|
23086
23102
|
}; }
|
|
23087
23103
|
}
|
|
23088
23104
|
|
|
23089
|
-
const CSS$
|
|
23105
|
+
const CSS$K = {
|
|
23090
23106
|
icon: "icon",
|
|
23091
23107
|
flipRtl: "flip-rtl",
|
|
23092
23108
|
};
|
|
@@ -23134,7 +23150,7 @@ class Icon {
|
|
|
23134
23150
|
const semantic = !!textLabel;
|
|
23135
23151
|
const paths = [].concat(pathData || "");
|
|
23136
23152
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
23137
|
-
[CSS$
|
|
23153
|
+
[CSS$K.flipRtl]: dir === "rtl" && flipRtl,
|
|
23138
23154
|
svg: true,
|
|
23139
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 }))))));
|
|
23140
23156
|
}
|
|
@@ -23180,7 +23196,7 @@ class Icon {
|
|
|
23180
23196
|
}; }
|
|
23181
23197
|
}
|
|
23182
23198
|
|
|
23183
|
-
const CSS$
|
|
23199
|
+
const CSS$J = {
|
|
23184
23200
|
wrapper: "wrapper",
|
|
23185
23201
|
confirmChangesButton: "confirm-changes-button",
|
|
23186
23202
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -23330,16 +23346,16 @@ class InlineEditable {
|
|
|
23330
23346
|
updateHostInteraction(this);
|
|
23331
23347
|
}
|
|
23332
23348
|
render() {
|
|
23333
|
-
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: {
|
|
23334
23350
|
opacity: this.editingEnabled ? "0" : "1",
|
|
23335
23351
|
width: this.editingEnabled ? "0" : "inherit",
|
|
23336
23352
|
}, type: "button",
|
|
23337
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)
|
|
23338
23354
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
23339
|
-
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",
|
|
23340
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)
|
|
23341
23357
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
23342
|
-
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",
|
|
23343
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)
|
|
23344
23360
|
ref: (el) => (this.confirmEditingButton = el) }),
|
|
23345
23361
|
])));
|
|
@@ -23425,7 +23441,7 @@ class InlineEditable {
|
|
|
23425
23441
|
}; }
|
|
23426
23442
|
}
|
|
23427
23443
|
|
|
23428
|
-
const CSS$
|
|
23444
|
+
const CSS$I = {
|
|
23429
23445
|
loader: "loader",
|
|
23430
23446
|
clearButton: "clear-button",
|
|
23431
23447
|
editingEnabled: "editing-enabled",
|
|
@@ -24009,38 +24025,38 @@ class Input {
|
|
|
24009
24025
|
// --------------------------------------------------------------------------
|
|
24010
24026
|
render() {
|
|
24011
24027
|
const dir = getElementDir(this.el);
|
|
24012
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24013
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24014
|
-
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" }));
|
|
24015
24031
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
24016
24032
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24017
|
-
[CSS$
|
|
24018
|
-
[CSS$
|
|
24033
|
+
[CSS$I.numberButtonItem]: true,
|
|
24034
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24019
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" })));
|
|
24020
24036
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24021
|
-
[CSS$
|
|
24022
|
-
[CSS$
|
|
24037
|
+
[CSS$I.numberButtonItem]: true,
|
|
24038
|
+
[CSS$I.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
24023
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" })));
|
|
24024
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
24025
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24026
|
-
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);
|
|
24027
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,
|
|
24028
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)
|
|
24029
24045
|
ref: this.setChildNumberElRef })) : null;
|
|
24030
24046
|
const childEl = this.type !== "number"
|
|
24031
24047
|
? [
|
|
24032
24048
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
24033
|
-
[CSS$
|
|
24034
|
-
[CSS$
|
|
24049
|
+
[CSS$I.editingEnabled]: this.editingEnabled,
|
|
24050
|
+
[CSS$I.inlineChild]: !!this.inlineEditableEl,
|
|
24035
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,
|
|
24036
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)
|
|
24037
24053
|
ref: this.setChildElRef }),
|
|
24038
|
-
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,
|
|
24039
24055
|
]
|
|
24040
24056
|
: null;
|
|
24041
|
-
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
|
|
24042
24058
|
? numberButtonsHorizontalDown
|
|
24043
|
-
: 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
|
|
24044
24060
|
? numberButtonsVertical
|
|
24045
24061
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24046
24062
|
? numberButtonsHorizontalUp
|
|
@@ -24115,7 +24131,7 @@ class Input {
|
|
|
24115
24131
|
}; }
|
|
24116
24132
|
}
|
|
24117
24133
|
|
|
24118
|
-
const CSS$
|
|
24134
|
+
const CSS$H = {
|
|
24119
24135
|
assistiveText: "assistive-text",
|
|
24120
24136
|
menu: "menu-container",
|
|
24121
24137
|
menuActive: "menu-container--active",
|
|
@@ -25582,9 +25598,9 @@ class InputDatePicker {
|
|
|
25582
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)
|
|
25583
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",
|
|
25584
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)
|
|
25585
|
-
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$
|
|
25586
|
-
[CSS$
|
|
25587
|
-
[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,
|
|
25588
25604
|
}, id: this.dialogId, role: "dialog",
|
|
25589
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)
|
|
25590
25606
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -25606,7 +25622,7 @@ class InputDatePicker {
|
|
|
25606
25622
|
ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25607
25623
|
}
|
|
25608
25624
|
renderToggleIcon(open) {
|
|
25609
|
-
return (hAsync("span", { class: CSS$
|
|
25625
|
+
return (hAsync("span", { class: CSS$H.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
25610
25626
|
}
|
|
25611
25627
|
setReferenceEl() {
|
|
25612
25628
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -25871,7 +25887,7 @@ class InputMessage {
|
|
|
25871
25887
|
}; }
|
|
25872
25888
|
}
|
|
25873
25889
|
|
|
25874
|
-
const CSS$
|
|
25890
|
+
const CSS$G = {
|
|
25875
25891
|
loader: "loader",
|
|
25876
25892
|
clearButton: "clear-button",
|
|
25877
25893
|
editingEnabled: "editing-enabled",
|
|
@@ -26386,27 +26402,27 @@ class InputNumber {
|
|
|
26386
26402
|
// --------------------------------------------------------------------------
|
|
26387
26403
|
render() {
|
|
26388
26404
|
const dir = getElementDir(this.el);
|
|
26389
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26390
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26391
|
-
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" }));
|
|
26392
26408
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
26393
26409
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26394
|
-
[CSS$
|
|
26395
|
-
[CSS$
|
|
26410
|
+
[CSS$G.numberButtonItem]: true,
|
|
26411
|
+
[CSS$G.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26396
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" })));
|
|
26397
26413
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26398
|
-
[CSS$
|
|
26399
|
-
[CSS$
|
|
26414
|
+
[CSS$G.numberButtonItem]: true,
|
|
26415
|
+
[CSS$G.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26400
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" })));
|
|
26401
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
26402
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26403
|
-
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);
|
|
26404
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,
|
|
26405
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)
|
|
26406
26422
|
ref: this.setChildNumberElRef }));
|
|
26407
|
-
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
|
|
26408
26424
|
? numberButtonsHorizontalDown
|
|
26409
|
-
: 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
|
|
26410
26426
|
? numberButtonsHorizontalUp
|
|
26411
26427
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26412
26428
|
}
|
|
@@ -26474,7 +26490,7 @@ class InputNumber {
|
|
|
26474
26490
|
}; }
|
|
26475
26491
|
}
|
|
26476
26492
|
|
|
26477
|
-
const CSS$
|
|
26493
|
+
const CSS$F = {
|
|
26478
26494
|
loader: "loader",
|
|
26479
26495
|
clearButton: "clear-button",
|
|
26480
26496
|
editingEnabled: "editing-enabled",
|
|
@@ -26774,18 +26790,18 @@ class InputText {
|
|
|
26774
26790
|
// --------------------------------------------------------------------------
|
|
26775
26791
|
render() {
|
|
26776
26792
|
const dir = getElementDir(this.el);
|
|
26777
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26778
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26779
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26780
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26781
|
-
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);
|
|
26782
26798
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
26783
|
-
[CSS$
|
|
26784
|
-
[CSS$
|
|
26799
|
+
[CSS$F.editingEnabled]: this.editingEnabled,
|
|
26800
|
+
[CSS$F.inlineChild]: !!this.inlineEditableEl,
|
|
26785
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,
|
|
26786
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)
|
|
26787
26803
|
ref: this.setChildElRef }));
|
|
26788
|
-
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 }))));
|
|
26789
26805
|
}
|
|
26790
26806
|
static get assetsDirs() { return ["assets"]; }
|
|
26791
26807
|
get el() { return getElement(this); }
|
|
@@ -27101,7 +27117,7 @@ function toISOTimeString(value, includeSeconds = true) {
|
|
|
27101
27117
|
return isoTimeString;
|
|
27102
27118
|
}
|
|
27103
27119
|
|
|
27104
|
-
const CSS$
|
|
27120
|
+
const CSS$E = {
|
|
27105
27121
|
toggleIcon: "toggle-icon",
|
|
27106
27122
|
};
|
|
27107
27123
|
|
|
@@ -28874,7 +28890,7 @@ class InputTimePicker {
|
|
|
28874
28890
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
28875
28891
|
}
|
|
28876
28892
|
renderToggleIcon(open) {
|
|
28877
|
-
return (hAsync("span", { class: CSS$
|
|
28893
|
+
return (hAsync("span", { class: CSS$E.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
28878
28894
|
}
|
|
28879
28895
|
static get delegatesFocus() { return true; }
|
|
28880
28896
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -29114,7 +29130,7 @@ class InputTimeZone {
|
|
|
29114
29130
|
}; }
|
|
29115
29131
|
}
|
|
29116
29132
|
|
|
29117
|
-
const CSS$
|
|
29133
|
+
const CSS$D = {
|
|
29118
29134
|
container: "container",
|
|
29119
29135
|
};
|
|
29120
29136
|
|
|
@@ -29154,7 +29170,7 @@ class Label {
|
|
|
29154
29170
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
29155
29171
|
}
|
|
29156
29172
|
render() {
|
|
29157
|
-
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))));
|
|
29158
29174
|
}
|
|
29159
29175
|
get el() { return getElement(this); }
|
|
29160
29176
|
static get style() { return labelCss; }
|
|
@@ -29289,7 +29305,7 @@ class Link {
|
|
|
29289
29305
|
}; }
|
|
29290
29306
|
}
|
|
29291
29307
|
|
|
29292
|
-
const CSS$
|
|
29308
|
+
const CSS$C = {
|
|
29293
29309
|
container: "container",
|
|
29294
29310
|
containerBorderSelected: "container--border-selected",
|
|
29295
29311
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -29356,7 +29372,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
29356
29372
|
}
|
|
29357
29373
|
}
|
|
29358
29374
|
|
|
29359
|
-
const CSS$
|
|
29375
|
+
const CSS$B = {
|
|
29360
29376
|
container: "container",
|
|
29361
29377
|
table: "table",
|
|
29362
29378
|
scrim: "scrim",
|
|
@@ -32392,7 +32408,7 @@ Sortable.mount(new AutoScrollPlugin());
|
|
|
32392
32408
|
Sortable.mount(Remove, Revert);
|
|
32393
32409
|
|
|
32394
32410
|
const sortableComponentSet = new Set();
|
|
32395
|
-
const CSS$
|
|
32411
|
+
const CSS$A = {
|
|
32396
32412
|
ghostClass: "calcite-sortable--ghost",
|
|
32397
32413
|
chosenClass: "calcite-sortable--chosen",
|
|
32398
32414
|
dragClass: "calcite-sortable--drag",
|
|
@@ -32409,7 +32425,7 @@ function connectSortableComponent(component) {
|
|
|
32409
32425
|
const { group, handleSelector: handle, dragSelector: draggable } = component;
|
|
32410
32426
|
component.sortable = Sortable.create(component.el, {
|
|
32411
32427
|
dataIdAttr,
|
|
32412
|
-
...CSS$
|
|
32428
|
+
...CSS$A,
|
|
32413
32429
|
...(!!draggable && { draggable }),
|
|
32414
32430
|
...(!!group && {
|
|
32415
32431
|
group: {
|
|
@@ -32463,7 +32479,7 @@ function onDragEnd() {
|
|
|
32463
32479
|
Array.from(sortableComponentSet).forEach((component) => component.onDragEnd());
|
|
32464
32480
|
}
|
|
32465
32481
|
|
|
32466
|
-
const CSS$
|
|
32482
|
+
const CSS$z = {
|
|
32467
32483
|
container: "container",
|
|
32468
32484
|
actionsStart: "actions-start",
|
|
32469
32485
|
contentStart: "content-start",
|
|
@@ -32792,9 +32808,9 @@ class List$1 {
|
|
|
32792
32808
|
// --------------------------------------------------------------------------
|
|
32793
32809
|
render() {
|
|
32794
32810
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
|
|
32795
|
-
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,
|
|
32796
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)
|
|
32797
|
-
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 })))));
|
|
32798
32814
|
}
|
|
32799
32815
|
// --------------------------------------------------------------------------
|
|
32800
32816
|
//
|
|
@@ -33210,47 +33226,47 @@ class ListItem {
|
|
|
33210
33226
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
33211
33227
|
return null;
|
|
33212
33228
|
}
|
|
33213
|
-
return (hAsync("td", { class: CSS$
|
|
33229
|
+
return (hAsync("td", { class: CSS$C.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
33214
33230
|
? selectionMode === "multiple"
|
|
33215
33231
|
? ICONS$8.selectedMultiple
|
|
33216
33232
|
: ICONS$8.selectedSingle
|
|
33217
33233
|
: ICONS$8.unselected, scale: "s" })));
|
|
33218
33234
|
}
|
|
33219
33235
|
renderDragHandle() {
|
|
33220
|
-
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;
|
|
33221
33237
|
}
|
|
33222
33238
|
renderOpen() {
|
|
33223
33239
|
const { el, open, openable, parentListEl } = this;
|
|
33224
33240
|
const dir = getElementDir(el);
|
|
33225
|
-
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;
|
|
33226
33242
|
}
|
|
33227
33243
|
renderActionsStart() {
|
|
33228
33244
|
const { label, hasActionsStart } = this;
|
|
33229
|
-
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",
|
|
33230
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)
|
|
33231
33247
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$i.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
33232
33248
|
}
|
|
33233
33249
|
renderActionsEnd() {
|
|
33234
33250
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
33235
|
-
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",
|
|
33236
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)
|
|
33237
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));
|
|
33238
33254
|
}
|
|
33239
33255
|
renderContentStart() {
|
|
33240
33256
|
const { hasContentStart } = this;
|
|
33241
|
-
return (hAsync("div", { class: CSS$
|
|
33257
|
+
return (hAsync("div", { class: CSS$C.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$i.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
33242
33258
|
}
|
|
33243
33259
|
renderCustomContent() {
|
|
33244
33260
|
const { hasCustomContent } = this;
|
|
33245
|
-
return (hAsync("div", { class: CSS$
|
|
33261
|
+
return (hAsync("div", { class: CSS$C.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$i.content, onSlotchange: this.handleContentSlotChange })));
|
|
33246
33262
|
}
|
|
33247
33263
|
renderContentEnd() {
|
|
33248
33264
|
const { hasContentEnd } = this;
|
|
33249
|
-
return (hAsync("div", { class: CSS$
|
|
33265
|
+
return (hAsync("div", { class: CSS$C.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$i.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
33250
33266
|
}
|
|
33251
33267
|
renderContentProperties() {
|
|
33252
33268
|
const { label, description, hasCustomContent } = this;
|
|
33253
|
-
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;
|
|
33254
33270
|
}
|
|
33255
33271
|
renderContentContainer() {
|
|
33256
33272
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -33262,9 +33278,9 @@ class ListItem {
|
|
|
33262
33278
|
this.renderContentEnd(),
|
|
33263
33279
|
];
|
|
33264
33280
|
return (hAsync("td", { "aria-label": label, class: {
|
|
33265
|
-
[CSS$
|
|
33266
|
-
[CSS$
|
|
33267
|
-
[CSS$
|
|
33281
|
+
[CSS$C.contentContainer]: true,
|
|
33282
|
+
[CSS$C.contentContainerSelectable]: selectionMode !== "none",
|
|
33283
|
+
[CSS$C.contentContainerHasCenterContent]: hasCenterContent,
|
|
33268
33284
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
33269
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)
|
|
33270
33286
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -33275,14 +33291,14 @@ class ListItem {
|
|
|
33275
33291
|
const borderSelected = showBorder && selected;
|
|
33276
33292
|
const borderUnselected = showBorder && !selected;
|
|
33277
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: {
|
|
33278
|
-
[CSS$
|
|
33279
|
-
[CSS$
|
|
33280
|
-
[CSS$
|
|
33294
|
+
[CSS$C.container]: true,
|
|
33295
|
+
[CSS$C.containerBorderSelected]: borderSelected,
|
|
33296
|
+
[CSS$C.containerBorderUnselected]: borderUnselected,
|
|
33281
33297
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
33282
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)
|
|
33283
33299
|
ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
33284
|
-
[CSS$
|
|
33285
|
-
[CSS$
|
|
33300
|
+
[CSS$C.nestedContainer]: true,
|
|
33301
|
+
[CSS$C.nestedContainerHidden]: openable && !open,
|
|
33286
33302
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (el) => (this.defaultSlotEl = el) }))));
|
|
33287
33303
|
}
|
|
33288
33304
|
// --------------------------------------------------------------------------
|
|
@@ -33372,7 +33388,7 @@ class ListItem {
|
|
|
33372
33388
|
}; }
|
|
33373
33389
|
}
|
|
33374
33390
|
|
|
33375
|
-
const CSS$
|
|
33391
|
+
const CSS$y = {
|
|
33376
33392
|
container: "container",
|
|
33377
33393
|
heading: "heading",
|
|
33378
33394
|
};
|
|
@@ -33421,7 +33437,7 @@ class ListItemGroup {
|
|
|
33421
33437
|
// --------------------------------------------------------------------------
|
|
33422
33438
|
render() {
|
|
33423
33439
|
const { heading, visualLevel } = this;
|
|
33424
|
-
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 })));
|
|
33425
33441
|
}
|
|
33426
33442
|
get el() { return getElement(this); }
|
|
33427
33443
|
static get style() { return listItemGroupCss; }
|
|
@@ -33521,7 +33537,7 @@ class Loader {
|
|
|
33521
33537
|
}; }
|
|
33522
33538
|
}
|
|
33523
33539
|
|
|
33524
|
-
const CSS$
|
|
33540
|
+
const CSS$x = {
|
|
33525
33541
|
container: "container",
|
|
33526
33542
|
fill: "fill",
|
|
33527
33543
|
stepLine: "step-line",
|
|
@@ -33671,16 +33687,16 @@ class Meter {
|
|
|
33671
33687
|
const aboveHighest = value >= highest;
|
|
33672
33688
|
const belowHighest = value < highest;
|
|
33673
33689
|
if (!value || (!low && belowHighest) || belowLowest) {
|
|
33674
|
-
return CSS$
|
|
33690
|
+
return CSS$x.success;
|
|
33675
33691
|
}
|
|
33676
33692
|
else if (aboveLowest && belowHighest) {
|
|
33677
|
-
return CSS$
|
|
33693
|
+
return CSS$x.warning;
|
|
33678
33694
|
}
|
|
33679
33695
|
else if (aboveHighest) {
|
|
33680
|
-
return CSS$
|
|
33696
|
+
return CSS$x.danger;
|
|
33681
33697
|
}
|
|
33682
33698
|
else {
|
|
33683
|
-
return CSS$
|
|
33699
|
+
return CSS$x.success;
|
|
33684
33700
|
}
|
|
33685
33701
|
}
|
|
33686
33702
|
intersects(el1, el2) {
|
|
@@ -33694,7 +33710,7 @@ class Meter {
|
|
|
33694
33710
|
const minHighOverlap = this.intersects(minLabelEl, highLabelEl);
|
|
33695
33711
|
const minLowOverlap = this.intersects(minLabelEl, lowLabelEl);
|
|
33696
33712
|
const minMaxOverlap = this.intersects(minLabelEl, maxLabelEl);
|
|
33697
|
-
const hiddenClass = CSS$
|
|
33713
|
+
const hiddenClass = CSS$x.labelHidden;
|
|
33698
33714
|
if (lowLabelEl) {
|
|
33699
33715
|
if (minLowOverlap || lowMaxOverlap || lowHighOverlap) {
|
|
33700
33716
|
lowLabelEl.classList.add(hiddenClass);
|
|
@@ -33743,26 +33759,26 @@ class Meter {
|
|
|
33743
33759
|
renderMeterFill() {
|
|
33744
33760
|
const { currentPercent, fillType } = this;
|
|
33745
33761
|
const kindClass = this.getMeterKindCssClass();
|
|
33746
|
-
return (hAsync("div", { class: { [CSS$
|
|
33762
|
+
return (hAsync("div", { class: { [CSS$x.fill]: true, [kindClass]: fillType !== "single" }, style: { width: `${currentPercent}%` } }));
|
|
33747
33763
|
}
|
|
33748
33764
|
renderRangeLine(position) {
|
|
33749
33765
|
const style = { insetInlineStart: `${position}%` };
|
|
33750
|
-
return hAsync("div", { class: CSS$
|
|
33766
|
+
return hAsync("div", { class: CSS$x.stepLine, style: style });
|
|
33751
33767
|
}
|
|
33752
33768
|
renderValueLabel() {
|
|
33753
33769
|
const { currentPercent, valueLabelType, unitLabel, value } = this;
|
|
33754
33770
|
const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
|
|
33755
|
-
return (hAsync("div", { class: { [CSS$
|
|
33771
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelValue]: true }, key: "low-label-line",
|
|
33756
33772
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33757
|
-
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))));
|
|
33758
33774
|
}
|
|
33759
33775
|
renderMinLabel() {
|
|
33760
33776
|
const { rangeLabelType, min, minPercent, unitLabel } = this;
|
|
33761
33777
|
const style = { insetInlineStart: `${minPercent}%` };
|
|
33762
33778
|
const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
|
|
33763
|
-
return (hAsync("div", { class: { [CSS$
|
|
33779
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "min-label-line", style: style,
|
|
33764
33780
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33765
|
-
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))));
|
|
33766
33782
|
}
|
|
33767
33783
|
renderLowLabel() {
|
|
33768
33784
|
const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
|
|
@@ -33772,7 +33788,7 @@ class Meter {
|
|
|
33772
33788
|
const styleDefault = { insetInlineStart: `${lowPercent}%` };
|
|
33773
33789
|
const styleFlipped = { insetInlineEnd: `${100 - lowPercent}%` };
|
|
33774
33790
|
const style = (highPercent - lowPercent) / 100 < labelFlipProximity ? styleFlipped : styleDefault;
|
|
33775
|
-
return (hAsync("div", { class: { [CSS$
|
|
33791
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "low-label-line", style: style,
|
|
33776
33792
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33777
33793
|
ref: (el) => (this.lowLabelEl = el) }, label));
|
|
33778
33794
|
}
|
|
@@ -33784,7 +33800,7 @@ class Meter {
|
|
|
33784
33800
|
const styleDefault = { insetInlineStart: `${highPercent}%` };
|
|
33785
33801
|
const styleFlipped = { insetInlineEnd: `${100 - highPercent}%` };
|
|
33786
33802
|
const style = highPercent / 100 >= labelFlipMax ? styleFlipped : styleDefault;
|
|
33787
|
-
return (hAsync("div", { class: { [CSS$
|
|
33803
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "high-label-line", style: style,
|
|
33788
33804
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33789
33805
|
ref: (el) => (this.highLabelEl = el) }, label));
|
|
33790
33806
|
}
|
|
@@ -33792,7 +33808,7 @@ class Meter {
|
|
|
33792
33808
|
const { rangeLabelType, max, maxPercent } = this;
|
|
33793
33809
|
const style = { insetInlineEnd: `${100 - maxPercent}%` };
|
|
33794
33810
|
const labelMax = this.formatLabel(rangeLabelType === "percent" ? maxPercent / 100 : max, rangeLabelType);
|
|
33795
|
-
return (hAsync("div", { class: { [CSS$
|
|
33811
|
+
return (hAsync("div", { class: { [CSS$x.label]: true, [CSS$x.labelRange]: true }, key: "max-label-line", style: style,
|
|
33796
33812
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33797
33813
|
ref: (el) => (this.maxLabelEl = el) }, labelMax));
|
|
33798
33814
|
}
|
|
@@ -33806,9 +33822,9 @@ class Meter {
|
|
|
33806
33822
|
? textUnitLabel
|
|
33807
33823
|
: undefined;
|
|
33808
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: {
|
|
33809
|
-
[CSS$
|
|
33810
|
-
[CSS$
|
|
33811
|
-
[CSS$
|
|
33825
|
+
[CSS$x.container]: true,
|
|
33826
|
+
[CSS$x.stepsVisible]: rangeLabels,
|
|
33827
|
+
[CSS$x.valueVisible]: valueLabel,
|
|
33812
33828
|
[appearance]: appearance !== "outline-fill",
|
|
33813
33829
|
}, role: "meter",
|
|
33814
33830
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -33864,7 +33880,7 @@ class Meter {
|
|
|
33864
33880
|
}; }
|
|
33865
33881
|
}
|
|
33866
33882
|
|
|
33867
|
-
const CSS$
|
|
33883
|
+
const CSS$w = {
|
|
33868
33884
|
modal: "modal",
|
|
33869
33885
|
title: "title",
|
|
33870
33886
|
header: "header",
|
|
@@ -34054,50 +34070,50 @@ class Modal {
|
|
|
34054
34070
|
}
|
|
34055
34071
|
render() {
|
|
34056
34072
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
34057
|
-
[CSS$
|
|
34058
|
-
[CSS$
|
|
34059
|
-
[CSS$
|
|
34060
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
34061
|
-
[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,
|
|
34062
34078
|
},
|
|
34063
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)
|
|
34064
|
-
ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
34065
|
-
[CSS$
|
|
34066
|
-
[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,
|
|
34067
34083
|
},
|
|
34068
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)
|
|
34069
34085
|
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$f.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
34070
34086
|
}
|
|
34071
34087
|
renderFooter() {
|
|
34072
|
-
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;
|
|
34073
34089
|
}
|
|
34074
34090
|
renderContentTop() {
|
|
34075
|
-
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 })));
|
|
34076
34092
|
}
|
|
34077
34093
|
renderContentBottom() {
|
|
34078
|
-
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 })));
|
|
34079
34095
|
}
|
|
34080
34096
|
renderCloseButton() {
|
|
34081
|
-
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,
|
|
34082
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)
|
|
34083
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;
|
|
34084
34100
|
}
|
|
34085
34101
|
renderStyle() {
|
|
34086
34102
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
34087
|
-
return (hAsync("style", null, `.${CSS$
|
|
34103
|
+
return (hAsync("style", null, `.${CSS$w.container} {
|
|
34088
34104
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
34089
34105
|
}
|
|
34090
|
-
.${CSS$
|
|
34106
|
+
.${CSS$w.modal} {
|
|
34091
34107
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
34092
34108
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
34093
34109
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
34094
34110
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
34095
34111
|
}
|
|
34096
34112
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
34097
|
-
.${CSS$
|
|
34113
|
+
.${CSS$w.container} {
|
|
34098
34114
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
34099
34115
|
}
|
|
34100
|
-
.${CSS$
|
|
34116
|
+
.${CSS$w.modal} {
|
|
34101
34117
|
max-block-size: 100% !important;
|
|
34102
34118
|
inline-size: 100% !important;
|
|
34103
34119
|
max-inline-size: 100% !important;
|
|
@@ -34164,20 +34180,20 @@ class Modal {
|
|
|
34164
34180
|
}
|
|
34165
34181
|
}
|
|
34166
34182
|
onBeforeOpen() {
|
|
34167
|
-
this.transitionEl.classList.add(CSS$
|
|
34183
|
+
this.transitionEl.classList.add(CSS$w.openingActive);
|
|
34168
34184
|
this.calciteModalBeforeOpen.emit();
|
|
34169
34185
|
}
|
|
34170
34186
|
onOpen() {
|
|
34171
|
-
this.transitionEl.classList.remove(CSS$
|
|
34187
|
+
this.transitionEl.classList.remove(CSS$w.openingIdle, CSS$w.openingActive);
|
|
34172
34188
|
this.calciteModalOpen.emit();
|
|
34173
34189
|
activateFocusTrap(this);
|
|
34174
34190
|
}
|
|
34175
34191
|
onBeforeClose() {
|
|
34176
|
-
this.transitionEl.classList.add(CSS$
|
|
34192
|
+
this.transitionEl.classList.add(CSS$w.closingActive);
|
|
34177
34193
|
this.calciteModalBeforeClose.emit();
|
|
34178
34194
|
}
|
|
34179
34195
|
onClose() {
|
|
34180
|
-
this.transitionEl.classList.remove(CSS$
|
|
34196
|
+
this.transitionEl.classList.remove(CSS$w.closingIdle, CSS$w.closingActive);
|
|
34181
34197
|
this.calciteModalClose.emit();
|
|
34182
34198
|
deactivateFocusTrap(this);
|
|
34183
34199
|
}
|
|
@@ -34195,10 +34211,10 @@ class Modal {
|
|
|
34195
34211
|
handleOpenedChange(value) {
|
|
34196
34212
|
onToggleOpenCloseComponent(this);
|
|
34197
34213
|
if (value) {
|
|
34198
|
-
this.transitionEl?.classList.add(CSS$
|
|
34214
|
+
this.transitionEl?.classList.add(CSS$w.openingIdle);
|
|
34199
34215
|
}
|
|
34200
34216
|
else {
|
|
34201
|
-
this.transitionEl?.classList.add(CSS$
|
|
34217
|
+
this.transitionEl?.classList.add(CSS$w.closingIdle);
|
|
34202
34218
|
}
|
|
34203
34219
|
}
|
|
34204
34220
|
openModal() {
|
|
@@ -34269,7 +34285,7 @@ const SLOTS$e = {
|
|
|
34269
34285
|
link: "link",
|
|
34270
34286
|
actionsEnd: "actions-end",
|
|
34271
34287
|
};
|
|
34272
|
-
const CSS$
|
|
34288
|
+
const CSS$v = {
|
|
34273
34289
|
actionsEnd: "actions-end",
|
|
34274
34290
|
close: "notice-close",
|
|
34275
34291
|
container: "container",
|
|
@@ -34348,11 +34364,11 @@ class Notice {
|
|
|
34348
34364
|
}
|
|
34349
34365
|
render() {
|
|
34350
34366
|
const { el } = this;
|
|
34351
|
-
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,
|
|
34352
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)
|
|
34353
34369
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
34354
34370
|
const hasActionEnd = getSlotted(el, SLOTS$e.actionsEnd);
|
|
34355
|
-
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));
|
|
34356
34372
|
}
|
|
34357
34373
|
//--------------------------------------------------------------------------
|
|
34358
34374
|
//
|
|
@@ -34432,12 +34448,13 @@ class Option {
|
|
|
34432
34448
|
//
|
|
34433
34449
|
//--------------------------------------------------------------------------
|
|
34434
34450
|
ensureTextContentDependentProps() {
|
|
34435
|
-
const { el: { textContent }, } = this;
|
|
34436
|
-
if (!
|
|
34451
|
+
const { el: { textContent }, internallySetLabel, internallySetValue, label, value, } = this;
|
|
34452
|
+
if (!label || label === internallySetLabel) {
|
|
34437
34453
|
this.label = textContent;
|
|
34438
34454
|
this.internallySetLabel = textContent;
|
|
34439
34455
|
}
|
|
34440
|
-
if (
|
|
34456
|
+
if (value == null /* intentional loose equals to handle both undefined & null */ ||
|
|
34457
|
+
value === internallySetValue) {
|
|
34441
34458
|
this.value = textContent;
|
|
34442
34459
|
this.internallySetValue = textContent;
|
|
34443
34460
|
}
|
|
@@ -34531,7 +34548,7 @@ class OptionGroup {
|
|
|
34531
34548
|
}; }
|
|
34532
34549
|
}
|
|
34533
34550
|
|
|
34534
|
-
const CSS$
|
|
34551
|
+
const CSS$u = {
|
|
34535
34552
|
page: "page",
|
|
34536
34553
|
selected: "is-selected",
|
|
34537
34554
|
previous: "previous",
|
|
@@ -34727,9 +34744,9 @@ class Pagination {
|
|
|
34727
34744
|
//--------------------------------------------------------------------------
|
|
34728
34745
|
renderEllipsis(type) {
|
|
34729
34746
|
return (hAsync("span", { class: {
|
|
34730
|
-
[CSS$
|
|
34731
|
-
[CSS$
|
|
34732
|
-
[CSS$
|
|
34747
|
+
[CSS$u.ellipsis]: true,
|
|
34748
|
+
[CSS$u.ellipsisStart]: type === "start",
|
|
34749
|
+
[CSS$u.ellipsisEnd]: type === "end",
|
|
34733
34750
|
}, key: type }, "\u2026"));
|
|
34734
34751
|
}
|
|
34735
34752
|
renderItems() {
|
|
@@ -34796,8 +34813,8 @@ class Pagination {
|
|
|
34796
34813
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
34797
34814
|
const selected = start === this.startItem;
|
|
34798
34815
|
return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
|
|
34799
|
-
[CSS$
|
|
34800
|
-
[CSS$
|
|
34816
|
+
[CSS$u.page]: true,
|
|
34817
|
+
[CSS$u.selected]: selected,
|
|
34801
34818
|
}, onClick: this.handlePageClick, value: start }, displayedPage));
|
|
34802
34819
|
}
|
|
34803
34820
|
render() {
|
|
@@ -34806,11 +34823,11 @@ class Pagination {
|
|
|
34806
34823
|
const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
|
|
34807
34824
|
const iconScale = scale === "l" ? "m" : "s";
|
|
34808
34825
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": messages.previous, class: {
|
|
34809
|
-
[CSS$
|
|
34810
|
-
[CSS$
|
|
34826
|
+
[CSS$u.previous]: true,
|
|
34827
|
+
[CSS$u.disabled]: prevDisabled,
|
|
34811
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: {
|
|
34812
|
-
[CSS$
|
|
34813
|
-
[CSS$
|
|
34829
|
+
[CSS$u.next]: true,
|
|
34830
|
+
[CSS$u.disabled]: nextDisabled,
|
|
34814
34831
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: ICONS$6.next, scale: iconScale }))));
|
|
34815
34832
|
}
|
|
34816
34833
|
static get delegatesFocus() { return true; }
|
|
@@ -35025,22 +35042,22 @@ class Panel {
|
|
|
35025
35042
|
// --------------------------------------------------------------------------
|
|
35026
35043
|
renderHeaderContent() {
|
|
35027
35044
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
35028
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
35029
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
35030
|
-
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;
|
|
35031
35048
|
}
|
|
35032
35049
|
renderActionBar() {
|
|
35033
|
-
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 })));
|
|
35034
35051
|
}
|
|
35035
35052
|
/**
|
|
35036
35053
|
* Allows user to override the entire header-content node.
|
|
35037
35054
|
*/
|
|
35038
35055
|
renderHeaderSlottedContent() {
|
|
35039
|
-
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 })));
|
|
35040
35057
|
}
|
|
35041
35058
|
renderHeaderStartActions() {
|
|
35042
35059
|
const { hasStartActions } = this;
|
|
35043
|
-
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 })));
|
|
35044
35061
|
}
|
|
35045
35062
|
renderHeaderActionsEnd() {
|
|
35046
35063
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -35050,7 +35067,7 @@ class Panel {
|
|
|
35050
35067
|
ref: this.setCloseRef })) : null;
|
|
35051
35068
|
const slotNode = (hAsync("slot", { name: SLOTS$n.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
35052
35069
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
35053
|
-
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));
|
|
35054
35071
|
}
|
|
35055
35072
|
renderMenu() {
|
|
35056
35073
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -35066,24 +35083,24 @@ class Panel {
|
|
|
35066
35083
|
closable ||
|
|
35067
35084
|
hasMenuItems;
|
|
35068
35085
|
this.showHeaderContent = showHeaderContent;
|
|
35069
|
-
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()));
|
|
35070
35087
|
}
|
|
35071
35088
|
renderFooterNode() {
|
|
35072
35089
|
const { hasFooterContent, hasFooterActions } = this;
|
|
35073
35090
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
35074
|
-
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 })));
|
|
35075
35092
|
}
|
|
35076
35093
|
renderContent() {
|
|
35077
|
-
return (hAsync("div", { class: CSS$
|
|
35094
|
+
return (hAsync("div", { class: CSS$N.contentWrapper, onScroll: this.panelScrollHandler,
|
|
35078
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)
|
|
35079
35096
|
ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
|
|
35080
35097
|
}
|
|
35081
35098
|
renderFab() {
|
|
35082
|
-
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 })));
|
|
35083
35100
|
}
|
|
35084
35101
|
render() {
|
|
35085
35102
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
35086
|
-
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,
|
|
35087
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)
|
|
35088
35105
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
35089
35106
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -35129,7 +35146,7 @@ class Panel {
|
|
|
35129
35146
|
}; }
|
|
35130
35147
|
}
|
|
35131
35148
|
|
|
35132
|
-
const CSS$
|
|
35149
|
+
const CSS$t = {
|
|
35133
35150
|
sticky: "sticky-pos",
|
|
35134
35151
|
};
|
|
35135
35152
|
var ICON_TYPES$1;
|
|
@@ -35142,7 +35159,7 @@ const SLOTS$d = {
|
|
|
35142
35159
|
menuActions: "menu-actions",
|
|
35143
35160
|
};
|
|
35144
35161
|
|
|
35145
|
-
const CSS$
|
|
35162
|
+
const CSS$s = {
|
|
35146
35163
|
heading: "heading",
|
|
35147
35164
|
container: "container",
|
|
35148
35165
|
indented: "container--indented",
|
|
@@ -35468,7 +35485,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
35468
35485
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
35469
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)
|
|
35470
35487
|
ref: storeAssistiveEl })) : null,
|
|
35471
|
-
hAsync("header", { class: { [CSS$
|
|
35488
|
+
hAsync("header", { class: { [CSS$t.sticky]: true } },
|
|
35472
35489
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
35473
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)
|
|
35474
35491
|
ref: setFilterEl })) : null,
|
|
@@ -35659,14 +35676,14 @@ class PickListGroup {
|
|
|
35659
35676
|
const { el, groupTitle, headingLevel } = this;
|
|
35660
35677
|
const hasParentItem = getSlotted(el, SLOTS$c.parentItem) !== null;
|
|
35661
35678
|
const sectionClasses = {
|
|
35662
|
-
[CSS$
|
|
35663
|
-
[CSS$
|
|
35679
|
+
[CSS$s.container]: true,
|
|
35680
|
+
[CSS$s.indented]: hasParentItem,
|
|
35664
35681
|
};
|
|
35665
35682
|
const title = groupTitle;
|
|
35666
35683
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
35667
35684
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
35668
35685
|
const level = headingLevel || relativeLevel;
|
|
35669
|
-
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))));
|
|
35670
35687
|
}
|
|
35671
35688
|
get el() { return getElement(this); }
|
|
35672
35689
|
static get style() { return pickListGroupCss; }
|
|
@@ -35683,7 +35700,7 @@ class PickListGroup {
|
|
|
35683
35700
|
}; }
|
|
35684
35701
|
}
|
|
35685
35702
|
|
|
35686
|
-
const CSS$
|
|
35703
|
+
const CSS$r = {
|
|
35687
35704
|
actions: "actions",
|
|
35688
35705
|
actionsEnd: "actions--end",
|
|
35689
35706
|
actionsStart: "actions--start",
|
|
@@ -35845,28 +35862,28 @@ class PickListItem {
|
|
|
35845
35862
|
return null;
|
|
35846
35863
|
}
|
|
35847
35864
|
return (hAsync("span", { class: {
|
|
35848
|
-
[CSS$
|
|
35849
|
-
[CSS$
|
|
35865
|
+
[CSS$r.icon]: true,
|
|
35866
|
+
[CSS$r.iconDot]: icon === ICON_TYPES$1.circle,
|
|
35850
35867
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$5.checked, scale: "s" })) : null));
|
|
35851
35868
|
}
|
|
35852
35869
|
renderRemoveAction() {
|
|
35853
|
-
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;
|
|
35854
35871
|
}
|
|
35855
35872
|
renderActionsStart() {
|
|
35856
35873
|
const { el } = this;
|
|
35857
35874
|
const hasActionsStart = getSlotted(el, SLOTS$b.actionsStart);
|
|
35858
|
-
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;
|
|
35859
35876
|
}
|
|
35860
35877
|
renderActionsEnd() {
|
|
35861
35878
|
const { el, removable } = this;
|
|
35862
35879
|
const hasActionsEnd = getSlotted(el, SLOTS$b.actionsEnd);
|
|
35863
|
-
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;
|
|
35864
35881
|
}
|
|
35865
35882
|
render() {
|
|
35866
35883
|
const { description, label } = this;
|
|
35867
|
-
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,
|
|
35868
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)
|
|
35869
|
-
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()));
|
|
35870
35887
|
}
|
|
35871
35888
|
static get assetsDirs() { return ["assets"]; }
|
|
35872
35889
|
get el() { return getElement(this); }
|
|
@@ -35909,7 +35926,7 @@ class PickListItem {
|
|
|
35909
35926
|
}; }
|
|
35910
35927
|
}
|
|
35911
35928
|
|
|
35912
|
-
const CSS$
|
|
35929
|
+
const CSS$q = {
|
|
35913
35930
|
container: "container",
|
|
35914
35931
|
imageContainer: "image-container",
|
|
35915
35932
|
closeButtonContainer: "close-button-container",
|
|
@@ -36003,7 +36020,7 @@ class PopoverManager {
|
|
|
36003
36020
|
}
|
|
36004
36021
|
}
|
|
36005
36022
|
|
|
36006
|
-
const CSS$
|
|
36023
|
+
const CSS$p = {
|
|
36007
36024
|
arrow: "calcite-floating-ui-arrow",
|
|
36008
36025
|
arrowStroke: "calcite-floating-ui-arrow__stroke",
|
|
36009
36026
|
};
|
|
@@ -36033,8 +36050,8 @@ const FloatingArrow = ({ floatingLayout, key, ref, }) => {
|
|
|
36033
36050
|
` L${width - svgX},${height}` +
|
|
36034
36051
|
` Q${svgX},${height} ${svgX},${height}` +
|
|
36035
36052
|
" Z";
|
|
36036
|
-
return (hAsync("svg", { "aria-hidden": "true", class: CSS$
|
|
36037
|
-
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 })),
|
|
36038
36055
|
hAsync("path", { d: dValue, stroke: "none" })));
|
|
36039
36056
|
};
|
|
36040
36057
|
|
|
@@ -36286,14 +36303,14 @@ class Popover {
|
|
|
36286
36303
|
// --------------------------------------------------------------------------
|
|
36287
36304
|
renderCloseButton() {
|
|
36288
36305
|
const { messages, closable } = this;
|
|
36289
|
-
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,
|
|
36290
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)
|
|
36291
36308
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
36292
36309
|
}
|
|
36293
36310
|
renderHeader() {
|
|
36294
36311
|
const { heading, headingLevel } = this;
|
|
36295
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
36296
|
-
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;
|
|
36297
36314
|
}
|
|
36298
36315
|
render() {
|
|
36299
36316
|
const { effectiveReferenceElement, heading, label, open, pointerDisabled, floatingLayout } = this;
|
|
@@ -36308,9 +36325,9 @@ class Popover {
|
|
|
36308
36325
|
},
|
|
36309
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)
|
|
36310
36327
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
36311
|
-
[CSS$
|
|
36312
|
-
[CSS$
|
|
36313
|
-
} }, 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))));
|
|
36314
36331
|
}
|
|
36315
36332
|
static get assetsDirs() { return ["assets"]; }
|
|
36316
36333
|
get el() { return getElement(this); }
|
|
@@ -36404,7 +36421,7 @@ class Progress {
|
|
|
36404
36421
|
}; }
|
|
36405
36422
|
}
|
|
36406
36423
|
|
|
36407
|
-
const CSS$
|
|
36424
|
+
const CSS$o = {
|
|
36408
36425
|
container: "container",
|
|
36409
36426
|
};
|
|
36410
36427
|
|
|
@@ -36681,7 +36698,7 @@ class RadioButton {
|
|
|
36681
36698
|
// --------------------------------------------------------------------------
|
|
36682
36699
|
render() {
|
|
36683
36700
|
const tabIndex = this.getTabIndex();
|
|
36684
|
-
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,
|
|
36685
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)
|
|
36686
36703
|
ref: this.setContainerEl }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
36687
36704
|
}
|
|
@@ -37108,7 +37125,7 @@ class Rating {
|
|
|
37108
37125
|
}; }
|
|
37109
37126
|
}
|
|
37110
37127
|
|
|
37111
|
-
const CSS$
|
|
37128
|
+
const CSS$n = {
|
|
37112
37129
|
scrim: "scrim",
|
|
37113
37130
|
content: "content",
|
|
37114
37131
|
};
|
|
@@ -37178,7 +37195,7 @@ class Scrim {
|
|
|
37178
37195
|
// --------------------------------------------------------------------------
|
|
37179
37196
|
render() {
|
|
37180
37197
|
const { hasContent, loading, messages } = this;
|
|
37181
|
-
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 }))));
|
|
37182
37199
|
}
|
|
37183
37200
|
getScale(size) {
|
|
37184
37201
|
if (size < BREAKPOINTS.s) {
|
|
@@ -37453,7 +37470,7 @@ class SegmentedControl {
|
|
|
37453
37470
|
const SLOTS$a = {
|
|
37454
37471
|
input: "input",
|
|
37455
37472
|
};
|
|
37456
|
-
const CSS$
|
|
37473
|
+
const CSS$m = {
|
|
37457
37474
|
segmentedControlItemIcon: "segmented-control-item-icon",
|
|
37458
37475
|
};
|
|
37459
37476
|
|
|
@@ -37482,8 +37499,8 @@ class SegmentedControlItem {
|
|
|
37482
37499
|
//--------------------------------------------------------------------------
|
|
37483
37500
|
render() {
|
|
37484
37501
|
const { appearance, checked, layout, scale, value } = this;
|
|
37485
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
37486
|
-
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;
|
|
37487
37504
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
37488
37505
|
"label--scale-s": scale === "s",
|
|
37489
37506
|
"label--scale-m": scale === "m",
|
|
@@ -37517,7 +37534,7 @@ class SegmentedControlItem {
|
|
|
37517
37534
|
}; }
|
|
37518
37535
|
}
|
|
37519
37536
|
|
|
37520
|
-
const CSS$
|
|
37537
|
+
const CSS$l = {
|
|
37521
37538
|
icon: "icon",
|
|
37522
37539
|
iconContainer: "icon-container",
|
|
37523
37540
|
select: "select",
|
|
@@ -37704,10 +37721,10 @@ class Select {
|
|
|
37704
37721
|
//
|
|
37705
37722
|
//--------------------------------------------------------------------------
|
|
37706
37723
|
renderChevron() {
|
|
37707
|
-
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" })));
|
|
37708
37725
|
}
|
|
37709
37726
|
render() {
|
|
37710
|
-
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,
|
|
37711
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)
|
|
37712
37729
|
ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
37713
37730
|
}
|
|
@@ -37738,7 +37755,7 @@ class Select {
|
|
|
37738
37755
|
}; }
|
|
37739
37756
|
}
|
|
37740
37757
|
|
|
37741
|
-
const CSS$
|
|
37758
|
+
const CSS$k = {
|
|
37742
37759
|
scrim: "scrim",
|
|
37743
37760
|
container: "container",
|
|
37744
37761
|
containerOpen: "container--open",
|
|
@@ -37856,12 +37873,12 @@ class Sheet {
|
|
|
37856
37873
|
render() {
|
|
37857
37874
|
const dir = getElementDir(this.el);
|
|
37858
37875
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-label": this.label, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
37859
|
-
[CSS$
|
|
37860
|
-
[CSS$
|
|
37861
|
-
[CSS$
|
|
37876
|
+
[CSS$k.container]: true,
|
|
37877
|
+
[CSS$k.containerOpen]: this.opened,
|
|
37878
|
+
[CSS$k.containerSlottedInShell]: this.slottedInShell,
|
|
37862
37879
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
37863
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
37864
|
-
[CSS$
|
|
37880
|
+
} }, hAsync("calcite-scrim", { class: CSS$k.scrim, onClick: this.handleOutsideClose }), hAsync("div", { class: {
|
|
37881
|
+
[CSS$k.content]: true,
|
|
37865
37882
|
},
|
|
37866
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)
|
|
37867
37884
|
ref: this.setTransitionEl }, hAsync("slot", null)))));
|
|
@@ -37962,7 +37979,7 @@ class Sheet {
|
|
|
37962
37979
|
}; }
|
|
37963
37980
|
}
|
|
37964
37981
|
|
|
37965
|
-
const CSS$
|
|
37982
|
+
const CSS$j = {
|
|
37966
37983
|
main: "main",
|
|
37967
37984
|
content: "content",
|
|
37968
37985
|
contentBehind: "content--behind",
|
|
@@ -38064,7 +38081,7 @@ class Shell {
|
|
|
38064
38081
|
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$9.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
38065
38082
|
}
|
|
38066
38083
|
renderFooter() {
|
|
38067
|
-
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 })));
|
|
38068
38085
|
}
|
|
38069
38086
|
renderAlerts() {
|
|
38070
38087
|
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$9.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
@@ -38084,21 +38101,21 @@ class Shell {
|
|
|
38084
38101
|
const content = !!this.contentBehind
|
|
38085
38102
|
? [
|
|
38086
38103
|
hAsync("div", { class: {
|
|
38087
|
-
[CSS$
|
|
38088
|
-
[CSS$
|
|
38104
|
+
[CSS$j.content]: true,
|
|
38105
|
+
[CSS$j.contentBehind]: true,
|
|
38089
38106
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
38090
|
-
hAsync("div", { class: CSS$
|
|
38107
|
+
hAsync("div", { class: CSS$j.contentBehindCenterContent }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
38091
38108
|
]
|
|
38092
38109
|
: [
|
|
38093
|
-
hAsync("div", { class: CSS$
|
|
38110
|
+
hAsync("div", { class: CSS$j.content, key: contentContainerKey }, panelTopSlotNode, defaultSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
|
|
38094
38111
|
];
|
|
38095
38112
|
return content;
|
|
38096
38113
|
}
|
|
38097
38114
|
renderMain() {
|
|
38098
|
-
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 })));
|
|
38099
38116
|
}
|
|
38100
38117
|
renderPositionedSlots() {
|
|
38101
|
-
return (hAsync("div", { class: CSS$
|
|
38118
|
+
return (hAsync("div", { class: CSS$j.positionedSlotWrapper }, this.renderAlerts(), this.renderModals(), this.renderSheets()));
|
|
38102
38119
|
}
|
|
38103
38120
|
render() {
|
|
38104
38121
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -38122,7 +38139,7 @@ class Shell {
|
|
|
38122
38139
|
}; }
|
|
38123
38140
|
}
|
|
38124
38141
|
|
|
38125
|
-
const CSS$
|
|
38142
|
+
const CSS$i = {
|
|
38126
38143
|
actionBarContainer: "action-bar-container",
|
|
38127
38144
|
content: "content",
|
|
38128
38145
|
};
|
|
@@ -38161,9 +38178,9 @@ class ShellCenterRow {
|
|
|
38161
38178
|
// --------------------------------------------------------------------------
|
|
38162
38179
|
render() {
|
|
38163
38180
|
const { el } = this;
|
|
38164
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
38181
|
+
const contentNode = (hAsync("div", { class: CSS$i.content }, hAsync("slot", null)));
|
|
38165
38182
|
const actionBar = getSlotted(el, SLOTS$8.actionBar);
|
|
38166
|
-
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;
|
|
38167
38184
|
const children = [actionBarNode, contentNode];
|
|
38168
38185
|
if (actionBar?.position === "end") {
|
|
38169
38186
|
children.reverse();
|
|
@@ -38186,7 +38203,7 @@ class ShellCenterRow {
|
|
|
38186
38203
|
}; }
|
|
38187
38204
|
}
|
|
38188
38205
|
|
|
38189
|
-
const CSS$
|
|
38206
|
+
const CSS$h = {
|
|
38190
38207
|
container: "container",
|
|
38191
38208
|
content: "content",
|
|
38192
38209
|
contentHeader: "content__header",
|
|
@@ -38449,7 +38466,7 @@ class ShellPanel {
|
|
|
38449
38466
|
//
|
|
38450
38467
|
// --------------------------------------------------------------------------
|
|
38451
38468
|
renderHeader() {
|
|
38452
|
-
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 })));
|
|
38453
38470
|
}
|
|
38454
38471
|
render() {
|
|
38455
38472
|
const { collapsed, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout, displayMode, } = this;
|
|
@@ -38466,7 +38483,7 @@ class ShellPanel {
|
|
|
38466
38483
|
: null;
|
|
38467
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"
|
|
38468
38485
|
? contentHeight ?? initialContentHeight
|
|
38469
|
-
: contentWidth ?? initialContentWidth, class: CSS$
|
|
38486
|
+
: contentWidth ?? initialContentWidth, class: CSS$h.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
38470
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)
|
|
38471
38488
|
ref: this.connectSeparator })) : null;
|
|
38472
38489
|
const getAnimationDir = () => {
|
|
@@ -38482,20 +38499,20 @@ class ShellPanel {
|
|
|
38482
38499
|
};
|
|
38483
38500
|
const contentNode = (hAsync("div", { class: {
|
|
38484
38501
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
38485
|
-
[CSS$
|
|
38486
|
-
[CSS$
|
|
38487
|
-
[CSS$
|
|
38502
|
+
[CSS$h.content]: true,
|
|
38503
|
+
[CSS$h.contentOverlay]: displayMode === "overlay",
|
|
38504
|
+
[CSS$h.contentFloat]: displayMode === "float",
|
|
38488
38505
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
38489
38506
|
[getAnimationDir()]: displayMode === "overlay",
|
|
38490
38507
|
}, hidden: collapsed, key: "content", style: style,
|
|
38491
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)
|
|
38492
|
-
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));
|
|
38493
38510
|
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$7.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
38494
38511
|
const mainNodes = [actionBarNode, contentNode];
|
|
38495
38512
|
if (position === "end") {
|
|
38496
38513
|
mainNodes.reverse();
|
|
38497
38514
|
}
|
|
38498
|
-
return hAsync("div", { class: { [CSS$
|
|
38515
|
+
return hAsync("div", { class: { [CSS$h.container]: true } }, mainNodes);
|
|
38499
38516
|
}
|
|
38500
38517
|
// --------------------------------------------------------------------------
|
|
38501
38518
|
//
|
|
@@ -38596,7 +38613,7 @@ class ShellPanel {
|
|
|
38596
38613
|
}; }
|
|
38597
38614
|
}
|
|
38598
38615
|
|
|
38599
|
-
const CSS$
|
|
38616
|
+
const CSS$g = {
|
|
38600
38617
|
handleLabel: "handle__label",
|
|
38601
38618
|
handleLabelMinValue: "handle__label--minValue",
|
|
38602
38619
|
handleLabelValue: "handle__label--value",
|
|
@@ -38795,8 +38812,8 @@ class Slider {
|
|
|
38795
38812
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
38796
38813
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
38797
38814
|
const valueIsRange = isRange(this.value);
|
|
38798
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
38799
|
-
const handleLabelValueClasses = `${CSS$
|
|
38815
|
+
const handleLabelMinValueClasses = `${CSS$g.handleLabel} ${CSS$g.handleLabelMinValue}`;
|
|
38816
|
+
const handleLabelValueClasses = `${CSS$g.handleLabel} ${CSS$g.handleLabelValue}`;
|
|
38800
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: {
|
|
38801
38818
|
thumb: true,
|
|
38802
38819
|
"thumb--value": true,
|
|
@@ -38932,8 +38949,8 @@ class Slider {
|
|
|
38932
38949
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
38933
38950
|
const tickLabel = (hAsync("span", { class: {
|
|
38934
38951
|
tick__label: true,
|
|
38935
|
-
[CSS$
|
|
38936
|
-
[CSS$
|
|
38952
|
+
[CSS$g.tickMin]: isMinTickLabel,
|
|
38953
|
+
[CSS$g.tickMax]: isMaxTickLabel,
|
|
38937
38954
|
} }, displayedTickValue));
|
|
38938
38955
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
38939
38956
|
return tickLabel;
|
|
@@ -39491,7 +39508,7 @@ class Slider {
|
|
|
39491
39508
|
}; }
|
|
39492
39509
|
}
|
|
39493
39510
|
|
|
39494
|
-
const CSS$
|
|
39511
|
+
const CSS$f = {
|
|
39495
39512
|
sortItem: "sort-item",
|
|
39496
39513
|
container: "container",
|
|
39497
39514
|
containerHorizontal: "container--horizontal",
|
|
@@ -39625,9 +39642,9 @@ class SortableList {
|
|
|
39625
39642
|
const { layout } = this;
|
|
39626
39643
|
const horizontal = layout === "horizontal" || false;
|
|
39627
39644
|
return (hAsync("div", { class: {
|
|
39628
|
-
[CSS$
|
|
39629
|
-
[CSS$
|
|
39630
|
-
[CSS$
|
|
39645
|
+
[CSS$f.container]: true,
|
|
39646
|
+
[CSS$f.containerVertical]: !horizontal,
|
|
39647
|
+
[CSS$f.containerHorizontal]: horizontal,
|
|
39631
39648
|
} }, hAsync("slot", null)));
|
|
39632
39649
|
}
|
|
39633
39650
|
get el() { return getElement(this); }
|
|
@@ -39651,7 +39668,7 @@ class SortableList {
|
|
|
39651
39668
|
}; }
|
|
39652
39669
|
}
|
|
39653
39670
|
|
|
39654
|
-
const CSS$
|
|
39671
|
+
const CSS$e = {
|
|
39655
39672
|
container: "split-button__container",
|
|
39656
39673
|
dividerContainer: "split-button__divider-container",
|
|
39657
39674
|
divider: "split-button__divider",
|
|
@@ -39730,13 +39747,13 @@ class SplitButton {
|
|
|
39730
39747
|
}
|
|
39731
39748
|
render() {
|
|
39732
39749
|
const widthClasses = {
|
|
39733
|
-
[CSS$
|
|
39734
|
-
[CSS$
|
|
39735
|
-
[CSS$
|
|
39736
|
-
[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",
|
|
39737
39754
|
};
|
|
39738
39755
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
39739
|
-
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))));
|
|
39740
39757
|
}
|
|
39741
39758
|
get dropdownIcon() {
|
|
39742
39759
|
return this.dropdownIconType === "chevron"
|
|
@@ -39823,25 +39840,25 @@ class Stack {
|
|
|
39823
39840
|
// --------------------------------------------------------------------------
|
|
39824
39841
|
renderActionsStart() {
|
|
39825
39842
|
const { hasActionsStart } = this;
|
|
39826
|
-
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 })));
|
|
39827
39844
|
}
|
|
39828
39845
|
renderActionsEnd() {
|
|
39829
39846
|
const { hasActionsEnd } = this;
|
|
39830
|
-
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 })));
|
|
39831
39848
|
}
|
|
39832
39849
|
renderContentStart() {
|
|
39833
39850
|
const { hasContentStart } = this;
|
|
39834
|
-
return (hAsync("div", { class: CSS$
|
|
39851
|
+
return (hAsync("div", { class: CSS$z.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$g.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
39835
39852
|
}
|
|
39836
39853
|
renderDefaultContent() {
|
|
39837
|
-
return (hAsync("div", { class: CSS$
|
|
39854
|
+
return (hAsync("div", { class: CSS$z.content }, hAsync("slot", null)));
|
|
39838
39855
|
}
|
|
39839
39856
|
renderContentEnd() {
|
|
39840
39857
|
const { hasContentEnd } = this;
|
|
39841
|
-
return (hAsync("div", { class: CSS$
|
|
39858
|
+
return (hAsync("div", { class: CSS$z.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$g.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
39842
39859
|
}
|
|
39843
39860
|
render() {
|
|
39844
|
-
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())));
|
|
39845
39862
|
}
|
|
39846
39863
|
static get style() { return stackCss; }
|
|
39847
39864
|
static get cmpMeta() { return {
|
|
@@ -39876,6 +39893,14 @@ class Stepper {
|
|
|
39876
39893
|
/** list of enabled Stepper items */
|
|
39877
39894
|
this.enabledItems = [];
|
|
39878
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
|
+
};
|
|
39879
39904
|
this.icon = false;
|
|
39880
39905
|
this.layout = "horizontal";
|
|
39881
39906
|
this.numbered = false;
|
|
@@ -39907,15 +39932,7 @@ class Stepper {
|
|
|
39907
39932
|
}
|
|
39908
39933
|
}
|
|
39909
39934
|
render() {
|
|
39910
|
-
return (hAsync("slot", { onSlotchange:
|
|
39911
|
-
const items = event.currentTarget
|
|
39912
|
-
.assignedElements()
|
|
39913
|
-
.filter((el) => el?.tagName === "CALCITE-STEPPER-ITEM");
|
|
39914
|
-
const spacing = Array(items.length).fill("1fr").join(" ");
|
|
39915
|
-
this.el.style.gridTemplateAreas = spacing;
|
|
39916
|
-
this.el.style.gridTemplateColumns = spacing;
|
|
39917
|
-
this.setStepperItemNumberingSystem();
|
|
39918
|
-
} }));
|
|
39935
|
+
return (hAsync(Host, { "aria-label": "Progress steps", role: "region" }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })));
|
|
39919
39936
|
}
|
|
39920
39937
|
//--------------------------------------------------------------------------
|
|
39921
39938
|
//
|
|
@@ -40084,7 +40101,18 @@ class Stepper {
|
|
|
40084
40101
|
}; }
|
|
40085
40102
|
}
|
|
40086
40103
|
|
|
40087
|
-
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}";
|
|
40088
40116
|
|
|
40089
40117
|
/**
|
|
40090
40118
|
* @slot - A slot for adding custom content.
|
|
@@ -40207,11 +40235,11 @@ class StepperItem {
|
|
|
40207
40235
|
disconnectLocalized(this);
|
|
40208
40236
|
}
|
|
40209
40237
|
render() {
|
|
40210
|
-
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:
|
|
40211
40239
|
/* additional tab index logic needed because of display: contents */
|
|
40212
40240
|
this.layout === "horizontal" && !this.disabled ? 0 : null,
|
|
40213
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)
|
|
40214
|
-
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)))));
|
|
40215
40243
|
}
|
|
40216
40244
|
//--------------------------------------------------------------------------
|
|
40217
40245
|
//
|
|
@@ -40678,6 +40706,7 @@ class TabNav {
|
|
|
40678
40706
|
}
|
|
40679
40707
|
iconStartChangeHandler() {
|
|
40680
40708
|
this.updateActiveWidth();
|
|
40709
|
+
this.updateOffsetPosition();
|
|
40681
40710
|
}
|
|
40682
40711
|
updateOffsetPosition() {
|
|
40683
40712
|
const dir = getElementDir(this.el);
|
|
@@ -45407,8 +45436,8 @@ class ValueListItem {
|
|
|
45407
45436
|
const { icon, iconFlipRtl } = this;
|
|
45408
45437
|
if (icon === ICON_TYPES$1.grip) {
|
|
45409
45438
|
return (hAsync("span", { class: {
|
|
45410
|
-
[CSS$
|
|
45411
|
-
[CSS$
|
|
45439
|
+
[CSS$r.handle]: true,
|
|
45440
|
+
[CSS$r.handleActivated]: this.handleActivated,
|
|
45412
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" })));
|
|
45413
45442
|
}
|
|
45414
45443
|
}
|