@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
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
11
|
-
const label = require('./label-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
|
+
const label = require('./label-98a31f7d.js');
|
|
12
12
|
require('./guid-b270f0db.js');
|
|
13
13
|
|
|
14
14
|
const CSS = {
|
|
@@ -8,11 +8,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
10
|
const resources = require('./resources-3f7b51c8.js');
|
|
11
|
-
const dom = require('./dom-
|
|
11
|
+
const dom = require('./dom-41ce6029.js');
|
|
12
12
|
const key = require('./key-8bfb93ec.js');
|
|
13
|
-
const label = require('./label-
|
|
14
|
-
const form = require('./form-
|
|
15
|
-
const popper = require('./popper-
|
|
13
|
+
const label = require('./label-98a31f7d.js');
|
|
14
|
+
const form = require('./form-7f276aa5.js');
|
|
15
|
+
const popper = require('./popper-4c24a334.js');
|
|
16
16
|
require('./locale-69dc9583.js');
|
|
17
17
|
require('./number-e6448e15.js');
|
|
18
18
|
require('./guid-b270f0db.js');
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
require('./guid-b270f0db.js');
|
|
12
12
|
|
|
13
13
|
var StatusIconDefaults;
|
|
@@ -10,9 +10,9 @@ const index = require('./index-6b5d2de5.js');
|
|
|
10
10
|
const guid = require('./guid-b270f0db.js');
|
|
11
11
|
const key = require('./key-8bfb93ec.js');
|
|
12
12
|
const number = require('./number-e6448e15.js');
|
|
13
|
-
const label = require('./label-
|
|
14
|
-
const form = require('./form-
|
|
15
|
-
require('./dom-
|
|
13
|
+
const label = require('./label-98a31f7d.js');
|
|
14
|
+
const form = require('./form-7f276aa5.js');
|
|
15
|
+
require('./dom-41ce6029.js');
|
|
16
16
|
|
|
17
17
|
const maxTenthForMinuteAndSecond = 5;
|
|
18
18
|
function getMeridiem(hour) {
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
const key = require('./key-8bfb93ec.js');
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const form = require('./form-
|
|
12
|
+
const label = require('./label-98a31f7d.js');
|
|
13
|
+
const form = require('./form-7f276aa5.js');
|
|
14
14
|
const locale = require('./locale-69dc9583.js');
|
|
15
15
|
const number = require('./number-e6448e15.js');
|
|
16
16
|
const math = require('./math-145c80e2.js');
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
require('./guid-b270f0db.js');
|
|
12
12
|
|
|
13
13
|
const calciteLinkCss = "@-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 a,:host span{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host a:focus,:host span:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-icon{width:1em;height:1em;min-width:unset;min-height:unset}.calcite-link--icon{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;vertical-align:text-top;margin-top:0.125rem}:host([disabled]){pointer-events:none}:host([disabled]) span,:host([disabled]) a{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host .calcite-link--icon.icon-start{margin-right:0.5rem}.calcite--rtl .calcite-link--icon.icon-start{margin-right:0;margin-left:0.5rem}:host .calcite-link--icon.icon-end{margin-left:0.5rem}.calcite--rtl .calcite-link--icon.icon-end{margin-left:0;margin-right:0.5rem}:host span,:host a{display:inline;padding:0;border-style:none;background-color:transparent;position:relative;color:var(--calcite-ui-text-link);line-height:inherit;white-space:initial;background-image:-webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)), -webkit-gradient(linear, left top, left bottom, from(var(--calcite-link-blue-underline)), to(var(--calcite-link-blue-underline)));background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-link-blue-underline), var(--calcite-link-blue-underline));background-position:0% 100%, 100% 100%;background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px;-webkit-transition:all 0.15s ease-in-out, background-size 0.3s ease-in-out;transition:all 0.15s ease-in-out, background-size 0.3s ease-in-out}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}span.calcite--rtl,a.calcite--rtl{background-position:100% 100%, 100% 100%}";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
const CalciteHeading = require('./CalciteHeading-112c19f9.js');
|
|
12
12
|
require('./guid-b270f0db.js');
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
const key = require('./key-8bfb93ec.js');
|
|
12
12
|
const observers = require('./observers-41837607.js');
|
|
13
13
|
require('./guid-b270f0db.js');
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
10
|
const interfaces = require('./interfaces-54651c1c.js');
|
|
11
|
-
const dom = require('./dom-
|
|
11
|
+
const dom = require('./dom-41ce6029.js');
|
|
12
12
|
require('./guid-b270f0db.js');
|
|
13
13
|
|
|
14
14
|
const TEXT = {
|
|
@@ -8,9 +8,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
10
|
const observers = require('./observers-41837607.js');
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const form = require('./form-
|
|
11
|
+
const dom = require('./dom-41ce6029.js');
|
|
12
|
+
const label = require('./label-98a31f7d.js');
|
|
13
|
+
const form = require('./form-7f276aa5.js');
|
|
14
14
|
require('./guid-b270f0db.js');
|
|
15
15
|
|
|
16
16
|
const calciteOptionCss = "@-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:block}";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
const CalciteHeading = require('./CalciteHeading-112c19f9.js');
|
|
12
12
|
const resources = require('./resources-ffe563a2.js');
|
|
13
13
|
require('./guid-b270f0db.js');
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const resources = require('./resources-
|
|
10
|
+
const resources = require('./resources-1177e39b.js');
|
|
11
11
|
const observers = require('./observers-41837607.js');
|
|
12
|
-
const dom = require('./dom-
|
|
12
|
+
const dom = require('./dom-41ce6029.js');
|
|
13
13
|
const CalciteHeading = require('./CalciteHeading-112c19f9.js');
|
|
14
14
|
require('./array-a5dedf5a.js');
|
|
15
15
|
require('./debounce-95979061.js');
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const popper = require('./popper-
|
|
10
|
+
const popper = require('./popper-4c24a334.js');
|
|
11
11
|
const guid = require('./guid-b270f0db.js');
|
|
12
|
-
const dom = require('./dom-
|
|
12
|
+
const dom = require('./dom-41ce6029.js');
|
|
13
13
|
const CalciteHeading = require('./CalciteHeading-112c19f9.js');
|
|
14
14
|
|
|
15
15
|
const CSS = {
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
const key = require('./key-8bfb93ec.js');
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const form = require('./form-
|
|
12
|
+
const label = require('./label-98a31f7d.js');
|
|
13
|
+
const form = require('./form-7f276aa5.js');
|
|
14
14
|
const observers = require('./observers-41837607.js');
|
|
15
15
|
require('./guid-b270f0db.js');
|
|
16
16
|
|
|
@@ -8,9 +8,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
10
|
const guid = require('./guid-b270f0db.js');
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const form = require('./form-
|
|
11
|
+
const dom = require('./dom-41ce6029.js');
|
|
12
|
+
const label = require('./label-98a31f7d.js');
|
|
13
|
+
const form = require('./form-7f276aa5.js');
|
|
14
14
|
const key = require('./key-8bfb93ec.js');
|
|
15
15
|
const array = require('./array-a5dedf5a.js');
|
|
16
16
|
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
const guid = require('./guid-b270f0db.js');
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const form = require('./form-
|
|
12
|
+
const label = require('./label-98a31f7d.js');
|
|
13
|
+
const form = require('./form-7f276aa5.js');
|
|
14
14
|
|
|
15
15
|
const TEXT = {
|
|
16
16
|
rating: "Rating",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
const math = require('./math-145c80e2.js');
|
|
12
12
|
require('./guid-b270f0db.js');
|
|
13
13
|
|
|
@@ -199,7 +199,7 @@ let CalciteShellPanel = class {
|
|
|
199
199
|
};
|
|
200
200
|
this.getKeyAdjustedWidth = (event) => {
|
|
201
201
|
const { key } = event;
|
|
202
|
-
const { step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
202
|
+
const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
203
203
|
const multipliedStep = step * stepMultiplier;
|
|
204
204
|
const MOVEMENT_KEYS = [
|
|
205
205
|
"ArrowUp",
|
|
@@ -214,15 +214,20 @@ let CalciteShellPanel = class {
|
|
|
214
214
|
if (MOVEMENT_KEYS.indexOf(key) > -1) {
|
|
215
215
|
event.preventDefault();
|
|
216
216
|
}
|
|
217
|
-
const
|
|
217
|
+
const dir = dom.getElementStyleDir(el);
|
|
218
|
+
const directionKeys = ["ArrowLeft", "ArrowRight"];
|
|
219
|
+
const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
|
|
220
|
+
const increaseKeys = key === "ArrowUp" ||
|
|
221
|
+
(position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
|
|
218
222
|
if (increaseKeys) {
|
|
219
223
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
220
|
-
return initialContentWidth + stepValue;
|
|
224
|
+
return initialContentWidth + directionFactor * stepValue;
|
|
221
225
|
}
|
|
222
|
-
const decreaseKeys = key === "ArrowDown" ||
|
|
226
|
+
const decreaseKeys = key === "ArrowDown" ||
|
|
227
|
+
(position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
|
|
223
228
|
if (decreaseKeys) {
|
|
224
229
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
225
|
-
return initialContentWidth - stepValue;
|
|
230
|
+
return initialContentWidth - directionFactor * stepValue;
|
|
226
231
|
}
|
|
227
232
|
if (typeof contentWidthMin === "number" && key === "Home") {
|
|
228
233
|
return contentWidthMin;
|
|
@@ -247,9 +252,13 @@ let CalciteShellPanel = class {
|
|
|
247
252
|
};
|
|
248
253
|
this.separatorPointerMove = (event) => {
|
|
249
254
|
event.preventDefault();
|
|
250
|
-
const { initialContentWidth, position, initialClientX } = this;
|
|
255
|
+
const { el, initialContentWidth, position, initialClientX } = this;
|
|
251
256
|
const offset = event.clientX - initialClientX;
|
|
252
|
-
|
|
257
|
+
const dir = dom.getElementStyleDir(el);
|
|
258
|
+
const adjustmentDirection = dir === "rtl" ? -1 : 1;
|
|
259
|
+
const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
|
|
260
|
+
const width = initialContentWidth + adjustedOffset;
|
|
261
|
+
this.setContentWidth(width);
|
|
253
262
|
};
|
|
254
263
|
this.separatorPointerUp = (event) => {
|
|
255
264
|
event.preventDefault();
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
10
|
const key = require('./key-8bfb93ec.js');
|
|
11
|
-
const dom = require('./dom-
|
|
11
|
+
const dom = require('./dom-41ce6029.js');
|
|
12
12
|
require('./guid-b270f0db.js');
|
|
13
13
|
|
|
14
14
|
const calciteStepperCss = "@-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:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;position:relative;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:stretch;align-items:stretch;width:100%;min-width:100%}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column;-ms-flex:1 1 auto;flex:1 1 auto}:host ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%;min-width:100%}";
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
const key = require('./key-8bfb93ec.js');
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const form = require('./form-
|
|
12
|
+
const label = require('./label-98a31f7d.js');
|
|
13
|
+
const form = require('./form-7f276aa5.js');
|
|
14
14
|
require('./guid-b270f0db.js');
|
|
15
15
|
|
|
16
16
|
const calciteSwitchCss = "@-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]) .container{height:0.75rem}:host([scale=s]) .track{width:1.5rem;height:0.75rem}:host([scale=s]) .handle{width:0.5rem;height:0.5rem}:host([scale=m]) .container{height:1rem}:host([scale=m]) .track{width:2rem;height:1rem}:host([scale=m]) .handle{width:0.75rem;height:0.75rem}:host([scale=l]) .container{height:1.5rem}:host([scale=l]) .track{width:3rem;height:1.5rem}:host([scale=l]) .handle{width:1.25rem;height:1.25rem}:host{display:inline-block;position:relative;width:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none;cursor:default}:host{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;width:auto}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.track{position:relative;display:inline-block;vertical-align:top;background-color:var(--calcite-ui-foreground-2);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none;-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);border-radius:9999px}.handle{position:absolute;display:block;right:auto;background-color:var(--calcite-ui-foreground-1);border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);-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);border-radius:9999px;pointer-events:none;top:-1px;left:-1px}:host(:hover) .handle,:host(:focus) .handle{border-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([checked]) .track{background-color:var(--calcite-ui-brand);border-color:var(--calcite-ui-brand-hover)}:host([checked]) .handle{left:auto;border-color:var(--calcite-ui-brand);right:-1px}:host([checked]:hover) .track{background-color:var(--calcite-ui-brand);border-color:var(--calcite-ui-brand-hover)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}.calcite--rtl .handle{left:auto;right:-1px}:host([checked]) .calcite--rtl .handle{right:auto;left:-1px}:host([checked]:active) .calcite--rtl .handle{right:auto;left:-1px}:host([checked]:focus) .calcite--rtl .handle{right:auto;left:-1px}::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}";
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
10
|
const guid = require('./guid-b270f0db.js');
|
|
11
|
-
const dom = require('./dom-
|
|
11
|
+
const dom = require('./dom-41ce6029.js');
|
|
12
12
|
const key = require('./key-8bfb93ec.js');
|
|
13
13
|
const observers = require('./observers-41837607.js');
|
|
14
14
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
const guid = require('./guid-b270f0db.js');
|
|
12
12
|
|
|
13
13
|
const calciteTileSelectCss = "@-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}.root{background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:100%;max-width:300px;padding:0.75rem;position:relative;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;vertical-align:top;z-index:10}:host{display:block}:host(:hover) .root{z-index:20;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-1);box-shadow:0 0 0 1px var(--calcite-ui-border-1)}:host([checked]) .root{z-index:30;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}.root.focused{z-index:30}:host(:not([input-enabled]):hover) .root{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host(:not([input-enabled])) .root.focused{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1), inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1), inset 0 0 0 5px var(--calcite-ui-brand)}:host([width=full]) .root{max-width:none;display:-ms-flexbox;display:flex}:host([width=full]) calcite-tile{-ms-flex:1 1 auto;flex:1 1 auto}:host([input-alignment=start][width=full]) calcite-tile{-ms-flex-order:1;order:1;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host(:not([input-enabled])) ::slotted(calcite-checkbox),:host(:not([input-enabled])) ::slotted(calcite-radio-button){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([heading]:not([icon]):not([description])) .root{-ms-flex-align:center;align-items:center}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) .root,:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) .root{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) ::slotted(calcite-checkbox),:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) ::slotted(calcite-radio-button),:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) ::slotted(calcite-checkbox),:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) ::slotted(calcite-radio-button){-ms-flex-order:0;order:0}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) calcite-tile,:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) calcite-tile{-ms-flex-order:1;order:1}:host([input-enabled][input-alignment=start][icon][heading]:not([description])) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=start][icon][heading]:not([description])) ::slotted(calcite-radio-button){position:absolute;top:0.75rem;left:0.75rem}:host([input-enabled][input-alignment=start][icon][heading]:not([description])) .calcite--rtl ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=start][icon][heading]:not([description])) .calcite--rtl ::slotted(calcite-radio-button){right:0.75rem;left:unset}:host([input-enabled][input-alignment=end][icon][heading]) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][icon][heading]) ::slotted(calcite-radio-button){position:absolute;top:0.75rem;right:0.75rem}:host([input-enabled][input-alignment=end][icon][heading]) .calcite--rtl ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][icon][heading]) .calcite--rtl ::slotted(calcite-radio-button){right:unset;left:0.75rem}:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) .root{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) ::slotted(calcite-radio-button){justify-self:flex-end}:host([hidden]){display:none}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
const CalciteHeading = require('./CalciteHeading-112c19f9.js');
|
|
12
12
|
const observers = require('./observers-41837607.js');
|
|
13
13
|
require('./guid-b270f0db.js');
|
|
@@ -8,8 +8,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
10
|
const guid = require('./guid-b270f0db.js');
|
|
11
|
-
const popper = require('./popper-
|
|
12
|
-
const dom = require('./dom-
|
|
11
|
+
const popper = require('./popper-4c24a334.js');
|
|
12
|
+
const dom = require('./dom-41ce6029.js');
|
|
13
13
|
const key = require('./key-8bfb93ec.js');
|
|
14
14
|
|
|
15
15
|
const CSS = {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-41ce6029.js');
|
|
11
11
|
const key = require('./key-8bfb93ec.js');
|
|
12
12
|
require('./guid-b270f0db.js');
|
|
13
13
|
|
|
@@ -8,11 +8,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
10
|
const sortable_esm = require('./sortable.esm-d7a4560b.js');
|
|
11
|
-
const resources = require('./resources-
|
|
11
|
+
const resources = require('./resources-1177e39b.js');
|
|
12
12
|
const array = require('./array-a5dedf5a.js');
|
|
13
13
|
const observers = require('./observers-41837607.js');
|
|
14
14
|
const guid = require('./guid-b270f0db.js');
|
|
15
|
-
const dom = require('./dom-
|
|
15
|
+
const dom = require('./dom-41ce6029.js');
|
|
16
16
|
require('./debounce-95979061.js');
|
|
17
17
|
|
|
18
18
|
const CSS = {
|
|
@@ -38,6 +38,12 @@ function nodeListToArray(nodeList) {
|
|
|
38
38
|
function getThemeName(el) {
|
|
39
39
|
return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
|
|
40
40
|
}
|
|
41
|
+
function getElementStyleDir(el) {
|
|
42
|
+
return window.getComputedStyle(el).direction || "ltr";
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated use getElementStyleDir instead.
|
|
46
|
+
*/
|
|
41
47
|
function getElementDir(el) {
|
|
42
48
|
const prop = "dir";
|
|
43
49
|
const selector = `[${prop}]`;
|
|
@@ -160,6 +166,7 @@ exports.filterDirectChildren = filterDirectChildren;
|
|
|
160
166
|
exports.focusElement = focusElement;
|
|
161
167
|
exports.getElementDir = getElementDir;
|
|
162
168
|
exports.getElementProp = getElementProp;
|
|
169
|
+
exports.getElementStyleDir = getElementStyleDir;
|
|
163
170
|
exports.getSlotted = getSlotted;
|
|
164
171
|
exports.getThemeName = getThemeName;
|
|
165
172
|
exports.intersects = intersects;
|
|
@@ -47,13 +47,11 @@ export class CalciteAlert {
|
|
|
47
47
|
this.queueLength = 0;
|
|
48
48
|
/** is the alert queued */
|
|
49
49
|
this.queued = false;
|
|
50
|
-
this.
|
|
51
|
-
this.trackTimer =
|
|
50
|
+
this.autoDismissTimeoutId = null;
|
|
51
|
+
this.trackTimer = Date.now();
|
|
52
52
|
/** close and emit the closed alert and the queue */
|
|
53
53
|
this.closeAlert = () => {
|
|
54
|
-
|
|
55
|
-
this.autoDismissTimeout = null;
|
|
56
|
-
}
|
|
54
|
+
this.autoDismissTimeoutId = null;
|
|
57
55
|
this.queued = false;
|
|
58
56
|
this.active = false;
|
|
59
57
|
this.queue = this.queue.filter((e) => e !== this.el);
|
|
@@ -77,10 +75,10 @@ export class CalciteAlert {
|
|
|
77
75
|
updateRequestedIcon() {
|
|
78
76
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
79
77
|
}
|
|
80
|
-
updateDuration(
|
|
81
|
-
if (this.autoDismiss &&
|
|
82
|
-
window.clearTimeout(this.
|
|
83
|
-
this.
|
|
78
|
+
updateDuration() {
|
|
79
|
+
if (this.autoDismiss && this.autoDismissTimeoutId) {
|
|
80
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
81
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
84
|
//--------------------------------------------------------------------------
|
|
@@ -100,9 +98,7 @@ export class CalciteAlert {
|
|
|
100
98
|
this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
|
|
101
99
|
}
|
|
102
100
|
disconnectedCallback() {
|
|
103
|
-
|
|
104
|
-
window.clearTimeout(this.autoDismissTimeout);
|
|
105
|
-
}
|
|
101
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
106
102
|
}
|
|
107
103
|
render() {
|
|
108
104
|
const dir = getElementDir(this.el);
|
|
@@ -112,7 +108,6 @@ export class CalciteAlert {
|
|
|
112
108
|
const queueCount = (h("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` },
|
|
113
109
|
h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
|
|
114
110
|
const { active, autoDismiss, label, queued, requestedIcon } = this;
|
|
115
|
-
const progressBar = h("div", { class: "alert-dismiss-progress" });
|
|
116
111
|
const role = autoDismiss ? "alert" : "alertdialog";
|
|
117
112
|
const hidden = !active;
|
|
118
113
|
return (h(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role },
|
|
@@ -129,7 +124,7 @@ export class CalciteAlert {
|
|
|
129
124
|
h("slot", { name: SLOTS.link })),
|
|
130
125
|
queueCount,
|
|
131
126
|
!autoDismiss ? closeButton : null,
|
|
132
|
-
active && !queued && autoDismiss ?
|
|
127
|
+
active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
|
|
133
128
|
}
|
|
134
129
|
// when an alert is opened or closed, update queue and determine active alert
|
|
135
130
|
alertSync(event) {
|
|
@@ -175,9 +170,9 @@ export class CalciteAlert {
|
|
|
175
170
|
var _a;
|
|
176
171
|
if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
|
|
177
172
|
this.openAlert();
|
|
178
|
-
if (this.autoDismiss && !this.
|
|
179
|
-
this.trackTimer =
|
|
180
|
-
this.
|
|
173
|
+
if (this.autoDismiss && !this.autoDismissTimeoutId) {
|
|
174
|
+
this.trackTimer = Date.now();
|
|
175
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
|
|
181
176
|
}
|
|
182
177
|
}
|
|
183
178
|
else {
|