@esri/calcite-components 1.0.0-next.313 → 1.0.0-next.317
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-01c9406e.js +5 -0
- package/dist/calcite/{p-765fb8ed.entry.js → p-058ee7b0.entry.js} +1 -1
- package/dist/calcite/p-0b53c2c6.system.entry.js +5 -0
- package/dist/calcite/p-0d67d5bf.system.entry.js +5 -0
- 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-12a9599d.system.entry.js +5 -0
- package/dist/calcite/p-141051c4.entry.js +5 -0
- package/dist/calcite/{p-9338b0bc.entry.js → p-198902ca.entry.js} +1 -1
- package/dist/calcite/p-19d3c50f.system.entry.js +5 -0
- package/dist/calcite/{p-cc788d2e.entry.js → p-1ad123f9.entry.js} +1 -1
- package/dist/calcite/p-1de453ba.entry.js +5 -0
- package/dist/calcite/p-1e4955d7.entry.js +5 -0
- package/dist/calcite/{p-e33fe285.system.entry.js → p-1eb04aad.system.entry.js} +1 -1
- package/dist/calcite/p-1eb85972.entry.js +5 -0
- 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-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-26f8f2d1.js +5 -0
- package/dist/calcite/{p-d6e30c54.entry.js → p-29d4765b.entry.js} +1 -1
- package/dist/calcite/p-2b137143.system.entry.js +5 -0
- package/dist/calcite/{p-4e16515a.system.entry.js → p-30afa3c6.system.entry.js} +1 -1
- package/dist/calcite/p-35c5e6bd.entry.js +5 -0
- 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-6484ffb7.system.entry.js → p-3f07a3e7.system.entry.js} +1 -1
- package/dist/calcite/p-3f82f702.system.entry.js +5 -0
- package/dist/calcite/p-41f87fe7.entry.js +5 -0
- package/dist/calcite/p-42091a1f.system.entry.js +5 -0
- package/dist/calcite/p-43020fb5.js +5 -0
- package/dist/calcite/p-437e9d52.entry.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-4af85388.system.entry.js +5 -0
- package/dist/calcite/p-4bd82e40.system.js +5 -0
- package/dist/calcite/p-4e47f1a5.entry.js +5 -0
- package/dist/calcite/{p-cced5508.system.entry.js → p-4ee2f6cf.system.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-535d635b.system.entry.js +5 -0
- package/dist/calcite/{p-ef39847e.entry.js → p-55bfe4fc.entry.js} +1 -1
- package/dist/calcite/p-58e21391.system.entry.js +5 -0
- package/dist/calcite/p-5c606579.entry.js +5 -0
- package/dist/calcite/p-5dc52ebc.entry.js +5 -0
- package/dist/calcite/p-5dce20e5.system.entry.js +5 -0
- package/dist/calcite/{p-dff7dc90.system.js → p-60916f97.system.js} +1 -1
- package/dist/calcite/p-65748440.entry.js +5 -0
- package/dist/calcite/p-6af46786.entry.js +5 -0
- package/dist/calcite/{p-e6d05ad6.system.entry.js → p-6c5b849f.system.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-7311f615.entry.js +5 -0
- package/dist/calcite/{p-4d11efdb.system.entry.js → p-7325e7fc.system.entry.js} +1 -1
- package/dist/calcite/p-732d4acf.entry.js +5 -0
- package/dist/calcite/{p-25caf637.system.entry.js → p-784e4e32.system.entry.js} +1 -1
- package/dist/calcite/p-7bf46f12.system.entry.js +5 -0
- package/dist/calcite/{p-cf03b144.system.entry.js → p-832affcb.system.entry.js} +1 -1
- package/dist/calcite/{p-38bd222a.entry.js → p-87f1831b.entry.js} +1 -1
- package/dist/calcite/p-88784777.system.entry.js +5 -0
- 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-8e252799.system.js +1 -1
- package/dist/calcite/{p-ace12b8d.entry.js → p-9339cca3.entry.js} +1 -1
- package/dist/calcite/{p-f07d3627.js → p-935ff1d1.js} +1 -1
- package/dist/calcite/{p-1dd440e6.system.entry.js → p-9470d123.system.entry.js} +1 -1
- package/dist/calcite/p-949c8f43.system.entry.js +5 -0
- package/dist/calcite/{p-840f2937.system.entry.js → p-95a17f62.system.entry.js} +1 -1
- package/dist/calcite/p-9634f89d.entry.js +5 -0
- package/dist/calcite/p-97f8034a.system.entry.js +5 -0
- 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-9dff8dc8.system.entry.js +5 -0
- package/dist/calcite/p-a7be885b.entry.js +5 -0
- 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-ab8ce668.system.entry.js +5 -0
- package/dist/calcite/{p-74f390e1.system.entry.js → p-ac38b743.system.entry.js} +2 -2
- package/dist/calcite/{p-6296644b.entry.js → p-b16b831d.entry.js} +1 -1
- package/dist/calcite/{p-e956e279.js → p-b22ebcf2.js} +1 -1
- package/dist/calcite/{p-16f2d814.system.entry.js → p-b37b7b9e.system.entry.js} +1 -1
- package/dist/calcite/{p-defcee80.system.entry.js → p-b5d21a5d.system.entry.js} +1 -1
- package/dist/calcite/p-b6aabc24.entry.js +5 -0
- package/dist/calcite/{p-0229a408.js → p-b6b6ec04.js} +1 -1
- package/dist/calcite/p-bf82491b.entry.js +5 -0
- 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-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-d4e9d7bb.system.entry.js +5 -0
- package/dist/calcite/p-dab6ebab.system.entry.js +5 -0
- package/dist/calcite/p-ddcf2620.system.entry.js +5 -0
- package/dist/calcite/p-e1da1646.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-e9e13891.entry.js +5 -0
- package/dist/calcite/{p-aec398f3.system.entry.js → p-eeb8dfe5.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-4035444d.system.js → p-f825e054.system.js} +1 -1
- package/dist/calcite/{p-cbf6bb04.system.js → p-f8266626.system.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-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 +4 -5
- 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 +2 -3
- 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 +18 -19
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +6 -7
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -8
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +2 -16
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -14
- 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 +8 -9
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +26 -27
- package/dist/cjs/calcite-input.cjs.entry.js +16 -12
- 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 +3 -4
- 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 +2 -2
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +23 -26
- package/dist/cjs/calcite-radio_2.cjs.entry.js +10 -11
- 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 +3 -4
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -6
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -7
- 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 +3 -4
- package/dist/cjs/calcite-tree_2.cjs.entry.js +2 -3
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite.cjs.js +1 -1
- 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/loader.cjs.js +1 -1
- package/dist/cjs/{locale-69dc9583.js → locale-d223548e.js} +1 -1
- package/dist/cjs/{number-e6448e15.js → number-7d42a856.js} +8 -3
- package/dist/cjs/{popper-a7580aca.js → popper-4c24a334.js} +1 -1
- package/dist/cjs/{resources-3f7b51c8.js → resources-c2496817.js} +1 -1
- package/dist/cjs/{resources-cd25dbae.js → resources-fee43dc4.js} +4 -4
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +1 -2
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +1 -2
- 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-card/calcite-card.js +1 -2
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +3 -4
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +1 -2
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +1 -2
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +1 -2
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +1 -2
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +1 -2
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +3 -4
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +2 -3
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +1 -2
- package/dist/collection/components/calcite-filter/calcite-filter.js +3 -37
- package/dist/collection/components/calcite-input/calcite-input.js +12 -7
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +1 -2
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +1 -2
- package/dist/collection/components/calcite-modal/calcite-modal.js +2 -3
- package/dist/collection/components/calcite-panel/calcite-panel.js +2 -2
- package/dist/collection/components/calcite-pick-list/shared-list-logic.js +2 -2
- package/dist/collection/components/calcite-pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +3 -5
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +17 -20
- 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-slider/calcite-slider.js +1 -2
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +1 -2
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +1 -2
- package/dist/collection/components/calcite-switch/calcite-switch.js +1 -2
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +4 -5
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +7 -7
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +1 -2
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +1 -2
- package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
- package/dist/collection/utils/dom.js +6 -0
- package/dist/collection/utils/key.js +0 -23
- package/dist/components/CalciteExpandToggle.js +3 -3
- package/dist/components/calcite-accordion-item.js +1 -2
- package/dist/components/calcite-accordion.js +1 -2
- 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-card.js +1 -2
- package/dist/components/calcite-color-picker-hex-input2.js +1 -2
- package/dist/components/calcite-color-picker-swatch2.js +1 -1
- package/dist/components/calcite-color-picker.js +3 -4
- package/dist/components/calcite-combobox.js +1 -2
- package/dist/components/calcite-date-picker-day2.js +1 -2
- package/dist/components/calcite-date-picker-month-header2.js +3 -4
- package/dist/components/calcite-date-picker-month2.js +1 -2
- package/dist/components/calcite-date-picker2.js +1 -2
- package/dist/components/calcite-dropdown-item.js +1 -2
- package/dist/components/calcite-dropdown2.js +2 -3
- package/dist/components/calcite-filter2.js +1 -16
- package/dist/components/calcite-input-date-picker.js +1 -2
- package/dist/components/calcite-input-time-picker.js +1 -2
- package/dist/components/calcite-input2.js +11 -7
- package/dist/components/calcite-modal.js +3 -4
- package/dist/components/calcite-panel.js +2 -2
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover2.js +1 -1
- package/dist/components/calcite-radio-button.js +3 -4
- package/dist/components/calcite-radio-group.js +17 -20
- package/dist/components/calcite-select.js +2 -1
- package/dist/components/calcite-shell-panel.js +17 -8
- package/dist/components/calcite-slider.js +2 -3
- package/dist/components/calcite-stepper-item.js +1 -2
- package/dist/components/calcite-stepper.js +1 -2
- package/dist/components/calcite-switch2.js +1 -2
- package/dist/components/calcite-tab-nav2.js +3 -3
- package/dist/components/calcite-tab-title2.js +4 -5
- package/dist/components/calcite-time-picker2.js +7 -8
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tooltip-manager2.js +1 -2
- package/dist/components/calcite-tree-item.js +2 -3
- package/dist/components/dom.js +7 -1
- package/dist/components/form.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/number.js +5 -2
- package/dist/components/shared-list-render.js +3 -3
- package/dist/custom-elements/index.js +118 -141
- package/dist/esm/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-4b38a7d1.js} +3 -3
- package/dist/esm/calcite-accordion_2.entry.js +3 -4
- 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 +2 -3
- 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 +5 -6
- package/dist/esm/calcite-combobox_3.entry.js +5 -6
- package/dist/esm/calcite-date-picker_4.entry.js +10 -11
- package/dist/esm/calcite-dropdown_3.entry.js +5 -6
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +2 -16
- package/dist/esm/calcite-graph_2.entry.js +4 -5
- 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 +8 -9
- package/dist/esm/calcite-input-message.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker_2.entry.js +11 -12
- package/dist/esm/calcite-input.entry.js +15 -11
- 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 +3 -4
- 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 +2 -2
- package/dist/esm/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm/calcite-popover_2.entry.js +3 -3
- package/dist/esm/calcite-radio-group_2.entry.js +19 -22
- package/dist/esm/calcite-radio_2.entry.js +5 -6
- 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 +3 -4
- package/dist/esm/calcite-switch.entry.js +4 -5
- package/dist/esm/calcite-tab_4.entry.js +6 -7
- 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 +3 -4
- package/dist/esm/calcite-tree_2.entry.js +2 -3
- package/dist/esm/calcite-value-list_2.entry.js +2 -2
- package/dist/esm/calcite.js +1 -1
- 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/loader.js +1 -1
- package/dist/esm/{locale-6c1b85c7.js → locale-641b6af3.js} +1 -1
- package/dist/esm/{number-e7393766.js → number-2609a8bc.js} +5 -2
- package/dist/esm/{popper-f5caedc4.js → popper-ed1eefa6.js} +1 -1
- package/dist/esm/{resources-bece7a88.js → resources-1a5b5ecf.js} +1 -1
- package/dist/esm/{resources-16a2a25a.js → resources-c31631e5.js} +4 -4
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- 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/calcite.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/loader.js +1 -1
- package/dist/esm-es5/locale-641b6af3.js +5 -0
- package/dist/esm-es5/number-2609a8bc.js +5 -0
- package/dist/esm-es5/{popper-f5caedc4.js → popper-ed1eefa6.js} +1 -1
- package/dist/esm-es5/{resources-bece7a88.js → resources-1a5b5ecf.js} +1 -1
- package/dist/esm-es5/{resources-16a2a25a.js → resources-c31631e5.js} +1 -1
- package/dist/extras/docs-json.json +3 -23
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +2 -2
- package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +2 -1
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +1 -10
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -2
- package/dist/types/components.d.ts +1 -11
- package/dist/types/utils/dom.d.ts +4 -0
- package/dist/types/utils/key.d.ts +0 -4
- package/hydrate/index.js +117 -141
- package/package.json +7 -6
- 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-044d603d.system.entry.js +0 -5
- package/dist/calcite/p-0bbe872e.system.entry.js +0 -5
- package/dist/calcite/p-0d807182.system.entry.js +0 -5
- package/dist/calcite/p-0f014648.entry.js +0 -5
- package/dist/calcite/p-0fa1ba75.entry.js +0 -5
- package/dist/calcite/p-127e3513.system.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-1a962bdd.js +0 -5
- package/dist/calcite/p-1aa89347.system.entry.js +0 -5
- package/dist/calcite/p-1b8c3060.entry.js +0 -5
- package/dist/calcite/p-2a714a22.entry.js +0 -5
- package/dist/calcite/p-2aa3007a.entry.js +0 -5
- package/dist/calcite/p-33226317.entry.js +0 -5
- package/dist/calcite/p-34038a94.system.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-45b4443f.entry.js +0 -5
- package/dist/calcite/p-4778c5cf.system.entry.js +0 -5
- package/dist/calcite/p-4f1f83d2.entry.js +0 -5
- package/dist/calcite/p-52cc870b.js +0 -5
- package/dist/calcite/p-55a5535b.system.entry.js +0 -5
- package/dist/calcite/p-56b352bf.system.js +0 -5
- package/dist/calcite/p-592da79d.system.entry.js +0 -5
- package/dist/calcite/p-5eee672a.system.entry.js +0 -5
- package/dist/calcite/p-5efd81e1.entry.js +0 -5
- package/dist/calcite/p-63da2e34.system.entry.js +0 -5
- package/dist/calcite/p-63e60894.entry.js +0 -5
- package/dist/calcite/p-648af80f.system.entry.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-72563742.js +0 -5
- package/dist/calcite/p-7ba971b5.system.entry.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-85032edc.system.entry.js +0 -5
- package/dist/calcite/p-8603b2e1.entry.js +0 -5
- package/dist/calcite/p-91645bf7.system.js +0 -5
- package/dist/calcite/p-9577dfd9.entry.js +0 -5
- package/dist/calcite/p-9a3bed69.entry.js +0 -5
- package/dist/calcite/p-9be6633a.entry.js +0 -5
- package/dist/calcite/p-a46c3870.system.entry.js +0 -5
- package/dist/calcite/p-a61d85db.system.entry.js +0 -5
- package/dist/calcite/p-aaec0d11.system.entry.js +0 -5
- package/dist/calcite/p-b2ab0485.js +0 -5
- package/dist/calcite/p-bdb92546.entry.js +0 -5
- package/dist/calcite/p-bf1812b4.entry.js +0 -5
- package/dist/calcite/p-c87c04a9.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-dbe899c6.system.entry.js +0 -5
- package/dist/calcite/p-e616f9b5.entry.js +0 -5
- package/dist/calcite/p-f1e111f4.system.entry.js +0 -5
- package/dist/cjs/key-8bfb93ec.js +0 -37
- 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/components/key.js +0 -33
- package/dist/esm/key-69001a68.js +0 -33
- package/dist/esm-es5/CalciteExpandToggle-677f2f8b.js +0 -5
- package/dist/esm-es5/dom-f24e866c.js +0 -5
- package/dist/esm-es5/key-69001a68.js +0 -5
- package/dist/esm-es5/locale-6c1b85c7.js +0 -5
- package/dist/esm-es5/number-e7393766.js +0 -5
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { f as forceUpdate, h } from './index-9de00868.js';
|
|
6
|
-
import { a as getElementDir } from './dom-
|
|
6
|
+
import { a as getElementStyleDir, b as getElementDir } from './dom-dc012a45.js';
|
|
7
7
|
import { S as SLOTS } from './resources-584acd9b.js';
|
|
8
8
|
import { S as SLOTS$1 } from './resources-7c6029b6.js';
|
|
9
9
|
|
|
@@ -71,7 +71,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
|
|
|
71
71
|
return referenceElement;
|
|
72
72
|
};
|
|
73
73
|
const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
|
|
74
|
-
const rtl =
|
|
74
|
+
const rtl = getElementStyleDir(el) === "rtl";
|
|
75
75
|
const expandText = expanded ? intlCollapse : intlExpand;
|
|
76
76
|
const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];
|
|
77
77
|
if (rtl) {
|
|
@@ -80,7 +80,7 @@ const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, p
|
|
|
80
80
|
const end = getCalcitePosition(position, el) === "end";
|
|
81
81
|
const expandIcon = end ? icons[1] : icons[0];
|
|
82
82
|
const collapseIcon = end ? icons[0] : icons[1];
|
|
83
|
-
const actionNode = (h("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 }));
|
|
83
|
+
const actionNode = (h("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 }));
|
|
84
84
|
return tooltip ? h("calcite-tooltip-manager", null, actionNode) : actionNode;
|
|
85
85
|
};
|
|
86
86
|
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-9de00868.js';
|
|
6
|
-
import {
|
|
7
|
-
import { d as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom-f24e866c.js';
|
|
6
|
+
import { e as getElementProp, b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
|
|
8
7
|
import './guid-196bd5ea.js';
|
|
9
8
|
|
|
10
9
|
const calciteAccordionCss = "@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{display:block;position:relative;max-width:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);border-bottom-width:0;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0;border-color:transparent}:host([appearance=transparent]){border-color:transparent;--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}";
|
|
@@ -63,7 +62,7 @@ let CalciteAccordion = class {
|
|
|
63
62
|
const item = e.detail.item;
|
|
64
63
|
const parent = e.detail.parent;
|
|
65
64
|
if (this.el === parent) {
|
|
66
|
-
const key =
|
|
65
|
+
const key = item.key;
|
|
67
66
|
const itemToFocus = e.target;
|
|
68
67
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
69
68
|
const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
|
|
@@ -203,7 +202,7 @@ let CalciteAccordionItem = class {
|
|
|
203
202
|
//--------------------------------------------------------------------------
|
|
204
203
|
keyDownHandler(e) {
|
|
205
204
|
if (e.target === this.el) {
|
|
206
|
-
switch (
|
|
205
|
+
switch (e.key) {
|
|
207
206
|
case " ":
|
|
208
207
|
case "Enter":
|
|
209
208
|
this.emitRequestedItem();
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, a as overflowActions, C as CalciteExpandToggle, g as getOverflowCount } from './CalciteExpandToggle-
|
|
7
|
-
import { f as focusElement, g as getSlotted } from './dom-
|
|
6
|
+
import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, a as overflowActions, C as CalciteExpandToggle, g as getOverflowCount } from './CalciteExpandToggle-4b38a7d1.js';
|
|
7
|
+
import { f as focusElement, g as getSlotted } from './dom-dc012a45.js';
|
|
8
8
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
9
9
|
import { d as debounce } from './debounce-79648d42.js';
|
|
10
10
|
import './resources-584acd9b.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-9de00868.js';
|
|
6
6
|
import { S as SLOTS, I as ICONS, T as TEXT } from './resources-7c6029b6.js';
|
|
7
|
-
import { g as getSlotted } from './dom-
|
|
7
|
+
import { g as getSlotted } from './dom-dc012a45.js';
|
|
8
8
|
import { S as SLOTS$1 } from './resources-584acd9b.js';
|
|
9
9
|
import './guid-196bd5ea.js';
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-9de00868.js';
|
|
6
6
|
import { C as CSS, I as ICONS, S as SLOTS } from './resources-584acd9b.js';
|
|
7
|
-
import { g as getSlotted, f as focusElement } from './dom-
|
|
7
|
+
import { g as getSlotted, f as focusElement } from './dom-dc012a45.js';
|
|
8
8
|
import { g as getRoundRobinIndex } from './array-91a648e2.js';
|
|
9
9
|
import { g as guid } from './guid-196bd5ea.js';
|
|
10
10
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { t as toggleChildActionText, C as CalciteExpandToggle } from './CalciteExpandToggle-
|
|
7
|
-
import { f as focusElement, g as getSlotted,
|
|
6
|
+
import { t as toggleChildActionText, C as CalciteExpandToggle } from './CalciteExpandToggle-4b38a7d1.js';
|
|
7
|
+
import { f as focusElement, g as getSlotted, b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
|
|
8
8
|
import './resources-584acd9b.js';
|
|
9
9
|
import './resources-7c6029b6.js';
|
|
10
10
|
import './guid-196bd5ea.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { s as setRequestedIcon,
|
|
6
|
+
import { s as setRequestedIcon, b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
|
|
7
7
|
import { S as StatusIcons } from './interfaces-51dc4e1b.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
@@ -60,13 +60,11 @@ let CalciteAlert = class {
|
|
|
60
60
|
this.queueLength = 0;
|
|
61
61
|
/** is the alert queued */
|
|
62
62
|
this.queued = false;
|
|
63
|
-
this.
|
|
64
|
-
this.trackTimer =
|
|
63
|
+
this.autoDismissTimeoutId = null;
|
|
64
|
+
this.trackTimer = Date.now();
|
|
65
65
|
/** close and emit the closed alert and the queue */
|
|
66
66
|
this.closeAlert = () => {
|
|
67
|
-
|
|
68
|
-
this.autoDismissTimeout = null;
|
|
69
|
-
}
|
|
67
|
+
this.autoDismissTimeoutId = null;
|
|
70
68
|
this.queued = false;
|
|
71
69
|
this.active = false;
|
|
72
70
|
this.queue = this.queue.filter((e) => e !== this.el);
|
|
@@ -90,10 +88,10 @@ let CalciteAlert = class {
|
|
|
90
88
|
updateRequestedIcon() {
|
|
91
89
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
92
90
|
}
|
|
93
|
-
updateDuration(
|
|
94
|
-
if (this.autoDismiss &&
|
|
95
|
-
window.clearTimeout(this.
|
|
96
|
-
this.
|
|
91
|
+
updateDuration() {
|
|
92
|
+
if (this.autoDismiss && this.autoDismissTimeoutId) {
|
|
93
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
94
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
|
|
97
95
|
}
|
|
98
96
|
}
|
|
99
97
|
//--------------------------------------------------------------------------
|
|
@@ -113,9 +111,7 @@ let CalciteAlert = class {
|
|
|
113
111
|
this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
|
|
114
112
|
}
|
|
115
113
|
disconnectedCallback() {
|
|
116
|
-
|
|
117
|
-
window.clearTimeout(this.autoDismissTimeout);
|
|
118
|
-
}
|
|
114
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
119
115
|
}
|
|
120
116
|
render() {
|
|
121
117
|
const dir = getElementDir(this.el);
|
|
@@ -123,14 +119,13 @@ let CalciteAlert = class {
|
|
|
123
119
|
const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;
|
|
124
120
|
const queueCount = (h("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
|
|
125
121
|
const { active, autoDismiss, label, queued, requestedIcon } = this;
|
|
126
|
-
const progressBar = h("div", { class: "alert-dismiss-progress" });
|
|
127
122
|
const role = autoDismiss ? "alert" : "alertdialog";
|
|
128
123
|
const hidden = !active;
|
|
129
124
|
return (h(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, h("div", { class: {
|
|
130
125
|
container: true,
|
|
131
126
|
queued,
|
|
132
127
|
[CSS_UTILITY.rtl]: dir === "rtl"
|
|
133
|
-
} }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ?
|
|
128
|
+
} }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
|
|
134
129
|
}
|
|
135
130
|
// when an alert is opened or closed, update queue and determine active alert
|
|
136
131
|
alertSync(event) {
|
|
@@ -176,9 +171,9 @@ let CalciteAlert = class {
|
|
|
176
171
|
var _a;
|
|
177
172
|
if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
|
|
178
173
|
this.openAlert();
|
|
179
|
-
if (this.autoDismiss && !this.
|
|
180
|
-
this.trackTimer =
|
|
181
|
-
this.
|
|
174
|
+
if (this.autoDismiss && !this.autoDismissTimeoutId) {
|
|
175
|
+
this.trackTimer = Date.now();
|
|
176
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
|
|
182
177
|
}
|
|
183
178
|
}
|
|
184
179
|
else {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import {
|
|
6
|
+
import { b as getElementDir, c as getThemeName } from './dom-dc012a45.js';
|
|
7
7
|
import { h as hexToRGB, i as isValidHex } from './utils-6beb0662.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { g as getSlotted, a as
|
|
6
|
+
import { g as getSlotted, a as getElementStyleDir, C as CSS_UTILITY } from './dom-dc012a45.js';
|
|
7
7
|
import { C as CalciteHeading } from './CalciteHeading-1d6cd311.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
@@ -208,7 +208,7 @@ let CalciteBlockSection = class {
|
|
|
208
208
|
}
|
|
209
209
|
render() {
|
|
210
210
|
const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
|
|
211
|
-
const dir =
|
|
211
|
+
const dir = getElementStyleDir(el);
|
|
212
212
|
const arrowIcon = open
|
|
213
213
|
? ICONS.menuOpen
|
|
214
214
|
: dir === "rtl"
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import {
|
|
7
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
6
|
+
import { d as closestElementCrossShadowBoundary, b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
|
|
7
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-0d804a87.js';
|
|
8
8
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
9
9
|
import './guid-196bd5ea.js';
|
|
10
10
|
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import {
|
|
7
|
-
import { g as getKey } from './key-69001a68.js';
|
|
6
|
+
import { b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
|
|
8
7
|
import './guid-196bd5ea.js';
|
|
9
8
|
|
|
10
9
|
const CSS = {
|
|
@@ -72,7 +71,7 @@ let CalciteCard = class {
|
|
|
72
71
|
this.selectCard();
|
|
73
72
|
};
|
|
74
73
|
this.cardSelectKeyDown = (e) => {
|
|
75
|
-
switch (
|
|
74
|
+
switch (e.key) {
|
|
76
75
|
case " ":
|
|
77
76
|
case "Enter":
|
|
78
77
|
this.selectCard();
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
6
|
import { g as guid } from './guid-196bd5ea.js';
|
|
7
|
-
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
9
|
-
import './dom-
|
|
7
|
+
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-6b717ce8.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-0d804a87.js';
|
|
9
|
+
import './dom-dc012a45.js';
|
|
10
10
|
|
|
11
11
|
const calciteCheckboxCss = "@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{overflow:hidden;display:block;background-color:var(--calcite-ui-foreground-1);pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);stroke:currentColor;stroke-width:1;fill:currentColor;width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host .toggle:focus .check-svg,:host .toggle:active .check-svg{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out}:host([disabled]){cursor:default;opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
12
12
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { g as getSlotted,
|
|
6
|
+
import { g as getSlotted, b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
|
|
7
7
|
import { g as guid } from './guid-196bd5ea.js';
|
|
8
8
|
|
|
9
9
|
const CSS = {
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { f as focusElement,
|
|
6
|
+
import { f as focusElement, b as getElementDir, C as CSS_UTILITY, c as getThemeName } from './dom-dc012a45.js';
|
|
7
7
|
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, h as hexToRGB, b as hexChar } from './utils-6beb0662.js';
|
|
8
|
-
import { g as getKey } from './key-69001a68.js';
|
|
9
8
|
import { c as clamp } from './math-456207f5.js';
|
|
10
9
|
import { d as debounce, i as isObject } from './debounce-79648d42.js';
|
|
11
10
|
import './guid-196bd5ea.js';
|
|
@@ -2430,7 +2429,7 @@ let CalciteColorPicker = class {
|
|
|
2430
2429
|
this.updateChannelsFromColor(this.color);
|
|
2431
2430
|
};
|
|
2432
2431
|
this.handleColorFieldScopeKeyDown = (event) => {
|
|
2433
|
-
const key =
|
|
2432
|
+
const key = event.key;
|
|
2434
2433
|
const arrowKeyToXYOffset = {
|
|
2435
2434
|
ArrowUp: { x: 0, y: -10 },
|
|
2436
2435
|
ArrowRight: { x: 10, y: 0 },
|
|
@@ -2445,7 +2444,7 @@ let CalciteColorPicker = class {
|
|
|
2445
2444
|
};
|
|
2446
2445
|
this.handleHueScopeKeyDown = (event) => {
|
|
2447
2446
|
const modifier = event.shiftKey ? 10 : 1;
|
|
2448
|
-
const key =
|
|
2447
|
+
const key = event.key;
|
|
2449
2448
|
const arrowKeyToXOffset = {
|
|
2450
2449
|
ArrowUp: 1,
|
|
2451
2450
|
ArrowRight: 1,
|
|
@@ -2783,7 +2782,7 @@ let CalciteColorPicker = class {
|
|
|
2783
2782
|
// using @Listen as a workaround for VDOM listener not firing
|
|
2784
2783
|
handleChannelKeyUpOrDown(event) {
|
|
2785
2784
|
this.shiftKeyChannelAdjustment = 0;
|
|
2786
|
-
const key =
|
|
2785
|
+
const key = event.key;
|
|
2787
2786
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
2788
2787
|
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$2.channel); })) {
|
|
2789
2788
|
return;
|
|
@@ -3180,7 +3179,7 @@ let CalciteColorPickerHexInput = class {
|
|
|
3180
3179
|
onInputKeyDown(event) {
|
|
3181
3180
|
const { altKey, ctrlKey, metaKey, shiftKey } = event;
|
|
3182
3181
|
const { internalColor, value } = this;
|
|
3183
|
-
const key =
|
|
3182
|
+
const key = event.key;
|
|
3184
3183
|
if (key === "Tab" || key === "Enter") {
|
|
3185
3184
|
this.onInputChange();
|
|
3186
3185
|
return;
|
|
@@ -5,12 +5,11 @@
|
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
6
|
import { a as isSymbol, S as Symbol, d as debounce } from './debounce-79648d42.js';
|
|
7
7
|
import { i as isArray, f as forIn } from './forIn-48d8fb84.js';
|
|
8
|
-
import { n as nodeListToArray,
|
|
9
|
-
import {
|
|
10
|
-
import { u as updatePopper, c as createPopper, C as CSS$2 } from './popper-f5caedc4.js';
|
|
8
|
+
import { n as nodeListToArray, b as getElementDir, e as getElementProp, C as CSS_UTILITY } from './dom-dc012a45.js';
|
|
9
|
+
import { u as updatePopper, c as createPopper, C as CSS$2 } from './popper-ed1eefa6.js';
|
|
11
10
|
import { g as guid } from './guid-196bd5ea.js';
|
|
12
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
13
|
-
import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
11
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-0d804a87.js';
|
|
12
|
+
import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-6b717ce8.js';
|
|
14
13
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -257,7 +256,7 @@ let CalciteCombobox = class {
|
|
|
257
256
|
this.setFocus();
|
|
258
257
|
};
|
|
259
258
|
this.keydownHandler = (event) => {
|
|
260
|
-
const key =
|
|
259
|
+
const { key } = event;
|
|
261
260
|
switch (key) {
|
|
262
261
|
case "Tab":
|
|
263
262
|
this.activeChipIndex = -1;
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-9de00868.js';
|
|
6
|
-
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-
|
|
7
|
-
import {
|
|
8
|
-
import { g as getKey } from './key-69001a68.js';
|
|
6
|
+
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-1a5b5ecf.js';
|
|
7
|
+
import { b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
|
|
9
8
|
import { C as CalciteHeading } from './CalciteHeading-1d6cd311.js';
|
|
10
|
-
import './locale-
|
|
11
|
-
import './number-
|
|
9
|
+
import './locale-641b6af3.js';
|
|
10
|
+
import './number-2609a8bc.js';
|
|
12
11
|
import './guid-196bd5ea.js';
|
|
13
12
|
|
|
14
13
|
const calciteDatePickerCss = "@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible;border-radius:0;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1)}:host([scale=s]){max-width:216px}:host([scale=m]){max-width:286px}:host([scale=l]){max-width:398px}";
|
|
@@ -40,7 +39,7 @@ let CalciteDatePicker = class {
|
|
|
40
39
|
//
|
|
41
40
|
//--------------------------------------------------------------------------
|
|
42
41
|
this.keyUpHandler = (e) => {
|
|
43
|
-
if (
|
|
42
|
+
if (e.key === "Escape") {
|
|
44
43
|
this.reset();
|
|
45
44
|
}
|
|
46
45
|
};
|
|
@@ -419,7 +418,7 @@ let CalciteDatePickerDay = class {
|
|
|
419
418
|
!this.disabled && this.calciteDaySelect.emit();
|
|
420
419
|
};
|
|
421
420
|
this.keyDownHandler = (e) => {
|
|
422
|
-
const key =
|
|
421
|
+
const key = e.key;
|
|
423
422
|
if (key === " " || key === "Enter") {
|
|
424
423
|
!this.disabled && this.calciteDaySelect.emit();
|
|
425
424
|
}
|
|
@@ -465,7 +464,7 @@ let CalciteDatePickerMonth = class {
|
|
|
465
464
|
//--------------------------------------------------------------------------
|
|
466
465
|
this.keyDownHandler = (e) => {
|
|
467
466
|
const isRTL = this.el.dir === "rtl";
|
|
468
|
-
switch (
|
|
467
|
+
switch (e.key) {
|
|
469
468
|
case "ArrowUp":
|
|
470
469
|
e.preventDefault();
|
|
471
470
|
this.addDays(-7);
|
|
@@ -736,7 +735,7 @@ let CalciteDatePickerMonthHeader = class {
|
|
|
736
735
|
*/
|
|
737
736
|
this.onYearKey = (e) => {
|
|
738
737
|
const year = e.target.value;
|
|
739
|
-
switch (
|
|
738
|
+
switch (e.key) {
|
|
740
739
|
case "ArrowDown":
|
|
741
740
|
e.preventDefault();
|
|
742
741
|
this.setYear(year, -1);
|
|
@@ -754,7 +753,7 @@ let CalciteDatePickerMonthHeader = class {
|
|
|
754
753
|
this.handleArrowClick(e, this.prevMonthDate);
|
|
755
754
|
};
|
|
756
755
|
this.prevMonthKeydown = (e) => {
|
|
757
|
-
const key =
|
|
756
|
+
const key = e.key;
|
|
758
757
|
if (key === " " || key === "Enter") {
|
|
759
758
|
this.prevMonthClick(e);
|
|
760
759
|
}
|
|
@@ -763,7 +762,7 @@ let CalciteDatePickerMonthHeader = class {
|
|
|
763
762
|
this.handleArrowClick(e, this.nextMonthDate);
|
|
764
763
|
};
|
|
765
764
|
this.nextMonthKeydown = (e) => {
|
|
766
|
-
const key =
|
|
765
|
+
const key = e.key;
|
|
767
766
|
if (key === " " || key === "Enter") {
|
|
768
767
|
this.nextMonthClick(e);
|
|
769
768
|
}
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { C as CSS$2, u as updatePopper, c as createPopper } from './popper-f5caedc4.js';
|
|
6
|
+
import { b as getElementDir, C as CSS_UTILITY, f as focusElement, e as getElementProp } from './dom-dc012a45.js';
|
|
7
|
+
import { C as CSS$2, u as updatePopper, c as createPopper } from './popper-ed1eefa6.js';
|
|
9
8
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
10
9
|
import './guid-196bd5ea.js';
|
|
11
10
|
|
|
@@ -102,7 +101,7 @@ let CalciteDropdown = class {
|
|
|
102
101
|
};
|
|
103
102
|
this.keyDownHandler = (e) => {
|
|
104
103
|
const target = e.target;
|
|
105
|
-
const key =
|
|
104
|
+
const key = e.key;
|
|
106
105
|
if (this.triggers.includes(target) ||
|
|
107
106
|
this.triggers.some((trigger) => trigger.contains(target))) {
|
|
108
107
|
if (target.nodeName !== "BUTTON" && target.nodeName !== "CALCITE-BUTTON") {
|
|
@@ -223,7 +222,7 @@ let CalciteDropdown = class {
|
|
|
223
222
|
const itemToFocus = target.nodeName !== "A" ? target : target.parentNode;
|
|
224
223
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
225
224
|
const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
|
|
226
|
-
switch (
|
|
225
|
+
switch (keyboardEvent.key) {
|
|
227
226
|
case "Tab":
|
|
228
227
|
if (isLastItem && !keyboardEvent.shiftKey) {
|
|
229
228
|
this.closeCalciteDropdown();
|
|
@@ -513,7 +512,7 @@ let CalciteDropdownItem = class {
|
|
|
513
512
|
this.emitRequestedItem();
|
|
514
513
|
}
|
|
515
514
|
keyDownHandler(e) {
|
|
516
|
-
switch (
|
|
515
|
+
switch (e.key) {
|
|
517
516
|
case " ":
|
|
518
517
|
this.emitRequestedItem();
|
|
519
518
|
if (this.href) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { f as focusElement,
|
|
6
|
+
import { f as focusElement, b as getElementDir } from './dom-dc012a45.js';
|
|
7
7
|
import './guid-196bd5ea.js';
|
|
8
8
|
|
|
9
9
|
const CSS = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { f as focusElement,
|
|
6
|
+
import { f as focusElement, b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
|
|
7
7
|
import { d as debounce } from './debounce-79648d42.js';
|
|
8
8
|
import { f as forIn } from './forIn-48d8fb84.js';
|
|
9
9
|
import './guid-196bd5ea.js';
|
|
@@ -86,25 +86,12 @@ let CalciteFilter = class {
|
|
|
86
86
|
this.setFocus();
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
watchDataHandler(value) {
|
|
90
|
-
this.items = value;
|
|
91
|
-
}
|
|
92
89
|
watchItemsHandler() {
|
|
93
90
|
this.filter(this.value);
|
|
94
91
|
}
|
|
95
92
|
valueHandler(value) {
|
|
96
93
|
this.filter(value);
|
|
97
94
|
}
|
|
98
|
-
//--------------------------------------------------------------------------
|
|
99
|
-
//
|
|
100
|
-
// Lifecycle
|
|
101
|
-
//
|
|
102
|
-
//--------------------------------------------------------------------------
|
|
103
|
-
connectedCallback() {
|
|
104
|
-
if (this.data && !this.items) {
|
|
105
|
-
this.items = this.data;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
95
|
// --------------------------------------------------------------------------
|
|
109
96
|
//
|
|
110
97
|
// Public Methods
|
|
@@ -117,7 +104,7 @@ let CalciteFilter = class {
|
|
|
117
104
|
updateFiltered(filtered) {
|
|
118
105
|
this.filteredItems.length = 0;
|
|
119
106
|
this.filteredItems = this.filteredItems.concat(filtered);
|
|
120
|
-
this.calciteFilterChange.emit(
|
|
107
|
+
this.calciteFilterChange.emit();
|
|
121
108
|
}
|
|
122
109
|
// --------------------------------------------------------------------------
|
|
123
110
|
//
|
|
@@ -133,7 +120,6 @@ let CalciteFilter = class {
|
|
|
133
120
|
}
|
|
134
121
|
get el() { return getElement(this); }
|
|
135
122
|
static get watchers() { return {
|
|
136
|
-
"data": ["watchDataHandler"],
|
|
137
123
|
"items": ["watchItemsHandler"],
|
|
138
124
|
"value": ["valueHandler"]
|
|
139
125
|
}; }
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, g as getElement, c as createEvent, H as Host } from './index-9de00868.js';
|
|
6
6
|
import { g as guid } from './guid-196bd5ea.js';
|
|
7
|
-
import {
|
|
8
|
-
import { j as intersects } from './dom-f24e866c.js';
|
|
7
|
+
import { k as intersects } from './dom-dc012a45.js';
|
|
9
8
|
import { c as clamp } from './math-456207f5.js';
|
|
10
|
-
import { c as connectLabel, d as disconnectLabel } from './label-
|
|
11
|
-
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-
|
|
9
|
+
import { c as connectLabel, d as disconnectLabel } from './label-0d804a87.js';
|
|
10
|
+
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-6b717ce8.js';
|
|
12
11
|
|
|
13
12
|
/**
|
|
14
13
|
* Calculate slope of the tangents
|
|
@@ -505,7 +504,7 @@ let CalciteSlider = class {
|
|
|
505
504
|
const mirror = this.shouldMirror();
|
|
506
505
|
const { activeProp, max, min, pageStep, step } = this;
|
|
507
506
|
const value = this[activeProp];
|
|
508
|
-
const key =
|
|
507
|
+
const key = event.key;
|
|
509
508
|
if (key === "Enter" || key === " ") {
|
|
510
509
|
event.preventDefault();
|
|
511
510
|
return;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { a as getAssetPath, r as registerInstance, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import {
|
|
6
|
+
import { b as getElementDir } from './dom-dc012a45.js';
|
|
7
7
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import {
|
|
7
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
6
|
+
import { e as getElementProp } from './dom-dc012a45.js';
|
|
7
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-0d804a87.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
10
10
|
const CSS = {
|
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { T as TEXT, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, s as sameDate, p as parseDateString, i as inRange } from './resources-
|
|
7
|
-
import {
|
|
8
|
-
import { g as
|
|
9
|
-
import { c as
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import './
|
|
13
|
-
import './number-e7393766.js';
|
|
6
|
+
import { T as TEXT, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, s as sameDate, p as parseDateString, i as inRange } from './resources-1a5b5ecf.js';
|
|
7
|
+
import { b as getElementDir } from './dom-dc012a45.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-0d804a87.js';
|
|
9
|
+
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-6b717ce8.js';
|
|
10
|
+
import { u as updatePopper, C as CSS, c as createPopper } from './popper-ed1eefa6.js';
|
|
11
|
+
import './locale-641b6af3.js';
|
|
12
|
+
import './number-2609a8bc.js';
|
|
14
13
|
import './guid-196bd5ea.js';
|
|
15
14
|
|
|
16
15
|
const calciteInputDatePickerCss = "@-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:300ms}.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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible}:host .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{-webkit-box-shadow:none;box-shadow:none;position:static;width:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{background-color:var(--calcite-ui-background);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;border-right-width:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;left:0;padding-left:0.625rem;padding-right:0.625rem;margin-left:1px;margin-right:1px;position:absolute;z-index:10;background-color:var(--calcite-ui-foreground-1)}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}:host([active]) .menu-container{visibility:visible;pointer-events:auto}.input .calcite-input__wrapper{margin-top:0}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{width:0.75rem;height:0.75rem;min-width:0}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
@@ -79,7 +78,7 @@ let CalciteInputDatePicker = class {
|
|
|
79
78
|
this.active = false;
|
|
80
79
|
};
|
|
81
80
|
this.keyUpHandler = (e) => {
|
|
82
|
-
if (
|
|
81
|
+
if (e.key === "Escape") {
|
|
83
82
|
this.active = false;
|
|
84
83
|
}
|
|
85
84
|
};
|