@esri/calcite-components 1.0.0-next.460 → 1.0.0-next.463
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-18873966.system.entry.js → p-012bac2f.system.entry.js} +2 -2
- package/dist/calcite/p-03763324.entry.js +6 -0
- package/dist/calcite/p-04937667.system.entry.js +6 -0
- package/dist/calcite/p-0522f64b.system.entry.js +6 -0
- package/dist/calcite/{p-8e6d12b8.system.js → p-05b658c3.system.js} +1 -1
- package/dist/calcite/{p-30ff5207.system.js → p-05ff73fa.system.js} +1 -1
- package/dist/calcite/p-067ec802.entry.js +6 -0
- package/dist/calcite/p-072c5078.entry.js +6 -0
- package/dist/calcite/{p-99066459.system.js → p-073fd396.system.js} +1 -1
- package/dist/calcite/p-08a0e5e7.system.entry.js +6 -0
- package/dist/calcite/{p-3e21be06.entry.js → p-0b234a4e.entry.js} +2 -2
- package/dist/calcite/{p-de803e0e.system.js → p-137de7a9.system.js} +2 -2
- package/dist/calcite/{p-d2d4f39e.system.entry.js → p-13e51a75.system.entry.js} +2 -2
- package/dist/calcite/{p-837910ca.system.entry.js → p-17cfb9c1.system.entry.js} +2 -2
- package/dist/calcite/{p-6dc32060.js → p-18214d4e.js} +1 -1
- package/dist/calcite/{p-88fa0aa1.system.js → p-185f9c9b.system.js} +1 -1
- package/dist/calcite/p-1db9909c.system.entry.js +6 -0
- package/dist/calcite/{p-4738ca8f.js → p-1e972f14.js} +1 -1
- package/dist/calcite/{p-dcd120aa.entry.js → p-21e2f111.entry.js} +2 -2
- package/dist/calcite/{p-1531ca90.system.js → p-225e070b.system.js} +1 -1
- package/dist/calcite/p-24639718.system.entry.js +6 -0
- package/dist/calcite/{p-7febaf2b.entry.js → p-26bfa2c8.entry.js} +2 -2
- package/dist/calcite/p-27420098.entry.js +6 -0
- package/dist/calcite/p-278c6aa7.system.entry.js +6 -0
- package/dist/calcite/p-27a45f19.entry.js +6 -0
- package/dist/calcite/{p-cf07e076.system.entry.js → p-29ed09b3.system.entry.js} +3 -3
- package/dist/calcite/p-2a615182.system.entry.js +6 -0
- package/dist/calcite/{p-bb0c44b0.system.entry.js → p-2afda726.system.entry.js} +2 -2
- package/dist/calcite/{p-5d4ff560.system.entry.js → p-2e89b88a.system.entry.js} +2 -2
- package/dist/calcite/{p-3f025198.js → p-2eb0e6b1.js} +2 -2
- package/dist/calcite/p-30b68104.system.entry.js +6 -0
- package/dist/calcite/p-30dffd65.system.entry.js +6 -0
- package/dist/calcite/p-317352ba.entry.js +6 -0
- package/dist/calcite/{p-d59c594f.js → p-35bd5b33.js} +1 -1
- package/dist/calcite/{p-503903b8.entry.js → p-360efa27.entry.js} +2 -2
- package/dist/calcite/{p-d46a5053.system.js → p-36a10379.system.js} +1 -1
- package/dist/calcite/p-39ab2b28.entry.js +6 -0
- package/dist/calcite/{p-a33322b5.entry.js → p-3a4c9534.entry.js} +2 -2
- package/dist/calcite/p-3b0435eb.entry.js +6 -0
- package/dist/calcite/{p-b7dfb289.entry.js → p-3b663fe3.entry.js} +2 -2
- package/dist/calcite/{p-898bbc37.js → p-3c53fae2.js} +2 -2
- package/dist/calcite/p-3cd9efd8.entry.js +6 -0
- package/dist/calcite/{p-2ec4474b.entry.js → p-3ecd932e.entry.js} +2 -2
- package/dist/calcite/p-3fc798b0.js +6 -0
- package/dist/calcite/p-4190c2db.js +6 -0
- package/dist/calcite/{p-a1da11d4.system.entry.js → p-41de1929.system.entry.js} +2 -2
- package/dist/calcite/{p-75f77bad.js → p-41edf365.js} +2 -2
- package/dist/calcite/{p-65c7a71b.system.js → p-42ca4516.system.js} +2 -2
- package/dist/calcite/{p-fb6d978e.system.js → p-430e291b.system.js} +1 -1
- package/dist/calcite/{p-f8b04802.system.js → p-44002bba.system.js} +2 -2
- package/dist/calcite/{p-17135b9a.system.entry.js → p-44d3686d.system.entry.js} +2 -2
- package/dist/calcite/p-45721bc0.system.entry.js +6 -0
- package/dist/calcite/p-489d6ea3.entry.js +6 -0
- package/dist/calcite/{p-d43c578e.entry.js → p-493cf5fc.entry.js} +2 -2
- package/dist/calcite/{p-4ff298fe.js → p-499ed95d.js} +2 -2
- package/dist/calcite/{p-e64ad06b.system.entry.js → p-4b8c54ff.system.entry.js} +2 -2
- package/dist/calcite/p-4baae866.entry.js +6 -0
- package/dist/calcite/{p-1ba33b3b.system.js → p-54921a0f.system.js} +1 -1
- package/dist/calcite/{p-fae07bff.system.entry.js → p-55e8aae7.system.entry.js} +2 -2
- package/dist/calcite/{p-9d562aa6.js → p-586668c1.js} +1 -1
- package/dist/calcite/p-5d3ce50b.system.entry.js +6 -0
- package/dist/calcite/{p-426220ba.entry.js → p-5d71b7da.entry.js} +2 -2
- package/dist/calcite/p-5f2ab479.system.js +6 -0
- package/dist/calcite/p-5f44791e.system.entry.js +6 -0
- package/dist/calcite/p-6071b8bf.entry.js +6 -0
- package/dist/calcite/{p-9b790cd6.system.js → p-63e00123.system.js} +2 -2
- package/dist/calcite/{p-132c4fbc.entry.js → p-640889b4.entry.js} +2 -2
- package/dist/calcite/{p-1b3cd523.entry.js → p-67114561.entry.js} +2 -2
- package/dist/calcite/{p-7cb5488d.entry.js → p-6720f642.entry.js} +2 -2
- package/dist/calcite/{p-7c252d22.system.js → p-676a9d2a.system.js} +2 -2
- package/dist/calcite/{p-bbc23e1d.system.js → p-676ea8f3.system.js} +1 -1
- package/dist/calcite/{p-d6e4ed4b.system.entry.js → p-689daf2f.system.entry.js} +2 -2
- package/dist/calcite/{p-8256e10b.system.entry.js → p-68d9e58f.system.entry.js} +2 -2
- package/dist/calcite/p-698a69e3.entry.js +6 -0
- package/dist/calcite/p-69ed1a6a.system.entry.js +6 -0
- package/dist/calcite/{p-f2d72a02.system.js → p-6ad06ac7.system.js} +1 -1
- package/dist/calcite/{p-7093828d.entry.js → p-6b82d37a.entry.js} +2 -2
- package/dist/calcite/p-6f876aa0.system.js +6 -0
- package/dist/calcite/{p-c06f1557.js → p-70b93d65.js} +1 -1
- package/dist/calcite/{p-1c002fcb.entry.js → p-71236fc9.entry.js} +2 -2
- package/dist/calcite/{p-002a5b22.system.entry.js → p-723e6a58.system.entry.js} +2 -2
- package/dist/calcite/p-7247130b.system.entry.js +6 -0
- package/dist/calcite/p-7475a9e7.system.entry.js +6 -0
- package/dist/calcite/{p-ec562709.js → p-74bf1ba2.js} +1 -1
- package/dist/calcite/p-76e38da9.system.entry.js +6 -0
- package/dist/calcite/{p-8440e79f.js → p-77d89707.js} +1 -1
- package/dist/calcite/p-77e0f1ba.system.js +6 -0
- package/dist/calcite/{p-2278a71e.system.entry.js → p-79a24ed8.system.entry.js} +2 -2
- package/dist/calcite/{p-afdfd261.system.js → p-7b4eb54d.system.js} +3 -3
- package/dist/calcite/p-7be626d2.entry.js +6 -0
- package/dist/calcite/p-7bf6b07a.system.entry.js +6 -0
- package/dist/calcite/{p-3473ca95.entry.js → p-807c0746.entry.js} +2 -2
- package/dist/calcite/{p-7acb41e5.js → p-80c66ef6.js} +1 -1
- package/dist/calcite/{p-6e96b12f.system.entry.js → p-85b200b1.system.entry.js} +2 -2
- package/dist/calcite/p-88812e35.entry.js +6 -0
- package/dist/calcite/p-895fa8d6.js +6 -0
- package/dist/calcite/{p-03bf13ce.js → p-8a331a16.js} +1 -1
- package/dist/calcite/{p-2ecde02d.entry.js → p-8a835fa9.entry.js} +2 -2
- package/dist/calcite/{p-d79d3502.system.entry.js → p-8b7d78b5.system.entry.js} +2 -2
- package/dist/calcite/p-8f0f191f.entry.js +6 -0
- package/dist/calcite/p-920eeb64.entry.js +6 -0
- package/dist/calcite/{p-cc9c446b.entry.js → p-9325521b.entry.js} +2 -2
- package/dist/calcite/{p-4cd5391e.entry.js → p-935d3d34.entry.js} +2 -2
- package/dist/calcite/p-946dfbbe.entry.js +6 -0
- package/dist/calcite/{p-6386a010.js → p-966eacae.js} +2 -2
- package/dist/calcite/{p-79ee3046.system.entry.js → p-977e2f2b.system.entry.js} +2 -2
- package/dist/calcite/p-995a2abe.system.js +6 -0
- package/dist/calcite/{p-e7088de0.system.entry.js → p-9a39f2ad.system.entry.js} +2 -2
- package/dist/calcite/p-9f34e6ed.system.entry.js +6 -0
- package/dist/calcite/{p-031256e6.system.entry.js → p-a10a7033.system.entry.js} +2 -2
- package/dist/calcite/{p-635134ee.system.entry.js → p-a116f984.system.entry.js} +2 -2
- package/dist/calcite/{p-0d3ee826.system.entry.js → p-a32c02b2.system.entry.js} +2 -2
- package/dist/calcite/{p-cc00c1e0.system.js → p-a36c3433.system.js} +2 -2
- package/dist/calcite/p-a46f9a15.entry.js +6 -0
- package/dist/calcite/p-a576cc5c.entry.js +6 -0
- package/dist/calcite/{p-7d751138.system.entry.js → p-a6715157.system.entry.js} +2 -2
- package/dist/calcite/{p-46067095.js → p-a8c3f4e4.js} +1 -1
- package/dist/calcite/{p-a6bf61eb.js → p-a9b775b2.js} +1 -1
- package/dist/calcite/{p-4abfedbe.entry.js → p-aa7868b7.entry.js} +2 -2
- package/dist/calcite/{p-985b0ca1.js → p-b04542ff.js} +1 -1
- package/dist/calcite/p-b21561ed.system.entry.js +6 -0
- package/dist/calcite/{p-de6cf59a.js → p-b5f633a5.js} +1 -1
- package/dist/calcite/{p-8cd6f314.system.entry.js → p-b9447f9d.system.entry.js} +2 -2
- package/dist/calcite/{p-da30d63c.system.entry.js → p-bb2d0079.system.entry.js} +2 -2
- package/dist/calcite/p-bcf85a09.system.entry.js +6 -0
- package/dist/calcite/{p-b866654a.system.js → p-bfd25463.system.js} +1 -1
- package/dist/calcite/p-c4d7b59e.entry.js +6 -0
- package/dist/calcite/{p-4870e446.system.entry.js → p-c58e1477.system.entry.js} +2 -2
- package/dist/calcite/p-c5d15f7c.system.entry.js +6 -0
- package/dist/calcite/p-c5fbab16.entry.js +6 -0
- package/dist/calcite/p-c6bd1de7.system.entry.js +6 -0
- package/dist/calcite/{p-e709a866.system.entry.js → p-c706af28.system.entry.js} +2 -2
- package/dist/calcite/{p-f48de06f.system.entry.js → p-cbdaab9c.system.entry.js} +2 -2
- package/dist/calcite/p-cd25fd53.entry.js +6 -0
- package/dist/calcite/{p-4c06be13.js → p-cdb71230.js} +2 -2
- package/dist/calcite/{p-06e5a9ca.system.entry.js → p-d159bdc7.system.entry.js} +2 -2
- package/dist/calcite/{p-df4a0b4a.entry.js → p-d1a695ef.entry.js} +2 -2
- package/dist/calcite/p-d2bd3e50.system.js +6 -0
- package/dist/calcite/{p-09b5cdce.system.entry.js → p-d36cbfc9.system.entry.js} +2 -2
- package/dist/calcite/{p-277153f9.entry.js → p-d3ed373e.entry.js} +2 -2
- package/dist/calcite/p-d3fff0e6.system.entry.js +6 -0
- package/dist/calcite/{p-b950de85.entry.js → p-d604f84d.entry.js} +2 -2
- package/dist/calcite/p-d64a7840.js +6 -0
- package/dist/calcite/{p-b47ca820.system.entry.js → p-dad38a9d.system.entry.js} +2 -2
- package/dist/calcite/{p-3d03d240.entry.js → p-db491eaa.entry.js} +2 -2
- package/dist/calcite/p-db524aef.entry.js +6 -0
- package/dist/calcite/p-dee24ce2.system.entry.js +6 -0
- package/dist/calcite/p-e18b1b95.system.entry.js +6 -0
- package/dist/calcite/{p-171df6d5.system.js → p-e7ad40f8.system.js} +1 -1
- package/dist/calcite/{p-ce3e0ceb.entry.js → p-eba1098d.entry.js} +2 -2
- package/dist/calcite/p-ecf5a2bd.js +6 -0
- package/dist/calcite/{p-cec41051.system.js → p-ee130cac.system.js} +1 -1
- package/dist/calcite/{p-e05ca959.entry.js → p-f452a7ef.entry.js} +2 -2
- package/dist/calcite/p-f468edcd.entry.js +6 -0
- package/dist/calcite/p-f54d8728.entry.js +6 -0
- package/dist/calcite/{p-0f147bc7.entry.js → p-f72f050b.entry.js} +2 -2
- package/dist/calcite/{p-005bb727.system.js → p-f7435fc9.system.js} +1 -1
- package/dist/calcite/p-f7850dc8.entry.js +6 -0
- package/dist/calcite/{p-164f2d13.entry.js → p-f903ded8.entry.js} +2 -2
- package/dist/calcite/{p-e5d15c01.entry.js → p-f937bc8c.entry.js} +2 -2
- package/dist/calcite/{p-43dcff1c.entry.js → p-f94ef41e.entry.js} +2 -2
- package/dist/calcite/{p-2ce8bc86.system.entry.js → p-f991d05a.system.entry.js} +2 -2
- package/dist/calcite/p-fbc26740.entry.js +6 -0
- package/dist/calcite/{p-a0356871.system.entry.js → p-feb710e4.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-29ae1a57.js → ExpandToggle-eec03d68.js} +5 -5
- package/dist/cjs/{Heading-5ac9dde8.js → Heading-3dca469a.js} +2 -2
- package/dist/cjs/{array-7c34ba51.js → array-c55dfade.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +7 -5
- package/dist/cjs/calcite-alert.cjs.entry.js +6 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +11 -10
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +21 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +12 -9
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +17 -12
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +19 -14
- package/dist/cjs/calcite-input.cjs.entry.js +53 -32
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-switch.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tab_4.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite.cjs.js +2 -2
- package/dist/cjs/{conditionalSlot-06d76ae7.js → conditionalSlot-a75bd651.js} +3 -3
- package/dist/cjs/{debounce-4cf96666.js → debounce-81dd86f2.js} +1 -1
- package/dist/cjs/{dom-abb07de0.js → dom-638a3591.js} +13 -2
- package/dist/cjs/{forIn-3c860503.js → forIn-f55313be.js} +2 -2
- package/dist/cjs/{form-ba671b5b.js → form-3294e196.js} +19 -3
- package/dist/cjs/{guid-932a13e8.js → guid-d5bb6094.js} +1 -1
- package/dist/cjs/{index-15183423.js → index-92a35a7d.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-b8f67cd2.js → interactive-5cbde708.js} +1 -1
- package/dist/cjs/{interfaces-424466b0.js → interfaces-7b17a4dd.js} +1 -1
- package/dist/cjs/{label-a92f86c2.js → label-c132e6a6.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-da69ea9a.js → locale-6602a5f7.js} +2 -2
- package/dist/cjs/{math-4b5ed92f.js → math-99f530cf.js} +1 -1
- package/dist/cjs/{number-a09f456c.js → number-501f63b2.js} +1 -1
- package/dist/cjs/{observers-775a55de.js → observers-bfab8337.js} +1 -1
- package/dist/cjs/{popper-dd03f435.js → popper-7f7e9026.js} +2 -2
- package/dist/cjs/{resources-37c81e6d.js → resources-2b6a1a83.js} +3 -3
- package/dist/cjs/{resources-1bc3b371.js → resources-73235792.js} +6 -6
- package/dist/cjs/{resources-b3893e4c.js → resources-9c8d43de.js} +1 -1
- package/dist/cjs/{resources-abb78051.js → resources-ac912490.js} +1 -1
- package/dist/cjs/{sortable.esm-e51b7bf6.js → sortable.esm-91bcdc48.js} +1 -1
- package/dist/cjs/{utils-40514965.js → utils-e6fb1a55.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +3 -3
- package/dist/collection/components/action/action.js +3 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +3 -3
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +3 -3
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +5 -5
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -3
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +5 -4
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +3 -3
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -2
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +2 -9
- package/dist/collection/components/color-picker/color-picker.js +7 -2
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +7 -2
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +9 -5
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +4 -4
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +6 -3
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +3 -2
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +3 -3
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +44 -23
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +11 -5
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +13 -8
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +3 -3
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +3 -2
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +3 -3
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +4 -4
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +3 -3
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +3 -3
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +3 -3
- package/dist/collection/components/switch/switch.js +3 -3
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +3 -3
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +3 -3
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +3 -3
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +3 -3
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +3 -3
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +11 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +15 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +3 -3
- package/dist/components/action.js +3 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +5 -4
- package/dist/components/calcite-accordion-item.js +3 -3
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +3 -3
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +3 -3
- package/dist/components/calcite-block.js +5 -5
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +8 -3
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +9 -5
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +3 -3
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +9 -3
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +13 -8
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +3 -3
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +3 -3
- package/dist/components/calcite-radio-group-item.js +3 -3
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +3 -3
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +3 -3
- package/dist/components/calcite-tree-item.js +3 -3
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +7 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +12 -2
- package/dist/components/dropdown.js +3 -3
- package/dist/components/filter.js +6 -3
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +16 -2
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -2
- package/dist/components/icon.js +3 -3
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +44 -23
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/number.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/popover.js +4 -4
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +3 -3
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +3 -3
- package/dist/components/tab.js +3 -3
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +307 -236
- package/dist/esm/{ExpandToggle-094da9ae.js → ExpandToggle-fdd1d5e0.js} +5 -5
- package/dist/esm/{Heading-03c506f1.js → Heading-d9ebdbbf.js} +2 -2
- package/dist/esm/{array-6754b500.js → array-2b4c1f87.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +5 -5
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +7 -5
- package/dist/esm/calcite-alert.entry.js +6 -6
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +11 -10
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +21 -11
- package/dist/esm/calcite-combobox_3.entry.js +18 -15
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +9 -9
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +12 -9
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +5 -3
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +17 -12
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +19 -14
- package/dist/esm/calcite-input.entry.js +53 -32
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +10 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +9 -9
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +7 -7
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +6 -6
- package/dist/esm/calcite-switch.entry.js +8 -8
- package/dist/esm/calcite-tab_4.entry.js +8 -8
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/calcite-tooltip_2.entry.js +6 -6
- package/dist/esm/calcite-tree_2.entry.js +7 -7
- package/dist/esm/calcite-value-list_2.entry.js +12 -12
- package/dist/esm/calcite.js +2 -2
- package/dist/esm/{conditionalSlot-43e1cf73.js → conditionalSlot-89778d70.js} +3 -3
- package/dist/esm/{debounce-110f54b4.js → debounce-ba30afcb.js} +1 -1
- package/dist/esm/{dom-88db3eb6.js → dom-214e75a1.js} +13 -3
- package/dist/esm/{forIn-9da70b7d.js → forIn-31833178.js} +2 -2
- package/dist/esm/{form-dcab88cf.js → form-d34ea9da.js} +18 -4
- package/dist/esm/{guid-33cefddf.js → guid-8f74d44f.js} +1 -1
- package/dist/esm/{index-beb6bcc7.js → index-1caffe24.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-5bd99416.js → interactive-fd6bb7b4.js} +1 -1
- package/dist/esm/{interfaces-3902fbb4.js → interfaces-de98f02e.js} +1 -1
- package/dist/esm/{label-0dbdffd7.js → label-837acdbb.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{locale-39a250fd.js → locale-8b4a419a.js} +2 -2
- package/dist/esm/{math-06091d4c.js → math-f0a6db03.js} +1 -1
- package/dist/esm/{number-7002c994.js → number-9105c8e0.js} +1 -1
- package/dist/esm/{observers-1cacecaa.js → observers-29febf6c.js} +1 -1
- package/dist/esm/{popper-48bbd4f4.js → popper-2e46e645.js} +2 -2
- package/dist/esm/{resources-ba5f3249.js → resources-2ac98c80.js} +1 -1
- package/dist/esm/{resources-76531691.js → resources-75a96a0b.js} +6 -6
- package/dist/esm/{resources-d77dd261.js → resources-e24b29c2.js} +1 -1
- package/dist/esm/{resources-bfefa000.js → resources-e42a37cb.js} +3 -3
- package/dist/esm/{sortable.esm-984301c7.js → sortable.esm-a459ad18.js} +1 -1
- package/dist/esm/{utils-dd48d28f.js → utils-70278bc4.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-094da9ae.js → ExpandToggle-fdd1d5e0.js} +2 -2
- package/dist/esm-es5/{Heading-03c506f1.js → Heading-d9ebdbbf.js} +2 -2
- package/dist/esm-es5/{array-6754b500.js → array-2b4c1f87.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-43e1cf73.js → conditionalSlot-89778d70.js} +2 -2
- package/dist/esm-es5/{debounce-110f54b4.js → debounce-ba30afcb.js} +1 -1
- package/dist/esm-es5/{dom-88db3eb6.js → dom-214e75a1.js} +2 -2
- package/dist/esm-es5/{forIn-9da70b7d.js → forIn-31833178.js} +2 -2
- package/dist/esm-es5/form-d34ea9da.js +6 -0
- package/dist/esm-es5/{guid-33cefddf.js → guid-8f74d44f.js} +1 -1
- package/dist/esm-es5/{index-beb6bcc7.js → index-1caffe24.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-5bd99416.js → interactive-fd6bb7b4.js} +1 -1
- package/dist/esm-es5/{interfaces-3902fbb4.js → interfaces-de98f02e.js} +1 -1
- package/dist/esm-es5/{label-0dbdffd7.js → label-837acdbb.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-39a250fd.js → locale-8b4a419a.js} +2 -2
- package/dist/esm-es5/{math-06091d4c.js → math-f0a6db03.js} +1 -1
- package/dist/esm-es5/{number-7002c994.js → number-9105c8e0.js} +1 -1
- package/dist/esm-es5/{observers-1cacecaa.js → observers-29febf6c.js} +1 -1
- package/dist/esm-es5/{popper-48bbd4f4.js → popper-2e46e645.js} +2 -2
- package/dist/esm-es5/{resources-ba5f3249.js → resources-2ac98c80.js} +1 -1
- package/dist/esm-es5/resources-75a96a0b.js +6 -0
- package/dist/esm-es5/{resources-d77dd261.js → resources-e24b29c2.js} +1 -1
- package/dist/esm-es5/{resources-bfefa000.js → resources-e42a37cb.js} +2 -2
- package/dist/esm-es5/{sortable.esm-984301c7.js → sortable.esm-a459ad18.js} +1 -1
- package/dist/esm-es5/{utils-dd48d28f.js → utils-70278bc4.js} +1 -1
- package/dist/extras/docs-json.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/button/button.d.ts +2 -1
- package/dist/types/components/color-picker/color-picker.d.ts +1 -0
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -0
- package/dist/types/components/filter/filter.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +6 -4
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -0
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -0
- package/dist/types/utils/dom.d.ts +8 -0
- package/dist/types/utils/form.d.ts +20 -5
- package/hydrate/index.js +307 -236
- package/package.json +1 -1
- package/dist/calcite/p-01b0c871.system.js +0 -6
- package/dist/calcite/p-04299a51.system.entry.js +0 -6
- package/dist/calcite/p-055a310a.entry.js +0 -6
- package/dist/calcite/p-085c76ff.system.entry.js +0 -6
- package/dist/calcite/p-0cdaa4f8.system.entry.js +0 -6
- package/dist/calcite/p-0e4972d4.entry.js +0 -6
- package/dist/calcite/p-0fe88df3.system.entry.js +0 -6
- package/dist/calcite/p-102b4832.entry.js +0 -6
- package/dist/calcite/p-12cbdc16.entry.js +0 -6
- package/dist/calcite/p-161eb9c3.entry.js +0 -6
- package/dist/calcite/p-17d9f806.entry.js +0 -6
- package/dist/calcite/p-298f168e.entry.js +0 -6
- package/dist/calcite/p-2a88ba04.system.js +0 -6
- package/dist/calcite/p-2bfb28ad.system.entry.js +0 -6
- package/dist/calcite/p-320aba58.system.entry.js +0 -6
- package/dist/calcite/p-366bc2f0.system.entry.js +0 -6
- package/dist/calcite/p-3849a4a0.entry.js +0 -6
- package/dist/calcite/p-392ff169.system.entry.js +0 -6
- package/dist/calcite/p-3ed4170a.entry.js +0 -6
- package/dist/calcite/p-3eebe544.entry.js +0 -6
- package/dist/calcite/p-4009d73a.js +0 -6
- package/dist/calcite/p-44d14c83.system.entry.js +0 -6
- package/dist/calcite/p-5120c543.system.js +0 -6
- package/dist/calcite/p-529118bb.entry.js +0 -6
- package/dist/calcite/p-5a91233b.entry.js +0 -6
- package/dist/calcite/p-5f11f4bf.system.entry.js +0 -6
- package/dist/calcite/p-73b26bc5.system.entry.js +0 -6
- package/dist/calcite/p-76106c73.entry.js +0 -6
- package/dist/calcite/p-7fc9d0b9.system.entry.js +0 -6
- package/dist/calcite/p-83136cd0.system.entry.js +0 -6
- package/dist/calcite/p-86b46c97.system.entry.js +0 -6
- package/dist/calcite/p-8980b208.entry.js +0 -6
- package/dist/calcite/p-8f2c41a4.system.entry.js +0 -6
- package/dist/calcite/p-9315bda8.entry.js +0 -6
- package/dist/calcite/p-958639c7.system.entry.js +0 -6
- package/dist/calcite/p-9c2cd29f.entry.js +0 -6
- package/dist/calcite/p-9fdc5349.system.entry.js +0 -6
- package/dist/calcite/p-a01e5fe9.system.entry.js +0 -6
- package/dist/calcite/p-a24a238b.entry.js +0 -6
- package/dist/calcite/p-a49895f7.system.entry.js +0 -6
- package/dist/calcite/p-ae5eddbb.entry.js +0 -6
- package/dist/calcite/p-b1402cde.entry.js +0 -6
- package/dist/calcite/p-b1fde550.system.entry.js +0 -6
- package/dist/calcite/p-b3eff92b.entry.js +0 -6
- package/dist/calcite/p-bbb68909.js +0 -6
- package/dist/calcite/p-c3546b8a.entry.js +0 -6
- package/dist/calcite/p-c5cb2ebd.js +0 -6
- package/dist/calcite/p-c6a1f570.entry.js +0 -6
- package/dist/calcite/p-ca8f22df.entry.js +0 -6
- package/dist/calcite/p-cacc3837.entry.js +0 -6
- package/dist/calcite/p-cc3eb33f.entry.js +0 -6
- package/dist/calcite/p-d724d06b.system.js +0 -6
- package/dist/calcite/p-de664d3f.system.entry.js +0 -6
- package/dist/calcite/p-df206edd.entry.js +0 -6
- package/dist/calcite/p-df91106d.entry.js +0 -6
- package/dist/calcite/p-e2dfa7b3.system.entry.js +0 -6
- package/dist/calcite/p-e367747f.js +0 -6
- package/dist/calcite/p-e5fae2b3.js +0 -6
- package/dist/calcite/p-e78835b0.system.entry.js +0 -6
- package/dist/calcite/p-eec4db78.system.entry.js +0 -6
- package/dist/calcite/p-f6370e81.entry.js +0 -6
- package/dist/calcite/p-fa29b3f0.system.entry.js +0 -6
- package/dist/calcite/p-fa62ceff.system.js +0 -6
- package/dist/esm-es5/form-dcab88cf.js +0 -6
- package/dist/esm-es5/resources-76531691.js +0 -6
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from "@stencil/core";
|
|
7
7
|
import { getElementDir, getElementProp, getSlotted, setRequestedIcon } from "../../utils/dom";
|
|
8
8
|
import { CSS, INPUT_TYPE_ICONS, SLOTS, TEXT } from "./resources";
|
|
9
9
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
10
|
-
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
10
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
11
11
|
import { getDecimalSeparator, delocalizeNumberString, localizeNumberString } from "../../utils/locale";
|
|
12
12
|
import { numberKeys } from "../../utils/key";
|
|
13
13
|
import { isValidNumber, parseNumberString, sanitizeNumberString } from "../../utils/number";
|
|
@@ -77,9 +77,9 @@ export class Input {
|
|
|
77
77
|
this.value = "";
|
|
78
78
|
/** keep track of the rendered child type */
|
|
79
79
|
this.childElType = "input";
|
|
80
|
-
|
|
81
|
-
this.internalValueChange = false;
|
|
80
|
+
this.previousValueOrigin = "initial";
|
|
82
81
|
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
82
|
+
this.userChangedValue = false;
|
|
83
83
|
//--------------------------------------------------------------------------
|
|
84
84
|
//
|
|
85
85
|
// Private Methods
|
|
@@ -93,25 +93,30 @@ export class Input {
|
|
|
93
93
|
this.clearInputValue(event);
|
|
94
94
|
event.preventDefault();
|
|
95
95
|
}
|
|
96
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
97
|
+
submitForm(this);
|
|
98
|
+
}
|
|
96
99
|
};
|
|
97
100
|
this.clearInputValue = (nativeEvent) => {
|
|
98
101
|
this.setValue({
|
|
99
102
|
committing: true,
|
|
100
103
|
nativeEvent,
|
|
104
|
+
origin: "user",
|
|
101
105
|
value: ""
|
|
102
106
|
});
|
|
103
107
|
};
|
|
104
|
-
this.
|
|
105
|
-
if (this.
|
|
106
|
-
this.
|
|
108
|
+
this.emitChangeIfUserModified = () => {
|
|
109
|
+
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
|
110
|
+
this.calciteInputChange.emit();
|
|
107
111
|
}
|
|
112
|
+
this.previousEmittedValue = this.value;
|
|
113
|
+
};
|
|
114
|
+
this.inputBlurHandler = () => {
|
|
108
115
|
this.calciteInputBlur.emit({
|
|
109
116
|
element: this.childEl,
|
|
110
117
|
value: this.value
|
|
111
118
|
});
|
|
112
|
-
|
|
113
|
-
this.calciteInputChange.emit();
|
|
114
|
-
}
|
|
119
|
+
this.emitChangeIfUserModified();
|
|
115
120
|
};
|
|
116
121
|
this.inputFocusHandler = (event) => {
|
|
117
122
|
const slottedActionEl = getSlotted(this.el, "action");
|
|
@@ -122,7 +127,6 @@ export class Input {
|
|
|
122
127
|
element: this.childEl,
|
|
123
128
|
value: this.value
|
|
124
129
|
});
|
|
125
|
-
this.preFocusValue = this.value;
|
|
126
130
|
};
|
|
127
131
|
this.inputInputHandler = (nativeEvent) => {
|
|
128
132
|
if (this.disabled || this.readOnly) {
|
|
@@ -130,6 +134,7 @@ export class Input {
|
|
|
130
134
|
}
|
|
131
135
|
this.setValue({
|
|
132
136
|
nativeEvent,
|
|
137
|
+
origin: "user",
|
|
133
138
|
value: nativeEvent.target.value
|
|
134
139
|
});
|
|
135
140
|
};
|
|
@@ -138,7 +143,7 @@ export class Input {
|
|
|
138
143
|
return;
|
|
139
144
|
}
|
|
140
145
|
if (event.key === "Enter") {
|
|
141
|
-
this.
|
|
146
|
+
this.emitChangeIfUserModified();
|
|
142
147
|
}
|
|
143
148
|
};
|
|
144
149
|
this.inputNumberInputHandler = (nativeEvent) => {
|
|
@@ -153,6 +158,7 @@ export class Input {
|
|
|
153
158
|
}
|
|
154
159
|
this.setValue({
|
|
155
160
|
nativeEvent,
|
|
161
|
+
origin: "user",
|
|
156
162
|
value: parseNumberString(delocalizedValue)
|
|
157
163
|
});
|
|
158
164
|
this.childNumberEl.value = this.localizedValue;
|
|
@@ -160,6 +166,7 @@ export class Input {
|
|
|
160
166
|
else {
|
|
161
167
|
this.setValue({
|
|
162
168
|
nativeEvent,
|
|
169
|
+
origin: "user",
|
|
163
170
|
value: delocalizedValue
|
|
164
171
|
});
|
|
165
172
|
}
|
|
@@ -194,7 +201,7 @@ export class Input {
|
|
|
194
201
|
const isShiftTabEvent = event.shiftKey && event.key === "Tab";
|
|
195
202
|
if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
|
|
196
203
|
if (event.key === "Enter") {
|
|
197
|
-
this.
|
|
204
|
+
this.emitChangeIfUserModified();
|
|
198
205
|
}
|
|
199
206
|
return;
|
|
200
207
|
}
|
|
@@ -268,6 +275,14 @@ export class Input {
|
|
|
268
275
|
}
|
|
269
276
|
this[`child${this.type === "number" ? "Number" : ""}El`].value = newInputValue;
|
|
270
277
|
};
|
|
278
|
+
this.setPreviousEmittedValue = (newPreviousEmittedValue) => {
|
|
279
|
+
this.previousEmittedValue =
|
|
280
|
+
this.type === "number"
|
|
281
|
+
? isValidNumber(newPreviousEmittedValue)
|
|
282
|
+
? newPreviousEmittedValue
|
|
283
|
+
: ""
|
|
284
|
+
: newPreviousEmittedValue;
|
|
285
|
+
};
|
|
271
286
|
this.setPreviousValue = (newPreviousValue) => {
|
|
272
287
|
this.previousValue =
|
|
273
288
|
this.type === "number"
|
|
@@ -276,7 +291,7 @@ export class Input {
|
|
|
276
291
|
: ""
|
|
277
292
|
: newPreviousValue;
|
|
278
293
|
};
|
|
279
|
-
this.setValue = ({ committing = false, nativeEvent, origin
|
|
294
|
+
this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
280
295
|
const previousLocalizedValue = this.type === "number"
|
|
281
296
|
? localizeNumberString(this.previousValue, this.locale, this.groupSeparator)
|
|
282
297
|
: "";
|
|
@@ -289,13 +304,14 @@ export class Input {
|
|
|
289
304
|
const newLocalizedValue = this.type === "number"
|
|
290
305
|
? localizeNumberString(newValue, this.locale, this.groupSeparator)
|
|
291
306
|
: "";
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
307
|
+
this.setPreviousValue(previousValue || this.value);
|
|
308
|
+
this.previousValueOrigin = origin;
|
|
309
|
+
this.userChangedValue = origin === "user" && this.value !== newValue;
|
|
294
310
|
this.value = newValue;
|
|
295
311
|
if (this.type === "number") {
|
|
296
312
|
this.localizedValue = newLocalizedValue;
|
|
297
313
|
}
|
|
298
|
-
if (origin === "
|
|
314
|
+
if (origin === "direct") {
|
|
299
315
|
this.setInputValue(this.type === "number" ? newLocalizedValue : newValue);
|
|
300
316
|
}
|
|
301
317
|
if (nativeEvent) {
|
|
@@ -309,7 +325,7 @@ export class Input {
|
|
|
309
325
|
this.localizedValue = previousLocalizedValue;
|
|
310
326
|
}
|
|
311
327
|
else if (committing) {
|
|
312
|
-
this.
|
|
328
|
+
this.emitChangeIfUserModified();
|
|
313
329
|
}
|
|
314
330
|
}
|
|
315
331
|
};
|
|
@@ -330,10 +346,11 @@ export class Input {
|
|
|
330
346
|
var _a;
|
|
331
347
|
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
332
348
|
}
|
|
333
|
-
valueWatcher(newValue) {
|
|
334
|
-
if (!this.
|
|
349
|
+
valueWatcher(newValue, previousValue) {
|
|
350
|
+
if (!this.userChangedValue) {
|
|
335
351
|
this.setValue({
|
|
336
|
-
origin: "
|
|
352
|
+
origin: "direct",
|
|
353
|
+
previousValue,
|
|
337
354
|
value: newValue == null || newValue == ""
|
|
338
355
|
? ""
|
|
339
356
|
: this.type === "number"
|
|
@@ -344,7 +361,7 @@ export class Input {
|
|
|
344
361
|
});
|
|
345
362
|
this.warnAboutInvalidNumberValue(newValue);
|
|
346
363
|
}
|
|
347
|
-
this.
|
|
364
|
+
this.userChangedValue = false;
|
|
348
365
|
}
|
|
349
366
|
updateRequestedIcon() {
|
|
350
367
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
@@ -368,11 +385,12 @@ export class Input {
|
|
|
368
385
|
if (this.inlineEditableEl) {
|
|
369
386
|
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
370
387
|
}
|
|
388
|
+
this.setPreviousEmittedValue(this.value);
|
|
371
389
|
this.setPreviousValue(this.value);
|
|
372
390
|
if (this.type === "number") {
|
|
373
391
|
this.warnAboutInvalidNumberValue(this.value);
|
|
374
392
|
this.setValue({
|
|
375
|
-
origin: "
|
|
393
|
+
origin: "connected",
|
|
376
394
|
value: isValidNumber(this.value) ? this.value : ""
|
|
377
395
|
});
|
|
378
396
|
}
|
|
@@ -397,6 +415,7 @@ export class Input {
|
|
|
397
415
|
componentShouldUpdate(newValue, oldValue, property) {
|
|
398
416
|
if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
|
|
399
417
|
this.setValue({
|
|
418
|
+
origin: "reset",
|
|
400
419
|
value: oldValue
|
|
401
420
|
});
|
|
402
421
|
return false;
|
|
@@ -439,11 +458,13 @@ export class Input {
|
|
|
439
458
|
this.setValue({
|
|
440
459
|
committing: true,
|
|
441
460
|
nativeEvent,
|
|
461
|
+
origin: "user",
|
|
442
462
|
value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
|
|
443
463
|
});
|
|
444
464
|
}
|
|
445
465
|
onFormReset() {
|
|
446
466
|
this.setValue({
|
|
467
|
+
origin: "reset",
|
|
447
468
|
value: this.defaultValue
|
|
448
469
|
});
|
|
449
470
|
}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, h, Prop, Element, Host, State, Listen, Watch, Method, Event, Build } from "@stencil/core";
|
|
7
7
|
import { getLocaleData } from "../date-picker/utils";
|
|
8
8
|
import { dateFromRange, inRange, dateFromISO, dateToISO, parseDateString, sameDate } from "../../utils/date";
|
|
9
9
|
import { TEXT } from "../date-picker/resources";
|
|
10
10
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
11
|
-
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
11
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
12
12
|
import { createPopper, updatePopper, CSS as PopperCSS, popperMenuComputedPlacements, defaultMenuPlacement, filterComputedPlacements } from "../../utils/popper";
|
|
13
13
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
14
|
+
import { toAriaBoolean } from "../../utils/dom";
|
|
14
15
|
export class InputDatePicker {
|
|
15
16
|
constructor() {
|
|
16
17
|
//--------------------------------------------------------------------------
|
|
@@ -88,6 +89,11 @@ export class InputDatePicker {
|
|
|
88
89
|
this.deactivate = () => {
|
|
89
90
|
this.active = false;
|
|
90
91
|
};
|
|
92
|
+
this.keyDownHandler = (event) => {
|
|
93
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
94
|
+
submitForm(this);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
91
97
|
this.keyUpHandler = (e) => {
|
|
92
98
|
if (e.key === "Escape") {
|
|
93
99
|
this.active = false;
|
|
@@ -281,11 +287,11 @@ export class InputDatePicker {
|
|
|
281
287
|
: null;
|
|
282
288
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
283
289
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
284
|
-
return (h(Host, { onBlur: this.deactivate, onKeyUp: this.keyUpHandler, role: "application" },
|
|
285
|
-
this.localeData && (h("div", { "aria-expanded": this.active
|
|
290
|
+
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" },
|
|
291
|
+
this.localeData && (h("div", { "aria-expanded": toAriaBoolean(this.active), class: "input-container", role: "application" },
|
|
286
292
|
h("div", { class: "input-wrapper", ref: this.setStartWrapper },
|
|
287
293
|
h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.startInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })),
|
|
288
|
-
h("div", { "aria-hidden": (!this.active)
|
|
294
|
+
h("div", { "aria-hidden": toAriaBoolean(!this.active), class: {
|
|
289
295
|
"menu-container": true,
|
|
290
296
|
"menu-container--active": this.active
|
|
291
297
|
}, ref: this.setMenuEl },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Host, h, Prop, Watch } from "@stencil/core";
|
|
7
7
|
import { getElementProp, setRequestedIcon } from "../../utils/dom";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
export var StatusIconDefaults;
|
|
7
7
|
(function (StatusIconDefaults) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Host, h, Prop, Listen, Event, Method, Watch, State } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
8
8
|
import { formatTimeString, isValidTime, localizeTimeString } from "../../utils/time";
|
|
9
9
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
10
|
-
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
10
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
11
11
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
12
12
|
export class InputTimePicker {
|
|
13
13
|
constructor() {
|
|
@@ -70,6 +70,16 @@ export class InputTimePicker {
|
|
|
70
70
|
const value = target.value;
|
|
71
71
|
this.setValue({ value, origin: "time-picker" });
|
|
72
72
|
};
|
|
73
|
+
// --------------------------------------------------------------------------
|
|
74
|
+
//
|
|
75
|
+
// Private Methods
|
|
76
|
+
//
|
|
77
|
+
// --------------------------------------------------------------------------
|
|
78
|
+
this.keyDownHandler = (event) => {
|
|
79
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
80
|
+
submitForm(this);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
73
83
|
this.setCalcitePopoverEl = (el) => {
|
|
74
84
|
this.popoverEl = el;
|
|
75
85
|
};
|
|
@@ -181,11 +191,6 @@ export class InputTimePicker {
|
|
|
181
191
|
var _a;
|
|
182
192
|
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition();
|
|
183
193
|
}
|
|
184
|
-
// --------------------------------------------------------------------------
|
|
185
|
-
//
|
|
186
|
-
// Private Methods
|
|
187
|
-
//
|
|
188
|
-
// --------------------------------------------------------------------------
|
|
189
194
|
onLabelClick() {
|
|
190
195
|
this.setFocus();
|
|
191
196
|
}
|
|
@@ -221,7 +226,7 @@ export class InputTimePicker {
|
|
|
221
226
|
// --------------------------------------------------------------------------
|
|
222
227
|
render() {
|
|
223
228
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
224
|
-
return (h(Host,
|
|
229
|
+
return (h(Host, { onKeyDown: this.keyDownHandler },
|
|
225
230
|
h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" },
|
|
226
231
|
h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputBlur: this.calciteInputBlurHandler, onCalciteInputFocus: this.calciteInputFocusHandler, onCalciteInputInput: this.calciteInputInputHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })),
|
|
227
232
|
h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, h, Prop, Host } from "@stencil/core";
|
|
7
7
|
import { labelDisconnectedEvent, labelConnectedEvent } from "../../utils/label";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, h, Host, Method, Prop } from "@stencil/core";
|
|
7
7
|
import { focusElement, getElementDir } from "../../utils/dom";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, h, Host, Prop, Method } from "@stencil/core";
|
|
7
7
|
import { CSS } from "./resources";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Prop, h, Host, Method } from "@stencil/core";
|
|
7
7
|
import { SLOTS, CSS } from "./resources";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Prop, h, Host } from "@stencil/core";
|
|
7
7
|
import { CSS } from "./resources";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, h, Host, Prop } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, h, Host, Listen, Method, Prop, State, Watch } from "@stencil/core";
|
|
7
7
|
import { ensureId, focusElement, getSlotted, isCalciteFocusable } from "../../utils/dom";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, h, Method, Prop, Watch } from "@stencil/core";
|
|
7
7
|
import { CSS, SLOTS, TEXT } from "./resources";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, h, Prop, Element, Event, Watch } from "@stencil/core";
|
|
7
7
|
import { createObserver } from "../../utils/observers";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, h, Prop, Watch, Event, Fragment } from "@stencil/core";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, h, Prop, Method, Fragment } from "@stencil/core";
|
|
7
7
|
import { CSS, TEXT } from "./resources";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, Method, Prop, Watch, h, Fragment } from "@stencil/core";
|
|
7
7
|
import { CSS, HEADING_LEVEL, ICONS, SLOTS, TEXT } from "./resources";
|
|
8
|
-
import { getElementDir, getSlotted } from "../../utils/dom";
|
|
8
|
+
import { getElementDir, getSlotted, toAriaBoolean } from "../../utils/dom";
|
|
9
9
|
import { Heading } from "../functional/Heading";
|
|
10
10
|
import { SLOTS as ACTION_MENU_SLOTS } from "../action-menu/resources";
|
|
11
11
|
import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
@@ -230,7 +230,7 @@ export class Panel {
|
|
|
230
230
|
}
|
|
231
231
|
render() {
|
|
232
232
|
const { dismissed, dismissible, loading, panelKeyDownHandler } = this;
|
|
233
|
-
const panelNode = (h("article", { "aria-busy": loading
|
|
233
|
+
const panelNode = (h("article", { "aria-busy": toAriaBoolean(loading), class: CSS.container, hidden: dismissible && dismissed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: dismissible ? 0 : -1 },
|
|
234
234
|
this.renderHeaderNode(),
|
|
235
235
|
this.renderContent(),
|
|
236
236
|
this.renderFooterNode()));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
backButton: "back-button",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, Listen, Method, Prop, State, h } from "@stencil/core";
|
|
7
7
|
import { ICON_TYPES } from "./resources";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.463
|
|
5
5
|
*/
|
|
6
6
|
import { debounce } from "lodash-es";
|
|
7
7
|
import { focusElement, getSlotted } from "../../utils/dom";
|