@esri/calcite-components 1.0.0-next.430 → 1.0.0-next.433
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/assets/icon/fileEcd16.json +1 -0
- package/dist/calcite/assets/icon/fileEcd24.json +1 -0
- package/dist/calcite/assets/icon/fileEcd32.json +1 -0
- 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-01b7eb5e.system.entry.js +6 -0
- package/dist/calcite/{p-85de34c5.js → p-01bbfb4c.js} +1 -1
- package/dist/calcite/p-035ff150.system.js +6 -0
- package/dist/calcite/{p-d553c216.entry.js → p-05062006.entry.js} +2 -2
- package/dist/calcite/{p-bcf6fd28.entry.js → p-059f597e.entry.js} +2 -2
- package/dist/calcite/{p-15798e80.entry.js → p-05f9b41a.entry.js} +2 -2
- package/dist/calcite/{p-917e456b.system.entry.js → p-0649840c.system.entry.js} +2 -2
- package/dist/calcite/{p-ed7198ab.js → p-069c8809.js} +2 -2
- package/dist/calcite/{p-800feffd.entry.js → p-08f8a77e.entry.js} +2 -2
- package/dist/calcite/{p-e0eec72e.entry.js → p-0a98da03.entry.js} +2 -2
- package/dist/calcite/{p-9fe7ea0e.system.entry.js → p-0dc2491e.system.entry.js} +2 -2
- package/dist/calcite/{p-4d479267.system.js → p-0eac8dbb.system.js} +2 -2
- package/dist/calcite/{p-e636c3e3.system.js → p-0fd45c6e.system.js} +2 -2
- package/dist/calcite/{p-785cf808.system.js → p-112c23aa.system.js} +1 -1
- package/dist/calcite/{p-b862e116.system.entry.js → p-11478f04.system.entry.js} +2 -2
- package/dist/calcite/{p-7595bbf7.entry.js → p-11e7424f.entry.js} +2 -2
- package/dist/calcite/{p-5386a92a.js → p-151a7c60.js} +1 -1
- package/dist/calcite/{p-17f2a129.system.entry.js → p-155409b8.system.entry.js} +2 -2
- package/dist/calcite/{p-09a850b4.js → p-17587bb6.js} +2 -2
- package/dist/calcite/{p-01bebbb2.system.entry.js → p-1902f934.system.entry.js} +2 -2
- package/dist/calcite/{p-a698cf98.entry.js → p-1b4df6f0.entry.js} +2 -2
- package/dist/calcite/p-1c5afb09.entry.js +6 -0
- package/dist/calcite/{p-2709d16f.entry.js → p-1cb82acb.entry.js} +2 -2
- package/dist/calcite/{p-7adbc11f.system.entry.js → p-1e4112fb.system.entry.js} +2 -2
- package/dist/calcite/{p-882b81da.system.entry.js → p-20a99e90.system.entry.js} +2 -2
- package/dist/calcite/p-21c4d43b.js +6 -0
- package/dist/calcite/{p-6c75a2c3.entry.js → p-22cd624d.entry.js} +2 -2
- package/dist/calcite/{p-40336c4d.system.entry.js → p-259556d9.system.entry.js} +2 -2
- package/dist/calcite/{p-3bf83335.system.js → p-282eac81.system.js} +1 -1
- package/dist/calcite/{p-5d4c8144.entry.js → p-29cea61e.entry.js} +2 -2
- package/dist/calcite/{p-a4f47b7f.entry.js → p-2e702453.entry.js} +2 -2
- package/dist/calcite/{p-8ed9c4a7.system.js → p-2f35a097.system.js} +2 -2
- package/dist/calcite/p-316f8a6b.entry.js +6 -0
- package/dist/calcite/{p-41daaa2b.system.entry.js → p-3478c9dd.system.entry.js} +2 -2
- package/dist/calcite/{p-67b40450.system.js → p-3933da4b.system.js} +2 -2
- package/dist/calcite/{p-a0357e60.entry.js → p-3cf4425a.entry.js} +2 -2
- package/dist/calcite/{p-0c4e2544.js → p-3d5c9257.js} +2 -2
- package/dist/calcite/{p-85730c80.js → p-3ddf4c77.js} +2 -2
- package/dist/calcite/{p-fa09eba2.entry.js → p-3f0d09c7.entry.js} +2 -2
- package/dist/calcite/{p-2dafa9fc.js → p-3fa6c45f.js} +2 -2
- package/dist/calcite/{p-25617995.system.entry.js → p-42c453de.system.entry.js} +3 -3
- package/dist/calcite/{p-f98b56e7.system.entry.js → p-43d21085.system.entry.js} +2 -2
- package/dist/calcite/{p-8cd0b1e2.entry.js → p-4566aaee.entry.js} +2 -2
- package/dist/calcite/{p-04698c9d.entry.js → p-493d9f4a.entry.js} +2 -2
- package/dist/calcite/{p-750c9bd3.system.js → p-4a0eb473.system.js} +1 -1
- package/dist/calcite/{p-725f4da2.entry.js → p-4b1ef0d8.entry.js} +2 -2
- package/dist/calcite/{p-2ca913a7.system.entry.js → p-4c8ef0fe.system.entry.js} +2 -2
- package/dist/calcite/{p-af5ea246.system.entry.js → p-4d257d37.system.entry.js} +2 -2
- package/dist/calcite/{p-342baff3.system.entry.js → p-4d8635c6.system.entry.js} +2 -2
- package/dist/calcite/{p-752accea.system.js → p-4fd6579c.system.js} +1 -1
- package/dist/calcite/{p-6765aa39.system.entry.js → p-4fe5e339.system.entry.js} +2 -2
- package/dist/calcite/{p-664b9990.system.entry.js → p-54f30bf4.system.entry.js} +2 -2
- package/dist/calcite/{p-b5e148e7.system.js → p-558a1c7e.system.js} +2 -2
- package/dist/calcite/{p-fcb85f5a.system.entry.js → p-577667a2.system.entry.js} +3 -3
- package/dist/calcite/{p-a465f73b.entry.js → p-5779c821.entry.js} +2 -2
- package/dist/calcite/{p-4dac11ef.entry.js → p-57d9f822.entry.js} +2 -2
- package/dist/calcite/{p-51316fa8.entry.js → p-594f193e.entry.js} +2 -2
- package/dist/calcite/{p-bc156702.system.entry.js → p-5954a2b8.system.entry.js} +3 -3
- package/dist/calcite/p-5a7ae658.js +6 -0
- package/dist/calcite/{p-10b4e7d1.entry.js → p-5ae470d3.entry.js} +2 -2
- package/dist/calcite/{p-f5c1e07b.system.entry.js → p-5b0d5d34.system.entry.js} +2 -2
- package/dist/calcite/{p-b4cad296.js → p-5b6f1664.js} +2 -2
- package/dist/calcite/{p-c5c42bed.entry.js → p-5f0a71dd.entry.js} +2 -2
- package/dist/calcite/{p-5b2fdd1c.system.entry.js → p-5ff951d0.system.entry.js} +2 -2
- package/dist/calcite/{p-9e76f637.system.entry.js → p-618d82d2.system.entry.js} +2 -2
- package/dist/calcite/{p-3887b97b.entry.js → p-62d55fb1.entry.js} +2 -2
- package/dist/calcite/{p-142256da.entry.js → p-62ff1e29.entry.js} +2 -2
- package/dist/calcite/{p-c1026be6.js → p-631440e9.js} +1 -1
- package/dist/calcite/{p-db4d969c.system.entry.js → p-66ab2bce.system.entry.js} +2 -2
- package/dist/calcite/p-67272a47.system.entry.js +6 -0
- package/dist/calcite/{p-e6f5955f.entry.js → p-678a595b.entry.js} +2 -2
- package/dist/calcite/{p-95c695bb.entry.js → p-6905de01.entry.js} +2 -2
- package/dist/calcite/{p-798e55f8.system.entry.js → p-6998e267.system.entry.js} +2 -2
- package/dist/calcite/{p-2ff28bce.entry.js → p-6be82d7b.entry.js} +2 -2
- package/dist/calcite/p-71ca1c98.js +12 -0
- package/dist/calcite/{p-6749afad.entry.js → p-7758ebf3.entry.js} +2 -2
- package/dist/calcite/{p-1ec9e015.js → p-797b3d07.js} +1 -1
- package/dist/calcite/{p-cebc3956.system.entry.js → p-7d1e0b48.system.entry.js} +2 -2
- package/dist/calcite/{p-156bdafd.system.entry.js → p-850e22a3.system.entry.js} +2 -2
- package/dist/calcite/{p-d289ce30.system.entry.js → p-85f26d64.system.entry.js} +2 -2
- package/dist/calcite/{p-f7e0392c.system.entry.js → p-86544aa9.system.entry.js} +2 -2
- package/dist/calcite/{p-fc0c1a3a.js → p-86f23774.js} +2 -2
- package/dist/calcite/{p-7d61ca43.system.js → p-87b77522.system.js} +2 -2
- package/dist/calcite/{p-fe9ff146.system.entry.js → p-88c8273a.system.entry.js} +2 -2
- package/dist/calcite/{p-18cd2c2d.entry.js → p-89ba3854.entry.js} +2 -2
- package/dist/calcite/{p-fc855363.system.entry.js → p-8a43f6cd.system.entry.js} +2 -2
- package/dist/calcite/{p-78ab1a24.entry.js → p-8aaea6d1.entry.js} +2 -2
- package/dist/calcite/{p-8790d1e8.js → p-8aedcadb.js} +1 -1
- package/dist/calcite/{p-fae87ad2.system.entry.js → p-8c4f203a.system.entry.js} +2 -2
- package/dist/calcite/{p-cc09d65e.js → p-8c7717f9.js} +1 -1
- package/dist/calcite/{p-9c552466.entry.js → p-8eed5be7.entry.js} +2 -2
- package/dist/calcite/{p-9eda8386.system.js → p-905c679d.system.js} +2 -2
- package/dist/calcite/{p-7b0daff6.entry.js → p-91d5971b.entry.js} +2 -2
- package/dist/calcite/{p-966854a2.system.js → p-9281ab30.system.js} +2 -2
- package/dist/calcite/{p-065931ea.system.entry.js → p-9283389e.system.entry.js} +2 -2
- package/dist/calcite/{p-96aa701c.system.entry.js → p-92b3c38d.system.entry.js} +2 -2
- package/dist/calcite/{p-405ccb43.system.entry.js → p-92de764a.system.entry.js} +2 -2
- package/dist/calcite/{p-9c59be56.system.entry.js → p-93291b6e.system.entry.js} +2 -2
- package/dist/calcite/{p-d01a99d9.system.entry.js → p-9397f2f1.system.entry.js} +2 -2
- package/dist/calcite/{p-05883e95.system.entry.js → p-97c2328e.system.entry.js} +2 -2
- package/dist/calcite/{p-75a03b97.system.entry.js → p-98f33876.system.entry.js} +2 -2
- package/dist/calcite/{p-b66d2160.system.entry.js → p-9b348af7.system.entry.js} +2 -2
- package/dist/calcite/{p-dd84754d.entry.js → p-9c77e4b2.entry.js} +2 -2
- package/dist/calcite/{p-f74a1d61.entry.js → p-9d8944d2.entry.js} +2 -2
- package/dist/calcite/{p-d277d602.entry.js → p-9e51e070.entry.js} +2 -2
- package/dist/calcite/{p-9764793b.system.js → p-9e7eb819.system.js} +1 -1
- package/dist/calcite/{p-c9f2fce5.entry.js → p-a1cf7794.entry.js} +2 -2
- package/dist/calcite/{p-c72ab186.js → p-a43a7692.js} +1 -1
- package/dist/calcite/{p-4b3b77a5.system.entry.js → p-a594426f.system.entry.js} +2 -2
- package/dist/calcite/{p-63d50893.entry.js → p-a6089008.entry.js} +2 -2
- package/dist/calcite/p-a635ba1c.entry.js +6 -0
- package/dist/calcite/{p-9b8cfbfb.system.entry.js → p-ab538dcc.system.entry.js} +2 -2
- package/dist/calcite/{p-82e4d02a.entry.js → p-ac3ad1a9.entry.js} +2 -2
- package/dist/calcite/{p-06ac73ba.system.entry.js → p-ac820fa8.system.entry.js} +2 -2
- package/dist/calcite/{p-a73d9415.system.entry.js → p-ae6c3acc.system.entry.js} +2 -2
- package/dist/calcite/{p-4344c8fb.entry.js → p-b092122c.entry.js} +2 -2
- package/dist/calcite/{p-49fd5e81.js → p-b2ba6edd.js} +1 -1
- package/dist/calcite/{p-779be7b0.system.js → p-b4971e07.system.js} +2 -2
- package/dist/calcite/{p-d8370311.system.entry.js → p-b5f02839.system.entry.js} +2 -2
- package/dist/calcite/p-b7ff0d7c.entry.js +6 -0
- package/dist/calcite/{p-4fc481ea.entry.js → p-bc059d4a.entry.js} +2 -2
- package/dist/calcite/{p-6cccdd61.system.entry.js → p-bd3d58e2.system.entry.js} +2 -2
- package/dist/calcite/{p-3d09adf2.system.js → p-bd55cfef.system.js} +1 -1
- package/dist/calcite/{p-a1fbcc2e.js → p-c1063d0f.js} +1 -1
- package/dist/calcite/{p-c5ae7ec3.system.js → p-c2929715.system.js} +1 -1
- package/dist/calcite/{p-96c9143b.entry.js → p-c2c60eed.entry.js} +2 -2
- package/dist/calcite/{p-8f2922ac.system.entry.js → p-c49cbffb.system.entry.js} +2 -2
- package/dist/calcite/{p-30b47a95.entry.js → p-c4f43b30.entry.js} +2 -2
- package/dist/calcite/{p-f8d57526.js → p-c5bb502e.js} +1 -1
- package/dist/calcite/{p-ccf412ea.js → p-c9423b9b.js} +2 -2
- package/dist/calcite/p-c9bca200.system.entry.js +6 -0
- package/dist/calcite/{p-6e6943bc.js → p-ccd248b5.js} +1 -1
- package/dist/calcite/{p-0c5dc519.system.entry.js → p-cdba62e8.system.entry.js} +2 -2
- package/dist/calcite/{p-7102f65d.system.entry.js → p-cf1f30b8.system.entry.js} +2 -2
- package/dist/calcite/{p-5e6d344a.system.js → p-d199a033.system.js} +1 -1
- package/dist/calcite/p-d1b3382a.system.js +12 -0
- package/dist/calcite/{p-0b10cd7e.system.js → p-d1d6d544.system.js} +1 -1
- package/dist/calcite/{p-62343a00.entry.js → p-d274a55f.entry.js} +2 -2
- package/dist/calcite/{p-85ef772b.entry.js → p-d282d7bd.entry.js} +2 -2
- package/dist/calcite/{p-fdc0aea2.system.entry.js → p-d2f5d81f.system.entry.js} +2 -2
- package/dist/calcite/{p-30b4aee2.system.js → p-d3d5bcdc.system.js} +2 -2
- package/dist/calcite/{p-e70e2e36.system.js → p-d7c7ea78.system.js} +1 -1
- package/dist/calcite/{p-7e107910.system.js → p-d8fbfb66.system.js} +1 -1
- package/dist/calcite/p-db72ee7c.system.entry.js +6 -0
- package/dist/calcite/{p-4c950302.system.js → p-dc4200a3.system.js} +1 -1
- package/dist/calcite/{p-04125541.js → p-de38f7ac.js} +2 -2
- package/dist/calcite/p-dec240ef.entry.js +6 -0
- package/dist/calcite/{p-9ef5686a.system.entry.js → p-df6161d0.system.entry.js} +2 -2
- package/dist/calcite/{p-b73fe065.system.entry.js → p-e0a7d2c0.system.entry.js} +2 -2
- package/dist/calcite/{p-37fa5da9.entry.js → p-e6170a35.entry.js} +2 -2
- package/dist/calcite/{p-e41b86bc.system.js → p-e95596bf.system.js} +1 -1
- package/dist/calcite/{p-55d4617f.entry.js → p-ea471416.entry.js} +2 -2
- package/dist/calcite/{p-634ae829.system.js → p-ec507a72.system.js} +2 -2
- package/dist/calcite/{p-4684178f.entry.js → p-ee698f40.entry.js} +2 -2
- package/dist/calcite/{p-760c20da.entry.js → p-f0265ed3.entry.js} +2 -2
- package/dist/calcite/p-f0847138.entry.js +6 -0
- package/dist/calcite/{p-ccca37d4.entry.js → p-f19a8def.entry.js} +2 -2
- package/dist/calcite/p-f1c746a1.system.entry.js +6 -0
- package/dist/calcite/{p-8c5880fe.entry.js → p-f1d4aebb.entry.js} +2 -2
- package/dist/calcite/{p-cc2f5cec.entry.js → p-f6c7bc15.entry.js} +2 -2
- package/dist/calcite/{p-3ca2743d.system.entry.js → p-f7792ef9.system.entry.js} +2 -2
- package/dist/calcite/{p-9204d083.system.entry.js → p-f98c4419.system.entry.js} +2 -2
- package/dist/calcite/{p-d9b11e91.js → p-f9d3b64f.js} +1 -1
- package/dist/calcite/p-ff7ffd80.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-3a617397.js → ExpandToggle-88cee7c1.js} +5 -5
- package/dist/cjs/{Heading-a1739d76.js → Heading-e6c85184.js} +2 -2
- package/dist/cjs/{array-5f739953.js → array-4d1fe6c6.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 +4 -4
- 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 +7 -7
- 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 +24 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +19 -13
- 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 +2 -2
- 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 +28 -17
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
- 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 +2 -2
- 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 +22 -9
- 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 +7 -7
- 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 +18 -12
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- 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 +11 -11
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-97d0e204.js → conditionalSlot-f9d23ca7.js} +3 -3
- package/dist/cjs/{debounce-1961458e.js → debounce-fb022e97.js} +1 -1
- package/dist/cjs/{dom-9112a2f5.js → dom-2e9e2c60.js} +2 -2
- package/dist/cjs/{forIn-ca382db1.js → forIn-a0a04677.js} +2 -2
- package/dist/cjs/{form-2fd689ca.js → form-b642e7f7.js} +3 -3
- package/dist/cjs/{guid-aa0068fa.js → guid-2d88d7e4.js} +1 -1
- package/dist/cjs/{index-af6ebf15.js → index-7c71facb.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-8d2c7945.js → interactive-c65c646a.js} +1 -1
- package/dist/cjs/{interfaces-025e1d7b.js → interfaces-c938d661.js} +1 -1
- package/dist/cjs/{label-ceda22ca.js → label-1fda9f85.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-d2e41124.js → locale-9b914ee7.js} +2 -2
- package/dist/cjs/{math-d1ea4c45.js → math-ac7e966c.js} +1 -1
- package/dist/cjs/{number-9733512e.js → number-dfdc570a.js} +1 -1
- package/dist/cjs/{observers-0321d521.js → observers-b29b5c02.js} +1 -1
- package/dist/cjs/{popper-982dc8df.js → popper-d091495d.js} +29 -4
- package/dist/cjs/{resources-a6d3078d.js → resources-03113597.js} +3 -3
- package/dist/cjs/{resources-c163ce43.js → resources-35cea258.js} +5 -5
- package/dist/cjs/{resources-0c6be915.js → resources-ac8de325.js} +1 -1
- package/dist/cjs/{resources-a1343e3b.js → resources-caa97243.js} +1 -1
- package/dist/cjs/{sortable.esm-b258b6c9.js → sortable.esm-0ca6b113.js} +63 -55
- package/dist/cjs/{utils-fda6b3d9.js → utils-80f88970.js} +1 -1
- package/dist/collection/collection-manifest.json +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 +16 -8
- 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/dropdown/dropdown.js +16 -8
- 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/assets/icon/fileEcd16.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileEcd24.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileEcd32.json +1 -0
- 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 +21 -8
- 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-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 +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/popover.js +20 -5
- 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/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 +14 -13
- 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.css +2 -2
- 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/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/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/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/popper.js +17 -3
- 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 +14 -8
- 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 +19 -8
- package/dist/components/calcite-input-message.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 +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/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 +14 -8
- 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.d.ts +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/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/number.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +18 -5
- package/dist/components/popper.js +27 -3
- 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/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +63 -55
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +15 -8
- 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 +2 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip-manager.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +159 -85
- package/dist/esm/{ExpandToggle-b9e6cc02.js → ExpandToggle-215b4bd6.js} +5 -5
- package/dist/esm/{Heading-bf0dcdce.js → Heading-2e7dc753.js} +2 -2
- package/dist/esm/{array-8fbc62cc.js → array-a5dff964.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 +4 -4
- 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 +7 -7
- 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 +24 -18
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +19 -13
- 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 +2 -2
- 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 +28 -17
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
- 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 +2 -2
- 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 +22 -9
- 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 +7 -7
- 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 +18 -12
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- 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 +11 -11
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-ee8dc764.js → conditionalSlot-7475f53a.js} +3 -3
- package/dist/esm/{debounce-71013d9b.js → debounce-926b1272.js} +1 -1
- package/dist/esm/{dom-6c1262a4.js → dom-eedae61e.js} +2 -2
- package/dist/esm/{forIn-5a2ff386.js → forIn-9237f6b1.js} +2 -2
- package/dist/esm/{form-59cb94ac.js → form-dfb478c2.js} +3 -3
- package/dist/esm/{guid-2a264f44.js → guid-41edc50f.js} +1 -1
- package/dist/esm/{index-a852cbc0.js → index-f6adec6b.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-843bf339.js → interactive-6bc848df.js} +1 -1
- package/dist/esm/{interfaces-4cadda8d.js → interfaces-5c343e6c.js} +1 -1
- package/dist/esm/{label-7979a13c.js → label-ec804122.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-81630499.js → locale-09d65cb0.js} +2 -2
- package/dist/esm/{math-34ad511e.js → math-5b0f16a1.js} +1 -1
- package/dist/esm/{number-0ae296d8.js → number-3e57731c.js} +1 -1
- package/dist/esm/{observers-3058d983.js → observers-f78a3ebd.js} +1 -1
- package/dist/esm/{popper-3e5bba76.js → popper-8f18b866.js} +28 -4
- package/dist/esm/{resources-e0e65ec9.js → resources-3b0fb6bf.js} +1 -1
- package/dist/esm/{resources-7f8187d7.js → resources-6af25654.js} +1 -1
- package/dist/esm/{resources-9c0fd61b.js → resources-b2450939.js} +3 -3
- package/dist/esm/{resources-1d6a7ad9.js → resources-c17058ed.js} +5 -5
- package/dist/esm/{sortable.esm-ec78c8ec.js → sortable.esm-154ce266.js} +63 -55
- package/dist/esm/{utils-fdcecfa8.js → utils-33898127.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-b9e6cc02.js → ExpandToggle-215b4bd6.js} +2 -2
- package/dist/esm-es5/{Heading-bf0dcdce.js → Heading-2e7dc753.js} +2 -2
- package/dist/esm-es5/{array-8fbc62cc.js → array-a5dff964.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 +3 -3
- 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-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 +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-ee8dc764.js → conditionalSlot-7475f53a.js} +2 -2
- package/dist/esm-es5/{debounce-71013d9b.js → debounce-926b1272.js} +1 -1
- package/dist/esm-es5/{dom-6c1262a4.js → dom-eedae61e.js} +2 -2
- package/dist/esm-es5/{forIn-5a2ff386.js → forIn-9237f6b1.js} +2 -2
- package/dist/esm-es5/{form-59cb94ac.js → form-dfb478c2.js} +2 -2
- package/dist/esm-es5/{guid-2a264f44.js → guid-41edc50f.js} +1 -1
- package/dist/esm-es5/{index-a852cbc0.js → index-f6adec6b.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-843bf339.js → interactive-6bc848df.js} +1 -1
- package/dist/esm-es5/{interfaces-4cadda8d.js → interfaces-5c343e6c.js} +1 -1
- package/dist/esm-es5/{label-7979a13c.js → label-ec804122.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-81630499.js → locale-09d65cb0.js} +2 -2
- package/dist/esm-es5/{math-34ad511e.js → math-5b0f16a1.js} +1 -1
- package/dist/esm-es5/{number-0ae296d8.js → number-3e57731c.js} +1 -1
- package/dist/esm-es5/{observers-3058d983.js → observers-f78a3ebd.js} +1 -1
- package/dist/esm-es5/{popper-3e5bba76.js → popper-8f18b866.js} +2 -2
- package/dist/esm-es5/{resources-e0e65ec9.js → resources-3b0fb6bf.js} +1 -1
- package/dist/esm-es5/{resources-7f8187d7.js → resources-6af25654.js} +1 -1
- package/dist/esm-es5/{resources-9c0fd61b.js → resources-b2450939.js} +2 -2
- package/dist/esm-es5/{resources-1d6a7ad9.js → resources-c17058ed.js} +2 -2
- package/dist/esm-es5/sortable.esm-154ce266.js +12 -0
- package/dist/esm-es5/{utils-fdcecfa8.js → utils-33898127.js} +1 -1
- package/dist/extras/docs-json.json +2 -8
- 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/combobox/combobox.d.ts +3 -0
- package/dist/types/components/dropdown/dropdown.d.ts +3 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +3 -0
- package/dist/types/components/popover/popover.d.ts +4 -0
- package/dist/types/components/tab-nav/tab-nav.d.ts +2 -1
- package/dist/types/utils/popper.d.ts +3 -2
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +155 -86
- package/package.json +23 -23
- package/readme.md +0 -1
- package/dist/calcite/p-094e0790.js +0 -6
- package/dist/calcite/p-114c97c7.entry.js +0 -6
- package/dist/calcite/p-25e8b91d.entry.js +0 -6
- package/dist/calcite/p-34f2e7c2.system.js +0 -12
- package/dist/calcite/p-37095a3f.js +0 -12
- package/dist/calcite/p-45a2d2f2.system.entry.js +0 -6
- package/dist/calcite/p-4f11f04b.entry.js +0 -6
- package/dist/calcite/p-58fe7402.entry.js +0 -6
- package/dist/calcite/p-74cfecc6.system.entry.js +0 -6
- package/dist/calcite/p-9e28b051.system.entry.js +0 -6
- package/dist/calcite/p-9e4486da.system.entry.js +0 -6
- package/dist/calcite/p-a7ee1acd.entry.js +0 -6
- package/dist/calcite/p-ae5080e3.system.js +0 -6
- package/dist/calcite/p-af193655.entry.js +0 -6
- package/dist/calcite/p-b2c8896f.js +0 -6
- package/dist/calcite/p-d145279d.system.entry.js +0 -6
- package/dist/calcite/p-f89c8b5e.entry.js +0 -6
- package/dist/esm-es5/sortable.esm-ec78c8ec.js +0 -12
|
@@ -1,9 +1,9 @@
|
|
|
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.433
|
|
5
5
|
*/
|
|
6
|
-
import { a as sanitizeExponentialNumberString, b as sanitizeDecimalString } from './number-
|
|
6
|
+
import { a as sanitizeExponentialNumberString, b as sanitizeDecimalString } from './number-3e57731c.js';
|
|
7
7
|
|
|
8
8
|
const locales = [
|
|
9
9
|
"ar",
|
|
@@ -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.433
|
|
5
5
|
*/
|
|
6
6
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
const decimalPlaces = (value) => {
|
|
@@ -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.433
|
|
5
5
|
*/
|
|
6
6
|
function isActivationKey(key) {
|
|
7
7
|
return key === "Enter" || key === " ";
|
|
@@ -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.433
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* This utility ensures observers are created only for browser contexts.
|
|
@@ -1,9 +1,9 @@
|
|
|
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.433
|
|
5
5
|
*/
|
|
6
|
-
import { a as getElementDir } from './dom-
|
|
6
|
+
import { a as getElementDir } from './dom-eedae61e.js';
|
|
7
7
|
|
|
8
8
|
var top = 'top';
|
|
9
9
|
var bottom = 'bottom';
|
|
@@ -1792,8 +1792,22 @@ var createPopper$1 = /*#__PURE__*/popperGenerator({
|
|
|
1792
1792
|
defaultModifiers: defaultModifiers
|
|
1793
1793
|
}); // eslint-disable-next-line import/no-unused-modules
|
|
1794
1794
|
|
|
1795
|
+
const popperComputedPlacements = [
|
|
1796
|
+
"top",
|
|
1797
|
+
"bottom",
|
|
1798
|
+
"right",
|
|
1799
|
+
"left",
|
|
1800
|
+
"top-start",
|
|
1801
|
+
"top-end",
|
|
1802
|
+
"bottom-start",
|
|
1803
|
+
"bottom-end",
|
|
1804
|
+
"right-start",
|
|
1805
|
+
"right-end",
|
|
1806
|
+
"left-start",
|
|
1807
|
+
"left-end"
|
|
1808
|
+
];
|
|
1795
1809
|
const defaultMenuPlacement = "bottom-leading";
|
|
1796
|
-
const
|
|
1810
|
+
const popperMenuComputedPlacements = [
|
|
1797
1811
|
"top-start",
|
|
1798
1812
|
"top",
|
|
1799
1813
|
"top-end",
|
|
@@ -1805,6 +1819,16 @@ const CSS = {
|
|
|
1805
1819
|
animation: "calcite-popper-anim",
|
|
1806
1820
|
animationActive: "calcite-popper-anim--active"
|
|
1807
1821
|
};
|
|
1822
|
+
function filterComputedPlacements(placements, el) {
|
|
1823
|
+
const filteredPlacements = placements.filter((placement) => popperComputedPlacements.includes(placement));
|
|
1824
|
+
if (filteredPlacements.length !== placements.length) {
|
|
1825
|
+
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${popperComputedPlacements
|
|
1826
|
+
.map((placement) => `"${placement}"`)
|
|
1827
|
+
.join(", ")
|
|
1828
|
+
.trim()}`, { el });
|
|
1829
|
+
}
|
|
1830
|
+
return filteredPlacements;
|
|
1831
|
+
}
|
|
1808
1832
|
function getPlacement(el, placement) {
|
|
1809
1833
|
const placements = ["left", "right"];
|
|
1810
1834
|
const variations = ["start", "end"];
|
|
@@ -1841,4 +1865,4 @@ function hypotenuse(sideA, sideB) {
|
|
|
1841
1865
|
const visiblePointerSize = 4;
|
|
1842
1866
|
const defaultOffsetDistance = Math.ceil(hypotenuse(visiblePointerSize, visiblePointerSize));
|
|
1843
1867
|
|
|
1844
|
-
export { CSS as C, defaultOffsetDistance as a, createPopper as c, defaultMenuPlacement as d,
|
|
1868
|
+
export { CSS as C, defaultOffsetDistance as a, createPopper as c, defaultMenuPlacement as d, filterComputedPlacements as f, popperMenuComputedPlacements as p, updatePopper as u };
|
|
@@ -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.433
|
|
5
5
|
*/
|
|
6
6
|
const SLOTS = {
|
|
7
7
|
menuActions: "menu-actions",
|
|
@@ -1,10 +1,10 @@
|
|
|
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.433
|
|
5
5
|
*/
|
|
6
|
-
import { a as getAssetPath } from './index-
|
|
7
|
-
import { a as locales } from './locale-
|
|
6
|
+
import { a as getAssetPath } from './index-f6adec6b.js';
|
|
7
|
+
import { a as locales } from './locale-09d65cb0.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Get supported locale code from raw user input
|
|
@@ -1,12 +1,12 @@
|
|
|
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.433
|
|
5
5
|
*/
|
|
6
|
-
import { f as focusElement, g as getSlotted } from './dom-
|
|
7
|
-
import { g as getRoundRobinIndex } from './array-
|
|
8
|
-
import { d as debounce } from './debounce-
|
|
9
|
-
import { h, H as Host } from './index-
|
|
6
|
+
import { f as focusElement, g as getSlotted } from './dom-eedae61e.js';
|
|
7
|
+
import { g as getRoundRobinIndex } from './array-a5dff964.js';
|
|
8
|
+
import { d as debounce } from './debounce-926b1272.js';
|
|
9
|
+
import { h, H as Host } from './index-f6adec6b.js';
|
|
10
10
|
|
|
11
11
|
const CSS$2 = {
|
|
12
12
|
heading: "heading",
|
|
@@ -1,10 +1,10 @@
|
|
|
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.433
|
|
5
5
|
*/
|
|
6
6
|
/**!
|
|
7
|
-
* Sortable 1.
|
|
7
|
+
* Sortable 1.15.0
|
|
8
8
|
* @author RubaXa <trash@rubaxa.org>
|
|
9
9
|
* @author owenm <owen23355@gmail.com>
|
|
10
10
|
* @license MIT
|
|
@@ -132,7 +132,7 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
132
132
|
return target;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
var version = "1.
|
|
135
|
+
var version = "1.15.0";
|
|
136
136
|
|
|
137
137
|
function userAgent(pattern) {
|
|
138
138
|
if (typeof window !== 'undefined' && window.navigator) {
|
|
@@ -1053,11 +1053,11 @@ supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in
|
|
|
1053
1053
|
return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
|
|
1054
1054
|
},
|
|
1055
1055
|
|
|
1056
|
-
/**
|
|
1057
|
-
* Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
|
|
1058
|
-
* @param {Number} x X position
|
|
1059
|
-
* @param {Number} y Y position
|
|
1060
|
-
* @return {HTMLElement} Element of the first found nearest Sortable
|
|
1056
|
+
/**
|
|
1057
|
+
* Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
|
|
1058
|
+
* @param {Number} x X position
|
|
1059
|
+
* @param {Number} y Y position
|
|
1060
|
+
* @return {HTMLElement} Element of the first found nearest Sortable
|
|
1061
1061
|
*/
|
|
1062
1062
|
_detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
|
|
1063
1063
|
var ret;
|
|
@@ -1123,7 +1123,7 @@ _detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
|
|
|
1123
1123
|
}; // #1184 fix - Prevent click event on fallback if dragged but item not changed position
|
|
1124
1124
|
|
|
1125
1125
|
|
|
1126
|
-
if (documentExists) {
|
|
1126
|
+
if (documentExists && !ChromeForAndroid) {
|
|
1127
1127
|
document.addEventListener('click', function (evt) {
|
|
1128
1128
|
if (ignoreNextClick) {
|
|
1129
1129
|
evt.preventDefault();
|
|
@@ -1165,10 +1165,10 @@ var _checkOutsideTargetEl = function _checkOutsideTargetEl(evt) {
|
|
|
1165
1165
|
dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
|
|
1166
1166
|
}
|
|
1167
1167
|
};
|
|
1168
|
-
/**
|
|
1169
|
-
* @class Sortable
|
|
1170
|
-
* @param {HTMLElement} el
|
|
1171
|
-
* @param {Object} [options]
|
|
1168
|
+
/**
|
|
1169
|
+
* @class Sortable
|
|
1170
|
+
* @param {HTMLElement} el
|
|
1171
|
+
* @param {Object} [options]
|
|
1172
1172
|
*/
|
|
1173
1173
|
|
|
1174
1174
|
|
|
@@ -1742,6 +1742,7 @@ Sortable.prototype =
|
|
|
1742
1742
|
|
|
1743
1743
|
if (!Sortable.eventCanceled) {
|
|
1744
1744
|
cloneEl = clone(dragEl);
|
|
1745
|
+
cloneEl.removeAttribute("id");
|
|
1745
1746
|
cloneEl.draggable = false;
|
|
1746
1747
|
cloneEl.style['will-change'] = '';
|
|
1747
1748
|
|
|
@@ -1983,7 +1984,14 @@ Sortable.prototype =
|
|
|
1983
1984
|
|
|
1984
1985
|
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
|
|
1985
1986
|
capture();
|
|
1986
|
-
|
|
1987
|
+
|
|
1988
|
+
if (elLastChild && elLastChild.nextSibling) {
|
|
1989
|
+
// the last draggable element is not the last node
|
|
1990
|
+
el.insertBefore(dragEl, elLastChild.nextSibling);
|
|
1991
|
+
} else {
|
|
1992
|
+
el.appendChild(dragEl);
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1987
1995
|
parentEl = el; // actualization
|
|
1988
1996
|
|
|
1989
1997
|
changed();
|
|
@@ -2306,9 +2314,9 @@ Sortable.prototype =
|
|
|
2306
2314
|
}
|
|
2307
2315
|
},
|
|
2308
2316
|
|
|
2309
|
-
/**
|
|
2310
|
-
* Serializes the item into an array of string.
|
|
2311
|
-
* @returns {String[]}
|
|
2317
|
+
/**
|
|
2318
|
+
* Serializes the item into an array of string.
|
|
2319
|
+
* @returns {String[]}
|
|
2312
2320
|
*/
|
|
2313
2321
|
toArray: function toArray() {
|
|
2314
2322
|
var order = [],
|
|
@@ -2329,9 +2337,9 @@ Sortable.prototype =
|
|
|
2329
2337
|
return order;
|
|
2330
2338
|
},
|
|
2331
2339
|
|
|
2332
|
-
/**
|
|
2333
|
-
* Sorts the elements according to the array.
|
|
2334
|
-
* @param {String[]} order order of the items
|
|
2340
|
+
/**
|
|
2341
|
+
* Sorts the elements according to the array.
|
|
2342
|
+
* @param {String[]} order order of the items
|
|
2335
2343
|
*/
|
|
2336
2344
|
sort: function sort(order, useAnimation) {
|
|
2337
2345
|
var items = {},
|
|
@@ -2353,29 +2361,29 @@ Sortable.prototype =
|
|
|
2353
2361
|
useAnimation && this.animateAll();
|
|
2354
2362
|
},
|
|
2355
2363
|
|
|
2356
|
-
/**
|
|
2357
|
-
* Save the current sorting
|
|
2364
|
+
/**
|
|
2365
|
+
* Save the current sorting
|
|
2358
2366
|
*/
|
|
2359
2367
|
save: function save() {
|
|
2360
2368
|
var store = this.options.store;
|
|
2361
2369
|
store && store.set && store.set(this);
|
|
2362
2370
|
},
|
|
2363
2371
|
|
|
2364
|
-
/**
|
|
2365
|
-
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
|
2366
|
-
* @param {HTMLElement} el
|
|
2367
|
-
* @param {String} [selector] default: `options.draggable`
|
|
2368
|
-
* @returns {HTMLElement|null}
|
|
2372
|
+
/**
|
|
2373
|
+
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
|
2374
|
+
* @param {HTMLElement} el
|
|
2375
|
+
* @param {String} [selector] default: `options.draggable`
|
|
2376
|
+
* @returns {HTMLElement|null}
|
|
2369
2377
|
*/
|
|
2370
2378
|
closest: function closest$1(el, selector) {
|
|
2371
2379
|
return closest(el, selector || this.options.draggable, this.el, false);
|
|
2372
2380
|
},
|
|
2373
2381
|
|
|
2374
|
-
/**
|
|
2375
|
-
* Set/get option
|
|
2376
|
-
* @param {string} name
|
|
2377
|
-
* @param {*} [value]
|
|
2378
|
-
* @returns {*}
|
|
2382
|
+
/**
|
|
2383
|
+
* Set/get option
|
|
2384
|
+
* @param {string} name
|
|
2385
|
+
* @param {*} [value]
|
|
2386
|
+
* @returns {*}
|
|
2379
2387
|
*/
|
|
2380
2388
|
option: function option(name, value) {
|
|
2381
2389
|
var options = this.options;
|
|
@@ -2397,8 +2405,8 @@ Sortable.prototype =
|
|
|
2397
2405
|
}
|
|
2398
2406
|
},
|
|
2399
2407
|
|
|
2400
|
-
/**
|
|
2401
|
-
* Destroy
|
|
2408
|
+
/**
|
|
2409
|
+
* Destroy
|
|
2402
2410
|
*/
|
|
2403
2411
|
destroy: function destroy() {
|
|
2404
2412
|
pluginEvent('destroy', this);
|
|
@@ -2575,11 +2583,11 @@ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, inv
|
|
|
2575
2583
|
|
|
2576
2584
|
return 0;
|
|
2577
2585
|
}
|
|
2578
|
-
/**
|
|
2579
|
-
* Gets the direction dragEl must be swapped relative to target in order to make it
|
|
2580
|
-
* seem that dragEl has been "inserted" into that element's position
|
|
2581
|
-
* @param {HTMLElement} target The target whose position dragEl is being inserted at
|
|
2582
|
-
* @return {Number} Direction dragEl must be swapped
|
|
2586
|
+
/**
|
|
2587
|
+
* Gets the direction dragEl must be swapped relative to target in order to make it
|
|
2588
|
+
* seem that dragEl has been "inserted" into that element's position
|
|
2589
|
+
* @param {HTMLElement} target The target whose position dragEl is being inserted at
|
|
2590
|
+
* @return {Number} Direction dragEl must be swapped
|
|
2583
2591
|
*/
|
|
2584
2592
|
|
|
2585
2593
|
|
|
@@ -2590,11 +2598,11 @@ function _getInsertDirection(target) {
|
|
|
2590
2598
|
return -1;
|
|
2591
2599
|
}
|
|
2592
2600
|
}
|
|
2593
|
-
/**
|
|
2594
|
-
* Generate id
|
|
2595
|
-
* @param {HTMLElement} el
|
|
2596
|
-
* @returns {String}
|
|
2597
|
-
* @private
|
|
2601
|
+
/**
|
|
2602
|
+
* Generate id
|
|
2603
|
+
* @param {HTMLElement} el
|
|
2604
|
+
* @returns {String}
|
|
2605
|
+
* @private
|
|
2598
2606
|
*/
|
|
2599
2607
|
|
|
2600
2608
|
|
|
@@ -2658,18 +2666,18 @@ Sortable.utils = {
|
|
|
2658
2666
|
detectDirection: _detectDirection,
|
|
2659
2667
|
getChild: getChild
|
|
2660
2668
|
};
|
|
2661
|
-
/**
|
|
2662
|
-
* Get the Sortable instance of an element
|
|
2663
|
-
* @param {HTMLElement} element The element
|
|
2664
|
-
* @return {Sortable|undefined} The instance of Sortable
|
|
2669
|
+
/**
|
|
2670
|
+
* Get the Sortable instance of an element
|
|
2671
|
+
* @param {HTMLElement} element The element
|
|
2672
|
+
* @return {Sortable|undefined} The instance of Sortable
|
|
2665
2673
|
*/
|
|
2666
2674
|
|
|
2667
2675
|
Sortable.get = function (element) {
|
|
2668
2676
|
return element[expando];
|
|
2669
2677
|
};
|
|
2670
|
-
/**
|
|
2671
|
-
* Mount a plugin to Sortable
|
|
2672
|
-
* @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
|
|
2678
|
+
/**
|
|
2679
|
+
* Mount a plugin to Sortable
|
|
2680
|
+
* @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
|
|
2673
2681
|
*/
|
|
2674
2682
|
|
|
2675
2683
|
|
|
@@ -2688,10 +2696,10 @@ Sortable.mount = function () {
|
|
|
2688
2696
|
PluginManager.mount(plugin);
|
|
2689
2697
|
});
|
|
2690
2698
|
};
|
|
2691
|
-
/**
|
|
2692
|
-
* Create sortable instance
|
|
2693
|
-
* @param {HTMLElement} el
|
|
2694
|
-
* @param {Object} [options]
|
|
2699
|
+
/**
|
|
2700
|
+
* Create sortable instance
|
|
2701
|
+
* @param {HTMLElement} el
|
|
2702
|
+
* @param {Object} [options]
|
|
2695
2703
|
*/
|
|
2696
2704
|
|
|
2697
2705
|
|
|
@@ -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.433
|
|
5
5
|
*/
|
|
6
6
|
function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
|
@@ -1,6 +1,6 @@
|
|
|
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.433
|
|
5
5
|
*/
|
|
6
|
-
import{f as forceUpdate,h}from"./index-
|
|
6
|
+
import{f as forceUpdate,h}from"./index-f6adec6b.js";import{a as getElementDir}from"./dom-eedae61e.js";import{S as SLOTS}from"./resources-3b0fb6bf.js";import{S as SLOTS$1}from"./resources-6af25654.js";var overflowActionsDebounceInMs=150;var groupBufferHeight=2;var getMaxActionCount=function(e){var t=e.height,o=e.actionHeight,r=e.groupCount;return Math.floor((t-r*groupBufferHeight)/o)};var getOverflowCount=function(e){var t=e.actionCount,o=e.actionHeight,r=e.height,n=e.groupCount;return Math.max(t-getMaxActionCount({height:r,actionHeight:o,groupCount:n}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,o=e.expanded,r=e.overflowCount;var n=r;t.reverse().forEach((function(e){var t=0;var r=queryActions(e).reverse();r.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=o}}));if(n>0){r.some((function(e){var o=r.filter((function(e){return!e.slot}));if(o.length>1&&r.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){n--}}return n<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var o;return e||((o=t.closest("calcite-shell-panel"))===null||o===void 0?void 0:o.position)||"start"}function toggleChildActionText(e){var t=e.parent,o=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=o}));t.querySelectorAll("calcite-action-group").forEach((function(e){return e.expanded=o}))}var setTooltipReference=function(e){var t=e.tooltip,o=e.referenceElement,r=e.expanded,n=e.ref;if(t){t.referenceElement=!r&&o?o:null}if(n){n(o)}return o};var ExpandToggle=function(e){var t=e.expanded,o=e.intlExpand,r=e.intlCollapse,n=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var f=getElementDir(i)==="rtl";var s=t?r:o;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(f){v.reverse()}var g=getCalcitePosition(a,i)==="end";var p=g?v[1]:v[0];var d=g?v[0]:v[1];var m=h("calcite-action",{icon:t?p:d,onClick:n,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:s,textEnabled:t});return c?h("calcite-tooltip-manager",null,m):m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
|
|
@@ -1,6 +1,6 @@
|
|
|
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.433
|
|
5
5
|
*/
|
|
6
|
-
import{h}from"./index-
|
|
6
|
+
import{h}from"./index-f6adec6b.js";function constrainHeadingLevel(e){return Math.min(Math.max(Math.ceil(e),1),6)}var Heading=function(e,n){var a="h".concat(e.level);delete e.level;return h(a,Object.assign({},e),n)};export{Heading as H,constrainHeadingLevel as c};
|
|
@@ -1,6 +1,6 @@
|
|
|
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.433
|
|
5
5
|
*/
|
|
6
6
|
function getRoundRobinIndex(n,e){return(n+e)%e}export{getRoundRobinIndex as g};
|
|
@@ -1,6 +1,6 @@
|
|
|
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.433
|
|
5
5
|
*/
|
|
6
|
-
import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-a852cbc0.js";import{d as getElementProp,a as getElementDir,C as CSS_UTILITY}from"./dom-6c1262a4.js";import{g as guid}from"./guid-2a264f44.js";var accordionCss="@-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{--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{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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-width:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-bottom-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteAccordionChange=createEvent(this,"calciteAccordionChange",7);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var a=i.key;var o=t.target;var n=this.itemIndex(o)===0;var c=this.itemIndex(o)===this.items.length-1;switch(a){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(o)}break;case"ArrowUp":if(n){this.focusLastItem()}else{this.focusPrevItem(o)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem})};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var accordionItemCss="@-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{--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{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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-subtitle{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteAccordionItemKeyEvent=createEvent(this,"calciteAccordionItemKeyEvent",7);this.calciteAccordionItemSelect=createEvent(this,"calciteAccordionItemSelect",7);this.calciteAccordionItemClose=createEvent(this,"calciteAccordionItemClose",7);this.calciteAccordionItemRegister=createEvent(this,"calciteAccordionItemRegister",7);this.active=false;this.guid=guid();this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var a=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});var o=this.guid;var n="".concat(o,"-region");var c="".concat(o,"-button");return h(Host,{tabindex:"0"},h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{"aria-controls":n,class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i),id:c,onClick:this.itemHeaderClickHandler,role:"button"},this.icon?a:null,h("div",{class:"accordion-item-header-text"},h("span",{class:"accordion-item-title"},this.itemTitle),this.itemSubtitle?h("span",{class:"accordion-item-subtitle"},this.itemSubtitle):null),h("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.active?"minus":"plus",scale:"s"})),h("div",{"aria-expanded":this.active.toString(),"aria-labelledby":c,class:"accordion-item-content",id:n,role:"region"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active}break;case"single":this.active=this.el===this.requestedAccordionItem?!this.active:false;break;case"single-persist":this.active=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
|
|
6
|
+
import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-f6adec6b.js";import{d as getElementProp,a as getElementDir,C as CSS_UTILITY}from"./dom-eedae61e.js";import{g as guid}from"./guid-41edc50f.js";var accordionCss="@-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{--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{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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-width:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-bottom-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteAccordionChange=createEvent(this,"calciteAccordionChange",7);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var a=i.key;var o=t.target;var n=this.itemIndex(o)===0;var c=this.itemIndex(o)===this.items.length-1;switch(a){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(o)}break;case"ArrowUp":if(n){this.focusLastItem()}else{this.focusPrevItem(o)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem})};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var accordionItemCss="@-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{--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{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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-subtitle{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteAccordionItemKeyEvent=createEvent(this,"calciteAccordionItemKeyEvent",7);this.calciteAccordionItemSelect=createEvent(this,"calciteAccordionItemSelect",7);this.calciteAccordionItemClose=createEvent(this,"calciteAccordionItemClose",7);this.calciteAccordionItemRegister=createEvent(this,"calciteAccordionItemRegister",7);this.active=false;this.guid=guid();this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var a=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});var o=this.guid;var n="".concat(o,"-region");var c="".concat(o,"-button");return h(Host,{tabindex:"0"},h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{"aria-controls":n,class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i),id:c,onClick:this.itemHeaderClickHandler,role:"button"},this.icon?a:null,h("div",{class:"accordion-item-header-text"},h("span",{class:"accordion-item-title"},this.itemTitle),this.itemSubtitle?h("span",{class:"accordion-item-subtitle"},this.itemSubtitle):null),h("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.active?"minus":"plus",scale:"s"})),h("div",{"aria-expanded":this.active.toString(),"aria-labelledby":c,class:"accordion-item-content",id:n,role:"region"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active}break;case"single":this.active=this.el===this.requestedAccordionItem?!this.active:false;break;case"single-persist":this.active=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
|
|
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,n,o){function i(t){return t ins
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-next.
|
|
6
|
-
*/import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-
|
|
5
|
+
* v1.0.0-next.433
|
|
6
|
+
*/import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-f6adec6b.js";import{t as toggleChildActionText,o as overflowActionsDebounceInMs,q as queryActions,a as overflowActions,E as ExpandToggle,g as getOverflowCount}from"./ExpandToggle-215b4bd6.js";import{f as focusElement,g as getSlotted}from"./dom-eedae61e.js";import{c as createObserver}from"./observers-f78a3ebd.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-7475f53a.js";import{d as debounce}from"./debounce-926b1272.js";import"./resources-3b0fb6bf.js";import"./resources-6af25654.js";import"./guid-41edc50f.js";var CSS={actionGroupBottom:"action-group--bottom"};var SLOTS={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var TEXT={expand:"Expand",collapse:"Collapse"};var actionBarCss="@-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{--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{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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";var ActionBar=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionBarToggle=createEvent(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=createObserver("mutation",(function(){var t=e,n=t.el,o=t.expanded;toggleChildActionText({parent:n,expanded:o});e.conditionallyOverflowActions()}));this.resizeObserver=createObserver("resize",(function(t){return e.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var n=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!n.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(e.resizeHandler)};this.resizeHandler=function(t){var n=t.contentRect.height;e.resize(n)};this.resize=debounce((function(t){var n;var o=e,i=o.el,a=o.expanded,r=o.expandDisabled;if(!t){return}var l=queryActions(i);var s=r?l.length:l.length+1;var c=Array.from(i.querySelectorAll("calcite-action-group"));var d=getSlotted(i,SLOTS.bottomActions)||!r?c.length+1:c.length;var f=getOverflowCount({actionCount:s,actionHeight:(n=l[0])===null||n===void 0?void 0:n.clientHeight,height:t,groupCount:d});overflowActions({actionGroups:c,expanded:a,overflowCount:f})}),overflowActionsDebounceInMs);this.conditionallyOverflowActions=function(){if(!e.overflowActionsDisabled){e.overflowActions()}};this.toggleExpand=function(){e.expanded=!e.expanded};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){toggleChildActionText({parent:this.el,expanded:t});this.calciteActionBarToggle.emit()};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,o=n.el,i=n.expanded;toggleChildActionText({parent:o,expanded:i});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(o,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(o)}this.conditionallyOverflowActions();connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();disconnectConditionalSlotComponent(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:e.sent();return[2];case 2:this.el.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,o=t.intlExpand,i=t.intlCollapse,a=t.el,r=t.position,l=t.toggleExpand,s=t.scale;var c=getSlotted(a,SLOTS.expandTooltip);var d=o||TEXT.expand;var f=i||TEXT.collapse;var p=!n?h(ExpandToggle,{el:a,expanded:e,intlCollapse:f,intlExpand:d,position:r,ref:this.setExpandToggleRef,scale:s,toggle:l,tooltip:c}):null;return getSlotted(a,SLOTS.bottomActions)||p?h("calcite-action-group",{class:CSS.actionGroupBottom,scale:s},h("slot",{name:SLOTS.bottomActions}),h("slot",{name:SLOTS.expandTooltip}),p):null};t.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}();ActionBar.style=actionBarCss;export{ActionBar as calcite_action_bar};
|
|
@@ -1,6 +1,6 @@
|
|
|
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.433
|
|
5
5
|
*/
|
|
6
|
-
import{r as registerInstance,h,F as Fragment,g as getElement}from"./index-
|
|
6
|
+
import{r as registerInstance,h,F as Fragment,g as getElement}from"./index-f6adec6b.js";import{S as SLOTS,I as ICONS,T as TEXT}from"./resources-6af25654.js";import{g as getSlotted}from"./dom-eedae61e.js";import{S as SLOTS$1}from"./resources-3b0fb6bf.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-7475f53a.js";import"./guid-41edc50f.js";import"./observers-f78a3ebd.js";var actionGroupCss='@-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{--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{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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var ActionGroup=function(){function t(t){var n=this;registerInstance(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){n.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderTooltip=function(){var t=this.el;var n=getSlotted(t,SLOTS.menuTooltip);return n?h("slot",{name:SLOTS.menuTooltip,slot:SLOTS$1.tooltip}):null};t.prototype.renderMenu=function(){var t=this,n=t.el,a=t.expanded,e=t.intlMore,i=t.menuOpen,o=t.scale;var r=getSlotted(n,SLOTS.menuActions);return r?h("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:e||TEXT.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:i,placement:"leading-start",scale:o},h("calcite-action",{icon:ICONS.menu,scale:o,slot:SLOTS$1.trigger,text:e||TEXT.more,textEnabled:a}),h("slot",{name:SLOTS.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return h(Fragment,null,h("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();ActionGroup.style=actionGroupCss;export{ActionGroup as calcite_action_group};
|