@esri/calcite-components 1.0.0-next.312 → 1.0.0-next.316
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/{p-2a714a22.entry.js → p-04a2538a.entry.js} +1 -1
- package/dist/calcite/{p-d6e30c54.entry.js → p-051cc8c6.entry.js} +1 -1
- package/dist/calcite/{p-765fb8ed.entry.js → p-058ee7b0.entry.js} +1 -1
- package/dist/calcite/{p-5efd81e1.entry.js → p-0c827dec.entry.js} +1 -1
- package/dist/calcite/{p-59a285d8.system.entry.js → p-0f33798d.system.entry.js} +1 -1
- package/dist/calcite/{p-e70cb594.system.entry.js → p-0f9f1f89.system.entry.js} +1 -1
- package/dist/calcite/{p-1a962bdd.js → p-1161e56f.js} +1 -1
- package/dist/calcite/{p-044d603d.system.entry.js → p-18fbf2af.system.entry.js} +1 -1
- package/dist/calcite/{p-9338b0bc.entry.js → p-198902ca.entry.js} +1 -1
- package/dist/calcite/{p-cc788d2e.entry.js → p-1ad123f9.entry.js} +1 -1
- package/dist/calcite/{p-e33fe285.system.entry.js → p-1eb04aad.system.entry.js} +1 -1
- package/dist/calcite/{p-deb36fde.system.entry.js → p-1f809e6c.system.entry.js} +1 -1
- package/dist/calcite/{p-1c8fe17f.system.entry.js → p-2033f545.system.entry.js} +1 -1
- package/dist/calcite/{p-f1e111f4.system.entry.js → p-20f91a4e.system.entry.js} +1 -1
- package/dist/calcite/{p-7ba971b5.system.entry.js → p-227bc238.system.entry.js} +1 -1
- package/dist/calcite/p-239b44dd.system.entry.js +5 -0
- package/dist/calcite/{p-f9c46578.entry.js → p-23bc2d32.entry.js} +1 -1
- package/dist/calcite/{p-a19e423a.entry.js → p-266ee9db.entry.js} +1 -1
- package/dist/calcite/{p-4f1f83d2.entry.js → p-2c66fb61.entry.js} +1 -1
- package/dist/calcite/{p-63e60894.entry.js → p-343cd887.entry.js} +1 -1
- package/dist/calcite/{p-ecc00ef0.entry.js → p-3d69fba9.entry.js} +1 -1
- package/dist/calcite/p-3ec67fae.entry.js +5 -0
- package/dist/calcite/p-42091a1f.system.entry.js +5 -0
- package/dist/calcite/p-42c7e2f0.system.entry.js +5 -0
- package/dist/calcite/p-43020fb5.js +5 -0
- package/dist/calcite/p-44a07313.system.entry.js +5 -0
- package/dist/calcite/{p-c34c4414.system.js → p-47f55191.system.js} +1 -1
- package/dist/calcite/{p-e52495d3.system.entry.js → p-4a8b3cf3.system.entry.js} +1 -1
- package/dist/calcite/p-4cc182af.system.entry.js +5 -0
- package/dist/calcite/{p-cced5508.system.entry.js → p-4ee2f6cf.system.entry.js} +1 -1
- package/dist/calcite/{p-c87c04a9.entry.js → p-50273eed.entry.js} +1 -1
- package/dist/calcite/p-5035488d.entry.js +5 -0
- package/dist/calcite/p-52578054.js +5 -0
- package/dist/calcite/{p-34038a94.system.entry.js → p-538e542a.system.entry.js} +1 -1
- package/dist/calcite/{p-ef39847e.entry.js → p-55bfe4fc.entry.js} +1 -1
- package/dist/calcite/{p-55a5535b.system.entry.js → p-57e9b7cb.system.entry.js} +1 -1
- package/dist/calcite/{p-e6d05ad6.system.entry.js → p-6c5b849f.system.entry.js} +1 -1
- package/dist/calcite/{p-9577dfd9.entry.js → p-6ca051ef.entry.js} +1 -1
- package/dist/calcite/{p-c61ebee9.entry.js → p-702140ce.entry.js} +1 -1
- package/dist/calcite/{p-523bc291.system.js → p-71cdeee3.system.js} +1 -1
- package/dist/calcite/p-71e299a6.system.js +5 -0
- package/dist/calcite/{p-a5e8f022.system.entry.js → p-730b8963.system.entry.js} +1 -1
- package/dist/calcite/{p-4d11efdb.system.entry.js → p-7325e7fc.system.entry.js} +1 -1
- package/dist/calcite/{p-25caf637.system.entry.js → p-784e4e32.system.entry.js} +1 -1
- package/dist/calcite/{p-2aa3007a.entry.js → p-80a527ef.entry.js} +1 -1
- package/dist/calcite/{p-cf03b144.system.entry.js → p-832affcb.system.entry.js} +1 -1
- package/dist/calcite/p-837f9bb4.system.entry.js +5 -0
- package/dist/calcite/{p-840f2937.system.entry.js → p-83fca16e.system.entry.js} +1 -1
- package/dist/calcite/{p-e616f9b5.entry.js → p-84d6696b.entry.js} +1 -1
- package/dist/calcite/{p-38bd222a.entry.js → p-87f1831b.entry.js} +1 -1
- package/dist/calcite/{p-4acfb654.entry.js → p-88b4f504.entry.js} +1 -1
- package/dist/calcite/{p-f1c5e7cf.entry.js → p-89987575.entry.js} +1 -1
- package/dist/calcite/{p-c4cb4fab.system.entry.js → p-8b2d4eac.system.entry.js} +1 -1
- package/dist/calcite/p-8da7ad4b.entry.js +5 -0
- package/dist/calcite/p-8e252799.system.js +1 -1
- package/dist/calcite/{p-1dd440e6.system.entry.js → p-9470d123.system.entry.js} +1 -1
- package/dist/calcite/{p-4e16515a.system.entry.js → p-99de28b4.system.entry.js} +1 -1
- package/dist/calcite/{p-004460a0.system.entry.js → p-99e52ea7.system.entry.js} +1 -1
- package/dist/calcite/{p-29771742.entry.js → p-9be50494.entry.js} +1 -1
- package/dist/calcite/{p-15f3a0d7.system.entry.js → p-a821e9b3.system.entry.js} +1 -1
- package/dist/calcite/{p-b94bf8ac.system.entry.js → p-a98e5444.system.entry.js} +2 -2
- package/dist/calcite/p-ab9c6a18.entry.js +5 -0
- package/dist/calcite/{p-6484ffb7.system.entry.js → p-abdc7a4b.system.entry.js} +1 -1
- package/dist/calcite/{p-74f390e1.system.entry.js → p-ac38b743.system.entry.js} +2 -2
- package/dist/calcite/{p-dbe899c6.system.entry.js → p-b0b6baf4.system.entry.js} +1 -1
- package/dist/calcite/{p-6296644b.entry.js → p-b16b831d.entry.js} +1 -1
- package/dist/calcite/{p-0f014648.entry.js → p-b174f9ac.entry.js} +1 -1
- package/dist/calcite/{p-16f2d814.system.entry.js → p-b37b7b9e.system.entry.js} +1 -1
- package/dist/calcite/{p-9a3bed69.entry.js → p-b3e418f0.entry.js} +1 -1
- package/dist/calcite/{p-defcee80.system.entry.js → p-b5d21a5d.system.entry.js} +1 -1
- package/dist/calcite/p-b5f412fb.entry.js +5 -0
- package/dist/calcite/{p-0229a408.js → p-b6b6ec04.js} +1 -1
- package/dist/calcite/{p-127e3513.system.entry.js → p-b7518275.system.entry.js} +1 -1
- package/dist/calcite/{p-85032edc.system.entry.js → p-b75ffebb.system.entry.js} +1 -1
- package/dist/calcite/{p-8603b2e1.entry.js → p-bef1f0d9.entry.js} +1 -1
- package/dist/calcite/{p-c0e35328.entry.js → p-c0690971.entry.js} +1 -1
- package/dist/calcite/{p-05da7439.entry.js → p-c12e88cd.entry.js} +1 -1
- package/dist/calcite/p-c1794615.entry.js +5 -0
- package/dist/calcite/{p-cbf6bb04.system.js → p-c937f25f.system.js} +1 -1
- package/dist/calcite/{p-8baa9ba4.entry.js → p-c9551366.entry.js} +1 -1
- package/dist/calcite/{p-efb2169a.entry.js → p-ca5c0679.entry.js} +1 -1
- package/dist/calcite/{p-e5e3b591.entry.js → p-cd1cdf3c.entry.js} +1 -1
- package/dist/calcite/{p-35a5c74c.system.js → p-d07ff1ee.system.js} +1 -1
- package/dist/calcite/{p-16bb48f6.system.entry.js → p-d102e280.system.entry.js} +1 -1
- package/dist/calcite/p-d830efad.entry.js +5 -0
- package/dist/calcite/p-dacd3cf8.entry.js +5 -0
- package/dist/calcite/{p-9be6633a.entry.js → p-dcc6b40f.entry.js} +1 -1
- package/dist/calcite/p-dccb5ffd.entry.js +5 -0
- package/dist/calcite/{p-a5269f14.system.entry.js → p-e2d18d39.system.entry.js} +1 -1
- package/dist/calcite/p-e5305b02.js +5 -0
- package/dist/calcite/{p-10708f87.system.entry.js → p-e6a47d34.system.entry.js} +1 -1
- package/dist/calcite/p-e78e743b.entry.js +5 -0
- package/dist/calcite/{p-45b4443f.entry.js → p-ea3fee96.entry.js} +1 -1
- package/dist/calcite/{p-aaec0d11.system.entry.js → p-eb0f1e0f.system.entry.js} +1 -1
- package/dist/calcite/{p-5eee672a.system.entry.js → p-ed3f000d.system.entry.js} +1 -1
- package/dist/calcite/{p-592da79d.system.entry.js → p-ee40deba.system.entry.js} +1 -1
- package/dist/calcite/{p-a46c3870.system.entry.js → p-ee45cff5.system.entry.js} +1 -1
- package/dist/calcite/{p-aec398f3.system.entry.js → p-eeb8dfe5.system.entry.js} +1 -1
- package/dist/calcite/{p-63da2e34.system.entry.js → p-f05b5dc9.system.entry.js} +1 -1
- package/dist/calcite/{p-a61d85db.system.entry.js → p-f1832595.system.entry.js} +1 -1
- package/dist/calcite/p-f2620bc3.js +5 -0
- package/dist/calcite/{p-f278dd53.entry.js → p-f333e31b.entry.js} +1 -1
- package/dist/calcite/{p-4778c5cf.system.entry.js → p-f6323ffa.system.entry.js} +1 -1
- package/dist/calcite/p-f87ba8eb.system.js +5 -0
- package/dist/calcite/{p-578509a8.entry.js → p-f97e1a2d.entry.js} +1 -1
- package/dist/calcite/p-fb817417.entry.js +5 -0
- package/dist/calcite/{p-ace12b8d.entry.js → p-fb8b2c96.entry.js} +1 -1
- package/dist/calcite/{p-2451da5b.entry.js → p-fba77b86.entry.js} +1 -1
- package/dist/calcite/{p-289bc56f.entry.js → p-fc32b022.entry.js} +1 -1
- package/dist/calcite/p-fccc1605.entry.js +5 -0
- package/dist/calcite/{p-5f2a9710.system.entry.js → p-fd1ddcd2.system.entry.js} +1 -1
- package/dist/cjs/{CalciteExpandToggle-5f60c98b.js → CalciteExpandToggle-ca629f39.js} +3 -3
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -18
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-card.cjs.entry.js +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +5 -5
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +1 -1
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input.cjs.entry.js +12 -7
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +5 -4
- package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +8 -7
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +18 -20
- package/dist/cjs/calcite-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +17 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tab_4.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
- package/dist/cjs/{dom-19822169.js → dom-41ce6029.js} +7 -0
- package/dist/cjs/{form-a5b44a1f.js → form-7f276aa5.js} +1 -1
- package/dist/cjs/{label-8e3552b2.js → label-98a31f7d.js} +1 -1
- package/dist/cjs/{popper-a7580aca.js → popper-4c24a334.js} +1 -1
- package/dist/cjs/{resources-cd25dbae.js → resources-1177e39b.js} +1 -1
- package/dist/collection/components/calcite-alert/calcite-alert.js +12 -17
- package/dist/collection/components/calcite-block-section/calcite-block-section.js +2 -2
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +2 -2
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +1 -1
- package/dist/collection/components/calcite-input/calcite-input.js +11 -5
- package/dist/collection/components/calcite-modal/calcite-modal.js +1 -1
- package/dist/collection/components/calcite-panel/calcite-panel.css +4 -1
- package/dist/collection/components/calcite-panel/calcite-panel.js +9 -8
- package/dist/collection/components/calcite-panel/resources.js +1 -0
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +2 -3
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +16 -18
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +1 -1
- package/dist/collection/components/calcite-select/calcite-select.js +2 -1
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +17 -8
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +3 -3
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
- package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
- package/dist/collection/utils/dom.js +6 -0
- package/dist/components/CalciteExpandToggle.js +3 -3
- package/dist/components/calcite-alert.js +12 -17
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-button2.js +1 -1
- package/dist/components/calcite-color-picker-swatch2.js +1 -1
- package/dist/components/calcite-combobox.js +2 -2
- package/dist/components/calcite-dropdown2.js +1 -1
- package/dist/components/calcite-input2.js +9 -4
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-panel.js +8 -7
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-radio-group.js +16 -18
- package/dist/components/calcite-select.js +2 -1
- package/dist/components/calcite-shell-panel.js +17 -8
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-tab-nav2.js +3 -3
- package/dist/components/calcite-tab-title2.js +3 -3
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/dom.js +7 -1
- package/dist/components/form.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/custom-elements/index.js +79 -64
- package/dist/esm/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-4b38a7d1.js} +3 -3
- package/dist/esm/calcite-accordion_2.entry.js +1 -1
- package/dist/esm/calcite-action-bar.entry.js +2 -2
- package/dist/esm/calcite-action-group.entry.js +1 -1
- package/dist/esm/calcite-action-menu.entry.js +1 -1
- package/dist/esm/calcite-action-pad.entry.js +2 -2
- package/dist/esm/calcite-alert.entry.js +13 -18
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block_2.entry.js +2 -2
- package/dist/esm/calcite-button.entry.js +2 -2
- package/dist/esm/calcite-card.entry.js +1 -1
- package/dist/esm/calcite-checkbox.entry.js +3 -3
- package/dist/esm/calcite-chip.entry.js +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +5 -5
- package/dist/esm/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +3 -3
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +2 -2
- package/dist/esm/calcite-input-date-picker.entry.js +4 -4
- package/dist/esm/calcite-input-message.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
- package/dist/esm/calcite-input.entry.js +12 -7
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-list_3.entry.js +1 -1
- package/dist/esm/calcite-modal.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +1 -1
- package/dist/esm/calcite-option_3.entry.js +5 -4
- package/dist/esm/calcite-pagination.entry.js +1 -1
- package/dist/esm/calcite-panel.entry.js +8 -7
- package/dist/esm/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm/calcite-popover_2.entry.js +2 -2
- package/dist/esm/calcite-radio-group_2.entry.js +18 -20
- package/dist/esm/calcite-radio_2.entry.js +4 -4
- package/dist/esm/calcite-rating.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +17 -8
- package/dist/esm/calcite-split-button.entry.js +1 -1
- package/dist/esm/calcite-stepper_2.entry.js +1 -1
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-tab_4.entry.js +5 -5
- package/dist/esm/calcite-tile-select_2.entry.js +1 -1
- package/dist/esm/calcite-tile.entry.js +1 -1
- package/dist/esm/calcite-tip_3.entry.js +2 -2
- package/dist/esm/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm/calcite-tree_2.entry.js +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +2 -2
- package/dist/esm/{dom-f24e866c.js → dom-dc012a45.js} +7 -1
- package/dist/esm/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
- package/dist/esm/{label-5559055d.js → label-0d804a87.js} +1 -1
- package/dist/esm/{popper-f5caedc4.js → popper-ed1eefa6.js} +1 -1
- package/dist/esm/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
- package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +5 -0
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +1 -1
- package/dist/esm-es5/calcite-filter.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- package/dist/esm-es5/calcite-label.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +1 -1
- package/dist/esm-es5/calcite-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +1 -1
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
- package/dist/esm-es5/calcite-switch.entry.js +1 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/dom-dc012a45.js +5 -0
- package/dist/esm-es5/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
- package/dist/esm-es5/{label-5559055d.js → label-0d804a87.js} +1 -1
- package/dist/esm-es5/{popper-f5caedc4.js → popper-ed1eefa6.js} +1 -1
- package/dist/esm-es5/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
- package/dist/extras/docs-json.json +2 -1
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +2 -2
- package/dist/types/components/calcite-panel/resources.d.ts +1 -0
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -2
- package/dist/types/utils/dom.d.ts +4 -0
- package/hydrate/index.js +79 -64
- package/package.json +4 -3
- package/readme.md +2 -2
- package/dist/calcite/assets/calcite-icon/checkSquareF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/checkSquareF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/checkSquareF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/lineSolid4.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF32.json +0 -1
- package/dist/calcite/p-0d807182.system.entry.js +0 -5
- package/dist/calcite/p-0fa1ba75.entry.js +0 -5
- package/dist/calcite/p-1434e37e.entry.js +0 -5
- package/dist/calcite/p-1942876c.js +0 -5
- package/dist/calcite/p-1aa89347.system.entry.js +0 -5
- package/dist/calcite/p-21290fba.system.entry.js +0 -5
- package/dist/calcite/p-33226317.entry.js +0 -5
- package/dist/calcite/p-34e89de8.entry.js +0 -5
- package/dist/calcite/p-362cb320.entry.js +0 -5
- package/dist/calcite/p-3b29e94a.entry.js +0 -5
- package/dist/calcite/p-3dae9da3.js +0 -5
- package/dist/calcite/p-3e6fcede.entry.js +0 -5
- package/dist/calcite/p-52cc870b.js +0 -5
- package/dist/calcite/p-6cc23c39.system.js +0 -5
- package/dist/calcite/p-6d44b7d9.system.js +0 -5
- package/dist/calcite/p-81ab443c.entry.js +0 -5
- package/dist/calcite/p-8445bc9c.system.entry.js +0 -5
- package/dist/calcite/p-bab99544.entry.js +0 -5
- package/dist/calcite/p-bdb92546.entry.js +0 -5
- package/dist/calcite/p-ca3bb147.entry.js +0 -5
- package/dist/calcite/p-cbbfa133.system.entry.js +0 -5
- package/dist/calcite/p-d6f20229.js +0 -5
- package/dist/calcite/p-ed15771f.system.entry.js +0 -5
- package/dist/calcite/p-ed453bfb.entry.js +0 -5
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +0 -1
- package/dist/collection/components/calcite-label/interfaces.js +0 -1
- package/dist/collection/demos/_assets/demo-spacer.js +0 -17
- package/dist/collection/demos/_assets/demo-template.js +0 -13
- package/dist/collection/demos/_assets/head.js +0 -45
- package/dist/esm-es5/CalciteExpandToggle-677f2f8b.js +0 -5
- package/dist/esm-es5/dom-f24e866c.js +0 -5
package/hydrate/index.js
CHANGED
|
@@ -5737,6 +5737,12 @@ function nodeListToArray(nodeList) {
|
|
|
5737
5737
|
function getThemeName(el) {
|
|
5738
5738
|
return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
|
|
5739
5739
|
}
|
|
5740
|
+
function getElementStyleDir(el) {
|
|
5741
|
+
return window.getComputedStyle(el).direction || "ltr";
|
|
5742
|
+
}
|
|
5743
|
+
/**
|
|
5744
|
+
* @deprecated use getElementStyleDir instead.
|
|
5745
|
+
*/
|
|
5740
5746
|
function getElementDir(el) {
|
|
5741
5747
|
const prop = "dir";
|
|
5742
5748
|
const selector = `[${prop}]`;
|
|
@@ -6244,7 +6250,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
|
|
|
6244
6250
|
return referenceElement;
|
|
6245
6251
|
};
|
|
6246
6252
|
const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
|
|
6247
|
-
const rtl =
|
|
6253
|
+
const rtl = getElementStyleDir(el) === "rtl";
|
|
6248
6254
|
const expandText = expanded ? intlCollapse : intlExpand;
|
|
6249
6255
|
const icons = [ICONS$d.chevronsLeft, ICONS$d.chevronsRight];
|
|
6250
6256
|
if (rtl) {
|
|
@@ -6253,7 +6259,7 @@ const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, p
|
|
|
6253
6259
|
const end = getCalcitePosition(position, el) === "end";
|
|
6254
6260
|
const expandIcon = end ? icons[1] : icons[0];
|
|
6255
6261
|
const collapseIcon = end ? icons[0] : icons[1];
|
|
6256
|
-
const actionNode = (hAsync("calcite-action", { dir: rtl ? "rtl" : "ltr", icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
|
|
6262
|
+
const actionNode = (hAsync("calcite-action", { dir: getElementDir(el) === "rtl" ? "rtl" : "ltr", icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
|
|
6257
6263
|
return tooltip ? hAsync("calcite-tooltip-manager", null, actionNode) : actionNode;
|
|
6258
6264
|
};
|
|
6259
6265
|
|
|
@@ -8319,13 +8325,11 @@ class CalciteAlert {
|
|
|
8319
8325
|
this.queueLength = 0;
|
|
8320
8326
|
/** is the alert queued */
|
|
8321
8327
|
this.queued = false;
|
|
8322
|
-
this.
|
|
8323
|
-
this.trackTimer =
|
|
8328
|
+
this.autoDismissTimeoutId = null;
|
|
8329
|
+
this.trackTimer = Date.now();
|
|
8324
8330
|
/** close and emit the closed alert and the queue */
|
|
8325
8331
|
this.closeAlert = () => {
|
|
8326
|
-
|
|
8327
|
-
this.autoDismissTimeout = null;
|
|
8328
|
-
}
|
|
8332
|
+
this.autoDismissTimeoutId = null;
|
|
8329
8333
|
this.queued = false;
|
|
8330
8334
|
this.active = false;
|
|
8331
8335
|
this.queue = this.queue.filter((e) => e !== this.el);
|
|
@@ -8349,10 +8353,10 @@ class CalciteAlert {
|
|
|
8349
8353
|
updateRequestedIcon() {
|
|
8350
8354
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
8351
8355
|
}
|
|
8352
|
-
updateDuration(
|
|
8353
|
-
if (this.autoDismiss &&
|
|
8354
|
-
window.clearTimeout(this.
|
|
8355
|
-
this.
|
|
8356
|
+
updateDuration() {
|
|
8357
|
+
if (this.autoDismiss && this.autoDismissTimeoutId) {
|
|
8358
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
8359
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
|
|
8356
8360
|
}
|
|
8357
8361
|
}
|
|
8358
8362
|
//--------------------------------------------------------------------------
|
|
@@ -8372,9 +8376,7 @@ class CalciteAlert {
|
|
|
8372
8376
|
this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
|
|
8373
8377
|
}
|
|
8374
8378
|
disconnectedCallback() {
|
|
8375
|
-
|
|
8376
|
-
window.clearTimeout(this.autoDismissTimeout);
|
|
8377
|
-
}
|
|
8379
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
8378
8380
|
}
|
|
8379
8381
|
render() {
|
|
8380
8382
|
const dir = getElementDir(this.el);
|
|
@@ -8382,14 +8384,13 @@ class CalciteAlert {
|
|
|
8382
8384
|
const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;
|
|
8383
8385
|
const queueCount = (hAsync("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, hAsync("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
|
|
8384
8386
|
const { active, autoDismiss, label, queued, requestedIcon } = this;
|
|
8385
|
-
const progressBar = hAsync("div", { class: "alert-dismiss-progress" });
|
|
8386
8387
|
const role = autoDismiss ? "alert" : "alertdialog";
|
|
8387
8388
|
const hidden = !active;
|
|
8388
8389
|
return (hAsync(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, hAsync("div", { class: {
|
|
8389
8390
|
container: true,
|
|
8390
8391
|
queued,
|
|
8391
8392
|
[CSS_UTILITY.rtl]: dir === "rtl"
|
|
8392
|
-
} }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$l.title }), hAsync("slot", { name: SLOTS$l.message }), hAsync("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ?
|
|
8393
|
+
} }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$l.title }), hAsync("slot", { name: SLOTS$l.message }), hAsync("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
8393
8394
|
}
|
|
8394
8395
|
// when an alert is opened or closed, update queue and determine active alert
|
|
8395
8396
|
alertSync(event) {
|
|
@@ -8435,9 +8436,9 @@ class CalciteAlert {
|
|
|
8435
8436
|
var _a;
|
|
8436
8437
|
if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
|
|
8437
8438
|
this.openAlert();
|
|
8438
|
-
if (this.autoDismiss && !this.
|
|
8439
|
-
this.trackTimer =
|
|
8440
|
-
this.
|
|
8439
|
+
if (this.autoDismiss && !this.autoDismissTimeoutId) {
|
|
8440
|
+
this.trackTimer = Date.now();
|
|
8441
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
|
|
8441
8442
|
}
|
|
8442
8443
|
}
|
|
8443
8444
|
else {
|
|
@@ -8981,7 +8982,7 @@ class CalciteBlockSection {
|
|
|
8981
8982
|
}
|
|
8982
8983
|
render() {
|
|
8983
8984
|
const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
|
|
8984
|
-
const dir =
|
|
8985
|
+
const dir = getElementStyleDir(el);
|
|
8985
8986
|
const arrowIcon = open
|
|
8986
8987
|
? ICONS$b.menuOpen
|
|
8987
8988
|
: dir === "rtl"
|
|
@@ -15102,7 +15103,7 @@ class CalciteCombobox {
|
|
|
15102
15103
|
this.setFocus();
|
|
15103
15104
|
};
|
|
15104
15105
|
this.keydownHandler = (event) => {
|
|
15105
|
-
const key = getKey(event.key,
|
|
15106
|
+
const key = getKey(event.key, getElementStyleDir(this.el));
|
|
15106
15107
|
switch (key) {
|
|
15107
15108
|
case "Tab":
|
|
15108
15109
|
this.activeChipIndex = -1;
|
|
@@ -17222,7 +17223,7 @@ class CalciteDropdown {
|
|
|
17222
17223
|
//
|
|
17223
17224
|
//--------------------------------------------------------------------------
|
|
17224
17225
|
this.items = [];
|
|
17225
|
-
this.activeTransitionProp = "
|
|
17226
|
+
this.activeTransitionProp = "visibility";
|
|
17226
17227
|
this.mutationObserver = createObserver();
|
|
17227
17228
|
//--------------------------------------------------------------------------
|
|
17228
17229
|
//
|
|
@@ -18867,6 +18868,8 @@ class CalciteInput {
|
|
|
18867
18868
|
* Note that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`
|
|
18868
18869
|
*/
|
|
18869
18870
|
this.type = "text";
|
|
18871
|
+
/** input value */
|
|
18872
|
+
this.value = "";
|
|
18870
18873
|
/** keep track of the rendered child type */
|
|
18871
18874
|
this.childElType = "input";
|
|
18872
18875
|
//--------------------------------------------------------------------------
|
|
@@ -18888,7 +18891,7 @@ class CalciteInput {
|
|
|
18888
18891
|
}
|
|
18889
18892
|
};
|
|
18890
18893
|
this.clearInputValue = (nativeEvent) => {
|
|
18891
|
-
this.setValue(
|
|
18894
|
+
this.setValue("", nativeEvent, true);
|
|
18892
18895
|
};
|
|
18893
18896
|
this.inputBlurHandler = () => {
|
|
18894
18897
|
if (this.type === "number") {
|
|
@@ -19030,7 +19033,7 @@ class CalciteInput {
|
|
|
19030
19033
|
this.setLocalizedValue(this.value);
|
|
19031
19034
|
}
|
|
19032
19035
|
if (nativeEvent) {
|
|
19033
|
-
if (this.type === "number" &&
|
|
19036
|
+
if (this.type === "number" && value.endsWith(".")) {
|
|
19034
19037
|
return;
|
|
19035
19038
|
}
|
|
19036
19039
|
const calciteInputInputEvent = this.calciteInputInput.emit({
|
|
@@ -19065,6 +19068,10 @@ class CalciteInput {
|
|
|
19065
19068
|
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
19066
19069
|
}
|
|
19067
19070
|
valueWatcher(newValue) {
|
|
19071
|
+
if (newValue == null) {
|
|
19072
|
+
this.value = "";
|
|
19073
|
+
return;
|
|
19074
|
+
}
|
|
19068
19075
|
if (this.type === "number" &&
|
|
19069
19076
|
this.localizedValue !== localizeNumberString(newValue, this.locale)) {
|
|
19070
19077
|
this.setLocalizedValue(newValue);
|
|
@@ -19077,8 +19084,7 @@ class CalciteInput {
|
|
|
19077
19084
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
19078
19085
|
}
|
|
19079
19086
|
get isClearable() {
|
|
19080
|
-
|
|
19081
|
-
return !this.isTextarea && (this.clearable || this.type === "search") && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
19087
|
+
return !this.isTextarea && (this.clearable || this.type === "search") && this.value.length > 0;
|
|
19082
19088
|
}
|
|
19083
19089
|
get isTextarea() {
|
|
19084
19090
|
return this.childElType === "textarea";
|
|
@@ -20803,7 +20809,7 @@ class CalciteModal {
|
|
|
20803
20809
|
return this.hasFooter ? (hAsync("div", { class: CSS$m.footer }, hAsync("span", { class: CSS$m.back }, hAsync("slot", { name: SLOTS$e.back })), hAsync("span", { class: CSS$m.secondary }, hAsync("slot", { name: SLOTS$e.secondary })), hAsync("span", { class: CSS$m.primary }, hAsync("slot", { name: SLOTS$e.primary })))) : null;
|
|
20804
20810
|
}
|
|
20805
20811
|
renderCloseButton() {
|
|
20806
|
-
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$m.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, hAsync("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : "l" }))) : null;
|
|
20812
|
+
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$m.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, hAsync("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
20807
20813
|
}
|
|
20808
20814
|
renderStyle() {
|
|
20809
20815
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
@@ -21390,6 +21396,7 @@ const CSS$j = {
|
|
|
21390
21396
|
headerActionsStart: "header-actions--start",
|
|
21391
21397
|
contentWrapper: "content-wrapper",
|
|
21392
21398
|
contentContainer: "content-container",
|
|
21399
|
+
contentHeight: "content-height",
|
|
21393
21400
|
fabContainer: "fab-container",
|
|
21394
21401
|
footer: "footer",
|
|
21395
21402
|
menuContainer: "menu-container",
|
|
@@ -21420,7 +21427,7 @@ const TEXT$8 = {
|
|
|
21420
21427
|
};
|
|
21421
21428
|
const HEADING_LEVEL$4 = 3;
|
|
21422
21429
|
|
|
21423
|
-
const calcitePanelCss = "@-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*/.sc-calcite-panel:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{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*/.calcite-animate__in.sc-calcite-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-panel-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host*/.sc-calcite-panel-h{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}/*!@.header*/.header.sc-calcite-panel{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}/*!@.heading*/.heading.sc-calcite-panel{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}/*!@h1.heading*/h1.heading.sc-calcite-panel{font-size:var(--calcite-font-size-2);line-height:1.5rem}/*!@h2.heading*/h2.heading.sc-calcite-panel{font-size:var(--calcite-font-size-1);line-height:1.5rem}/*!@h3.heading*/h3.heading.sc-calcite-panel{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@h4.heading,\nh5.heading*/h4.heading.sc-calcite-panel,h5.heading.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.container*/.container.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}/*!@:host([height-scale=s])*/[height-scale=s].sc-calcite-panel-h{--calcite-panel-max-height:40vh}/*!@:host([height-scale=m])*/[height-scale=m].sc-calcite-panel-h{--calcite-panel-max-height:60vh}/*!@:host([height-scale=l])*/[height-scale=l].sc-calcite-panel-h{--calcite-panel-max-height:80vh}/*!@:host([width-scale=s])*/[width-scale=s].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}/*!@:host([width-scale=m])*/[width-scale=m].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}/*!@:host([width-scale=l])*/[width-scale=l].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@:host([loading]) .container,\n:host([disabled]) .container*/[loading].sc-calcite-panel-h .container.sc-calcite-panel,[disabled].sc-calcite-panel-h .container.sc-calcite-panel{position:relative;z-index:1}/*!@.header*/.header.sc-calcite-panel{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}/*!@.header-content*/.header-content.sc-calcite-panel{overflow:hidden;margin-right:auto;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@.header-content .heading,\n.header-content .summary*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .summary.sc-calcite-panel{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{margin-bottom:0}/*!@.header-content .summary*/.header-content.sc-calcite-panel .summary.sc-calcite-panel{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.back-button*/.back-button.sc-calcite-panel{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}/*!@.calcite--rtl .back-button*/.calcite--rtl.sc-calcite-panel .back-button.sc-calcite-panel{border-right-width:0;border-left-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}/*!@.header-actions--end*/.header-actions--end.sc-calcite-panel{margin-left:auto}/*!@.menu-container:only-child*/.menu-container.sc-calcite-panel:only-child{margin-left:auto}/*!@.menu-button*/.menu-button.sc-calcite-panel{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}/*!@.menu*/.menu.sc-calcite-panel{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{
|
|
21430
|
+
const calcitePanelCss = "@-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*/.sc-calcite-panel:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{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*/.calcite-animate__in.sc-calcite-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-panel-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host*/.sc-calcite-panel-h{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}/*!@.header*/.header.sc-calcite-panel{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}/*!@.heading*/.heading.sc-calcite-panel{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}/*!@h1.heading*/h1.heading.sc-calcite-panel{font-size:var(--calcite-font-size-2);line-height:1.5rem}/*!@h2.heading*/h2.heading.sc-calcite-panel{font-size:var(--calcite-font-size-1);line-height:1.5rem}/*!@h3.heading*/h3.heading.sc-calcite-panel{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@h4.heading,\nh5.heading*/h4.heading.sc-calcite-panel,h5.heading.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.container*/.container.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}/*!@:host([height-scale=s])*/[height-scale=s].sc-calcite-panel-h{--calcite-panel-max-height:40vh}/*!@:host([height-scale=m])*/[height-scale=m].sc-calcite-panel-h{--calcite-panel-max-height:60vh}/*!@:host([height-scale=l])*/[height-scale=l].sc-calcite-panel-h{--calcite-panel-max-height:80vh}/*!@:host([width-scale=s])*/[width-scale=s].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}/*!@:host([width-scale=m])*/[width-scale=m].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}/*!@:host([width-scale=l])*/[width-scale=l].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@:host([loading]) .container,\n:host([disabled]) .container*/[loading].sc-calcite-panel-h .container.sc-calcite-panel,[disabled].sc-calcite-panel-h .container.sc-calcite-panel{position:relative;z-index:1}/*!@.header*/.header.sc-calcite-panel{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}/*!@.header-content*/.header-content.sc-calcite-panel{overflow:hidden;margin-right:auto;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@.header-content .heading,\n.header-content .summary*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .summary.sc-calcite-panel{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{margin-bottom:0}/*!@.header-content .summary*/.header-content.sc-calcite-panel .summary.sc-calcite-panel{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.back-button*/.back-button.sc-calcite-panel{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}/*!@.calcite--rtl .back-button*/.calcite--rtl.sc-calcite-panel .back-button.sc-calcite-panel{border-right-width:0;border-left-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}/*!@.header-actions--end*/.header-actions--end.sc-calcite-panel{margin-left:auto}/*!@.menu-container:only-child*/.menu-container.sc-calcite-panel:only-child{margin-left:auto}/*!@.menu-button*/.menu-button.sc-calcite-panel{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}/*!@.menu*/.menu.sc-calcite-panel{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{overflow:auto}/*!@.content-height*/.content-height.sc-calcite-panel{height:100%}/*!@.content-container*/.content-container.sc-calcite-panel{-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:column;flex-direction:column}/*!@.footer*/.footer.sc-calcite-panel{border-top:1px solid;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;position:-webkit-sticky;position:sticky;bottom:0;width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}/*!@.calcite--rtl .header-content*/.calcite--rtl.sc-calcite-panel .header-content.sc-calcite-panel{margin-left:auto;margin-right:unset}/*!@.calcite--rtl .header-actions--end*/.calcite--rtl.sc-calcite-panel .header-actions--end.sc-calcite-panel{margin-right:auto;margin-left:unset}/*!@.calcite--rtl .menu-container:only-child*/.calcite--rtl.sc-calcite-panel .menu-container.sc-calcite-panel:only-child{margin-right:auto;margin-left:unset}/*!@.fab-container*/.fab-container.sc-calcite-panel{display:block;position:-webkit-sticky;position:sticky;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0.5rem;bottom:0;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;z-index:1}";
|
|
21424
21431
|
|
|
21425
21432
|
/**
|
|
21426
21433
|
* @slot - A slot for adding custom content.
|
|
@@ -21524,7 +21531,7 @@ class CalcitePanel {
|
|
|
21524
21531
|
// --------------------------------------------------------------------------
|
|
21525
21532
|
renderBackButton() {
|
|
21526
21533
|
const { el } = this;
|
|
21527
|
-
const rtl =
|
|
21534
|
+
const rtl = getElementStyleDir(el) === "rtl";
|
|
21528
21535
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
21529
21536
|
const label = intlBack || TEXT$8.back;
|
|
21530
21537
|
const icon = rtl ? ICONS$5.backRight : ICONS$5.backLeft;
|
|
@@ -21590,12 +21597,12 @@ class CalcitePanel {
|
|
|
21590
21597
|
return hasFooterActions ? (hAsync("footer", { class: CSS$j.footer }, hAsync("slot", { name: SLOTS$c.footerActions }))) : null;
|
|
21591
21598
|
}
|
|
21592
21599
|
renderContent() {
|
|
21593
|
-
return (hAsync("div", { class: CSS$j.contentWrapper, onScroll: this.panelScrollHandler, tabIndex: 0 }, hAsync("section", { class: CSS$j.contentContainer }, hAsync("slot", null)), this.renderFab()));
|
|
21594
|
-
}
|
|
21595
|
-
renderFab() {
|
|
21596
21600
|
const { el } = this;
|
|
21597
21601
|
const hasFab = getSlotted(el, SLOTS$c.fab);
|
|
21598
|
-
return hasFab ? (hAsync("div", { class: CSS$j.
|
|
21602
|
+
return hasFab ? (hAsync("div", { class: { [CSS$j.contentWrapper]: true, [CSS$j.contentHeight]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, hAsync("section", { class: CSS$j.contentContainer }, hAsync("slot", null)), this.renderFab())) : (hAsync("section", { class: { [CSS$j.contentWrapper]: true, [CSS$j.contentContainer]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, hAsync("slot", null)));
|
|
21603
|
+
}
|
|
21604
|
+
renderFab() {
|
|
21605
|
+
return (hAsync("div", { class: CSS$j.fabContainer }, hAsync("slot", { name: SLOTS$c.fab })));
|
|
21599
21606
|
}
|
|
21600
21607
|
render() {
|
|
21601
21608
|
const { dismissed, disabled, dismissible, el, loading, panelKeyUpHandler } = this;
|
|
@@ -22897,7 +22904,7 @@ class CalciteRadioButton {
|
|
|
22897
22904
|
return;
|
|
22898
22905
|
}
|
|
22899
22906
|
let adjustedKey = key;
|
|
22900
|
-
if (
|
|
22907
|
+
if (getElementStyleDir(el) === "rtl") {
|
|
22901
22908
|
if (key === "ArrowRight") {
|
|
22902
22909
|
adjustedKey = "ArrowLeft";
|
|
22903
22910
|
}
|
|
@@ -23225,7 +23232,7 @@ class CalciteRadioGroup {
|
|
|
23225
23232
|
//--------------------------------------------------------------------------
|
|
23226
23233
|
this.handleClick = (event) => {
|
|
23227
23234
|
if (event.target.localName === "calcite-radio-group-item") {
|
|
23228
|
-
this.selectItem(event.target);
|
|
23235
|
+
this.selectItem(event.target, true);
|
|
23229
23236
|
}
|
|
23230
23237
|
};
|
|
23231
23238
|
}
|
|
@@ -23244,7 +23251,6 @@ class CalciteRadioGroup {
|
|
|
23244
23251
|
.pop();
|
|
23245
23252
|
if (match) {
|
|
23246
23253
|
this.selectItem(match);
|
|
23247
|
-
this.calciteRadioGroupChange.emit(match.value);
|
|
23248
23254
|
}
|
|
23249
23255
|
else if (items[0]) {
|
|
23250
23256
|
items[0].tabIndex = 0;
|
|
@@ -23255,7 +23261,7 @@ class CalciteRadioGroup {
|
|
|
23255
23261
|
// Lifecycle
|
|
23256
23262
|
//
|
|
23257
23263
|
//--------------------------------------------------------------------------
|
|
23258
|
-
|
|
23264
|
+
componentWillLoad() {
|
|
23259
23265
|
const items = this.getItems();
|
|
23260
23266
|
const lastChecked = Array.from(items)
|
|
23261
23267
|
.filter((item) => item.checked)
|
|
@@ -23266,6 +23272,8 @@ class CalciteRadioGroup {
|
|
|
23266
23272
|
else if (items[0]) {
|
|
23267
23273
|
items[0].tabIndex = 0;
|
|
23268
23274
|
}
|
|
23275
|
+
}
|
|
23276
|
+
connectedCallback() {
|
|
23269
23277
|
connectLabel(this);
|
|
23270
23278
|
connectForm(this);
|
|
23271
23279
|
}
|
|
@@ -23273,19 +23281,13 @@ class CalciteRadioGroup {
|
|
|
23273
23281
|
disconnectLabel(this);
|
|
23274
23282
|
disconnectForm(this);
|
|
23275
23283
|
}
|
|
23276
|
-
componentDidLoad() {
|
|
23277
|
-
this.hasLoaded = true;
|
|
23278
|
-
}
|
|
23279
23284
|
render() {
|
|
23280
23285
|
return (hAsync(Host, { onClick: this.handleClick, role: "radiogroup", tabIndex: this.disabled ? -1 : null }, hAsync("slot", null), hAsync(HiddenFormInputSlot, { component: this })));
|
|
23281
23286
|
}
|
|
23282
23287
|
handleSelected(event) {
|
|
23283
|
-
|
|
23284
|
-
|
|
23285
|
-
|
|
23286
|
-
event.preventDefault();
|
|
23287
|
-
this.selectItem(event.target);
|
|
23288
|
-
}
|
|
23288
|
+
event.stopPropagation();
|
|
23289
|
+
event.preventDefault();
|
|
23290
|
+
this.selectItem(event.target);
|
|
23289
23291
|
}
|
|
23290
23292
|
handleKeyDown(event) {
|
|
23291
23293
|
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
|
@@ -23295,7 +23297,7 @@ class CalciteRadioGroup {
|
|
|
23295
23297
|
return;
|
|
23296
23298
|
}
|
|
23297
23299
|
let adjustedKey = key;
|
|
23298
|
-
if (
|
|
23300
|
+
if (getElementStyleDir(el) === "rtl") {
|
|
23299
23301
|
if (key === "ArrowRight") {
|
|
23300
23302
|
adjustedKey = "ArrowLeft";
|
|
23301
23303
|
}
|
|
@@ -23315,17 +23317,17 @@ class CalciteRadioGroup {
|
|
|
23315
23317
|
case "ArrowUp":
|
|
23316
23318
|
event.preventDefault();
|
|
23317
23319
|
const previous = selectedIndex < 1 ? items.item(items.length - 1) : items.item(selectedIndex - 1);
|
|
23318
|
-
this.selectItem(previous);
|
|
23320
|
+
this.selectItem(previous, true);
|
|
23319
23321
|
return;
|
|
23320
23322
|
case "ArrowRight":
|
|
23321
23323
|
case "ArrowDown":
|
|
23322
23324
|
event.preventDefault();
|
|
23323
23325
|
const next = selectedIndex === -1 ? items.item(1) : items.item(selectedIndex + 1) || items.item(0);
|
|
23324
|
-
this.selectItem(next);
|
|
23326
|
+
this.selectItem(next, true);
|
|
23325
23327
|
return;
|
|
23326
23328
|
case " ":
|
|
23327
23329
|
event.preventDefault();
|
|
23328
|
-
this.selectItem(event.target);
|
|
23330
|
+
this.selectItem(event.target, true);
|
|
23329
23331
|
return;
|
|
23330
23332
|
default:
|
|
23331
23333
|
return;
|
|
@@ -23352,7 +23354,7 @@ class CalciteRadioGroup {
|
|
|
23352
23354
|
getItems() {
|
|
23353
23355
|
return this.el.querySelectorAll("calcite-radio-group-item");
|
|
23354
23356
|
}
|
|
23355
|
-
selectItem(selected) {
|
|
23357
|
+
selectItem(selected, emit = false) {
|
|
23356
23358
|
if (selected === this.selectedItem) {
|
|
23357
23359
|
return;
|
|
23358
23360
|
}
|
|
@@ -23366,6 +23368,9 @@ class CalciteRadioGroup {
|
|
|
23366
23368
|
item.tabIndex = matches ? 0 : -1;
|
|
23367
23369
|
if (matches) {
|
|
23368
23370
|
match = item;
|
|
23371
|
+
if (emit) {
|
|
23372
|
+
this.calciteRadioGroupChange.emit(match.value);
|
|
23373
|
+
}
|
|
23369
23374
|
}
|
|
23370
23375
|
});
|
|
23371
23376
|
this.selectedItem = match;
|
|
@@ -23828,6 +23833,7 @@ class CalciteSelect {
|
|
|
23828
23833
|
this.updateNativeElement(optionOrGroup, nativeEl);
|
|
23829
23834
|
if (isOption(optionOrGroup) && optionOrGroup.selected) {
|
|
23830
23835
|
this.deselectAllExcept(optionOrGroup);
|
|
23836
|
+
this.selectedOption = optionOrGroup;
|
|
23831
23837
|
}
|
|
23832
23838
|
}
|
|
23833
23839
|
//--------------------------------------------------------------------------
|
|
@@ -23867,7 +23873,7 @@ class CalciteSelect {
|
|
|
23867
23873
|
}
|
|
23868
23874
|
});
|
|
23869
23875
|
if (futureSelected) {
|
|
23870
|
-
|
|
23876
|
+
this.selectedOption = futureSelected;
|
|
23871
23877
|
}
|
|
23872
23878
|
}
|
|
23873
23879
|
toNativeElement(optionOrGroup) {
|
|
@@ -24162,7 +24168,7 @@ class CalciteShellPanel {
|
|
|
24162
24168
|
};
|
|
24163
24169
|
this.getKeyAdjustedWidth = (event) => {
|
|
24164
24170
|
const { key } = event;
|
|
24165
|
-
const { step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
24171
|
+
const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
24166
24172
|
const multipliedStep = step * stepMultiplier;
|
|
24167
24173
|
const MOVEMENT_KEYS = [
|
|
24168
24174
|
"ArrowUp",
|
|
@@ -24177,15 +24183,20 @@ class CalciteShellPanel {
|
|
|
24177
24183
|
if (MOVEMENT_KEYS.indexOf(key) > -1) {
|
|
24178
24184
|
event.preventDefault();
|
|
24179
24185
|
}
|
|
24180
|
-
const
|
|
24186
|
+
const dir = getElementStyleDir(el);
|
|
24187
|
+
const directionKeys = ["ArrowLeft", "ArrowRight"];
|
|
24188
|
+
const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
|
|
24189
|
+
const increaseKeys = key === "ArrowUp" ||
|
|
24190
|
+
(position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
|
|
24181
24191
|
if (increaseKeys) {
|
|
24182
24192
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
24183
|
-
return initialContentWidth + stepValue;
|
|
24193
|
+
return initialContentWidth + directionFactor * stepValue;
|
|
24184
24194
|
}
|
|
24185
|
-
const decreaseKeys = key === "ArrowDown" ||
|
|
24195
|
+
const decreaseKeys = key === "ArrowDown" ||
|
|
24196
|
+
(position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
|
|
24186
24197
|
if (decreaseKeys) {
|
|
24187
24198
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
24188
|
-
return initialContentWidth - stepValue;
|
|
24199
|
+
return initialContentWidth - directionFactor * stepValue;
|
|
24189
24200
|
}
|
|
24190
24201
|
if (typeof contentWidthMin === "number" && key === "Home") {
|
|
24191
24202
|
return contentWidthMin;
|
|
@@ -24210,9 +24221,13 @@ class CalciteShellPanel {
|
|
|
24210
24221
|
};
|
|
24211
24222
|
this.separatorPointerMove = (event) => {
|
|
24212
24223
|
event.preventDefault();
|
|
24213
|
-
const { initialContentWidth, position, initialClientX } = this;
|
|
24224
|
+
const { el, initialContentWidth, position, initialClientX } = this;
|
|
24214
24225
|
const offset = event.clientX - initialClientX;
|
|
24215
|
-
|
|
24226
|
+
const dir = getElementStyleDir(el);
|
|
24227
|
+
const adjustmentDirection = dir === "rtl" ? -1 : 1;
|
|
24228
|
+
const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
|
|
24229
|
+
const width = initialContentWidth + adjustedOffset;
|
|
24230
|
+
this.setContentWidth(width);
|
|
24216
24231
|
};
|
|
24217
24232
|
this.separatorPointerUp = (event) => {
|
|
24218
24233
|
event.preventDefault();
|
|
@@ -29067,7 +29082,7 @@ class CalciteTabNav {
|
|
|
29067
29082
|
}
|
|
29068
29083
|
}
|
|
29069
29084
|
render() {
|
|
29070
|
-
const dir =
|
|
29085
|
+
const dir = getElementStyleDir(this.el);
|
|
29071
29086
|
const width = `${this.indicatorWidth}px`;
|
|
29072
29087
|
const offset = `${this.indicatorOffset}px`;
|
|
29073
29088
|
const indicatorStyle = dir !== "rtl" ? { width, left: offset } : { width, right: offset };
|
|
@@ -29124,7 +29139,7 @@ class CalciteTabNav {
|
|
|
29124
29139
|
}
|
|
29125
29140
|
updateOffsetPosition() {
|
|
29126
29141
|
var _a, _b, _c, _d, _e;
|
|
29127
|
-
const dir =
|
|
29142
|
+
const dir = getElementStyleDir(this.el);
|
|
29128
29143
|
const navWidth = (_a = this.activeIndicatorContainerEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;
|
|
29129
29144
|
const tabLeft = (_b = this.selectedTabEl) === null || _b === void 0 ? void 0 : _b.offsetLeft;
|
|
29130
29145
|
const tabWidth = (_c = this.selectedTabEl) === null || _c === void 0 ? void 0 : _c.offsetWidth;
|
|
@@ -29301,7 +29316,7 @@ class CalciteTabTitle {
|
|
|
29301
29316
|
e.preventDefault();
|
|
29302
29317
|
break;
|
|
29303
29318
|
case "ArrowRight":
|
|
29304
|
-
if (
|
|
29319
|
+
if (getElementStyleDir(this.el) === "ltr") {
|
|
29305
29320
|
this.calciteTabsFocusNext.emit();
|
|
29306
29321
|
}
|
|
29307
29322
|
else {
|
|
@@ -29309,7 +29324,7 @@ class CalciteTabTitle {
|
|
|
29309
29324
|
}
|
|
29310
29325
|
break;
|
|
29311
29326
|
case "ArrowLeft":
|
|
29312
|
-
if (
|
|
29327
|
+
if (getElementStyleDir(this.el) === "ltr") {
|
|
29313
29328
|
this.calciteTabsFocusPrevious.emit();
|
|
29314
29329
|
}
|
|
29315
29330
|
else {
|
|
@@ -30774,7 +30789,7 @@ class CalciteTipManager {
|
|
|
30774
30789
|
//
|
|
30775
30790
|
// --------------------------------------------------------------------------
|
|
30776
30791
|
renderPagination() {
|
|
30777
|
-
const dir =
|
|
30792
|
+
const dir = getElementStyleDir(this.el);
|
|
30778
30793
|
const { selectedIndex, tips, total, intlNext, intlPrevious, intlPaginationLabel } = this;
|
|
30779
30794
|
const nextLabel = intlNext || TEXT$1.next;
|
|
30780
30795
|
const previousLabel = intlPrevious || TEXT$1.previous;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.316",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"build": "npm run util:copy-icons && stencil build",
|
|
20
20
|
"build:watch": "npm run util:copy-icons && stencil build --watch",
|
|
21
21
|
"build:watch-dev": "npm run util:copy-icons && stencil build --dev --watch",
|
|
22
|
-
"deps:update": "updtr --exclude typescript tailwindcss @types/jest jest jest-cli puppeteer && git add package*.json && git commit -q -m \"build(deps): bump versions\"",
|
|
22
|
+
"deps:update": "updtr --exclude chalk typescript tailwindcss @types/jest jest jest-cli puppeteer && git add package*.json && git commit -q -m \"build(deps): bump versions\"",
|
|
23
23
|
"docs": "concurrently --kill-others --raw \"npm:util:build-docs && build-storybook --static-dir ./__docs-temp__ --output-dir ./docs\" \"ts-node ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
|
|
24
24
|
"docs:preview": "concurrently --raw \"npm:util:build-docs && start-storybook --static-dir ./__docs-temp__\" \"ts-node ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
|
|
25
25
|
"lint": "concurrently npm:lint:*",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"util:copy-icons": "cpy ./node_modules/@esri/calcite-ui-icons/js/*.json ./src/components/calcite-icon/assets/calcite-icon/",
|
|
48
48
|
"util:deploy-next-from-existing-build": "npm run util:prep-next-from-existing-build && npm run util:push-tags && npm run util:publish-next",
|
|
49
49
|
"util:deploy-next-from-ci": "ts-node --project ./tsconfig-node-scripts.json support/deployNextFromCI.ts",
|
|
50
|
+
"util:check-squash-mergeable-branch": "ts-node --project ./tsconfig-node-scripts.json support/checkSquashMergeableBranch.ts",
|
|
50
51
|
"util:prep-next-from-existing-build": "ts-node --project ./tsconfig-node-scripts.json support/prepReleaseCommit.ts --next",
|
|
51
52
|
"util:publish-next": "npm publish --tag next",
|
|
52
53
|
"util:push-tags": "git push --follow-tags",
|
|
@@ -101,7 +102,7 @@
|
|
|
101
102
|
"autoprefixer": "10.3.7",
|
|
102
103
|
"axe-core": "4.3.5",
|
|
103
104
|
"babel-loader": "8.2.3",
|
|
104
|
-
"chalk": "
|
|
105
|
+
"chalk": "4.1.2",
|
|
105
106
|
"cheerio": "1.0.0-rc.10",
|
|
106
107
|
"chokidar": "3.5.2",
|
|
107
108
|
"concurrently": "6.4.0",
|
package/readme.md
CHANGED
|
@@ -17,12 +17,12 @@ The simplest way to set up the components in your project is to add the followin
|
|
|
17
17
|
```html
|
|
18
18
|
<script
|
|
19
19
|
type="module"
|
|
20
|
-
src="https://unpkg.com/@esri/calcite-components@1.0.0-next.
|
|
20
|
+
src="https://unpkg.com/@esri/calcite-components@1.0.0-next.316/dist/calcite/calcite.esm.js"
|
|
21
21
|
></script>
|
|
22
22
|
<link
|
|
23
23
|
rel="stylesheet"
|
|
24
24
|
type="text/css"
|
|
25
|
-
href="https://unpkg.com/@esri/calcite-components@1.0.0-next.
|
|
25
|
+
href="https://unpkg.com/@esri/calcite-components@1.0.0-next.316/dist/calcite/calcite.css"
|
|
26
26
|
/>
|
|
27
27
|
```
|
|
28
28
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M14.071 2H2.93a.929.929 0 0 0-.93.929V14.07a.929.929 0 0 0 .929.929H14.07a.929.929 0 0 0 .929-.929V2.93a.929.929 0 0 0-.928-.93zM7.557 12.451L4.452 9.346l1.02-1.022 2.085 2.09 4.77-4.771 1.02 1.02z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M20.719 3H4.28A1.281 1.281 0 0 0 3 4.281v16.437A1.282 1.282 0 0 0 4.281 22h16.437A1.282 1.282 0 0 0 22 20.718V4.281A1.281 1.281 0 0 0 20.719 3zM10.502 17.277l-3.79-3.585.92-.918 2.865 2.676 7.027-6.874.92.92z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M27.198 4h-21.4A1.8 1.8 0 0 0 4 5.798V27.2A1.8 1.8 0 0 0 5.8 29h21.4a1.8 1.8 0 0 0 1.8-1.8V5.798A1.802 1.802 0 0 0 27.198 4zm-13.69 18.291l-4.213-4.01.92-.92 3.288 3.1 10.077-9.924.92.92z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M23 13H1v-2h22z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M2.929 2H14.07a.929.929 0 0 1 .929.929V14.07a.929.929 0 0 1-.929.929H2.93a.929.929 0 0 1-.93-.928V2.93A.929.929 0 0 1 2.929 2z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M4.281 3h16.437A1.281 1.281 0 0 1 22 4.281v16.437A1.282 1.282 0 0 1 20.718 22H4.282A1.282 1.282 0 0 1 3 20.718V4.281A1.281 1.281 0 0 1 4.281 3z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M5.798 4h21.404A1.798 1.798 0 0 1 29 5.798V27.2a1.8 1.8 0 0 1-1.8 1.8H5.8A1.8 1.8 0 0 1 4 27.2V5.798A1.798 1.798 0 0 1 5.798 4z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zM14 10.778L10.778 14H6.222L3 10.778V6.222L6.222 3h4.556L14 6.222zM8.5 7.793l2.828-2.829.708.708L9.207 8.5l2.829 2.828-.708.708L8.5 9.207l-2.828 2.829-.708-.708L7.793 8.5 4.964 5.672l.708-.708z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zM21 16.02L16.021 21H8.979L4 16.02V8.98L8.979 4h7.042L21 8.98zm-8.5-4.227l4.243-4.243.707.707-4.243 4.243 4.243 4.243-.707.707-4.243-4.243-4.243 4.243-.707-.707 4.243-4.243L7.55 8.257l.707-.707z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zM28 21.264L21.264 28h-9.528L5 21.264v-9.528L11.736 5h9.528L28 11.736zm-11.5-5.471l5.657-5.657.707.707-5.657 5.657 5.657 5.657-.707.707-5.657-5.657-5.657 5.657-.707-.707 5.657-5.657-5.657-5.657.707-.707z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zm1.126 9.328l-.99.99L8.5 9.49l-2.828 2.828-.99-.99L7.51 8.5 4.682 5.672l.99-.99L8.5 7.51l2.828-2.828.99.99L9.49 8.5z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zm1.298 13.742l-.99.991-4.243-4.242-4.242 4.242-.991-.99 4.242-4.243-4.242-4.242.99-.991 4.243 4.242 4.242-4.242.991.99-4.242 4.243z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zm1.126 9.328l-.99.99L8.5 9.49l-2.828 2.828-.99-.99L7.51 8.5 4.682 5.672l.99-.99L8.5 7.51l2.828-2.828.99.99L9.49 8.5z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zm1.298 13.742l-.99.991-4.243-4.242-4.242 4.242-.991-.99 4.242-4.243-4.242-4.242.99-.991 4.243 4.242 4.242-4.242.991.99-4.242 4.243z"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
|