@esri/calcite-components 1.0.0-next.466 → 1.0.0-next.469
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/date-picker/nls/ru.json +4 -4
- 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-5b2affe9.js → p-005432ba.js} +2 -2
- package/dist/calcite/{p-77b9ef38.js → p-00690bad.js} +2 -2
- package/dist/calcite/{p-a3ced35f.system.entry.js → p-020b142b.system.entry.js} +2 -2
- package/dist/calcite/p-025c0884.entry.js +6 -0
- package/dist/calcite/{p-12cf3a55.js → p-02ea3ab9.js} +2 -2
- package/dist/calcite/{p-c63df7f4.system.js → p-0444116b.system.js} +1 -1
- package/dist/calcite/{p-b232eeda.entry.js → p-04e1abf2.entry.js} +2 -2
- package/dist/calcite/{p-bf315356.js → p-055dbdb9.js} +1 -1
- package/dist/calcite/p-0581bc26.entry.js +6 -0
- package/dist/calcite/p-078c7c07.system.js +6 -0
- package/dist/calcite/{p-21100c4b.entry.js → p-08ea6629.entry.js} +2 -2
- package/dist/calcite/{p-0813d701.system.js → p-0a5c52ab.system.js} +2 -2
- package/dist/calcite/{p-d3acdb06.system.entry.js → p-0c506732.system.entry.js} +2 -2
- package/dist/calcite/p-0cc7075f.system.js +6 -0
- package/dist/calcite/{p-1acc12c7.entry.js → p-0da1c82e.entry.js} +2 -2
- package/dist/calcite/{p-5619125c.js → p-13117022.js} +1 -1
- package/dist/calcite/{p-acb3aaca.system.entry.js → p-145c7c50.system.entry.js} +2 -2
- package/dist/calcite/p-14a42110.js +6 -0
- package/dist/calcite/{p-3c91632a.entry.js → p-15d042f9.entry.js} +2 -2
- package/dist/calcite/{p-359dc9ff.system.js → p-15dabc96.system.js} +1 -1
- package/dist/calcite/{p-28546db9.system.entry.js → p-1607ec77.system.entry.js} +2 -2
- package/dist/calcite/{p-314a906b.system.entry.js → p-172faee6.system.entry.js} +2 -2
- package/dist/calcite/p-182ae33e.entry.js +6 -0
- package/dist/calcite/{p-7dc2ec02.entry.js → p-1a7cd85b.entry.js} +2 -2
- package/dist/calcite/{p-51e004f0.js → p-1b22ed76.js} +1 -1
- package/dist/calcite/{p-249ad677.js → p-1bc680c0.js} +2 -2
- package/dist/calcite/{p-c52ed8af.system.js → p-1e79fe13.system.js} +1 -1
- package/dist/calcite/{p-719b45bd.system.entry.js → p-216384d1.system.entry.js} +2 -2
- package/dist/calcite/{p-b7b86d1f.entry.js → p-245d5e8d.entry.js} +2 -2
- package/dist/calcite/{p-c3f66440.js → p-25774cbb.js} +1 -1
- package/dist/calcite/{p-4aca956c.js → p-25f9df95.js} +2 -2
- package/dist/calcite/{p-8d0f536f.system.js → p-26b7ba8c.system.js} +1 -1
- package/dist/calcite/p-271cd9fe.entry.js +6 -0
- package/dist/calcite/p-28a24e01.system.entry.js +6 -0
- package/dist/calcite/{p-605fd245.system.js → p-2aef6338.system.js} +1 -1
- package/dist/calcite/p-2f5cf543.system.entry.js +6 -0
- package/dist/calcite/{p-f81ecf3b.system.entry.js → p-2fea26ed.system.entry.js} +2 -2
- package/dist/calcite/{p-b6ef18e4.system.entry.js → p-301b029a.system.entry.js} +2 -2
- package/dist/calcite/{p-0c7cbab4.system.js → p-3378c967.system.js} +2 -2
- package/dist/calcite/{p-98c36210.system.entry.js → p-3390a7b2.system.entry.js} +2 -2
- package/dist/calcite/{p-0ee9976e.system.js → p-33afff17.system.js} +1 -1
- package/dist/calcite/{p-bd7f1283.system.js → p-38d91dfb.system.js} +2 -2
- package/dist/calcite/{p-f098fd67.entry.js → p-39a04544.entry.js} +2 -2
- package/dist/calcite/{p-9082f3eb.system.entry.js → p-3a028b50.system.entry.js} +2 -2
- package/dist/calcite/{p-629379ad.system.entry.js → p-3e09cab4.system.entry.js} +2 -2
- package/dist/calcite/{p-2a7625f4.entry.js → p-3edd038f.entry.js} +2 -2
- package/dist/calcite/{p-b2f87ef3.entry.js → p-3f9791ee.entry.js} +2 -2
- package/dist/calcite/{p-b81af6dc.entry.js → p-4166344f.entry.js} +2 -2
- package/dist/calcite/{p-a850ead7.system.entry.js → p-418ef95e.system.entry.js} +2 -2
- package/dist/calcite/{p-21e1719a.system.entry.js → p-41fbd72c.system.entry.js} +2 -2
- package/dist/calcite/{p-80a3d4a9.system.js → p-4234ab78.system.js} +2 -2
- package/dist/calcite/{p-882bd991.js → p-425a556a.js} +2 -2
- package/dist/calcite/{p-54c16754.system.js → p-479b2d6c.system.js} +2 -2
- package/dist/calcite/p-47b85168.entry.js +6 -0
- package/dist/calcite/p-4aea9de2.system.entry.js +6 -0
- package/dist/calcite/p-4c52e9c2.entry.js +6 -0
- package/dist/calcite/{p-9a3a7f6f.entry.js → p-4ea2a868.entry.js} +2 -2
- package/dist/calcite/{p-958870e6.entry.js → p-4ea52e62.entry.js} +2 -2
- package/dist/calcite/{p-de8ef416.entry.js → p-4f2986cc.entry.js} +2 -2
- package/dist/calcite/p-508b5831.system.entry.js +6 -0
- package/dist/calcite/{p-e21549ba.system.js → p-50bd2069.system.js} +1 -1
- package/dist/calcite/p-5168bf89.entry.js +6 -0
- package/dist/calcite/{p-53ef710e.js → p-5276c1ec.js} +1 -1
- package/dist/calcite/{p-2168e80c.system.entry.js → p-52cb441d.system.entry.js} +2 -2
- package/dist/calcite/{p-687f3748.system.entry.js → p-53ad16af.system.entry.js} +2 -2
- package/dist/calcite/{p-11160dc4.entry.js → p-5dc10a31.entry.js} +2 -2
- package/dist/calcite/p-5f673ef0.entry.js +6 -0
- package/dist/calcite/{p-3fea207b.entry.js → p-62d45f03.entry.js} +2 -2
- package/dist/calcite/{p-88478be1.system.entry.js → p-65fd36f6.system.entry.js} +2 -2
- package/dist/calcite/{p-a620a8d6.system.entry.js → p-661923a1.system.entry.js} +2 -2
- package/dist/calcite/{p-2ae1d412.js → p-66c983bd.js} +1 -1
- package/dist/calcite/{p-8dc5d951.system.entry.js → p-6792952e.system.entry.js} +2 -2
- package/dist/calcite/{p-f540f442.entry.js → p-67bf0e0c.entry.js} +2 -2
- package/dist/calcite/{p-a4427b44.entry.js → p-685d4095.entry.js} +2 -2
- package/dist/calcite/{p-69e9ee2c.entry.js → p-68779c0c.entry.js} +2 -2
- package/dist/calcite/{p-16a43ccf.system.entry.js → p-688c138e.system.entry.js} +2 -2
- package/dist/calcite/p-68ca1531.js +6 -0
- package/dist/calcite/{p-65b3699d.entry.js → p-70a5a7d3.entry.js} +2 -2
- package/dist/calcite/p-73c3e863.system.entry.js +6 -0
- package/dist/calcite/{p-d75f8862.system.entry.js → p-76089557.system.entry.js} +2 -2
- package/dist/calcite/{p-9deeabfe.js → p-77620d1d.js} +2 -2
- package/dist/calcite/{p-d6e3b8ca.entry.js → p-7793aaf8.entry.js} +2 -2
- package/dist/calcite/{p-1340038c.system.entry.js → p-7a84ef2b.system.entry.js} +2 -2
- package/dist/calcite/{p-04c4101d.entry.js → p-7ae02558.entry.js} +2 -2
- package/dist/calcite/{p-e86a60ce.system.entry.js → p-7cfaf69a.system.entry.js} +2 -2
- package/dist/calcite/{p-8165a660.system.entry.js → p-7d451779.system.entry.js} +2 -2
- package/dist/calcite/p-7e5cbac9.entry.js +6 -0
- package/dist/calcite/{p-b018ce91.entry.js → p-8216249c.entry.js} +2 -2
- package/dist/calcite/{p-7e9adbe8.system.entry.js → p-83cda6ca.system.entry.js} +2 -2
- package/dist/calcite/{p-8ba3e3fd.entry.js → p-8443f905.entry.js} +2 -2
- package/dist/calcite/{p-c6ae093e.system.entry.js → p-86e26a68.system.entry.js} +2 -2
- package/dist/calcite/p-8890a762.system.entry.js +6 -0
- package/dist/calcite/{p-81f1f54e.entry.js → p-8a742803.entry.js} +2 -2
- package/dist/calcite/{p-390d2e56.system.entry.js → p-8ab9fe03.system.entry.js} +2 -2
- package/dist/calcite/{p-48afd872.system.entry.js → p-8e373624.system.entry.js} +2 -2
- package/dist/calcite/{p-d7c751ad.system.entry.js → p-909c7e9f.system.entry.js} +2 -2
- package/dist/calcite/{p-e5cac25c.system.entry.js → p-90b43e1d.system.entry.js} +2 -2
- package/dist/calcite/{p-60dbb9e5.entry.js → p-90de4ca7.entry.js} +2 -2
- package/dist/calcite/{p-df9306e7.entry.js → p-9577089b.entry.js} +2 -2
- package/dist/calcite/p-9979b3cc.entry.js +6 -0
- package/dist/calcite/{p-1d8977ea.system.js → p-997b25f6.system.js} +1 -1
- package/dist/calcite/{p-8d4f3cc0.system.entry.js → p-99c831bf.system.entry.js} +2 -2
- package/dist/calcite/p-9a3134a8.system.entry.js +6 -0
- package/dist/calcite/{p-d63f4482.entry.js → p-9a5bf5d4.entry.js} +2 -2
- package/dist/calcite/{p-755a2298.js → p-9abb7797.js} +1 -1
- package/dist/calcite/{p-b6082d4a.system.js → p-9c221bff.system.js} +2 -2
- package/dist/calcite/{p-fd40f692.system.entry.js → p-9cf45d8a.system.entry.js} +3 -3
- package/dist/calcite/{p-18e54b77.system.js → p-9f5a29e3.system.js} +1 -1
- package/dist/calcite/{p-faee622e.js → p-9fcc7694.js} +1 -1
- package/dist/calcite/{p-c0b7b5de.system.js → p-a034f678.system.js} +2 -2
- package/dist/calcite/{p-6baa1a8b.system.js → p-a3500c97.system.js} +1 -1
- package/dist/calcite/{p-59ea34c0.system.js → p-a5e9ab9d.system.js} +1 -1
- package/dist/calcite/{p-91857201.entry.js → p-abb4f475.entry.js} +2 -2
- package/dist/calcite/{p-a0972767.entry.js → p-b0aec8f6.entry.js} +2 -2
- package/dist/calcite/{p-df572a22.entry.js → p-b1bfe90e.entry.js} +2 -2
- package/dist/calcite/{p-1622b6a5.system.js → p-b5c14068.system.js} +1 -1
- package/dist/calcite/{p-03371bb3.system.entry.js → p-b6790740.system.entry.js} +2 -2
- package/dist/calcite/{p-1c7e953d.entry.js → p-b6a971c5.entry.js} +2 -2
- package/dist/calcite/{p-e0a6f245.system.entry.js → p-b8775dcc.system.entry.js} +2 -2
- package/dist/calcite/{p-e1abb410.system.js → p-b8e8d238.system.js} +2 -2
- package/dist/calcite/{p-dccf202a.js → p-b9fc721c.js} +1 -1
- package/dist/calcite/{p-8f026cdb.system.entry.js → p-bacc43fd.system.entry.js} +2 -2
- package/dist/calcite/p-bad44446.system.entry.js +6 -0
- package/dist/calcite/{p-d3b6ccfb.js → p-bfbb4282.js} +1 -1
- package/dist/calcite/p-c48c45d7.system.entry.js +6 -0
- package/dist/calcite/{p-8dedf454.system.entry.js → p-c6942637.system.entry.js} +2 -2
- package/dist/calcite/p-c923c596.entry.js +6 -0
- package/dist/calcite/{p-628a0e93.system.entry.js → p-cad62422.system.entry.js} +2 -2
- package/dist/calcite/p-cf269b12.system.entry.js +6 -0
- package/dist/calcite/{p-d86b8cdf.entry.js → p-cf776212.entry.js} +2 -2
- package/dist/calcite/{p-4ff40d0c.js → p-d0a22e49.js} +1 -1
- package/dist/calcite/{p-3d0cdd30.entry.js → p-d20726b5.entry.js} +2 -2
- package/dist/calcite/p-d20e1a18.entry.js +6 -0
- package/dist/calcite/{p-c791b44b.system.entry.js → p-d4f0fc6d.system.entry.js} +2 -2
- package/dist/calcite/{p-38e51129.system.entry.js → p-d51bfed7.system.entry.js} +2 -2
- package/dist/calcite/{p-270216b7.system.entry.js → p-d66502b7.system.entry.js} +2 -2
- package/dist/calcite/p-d6ed4f56.system.entry.js +6 -0
- package/dist/calcite/{p-2350565d.system.entry.js → p-d7cd1b78.system.entry.js} +2 -2
- package/dist/calcite/{p-c67f32c6.system.entry.js → p-d81bbe70.system.entry.js} +2 -2
- package/dist/calcite/p-d9aedee0.js +6 -0
- package/dist/calcite/{p-b991a209.system.entry.js → p-dade5839.system.entry.js} +2 -2
- package/dist/calcite/{p-32bc861e.js → p-dc6fe9a2.js} +2 -2
- package/dist/calcite/{p-25a2ebac.entry.js → p-deb43875.entry.js} +2 -2
- package/dist/calcite/p-e023da18.entry.js +6 -0
- package/dist/calcite/{p-2dcf1608.entry.js → p-e080169e.entry.js} +2 -2
- package/dist/calcite/{p-05f43ef2.system.entry.js → p-e09191ee.system.entry.js} +2 -2
- package/dist/calcite/{p-def86f92.entry.js → p-e099f568.entry.js} +2 -2
- package/dist/calcite/{p-3253bfda.system.js → p-e30177c8.system.js} +1 -1
- package/dist/calcite/{p-dd6e9797.entry.js → p-e431c0ef.entry.js} +2 -2
- package/dist/calcite/{p-e496ada1.system.js → p-e44750b8.system.js} +2 -2
- package/dist/calcite/p-e665a770.entry.js +6 -0
- package/dist/calcite/p-e69fe258.entry.js +6 -0
- package/dist/calcite/{p-672080f2.system.js → p-e9ffc73a.system.js} +1 -1
- package/dist/calcite/{p-17121fe0.system.js → p-ea87918b.system.js} +2 -2
- package/dist/calcite/{p-91353fa4.system.entry.js → p-ebc10873.system.entry.js} +2 -2
- package/dist/calcite/{p-c3237177.js → p-eec3051e.js} +1 -1
- package/dist/calcite/{p-965456ff.entry.js → p-f1256225.entry.js} +2 -2
- package/dist/calcite/{p-3aa53899.entry.js → p-f39fd61b.entry.js} +2 -2
- package/dist/calcite/{p-9cb93c1c.entry.js → p-f5a6faa8.entry.js} +2 -2
- package/dist/calcite/p-f5f27773.system.entry.js +6 -0
- package/dist/calcite/{p-61b23d2c.js → p-f83d5618.js} +1 -1
- package/dist/calcite/p-fe40a50c.entry.js +6 -0
- package/dist/calcite/{p-1411b5f7.system.entry.js → p-fe9cc596.system.entry.js} +2 -2
- package/dist/calcite/p-ff999b61.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-d6baf288.js → ExpandToggle-3f2127c3.js} +5 -5
- package/dist/cjs/{Heading-2b85857c.js → Heading-3dabb5b6.js} +2 -2
- package/dist/cjs/{array-44bc1f92.js → array-99e2128b.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +22 -16
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -10
- package/dist/cjs/calcite-action.cjs.entry.js +9 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +16 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +10 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +18 -10
- package/dist/cjs/calcite-button.cjs.entry.js +12 -10
- package/dist/cjs/calcite-card.cjs.entry.js +15 -9
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +9 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +69 -28
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +81 -21
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +26 -20
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +54 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +9 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +18 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +35 -20
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +64 -31
- package/dist/cjs/calcite-input.cjs.entry.js +24 -18
- package/dist/cjs/calcite-label.cjs.entry.js +6 -5
- package/dist/cjs/calcite-link.cjs.entry.js +7 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-loader.cjs.entry.js +11 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +16 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +10 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -4
- package/dist/cjs/calcite-panel.cjs.entry.js +18 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +31 -22
- package/dist/cjs/calcite-popover_2.cjs.entry.js +41 -12
- 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 +10 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +8 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +25 -17
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -8
- package/dist/cjs/calcite-tab_4.cjs.entry.js +52 -28
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +8 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +26 -15
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +25 -17
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-cff90ea0.js → conditionalSlot-662d6d2c.js} +7 -3
- package/dist/cjs/{debounce-68242fb6.js → debounce-2f8539f6.js} +1 -1
- package/dist/cjs/{dom-5acea4b7.js → dom-4b70d9e4.js} +10 -2
- package/dist/cjs/{forIn-5ab24c3b.js → forIn-a56b99cf.js} +2 -2
- package/dist/cjs/{form-658d7707.js → form-c652f001.js} +19 -3
- package/dist/cjs/{guid-724c7f97.js → guid-f7b803c1.js} +1 -1
- package/dist/cjs/{index-650d6d02.js → index-2a34257a.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-d814dd5c.js → interactive-3be09cee.js} +7 -4
- package/dist/cjs/{interfaces-38ba3fd8.js → interfaces-bb11312b.js} +1 -1
- package/dist/cjs/{label-3f12ac6f.js → label-7a0126c8.js} +9 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-e251255a.js → locale-f9d560ce.js} +2 -2
- package/dist/cjs/{math-b7cb0a92.js → math-7f411028.js} +1 -1
- package/dist/cjs/{number-1d914152.js → number-a0d4c1c0.js} +1 -1
- package/dist/cjs/{observers-2160326f.js → observers-c7320458.js} +1 -1
- package/dist/cjs/{popper-b0bf4165.js → popper-1f1e3064.js} +2 -2
- package/dist/cjs/{resources-71c3ec0c.js → resources-982472c2.js} +1 -1
- package/dist/cjs/{resources-d03200ed.js → resources-ae133545.js} +44 -3
- package/dist/cjs/{resources-19596569.js → resources-bbbea88d.js} +8 -8
- package/dist/cjs/{resources-3584395f.js → resources-f66e61f3.js} +1 -1
- package/dist/cjs/{sortable.esm-f88acbf9.js → sortable.esm-29045f21.js} +1 -1
- package/dist/cjs/{utils-9799b016.js → utils-c307f757.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +16 -11
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +14 -13
- package/dist/collection/components/action/action.js +4 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +15 -4
- 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 +2 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +14 -4
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +18 -14
- 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 +6 -1
- package/dist/collection/components/block/block.js +19 -5
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +5 -3
- 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 +12 -5
- 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 +4 -2
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +58 -19
- 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 +5 -3
- 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 +7 -4
- 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 +11 -3
- 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/assets/date-picker/nls/ru.json +4 -4
- package/dist/collection/components/date-picker/date-picker.js +30 -5
- 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 +7 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +4 -4
- package/dist/collection/components/date-picker-month/date-picker-month.js +37 -9
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +8 -1
- package/dist/collection/components/dropdown/dropdown.js +14 -11
- 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 +9 -7
- 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 +12 -11
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +2 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +29 -1
- package/dist/collection/components/handle/handle.js +3 -3
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +5 -1
- package/dist/collection/components/inline-editable/inline-editable.js +14 -8
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +18 -12
- 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 +27 -12
- 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 -7
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +2 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +3 -2
- package/dist/collection/components/list/list.js +4 -4
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +5 -5
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +3 -3
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +3 -3
- package/dist/collection/components/loader/loader.js +18 -16
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +41 -8
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +6 -3
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +5 -5
- package/dist/collection/components/option-group/option-group.js +4 -4
- package/dist/collection/components/pagination/pagination.js +7 -3
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +27 -8
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +23 -12
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +3 -3
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +23 -13
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +14 -3
- package/dist/collection/components/popover/popover.js +55 -8
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +2 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +3 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +3 -3
- package/dist/collection/components/radio-group-item/radio-group-item.js +4 -4
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +7 -3
- 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 +4 -2
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +3 -3
- 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 +2 -1
- package/dist/collection/components/slider/slider.js +18 -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 +6 -3
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +27 -14
- package/dist/collection/components/stepper-item/stepper-item.js +12 -11
- package/dist/collection/components/switch/switch.js +4 -2
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +25 -8
- package/dist/collection/components/tab-nav/tab-nav.css +6 -0
- package/dist/collection/components/tab-nav/tab-nav.js +23 -12
- package/dist/collection/components/tab-title/tab-title.css +27 -0
- package/dist/collection/components/tab-title/tab-title.js +36 -20
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +12 -0
- package/dist/collection/components/tabs/tabs.js +11 -7
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +2 -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 +61 -26
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +11 -6
- 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 +24 -18
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +24 -13
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +16 -7
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +5 -1
- package/dist/collection/utils/date.js +36 -1
- package/dist/collection/utils/dom.js +9 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +17 -1
- package/dist/collection/utils/globalAttributes.js +6 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +7 -4
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +8 -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 +2 -1
- package/dist/components/action.js +4 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +5 -3
- package/dist/components/calcite-accordion-item.js +10 -9
- package/dist/components/calcite-accordion.js +12 -7
- package/dist/components/calcite-action-bar.js +7 -2
- 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 +6 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +13 -10
- package/dist/components/calcite-avatar.js +6 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +11 -3
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +10 -4
- 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 +58 -19
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +3 -1
- package/dist/components/calcite-combobox.js +6 -3
- 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 +8 -6
- package/dist/components/calcite-dropdown-item.js +9 -8
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -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 +13 -7
- package/dist/components/calcite-input-date-picker.js +25 -10
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +9 -5
- 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 +2 -2
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +11 -2
- package/dist/components/calcite-notice.js +4 -2
- package/dist/components/calcite-option-group.js +3 -3
- package/dist/components/calcite-option.js +4 -4
- package/dist/components/calcite-pagination.js +7 -3
- package/dist/components/calcite-panel.js +10 -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 +12 -7
- package/dist/components/calcite-popover-manager.js +2 -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 -1
- package/dist/components/calcite-radio-group-item.js +3 -3
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +7 -3
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +2 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +18 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +6 -3
- package/dist/components/calcite-stepper-item.js +9 -8
- package/dist/components/calcite-stepper.js +15 -8
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +2 -1
- package/dist/components/calcite-tooltip.js +3 -1
- package/dist/components/calcite-tree-item.js +14 -8
- package/dist/components/calcite-tree.js +9 -4
- package/dist/components/calcite-value-list-item.js +6 -3
- package/dist/components/calcite-value-list.js +12 -7
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +4 -2
- package/dist/components/color-picker-hex-input.js +5 -3
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +5 -1
- package/dist/components/date-picker-day.js +3 -3
- package/dist/components/date-picker-month-header.js +8 -1
- package/dist/components/date-picker-month.js +35 -7
- package/dist/components/date-picker.js +36 -5
- package/dist/components/date.js +36 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +9 -1
- package/dist/components/dropdown.js +8 -5
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +17 -1
- package/dist/components/graph.js +29 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +5 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +14 -8
- package/dist/components/interactive.js +7 -4
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +8 -1
- package/dist/components/label2.js +2 -1
- package/dist/components/link.js +3 -2
- package/dist/components/loader.js +9 -7
- 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 +12 -8
- package/dist/components/popover.js +35 -6
- 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 +4 -2
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +4 -2
- package/dist/components/tab-nav.js +18 -7
- package/dist/components/tab-title.js +16 -12
- package/dist/components/tab.js +9 -4
- package/dist/components/tabs.js +9 -5
- package/dist/components/tile.js +2 -1
- package/dist/components/time-picker.js +50 -21
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +721 -242
- package/dist/esm/{ExpandToggle-4f621ad1.js → ExpandToggle-1386bad5.js} +5 -5
- package/dist/esm/{Heading-77bbacee.js → Heading-2828947f.js} +2 -2
- package/dist/esm/{array-a017e08f.js → array-e01eb758.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +22 -16
- package/dist/esm/calcite-action-bar.entry.js +16 -11
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +9 -8
- package/dist/esm/calcite-action-pad.entry.js +14 -10
- package/dist/esm/calcite-action.entry.js +9 -7
- package/dist/esm/calcite-alert.entry.js +16 -13
- package/dist/esm/calcite-avatar.entry.js +10 -5
- package/dist/esm/calcite-block_2.entry.js +18 -10
- package/dist/esm/calcite-button.entry.js +12 -10
- package/dist/esm/calcite-card.entry.js +15 -9
- package/dist/esm/calcite-checkbox.entry.js +9 -8
- package/dist/esm/calcite-chip.entry.js +9 -7
- package/dist/esm/calcite-color-picker_3.entry.js +69 -28
- package/dist/esm/calcite-combobox_3.entry.js +19 -14
- package/dist/esm/calcite-date-picker_4.entry.js +81 -21
- package/dist/esm/calcite-dropdown_3.entry.js +26 -20
- package/dist/esm/calcite-fab.entry.js +6 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +54 -9
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +9 -5
- package/dist/esm/calcite-inline-editable.entry.js +18 -12
- package/dist/esm/calcite-input-date-picker.entry.js +35 -20
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +64 -31
- package/dist/esm/calcite-input.entry.js +24 -18
- package/dist/esm/calcite-label.entry.js +6 -5
- package/dist/esm/calcite-link.entry.js +7 -6
- package/dist/esm/calcite-list_3.entry.js +10 -10
- package/dist/esm/calcite-loader.entry.js +11 -9
- package/dist/esm/calcite-modal.entry.js +16 -7
- package/dist/esm/calcite-notice.entry.js +10 -8
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +8 -4
- package/dist/esm/calcite-panel.entry.js +18 -11
- package/dist/esm/calcite-pick-list_3.entry.js +31 -22
- package/dist/esm/calcite-popover_2.entry.js +41 -12
- 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 +10 -8
- package/dist/esm/calcite-radio-group_2.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -9
- package/dist/esm/calcite-scrim.entry.js +5 -3
- package/dist/esm/calcite-shell_3.entry.js +8 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +8 -5
- package/dist/esm/calcite-stepper_2.entry.js +25 -17
- package/dist/esm/calcite-switch.entry.js +10 -8
- package/dist/esm/calcite-tab_4.entry.js +52 -28
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +8 -5
- package/dist/esm/calcite-tree_2.entry.js +26 -15
- package/dist/esm/calcite-value-list_2.entry.js +25 -17
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-efe9fada.js → conditionalSlot-3eed64fd.js} +7 -3
- package/dist/esm/{debounce-3542cd6c.js → debounce-09d6a561.js} +1 -1
- package/dist/esm/{dom-92353f93.js → dom-c27aa997.js} +10 -2
- package/dist/esm/{forIn-f786dc6a.js → forIn-f1632963.js} +2 -2
- package/dist/esm/{form-6b113ff9.js → form-ae9c7b51.js} +19 -3
- package/dist/esm/{guid-3d2249ab.js → guid-30502e46.js} +1 -1
- package/dist/esm/{index-090024fb.js → index-b9d03d54.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-b0989f51.js → interactive-f48d07dd.js} +7 -4
- package/dist/esm/{interfaces-6565effc.js → interfaces-590d249e.js} +1 -1
- package/dist/esm/{label-71a2e73c.js → label-1aee1deb.js} +9 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-6fbb1595.js → locale-529b8688.js} +2 -2
- package/dist/esm/{math-86e70cf6.js → math-7cf06c9e.js} +1 -1
- package/dist/esm/{number-0354c374.js → number-c581416f.js} +1 -1
- package/dist/esm/{observers-39799b92.js → observers-851341e8.js} +1 -1
- package/dist/esm/{popper-23ea67bc.js → popper-b376ab28.js} +2 -2
- package/dist/esm/{resources-08e039a8.js → resources-2cbb3ed4.js} +8 -8
- package/dist/esm/{resources-f6a8c77e.js → resources-6c12ef01.js} +1 -1
- package/dist/esm/{resources-c6972cbd.js → resources-add11146.js} +1 -1
- package/dist/esm/{resources-0f1993c7.js → resources-dc7edf07.js} +44 -3
- package/dist/esm/{sortable.esm-1ac05cb0.js → sortable.esm-0bec9695.js} +1 -1
- package/dist/esm/{utils-7e9a0947.js → utils-1629f315.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-4f621ad1.js → ExpandToggle-1386bad5.js} +2 -2
- package/dist/esm-es5/{Heading-77bbacee.js → Heading-2828947f.js} +2 -2
- package/dist/esm-es5/{array-a017e08f.js → array-e01eb758.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 +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
- 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 +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +3 -3
- 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 +3 -3
- 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-efe9fada.js → conditionalSlot-3eed64fd.js} +2 -2
- package/dist/esm-es5/{debounce-3542cd6c.js → debounce-09d6a561.js} +1 -1
- package/dist/esm-es5/{dom-92353f93.js → dom-c27aa997.js} +2 -2
- package/dist/esm-es5/{forIn-f786dc6a.js → forIn-f1632963.js} +2 -2
- package/dist/esm-es5/{form-6b113ff9.js → form-ae9c7b51.js} +2 -2
- package/dist/esm-es5/{guid-3d2249ab.js → guid-30502e46.js} +1 -1
- package/dist/esm-es5/{index-090024fb.js → index-b9d03d54.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-b0989f51.js → interactive-f48d07dd.js} +1 -1
- package/dist/esm-es5/{interfaces-6565effc.js → interfaces-590d249e.js} +1 -1
- package/dist/esm-es5/{label-71a2e73c.js → label-1aee1deb.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-6fbb1595.js → locale-529b8688.js} +2 -2
- package/dist/esm-es5/{math-86e70cf6.js → math-7cf06c9e.js} +1 -1
- package/dist/esm-es5/{number-0354c374.js → number-c581416f.js} +1 -1
- package/dist/esm-es5/{observers-39799b92.js → observers-851341e8.js} +1 -1
- package/dist/esm-es5/{popper-23ea67bc.js → popper-b376ab28.js} +2 -2
- package/dist/esm-es5/resources-2cbb3ed4.js +6 -0
- package/dist/esm-es5/{resources-f6a8c77e.js → resources-6c12ef01.js} +1 -1
- package/dist/esm-es5/{resources-c6972cbd.js → resources-add11146.js} +1 -1
- package/dist/esm-es5/{resources-0f1993c7.js → resources-dc7edf07.js} +2 -2
- package/dist/esm-es5/{sortable.esm-1ac05cb0.js → sortable.esm-0bec9695.js} +1 -1
- package/dist/esm-es5/{utils-7e9a0947.js → utils-1629f315.js} +1 -1
- package/dist/extras/docs-json.json +190 -80
- 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/accordion/accordion.d.ts +6 -4
- package/dist/types/components/accordion-item/accordion-item.d.ts +4 -4
- package/dist/types/components/action/action.d.ts +4 -1
- package/dist/types/components/action-bar/action-bar.d.ts +6 -1
- package/dist/types/components/action-menu/action-menu.d.ts +1 -0
- package/dist/types/components/action-pad/action-pad.d.ts +5 -1
- package/dist/types/components/alert/alert.d.ts +11 -6
- package/dist/types/components/avatar/utils.d.ts +5 -0
- package/dist/types/components/block/block.d.ts +10 -2
- package/dist/types/components/button/button.d.ts +4 -2
- package/dist/types/components/card/card.d.ts +11 -4
- package/dist/types/components/checkbox/checkbox.d.ts +3 -1
- package/dist/types/components/chip/chip.d.ts +3 -1
- package/dist/types/components/color-picker/color-picker.d.ts +57 -18
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +3 -1
- package/dist/types/components/combobox/combobox.d.ts +9 -3
- package/dist/types/components/combobox-item/combobox-item.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker.d.ts +32 -3
- package/dist/types/components/date-picker/utils.d.ts +5 -0
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -1
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +30 -2
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +7 -0
- package/dist/types/components/dropdown/dropdown.d.ts +7 -6
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +5 -3
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
- package/dist/types/components/fab/fab.d.ts +1 -0
- package/dist/types/components/graph/util.d.ts +14 -0
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/icon/utils.d.ts +4 -0
- package/dist/types/components/inline-editable/inline-editable.d.ts +10 -4
- package/dist/types/components/input/input.d.ts +17 -8
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +25 -6
- package/dist/types/components/input-message/input-message.d.ts +7 -3
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +4 -2
- package/dist/types/components/label/label.d.ts +1 -0
- package/dist/types/components/link/link.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +2 -2
- package/dist/types/components/list-item/list-item.d.ts +3 -3
- package/dist/types/components/list-item-group/list-item-group.d.ts +2 -2
- package/dist/types/components/loader/loader.d.ts +11 -9
- package/dist/types/components/modal/modal.d.ts +14 -3
- package/dist/types/components/notice/notice.d.ts +9 -4
- package/dist/types/components/option/option.d.ts +1 -1
- package/dist/types/components/option-group/option-group.d.ts +1 -1
- package/dist/types/components/pagination/pagination.d.ts +8 -2
- package/dist/types/components/panel/panel.d.ts +10 -2
- package/dist/types/components/pick-list/pick-list.d.ts +7 -3
- package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +9 -3
- package/dist/types/components/popover/PopoverManager.d.ts +2 -0
- package/dist/types/components/popover/popover.d.ts +20 -3
- package/dist/types/components/popover-manager/popover-manager.d.ts +1 -0
- package/dist/types/components/radio-button/radio-button.d.ts +6 -0
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +2 -1
- package/dist/types/components/rating/rating.d.ts +6 -2
- package/dist/types/components/scrim/scrim.d.ts +3 -1
- package/dist/types/components/shell-panel/shell-panel.d.ts +2 -0
- package/dist/types/components/slider/slider.d.ts +19 -0
- package/dist/types/components/split-button/split-button.d.ts +5 -2
- package/dist/types/components/stepper/stepper.d.ts +8 -3
- package/dist/types/components/stepper-item/stepper-item.d.ts +3 -3
- package/dist/types/components/switch/switch.d.ts +3 -1
- package/dist/types/components/tab/tab.d.ts +6 -2
- package/dist/types/components/tab-nav/tab-nav.d.ts +15 -4
- package/dist/types/components/tab-title/tab-title.d.ts +20 -8
- package/dist/types/components/tabs/tabs.d.ts +6 -2
- package/dist/types/components/tile/tile.d.ts +1 -0
- package/dist/types/components/time-picker/time-picker.d.ts +45 -16
- package/dist/types/components/tip-manager/tip-manager.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip.d.ts +2 -0
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -0
- package/dist/types/components/tree/tree.d.ts +11 -4
- package/dist/types/components/tree-item/tree-item.d.ts +26 -12
- package/dist/types/components/value-list/value-list.d.ts +8 -4
- package/dist/types/components/value-list-item/value-list-item.d.ts +5 -2
- package/dist/types/components.d.ts +78 -38
- package/dist/types/preact.d.ts +56 -56
- package/dist/types/utils/conditionalSlot.d.ts +4 -0
- package/dist/types/utils/date.d.ts +35 -0
- package/dist/types/utils/dom.d.ts +8 -0
- package/dist/types/utils/form.d.ts +14 -0
- package/dist/types/utils/globalAttributes.d.ts +5 -0
- package/dist/types/utils/interactive.d.ts +7 -4
- package/dist/types/utils/label.d.ts +7 -0
- package/hydrate/index.js +720 -247
- package/package.json +4 -3
- package/dist/calcite/p-1121bf6c.entry.js +0 -6
- package/dist/calcite/p-112e0506.entry.js +0 -6
- package/dist/calcite/p-12df5af5.entry.js +0 -6
- package/dist/calcite/p-167b2f4a.system.entry.js +0 -6
- package/dist/calcite/p-169dc58f.entry.js +0 -6
- package/dist/calcite/p-23825835.system.entry.js +0 -6
- package/dist/calcite/p-2a4f0b45.system.entry.js +0 -6
- package/dist/calcite/p-2d00b485.entry.js +0 -6
- package/dist/calcite/p-2eaf7bd6.entry.js +0 -6
- package/dist/calcite/p-2f269ad9.entry.js +0 -6
- package/dist/calcite/p-3310a0b7.entry.js +0 -6
- package/dist/calcite/p-33ff61c9.entry.js +0 -6
- package/dist/calcite/p-35a4e949.js +0 -6
- package/dist/calcite/p-5202bff5.system.entry.js +0 -6
- package/dist/calcite/p-5eb52277.js +0 -6
- package/dist/calcite/p-6247f386.system.entry.js +0 -6
- package/dist/calcite/p-67610187.system.js +0 -6
- package/dist/calcite/p-6a7883a6.system.entry.js +0 -6
- package/dist/calcite/p-6bd67c03.js +0 -6
- package/dist/calcite/p-74877cc8.entry.js +0 -6
- package/dist/calcite/p-77b7aacb.entry.js +0 -6
- package/dist/calcite/p-84d0d4d8.entry.js +0 -6
- package/dist/calcite/p-97becb53.system.entry.js +0 -6
- package/dist/calcite/p-9e9b5138.system.entry.js +0 -6
- package/dist/calcite/p-a966bab7.system.js +0 -6
- package/dist/calcite/p-b5b08c47.entry.js +0 -6
- package/dist/calcite/p-bfa06e68.system.entry.js +0 -6
- package/dist/calcite/p-bfd4346a.system.entry.js +0 -6
- package/dist/calcite/p-d96ccda9.system.entry.js +0 -6
- package/dist/calcite/p-dbf820ef.entry.js +0 -6
- package/dist/calcite/p-e6df17ef.entry.js +0 -6
- package/dist/calcite/p-f2d088fc.entry.js +0 -6
- package/dist/calcite/p-f7d72376.entry.js +0 -6
- package/dist/calcite/p-fe3ae78d.system.entry.js +0 -6
- package/dist/esm-es5/resources-08e039a8.js +0 -6
|
@@ -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.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
@@ -15,7 +15,7 @@ const DatePickerDay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
15
15
|
this.__registerHost();
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
this.calciteDaySelect = createEvent(this, "calciteDaySelect", 7);
|
|
18
|
-
this.
|
|
18
|
+
this.calciteInternalDayHover = createEvent(this, "calciteInternalDayHover", 7);
|
|
19
19
|
/** Date is outside of range and can't be selected */
|
|
20
20
|
this.disabled = false;
|
|
21
21
|
/** Date is in the current month. */
|
|
@@ -50,7 +50,7 @@ const DatePickerDay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
mouseoverHandler() {
|
|
53
|
-
this.
|
|
53
|
+
this.calciteInternalDayHover.emit({
|
|
54
54
|
disabled: this.disabled
|
|
55
55
|
});
|
|
56
56
|
}
|
|
@@ -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.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
7
7
|
import { l as localizeNumber, c as getOrder, b as dateFromRange, n as nextMonth, p as prevMonth, e as parseNumber } from './date.js';
|
|
@@ -23,6 +23,8 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
23
23
|
//--------------------------------------------------------------------------
|
|
24
24
|
/**
|
|
25
25
|
* Increment year on UP/DOWN keys
|
|
26
|
+
*
|
|
27
|
+
* @param e
|
|
26
28
|
*/
|
|
27
29
|
this.onYearKey = (e) => {
|
|
28
30
|
const localizedYear = e.target.value;
|
|
@@ -122,6 +124,11 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
122
124
|
/**
|
|
123
125
|
* Parse localized year string from input,
|
|
124
126
|
* set to active if in range
|
|
127
|
+
*
|
|
128
|
+
* @param root0
|
|
129
|
+
* @param root0.localizedYear
|
|
130
|
+
* @param root0.commit
|
|
131
|
+
* @param root0.offset
|
|
125
132
|
*/
|
|
126
133
|
setYear({ localizedYear, commit = true, offset = 0 }) {
|
|
127
134
|
const { yearInput, activeDate, localeData } = this;
|
|
@@ -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.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { s as sameDate, b as dateFromRange, i as inRange } from './date.js';
|
|
@@ -15,9 +15,9 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
15
15
|
this.__registerHost();
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect", 7);
|
|
18
|
-
this.
|
|
18
|
+
this.calciteInternalDatePickerHover = createEvent(this, "calciteInternalDatePickerHover", 7);
|
|
19
19
|
this.calciteDatePickerActiveDateChange = createEvent(this, "calciteDatePickerActiveDateChange", 7);
|
|
20
|
-
this.
|
|
20
|
+
this.calciteInternalDatePickerMouseOut = createEvent(this, "calciteInternalDatePickerMouseOut", 7);
|
|
21
21
|
/** Date currently active.*/
|
|
22
22
|
this.activeDate = new Date();
|
|
23
23
|
//--------------------------------------------------------------------------
|
|
@@ -80,11 +80,12 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
80
80
|
this.dayHover = (e) => {
|
|
81
81
|
const target = e.target;
|
|
82
82
|
if (e.detail.disabled) {
|
|
83
|
-
this.
|
|
83
|
+
this.calciteInternalDatePickerMouseOut.emit();
|
|
84
84
|
}
|
|
85
85
|
else {
|
|
86
|
-
this.
|
|
86
|
+
this.calciteInternalDatePickerHover.emit(target.value);
|
|
87
87
|
}
|
|
88
|
+
e.stopPropagation();
|
|
88
89
|
};
|
|
89
90
|
this.daySelect = (e) => {
|
|
90
91
|
const target = e.target;
|
|
@@ -92,7 +93,7 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
92
93
|
};
|
|
93
94
|
}
|
|
94
95
|
mouseoutHandler() {
|
|
95
|
-
this.
|
|
96
|
+
this.calciteInternalDatePickerMouseOut.emit();
|
|
96
97
|
}
|
|
97
98
|
//--------------------------------------------------------------------------
|
|
98
99
|
//
|
|
@@ -137,6 +138,8 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
137
138
|
//--------------------------------------------------------------------------
|
|
138
139
|
/**
|
|
139
140
|
* Add n months to the current month
|
|
141
|
+
*
|
|
142
|
+
* @param step
|
|
140
143
|
*/
|
|
141
144
|
addMonths(step) {
|
|
142
145
|
const nextDate = new Date(this.activeDate);
|
|
@@ -146,6 +149,8 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
146
149
|
}
|
|
147
150
|
/**
|
|
148
151
|
* Add n days to the current date
|
|
152
|
+
*
|
|
153
|
+
* @param step
|
|
149
154
|
*/
|
|
150
155
|
addDays(step = 0) {
|
|
151
156
|
const nextDate = new Date(this.activeDate);
|
|
@@ -155,6 +160,10 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
155
160
|
}
|
|
156
161
|
/**
|
|
157
162
|
* Get dates for last days of the previous month
|
|
163
|
+
*
|
|
164
|
+
* @param month
|
|
165
|
+
* @param year
|
|
166
|
+
* @param startOfWeek
|
|
158
167
|
*/
|
|
159
168
|
getPrevMonthdays(month, year, startOfWeek) {
|
|
160
169
|
const lastDate = new Date(year, month, 0);
|
|
@@ -171,6 +180,9 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
171
180
|
}
|
|
172
181
|
/**
|
|
173
182
|
* Get dates for the current month
|
|
183
|
+
*
|
|
184
|
+
* @param month
|
|
185
|
+
* @param year
|
|
174
186
|
*/
|
|
175
187
|
getCurrentMonthDays(month, year) {
|
|
176
188
|
const num = new Date(year, month + 1, 0).getDate();
|
|
@@ -182,6 +194,10 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
182
194
|
}
|
|
183
195
|
/**
|
|
184
196
|
* Get dates for first days of the next month
|
|
197
|
+
*
|
|
198
|
+
* @param month
|
|
199
|
+
* @param year
|
|
200
|
+
* @param startOfWeek
|
|
185
201
|
*/
|
|
186
202
|
getNextMonthDays(month, year, startOfWeek) {
|
|
187
203
|
const endDay = new Date(year, month + 1, 0).getDay();
|
|
@@ -196,6 +212,8 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
196
212
|
}
|
|
197
213
|
/**
|
|
198
214
|
* Determine if the date is in between the start and end dates
|
|
215
|
+
*
|
|
216
|
+
* @param date
|
|
199
217
|
*/
|
|
200
218
|
betweenSelectedRange(date) {
|
|
201
219
|
return !!(this.startDate &&
|
|
@@ -206,6 +224,8 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
206
224
|
}
|
|
207
225
|
/**
|
|
208
226
|
* Determine if the date should be in selected state
|
|
227
|
+
*
|
|
228
|
+
* @param date
|
|
209
229
|
*/
|
|
210
230
|
isSelected(date) {
|
|
211
231
|
return !!(sameDate(date, this.selectedDate) ||
|
|
@@ -214,6 +234,8 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
214
234
|
}
|
|
215
235
|
/**
|
|
216
236
|
* Determine if the date is the start of the date range
|
|
237
|
+
*
|
|
238
|
+
* @param date
|
|
217
239
|
*/
|
|
218
240
|
isStartOfRange(date) {
|
|
219
241
|
return !!(this.startDate &&
|
|
@@ -230,6 +252,12 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
230
252
|
}
|
|
231
253
|
/**
|
|
232
254
|
* Render calcite-date-picker-day
|
|
255
|
+
*
|
|
256
|
+
* @param active
|
|
257
|
+
* @param day
|
|
258
|
+
* @param date
|
|
259
|
+
* @param currentMonth
|
|
260
|
+
* @param ref
|
|
233
261
|
*/
|
|
234
262
|
renderDateDay(active, day, date, currentMonth, ref) {
|
|
235
263
|
var _a;
|
|
@@ -241,7 +269,7 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
241
269
|
"hover--outside-range": this.startDate && !isHoverInRange,
|
|
242
270
|
"focused--start": isFocusedOnStart,
|
|
243
271
|
"focused--end": !isFocusedOnStart
|
|
244
|
-
}, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), localeData: this.localeData,
|
|
272
|
+
}, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), localeData: this.localeData, onCalciteDaySelect: this.daySelect, onCalciteInternalDayHover: this.dayHover, range: !!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate), rangeHover: this.isRangeHover(date), ref: (el) => {
|
|
245
273
|
// when moving via keyboard, focus must be updated on active date
|
|
246
274
|
if (ref && active && this.activeFocus) {
|
|
247
275
|
el === null || el === void 0 ? void 0 : el.focus();
|
|
@@ -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.469
|
|
5
5
|
*/
|
|
6
6
|
import { getAssetPath, proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client';
|
|
7
7
|
import { a as locales } from './locale.js';
|
|
@@ -14,6 +14,8 @@ import { d as defineCustomElement$1 } from './icon.js';
|
|
|
14
14
|
/**
|
|
15
15
|
* Get supported locale code from raw user input
|
|
16
16
|
* Exported for testing purposes.
|
|
17
|
+
*
|
|
18
|
+
* @param lang
|
|
17
19
|
* @private
|
|
18
20
|
*/
|
|
19
21
|
function getSupportedLocale(lang = "") {
|
|
@@ -32,17 +34,21 @@ function getSupportedLocale(lang = "") {
|
|
|
32
34
|
/**
|
|
33
35
|
* CLDR cache.
|
|
34
36
|
* Exported for testing purposes.
|
|
37
|
+
*
|
|
35
38
|
* @private
|
|
36
39
|
*/
|
|
37
40
|
const translationCache = {};
|
|
38
41
|
/**
|
|
39
42
|
* CLDR request cache.
|
|
40
43
|
* Exported for testing purposes.
|
|
44
|
+
*
|
|
41
45
|
* @private
|
|
42
46
|
*/
|
|
43
47
|
const requestCache = {};
|
|
44
48
|
/**
|
|
45
49
|
* Fetch calendar data for a given locale from list of supported languages
|
|
50
|
+
*
|
|
51
|
+
* @param lang
|
|
46
52
|
* @public
|
|
47
53
|
*/
|
|
48
54
|
async function getLocaleData(lang) {
|
|
@@ -79,15 +85,21 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
79
85
|
this.__attachShadow();
|
|
80
86
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
81
87
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
|
|
82
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* Localized string for "previous month" (used for aria label)
|
|
90
|
+
*
|
|
83
91
|
* @default "Previous month"
|
|
84
92
|
*/
|
|
85
93
|
this.intlPrevMonth = TEXT.prevMonth;
|
|
86
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Localized string for "next month" (used for aria label)
|
|
96
|
+
*
|
|
87
97
|
* @default "Next month"
|
|
88
98
|
*/
|
|
89
99
|
this.intlNextMonth = TEXT.nextMonth;
|
|
90
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Localized string for "year" (used for aria label)
|
|
102
|
+
*
|
|
91
103
|
* @default "Year"
|
|
92
104
|
*/
|
|
93
105
|
this.intlYear = TEXT.year;
|
|
@@ -203,6 +215,7 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
203
215
|
this.hoverRange = undefined;
|
|
204
216
|
}
|
|
205
217
|
}
|
|
218
|
+
e.stopPropagation();
|
|
206
219
|
};
|
|
207
220
|
this.monthMouseOutChange = () => {
|
|
208
221
|
if (this.hoverRange) {
|
|
@@ -228,6 +241,8 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
228
241
|
};
|
|
229
242
|
/**
|
|
230
243
|
* Event handler for when the selected date changes
|
|
244
|
+
*
|
|
245
|
+
* @param e
|
|
231
246
|
*/
|
|
232
247
|
this.monthDateChange = (e) => {
|
|
233
248
|
const date = new Date(e.detail);
|
|
@@ -397,15 +412,24 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
397
412
|
}
|
|
398
413
|
/**
|
|
399
414
|
* Render calcite-date-picker-month-header and calcite-date-picker-month
|
|
415
|
+
*
|
|
416
|
+
* @param activeDate
|
|
417
|
+
* @param maxDate
|
|
418
|
+
* @param minDate
|
|
419
|
+
* @param date
|
|
420
|
+
* @param endDate
|
|
400
421
|
*/
|
|
401
422
|
renderCalendar(activeDate, maxDate, minDate, date, endDate) {
|
|
402
423
|
return (this.localeData && [
|
|
403
424
|
h("calcite-date-picker-month-header", { activeDate: activeDate, headingLevel: this.headingLevel || HEADING_LEVEL, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerSelect: this.monthHeaderSelectChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date || new Date() }),
|
|
404
|
-
h("calcite-date-picker-month", { activeDate: activeDate, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerActiveDateChange: this.monthActiveDateChange,
|
|
425
|
+
h("calcite-date-picker-month", { activeDate: activeDate, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerActiveDateChange: this.monthActiveDateChange, onCalciteDatePickerSelect: this.monthDateChange, onCalciteInternalDatePickerHover: this.monthHoverChange, onCalciteInternalDatePickerMouseOut: this.monthMouseOutChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date, startDate: this.range ? date : undefined })
|
|
405
426
|
]);
|
|
406
427
|
}
|
|
407
428
|
/**
|
|
408
429
|
* Update date instance of start if valid
|
|
430
|
+
*
|
|
431
|
+
* @param startDate
|
|
432
|
+
* @param emit
|
|
409
433
|
*/
|
|
410
434
|
setStartAsDate(startDate, emit) {
|
|
411
435
|
this.startAsDate = startDate;
|
|
@@ -419,6 +443,9 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
419
443
|
}
|
|
420
444
|
/**
|
|
421
445
|
* Update date instance of end if valid
|
|
446
|
+
*
|
|
447
|
+
* @param endDate
|
|
448
|
+
* @param emit
|
|
422
449
|
*/
|
|
423
450
|
setEndAsDate(endDate, emit) {
|
|
424
451
|
this.endAsDate = endDate;
|
|
@@ -442,6 +469,10 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
442
469
|
}
|
|
443
470
|
/**
|
|
444
471
|
* Get an active date using the value, or current date as default
|
|
472
|
+
*
|
|
473
|
+
* @param value
|
|
474
|
+
* @param min
|
|
475
|
+
* @param max
|
|
445
476
|
*/
|
|
446
477
|
getActiveDate(value, min, max) {
|
|
447
478
|
return dateFromRange(this.activeDate, min, max) || value || dateFromRange(new Date(), min, max);
|
package/dist/components/date.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
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.469
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* Check if date is within a min and max
|
|
8
|
+
*
|
|
9
|
+
* @param date
|
|
10
|
+
* @param min
|
|
11
|
+
* @param max
|
|
8
12
|
*/
|
|
9
13
|
function inRange(date, min, max) {
|
|
10
14
|
const time = date.getTime();
|
|
@@ -15,6 +19,10 @@ function inRange(date, min, max) {
|
|
|
15
19
|
/**
|
|
16
20
|
* Ensures date is within range,
|
|
17
21
|
* returns min or max if out of bounds
|
|
22
|
+
*
|
|
23
|
+
* @param date
|
|
24
|
+
* @param min
|
|
25
|
+
* @param max
|
|
18
26
|
*/
|
|
19
27
|
function dateFromRange(date, min, max) {
|
|
20
28
|
if (!(date instanceof Date)) {
|
|
@@ -34,6 +42,8 @@ function dateFromRange(date, min, max) {
|
|
|
34
42
|
/**
|
|
35
43
|
* Parse an iso8601 string (YYYY-mm-dd) into a valid date.
|
|
36
44
|
* TODO: handle time when time of day UI is added
|
|
45
|
+
*
|
|
46
|
+
* @param iso8601
|
|
37
47
|
*/
|
|
38
48
|
function dateFromISO(iso8601) {
|
|
39
49
|
if (iso8601 instanceof Date) {
|
|
@@ -52,6 +62,8 @@ function dateFromISO(iso8601) {
|
|
|
52
62
|
}
|
|
53
63
|
/**
|
|
54
64
|
* Return first portion of ISO string (YYYY-mm-dd)
|
|
65
|
+
*
|
|
66
|
+
* @param date
|
|
55
67
|
*/
|
|
56
68
|
function dateToISO(date) {
|
|
57
69
|
if (typeof date === "string") {
|
|
@@ -64,6 +76,9 @@ function dateToISO(date) {
|
|
|
64
76
|
}
|
|
65
77
|
/**
|
|
66
78
|
* Check if two dates are the same day, month, year
|
|
79
|
+
*
|
|
80
|
+
* @param d1
|
|
81
|
+
* @param d2
|
|
67
82
|
*/
|
|
68
83
|
function sameDate(d1, d2) {
|
|
69
84
|
return (d1 instanceof Date &&
|
|
@@ -74,6 +89,8 @@ function sameDate(d1, d2) {
|
|
|
74
89
|
}
|
|
75
90
|
/**
|
|
76
91
|
* Get a date one month in the past
|
|
92
|
+
*
|
|
93
|
+
* @param date
|
|
77
94
|
*/
|
|
78
95
|
function prevMonth(date) {
|
|
79
96
|
const month = date.getMonth();
|
|
@@ -87,6 +104,8 @@ function prevMonth(date) {
|
|
|
87
104
|
}
|
|
88
105
|
/**
|
|
89
106
|
* Get a date one month in the future
|
|
107
|
+
*
|
|
108
|
+
* @param date
|
|
90
109
|
*/
|
|
91
110
|
function nextMonth(date) {
|
|
92
111
|
const month = date.getMonth();
|
|
@@ -100,6 +119,9 @@ function nextMonth(date) {
|
|
|
100
119
|
}
|
|
101
120
|
/**
|
|
102
121
|
* Translate a number into a given locals numeral system
|
|
122
|
+
*
|
|
123
|
+
* @param num
|
|
124
|
+
* @param localeData
|
|
103
125
|
*/
|
|
104
126
|
function localizeNumber(num, localeData) {
|
|
105
127
|
return String(num)
|
|
@@ -109,6 +131,9 @@ function localizeNumber(num, localeData) {
|
|
|
109
131
|
}
|
|
110
132
|
/**
|
|
111
133
|
* Calculate actual number from localized string
|
|
134
|
+
*
|
|
135
|
+
* @param str
|
|
136
|
+
* @param localeData
|
|
112
137
|
*/
|
|
113
138
|
function parseNumber(str, localeData) {
|
|
114
139
|
const numerals = "0123456789";
|
|
@@ -121,6 +146,9 @@ function parseNumber(str, localeData) {
|
|
|
121
146
|
/**
|
|
122
147
|
* Parse numeric units for day, month, and year from a localized string
|
|
123
148
|
* month starts at 0 (can pass to date constructor)
|
|
149
|
+
*
|
|
150
|
+
* @param str
|
|
151
|
+
* @param localeData
|
|
124
152
|
*/
|
|
125
153
|
function parseDateString(str, localeData) {
|
|
126
154
|
const { separator, unitOrder } = localeData;
|
|
@@ -134,6 +162,8 @@ function parseDateString(str, localeData) {
|
|
|
134
162
|
}
|
|
135
163
|
/**
|
|
136
164
|
* Convert eastern arbic numerals
|
|
165
|
+
*
|
|
166
|
+
* @param str
|
|
137
167
|
*/
|
|
138
168
|
function replaceArabicNumerals(str = "") {
|
|
139
169
|
return str
|
|
@@ -142,6 +172,8 @@ function replaceArabicNumerals(str = "") {
|
|
|
142
172
|
}
|
|
143
173
|
/**
|
|
144
174
|
* Based on the unitOrder string, find order of month, day, and year for locale
|
|
175
|
+
*
|
|
176
|
+
* @param unitOrder
|
|
145
177
|
*/
|
|
146
178
|
function getOrder(unitOrder) {
|
|
147
179
|
const signifiers = ["d", "m", "y"];
|
|
@@ -150,6 +182,9 @@ function getOrder(unitOrder) {
|
|
|
150
182
|
}
|
|
151
183
|
/**
|
|
152
184
|
* Get number of days between two dates
|
|
185
|
+
*
|
|
186
|
+
* @param date1
|
|
187
|
+
* @param date2
|
|
153
188
|
*/
|
|
154
189
|
function getDaysDiff(date1, date2) {
|
|
155
190
|
const ts1 = date1.getTime();
|
|
@@ -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.469
|
|
5
5
|
*/
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
|
7
7
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
package/dist/components/dom.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { g as guid } from './guid.js';
|
|
7
7
|
|
|
@@ -23,6 +23,7 @@ const TEXT = {
|
|
|
23
23
|
*
|
|
24
24
|
* If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
|
|
25
25
|
*
|
|
26
|
+
* @param el
|
|
26
27
|
* @returns {string} The element's ID.
|
|
27
28
|
*/
|
|
28
29
|
function ensureId(el) {
|
|
@@ -58,6 +59,8 @@ function getHost(root) {
|
|
|
58
59
|
/**
|
|
59
60
|
* This helper queries an element's rootNodes and any ancestor rootNodes.
|
|
60
61
|
*
|
|
62
|
+
* @param element
|
|
63
|
+
* @param selector
|
|
61
64
|
* @returns {Element[]} The elements.
|
|
62
65
|
*/
|
|
63
66
|
function queryElementsRoots(element, selector) {
|
|
@@ -84,6 +87,10 @@ function queryElementsRoots(element, selector) {
|
|
|
84
87
|
*
|
|
85
88
|
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
|
86
89
|
*
|
|
90
|
+
* @param element
|
|
91
|
+
* @param root0
|
|
92
|
+
* @param root0.selector
|
|
93
|
+
* @param root0.id
|
|
87
94
|
* @returns {Element} The element.
|
|
88
95
|
*/
|
|
89
96
|
function queryElementRoots(element, { selector, id }) {
|
|
@@ -194,6 +201,7 @@ function intersects(rect1, rect2) {
|
|
|
194
201
|
*
|
|
195
202
|
* It should only be used for aria attributes that require a string value of "true" or "false".
|
|
196
203
|
*
|
|
204
|
+
* @param value
|
|
197
205
|
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
|
198
206
|
*/
|
|
199
207
|
function toAriaBoolean(value) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { t as toAriaBoolean, f as focusElement } from './dom.js';
|
|
@@ -40,12 +40,13 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
40
40
|
/**
|
|
41
41
|
specify the maximum number of calcite-dropdown-items to display before showing the scroller, must be greater than 0 -
|
|
42
42
|
this value does not include groupTitles passed to calcite-dropdown-group
|
|
43
|
-
|
|
43
|
+
*/
|
|
44
44
|
this.maxItems = 0;
|
|
45
45
|
/** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */
|
|
46
46
|
this.overlayPositioning = "absolute";
|
|
47
47
|
/**
|
|
48
48
|
* Determines where the dropdown will be positioned relative to the button.
|
|
49
|
+
*
|
|
49
50
|
* @default "bottom-leading"
|
|
50
51
|
*/
|
|
51
52
|
this.placement = defaultMenuPlacement;
|
|
@@ -232,8 +233,9 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
232
233
|
}
|
|
233
234
|
this.closeCalciteDropdown(false);
|
|
234
235
|
}
|
|
235
|
-
closeCalciteDropdownOnEvent() {
|
|
236
|
+
closeCalciteDropdownOnEvent(e) {
|
|
236
237
|
this.closeCalciteDropdown();
|
|
238
|
+
e.stopPropagation();
|
|
237
239
|
}
|
|
238
240
|
closeCalciteDropdownOnOpenEvent(e) {
|
|
239
241
|
if (e.composedPath().includes(this.el)) {
|
|
@@ -251,7 +253,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
251
253
|
this.closeCalciteDropdown();
|
|
252
254
|
}
|
|
253
255
|
}
|
|
254
|
-
|
|
256
|
+
calciteInternalDropdownItemKeyEvent(e) {
|
|
255
257
|
const { keyboardEvent } = e.detail;
|
|
256
258
|
// handle edge
|
|
257
259
|
const target = keyboardEvent.target;
|
|
@@ -296,6 +298,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
296
298
|
event.detail.requestedDropdownGroup.selectionMode === "none") {
|
|
297
299
|
this.closeCalciteDropdown();
|
|
298
300
|
}
|
|
301
|
+
event.stopPropagation();
|
|
299
302
|
}
|
|
300
303
|
getModifiers() {
|
|
301
304
|
const flipModifier = {
|
|
@@ -414,7 +417,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
414
417
|
"type": [513],
|
|
415
418
|
"width": [513],
|
|
416
419
|
"reposition": [64]
|
|
417
|
-
}, [[8, "click", "closeCalciteDropdownOnClick"], [0, "
|
|
420
|
+
}, [[8, "click", "closeCalciteDropdownOnClick"], [0, "calciteInternalDropdownCloseRequest", "closeCalciteDropdownOnEvent"], [8, "calciteDropdownOpen", "closeCalciteDropdownOnOpenEvent"], [1, "mouseenter", "mouseEnterHandler"], [1, "mouseleave", "mouseLeaveHandler"], [0, "calciteInternalDropdownItemKeyEvent", "calciteInternalDropdownItemKeyEvent"], [0, "calciteInternalDropdownItemSelect", "handleItemSelect"]]]);
|
|
418
421
|
function defineCustomElement() {
|
|
419
422
|
if (typeof customElements === "undefined") {
|
|
420
423
|
return;
|
|
@@ -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.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
7
7
|
import { f as focusElement } from './dom.js';
|
package/dist/components/forIn.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce.js';
|
|
7
7
|
|
package/dist/components/form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { e as closestElementCrossShadowBoundary } from './dom.js';
|
|
7
7
|
import { h } from '@stencil/core/internal/client';
|
|
@@ -33,6 +33,8 @@ function hasRegisteredFormComponentParent(form, formComponentEl) {
|
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Helper to submit a form.
|
|
36
|
+
*
|
|
37
|
+
* @param component
|
|
36
38
|
*/
|
|
37
39
|
function submitForm(component) {
|
|
38
40
|
var _a;
|
|
@@ -40,6 +42,8 @@ function submitForm(component) {
|
|
|
40
42
|
}
|
|
41
43
|
/**
|
|
42
44
|
* Helper to reset a form.
|
|
45
|
+
*
|
|
46
|
+
* @param component
|
|
43
47
|
*/
|
|
44
48
|
function resetForm(component) {
|
|
45
49
|
var _a;
|
|
@@ -47,6 +51,8 @@ function resetForm(component) {
|
|
|
47
51
|
}
|
|
48
52
|
/**
|
|
49
53
|
* Helper to set up form interactions on connectedCallback.
|
|
54
|
+
*
|
|
55
|
+
* @param component
|
|
50
56
|
*/
|
|
51
57
|
function connectForm(component) {
|
|
52
58
|
const { el, value } = component;
|
|
@@ -73,6 +79,8 @@ function onFormReset() {
|
|
|
73
79
|
}
|
|
74
80
|
/**
|
|
75
81
|
* Helper to tear down form interactions on disconnectedCallback.
|
|
82
|
+
*
|
|
83
|
+
* @param component
|
|
76
84
|
*/
|
|
77
85
|
function disconnectForm(component) {
|
|
78
86
|
const { el, formEl } = component;
|
|
@@ -89,6 +97,9 @@ function disconnectForm(component) {
|
|
|
89
97
|
* Helper for setting the default value on initialization after connectedCallback.
|
|
90
98
|
*
|
|
91
99
|
* Note that this is only needed if the default value cannot be determined on connectedCallback.
|
|
100
|
+
*
|
|
101
|
+
* @param component
|
|
102
|
+
* @param value
|
|
92
103
|
*/
|
|
93
104
|
function afterConnectDefaultValueSet(component, value) {
|
|
94
105
|
component.defaultValue = value;
|
|
@@ -97,6 +108,8 @@ function afterConnectDefaultValueSet(component, value) {
|
|
|
97
108
|
* Helper for maintaining a form-associated's hidden input in sync with the component.
|
|
98
109
|
*
|
|
99
110
|
* Based on Ionic's approach: https://github.com/ionic-team/ionic-framework/blob/e4bf052794af9aac07f887013b9250d2a045eba3/core/src/utils/helpers.ts#L198
|
|
111
|
+
*
|
|
112
|
+
* @param component
|
|
100
113
|
*/
|
|
101
114
|
function syncHiddenFormInput(component) {
|
|
102
115
|
const { el, formEl, name, value } = component;
|
|
@@ -181,6 +194,9 @@ function defaultSyncHiddenFormInput(component, input, value) {
|
|
|
181
194
|
* }
|
|
182
195
|
*
|
|
183
196
|
* Note that the hidden-form-input Sass mixin must be added to the component's style to apply specific styles.
|
|
197
|
+
*
|
|
198
|
+
* @param root0
|
|
199
|
+
* @param root0.component
|
|
184
200
|
*/
|
|
185
201
|
const HiddenFormInputSlot = ({ component }) => {
|
|
186
202
|
syncHiddenFormInput(component);
|