@esri/calcite-components 1.0.0-next.313 → 1.0.0-next.314
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-45b4443f.entry.js → p-011cf302.entry.js} +1 -1
- package/dist/calcite/{p-578509a8.entry.js → p-0128b04c.entry.js} +1 -1
- package/dist/calcite/p-030da538.entry.js +5 -0
- package/dist/calcite/{p-a5269f14.system.entry.js → p-03d586c8.system.entry.js} +1 -1
- package/dist/calcite/{p-ace12b8d.entry.js → p-0c200636.entry.js} +1 -1
- package/dist/calcite/{p-d6f20229.js → p-0c5e1f92.js} +1 -1
- package/dist/calcite/{p-cc788d2e.entry.js → p-0ea2fe39.entry.js} +1 -1
- package/dist/calcite/{p-55a5535b.system.entry.js → p-13051845.system.entry.js} +1 -1
- package/dist/calcite/{p-e6d05ad6.system.entry.js → p-187b6eb4.system.entry.js} +1 -1
- package/dist/calcite/{p-7ba971b5.system.entry.js → p-1b8f581d.system.entry.js} +1 -1
- package/dist/calcite/p-1e17f99a.system.entry.js +5 -0
- package/dist/calcite/{p-4acfb654.entry.js → p-1f3e9f1f.entry.js} +1 -1
- package/dist/calcite/{p-0bbe872e.system.entry.js → p-206dbc67.system.entry.js} +1 -1
- package/dist/calcite/{p-0fa1ba75.entry.js → p-226c2070.entry.js} +1 -1
- package/dist/calcite/{p-289bc56f.entry.js → p-22df1092.entry.js} +1 -1
- package/dist/calcite/{p-4778c5cf.system.entry.js → p-24f47f18.system.entry.js} +1 -1
- package/dist/calcite/{p-a19e423a.entry.js → p-258ec2b0.entry.js} +1 -1
- package/dist/calcite/{p-8445bc9c.system.entry.js → p-25e0a2a6.system.entry.js} +1 -1
- package/dist/calcite/{p-15f3a0d7.system.entry.js → p-27301daf.system.entry.js} +1 -1
- package/dist/calcite/{p-16bb48f6.system.entry.js → p-2911f610.system.entry.js} +1 -1
- package/dist/calcite/{p-bdb92546.entry.js → p-2964c736.entry.js} +1 -1
- package/dist/calcite/{p-840f2937.system.entry.js → p-29b5e94d.system.entry.js} +1 -1
- package/dist/calcite/{p-5eee672a.system.entry.js → p-2e658461.system.entry.js} +1 -1
- package/dist/calcite/p-30223b4f.entry.js +5 -0
- package/dist/calcite/{p-1aa89347.system.entry.js → p-32e0cbd7.system.entry.js} +1 -1
- package/dist/calcite/{p-9577dfd9.entry.js → p-37676cd2.entry.js} +1 -1
- package/dist/calcite/{p-74f390e1.system.entry.js → p-3a197e57.system.entry.js} +1 -1
- package/dist/calcite/{p-9a3bed69.entry.js → p-3bfce0ff.entry.js} +1 -1
- package/dist/calcite/{p-5f2a9710.system.entry.js → p-3fc9017a.system.entry.js} +1 -1
- package/dist/calcite/{p-33226317.entry.js → p-43fd1a31.entry.js} +1 -1
- package/dist/calcite/p-444f054f.js +5 -0
- package/dist/calcite/p-4c48d68d.system.js +5 -0
- package/dist/calcite/{p-aec398f3.system.entry.js → p-4c52ac47.system.entry.js} +1 -1
- package/dist/calcite/{p-0229a408.js → p-4ddce847.js} +1 -1
- package/dist/calcite/{p-1c8fe17f.system.entry.js → p-506f7b44.system.entry.js} +1 -1
- package/dist/calcite/{p-e5e3b591.entry.js → p-5832e8cd.entry.js} +1 -1
- package/dist/calcite/{p-29771742.entry.js → p-5a4f9c91.entry.js} +1 -1
- package/dist/calcite/p-5ba48bb2.js +5 -0
- package/dist/calcite/{p-e33fe285.system.entry.js → p-5e640aae.system.entry.js} +1 -1
- package/dist/calcite/{p-0d807182.system.entry.js → p-5f55075d.system.entry.js} +1 -1
- package/dist/calcite/{p-1434e37e.entry.js → p-646c2fbb.entry.js} +1 -1
- package/dist/calcite/{p-defcee80.system.entry.js → p-669e4d6b.system.entry.js} +1 -1
- package/dist/calcite/{p-0f014648.entry.js → p-672b7667.entry.js} +1 -1
- package/dist/calcite/{p-59a285d8.system.entry.js → p-7473ca03.system.entry.js} +1 -1
- package/dist/calcite/{p-523bc291.system.js → p-75075d43.system.js} +1 -1
- package/dist/calcite/{p-85032edc.system.entry.js → p-770478dd.system.entry.js} +1 -1
- package/dist/calcite/{p-004460a0.system.entry.js → p-7b892b42.system.entry.js} +1 -1
- package/dist/calcite/{p-dbe899c6.system.entry.js → p-7c9ccdb5.system.entry.js} +1 -1
- package/dist/calcite/{p-c34c4414.system.js → p-7ca82e29.system.js} +1 -1
- package/dist/calcite/{p-765fb8ed.entry.js → p-7cf78fe8.entry.js} +1 -1
- package/dist/calcite/{p-127e3513.system.entry.js → p-81d6b146.system.entry.js} +1 -1
- package/dist/calcite/{p-cced5508.system.entry.js → p-86d0119b.system.entry.js} +1 -1
- package/dist/calcite/{p-648af80f.system.entry.js → p-874ea2cb.system.entry.js} +1 -1
- package/dist/calcite/{p-592da79d.system.entry.js → p-8805ccab.system.entry.js} +1 -1
- package/dist/calcite/{p-ecc00ef0.entry.js → p-8b5d497a.entry.js} +1 -1
- package/dist/calcite/{p-a46c3870.system.entry.js → p-8cc309a1.system.entry.js} +1 -1
- package/dist/calcite/{p-b94bf8ac.system.entry.js → p-8cf86067.system.entry.js} +2 -2
- package/dist/calcite/{p-1dd440e6.system.entry.js → p-8dc5dec9.system.entry.js} +1 -1
- package/dist/calcite/{p-cbf6bb04.system.js → p-8e0f4f5e.system.js} +1 -1
- package/dist/calcite/p-8e252799.system.js +1 -1
- package/dist/calcite/{p-e616f9b5.entry.js → p-8e55d8a0.entry.js} +1 -1
- package/dist/calcite/{p-ca3bb147.entry.js → p-8f097f80.entry.js} +1 -1
- package/dist/calcite/{p-6484ffb7.system.entry.js → p-8fb2f219.system.entry.js} +1 -1
- package/dist/calcite/{p-aaec0d11.system.entry.js → p-90d75515.system.entry.js} +1 -1
- package/dist/calcite/{p-1a962bdd.js → p-9274789b.js} +1 -1
- package/dist/calcite/{p-2451da5b.entry.js → p-9a1a0cfb.entry.js} +1 -1
- package/dist/calcite/{p-044d603d.system.entry.js → p-9c6e5c3d.system.entry.js} +1 -1
- package/dist/calcite/{p-f1c5e7cf.entry.js → p-a1e60186.entry.js} +1 -1
- package/dist/calcite/{p-34038a94.system.entry.js → p-a48511af.system.entry.js} +1 -1
- package/dist/calcite/{p-d6e30c54.entry.js → p-a487e88d.entry.js} +1 -1
- package/dist/calcite/{p-f1e111f4.system.entry.js → p-ade623c3.system.entry.js} +1 -1
- package/dist/calcite/{p-deb36fde.system.entry.js → p-b1dc66f5.system.entry.js} +1 -1
- package/dist/calcite/{p-1b8c3060.entry.js → p-b463b6eb.entry.js} +1 -1
- package/dist/calcite/{p-2a714a22.entry.js → p-b612e7a8.entry.js} +1 -1
- package/dist/calcite/{p-38bd222a.entry.js → p-b82034da.entry.js} +1 -1
- package/dist/calcite/{p-4d11efdb.system.entry.js → p-c6ff2008.system.entry.js} +1 -1
- package/dist/calcite/{p-10708f87.system.entry.js → p-c97163e9.system.entry.js} +1 -1
- package/dist/calcite/{p-6d44b7d9.system.js → p-cc9061b4.system.js} +1 -1
- package/dist/calcite/{p-4f1f83d2.entry.js → p-cd0016bb.entry.js} +1 -1
- package/dist/calcite/{p-9be6633a.entry.js → p-cd980c27.entry.js} +1 -1
- package/dist/calcite/{p-3e6fcede.entry.js → p-d14d5e98.entry.js} +1 -1
- package/dist/calcite/{p-efb2169a.entry.js → p-d1af2194.entry.js} +1 -1
- package/dist/calcite/{p-5efd81e1.entry.js → p-d2d96a44.entry.js} +1 -1
- package/dist/calcite/{p-e70cb594.system.entry.js → p-d354a150.system.entry.js} +1 -1
- package/dist/calcite/{p-35a5c74c.system.js → p-d653cdf5.system.js} +1 -1
- package/dist/calcite/{p-c0e35328.entry.js → p-d7f1ae6c.entry.js} +1 -1
- package/dist/calcite/{p-f9c46578.entry.js → p-d86e7196.entry.js} +1 -1
- package/dist/calcite/{p-c61ebee9.entry.js → p-d9827a69.entry.js} +1 -1
- package/dist/calcite/{p-bf1812b4.entry.js → p-db274711.entry.js} +1 -1
- package/dist/calcite/{p-4e16515a.system.entry.js → p-e0ab317f.system.entry.js} +1 -1
- package/dist/calcite/{p-81ab443c.entry.js → p-e47ee5e0.entry.js} +1 -1
- package/dist/calcite/{p-16f2d814.system.entry.js → p-e488c785.system.entry.js} +1 -1
- package/dist/calcite/{p-25caf637.system.entry.js → p-e513b7e6.system.entry.js} +1 -1
- package/dist/calcite/{p-05da7439.entry.js → p-e580856e.entry.js} +1 -1
- package/dist/calcite/{p-c4cb4fab.system.entry.js → p-e67a4d2f.system.entry.js} +1 -1
- package/dist/calcite/{p-c87c04a9.entry.js → p-e7598b5c.entry.js} +1 -1
- package/dist/calcite/{p-63e60894.entry.js → p-e8b7e0df.entry.js} +1 -1
- package/dist/calcite/{p-3dae9da3.js → p-e97342f5.js} +1 -1
- package/dist/calcite/{p-8603b2e1.entry.js → p-eb16cf75.entry.js} +1 -1
- package/dist/calcite/{p-e52495d3.system.entry.js → p-eb90a677.system.entry.js} +1 -1
- package/dist/calcite/{p-6296644b.entry.js → p-ee157d50.entry.js} +1 -1
- package/dist/calcite/{p-f278dd53.entry.js → p-effd9e72.entry.js} +1 -1
- package/dist/calcite/{p-2aa3007a.entry.js → p-f234ff81.entry.js} +1 -1
- package/dist/calcite/{p-34e89de8.entry.js → p-f4825bbd.entry.js} +1 -1
- package/dist/calcite/{p-63da2e34.system.entry.js → p-f63cb0df.system.entry.js} +1 -1
- package/dist/calcite/{p-8baa9ba4.entry.js → p-f966b102.entry.js} +1 -1
- package/dist/calcite/{p-9338b0bc.entry.js → p-fa9f1f68.entry.js} +1 -1
- package/dist/calcite/{p-ef39847e.entry.js → p-fb49b087.entry.js} +1 -1
- package/dist/calcite/{p-cf03b144.system.entry.js → p-fc0dfaf2.system.entry.js} +1 -1
- package/dist/calcite/{p-a5e8f022.system.entry.js → p-fc3e40ed.system.entry.js} +1 -1
- package/dist/calcite/{p-a61d85db.system.entry.js → p-fc4e10c1.system.entry.js} +1 -1
- package/dist/cjs/{CalciteExpandToggle-5f60c98b.js → CalciteExpandToggle-4d77fa1c.js} +1 -1
- 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 +1 -1
- 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 +4 -4
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +1 -1
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +2 -2
- 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 +3 -3
- 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 +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/calcite-radio_2.cjs.entry.js +3 -3
- 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 +1 -1
- 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 +1 -1
- 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-shell-panel/calcite-shell-panel.js +17 -8
- package/dist/collection/utils/dom.js +6 -0
- package/dist/components/calcite-alert.js +12 -17
- package/dist/components/calcite-shell-panel.js +17 -8
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/dom.js +7 -1
- package/dist/custom-elements/index.js +34 -24
- package/dist/esm/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-a08896cc.js} +1 -1
- 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 +1 -1
- 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 +4 -4
- package/dist/esm/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm/calcite-dropdown_3.entry.js +2 -2
- 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 +3 -3
- 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 +1 -1
- package/dist/esm/calcite-notice.entry.js +1 -1
- package/dist/esm/calcite-option_3.entry.js +3 -3
- package/dist/esm/calcite-pagination.entry.js +1 -1
- package/dist/esm/calcite-panel.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/calcite-radio_2.entry.js +3 -3
- 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 +1 -1
- 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 +1 -1
- 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-fce0996b.js} +7 -1
- package/dist/esm/{form-160b0fb5.js → form-aed20747.js} +1 -1
- package/dist/esm/{label-5559055d.js → label-326df1c3.js} +1 -1
- package/dist/esm/{popper-f5caedc4.js → popper-d8ea1200.js} +1 -1
- package/dist/esm/{resources-16a2a25a.js → resources-581b6bd0.js} +1 -1
- package/dist/esm-es5/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-a08896cc.js} +1 -1
- 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 +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 +1 -1
- 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-fce0996b.js +5 -0
- package/dist/esm-es5/{form-160b0fb5.js → form-aed20747.js} +1 -1
- package/dist/esm-es5/{label-5559055d.js → label-326df1c3.js} +1 -1
- package/dist/esm-es5/{popper-f5caedc4.js → popper-d8ea1200.js} +1 -1
- package/dist/esm-es5/{resources-16a2a25a.js → resources-581b6bd0.js} +1 -1
- package/dist/extras/docs-json.json +1 -1
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +2 -2
- package/dist/types/utils/dom.d.ts +4 -0
- package/hydrate/index.js +34 -24
- package/package.json +1 -1
- package/readme.md +2 -2
- package/dist/calcite/p-1942876c.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-52cc870b.js +0 -5
- package/dist/calcite/p-6cc23c39.system.js +0 -5
- package/dist/calcite/p-cbbfa133.system.entry.js +0 -5
- package/dist/esm-es5/dom-f24e866c.js +0 -5
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, Prop, Watch, h, State, forceUpdate } from "@stencil/core";
|
|
6
6
|
import { CSS, SLOTS, TEXT } from "./resources";
|
|
7
|
-
import { getSlotted } from "../../utils/dom";
|
|
7
|
+
import { getSlotted, getElementStyleDir } from "../../utils/dom";
|
|
8
8
|
import { clamp } from "../../utils/math";
|
|
9
9
|
/**
|
|
10
10
|
* @slot - A slot for adding content to the shell panel.
|
|
@@ -54,7 +54,7 @@ export class CalciteShellPanel {
|
|
|
54
54
|
};
|
|
55
55
|
this.getKeyAdjustedWidth = (event) => {
|
|
56
56
|
const { key } = event;
|
|
57
|
-
const { step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
57
|
+
const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
58
58
|
const multipliedStep = step * stepMultiplier;
|
|
59
59
|
const MOVEMENT_KEYS = [
|
|
60
60
|
"ArrowUp",
|
|
@@ -69,15 +69,20 @@ export class CalciteShellPanel {
|
|
|
69
69
|
if (MOVEMENT_KEYS.indexOf(key) > -1) {
|
|
70
70
|
event.preventDefault();
|
|
71
71
|
}
|
|
72
|
-
const
|
|
72
|
+
const dir = getElementStyleDir(el);
|
|
73
|
+
const directionKeys = ["ArrowLeft", "ArrowRight"];
|
|
74
|
+
const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
|
|
75
|
+
const increaseKeys = key === "ArrowUp" ||
|
|
76
|
+
(position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
|
|
73
77
|
if (increaseKeys) {
|
|
74
78
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
75
|
-
return initialContentWidth + stepValue;
|
|
79
|
+
return initialContentWidth + directionFactor * stepValue;
|
|
76
80
|
}
|
|
77
|
-
const decreaseKeys = key === "ArrowDown" ||
|
|
81
|
+
const decreaseKeys = key === "ArrowDown" ||
|
|
82
|
+
(position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
|
|
78
83
|
if (decreaseKeys) {
|
|
79
84
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
80
|
-
return initialContentWidth - stepValue;
|
|
85
|
+
return initialContentWidth - directionFactor * stepValue;
|
|
81
86
|
}
|
|
82
87
|
if (typeof contentWidthMin === "number" && key === "Home") {
|
|
83
88
|
return contentWidthMin;
|
|
@@ -102,9 +107,13 @@ export class CalciteShellPanel {
|
|
|
102
107
|
};
|
|
103
108
|
this.separatorPointerMove = (event) => {
|
|
104
109
|
event.preventDefault();
|
|
105
|
-
const { initialContentWidth, position, initialClientX } = this;
|
|
110
|
+
const { el, initialContentWidth, position, initialClientX } = this;
|
|
106
111
|
const offset = event.clientX - initialClientX;
|
|
107
|
-
|
|
112
|
+
const dir = getElementStyleDir(el);
|
|
113
|
+
const adjustmentDirection = dir === "rtl" ? -1 : 1;
|
|
114
|
+
const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
|
|
115
|
+
const width = initialContentWidth + adjustedOffset;
|
|
116
|
+
this.setContentWidth(width);
|
|
108
117
|
};
|
|
109
118
|
this.separatorPointerUp = (event) => {
|
|
110
119
|
event.preventDefault();
|
|
@@ -23,6 +23,12 @@ export function nodeListToArray(nodeList) {
|
|
|
23
23
|
export function getThemeName(el) {
|
|
24
24
|
return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
|
|
25
25
|
}
|
|
26
|
+
export function getElementStyleDir(el) {
|
|
27
|
+
return window.getComputedStyle(el).direction || "ltr";
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated use getElementStyleDir instead.
|
|
31
|
+
*/
|
|
26
32
|
export function getElementDir(el) {
|
|
27
33
|
const prop = "dir";
|
|
28
34
|
const selector = `[${prop}]`;
|
|
@@ -63,13 +63,11 @@ let CalciteAlert$1 = class extends HTMLElement {
|
|
|
63
63
|
this.queueLength = 0;
|
|
64
64
|
/** is the alert queued */
|
|
65
65
|
this.queued = false;
|
|
66
|
-
this.
|
|
67
|
-
this.trackTimer =
|
|
66
|
+
this.autoDismissTimeoutId = null;
|
|
67
|
+
this.trackTimer = Date.now();
|
|
68
68
|
/** close and emit the closed alert and the queue */
|
|
69
69
|
this.closeAlert = () => {
|
|
70
|
-
|
|
71
|
-
this.autoDismissTimeout = null;
|
|
72
|
-
}
|
|
70
|
+
this.autoDismissTimeoutId = null;
|
|
73
71
|
this.queued = false;
|
|
74
72
|
this.active = false;
|
|
75
73
|
this.queue = this.queue.filter((e) => e !== this.el);
|
|
@@ -93,10 +91,10 @@ let CalciteAlert$1 = class extends HTMLElement {
|
|
|
93
91
|
updateRequestedIcon() {
|
|
94
92
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
95
93
|
}
|
|
96
|
-
updateDuration(
|
|
97
|
-
if (this.autoDismiss &&
|
|
98
|
-
window.clearTimeout(this.
|
|
99
|
-
this.
|
|
94
|
+
updateDuration() {
|
|
95
|
+
if (this.autoDismiss && this.autoDismissTimeoutId) {
|
|
96
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
97
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
|
|
100
98
|
}
|
|
101
99
|
}
|
|
102
100
|
//--------------------------------------------------------------------------
|
|
@@ -116,9 +114,7 @@ let CalciteAlert$1 = class extends HTMLElement {
|
|
|
116
114
|
this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
|
|
117
115
|
}
|
|
118
116
|
disconnectedCallback() {
|
|
119
|
-
|
|
120
|
-
window.clearTimeout(this.autoDismissTimeout);
|
|
121
|
-
}
|
|
117
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
122
118
|
}
|
|
123
119
|
render() {
|
|
124
120
|
const dir = getElementDir(this.el);
|
|
@@ -126,14 +122,13 @@ let CalciteAlert$1 = class extends HTMLElement {
|
|
|
126
122
|
const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;
|
|
127
123
|
const queueCount = (h("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
|
|
128
124
|
const { active, autoDismiss, label, queued, requestedIcon } = this;
|
|
129
|
-
const progressBar = h("div", { class: "alert-dismiss-progress" });
|
|
130
125
|
const role = autoDismiss ? "alert" : "alertdialog";
|
|
131
126
|
const hidden = !active;
|
|
132
127
|
return (h(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, h("div", { class: {
|
|
133
128
|
container: true,
|
|
134
129
|
queued,
|
|
135
130
|
[CSS_UTILITY.rtl]: dir === "rtl"
|
|
136
|
-
} }, 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 ?
|
|
131
|
+
} }, 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)));
|
|
137
132
|
}
|
|
138
133
|
// when an alert is opened or closed, update queue and determine active alert
|
|
139
134
|
alertSync(event) {
|
|
@@ -179,9 +174,9 @@ let CalciteAlert$1 = class extends HTMLElement {
|
|
|
179
174
|
var _a;
|
|
180
175
|
if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
|
|
181
176
|
this.openAlert();
|
|
182
|
-
if (this.autoDismiss && !this.
|
|
183
|
-
this.trackTimer =
|
|
184
|
-
this.
|
|
177
|
+
if (this.autoDismiss && !this.autoDismissTimeoutId) {
|
|
178
|
+
this.trackTimer = Date.now();
|
|
179
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
|
|
185
180
|
}
|
|
186
181
|
}
|
|
187
182
|
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 { HTMLElement, createEvent, h, forceUpdate, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
|
-
import { b as getSlotted } from './dom.js';
|
|
6
|
+
import { k as getElementStyleDir, b as getSlotted } from './dom.js';
|
|
7
7
|
import { c as clamp } from './math.js';
|
|
8
8
|
|
|
9
9
|
const CSS = {
|
|
@@ -72,7 +72,7 @@ let CalciteShellPanel$1 = class extends HTMLElement {
|
|
|
72
72
|
};
|
|
73
73
|
this.getKeyAdjustedWidth = (event) => {
|
|
74
74
|
const { key } = event;
|
|
75
|
-
const { step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
75
|
+
const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
76
76
|
const multipliedStep = step * stepMultiplier;
|
|
77
77
|
const MOVEMENT_KEYS = [
|
|
78
78
|
"ArrowUp",
|
|
@@ -87,15 +87,20 @@ let CalciteShellPanel$1 = class extends HTMLElement {
|
|
|
87
87
|
if (MOVEMENT_KEYS.indexOf(key) > -1) {
|
|
88
88
|
event.preventDefault();
|
|
89
89
|
}
|
|
90
|
-
const
|
|
90
|
+
const dir = getElementStyleDir(el);
|
|
91
|
+
const directionKeys = ["ArrowLeft", "ArrowRight"];
|
|
92
|
+
const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
|
|
93
|
+
const increaseKeys = key === "ArrowUp" ||
|
|
94
|
+
(position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
|
|
91
95
|
if (increaseKeys) {
|
|
92
96
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
93
|
-
return initialContentWidth + stepValue;
|
|
97
|
+
return initialContentWidth + directionFactor * stepValue;
|
|
94
98
|
}
|
|
95
|
-
const decreaseKeys = key === "ArrowDown" ||
|
|
99
|
+
const decreaseKeys = key === "ArrowDown" ||
|
|
100
|
+
(position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
|
|
96
101
|
if (decreaseKeys) {
|
|
97
102
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
98
|
-
return initialContentWidth - stepValue;
|
|
103
|
+
return initialContentWidth - directionFactor * stepValue;
|
|
99
104
|
}
|
|
100
105
|
if (typeof contentWidthMin === "number" && key === "Home") {
|
|
101
106
|
return contentWidthMin;
|
|
@@ -120,9 +125,13 @@ let CalciteShellPanel$1 = class extends HTMLElement {
|
|
|
120
125
|
};
|
|
121
126
|
this.separatorPointerMove = (event) => {
|
|
122
127
|
event.preventDefault();
|
|
123
|
-
const { initialContentWidth, position, initialClientX } = this;
|
|
128
|
+
const { el, initialContentWidth, position, initialClientX } = this;
|
|
124
129
|
const offset = event.clientX - initialClientX;
|
|
125
|
-
|
|
130
|
+
const dir = getElementStyleDir(el);
|
|
131
|
+
const adjustmentDirection = dir === "rtl" ? -1 : 1;
|
|
132
|
+
const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
|
|
133
|
+
const width = initialContentWidth + adjustedOffset;
|
|
134
|
+
this.setContentWidth(width);
|
|
126
135
|
};
|
|
127
136
|
this.separatorPointerUp = (event) => {
|
|
128
137
|
event.preventDefault();
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { g as guid } from './guid.js';
|
|
7
7
|
import { g as getKey } from './key.js';
|
|
8
|
-
import {
|
|
8
|
+
import { l as intersects } from './dom.js';
|
|
9
9
|
import { c as clamp } from './math.js';
|
|
10
10
|
import { c as connectLabel, d as disconnectLabel } from './label.js';
|
|
11
11
|
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form.js';
|
package/dist/components/dom.js
CHANGED
|
@@ -36,6 +36,12 @@ function nodeListToArray(nodeList) {
|
|
|
36
36
|
function getThemeName(el) {
|
|
37
37
|
return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
|
|
38
38
|
}
|
|
39
|
+
function getElementStyleDir(el) {
|
|
40
|
+
return window.getComputedStyle(el).direction || "ltr";
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated use getElementStyleDir instead.
|
|
44
|
+
*/
|
|
39
45
|
function getElementDir(el) {
|
|
40
46
|
const prop = "dir";
|
|
41
47
|
const selector = `[${prop}]`;
|
|
@@ -150,4 +156,4 @@ function intersects(rect1, rect2) {
|
|
|
150
156
|
rect2.bottom < rect1.top);
|
|
151
157
|
}
|
|
152
158
|
|
|
153
|
-
export { CSS_UTILITY as C, TEXT as T, getElementDir as a, getSlotted as b, getThemeName as c, closestElementCrossShadowBoundary as d, filterDirectChildren as e, focusElement as f, getElementProp as g, ensureId as h, isCalciteFocusable as i, queryElementsRoots as j,
|
|
159
|
+
export { CSS_UTILITY as C, TEXT as T, getElementDir as a, getSlotted as b, getThemeName as c, closestElementCrossShadowBoundary as d, filterDirectChildren as e, focusElement as f, getElementProp as g, ensureId as h, isCalciteFocusable as i, queryElementsRoots as j, getElementStyleDir as k, intersects as l, nodeListToArray as n, queryElementRoots as q, setRequestedIcon as s };
|
|
@@ -216,6 +216,12 @@ function nodeListToArray(nodeList) {
|
|
|
216
216
|
function getThemeName(el) {
|
|
217
217
|
return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
|
|
218
218
|
}
|
|
219
|
+
function getElementStyleDir(el) {
|
|
220
|
+
return window.getComputedStyle(el).direction || "ltr";
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @deprecated use getElementStyleDir instead.
|
|
224
|
+
*/
|
|
219
225
|
function getElementDir(el) {
|
|
220
226
|
const prop = "dir";
|
|
221
227
|
const selector = `[${prop}]`;
|
|
@@ -2683,13 +2689,11 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
|
|
|
2683
2689
|
this.queueLength = 0;
|
|
2684
2690
|
/** is the alert queued */
|
|
2685
2691
|
this.queued = false;
|
|
2686
|
-
this.
|
|
2687
|
-
this.trackTimer =
|
|
2692
|
+
this.autoDismissTimeoutId = null;
|
|
2693
|
+
this.trackTimer = Date.now();
|
|
2688
2694
|
/** close and emit the closed alert and the queue */
|
|
2689
2695
|
this.closeAlert = () => {
|
|
2690
|
-
|
|
2691
|
-
this.autoDismissTimeout = null;
|
|
2692
|
-
}
|
|
2696
|
+
this.autoDismissTimeoutId = null;
|
|
2693
2697
|
this.queued = false;
|
|
2694
2698
|
this.active = false;
|
|
2695
2699
|
this.queue = this.queue.filter((e) => e !== this.el);
|
|
@@ -2713,10 +2717,10 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
|
|
|
2713
2717
|
updateRequestedIcon() {
|
|
2714
2718
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
2715
2719
|
}
|
|
2716
|
-
updateDuration(
|
|
2717
|
-
if (this.autoDismiss &&
|
|
2718
|
-
window.clearTimeout(this.
|
|
2719
|
-
this.
|
|
2720
|
+
updateDuration() {
|
|
2721
|
+
if (this.autoDismiss && this.autoDismissTimeoutId) {
|
|
2722
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
2723
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
|
|
2720
2724
|
}
|
|
2721
2725
|
}
|
|
2722
2726
|
//--------------------------------------------------------------------------
|
|
@@ -2736,9 +2740,7 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
|
|
|
2736
2740
|
this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
|
|
2737
2741
|
}
|
|
2738
2742
|
disconnectedCallback() {
|
|
2739
|
-
|
|
2740
|
-
window.clearTimeout(this.autoDismissTimeout);
|
|
2741
|
-
}
|
|
2743
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
2742
2744
|
}
|
|
2743
2745
|
render() {
|
|
2744
2746
|
const dir = getElementDir(this.el);
|
|
@@ -2746,14 +2748,13 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
|
|
|
2746
2748
|
const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;
|
|
2747
2749
|
const queueCount = (h("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
|
|
2748
2750
|
const { active, autoDismiss, label, queued, requestedIcon } = this;
|
|
2749
|
-
const progressBar = h("div", { class: "alert-dismiss-progress" });
|
|
2750
2751
|
const role = autoDismiss ? "alert" : "alertdialog";
|
|
2751
2752
|
const hidden = !active;
|
|
2752
2753
|
return (h(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, h("div", { class: {
|
|
2753
2754
|
container: true,
|
|
2754
2755
|
queued,
|
|
2755
2756
|
[CSS_UTILITY.rtl]: dir === "rtl"
|
|
2756
|
-
} }, 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$l.title }), h("slot", { name: SLOTS$l.message }), h("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ?
|
|
2757
|
+
} }, 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$l.title }), h("slot", { name: SLOTS$l.message }), h("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
|
|
2757
2758
|
}
|
|
2758
2759
|
// when an alert is opened or closed, update queue and determine active alert
|
|
2759
2760
|
alertSync(event) {
|
|
@@ -2799,9 +2800,9 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
|
|
|
2799
2800
|
var _a;
|
|
2800
2801
|
if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
|
|
2801
2802
|
this.openAlert();
|
|
2802
|
-
if (this.autoDismiss && !this.
|
|
2803
|
-
this.trackTimer =
|
|
2804
|
-
this.
|
|
2803
|
+
if (this.autoDismiss && !this.autoDismissTimeoutId) {
|
|
2804
|
+
this.trackTimer = Date.now();
|
|
2805
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
|
|
2805
2806
|
}
|
|
2806
2807
|
}
|
|
2807
2808
|
else {
|
|
@@ -17527,7 +17528,7 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
|
|
|
17527
17528
|
};
|
|
17528
17529
|
this.getKeyAdjustedWidth = (event) => {
|
|
17529
17530
|
const { key } = event;
|
|
17530
|
-
const { step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
17531
|
+
const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
17531
17532
|
const multipliedStep = step * stepMultiplier;
|
|
17532
17533
|
const MOVEMENT_KEYS = [
|
|
17533
17534
|
"ArrowUp",
|
|
@@ -17542,15 +17543,20 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
|
|
|
17542
17543
|
if (MOVEMENT_KEYS.indexOf(key) > -1) {
|
|
17543
17544
|
event.preventDefault();
|
|
17544
17545
|
}
|
|
17545
|
-
const
|
|
17546
|
+
const dir = getElementStyleDir(el);
|
|
17547
|
+
const directionKeys = ["ArrowLeft", "ArrowRight"];
|
|
17548
|
+
const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
|
|
17549
|
+
const increaseKeys = key === "ArrowUp" ||
|
|
17550
|
+
(position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
|
|
17546
17551
|
if (increaseKeys) {
|
|
17547
17552
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
17548
|
-
return initialContentWidth + stepValue;
|
|
17553
|
+
return initialContentWidth + directionFactor * stepValue;
|
|
17549
17554
|
}
|
|
17550
|
-
const decreaseKeys = key === "ArrowDown" ||
|
|
17555
|
+
const decreaseKeys = key === "ArrowDown" ||
|
|
17556
|
+
(position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
|
|
17551
17557
|
if (decreaseKeys) {
|
|
17552
17558
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
17553
|
-
return initialContentWidth - stepValue;
|
|
17559
|
+
return initialContentWidth - directionFactor * stepValue;
|
|
17554
17560
|
}
|
|
17555
17561
|
if (typeof contentWidthMin === "number" && key === "Home") {
|
|
17556
17562
|
return contentWidthMin;
|
|
@@ -17575,9 +17581,13 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
|
|
|
17575
17581
|
};
|
|
17576
17582
|
this.separatorPointerMove = (event) => {
|
|
17577
17583
|
event.preventDefault();
|
|
17578
|
-
const { initialContentWidth, position, initialClientX } = this;
|
|
17584
|
+
const { el, initialContentWidth, position, initialClientX } = this;
|
|
17579
17585
|
const offset = event.clientX - initialClientX;
|
|
17580
|
-
|
|
17586
|
+
const dir = getElementStyleDir(el);
|
|
17587
|
+
const adjustmentDirection = dir === "rtl" ? -1 : 1;
|
|
17588
|
+
const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
|
|
17589
|
+
const width = initialContentWidth + adjustedOffset;
|
|
17590
|
+
this.setContentWidth(width);
|
|
17581
17591
|
};
|
|
17582
17592
|
this.separatorPointerUp = (event) => {
|
|
17583
17593
|
event.preventDefault();
|
|
@@ -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 getElementDir } from './dom-fce0996b.js';
|
|
7
7
|
import { S as SLOTS } from './resources-584acd9b.js';
|
|
8
8
|
import { S as SLOTS$1 } from './resources-7c6029b6.js';
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-9de00868.js';
|
|
6
6
|
import { g as getKey } from './key-69001a68.js';
|
|
7
|
-
import { d as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
7
|
+
import { d as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom-fce0996b.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
10
10
|
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}";
|
|
@@ -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-a08896cc.js';
|
|
7
|
+
import { f as focusElement, g as getSlotted } from './dom-fce0996b.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-fce0996b.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-fce0996b.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, a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
6
|
+
import { t as toggleChildActionText, C as CalciteExpandToggle } from './CalciteExpandToggle-a08896cc.js';
|
|
7
|
+
import { f as focusElement, g as getSlotted, a as getElementDir, C as CSS_UTILITY } from './dom-fce0996b.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, a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
6
|
+
import { s as setRequestedIcon, a as getElementDir, C as CSS_UTILITY } from './dom-fce0996b.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 { a as getElementDir, b as getThemeName } from './dom-
|
|
6
|
+
import { a as getElementDir, b as getThemeName } from './dom-fce0996b.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 getElementDir, C as CSS_UTILITY } from './dom-
|
|
6
|
+
import { g as getSlotted, a as getElementDir, C as CSS_UTILITY } from './dom-fce0996b.js';
|
|
7
7
|
import { C as CalciteHeading } from './CalciteHeading-1d6cd311.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, h, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { c as closestElementCrossShadowBoundary, a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
7
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
6
|
+
import { c as closestElementCrossShadowBoundary, a as getElementDir, C as CSS_UTILITY } from './dom-fce0996b.js';
|
|
7
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-326df1c3.js';
|
|
8
8
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
9
9
|
import './guid-196bd5ea.js';
|
|
10
10
|
|
|
@@ -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 { a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
6
|
+
import { a as getElementDir, C as CSS_UTILITY } from './dom-fce0996b.js';
|
|
7
7
|
import { g as getKey } from './key-69001a68.js';
|
|
8
8
|
import './guid-196bd5ea.js';
|
|
9
9
|
|
|
@@ -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-aed20747.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-326df1c3.js';
|
|
9
|
+
import './dom-fce0996b.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, a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
6
|
+
import { g as getSlotted, a as getElementDir, C as CSS_UTILITY } from './dom-fce0996b.js';
|
|
7
7
|
import { g as guid } from './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, g as getElement } from './index-9de00868.js';
|
|
6
|
-
import { f as focusElement, a as getElementDir, C as CSS_UTILITY, b as getThemeName } from './dom-
|
|
6
|
+
import { f as focusElement, a as getElementDir, C as CSS_UTILITY, b as getThemeName } from './dom-fce0996b.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
8
|
import { g as getKey } from './key-69001a68.js';
|
|
9
9
|
import { c as clamp } from './math-456207f5.js';
|
|
@@ -5,12 +5,12 @@
|
|
|
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, a as getElementDir, d as getElementProp, C as CSS_UTILITY } from './dom-
|
|
8
|
+
import { n as nodeListToArray, a as getElementDir, d as getElementProp, C as CSS_UTILITY } from './dom-fce0996b.js';
|
|
9
9
|
import { g as getKey } from './key-69001a68.js';
|
|
10
|
-
import { u as updatePopper, c as createPopper, C as CSS$2 } from './popper-
|
|
10
|
+
import { u as updatePopper, c as createPopper, C as CSS$2 } from './popper-d8ea1200.js';
|
|
11
11
|
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-
|
|
12
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-326df1c3.js';
|
|
13
|
+
import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-aed20747.js';
|
|
14
14
|
import { c as createObserver } from './observers-8f0bc419.js';
|
|
15
15
|
|
|
16
16
|
/**
|