@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,14 +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
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
9
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { t as toAriaBoolean } from './dom-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b9d03d54.js';
|
|
7
|
+
import { g as guid } from './guid-30502e46.js';
|
|
8
|
+
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-ae9c7b51.js';
|
|
9
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-1aee1deb.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-f48d07dd.js';
|
|
11
|
+
import { t as toAriaBoolean } from './dom-c27aa997.js';
|
|
12
12
|
|
|
13
13
|
const checkboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host .toggle:focus .check-svg,:host .toggle:active .check-svg{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);-webkit-transition:var(--calcite-animation-timing);transition:var(--calcite-animation-timing)}.toggle:focus-visible{outline:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
14
14
|
|
|
@@ -29,6 +29,7 @@ const Checkbox = class {
|
|
|
29
29
|
this.disabled = false;
|
|
30
30
|
/**
|
|
31
31
|
* The hovered state of the checkbox.
|
|
32
|
+
*
|
|
32
33
|
* @internal
|
|
33
34
|
*/
|
|
34
35
|
this.hovered = false;
|
|
@@ -36,7 +37,7 @@ const Checkbox = class {
|
|
|
36
37
|
* True if the checkbox is initially indeterminate,
|
|
37
38
|
* which is independent from its checked state
|
|
38
39
|
* https://css-tricks.com/indeterminate-checkboxes/
|
|
39
|
-
|
|
40
|
+
*/
|
|
40
41
|
this.indeterminate = false;
|
|
41
42
|
/**
|
|
42
43
|
* When true, makes the component required for form-submission.
|
|
@@ -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.469
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted } from './dom-
|
|
8
|
-
import { g as guid } from './guid-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-b9d03d54.js';
|
|
7
|
+
import { g as getSlotted } from './dom-c27aa997.js';
|
|
8
|
+
import { g as guid } from './guid-30502e46.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-3eed64fd.js';
|
|
10
|
+
import './observers-851341e8.js';
|
|
11
11
|
|
|
12
12
|
const CSS = {
|
|
13
13
|
title: "title",
|
|
@@ -43,7 +43,9 @@ const Chip = class {
|
|
|
43
43
|
this.color = "grey";
|
|
44
44
|
/** Optionally show a button the user can click to dismiss the chip */
|
|
45
45
|
this.dismissible = false;
|
|
46
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Aria label for the "x" button
|
|
48
|
+
*
|
|
47
49
|
* @default "Close"
|
|
48
50
|
*/
|
|
49
51
|
this.dismissLabel = TEXT.close;
|
|
@@ -1,15 +1,15 @@
|
|
|
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
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { a as getElementDir, f as focusElement, b as getThemeName } from './dom-
|
|
8
|
-
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-
|
|
9
|
-
import { c as clamp } from './math-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { d as debounce, i as isObject } from './debounce-
|
|
12
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-b9d03d54.js';
|
|
7
|
+
import { a as getElementDir, f as focusElement, b as getThemeName } from './dom-c27aa997.js';
|
|
8
|
+
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-1629f315.js';
|
|
9
|
+
import { c as clamp } from './math-7cf06c9e.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-f48d07dd.js';
|
|
11
|
+
import { d as debounce, i as isObject } from './debounce-09d6a561.js';
|
|
12
|
+
import './guid-30502e46.js';
|
|
13
13
|
|
|
14
14
|
/** Error message constants. */
|
|
15
15
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -2324,6 +2324,7 @@ const ColorPicker = class {
|
|
|
2324
2324
|
* The format of the value property.
|
|
2325
2325
|
*
|
|
2326
2326
|
* When "auto", the format will be inferred from `value` when set.
|
|
2327
|
+
*
|
|
2327
2328
|
* @default "auto"
|
|
2328
2329
|
*/
|
|
2329
2330
|
this.format = defaultFormat;
|
|
@@ -2333,80 +2334,117 @@ const ColorPicker = class {
|
|
|
2333
2334
|
this.hideChannels = false;
|
|
2334
2335
|
/** When true, hides the saved colors section */
|
|
2335
2336
|
this.hideSaved = false;
|
|
2336
|
-
/**
|
|
2337
|
+
/**
|
|
2338
|
+
* Label used for the blue channel
|
|
2339
|
+
*
|
|
2337
2340
|
* @default "B"
|
|
2338
2341
|
*/
|
|
2339
2342
|
this.intlB = TEXT.b;
|
|
2340
|
-
/**
|
|
2343
|
+
/**
|
|
2344
|
+
* Label used for the blue channel description
|
|
2345
|
+
*
|
|
2341
2346
|
* @default "Blue"
|
|
2342
2347
|
*/
|
|
2343
2348
|
this.intlBlue = TEXT.blue;
|
|
2344
|
-
/**
|
|
2349
|
+
/**
|
|
2350
|
+
* Label used for the delete color button.
|
|
2351
|
+
*
|
|
2345
2352
|
* @default "Delete color"
|
|
2346
2353
|
*/
|
|
2347
2354
|
this.intlDeleteColor = TEXT.deleteColor;
|
|
2348
|
-
/**
|
|
2355
|
+
/**
|
|
2356
|
+
* Label used for the green channel
|
|
2357
|
+
*
|
|
2349
2358
|
* @default "G"
|
|
2350
2359
|
*/
|
|
2351
2360
|
this.intlG = TEXT.g;
|
|
2352
|
-
/**
|
|
2361
|
+
/**
|
|
2362
|
+
* Label used for the green channel description
|
|
2363
|
+
*
|
|
2353
2364
|
* @default "Green"
|
|
2354
2365
|
*/
|
|
2355
2366
|
this.intlGreen = TEXT.green;
|
|
2356
|
-
/**
|
|
2367
|
+
/**
|
|
2368
|
+
* Label used for the hue channel
|
|
2369
|
+
*
|
|
2357
2370
|
* @default "H"
|
|
2358
2371
|
*/
|
|
2359
2372
|
this.intlH = TEXT.h;
|
|
2360
|
-
/**
|
|
2373
|
+
/**
|
|
2374
|
+
* Label used for the HSV mode
|
|
2375
|
+
*
|
|
2361
2376
|
* @default "HSV"
|
|
2362
2377
|
*/
|
|
2363
2378
|
this.intlHsv = TEXT.hsv;
|
|
2364
|
-
/**
|
|
2379
|
+
/**
|
|
2380
|
+
* Label used for the hex input
|
|
2381
|
+
*
|
|
2365
2382
|
* @default "Hex"
|
|
2366
2383
|
*/
|
|
2367
2384
|
this.intlHex = TEXT.hex;
|
|
2368
|
-
/**
|
|
2385
|
+
/**
|
|
2386
|
+
* Label used for the hue channel description
|
|
2387
|
+
*
|
|
2369
2388
|
* @default "Hue"
|
|
2370
2389
|
*/
|
|
2371
2390
|
this.intlHue = TEXT.hue;
|
|
2372
2391
|
/**
|
|
2373
2392
|
* Label used for the hex input when there is no color selected.
|
|
2393
|
+
*
|
|
2374
2394
|
* @default "No color"
|
|
2375
2395
|
*/
|
|
2376
2396
|
this.intlNoColor = TEXT.noColor;
|
|
2377
|
-
/**
|
|
2397
|
+
/**
|
|
2398
|
+
* Label used for the red channel
|
|
2399
|
+
*
|
|
2378
2400
|
* @default "R"
|
|
2379
2401
|
*/
|
|
2380
2402
|
this.intlR = TEXT.r;
|
|
2381
|
-
/**
|
|
2403
|
+
/**
|
|
2404
|
+
* Label used for the red channel description
|
|
2405
|
+
*
|
|
2382
2406
|
* @default "Red"
|
|
2383
2407
|
*/
|
|
2384
2408
|
this.intlRed = TEXT.red;
|
|
2385
|
-
/**
|
|
2409
|
+
/**
|
|
2410
|
+
* Label used for the RGB mode
|
|
2411
|
+
*
|
|
2386
2412
|
* @default "RGB"
|
|
2387
2413
|
*/
|
|
2388
2414
|
this.intlRgb = TEXT.rgb;
|
|
2389
|
-
/**
|
|
2415
|
+
/**
|
|
2416
|
+
* Label used for the saturation channel
|
|
2417
|
+
*
|
|
2390
2418
|
* @default "S"
|
|
2391
2419
|
*/
|
|
2392
2420
|
this.intlS = TEXT.s;
|
|
2393
|
-
/**
|
|
2421
|
+
/**
|
|
2422
|
+
* Label used for the saturation channel description
|
|
2423
|
+
*
|
|
2394
2424
|
* @default "Saturation"
|
|
2395
2425
|
*/
|
|
2396
2426
|
this.intlSaturation = TEXT.saturation;
|
|
2397
|
-
/**
|
|
2427
|
+
/**
|
|
2428
|
+
* Label used for the save color button.
|
|
2429
|
+
*
|
|
2398
2430
|
* @default "Save color"
|
|
2399
2431
|
*/
|
|
2400
2432
|
this.intlSaveColor = TEXT.saveColor;
|
|
2401
|
-
/**
|
|
2433
|
+
/**
|
|
2434
|
+
* Label used for the saved colors section
|
|
2435
|
+
*
|
|
2402
2436
|
* @default "Saved"
|
|
2403
2437
|
*/
|
|
2404
2438
|
this.intlSaved = TEXT.saved;
|
|
2405
|
-
/**
|
|
2439
|
+
/**
|
|
2440
|
+
* Label used for the value channel
|
|
2441
|
+
*
|
|
2406
2442
|
* @default "V"
|
|
2407
2443
|
*/
|
|
2408
2444
|
this.intlV = TEXT.v;
|
|
2409
|
-
/**
|
|
2445
|
+
/**
|
|
2446
|
+
* Label used for the
|
|
2447
|
+
*
|
|
2410
2448
|
* @default "Value"
|
|
2411
2449
|
*/
|
|
2412
2450
|
this.intlValue = TEXT.value;
|
|
@@ -2421,6 +2459,7 @@ const ColorPicker = class {
|
|
|
2421
2459
|
* a RGB, HSL or HSV object.
|
|
2422
2460
|
*
|
|
2423
2461
|
* The type will be preserved as the color is updated.
|
|
2462
|
+
*
|
|
2424
2463
|
* @default "#007ac2"
|
|
2425
2464
|
* @see [ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/color-picker/interfaces.ts#L10)
|
|
2426
2465
|
*/
|
|
@@ -3089,11 +3128,13 @@ const ColorPickerHexInput = class {
|
|
|
3089
3128
|
this.allowEmpty = false;
|
|
3090
3129
|
/**
|
|
3091
3130
|
* Label used for the hex input.
|
|
3131
|
+
*
|
|
3092
3132
|
* @default "Hex"
|
|
3093
3133
|
*/
|
|
3094
3134
|
this.intlHex = TEXT.hex;
|
|
3095
3135
|
/**
|
|
3096
3136
|
* Label used for the hex input when there is no color selected.
|
|
3137
|
+
*
|
|
3097
3138
|
* @default "No color"
|
|
3098
3139
|
*/
|
|
3099
3140
|
this.intlNoColor = TEXT.noColor;
|
|
@@ -3105,7 +3146,7 @@ const ColorPickerHexInput = class {
|
|
|
3105
3146
|
* The hex value.
|
|
3106
3147
|
*/
|
|
3107
3148
|
this.value = normalizeHex(DEFAULT_COLOR.hex());
|
|
3108
|
-
this.
|
|
3149
|
+
this.onCalciteInternalInputBlur = () => {
|
|
3109
3150
|
const node = this.inputNode;
|
|
3110
3151
|
const inputValue = node.value;
|
|
3111
3152
|
const hex = `#${inputValue}`;
|
|
@@ -3190,7 +3231,7 @@ const ColorPickerHexInput = class {
|
|
|
3190
3231
|
render() {
|
|
3191
3232
|
const { intlHex, value } = this;
|
|
3192
3233
|
const hexInputValue = this.formatForInternalInput(value);
|
|
3193
|
-
return (h("div", { class: CSS$1.container }, h("calcite-input", { class: CSS$1.input, label: intlHex, maxLength: 6,
|
|
3234
|
+
return (h("div", { class: CSS$1.container }, h("calcite-input", { class: CSS$1.input, label: intlHex, maxLength: 6, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS$1.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
3194
3235
|
}
|
|
3195
3236
|
//--------------------------------------------------------------------------
|
|
3196
3237
|
//
|
|
@@ -1,19 +1,19 @@
|
|
|
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
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { a as isSymbol, S as Symbol, d as debounce } from './debounce-
|
|
8
|
-
import { i as isArray, f as forIn } from './forIn-
|
|
9
|
-
import { f as filterComputedPlacements, u as updatePopper, c as createPopper, d as defaultMenuPlacement, p as popperMenuComputedPlacements, C as CSS$2 } from './popper-
|
|
10
|
-
import { g as guid } from './guid-
|
|
11
|
-
import { n as nodeListToArray, t as toAriaBoolean, d as getElementProp, g as getSlotted } from './dom-
|
|
12
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
13
|
-
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
14
|
-
import { c as createObserver } from './observers-
|
|
15
|
-
import { u as updateHostInteraction } from './interactive-
|
|
16
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b9d03d54.js';
|
|
7
|
+
import { a as isSymbol, S as Symbol, d as debounce } from './debounce-09d6a561.js';
|
|
8
|
+
import { i as isArray, f as forIn } from './forIn-f1632963.js';
|
|
9
|
+
import { f as filterComputedPlacements, u as updatePopper, c as createPopper, d as defaultMenuPlacement, p as popperMenuComputedPlacements, C as CSS$2 } from './popper-b376ab28.js';
|
|
10
|
+
import { g as guid } from './guid-30502e46.js';
|
|
11
|
+
import { n as nodeListToArray, t as toAriaBoolean, d as getElementProp, g as getSlotted } from './dom-c27aa997.js';
|
|
12
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-1aee1deb.js';
|
|
13
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-ae9c7b51.js';
|
|
14
|
+
import { c as createObserver } from './observers-851341e8.js';
|
|
15
|
+
import { u as updateHostInteraction } from './interactive-f48d07dd.js';
|
|
16
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-3eed64fd.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -219,7 +219,8 @@ const Combobox = class {
|
|
|
219
219
|
* @internal
|
|
220
220
|
*/
|
|
221
221
|
this.required = false;
|
|
222
|
-
/**
|
|
222
|
+
/**
|
|
223
|
+
* specify the selection mode
|
|
223
224
|
* - multi: allow any number of selected items (default)
|
|
224
225
|
* - single: only one selection)
|
|
225
226
|
* - ancestors: like multi, but show ancestors of selected items as selected, only deepest children shown in chips
|
|
@@ -229,7 +230,9 @@ const Combobox = class {
|
|
|
229
230
|
this.scale = "m";
|
|
230
231
|
/** The value(s) of the selectedItem(s) */
|
|
231
232
|
this.value = null;
|
|
232
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* string to override the English "Remove tag" text for when an item is selected.
|
|
235
|
+
*
|
|
233
236
|
* @default "Remove tag"
|
|
234
237
|
*/
|
|
235
238
|
this.intlRemoveTag = TEXT.removeTag;
|
|
@@ -1034,6 +1037,8 @@ const ComboboxItem = class {
|
|
|
1034
1037
|
/**
|
|
1035
1038
|
* Used to toggle the selection state. By default this won't trigger an event.
|
|
1036
1039
|
* The first argument allows the value to be coerced, rather than swapping values.
|
|
1040
|
+
*
|
|
1041
|
+
* @param coerce
|
|
1037
1042
|
*/
|
|
1038
1043
|
async toggleSelected(coerce) {
|
|
1039
1044
|
if (this.disabled) {
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
7
|
-
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-
|
|
8
|
-
import { a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
9
|
-
import { u as updateHostInteraction } from './interactive-
|
|
10
|
-
import { H as Heading } from './Heading-
|
|
11
|
-
import './locale-
|
|
12
|
-
import './number-
|
|
13
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-b9d03d54.js';
|
|
7
|
+
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-dc7edf07.js';
|
|
8
|
+
import { a as getElementDir, C as CSS_UTILITY } from './dom-c27aa997.js';
|
|
9
|
+
import { u as updateHostInteraction } from './interactive-f48d07dd.js';
|
|
10
|
+
import { H as Heading } from './Heading-2828947f.js';
|
|
11
|
+
import './locale-529b8688.js';
|
|
12
|
+
import './number-c581416f.js';
|
|
13
|
+
import './guid-30502e46.js';
|
|
14
14
|
|
|
15
15
|
const datePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-width:216px}:host([scale=m]){max-width:286px}:host([scale=l]){max-width:398px}";
|
|
16
16
|
|
|
@@ -19,15 +19,21 @@ const DatePicker = class {
|
|
|
19
19
|
registerInstance(this, hostRef);
|
|
20
20
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
21
21
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
|
|
22
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Localized string for "previous month" (used for aria label)
|
|
24
|
+
*
|
|
23
25
|
* @default "Previous month"
|
|
24
26
|
*/
|
|
25
27
|
this.intlPrevMonth = TEXT.prevMonth;
|
|
26
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Localized string for "next month" (used for aria label)
|
|
30
|
+
*
|
|
27
31
|
* @default "Next month"
|
|
28
32
|
*/
|
|
29
33
|
this.intlNextMonth = TEXT.nextMonth;
|
|
30
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Localized string for "year" (used for aria label)
|
|
36
|
+
*
|
|
31
37
|
* @default "Year"
|
|
32
38
|
*/
|
|
33
39
|
this.intlYear = TEXT.year;
|
|
@@ -143,6 +149,7 @@ const DatePicker = class {
|
|
|
143
149
|
this.hoverRange = undefined;
|
|
144
150
|
}
|
|
145
151
|
}
|
|
152
|
+
e.stopPropagation();
|
|
146
153
|
};
|
|
147
154
|
this.monthMouseOutChange = () => {
|
|
148
155
|
if (this.hoverRange) {
|
|
@@ -168,6 +175,8 @@ const DatePicker = class {
|
|
|
168
175
|
};
|
|
169
176
|
/**
|
|
170
177
|
* Event handler for when the selected date changes
|
|
178
|
+
*
|
|
179
|
+
* @param e
|
|
171
180
|
*/
|
|
172
181
|
this.monthDateChange = (e) => {
|
|
173
182
|
const date = new Date(e.detail);
|
|
@@ -334,15 +343,24 @@ const DatePicker = class {
|
|
|
334
343
|
}
|
|
335
344
|
/**
|
|
336
345
|
* Render calcite-date-picker-month-header and calcite-date-picker-month
|
|
346
|
+
*
|
|
347
|
+
* @param activeDate
|
|
348
|
+
* @param maxDate
|
|
349
|
+
* @param minDate
|
|
350
|
+
* @param date
|
|
351
|
+
* @param endDate
|
|
337
352
|
*/
|
|
338
353
|
renderCalendar(activeDate, maxDate, minDate, date, endDate) {
|
|
339
354
|
return (this.localeData && [
|
|
340
355
|
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() }),
|
|
341
|
-
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,
|
|
356
|
+
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 })
|
|
342
357
|
]);
|
|
343
358
|
}
|
|
344
359
|
/**
|
|
345
360
|
* Update date instance of start if valid
|
|
361
|
+
*
|
|
362
|
+
* @param startDate
|
|
363
|
+
* @param emit
|
|
346
364
|
*/
|
|
347
365
|
setStartAsDate(startDate, emit) {
|
|
348
366
|
this.startAsDate = startDate;
|
|
@@ -356,6 +374,9 @@ const DatePicker = class {
|
|
|
356
374
|
}
|
|
357
375
|
/**
|
|
358
376
|
* Update date instance of end if valid
|
|
377
|
+
*
|
|
378
|
+
* @param endDate
|
|
379
|
+
* @param emit
|
|
359
380
|
*/
|
|
360
381
|
setEndAsDate(endDate, emit) {
|
|
361
382
|
this.endAsDate = endDate;
|
|
@@ -379,6 +400,10 @@ const DatePicker = class {
|
|
|
379
400
|
}
|
|
380
401
|
/**
|
|
381
402
|
* Get an active date using the value, or current date as default
|
|
403
|
+
*
|
|
404
|
+
* @param value
|
|
405
|
+
* @param min
|
|
406
|
+
* @param max
|
|
382
407
|
*/
|
|
383
408
|
getActiveDate(value, min, max) {
|
|
384
409
|
return dateFromRange(this.activeDate, min, max) || value || dateFromRange(new Date(), min, max);
|
|
@@ -411,7 +436,7 @@ const DatePickerDay = class {
|
|
|
411
436
|
constructor(hostRef) {
|
|
412
437
|
registerInstance(this, hostRef);
|
|
413
438
|
this.calciteDaySelect = createEvent(this, "calciteDaySelect", 7);
|
|
414
|
-
this.
|
|
439
|
+
this.calciteInternalDayHover = createEvent(this, "calciteInternalDayHover", 7);
|
|
415
440
|
/** Date is outside of range and can't be selected */
|
|
416
441
|
this.disabled = false;
|
|
417
442
|
/** Date is in the current month. */
|
|
@@ -446,7 +471,7 @@ const DatePickerDay = class {
|
|
|
446
471
|
};
|
|
447
472
|
}
|
|
448
473
|
mouseoverHandler() {
|
|
449
|
-
this.
|
|
474
|
+
this.calciteInternalDayHover.emit({
|
|
450
475
|
disabled: this.disabled
|
|
451
476
|
});
|
|
452
477
|
}
|
|
@@ -479,9 +504,9 @@ const DatePickerMonth = class {
|
|
|
479
504
|
constructor(hostRef) {
|
|
480
505
|
registerInstance(this, hostRef);
|
|
481
506
|
this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect", 7);
|
|
482
|
-
this.
|
|
507
|
+
this.calciteInternalDatePickerHover = createEvent(this, "calciteInternalDatePickerHover", 7);
|
|
483
508
|
this.calciteDatePickerActiveDateChange = createEvent(this, "calciteDatePickerActiveDateChange", 7);
|
|
484
|
-
this.
|
|
509
|
+
this.calciteInternalDatePickerMouseOut = createEvent(this, "calciteInternalDatePickerMouseOut", 7);
|
|
485
510
|
/** Date currently active.*/
|
|
486
511
|
this.activeDate = new Date();
|
|
487
512
|
//--------------------------------------------------------------------------
|
|
@@ -544,11 +569,12 @@ const DatePickerMonth = class {
|
|
|
544
569
|
this.dayHover = (e) => {
|
|
545
570
|
const target = e.target;
|
|
546
571
|
if (e.detail.disabled) {
|
|
547
|
-
this.
|
|
572
|
+
this.calciteInternalDatePickerMouseOut.emit();
|
|
548
573
|
}
|
|
549
574
|
else {
|
|
550
|
-
this.
|
|
575
|
+
this.calciteInternalDatePickerHover.emit(target.value);
|
|
551
576
|
}
|
|
577
|
+
e.stopPropagation();
|
|
552
578
|
};
|
|
553
579
|
this.daySelect = (e) => {
|
|
554
580
|
const target = e.target;
|
|
@@ -556,7 +582,7 @@ const DatePickerMonth = class {
|
|
|
556
582
|
};
|
|
557
583
|
}
|
|
558
584
|
mouseoutHandler() {
|
|
559
|
-
this.
|
|
585
|
+
this.calciteInternalDatePickerMouseOut.emit();
|
|
560
586
|
}
|
|
561
587
|
//--------------------------------------------------------------------------
|
|
562
588
|
//
|
|
@@ -601,6 +627,8 @@ const DatePickerMonth = class {
|
|
|
601
627
|
//--------------------------------------------------------------------------
|
|
602
628
|
/**
|
|
603
629
|
* Add n months to the current month
|
|
630
|
+
*
|
|
631
|
+
* @param step
|
|
604
632
|
*/
|
|
605
633
|
addMonths(step) {
|
|
606
634
|
const nextDate = new Date(this.activeDate);
|
|
@@ -610,6 +638,8 @@ const DatePickerMonth = class {
|
|
|
610
638
|
}
|
|
611
639
|
/**
|
|
612
640
|
* Add n days to the current date
|
|
641
|
+
*
|
|
642
|
+
* @param step
|
|
613
643
|
*/
|
|
614
644
|
addDays(step = 0) {
|
|
615
645
|
const nextDate = new Date(this.activeDate);
|
|
@@ -619,6 +649,10 @@ const DatePickerMonth = class {
|
|
|
619
649
|
}
|
|
620
650
|
/**
|
|
621
651
|
* Get dates for last days of the previous month
|
|
652
|
+
*
|
|
653
|
+
* @param month
|
|
654
|
+
* @param year
|
|
655
|
+
* @param startOfWeek
|
|
622
656
|
*/
|
|
623
657
|
getPrevMonthdays(month, year, startOfWeek) {
|
|
624
658
|
const lastDate = new Date(year, month, 0);
|
|
@@ -635,6 +669,9 @@ const DatePickerMonth = class {
|
|
|
635
669
|
}
|
|
636
670
|
/**
|
|
637
671
|
* Get dates for the current month
|
|
672
|
+
*
|
|
673
|
+
* @param month
|
|
674
|
+
* @param year
|
|
638
675
|
*/
|
|
639
676
|
getCurrentMonthDays(month, year) {
|
|
640
677
|
const num = new Date(year, month + 1, 0).getDate();
|
|
@@ -646,6 +683,10 @@ const DatePickerMonth = class {
|
|
|
646
683
|
}
|
|
647
684
|
/**
|
|
648
685
|
* Get dates for first days of the next month
|
|
686
|
+
*
|
|
687
|
+
* @param month
|
|
688
|
+
* @param year
|
|
689
|
+
* @param startOfWeek
|
|
649
690
|
*/
|
|
650
691
|
getNextMonthDays(month, year, startOfWeek) {
|
|
651
692
|
const endDay = new Date(year, month + 1, 0).getDay();
|
|
@@ -660,6 +701,8 @@ const DatePickerMonth = class {
|
|
|
660
701
|
}
|
|
661
702
|
/**
|
|
662
703
|
* Determine if the date is in between the start and end dates
|
|
704
|
+
*
|
|
705
|
+
* @param date
|
|
663
706
|
*/
|
|
664
707
|
betweenSelectedRange(date) {
|
|
665
708
|
return !!(this.startDate &&
|
|
@@ -670,6 +713,8 @@ const DatePickerMonth = class {
|
|
|
670
713
|
}
|
|
671
714
|
/**
|
|
672
715
|
* Determine if the date should be in selected state
|
|
716
|
+
*
|
|
717
|
+
* @param date
|
|
673
718
|
*/
|
|
674
719
|
isSelected(date) {
|
|
675
720
|
return !!(sameDate(date, this.selectedDate) ||
|
|
@@ -678,6 +723,8 @@ const DatePickerMonth = class {
|
|
|
678
723
|
}
|
|
679
724
|
/**
|
|
680
725
|
* Determine if the date is the start of the date range
|
|
726
|
+
*
|
|
727
|
+
* @param date
|
|
681
728
|
*/
|
|
682
729
|
isStartOfRange(date) {
|
|
683
730
|
return !!(this.startDate &&
|
|
@@ -694,6 +741,12 @@ const DatePickerMonth = class {
|
|
|
694
741
|
}
|
|
695
742
|
/**
|
|
696
743
|
* Render calcite-date-picker-day
|
|
744
|
+
*
|
|
745
|
+
* @param active
|
|
746
|
+
* @param day
|
|
747
|
+
* @param date
|
|
748
|
+
* @param currentMonth
|
|
749
|
+
* @param ref
|
|
697
750
|
*/
|
|
698
751
|
renderDateDay(active, day, date, currentMonth, ref) {
|
|
699
752
|
var _a;
|
|
@@ -705,7 +758,7 @@ const DatePickerMonth = class {
|
|
|
705
758
|
"hover--outside-range": this.startDate && !isHoverInRange,
|
|
706
759
|
"focused--start": isFocusedOnStart,
|
|
707
760
|
"focused--end": !isFocusedOnStart
|
|
708
|
-
}, 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,
|
|
761
|
+
}, 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) => {
|
|
709
762
|
// when moving via keyboard, focus must be updated on active date
|
|
710
763
|
if (ref && active && this.activeFocus) {
|
|
711
764
|
el === null || el === void 0 ? void 0 : el.focus();
|
|
@@ -758,6 +811,8 @@ const DatePickerMonthHeader = class {
|
|
|
758
811
|
//--------------------------------------------------------------------------
|
|
759
812
|
/**
|
|
760
813
|
* Increment year on UP/DOWN keys
|
|
814
|
+
*
|
|
815
|
+
* @param e
|
|
761
816
|
*/
|
|
762
817
|
this.onYearKey = (e) => {
|
|
763
818
|
const localizedYear = e.target.value;
|
|
@@ -857,6 +912,11 @@ const DatePickerMonthHeader = class {
|
|
|
857
912
|
/**
|
|
858
913
|
* Parse localized year string from input,
|
|
859
914
|
* set to active if in range
|
|
915
|
+
*
|
|
916
|
+
* @param root0
|
|
917
|
+
* @param root0.localizedYear
|
|
918
|
+
* @param root0.commit
|
|
919
|
+
* @param root0.offset
|
|
860
920
|
*/
|
|
861
921
|
setYear({ localizedYear, commit = true, offset = 0 }) {
|
|
862
922
|
const { yearInput, activeDate, localeData } = this;
|