@esri/calcite-components 1.0.0-next.286 → 1.0.0-next.287
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/CHANGELOG.md +2 -1
- package/dist/calcite/calcite.esm.js +5 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +4 -0
- package/dist/calcite/{p-0aa3fc7e.entry.js → p-00c20cb8.entry.js} +5 -1
- package/dist/calcite/p-01574cc9.system.entry.js +5 -0
- package/dist/calcite/p-034b30d0.system.entry.js +5 -0
- package/dist/calcite/{p-c2cd9c1d.system.entry.js → p-0467efd5.system.entry.js} +5 -1
- package/dist/calcite/{p-caf80cd7.js → p-05bf835f.js} +5 -1
- package/dist/calcite/p-07ba39b6.js +5 -0
- package/dist/calcite/p-09ced3ff.system.entry.js +5 -0
- package/dist/calcite/{p-f95c5864.entry.js → p-0e30afe6.entry.js} +5 -1
- package/dist/calcite/{p-bd291e00.entry.js → p-11071ac7.entry.js} +5 -1
- package/dist/calcite/p-157d05ce.js +5 -0
- package/dist/calcite/{p-be6b31d0.entry.js → p-16148eef.entry.js} +5 -1
- package/dist/calcite/{p-340e1f88.entry.js → p-161fae80.entry.js} +5 -1
- package/dist/calcite/{p-32a0f498.entry.js → p-1682482b.entry.js} +5 -1
- package/dist/calcite/p-1800ca58.system.entry.js +5 -0
- package/dist/calcite/p-192289eb.system.entry.js +5 -0
- package/dist/calcite/{p-a54a11ee.system.entry.js → p-197382be.system.entry.js} +5 -1
- package/dist/calcite/p-1a27bf28.system.entry.js +5 -0
- package/dist/calcite/{p-19a2021f.entry.js → p-1b2c1f55.entry.js} +5 -1
- package/dist/calcite/{p-53caa311.system.js → p-1d6404b5.system.js} +4 -0
- package/dist/calcite/p-1dc68118.system.entry.js +5 -0
- package/dist/calcite/{p-d2907af5.entry.js → p-1f17f6c6.entry.js} +5 -1
- package/dist/calcite/{p-010e5fb9.entry.js → p-1f27021e.entry.js} +5 -1
- package/dist/calcite/p-1fb7138b.js +5 -0
- package/dist/calcite/{p-f5b4c298.entry.js → p-22b45d8e.entry.js} +5 -1
- package/dist/calcite/p-26508b91.js +5 -0
- package/dist/calcite/p-280404ef.system.entry.js +5 -0
- package/dist/calcite/p-28fecce5.system.entry.js +5 -0
- package/dist/calcite/{p-a83557c6.entry.js → p-294dbdf2.entry.js} +5 -1
- package/dist/calcite/{p-771da7ed.system.entry.js → p-2b13e5a9.system.entry.js} +5 -1
- package/dist/calcite/p-2e53f47f.system.entry.js +5 -0
- package/dist/calcite/p-32faf98b.system.entry.js +5 -0
- package/dist/calcite/p-32fbf8cd.system.js +5 -0
- package/dist/calcite/{p-03b25bb5.entry.js → p-33e58a20.entry.js} +5 -1
- package/dist/calcite/p-34a6550f.system.entry.js +5 -0
- package/dist/calcite/{p-c1db7c01.entry.js → p-34fdad31.entry.js} +5 -1
- package/dist/calcite/p-36115e9d.system.entry.js +5 -0
- package/dist/calcite/{p-a6b26bd1.system.js → p-378ffa38.system.js} +4 -0
- package/dist/calcite/{p-efe6556c.system.entry.js → p-37fac73b.system.entry.js} +5 -1
- package/dist/calcite/{p-ef0ea98b.system.entry.js → p-380c71e8.system.entry.js} +5 -1
- package/dist/calcite/{p-8b6ca040.entry.js → p-38daa875.entry.js} +5 -1
- package/dist/calcite/{p-1cbb9027.entry.js → p-38f1f404.entry.js} +5 -1
- package/dist/calcite/{p-cd8d0dda.entry.js → p-3a529cc9.entry.js} +5 -1
- package/dist/calcite/p-3b17d8d0.system.js +5 -0
- package/dist/calcite/p-3db2dc30.system.entry.js +5 -0
- package/dist/calcite/{p-7de2ae67.system.js → p-4035444d.system.js} +5 -1
- package/dist/calcite/p-42c1ceea.system.entry.js +5 -0
- package/dist/calcite/{p-8e46c987.entry.js → p-43c9ac47.entry.js} +5 -1
- package/dist/calcite/p-45b13361.system.entry.js +5 -0
- package/dist/calcite/{p-defdc464.system.js → p-47313747.system.js} +4 -0
- package/dist/calcite/p-477bac2c.system.js +5 -0
- package/dist/calcite/p-4805ca9a.system.entry.js +5 -0
- package/dist/calcite/p-48d862ab.system.entry.js +5 -0
- package/dist/calcite/p-49dfc82d.system.entry.js +5 -0
- package/dist/calcite/{p-4dc4c758.entry.js → p-49fcc674.entry.js} +5 -1
- package/dist/calcite/{p-a75f07ae.entry.js → p-4b2f69cc.entry.js} +5 -1
- package/dist/calcite/{p-de00c01f.entry.js → p-4ba0e355.entry.js} +5 -1
- package/dist/calcite/p-4de6f4fd.system.js +5 -0
- package/dist/calcite/p-50e1a7c9.system.entry.js +5 -0
- package/dist/calcite/{p-81371076.entry.js → p-5376ff1d.entry.js} +5 -1
- package/dist/calcite/{p-95dfb659.system.js → p-56b352bf.system.js} +4 -0
- package/dist/calcite/{p-39b743d9.system.entry.js → p-5accac7d.system.entry.js} +5 -1
- package/dist/calcite/p-5b87b98f.system.entry.js +5 -0
- package/dist/calcite/p-5cab6853.js +5 -0
- package/dist/calcite/{p-dc825c55.js → p-5fda3de2.js} +5 -1
- package/dist/calcite/{p-23b87c6a.system.entry.js → p-6235a763.system.entry.js} +5 -1
- package/dist/calcite/p-6281ab45.system.entry.js +5 -0
- package/dist/calcite/{p-8242ef10.entry.js → p-649b9bf0.entry.js} +5 -1
- package/dist/calcite/{p-90ee6b48.entry.js → p-66845ec0.entry.js} +5 -1
- package/dist/calcite/{p-2a9b4a25.system.js → p-6a541e77.system.js} +5 -1
- package/dist/calcite/{p-1b2e314d.system.js → p-6bdedd7f.system.js} +5 -1
- package/dist/calcite/p-6fe5f2de.system.entry.js +5 -0
- package/dist/calcite/{p-cebd4de5.js → p-72563742.js} +4 -0
- package/dist/calcite/p-773b9826.system.entry.js +5 -0
- package/dist/calcite/{p-97b06cc3.entry.js → p-7839d1c9.entry.js} +5 -1
- package/dist/calcite/{p-8cfab352.entry.js → p-7878aa7c.entry.js} +5 -1
- package/dist/calcite/p-78820fed.system.entry.js +5 -0
- package/dist/calcite/p-7bcd2eb9.system.js +5 -0
- package/dist/calcite/p-7ed4c551.system.js +5 -0
- package/dist/calcite/{p-7c5c2b30.js → p-7fab451d.js} +5 -1
- package/dist/calcite/{p-c95a18d4.entry.js → p-7fed4823.entry.js} +5 -1
- package/dist/calcite/{p-4bb3e49c.entry.js → p-800874fd.entry.js} +5 -1
- package/dist/calcite/{p-a0d4c79d.entry.js → p-8655c0a1.entry.js} +5 -1
- package/dist/calcite/{p-3b55b390.entry.js → p-86788d34.entry.js} +5 -1
- package/dist/calcite/{p-1c3c9e42.entry.js → p-8967b27b.entry.js} +5 -1
- package/dist/calcite/p-89b4e322.system.entry.js +5 -0
- package/dist/calcite/{p-c4b07cd6.entry.js → p-8a535973.entry.js} +5 -1
- package/dist/calcite/p-8a63221d.js +5 -0
- package/dist/calcite/{p-4e3dcb60.entry.js → p-8efb43fc.entry.js} +5 -1
- package/dist/calcite/p-914c3cc4.system.js +5 -0
- package/dist/calcite/{p-bcdfb7b3.system.js → p-91645bf7.system.js} +5 -1
- package/dist/calcite/p-91889ade.system.entry.js +5 -0
- package/dist/calcite/{p-90b88d97.system.entry.js → p-9358deb1.system.entry.js} +5 -1
- package/dist/calcite/{p-adce2a66.entry.js → p-95e82a29.entry.js} +5 -1
- package/dist/calcite/{p-00f2f64d.system.entry.js → p-975ca343.system.entry.js} +5 -1
- package/dist/calcite/{p-b2a6687b.system.js → p-9965ea81.system.js} +5 -1
- package/dist/calcite/{p-1114dae7.entry.js → p-9cad254a.entry.js} +5 -1
- package/dist/calcite/{p-ec397dae.entry.js → p-9d04923b.entry.js} +5 -1
- package/dist/calcite/{p-d5e63242.entry.js → p-9ff5b403.entry.js} +5 -1
- package/dist/calcite/p-a0c02648.system.js +5 -0
- package/dist/calcite/{p-0c356cca.entry.js → p-a1911108.entry.js} +5 -1
- package/dist/calcite/{p-b6dbb684.js → p-a20df95c.js} +5 -1
- package/dist/calcite/{p-0671d67f.entry.js → p-a4f2cc4c.entry.js} +5 -1
- package/dist/calcite/{p-c5257119.entry.js → p-a5a50052.entry.js} +5 -1
- package/dist/calcite/{p-55f7adaa.system.entry.js → p-a5bbfe14.system.entry.js} +5 -1
- package/dist/calcite/{p-19ac376f.js → p-a62de092.js} +4 -0
- package/dist/calcite/p-a67c48b1.system.entry.js +5 -0
- package/dist/calcite/p-a8c759ae.system.js +5 -0
- package/dist/calcite/{p-170fb8e8.system.entry.js → p-a8cd5cde.system.entry.js} +5 -1
- package/dist/calcite/p-a923201d.system.entry.js +5 -0
- package/dist/calcite/{p-a09cd797.entry.js → p-a97338b7.entry.js} +5 -1
- package/dist/calcite/p-aa53b2aa.system.entry.js +5 -0
- package/dist/calcite/p-aad45edf.system.js +5 -0
- package/dist/calcite/{p-82a11724.system.js → p-ac9607f2.system.js} +4 -0
- package/dist/calcite/p-accdb0ce.js +5 -0
- package/dist/calcite/{p-2e9e2b7c.entry.js → p-adfa75fa.entry.js} +5 -1
- package/dist/calcite/p-ae4f203c.system.entry.js +5 -0
- package/dist/calcite/{p-58421494.js → p-b06207bb.js} +4 -0
- package/dist/calcite/p-b1a670dd.system.entry.js +5 -0
- package/dist/calcite/{p-af695f59.js → p-b2ab0485.js} +5 -1
- package/dist/calcite/{p-79e0b61b.system.entry.js → p-b5c2dfce.system.entry.js} +5 -1
- package/dist/calcite/{p-7b71e1d4.js → p-b7d3039d.js} +5 -1
- package/dist/calcite/p-b95dbc48.system.entry.js +5 -0
- package/dist/calcite/p-bb577ef7.system.entry.js +5 -0
- package/dist/calcite/{p-675364da.system.entry.js → p-bb916828.system.entry.js} +5 -1
- package/dist/calcite/{p-ebb0ef70.entry.js → p-bdd6ec61.entry.js} +5 -1
- package/dist/calcite/p-bee79057.system.entry.js +5 -0
- package/dist/calcite/{p-d78a24bb.entry.js → p-c026ce05.entry.js} +5 -1
- package/dist/calcite/{p-203e04e5.entry.js → p-c198f23c.entry.js} +5 -1
- package/dist/calcite/{p-19d3b749.system.entry.js → p-c3922ef7.system.entry.js} +5 -1
- package/dist/calcite/{p-8975e7c8.entry.js → p-c57f8690.entry.js} +5 -1
- package/dist/calcite/{p-a57a7f49.js → p-c5ec8d74.js} +4 -0
- package/dist/calcite/p-c74fc589.system.js +5 -0
- package/dist/calcite/{p-69837b80.entry.js → p-c7b4e11f.entry.js} +5 -1
- package/dist/calcite/{p-8a30b93d.system.js → p-caf7085a.system.js} +4 -0
- package/dist/calcite/p-cb44170e.system.js +5 -0
- package/dist/calcite/{p-875b172e.entry.js → p-cb87824b.entry.js} +5 -1
- package/dist/calcite/{p-30f1442b.js → p-cbdf0e6c.js} +4 -0
- package/dist/calcite/p-cf512cfc.system.entry.js +5 -0
- package/dist/calcite/p-d1b49fa1.system.entry.js +5 -0
- package/dist/calcite/p-d35a300b.entry.js +5 -0
- package/dist/calcite/{p-18a62b5e.js → p-d35e423d.js} +4 -0
- package/dist/calcite/{p-fa4a6b3c.entry.js → p-d7756753.entry.js} +5 -1
- package/dist/calcite/{p-593d4d05.js → p-daf4bb66.js} +5 -1
- package/dist/calcite/p-db10485b.system.js +5 -0
- package/dist/calcite/{p-0a465f92.entry.js → p-dd92cde1.entry.js} +5 -1
- package/dist/calcite/{p-2c235db8.system.js → p-e020662f.system.js} +4 -0
- package/dist/calcite/{p-b0cbcf37.entry.js → p-e3ea64dc.entry.js} +5 -1
- package/dist/calcite/p-e4acb5a8.js +5 -0
- package/dist/calcite/p-e524bf4d.system.entry.js +5 -0
- package/dist/calcite/{p-69e382de.entry.js → p-e6cc7798.entry.js} +5 -1
- package/dist/calcite/{p-6cb2f24f.entry.js → p-e6ec69cf.entry.js} +5 -1
- package/dist/calcite/{p-835b14f7.system.entry.js → p-eb027f31.system.entry.js} +5 -1
- package/dist/calcite/{p-4a69f94f.entry.js → p-edc12d5c.entry.js} +5 -1
- package/dist/calcite/{p-fc725435.entry.js → p-efbf0d26.entry.js} +5 -1
- package/dist/calcite/{p-42da4366.js → p-f07d3627.js} +5 -1
- package/dist/calcite/{p-59f7b582.system.entry.js → p-f1cf1a10.system.entry.js} +5 -1
- package/dist/calcite/p-f243b615.js +5 -0
- package/dist/calcite/p-f33a21cf.system.entry.js +5 -0
- package/dist/calcite/p-f9428f19.system.entry.js +5 -0
- package/dist/calcite/{p-bfca7d51.entry.js → p-fc0b3ef2.entry.js} +5 -1
- package/dist/calcite/{p-65f4f1e9.entry.js → p-fe3880f2.entry.js} +5 -1
- package/dist/calcite/p-ffb8f0a9.system.entry.js +5 -0
- package/dist/cjs/{CalciteExpandToggle-b5735fd2.js → CalciteExpandToggle-0d802f83.js} +8 -4
- package/dist/cjs/{CalciteHeading-177f59f2.js → CalciteHeading-381b977d.js} +5 -1
- package/dist/cjs/array-a5dedf5a.js +11 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -4
- package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -8
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -5
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -6
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -6
- package/dist/cjs/calcite-action.cjs.entry.js +8 -4
- package/dist/cjs/calcite-alert.cjs.entry.js +8 -4
- package/dist/cjs/calcite-avatar.cjs.entry.js +8 -4
- package/dist/cjs/calcite-block_2.cjs.entry.js +20 -13
- package/dist/cjs/calcite-button.cjs.entry.js +9 -5
- package/dist/cjs/calcite-card.cjs.entry.js +8 -4
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -5
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -3
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -7
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +13 -9
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -11
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +9 -5
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -3
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -5
- package/dist/cjs/calcite-flow.cjs.entry.js +6 -2
- package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -6
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +8 -4
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -4
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -9
- package/dist/cjs/calcite-input-message.cjs.entry.js +7 -3
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -6
- package/dist/cjs/calcite-input.cjs.entry.js +12 -8
- package/dist/cjs/calcite-label.cjs.entry.js +7 -3
- package/dist/cjs/calcite-link.cjs.entry.js +7 -3
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -4
- package/dist/cjs/calcite-loader.cjs.entry.js +6 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +9 -5
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -4
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -5
- package/dist/cjs/calcite-pagination.cjs.entry.js +7 -3
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -5
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -8
- package/dist/cjs/calcite-popover_2.cjs.entry.js +9 -5
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -1
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -6
- package/dist/cjs/calcite-radio_2.cjs.entry.js +9 -5
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -4
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -3
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -3
- package/dist/cjs/calcite-split-button.cjs.entry.js +7 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +8 -4
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -6
- package/dist/cjs/calcite-tab_4.cjs.entry.js +9 -5
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -3
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -3
- package/dist/cjs/calcite-tip_3.cjs.entry.js +9 -5
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +9 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -4
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -8
- package/dist/cjs/calcite.cjs.js +5 -1
- package/dist/cjs/{debounce-11980960.js → debounce-95979061.js} +4 -0
- package/dist/cjs/{dom-c9cafa59.js → dom-19822169.js} +5 -1
- package/dist/cjs/{forIn-46535ded.js → forIn-a5d553af.js} +5 -1
- package/dist/cjs/{form-432ae178.js → form-00fb301c.js} +4 -0
- package/dist/cjs/{guid-4637ad8f.js → guid-b270f0db.js} +4 -0
- package/dist/cjs/{index-105d9087.js → index-1987a382.js} +4 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/{interfaces-bc0f5779.js → interfaces-54651c1c.js} +4 -0
- package/dist/cjs/{key-f470de4c.js → key-8bfb93ec.js} +4 -0
- package/dist/cjs/{label-80f9023b.js → label-4c30cbca.js} +5 -1
- package/dist/cjs/loader.cjs.js +5 -1
- package/dist/cjs/{locale-d81a46b2.js → locale-69dc9583.js} +5 -1
- package/dist/cjs/math-9d44163f.js +9 -0
- package/dist/cjs/{number-2eec0d86.js → number-e6448e15.js} +5 -1
- package/dist/cjs/{observers-88b3a2d4.js → observers-41837607.js} +4 -0
- package/dist/cjs/{popper-09823727.js → popper-cd9c0742.js} +5 -1
- package/dist/cjs/{resources-ae299e51.js → resources-407a4290.js} +4 -0
- package/dist/cjs/{resources-01629449.js → resources-7dcd68d1.js} +6 -2
- package/dist/cjs/{resources-bbca3cea.js → resources-d0619f6a.js} +8 -4
- package/dist/cjs/{resources-76637167.js → resources-ffe563a2.js} +4 -0
- package/dist/cjs/{sortable.esm-bcce1d94.js → sortable.esm-d7a4560b.js} +4 -0
- package/dist/cjs/{utils-d549a0a9.js → utils-55d67711.js} +4 -0
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +4 -0
- package/dist/collection/components/calcite-accordion/interfaces.js +4 -0
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +4 -0
- package/dist/collection/components/calcite-action/calcite-action.js +4 -0
- package/dist/collection/components/calcite-action/resources.js +4 -0
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +4 -0
- package/dist/collection/components/calcite-action-bar/resources.js +4 -0
- package/dist/collection/components/calcite-action-bar/utils.js +4 -0
- package/dist/collection/components/calcite-action-group/calcite-action-group.js +4 -0
- package/dist/collection/components/calcite-action-group/resources.js +4 -0
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +4 -0
- package/dist/collection/components/calcite-action-menu/resources.js +4 -0
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +4 -0
- package/dist/collection/components/calcite-action-pad/resources.js +4 -0
- package/dist/collection/components/calcite-alert/calcite-alert.js +4 -0
- package/dist/collection/components/calcite-alert/interfaces.js +4 -0
- package/dist/collection/components/calcite-alert/resources.js +4 -0
- package/dist/collection/components/calcite-avatar/calcite-avatar.js +4 -0
- package/dist/collection/components/calcite-avatar/utils.js +4 -0
- package/dist/collection/components/calcite-block/calcite-block.css +18 -0
- package/dist/collection/components/calcite-block/calcite-block.js +11 -6
- package/dist/collection/components/calcite-block/resources.js +8 -2
- package/dist/collection/components/calcite-block-section/calcite-block-section.js +4 -0
- package/dist/collection/components/calcite-block-section/interfaces.js +4 -0
- package/dist/collection/components/calcite-block-section/resources.js +4 -0
- package/dist/collection/components/calcite-button/calcite-button.js +4 -0
- package/dist/collection/components/calcite-button/interfaces.js +4 -0
- package/dist/collection/components/calcite-button/resources.js +4 -0
- package/dist/collection/components/calcite-card/calcite-card.js +4 -0
- package/dist/collection/components/calcite-card/resources.js +4 -0
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +4 -0
- package/dist/collection/components/calcite-chip/calcite-chip.js +4 -0
- package/dist/collection/components/calcite-chip/interfaces.js +4 -0
- package/dist/collection/components/calcite-chip/resources.js +4 -0
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +4 -0
- package/dist/collection/components/calcite-color-picker/interfaces.js +4 -0
- package/dist/collection/components/calcite-color-picker/resources.js +4 -0
- package/dist/collection/components/calcite-color-picker/utils.js +4 -0
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -0
- package/dist/collection/components/calcite-color-picker-hex-input/resources.js +4 -0
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +4 -0
- package/dist/collection/components/calcite-color-picker-swatch/resources.js +4 -0
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +4 -0
- package/dist/collection/components/calcite-combobox/interfaces.js +4 -0
- package/dist/collection/components/calcite-combobox/resources.js +4 -0
- package/dist/collection/components/calcite-combobox/utils.js +4 -0
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +4 -0
- package/dist/collection/components/calcite-combobox-item/resources.js +4 -0
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +4 -0
- package/dist/collection/components/calcite-combobox-item-group/resources.js +4 -0
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +4 -0
- package/dist/collection/components/calcite-date-picker/interfaces.js +4 -0
- package/dist/collection/components/calcite-date-picker/resources.js +4 -0
- package/dist/collection/components/calcite-date-picker/utils.js +4 -0
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +1 -1
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +4 -0
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +1 -1
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +4 -0
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +1 -1
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +4 -0
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +4 -0
- package/dist/collection/components/calcite-dropdown/interfaces.js +4 -0
- package/dist/collection/components/calcite-dropdown/resources.js +4 -0
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +4 -0
- package/dist/collection/components/calcite-dropdown-group/interfaces.js +4 -0
- package/dist/collection/components/calcite-dropdown-group/resources.js +4 -0
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +4 -0
- package/dist/collection/components/calcite-dropdown-item/resources.js +4 -0
- package/dist/collection/components/calcite-fab/calcite-fab.js +4 -0
- package/dist/collection/components/calcite-fab/resources.js +4 -0
- package/dist/collection/components/calcite-filter/calcite-filter.js +4 -0
- package/dist/collection/components/calcite-filter/resources.js +4 -0
- package/dist/collection/components/calcite-flow/calcite-flow.js +4 -0
- package/dist/collection/components/calcite-flow/interfaces.js +4 -0
- package/dist/collection/components/calcite-flow/resources.js +4 -0
- package/dist/collection/components/calcite-graph/calcite-graph.js +4 -0
- package/dist/collection/components/calcite-graph/interfaces.js +4 -0
- package/dist/collection/components/calcite-graph/util.js +4 -0
- package/dist/collection/components/calcite-handle/calcite-handle.js +4 -0
- package/dist/collection/components/calcite-handle/resources.js +4 -0
- package/dist/collection/components/calcite-icon/calcite-icon.js +4 -0
- package/dist/collection/components/calcite-icon/resources.js +4 -0
- package/dist/collection/components/calcite-icon/utils.js +4 -0
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +4 -0
- package/dist/collection/components/calcite-inline-editable/resources.js +4 -0
- package/dist/collection/components/calcite-input/calcite-input.js +4 -0
- package/dist/collection/components/calcite-input/interfaces.js +4 -0
- package/dist/collection/components/calcite-input/resources.js +4 -0
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +4 -0
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +4 -0
- package/dist/collection/components/calcite-input-message/interfaces.js +4 -0
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +4 -0
- package/dist/collection/components/calcite-label/calcite-label.js +4 -0
- package/dist/collection/components/calcite-label/resources.js +4 -0
- package/dist/collection/components/calcite-link/calcite-link.js +4 -0
- package/dist/collection/components/calcite-list/calcite-list.js +4 -0
- package/dist/collection/components/calcite-list/resources.js +4 -0
- package/dist/collection/components/calcite-list-item/calcite-list-item.js +4 -0
- package/dist/collection/components/calcite-list-item/resources.js +4 -0
- package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.js +4 -0
- package/dist/collection/components/calcite-list-item-group/resources.js +4 -0
- package/dist/collection/components/calcite-loader/calcite-loader.js +4 -0
- package/dist/collection/components/calcite-modal/calcite-modal.js +4 -0
- package/dist/collection/components/calcite-modal/interfaces.js +4 -0
- package/dist/collection/components/calcite-modal/resources.js +4 -0
- package/dist/collection/components/calcite-notice/calcite-notice.js +4 -0
- package/dist/collection/components/calcite-notice/resources.js +4 -0
- package/dist/collection/components/calcite-option/calcite-option.js +4 -0
- package/dist/collection/components/calcite-option-group/calcite-option-group.js +4 -0
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +4 -0
- package/dist/collection/components/calcite-pagination/resources.js +4 -0
- package/dist/collection/components/calcite-panel/calcite-panel.js +4 -0
- package/dist/collection/components/calcite-panel/resources.js +4 -0
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +4 -0
- package/dist/collection/components/calcite-pick-list/resources.js +4 -0
- package/dist/collection/components/calcite-pick-list/shared-list-logic.js +4 -0
- package/dist/collection/components/calcite-pick-list/shared-list-render.js +4 -0
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +4 -0
- package/dist/collection/components/calcite-pick-list-group/resources.js +4 -0
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +4 -0
- package/dist/collection/components/calcite-pick-list-item/resources.js +4 -0
- package/dist/collection/components/calcite-popover/calcite-popover.js +4 -0
- package/dist/collection/components/calcite-popover/resources.js +4 -0
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +4 -0
- package/dist/collection/components/calcite-progress/calcite-progress.js +4 -0
- package/dist/collection/components/calcite-radio/calcite-radio.js +4 -0
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +4 -0
- package/dist/collection/components/calcite-radio-button/resources.js +4 -0
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +4 -0
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +4 -0
- package/dist/collection/components/calcite-radio-group/interfaces.js +4 -0
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +4 -0
- package/dist/collection/components/calcite-radio-group-item/resources.js +4 -0
- package/dist/collection/components/calcite-rating/calcite-rating.js +4 -0
- package/dist/collection/components/calcite-rating/resources.js +4 -0
- package/dist/collection/components/calcite-scrim/calcite-scrim.js +4 -0
- package/dist/collection/components/calcite-scrim/resources.js +4 -0
- package/dist/collection/components/calcite-select/calcite-select.js +4 -0
- package/dist/collection/components/calcite-select/resources.js +4 -0
- package/dist/collection/components/calcite-shell/calcite-shell.js +4 -0
- package/dist/collection/components/calcite-shell/resources.js +4 -0
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +4 -0
- package/dist/collection/components/calcite-shell-center-row/resources.js +4 -0
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +4 -0
- package/dist/collection/components/calcite-shell-panel/resources.js +4 -0
- package/dist/collection/components/calcite-slider/calcite-slider.js +4 -0
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.js +4 -0
- package/dist/collection/components/calcite-sortable-list/resources.js +4 -0
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +4 -0
- package/dist/collection/components/calcite-split-button/resources.js +4 -0
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -0
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +4 -0
- package/dist/collection/components/calcite-switch/calcite-switch.js +4 -0
- package/dist/collection/components/calcite-tab/calcite-tab.js +4 -0
- package/dist/collection/components/calcite-tab/interfaces.js +4 -0
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +4 -0
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +4 -0
- package/dist/collection/components/calcite-tabs/calcite-tabs.js +4 -0
- package/dist/collection/components/calcite-tabs/interfaces.js +4 -0
- package/dist/collection/components/calcite-tabs/resources.js +4 -0
- package/dist/collection/components/calcite-tile/calcite-tile.js +4 -0
- package/dist/collection/components/calcite-tile/resources.js +4 -0
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +4 -0
- package/dist/collection/components/calcite-tile-select/interfaces.js +4 -0
- package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.js +4 -0
- package/dist/collection/components/calcite-tile-select-group/interfaces.js +4 -0
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +4 -0
- package/dist/collection/components/calcite-time-picker/resources.js +4 -0
- package/dist/collection/components/calcite-tip/calcite-tip.js +4 -0
- package/dist/collection/components/calcite-tip/resources.js +4 -0
- package/dist/collection/components/calcite-tip-group/calcite-tip-group.js +4 -0
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +4 -0
- package/dist/collection/components/calcite-tip-manager/resources.js +4 -0
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +4 -0
- package/dist/collection/components/calcite-tooltip/resources.js +4 -0
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +4 -0
- package/dist/collection/components/calcite-tree/calcite-tree.js +4 -0
- package/dist/collection/components/calcite-tree/interfaces.js +4 -0
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +4 -0
- package/dist/collection/components/calcite-tree-item/interfaces.js +4 -0
- package/dist/collection/components/calcite-tree-item/resources.js +4 -0
- package/dist/collection/components/calcite-value-list/calcite-value-list.js +4 -0
- package/dist/collection/components/calcite-value-list/resources.js +4 -0
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +4 -0
- package/dist/collection/components/calcite-value-list-item/resources.js +4 -0
- package/dist/collection/components/functional/CalciteExpandToggle.js +4 -0
- package/dist/collection/components/functional/CalciteHeading.js +4 -0
- package/dist/collection/components/interfaces.js +4 -0
- package/dist/collection/utils/array.js +4 -0
- package/dist/collection/utils/date.js +4 -0
- package/dist/collection/utils/dom.js +4 -0
- package/dist/collection/utils/filter.js +4 -0
- package/dist/collection/utils/form.js +4 -0
- package/dist/collection/utils/guid.js +4 -0
- package/dist/collection/utils/key.js +4 -0
- package/dist/collection/utils/label.js +4 -0
- package/dist/collection/utils/locale.js +4 -0
- package/dist/collection/utils/math.js +4 -0
- package/dist/collection/utils/number.js +4 -0
- package/dist/collection/utils/observers.js +4 -0
- package/dist/collection/utils/popper.js +4 -0
- package/dist/collection/utils/resources.js +4 -0
- package/dist/collection/utils/time.js +4 -0
- package/dist/custom-elements/index.js +19 -12
- package/dist/custom-elements/index.mjs +19 -12
- package/dist/esm/{CalciteExpandToggle-a149fed4.js → CalciteExpandToggle-b1e6e72d.js} +8 -4
- package/dist/esm/{CalciteHeading-29855e9f.js → CalciteHeading-1735f17a.js} +5 -1
- package/dist/esm/array-91a648e2.js +9 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -4
- package/dist/esm/calcite-action-bar.entry.js +12 -8
- package/dist/esm/calcite-action-group.entry.js +9 -5
- package/dist/esm/calcite-action-menu.entry.js +10 -6
- package/dist/esm/calcite-action-pad.entry.js +10 -6
- package/dist/esm/calcite-action.entry.js +8 -4
- package/dist/esm/calcite-alert.entry.js +8 -4
- package/dist/esm/calcite-avatar.entry.js +8 -4
- package/dist/esm/calcite-block_2.entry.js +20 -13
- package/dist/esm/calcite-button.entry.js +9 -5
- package/dist/esm/calcite-card.entry.js +8 -4
- package/dist/esm/calcite-checkbox.entry.js +9 -5
- package/dist/esm/calcite-chip.entry.js +7 -3
- package/dist/esm/calcite-color-picker_3.entry.js +11 -7
- package/dist/esm/calcite-combobox_3.entry.js +13 -9
- package/dist/esm/calcite-date-picker_4.entry.js +15 -11
- package/dist/esm/calcite-dropdown_3.entry.js +9 -5
- package/dist/esm/calcite-fab.entry.js +7 -3
- package/dist/esm/calcite-filter.entry.js +9 -5
- package/dist/esm/calcite-flow.entry.js +6 -2
- package/dist/esm/calcite-graph_2.entry.js +10 -6
- package/dist/esm/calcite-handle.entry.js +5 -1
- package/dist/esm/calcite-icon.entry.js +8 -4
- package/dist/esm/calcite-inline-editable.entry.js +8 -4
- package/dist/esm/calcite-input-date-picker.entry.js +13 -9
- package/dist/esm/calcite-input-message.entry.js +7 -3
- package/dist/esm/calcite-input-time-picker_2.entry.js +10 -6
- package/dist/esm/calcite-input.entry.js +12 -8
- package/dist/esm/calcite-label.entry.js +7 -3
- package/dist/esm/calcite-link.entry.js +7 -3
- package/dist/esm/calcite-list_3.entry.js +8 -4
- package/dist/esm/calcite-loader.entry.js +6 -2
- package/dist/esm/calcite-modal.entry.js +9 -5
- package/dist/esm/calcite-notice.entry.js +8 -4
- package/dist/esm/calcite-option_3.entry.js +9 -5
- package/dist/esm/calcite-pagination.entry.js +7 -3
- package/dist/esm/calcite-panel.entry.js +9 -5
- package/dist/esm/calcite-pick-list_3.entry.js +12 -8
- package/dist/esm/calcite-popover_2.entry.js +9 -5
- package/dist/esm/calcite-progress.entry.js +5 -1
- package/dist/esm/calcite-radio-button-group.entry.js +5 -1
- package/dist/esm/calcite-radio-group_2.entry.js +10 -6
- package/dist/esm/calcite-radio_2.entry.js +9 -5
- package/dist/esm/calcite-rating.entry.js +8 -4
- package/dist/esm/calcite-scrim.entry.js +5 -1
- package/dist/esm/calcite-shell_3.entry.js +7 -3
- package/dist/esm/calcite-sortable-list.entry.js +7 -3
- package/dist/esm/calcite-split-button.entry.js +7 -3
- package/dist/esm/calcite-stepper_2.entry.js +8 -4
- package/dist/esm/calcite-switch.entry.js +10 -6
- package/dist/esm/calcite-tab_4.entry.js +9 -5
- package/dist/esm/calcite-tile-select_2.entry.js +7 -3
- package/dist/esm/calcite-tile.entry.js +7 -3
- package/dist/esm/calcite-tip_3.entry.js +9 -5
- package/dist/esm/calcite-tooltip_2.entry.js +9 -5
- package/dist/esm/calcite-tree_2.entry.js +8 -4
- package/dist/esm/calcite-value-list_2.entry.js +12 -8
- package/dist/esm/calcite.js +5 -1
- package/dist/esm/{debounce-047e09f4.js → debounce-79648d42.js} +4 -0
- package/dist/esm/{dom-b369a031.js → dom-70b0e988.js} +5 -1
- package/dist/esm/{forIn-d55260fc.js → forIn-48d8fb84.js} +5 -1
- package/dist/esm/{form-8aa0d95b.js → form-cee9f632.js} +4 -0
- package/dist/esm/{guid-09142681.js → guid-196bd5ea.js} +4 -0
- package/dist/esm/{index-f8f0bea7.js → index-d653c37f.js} +4 -0
- package/dist/esm/index.js +4 -1
- package/dist/esm/{interfaces-355fccb6.js → interfaces-51dc4e1b.js} +4 -0
- package/dist/esm/{key-ec82f942.js → key-69001a68.js} +4 -0
- package/dist/esm/{label-7b249c54.js → label-426b4471.js} +5 -1
- package/dist/esm/loader.js +5 -1
- package/dist/esm/{locale-8f48fd10.js → locale-6c1b85c7.js} +5 -1
- package/dist/esm/math-250d4476.js +7 -0
- package/dist/esm/{number-ca3ae047.js → number-e7393766.js} +5 -1
- package/dist/esm/{observers-c93d4fe5.js → observers-8f0bc419.js} +4 -0
- package/dist/esm/{popper-39b5e49d.js → popper-44055f06.js} +5 -1
- package/dist/esm/{resources-882eb855.js → resources-3b481489.js} +6 -2
- package/dist/esm/{resources-c651d73a.js → resources-56ac5dd9.js} +8 -4
- package/dist/esm/{resources-82817f70.js → resources-584acd9b.js} +4 -0
- package/dist/esm/{resources-c72ebfea.js → resources-7c6029b6.js} +4 -0
- package/dist/esm/{sortable.esm-2f5354d3.js → sortable.esm-04824d33.js} +4 -0
- package/dist/esm/{utils-60acc1d6.js → utils-6beb0662.js} +4 -0
- package/dist/esm-es5/{CalciteExpandToggle-a149fed4.js → CalciteExpandToggle-b1e6e72d.js} +5 -1
- package/dist/esm-es5/CalciteHeading-1735f17a.js +5 -0
- package/dist/esm-es5/array-91a648e2.js +5 -0
- package/dist/esm-es5/calcite-accordion_2.entry.js +5 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +5 -1
- package/dist/esm-es5/calcite-action-group.entry.js +5 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +5 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +5 -1
- package/dist/esm-es5/calcite-action.entry.js +5 -1
- package/dist/esm-es5/calcite-alert.entry.js +5 -1
- package/dist/esm-es5/calcite-avatar.entry.js +5 -1
- package/dist/esm-es5/calcite-block_2.entry.js +5 -1
- package/dist/esm-es5/calcite-button.entry.js +5 -1
- package/dist/esm-es5/calcite-card.entry.js +5 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +5 -1
- package/dist/esm-es5/calcite-chip.entry.js +5 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +5 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +5 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +5 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +5 -1
- package/dist/esm-es5/calcite-fab.entry.js +5 -1
- package/dist/esm-es5/calcite-filter.entry.js +5 -1
- package/dist/esm-es5/calcite-flow.entry.js +5 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +5 -1
- package/dist/esm-es5/calcite-handle.entry.js +5 -1
- package/dist/esm-es5/calcite-icon.entry.js +5 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +5 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +5 -1
- package/dist/esm-es5/calcite-input-message.entry.js +5 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +5 -1
- package/dist/esm-es5/calcite-input.entry.js +5 -1
- package/dist/esm-es5/calcite-label.entry.js +5 -1
- package/dist/esm-es5/calcite-link.entry.js +5 -1
- package/dist/esm-es5/calcite-list_3.entry.js +5 -1
- package/dist/esm-es5/calcite-loader.entry.js +5 -1
- package/dist/esm-es5/calcite-modal.entry.js +5 -1
- package/dist/esm-es5/calcite-notice.entry.js +5 -1
- package/dist/esm-es5/calcite-option_3.entry.js +5 -1
- package/dist/esm-es5/calcite-pagination.entry.js +5 -1
- package/dist/esm-es5/calcite-panel.entry.js +5 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +5 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +5 -1
- package/dist/esm-es5/calcite-progress.entry.js +5 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +5 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +5 -1
- package/dist/esm-es5/calcite-radio_2.entry.js +5 -1
- package/dist/esm-es5/calcite-rating.entry.js +5 -1
- package/dist/esm-es5/calcite-scrim.entry.js +5 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +5 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +5 -1
- package/dist/esm-es5/calcite-split-button.entry.js +5 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +5 -1
- package/dist/esm-es5/calcite-switch.entry.js +5 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +5 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +5 -1
- package/dist/esm-es5/calcite-tile.entry.js +5 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +5 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +5 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +5 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +5 -1
- package/dist/esm-es5/calcite.js +5 -1
- package/dist/esm-es5/{debounce-047e09f4.js → debounce-79648d42.js} +4 -0
- package/dist/esm-es5/dom-70b0e988.js +5 -0
- package/dist/esm-es5/{forIn-d55260fc.js → forIn-48d8fb84.js} +5 -1
- package/dist/esm-es5/{form-8aa0d95b.js → form-cee9f632.js} +4 -0
- package/dist/esm-es5/guid-196bd5ea.js +5 -0
- package/dist/esm-es5/index-d653c37f.js +5 -0
- package/dist/esm-es5/index.js +4 -0
- package/dist/esm-es5/{interfaces-355fccb6.js → interfaces-51dc4e1b.js} +4 -0
- package/dist/esm-es5/{key-ec82f942.js → key-69001a68.js} +4 -0
- package/dist/esm-es5/{label-7b249c54.js → label-426b4471.js} +5 -1
- package/dist/esm-es5/loader.js +5 -1
- package/dist/esm-es5/locale-6c1b85c7.js +5 -0
- package/dist/esm-es5/math-250d4476.js +5 -0
- package/dist/esm-es5/{number-ca3ae047.js → number-e7393766.js} +5 -1
- package/dist/esm-es5/observers-8f0bc419.js +5 -0
- package/dist/esm-es5/{popper-39b5e49d.js → popper-44055f06.js} +5 -1
- package/dist/esm-es5/resources-3b481489.js +5 -0
- package/dist/esm-es5/resources-56ac5dd9.js +5 -0
- package/dist/esm-es5/resources-584acd9b.js +5 -0
- package/dist/esm-es5/resources-7c6029b6.js +5 -0
- package/dist/esm-es5/{sortable.esm-2f5354d3.js → sortable.esm-04824d33.js} +4 -0
- package/dist/esm-es5/{utils-60acc1d6.js → utils-6beb0662.js} +4 -0
- package/dist/extras/docs-json.json +1 -1
- package/dist/loader/cdn.js +4 -1
- package/dist/loader/index.cjs.js +4 -1
- package/dist/loader/index.es2017.js +4 -1
- package/dist/loader/index.js +4 -1
- package/dist/types/components/calcite-block/resources.d.ts +2 -0
- package/hydrate/index.js +19 -12
- package/package.json +6 -6
- package/readme.md +2 -2
- package/dist/calcite/p-058f3354.system.entry.js +0 -1
- package/dist/calcite/p-0ae16e31.js +0 -1
- package/dist/calcite/p-1a53829b.system.entry.js +0 -1
- package/dist/calcite/p-1df0fd29.system.entry.js +0 -1
- package/dist/calcite/p-2e2e5404.system.entry.js +0 -1
- package/dist/calcite/p-32425073.system.entry.js +0 -1
- package/dist/calcite/p-3426e87b.system.js +0 -1
- package/dist/calcite/p-354fbadd.js +0 -1
- package/dist/calcite/p-38b3ff5f.system.entry.js +0 -1
- package/dist/calcite/p-3d3ff595.system.entry.js +0 -1
- package/dist/calcite/p-43a9faca.js +0 -1
- package/dist/calcite/p-482ec054.system.js +0 -1
- package/dist/calcite/p-4f24139e.system.entry.js +0 -1
- package/dist/calcite/p-4fce2a7a.system.js +0 -1
- package/dist/calcite/p-4fda49e6.js +0 -1
- package/dist/calcite/p-50ea2036.system.js +0 -1
- package/dist/calcite/p-559ffa87.js +0 -1
- package/dist/calcite/p-5b75ecd0.system.entry.js +0 -1
- package/dist/calcite/p-5f50d376.system.entry.js +0 -1
- package/dist/calcite/p-62598880.system.entry.js +0 -1
- package/dist/calcite/p-62977e6b.system.entry.js +0 -1
- package/dist/calcite/p-6350bcd3.system.js +0 -1
- package/dist/calcite/p-674bc090.system.js +0 -1
- package/dist/calcite/p-6d98d9dc.system.entry.js +0 -1
- package/dist/calcite/p-6edac967.system.entry.js +0 -1
- package/dist/calcite/p-7521b7ab.system.entry.js +0 -1
- package/dist/calcite/p-7a241325.system.entry.js +0 -1
- package/dist/calcite/p-7b856f76.system.entry.js +0 -1
- package/dist/calcite/p-7e4036a3.system.entry.js +0 -1
- package/dist/calcite/p-7e4be59e.system.entry.js +0 -1
- package/dist/calcite/p-8958d1f6.system.js +0 -1
- package/dist/calcite/p-8a16620b.system.js +0 -1
- package/dist/calcite/p-8bbf6718.system.js +0 -1
- package/dist/calcite/p-8d5f5ebf.js +0 -1
- package/dist/calcite/p-8d9bf455.entry.js +0 -1
- package/dist/calcite/p-8ef1afae.system.entry.js +0 -1
- package/dist/calcite/p-950bdd5b.system.entry.js +0 -1
- package/dist/calcite/p-9c371694.system.entry.js +0 -1
- package/dist/calcite/p-9c4762c3.system.entry.js +0 -1
- package/dist/calcite/p-a4e6e35b.js +0 -1
- package/dist/calcite/p-a8650c17.system.js +0 -1
- package/dist/calcite/p-ac44517b.system.entry.js +0 -1
- package/dist/calcite/p-b06f8734.system.entry.js +0 -1
- package/dist/calcite/p-b10d0018.system.entry.js +0 -1
- package/dist/calcite/p-b2425e21.js +0 -1
- package/dist/calcite/p-b286e0a5.system.entry.js +0 -1
- package/dist/calcite/p-b4cc79dc.system.js +0 -1
- package/dist/calcite/p-be531ce4.system.entry.js +0 -1
- package/dist/calcite/p-c0ee1569.system.entry.js +0 -1
- package/dist/calcite/p-c11ece28.system.entry.js +0 -1
- package/dist/calcite/p-c15a632e.system.entry.js +0 -1
- package/dist/calcite/p-c23bfaf9.system.entry.js +0 -1
- package/dist/calcite/p-c4953aa6.system.entry.js +0 -1
- package/dist/calcite/p-c59d3bb3.system.entry.js +0 -1
- package/dist/calcite/p-d53c2d2e.system.js +0 -1
- package/dist/calcite/p-d74caa31.system.entry.js +0 -1
- package/dist/calcite/p-d7e0ef91.system.entry.js +0 -1
- package/dist/calcite/p-d8a015cb.system.entry.js +0 -1
- package/dist/calcite/p-dd3f7c73.system.entry.js +0 -1
- package/dist/calcite/p-ddf50685.system.entry.js +0 -1
- package/dist/calcite/p-de9b7982.system.entry.js +0 -1
- package/dist/calcite/p-e87acd87.system.js +0 -1
- package/dist/calcite/p-ef38dee8.js +0 -1
- package/dist/calcite/p-f1eddb0f.system.entry.js +0 -1
- package/dist/cjs/array-4fc5abfa.js +0 -7
- package/dist/cjs/math-750406eb.js +0 -5
- package/dist/esm/array-af19adb2.js +0 -5
- package/dist/esm/math-c8e7aa13.js +0 -3
- package/dist/esm-es5/CalciteHeading-29855e9f.js +0 -1
- package/dist/esm-es5/array-af19adb2.js +0 -1
- package/dist/esm-es5/dom-b369a031.js +0 -1
- package/dist/esm-es5/guid-09142681.js +0 -1
- package/dist/esm-es5/index-f8f0bea7.js +0 -1
- package/dist/esm-es5/locale-8f48fd10.js +0 -1
- package/dist/esm-es5/math-c8e7aa13.js +0 -1
- package/dist/esm-es5/observers-c93d4fe5.js +0 -1
- package/dist/esm-es5/resources-82817f70.js +0 -1
- package/dist/esm-es5/resources-882eb855.js +0 -1
- package/dist/esm-es5/resources-c651d73a.js +0 -1
- package/dist/esm-es5/resources-c72ebfea.js +0 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-d653c37f.js';
|
|
6
|
+
import { g as getElementDir, C as CSS_UTILITY } from './dom-70b0e988.js';
|
|
7
|
+
import { g as guid } from './guid-196bd5ea.js';
|
|
4
8
|
|
|
5
9
|
const calciteTileSelectCss = "@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}.root{background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:100%;max-width:300px;padding:0.75rem;position:relative;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;vertical-align:top;z-index:10}:host{display:block}:host(:hover) .root{z-index:20;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-1);box-shadow:0 0 0 1px var(--calcite-ui-border-1)}:host([checked]) .root{z-index:30;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}.root.focused{z-index:30}:host(:not([input-enabled]):hover) .root{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host(:not([input-enabled])) .root.focused{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1), inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1), inset 0 0 0 5px var(--calcite-ui-brand)}:host([width=full]) .root{max-width:none;display:-ms-flexbox;display:flex}:host([width=full]) calcite-tile{-ms-flex:1 1 auto;flex:1 1 auto}:host([input-alignment=start][width=full]) calcite-tile{-ms-flex-order:1;order:1;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host(:not([input-enabled])) ::slotted(calcite-checkbox),:host(:not([input-enabled])) ::slotted(calcite-radio-button){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([heading]:not([icon]):not([description])) .root{-ms-flex-align:center;align-items:center}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) .root,:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) .root{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) ::slotted(calcite-checkbox),:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) ::slotted(calcite-radio-button),:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) ::slotted(calcite-checkbox),:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) ::slotted(calcite-radio-button){-ms-flex-order:0;order:0}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) calcite-tile,:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) calcite-tile{-ms-flex-order:1;order:1}:host([input-enabled][input-alignment=start][icon][heading]:not([description])) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=start][icon][heading]:not([description])) ::slotted(calcite-radio-button){position:absolute;top:0.75rem;left:0.75rem}:host([input-enabled][input-alignment=start][icon][heading]:not([description])) .calcite--rtl ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=start][icon][heading]:not([description])) .calcite--rtl ::slotted(calcite-radio-button){right:0.75rem;left:unset}:host([input-enabled][input-alignment=end][icon][heading]) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][icon][heading]) ::slotted(calcite-radio-button){position:absolute;top:0.75rem;right:0.75rem}:host([input-enabled][input-alignment=end][icon][heading]) .calcite--rtl ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][icon][heading]) .calcite--rtl ::slotted(calcite-radio-button){right:unset;left:0.75rem}:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) .root{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) ::slotted(calcite-radio-button){justify-self:flex-end}:host([hidden]){display:none}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}";
|
|
6
10
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-d653c37f.js';
|
|
6
|
+
import { a as getSlotted } from './dom-70b0e988.js';
|
|
7
|
+
import './guid-196bd5ea.js';
|
|
4
8
|
|
|
5
9
|
const SLOTS = {
|
|
6
10
|
contentStart: "content-start",
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import './
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-d653c37f.js';
|
|
6
|
+
import { a as getSlotted, g as getElementDir } from './dom-70b0e988.js';
|
|
7
|
+
import { C as CalciteHeading, c as constrainHeadingLevel } from './CalciteHeading-1735f17a.js';
|
|
8
|
+
import { c as createObserver } from './observers-8f0bc419.js';
|
|
9
|
+
import './guid-196bd5ea.js';
|
|
6
10
|
|
|
7
11
|
const CSS$1 = {
|
|
8
12
|
header: "header",
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { g as
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-d653c37f.js';
|
|
6
|
+
import { g as guid } from './guid-196bd5ea.js';
|
|
7
|
+
import { d as defaultOffsetDistance, u as updatePopper, c as createPopper, C as CSS$1 } from './popper-44055f06.js';
|
|
8
|
+
import { q as queryElementRoots } from './dom-70b0e988.js';
|
|
9
|
+
import { g as getKey } from './key-69001a68.js';
|
|
6
10
|
|
|
7
11
|
const CSS = {
|
|
8
12
|
container: "container",
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d653c37f.js';
|
|
6
|
+
import { f as focusElement, n as nodeListToArray, a as getSlotted, g as getElementDir, C as CSS_UTILITY, k as filterDirectChildren } from './dom-70b0e988.js';
|
|
7
|
+
import { g as getKey } from './key-69001a68.js';
|
|
8
|
+
import './guid-196bd5ea.js';
|
|
5
9
|
|
|
6
10
|
var TreeSelectionMode;
|
|
7
11
|
(function (TreeSelectionMode) {
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { c as
|
|
6
|
-
import {
|
|
7
|
-
import { a as
|
|
8
|
-
import './
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-d653c37f.js';
|
|
6
|
+
import { S as Sortable } from './sortable.esm-04824d33.js';
|
|
7
|
+
import { m as mutationObserverCallback, d as deselectSiblingItems, s as selectSiblings, h as handleFilter, g as getItemData, k as keyDownHandler, i as initialize, a as initializeObserver, c as cleanUpObserver, r as removeItem, b as calciteListItemChangeHandler, e as calciteListItemValueChangeHandler, f as setUpItems, j as setFocus, L as List, I as ICON_TYPES$1, C as CSS$1, S as SLOTS$1 } from './resources-56ac5dd9.js';
|
|
8
|
+
import { g as getRoundRobinIndex } from './array-91a648e2.js';
|
|
9
|
+
import { c as createObserver } from './observers-8f0bc419.js';
|
|
10
|
+
import { g as guid } from './guid-196bd5ea.js';
|
|
11
|
+
import { a as getSlotted } from './dom-70b0e988.js';
|
|
12
|
+
import './debounce-79648d42.js';
|
|
9
13
|
|
|
10
14
|
const CSS = {
|
|
11
15
|
container: "container",
|
package/dist/esm/calcite.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { d as doc, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-d653c37f.js';
|
|
2
6
|
|
|
3
7
|
/*
|
|
4
8
|
Stencil Client Patch Browser v2.9.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
1
5
|
/** Detect free variable `global` from Node.js. */
|
|
2
6
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
3
7
|
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { g as guid } from './guid-196bd5ea.js';
|
|
2
6
|
|
|
3
7
|
const autoTheme = "calcite-theme-auto";
|
|
4
8
|
const darkTheme = "calcite-theme-dark";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-79648d42.js';
|
|
2
6
|
|
|
3
7
|
/**
|
|
4
8
|
* Checks if `value` is classified as an `Array` object.
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-70b0e988.js';
|
|
2
6
|
|
|
3
7
|
const labelTagName = "calcite-label";
|
|
4
8
|
const labelClickEvent = "calciteInternalLabelClick";
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-d653c37f.js';
|
|
2
6
|
|
|
3
7
|
/*
|
|
4
8
|
Stencil Client Patch Esm v2.9.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { a as sanitizeDecimalString } from './number-e7393766.js';
|
|
2
6
|
|
|
3
7
|
const locales = [
|
|
4
8
|
"ar",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
6
|
+
|
|
7
|
+
export { clamp as c };
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { n as numberKeys } from './key-69001a68.js';
|
|
2
6
|
|
|
3
7
|
function isValidNumber(numberString) {
|
|
4
8
|
return !(!numberString || isNaN(Number(numberString)));
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { g as getElementDir } from './dom-70b0e988.js';
|
|
2
6
|
|
|
3
7
|
var top = 'top';
|
|
4
8
|
var bottom = 'bottom';
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { a as getAssetPath } from './index-d653c37f.js';
|
|
6
|
+
import { a as locales } from './locale-6c1b85c7.js';
|
|
3
7
|
|
|
4
8
|
/**
|
|
5
9
|
* Get supported locale code from raw user input
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { f as focusElement, a as getSlotted, g as getElementDir } from './dom-70b0e988.js';
|
|
6
|
+
import { g as getRoundRobinIndex } from './array-91a648e2.js';
|
|
7
|
+
import { d as debounce } from './debounce-79648d42.js';
|
|
8
|
+
import { h, H as Host } from './index-d653c37f.js';
|
|
5
9
|
|
|
6
10
|
function mutationObserverCallback() {
|
|
7
11
|
this.setUpItems();
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
1
5
|
function rgbToHex(color) {
|
|
2
6
|
const { r, g, b } = color;
|
|
3
7
|
return `#${r.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${b
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{f as forceUpdate,h}from"./index-d653c37f.js";import{g as getElementDir}from"./dom-70b0e988.js";import{S as SLOTS}from"./resources-584acd9b.js";import{S as SLOTS$1}from"./resources-7c6029b6.js";var overflowActionsDebounceInMs=150;var groupBufferHeight=2;var getMaxActionCount=function(e){var t=e.height,r=e.actionHeight,o=e.groupCount;return Math.floor((t-o*groupBufferHeight)/r)};var getOverflowCount=function(e){var t=e.actionCount,r=e.actionHeight,o=e.height,n=e.groupCount;return Math.max(t-getMaxActionCount({height:o,actionHeight:r,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,r=e.expanded,o=e.overflowCount;var n=o;t.reverse().forEach((function(e){var t=0;var o=queryActions(e).reverse();o.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=r}}));if(n>0){o.some((function(e){var r=o.filter((function(e){return!e.slot}));if(r.length>1&&o.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 r;return e||((r=t.closest("calcite-shell-panel"))===null||r===void 0?void 0:r.position)||"start"}function toggleChildActionText(e){var t=e.parent,r=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=r}));t.querySelectorAll("calcite-action-group").forEach((function(e){return e.expanded=r}))}var setTooltipReference=function(e){var t=e.tooltip,r=e.referenceElement,o=e.expanded,n=e.ref;if(t){t.referenceElement=!o&&r}if(n){n(r)}return r};var CalciteExpandToggle=function(e){var t=e.expanded,r=e.intlExpand,o=e.intlCollapse,n=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var s=getElementDir(i)==="rtl";var f=t?o:r;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(s){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",{dir:s?"rtl":"ltr",icon:t?p:d,onClick:n,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:f,textEnabled:t});return c?h("calcite-tooltip-manager",null,m):m};export{CalciteExpandToggle as C,overflowActions as a,getOverflowCount as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{h}from"./index-d653c37f.js";function constrainHeadingLevel(e){return Math.min(Math.max(Math.ceil(e),1),6)}var CalciteHeading=function(e,a){var n="h"+e.level;delete e.level;return h(n,Object.assign({},e),a)};export{CalciteHeading as C,constrainHeadingLevel as c};
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-f8f0bea7.js";import{g as getKey}from"./key-ec82f942.js";import{d as getElementProp,g as getElementDir,C as CSS_UTILITY}from"./dom-b369a031.js";import"./guid-09142681.js";var calciteAccordionCss="@-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:300ms}.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:150ms ease-in-out}: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{display:block;position:relative;max-width:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);border-bottom-width:0;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0;border-color:transparent}:host([appearance=transparent]){border-color:transparent;--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}";var CalciteAccordion=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("slot",null)};t.prototype.calciteAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var o=getKey(i.key);var a=t.target;var c=this.itemIndex(a)===0;var n=this.itemIndex(a)===this.items.length-1;switch(o){case"ArrowDown":if(n){this.focusFirstItem()}else{this.focusNextItem(a)}break;case"ArrowUp":if(c){this.focusLastItem()}else{this.focusPrevItem(a)}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}();CalciteAccordion.style=calciteAccordionCss;var calciteAccordionItemCss="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:-90deg;--calcite-accordion-item-active-icon-rotation:0;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0}.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:0;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0;--calcite-accordion-item-active-icon-rotation-rtl:-180deg}:host{--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host-context([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}:host-context([appearance=transparent]){--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative;color:var(--calcite-ui-text-3);background-color:var(--calcite-accordion-item-background);--calcite-accordion-item-border:var(--calcite-ui-border-2)}: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;-ms-flex-align:center;align-items:center;cursor:pointer;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin:0;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);margin-right:var(--calcite-accordion-item-icon-spacing-start);margin-left:var(--calcite-accordion-item-icon-spacing-end)}.calcite--rtl .accordion-item-icon{margin-left:var(--calcite-accordion-item-icon-spacing-start);margin-right: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)}: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;color:var(--calcite-ui-text-3);padding-top:0;text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);margin-left:var(--calcite-accordion-item-icon-spacing-start);margin-right: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{margin-left:var(--calcite-accordion-item-icon-spacing-end);margin-right:var(--calcite-accordion-item-icon-spacing-start);-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{-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;margin-right:auto;text-align:initial}.calcite--rtl .accordion-item-header-text{margin-right:0;margin-left:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium)}:host .accordion-item-subtitle{color:var(--calcite-ui-text-3);margin-top:0.25rem}.calcite--rtl .accordion-item-title{margin-right:0;margin-left:auto}: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 CalciteAccordionItem=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.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 o=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});return h(Host,{"aria-expanded":this.active.toString(),tabindex:"0"},h("div",{class:(t={},t["icon-position--"+this.iconPosition]=true,t["icon-type--"+this.iconType]=true,t)},h("div",{class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i),onClick:this.itemHeaderClickHandler},this.icon?o: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",{class:"accordion-item-content"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(getKey(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;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}();CalciteAccordionItem.style=calciteAccordionItemCss;export{CalciteAccordion as calcite_accordion,CalciteAccordionItem as calcite_accordion_item};
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-d653c37f.js";import{g as getKey}from"./key-69001a68.js";import{d as getElementProp,g as getElementDir,C as CSS_UTILITY}from"./dom-70b0e988.js";import"./guid-196bd5ea.js";var calciteAccordionCss="@-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:300ms}.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:150ms ease-in-out}: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{display:block;position:relative;max-width:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);border-bottom-width:0;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0;border-color:transparent}:host([appearance=transparent]){border-color:transparent;--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}";var CalciteAccordion=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("slot",null)};t.prototype.calciteAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var o=getKey(i.key);var a=t.target;var c=this.itemIndex(a)===0;var n=this.itemIndex(a)===this.items.length-1;switch(o){case"ArrowDown":if(n){this.focusFirstItem()}else{this.focusNextItem(a)}break;case"ArrowUp":if(c){this.focusLastItem()}else{this.focusPrevItem(a)}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}();CalciteAccordion.style=calciteAccordionCss;var calciteAccordionItemCss="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:-90deg;--calcite-accordion-item-active-icon-rotation:0;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0}.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:0;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0;--calcite-accordion-item-active-icon-rotation-rtl:-180deg}:host{--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host-context([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}:host-context([appearance=transparent]){--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative;color:var(--calcite-ui-text-3);background-color:var(--calcite-accordion-item-background);--calcite-accordion-item-border:var(--calcite-ui-border-2)}: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;-ms-flex-align:center;align-items:center;cursor:pointer;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin:0;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);margin-right:var(--calcite-accordion-item-icon-spacing-start);margin-left:var(--calcite-accordion-item-icon-spacing-end)}.calcite--rtl .accordion-item-icon{margin-left:var(--calcite-accordion-item-icon-spacing-start);margin-right: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)}: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;color:var(--calcite-ui-text-3);padding-top:0;text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);margin-left:var(--calcite-accordion-item-icon-spacing-start);margin-right: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{margin-left:var(--calcite-accordion-item-icon-spacing-end);margin-right:var(--calcite-accordion-item-icon-spacing-start);-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{-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;margin-right:auto;text-align:initial}.calcite--rtl .accordion-item-header-text{margin-right:0;margin-left:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium)}:host .accordion-item-subtitle{color:var(--calcite-ui-text-3);margin-top:0.25rem}.calcite--rtl .accordion-item-title{margin-right:0;margin-left:auto}: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 CalciteAccordionItem=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.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 o=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});return h(Host,{"aria-expanded":this.active.toString(),tabindex:"0"},h("div",{class:(t={},t["icon-position--"+this.iconPosition]=true,t["icon-type--"+this.iconType]=true,t)},h("div",{class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i),onClick:this.itemHeaderClickHandler},this.icon?o: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",{class:"accordion-item-content"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(getKey(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;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}();CalciteAccordionItem.style=calciteAccordionItemCss;export{CalciteAccordion as calcite_accordion,CalciteAccordionItem as calcite_accordion_item};
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,o){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):i(e.value).then(r,s)}l((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(r){if(o)throw new TypeError("Generator is already executing.");while(n)try{if(o=1,i&&(a=r[0]&2?i["return"]:r[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,r[1])).done)return a;if(i=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;i=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){n.label=r[1];break}if(r[0]===6&&n.label<a[1]){n.label=a[1];a=r;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(r);break}if(a[2])n.ops.pop();n.trys.pop();continue}r=t.call(e,n)}catch(e){r=[6,e];i=0}finally{o=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,o){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):i(e.value).then(r,s)}l((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(r){if(o)throw new TypeError("Generator is already executing.");while(n)try{if(o=1,i&&(a=r[0]&2?i["return"]:r[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,r[1])).done)return a;if(i=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;i=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){n.label=r[1];break}if(r[0]===6&&n.label<a[1]){n.label=a[1];a=r;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(r);break}if(a[2])n.ops.pop();n.trys.pop();continue}r=t.call(e,n)}catch(e){r=[6,e];i=0}finally{o=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
+
*/import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-d653c37f.js";import{t as toggleChildActionText,o as overflowActionsDebounceInMs,q as queryActions,a as overflowActions,C as CalciteExpandToggle,g as getOverflowCount}from"./CalciteExpandToggle-b1e6e72d.js";import{f as focusElement,a as getSlotted}from"./dom-70b0e988.js";import{c as createObserver}from"./observers-8f0bc419.js";import{d as debounce}from"./debounce-79648d42.js";import"./resources-584acd9b.js";import"./resources-7c6029b6.js";import"./guid-196bd5ea.js";var CSS={actionGroupBottom:"action-group--bottom"};var SLOTS={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var TEXT={expand:"Expand",collapse:"Collapse"};var calciteActionBarCss="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{-ms-flex-item-align:stretch;align-self:stretch;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;pointer-events:auto;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2)}::slotted(calcite-action-group:last-child){border-bottom-width:0}.action-group--bottom{padding-bottom:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end}";var CalciteActionBar=function(){function e(e){var t=this;registerInstance(this,e);this.calciteActionBarToggle=createEvent(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=createObserver("mutation",(function(){var e=t,n=e.el,o=e.expanded;toggleChildActionText({parent:n,expanded:o});t.conditionallyOverflowActions()}));this.resizeObserver=createObserver("resize",(function(e){return t.resizeHandlerEntries(e)}));this.actionMenuOpenChangeHandler=function(e){if(e.detail){var n=e.composedPath();Array.from(t.el.querySelectorAll("calcite-action-group")).forEach((function(e){if(!n.includes(e)){e.menuOpen=false}}))}};this.resizeHandlerEntries=function(e){e.forEach(t.resizeHandler)};this.resizeHandler=function(e){var n=e.contentRect.height;t.resize(n)};this.resize=debounce((function(e){var n;var o=t,i=o.el,a=o.expanded,r=o.expandDisabled;if(!e){return}var s=queryActions(i);var l=r?s.length:s.length+1;var c=Array.from(i.querySelectorAll("calcite-action-group"));var d=getSlotted(i,SLOTS.bottomActions)||!r?c.length+1:c.length;var p=getOverflowCount({actionCount:l,actionHeight:(n=s[0])===null||n===void 0?void 0:n.clientHeight,height:e,groupCount:d});overflowActions({actionGroups:c,expanded:a,overflowCount:p})}),overflowActionsDebounceInMs);this.conditionallyOverflowActions=function(){if(!t.overflowActionsDisabled){t.overflowActions()}};this.toggleExpand=function(){t.expanded=!t.expanded};this.setExpandToggleRef=function(e){t.expandToggleEl=e}}e.prototype.expandHandler=function(e){if(!e){toggleChildActionText({parent:this.el,expanded:this.expanded})}this.conditionallyOverflowActions()};e.prototype.expandedHandler=function(e){if(!this.expandDisabled){toggleChildActionText({parent:this.el,expanded:e})}this.calciteActionBarToggle.emit()};e.prototype.overflowDisabledHandler=function(e){e?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};e.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};e.prototype.connectedCallback=function(){var e,t;var n=this,o=n.el,i=n.expandDisabled,a=n.expanded;if(!i){toggleChildActionText({parent:o,expanded:a})}(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(o,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(t=this.resizeObserver)===null||t===void 0?void 0:t.observe(o)}this.conditionallyOverflowActions()};e.prototype.disconnectedCallback=function(){var e,t;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect()};e.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.resize(this.el.clientHeight);return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!(e==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:t.sent();return[2];case 2:this.el.focus();return[2]}}))}))};e.prototype.renderBottomActionGroup=function(){var e=this,t=e.expanded,n=e.expandDisabled,o=e.intlExpand,i=e.intlCollapse,a=e.el,r=e.position,s=e.toggleExpand,l=e.scale;var c=getSlotted(a,SLOTS.expandTooltip);var d=o||TEXT.expand;var p=i||TEXT.collapse;var f=!n?h(CalciteExpandToggle,{el:a,expanded:t,intlCollapse:p,intlExpand:d,position:r,ref:this.setExpandToggleRef,scale:l,toggle:s,tooltip:c}):null;return getSlotted(a,SLOTS.bottomActions)||f?h("calcite-action-group",{class:CSS.actionGroupBottom,scale:l},h("slot",{name:SLOTS.bottomActions}),h("slot",{name:SLOTS.expandTooltip}),f):null};e.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("slot",null),this.renderBottomActionGroup())};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return e}();CalciteActionBar.style=calciteActionBarCss;export{CalciteActionBar as calcite_action_bar};
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import{r as registerInstance,h,F as Fragment,g as getElement}from"./index-d653c37f.js";import{S as SLOTS,I as ICONS,T as TEXT}from"./resources-7c6029b6.js";import{a as getSlotted}from"./dom-70b0e988.js";import{S as SLOTS$1}from"./resources-584acd9b.js";import"./guid-196bd5ea.js";var calciteActionGroupCss='@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0;--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:0}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){background-color:var(--calcite-ui-background);display:grid;grid-gap:1px;gap:1px;place-content:stretch;padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var CalciteActionGroup=function(){function t(t){var e=this;registerInstance(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){e.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.renderTooltip=function(){var t=this.el;var e=getSlotted(t,SLOTS.menuTooltip);return e?h("slot",{name:SLOTS.menuTooltip,slot:SLOTS$1.tooltip}):null};t.prototype.renderMenu=function(){var t=this,e=t.el,a=t.expanded,n=t.intlMore,i=t.menuOpen,o=t.scale;var r=getSlotted(e,SLOTS.menuActions);return r?h("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:n||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:n||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}();CalciteActionGroup.style=calciteActionGroupCss;export{CalciteActionGroup as calcite_action_group};
|