@esri/calcite-components 1.7.0-next.4 → 1.7.0-next.6
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-bc385eab.entry.js → p-006574d5.entry.js} +2 -2
- package/dist/calcite/{p-50931810.js → p-032c513d.js} +2 -2
- package/dist/calcite/{p-e6b0a68b.entry.js → p-04456879.entry.js} +2 -2
- package/dist/calcite/{p-f367020d.js → p-06fa7624.js} +2 -2
- package/dist/calcite/{p-071893ea.js → p-071bf6d0.js} +2 -2
- package/dist/calcite/p-082448e0.entry.js +6 -0
- package/dist/calcite/{p-7183d703.entry.js → p-08d6df92.entry.js} +2 -2
- package/dist/calcite/{p-d913961d.entry.js → p-0c4f55cc.entry.js} +2 -2
- package/dist/calcite/p-0e1b2f0d.entry.js +6 -0
- package/dist/calcite/{p-ade3d624.entry.js → p-11f80ae4.entry.js} +2 -2
- package/dist/calcite/{p-64d6c38e.js → p-121d7631.js} +2 -2
- package/dist/calcite/{p-9f65ee0d.entry.js → p-16aabd7c.entry.js} +2 -2
- package/dist/calcite/{p-498ef211.entry.js → p-16d9de3f.entry.js} +2 -2
- package/dist/calcite/{p-af3a55a8.js → p-16db5aa3.js} +2 -2
- package/dist/calcite/{p-6f7f6df8.js → p-16ff80e0.js} +2 -2
- package/dist/calcite/{p-a08baad4.js → p-18aa1d9c.js} +2 -2
- package/dist/calcite/{p-1aad8824.entry.js → p-19d0d92b.entry.js} +2 -2
- package/dist/calcite/{p-251cb0c4.entry.js → p-1b26e767.entry.js} +2 -2
- package/dist/calcite/{p-0b1a8f7d.entry.js → p-1bbec0c0.entry.js} +2 -2
- package/dist/calcite/{p-2d08b1c8.js → p-1bcbafc9.js} +2 -2
- package/dist/calcite/{p-1b00fd5d.js → p-1d4b0cec.js} +2 -2
- package/dist/calcite/{p-720d1abc.js → p-1deb5f66.js} +2 -2
- package/dist/calcite/{p-4f4948c4.js → p-1ef1005f.js} +1 -1
- package/dist/calcite/{p-c6969581.js → p-2039b9cf.js} +2 -2
- package/dist/calcite/{p-424df466.js → p-24541de3.js} +2 -2
- package/dist/calcite/{p-d09e07eb.js → p-26c627da.js} +2 -2
- package/dist/calcite/{p-afbdffa6.js → p-2a94d490.js} +2 -2
- package/dist/calcite/{p-88f95418.js → p-2daf4a22.js} +2 -2
- package/dist/calcite/{p-0d90ba77.js → p-2f16bc81.js} +2 -2
- package/dist/calcite/{p-bbf7d3a2.entry.js → p-30ccbb04.entry.js} +2 -2
- package/dist/calcite/{p-12a36cf3.js → p-31165c35.js} +2 -2
- package/dist/calcite/p-32ef4399.js +6 -0
- package/dist/calcite/{p-32cd410b.js → p-3349794f.js} +2 -2
- package/dist/calcite/{p-6da2d073.js → p-35b32900.js} +1 -1
- package/dist/calcite/{p-e5b77853.entry.js → p-35da1bf2.entry.js} +2 -2
- package/dist/calcite/{p-e6bee129.js → p-367fe2ac.js} +2 -2
- package/dist/calcite/{p-26f273f6.entry.js → p-36edbe68.entry.js} +2 -2
- package/dist/calcite/{p-fd83b229.js → p-397a935a.js} +2 -2
- package/dist/calcite/{p-b916268c.js → p-39d33a43.js} +2 -2
- package/dist/calcite/{p-84f32293.js → p-3abc70e6.js} +2 -2
- package/dist/calcite/p-3b83d9a9.js +6 -0
- package/dist/calcite/p-3c7961aa.js +6 -0
- package/dist/calcite/{p-b73522a5.entry.js → p-3d45a8e6.entry.js} +2 -2
- package/dist/calcite/{p-95ffd68f.js → p-3e4c164c.js} +2 -2
- package/dist/calcite/{p-c6ac58aa.entry.js → p-3fb116cc.entry.js} +2 -2
- package/dist/calcite/{p-e8a874f7.js → p-42aee74a.js} +2 -2
- package/dist/calcite/{p-036bce48.entry.js → p-44b98dcb.entry.js} +2 -2
- package/dist/calcite/{p-40ef42ff.entry.js → p-456d0714.entry.js} +2 -2
- package/dist/calcite/{p-63bd46ea.js → p-45ccf804.js} +2 -2
- package/dist/calcite/{p-695fdfc1.js → p-4668f70e.js} +2 -2
- package/dist/calcite/{p-706a2894.js → p-46fcd92f.js} +2 -2
- package/dist/calcite/{p-66d24eb6.js → p-4741ea8f.js} +2 -2
- package/dist/calcite/p-474354e3.entry.js +6 -0
- package/dist/calcite/{p-b5a0dfaf.js → p-4778370b.js} +2 -2
- package/dist/calcite/p-479350f4.entry.js +6 -0
- package/dist/calcite/{p-0378a7e5.js → p-49624808.js} +2 -2
- package/dist/calcite/{p-9d74dc5d.entry.js → p-4ba208cc.entry.js} +2 -2
- package/dist/calcite/{p-8269831c.js → p-4ca70838.js} +1 -1
- package/dist/calcite/{p-a4f436d9.entry.js → p-4d45d7ee.entry.js} +2 -2
- package/dist/calcite/{p-2e2cb1f6.js → p-4f712938.js} +2 -2
- package/dist/calcite/{p-d5bf04a5.js → p-50309fc5.js} +2 -2
- package/dist/calcite/p-53ffe7c1.js +6 -0
- package/dist/calcite/{p-ba7ec4a6.entry.js → p-5487e940.entry.js} +2 -2
- package/dist/calcite/{p-50058833.entry.js → p-5affaf3d.entry.js} +2 -2
- package/dist/calcite/{p-4967e68c.js → p-5ccfedee.js} +2 -2
- package/dist/calcite/{p-2af6cada.js → p-5de7c4f5.js} +2 -2
- package/dist/calcite/p-6003692b.entry.js +6 -0
- package/dist/calcite/{p-1d026bbf.entry.js → p-629d1457.entry.js} +2 -2
- package/dist/calcite/{p-e4fadb0c.js → p-63c18bbc.js} +2 -2
- package/dist/calcite/{p-19da5135.entry.js → p-65479e20.entry.js} +2 -2
- package/dist/calcite/{p-aa151541.entry.js → p-65fe2c5d.entry.js} +2 -2
- package/dist/calcite/{p-a68be3a9.js → p-66179b89.js} +2 -2
- package/dist/calcite/{p-e87947a3.js → p-663c93aa.js} +1 -1
- package/dist/calcite/{p-6786c470.js → p-6718b858.js} +2 -2
- package/dist/calcite/{p-5bc5af56.js → p-6753fb28.js} +1 -1
- package/dist/calcite/{p-9d4d5dd9.js → p-69fd2496.js} +2 -2
- package/dist/calcite/{p-7a51ac4c.entry.js → p-6f7a409d.entry.js} +2 -2
- package/dist/calcite/{p-3b0ab295.js → p-70417938.js} +2 -2
- package/dist/calcite/p-727849b7.entry.js +6 -0
- package/dist/calcite/{p-8a85532a.entry.js → p-73d9593f.entry.js} +2 -2
- package/dist/calcite/p-74cdcefc.js +6 -0
- package/dist/calcite/{p-cfc61710.js → p-76151635.js} +2 -2
- package/dist/calcite/{p-a78e13d7.js → p-76ceb406.js} +2 -2
- package/dist/calcite/{p-278fa1dc.entry.js → p-78cf449f.entry.js} +2 -2
- package/dist/calcite/p-7bb5c7bc.js +6 -0
- package/dist/calcite/{p-8a490936.entry.js → p-7c3cd079.entry.js} +2 -2
- package/dist/calcite/{p-7397c76a.entry.js → p-7c77a2db.entry.js} +2 -2
- package/dist/calcite/{p-b1170184.entry.js → p-7ef4a2a8.entry.js} +2 -2
- package/dist/calcite/{p-8ad7e9ae.entry.js → p-7f2b36af.entry.js} +2 -2
- package/dist/calcite/{p-d3537680.entry.js → p-825d7b99.entry.js} +2 -2
- package/dist/calcite/{p-1ea7baa2.entry.js → p-82712138.entry.js} +2 -2
- package/dist/calcite/p-8313125f.entry.js +6 -0
- package/dist/calcite/{p-099fa358.js → p-84477077.js} +2 -2
- package/dist/calcite/{p-5a5aca82.js → p-850476d6.js} +2 -2
- package/dist/calcite/{p-e5f2b182.js → p-852aa7dc.js} +1 -1
- package/dist/calcite/{p-84a7d2e6.js → p-85fe2e63.js} +2 -2
- package/dist/calcite/{p-8d9636c4.js → p-879497cd.js} +2 -2
- package/dist/calcite/{p-961de992.entry.js → p-8be9b2aa.entry.js} +2 -2
- package/dist/calcite/{p-ede88609.js → p-8cb9f433.js} +1 -1
- package/dist/calcite/{p-db2db2e1.entry.js → p-8f0b417a.entry.js} +2 -2
- package/dist/calcite/p-90568a3b.entry.js +6 -0
- package/dist/calcite/{p-dce04f3f.entry.js → p-933660d9.entry.js} +2 -2
- package/dist/calcite/{p-a72b6922.js → p-9688a2ef.js} +1 -1
- package/dist/calcite/{p-fe4ca25f.entry.js → p-9c81ebbf.entry.js} +2 -2
- package/dist/calcite/{p-5174a4c9.js → p-9e757ea1.js} +1 -1
- package/dist/calcite/{p-7753ea58.js → p-a12b0eb3.js} +1 -1
- package/dist/calcite/{p-adac29af.entry.js → p-a2d408ea.entry.js} +2 -2
- package/dist/calcite/{p-d1240a3f.js → p-a2f12a0c.js} +2 -2
- package/dist/calcite/{p-24a04570.js → p-a385fc02.js} +2 -2
- package/dist/calcite/{p-599a50f8.entry.js → p-a510e28a.entry.js} +2 -2
- package/dist/calcite/{p-b308d42c.entry.js → p-a6d209c5.entry.js} +2 -2
- package/dist/calcite/{p-ae0e8b2a.js → p-ab4e74a9.js} +2 -2
- package/dist/calcite/{p-2d67a7da.entry.js → p-ab609b09.entry.js} +2 -2
- package/dist/calcite/{p-ec9f413e.entry.js → p-abf0bad1.entry.js} +2 -2
- package/dist/calcite/{p-a7097fe8.entry.js → p-b02e4f57.entry.js} +2 -2
- package/dist/calcite/{p-9cf43b0b.entry.js → p-b3554572.entry.js} +2 -2
- package/dist/calcite/{p-eda1cf82.js → p-b6c54a1a.js} +2 -2
- package/dist/calcite/{p-e8646fd6.js → p-b74b1a94.js} +2 -2
- package/dist/calcite/{p-1efcaceb.js → p-b7f11da7.js} +2 -2
- package/dist/calcite/{p-9ae5ecfc.entry.js → p-b86330f3.entry.js} +2 -2
- package/dist/calcite/p-b88ec335.entry.js +6 -0
- package/dist/calcite/p-b9d22aef.entry.js +6 -0
- package/dist/calcite/{p-46d2416d.js → p-bbe17de5.js} +2 -2
- package/dist/calcite/{p-80fa67da.js → p-bd6e571e.js} +2 -2
- package/dist/calcite/{p-6cc85a0f.entry.js → p-be53fc0f.entry.js} +2 -2
- package/dist/calcite/{p-5abbe3b0.js → p-c123f9d3.js} +3 -3
- package/dist/calcite/{p-80920eba.entry.js → p-c2ab5af0.entry.js} +2 -2
- package/dist/calcite/{p-84a54f23.entry.js → p-c6e84595.entry.js} +2 -2
- package/dist/calcite/{p-e13df309.js → p-c71a0446.js} +1 -1
- package/dist/calcite/{p-33c53849.entry.js → p-ca69772b.entry.js} +2 -2
- package/dist/calcite/{p-c34a6871.entry.js → p-cb1626be.entry.js} +2 -2
- package/dist/calcite/{p-83389707.entry.js → p-d7b6b656.entry.js} +2 -2
- package/dist/calcite/{p-5ecd79ef.js → p-dbe5d377.js} +2 -2
- package/dist/calcite/{p-57a3c3b9.js → p-df2b4932.js} +2 -2
- package/dist/calcite/{p-86d13b65.js → p-dfc70da9.js} +1 -1
- package/dist/calcite/{p-2913e63a.js → p-e3355412.js} +1 -1
- package/dist/calcite/{p-fa593dab.js → p-e3ec238c.js} +1 -1
- package/dist/calcite/{p-1d8cba28.entry.js → p-e4eb3d0f.entry.js} +2 -2
- package/dist/calcite/{p-d50e7290.js → p-e5c94cd9.js} +2 -2
- package/dist/calcite/{p-7b32f878.entry.js → p-e74440dc.entry.js} +2 -2
- package/dist/calcite/{p-93868725.js → p-ed3b327c.js} +2 -2
- package/dist/calcite/{p-43b7a5d7.js → p-ed950abe.js} +2 -2
- package/dist/calcite/{p-a00023a2.js → p-f165e5f8.js} +2 -2
- package/dist/calcite/{p-0940672c.js → p-f1733b7d.js} +1 -1
- package/dist/calcite/{p-34dda03e.js → p-f4948884.js} +2 -2
- package/dist/calcite/{p-187a3b0e.entry.js → p-f66d3c5a.entry.js} +2 -2
- package/dist/calcite/{p-8996edbd.entry.js → p-f6978ccc.entry.js} +2 -2
- package/dist/calcite/{p-494a4d07.entry.js → p-f6a41455.entry.js} +2 -2
- package/dist/calcite/{p-c174da61.entry.js → p-f92d2009.entry.js} +2 -2
- package/dist/calcite/{p-0e2f403d.js → p-fdbe12e3.js} +2 -2
- package/dist/calcite/{p-8ab37b32.js → p-fed3ed0c.js} +2 -2
- package/dist/cjs/{ExpandToggle-67ce312b.js → ExpandToggle-be2ba521.js} +5 -5
- package/dist/cjs/{FloatingArrow-f4b1dac6.js → FloatingArrow-9ddbd94d.js} +2 -2
- package/dist/cjs/{Heading-16917e31.js → Heading-518f741e.js} +2 -2
- package/dist/cjs/{app-globals-1ab37680.js → app-globals-5071a1cb.js} +2 -2
- package/dist/cjs/{ar-5fd104e8.js → ar-7a325576.js} +15 -15
- package/dist/cjs/{array-717684a6.js → array-f7815c01.js} +1 -1
- package/dist/cjs/{bg-8f54e574.js → bg-4305012b.js} +15 -15
- package/dist/cjs/{bs-a9b933b5.js → bs-5c32cfe6.js} +15 -15
- package/dist/cjs/{ca-3a4ef0bb.js → ca-609d1521.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- 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 +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +53 -49
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +11 -5
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- 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 +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-9714e091.js → calcite-input-time-picker.calcite-time-picker-161fa40b.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +19 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- 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 +28 -14
- 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 +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- 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 +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +35 -15
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- 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 +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-a8fc48a2.js → conditionalSlot-4011bf98.js} +3 -3
- package/dist/cjs/{cs-b84daa7b.js → cs-f1f2ca01.js} +15 -15
- package/dist/cjs/{da-2dfb9ed2.js → da-c69f2768.js} +15 -15
- package/dist/cjs/{de-ff9f6cfd.js → de-7616096b.js} +15 -15
- package/dist/cjs/{de-at-e19d3f72.js → de-at-b6807640.js} +15 -15
- package/dist/cjs/{de-ch-54b7e47f.js → de-ch-ade80318.js} +15 -15
- package/dist/cjs/{debounce-f9b90e2a.js → debounce-0b341a1f.js} +1 -1
- package/dist/cjs/{dom-8af5f622.js → dom-2993cb7d.js} +3 -3
- package/dist/cjs/{el-4b71746b.js → el-60e8b8c3.js} +15 -15
- package/dist/cjs/{en-au-556ebf37.js → en-au-48144e3c.js} +15 -15
- package/dist/cjs/{en-ca-64a656a5.js → en-ca-c319a504.js} +15 -15
- package/dist/cjs/{en-gb-5a74f0cb.js → en-gb-e2cd40e8.js} +15 -15
- package/dist/cjs/{es-9c9763db.js → es-39762ad7.js} +15 -15
- package/dist/cjs/{es-mx-5785c076.js → es-mx-3ba10c9d.js} +15 -15
- package/dist/cjs/{et-04b84254.js → et-c879718b.js} +15 -15
- package/dist/cjs/{fi-b191a23c.js → fi-81e0ca85.js} +15 -15
- package/dist/cjs/{filter-fc1d98f5.js → filter-3fac9fe1.js} +2 -2
- package/dist/cjs/{floating-ui-3e81c568.js → floating-ui-fabc3523.js} +3 -3
- package/dist/cjs/{focusTrapComponent-c95a46c2.js → focusTrapComponent-22f06f9f.js} +2 -2
- package/dist/cjs/{form-ce8744b3.js → form-9a8cdcb4.js} +3 -3
- package/dist/cjs/{fr-549c42d5.js → fr-6e008085.js} +15 -15
- package/dist/cjs/{fr-ch-60d50da0.js → fr-ch-970944de.js} +15 -15
- package/dist/cjs/{guid-04c5a71d.js → guid-72b6295f.js} +1 -1
- package/dist/cjs/{he-bebab507.js → he-7be6f4b0.js} +15 -15
- package/dist/cjs/{hi-f62e0e97.js → hi-c577d297.js} +15 -15
- package/dist/cjs/{hr-3cce83c8.js → hr-9699ffb8.js} +15 -15
- package/dist/cjs/{hu-ddeacbfb.js → hu-0fe3a191.js} +15 -15
- package/dist/cjs/{id-95ca0252.js → id-f9c39082.js} +15 -15
- package/dist/cjs/{index-d4b13c6c.js → index-2ea6ae20.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-a941e159.js → interactive-b4bfc5c9.js} +1 -1
- package/dist/cjs/{it-9c9c61c2.js → it-644c1369.js} +15 -15
- package/dist/cjs/{it-ch-cad7e2c0.js → it-ch-feb8ee6c.js} +15 -15
- package/dist/cjs/{ja-bed52d2d.js → ja-19314798.js} +15 -15
- package/dist/cjs/{key-b180bb8f.js → key-831a4ba7.js} +1 -1
- package/dist/cjs/{ko-e572d772.js → ko-018bc9bc.js} +15 -15
- package/dist/cjs/{label-fef50b85.js → label-8d70acbb.js} +2 -2
- package/dist/cjs/{loadable-5272fddc.js → loadable-64d3676e.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-1e15200b.js → locale-e728bc26.js} +4 -4
- package/dist/cjs/{lt-ec732800.js → lt-0a38e845.js} +15 -15
- package/dist/cjs/{lv-d706e61e.js → lv-40713712.js} +15 -15
- package/dist/cjs/{math-40f2d9df.js → math-0cb62dbb.js} +1 -1
- package/dist/cjs/{mk-50d6302f.js → mk-0bd91a45.js} +15 -15
- package/dist/cjs/{nb-085cb529.js → nb-8a7e6093.js} +15 -15
- package/dist/cjs/{nl-b6840689.js → nl-a0c7fdd4.js} +15 -15
- package/dist/cjs/{observers-ae40c667.js → observers-ff0f584f.js} +1 -1
- package/dist/cjs/{openCloseComponent-4f5fc0b1.js → openCloseComponent-36b7927d.js} +2 -2
- package/dist/cjs/{pl-75119d41.js → pl-3230f7f9.js} +15 -15
- package/dist/cjs/{pt-br-fe124897.js → pt-br-bf05feae.js} +15 -15
- package/dist/cjs/{pt-60ae7fb3.js → pt-e677fc38.js} +15 -15
- package/dist/cjs/{resources-eabdf529.js → resources-405908e7.js} +1 -1
- package/dist/cjs/{resources-4a2b35ac.js → resources-4bec0370.js} +5 -5
- package/dist/cjs/{resources-b9c6fe41.js → resources-53340de9.js} +1 -1
- package/dist/cjs/{resources-495042db.js → resources-60332ef8.js} +1 -1
- package/dist/cjs/{resources-d7f14c0e.js → resources-63c575a5.js} +1 -1
- package/dist/cjs/{resources-a5a528f2.js → resources-75e1f98b.js} +1 -1
- package/dist/cjs/{resources-232c1bd7.js → resources-e8fd0557.js} +1 -1
- package/dist/cjs/{ro-a1161330.js → ro-f5175cd8.js} +15 -15
- package/dist/cjs/{ru-15f5069a.js → ru-f7c52fd4.js} +15 -15
- package/dist/cjs/{sk-f25eb16d.js → sk-927cace6.js} +15 -15
- package/dist/cjs/{sl-c759048e.js → sl-0dccce91.js} +15 -15
- package/dist/cjs/{sortableComponent-c9c8d6fb.js → sortableComponent-1a33a27e.js} +2 -2
- package/dist/cjs/{sr-fa454dc0.js → sr-27fe99a1.js} +15 -15
- package/dist/cjs/{sv-572fadc9.js → sv-8474c158.js} +15 -15
- package/dist/cjs/{t9n-a14859e8.js → t9n-7f041b5f.js} +3 -3
- package/dist/cjs/{th-5733f4cd.js → th-45a40392.js} +15 -15
- package/dist/cjs/{throttle-f708d70d.js → throttle-cfc21005.js} +2 -2
- package/dist/cjs/{tr-5e1911a8.js → tr-b79042e0.js} +15 -15
- package/dist/cjs/{uk-4da94419.js → uk-216684fc.js} +15 -15
- package/dist/cjs/{utils-44acfb2d.js → utils-1a90c34c.js} +1 -1
- package/dist/cjs/{utils-146321b9.js → utils-1d55197e.js} +3 -3
- package/dist/cjs/{vi-06580b4d.js → vi-71547c14.js} +15 -15
- package/dist/cjs/{zh-cn-92b5c93c.js → zh-cn-921d4166.js} +15 -15
- package/dist/cjs/{zh-hk-6e6e622b.js → zh-hk-49ceaa53.js} +15 -15
- package/dist/cjs/{zh-tw-ac5dc147.js → zh-tw-094eacd3.js} +15 -15
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +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 +33 -25
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +46 -29
- package/dist/collection/components/dropdown-item/dropdown-item.js +62 -11
- package/dist/collection/components/dropdown-item/resources.js +2 -4
- 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 +8 -2
- 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-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 +10 -3
- 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.css +28 -26
- 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 +16 -2
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +40 -19
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +92 -6
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/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/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +2 -2
- 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 +22 -17
- package/dist/components/calcite-dropdown-item.js +10 -26
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +8 -2
- 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 +6 -2
- 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 +2 -2
- package/dist/components/calcite-modal.js +17 -3
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +15 -7
- package/dist/components/calcite-segmented-control.js +18 -3
- package/dist/components/calcite-select.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +2 -2
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-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 +2 -2
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +2 -2
- 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 +2 -2
- package/dist/components/dropdown.js +11 -5
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +2 -2
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/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 +2 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- 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 +2 -2
- 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/panel.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- 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 +12 -12
- package/dist/components/resources3.js +10 -6
- package/dist/components/resources4.js +15 -0
- 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 +4 -4
- 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 +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.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-046b9f6b.js → ExpandToggle-463255f5.js} +5 -5
- package/dist/esm/{FloatingArrow-b3b6b3ef.js → FloatingArrow-64aeb6e3.js} +2 -2
- package/dist/esm/{Heading-4b927866.js → Heading-e31aeb80.js} +2 -2
- package/dist/esm/{app-globals-503c2351.js → app-globals-f74aa4c5.js} +2 -2
- package/dist/esm/{ar-b6ff1215.js → ar-dfa0bfb1.js} +15 -15
- package/dist/esm/{array-49d51a71.js → array-9d110eb0.js} +1 -1
- package/dist/esm/{bg-1b73ab4b.js → bg-f2dc8503.js} +15 -15
- package/dist/esm/{bs-a8f9aad2.js → bs-acc5820a.js} +15 -15
- package/dist/esm/{ca-78654d6b.js → ca-7ac65a06.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- 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 +13 -13
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +53 -49
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +11 -5
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- 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 +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-12c5e582.js → calcite-input-time-picker.calcite-time-picker-ec75454a.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +19 -15
- package/dist/esm/calcite-loader.entry.js +4 -4
- 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 +28 -14
- 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 +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- 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 +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +35 -15
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- 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 +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-9d7134a8.js → conditionalSlot-a073beb4.js} +3 -3
- package/dist/esm/{cs-6cd39c70.js → cs-04cd2eec.js} +15 -15
- package/dist/esm/{da-3077d025.js → da-c7a90e25.js} +15 -15
- package/dist/esm/{de-2d74d1fa.js → de-2320578d.js} +15 -15
- package/dist/esm/{de-at-bea8696e.js → de-at-ba44530e.js} +15 -15
- package/dist/esm/{de-ch-d7696056.js → de-ch-8a51e46f.js} +15 -15
- package/dist/esm/{debounce-27e72515.js → debounce-fdfc14f8.js} +1 -1
- package/dist/esm/{dom-e7f0b7e5.js → dom-1e102cff.js} +3 -3
- package/dist/esm/{el-cb98c6c8.js → el-fcf17461.js} +15 -15
- package/dist/esm/{en-au-cc1ff551.js → en-au-c3b11c78.js} +15 -15
- package/dist/esm/{en-ca-1117d74a.js → en-ca-30dff099.js} +15 -15
- package/dist/esm/{en-gb-f887ba10.js → en-gb-44e12f73.js} +15 -15
- package/dist/esm/{es-7ff98015.js → es-22c87680.js} +15 -15
- package/dist/esm/{es-mx-a531ca83.js → es-mx-6433468f.js} +15 -15
- package/dist/esm/{et-e7dc8152.js → et-6030bcd3.js} +15 -15
- package/dist/esm/{fi-6b392442.js → fi-ebde6f11.js} +15 -15
- package/dist/esm/{filter-e866d99d.js → filter-2a08fcbe.js} +2 -2
- package/dist/esm/{floating-ui-647bc937.js → floating-ui-efac668c.js} +3 -3
- package/dist/esm/{focusTrapComponent-31cd7bb5.js → focusTrapComponent-cf800e53.js} +2 -2
- package/dist/esm/{form-f1aa860d.js → form-5711c2b1.js} +3 -3
- package/dist/esm/{fr-9e4a9524.js → fr-74af6fad.js} +15 -15
- package/dist/esm/{fr-ch-44ffe1ac.js → fr-ch-f6186253.js} +15 -15
- package/dist/esm/{guid-92f1205a.js → guid-c72e4b70.js} +1 -1
- package/dist/esm/{he-c0f947f2.js → he-07fdaed3.js} +15 -15
- package/dist/esm/{hi-46ea1cf2.js → hi-2f3fd176.js} +15 -15
- package/dist/esm/{hr-0e230b99.js → hr-6d34f02e.js} +15 -15
- package/dist/esm/{hu-da2cf47a.js → hu-f6acc8f3.js} +15 -15
- package/dist/esm/{id-e219b436.js → id-47b94276.js} +15 -15
- package/dist/esm/{index-884ed6b9.js → index-68321e79.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-2bf5aa15.js → interactive-5b95a485.js} +1 -1
- package/dist/esm/{it-ch-bfac8466.js → it-ch-a69f3b28.js} +15 -15
- package/dist/esm/{it-03be8a76.js → it-e6291320.js} +15 -15
- package/dist/esm/{ja-2c238559.js → ja-f716a1bb.js} +15 -15
- package/dist/esm/{key-eebe898b.js → key-709a066c.js} +1 -1
- package/dist/esm/{ko-5f5bc4d4.js → ko-ec26910c.js} +15 -15
- package/dist/esm/{label-e4c01692.js → label-e11a5c9d.js} +2 -2
- package/dist/esm/{loadable-0bd060d5.js → loadable-4de5a208.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-4760b4ee.js → locale-d1699422.js} +4 -4
- package/dist/esm/{lt-ffccbdbb.js → lt-f9d230f4.js} +15 -15
- package/dist/esm/{lv-67c0912a.js → lv-e54a6521.js} +15 -15
- package/dist/esm/{math-8e74b030.js → math-06e16698.js} +1 -1
- package/dist/esm/{mk-549e96ca.js → mk-ea370564.js} +15 -15
- package/dist/esm/{nb-1616a253.js → nb-b61a311e.js} +15 -15
- package/dist/esm/{nl-d248ff3b.js → nl-be29eb4f.js} +15 -15
- package/dist/esm/{observers-2b0d8369.js → observers-d3ef2576.js} +1 -1
- package/dist/esm/{openCloseComponent-bd8a82d4.js → openCloseComponent-b18c3634.js} +2 -2
- package/dist/esm/{pl-94144eff.js → pl-2ee293ad.js} +15 -15
- package/dist/esm/{pt-35faafd1.js → pt-bd3b9008.js} +15 -15
- package/dist/esm/{pt-br-eebec86c.js → pt-br-75efcd2b.js} +15 -15
- package/dist/esm/{resources-723e6286.js → resources-1a91531b.js} +1 -1
- package/dist/esm/{resources-72165df6.js → resources-49b2b38c.js} +1 -1
- package/dist/esm/{resources-3bd26a13.js → resources-72c52abd.js} +1 -1
- package/dist/esm/{resources-6f116d96.js → resources-7410ff88.js} +5 -5
- package/dist/esm/{resources-17ea410e.js → resources-a74c74d1.js} +1 -1
- package/dist/esm/{resources-36a9f17d.js → resources-c2c9a72f.js} +1 -1
- package/dist/esm/{resources-c74f3725.js → resources-d232f5ff.js} +1 -1
- package/dist/esm/{ro-7a9efb06.js → ro-7ce4cd78.js} +15 -15
- package/dist/esm/{ru-fe3ab9ce.js → ru-eecd044b.js} +15 -15
- package/dist/esm/{sk-2f2f91ae.js → sk-2fb0b74d.js} +15 -15
- package/dist/esm/{sl-458303cd.js → sl-e18b9b19.js} +15 -15
- package/dist/esm/{sortableComponent-ef337304.js → sortableComponent-dea0c80f.js} +2 -2
- package/dist/esm/{sr-435fe009.js → sr-da0eca45.js} +15 -15
- package/dist/esm/{sv-537c4846.js → sv-1b2b7c4a.js} +15 -15
- package/dist/esm/{t9n-afd6e44e.js → t9n-b9210933.js} +3 -3
- package/dist/esm/{th-e66140cc.js → th-0a9c9545.js} +15 -15
- package/dist/esm/{throttle-e7f028fb.js → throttle-cb86b1d1.js} +2 -2
- package/dist/esm/{tr-a4f8dd01.js → tr-ce6e09e1.js} +15 -15
- package/dist/esm/{uk-c13fac68.js → uk-ca5bf0ba.js} +15 -15
- package/dist/esm/{utils-0de17737.js → utils-a4179ff6.js} +1 -1
- package/dist/esm/{utils-f2db8778.js → utils-fa329e5b.js} +3 -3
- package/dist/esm/{vi-d5e6658a.js → vi-6e95b970.js} +15 -15
- package/dist/esm/{zh-cn-c8b929e0.js → zh-cn-34a2dc9e.js} +15 -15
- package/dist/esm/{zh-hk-82da09d7.js → zh-hk-d4c03fbe.js} +15 -15
- package/dist/esm/{zh-tw-453104ad.js → zh-tw-41e2e641.js} +15 -15
- package/dist/extras/docs-json.json +7 -28
- package/dist/extras/vscode-data.json +1 -16
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +3 -4
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +13 -7
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +16 -5
- package/dist/types/components/dropdown-item/resources.d.ts +1 -3
- package/dist/types/components/list/list.d.ts +5 -1
- package/dist/types/components/segmented-control/segmented-control.d.ts +4 -2
- package/dist/types/components/segmented-control-item/segmented-control-item.d.ts +19 -0
- package/dist/types/components.d.ts +26 -9
- package/hydrate/index.js +272 -219
- package/package.json +2 -2
- package/dist/calcite/p-06efa205.entry.js +0 -6
- package/dist/calcite/p-2db56a67.js +0 -6
- package/dist/calcite/p-4ebd0f07.js +0 -6
- package/dist/calcite/p-56d2d513.entry.js +0 -6
- package/dist/calcite/p-6f739727.entry.js +0 -6
- package/dist/calcite/p-75f687fa.js +0 -6
- package/dist/calcite/p-765586ed.entry.js +0 -6
- package/dist/calcite/p-7c4d6a5c.entry.js +0 -6
- package/dist/calcite/p-815a47e5.entry.js +0 -6
- package/dist/calcite/p-854590bf.entry.js +0 -6
- package/dist/calcite/p-89bf0848.entry.js +0 -6
- package/dist/calcite/p-a662ca87.js +0 -6
- package/dist/calcite/p-b96b4ca6.entry.js +0 -6
- package/dist/calcite/p-dc1670fe.js +0 -6
- package/dist/calcite/p-de08adce.entry.js +0 -6
- package/dist/calcite/p-ea46b996.js +0 -6
- package/dist/collection/components/dropdown-group/resources.js +0 -10
- package/dist/types/components/dropdown-group/resources.d.ts +0 -5
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.6
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -7022,7 +7022,7 @@ const SLOTS$y = {
|
|
|
7022
7022
|
actionsStart: "actions-start",
|
|
7023
7023
|
actionsEnd: "actions-end",
|
|
7024
7024
|
};
|
|
7025
|
-
const CSS$
|
|
7025
|
+
const CSS$17 = {
|
|
7026
7026
|
icon: "icon",
|
|
7027
7027
|
header: "header",
|
|
7028
7028
|
headerContent: "header-content",
|
|
@@ -7086,28 +7086,28 @@ class AccordionItem {
|
|
|
7086
7086
|
// --------------------------------------------------------------------------
|
|
7087
7087
|
renderActionsStart() {
|
|
7088
7088
|
const { el } = this;
|
|
7089
|
-
return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$
|
|
7089
|
+
return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$17.actionsStart }, hAsync("slot", { name: SLOTS$y.actionsStart }))) : null;
|
|
7090
7090
|
}
|
|
7091
7091
|
renderActionsEnd() {
|
|
7092
7092
|
const { el } = this;
|
|
7093
|
-
return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
7093
|
+
return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$17.actionsEnd }, hAsync("slot", { name: SLOTS$y.actionsEnd }))) : null;
|
|
7094
7094
|
}
|
|
7095
7095
|
render() {
|
|
7096
7096
|
const { iconFlipRtl } = this;
|
|
7097
7097
|
const dir = getElementDir(this.el);
|
|
7098
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
7099
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
7098
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$17.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7099
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$17.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7100
7100
|
const { description } = this;
|
|
7101
7101
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
7102
7102
|
[`icon-position--${this.iconPosition}`]: true,
|
|
7103
7103
|
[`icon-type--${this.iconType}`]: true,
|
|
7104
|
-
} }, hAsync("div", { class: { [CSS$
|
|
7104
|
+
} }, hAsync("div", { class: { [CSS$17.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$17.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$17.headerContainer }, iconStartEl, hAsync("div", { class: CSS$17.headerText }, hAsync("span", { class: CSS$17.heading }, this.heading), description ? hAsync("span", { class: CSS$17.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$17.expandIcon, icon: this.iconType === "chevron"
|
|
7105
7105
|
? "chevronDown"
|
|
7106
7106
|
: this.iconType === "caret"
|
|
7107
7107
|
? "caretDown"
|
|
7108
7108
|
: this.expanded
|
|
7109
7109
|
? "minus"
|
|
7110
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
7110
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$17.content }, hAsync("slot", null)))));
|
|
7111
7111
|
}
|
|
7112
7112
|
//--------------------------------------------------------------------------
|
|
7113
7113
|
//
|
|
@@ -8027,7 +8027,7 @@ function defaultOnMessagesChange() {
|
|
|
8027
8027
|
mergeMessages(this);
|
|
8028
8028
|
}
|
|
8029
8029
|
|
|
8030
|
-
const CSS$
|
|
8030
|
+
const CSS$16 = {
|
|
8031
8031
|
button: "button",
|
|
8032
8032
|
buttonTextVisible: "button--text-visible",
|
|
8033
8033
|
buttonCompact: "button--compact",
|
|
@@ -8138,14 +8138,14 @@ class Action {
|
|
|
8138
8138
|
renderTextContainer() {
|
|
8139
8139
|
const { text, textEnabled } = this;
|
|
8140
8140
|
const textContainerClasses = {
|
|
8141
|
-
[CSS$
|
|
8142
|
-
[CSS$
|
|
8141
|
+
[CSS$16.textContainer]: true,
|
|
8142
|
+
[CSS$16.textContainerVisible]: textEnabled,
|
|
8143
8143
|
};
|
|
8144
8144
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
8145
8145
|
}
|
|
8146
8146
|
renderIndicatorText() {
|
|
8147
8147
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
8148
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
8148
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$16.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
8149
8149
|
}
|
|
8150
8150
|
renderIconContainer() {
|
|
8151
8151
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -8156,18 +8156,18 @@ class Action {
|
|
|
8156
8156
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
8157
8157
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
8158
8158
|
const slotContainerNode = (hAsync("div", { class: {
|
|
8159
|
-
[CSS$
|
|
8160
|
-
[CSS$
|
|
8159
|
+
[CSS$16.slotContainer]: true,
|
|
8160
|
+
[CSS$16.slotContainerHidden]: loading,
|
|
8161
8161
|
} }, hAsync("slot", null)));
|
|
8162
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
8162
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$16.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
8163
8163
|
}
|
|
8164
8164
|
render() {
|
|
8165
8165
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages, } = this;
|
|
8166
8166
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
8167
8167
|
const buttonClasses = {
|
|
8168
|
-
[CSS$
|
|
8169
|
-
[CSS$
|
|
8170
|
-
[CSS$
|
|
8168
|
+
[CSS$16.button]: true,
|
|
8169
|
+
[CSS$16.buttonTextVisible]: textEnabled,
|
|
8170
|
+
[CSS$16.buttonCompact]: compact,
|
|
8171
8171
|
};
|
|
8172
8172
|
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,
|
|
8173
8173
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
@@ -9479,11 +9479,11 @@ const SLOTS$w = {
|
|
|
9479
9479
|
const ICONS$j = {
|
|
9480
9480
|
menu: "ellipsis",
|
|
9481
9481
|
};
|
|
9482
|
-
const CSS$
|
|
9482
|
+
const CSS$15 = {
|
|
9483
9483
|
container: "container",
|
|
9484
9484
|
};
|
|
9485
9485
|
|
|
9486
|
-
const CSS$
|
|
9486
|
+
const CSS$14 = {
|
|
9487
9487
|
menu: "menu",
|
|
9488
9488
|
defaultTrigger: "default-trigger",
|
|
9489
9489
|
};
|
|
@@ -9583,7 +9583,7 @@ const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position
|
|
|
9583
9583
|
return actionNode;
|
|
9584
9584
|
};
|
|
9585
9585
|
|
|
9586
|
-
const CSS$
|
|
9586
|
+
const CSS$13 = {
|
|
9587
9587
|
actionGroupEnd: "action-group--end",
|
|
9588
9588
|
};
|
|
9589
9589
|
const SLOTS$u = {
|
|
@@ -9786,7 +9786,7 @@ class ActionBar {
|
|
|
9786
9786
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
9787
9787
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
9788
9788
|
ref: this.setExpandToggleRef })) : null;
|
|
9789
|
-
return (hAsync("calcite-action-group", { class: CSS$
|
|
9789
|
+
return (hAsync("calcite-action-group", { class: CSS$13.actionGroupEnd, label: actionsEndGroupLabel, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$u.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
|
9790
9790
|
}
|
|
9791
9791
|
render() {
|
|
9792
9792
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9914,7 +9914,7 @@ class ActionGroup {
|
|
|
9914
9914
|
return (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], hidden: !hasMenuActions, label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, overlayPositioning: overlayPositioning, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$j.menu, scale: scale, slot: SLOTS$v.trigger, text: messages.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$w.menuActions, onSlotchange: this.handleMenuActionsSlotChange }), hAsync("slot", { name: SLOTS$w.menuTooltip, slot: SLOTS$v.tooltip })));
|
|
9915
9915
|
}
|
|
9916
9916
|
render() {
|
|
9917
|
-
return (hAsync("div", { "aria-label": this.label, class: CSS$
|
|
9917
|
+
return (hAsync("div", { "aria-label": this.label, class: CSS$15.container, role: "group" }, hAsync("slot", null), this.renderMenu()));
|
|
9918
9918
|
}
|
|
9919
9919
|
static get delegatesFocus() { return true; }
|
|
9920
9920
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10198,7 +10198,7 @@ class ActionMenu {
|
|
|
10198
10198
|
}
|
|
10199
10199
|
renderMenuButton() {
|
|
10200
10200
|
const { label, scale, expanded } = this;
|
|
10201
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$v.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
10201
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$v.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$14.defaultTrigger, icon: ICONS$i.menu, scale: scale, text: label, textEnabled: expanded,
|
|
10202
10202
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10203
10203
|
ref: this.setDefaultMenuButtonEl })));
|
|
10204
10204
|
return menuButtonSlot;
|
|
@@ -10207,7 +10207,7 @@ class ActionMenu {
|
|
|
10207
10207
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements, } = this;
|
|
10208
10208
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
10209
10209
|
const activeDescendantId = activeAction?.id || null;
|
|
10210
|
-
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$
|
|
10210
|
+
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$14.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
10211
10211
|
}
|
|
10212
10212
|
render() {
|
|
10213
10213
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$v.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -10243,7 +10243,7 @@ class ActionMenu {
|
|
|
10243
10243
|
}; }
|
|
10244
10244
|
}
|
|
10245
10245
|
|
|
10246
|
-
const CSS$
|
|
10246
|
+
const CSS$12 = {
|
|
10247
10247
|
actionGroupEnd: "action-group--end",
|
|
10248
10248
|
container: "container",
|
|
10249
10249
|
};
|
|
@@ -10368,10 +10368,10 @@ class ActionPad {
|
|
|
10368
10368
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
10369
10369
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10370
10370
|
ref: this.setExpandToggleRef })) : null;
|
|
10371
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10371
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$12.actionGroupEnd, label: actionsEndGroupLabel, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$t.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
|
|
10372
10372
|
}
|
|
10373
10373
|
render() {
|
|
10374
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10374
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$12.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10375
10375
|
}
|
|
10376
10376
|
static get delegatesFocus() { return true; }
|
|
10377
10377
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10500,7 +10500,7 @@ const SLOTS$s = {
|
|
|
10500
10500
|
message: "message",
|
|
10501
10501
|
link: "link",
|
|
10502
10502
|
};
|
|
10503
|
-
const CSS$
|
|
10503
|
+
const CSS$11 = {
|
|
10504
10504
|
actionsEnd: "actions-end",
|
|
10505
10505
|
container: "container",
|
|
10506
10506
|
close: "alert-close",
|
|
@@ -10660,10 +10660,10 @@ class Alert {
|
|
|
10660
10660
|
container: true,
|
|
10661
10661
|
queued,
|
|
10662
10662
|
[placement]: true,
|
|
10663
|
-
[CSS$
|
|
10663
|
+
[CSS$11.slottedInShell]: this.slottedInShell,
|
|
10664
10664
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10665
10665
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10666
|
-
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$s.title }), hAsync("slot", { name: SLOTS$s.message }), hAsync("slot", { name: SLOTS$s.link })), hAsync("div", { class: CSS$
|
|
10666
|
+
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$s.title }), hAsync("slot", { name: SLOTS$s.message }), hAsync("slot", { name: SLOTS$s.link })), hAsync("div", { class: CSS$11.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10667
10667
|
}
|
|
10668
10668
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10669
10669
|
alertSync(event) {
|
|
@@ -11132,7 +11132,7 @@ const Heading = (props, children) => {
|
|
|
11132
11132
|
return hAsync(HeadingTag, { ...props }, children);
|
|
11133
11133
|
};
|
|
11134
11134
|
|
|
11135
|
-
const CSS$
|
|
11135
|
+
const CSS$10 = {
|
|
11136
11136
|
container: "container",
|
|
11137
11137
|
content: "content",
|
|
11138
11138
|
headerContainer: "header-container",
|
|
@@ -11257,30 +11257,30 @@ class Block {
|
|
|
11257
11257
|
renderIcon() {
|
|
11258
11258
|
const { loading, messages, status } = this;
|
|
11259
11259
|
const hasSlottedIcon = !!getSlotted(this.el, SLOTS$r.icon);
|
|
11260
|
-
return loading ? (hAsync("div", { class: CSS$
|
|
11261
|
-
[CSS$
|
|
11262
|
-
[CSS$
|
|
11263
|
-
[CSS$
|
|
11264
|
-
}, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$
|
|
11260
|
+
return loading ? (hAsync("div", { class: CSS$10.icon, key: "loader" }, hAsync("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (hAsync("div", { class: CSS$10.icon, key: "status-icon" }, hAsync("calcite-icon", { class: {
|
|
11261
|
+
[CSS$10.statusIcon]: true,
|
|
11262
|
+
[CSS$10.valid]: status == "valid",
|
|
11263
|
+
[CSS$10.invalid]: status == "invalid",
|
|
11264
|
+
}, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$10.icon, key: "icon-slot" }, hAsync("slot", { key: "icon-slot", name: SLOTS$r.icon }))) : null;
|
|
11265
11265
|
}
|
|
11266
11266
|
renderTitle() {
|
|
11267
11267
|
const { heading, headingLevel, description } = this;
|
|
11268
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
11268
|
+
return heading || description ? (hAsync("div", { class: CSS$10.title }, hAsync(Heading, { class: CSS$10.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$10.description }, description) : null)) : null;
|
|
11269
11269
|
}
|
|
11270
11270
|
render() {
|
|
11271
11271
|
const { collapsible, el, loading, open, messages } = this;
|
|
11272
11272
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11273
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
11273
|
+
const headerContent = (hAsync("header", { class: CSS$10.header }, this.renderIcon(), this.renderTitle()));
|
|
11274
11274
|
const hasControl = !!getSlotted(el, SLOTS$r.control);
|
|
11275
11275
|
const hasMenuActions = !!getSlotted(el, SLOTS$r.headerMenuActions);
|
|
11276
11276
|
const collapseIcon = open ? ICONS$g.opened : ICONS$g.closed;
|
|
11277
11277
|
const { guid } = this;
|
|
11278
11278
|
const regionId = `${guid}-region`;
|
|
11279
11279
|
const buttonId = `${guid}-button`;
|
|
11280
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
11280
|
+
const headerNode = (hAsync("div", { class: CSS$10.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$10.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$10.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), hasControl ? (hAsync("div", { class: CSS$10.controlContainer }, hAsync("slot", { name: SLOTS$r.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$r.headerMenuActions }))) : null));
|
|
11281
11281
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
11282
|
-
[CSS$
|
|
11283
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
11282
|
+
[CSS$10.container]: true,
|
|
11283
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$10.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
11284
11284
|
}
|
|
11285
11285
|
static get assetsDirs() { return ["assets"]; }
|
|
11286
11286
|
get el() { return getElement(this); }
|
|
@@ -11314,7 +11314,7 @@ class Block {
|
|
|
11314
11314
|
}; }
|
|
11315
11315
|
}
|
|
11316
11316
|
|
|
11317
|
-
const CSS
|
|
11317
|
+
const CSS$$ = {
|
|
11318
11318
|
content: "content",
|
|
11319
11319
|
invalid: "invalid",
|
|
11320
11320
|
toggle: "toggle",
|
|
@@ -11417,9 +11417,9 @@ class BlockSection {
|
|
|
11417
11417
|
const { status } = this;
|
|
11418
11418
|
const statusIcon = ICONS$f[status] ?? false;
|
|
11419
11419
|
const statusIconClasses = {
|
|
11420
|
-
[CSS
|
|
11421
|
-
[CSS
|
|
11422
|
-
[CSS
|
|
11420
|
+
[CSS$$.statusIcon]: true,
|
|
11421
|
+
[CSS$$.valid]: status == "valid",
|
|
11422
|
+
[CSS$$.invalid]: status == "invalid",
|
|
11423
11423
|
};
|
|
11424
11424
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11425
11425
|
}
|
|
@@ -11436,13 +11436,13 @@ class BlockSection {
|
|
|
11436
11436
|
const regionId = `${guid}-region`;
|
|
11437
11437
|
const buttonId = `${guid}-button`;
|
|
11438
11438
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11439
|
-
[CSS
|
|
11440
|
-
[CSS
|
|
11441
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS
|
|
11442
|
-
[CSS
|
|
11443
|
-
[CSS
|
|
11444
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS
|
|
11445
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS
|
|
11439
|
+
[CSS$$.toggle]: true,
|
|
11440
|
+
[CSS$$.toggleSwitch]: true,
|
|
11441
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$$.toggleSwitchContent }, hAsync("span", { class: CSS$$.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11442
|
+
[CSS$$.sectionHeader]: true,
|
|
11443
|
+
[CSS$$.toggle]: true,
|
|
11444
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$$.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11445
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$$.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
11446
11446
|
}
|
|
11447
11447
|
static get assetsDirs() { return ["assets"]; }
|
|
11448
11448
|
get el() { return getElement(this); }
|
|
@@ -11872,7 +11872,7 @@ function onLabelDisconnected() {
|
|
|
11872
11872
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11873
11873
|
}
|
|
11874
11874
|
|
|
11875
|
-
const CSS
|
|
11875
|
+
const CSS$_ = {
|
|
11876
11876
|
buttonLoader: "calcite-button--loader",
|
|
11877
11877
|
content: "content",
|
|
11878
11878
|
contentSlotted: "content--slotted",
|
|
@@ -12000,17 +12000,17 @@ class Button {
|
|
|
12000
12000
|
render() {
|
|
12001
12001
|
const childElType = this.href ? "a" : "button";
|
|
12002
12002
|
const Tag = childElType;
|
|
12003
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS
|
|
12003
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$_.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$_.loadingIn : CSS$_.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
12004
12004
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
12005
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS
|
|
12006
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS
|
|
12007
|
-
const contentEl = (hAsync("span", { class: CSS
|
|
12005
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$_.icon]: true, [CSS$_.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
12006
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$_.icon]: true, [CSS$_.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
12007
|
+
const contentEl = (hAsync("span", { class: CSS$_.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
12008
12008
|
return (hAsync(Tag, { "aria-label": !this.loading ? getLabelText(this) : this.messages.loading, "aria-live": "polite", class: {
|
|
12009
|
-
[CSS
|
|
12010
|
-
[CSS
|
|
12011
|
-
[CSS
|
|
12012
|
-
[CSS
|
|
12013
|
-
[CSS
|
|
12009
|
+
[CSS$_.buttonPadding]: noStartEndIcons,
|
|
12010
|
+
[CSS$_.buttonPaddingShrunk]: !noStartEndIcons,
|
|
12011
|
+
[CSS$_.contentSlotted]: this.hasContent,
|
|
12012
|
+
[CSS$_.iconStartEmpty]: !this.iconStart,
|
|
12013
|
+
[CSS$_.iconEndEmpty]: !this.iconEnd,
|
|
12014
12014
|
}, 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));
|
|
12015
12015
|
}
|
|
12016
12016
|
//--------------------------------------------------------------------------
|
|
@@ -12325,7 +12325,7 @@ class CalciteMenu {
|
|
|
12325
12325
|
}; }
|
|
12326
12326
|
}
|
|
12327
12327
|
|
|
12328
|
-
const CSS$
|
|
12328
|
+
const CSS$Z = {
|
|
12329
12329
|
container: "container",
|
|
12330
12330
|
content: "content",
|
|
12331
12331
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12529,54 +12529,54 @@ class CalciteMenuItem {
|
|
|
12529
12529
|
//
|
|
12530
12530
|
//--------------------------------------------------------------------------
|
|
12531
12531
|
renderIconStart() {
|
|
12532
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12532
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$Z.iconStart, scale: "s" }));
|
|
12533
12533
|
}
|
|
12534
12534
|
renderIconEnd() {
|
|
12535
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12535
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$Z.iconEnd, scale: "s" }));
|
|
12536
12536
|
}
|
|
12537
12537
|
renderBreadcrumbIcon(dir) {
|
|
12538
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12538
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$Z.iconBreadcrumb, scale: "s" }));
|
|
12539
12539
|
}
|
|
12540
12540
|
renderDropdownIcon(dir) {
|
|
12541
12541
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12542
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12542
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12543
12543
|
? this.open
|
|
12544
12544
|
? "chevron-up"
|
|
12545
12545
|
: "chevron-down"
|
|
12546
|
-
: dirChevron, key: CSS$
|
|
12546
|
+
: dirChevron, key: CSS$Z.iconDropdown, scale: "s" }));
|
|
12547
12547
|
}
|
|
12548
12548
|
renderDropdownAction(dir) {
|
|
12549
12549
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12550
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12550
|
+
return (hAsync("calcite-action", { class: CSS$Z.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12551
12551
|
? this.open
|
|
12552
12552
|
? "chevron-up"
|
|
12553
12553
|
: "chevron-down"
|
|
12554
|
-
: dirChevron, key: CSS$
|
|
12554
|
+
: dirChevron, key: CSS$Z.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12555
12555
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12556
12556
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12557
12557
|
}
|
|
12558
12558
|
renderSubmenuItems(dir) {
|
|
12559
12559
|
return (hAsync("calcite-menu", { class: {
|
|
12560
|
-
[CSS$
|
|
12561
|
-
[CSS$
|
|
12562
|
-
[CSS$
|
|
12560
|
+
[CSS$Z.dropdownMenuItems]: true,
|
|
12561
|
+
[CSS$Z.open]: this.open,
|
|
12562
|
+
[CSS$Z.nested]: !this.isTopLevelItem,
|
|
12563
12563
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12564
|
-
[CSS$
|
|
12564
|
+
[CSS$Z.dropdownVertical]: this.topLevelMenuLayout === "vertical",
|
|
12565
12565
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12566
12566
|
}
|
|
12567
12567
|
renderHrefIcon(dir) {
|
|
12568
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12568
|
+
return (hAsync("calcite-icon", { class: CSS$Z.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", key: CSS$Z.hoverHrefIcon, scale: "s" }));
|
|
12569
12569
|
}
|
|
12570
12570
|
renderItemContent(dir) {
|
|
12571
12571
|
const hasHref = this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem);
|
|
12572
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12572
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$Z.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));
|
|
12573
12573
|
}
|
|
12574
12574
|
render() {
|
|
12575
12575
|
const dir = getElementDir(this.el);
|
|
12576
12576
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12577
|
-
[CSS$
|
|
12578
|
-
[CSS$
|
|
12579
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12577
|
+
[CSS$Z.container]: true,
|
|
12578
|
+
[CSS$Z.isParentVertical]: this.topLevelMenuLayout === "vertical",
|
|
12579
|
+
}, role: "none" }, hAsync("div", { class: CSS$Z.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$Z.layoutVertical]: this.layout === "vertical", [CSS$Z.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12580
12580
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12581
12581
|
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir)), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12582
12582
|
}
|
|
@@ -12619,7 +12619,7 @@ class CalciteMenuItem {
|
|
|
12619
12619
|
}; }
|
|
12620
12620
|
}
|
|
12621
12621
|
|
|
12622
|
-
const CSS$
|
|
12622
|
+
const CSS$Y = {
|
|
12623
12623
|
container: "container",
|
|
12624
12624
|
containerContent: "container-content",
|
|
12625
12625
|
hasProgress: "progress-bar",
|
|
@@ -12768,11 +12768,11 @@ class CalciteNavigation {
|
|
|
12768
12768
|
this.navigationAction;
|
|
12769
12769
|
const slotName = this.el.slot;
|
|
12770
12770
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
12771
|
-
[CSS$
|
|
12772
|
-
[CSS$
|
|
12773
|
-
[CSS$
|
|
12774
|
-
[CSS$
|
|
12775
|
-
} }, hAsync("div", { class: { [CSS$
|
|
12771
|
+
[CSS$Y.container]: true,
|
|
12772
|
+
[CSS$Y.secondary]: slotName === SLOTS$q.navSecondary,
|
|
12773
|
+
[CSS$Y.tertiary]: slotName === SLOTS$q.navTertiary,
|
|
12774
|
+
[CSS$Y.primary]: primaryLevelHasElements,
|
|
12775
|
+
} }, hAsync("div", { class: { [CSS$Y.hide]: !this.progressSlotHasElement, [SLOTS$q.progress]: true } }, hAsync("slot", { name: SLOTS$q.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$Y.containerContent]: true, [CSS$Y.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$Y.hide]: !this.logoSlotHasElements, [SLOTS$q.logo]: true } }, hAsync("slot", { name: SLOTS$q.logo, onSlotchange: this.handleLogoSlotChange })), hAsync("slot", { name: SLOTS$q.contentStart, onSlotchange: this.handleContentStartSlotChange }), hAsync("slot", { name: SLOTS$q.contentCenter, onSlotchange: this.handleContentCenterSlotChange }), hAsync("slot", { name: SLOTS$q.contentEnd, onSlotchange: this.handleContentEndSlotChange }), hAsync("div", { class: { [CSS$Y.hide]: !this.userSlotHasElements, [SLOTS$q.user]: true } }, hAsync("slot", { name: SLOTS$q.user, onSlotchange: this.handleUserSlotChange })))), hAsync(Fragment, null, hAsync("slot", { name: SLOTS$q.navSecondary, onSlotchange: this.handleSecondarySlotChange }), hAsync("slot", { name: SLOTS$q.navTertiary, onSlotchange: this.handleTertiarySlotChange }))));
|
|
12776
12776
|
}
|
|
12777
12777
|
get el() { return getElement(this); }
|
|
12778
12778
|
static get style() { return navigationCss; }
|
|
@@ -12799,7 +12799,7 @@ class CalciteNavigation {
|
|
|
12799
12799
|
}; }
|
|
12800
12800
|
}
|
|
12801
12801
|
|
|
12802
|
-
const CSS$
|
|
12802
|
+
const CSS$X = {
|
|
12803
12803
|
container: "container",
|
|
12804
12804
|
heading: "heading",
|
|
12805
12805
|
description: "description",
|
|
@@ -12852,10 +12852,10 @@ class CalciteNavigationLogo {
|
|
|
12852
12852
|
// --------------------------------------------------------------------------
|
|
12853
12853
|
render() {
|
|
12854
12854
|
const { heading, description, thumbnail } = this;
|
|
12855
|
-
return (hAsync(Host, null, hAsync("a", { class: CSS$
|
|
12856
|
-
[CSS$
|
|
12857
|
-
[CSS$
|
|
12858
|
-
}, key: CSS$
|
|
12855
|
+
return (hAsync(Host, null, hAsync("a", { class: CSS$X.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$X.image, src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$X.container }, heading && (hAsync("span", { "aria-label": this.heading, class: {
|
|
12856
|
+
[CSS$X.heading]: true,
|
|
12857
|
+
[CSS$X.standalone]: !this.description,
|
|
12858
|
+
}, key: CSS$X.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$X.description, key: CSS$X.description }, description)))))));
|
|
12859
12859
|
}
|
|
12860
12860
|
static get delegatesFocus() { return true; }
|
|
12861
12861
|
get el() { return getElement(this); }
|
|
@@ -12880,7 +12880,7 @@ class CalciteNavigationLogo {
|
|
|
12880
12880
|
}; }
|
|
12881
12881
|
}
|
|
12882
12882
|
|
|
12883
|
-
const CSS$
|
|
12883
|
+
const CSS$W = {
|
|
12884
12884
|
textContainer: "text-container",
|
|
12885
12885
|
fullName: "full-name",
|
|
12886
12886
|
username: "username",
|
|
@@ -12927,7 +12927,7 @@ class CalciteNavigationUser {
|
|
|
12927
12927
|
//
|
|
12928
12928
|
// --------------------------------------------------------------------------
|
|
12929
12929
|
render() {
|
|
12930
|
-
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$
|
|
12930
|
+
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$W.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$W.textContainer }, this.fullName && (hAsync("span", { class: CSS$W.fullName, key: CSS$W.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$W.username, key: CSS$W.username }, this.username)))))));
|
|
12931
12931
|
}
|
|
12932
12932
|
static get delegatesFocus() { return true; }
|
|
12933
12933
|
get el() { return getElement(this); }
|
|
@@ -12951,7 +12951,7 @@ class CalciteNavigationUser {
|
|
|
12951
12951
|
}; }
|
|
12952
12952
|
}
|
|
12953
12953
|
|
|
12954
|
-
const CSS$
|
|
12954
|
+
const CSS$V = {
|
|
12955
12955
|
container: "container",
|
|
12956
12956
|
header: "header",
|
|
12957
12957
|
footer: "footer",
|
|
@@ -13036,7 +13036,7 @@ class Card {
|
|
|
13036
13036
|
render() {
|
|
13037
13037
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
13038
13038
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
13039
|
-
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$
|
|
13039
|
+
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$V.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
13040
13040
|
}
|
|
13041
13041
|
effectiveLocaleChange() {
|
|
13042
13042
|
updateMessages(this);
|
|
@@ -13046,24 +13046,24 @@ class Card {
|
|
|
13046
13046
|
this.calciteCardSelect.emit();
|
|
13047
13047
|
}
|
|
13048
13048
|
renderThumbnail() {
|
|
13049
|
-
return getSlotted(this.el, SLOTS$p.thumbnail) ? (hAsync("section", { class: CSS$
|
|
13049
|
+
return getSlotted(this.el, SLOTS$p.thumbnail) ? (hAsync("section", { class: CSS$V.thumbnailWrapper }, hAsync("slot", { name: SLOTS$p.thumbnail }))) : null;
|
|
13050
13050
|
}
|
|
13051
13051
|
renderCheckbox() {
|
|
13052
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
13052
|
+
return (hAsync("calcite-label", { class: CSS$V.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
13053
13053
|
}
|
|
13054
13054
|
renderHeader() {
|
|
13055
13055
|
const { el } = this;
|
|
13056
13056
|
const title = getSlotted(el, SLOTS$p.title);
|
|
13057
13057
|
const subtitle = getSlotted(el, SLOTS$p.subtitle);
|
|
13058
13058
|
const hasHeader = title || subtitle;
|
|
13059
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
13059
|
+
return hasHeader ? (hAsync("header", { class: CSS$V.header }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.subtitle }))) : null;
|
|
13060
13060
|
}
|
|
13061
13061
|
renderFooter() {
|
|
13062
13062
|
const { el } = this;
|
|
13063
13063
|
const startFooter = getSlotted(el, SLOTS$p.footerStart);
|
|
13064
13064
|
const endFooter = getSlotted(el, SLOTS$p.footerEnd);
|
|
13065
13065
|
const hasFooter = startFooter || endFooter;
|
|
13066
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
13066
|
+
return hasFooter ? (hAsync("footer", { class: CSS$V.footer }, hAsync("slot", { name: SLOTS$p.footerStart }), hAsync("slot", { name: SLOTS$p.footerEnd }))) : null;
|
|
13067
13067
|
}
|
|
13068
13068
|
static get assetsDirs() { return ["assets"]; }
|
|
13069
13069
|
get el() { return getElement(this); }
|
|
@@ -13226,7 +13226,7 @@ class Checkbox {
|
|
|
13226
13226
|
}; }
|
|
13227
13227
|
}
|
|
13228
13228
|
|
|
13229
|
-
const CSS$
|
|
13229
|
+
const CSS$U = {
|
|
13230
13230
|
title: "title",
|
|
13231
13231
|
close: "close",
|
|
13232
13232
|
imageContainer: "image-container",
|
|
@@ -13395,7 +13395,7 @@ class Chip {
|
|
|
13395
13395
|
//
|
|
13396
13396
|
//--------------------------------------------------------------------------
|
|
13397
13397
|
renderChipImage() {
|
|
13398
|
-
return (hAsync("div", { class: CSS$
|
|
13398
|
+
return (hAsync("div", { class: CSS$U.imageContainer }, hAsync("slot", { name: SLOTS$o.image, onSlotchange: this.handleSlotImageChange })));
|
|
13399
13399
|
}
|
|
13400
13400
|
renderSelectionIcon() {
|
|
13401
13401
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -13406,17 +13406,17 @@ class Chip {
|
|
|
13406
13406
|
? ICONS$d.checkedSingle
|
|
13407
13407
|
: undefined;
|
|
13408
13408
|
return (hAsync("div", { class: {
|
|
13409
|
-
[CSS$
|
|
13410
|
-
[CSS$
|
|
13409
|
+
[CSS$U.selectIcon]: true,
|
|
13410
|
+
[CSS$U.selectIconActive]: this.selectionMode === "multiple" || this.selected,
|
|
13411
13411
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
13412
13412
|
}
|
|
13413
13413
|
renderCloseButton() {
|
|
13414
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
13414
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$U.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
13415
13415
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
13416
13416
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$d.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
13417
13417
|
}
|
|
13418
13418
|
renderIcon() {
|
|
13419
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
13419
|
+
return (hAsync("calcite-icon", { class: CSS$U.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
13420
13420
|
}
|
|
13421
13421
|
render() {
|
|
13422
13422
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -13430,21 +13430,21 @@ class Chip {
|
|
|
13430
13430
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
13431
13431
|
? toAriaBoolean(this.selected)
|
|
13432
13432
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
13433
|
-
[CSS$
|
|
13434
|
-
[CSS$
|
|
13435
|
-
[CSS$
|
|
13436
|
-
[CSS$
|
|
13437
|
-
[CSS$
|
|
13438
|
-
[CSS$
|
|
13439
|
-
[CSS$
|
|
13440
|
-
[CSS$
|
|
13433
|
+
[CSS$U.container]: true,
|
|
13434
|
+
[CSS$U.textSlotted]: this.hasText,
|
|
13435
|
+
[CSS$U.imageSlotted]: this.hasImage,
|
|
13436
|
+
[CSS$U.selectable]: this.selectionMode !== "none",
|
|
13437
|
+
[CSS$U.multiple]: this.selectionMode === "multiple",
|
|
13438
|
+
[CSS$U.closable]: this.closable,
|
|
13439
|
+
[CSS$U.nonInteractive]: !this.interactive,
|
|
13440
|
+
[CSS$U.isCircle]: !this.closable &&
|
|
13441
13441
|
!this.hasText &&
|
|
13442
13442
|
(!this.icon || !this.hasImage) &&
|
|
13443
13443
|
(this.selectionMode === "none" ||
|
|
13444
13444
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)),
|
|
13445
13445
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
13446
13446
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
13447
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
13447
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$U.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
13448
13448
|
}
|
|
13449
13449
|
static get assetsDirs() { return ["assets"]; }
|
|
13450
13450
|
get el() { return getElement(this); }
|
|
@@ -15766,7 +15766,7 @@ function zeroArray(array, length) {
|
|
|
15766
15766
|
|
|
15767
15767
|
var color = Color;
|
|
15768
15768
|
|
|
15769
|
-
const CSS$
|
|
15769
|
+
const CSS$T = {
|
|
15770
15770
|
channel: "channel",
|
|
15771
15771
|
channels: "channels",
|
|
15772
15772
|
colorField: "color-field",
|
|
@@ -16100,7 +16100,7 @@ class ColorPicker {
|
|
|
16100
16100
|
const { channelMode: activeChannelMode, messages } = this;
|
|
16101
16101
|
const selected = channelMode === activeChannelMode;
|
|
16102
16102
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
16103
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
16103
|
+
return (hAsync("calcite-tab-title", { class: CSS$T.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
16104
16104
|
};
|
|
16105
16105
|
this.renderChannelsTab = (channelMode) => {
|
|
16106
16106
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -16111,7 +16111,7 @@ class ColorPicker {
|
|
|
16111
16111
|
: [messages.hue, messages.saturation, messages.value];
|
|
16112
16112
|
const direction = getElementDir(this.el);
|
|
16113
16113
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
16114
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
16114
|
+
return (hAsync("calcite-tab", { class: CSS$T.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$T.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
|
|
16115
16115
|
const isAlphaChannel = index === 3;
|
|
16116
16116
|
if (isAlphaChannel) {
|
|
16117
16117
|
channelValue =
|
|
@@ -16122,7 +16122,7 @@ class ColorPicker {
|
|
|
16122
16122
|
}))));
|
|
16123
16123
|
};
|
|
16124
16124
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
16125
|
-
return (hAsync("calcite-input-number", { class: CSS$
|
|
16125
|
+
return (hAsync("calcite-input-number", { class: CSS$T.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",
|
|
16126
16126
|
// workaround to ensure input borders overlap as desired
|
|
16127
16127
|
// this is because the build transforms margin-left to its
|
|
16128
16128
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -16312,7 +16312,7 @@ class ColorPicker {
|
|
|
16312
16312
|
this.shiftKeyChannelAdjustment = 0;
|
|
16313
16313
|
const { key } = event;
|
|
16314
16314
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
16315
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
16315
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$T.channel))) {
|
|
16316
16316
|
return;
|
|
16317
16317
|
}
|
|
16318
16318
|
const { shiftKey } = event;
|
|
@@ -16404,35 +16404,35 @@ class ColorPicker {
|
|
|
16404
16404
|
const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(colorFieldScopeLeft, colorFieldScopeTop);
|
|
16405
16405
|
const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
|
|
16406
16406
|
const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
|
|
16407
|
-
return (hAsync("div", { class: CSS$
|
|
16407
|
+
return (hAsync("div", { class: CSS$T.container }, hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: CSS$T.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16408
16408
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16409
|
-
ref: this.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$
|
|
16409
|
+
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$T.scope]: true, [CSS$T.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
|
|
16410
16410
|
top: `${adjustedColorFieldScopeTop || 0}px`,
|
|
16411
16411
|
left: `${adjustedColorFieldScopeLeft || 0}px`,
|
|
16412
16412
|
}, tabindex: "0",
|
|
16413
16413
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16414
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$
|
|
16414
|
+
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$T.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$T.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$T.sliders }, hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: { [CSS$T.slider]: true, [CSS$T.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
16415
16415
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16416
|
-
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$
|
|
16416
|
+
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$T.scope]: true, [CSS$T.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
|
|
16417
16417
|
top: `${adjustedHueScopeTop}px`,
|
|
16418
16418
|
left: `${adjustedHueScopeLeft}px`,
|
|
16419
16419
|
}, tabindex: "0",
|
|
16420
16420
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16421
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$
|
|
16421
|
+
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: { [CSS$T.slider]: true, [CSS$T.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
16422
16422
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16423
|
-
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$
|
|
16423
|
+
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$T.scope]: true, [CSS$T.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
|
|
16424
16424
|
top: `${adjustedOpacityScopeTop}px`,
|
|
16425
16425
|
left: `${adjustedOpacityScopeLeft}px`,
|
|
16426
16426
|
}, tabindex: "0",
|
|
16427
16427
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16428
16428
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
16429
|
-
[CSS$
|
|
16430
|
-
[CSS$
|
|
16431
|
-
} }, hAsync("div", { class: CSS$
|
|
16432
|
-
[CSS$
|
|
16433
|
-
[CSS$
|
|
16434
|
-
}, 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$
|
|
16435
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$
|
|
16429
|
+
[CSS$T.controlSection]: true,
|
|
16430
|
+
[CSS$T.section]: true,
|
|
16431
|
+
} }, hAsync("div", { class: CSS$T.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$T.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$T.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
16432
|
+
[CSS$T.colorModeContainer]: true,
|
|
16433
|
+
[CSS$T.splitSection]: true,
|
|
16434
|
+
}, 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$T.savedColorsSection]: true, [CSS$T.section]: true } }, hAsync("div", { class: CSS$T.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$T.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$T.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$T.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$T.savedColors }, [
|
|
16435
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$T.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
|
|
16436
16436
|
])) : null))));
|
|
16437
16437
|
}
|
|
16438
16438
|
// --------------------------------------------------------------------------
|
|
@@ -16803,7 +16803,7 @@ class ColorPicker {
|
|
|
16803
16803
|
}; }
|
|
16804
16804
|
}
|
|
16805
16805
|
|
|
16806
|
-
const CSS$
|
|
16806
|
+
const CSS$S = {
|
|
16807
16807
|
container: "container",
|
|
16808
16808
|
hexInput: "hex-input",
|
|
16809
16809
|
opacityInput: "opacity-input",
|
|
@@ -16971,9 +16971,9 @@ class ColorPickerHexInput {
|
|
|
16971
16971
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
16972
16972
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16973
16973
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16974
|
-
return (hAsync("div", { class: CSS$
|
|
16974
|
+
return (hAsync("div", { class: CSS$S.container }, hAsync("calcite-input-text", { class: CSS$S.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
16975
16975
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16976
|
-
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$
|
|
16976
|
+
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$S.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,
|
|
16977
16977
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16978
16978
|
ref: this.storeOpacityInputRef })) : null));
|
|
16979
16979
|
}
|
|
@@ -17069,7 +17069,7 @@ class ColorPickerHexInput {
|
|
|
17069
17069
|
}; }
|
|
17070
17070
|
}
|
|
17071
17071
|
|
|
17072
|
-
const CSS$
|
|
17072
|
+
const CSS$R = {
|
|
17073
17073
|
swatch: "swatch",
|
|
17074
17074
|
noColorSwatch: "swatch--no-color",
|
|
17075
17075
|
checker: "checker",
|
|
@@ -17107,8 +17107,8 @@ class ColorPickerSwatch {
|
|
|
17107
17107
|
render() {
|
|
17108
17108
|
const isEmpty = !this.internalColor;
|
|
17109
17109
|
const classes = {
|
|
17110
|
-
[CSS$
|
|
17111
|
-
[CSS$
|
|
17110
|
+
[CSS$R.swatch]: true,
|
|
17111
|
+
[CSS$R.noColorSwatch]: isEmpty,
|
|
17112
17112
|
};
|
|
17113
17113
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
17114
17114
|
}
|
|
@@ -17134,7 +17134,7 @@ class ColorPickerSwatch {
|
|
|
17134
17134
|
const alpha = internalColor.alpha();
|
|
17135
17135
|
const hex = hexify(internalColor);
|
|
17136
17136
|
const hexa = hexify(internalColor, alpha < 1);
|
|
17137
|
-
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$
|
|
17137
|
+
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$R.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$R.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: {
|
|
17138
17138
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
17139
17139
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
17140
17140
|
}
|
|
@@ -18863,7 +18863,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18863
18863
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18864
18864
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18865
18865
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
18866
|
-
const CSS$
|
|
18866
|
+
const CSS$Q = {
|
|
18867
18867
|
listContainer: "list-container",
|
|
18868
18868
|
};
|
|
18869
18869
|
|
|
@@ -18888,11 +18888,11 @@ function getDepth$1(element) {
|
|
|
18888
18888
|
}
|
|
18889
18889
|
}
|
|
18890
18890
|
|
|
18891
|
-
const CSS$
|
|
18891
|
+
const CSS$P = {
|
|
18892
18892
|
button: "x-button",
|
|
18893
18893
|
};
|
|
18894
18894
|
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
18895
|
-
return (hAsync("button", { "aria-label": label, class: CSS$
|
|
18895
|
+
return (hAsync("button", { "aria-label": label, class: CSS$P.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18896
18896
|
// eslint-disable-next-line react/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
18897
|
ref: ref },
|
|
18898
18898
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
@@ -19090,7 +19090,7 @@ class Combobox {
|
|
|
19090
19090
|
event.preventDefault();
|
|
19091
19091
|
return;
|
|
19092
19092
|
}
|
|
19093
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
19093
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$P.button))) {
|
|
19094
19094
|
this.clearValue();
|
|
19095
19095
|
event.preventDefault();
|
|
19096
19096
|
return;
|
|
@@ -19704,7 +19704,7 @@ class Combobox {
|
|
|
19704
19704
|
renderFloatingUIContainer() {
|
|
19705
19705
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19706
19706
|
const classes = {
|
|
19707
|
-
[CSS$
|
|
19707
|
+
[CSS$Q.listContainer]: true,
|
|
19708
19708
|
[FloatingCSS.animation]: true,
|
|
19709
19709
|
[FloatingCSS.animationActive]: open,
|
|
19710
19710
|
};
|
|
@@ -19803,7 +19803,7 @@ class Combobox {
|
|
|
19803
19803
|
}; }
|
|
19804
19804
|
}
|
|
19805
19805
|
|
|
19806
|
-
const CSS$
|
|
19806
|
+
const CSS$O = {
|
|
19807
19807
|
icon: "icon",
|
|
19808
19808
|
iconActive: "icon--active",
|
|
19809
19809
|
iconIndent: "icon--indent",
|
|
@@ -19881,20 +19881,20 @@ class ComboboxItem {
|
|
|
19881
19881
|
// --------------------------------------------------------------------------
|
|
19882
19882
|
renderIcon(iconPath) {
|
|
19883
19883
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
19884
|
-
[CSS$
|
|
19885
|
-
[CSS$
|
|
19886
|
-
[CSS$
|
|
19884
|
+
[CSS$O.custom]: !!this.icon,
|
|
19885
|
+
[CSS$O.iconActive]: this.icon && this.selected,
|
|
19886
|
+
[CSS$O.iconIndent]: true,
|
|
19887
19887
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
19888
19888
|
}
|
|
19889
19889
|
renderSelectIndicator(showDot, iconPath) {
|
|
19890
19890
|
return showDot ? (hAsync("span", { class: {
|
|
19891
|
-
[CSS$
|
|
19892
|
-
[CSS$
|
|
19893
|
-
[CSS$
|
|
19891
|
+
[CSS$O.icon]: true,
|
|
19892
|
+
[CSS$O.dot]: true,
|
|
19893
|
+
[CSS$O.iconIndent]: true,
|
|
19894
19894
|
} })) : (hAsync("calcite-icon", { class: {
|
|
19895
|
-
[CSS$
|
|
19896
|
-
[CSS$
|
|
19897
|
-
[CSS$
|
|
19895
|
+
[CSS$O.icon]: true,
|
|
19896
|
+
[CSS$O.iconActive]: this.selected,
|
|
19897
|
+
[CSS$O.iconIndent]: true,
|
|
19898
19898
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
19899
19899
|
}
|
|
19900
19900
|
renderChildren() {
|
|
@@ -19909,10 +19909,10 @@ class ComboboxItem {
|
|
|
19909
19909
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19910
19910
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
19911
19911
|
const classes = {
|
|
19912
|
-
[CSS$
|
|
19913
|
-
[CSS$
|
|
19914
|
-
[CSS$
|
|
19915
|
-
[CSS$
|
|
19912
|
+
[CSS$O.label]: true,
|
|
19913
|
+
[CSS$O.selected]: this.selected,
|
|
19914
|
+
[CSS$O.active]: this.active,
|
|
19915
|
+
[CSS$O.single]: isSingleSelect,
|
|
19916
19916
|
};
|
|
19917
19917
|
const depth = getDepth$1();
|
|
19918
19918
|
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())));
|
|
@@ -19945,7 +19945,7 @@ class ComboboxItem {
|
|
|
19945
19945
|
}; }
|
|
19946
19946
|
}
|
|
19947
19947
|
|
|
19948
|
-
const CSS$
|
|
19948
|
+
const CSS$N = {
|
|
19949
19949
|
list: "list",
|
|
19950
19950
|
label: "label",
|
|
19951
19951
|
title: "title",
|
|
@@ -19981,7 +19981,7 @@ class ComboboxItemGroup {
|
|
|
19981
19981
|
render() {
|
|
19982
19982
|
const { el, scale } = this;
|
|
19983
19983
|
const depth = getDepth$1();
|
|
19984
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
19984
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$N.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$N.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$N.title }, this.label)), hAsync("slot", null)));
|
|
19985
19985
|
}
|
|
19986
19986
|
get el() { return getElement(this); }
|
|
19987
19987
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -21158,7 +21158,7 @@ class DatePickerMonth {
|
|
|
21158
21158
|
}; }
|
|
21159
21159
|
}
|
|
21160
21160
|
|
|
21161
|
-
const CSS$
|
|
21161
|
+
const CSS$M = {
|
|
21162
21162
|
header: "header",
|
|
21163
21163
|
month: "month",
|
|
21164
21164
|
chevron: "chevron",
|
|
@@ -21258,7 +21258,7 @@ class DatePickerMonthHeader {
|
|
|
21258
21258
|
this.setNextPrevMonthDates();
|
|
21259
21259
|
}
|
|
21260
21260
|
render() {
|
|
21261
|
-
return hAsync("div", { class: CSS$
|
|
21261
|
+
return hAsync("div", { class: CSS$M.header }, this.renderContent());
|
|
21262
21262
|
}
|
|
21263
21263
|
renderContent() {
|
|
21264
21264
|
const { messages, localeData, activeDate } = this;
|
|
@@ -21281,12 +21281,12 @@ class DatePickerMonthHeader {
|
|
|
21281
21281
|
const order = getOrder(unitOrder);
|
|
21282
21282
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
21283
21283
|
const suffix = localeData.year?.suffix;
|
|
21284
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
21284
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$M.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$M.textReverse]: reverse } }, hAsync(Heading, { class: CSS$M.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$M.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
21285
21285
|
year: true,
|
|
21286
|
-
[CSS$
|
|
21286
|
+
[CSS$M.yearSuffix]: !!suffix,
|
|
21287
21287
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21288
21288
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
21289
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
21289
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$M.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$M.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 }))));
|
|
21290
21290
|
}
|
|
21291
21291
|
setNextPrevMonthDates() {
|
|
21292
21292
|
if (!this.activeDate) {
|
|
@@ -21416,6 +21416,7 @@ class Dropdown {
|
|
|
21416
21416
|
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
|
|
21417
21417
|
this.updateSelectedItems();
|
|
21418
21418
|
this.reposition(true);
|
|
21419
|
+
this.items.forEach((item) => (item.scale = this.scale));
|
|
21419
21420
|
};
|
|
21420
21421
|
this.updateGroups = (event) => {
|
|
21421
21422
|
const groups = event.target
|
|
@@ -21517,10 +21518,10 @@ class Dropdown {
|
|
|
21517
21518
|
this.maxItems = 0;
|
|
21518
21519
|
this.overlayPositioning = "absolute";
|
|
21519
21520
|
this.placement = defaultMenuPlacement;
|
|
21520
|
-
this.scale = "m";
|
|
21521
21521
|
this.selectedItems = [];
|
|
21522
21522
|
this.type = "click";
|
|
21523
21523
|
this.width = undefined;
|
|
21524
|
+
this.scale = "m";
|
|
21524
21525
|
}
|
|
21525
21526
|
openHandler(value) {
|
|
21526
21527
|
if (!this.disabled) {
|
|
@@ -21550,6 +21551,9 @@ class Dropdown {
|
|
|
21550
21551
|
placementHandler() {
|
|
21551
21552
|
this.reposition(true);
|
|
21552
21553
|
}
|
|
21554
|
+
handlePropsChange() {
|
|
21555
|
+
this.updateItems();
|
|
21556
|
+
}
|
|
21553
21557
|
//--------------------------------------------------------------------------
|
|
21554
21558
|
//
|
|
21555
21559
|
// Public Methods
|
|
@@ -21574,6 +21578,7 @@ class Dropdown {
|
|
|
21574
21578
|
onToggleOpenCloseComponent(this);
|
|
21575
21579
|
}
|
|
21576
21580
|
connectInteractive(this);
|
|
21581
|
+
this.updateItems();
|
|
21577
21582
|
}
|
|
21578
21583
|
componentWillLoad() {
|
|
21579
21584
|
setUpLoadableComponent(this);
|
|
@@ -21756,7 +21761,8 @@ class Dropdown {
|
|
|
21756
21761
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
21757
21762
|
"maxItems": ["maxItemsHandler"],
|
|
21758
21763
|
"overlayPositioning": ["overlayPositioningHandler"],
|
|
21759
|
-
"placement": ["placementHandler"]
|
|
21764
|
+
"placement": ["placementHandler"],
|
|
21765
|
+
"scale": ["handlePropsChange"]
|
|
21760
21766
|
}; }
|
|
21761
21767
|
static get style() { return dropdownCss; }
|
|
21762
21768
|
static get cmpMeta() { return {
|
|
@@ -21770,23 +21776,30 @@ class Dropdown {
|
|
|
21770
21776
|
"maxItems": [514, "max-items"],
|
|
21771
21777
|
"overlayPositioning": [513, "overlay-positioning"],
|
|
21772
21778
|
"placement": [513],
|
|
21773
|
-
"scale": [513],
|
|
21774
21779
|
"selectedItems": [1040],
|
|
21775
21780
|
"type": [513],
|
|
21776
21781
|
"width": [513],
|
|
21782
|
+
"scale": [513],
|
|
21777
21783
|
"setFocus": [64],
|
|
21778
21784
|
"reposition": [64]
|
|
21779
21785
|
},
|
|
21780
21786
|
"$listeners$": [[9, "pointerdown", "closeCalciteDropdownOnClick"], [0, "calciteInternalDropdownCloseRequest", "closeCalciteDropdownOnEvent"], [8, "calciteDropdownOpen", "closeCalciteDropdownOnOpenEvent"], [1, "pointerenter", "pointerEnterHandler"], [1, "pointerleave", "pointerLeaveHandler"], [0, "calciteInternalDropdownItemKeyEvent", "calciteInternalDropdownItemKeyEvent"], [0, "calciteInternalDropdownItemSelect", "handleItemSelect"]],
|
|
21781
21787
|
"$lazyBundleId$": "-",
|
|
21782
|
-
"$attrsToReflect$": [["open", "open"], ["closeOnSelectDisabled", "close-on-select-disabled"], ["disabled", "disabled"], ["maxItems", "max-items"], ["overlayPositioning", "overlay-positioning"], ["placement", "placement"], ["
|
|
21788
|
+
"$attrsToReflect$": [["open", "open"], ["closeOnSelectDisabled", "close-on-select-disabled"], ["disabled", "disabled"], ["maxItems", "max-items"], ["overlayPositioning", "overlay-positioning"], ["placement", "placement"], ["type", "type"], ["width", "width"], ["scale", "scale"]]
|
|
21783
21789
|
}; }
|
|
21784
21790
|
}
|
|
21785
21791
|
|
|
21786
|
-
const CSS$
|
|
21787
|
-
|
|
21788
|
-
|
|
21789
|
-
|
|
21792
|
+
const CSS$L = {
|
|
21793
|
+
container: "container",
|
|
21794
|
+
containerLink: "container--link",
|
|
21795
|
+
containerMulti: "container--multi-selection",
|
|
21796
|
+
containerSingle: "container--single-selection",
|
|
21797
|
+
containerNone: "container--none-selection",
|
|
21798
|
+
icon: "dropdown-item-icon",
|
|
21799
|
+
iconEnd: "dropdown-item-icon-end",
|
|
21800
|
+
iconStart: "dropdown-item-icon-start",
|
|
21801
|
+
itemContent: "dropdown-item-content",
|
|
21802
|
+
link: "dropdown-link",
|
|
21790
21803
|
};
|
|
21791
21804
|
|
|
21792
21805
|
const dropdownGroupCss = "/*!@:host*/.sc-calcite-dropdown-group-h{position:relative;display:block}/*!@.container*/.container.sc-calcite-dropdown-group{text-align:start}/*!@.container--s*/.container--s.sc-calcite-dropdown-group{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@.container--s .dropdown-title*/.container--s.sc-calcite-dropdown-group .dropdown-title.sc-calcite-dropdown-group{padding:0.5rem}/*!@.container--m*/.container--m.sc-calcite-dropdown-group{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.container--m .dropdown-title*/.container--m.sc-calcite-dropdown-group .dropdown-title.sc-calcite-dropdown-group{padding:0.75rem}/*!@.container--l*/.container--l.sc-calcite-dropdown-group{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@.container--l .dropdown-title*/.container--l.sc-calcite-dropdown-group .dropdown-title.sc-calcite-dropdown-group{padding:1rem}/*!@.dropdown-title*/.dropdown-title.sc-calcite-dropdown-group{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.dropdown-separator*/.dropdown-separator.sc-calcite-dropdown-group{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-group-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-dropdown-group{display:none}";
|
|
@@ -21798,28 +21811,35 @@ class DropdownGroup {
|
|
|
21798
21811
|
constructor(hostRef) {
|
|
21799
21812
|
registerInstance(this, hostRef);
|
|
21800
21813
|
this.calciteInternalDropdownItemChange = createEvent(this, "calciteInternalDropdownItemChange", 6);
|
|
21814
|
+
this.updateItems = () => {
|
|
21815
|
+
Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((item) => (item.selectionMode = this.selectionMode));
|
|
21816
|
+
};
|
|
21817
|
+
this.mutationObserver = createObserver();
|
|
21801
21818
|
this.groupTitle = undefined;
|
|
21819
|
+
this.scale = "m";
|
|
21802
21820
|
this.selectionMode = "single";
|
|
21803
|
-
|
|
21821
|
+
}
|
|
21822
|
+
handlePropsChange() {
|
|
21823
|
+
this.updateItems();
|
|
21804
21824
|
}
|
|
21805
21825
|
//--------------------------------------------------------------------------
|
|
21806
21826
|
//
|
|
21807
21827
|
// Lifecycle
|
|
21808
21828
|
//
|
|
21809
21829
|
//--------------------------------------------------------------------------
|
|
21830
|
+
connectedCallback() {
|
|
21831
|
+
this.updateItems();
|
|
21832
|
+
}
|
|
21810
21833
|
componentWillLoad() {
|
|
21811
21834
|
this.groupPosition = this.getGroupPosition();
|
|
21812
21835
|
}
|
|
21813
21836
|
render() {
|
|
21814
|
-
const scale = this.scale || getElementProp(this.el, "scale", "m");
|
|
21815
21837
|
const groupTitle = this.groupTitle ? (hAsync("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
21816
21838
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21817
21839
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21818
|
-
container: true,
|
|
21819
|
-
[CSS$
|
|
21820
|
-
|
|
21821
|
-
[CSS$M.containerLarge]: scale === "l",
|
|
21822
|
-
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21840
|
+
[CSS$L.container]: true,
|
|
21841
|
+
[`${CSS$L.container}--${this.scale}`]: true,
|
|
21842
|
+
} }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21823
21843
|
}
|
|
21824
21844
|
//--------------------------------------------------------------------------
|
|
21825
21845
|
//
|
|
@@ -21844,36 +21864,24 @@ class DropdownGroup {
|
|
|
21844
21864
|
}
|
|
21845
21865
|
static get delegatesFocus() { return true; }
|
|
21846
21866
|
get el() { return getElement(this); }
|
|
21867
|
+
static get watchers() { return {
|
|
21868
|
+
"selectionMode": ["handlePropsChange"]
|
|
21869
|
+
}; }
|
|
21847
21870
|
static get style() { return dropdownGroupCss; }
|
|
21848
21871
|
static get cmpMeta() { return {
|
|
21849
21872
|
"$flags$": 25,
|
|
21850
21873
|
"$tagName$": "calcite-dropdown-group",
|
|
21851
21874
|
"$members$": {
|
|
21852
21875
|
"groupTitle": [513, "group-title"],
|
|
21853
|
-
"
|
|
21854
|
-
"
|
|
21876
|
+
"scale": [1],
|
|
21877
|
+
"selectionMode": [513, "selection-mode"]
|
|
21855
21878
|
},
|
|
21856
21879
|
"$listeners$": [[0, "calciteInternalDropdownItemSelect", "updateActiveItemOnChange"]],
|
|
21857
21880
|
"$lazyBundleId$": "-",
|
|
21858
|
-
"$attrsToReflect$": [["groupTitle", "group-title"], ["selectionMode", "selection-mode"]
|
|
21881
|
+
"$attrsToReflect$": [["groupTitle", "group-title"], ["selectionMode", "selection-mode"]]
|
|
21859
21882
|
}; }
|
|
21860
21883
|
}
|
|
21861
21884
|
|
|
21862
|
-
const CSS$L = {
|
|
21863
|
-
containerLink: "container--link",
|
|
21864
|
-
containerSmall: "container--s",
|
|
21865
|
-
containerMedium: "container--m",
|
|
21866
|
-
containerLarge: "container--l",
|
|
21867
|
-
containerMulti: "container--multi-selection",
|
|
21868
|
-
containerSingle: "container--single-selection",
|
|
21869
|
-
containerNone: "container--none-selection",
|
|
21870
|
-
icon: "dropdown-item-icon",
|
|
21871
|
-
iconEnd: "dropdown-item-icon-end",
|
|
21872
|
-
iconStart: "dropdown-item-icon-start",
|
|
21873
|
-
itemContent: "dropdown-item-content",
|
|
21874
|
-
link: "dropdown-link",
|
|
21875
|
-
};
|
|
21876
|
-
|
|
21877
21885
|
const dropdownItemCss = "/*!@.container--s*/.container--s.sc-calcite-dropdown-item{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}/*!@.container--m*/.container--m.sc-calcite-dropdown-item{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}/*!@.container--l*/.container--l.sc-calcite-dropdown-item{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}/*!@.container--s.container--none-selection*/.container--s.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.25rem}/*!@.container--s.container--none-selection .dropdown-link*/.container--s.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@.container--m.container--none-selection*/.container--m.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.5rem}/*!@.container--m.container--none-selection .dropdown-link*/.container--m.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@.container--l.container--none-selection*/.container--l.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.75rem}/*!@.container--l.container--none-selection .dropdown-link*/.container--l.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@:host*/.sc-calcite-dropdown-item-h{position:relative;display:flex;flex-grow:1;align-items:center}/*!@.container*/.container.sc-calcite-dropdown-item{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}/*!@.dropdown-item-content*/.dropdown-item-content.sc-calcite-dropdown-item{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}/*!@:host,\n.container--link a*/.sc-calcite-dropdown-item-h,.container--link.sc-calcite-dropdown-item a.sc-calcite-dropdown-item{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-dropdown-item-h:focus{outline:2px solid transparent;outline-offset:2px;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 )}/*!@.container--link*/.container--link.sc-calcite-dropdown-item{padding:0px}/*!@.container--link a*/.container--link.sc-calcite-dropdown-item a.sc-calcite-dropdown-item{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@.container--s .dropdown-link*/.container--s.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}/*!@.container--m .dropdown-link*/.container--m.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}/*!@.container--l .dropdown-link*/.container--l.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}/*!@:host(:hover) .container,\n:host(:active) .container*/.sc-calcite-dropdown-item-h:hover .container.sc-calcite-dropdown-item,.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration-line:none}/*!@:host(:hover) .container--link .dropdown-link,\n:host(:active) .container--link .dropdown-link*/.sc-calcite-dropdown-item-h:hover .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item,.sc-calcite-dropdown-item-h:active .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .container*/.sc-calcite-dropdown-item-h:focus .container.sc-calcite-dropdown-item{color:var(--calcite-ui-text-1);text-decoration-line:none}/*!@:host(:active) .container*/.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item{background-color:var(--calcite-ui-foreground-3)}/*!@:host(:hover) .container:before,\n:host(:active) .container:before,\n:host(:focus) .container:before*/.sc-calcite-dropdown-item-h:hover .container.sc-calcite-dropdown-item:before,.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item:before,.sc-calcite-dropdown-item-h:focus .container.sc-calcite-dropdown-item:before{opacity:1}/*!@:host([selected]) .container:not(.container--none-selection),\n:host([selected]) .container--link .dropdown-link*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection),[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([selected]) .container:not(.container--none-selection):before,\n:host([selected]) .container--link .dropdown-link:before*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection):before,[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item:before{opacity:1;color:var(--calcite-ui-brand)}/*!@:host([selected]) .container:not(.container--none-selection) calcite-icon,\n:host([selected]) .container--link .dropdown-link calcite-icon*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection) calcite-icon.sc-calcite-dropdown-item,[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item calcite-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-brand)}/*!@.container--multi-selection:before,\n.container--none-selection:before*/.container--multi-selection.sc-calcite-dropdown-item:before,.container--none-selection.sc-calcite-dropdown-item:before{display:none}/*!@.container--s:before*/.container--s.sc-calcite-dropdown-item:before{inset-inline-start:0.5rem}/*!@.container--m:before*/.container--m.sc-calcite-dropdown-item:before{inset-inline-start:0.75rem}/*!@.container--l:before*/.container--l.sc-calcite-dropdown-item:before{inset-inline-start:1rem}/*!@.dropdown-item-icon*/.dropdown-item-icon.sc-calcite-dropdown-item{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}/*!@.container--s .dropdown-item-icon*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.25rem}/*!@.container--m .dropdown-item-icon*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.5rem}/*!@.container--l .dropdown-item-icon*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.75rem}/*!@:host(:hover) .dropdown-item-icon*/.sc-calcite-dropdown-item-h:hover .dropdown-item-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-border-1);opacity:1}/*!@:host([selected]) .dropdown-item-icon*/[selected].sc-calcite-dropdown-item-h .dropdown-item-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-brand);opacity:1}/*!@.container--s .dropdown-item-icon-start*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:0.5rem;margin-inline-start:0.25rem}/*!@.container--s .dropdown-item-icon-end*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:0.5rem}/*!@.container--m .dropdown-item-icon-start*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:0.75rem;margin-inline-start:0.25rem}/*!@.container--m .dropdown-item-icon-end*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:0.75rem}/*!@.container--l .dropdown-item-icon-start*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:1rem;margin-inline-start:0.25rem}/*!@.container--l .dropdown-item-icon-end*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:1rem}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-dropdown-item{display:none}";
|
|
21878
21886
|
|
|
21879
21887
|
/**
|
|
@@ -21886,8 +21894,6 @@ class DropdownItem {
|
|
|
21886
21894
|
this.calciteInternalDropdownItemSelect = createEvent(this, "calciteInternalDropdownItemSelect", 6);
|
|
21887
21895
|
this.calciteInternalDropdownItemKeyEvent = createEvent(this, "calciteInternalDropdownItemKeyEvent", 6);
|
|
21888
21896
|
this.calciteInternalDropdownCloseRequest = createEvent(this, "calciteInternalDropdownCloseRequest", 6);
|
|
21889
|
-
/** Specifies the scale of dropdown-item controlled by the parent, defaults to m */
|
|
21890
|
-
this.scale = "m";
|
|
21891
21897
|
this.selected = false;
|
|
21892
21898
|
this.iconFlipRtl = undefined;
|
|
21893
21899
|
this.iconStart = undefined;
|
|
@@ -21896,6 +21902,8 @@ class DropdownItem {
|
|
|
21896
21902
|
this.label = undefined;
|
|
21897
21903
|
this.rel = undefined;
|
|
21898
21904
|
this.target = undefined;
|
|
21905
|
+
this.selectionMode = "single";
|
|
21906
|
+
this.scale = "m";
|
|
21899
21907
|
}
|
|
21900
21908
|
//--------------------------------------------------------------------------
|
|
21901
21909
|
//
|
|
@@ -21923,8 +21931,7 @@ class DropdownItem {
|
|
|
21923
21931
|
this.initialize();
|
|
21924
21932
|
}
|
|
21925
21933
|
render() {
|
|
21926
|
-
const
|
|
21927
|
-
const { href, selectionMode, label, iconFlipRtl } = this;
|
|
21934
|
+
const { href, selectionMode, label, iconFlipRtl, scale } = this;
|
|
21928
21935
|
const iconStartEl = (hAsync("calcite-icon", { class: CSS$L.iconStart, flipRtl: iconFlipRtl === "start" || iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
21929
21936
|
const contentNode = (hAsync("span", { class: CSS$L.itemContent }, hAsync("slot", null)));
|
|
21930
21937
|
const iconEndEl = (hAsync("calcite-icon", { class: CSS$L.iconEnd, flipRtl: iconFlipRtl === "end" || iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
@@ -21947,11 +21954,9 @@ class DropdownItem {
|
|
|
21947
21954
|
: "menuitem";
|
|
21948
21955
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
21949
21956
|
return (hAsync(Host, { "aria-checked": itemAria, "aria-label": !href ? label : "", role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
21950
|
-
container: true,
|
|
21957
|
+
[CSS$L.container]: true,
|
|
21951
21958
|
[CSS$L.containerLink]: !!href,
|
|
21952
|
-
[CSS$L.
|
|
21953
|
-
[CSS$L.containerMedium]: scale === "m",
|
|
21954
|
-
[CSS$L.containerLarge]: scale === "l",
|
|
21959
|
+
[`${CSS$L.container}--${scale}`]: true,
|
|
21955
21960
|
[CSS$L.containerMulti]: selectionMode === "multiple",
|
|
21956
21961
|
[CSS$L.containerSingle]: selectionMode === "single",
|
|
21957
21962
|
[CSS$L.containerNone]: selectionMode === "none",
|
|
@@ -22006,7 +22011,6 @@ class DropdownItem {
|
|
|
22006
22011
|
//
|
|
22007
22012
|
//--------------------------------------------------------------------------
|
|
22008
22013
|
initialize() {
|
|
22009
|
-
this.selectionMode = getElementProp(this.el, "selection-mode", "single");
|
|
22010
22014
|
this.parentDropdownGroupEl = this.el.closest("calcite-dropdown-group");
|
|
22011
22015
|
if (this.selectionMode === "none") {
|
|
22012
22016
|
this.selected = false;
|
|
@@ -22053,6 +22057,8 @@ class DropdownItem {
|
|
|
22053
22057
|
"label": [1],
|
|
22054
22058
|
"rel": [513],
|
|
22055
22059
|
"target": [513],
|
|
22060
|
+
"selectionMode": [1, "selection-mode"],
|
|
22061
|
+
"scale": [1],
|
|
22056
22062
|
"setFocus": [64]
|
|
22057
22063
|
},
|
|
22058
22064
|
"$listeners$": [[0, "click", "onClick"], [0, "keydown", "keyDownHandler"], [16, "calciteInternalDropdownItemChange", "updateActiveItemOnChange"]],
|
|
@@ -22387,7 +22393,13 @@ class Flow {
|
|
|
22387
22393
|
const beforeBack = lastItem.beforeBack
|
|
22388
22394
|
? lastItem.beforeBack
|
|
22389
22395
|
: () => Promise.resolve();
|
|
22390
|
-
|
|
22396
|
+
try {
|
|
22397
|
+
await beforeBack.call(lastItem);
|
|
22398
|
+
}
|
|
22399
|
+
catch (_error) {
|
|
22400
|
+
// back prevented
|
|
22401
|
+
return;
|
|
22402
|
+
}
|
|
22391
22403
|
lastItem.remove();
|
|
22392
22404
|
return lastItem;
|
|
22393
22405
|
}
|
|
@@ -32522,7 +32534,11 @@ class List$1 {
|
|
|
32522
32534
|
// Public Methods
|
|
32523
32535
|
//
|
|
32524
32536
|
// --------------------------------------------------------------------------
|
|
32525
|
-
/**
|
|
32537
|
+
/**
|
|
32538
|
+
* Sets focus on the component's first focusable element.
|
|
32539
|
+
*
|
|
32540
|
+
* @returns {Promise<void>}
|
|
32541
|
+
*/
|
|
32526
32542
|
async setFocus() {
|
|
32527
32543
|
await componentFocusable(this);
|
|
32528
32544
|
if (this.filterEnabled) {
|
|
@@ -33183,7 +33199,7 @@ class ListItemGroup {
|
|
|
33183
33199
|
}; }
|
|
33184
33200
|
}
|
|
33185
33201
|
|
|
33186
|
-
const loaderCss = "@charset \"UTF-8\";@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-loader:root{--calcite-internal-duration-factor:0}}/*!@:host*/.sc-calcite-loader-h{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}/*!@:host([scale=s])*/[scale=s].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}/*!@:host([no-padding])*/[no-padding].sc-calcite-loader-h{padding-block:0px}/*!@:host*/.sc-calcite-loader-h{display:flex}/*!@.loader__text*/.loader__text.sc-calcite-loader{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}/*!@.loader__percentage*/.loader__percentage.sc-calcite-loader{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;transform:scale(1, 1)}/*!@.loader__svgs*/.loader__svgs.sc-calcite-loader{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);
|
|
33202
|
+
const loaderCss = "@charset \"UTF-8\";@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-loader:root{--calcite-internal-duration-factor:0}}/*!@:host*/.sc-calcite-loader-h{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}/*!@:host([scale=s])*/[scale=s].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-loader-h{--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}/*!@:host([no-padding])*/[no-padding].sc-calcite-loader-h{padding-block:0px}/*!@:host*/.sc-calcite-loader-h{display:flex}/*!@.loader__text*/.loader__text.sc-calcite-loader{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}/*!@.loader__percentage*/.loader__percentage.sc-calcite-loader{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;transform:scale(1, 1)}/*!@.loader__svgs*/.loader__svgs.sc-calcite-loader{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 6.66 / var(--calcite-internal-duration-factor));animation-name:loader-clockwise}/*!@.loader__svg*/.loader__svg.sc-calcite-loader{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);animation-iteration-count:infinite;animation-timing-function:linear}@supports (display: grid){/*!@.loader__svg--1*/.loader__svg--1.sc-calcite-loader{animation-name:loader-offset-1}/*!@.loader__svg--2*/.loader__svg--2.sc-calcite-loader{animation-name:loader-offset-2}/*!@.loader__svg--3*/.loader__svg--3.sc-calcite-loader{animation-name:loader-offset-3}}/*!@:host([type=determinate])*/[type=determinate].sc-calcite-loader-h{animation:none;stroke:var(--calcite-ui-border-3)}/*!@:host([type=determinate]) .loader__svgs*/[type=determinate].sc-calcite-loader-h .loader__svgs.sc-calcite-loader{animation:none}/*!@:host([type=determinate]) .loader__svg--3*/[type=determinate].sc-calcite-loader-h .loader__svg--3.sc-calcite-loader{animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}/*!@:host([inline])*/[inline].sc-calcite-loader-h{position:relative;margin:0px;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}/*!@:host([inline]) .loader__svgs*/[inline].sc-calcite-loader-h .loader__svgs.sc-calcite-loader{inset-block-start:0px;margin:0px;inset-inline-start:0;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}/*!@:host([inline]) .loader__svg*/[inline].sc-calcite-loader-h .loader__svg.sc-calcite-loader{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}/*!@:host([complete])*/[complete].sc-calcite-loader-h{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms}/*!@:host([complete]) .loader__svgs*/[complete].sc-calcite-loader-h .loader__svgs.sc-calcite-loader{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}/*!@:host([complete]) .loader__percentage*/[complete].sc-calcite-loader-h .loader__percentage.sc-calcite-loader{color:var(--calcite-ui-brand);transform:scale(1.05, 1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear}/*!@.loader__svg--1*/.loader__svg--1.sc-calcite-loader{stroke-dasharray:27.9252444444 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 4.8 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444 251.3272;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-83.7757333333}100%{stroke-dasharray:27.9252444444 251.3272;stroke-dashoffset:-279.2524444444}}/*!@.loader__svg--2*/.loader__svg--2.sc-calcite-loader{stroke-dasharray:55.8504888889 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 6.4 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889 223.4019555556;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-97.7383555556}100%{stroke-dasharray:55.8504888889 223.4019555556;stroke-dashoffset:-279.2524444444}}/*!@.loader__svg--3*/.loader__svg--3.sc-calcite-loader{stroke-dasharray:13.9626222222 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 7.734 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222 265.2898222222;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-76.7944222222}100%{stroke-dasharray:13.9626222222 265.2898222222;stroke-dashoffset:-279.2524444444}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-clockwise{100%{transform:rotate(360deg)}}/*!@:host([hidden])*/[hidden].sc-calcite-loader-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-loader{display:none}";
|
|
33187
33203
|
|
|
33188
33204
|
class Loader {
|
|
33189
33205
|
constructor(hostRef) {
|
|
@@ -33696,7 +33712,18 @@ class Modal {
|
|
|
33696
33712
|
return;
|
|
33697
33713
|
}
|
|
33698
33714
|
if (this.beforeClose) {
|
|
33699
|
-
|
|
33715
|
+
try {
|
|
33716
|
+
await this.beforeClose(this.el);
|
|
33717
|
+
}
|
|
33718
|
+
catch (_error) {
|
|
33719
|
+
// close prevented
|
|
33720
|
+
requestAnimationFrame(() => {
|
|
33721
|
+
this.ignoreOpenChange = true;
|
|
33722
|
+
this.open = true;
|
|
33723
|
+
this.ignoreOpenChange = false;
|
|
33724
|
+
});
|
|
33725
|
+
return;
|
|
33726
|
+
}
|
|
33700
33727
|
}
|
|
33701
33728
|
this.ignoreOpenChange = true;
|
|
33702
33729
|
this.open = false;
|
|
@@ -33920,6 +33947,9 @@ class Modal {
|
|
|
33920
33947
|
deactivateFocusTrap(this);
|
|
33921
33948
|
}
|
|
33922
33949
|
async toggleModal(value) {
|
|
33950
|
+
if (this.ignoreOpenChange) {
|
|
33951
|
+
return;
|
|
33952
|
+
}
|
|
33923
33953
|
onToggleOpenCloseComponent(this);
|
|
33924
33954
|
if (value) {
|
|
33925
33955
|
this.transitionEl?.classList.add(CSS$r.openingIdle);
|
|
@@ -36895,13 +36925,16 @@ class SegmentedControl {
|
|
|
36895
36925
|
this.disabled = false;
|
|
36896
36926
|
this.form = undefined;
|
|
36897
36927
|
this.required = false;
|
|
36898
|
-
this.layout = "horizontal";
|
|
36899
36928
|
this.name = undefined;
|
|
36929
|
+
this.layout = "horizontal";
|
|
36900
36930
|
this.scale = "m";
|
|
36901
36931
|
this.value = null;
|
|
36902
36932
|
this.selectedItem = undefined;
|
|
36903
36933
|
this.width = "auto";
|
|
36904
36934
|
}
|
|
36935
|
+
handlePropsChange() {
|
|
36936
|
+
this.handleItemPropChange();
|
|
36937
|
+
}
|
|
36905
36938
|
valueHandler(value) {
|
|
36906
36939
|
const items = this.getItems();
|
|
36907
36940
|
items.forEach((item) => (item.checked = item.value === value));
|
|
@@ -36938,6 +36971,7 @@ class SegmentedControl {
|
|
|
36938
36971
|
connectLabel(this);
|
|
36939
36972
|
connectForm(this);
|
|
36940
36973
|
this.mutationObserver?.observe(this.el, { childList: true });
|
|
36974
|
+
this.handleItemPropChange();
|
|
36941
36975
|
}
|
|
36942
36976
|
disconnectedCallback() {
|
|
36943
36977
|
disconnectInteractive(this);
|
|
@@ -37010,6 +37044,14 @@ class SegmentedControl {
|
|
|
37010
37044
|
await componentFocusable(this);
|
|
37011
37045
|
(this.selectedItem || this.getItems()[0])?.focus();
|
|
37012
37046
|
}
|
|
37047
|
+
handleItemPropChange() {
|
|
37048
|
+
const items = this.getItems();
|
|
37049
|
+
items.forEach((item) => {
|
|
37050
|
+
item.appearance = this.appearance;
|
|
37051
|
+
item.layout = this.layout;
|
|
37052
|
+
item.scale = this.scale;
|
|
37053
|
+
});
|
|
37054
|
+
}
|
|
37013
37055
|
//--------------------------------------------------------------------------
|
|
37014
37056
|
//
|
|
37015
37057
|
// Private Methods
|
|
@@ -37054,6 +37096,9 @@ class SegmentedControl {
|
|
|
37054
37096
|
}
|
|
37055
37097
|
get el() { return getElement(this); }
|
|
37056
37098
|
static get watchers() { return {
|
|
37099
|
+
"appearance": ["handlePropsChange"],
|
|
37100
|
+
"layout": ["handlePropsChange"],
|
|
37101
|
+
"scale": ["handlePropsChange"],
|
|
37057
37102
|
"value": ["valueHandler"],
|
|
37058
37103
|
"selectedItem": ["handleSelectedItemChange"]
|
|
37059
37104
|
}; }
|
|
@@ -37066,8 +37111,8 @@ class SegmentedControl {
|
|
|
37066
37111
|
"disabled": [516],
|
|
37067
37112
|
"form": [513],
|
|
37068
37113
|
"required": [516],
|
|
37069
|
-
"layout": [513],
|
|
37070
37114
|
"name": [513],
|
|
37115
|
+
"layout": [513],
|
|
37071
37116
|
"scale": [513],
|
|
37072
37117
|
"value": [1025],
|
|
37073
37118
|
"selectedItem": [1040],
|
|
@@ -37076,7 +37121,7 @@ class SegmentedControl {
|
|
|
37076
37121
|
},
|
|
37077
37122
|
"$listeners$": [[0, "calciteInternalSegmentedControlItemChange", "handleSelected"], [0, "keydown", "handleKeyDown"]],
|
|
37078
37123
|
"$lazyBundleId$": "-",
|
|
37079
|
-
"$attrsToReflect$": [["appearance", "appearance"], ["disabled", "disabled"], ["form", "form"], ["required", "required"], ["
|
|
37124
|
+
"$attrsToReflect$": [["appearance", "appearance"], ["disabled", "disabled"], ["form", "form"], ["required", "required"], ["name", "name"], ["layout", "layout"], ["scale", "scale"], ["width", "width"]]
|
|
37080
37125
|
}; }
|
|
37081
37126
|
}
|
|
37082
37127
|
|
|
@@ -37098,15 +37143,20 @@ class SegmentedControlItem {
|
|
|
37098
37143
|
this.iconStart = undefined;
|
|
37099
37144
|
this.iconEnd = undefined;
|
|
37100
37145
|
this.value = undefined;
|
|
37146
|
+
this.appearance = "solid";
|
|
37147
|
+
this.layout = "horizontal";
|
|
37148
|
+
this.scale = "m";
|
|
37101
37149
|
}
|
|
37102
37150
|
handleCheckedChange() {
|
|
37103
37151
|
this.calciteInternalSegmentedControlItemChange.emit();
|
|
37104
37152
|
}
|
|
37153
|
+
//--------------------------------------------------------------------------
|
|
37154
|
+
//
|
|
37155
|
+
// Lifecycle
|
|
37156
|
+
//
|
|
37157
|
+
//--------------------------------------------------------------------------
|
|
37105
37158
|
render() {
|
|
37106
|
-
const { checked, value } = this;
|
|
37107
|
-
const scale = getElementProp(this.el, "scale", "m");
|
|
37108
|
-
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
37109
|
-
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
37159
|
+
const { appearance, checked, layout, scale, value } = this;
|
|
37110
37160
|
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$h.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
37111
37161
|
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$h.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
37112
37162
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
@@ -37131,7 +37181,10 @@ class SegmentedControlItem {
|
|
|
37131
37181
|
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
37132
37182
|
"iconStart": [513, "icon-start"],
|
|
37133
37183
|
"iconEnd": [513, "icon-end"],
|
|
37134
|
-
"value": [1032]
|
|
37184
|
+
"value": [1032],
|
|
37185
|
+
"appearance": [1],
|
|
37186
|
+
"layout": [1],
|
|
37187
|
+
"scale": [1]
|
|
37135
37188
|
},
|
|
37136
37189
|
"$listeners$": undefined,
|
|
37137
37190
|
"$lazyBundleId$": "-",
|