@esri/calcite-components 1.0.0-next.290 → 1.0.0-next.294
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 +40 -2
- package/dist/calcite/assets/calcite-icon/penMark16.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark24.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark32.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus16.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus24.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus32.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript16.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript24.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript32.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript16.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript24.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript32.json +1 -0
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/{p-9ff5b403.entry.js → p-0100aeb0.entry.js} +1 -1
- package/dist/calcite/p-05107123.entry.js +5 -0
- package/dist/calcite/{p-cbdf0e6c.js → p-05d1dfc6.js} +1 -1
- package/dist/calcite/{p-a8cd5cde.system.entry.js → p-06646eed.system.entry.js} +1 -1
- package/dist/calcite/{p-3db2dc30.system.entry.js → p-09da1c54.system.entry.js} +2 -2
- package/dist/calcite/{p-280404ef.system.entry.js → p-0d4e82ab.system.entry.js} +1 -1
- package/dist/calcite/{p-f9428f19.system.entry.js → p-10759c71.system.entry.js} +2 -2
- package/dist/calcite/{p-32faf98b.system.entry.js → p-10de63d7.system.entry.js} +1 -1
- package/dist/calcite/p-11113310.entry.js +5 -0
- package/dist/calcite/{p-45b13361.system.entry.js → p-12e1c83f.system.entry.js} +1 -1
- package/dist/calcite/p-1421e818.entry.js +5 -0
- package/dist/calcite/p-17e666d6.system.entry.js +5 -0
- package/dist/calcite/p-1e875199.entry.js +5 -0
- package/dist/calcite/{p-00c20cb8.entry.js → p-22ecf6df.entry.js} +1 -1
- package/dist/calcite/{p-dd92cde1.entry.js → p-2418cceb.entry.js} +1 -1
- package/dist/calcite/{p-32fbf8cd.system.js → p-25a31861.system.js} +1 -1
- package/dist/calcite/{p-8655c0a1.entry.js → p-28261aae.entry.js} +1 -1
- package/dist/calcite/p-2ba00b89.js +5 -0
- package/dist/calcite/{p-91889ade.system.entry.js → p-2ecafa35.system.entry.js} +1 -1
- package/dist/calcite/p-329e1831.system.entry.js +5 -0
- package/dist/calcite/p-3383d9b4.entry.js +5 -0
- package/dist/calcite/p-36e5db45.entry.js +5 -0
- package/dist/calcite/{p-ffb8f0a9.system.entry.js → p-38ee7306.system.entry.js} +1 -1
- package/dist/calcite/{p-8efb43fc.entry.js → p-3962cd38.entry.js} +1 -1
- package/dist/calcite/p-3994ac99.system.entry.js +5 -0
- package/dist/calcite/{p-28fecce5.system.entry.js → p-3bb30b44.system.entry.js} +1 -1
- package/dist/calcite/{p-bb916828.system.entry.js → p-3cf93a58.system.entry.js} +1 -1
- package/dist/calcite/{p-197382be.system.entry.js → p-3e438b5b.system.entry.js} +1 -1
- package/dist/calcite/{p-efbf0d26.entry.js → p-3f1d1bad.entry.js} +1 -1
- package/dist/calcite/{p-4805ca9a.system.entry.js → p-413b4857.system.entry.js} +1 -1
- package/dist/calcite/{p-1f27021e.entry.js → p-4185db77.entry.js} +1 -1
- package/dist/calcite/p-42128a12.entry.js +5 -0
- package/dist/calcite/p-45257edb.js +5 -0
- package/dist/calcite/p-49d5ee42.system.entry.js +5 -0
- package/dist/calcite/{p-e524bf4d.system.entry.js → p-4c7e3915.system.entry.js} +1 -1
- package/dist/calcite/p-4ecd0331.entry.js +5 -0
- package/dist/calcite/p-502736d8.system.entry.js +5 -0
- package/dist/calcite/{p-a1911108.entry.js → p-507b2cc4.entry.js} +1 -1
- package/dist/calcite/{p-34a6550f.system.entry.js → p-527146c8.system.entry.js} +1 -1
- package/dist/calcite/{p-5fda3de2.js → p-52cc870b.js} +1 -1
- package/dist/calcite/{p-6fe5f2de.system.entry.js → p-5322b333.system.entry.js} +1 -1
- package/dist/calcite/{p-382556c4.system.entry.js → p-58716826.system.entry.js} +1 -1
- package/dist/calcite/{p-5accac7d.system.entry.js → p-58e98b2d.system.entry.js} +1 -1
- package/dist/calcite/{p-11071ac7.entry.js → p-58eca102.entry.js} +1 -1
- package/dist/calcite/p-5e6d76dc.entry.js +5 -0
- package/dist/calcite/{p-33e58a20.entry.js → p-5efd7297.entry.js} +1 -1
- package/dist/calcite/{p-1682482b.entry.js → p-6621aee1.entry.js} +1 -1
- package/dist/calcite/{p-2b13e5a9.system.entry.js → p-684ccd4e.system.entry.js} +1 -1
- package/dist/calcite/{p-380c71e8.system.entry.js → p-6988c6b7.system.entry.js} +1 -1
- package/dist/calcite/p-6c8a562f.system.entry.js +5 -0
- package/dist/calcite/{p-a8c759ae.system.js → p-6cc23c39.system.js} +1 -1
- package/dist/calcite/{p-800874fd.entry.js → p-72fa390e.entry.js} +1 -1
- package/dist/calcite/p-75f714c9.entry.js +5 -0
- package/dist/calcite/p-76ccd204.entry.js +5 -0
- package/dist/calcite/{p-50e1a7c9.system.entry.js → p-777c833f.system.entry.js} +1 -1
- package/dist/calcite/{p-7fab451d.js → p-79cbbf2d.js} +1 -1
- package/dist/calcite/p-7a6c6382.entry.js +5 -0
- package/dist/calcite/p-7ade2294.system.entry.js +5 -0
- package/dist/calcite/p-7b869bc5.entry.js +5 -0
- package/dist/calcite/{p-fe3880f2.entry.js → p-7c37ca39.entry.js} +1 -1
- package/dist/calcite/{p-1b2c1f55.entry.js → p-7dd5c4e4.entry.js} +1 -1
- package/dist/calcite/{p-5b87b98f.system.entry.js → p-8007a0b4.system.entry.js} +1 -1
- package/dist/calcite/{p-a20df95c.js → p-809ddb6a.js} +1 -1
- package/dist/calcite/{p-4b2f69cc.entry.js → p-83302e1c.entry.js} +1 -1
- package/dist/calcite/{p-9358deb1.system.entry.js → p-83ccefba.system.entry.js} +1 -1
- package/dist/calcite/p-8711a0ae.system.entry.js +5 -0
- package/dist/calcite/{p-16148eef.entry.js → p-8953f712.entry.js} +1 -1
- package/dist/calcite/{p-c74fc589.system.js → p-89cdfa96.system.js} +1 -1
- package/dist/calcite/{p-34fdad31.entry.js → p-8bc3e126.entry.js} +1 -1
- package/dist/calcite/p-948aca0d.system.entry.js +5 -0
- package/dist/calcite/{p-b95dbc48.system.entry.js → p-98789055.system.entry.js} +1 -1
- package/dist/calcite/p-99ff3a2f.entry.js +5 -0
- package/dist/calcite/{p-8967b27b.entry.js → p-9affee61.entry.js} +1 -1
- package/dist/calcite/{p-6281ab45.system.entry.js → p-9fa024e6.system.entry.js} +1 -1
- package/dist/calcite/{p-fc0b3ef2.entry.js → p-9fa5e356.entry.js} +1 -1
- package/dist/calcite/{p-192289eb.system.entry.js → p-9fc0dc2c.system.entry.js} +1 -1
- package/dist/calcite/p-9fe349b9.entry.js +5 -0
- package/dist/calcite/{p-0e30afe6.entry.js → p-a09634e2.entry.js} +1 -1
- package/dist/calcite/{p-bdd6ec61.entry.js → p-a2cc027e.entry.js} +1 -1
- package/dist/calcite/{p-37fac73b.system.entry.js → p-a5bfc29d.system.entry.js} +1 -1
- package/dist/calcite/{p-914c3cc4.system.js → p-a7ba0292.system.js} +1 -1
- package/dist/calcite/{p-09ced3ff.system.entry.js → p-a8569c55.system.entry.js} +1 -1
- package/dist/calcite/p-b018fbbd.entry.js +5 -0
- package/dist/calcite/p-b1f88d45.system.js +5 -0
- package/dist/calcite/{p-9d04923b.entry.js → p-b244a00c.entry.js} +1 -1
- package/dist/calcite/p-b41deed0.system.entry.js +5 -0
- package/dist/calcite/{p-294dbdf2.entry.js → p-b42d730f.entry.js} +1 -1
- package/dist/calcite/p-b4960d06.system.js +5 -0
- package/dist/calcite/{p-bb577ef7.system.entry.js → p-b4e7b593.system.entry.js} +1 -1
- package/dist/calcite/{p-49dfc82d.system.entry.js → p-b8d040e5.system.entry.js} +1 -1
- package/dist/calcite/{p-aa53b2aa.system.entry.js → p-ba1322e6.system.entry.js} +1 -1
- package/dist/calcite/{p-2e53f47f.system.entry.js → p-bbe2337b.system.entry.js} +2 -2
- package/dist/calcite/p-bbedf98c.entry.js +5 -0
- package/dist/calcite/p-be52c734.entry.js +5 -0
- package/dist/calcite/p-bf25e278.system.entry.js +5 -0
- package/dist/calcite/{p-1f17f6c6.entry.js → p-bf8b70a8.entry.js} +1 -1
- package/dist/calcite/p-c399cfce.entry.js +5 -0
- package/dist/calcite/{p-c3922ef7.system.entry.js → p-c48b4b7e.system.entry.js} +1 -1
- package/dist/calcite/p-c60e3a71.entry.js +5 -0
- package/dist/calcite/{p-36115e9d.system.entry.js → p-c8e4117c.system.entry.js} +1 -1
- package/dist/calcite/{p-1a27bf28.system.entry.js → p-c99d8f9e.system.entry.js} +1 -1
- package/dist/calcite/{p-49fcc674.entry.js → p-c9ecea64.entry.js} +1 -1
- package/dist/calcite/{p-7fed4823.entry.js → p-cacca548.entry.js} +1 -1
- package/dist/calcite/{p-5376ff1d.entry.js → p-cb7b6425.entry.js} +1 -1
- package/dist/calcite/{p-ae4f203c.system.entry.js → p-cca94491.system.entry.js} +1 -1
- package/dist/calcite/{p-a5a50052.entry.js → p-cd41629f.entry.js} +1 -1
- package/dist/calcite/{p-7bcd2eb9.system.js → p-d11ad046.system.js} +1 -1
- package/dist/calcite/p-d4059426.entry.js +5 -0
- package/dist/calcite/{p-daf4bb66.js → p-d53cc958.js} +1 -1
- package/dist/calcite/{p-89b4e322.system.entry.js → p-daa110fe.system.entry.js} +1 -1
- package/dist/calcite/{p-975ca343.system.entry.js → p-dc99bb00.system.entry.js} +1 -1
- package/dist/calcite/{p-1dc68118.system.entry.js → p-dcf30b00.system.entry.js} +2 -2
- package/dist/calcite/{p-f1cf1a10.system.entry.js → p-de3a04c2.system.entry.js} +1 -1
- package/dist/calcite/p-df9b4b76.entry.js +5 -0
- package/dist/calcite/{p-bee79057.system.entry.js → p-e24b6c4a.system.entry.js} +1 -1
- package/dist/calcite/{p-3b17d8d0.system.js → p-e35e7216.system.js} +1 -1
- package/dist/calcite/p-e382c4e9.entry.js +5 -0
- package/dist/calcite/{p-0467efd5.system.entry.js → p-e40dd6fe.system.entry.js} +1 -1
- package/dist/calcite/p-e5805bf1.entry.js +5 -0
- package/dist/calcite/p-e638ff0e.entry.js +5 -0
- package/dist/calcite/{p-7839d1c9.entry.js → p-e7819705.entry.js} +1 -1
- package/dist/calcite/{p-a97338b7.entry.js → p-eccb140e.entry.js} +1 -1
- package/dist/calcite/p-eed43a57.system.entry.js +5 -0
- package/dist/calcite/{p-c57f8690.entry.js → p-f281f1e9.entry.js} +1 -1
- package/dist/calcite/{p-d1b49fa1.system.entry.js → p-f32e61bb.system.entry.js} +1 -1
- package/dist/calcite/{p-b7d3039d.js → p-f5bb39bb.js} +1 -1
- package/dist/calcite/{p-b5c2dfce.system.entry.js → p-f6f4648e.system.entry.js} +1 -1
- package/dist/calcite/{p-e6ec69cf.entry.js → p-f93a7fce.entry.js} +1 -1
- package/dist/calcite/p-fb1da0f5.system.js +5 -0
- package/dist/calcite/{p-a5bbfe14.system.entry.js → p-fba65e4a.system.entry.js} +1 -1
- package/dist/calcite/p-fe16f05e.system.entry.js +5 -0
- package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-6a9f9858.js} +1 -1
- package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-363b0525.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-menu.cjs.entry.js +5 -3
- package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action.cjs.entry.js +6 -10
- package/dist/cjs/calcite-alert.cjs.entry.js +2 -2
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-button.cjs.entry.js +52 -35
- package/dist/cjs/calcite-card.cjs.entry.js +2 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +3 -3
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +36 -19
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +10 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +28 -20
- package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +6 -5
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input.cjs.entry.js +40 -27
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +7 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +24 -3
- package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +2 -2
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-popover_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-radio_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
- package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +18 -13
- package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{index-1987a382.js → index-cee0daa9.js} +73 -64
- package/dist/cjs/{label-4c30cbca.js → label-549c3d9d.js} +4 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{popper-cd9c0742.js → popper-87bf13e6.js} +2 -2
- package/dist/cjs/{resources-7dcd68d1.js → resources-38563593.js} +1 -1
- package/dist/cjs/{resources-d0619f6a.js → resources-f9c141d2.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -8
- package/dist/collection/components/calcite-action/calcite-action.css +17 -68
- package/dist/collection/components/calcite-action/calcite-action.js +34 -35
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +6 -4
- package/dist/collection/components/calcite-alert/calcite-alert.css +0 -62
- package/dist/collection/components/calcite-alert/calcite-alert.js +6 -6
- package/dist/collection/components/calcite-block/calcite-block.css +2 -2
- package/dist/collection/components/calcite-block/calcite-block.js +4 -4
- package/dist/collection/components/calcite-block-section/calcite-block-section.css +1 -0
- package/dist/collection/components/calcite-button/calcite-button.js +33 -37
- package/dist/collection/components/calcite-card/calcite-card.js +8 -8
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +4 -1
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +12 -12
- package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +46 -46
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -4
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +3 -0
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +15 -15
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +6 -6
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +39 -20
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
- package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
- package/dist/collection/components/calcite-filter/calcite-filter.js +29 -11
- package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
- package/dist/collection/components/calcite-graph/util.js +1 -1
- package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript32.json +1 -0
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +17 -16
- package/dist/collection/components/calcite-input/calcite-input.js +50 -37
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +19 -19
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +10 -10
- package/dist/collection/components/calcite-label/calcite-label.js +2 -2
- package/dist/collection/components/calcite-link/calcite-link.js +11 -1
- package/dist/collection/components/calcite-list/calcite-list.js +33 -1
- package/dist/collection/components/calcite-list-item/calcite-list-item.js +30 -2
- package/dist/collection/components/calcite-loader/calcite-loader.css +3 -6
- package/dist/collection/components/calcite-modal/calcite-modal.js +2 -2
- package/dist/collection/components/calcite-notice/calcite-notice.css +18 -6
- package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
- package/dist/collection/components/calcite-option/calcite-option.js +2 -2
- package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
- package/dist/collection/components/calcite-panel/calcite-panel.css +6 -2
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
- package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
- package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +27 -27
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +8 -8
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +1 -5
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +2 -2
- package/dist/collection/components/calcite-rating/calcite-rating.js +12 -12
- package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
- package/dist/collection/components/calcite-select/calcite-select.js +10 -10
- package/dist/collection/components/calcite-slider/calcite-slider.css +2 -4
- package/dist/collection/components/calcite-slider/calcite-slider.js +12 -12
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +2 -2
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
- package/dist/collection/components/calcite-switch/calcite-switch.js +19 -14
- package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +14 -14
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +16 -16
- package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
- package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +5 -4
- package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +20 -20
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
- package/dist/collection/utils/label.js +4 -4
- package/dist/collection/utils/popper.js +2 -2
- package/dist/components/CalciteExpandToggle.js +87 -0
- package/dist/components/CalciteHeading.js +16 -0
- package/dist/components/array.js +9 -0
- package/dist/components/calcite-accordion-item.d.ts +11 -0
- package/dist/components/calcite-accordion-item.js +153 -0
- package/dist/components/calcite-accordion.d.ts +11 -0
- package/dist/components/calcite-accordion.js +167 -0
- package/dist/components/calcite-action-bar.d.ts +11 -0
- package/dist/components/calcite-action-bar.js +266 -0
- package/dist/components/calcite-action-group.d.ts +11 -0
- package/dist/components/calcite-action-group.js +10 -0
- package/dist/components/calcite-action-group2.js +135 -0
- package/dist/components/calcite-action-menu.d.ts +11 -0
- package/dist/components/calcite-action-menu.js +10 -0
- package/dist/components/calcite-action-menu2.js +354 -0
- package/dist/components/calcite-action-pad.d.ts +11 -0
- package/dist/components/calcite-action-pad.js +198 -0
- package/dist/components/calcite-action.d.ts +11 -0
- package/dist/components/calcite-action.js +10 -0
- package/dist/components/calcite-action2.js +183 -0
- package/dist/components/calcite-alert.d.ts +11 -0
- package/dist/components/calcite-alert.js +232 -0
- package/dist/components/calcite-avatar.d.ts +11 -0
- package/dist/components/calcite-avatar.js +171 -0
- package/dist/components/calcite-block-section.d.ts +11 -0
- package/dist/components/calcite-block-section.js +139 -0
- package/dist/components/calcite-block.d.ts +11 -0
- package/dist/components/calcite-block.js +216 -0
- package/dist/components/calcite-button.d.ts +11 -0
- package/dist/components/calcite-button.js +10 -0
- package/dist/components/calcite-button2.js +243 -0
- package/dist/components/calcite-card.d.ts +11 -0
- package/dist/components/calcite-card.js +162 -0
- package/dist/components/calcite-checkbox.d.ts +11 -0
- package/dist/components/calcite-checkbox.js +10 -0
- package/dist/components/calcite-checkbox2.js +203 -0
- package/dist/components/calcite-chip.d.ts +11 -0
- package/dist/components/calcite-chip.js +10 -0
- package/dist/components/calcite-chip2.js +121 -0
- package/dist/components/calcite-color-picker-hex-input.d.ts +11 -0
- package/dist/components/calcite-color-picker-hex-input.js +10 -0
- package/dist/components/calcite-color-picker-hex-input2.js +353 -0
- package/dist/components/calcite-color-picker-swatch.d.ts +11 -0
- package/dist/components/calcite-color-picker-swatch.js +10 -0
- package/dist/components/calcite-color-picker-swatch2.js +2176 -0
- package/dist/components/calcite-color-picker.d.ts +11 -0
- package/dist/components/calcite-color-picker.js +966 -0
- package/dist/components/calcite-combobox-item-group.d.ts +11 -0
- package/dist/components/calcite-combobox-item-group.js +68 -0
- package/dist/components/calcite-combobox-item.d.ts +11 -0
- package/dist/components/calcite-combobox-item.js +168 -0
- package/dist/components/calcite-combobox.d.ts +11 -0
- package/dist/components/calcite-combobox.js +871 -0
- package/dist/components/calcite-date-picker-day.d.ts +11 -0
- package/dist/components/calcite-date-picker-day.js +10 -0
- package/dist/components/calcite-date-picker-day2.js +99 -0
- package/dist/components/calcite-date-picker-month-header.d.ts +11 -0
- package/dist/components/calcite-date-picker-month-header.js +10 -0
- package/dist/components/calcite-date-picker-month-header2.js +170 -0
- package/dist/components/calcite-date-picker-month.d.ts +11 -0
- package/dist/components/calcite-date-picker-month.js +10 -0
- package/dist/components/calcite-date-picker-month2.js +313 -0
- package/dist/components/calcite-date-picker.d.ts +11 -0
- package/dist/components/calcite-date-picker.js +10 -0
- package/dist/components/calcite-date-picker2.js +486 -0
- package/dist/components/calcite-dropdown-group.d.ts +11 -0
- package/dist/components/calcite-dropdown-group.js +90 -0
- package/dist/components/calcite-dropdown-item.d.ts +11 -0
- package/dist/components/calcite-dropdown-item.js +202 -0
- package/dist/components/calcite-dropdown.d.ts +11 -0
- package/dist/components/calcite-dropdown.js +10 -0
- package/dist/components/calcite-dropdown2.js +390 -0
- package/dist/components/calcite-fab.d.ts +11 -0
- package/dist/components/calcite-fab.js +127 -0
- package/dist/components/calcite-filter.d.ts +11 -0
- package/dist/components/calcite-filter.js +10 -0
- package/dist/components/calcite-filter2.js +168 -0
- package/dist/components/calcite-flow.d.ts +11 -0
- package/dist/components/calcite-flow.js +138 -0
- package/dist/components/calcite-graph.d.ts +11 -0
- package/dist/components/calcite-graph.js +10 -0
- package/dist/components/calcite-graph2.js +213 -0
- package/dist/components/calcite-handle.d.ts +11 -0
- package/dist/components/calcite-handle.js +10 -0
- package/dist/components/calcite-handle2.js +107 -0
- package/dist/components/calcite-icon.d.ts +11 -0
- package/dist/components/calcite-icon.js +10 -0
- package/dist/components/calcite-icon2.js +185 -0
- package/dist/components/calcite-inline-editable.d.ts +11 -0
- package/dist/components/calcite-inline-editable.js +242 -0
- package/dist/components/calcite-input-date-picker.d.ts +11 -0
- package/dist/components/calcite-input-date-picker.js +471 -0
- package/dist/components/calcite-input-message.d.ts +11 -0
- package/dist/components/calcite-input-message.js +97 -0
- package/dist/components/calcite-input-time-picker.d.ts +11 -0
- package/dist/components/calcite-input-time-picker.js +278 -0
- package/dist/components/calcite-input.d.ts +11 -0
- package/dist/components/calcite-input.js +10 -0
- package/dist/components/calcite-input2.js +507 -0
- package/dist/components/calcite-label.d.ts +11 -0
- package/dist/components/calcite-label.js +10 -0
- package/dist/components/calcite-label2.js +81 -0
- package/dist/components/calcite-link.d.ts +11 -0
- package/dist/components/calcite-link.js +10 -0
- package/dist/components/calcite-link2.js +97 -0
- package/dist/components/calcite-list-item-group.d.ts +11 -0
- package/dist/components/calcite-list-item-group.js +57 -0
- package/dist/components/calcite-list-item.d.ts +11 -0
- package/dist/components/calcite-list-item.js +117 -0
- package/dist/components/calcite-list.d.ts +11 -0
- package/dist/components/calcite-list.js +59 -0
- package/dist/components/calcite-loader.d.ts +11 -0
- package/dist/components/calcite-loader.js +10 -0
- package/dist/components/calcite-loader2.js +107 -0
- package/dist/components/calcite-modal.d.ts +11 -0
- package/dist/components/calcite-modal.js +417 -0
- package/dist/components/calcite-notice.d.ts +11 -0
- package/dist/components/calcite-notice.js +140 -0
- package/dist/components/calcite-option-group.d.ts +11 -0
- package/dist/components/calcite-option-group.js +61 -0
- package/dist/components/calcite-option.d.ts +11 -0
- package/dist/components/calcite-option.js +107 -0
- package/dist/components/calcite-pagination.d.ts +11 -0
- package/dist/components/calcite-pagination.js +207 -0
- package/dist/components/calcite-panel.d.ts +11 -0
- package/dist/components/calcite-panel.js +309 -0
- package/dist/components/calcite-pick-list-group.d.ts +11 -0
- package/dist/components/calcite-pick-list-group.js +70 -0
- package/dist/components/calcite-pick-list-item.d.ts +11 -0
- package/dist/components/calcite-pick-list-item.js +10 -0
- package/dist/components/calcite-pick-list-item2.js +230 -0
- package/dist/components/calcite-pick-list.d.ts +11 -0
- package/dist/components/calcite-pick-list.js +196 -0
- package/dist/components/calcite-popover-manager.d.ts +11 -0
- package/dist/components/calcite-popover-manager.js +93 -0
- package/dist/components/calcite-popover.d.ts +11 -0
- package/dist/components/calcite-popover.js +10 -0
- package/dist/components/calcite-popover2.js +332 -0
- package/dist/components/calcite-progress.d.ts +11 -0
- package/dist/components/calcite-progress.js +10 -0
- package/dist/components/calcite-progress2.js +52 -0
- package/dist/components/calcite-radio-button-group.d.ts +11 -0
- package/dist/components/calcite-radio-button-group.js +116 -0
- package/dist/components/calcite-radio-button.d.ts +11 -0
- package/dist/components/calcite-radio-button.js +291 -0
- package/dist/components/calcite-radio-group-item.d.ts +11 -0
- package/dist/components/calcite-radio-group-item.js +139 -0
- package/dist/components/calcite-radio-group.d.ts +11 -0
- package/dist/components/calcite-radio-group.js +233 -0
- package/dist/components/calcite-radio.d.ts +11 -0
- package/dist/components/calcite-radio.js +10 -0
- package/dist/components/calcite-radio2.js +68 -0
- package/dist/components/calcite-rating.d.ts +11 -0
- package/dist/components/calcite-rating.js +160 -0
- package/dist/components/calcite-scrim.d.ts +11 -0
- package/dist/components/calcite-scrim.js +10 -0
- package/dist/components/calcite-scrim2.js +74 -0
- package/dist/components/calcite-select.d.ts +11 -0
- package/dist/components/calcite-select.js +221 -0
- package/dist/components/calcite-shell-center-row.d.ts +11 -0
- package/dist/components/calcite-shell-center-row.js +81 -0
- package/dist/components/calcite-shell-panel.d.ts +11 -0
- package/dist/components/calcite-shell-panel.js +100 -0
- package/dist/components/calcite-shell.d.ts +11 -0
- package/dist/components/calcite-shell.js +99 -0
- package/dist/components/calcite-slider.d.ts +11 -0
- package/dist/components/calcite-slider.js +746 -0
- package/dist/components/calcite-sortable-list.d.ts +11 -0
- package/dist/components/calcite-sortable-list.js +190 -0
- package/dist/components/calcite-split-button.d.ts +11 -0
- package/dist/components/calcite-split-button.js +127 -0
- package/dist/components/calcite-stepper-item.d.ts +11 -0
- package/dist/components/calcite-stepper-item.js +189 -0
- package/dist/components/calcite-stepper.d.ts +11 -0
- package/dist/components/calcite-stepper.js +247 -0
- package/dist/components/calcite-switch.d.ts +11 -0
- package/dist/components/calcite-switch.js +10 -0
- package/dist/components/calcite-switch2.js +167 -0
- package/dist/components/calcite-tab-nav.d.ts +11 -0
- package/dist/components/calcite-tab-nav.js +10 -0
- package/dist/components/calcite-tab-nav2.js +209 -0
- package/dist/components/calcite-tab-title.d.ts +11 -0
- package/dist/components/calcite-tab-title.js +10 -0
- package/dist/components/calcite-tab-title2.js +230 -0
- package/dist/components/calcite-tab.d.ts +11 -0
- package/dist/components/calcite-tab.js +10 -0
- package/dist/components/calcite-tab2.js +122 -0
- package/dist/components/calcite-tabs.d.ts +11 -0
- package/dist/components/calcite-tabs.js +10 -0
- package/dist/components/calcite-tabs2.js +183 -0
- package/dist/components/calcite-tile-select-group.d.ts +11 -0
- package/dist/components/calcite-tile-select-group.js +45 -0
- package/dist/components/calcite-tile-select.d.ts +11 -0
- package/dist/components/calcite-tile-select.js +218 -0
- package/dist/components/calcite-tile.d.ts +11 -0
- package/dist/components/calcite-tile.js +10 -0
- package/dist/components/calcite-tile2.js +98 -0
- package/dist/components/calcite-time-picker.d.ts +11 -0
- package/dist/components/calcite-time-picker.js +10 -0
- package/dist/components/calcite-time-picker2.js +707 -0
- package/dist/components/calcite-tip-group.d.ts +11 -0
- package/dist/components/calcite-tip-group.js +38 -0
- package/dist/components/calcite-tip-manager.d.ts +11 -0
- package/dist/components/calcite-tip-manager.js +218 -0
- package/dist/components/calcite-tip.d.ts +11 -0
- package/dist/components/calcite-tip.js +140 -0
- package/dist/components/calcite-tooltip-manager.d.ts +11 -0
- package/dist/components/calcite-tooltip-manager.js +10 -0
- package/dist/components/calcite-tooltip-manager2.js +168 -0
- package/dist/components/calcite-tooltip.d.ts +11 -0
- package/dist/components/calcite-tooltip.js +224 -0
- package/dist/components/calcite-tree-item.d.ts +11 -0
- package/dist/components/calcite-tree-item.js +303 -0
- package/dist/components/calcite-tree.d.ts +11 -0
- package/dist/components/calcite-tree.js +216 -0
- package/dist/components/calcite-value-list-item.d.ts +11 -0
- package/dist/components/calcite-value-list-item.js +180 -0
- package/dist/components/calcite-value-list.d.ts +11 -0
- package/dist/components/calcite-value-list.js +271 -0
- package/dist/components/date.js +159 -0
- package/dist/components/debounce.js +486 -0
- package/dist/components/dom.js +153 -0
- package/dist/components/forIn.js +619 -0
- package/dist/components/form.js +20 -0
- package/dist/components/guid.js +18 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +5 -0
- package/dist/components/interfaces.js +13 -0
- package/dist/components/interfaces2.js +14 -0
- package/dist/components/key.js +33 -0
- package/dist/components/label.js +54 -0
- package/dist/components/locale.js +118 -0
- package/dist/components/math.js +7 -0
- package/dist/components/number.js +40 -0
- package/dist/components/observers.js +22 -0
- package/dist/{esm/popper-44055f06.js → components/popper.js} +3 -3
- package/dist/components/resources.js +24 -0
- package/dist/components/resources2.js +13 -0
- package/dist/components/resources3.js +18 -0
- package/dist/components/resources4.js +32 -0
- package/dist/components/shared-list-render.js +286 -0
- package/dist/components/sortable.esm.js +3017 -0
- package/dist/components/utils.js +113 -0
- package/dist/components/utils2.js +38 -0
- package/dist/custom-elements/index.js +400 -309
- package/dist/esm/{CalciteExpandToggle-b1e6e72d.js → CalciteExpandToggle-235a6bfd.js} +2 -2
- package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +3 -3
- package/dist/esm/calcite-action-group.entry.js +2 -2
- package/dist/esm/calcite-action-menu.entry.js +6 -4
- package/dist/esm/calcite-action-pad.entry.js +3 -3
- package/dist/esm/calcite-action.entry.js +6 -10
- package/dist/esm/calcite-alert.entry.js +3 -3
- package/dist/esm/calcite-avatar.entry.js +2 -2
- package/dist/esm/calcite-block_2.entry.js +5 -5
- package/dist/esm/calcite-button.entry.js +53 -36
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-checkbox.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +2 -2
- package/dist/esm/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +14 -14
- package/dist/esm/calcite-date-picker_4.entry.js +4 -4
- package/dist/esm/calcite-dropdown_3.entry.js +37 -20
- package/dist/esm/calcite-fab.entry.js +2 -2
- package/dist/esm/calcite-filter.entry.js +11 -8
- package/dist/esm/calcite-flow.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +29 -21
- package/dist/esm/calcite-handle.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +7 -6
- package/dist/esm/calcite-input-date-picker.entry.js +14 -14
- package/dist/esm/calcite-input-message.entry.js +2 -2
- package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
- package/dist/esm/calcite-input.entry.js +41 -28
- package/dist/esm/calcite-label.entry.js +2 -2
- package/dist/esm/calcite-link.entry.js +8 -2
- package/dist/esm/calcite-list_3.entry.js +25 -4
- package/dist/esm/calcite-loader.entry.js +2 -2
- package/dist/esm/calcite-modal.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +3 -3
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +4 -4
- package/dist/esm/calcite-pick-list_3.entry.js +4 -4
- package/dist/esm/calcite-popover_2.entry.js +5 -5
- package/dist/esm/calcite-progress.entry.js +1 -1
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/calcite-radio-group_2.entry.js +12 -12
- package/dist/esm/calcite-radio_2.entry.js +18 -18
- package/dist/esm/calcite-rating.entry.js +11 -11
- package/dist/esm/calcite-scrim.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +2 -2
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +2 -2
- package/dist/esm/calcite-stepper_2.entry.js +2 -2
- package/dist/esm/calcite-switch.entry.js +19 -14
- package/dist/esm/calcite-tab_4.entry.js +2 -2
- package/dist/esm/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm/calcite-tile.entry.js +3 -3
- package/dist/esm/calcite-tip_3.entry.js +3 -3
- package/dist/esm/calcite-tooltip_2.entry.js +7 -6
- package/dist/esm/calcite-tree_2.entry.js +2 -2
- package/dist/esm/calcite-value-list_2.entry.js +3 -3
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{dom-70b0e988.js → dom-f24e866c.js} +1 -1
- package/dist/esm/{index-d653c37f.js → index-66803519.js} +73 -64
- package/dist/esm/{label-426b4471.js → label-bb61bdef.js} +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/popper-dc4b45cf.js +1785 -0
- package/dist/esm/{resources-56ac5dd9.js → resources-8dd80c84.js} +2 -2
- package/dist/esm/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
- package/dist/esm-es5/{CalciteExpandToggle-b1e6e72d.js → CalciteExpandToggle-235a6bfd.js} +1 -1
- package/dist/esm-es5/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +1 -1
- package/dist/esm-es5/calcite-filter.entry.js +1 -1
- package/dist/esm-es5/calcite-flow.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-handle.entry.js +1 -1
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- package/dist/esm-es5/calcite-label.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +1 -1
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- package/dist/esm-es5/calcite-panel.entry.js +1 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
- package/dist/esm-es5/calcite-progress.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +1 -1
- package/dist/esm-es5/calcite-scrim.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
- package/dist/esm-es5/calcite-switch.entry.js +1 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/{dom-70b0e988.js → dom-f24e866c.js} +1 -1
- package/dist/esm-es5/{index-d653c37f.js → index-66803519.js} +1 -1
- package/dist/esm-es5/label-bb61bdef.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/popper-dc4b45cf.js +5 -0
- package/dist/esm-es5/{resources-56ac5dd9.js → resources-8dd80c84.js} +1 -1
- package/dist/esm-es5/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
- package/dist/extras/docs-json.json +511 -429
- package/dist/types/components/calcite-action/calcite-action.d.ts +2 -2
- package/dist/types/components/calcite-button/calcite-button.d.ts +10 -3
- package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +1 -1
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +1 -1
- package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +6 -3
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +5 -1
- package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +1 -1
- package/dist/types/components/calcite-input/calcite-input.d.ts +8 -2
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +1 -1
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +2 -2
- package/dist/types/components/calcite-link/calcite-link.d.ts +2 -1
- package/dist/types/components/calcite-list/calcite-list.d.ts +3 -0
- package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +3 -0
- package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
- package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +1 -1
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -1
- package/dist/types/components/calcite-rating/calcite-rating.d.ts +1 -1
- package/dist/types/components/calcite-select/calcite-select.d.ts +1 -1
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +1 -1
- package/dist/types/components/calcite-switch/calcite-switch.d.ts +1 -1
- package/dist/types/components.d.ts +42 -8
- package/dist/types/utils/popper.d.ts +1 -1
- package/hydrate/index.js +321 -223
- package/package.json +32 -34
- package/readme.md +5 -5
- package/dist/calcite/p-01574cc9.system.entry.js +0 -5
- package/dist/calcite/p-034b30d0.system.entry.js +0 -5
- package/dist/calcite/p-07ba39b6.js +0 -5
- package/dist/calcite/p-161fae80.entry.js +0 -5
- package/dist/calcite/p-1800ca58.system.entry.js +0 -5
- package/dist/calcite/p-22b45d8e.entry.js +0 -5
- package/dist/calcite/p-38f1f404.entry.js +0 -5
- package/dist/calcite/p-3a529cc9.entry.js +0 -5
- package/dist/calcite/p-3f4d3c3a.system.entry.js +0 -5
- package/dist/calcite/p-42c1ceea.system.entry.js +0 -5
- package/dist/calcite/p-43c9ac47.entry.js +0 -5
- package/dist/calcite/p-48d862ab.system.entry.js +0 -5
- package/dist/calcite/p-4ba0e355.entry.js +0 -5
- package/dist/calcite/p-50c3504a.system.entry.js +0 -5
- package/dist/calcite/p-5cab6853.js +0 -5
- package/dist/calcite/p-6235a763.system.entry.js +0 -5
- package/dist/calcite/p-649b9bf0.entry.js +0 -5
- package/dist/calcite/p-66845ec0.entry.js +0 -5
- package/dist/calcite/p-6805cf31.entry.js +0 -5
- package/dist/calcite/p-6bdedd7f.system.js +0 -5
- package/dist/calcite/p-6cff93c4.entry.js +0 -5
- package/dist/calcite/p-773b9826.system.entry.js +0 -5
- package/dist/calcite/p-7878aa7c.entry.js +0 -5
- package/dist/calcite/p-78820fed.system.entry.js +0 -5
- package/dist/calcite/p-86788d34.entry.js +0 -5
- package/dist/calcite/p-8a535973.entry.js +0 -5
- package/dist/calcite/p-9965ea81.system.js +0 -5
- package/dist/calcite/p-9cad254a.entry.js +0 -5
- package/dist/calcite/p-a923201d.system.entry.js +0 -5
- package/dist/calcite/p-adfa75fa.entry.js +0 -5
- package/dist/calcite/p-c026ce05.entry.js +0 -5
- package/dist/calcite/p-c198f23c.entry.js +0 -5
- package/dist/calcite/p-c728d861.entry.js +0 -5
- package/dist/calcite/p-c7b4e11f.entry.js +0 -5
- package/dist/calcite/p-cb44170e.system.js +0 -5
- package/dist/calcite/p-cb87824b.entry.js +0 -5
- package/dist/calcite/p-d35a300b.entry.js +0 -5
- package/dist/calcite/p-d7756753.entry.js +0 -5
- package/dist/calcite/p-e3ea64dc.entry.js +0 -5
- package/dist/calcite/p-e6cc7798.entry.js +0 -5
- package/dist/calcite/p-eb027f31.system.entry.js +0 -5
- package/dist/calcite/p-edc12d5c.entry.js +0 -5
- package/dist/calcite/p-f33a21cf.system.entry.js +0 -5
- package/dist/custom-elements/bundles/accordion.d.ts +0 -1
- package/dist/custom-elements/bundles/accordion.js +0 -5
- package/dist/custom-elements/bundles/action-bar.d.ts +0 -1
- package/dist/custom-elements/bundles/action-bar.js +0 -5
- package/dist/custom-elements/bundles/action-menu.d.ts +0 -1
- package/dist/custom-elements/bundles/action-menu.js +0 -5
- package/dist/custom-elements/bundles/action-pad.d.ts +0 -1
- package/dist/custom-elements/bundles/action-pad.js +0 -5
- package/dist/custom-elements/bundles/action.d.ts +0 -1
- package/dist/custom-elements/bundles/action.js +0 -5
- package/dist/custom-elements/bundles/alert.d.ts +0 -1
- package/dist/custom-elements/bundles/alert.js +0 -5
- package/dist/custom-elements/bundles/avatar.d.ts +0 -1
- package/dist/custom-elements/bundles/avatar.js +0 -5
- package/dist/custom-elements/bundles/block.d.ts +0 -1
- package/dist/custom-elements/bundles/block.js +0 -5
- package/dist/custom-elements/bundles/button.d.ts +0 -1
- package/dist/custom-elements/bundles/button.js +0 -5
- package/dist/custom-elements/bundles/card.d.ts +0 -1
- package/dist/custom-elements/bundles/card.js +0 -5
- package/dist/custom-elements/bundles/checkbox.d.ts +0 -1
- package/dist/custom-elements/bundles/checkbox.js +0 -5
- package/dist/custom-elements/bundles/chip.d.ts +0 -1
- package/dist/custom-elements/bundles/chip.js +0 -5
- package/dist/custom-elements/bundles/color-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/color-picker.js +0 -5
- package/dist/custom-elements/bundles/combobox.d.ts +0 -1
- package/dist/custom-elements/bundles/combobox.js +0 -5
- package/dist/custom-elements/bundles/date-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/date-picker.js +0 -5
- package/dist/custom-elements/bundles/dropdown.d.ts +0 -1
- package/dist/custom-elements/bundles/dropdown.js +0 -5
- package/dist/custom-elements/bundles/fab.d.ts +0 -1
- package/dist/custom-elements/bundles/fab.js +0 -5
- package/dist/custom-elements/bundles/flow.d.ts +0 -1
- package/dist/custom-elements/bundles/flow.js +0 -5
- package/dist/custom-elements/bundles/icon.d.ts +0 -1
- package/dist/custom-elements/bundles/icon.js +0 -5
- package/dist/custom-elements/bundles/inline-editable.d.ts +0 -1
- package/dist/custom-elements/bundles/inline-editable.js +0 -5
- package/dist/custom-elements/bundles/input-date-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/input-date-picker.js +0 -5
- package/dist/custom-elements/bundles/input-message.d.ts +0 -1
- package/dist/custom-elements/bundles/input-message.js +0 -5
- package/dist/custom-elements/bundles/input-time-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/input-time-picker.js +0 -5
- package/dist/custom-elements/bundles/input.d.ts +0 -1
- package/dist/custom-elements/bundles/input.js +0 -5
- package/dist/custom-elements/bundles/label.d.ts +0 -1
- package/dist/custom-elements/bundles/label.js +0 -5
- package/dist/custom-elements/bundles/link.d.ts +0 -1
- package/dist/custom-elements/bundles/link.js +0 -5
- package/dist/custom-elements/bundles/list.d.ts +0 -1
- package/dist/custom-elements/bundles/list.js +0 -5
- package/dist/custom-elements/bundles/loader.d.ts +0 -1
- package/dist/custom-elements/bundles/loader.js +0 -5
- package/dist/custom-elements/bundles/modal.d.ts +0 -1
- package/dist/custom-elements/bundles/modal.js +0 -5
- package/dist/custom-elements/bundles/notice.d.ts +0 -1
- package/dist/custom-elements/bundles/notice.js +0 -5
- package/dist/custom-elements/bundles/pagination.d.ts +0 -1
- package/dist/custom-elements/bundles/pagination.js +0 -5
- package/dist/custom-elements/bundles/panel.d.ts +0 -1
- package/dist/custom-elements/bundles/panel.js +0 -5
- package/dist/custom-elements/bundles/pick-list.d.ts +0 -1
- package/dist/custom-elements/bundles/pick-list.js +0 -5
- package/dist/custom-elements/bundles/popover.d.ts +0 -1
- package/dist/custom-elements/bundles/popover.js +0 -5
- package/dist/custom-elements/bundles/progress.d.ts +0 -1
- package/dist/custom-elements/bundles/progress.js +0 -5
- package/dist/custom-elements/bundles/radio-button-group.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-button-group.js +0 -5
- package/dist/custom-elements/bundles/radio-button.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-button.js +0 -5
- package/dist/custom-elements/bundles/radio-group.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-group.js +0 -5
- package/dist/custom-elements/bundles/rating.d.ts +0 -1
- package/dist/custom-elements/bundles/rating.js +0 -5
- package/dist/custom-elements/bundles/scrim.d.ts +0 -1
- package/dist/custom-elements/bundles/scrim.js +0 -5
- package/dist/custom-elements/bundles/select.d.ts +0 -1
- package/dist/custom-elements/bundles/select.js +0 -5
- package/dist/custom-elements/bundles/shell.d.ts +0 -1
- package/dist/custom-elements/bundles/shell.js +0 -5
- package/dist/custom-elements/bundles/slider.d.ts +0 -1
- package/dist/custom-elements/bundles/slider.js +0 -5
- package/dist/custom-elements/bundles/sortable-list.d.ts +0 -1
- package/dist/custom-elements/bundles/sortable-list.js +0 -5
- package/dist/custom-elements/bundles/split-button.d.ts +0 -1
- package/dist/custom-elements/bundles/split-button.js +0 -5
- package/dist/custom-elements/bundles/stepper.d.ts +0 -1
- package/dist/custom-elements/bundles/stepper.js +0 -5
- package/dist/custom-elements/bundles/switch.d.ts +0 -1
- package/dist/custom-elements/bundles/switch.js +0 -5
- package/dist/custom-elements/bundles/tab.d.ts +0 -1
- package/dist/custom-elements/bundles/tab.js +0 -5
- package/dist/custom-elements/bundles/tile-select-group.d.ts +0 -1
- package/dist/custom-elements/bundles/tile-select-group.js +0 -5
- package/dist/custom-elements/bundles/tile.d.ts +0 -1
- package/dist/custom-elements/bundles/tile.js +0 -5
- package/dist/custom-elements/bundles/tip.d.ts +0 -1
- package/dist/custom-elements/bundles/tip.js +0 -5
- package/dist/custom-elements/bundles/tooltip.d.ts +0 -1
- package/dist/custom-elements/bundles/tooltip.js +0 -5
- package/dist/custom-elements/bundles/tree.d.ts +0 -1
- package/dist/custom-elements/bundles/tree.js +0 -5
- package/dist/custom-elements/bundles/value-list.d.ts +0 -1
- package/dist/custom-elements/bundles/value-list.js +0 -5
- package/dist/custom-elements/index.mjs +0 -24476
- package/dist/custom-elements/utils.d.ts +0 -2
- package/dist/custom-elements/utils.js +0 -11
- package/dist/esm-es5/label-426b4471.js +0 -5
- package/dist/esm-es5/popper-44055f06.js +0 -5
|
@@ -0,0 +1,486 @@
|
|
|
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
|
+
/** Detect free variable `global` from Node.js. */
|
|
6
|
+
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
7
|
+
|
|
8
|
+
/** Detect free variable `self`. */
|
|
9
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
10
|
+
|
|
11
|
+
/** Used as a reference to the global object. */
|
|
12
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
|
13
|
+
|
|
14
|
+
/** Built-in value references. */
|
|
15
|
+
var Symbol = root.Symbol;
|
|
16
|
+
|
|
17
|
+
/** Used for built-in method references. */
|
|
18
|
+
var objectProto$1 = Object.prototype;
|
|
19
|
+
|
|
20
|
+
/** Used to check objects for own properties. */
|
|
21
|
+
var hasOwnProperty = objectProto$1.hasOwnProperty;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Used to resolve the
|
|
25
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
26
|
+
* of values.
|
|
27
|
+
*/
|
|
28
|
+
var nativeObjectToString$1 = objectProto$1.toString;
|
|
29
|
+
|
|
30
|
+
/** Built-in value references. */
|
|
31
|
+
var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
35
|
+
*
|
|
36
|
+
* @private
|
|
37
|
+
* @param {*} value The value to query.
|
|
38
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
39
|
+
*/
|
|
40
|
+
function getRawTag(value) {
|
|
41
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag$1),
|
|
42
|
+
tag = value[symToStringTag$1];
|
|
43
|
+
|
|
44
|
+
try {
|
|
45
|
+
value[symToStringTag$1] = undefined;
|
|
46
|
+
var unmasked = true;
|
|
47
|
+
} catch (e) {}
|
|
48
|
+
|
|
49
|
+
var result = nativeObjectToString$1.call(value);
|
|
50
|
+
if (unmasked) {
|
|
51
|
+
if (isOwn) {
|
|
52
|
+
value[symToStringTag$1] = tag;
|
|
53
|
+
} else {
|
|
54
|
+
delete value[symToStringTag$1];
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return result;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/** Used for built-in method references. */
|
|
61
|
+
var objectProto = Object.prototype;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Used to resolve the
|
|
65
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
66
|
+
* of values.
|
|
67
|
+
*/
|
|
68
|
+
var nativeObjectToString = objectProto.toString;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
|
72
|
+
*
|
|
73
|
+
* @private
|
|
74
|
+
* @param {*} value The value to convert.
|
|
75
|
+
* @returns {string} Returns the converted string.
|
|
76
|
+
*/
|
|
77
|
+
function objectToString(value) {
|
|
78
|
+
return nativeObjectToString.call(value);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/** `Object#toString` result references. */
|
|
82
|
+
var nullTag = '[object Null]',
|
|
83
|
+
undefinedTag = '[object Undefined]';
|
|
84
|
+
|
|
85
|
+
/** Built-in value references. */
|
|
86
|
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
90
|
+
*
|
|
91
|
+
* @private
|
|
92
|
+
* @param {*} value The value to query.
|
|
93
|
+
* @returns {string} Returns the `toStringTag`.
|
|
94
|
+
*/
|
|
95
|
+
function baseGetTag(value) {
|
|
96
|
+
if (value == null) {
|
|
97
|
+
return value === undefined ? undefinedTag : nullTag;
|
|
98
|
+
}
|
|
99
|
+
return (symToStringTag && symToStringTag in Object(value))
|
|
100
|
+
? getRawTag(value)
|
|
101
|
+
: objectToString(value);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
106
|
+
* and has a `typeof` result of "object".
|
|
107
|
+
*
|
|
108
|
+
* @static
|
|
109
|
+
* @memberOf _
|
|
110
|
+
* @since 4.0.0
|
|
111
|
+
* @category Lang
|
|
112
|
+
* @param {*} value The value to check.
|
|
113
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
114
|
+
* @example
|
|
115
|
+
*
|
|
116
|
+
* _.isObjectLike({});
|
|
117
|
+
* // => true
|
|
118
|
+
*
|
|
119
|
+
* _.isObjectLike([1, 2, 3]);
|
|
120
|
+
* // => true
|
|
121
|
+
*
|
|
122
|
+
* _.isObjectLike(_.noop);
|
|
123
|
+
* // => false
|
|
124
|
+
*
|
|
125
|
+
* _.isObjectLike(null);
|
|
126
|
+
* // => false
|
|
127
|
+
*/
|
|
128
|
+
function isObjectLike(value) {
|
|
129
|
+
return value != null && typeof value == 'object';
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/** `Object#toString` result references. */
|
|
133
|
+
var symbolTag = '[object Symbol]';
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
137
|
+
*
|
|
138
|
+
* @static
|
|
139
|
+
* @memberOf _
|
|
140
|
+
* @since 4.0.0
|
|
141
|
+
* @category Lang
|
|
142
|
+
* @param {*} value The value to check.
|
|
143
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
144
|
+
* @example
|
|
145
|
+
*
|
|
146
|
+
* _.isSymbol(Symbol.iterator);
|
|
147
|
+
* // => true
|
|
148
|
+
*
|
|
149
|
+
* _.isSymbol('abc');
|
|
150
|
+
* // => false
|
|
151
|
+
*/
|
|
152
|
+
function isSymbol(value) {
|
|
153
|
+
return typeof value == 'symbol' ||
|
|
154
|
+
(isObjectLike(value) && baseGetTag(value) == symbolTag);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/** Used to match a single whitespace character. */
|
|
158
|
+
var reWhitespace = /\s/;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
|
|
162
|
+
* character of `string`.
|
|
163
|
+
*
|
|
164
|
+
* @private
|
|
165
|
+
* @param {string} string The string to inspect.
|
|
166
|
+
* @returns {number} Returns the index of the last non-whitespace character.
|
|
167
|
+
*/
|
|
168
|
+
function trimmedEndIndex(string) {
|
|
169
|
+
var index = string.length;
|
|
170
|
+
|
|
171
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {}
|
|
172
|
+
return index;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/** Used to match leading whitespace. */
|
|
176
|
+
var reTrimStart = /^\s+/;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The base implementation of `_.trim`.
|
|
180
|
+
*
|
|
181
|
+
* @private
|
|
182
|
+
* @param {string} string The string to trim.
|
|
183
|
+
* @returns {string} Returns the trimmed string.
|
|
184
|
+
*/
|
|
185
|
+
function baseTrim(string) {
|
|
186
|
+
return string
|
|
187
|
+
? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
|
|
188
|
+
: string;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Checks if `value` is the
|
|
193
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
194
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
195
|
+
*
|
|
196
|
+
* @static
|
|
197
|
+
* @memberOf _
|
|
198
|
+
* @since 0.1.0
|
|
199
|
+
* @category Lang
|
|
200
|
+
* @param {*} value The value to check.
|
|
201
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
202
|
+
* @example
|
|
203
|
+
*
|
|
204
|
+
* _.isObject({});
|
|
205
|
+
* // => true
|
|
206
|
+
*
|
|
207
|
+
* _.isObject([1, 2, 3]);
|
|
208
|
+
* // => true
|
|
209
|
+
*
|
|
210
|
+
* _.isObject(_.noop);
|
|
211
|
+
* // => true
|
|
212
|
+
*
|
|
213
|
+
* _.isObject(null);
|
|
214
|
+
* // => false
|
|
215
|
+
*/
|
|
216
|
+
function isObject(value) {
|
|
217
|
+
var type = typeof value;
|
|
218
|
+
return value != null && (type == 'object' || type == 'function');
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/** Used as references for various `Number` constants. */
|
|
222
|
+
var NAN = 0 / 0;
|
|
223
|
+
|
|
224
|
+
/** Used to detect bad signed hexadecimal string values. */
|
|
225
|
+
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
226
|
+
|
|
227
|
+
/** Used to detect binary string values. */
|
|
228
|
+
var reIsBinary = /^0b[01]+$/i;
|
|
229
|
+
|
|
230
|
+
/** Used to detect octal string values. */
|
|
231
|
+
var reIsOctal = /^0o[0-7]+$/i;
|
|
232
|
+
|
|
233
|
+
/** Built-in method references without a dependency on `root`. */
|
|
234
|
+
var freeParseInt = parseInt;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Converts `value` to a number.
|
|
238
|
+
*
|
|
239
|
+
* @static
|
|
240
|
+
* @memberOf _
|
|
241
|
+
* @since 4.0.0
|
|
242
|
+
* @category Lang
|
|
243
|
+
* @param {*} value The value to process.
|
|
244
|
+
* @returns {number} Returns the number.
|
|
245
|
+
* @example
|
|
246
|
+
*
|
|
247
|
+
* _.toNumber(3.2);
|
|
248
|
+
* // => 3.2
|
|
249
|
+
*
|
|
250
|
+
* _.toNumber(Number.MIN_VALUE);
|
|
251
|
+
* // => 5e-324
|
|
252
|
+
*
|
|
253
|
+
* _.toNumber(Infinity);
|
|
254
|
+
* // => Infinity
|
|
255
|
+
*
|
|
256
|
+
* _.toNumber('3.2');
|
|
257
|
+
* // => 3.2
|
|
258
|
+
*/
|
|
259
|
+
function toNumber(value) {
|
|
260
|
+
if (typeof value == 'number') {
|
|
261
|
+
return value;
|
|
262
|
+
}
|
|
263
|
+
if (isSymbol(value)) {
|
|
264
|
+
return NAN;
|
|
265
|
+
}
|
|
266
|
+
if (isObject(value)) {
|
|
267
|
+
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
268
|
+
value = isObject(other) ? (other + '') : other;
|
|
269
|
+
}
|
|
270
|
+
if (typeof value != 'string') {
|
|
271
|
+
return value === 0 ? value : +value;
|
|
272
|
+
}
|
|
273
|
+
value = baseTrim(value);
|
|
274
|
+
var isBinary = reIsBinary.test(value);
|
|
275
|
+
return (isBinary || reIsOctal.test(value))
|
|
276
|
+
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
277
|
+
: (reIsBadHex.test(value) ? NAN : +value);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
282
|
+
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
283
|
+
*
|
|
284
|
+
* @static
|
|
285
|
+
* @memberOf _
|
|
286
|
+
* @since 2.4.0
|
|
287
|
+
* @category Date
|
|
288
|
+
* @returns {number} Returns the timestamp.
|
|
289
|
+
* @example
|
|
290
|
+
*
|
|
291
|
+
* _.defer(function(stamp) {
|
|
292
|
+
* console.log(_.now() - stamp);
|
|
293
|
+
* }, _.now());
|
|
294
|
+
* // => Logs the number of milliseconds it took for the deferred invocation.
|
|
295
|
+
*/
|
|
296
|
+
var now = function() {
|
|
297
|
+
return root.Date.now();
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
/** Error message constants. */
|
|
301
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
302
|
+
|
|
303
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
304
|
+
var nativeMax = Math.max,
|
|
305
|
+
nativeMin = Math.min;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Creates a debounced function that delays invoking `func` until after `wait`
|
|
309
|
+
* milliseconds have elapsed since the last time the debounced function was
|
|
310
|
+
* invoked. The debounced function comes with a `cancel` method to cancel
|
|
311
|
+
* delayed `func` invocations and a `flush` method to immediately invoke them.
|
|
312
|
+
* Provide `options` to indicate whether `func` should be invoked on the
|
|
313
|
+
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
|
|
314
|
+
* with the last arguments provided to the debounced function. Subsequent
|
|
315
|
+
* calls to the debounced function return the result of the last `func`
|
|
316
|
+
* invocation.
|
|
317
|
+
*
|
|
318
|
+
* **Note:** If `leading` and `trailing` options are `true`, `func` is
|
|
319
|
+
* invoked on the trailing edge of the timeout only if the debounced function
|
|
320
|
+
* is invoked more than once during the `wait` timeout.
|
|
321
|
+
*
|
|
322
|
+
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
|
|
323
|
+
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
|
|
324
|
+
*
|
|
325
|
+
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
|
|
326
|
+
* for details over the differences between `_.debounce` and `_.throttle`.
|
|
327
|
+
*
|
|
328
|
+
* @static
|
|
329
|
+
* @memberOf _
|
|
330
|
+
* @since 0.1.0
|
|
331
|
+
* @category Function
|
|
332
|
+
* @param {Function} func The function to debounce.
|
|
333
|
+
* @param {number} [wait=0] The number of milliseconds to delay.
|
|
334
|
+
* @param {Object} [options={}] The options object.
|
|
335
|
+
* @param {boolean} [options.leading=false]
|
|
336
|
+
* Specify invoking on the leading edge of the timeout.
|
|
337
|
+
* @param {number} [options.maxWait]
|
|
338
|
+
* The maximum time `func` is allowed to be delayed before it's invoked.
|
|
339
|
+
* @param {boolean} [options.trailing=true]
|
|
340
|
+
* Specify invoking on the trailing edge of the timeout.
|
|
341
|
+
* @returns {Function} Returns the new debounced function.
|
|
342
|
+
* @example
|
|
343
|
+
*
|
|
344
|
+
* // Avoid costly calculations while the window size is in flux.
|
|
345
|
+
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
|
|
346
|
+
*
|
|
347
|
+
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
|
|
348
|
+
* jQuery(element).on('click', _.debounce(sendMail, 300, {
|
|
349
|
+
* 'leading': true,
|
|
350
|
+
* 'trailing': false
|
|
351
|
+
* }));
|
|
352
|
+
*
|
|
353
|
+
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
|
|
354
|
+
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
|
|
355
|
+
* var source = new EventSource('/stream');
|
|
356
|
+
* jQuery(source).on('message', debounced);
|
|
357
|
+
*
|
|
358
|
+
* // Cancel the trailing debounced invocation.
|
|
359
|
+
* jQuery(window).on('popstate', debounced.cancel);
|
|
360
|
+
*/
|
|
361
|
+
function debounce(func, wait, options) {
|
|
362
|
+
var lastArgs,
|
|
363
|
+
lastThis,
|
|
364
|
+
maxWait,
|
|
365
|
+
result,
|
|
366
|
+
timerId,
|
|
367
|
+
lastCallTime,
|
|
368
|
+
lastInvokeTime = 0,
|
|
369
|
+
leading = false,
|
|
370
|
+
maxing = false,
|
|
371
|
+
trailing = true;
|
|
372
|
+
|
|
373
|
+
if (typeof func != 'function') {
|
|
374
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
375
|
+
}
|
|
376
|
+
wait = toNumber(wait) || 0;
|
|
377
|
+
if (isObject(options)) {
|
|
378
|
+
leading = !!options.leading;
|
|
379
|
+
maxing = 'maxWait' in options;
|
|
380
|
+
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
|
381
|
+
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
function invokeFunc(time) {
|
|
385
|
+
var args = lastArgs,
|
|
386
|
+
thisArg = lastThis;
|
|
387
|
+
|
|
388
|
+
lastArgs = lastThis = undefined;
|
|
389
|
+
lastInvokeTime = time;
|
|
390
|
+
result = func.apply(thisArg, args);
|
|
391
|
+
return result;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
function leadingEdge(time) {
|
|
395
|
+
// Reset any `maxWait` timer.
|
|
396
|
+
lastInvokeTime = time;
|
|
397
|
+
// Start the timer for the trailing edge.
|
|
398
|
+
timerId = setTimeout(timerExpired, wait);
|
|
399
|
+
// Invoke the leading edge.
|
|
400
|
+
return leading ? invokeFunc(time) : result;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
function remainingWait(time) {
|
|
404
|
+
var timeSinceLastCall = time - lastCallTime,
|
|
405
|
+
timeSinceLastInvoke = time - lastInvokeTime,
|
|
406
|
+
timeWaiting = wait - timeSinceLastCall;
|
|
407
|
+
|
|
408
|
+
return maxing
|
|
409
|
+
? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
|
|
410
|
+
: timeWaiting;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
function shouldInvoke(time) {
|
|
414
|
+
var timeSinceLastCall = time - lastCallTime,
|
|
415
|
+
timeSinceLastInvoke = time - lastInvokeTime;
|
|
416
|
+
|
|
417
|
+
// Either this is the first call, activity has stopped and we're at the
|
|
418
|
+
// trailing edge, the system time has gone backwards and we're treating
|
|
419
|
+
// it as the trailing edge, or we've hit the `maxWait` limit.
|
|
420
|
+
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
|
|
421
|
+
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
function timerExpired() {
|
|
425
|
+
var time = now();
|
|
426
|
+
if (shouldInvoke(time)) {
|
|
427
|
+
return trailingEdge(time);
|
|
428
|
+
}
|
|
429
|
+
// Restart the timer.
|
|
430
|
+
timerId = setTimeout(timerExpired, remainingWait(time));
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
function trailingEdge(time) {
|
|
434
|
+
timerId = undefined;
|
|
435
|
+
|
|
436
|
+
// Only invoke if we have `lastArgs` which means `func` has been
|
|
437
|
+
// debounced at least once.
|
|
438
|
+
if (trailing && lastArgs) {
|
|
439
|
+
return invokeFunc(time);
|
|
440
|
+
}
|
|
441
|
+
lastArgs = lastThis = undefined;
|
|
442
|
+
return result;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
function cancel() {
|
|
446
|
+
if (timerId !== undefined) {
|
|
447
|
+
clearTimeout(timerId);
|
|
448
|
+
}
|
|
449
|
+
lastInvokeTime = 0;
|
|
450
|
+
lastArgs = lastCallTime = lastThis = timerId = undefined;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
function flush() {
|
|
454
|
+
return timerId === undefined ? result : trailingEdge(now());
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
function debounced() {
|
|
458
|
+
var time = now(),
|
|
459
|
+
isInvoking = shouldInvoke(time);
|
|
460
|
+
|
|
461
|
+
lastArgs = arguments;
|
|
462
|
+
lastThis = this;
|
|
463
|
+
lastCallTime = time;
|
|
464
|
+
|
|
465
|
+
if (isInvoking) {
|
|
466
|
+
if (timerId === undefined) {
|
|
467
|
+
return leadingEdge(lastCallTime);
|
|
468
|
+
}
|
|
469
|
+
if (maxing) {
|
|
470
|
+
// Handle invocations in a tight loop.
|
|
471
|
+
clearTimeout(timerId);
|
|
472
|
+
timerId = setTimeout(timerExpired, wait);
|
|
473
|
+
return invokeFunc(lastCallTime);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
if (timerId === undefined) {
|
|
477
|
+
timerId = setTimeout(timerExpired, wait);
|
|
478
|
+
}
|
|
479
|
+
return result;
|
|
480
|
+
}
|
|
481
|
+
debounced.cancel = cancel;
|
|
482
|
+
debounced.flush = flush;
|
|
483
|
+
return debounced;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export { Symbol as S, isSymbol as a, baseGetTag as b, isObjectLike as c, debounce as d, freeGlobal as f, isObject as i, root as r };
|
|
@@ -0,0 +1,153 @@
|
|
|
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.js';
|
|
6
|
+
|
|
7
|
+
const autoTheme = "calcite-theme-auto";
|
|
8
|
+
const darkTheme = "calcite-theme-dark";
|
|
9
|
+
const lightTheme = "calcite-theme-light";
|
|
10
|
+
const CSS_UTILITY = {
|
|
11
|
+
autoTheme,
|
|
12
|
+
darkTheme,
|
|
13
|
+
lightTheme,
|
|
14
|
+
rtl: "calcite--rtl"
|
|
15
|
+
};
|
|
16
|
+
const TEXT = {
|
|
17
|
+
loading: "Loading"
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* This helper will guarantee an ID on the provided element.
|
|
22
|
+
*
|
|
23
|
+
* If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
|
|
24
|
+
*
|
|
25
|
+
* @returns {string} The element's ID.
|
|
26
|
+
*/
|
|
27
|
+
function ensureId(el) {
|
|
28
|
+
if (!el) {
|
|
29
|
+
return "";
|
|
30
|
+
}
|
|
31
|
+
return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid()}`);
|
|
32
|
+
}
|
|
33
|
+
function nodeListToArray(nodeList) {
|
|
34
|
+
return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
|
|
35
|
+
}
|
|
36
|
+
function getThemeName(el) {
|
|
37
|
+
return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
|
|
38
|
+
}
|
|
39
|
+
function getElementDir(el) {
|
|
40
|
+
const prop = "dir";
|
|
41
|
+
const selector = `[${prop}]`;
|
|
42
|
+
const closest = closestElementCrossShadowBoundary(el, selector);
|
|
43
|
+
return closest ? closest.getAttribute(prop) : "ltr";
|
|
44
|
+
}
|
|
45
|
+
function getElementProp(el, prop, fallbackValue) {
|
|
46
|
+
const selector = `[${prop}]`;
|
|
47
|
+
const closest = el.closest(selector);
|
|
48
|
+
return closest ? closest.getAttribute(prop) : fallbackValue;
|
|
49
|
+
}
|
|
50
|
+
function getRootNode(el) {
|
|
51
|
+
return el.getRootNode();
|
|
52
|
+
}
|
|
53
|
+
function getHost(root) {
|
|
54
|
+
return root.host || null;
|
|
55
|
+
}
|
|
56
|
+
// Queries an element's rootNode and any ancestor rootNodes.
|
|
57
|
+
// based on https://stackoverflow.com/q/54520554/194216
|
|
58
|
+
function queryElementsRoots(element, selector) {
|
|
59
|
+
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
60
|
+
function queryFromAll(el, allResults) {
|
|
61
|
+
if (!el) {
|
|
62
|
+
return allResults;
|
|
63
|
+
}
|
|
64
|
+
if (el.assignedSlot) {
|
|
65
|
+
el = el.assignedSlot;
|
|
66
|
+
}
|
|
67
|
+
const rootNode = getRootNode(el);
|
|
68
|
+
const results = Array.from(rootNode.querySelectorAll(selector));
|
|
69
|
+
const uniqueResults = results.filter((result) => !allResults.includes(result));
|
|
70
|
+
allResults = [...allResults, ...uniqueResults];
|
|
71
|
+
const host = getHost(rootNode);
|
|
72
|
+
return host ? queryFromAll(host, allResults) : allResults;
|
|
73
|
+
}
|
|
74
|
+
return queryFromAll(element, []);
|
|
75
|
+
}
|
|
76
|
+
// Queries an element's rootNode and any ancestor rootNodes.
|
|
77
|
+
// based on https://stackoverflow.com/q/54520554/194216
|
|
78
|
+
function queryElementRoots(element, selector) {
|
|
79
|
+
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
80
|
+
function queryFrom(el) {
|
|
81
|
+
if (!el) {
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
if (el.assignedSlot) {
|
|
85
|
+
el = el.assignedSlot;
|
|
86
|
+
}
|
|
87
|
+
const rootNode = getRootNode(el);
|
|
88
|
+
const found = rootNode.querySelector(selector);
|
|
89
|
+
const host = getHost(rootNode);
|
|
90
|
+
return found ? found : host ? queryFrom(host) : null;
|
|
91
|
+
}
|
|
92
|
+
return queryFrom(element);
|
|
93
|
+
}
|
|
94
|
+
function closestElementCrossShadowBoundary(element, selector) {
|
|
95
|
+
// based on https://stackoverflow.com/q/54520554/194216
|
|
96
|
+
function closestFrom(el) {
|
|
97
|
+
return el ? el.closest(selector) || closestFrom(getHost(getRootNode(el))) : null;
|
|
98
|
+
}
|
|
99
|
+
return closestFrom(element);
|
|
100
|
+
}
|
|
101
|
+
function isCalciteFocusable(el) {
|
|
102
|
+
return typeof (el === null || el === void 0 ? void 0 : el.setFocus) === "function";
|
|
103
|
+
}
|
|
104
|
+
async function focusElement(el) {
|
|
105
|
+
if (!el) {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
|
109
|
+
}
|
|
110
|
+
function getSlotted(element, slotName, options) {
|
|
111
|
+
const slotSelector = `[slot="${slotName}"]`;
|
|
112
|
+
if (options === null || options === void 0 ? void 0 : options.all) {
|
|
113
|
+
return queryMultiple(element, slotSelector, options);
|
|
114
|
+
}
|
|
115
|
+
return querySingle(element, slotSelector, options);
|
|
116
|
+
}
|
|
117
|
+
function queryMultiple(element, slotSelector, options) {
|
|
118
|
+
let matches = Array.from(element.querySelectorAll(slotSelector));
|
|
119
|
+
matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
|
|
120
|
+
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
121
|
+
return selector
|
|
122
|
+
? matches
|
|
123
|
+
.map((item) => Array.from(item.querySelectorAll(selector)))
|
|
124
|
+
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], [])
|
|
125
|
+
.filter((match) => !!match)
|
|
126
|
+
: matches;
|
|
127
|
+
}
|
|
128
|
+
function querySingle(element, slotSelector, options) {
|
|
129
|
+
let match = element.querySelector(slotSelector);
|
|
130
|
+
match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
|
|
131
|
+
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
132
|
+
return selector ? match.querySelector(selector) : match;
|
|
133
|
+
}
|
|
134
|
+
function filterDirectChildren(el, selector) {
|
|
135
|
+
return Array.from(el.children).filter((child) => child.matches(selector));
|
|
136
|
+
}
|
|
137
|
+
// set a default icon from a defined set or allow an override with an icon name string
|
|
138
|
+
function setRequestedIcon(iconObject, iconValue, matchedValue) {
|
|
139
|
+
if (typeof iconValue === "string" && iconValue !== "") {
|
|
140
|
+
return iconValue;
|
|
141
|
+
}
|
|
142
|
+
else if (iconValue === "") {
|
|
143
|
+
return iconObject[matchedValue];
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
function intersects(rect1, rect2) {
|
|
147
|
+
return !(rect2.left > rect1.right ||
|
|
148
|
+
rect2.right < rect1.left ||
|
|
149
|
+
rect2.top > rect1.bottom ||
|
|
150
|
+
rect2.bottom < rect1.top);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export { CSS_UTILITY as C, TEXT as T, getElementDir as a, getSlotted as b, getThemeName as c, closestElementCrossShadowBoundary as d, filterDirectChildren as e, focusElement as f, getElementProp as g, ensureId as h, isCalciteFocusable as i, queryElementsRoots as j, intersects as k, nodeListToArray as n, queryElementRoots as q, setRequestedIcon as s };
|