@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
package/dist/components/scrim.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
7
7
|
import { d as defineCustomElement$1 } from './loader.js';
|
|
@@ -26,7 +26,9 @@ const Scrim = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
26
26
|
// Properties
|
|
27
27
|
//
|
|
28
28
|
// --------------------------------------------------------------------------
|
|
29
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* string to override English loading text
|
|
31
|
+
*
|
|
30
32
|
* @default "Loading"
|
|
31
33
|
*/
|
|
32
34
|
this.intlLoading = TEXT.loading;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { f as focusElement, b as getSlotted, t as toAriaBoolean } from './dom.js';
|
|
7
7
|
import { g as getRoundRobinIndex } from './array.js';
|
|
@@ -66,8 +66,7 @@ function calciteListItemChangeHandler(event) {
|
|
|
66
66
|
this.lastSelectedItem = item;
|
|
67
67
|
this.emitCalciteListChange();
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
event.stopPropagation();
|
|
69
|
+
function calciteInternalListItemValueChangeHandler(event) {
|
|
71
70
|
const oldValue = event.detail.oldValue;
|
|
72
71
|
const selectedValues = this.selectedValues;
|
|
73
72
|
if (selectedValues.has(oldValue)) {
|
|
@@ -75,6 +74,7 @@ function calciteListItemValueChangeHandler(event) {
|
|
|
75
74
|
selectedValues.delete(oldValue);
|
|
76
75
|
selectedValues.set(event.detail.newValue, item);
|
|
77
76
|
}
|
|
77
|
+
event.stopPropagation();
|
|
78
78
|
}
|
|
79
79
|
// --------------------------------------------------------------------------
|
|
80
80
|
//
|
|
@@ -320,4 +320,4 @@ const List = (_a) => {
|
|
|
320
320
|
defaultSlot)));
|
|
321
321
|
};
|
|
322
322
|
|
|
323
|
-
export { List as L, deselectSiblingItems as a, initializeObserver as b, cleanUpObserver as c, deselectRemovedItems as d, calciteListItemChangeHandler as e,
|
|
323
|
+
export { List as L, deselectSiblingItems as a, initializeObserver as b, cleanUpObserver as c, deselectRemovedItems as d, calciteListItemChangeHandler as e, calciteInternalListItemValueChangeHandler as f, getItemData as g, handleFilter as h, initialize as i, calciteListFocusOutHandler as j, keyDownHandler as k, setUpItems as l, mutationObserverCallback as m, setFocus as n, moveItemIndex as o, removeItem as r, selectSiblings as s };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { f as focusElement, t as toAriaBoolean } from './dom.js';
|
|
@@ -26,7 +26,9 @@ const Switch = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
26
26
|
this.disabled = false;
|
|
27
27
|
/** The scale of the switch */
|
|
28
28
|
this.scale = "m";
|
|
29
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* True if the switch is initially on
|
|
31
|
+
*
|
|
30
32
|
* @deprecated use 'checked' instead.
|
|
31
33
|
*/
|
|
32
34
|
this.switched = false;
|
|
@@ -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
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { a as getElementDir, h as filterDirectChildren } from './dom.js';
|
|
8
8
|
import { c as createObserver } from './observers.js';
|
|
9
9
|
|
|
10
|
-
const tabNavCss = "@-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:-ms-flexbox;display:flex}:host([scale=s]){min-height:1.5rem}:host([scale=m]){min-height:2rem}:host([scale=l]){min-height:2.75rem}.tab-nav{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}:host([layout=center]) .tab-nav{-ms-flex-pack:center;justify-content:center}.tab-nav-active-indicator-container{position:absolute;left:0px;right:0px;bottom:0px;height:0.125rem;width:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;bottom:0px;display:block;height:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([position=below]) .tab-nav-active-indicator{bottom:unset;top:0px}:host([position=below]) .tab-nav-active-indicator-container{bottom:unset;top:0px}:host([bordered]) .tab-nav-active-indicator-container{bottom:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{bottom:0;top:unset}";
|
|
10
|
+
const tabNavCss = "@-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:-ms-flexbox;display:flex}:host([scale=s]){min-height:1.5rem}:host([scale=m]){min-height:2rem}:host([scale=l]){min-height:2.75rem}.tab-nav{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}:host([layout=center]) .tab-nav{-ms-flex-pack:center;justify-content:center}.tab-nav-active-indicator-container{position:absolute;left:0px;right:0px;bottom:0px;height:0.125rem;width:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;bottom:0px;display:block;height:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([position=below]) .tab-nav-active-indicator{bottom:unset;top:0px}:host([position=below]) .tab-nav-active-indicator-container{bottom:unset;top:0px}:host([bordered]) .tab-nav-active-indicator-container{bottom:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{bottom:0;top:unset}@media (forced-colors: active){.tab-nav-active-indicator{background-color:highlight}}";
|
|
11
11
|
|
|
12
12
|
const TabNav = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
13
13
|
constructor() {
|
|
@@ -16,13 +16,21 @@ const TabNav = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
this.calciteTabChange = createEvent(this, "calciteTabChange", 7);
|
|
18
18
|
this.calciteInternalTabChange = createEvent(this, "calciteInternalTabChange", 7);
|
|
19
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
20
22
|
this.scale = "m";
|
|
21
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
22
26
|
this.layout = "inline";
|
|
23
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
24
30
|
this.position = "below";
|
|
25
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
26
34
|
this.bordered = false;
|
|
27
35
|
this.animationActiveDuration = 0.3;
|
|
28
36
|
this.resizeObserver = createObserver("resize", () => {
|
|
@@ -147,6 +155,8 @@ const TabNav = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
147
155
|
}
|
|
148
156
|
/**
|
|
149
157
|
* Check for active tabs on register and update selected
|
|
158
|
+
*
|
|
159
|
+
* @param e
|
|
150
160
|
*/
|
|
151
161
|
updateTabTitles(e) {
|
|
152
162
|
if (e.target.active) {
|
|
@@ -161,6 +171,7 @@ const TabNav = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
161
171
|
this.selectedTab = e.detail.tab;
|
|
162
172
|
e.stopPropagation();
|
|
163
173
|
}
|
|
174
|
+
e.stopPropagation();
|
|
164
175
|
}
|
|
165
176
|
updateOffsetPosition() {
|
|
166
177
|
var _a, _b, _c, _d, _e;
|
|
@@ -209,7 +220,7 @@ const TabNav = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
209
220
|
"indicatorWidth": [1026, "indicator-width"],
|
|
210
221
|
"selectedTab": [32],
|
|
211
222
|
"selectedTabEl": [32]
|
|
212
|
-
}, [[0, "
|
|
223
|
+
}, [[0, "calciteInternalTabsFocusPrevious", "focusPreviousTabHandler"], [0, "calciteInternalTabsFocusNext", "focusNextTabHandler"], [0, "calciteInternalTabsActivate", "internalActivateTabHandler"], [0, "calciteTabsActivate", "activateTabHandler"], [0, "calciteInternalTabTitleRegister", "updateTabTitles"], [16, "calciteInternalTabChange", "globalInternalTabChangeHandler"]]]);
|
|
213
224
|
function defineCustomElement() {
|
|
214
225
|
if (typeof customElements === "undefined") {
|
|
215
226
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, Build, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -10,7 +10,7 @@ import { c as createObserver } from './observers.js';
|
|
|
10
10
|
import { u as updateHostInteraction } from './interactive.js';
|
|
11
11
|
import { d as defineCustomElement$1 } from './icon.js';
|
|
12
12
|
|
|
13
|
-
const tabTitleCss = "@-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{margin-right:1.25rem;display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}:host([layout=center]){margin-top:0px;margin-bottom:0px;margin-left:1.25rem;margin-right:1.25rem;text-align:center;-ms-flex-preferred-size:12rem;flex-basis:12rem}:host([position=below]) a{border-bottom-width:0px;border-top-width:2px;border-top-color:transparent;border-top-style:solid}:host a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) a{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([active]) a{border-color:transparent;color:var(--calcite-ui-text-1)}: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]) span,:host([disabled]) a{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){-webkit-margin-end:1rem;margin-inline-end:1rem}:host([scale=s]) a,:host([scale=s]) span{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) a,:host([scale=m]) span{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}:host([scale=l]) a,:host([scale=l]) span{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}a,span{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:2px;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-bottom-color:transparent;border-bottom-style:solid}span{cursor:default}.calcite-tab-title--icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:center;align-self:center}.calcite-tab-title--icon svg{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.container--has-text{padding:0.25rem}.container--has-text .calcite-tab-title--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.container--has-text .calcite-tab-title--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([bordered]){-webkit-margin-end:0;margin-inline-end:0}:host([bordered][active]){-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][active][position=below]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) a,:host([bordered]:focus) a,:host([bordered]:active) a{position:relative}:host([bordered]:hover) a{background-color:var(--calcite-button-transparent-hover);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([bordered]) a{border-bottom-style:unset}:host([bordered][position=below]) a{border-top-style:unset}:host([active][bordered]) a{border-left:1px solid var(--calcite-ui-border-1);border-right:1px solid var(--calcite-ui-border-1)}:host([bordered]) a,:host([bordered]) span{padding-left:0.75rem;padding-right:0.75rem}:host([bordered][scale=s]) a,:host([bordered][scale=s]) span{padding-left:0.5rem;padding-right:0.5rem}:host([bordered][scale=l]) a,:host([bordered][scale=l]) span{padding-left:1rem;padding-right:1rem}";
|
|
13
|
+
const tabTitleCss = "@-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{margin-right:1.25rem;display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}:host([layout=center]){margin-top:0px;margin-bottom:0px;margin-left:1.25rem;margin-right:1.25rem;text-align:center;-ms-flex-preferred-size:12rem;flex-basis:12rem}:host([position=below]) a{border-bottom-width:0px;border-top-width:2px;border-top-color:transparent;border-top-style:solid}:host a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) a{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([active]) a{border-color:transparent;color:var(--calcite-ui-text-1)}: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]) span,:host([disabled]) a{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){-webkit-margin-end:1rem;margin-inline-end:1rem}:host([scale=s]) a,:host([scale=s]) span{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) a,:host([scale=m]) span{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}:host([scale=l]) a,:host([scale=l]) span{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}a,span{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:2px;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-bottom-color:transparent;border-bottom-style:solid}span{cursor:default}.calcite-tab-title--icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:center;align-self:center}.calcite-tab-title--icon svg{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.container--has-text{padding:0.25rem}.container--has-text .calcite-tab-title--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.container--has-text .calcite-tab-title--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([bordered]){-webkit-margin-end:0;margin-inline-end:0}:host([bordered][active]){-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][active][position=below]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) a,:host([bordered]:focus) a,:host([bordered]:active) a{position:relative}:host([bordered]:hover) a{background-color:var(--calcite-button-transparent-hover);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([bordered]) a{border-bottom-style:unset}:host([bordered][position=below]) a{border-top-style:unset}:host([active][bordered]) a{border-left:1px solid var(--calcite-ui-border-1);border-right:1px solid var(--calcite-ui-border-1)}:host([bordered]) a,:host([bordered]) span{padding-left:0.75rem;padding-right:0.75rem}:host([bordered][scale=s]) a,:host([bordered][scale=s]) span{padding-left:0.5rem;padding-right:0.5rem}:host([bordered][scale=l]) a,:host([bordered][scale=l]) span{padding-left:1rem;padding-right:1rem}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) a{outline-color:highlight}:host([bordered]) a{border-bottom-style:solid}:host([bordered][position=below]) a{border-top-style:solid}:host([bordered][active]) a{border-bottom-style:none}:host([bordered][position=below][active]) a{border-top-style:none}}";
|
|
14
14
|
|
|
15
15
|
const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
16
16
|
constructor() {
|
|
@@ -19,9 +19,9 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
19
19
|
this.__attachShadow();
|
|
20
20
|
this.calciteTabsActivate = createEvent(this, "calciteTabsActivate", 7);
|
|
21
21
|
this.calciteInternalTabsActivate = createEvent(this, "calciteInternalTabsActivate", 7);
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
22
|
+
this.calciteInternalTabsFocusNext = createEvent(this, "calciteInternalTabsFocusNext", 7);
|
|
23
|
+
this.calciteInternalTabsFocusPrevious = createEvent(this, "calciteInternalTabsFocusPrevious", 7);
|
|
24
|
+
this.calciteInternalTabTitleRegister = createEvent(this, "calciteInternalTabTitleRegister", 7);
|
|
25
25
|
//--------------------------------------------------------------------------
|
|
26
26
|
//
|
|
27
27
|
// Properties
|
|
@@ -31,14 +31,16 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
31
31
|
this.active = false;
|
|
32
32
|
/** Disable this tab title */
|
|
33
33
|
this.disabled = false;
|
|
34
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
35
37
|
this.bordered = false;
|
|
36
38
|
//--------------------------------------------------------------------------
|
|
37
39
|
//
|
|
38
40
|
// Private State/Props
|
|
39
41
|
//
|
|
40
42
|
//--------------------------------------------------------------------------
|
|
41
|
-
/** watches for changing text content
|
|
43
|
+
/** watches for changing text content */
|
|
42
44
|
this.mutationObserver = createObserver("mutation", () => this.updateHasText());
|
|
43
45
|
/** determine if there is slotted text for styling purposes */
|
|
44
46
|
this.hasText = false;
|
|
@@ -99,7 +101,7 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
99
101
|
}, style: showSideBorders && { width: `${this.parentTabNavEl.indicatorWidth}px` } }, this.iconStart ? iconStartEl : null, h("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
100
102
|
}
|
|
101
103
|
async componentDidLoad() {
|
|
102
|
-
this.
|
|
104
|
+
this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier());
|
|
103
105
|
}
|
|
104
106
|
componentDidRender() {
|
|
105
107
|
updateHostInteraction(this, true);
|
|
@@ -138,18 +140,18 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
138
140
|
break;
|
|
139
141
|
case "ArrowRight":
|
|
140
142
|
if (getElementDir(this.el) === "ltr") {
|
|
141
|
-
this.
|
|
143
|
+
this.calciteInternalTabsFocusNext.emit();
|
|
142
144
|
}
|
|
143
145
|
else {
|
|
144
|
-
this.
|
|
146
|
+
this.calciteInternalTabsFocusPrevious.emit();
|
|
145
147
|
}
|
|
146
148
|
break;
|
|
147
149
|
case "ArrowLeft":
|
|
148
150
|
if (getElementDir(this.el) === "ltr") {
|
|
149
|
-
this.
|
|
151
|
+
this.calciteInternalTabsFocusPrevious.emit();
|
|
150
152
|
}
|
|
151
153
|
else {
|
|
152
|
-
this.
|
|
154
|
+
this.calciteInternalTabsFocusNext.emit();
|
|
153
155
|
}
|
|
154
156
|
break;
|
|
155
157
|
}
|
|
@@ -172,6 +174,8 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
172
174
|
return this.tab ? this.tab : this.getTabIndex();
|
|
173
175
|
}
|
|
174
176
|
/**
|
|
177
|
+
* @param tabIds
|
|
178
|
+
* @param titleIds
|
|
175
179
|
* @internal
|
|
176
180
|
*/
|
|
177
181
|
async updateAriaInfo(tabIds = [], titleIds = []) {
|
package/dist/components/tab.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -14,12 +14,14 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
14
14
|
super();
|
|
15
15
|
this.__registerHost();
|
|
16
16
|
this.__attachShadow();
|
|
17
|
-
this.
|
|
17
|
+
this.calciteInternalTabRegister = createEvent(this, "calciteInternalTabRegister", 7);
|
|
18
18
|
/**
|
|
19
19
|
* Show this tab
|
|
20
20
|
*/
|
|
21
21
|
this.active = false;
|
|
22
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
23
25
|
this.scale = "m";
|
|
24
26
|
this.guid = `calcite-tab-title-${guid()}`;
|
|
25
27
|
}
|
|
@@ -36,7 +38,7 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
36
38
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
37
39
|
}
|
|
38
40
|
componentDidLoad() {
|
|
39
|
-
this.
|
|
41
|
+
this.calciteInternalTabRegister.emit();
|
|
40
42
|
}
|
|
41
43
|
componentWillRender() {
|
|
42
44
|
var _a;
|
|
@@ -72,6 +74,7 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
72
74
|
this.active = index === event.detail.tab;
|
|
73
75
|
});
|
|
74
76
|
}
|
|
77
|
+
event.stopPropagation();
|
|
75
78
|
}
|
|
76
79
|
//--------------------------------------------------------------------------
|
|
77
80
|
//
|
|
@@ -90,6 +93,8 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
90
93
|
//
|
|
91
94
|
//--------------------------------------------------------------------------
|
|
92
95
|
/**
|
|
96
|
+
* @param tabIds
|
|
97
|
+
* @param titleIds
|
|
93
98
|
* @internal
|
|
94
99
|
*/
|
|
95
100
|
async updateAriaInfo(tabIds = [], titleIds = []) {
|
package/dist/components/tabs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ const SLOTS = {
|
|
|
9
9
|
tabNav: "tab-nav"
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
const tabsCss = "@-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{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){margin-bottom:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){margin-top:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:hidden;border-top-width:1px;border-top-color:var(--calcite-ui-border-1);border-top-style:solid}:host([position=below]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-top-width:0px;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-1)}:host([position=below]:not([bordered])) section{border-bottom-style:solid}";
|
|
12
|
+
const tabsCss = "@-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{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){margin-bottom:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){margin-top:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:hidden;border-top-width:1px;border-top-color:var(--calcite-ui-border-1);border-top-style:solid}:host([position=below]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-top-width:0px;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-1)}:host([position=below]:not([bordered])) section{border-bottom-style:solid}@media (forced-colors: active){:host([bordered]) section{border-top-width:0px;border-bottom-width:1px}:host([position=below][bordered]) section{border-top-width:1px;border-bottom-width:0px}}";
|
|
13
13
|
|
|
14
14
|
const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
15
15
|
constructor() {
|
|
@@ -78,14 +78,16 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
78
78
|
//
|
|
79
79
|
//--------------------------------------------------------------------------
|
|
80
80
|
/**
|
|
81
|
+
* @param e
|
|
81
82
|
* @internal
|
|
82
83
|
*/
|
|
83
|
-
|
|
84
|
+
calciteInternalTabTitleRegister(e) {
|
|
84
85
|
this.titles = [...this.titles, e.target];
|
|
85
86
|
this.registryHandler();
|
|
86
87
|
e.stopPropagation();
|
|
87
88
|
}
|
|
88
89
|
/**
|
|
90
|
+
* @param e
|
|
89
91
|
* @internal
|
|
90
92
|
*/
|
|
91
93
|
calciteTabTitleUnregister(e) {
|
|
@@ -94,14 +96,16 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
94
96
|
e.stopPropagation();
|
|
95
97
|
}
|
|
96
98
|
/**
|
|
99
|
+
* @param e
|
|
97
100
|
* @internal
|
|
98
101
|
*/
|
|
99
|
-
|
|
102
|
+
calciteInternalTabRegister(e) {
|
|
100
103
|
this.tabs = [...this.tabs, e.target];
|
|
101
104
|
this.registryHandler();
|
|
102
105
|
e.stopPropagation();
|
|
103
106
|
}
|
|
104
107
|
/**
|
|
108
|
+
* @param e
|
|
105
109
|
* @internal
|
|
106
110
|
*/
|
|
107
111
|
calciteTabUnregister(e) {
|
|
@@ -164,7 +168,7 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
164
168
|
"bordered": [1540],
|
|
165
169
|
"titles": [32],
|
|
166
170
|
"tabs": [32]
|
|
167
|
-
}, [[0, "
|
|
171
|
+
}, [[0, "calciteInternalTabTitleRegister", "calciteInternalTabTitleRegister"], [16, "calciteTabTitleUnregister", "calciteTabTitleUnregister"], [0, "calciteInternalTabRegister", "calciteInternalTabRegister"], [16, "calciteTabUnregister", "calciteTabUnregister"]]]);
|
|
168
172
|
function defineCustomElement() {
|
|
169
173
|
if (typeof customElements === "undefined") {
|
|
170
174
|
return;
|
package/dist/components/tile.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
|
|
7
7
|
import { b as getSlotted } from './dom.js';
|
|
@@ -37,6 +37,7 @@ const Tile = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
37
37
|
this.embed = false;
|
|
38
38
|
/**
|
|
39
39
|
* The focused state of the tile.
|
|
40
|
+
*
|
|
40
41
|
* @internal
|
|
41
42
|
*/
|
|
42
43
|
this.focused = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
7
7
|
import { i as isValidNumber, n as numberKeys, c as isActivationKey } from './number.js';
|
|
@@ -237,64 +237,89 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
237
237
|
super();
|
|
238
238
|
this.__registerHost();
|
|
239
239
|
this.__attachShadow();
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
240
|
+
this.calciteInternalTimePickerBlur = createEvent(this, "calciteInternalTimePickerBlur", 7);
|
|
241
|
+
this.calciteInternalTimePickerChange = createEvent(this, "calciteInternalTimePickerChange", 7);
|
|
242
|
+
this.calciteInternalTimePickerFocus = createEvent(this, "calciteInternalTimePickerFocus", 7);
|
|
243
243
|
//--------------------------------------------------------------------------
|
|
244
244
|
//
|
|
245
245
|
// Properties
|
|
246
246
|
//
|
|
247
247
|
//--------------------------------------------------------------------------
|
|
248
|
-
/**
|
|
248
|
+
/**
|
|
249
|
+
* aria-label for the hour input
|
|
250
|
+
*
|
|
249
251
|
* @default "Hour"
|
|
250
252
|
*/
|
|
251
253
|
this.intlHour = TEXT.hour;
|
|
252
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* aria-label for the hour down button
|
|
256
|
+
*
|
|
253
257
|
* @default "Decrease hour"
|
|
254
258
|
*/
|
|
255
259
|
this.intlHourDown = TEXT.hourDown;
|
|
256
|
-
/**
|
|
260
|
+
/**
|
|
261
|
+
* aria-label for the hour up button
|
|
262
|
+
*
|
|
257
263
|
* @default "Increase hour"
|
|
258
264
|
*/
|
|
259
265
|
this.intlHourUp = TEXT.hourUp;
|
|
260
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* aria-label for the meridiem (am/pm) input
|
|
268
|
+
*
|
|
261
269
|
* @default "AM/PM"
|
|
262
270
|
*/
|
|
263
271
|
this.intlMeridiem = TEXT.meridiem;
|
|
264
|
-
/**
|
|
272
|
+
/**
|
|
273
|
+
* aria-label for the meridiem (am/pm) down button
|
|
274
|
+
*
|
|
265
275
|
* @default "Decrease AM/PM"
|
|
266
276
|
*/
|
|
267
277
|
this.intlMeridiemDown = TEXT.meridiemDown;
|
|
268
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* aria-label for the meridiem (am/pm) up button
|
|
280
|
+
*
|
|
269
281
|
* @default "Increase AM/PM"
|
|
270
282
|
*/
|
|
271
283
|
this.intlMeridiemUp = TEXT.meridiemUp;
|
|
272
|
-
/**
|
|
284
|
+
/**
|
|
285
|
+
* aria-label for the minute input
|
|
286
|
+
*
|
|
273
287
|
* @default "Minute"
|
|
274
288
|
*/
|
|
275
289
|
this.intlMinute = TEXT.minute;
|
|
276
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* aria-label for the minute down button
|
|
292
|
+
*
|
|
277
293
|
* @default "Decrease minute"
|
|
278
294
|
*/
|
|
279
295
|
this.intlMinuteDown = TEXT.minuteDown;
|
|
280
|
-
/**
|
|
296
|
+
/**
|
|
297
|
+
* aria-label for the minute up button
|
|
298
|
+
*
|
|
281
299
|
* @default "Increase minute"
|
|
282
300
|
*/
|
|
283
301
|
this.intlMinuteUp = TEXT.minuteUp;
|
|
284
|
-
/**
|
|
302
|
+
/**
|
|
303
|
+
* aria-label for the second input
|
|
304
|
+
*
|
|
285
305
|
* @default "Second"
|
|
286
306
|
*/
|
|
287
307
|
this.intlSecond = TEXT.second;
|
|
288
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* aria-label for the second down button
|
|
310
|
+
*
|
|
289
311
|
* @default "Decrease second"
|
|
290
312
|
*/
|
|
291
313
|
this.intlSecondDown = TEXT.secondDown;
|
|
292
|
-
/**
|
|
314
|
+
/**
|
|
315
|
+
* aria-label for the second up button
|
|
316
|
+
*
|
|
293
317
|
* @default "Increase second"
|
|
294
318
|
*/
|
|
295
319
|
this.intlSecondUp = TEXT.secondUp;
|
|
296
320
|
/**
|
|
297
321
|
* BCP 47 language tag for desired language and country format
|
|
322
|
+
*
|
|
298
323
|
* @internal
|
|
299
324
|
*/
|
|
300
325
|
this.locale = document.documentElement.lang || navigator.language || "en";
|
|
@@ -592,7 +617,7 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
592
617
|
this.value = null;
|
|
593
618
|
}
|
|
594
619
|
if (emit) {
|
|
595
|
-
this.
|
|
620
|
+
this.calciteInternalTimePickerChange.emit();
|
|
596
621
|
}
|
|
597
622
|
};
|
|
598
623
|
this.setValuePart = (key, value, emit = true) => {
|
|
@@ -631,7 +656,7 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
631
656
|
? ((_a = localizeTimeStringToParts(this.value, this.locale)) === null || _a === void 0 ? void 0 : _a.localizedMeridiem) || null
|
|
632
657
|
: localizeTimePart(this.meridiem, "meridiem", this.locale);
|
|
633
658
|
if (emit) {
|
|
634
|
-
this.
|
|
659
|
+
this.calciteInternalTimePickerChange.emit();
|
|
635
660
|
}
|
|
636
661
|
};
|
|
637
662
|
}
|
|
@@ -648,10 +673,10 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
648
673
|
//
|
|
649
674
|
//--------------------------------------------------------------------------
|
|
650
675
|
hostBlurHandler() {
|
|
651
|
-
this.
|
|
676
|
+
this.calciteInternalTimePickerBlur.emit();
|
|
652
677
|
}
|
|
653
678
|
hostFocusHandler() {
|
|
654
|
-
this.
|
|
679
|
+
this.calciteInternalTimePickerFocus.emit();
|
|
655
680
|
}
|
|
656
681
|
keyDownHandler(event) {
|
|
657
682
|
const key = event.key;
|
|
@@ -707,7 +732,11 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
707
732
|
// Public Methods
|
|
708
733
|
//
|
|
709
734
|
//--------------------------------------------------------------------------
|
|
710
|
-
/**
|
|
735
|
+
/**
|
|
736
|
+
* Sets focus on the component.
|
|
737
|
+
*
|
|
738
|
+
* @param target
|
|
739
|
+
*/
|
|
711
740
|
async setFocus(target) {
|
|
712
741
|
var _a;
|
|
713
742
|
(_a = this[`${target || "hour"}El`]) === null || _a === void 0 ? void 0 : _a.focus();
|
package/dist/components/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.469
|
|
5
5
|
*/
|
|
6
6
|
import { n as nodeListToArray } from './dom.js';
|
|
7
7
|
import { Build } from '@stencil/core/internal/client';
|