@esri/calcite-components 1.0.0-next.524 → 1.0.0-next.527
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/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-4545dbb5.system.entry.js → p-0000b1fb.system.entry.js} +2 -2
- package/dist/calcite/{p-b78e0aa4.system.entry.js → p-0335cb48.system.entry.js} +2 -2
- package/dist/calcite/{p-f9642904.system.entry.js → p-07d1e877.system.entry.js} +2 -2
- package/dist/calcite/{p-1e059893.entry.js → p-086f7621.entry.js} +2 -2
- package/dist/calcite/{p-ed735bdc.system.entry.js → p-09dffacc.system.entry.js} +2 -2
- package/dist/calcite/{p-f5333892.system.entry.js → p-0a02900a.system.entry.js} +2 -2
- package/dist/calcite/{p-4c684c84.js → p-0b28a8cb.js} +2 -2
- package/dist/calcite/{p-82189690.system.js → p-0ce74632.system.js} +1 -1
- package/dist/calcite/p-0d2723a0.entry.js +6 -0
- package/dist/calcite/{p-63cea60e.js → p-109cf8aa.js} +1 -1
- package/dist/calcite/{p-5ded25b4.system.js → p-10cd15d2.system.js} +1 -1
- package/dist/calcite/{p-7990754a.entry.js → p-110d776d.entry.js} +2 -2
- package/dist/calcite/{p-f8055fa4.entry.js → p-12c57d6f.entry.js} +2 -2
- package/dist/calcite/p-13dc0b05.system.js +6 -0
- package/dist/calcite/{p-200a4df9.entry.js → p-141789d2.entry.js} +2 -2
- package/dist/calcite/{p-23f06b74.system.entry.js → p-1456f5e3.system.entry.js} +3 -3
- package/dist/calcite/{p-1646ec88.entry.js → p-1493f2cc.entry.js} +2 -2
- package/dist/calcite/{p-25506e7a.system.entry.js → p-1abf6ae3.system.entry.js} +2 -2
- package/dist/calcite/{p-65e5f903.system.entry.js → p-1be7a573.system.entry.js} +2 -2
- package/dist/calcite/p-1bf520ff.js +6 -0
- package/dist/calcite/p-1cb505a1.system.js +6 -0
- package/dist/calcite/{p-3aa6117f.system.entry.js → p-1d50dab6.system.entry.js} +2 -2
- package/dist/calcite/{p-a21681bf.system.js → p-1d851a8c.system.js} +1 -1
- package/dist/calcite/{p-25ac8f0f.system.entry.js → p-1f0bc04b.system.entry.js} +2 -2
- package/dist/calcite/{p-fe1a1f2b.system.entry.js → p-1f2f816d.system.entry.js} +2 -2
- package/dist/calcite/{p-6c279d51.entry.js → p-2227a5ff.entry.js} +2 -2
- package/dist/calcite/{p-073db535.entry.js → p-2284ad7b.entry.js} +2 -2
- package/dist/calcite/{p-ca864d50.entry.js → p-25de35f8.entry.js} +2 -2
- package/dist/calcite/p-271d0522.entry.js +6 -0
- package/dist/calcite/{p-bba345b0.js → p-28c21ccb.js} +2 -2
- package/dist/calcite/{p-9e9297fc.js → p-29aa48fe.js} +1 -1
- package/dist/calcite/{p-f316435a.system.entry.js → p-2b2f9001.system.entry.js} +3 -3
- package/dist/calcite/{p-bf24e24e.system.entry.js → p-2e583f8c.system.entry.js} +2 -2
- package/dist/calcite/{p-c0564473.system.js → p-2fd8d946.system.js} +2 -2
- package/dist/calcite/{p-e18bb14e.system.entry.js → p-31ddbc30.system.entry.js} +2 -2
- package/dist/calcite/{p-35dc2f85.system.entry.js → p-3249cbf3.system.entry.js} +2 -2
- package/dist/calcite/{p-6021e7db.system.js → p-32c8b37e.system.js} +2 -2
- package/dist/calcite/{p-eb913caa.system.entry.js → p-33d7c05a.system.entry.js} +2 -2
- package/dist/calcite/{p-617e01a1.system.entry.js → p-3a935dda.system.entry.js} +2 -2
- package/dist/calcite/{p-b44a4212.js → p-3beaba73.js} +2 -2
- package/dist/calcite/{p-19f3559b.system.entry.js → p-3cbb5454.system.entry.js} +2 -2
- package/dist/calcite/{p-361aa924.system.entry.js → p-3e1e1d06.system.entry.js} +2 -2
- package/dist/calcite/{p-a8863e85.entry.js → p-3e50cfed.entry.js} +2 -2
- package/dist/calcite/{p-6f29031f.entry.js → p-40270039.entry.js} +2 -2
- package/dist/calcite/{p-d40e2e5e.system.entry.js → p-40ca3077.system.entry.js} +2 -2
- package/dist/calcite/{p-0c376871.entry.js → p-412cebe0.entry.js} +2 -2
- package/dist/calcite/{p-7724bf19.entry.js → p-41561717.entry.js} +2 -2
- package/dist/calcite/{p-6ed34f0c.entry.js → p-4264017e.entry.js} +2 -2
- package/dist/calcite/{p-41d85ce9.system.entry.js → p-4395d3d1.system.entry.js} +2 -2
- package/dist/calcite/{p-32448d28.system.entry.js → p-474b7fc7.system.entry.js} +2 -2
- package/dist/calcite/{p-463c0ed8.entry.js → p-4b579b50.entry.js} +2 -2
- package/dist/calcite/{p-803e1fdf.js → p-4c5ef622.js} +1 -1
- package/dist/calcite/{p-3a5f669d.entry.js → p-4e03e694.entry.js} +2 -2
- package/dist/calcite/{p-63bf0acf.entry.js → p-4f01f56b.entry.js} +2 -2
- package/dist/calcite/{p-d48eb3f4.entry.js → p-4f525c18.entry.js} +2 -2
- package/dist/calcite/{p-80b15fa9.entry.js → p-4ffb23b6.entry.js} +2 -2
- package/dist/calcite/{p-c17fcd09.system.js → p-50a80d83.system.js} +2 -2
- package/dist/calcite/{p-61cd8cfb.system.entry.js → p-52d20823.system.entry.js} +2 -2
- package/dist/calcite/{p-0198ffdc.entry.js → p-561be616.entry.js} +2 -2
- package/dist/calcite/{p-db9c0de1.entry.js → p-56eca217.entry.js} +2 -2
- package/dist/calcite/p-57bca17f.js +6 -0
- package/dist/calcite/{p-8c91f5b7.system.entry.js → p-5a0b3fba.system.entry.js} +2 -2
- package/dist/calcite/{p-fa95edee.entry.js → p-5aa0bb7a.entry.js} +2 -2
- package/dist/calcite/{p-620d4b91.system.js → p-5ae77eb8.system.js} +1 -1
- package/dist/calcite/{p-5e4b8fc3.system.entry.js → p-5db4c7eb.system.entry.js} +2 -2
- package/dist/calcite/{p-f4c0780c.system.entry.js → p-617567c9.system.entry.js} +2 -2
- package/dist/calcite/{p-9a9b35e0.system.entry.js → p-6199f9a1.system.entry.js} +2 -2
- package/dist/calcite/{p-b0067d82.entry.js → p-61a46fd1.entry.js} +2 -2
- package/dist/calcite/{p-0b11c342.system.js → p-627dd249.system.js} +1 -1
- package/dist/calcite/{p-067f770e.system.entry.js → p-68e3f18f.system.entry.js} +2 -2
- package/dist/calcite/{p-d94193be.js → p-696613e2.js} +1 -1
- package/dist/calcite/{p-d06a66d5.system.entry.js → p-69ba0372.system.entry.js} +2 -2
- package/dist/calcite/{p-b43e23a4.entry.js → p-6a5bf6d8.entry.js} +2 -2
- package/dist/calcite/{p-360e30b3.system.entry.js → p-6e499c18.system.entry.js} +2 -2
- package/dist/calcite/p-6e67516e.entry.js +6 -0
- package/dist/calcite/{p-95ac8e64.system.js → p-74cc8251.system.js} +1 -1
- package/dist/calcite/{p-da460566.entry.js → p-76f39d6d.entry.js} +2 -2
- package/dist/calcite/{p-ff900ff3.js → p-7884c587.js} +2 -2
- package/dist/calcite/{p-aba8619b.entry.js → p-798609b8.entry.js} +2 -2
- package/dist/calcite/{p-4cc8bda0.system.entry.js → p-7b4db37b.system.entry.js} +2 -2
- package/dist/calcite/{p-f7f7e330.system.entry.js → p-7b8bc34f.system.entry.js} +2 -2
- package/dist/calcite/{p-e0e764bb.entry.js → p-7c9f19b6.entry.js} +2 -2
- package/dist/calcite/p-7feece1f.system.js +6 -0
- package/dist/calcite/{p-fe9b9938.system.entry.js → p-86219b49.system.entry.js} +2 -2
- package/dist/calcite/{p-f68f7eac.system.js → p-8b5218df.system.js} +1 -1
- package/dist/calcite/{p-8b26bb66.system.entry.js → p-8b86c9b9.system.entry.js} +2 -2
- package/dist/calcite/{p-a18960d1.js → p-8d7e0710.js} +2 -2
- package/dist/calcite/{p-8a15bb81.system.entry.js → p-8d87d9c2.system.entry.js} +2 -2
- package/dist/calcite/{p-184ebb3b.system.entry.js → p-8f246815.system.entry.js} +2 -2
- package/dist/calcite/{p-8eb1ad9d.entry.js → p-8f7c3cfe.entry.js} +2 -2
- package/dist/calcite/{p-a25613a9.system.entry.js → p-927876ce.system.entry.js} +2 -2
- package/dist/calcite/p-9280d637.system.entry.js +6 -0
- package/dist/calcite/{p-505be8f5.system.entry.js → p-94ab8662.system.entry.js} +2 -2
- package/dist/calcite/{p-63be3fc7.entry.js → p-94ff783f.entry.js} +2 -2
- package/dist/calcite/{p-4b4c8b1f.entry.js → p-950e0e93.entry.js} +2 -2
- package/dist/calcite/{p-7a538f4d.system.entry.js → p-9644ae2d.system.entry.js} +2 -2
- package/dist/calcite/{p-c0137931.system.js → p-968a0291.system.js} +1 -1
- package/dist/calcite/{p-6f7f0f67.entry.js → p-96b18931.entry.js} +2 -2
- package/dist/calcite/{p-9f5327fe.entry.js → p-96fa2fa9.entry.js} +2 -2
- package/dist/calcite/{p-9e416f64.js → p-9ec55b93.js} +1 -1
- package/dist/calcite/{p-ebdf2dcb.entry.js → p-a016a439.entry.js} +2 -2
- package/dist/calcite/p-a22071ba.system.entry.js +6 -0
- package/dist/calcite/{p-80c67e43.system.entry.js → p-a2ac46e5.system.entry.js} +2 -2
- package/dist/calcite/{p-3cea6fdc.system.js → p-a3aa933e.system.js} +2 -2
- package/dist/calcite/{p-15c964c6.system.js → p-a43c4e5c.system.js} +2 -2
- package/dist/calcite/{p-16ca542c.system.js → p-a5b8138f.system.js} +1 -1
- package/dist/calcite/{p-c0dd3393.entry.js → p-a5dd3c64.entry.js} +2 -2
- package/dist/calcite/{p-674bd6ed.entry.js → p-a6fc75f0.entry.js} +2 -2
- package/dist/calcite/{p-f2b4047b.system.js → p-a76afde9.system.js} +1 -1
- package/dist/calcite/{p-aa0aafda.js → p-ac60d687.js} +1 -1
- package/dist/calcite/{p-7d3a5cee.entry.js → p-ad7c82f2.entry.js} +2 -2
- package/dist/calcite/{p-077ff084.js → p-ae0fadcd.js} +1 -1
- package/dist/calcite/{p-9d4195ba.system.js → p-aedb60f4.system.js} +1 -1
- package/dist/calcite/{p-da83c7b8.entry.js → p-af39928b.entry.js} +2 -2
- package/dist/calcite/{p-56c11b0f.system.entry.js → p-b66e55c1.system.entry.js} +2 -2
- package/dist/calcite/{p-794df25d.js → p-b8ec1ee3.js} +2 -2
- package/dist/calcite/{p-3c567654.entry.js → p-bafad71c.entry.js} +2 -2
- package/dist/calcite/{p-bb286f7b.entry.js → p-bb397f2b.entry.js} +2 -2
- package/dist/calcite/{p-0021e287.system.entry.js → p-bcc69065.system.entry.js} +2 -2
- package/dist/calcite/{p-217da6af.js → p-bd04c4c2.js} +2 -2
- package/dist/calcite/{p-434242b1.entry.js → p-bf9a2229.entry.js} +2 -2
- package/dist/calcite/{p-7086770b.system.js → p-c60542ac.system.js} +1 -1
- package/dist/calcite/p-c6e4f69d.system.js +6 -0
- package/dist/calcite/{p-26556d6d.system.js → p-c77d363d.system.js} +2 -2
- package/dist/calcite/{p-8f4e9d9b.entry.js → p-c8b832d4.entry.js} +2 -2
- package/dist/calcite/{p-046ec290.entry.js → p-c969c0dd.entry.js} +2 -2
- package/dist/calcite/{p-0cc91f9e.entry.js → p-ca13dcc3.entry.js} +2 -2
- package/dist/calcite/{p-4da07432.entry.js → p-cbc170b4.entry.js} +2 -2
- package/dist/calcite/{p-e1ded583.system.js → p-ce03edf2.system.js} +2 -2
- package/dist/calcite/{p-bf01ccef.system.entry.js → p-ce92db86.system.entry.js} +2 -2
- package/dist/calcite/{p-40a76d39.system.entry.js → p-cec9e2d8.system.entry.js} +2 -2
- package/dist/calcite/{p-203b84e0.system.entry.js → p-cf9b6a4e.system.entry.js} +2 -2
- package/dist/calcite/{p-60ec029f.entry.js → p-d3fc614c.entry.js} +2 -2
- package/dist/calcite/{p-bffc203d.system.entry.js → p-d53ef75f.system.entry.js} +2 -2
- package/dist/calcite/{p-19bdcf8c.system.entry.js → p-d5c98b10.system.entry.js} +2 -2
- package/dist/calcite/{p-79750027.js → p-d5d9b16a.js} +2 -2
- package/dist/calcite/{p-3e9ed951.entry.js → p-d72cc2f5.entry.js} +2 -2
- package/dist/calcite/{p-454d0d3b.system.js → p-d83f5a90.system.js} +1 -1
- package/dist/calcite/{p-143abf64.js → p-d9a2af68.js} +1 -1
- package/dist/calcite/{p-de9f177a.entry.js → p-dd5dd011.entry.js} +2 -2
- package/dist/calcite/{p-f601b375.entry.js → p-dd861519.entry.js} +2 -2
- package/dist/calcite/p-de0ca7ef.js +6 -0
- package/dist/calcite/{p-8bc93584.entry.js → p-df8388eb.entry.js} +2 -2
- package/dist/calcite/p-dfbd9678.entry.js +6 -0
- package/dist/calcite/{p-f7c9c5f2.system.js → p-dffc7781.system.js} +2 -2
- package/dist/calcite/{p-b47b772e.js → p-e0b5af2f.js} +1 -1
- package/dist/calcite/{p-96239dc0.system.entry.js → p-e13207b3.system.entry.js} +2 -2
- package/dist/calcite/{p-1d943758.entry.js → p-e1a9a0a6.entry.js} +2 -2
- package/dist/calcite/{p-442951a7.js → p-e2551700.js} +1 -1
- package/dist/calcite/{p-bd1af8e6.system.entry.js → p-e2e42d1c.system.entry.js} +2 -2
- package/dist/calcite/{p-4fe7e777.system.entry.js → p-e30116a3.system.entry.js} +2 -2
- package/dist/calcite/{p-e8576375.js → p-e3c5162b.js} +1 -1
- package/dist/calcite/{p-b9b838ca.js → p-e48baff4.js} +1 -1
- package/dist/calcite/{p-14796d0f.system.entry.js → p-e785ad22.system.entry.js} +2 -2
- package/dist/calcite/{p-5d050e71.system.entry.js → p-ea448cea.system.entry.js} +2 -2
- package/dist/calcite/{p-d2024d78.system.entry.js → p-eab272ad.system.entry.js} +2 -2
- package/dist/calcite/{p-1e3a412f.js → p-eaf81da6.js} +1 -1
- package/dist/calcite/p-ec5b1e4c.entry.js +6 -0
- package/dist/calcite/{p-791eb72e.system.entry.js → p-f18bccce.system.entry.js} +2 -2
- package/dist/calcite/{p-510ddd53.entry.js → p-f25fac94.entry.js} +2 -2
- package/dist/calcite/{p-2ec417aa.system.js → p-f316a9cb.system.js} +1 -1
- package/dist/calcite/{p-c4296f0f.system.entry.js → p-f4d4eea3.system.entry.js} +2 -2
- package/dist/calcite/{p-e6c703fa.entry.js → p-f5bfe785.entry.js} +2 -2
- package/dist/calcite/{p-b4698639.system.entry.js → p-f5e6c994.system.entry.js} +2 -2
- package/dist/calcite/{p-f1316f46.entry.js → p-f719b048.entry.js} +2 -2
- package/dist/calcite/{p-be44dd8c.entry.js → p-fdede1dc.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-5914d027.js → ExpandToggle-175d2a88.js} +5 -5
- package/dist/cjs/{Heading-5b6728fa.js → Heading-07f6e507.js} +2 -2
- package/dist/cjs/{array-10d140a1.js → array-5f6f2f8d.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +37 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +87 -22
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-2fa6c7c0.js → conditionalSlot-545adbed.js} +3 -3
- package/dist/cjs/{debounce-a569f7e8.js → debounce-f6dfd147.js} +1 -1
- package/dist/cjs/{dom-ab156ed7.js → dom-df252740.js} +2 -2
- package/dist/cjs/{forIn-5b249337.js → forIn-30e36ce8.js} +2 -2
- package/dist/cjs/{form-9fd7e527.js → form-f99eabe2.js} +3 -3
- package/dist/cjs/{guid-e3ed3471.js → guid-65bced2c.js} +1 -1
- package/dist/cjs/{index-688507d2.js → index-3658e369.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-4c3bdfce.js → interactive-59d3556e.js} +1 -1
- package/dist/cjs/{interfaces-8feed84a.js → interfaces-b5ae4475.js} +1 -1
- package/dist/cjs/{key-7c21c694.js → key-60c93976.js} +1 -1
- package/dist/cjs/{label-585aa37d.js → label-b984c34e.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-33c1aad6.js → locale-bae540a6.js} +2 -2
- package/dist/cjs/{math-f61b24ca.js → math-6366040c.js} +1 -1
- package/dist/cjs/{observers-1e86c439.js → observers-58b14ab6.js} +1 -1
- package/dist/cjs/{popper-bf284b6f.js → popper-44a40e44.js} +2 -2
- package/dist/cjs/{resources-1d8b7492.js → resources-068421be.js} +1 -1
- package/dist/cjs/{resources-a1c7bd83.js → resources-acd03476.js} +12 -6
- package/dist/cjs/{resources-010f3e62.js → resources-e94e8b87.js} +3 -3
- package/dist/cjs/{resources-ac47df12.js → resources-f9c296b8.js} +1 -1
- package/dist/cjs/{sortable.esm-a16d43ef.js → sortable.esm-ba27559d.js} +1 -1
- package/dist/cjs/{utils-daa542d3.js → utils-8d0a1c67.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.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/interfaces.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/interfaces.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/interfaces.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/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.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/interfaces.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/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.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/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +46 -11
- package/dist/collection/components/input-date-picker/resources.js +9 -0
- 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/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/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 +5 -1
- package/dist/collection/components/pick-list/shared-list-render.js +3 -2
- 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/popover-manager/popover-manager.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/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/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/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/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/stepper/interfaces.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/interfaces.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/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.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/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.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/interfaces.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-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.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/interfaces.js +6 -0
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +49 -0
- package/dist/collection/components/value-list/value-list.js +101 -11
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +3 -3
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.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/form.js +1 -1
- package/dist/collection/utils/globalAttributes.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/locale.js +1 -1
- package/dist/collection/utils/math.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/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.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.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +31 -14
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.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-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +81 -12
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.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/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.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/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +8 -3
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +261 -175
- package/dist/esm/{ExpandToggle-6bd463d8.js → ExpandToggle-5c61686e.js} +5 -5
- package/dist/esm/{Heading-129c5b2e.js → Heading-8425a7e1.js} +2 -2
- package/dist/esm/{array-5d83abf9.js → array-09d74e81.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +4 -4
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +39 -23
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +7 -7
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +87 -22
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-a00e8dca.js → conditionalSlot-f36411ae.js} +3 -3
- package/dist/esm/{debounce-031e6c4d.js → debounce-7d145585.js} +1 -1
- package/dist/esm/{dom-f9756282.js → dom-75716651.js} +2 -2
- package/dist/esm/{forIn-dbccb332.js → forIn-2483e41a.js} +2 -2
- package/dist/esm/{form-e4f2868c.js → form-5ec62601.js} +3 -3
- package/dist/esm/{guid-db5de792.js → guid-93082955.js} +1 -1
- package/dist/esm/{index-258b111b.js → index-9c745913.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-2d24af9c.js → interactive-3530ddc5.js} +1 -1
- package/dist/esm/{interfaces-a34a97a3.js → interfaces-e0d55e31.js} +1 -1
- package/dist/esm/{key-1ad35d1e.js → key-b656a79c.js} +1 -1
- package/dist/esm/{label-dad4147d.js → label-88b50772.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-4b78a8a2.js → locale-477f3004.js} +2 -2
- package/dist/esm/{math-f9aa9265.js → math-f257ec90.js} +1 -1
- package/dist/esm/{observers-d73acf67.js → observers-7556ab5f.js} +1 -1
- package/dist/esm/{popper-862cce4a.js → popper-613e2d79.js} +2 -2
- package/dist/esm/{resources-a53d5723.js → resources-0314f628.js} +1 -1
- package/dist/esm/{resources-ecb7ae7e.js → resources-26fbd006.js} +1 -1
- package/dist/esm/{resources-76735425.js → resources-bcdb90a6.js} +12 -7
- package/dist/esm/{resources-a1573fa8.js → resources-e9604412.js} +3 -3
- package/dist/esm/{sortable.esm-e4772b0a.js → sortable.esm-3e043a27.js} +1 -1
- package/dist/esm/{utils-aa0bb6c4.js → utils-44af2207.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-6bd463d8.js → ExpandToggle-5c61686e.js} +2 -2
- package/dist/esm-es5/{Heading-129c5b2e.js → Heading-8425a7e1.js} +2 -2
- package/dist/esm-es5/{array-5d83abf9.js → array-09d74e81.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +3 -3
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +3 -3
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-a00e8dca.js → conditionalSlot-f36411ae.js} +2 -2
- package/dist/esm-es5/{debounce-031e6c4d.js → debounce-7d145585.js} +1 -1
- package/dist/esm-es5/{dom-f9756282.js → dom-75716651.js} +2 -2
- package/dist/esm-es5/{forIn-dbccb332.js → forIn-2483e41a.js} +2 -2
- package/dist/esm-es5/{form-e4f2868c.js → form-5ec62601.js} +2 -2
- package/dist/esm-es5/{guid-db5de792.js → guid-93082955.js} +1 -1
- package/dist/esm-es5/{index-258b111b.js → index-9c745913.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-2d24af9c.js → interactive-3530ddc5.js} +1 -1
- package/dist/esm-es5/{interfaces-a34a97a3.js → interfaces-e0d55e31.js} +1 -1
- package/dist/esm-es5/{key-1ad35d1e.js → key-b656a79c.js} +1 -1
- package/dist/esm-es5/{label-dad4147d.js → label-88b50772.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-4b78a8a2.js → locale-477f3004.js} +2 -2
- package/dist/esm-es5/{math-f9aa9265.js → math-f257ec90.js} +1 -1
- package/dist/esm-es5/{observers-d73acf67.js → observers-7556ab5f.js} +1 -1
- package/dist/esm-es5/{popper-862cce4a.js → popper-613e2d79.js} +2 -2
- package/dist/esm-es5/{resources-a53d5723.js → resources-0314f628.js} +1 -1
- package/dist/esm-es5/{resources-ecb7ae7e.js → resources-26fbd006.js} +1 -1
- package/dist/esm-es5/resources-bcdb90a6.js +6 -0
- package/dist/esm-es5/{resources-a1573fa8.js → resources-e9604412.js} +2 -2
- package/dist/esm-es5/{sortable.esm-e4772b0a.js → sortable.esm-3e043a27.js} +1 -1
- package/dist/esm-es5/{utils-aa0bb6c4.js → utils-44af2207.js} +1 -1
- package/dist/extras/docs-json.json +87 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +7 -1
- package/dist/types/components/input-date-picker/resources.d.ts +4 -0
- package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
- package/dist/types/components/pick-list/shared-list-render.d.ts +2 -0
- package/dist/types/components/value-list/interfaces.d.ts +1 -0
- package/dist/types/components/value-list/utils.d.ts +8 -0
- package/dist/types/components/value-list/value-list.d.ts +30 -0
- package/dist/types/components.d.ts +42 -0
- package/hydrate/index.js +264 -173
- package/package.json +1 -1
- package/dist/calcite/p-0f16fcf2.system.js +0 -6
- package/dist/calcite/p-0f539167.system.js +0 -6
- package/dist/calcite/p-0fe02887.js +0 -6
- package/dist/calcite/p-10d09cd6.entry.js +0 -6
- package/dist/calcite/p-2f1d4aae.entry.js +0 -6
- package/dist/calcite/p-5c0773d2.entry.js +0 -6
- package/dist/calcite/p-5d23d9e9.system.entry.js +0 -6
- package/dist/calcite/p-5df04b2f.system.js +0 -6
- package/dist/calcite/p-6431a87e.js +0 -6
- package/dist/calcite/p-6c8e9009.js +0 -6
- package/dist/calcite/p-76c1bcd7.system.entry.js +0 -6
- package/dist/calcite/p-87ddf5b2.entry.js +0 -6
- package/dist/calcite/p-fa13fecc.entry.js +0 -6
- package/dist/calcite/p-fe48f6e1.system.js +0 -6
- package/dist/esm-es5/resources-76735425.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.527
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6072,7 +6072,7 @@ class AccordionItem {
|
|
|
6072
6072
|
}; }
|
|
6073
6073
|
}
|
|
6074
6074
|
|
|
6075
|
-
const CSS$
|
|
6075
|
+
const CSS$R = {
|
|
6076
6076
|
button: "button",
|
|
6077
6077
|
buttonTextVisible: "button--text-visible",
|
|
6078
6078
|
buttonCompact: "button--compact",
|
|
@@ -6233,8 +6233,8 @@ class Action {
|
|
|
6233
6233
|
renderTextContainer() {
|
|
6234
6234
|
const { text, textEnabled } = this;
|
|
6235
6235
|
const textContainerClasses = {
|
|
6236
|
-
[CSS$
|
|
6237
|
-
[CSS$
|
|
6236
|
+
[CSS$R.textContainer]: true,
|
|
6237
|
+
[CSS$R.textContainerVisible]: textEnabled
|
|
6238
6238
|
};
|
|
6239
6239
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
6240
6240
|
}
|
|
@@ -6248,18 +6248,18 @@ class Action {
|
|
|
6248
6248
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
6249
6249
|
const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
|
|
6250
6250
|
const slotContainerNode = (hAsync("div", { class: {
|
|
6251
|
-
[CSS$
|
|
6252
|
-
[CSS$
|
|
6251
|
+
[CSS$R.slotContainer]: true,
|
|
6252
|
+
[CSS$R.slotContainerHidden]: loading
|
|
6253
6253
|
} }, hAsync("slot", null)));
|
|
6254
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
6254
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$R.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
6255
6255
|
}
|
|
6256
6256
|
render() {
|
|
6257
6257
|
const { compact, disabled, loading, textEnabled, label, text } = this;
|
|
6258
6258
|
const ariaLabel = label || text;
|
|
6259
6259
|
const buttonClasses = {
|
|
6260
|
-
[CSS$
|
|
6261
|
-
[CSS$
|
|
6262
|
-
[CSS$
|
|
6260
|
+
[CSS$R.button]: true,
|
|
6261
|
+
[CSS$R.buttonTextVisible]: textEnabled,
|
|
6262
|
+
[CSS$R.buttonCompact]: compact
|
|
6263
6263
|
};
|
|
6264
6264
|
return (hAsync(Host, { onClick: this.calciteActionClickHandler }, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer())));
|
|
6265
6265
|
}
|
|
@@ -6290,7 +6290,7 @@ class Action {
|
|
|
6290
6290
|
}; }
|
|
6291
6291
|
}
|
|
6292
6292
|
|
|
6293
|
-
const CSS$
|
|
6293
|
+
const CSS$Q = {
|
|
6294
6294
|
menu: "menu",
|
|
6295
6295
|
defaultTrigger: "default-trigger"
|
|
6296
6296
|
};
|
|
@@ -6392,7 +6392,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
6392
6392
|
return actionNode;
|
|
6393
6393
|
};
|
|
6394
6394
|
|
|
6395
|
-
const CSS$
|
|
6395
|
+
const CSS$P = {
|
|
6396
6396
|
actionGroupBottom: "action-group--bottom"
|
|
6397
6397
|
};
|
|
6398
6398
|
const SLOTS$o = {
|
|
@@ -7865,7 +7865,7 @@ class ActionBar {
|
|
|
7865
7865
|
const expandLabel = intlExpand || TEXT$q.expand;
|
|
7866
7866
|
const collapseLabel = intlCollapse || TEXT$q.collapse;
|
|
7867
7867
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
7868
|
-
return getSlotted(el, SLOTS$o.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
7868
|
+
return getSlotted(el, SLOTS$o.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$P.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$o.bottomActions }), hAsync("slot", { name: SLOTS$o.expandTooltip }), expandToggleNode)) : null;
|
|
7869
7869
|
}
|
|
7870
7870
|
render() {
|
|
7871
7871
|
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
|
|
@@ -8252,14 +8252,14 @@ class ActionMenu {
|
|
|
8252
8252
|
}
|
|
8253
8253
|
renderMenuButton() {
|
|
8254
8254
|
const { label, scale, expanded } = this;
|
|
8255
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$q.trigger }, hAsync("calcite-action", { class: CSS$
|
|
8255
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$q.trigger }, hAsync("calcite-action", { class: CSS$Q.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
8256
8256
|
return menuButtonSlot;
|
|
8257
8257
|
}
|
|
8258
8258
|
renderMenuItems() {
|
|
8259
8259
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
8260
8260
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
8261
8261
|
const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
|
|
8262
|
-
return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$
|
|
8262
|
+
return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$Q.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, onKeyUp: this.menuActionsContainerKeyUp, ref: (el) => (this.menuEl = el), role: "menu", tabIndex: -1 }, hAsync("slot", null))));
|
|
8263
8263
|
}
|
|
8264
8264
|
render() {
|
|
8265
8265
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$q.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -8294,7 +8294,7 @@ class ActionMenu {
|
|
|
8294
8294
|
}; }
|
|
8295
8295
|
}
|
|
8296
8296
|
|
|
8297
|
-
const CSS$
|
|
8297
|
+
const CSS$O = {
|
|
8298
8298
|
actionGroupBottom: "action-group--bottom",
|
|
8299
8299
|
container: "container"
|
|
8300
8300
|
};
|
|
@@ -8403,10 +8403,10 @@ class ActionPad {
|
|
|
8403
8403
|
const expandLabel = intlExpand || TEXT$p.expand;
|
|
8404
8404
|
const collapseLabel = intlCollapse || TEXT$p.collapse;
|
|
8405
8405
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
8406
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
8406
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$O.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
|
|
8407
8407
|
}
|
|
8408
8408
|
render() {
|
|
8409
|
-
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$
|
|
8409
|
+
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$O.container }, hAsync("slot", null), this.renderBottomActionGroup())));
|
|
8410
8410
|
}
|
|
8411
8411
|
get el() { return getElement(this); }
|
|
8412
8412
|
static get watchers() { return {
|
|
@@ -8955,7 +8955,7 @@ class Avatar {
|
|
|
8955
8955
|
}; }
|
|
8956
8956
|
}
|
|
8957
8957
|
|
|
8958
|
-
const CSS$
|
|
8958
|
+
const CSS$N = {
|
|
8959
8959
|
article: "article",
|
|
8960
8960
|
content: "content",
|
|
8961
8961
|
headerContainer: "header-container",
|
|
@@ -9112,30 +9112,30 @@ class Block {
|
|
|
9112
9112
|
const statusIcon = showingLoadingStatus ? ICONS$c.refresh : ICONS$c[status];
|
|
9113
9113
|
const hasIcon = getSlotted(el, SLOTS$l.icon) || statusIcon;
|
|
9114
9114
|
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$l.icon })) : (hAsync("calcite-icon", { class: {
|
|
9115
|
-
[CSS$
|
|
9116
|
-
[CSS$
|
|
9117
|
-
[CSS$
|
|
9118
|
-
[CSS$
|
|
9115
|
+
[CSS$N.statusIcon]: true,
|
|
9116
|
+
[CSS$N.valid]: status == "valid",
|
|
9117
|
+
[CSS$N.invalid]: status == "invalid",
|
|
9118
|
+
[CSS$N.loading]: showingLoadingStatus
|
|
9119
9119
|
}, icon: statusIcon, scale: "m" }));
|
|
9120
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
9120
|
+
return hasIcon ? hAsync("div", { class: CSS$N.icon }, iconEl) : null;
|
|
9121
9121
|
}
|
|
9122
9122
|
renderTitle() {
|
|
9123
9123
|
const { heading, headingLevel, summary, description } = this;
|
|
9124
|
-
return heading || summary || description ? (hAsync("div", { class: CSS$
|
|
9124
|
+
return heading || summary || description ? (hAsync("div", { class: CSS$N.title }, hAsync(Heading, { class: CSS$N.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (hAsync("div", { class: CSS$N.description }, summary || description)) : null)) : null;
|
|
9125
9125
|
}
|
|
9126
9126
|
render() {
|
|
9127
9127
|
const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
9128
9128
|
const toggleLabel = open ? intlCollapse || TEXT$n.collapse : intlExpand || TEXT$n.expand;
|
|
9129
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
9129
|
+
const headerContent = (hAsync("header", { class: CSS$N.header }, this.renderIcon(), this.renderTitle()));
|
|
9130
9130
|
const hasControl = !!getSlotted(el, SLOTS$l.control);
|
|
9131
9131
|
const hasMenuActions = !!getSlotted(el, SLOTS$l.headerMenuActions);
|
|
9132
9132
|
const collapseIcon = open ? ICONS$c.opened : ICONS$c.closed;
|
|
9133
9133
|
const { guid } = this;
|
|
9134
9134
|
const regionId = `${guid}-region`;
|
|
9135
9135
|
const buttonId = `${guid}-button`;
|
|
9136
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
9136
|
+
const headerNode = (hAsync("div", { class: CSS$N.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$N.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$N.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$N.controlContainer }, hAsync("slot", { name: SLOTS$l.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$n.options }, hAsync("slot", { name: SLOTS$l.headerMenuActions }))) : null));
|
|
9137
9137
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
9138
|
-
[CSS$
|
|
9138
|
+
[CSS$N.article]: true
|
|
9139
9139
|
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
|
|
9140
9140
|
content: true,
|
|
9141
9141
|
"content--spaced": !this.disablePadding
|
|
@@ -9169,7 +9169,7 @@ class Block {
|
|
|
9169
9169
|
}; }
|
|
9170
9170
|
}
|
|
9171
9171
|
|
|
9172
|
-
const CSS$
|
|
9172
|
+
const CSS$M = {
|
|
9173
9173
|
content: "content",
|
|
9174
9174
|
invalid: "invalid",
|
|
9175
9175
|
toggle: "toggle",
|
|
@@ -9240,9 +9240,9 @@ class BlockSection {
|
|
|
9240
9240
|
const { status } = this;
|
|
9241
9241
|
const statusIcon = (_a = ICONS$b[status]) !== null && _a !== void 0 ? _a : false;
|
|
9242
9242
|
const statusIconClasses = {
|
|
9243
|
-
[CSS$
|
|
9244
|
-
[CSS$
|
|
9245
|
-
[CSS$
|
|
9243
|
+
[CSS$M.statusIcon]: true,
|
|
9244
|
+
[CSS$M.valid]: status == "valid",
|
|
9245
|
+
[CSS$M.invalid]: status == "invalid"
|
|
9246
9246
|
};
|
|
9247
9247
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
9248
9248
|
}
|
|
@@ -9259,13 +9259,13 @@ class BlockSection {
|
|
|
9259
9259
|
const regionId = `${guid}-region`;
|
|
9260
9260
|
const buttonId = `${guid}-button`;
|
|
9261
9261
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
9262
|
-
[CSS$
|
|
9263
|
-
[CSS$
|
|
9264
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
9265
|
-
[CSS$
|
|
9266
|
-
[CSS$
|
|
9267
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
9268
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
9262
|
+
[CSS$M.toggle]: true,
|
|
9263
|
+
[CSS$M.toggleSwitch]: true
|
|
9264
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$M.toggleSwitchContent }, hAsync("span", { class: CSS$M.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
9265
|
+
[CSS$M.sectionHeader]: true,
|
|
9266
|
+
[CSS$M.toggle]: true
|
|
9267
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$M.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
9268
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$M.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
9269
9269
|
}
|
|
9270
9270
|
get el() { return getElement(this); }
|
|
9271
9271
|
static get style() { return blockSectionCss; }
|
|
@@ -9314,7 +9314,7 @@ class BlockSection {
|
|
|
9314
9314
|
}
|
|
9315
9315
|
})(HTMLFormElement.prototype);
|
|
9316
9316
|
|
|
9317
|
-
const CSS$
|
|
9317
|
+
const CSS$L = {
|
|
9318
9318
|
buttonLoader: "calcite-button--loader",
|
|
9319
9319
|
content: "content",
|
|
9320
9320
|
contentSlotted: "content--slotted",
|
|
@@ -9743,14 +9743,14 @@ class Button {
|
|
|
9743
9743
|
render() {
|
|
9744
9744
|
const childElType = this.href ? "a" : "button";
|
|
9745
9745
|
const Tag = childElType;
|
|
9746
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
9747
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
9748
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
9749
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
9746
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$L.buttonLoader }, hAsync("calcite-loader", { active: true, class: this.loading ? CSS$L.loadingIn : CSS$L.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
|
|
9747
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$L.icon]: true, [CSS$L.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
9748
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$L.icon]: true, [CSS$L.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
9749
|
+
const contentEl = (hAsync("span", { class: CSS$L.content }, hAsync("slot", null)));
|
|
9750
9750
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
9751
|
-
[CSS$
|
|
9752
|
-
[CSS$
|
|
9753
|
-
[CSS$
|
|
9751
|
+
[CSS$L.contentSlotted]: this.hasContent,
|
|
9752
|
+
[CSS$L.iconStartEmpty]: !this.iconStart,
|
|
9753
|
+
[CSS$L.iconEndEmpty]: !this.iconEnd
|
|
9754
9754
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
9755
9755
|
}
|
|
9756
9756
|
//--------------------------------------------------------------------------
|
|
@@ -9823,7 +9823,7 @@ class Button {
|
|
|
9823
9823
|
}; }
|
|
9824
9824
|
}
|
|
9825
9825
|
|
|
9826
|
-
const CSS$
|
|
9826
|
+
const CSS$K = {
|
|
9827
9827
|
container: "container",
|
|
9828
9828
|
header: "header",
|
|
9829
9829
|
footer: "footer",
|
|
@@ -9930,32 +9930,32 @@ class Card {
|
|
|
9930
9930
|
render() {
|
|
9931
9931
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
9932
9932
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
9933
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
9933
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$K.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
9934
9934
|
}
|
|
9935
9935
|
selectCard() {
|
|
9936
9936
|
this.selected = !this.selected;
|
|
9937
9937
|
this.calciteCardSelect.emit();
|
|
9938
9938
|
}
|
|
9939
9939
|
renderThumbnail() {
|
|
9940
|
-
return getSlotted(this.el, SLOTS$k.thumbnail) ? (hAsync("section", { class: CSS$
|
|
9940
|
+
return getSlotted(this.el, SLOTS$k.thumbnail) ? (hAsync("section", { class: CSS$K.thumbnailWrapper }, hAsync("slot", { name: SLOTS$k.thumbnail }))) : null;
|
|
9941
9941
|
}
|
|
9942
9942
|
renderCheckbox() {
|
|
9943
9943
|
const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
|
|
9944
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
9944
|
+
return (hAsync("calcite-label", { class: CSS$K.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
|
|
9945
9945
|
}
|
|
9946
9946
|
renderHeader() {
|
|
9947
9947
|
const { el } = this;
|
|
9948
9948
|
const title = getSlotted(el, SLOTS$k.title);
|
|
9949
9949
|
const subtitle = getSlotted(el, SLOTS$k.subtitle);
|
|
9950
9950
|
const hasHeader = title || subtitle;
|
|
9951
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
9951
|
+
return hasHeader ? (hAsync("header", { class: CSS$K.header }, hAsync("slot", { name: SLOTS$k.title }), hAsync("slot", { name: SLOTS$k.subtitle }))) : null;
|
|
9952
9952
|
}
|
|
9953
9953
|
renderFooter() {
|
|
9954
9954
|
const { el } = this;
|
|
9955
9955
|
const leadingFooter = getSlotted(el, SLOTS$k.footerLeading);
|
|
9956
9956
|
const trailingFooter = getSlotted(el, SLOTS$k.footerTrailing);
|
|
9957
9957
|
const hasFooter = leadingFooter || trailingFooter;
|
|
9958
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
9958
|
+
return hasFooter ? (hAsync("footer", { class: CSS$K.footer }, hAsync("slot", { name: SLOTS$k.footerLeading }), hAsync("slot", { name: SLOTS$k.footerTrailing }))) : null;
|
|
9959
9959
|
}
|
|
9960
9960
|
get el() { return getElement(this); }
|
|
9961
9961
|
static get style() { return cardCss; }
|
|
@@ -10118,7 +10118,7 @@ class Checkbox {
|
|
|
10118
10118
|
}; }
|
|
10119
10119
|
}
|
|
10120
10120
|
|
|
10121
|
-
const CSS$
|
|
10121
|
+
const CSS$J = {
|
|
10122
10122
|
title: "title",
|
|
10123
10123
|
close: "close",
|
|
10124
10124
|
imageContainer: "image-container",
|
|
@@ -10209,12 +10209,12 @@ class Chip {
|
|
|
10209
10209
|
renderChipImage() {
|
|
10210
10210
|
const { el } = this;
|
|
10211
10211
|
const hasChipImage = getSlotted(el, SLOTS$j.image);
|
|
10212
|
-
return hasChipImage ? (hAsync("div", { class: CSS$
|
|
10212
|
+
return hasChipImage ? (hAsync("div", { class: CSS$J.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$j.image }))) : null;
|
|
10213
10213
|
}
|
|
10214
10214
|
render() {
|
|
10215
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
10216
|
-
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$
|
|
10217
|
-
return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$
|
|
10215
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$J.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
10216
|
+
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$J.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$J.closeIcon, icon: ICONS$a.close, scale: "s" })));
|
|
10217
|
+
return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$J.title, id: this.guid }, hAsync("slot", null)), this.dismissible ? closeButton : null));
|
|
10218
10218
|
}
|
|
10219
10219
|
get el() { return getElement(this); }
|
|
10220
10220
|
static get style() { return chipCss; }
|
|
@@ -12349,7 +12349,7 @@ function zeroArray(array, length) {
|
|
|
12349
12349
|
|
|
12350
12350
|
var color = Color;
|
|
12351
12351
|
|
|
12352
|
-
const CSS$
|
|
12352
|
+
const CSS$I = {
|
|
12353
12353
|
container: "container",
|
|
12354
12354
|
controlSection: "control-section",
|
|
12355
12355
|
hexOptions: "color-hex-options",
|
|
@@ -12890,7 +12890,7 @@ class ColorPicker {
|
|
|
12890
12890
|
const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
|
|
12891
12891
|
const active = channelMode === activeChannelMode;
|
|
12892
12892
|
const label = channelMode === "rgb" ? intlRgb : intlHsv;
|
|
12893
|
-
return (hAsync("calcite-tab-title", { active: active, class: CSS$
|
|
12893
|
+
return (hAsync("calcite-tab-title", { active: active, class: CSS$I.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
|
|
12894
12894
|
};
|
|
12895
12895
|
this.renderChannelsTab = (channelMode) => {
|
|
12896
12896
|
const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
|
|
@@ -12901,11 +12901,11 @@ class ColorPicker {
|
|
|
12901
12901
|
? [intlRed, intlGreen, intlBlue]
|
|
12902
12902
|
: [intlHue, intlSaturation, intlValue];
|
|
12903
12903
|
const direction = getElementDir(this.el);
|
|
12904
|
-
return (hAsync("calcite-tab", { active: active, class: CSS$
|
|
12904
|
+
return (hAsync("calcite-tab", { active: active, class: CSS$I.control, key: channelMode }, hAsync("div", { class: CSS$I.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
12905
12905
|
/* the channel container is ltr, so we apply the host's direction */
|
|
12906
12906
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
12907
12907
|
};
|
|
12908
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$
|
|
12908
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$I.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
|
|
12909
12909
|
this.deleteColor = () => {
|
|
12910
12910
|
const colorToDelete = this.color.hex();
|
|
12911
12911
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -13008,7 +13008,7 @@ class ColorPicker {
|
|
|
13008
13008
|
this.shiftKeyChannelAdjustment = 0;
|
|
13009
13009
|
const key = event.key;
|
|
13010
13010
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
13011
|
-
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$
|
|
13011
|
+
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$I.channel); })) {
|
|
13012
13012
|
return;
|
|
13013
13013
|
}
|
|
13014
13014
|
const { shiftKey } = event;
|
|
@@ -13079,20 +13079,20 @@ class ColorPicker {
|
|
|
13079
13079
|
const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
13080
13080
|
const noColor = color === null;
|
|
13081
13081
|
const vertical = scopeOrientation === "vertical";
|
|
13082
|
-
return (hAsync("div", { class: CSS$
|
|
13083
|
-
[CSS$
|
|
13084
|
-
[CSS$
|
|
13085
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$
|
|
13086
|
-
[CSS$
|
|
13087
|
-
[CSS$
|
|
13088
|
-
} }, hideHex ? null : (hAsync("div", { class: CSS$
|
|
13089
|
-
[CSS$
|
|
13090
|
-
[CSS$
|
|
13091
|
-
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
13092
|
-
[CSS$
|
|
13093
|
-
[CSS$
|
|
13094
|
-
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$
|
|
13095
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$
|
|
13082
|
+
return (hAsync("div", { class: CSS$I.container }, hAsync("div", { class: CSS$I.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
|
|
13083
|
+
[CSS$I.colorFieldAndSlider]: true,
|
|
13084
|
+
[CSS$I.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
13085
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$I.scope]: true, [CSS$I.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), hAsync("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$I.scope]: true, [CSS$I.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (hAsync("div", { class: {
|
|
13086
|
+
[CSS$I.controlSection]: true,
|
|
13087
|
+
[CSS$I.section]: true
|
|
13088
|
+
} }, hideHex ? null : (hAsync("div", { class: CSS$I.hexOptions }, hAsync("span", { class: {
|
|
13089
|
+
[CSS$I.header]: true,
|
|
13090
|
+
[CSS$I.headerHex]: true
|
|
13091
|
+
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$I.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
13092
|
+
[CSS$I.colorModeContainer]: true,
|
|
13093
|
+
[CSS$I.splitSection]: true
|
|
13094
|
+
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$I.savedColorsSection]: true, [CSS$I.section]: true } }, hAsync("div", { class: CSS$I.header }, hAsync("label", null, intlSaved), hAsync("div", { class: CSS$I.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$I.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$I.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$I.savedColors }, [
|
|
13095
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$I.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
13096
13096
|
])) : null))));
|
|
13097
13097
|
}
|
|
13098
13098
|
// --------------------------------------------------------------------------
|
|
@@ -13338,7 +13338,7 @@ class ColorPicker {
|
|
|
13338
13338
|
}; }
|
|
13339
13339
|
}
|
|
13340
13340
|
|
|
13341
|
-
const CSS$
|
|
13341
|
+
const CSS$H = {
|
|
13342
13342
|
container: "container",
|
|
13343
13343
|
preview: "preview",
|
|
13344
13344
|
input: "input"
|
|
@@ -13467,7 +13467,7 @@ class ColorPickerHexInput {
|
|
|
13467
13467
|
render() {
|
|
13468
13468
|
const { intlHex, value } = this;
|
|
13469
13469
|
const hexInputValue = this.formatForInternalInput(value);
|
|
13470
|
-
return (hAsync("div", { class: CSS$
|
|
13470
|
+
return (hAsync("div", { class: CSS$H.container }, hAsync("calcite-input", { class: CSS$H.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$H.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
13471
13471
|
}
|
|
13472
13472
|
//--------------------------------------------------------------------------
|
|
13473
13473
|
//
|
|
@@ -13543,7 +13543,7 @@ class ColorPickerHexInput {
|
|
|
13543
13543
|
}; }
|
|
13544
13544
|
}
|
|
13545
13545
|
|
|
13546
|
-
const CSS$
|
|
13546
|
+
const CSS$G = {
|
|
13547
13547
|
swatch: "swatch",
|
|
13548
13548
|
noColorIcon: "no-color-icon"
|
|
13549
13549
|
};
|
|
@@ -13588,7 +13588,7 @@ class ColorPickerSwatch {
|
|
|
13588
13588
|
const hex = internalColor.hex();
|
|
13589
13589
|
const theme = getThemeName(el);
|
|
13590
13590
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
13591
|
-
return (hAsync("svg", { class: CSS$
|
|
13591
|
+
return (hAsync("svg", { class: CSS$G.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
|
|
13592
13592
|
}
|
|
13593
13593
|
get el() { return getElement(this); }
|
|
13594
13594
|
static get watchers() { return {
|
|
@@ -15453,7 +15453,7 @@ const popperMenuComputedPlacements = [
|
|
|
15453
15453
|
"bottom",
|
|
15454
15454
|
"bottom-end"
|
|
15455
15455
|
];
|
|
15456
|
-
const CSS$
|
|
15456
|
+
const CSS$F = {
|
|
15457
15457
|
animation: "calcite-popper-anim",
|
|
15458
15458
|
animationActive: "calcite-popper-anim--active"
|
|
15459
15459
|
};
|
|
@@ -16328,8 +16328,8 @@ class Combobox {
|
|
|
16328
16328
|
const { active, setMenuEl, setListContainerEl, open } = this;
|
|
16329
16329
|
const classes = {
|
|
16330
16330
|
"list-container": true,
|
|
16331
|
-
[CSS$
|
|
16332
|
-
[CSS$
|
|
16331
|
+
[CSS$F.animation]: true,
|
|
16332
|
+
[CSS$F.animationActive]: open || active
|
|
16333
16333
|
};
|
|
16334
16334
|
return (hAsync("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": open || active }, ref: setMenuEl }, hAsync("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, hAsync("ul", { class: { list: true, "list--hide": !(open || active) } }, hAsync("slot", null)))));
|
|
16335
16335
|
}
|
|
@@ -16404,7 +16404,7 @@ class Combobox {
|
|
|
16404
16404
|
}; }
|
|
16405
16405
|
}
|
|
16406
16406
|
|
|
16407
|
-
const CSS$
|
|
16407
|
+
const CSS$E = {
|
|
16408
16408
|
icon: "icon",
|
|
16409
16409
|
iconActive: "icon--active",
|
|
16410
16410
|
custom: "icon--custom",
|
|
@@ -16496,18 +16496,18 @@ class ComboboxItem {
|
|
|
16496
16496
|
// --------------------------------------------------------------------------
|
|
16497
16497
|
renderIcon(isSingle) {
|
|
16498
16498
|
const { icon, disabled, selected } = this;
|
|
16499
|
-
const level = `${CSS$
|
|
16499
|
+
const level = `${CSS$E.icon}--indent`;
|
|
16500
16500
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
16501
16501
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
16502
16502
|
const showDot = isSingle && !icon && !disabled;
|
|
16503
16503
|
return showDot ? (hAsync("span", { class: {
|
|
16504
|
-
[CSS$
|
|
16505
|
-
[CSS$
|
|
16504
|
+
[CSS$E.icon]: true,
|
|
16505
|
+
[CSS$E.dot]: true,
|
|
16506
16506
|
[level]: true
|
|
16507
16507
|
} })) : (hAsync("calcite-icon", { class: {
|
|
16508
|
-
[CSS$
|
|
16509
|
-
[CSS$
|
|
16510
|
-
[CSS$
|
|
16508
|
+
[CSS$E.icon]: !icon,
|
|
16509
|
+
[CSS$E.custom]: !!icon,
|
|
16510
|
+
[CSS$E.iconActive]: icon && selected,
|
|
16511
16511
|
[level]: true
|
|
16512
16512
|
}, icon: icon || iconPath, scale: "s" }));
|
|
16513
16513
|
}
|
|
@@ -16520,13 +16520,13 @@ class ComboboxItem {
|
|
|
16520
16520
|
render() {
|
|
16521
16521
|
const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
|
|
16522
16522
|
const classes = {
|
|
16523
|
-
[CSS$
|
|
16524
|
-
[CSS$
|
|
16525
|
-
[CSS$
|
|
16526
|
-
[CSS$
|
|
16523
|
+
[CSS$E.label]: true,
|
|
16524
|
+
[CSS$E.selected]: this.selected,
|
|
16525
|
+
[CSS$E.active]: this.active,
|
|
16526
|
+
[CSS$E.single]: isSingleSelect
|
|
16527
16527
|
};
|
|
16528
16528
|
const depth = getDepth();
|
|
16529
|
-
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.renderIcon(isSingleSelect), hAsync("span", { class: CSS$
|
|
16529
|
+
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.renderIcon(isSingleSelect), hAsync("span", { class: CSS$E.title }, this.textLabel)), this.renderChildren())));
|
|
16530
16530
|
}
|
|
16531
16531
|
get el() { return getElement(this); }
|
|
16532
16532
|
static get watchers() { return {
|
|
@@ -16555,7 +16555,7 @@ class ComboboxItem {
|
|
|
16555
16555
|
}; }
|
|
16556
16556
|
}
|
|
16557
16557
|
|
|
16558
|
-
const CSS$
|
|
16558
|
+
const CSS$D = {
|
|
16559
16559
|
list: "list",
|
|
16560
16560
|
label: "label",
|
|
16561
16561
|
title: "title"
|
|
@@ -16588,8 +16588,8 @@ class ComboboxItemGroup {
|
|
|
16588
16588
|
// --------------------------------------------------------------------------
|
|
16589
16589
|
render() {
|
|
16590
16590
|
const { el, scale } = this;
|
|
16591
|
-
const indent = `${CSS$
|
|
16592
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
16591
|
+
const indent = `${CSS$D.label}--indent-${getDepth()}`;
|
|
16592
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$D.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$D.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$D.title }, this.label)), hAsync("slot", null)));
|
|
16593
16593
|
}
|
|
16594
16594
|
get el() { return getElement(this); }
|
|
16595
16595
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -18282,8 +18282,8 @@ class Dropdown {
|
|
|
18282
18282
|
const { active, open } = this;
|
|
18283
18283
|
return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "true", name: SLOTS$i.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, hAsync("div", { class: {
|
|
18284
18284
|
["calcite-dropdown-content"]: true,
|
|
18285
|
-
[CSS$
|
|
18286
|
-
[CSS$
|
|
18285
|
+
[CSS$F.animation]: true,
|
|
18286
|
+
[CSS$F.animationActive]: active || open
|
|
18287
18287
|
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, hAsync("div", { hidden: !(open || active) }, hAsync("slot", { onSlotchange: this.updateGroups }))))));
|
|
18288
18288
|
}
|
|
18289
18289
|
//--------------------------------------------------------------------------
|
|
@@ -18522,7 +18522,7 @@ class Dropdown {
|
|
|
18522
18522
|
}; }
|
|
18523
18523
|
}
|
|
18524
18524
|
|
|
18525
|
-
const CSS$
|
|
18525
|
+
const CSS$C = {
|
|
18526
18526
|
containerSmall: "container--s",
|
|
18527
18527
|
containerMedium: "container--m",
|
|
18528
18528
|
containerLarge: "container--l"
|
|
@@ -18557,9 +18557,9 @@ class DropdownGroup {
|
|
|
18557
18557
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
18558
18558
|
return (hAsync(Host, { role: "menu" }, hAsync("div", { class: {
|
|
18559
18559
|
container: true,
|
|
18560
|
-
[CSS$
|
|
18561
|
-
[CSS$
|
|
18562
|
-
[CSS$
|
|
18560
|
+
[CSS$C.containerSmall]: scale === "s",
|
|
18561
|
+
[CSS$C.containerMedium]: scale === "m",
|
|
18562
|
+
[CSS$C.containerLarge]: scale === "l"
|
|
18563
18563
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
18564
18564
|
}
|
|
18565
18565
|
//--------------------------------------------------------------------------
|
|
@@ -18599,7 +18599,7 @@ class DropdownGroup {
|
|
|
18599
18599
|
}; }
|
|
18600
18600
|
}
|
|
18601
18601
|
|
|
18602
|
-
const CSS$
|
|
18602
|
+
const CSS$B = {
|
|
18603
18603
|
containerLink: "container--link",
|
|
18604
18604
|
containerSmall: "container--s",
|
|
18605
18605
|
containerMedium: "container--m",
|
|
@@ -18672,13 +18672,13 @@ class DropdownItem {
|
|
|
18672
18672
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.active) : null;
|
|
18673
18673
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
18674
18674
|
container: true,
|
|
18675
|
-
[CSS$
|
|
18676
|
-
[CSS$
|
|
18677
|
-
[CSS$
|
|
18678
|
-
[CSS$
|
|
18679
|
-
[CSS$
|
|
18680
|
-
[CSS$
|
|
18681
|
-
[CSS$
|
|
18675
|
+
[CSS$B.containerLink]: !!this.href,
|
|
18676
|
+
[CSS$B.containerSmall]: scale === "s",
|
|
18677
|
+
[CSS$B.containerMedium]: scale === "m",
|
|
18678
|
+
[CSS$B.containerLarge]: scale === "l",
|
|
18679
|
+
[CSS$B.containerMulti]: this.selectionMode === "multi",
|
|
18680
|
+
[CSS$B.containerSingle]: this.selectionMode === "single",
|
|
18681
|
+
[CSS$B.containerNone]: this.selectionMode === "none"
|
|
18682
18682
|
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
|
|
18683
18683
|
}
|
|
18684
18684
|
//--------------------------------------------------------------------------
|
|
@@ -18784,7 +18784,7 @@ class DropdownItem {
|
|
|
18784
18784
|
}; }
|
|
18785
18785
|
}
|
|
18786
18786
|
|
|
18787
|
-
const CSS$
|
|
18787
|
+
const CSS$A = {
|
|
18788
18788
|
button: "button"
|
|
18789
18789
|
};
|
|
18790
18790
|
const ICONS$9 = {
|
|
@@ -18857,7 +18857,7 @@ class Fab {
|
|
|
18857
18857
|
render() {
|
|
18858
18858
|
const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
|
|
18859
18859
|
const title = !textEnabled ? label || text || null : null;
|
|
18860
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$
|
|
18860
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$A.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
|
|
18861
18861
|
this.buttonEl = buttonEl;
|
|
18862
18862
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
18863
18863
|
}
|
|
@@ -18884,7 +18884,7 @@ class Fab {
|
|
|
18884
18884
|
}; }
|
|
18885
18885
|
}
|
|
18886
18886
|
|
|
18887
|
-
const CSS$
|
|
18887
|
+
const CSS$z = {
|
|
18888
18888
|
container: "container",
|
|
18889
18889
|
searchIcon: "search-icon"
|
|
18890
18890
|
};
|
|
@@ -19029,7 +19029,7 @@ class Filter {
|
|
|
19029
19029
|
// --------------------------------------------------------------------------
|
|
19030
19030
|
render() {
|
|
19031
19031
|
const { disabled, scale } = this;
|
|
19032
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
19032
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$z.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.intlLabel || TEXT$f.filterLabel, clearable: true, disabled: disabled, icon: ICONS$8.search, intlClear: this.intlClear || TEXT$f.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
|
19033
19033
|
this.textInput = el;
|
|
19034
19034
|
}, scale: scale, type: "text", value: this.value })))));
|
|
19035
19035
|
}
|
|
@@ -19059,7 +19059,7 @@ class Filter {
|
|
|
19059
19059
|
}; }
|
|
19060
19060
|
}
|
|
19061
19061
|
|
|
19062
|
-
const CSS$
|
|
19062
|
+
const CSS$y = {
|
|
19063
19063
|
frame: "frame",
|
|
19064
19064
|
frameAdvancing: "frame--advancing",
|
|
19065
19065
|
frameRetreating: "frame--retreating"
|
|
@@ -19161,9 +19161,9 @@ class Flow {
|
|
|
19161
19161
|
render() {
|
|
19162
19162
|
const { flowDirection } = this;
|
|
19163
19163
|
const frameDirectionClasses = {
|
|
19164
|
-
[CSS$
|
|
19165
|
-
[CSS$
|
|
19166
|
-
[CSS$
|
|
19164
|
+
[CSS$y.frame]: true,
|
|
19165
|
+
[CSS$y.frameAdvancing]: flowDirection === "advancing",
|
|
19166
|
+
[CSS$y.frameRetreating]: flowDirection === "retreating"
|
|
19167
19167
|
};
|
|
19168
19168
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
19169
19169
|
}
|
|
@@ -19415,7 +19415,7 @@ class Graph {
|
|
|
19415
19415
|
}; }
|
|
19416
19416
|
}
|
|
19417
19417
|
|
|
19418
|
-
const CSS$
|
|
19418
|
+
const CSS$x = {
|
|
19419
19419
|
handle: "handle",
|
|
19420
19420
|
handleActivated: "handle--activated"
|
|
19421
19421
|
};
|
|
@@ -19484,7 +19484,7 @@ class Handle {
|
|
|
19484
19484
|
render() {
|
|
19485
19485
|
return (
|
|
19486
19486
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
19487
|
-
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
19487
|
+
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$x.handle]: true, [CSS$x.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
19488
19488
|
this.handleButton = el;
|
|
19489
19489
|
}, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$7.drag, scale: "s" })));
|
|
19490
19490
|
}
|
|
@@ -19504,7 +19504,7 @@ class Handle {
|
|
|
19504
19504
|
}; }
|
|
19505
19505
|
}
|
|
19506
19506
|
|
|
19507
|
-
const CSS$
|
|
19507
|
+
const CSS$w = {
|
|
19508
19508
|
icon: "icon",
|
|
19509
19509
|
flipRtl: "flip-rtl"
|
|
19510
19510
|
};
|
|
@@ -19565,7 +19565,7 @@ class Icon {
|
|
|
19565
19565
|
const semantic = !!textLabel;
|
|
19566
19566
|
const paths = [].concat(pathData || "");
|
|
19567
19567
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { class: {
|
|
19568
|
-
[CSS$
|
|
19568
|
+
[CSS$w.flipRtl]: dir === "rtl" && flipRtl,
|
|
19569
19569
|
svg: true
|
|
19570
19570
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
19571
19571
|
}
|
|
@@ -19611,7 +19611,7 @@ class Icon {
|
|
|
19611
19611
|
}; }
|
|
19612
19612
|
}
|
|
19613
19613
|
|
|
19614
|
-
const CSS$
|
|
19614
|
+
const CSS$v = {
|
|
19615
19615
|
wrapper: "wrapper",
|
|
19616
19616
|
confirmChangesButton: "confirm-changes-button",
|
|
19617
19617
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -19772,12 +19772,12 @@ class InlineEditable {
|
|
|
19772
19772
|
updateHostInteraction(this);
|
|
19773
19773
|
}
|
|
19774
19774
|
render() {
|
|
19775
|
-
return (hAsync("div", { class: CSS$
|
|
19775
|
+
return (hAsync("div", { class: CSS$v.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$v.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$v.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$v.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
|
|
19776
19776
|
opacity: this.editingEnabled ? "0" : "1",
|
|
19777
19777
|
width: this.editingEnabled ? "0" : "inherit"
|
|
19778
19778
|
}, type: "button" }), this.shouldShowControls && [
|
|
19779
|
-
hAsync("div", { class: CSS$
|
|
19780
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
19779
|
+
hAsync("div", { class: CSS$v.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$v.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
|
|
19780
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$v.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, ref: (el) => (this.confirmEditingButton = el), scale: this.scale, type: "button" })
|
|
19781
19781
|
])));
|
|
19782
19782
|
}
|
|
19783
19783
|
//--------------------------------------------------------------------------
|
|
@@ -19859,7 +19859,7 @@ class InlineEditable {
|
|
|
19859
19859
|
}; }
|
|
19860
19860
|
}
|
|
19861
19861
|
|
|
19862
|
-
const CSS$
|
|
19862
|
+
const CSS$u = {
|
|
19863
19863
|
loader: "loader",
|
|
19864
19864
|
clearButton: "clear-button",
|
|
19865
19865
|
editingEnabled: "editing-enabled",
|
|
@@ -20425,34 +20425,34 @@ class Input {
|
|
|
20425
20425
|
// --------------------------------------------------------------------------
|
|
20426
20426
|
render() {
|
|
20427
20427
|
const dir = getElementDir(this.el);
|
|
20428
|
-
const loader = (hAsync("div", { class: CSS$
|
|
20429
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$
|
|
20430
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
20428
|
+
const loader = (hAsync("div", { class: CSS$u.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
20429
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$u.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
|
|
20430
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$u.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
20431
20431
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
20432
20432
|
const numberButtonsHorizontalUp = (hAsync("button", { class: {
|
|
20433
|
-
[CSS$
|
|
20434
|
-
[CSS$
|
|
20433
|
+
[CSS$u.numberButtonItem]: true,
|
|
20434
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20435
20435
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
20436
20436
|
const numberButtonsHorizontalDown = (hAsync("button", { class: {
|
|
20437
|
-
[CSS$
|
|
20438
|
-
[CSS$
|
|
20437
|
+
[CSS$u.numberButtonItem]: true,
|
|
20438
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20439
20439
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
20440
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
20441
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
20442
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
20440
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$u.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
20441
|
+
const prefixText = hAsync("div", { class: CSS$u.prefix }, this.prefixText);
|
|
20442
|
+
const suffixText = hAsync("div", { class: CSS$u.suffix }, this.suffixText);
|
|
20443
20443
|
const localeNumberInput = this.type === "number" ? (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
|
|
20444
20444
|
const childEl = this.type !== "number"
|
|
20445
20445
|
? [
|
|
20446
20446
|
hAsync(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
20447
|
-
[CSS$
|
|
20448
|
-
[CSS$
|
|
20447
|
+
[CSS$u.editingEnabled]: this.editingEnabled,
|
|
20448
|
+
[CSS$u.inlineChild]: !!this.inlineEditableEl
|
|
20449
20449
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value }),
|
|
20450
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
20450
|
+
this.isTextarea ? (hAsync("div", { class: CSS$u.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
20451
20451
|
]
|
|
20452
20452
|
: null;
|
|
20453
|
-
return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
20453
|
+
return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$u.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
20454
20454
|
? numberButtonsHorizontalDown
|
|
20455
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
20455
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$u.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$u.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
20456
20456
|
? numberButtonsVertical
|
|
20457
20457
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
20458
20458
|
? numberButtonsHorizontalUp
|
|
@@ -20515,6 +20515,11 @@ class Input {
|
|
|
20515
20515
|
}; }
|
|
20516
20516
|
}
|
|
20517
20517
|
|
|
20518
|
+
const CSS$t = {
|
|
20519
|
+
menu: "menu-container",
|
|
20520
|
+
menuActive: "menu-container--active"
|
|
20521
|
+
};
|
|
20522
|
+
|
|
20518
20523
|
const inputDatePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-input-date-picker{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-date-picker{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-date-picker{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-date-picker{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-date-picker{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-input-date-picker-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-input-date-picker-h{display:none}/*!@:host*/.sc-calcite-input-date-picker-h{position:relative;display:inline-block;width:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([disabled])*/[disabled].sc-calcite-input-date-picker-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-date-picker-h[disabled] .sc-calcite-input-date-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-date-picker-h [calcite-hydrated][disabled].sc-calcite-input-date-picker{opacity:1}/*!@.calendar-picker-wrapper*/.calendar-picker-wrapper.sc-calcite-input-date-picker{position:static;width:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@.input-wrapper*/.input-wrapper.sc-calcite-input-date-picker{position:relative}/*!@:host([range]) .input-container*/[range].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{display:-ms-flexbox;display:flex}/*!@:host([range]) .input-wrapper*/[range].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{-ms-flex:1 1 auto;flex:1 1 auto}/*!@:host([range]) .horizontal-arrow-container*/[range].sc-calcite-input-date-picker-h .horizontal-arrow-container.sc-calcite-input-date-picker{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}/*!@:host([range][layout=vertical]) .input-wrapper*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{width:100%}/*!@:host([range][layout=vertical]) .input-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}/*!@:host([range][layout=vertical]) .calendar-picker-wrapper--end*/[range][layout=vertical].sc-calcite-input-date-picker-h .calendar-picker-wrapper--end.sc-calcite-input-date-picker{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@:host([range][layout=vertical]) .vertical-arrow-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{top:1.5rem;position:absolute;left:0px;z-index:10;margin-left:1px;margin-right:1px;background-color:var(--calcite-ui-foreground-1);padding-left:0.625rem;padding-right:0.625rem}/*!@:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=s][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{width:216px}/*!@:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=m][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{width:286px}/*!@:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=l][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{width:398px}/*!@.menu-container*/.menu-container.sc-calcite-input-date-picker{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}/*!@.menu-container .calcite-popper-anim*/.menu-container.sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}/*!@.menu-container[data-popper-placement^=bottom] .calcite-popper-anim*/.menu-container[data-popper-placement^=bottom].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.menu-container[data-popper-placement^=top] .calcite-popper-anim*/.menu-container[data-popper-placement^=top].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.menu-container[data-popper-placement^=left] .calcite-popper-anim*/.menu-container[data-popper-placement^=left].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.menu-container[data-popper-placement^=right] .calcite-popper-anim*/.menu-container[data-popper-placement^=right].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.menu-container[data-popper-placement] .calcite-popper-anim--active*/.menu-container[data-popper-placement].sc-calcite-input-date-picker .calcite-popper-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([active]) .menu-container*/[active].sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible}/*!@.menu-container--active .menu-container .calcite-popper-anim*/.menu-container--active.sc-calcite-input-date-picker .menu-container.sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}/*!@.menu-container--active .menu-container[data-popper-placement^=bottom] .calcite-popper-anim*/.menu-container--active.sc-calcite-input-date-picker .menu-container[data-popper-placement^=bottom].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.menu-container--active .menu-container[data-popper-placement^=top] .calcite-popper-anim*/.menu-container--active.sc-calcite-input-date-picker .menu-container[data-popper-placement^=top].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.menu-container--active .menu-container[data-popper-placement^=left] .calcite-popper-anim*/.menu-container--active.sc-calcite-input-date-picker .menu-container[data-popper-placement^=left].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.menu-container--active .menu-container[data-popper-placement^=right] .calcite-popper-anim*/.menu-container--active.sc-calcite-input-date-picker .menu-container[data-popper-placement^=right].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.menu-container--active .menu-container[data-popper-placement] .calcite-popper-anim--active*/.menu-container--active.sc-calcite-input-date-picker .menu-container[data-popper-placement].sc-calcite-input-date-picker .calcite-popper-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@.input .calcite-input__wrapper*/.input.sc-calcite-input-date-picker .calcite-input__wrapper.sc-calcite-input-date-picker{margin-top:0px}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{top:1.5rem;-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker calcite-icon.sc-calcite-input-date-picker{height:0.75rem;width:0.75rem;min-width:0px}/*!@:host([range][layout=vertical][scale=l]) .vertical-arrow-container*/[range][layout=vertical][scale=l].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}/*!@:host([range][layout=vertical][active]) .vertical-arrow-container*/[range][layout=vertical][active].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{display:none}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-date-picker-s>input[slot=hidden-form-input]{bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
20519
20524
|
|
|
20520
20525
|
class InputDatePicker {
|
|
@@ -20534,6 +20539,12 @@ class InputDatePicker {
|
|
|
20534
20539
|
* When false, the component won't be interactive.
|
|
20535
20540
|
*/
|
|
20536
20541
|
this.disabled = false;
|
|
20542
|
+
/**
|
|
20543
|
+
* When true, still focusable but controls are gone and the value cannot be modified.
|
|
20544
|
+
*
|
|
20545
|
+
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
20546
|
+
*/
|
|
20547
|
+
this.readOnly = false;
|
|
20537
20548
|
/** Expand or collapse when calendar does not have input */
|
|
20538
20549
|
this.active = false;
|
|
20539
20550
|
/**
|
|
@@ -20621,11 +20632,15 @@ class InputDatePicker {
|
|
|
20621
20632
|
this.blur(e.detail);
|
|
20622
20633
|
};
|
|
20623
20634
|
this.startInputFocus = () => {
|
|
20624
|
-
this.
|
|
20635
|
+
if (!this.readOnly) {
|
|
20636
|
+
this.active = true;
|
|
20637
|
+
}
|
|
20625
20638
|
this.focusedInput = "start";
|
|
20626
20639
|
};
|
|
20627
20640
|
this.endInputFocus = () => {
|
|
20628
|
-
this.
|
|
20641
|
+
if (!this.readOnly) {
|
|
20642
|
+
this.active = true;
|
|
20643
|
+
}
|
|
20629
20644
|
this.focusedInput = "end";
|
|
20630
20645
|
};
|
|
20631
20646
|
this.inputInput = (e) => {
|
|
@@ -20673,7 +20688,7 @@ class InputDatePicker {
|
|
|
20673
20688
|
}
|
|
20674
20689
|
};
|
|
20675
20690
|
}
|
|
20676
|
-
|
|
20691
|
+
handleDisabledAndReadOnlyChange(value) {
|
|
20677
20692
|
if (!value) {
|
|
20678
20693
|
this.active = false;
|
|
20679
20694
|
}
|
|
@@ -20709,7 +20724,7 @@ class InputDatePicker {
|
|
|
20709
20724
|
}
|
|
20710
20725
|
}
|
|
20711
20726
|
activeHandler() {
|
|
20712
|
-
if (!this.disabled) {
|
|
20727
|
+
if (!this.disabled || !this.readOnly) {
|
|
20713
20728
|
this.reposition();
|
|
20714
20729
|
return;
|
|
20715
20730
|
}
|
|
@@ -20800,25 +20815,25 @@ class InputDatePicker {
|
|
|
20800
20815
|
}
|
|
20801
20816
|
render() {
|
|
20802
20817
|
var _a, _b;
|
|
20803
|
-
const { disabled } = this;
|
|
20818
|
+
const { disabled, readOnly } = this;
|
|
20804
20819
|
const date = dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);
|
|
20805
20820
|
const endDate = this.range
|
|
20806
20821
|
? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
|
|
20807
20822
|
: null;
|
|
20808
20823
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
20809
20824
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
20810
|
-
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.active), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.active), class: {
|
|
20811
|
-
|
|
20812
|
-
|
|
20825
|
+
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.active), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.active), class: {
|
|
20826
|
+
[CSS$t.menu]: true,
|
|
20827
|
+
[CSS$t.menuActive]: this.active
|
|
20813
20828
|
}, ref: this.setMenuEl }, hAsync("div", { class: {
|
|
20814
20829
|
["calendar-picker-wrapper"]: true,
|
|
20815
20830
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
20816
|
-
[CSS$
|
|
20817
|
-
[CSS$
|
|
20831
|
+
[CSS$F.animation]: true,
|
|
20832
|
+
[CSS$F.animationActive]: this.active
|
|
20818
20833
|
}, onTransitionEnd: this.transitionEnd }, hAsync("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, locale: this.locale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (hAsync("div", { class: "input-wrapper", ref: this.setEndWrapper }, hAsync("calcite-input", { class: {
|
|
20819
20834
|
input: true,
|
|
20820
20835
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
20821
|
-
}, disabled: disabled, icon: "calendar", "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
20836
|
+
}, disabled: disabled, icon: "calendar", "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
20822
20837
|
}
|
|
20823
20838
|
setReferenceEl() {
|
|
20824
20839
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -21011,7 +21026,8 @@ class InputDatePicker {
|
|
|
21011
21026
|
}
|
|
21012
21027
|
get el() { return getElement(this); }
|
|
21013
21028
|
static get watchers() { return {
|
|
21014
|
-
"disabled": ["
|
|
21029
|
+
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
21030
|
+
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
21015
21031
|
"value": ["valueHandler"],
|
|
21016
21032
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
21017
21033
|
"min": ["onMinChanged"],
|
|
@@ -21029,6 +21045,7 @@ class InputDatePicker {
|
|
|
21029
21045
|
"$tagName$": "calcite-input-date-picker",
|
|
21030
21046
|
"$members$": {
|
|
21031
21047
|
"disabled": [516],
|
|
21048
|
+
"readOnly": [4, "read-only"],
|
|
21032
21049
|
"value": [1025],
|
|
21033
21050
|
"flipPlacements": [16],
|
|
21034
21051
|
"headingLevel": [2, "heading-level"],
|
|
@@ -24059,6 +24076,10 @@ function moveItemIndex(list, item, direction) {
|
|
|
24059
24076
|
}
|
|
24060
24077
|
return index;
|
|
24061
24078
|
}
|
|
24079
|
+
function getItemIndex(list, item) {
|
|
24080
|
+
const { items } = list;
|
|
24081
|
+
return items.indexOf(item);
|
|
24082
|
+
}
|
|
24062
24083
|
function filterOutDisabled(items) {
|
|
24063
24084
|
return items.filter((item) => !item.disabled);
|
|
24064
24085
|
}
|
|
@@ -24223,10 +24244,11 @@ function getItemData() {
|
|
|
24223
24244
|
}));
|
|
24224
24245
|
}
|
|
24225
24246
|
|
|
24226
|
-
const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl }, ...rest }) => {
|
|
24247
|
+
const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl, dragEnabled, storeAssistiveEl }, ...rest }) => {
|
|
24227
24248
|
const defaultSlot = hAsync("slot", null);
|
|
24228
24249
|
return (hAsync(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
|
|
24229
24250
|
hAsync("section", null,
|
|
24251
|
+
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text", ref: storeAssistiveEl })) : null,
|
|
24230
24252
|
hAsync("header", { class: { [CSS$j.sticky]: true } },
|
|
24231
24253
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
|
|
24232
24254
|
hAsync("slot", { name: SLOTS$b.menuActions })),
|
|
@@ -25043,8 +25065,8 @@ class Popover {
|
|
|
25043
25065
|
const hidden = !displayed;
|
|
25044
25066
|
const arrowNode = !disablePointer ? (hAsync("div", { class: CSS$g.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) })) : null;
|
|
25045
25067
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, hAsync("div", { class: {
|
|
25046
|
-
[CSS$
|
|
25047
|
-
[CSS$
|
|
25068
|
+
[CSS$F.animation]: true,
|
|
25069
|
+
[CSS$F.animationActive]: displayed
|
|
25048
25070
|
}, onTransitionEnd: this.transitionEnd }, arrowNode, hAsync("div", { class: {
|
|
25049
25071
|
[CSS$g.hasHeader]: !!heading,
|
|
25050
25072
|
[CSS$g.container]: true
|
|
@@ -33939,8 +33961,8 @@ class Tooltip {
|
|
|
33939
33961
|
const displayed = effectiveReferenceElement && open;
|
|
33940
33962
|
const hidden = !displayed;
|
|
33941
33963
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "tooltip" }, hAsync("div", { class: {
|
|
33942
|
-
[CSS$
|
|
33943
|
-
[CSS$
|
|
33964
|
+
[CSS$F.animation]: true,
|
|
33965
|
+
[CSS$F.animationActive]: displayed
|
|
33944
33966
|
} }, hAsync("div", { class: CSS$2.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) }), hAsync("div", { class: CSS$2.container }, hAsync("slot", null)))));
|
|
33945
33967
|
}
|
|
33946
33968
|
get el() { return getElement(this); }
|
|
@@ -34543,6 +34565,50 @@ var ICON_TYPES;
|
|
|
34543
34565
|
ICON_TYPES["grip"] = "grip";
|
|
34544
34566
|
})(ICON_TYPES || (ICON_TYPES = {}));
|
|
34545
34567
|
|
|
34568
|
+
function getScreenReaderText(item, status, valueList) {
|
|
34569
|
+
const { items, intlDragHandleIdle, intlDragHandleActive, intlDragHandleChange, intlDragHandleCommit } = valueList;
|
|
34570
|
+
const total = items.length;
|
|
34571
|
+
const position = getItemIndex(valueList, item) + 1;
|
|
34572
|
+
if (status === "idle") {
|
|
34573
|
+
const idleText = intlDragHandleIdle
|
|
34574
|
+
? replacePlaceholders(intlDragHandleIdle, item.label, position, total)
|
|
34575
|
+
: `${item.label}, press space and use arrow keys to reorder content. Current position ${position} of ${total}.`;
|
|
34576
|
+
return idleText;
|
|
34577
|
+
}
|
|
34578
|
+
else if (status === "active") {
|
|
34579
|
+
const activeText = intlDragHandleActive
|
|
34580
|
+
? replacePlaceholders(intlDragHandleActive, item.label, position, total)
|
|
34581
|
+
: `Reordering ${item.label}, current position ${position} of ${total}.`;
|
|
34582
|
+
return activeText;
|
|
34583
|
+
}
|
|
34584
|
+
else if (status === "change") {
|
|
34585
|
+
const changeText = intlDragHandleChange
|
|
34586
|
+
? replacePlaceholders(intlDragHandleChange, item.label, position, total)
|
|
34587
|
+
: `${item.label}, new position ${position} of ${total}. Press space to confirm.`;
|
|
34588
|
+
return changeText;
|
|
34589
|
+
}
|
|
34590
|
+
else {
|
|
34591
|
+
const commitText = intlDragHandleCommit
|
|
34592
|
+
? replacePlaceholders(intlDragHandleCommit, item.label, position, total)
|
|
34593
|
+
: `${item.label}, current position ${position} of ${total}.`;
|
|
34594
|
+
return commitText;
|
|
34595
|
+
}
|
|
34596
|
+
}
|
|
34597
|
+
function getHandleAndItemElement(event) {
|
|
34598
|
+
const handle = event
|
|
34599
|
+
.composedPath()
|
|
34600
|
+
.find((item) => { var _a; return ((_a = item.dataset) === null || _a === void 0 ? void 0 : _a.jsHandle) !== undefined; });
|
|
34601
|
+
const item = event
|
|
34602
|
+
.composedPath()
|
|
34603
|
+
.find((item) => { var _a; return ((_a = item.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === "calcite-value-list-item"; });
|
|
34604
|
+
return { handle, item };
|
|
34605
|
+
}
|
|
34606
|
+
function replacePlaceholders(text, label, position, total) {
|
|
34607
|
+
const replacePosition = text.replace("${position}", position.toString());
|
|
34608
|
+
const replaceLabel = replacePosition.replace("${item.label}", label);
|
|
34609
|
+
return replaceLabel.replace("${total}", total.toString());
|
|
34610
|
+
}
|
|
34611
|
+
|
|
34546
34612
|
const valueListCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-value-list:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-value-list{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-value-list{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-value-list{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-value-list{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-value-list{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-value-list:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-value-list-h{display:none}/*!@:host*/.sc-calcite-value-list-h{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@:host **/.sc-calcite-value-list-h *.sc-calcite-value-list{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:host([disabled])*/[disabled].sc-calcite-value-list-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-value-list-h[disabled] .sc-calcite-value-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-value-list-h [calcite-hydrated][disabled].sc-calcite-value-list{opacity:1}/*!@calcite-value-list-item:last-of-type*/calcite-value-list-item.sc-calcite-value-list:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([filter-enabled]) header*/[filter-enabled].sc-calcite-value-list-h header.sc-calcite-value-list{margin-bottom:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([filter-enabled]) header.sticky-pos*/[filter-enabled].sc-calcite-value-list-h header.sticky-pos.sc-calcite-value-list{position:-webkit-sticky;position:sticky;top:0px;z-index:10}/*!@calcite-filter*/calcite-filter.sc-calcite-value-list{margin-bottom:1px}";
|
|
34547
34613
|
|
|
34548
34614
|
/**
|
|
@@ -34604,18 +34670,18 @@ class ValueList {
|
|
|
34604
34670
|
this.handleFilter = handleFilter.bind(this);
|
|
34605
34671
|
this.getItemData = getItemData.bind(this);
|
|
34606
34672
|
this.keyDownHandler = (event) => {
|
|
34607
|
-
const
|
|
34608
|
-
|
|
34609
|
-
.
|
|
34610
|
-
|
|
34611
|
-
|
|
34612
|
-
.find((item) => { var _a; return ((_a = item.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === "calcite-value-list-item"; });
|
|
34613
|
-
// Only trigger keyboard sorting when the internal drag handle is focused and activated
|
|
34614
|
-
if (!handleElement || !item.handleActivated) {
|
|
34673
|
+
const { handle, item } = getHandleAndItemElement(event);
|
|
34674
|
+
if (handle && !item.handleActivated && event.key === " ") {
|
|
34675
|
+
this.updateScreenReaderText(getScreenReaderText(item, "commit", this));
|
|
34676
|
+
}
|
|
34677
|
+
if (!handle || !item.handleActivated) {
|
|
34615
34678
|
keyDownHandler.call(this, event);
|
|
34616
34679
|
return;
|
|
34617
34680
|
}
|
|
34618
34681
|
const { items } = this;
|
|
34682
|
+
if (event.key === " ") {
|
|
34683
|
+
this.updateScreenReaderText(getScreenReaderText(item, "active", this));
|
|
34684
|
+
}
|
|
34619
34685
|
if ((event.key !== "ArrowUp" && event.key !== "ArrowDown") || items.length <= 1) {
|
|
34620
34686
|
return;
|
|
34621
34687
|
}
|
|
@@ -34634,8 +34700,18 @@ class ValueList {
|
|
|
34634
34700
|
}
|
|
34635
34701
|
this.items = this.getItems();
|
|
34636
34702
|
this.calciteListOrderChange.emit(this.items.map(({ value }) => value));
|
|
34637
|
-
requestAnimationFrame(() =>
|
|
34703
|
+
requestAnimationFrame(() => handle === null || handle === void 0 ? void 0 : handle.focus());
|
|
34638
34704
|
item.handleActivated = true;
|
|
34705
|
+
this.updateHandleAriaLabel(handle, getScreenReaderText(item, "change", this));
|
|
34706
|
+
};
|
|
34707
|
+
this.storeAssistiveEl = (el) => {
|
|
34708
|
+
this.assistiveTextEl = el;
|
|
34709
|
+
};
|
|
34710
|
+
this.handleFocusIn = (event) => {
|
|
34711
|
+
const { handle, item } = getHandleAndItemElement(event);
|
|
34712
|
+
if (!(item === null || item === void 0 ? void 0 : item.handleActivated) && item && handle) {
|
|
34713
|
+
this.updateHandleAriaLabel(handle, getScreenReaderText(item, "idle", this));
|
|
34714
|
+
}
|
|
34639
34715
|
};
|
|
34640
34716
|
}
|
|
34641
34717
|
// --------------------------------------------------------------------------
|
|
@@ -34712,6 +34788,11 @@ class ValueList {
|
|
|
34712
34788
|
(_a = this.sortable) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
34713
34789
|
this.sortable = null;
|
|
34714
34790
|
}
|
|
34791
|
+
handleBlur() {
|
|
34792
|
+
if (this.dragEnabled) {
|
|
34793
|
+
this.updateScreenReaderText("");
|
|
34794
|
+
}
|
|
34795
|
+
}
|
|
34715
34796
|
// --------------------------------------------------------------------------
|
|
34716
34797
|
//
|
|
34717
34798
|
// Public Methods
|
|
@@ -34741,8 +34822,14 @@ class ValueList {
|
|
|
34741
34822
|
}
|
|
34742
34823
|
return type;
|
|
34743
34824
|
}
|
|
34825
|
+
updateScreenReaderText(text) {
|
|
34826
|
+
this.assistiveTextEl.textContent = text;
|
|
34827
|
+
}
|
|
34828
|
+
updateHandleAriaLabel(handleElement, text) {
|
|
34829
|
+
handleElement.ariaLabel = text;
|
|
34830
|
+
}
|
|
34744
34831
|
render() {
|
|
34745
|
-
return hAsync(List, { onKeyDown: this.keyDownHandler, props: this });
|
|
34832
|
+
return (hAsync(List, { onBlur: this.handleBlur, onFocusin: this.handleFocusIn, onKeyDown: this.keyDownHandler, props: this }));
|
|
34746
34833
|
}
|
|
34747
34834
|
get el() { return getElement(this); }
|
|
34748
34835
|
static get style() { return valueListCss; }
|
|
@@ -34758,6 +34845,10 @@ class ValueList {
|
|
|
34758
34845
|
"loading": [516],
|
|
34759
34846
|
"multiple": [516],
|
|
34760
34847
|
"selectionFollowsFocus": [4, "selection-follows-focus"],
|
|
34848
|
+
"intlDragHandleIdle": [1, "intl-drag-handle-idle"],
|
|
34849
|
+
"intlDragHandleActive": [1, "intl-drag-handle-active"],
|
|
34850
|
+
"intlDragHandleChange": [1, "intl-drag-handle-change"],
|
|
34851
|
+
"intlDragHandleCommit": [1, "intl-drag-handle-commit"],
|
|
34761
34852
|
"selectedValues": [32],
|
|
34762
34853
|
"dataForFilter": [32],
|
|
34763
34854
|
"getSelectedItems": [64],
|
|
@@ -34892,7 +34983,7 @@ class ValueListItem {
|
|
|
34892
34983
|
renderHandle() {
|
|
34893
34984
|
const { icon } = this;
|
|
34894
34985
|
if (icon === ICON_TYPES$1.grip) {
|
|
34895
|
-
return (hAsync("span", {
|
|
34986
|
+
return (hAsync("span", { class: {
|
|
34896
34987
|
[CSS$h.handle]: true,
|
|
34897
34988
|
[CSS$h.handleActivated]: this.handleActivated
|
|
34898
34989
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, hAsync("calcite-icon", { icon: ICONS.drag, scale: "s" })));
|