@esri/calcite-components 1.0.0-next.311 → 1.0.0-next.315
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-fc643963.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-dd464e44.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-1e17f99a.system.entry.js +5 -0
- package/dist/calcite/{p-4acfb654.entry.js → p-1f3e9f1f.entry.js} +1 -1
- package/dist/calcite/p-206dbc67.system.entry.js +5 -0
- 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-968ea270.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-502ea583.entry.js → p-3bfce0ff.entry.js} +1 -1
- package/dist/calcite/{p-7ba971b5.system.entry.js → p-3ce1ce39.system.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-4ddce847.js +5 -0
- 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-54394dfe.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-874ea2cb.system.entry.js +5 -0
- 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-109049e6.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-3a592bf3.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-b463b6eb.entry.js +5 -0
- 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-cf104aa4.entry.js +5 -0
- 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-d653cdf5.system.js +5 -0
- 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-db274711.entry.js +5 -0
- 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-d550ee4d.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 +3 -3
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input.cjs.entry.js +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 +2 -2
- 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 +7 -6
- 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 +18 -9
- 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-87bf13e6.js → popper-4c24a334.js} +91 -65
- 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-dropdown/calcite-dropdown.js +1 -1
- package/dist/collection/components/calcite-modal/calcite-modal.js +1 -1
- package/dist/collection/components/calcite-panel/calcite-panel.css +4 -1
- package/dist/collection/components/calcite-panel/calcite-panel.js +7 -6
- package/dist/collection/components/calcite-panel/resources.js +1 -0
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +1 -0
- 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-dropdown2.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-panel.js +6 -5
- package/dist/components/calcite-shell-panel.js +18 -9
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/dom.js +7 -1
- package/dist/components/popper.js +90 -64
- package/dist/custom-elements/index.js +133 -96
- 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 +3 -3
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +3 -3
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +2 -2
- package/dist/esm/calcite-input-date-picker.entry.js +4 -4
- package/dist/esm/calcite-input-message.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
- package/dist/esm/calcite-input.entry.js +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 +2 -2
- 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 +7 -6
- 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 +18 -9
- 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-dc4b45cf.js → popper-d8ea1200.js} +91 -65
- 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 +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +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-d8ea1200.js +5 -0
- 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/components/calcite-panel/resources.d.ts +1 -0
- package/dist/types/utils/dom.d.ts +4 -0
- package/hydrate/index.js +133 -96
- package/package.json +8 -7
- 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-3e6fcede.entry.js +0 -5
- package/dist/calcite/p-52cc870b.js +0 -5
- package/dist/calcite/p-688f06b9.entry.js +0 -5
- package/dist/calcite/p-6cc23c39.system.js +0 -5
- package/dist/calcite/p-75264173.entry.js +0 -5
- package/dist/calcite/p-b1351c3e.system.entry.js +0 -5
- package/dist/calcite/p-b1f88d45.system.js +0 -5
- package/dist/calcite/p-ca6025ab.system.entry.js +0 -5
- package/dist/calcite/p-d53cc958.js +0 -5
- package/dist/calcite/p-ed15771f.system.entry.js +0 -5
- package/dist/calcite/p-ed453bfb.entry.js +0 -5
- package/dist/esm-es5/dom-f24e866c.js +0 -5
- package/dist/esm-es5/popper-dc4b45cf.js +0 -5
package/hydrate/index.js
CHANGED
|
@@ -5737,6 +5737,12 @@ function nodeListToArray(nodeList) {
|
|
|
5737
5737
|
function getThemeName(el) {
|
|
5738
5738
|
return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
|
|
5739
5739
|
}
|
|
5740
|
+
function getElementStyleDir(el) {
|
|
5741
|
+
return window.getComputedStyle(el).direction || "ltr";
|
|
5742
|
+
}
|
|
5743
|
+
/**
|
|
5744
|
+
* @deprecated use getElementStyleDir instead.
|
|
5745
|
+
*/
|
|
5740
5746
|
function getElementDir(el) {
|
|
5741
5747
|
const prop = "dir";
|
|
5742
5748
|
const selector = `[${prop}]`;
|
|
@@ -8319,13 +8325,11 @@ class CalciteAlert {
|
|
|
8319
8325
|
this.queueLength = 0;
|
|
8320
8326
|
/** is the alert queued */
|
|
8321
8327
|
this.queued = false;
|
|
8322
|
-
this.
|
|
8323
|
-
this.trackTimer =
|
|
8328
|
+
this.autoDismissTimeoutId = null;
|
|
8329
|
+
this.trackTimer = Date.now();
|
|
8324
8330
|
/** close and emit the closed alert and the queue */
|
|
8325
8331
|
this.closeAlert = () => {
|
|
8326
|
-
|
|
8327
|
-
this.autoDismissTimeout = null;
|
|
8328
|
-
}
|
|
8332
|
+
this.autoDismissTimeoutId = null;
|
|
8329
8333
|
this.queued = false;
|
|
8330
8334
|
this.active = false;
|
|
8331
8335
|
this.queue = this.queue.filter((e) => e !== this.el);
|
|
@@ -8349,10 +8353,10 @@ class CalciteAlert {
|
|
|
8349
8353
|
updateRequestedIcon() {
|
|
8350
8354
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
8351
8355
|
}
|
|
8352
|
-
updateDuration(
|
|
8353
|
-
if (this.autoDismiss &&
|
|
8354
|
-
window.clearTimeout(this.
|
|
8355
|
-
this.
|
|
8356
|
+
updateDuration() {
|
|
8357
|
+
if (this.autoDismiss && this.autoDismissTimeoutId) {
|
|
8358
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
8359
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
|
|
8356
8360
|
}
|
|
8357
8361
|
}
|
|
8358
8362
|
//--------------------------------------------------------------------------
|
|
@@ -8372,9 +8376,7 @@ class CalciteAlert {
|
|
|
8372
8376
|
this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
|
|
8373
8377
|
}
|
|
8374
8378
|
disconnectedCallback() {
|
|
8375
|
-
|
|
8376
|
-
window.clearTimeout(this.autoDismissTimeout);
|
|
8377
|
-
}
|
|
8379
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
8378
8380
|
}
|
|
8379
8381
|
render() {
|
|
8380
8382
|
const dir = getElementDir(this.el);
|
|
@@ -8382,14 +8384,13 @@ class CalciteAlert {
|
|
|
8382
8384
|
const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;
|
|
8383
8385
|
const queueCount = (hAsync("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, hAsync("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
|
|
8384
8386
|
const { active, autoDismiss, label, queued, requestedIcon } = this;
|
|
8385
|
-
const progressBar = hAsync("div", { class: "alert-dismiss-progress" });
|
|
8386
8387
|
const role = autoDismiss ? "alert" : "alertdialog";
|
|
8387
8388
|
const hidden = !active;
|
|
8388
8389
|
return (hAsync(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, hAsync("div", { class: {
|
|
8389
8390
|
container: true,
|
|
8390
8391
|
queued,
|
|
8391
8392
|
[CSS_UTILITY.rtl]: dir === "rtl"
|
|
8392
|
-
} }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$l.title }), hAsync("slot", { name: SLOTS$l.message }), hAsync("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ?
|
|
8393
|
+
} }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$l.title }), hAsync("slot", { name: SLOTS$l.message }), hAsync("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
8393
8394
|
}
|
|
8394
8395
|
// when an alert is opened or closed, update queue and determine active alert
|
|
8395
8396
|
alertSync(event) {
|
|
@@ -8435,9 +8436,9 @@ class CalciteAlert {
|
|
|
8435
8436
|
var _a;
|
|
8436
8437
|
if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
|
|
8437
8438
|
this.openAlert();
|
|
8438
|
-
if (this.autoDismiss && !this.
|
|
8439
|
-
this.trackTimer =
|
|
8440
|
-
this.
|
|
8439
|
+
if (this.autoDismiss && !this.autoDismissTimeoutId) {
|
|
8440
|
+
this.trackTimer = Date.now();
|
|
8441
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
|
|
8441
8442
|
}
|
|
8442
8443
|
}
|
|
8443
8444
|
else {
|
|
@@ -13345,29 +13346,32 @@ function getBasePlacement(placement) {
|
|
|
13345
13346
|
return placement.split('-')[0];
|
|
13346
13347
|
}
|
|
13347
13348
|
|
|
13348
|
-
|
|
13349
|
-
|
|
13350
|
-
|
|
13349
|
+
var max = Math.max;
|
|
13350
|
+
var min = Math.min;
|
|
13351
|
+
var round = Math.round;
|
|
13352
|
+
|
|
13353
|
+
function getBoundingClientRect(element, includeScale) {
|
|
13354
|
+
if (includeScale === void 0) {
|
|
13355
|
+
includeScale = false;
|
|
13356
|
+
}
|
|
13351
13357
|
|
|
13352
13358
|
var rect = element.getBoundingClientRect();
|
|
13353
13359
|
var scaleX = 1;
|
|
13354
|
-
var scaleY = 1;
|
|
13355
|
-
|
|
13356
|
-
|
|
13357
|
-
|
|
13358
|
-
|
|
13359
|
-
|
|
13360
|
-
|
|
13361
|
-
|
|
13362
|
-
|
|
13363
|
-
|
|
13364
|
-
|
|
13365
|
-
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
|
|
13369
|
-
// }
|
|
13370
|
-
// }
|
|
13360
|
+
var scaleY = 1;
|
|
13361
|
+
|
|
13362
|
+
if (isHTMLElement(element) && includeScale) {
|
|
13363
|
+
var offsetHeight = element.offsetHeight;
|
|
13364
|
+
var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
|
|
13365
|
+
// Fallback to 1 in case both values are `0`
|
|
13366
|
+
|
|
13367
|
+
if (offsetWidth > 0) {
|
|
13368
|
+
scaleX = round(rect.width) / offsetWidth || 1;
|
|
13369
|
+
}
|
|
13370
|
+
|
|
13371
|
+
if (offsetHeight > 0) {
|
|
13372
|
+
scaleY = round(rect.height) / offsetHeight || 1;
|
|
13373
|
+
}
|
|
13374
|
+
}
|
|
13371
13375
|
|
|
13372
13376
|
return {
|
|
13373
13377
|
width: rect.width / scaleX,
|
|
@@ -13522,13 +13526,13 @@ function getMainAxisFromPlacement(placement) {
|
|
|
13522
13526
|
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
|
13523
13527
|
}
|
|
13524
13528
|
|
|
13525
|
-
var max = Math.max;
|
|
13526
|
-
var min = Math.min;
|
|
13527
|
-
var round = Math.round;
|
|
13528
|
-
|
|
13529
13529
|
function within(min$1, value, max$1) {
|
|
13530
13530
|
return max(min$1, min(value, max$1));
|
|
13531
13531
|
}
|
|
13532
|
+
function withinMaxClamp(min, value, max) {
|
|
13533
|
+
var v = within(min, value, max);
|
|
13534
|
+
return v > max ? max : v;
|
|
13535
|
+
}
|
|
13532
13536
|
|
|
13533
13537
|
function getFreshSideObject() {
|
|
13534
13538
|
return {
|
|
@@ -13651,8 +13655,8 @@ function roundOffsetsByDPR(_ref) {
|
|
|
13651
13655
|
var win = window;
|
|
13652
13656
|
var dpr = win.devicePixelRatio || 1;
|
|
13653
13657
|
return {
|
|
13654
|
-
x: round(
|
|
13655
|
-
y: round(
|
|
13658
|
+
x: round(x * dpr) / dpr || 0,
|
|
13659
|
+
y: round(y * dpr) / dpr || 0
|
|
13656
13660
|
};
|
|
13657
13661
|
}
|
|
13658
13662
|
|
|
@@ -13667,7 +13671,8 @@ function mapToStyles(_ref2) {
|
|
|
13667
13671
|
position = _ref2.position,
|
|
13668
13672
|
gpuAcceleration = _ref2.gpuAcceleration,
|
|
13669
13673
|
adaptive = _ref2.adaptive,
|
|
13670
|
-
roundOffsets = _ref2.roundOffsets
|
|
13674
|
+
roundOffsets = _ref2.roundOffsets,
|
|
13675
|
+
isFixed = _ref2.isFixed;
|
|
13671
13676
|
|
|
13672
13677
|
var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
|
|
13673
13678
|
_ref3$x = _ref3.x,
|
|
@@ -13699,16 +13704,18 @@ function mapToStyles(_ref2) {
|
|
|
13699
13704
|
offsetParent = offsetParent;
|
|
13700
13705
|
|
|
13701
13706
|
if (placement === top || (placement === left || placement === right) && variation === end) {
|
|
13702
|
-
sideY = bottom;
|
|
13703
|
-
|
|
13704
|
-
|
|
13707
|
+
sideY = bottom;
|
|
13708
|
+
var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
13709
|
+
offsetParent[heightProp];
|
|
13710
|
+
y -= offsetY - popperRect.height;
|
|
13705
13711
|
y *= gpuAcceleration ? 1 : -1;
|
|
13706
13712
|
}
|
|
13707
13713
|
|
|
13708
13714
|
if (placement === left || (placement === top || placement === bottom) && variation === end) {
|
|
13709
|
-
sideX = right;
|
|
13710
|
-
|
|
13711
|
-
|
|
13715
|
+
sideX = right;
|
|
13716
|
+
var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
13717
|
+
offsetParent[widthProp];
|
|
13718
|
+
x -= offsetX - popperRect.width;
|
|
13712
13719
|
x *= gpuAcceleration ? 1 : -1;
|
|
13713
13720
|
}
|
|
13714
13721
|
}
|
|
@@ -13741,7 +13748,8 @@ function computeStyles(_ref4) {
|
|
|
13741
13748
|
variation: getVariation(state.placement),
|
|
13742
13749
|
popper: state.elements.popper,
|
|
13743
13750
|
popperRect: state.rects.popper,
|
|
13744
|
-
gpuAcceleration: gpuAcceleration
|
|
13751
|
+
gpuAcceleration: gpuAcceleration,
|
|
13752
|
+
isFixed: state.options.strategy === 'fixed'
|
|
13745
13753
|
};
|
|
13746
13754
|
|
|
13747
13755
|
if (state.modifiersData.popperOffsets != null) {
|
|
@@ -13999,7 +14007,7 @@ function getInnerBoundingClientRect(element) {
|
|
|
13999
14007
|
}
|
|
14000
14008
|
|
|
14001
14009
|
function getClientRectFromMixedType(element, clippingParent) {
|
|
14002
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) :
|
|
14010
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
14003
14011
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
14004
14012
|
// clipping (or hiding) overflowing elements with a position different from
|
|
14005
14013
|
// `initial`
|
|
@@ -14016,7 +14024,7 @@ function getClippingParents(element) {
|
|
|
14016
14024
|
|
|
14017
14025
|
|
|
14018
14026
|
return clippingParents.filter(function (clippingParent) {
|
|
14019
|
-
return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
14027
|
+
return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle$1(clippingParent).position !== 'static' : true);
|
|
14020
14028
|
});
|
|
14021
14029
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
14022
14030
|
// clipping parents
|
|
@@ -14512,6 +14520,14 @@ function preventOverflow(_ref) {
|
|
|
14512
14520
|
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
|
14513
14521
|
placement: state.placement
|
|
14514
14522
|
})) : tetherOffset;
|
|
14523
|
+
var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
|
|
14524
|
+
mainAxis: tetherOffsetValue,
|
|
14525
|
+
altAxis: tetherOffsetValue
|
|
14526
|
+
} : Object.assign({
|
|
14527
|
+
mainAxis: 0,
|
|
14528
|
+
altAxis: 0
|
|
14529
|
+
}, tetherOffsetValue);
|
|
14530
|
+
var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
|
|
14515
14531
|
var data = {
|
|
14516
14532
|
x: 0,
|
|
14517
14533
|
y: 0
|
|
@@ -14521,13 +14537,15 @@ function preventOverflow(_ref) {
|
|
|
14521
14537
|
return;
|
|
14522
14538
|
}
|
|
14523
14539
|
|
|
14524
|
-
if (checkMainAxis
|
|
14540
|
+
if (checkMainAxis) {
|
|
14541
|
+
var _offsetModifierState$;
|
|
14542
|
+
|
|
14525
14543
|
var mainSide = mainAxis === 'y' ? top : left;
|
|
14526
14544
|
var altSide = mainAxis === 'y' ? bottom : right;
|
|
14527
14545
|
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
14528
14546
|
var offset = popperOffsets[mainAxis];
|
|
14529
|
-
var min$1 =
|
|
14530
|
-
var max$1 =
|
|
14547
|
+
var min$1 = offset + overflow[mainSide];
|
|
14548
|
+
var max$1 = offset - overflow[altSide];
|
|
14531
14549
|
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
14532
14550
|
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
|
14533
14551
|
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
|
@@ -14547,36 +14565,45 @@ function preventOverflow(_ref) {
|
|
|
14547
14565
|
// width or height)
|
|
14548
14566
|
|
|
14549
14567
|
var arrowLen = within(0, referenceRect[len], arrowRect[len]);
|
|
14550
|
-
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin -
|
|
14551
|
-
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax +
|
|
14568
|
+
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
|
|
14569
|
+
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
14552
14570
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
|
14553
14571
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
14554
|
-
var offsetModifierValue =
|
|
14555
|
-
var tetherMin =
|
|
14556
|
-
var tetherMax =
|
|
14572
|
+
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
14573
|
+
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
14574
|
+
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
14575
|
+
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
14576
|
+
popperOffsets[mainAxis] = preventedOffset;
|
|
14577
|
+
data[mainAxis] = preventedOffset - offset;
|
|
14578
|
+
}
|
|
14557
14579
|
|
|
14558
|
-
|
|
14559
|
-
|
|
14560
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
14561
|
-
data[mainAxis] = preventedOffset - offset;
|
|
14562
|
-
}
|
|
14580
|
+
if (checkAltAxis) {
|
|
14581
|
+
var _offsetModifierState$2;
|
|
14563
14582
|
|
|
14564
|
-
|
|
14565
|
-
var _mainSide = mainAxis === 'x' ? top : left;
|
|
14583
|
+
var _mainSide = mainAxis === 'x' ? top : left;
|
|
14566
14584
|
|
|
14567
|
-
|
|
14585
|
+
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
14568
14586
|
|
|
14569
|
-
|
|
14587
|
+
var _offset = popperOffsets[altAxis];
|
|
14570
14588
|
|
|
14571
|
-
|
|
14589
|
+
var _len = altAxis === 'y' ? 'height' : 'width';
|
|
14572
14590
|
|
|
14573
|
-
|
|
14591
|
+
var _min = _offset + overflow[_mainSide];
|
|
14574
14592
|
|
|
14575
|
-
|
|
14593
|
+
var _max = _offset - overflow[_altSide];
|
|
14576
14594
|
|
|
14577
|
-
|
|
14578
|
-
|
|
14579
|
-
|
|
14595
|
+
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
|
14596
|
+
|
|
14597
|
+
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
14598
|
+
|
|
14599
|
+
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
14600
|
+
|
|
14601
|
+
var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
|
|
14602
|
+
|
|
14603
|
+
var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
|
|
14604
|
+
|
|
14605
|
+
popperOffsets[altAxis] = _preventedOffset;
|
|
14606
|
+
data[altAxis] = _preventedOffset - _offset;
|
|
14580
14607
|
}
|
|
14581
14608
|
|
|
14582
14609
|
state.modifiersData[name] = data;
|
|
@@ -14608,8 +14635,8 @@ function getNodeScroll(node) {
|
|
|
14608
14635
|
|
|
14609
14636
|
function isElementScaled(element) {
|
|
14610
14637
|
var rect = element.getBoundingClientRect();
|
|
14611
|
-
var scaleX = rect.width / element.offsetWidth || 1;
|
|
14612
|
-
var scaleY = rect.height / element.offsetHeight || 1;
|
|
14638
|
+
var scaleX = round(rect.width) / element.offsetWidth || 1;
|
|
14639
|
+
var scaleY = round(rect.height) / element.offsetHeight || 1;
|
|
14613
14640
|
return scaleX !== 1 || scaleY !== 1;
|
|
14614
14641
|
} // Returns the composite rect of an element relative to its offsetParent.
|
|
14615
14642
|
// Composite means it takes into account transforms as well as layout.
|
|
@@ -14621,9 +14648,9 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
|
14621
14648
|
}
|
|
14622
14649
|
|
|
14623
14650
|
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
14624
|
-
isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
14651
|
+
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
14625
14652
|
var documentElement = getDocumentElement(offsetParent);
|
|
14626
|
-
var rect = getBoundingClientRect(elementOrVirtualElement);
|
|
14653
|
+
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
|
|
14627
14654
|
var scroll = {
|
|
14628
14655
|
scrollLeft: 0,
|
|
14629
14656
|
scrollTop: 0
|
|
@@ -14640,7 +14667,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
|
14640
14667
|
}
|
|
14641
14668
|
|
|
14642
14669
|
if (isHTMLElement(offsetParent)) {
|
|
14643
|
-
offsets = getBoundingClientRect(offsetParent);
|
|
14670
|
+
offsets = getBoundingClientRect(offsetParent, true);
|
|
14644
14671
|
offsets.x += offsetParent.clientLeft;
|
|
14645
14672
|
offsets.y += offsetParent.clientTop;
|
|
14646
14673
|
} else if (documentElement) {
|
|
@@ -17196,7 +17223,7 @@ class CalciteDropdown {
|
|
|
17196
17223
|
//
|
|
17197
17224
|
//--------------------------------------------------------------------------
|
|
17198
17225
|
this.items = [];
|
|
17199
|
-
this.activeTransitionProp = "
|
|
17226
|
+
this.activeTransitionProp = "visibility";
|
|
17200
17227
|
this.mutationObserver = createObserver();
|
|
17201
17228
|
//--------------------------------------------------------------------------
|
|
17202
17229
|
//
|
|
@@ -20777,7 +20804,7 @@ class CalciteModal {
|
|
|
20777
20804
|
return this.hasFooter ? (hAsync("div", { class: CSS$m.footer }, hAsync("span", { class: CSS$m.back }, hAsync("slot", { name: SLOTS$e.back })), hAsync("span", { class: CSS$m.secondary }, hAsync("slot", { name: SLOTS$e.secondary })), hAsync("span", { class: CSS$m.primary }, hAsync("slot", { name: SLOTS$e.primary })))) : null;
|
|
20778
20805
|
}
|
|
20779
20806
|
renderCloseButton() {
|
|
20780
|
-
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$m.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, hAsync("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : "l" }))) : null;
|
|
20807
|
+
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$m.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, hAsync("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
20781
20808
|
}
|
|
20782
20809
|
renderStyle() {
|
|
20783
20810
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
@@ -21364,6 +21391,7 @@ const CSS$j = {
|
|
|
21364
21391
|
headerActionsStart: "header-actions--start",
|
|
21365
21392
|
contentWrapper: "content-wrapper",
|
|
21366
21393
|
contentContainer: "content-container",
|
|
21394
|
+
contentHeight: "content-height",
|
|
21367
21395
|
fabContainer: "fab-container",
|
|
21368
21396
|
footer: "footer",
|
|
21369
21397
|
menuContainer: "menu-container",
|
|
@@ -21394,7 +21422,7 @@ const TEXT$8 = {
|
|
|
21394
21422
|
};
|
|
21395
21423
|
const HEADING_LEVEL$4 = 3;
|
|
21396
21424
|
|
|
21397
|
-
const calcitePanelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-panel:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-panel-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host*/.sc-calcite-panel-h{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}/*!@.header*/.header.sc-calcite-panel{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}/*!@.heading*/.heading.sc-calcite-panel{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}/*!@h1.heading*/h1.heading.sc-calcite-panel{font-size:var(--calcite-font-size-2);line-height:1.5rem}/*!@h2.heading*/h2.heading.sc-calcite-panel{font-size:var(--calcite-font-size-1);line-height:1.5rem}/*!@h3.heading*/h3.heading.sc-calcite-panel{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@h4.heading,\nh5.heading*/h4.heading.sc-calcite-panel,h5.heading.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.container*/.container.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}/*!@:host([height-scale=s])*/[height-scale=s].sc-calcite-panel-h{--calcite-panel-max-height:40vh}/*!@:host([height-scale=m])*/[height-scale=m].sc-calcite-panel-h{--calcite-panel-max-height:60vh}/*!@:host([height-scale=l])*/[height-scale=l].sc-calcite-panel-h{--calcite-panel-max-height:80vh}/*!@:host([width-scale=s])*/[width-scale=s].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}/*!@:host([width-scale=m])*/[width-scale=m].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}/*!@:host([width-scale=l])*/[width-scale=l].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@:host([loading]) .container,\n:host([disabled]) .container*/[loading].sc-calcite-panel-h .container.sc-calcite-panel,[disabled].sc-calcite-panel-h .container.sc-calcite-panel{position:relative;z-index:1}/*!@.header*/.header.sc-calcite-panel{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}/*!@.header-content*/.header-content.sc-calcite-panel{overflow:hidden;margin-right:auto;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@.header-content .heading,\n.header-content .summary*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .summary.sc-calcite-panel{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{margin-bottom:0}/*!@.header-content .summary*/.header-content.sc-calcite-panel .summary.sc-calcite-panel{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.back-button*/.back-button.sc-calcite-panel{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}/*!@.calcite--rtl .back-button*/.calcite--rtl.sc-calcite-panel .back-button.sc-calcite-panel{border-right-width:0;border-left-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}/*!@.header-actions--end*/.header-actions--end.sc-calcite-panel{margin-left:auto}/*!@.menu-container:only-child*/.menu-container.sc-calcite-panel:only-child{margin-left:auto}/*!@.menu-button*/.menu-button.sc-calcite-panel{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}/*!@.menu*/.menu.sc-calcite-panel{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{
|
|
21425
|
+
const calcitePanelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-panel:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-panel-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host*/.sc-calcite-panel-h{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}/*!@.header*/.header.sc-calcite-panel{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}/*!@.heading*/.heading.sc-calcite-panel{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}/*!@h1.heading*/h1.heading.sc-calcite-panel{font-size:var(--calcite-font-size-2);line-height:1.5rem}/*!@h2.heading*/h2.heading.sc-calcite-panel{font-size:var(--calcite-font-size-1);line-height:1.5rem}/*!@h3.heading*/h3.heading.sc-calcite-panel{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@h4.heading,\nh5.heading*/h4.heading.sc-calcite-panel,h5.heading.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.container*/.container.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}/*!@:host([height-scale=s])*/[height-scale=s].sc-calcite-panel-h{--calcite-panel-max-height:40vh}/*!@:host([height-scale=m])*/[height-scale=m].sc-calcite-panel-h{--calcite-panel-max-height:60vh}/*!@:host([height-scale=l])*/[height-scale=l].sc-calcite-panel-h{--calcite-panel-max-height:80vh}/*!@:host([width-scale=s])*/[width-scale=s].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}/*!@:host([width-scale=m])*/[width-scale=m].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}/*!@:host([width-scale=l])*/[width-scale=l].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@:host([loading]) .container,\n:host([disabled]) .container*/[loading].sc-calcite-panel-h .container.sc-calcite-panel,[disabled].sc-calcite-panel-h .container.sc-calcite-panel{position:relative;z-index:1}/*!@.header*/.header.sc-calcite-panel{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}/*!@.header-content*/.header-content.sc-calcite-panel{overflow:hidden;margin-right:auto;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@.header-content .heading,\n.header-content .summary*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .summary.sc-calcite-panel{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{margin-bottom:0}/*!@.header-content .summary*/.header-content.sc-calcite-panel .summary.sc-calcite-panel{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}/*!@.back-button*/.back-button.sc-calcite-panel{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}/*!@.calcite--rtl .back-button*/.calcite--rtl.sc-calcite-panel .back-button.sc-calcite-panel{border-right-width:0;border-left-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}/*!@.header-actions--end*/.header-actions--end.sc-calcite-panel{margin-left:auto}/*!@.menu-container:only-child*/.menu-container.sc-calcite-panel:only-child{margin-left:auto}/*!@.menu-button*/.menu-button.sc-calcite-panel{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}/*!@.menu*/.menu.sc-calcite-panel{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{overflow:auto}/*!@.content-height*/.content-height.sc-calcite-panel{height:100%}/*!@.content-container*/.content-container.sc-calcite-panel{-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:column;flex-direction:column}/*!@.footer*/.footer.sc-calcite-panel{border-top:1px solid;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;position:-webkit-sticky;position:sticky;bottom:0;width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}/*!@.calcite--rtl .header-content*/.calcite--rtl.sc-calcite-panel .header-content.sc-calcite-panel{margin-left:auto;margin-right:unset}/*!@.calcite--rtl .header-actions--end*/.calcite--rtl.sc-calcite-panel .header-actions--end.sc-calcite-panel{margin-right:auto;margin-left:unset}/*!@.calcite--rtl .menu-container:only-child*/.calcite--rtl.sc-calcite-panel .menu-container.sc-calcite-panel:only-child{margin-right:auto;margin-left:unset}/*!@.fab-container*/.fab-container.sc-calcite-panel{display:block;position:-webkit-sticky;position:sticky;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0.5rem;bottom:0;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;z-index:1}";
|
|
21398
21426
|
|
|
21399
21427
|
/**
|
|
21400
21428
|
* @slot - A slot for adding custom content.
|
|
@@ -21564,12 +21592,12 @@ class CalcitePanel {
|
|
|
21564
21592
|
return hasFooterActions ? (hAsync("footer", { class: CSS$j.footer }, hAsync("slot", { name: SLOTS$c.footerActions }))) : null;
|
|
21565
21593
|
}
|
|
21566
21594
|
renderContent() {
|
|
21567
|
-
return (hAsync("div", { class: CSS$j.contentWrapper, onScroll: this.panelScrollHandler, tabIndex: 0 }, hAsync("section", { class: CSS$j.contentContainer }, hAsync("slot", null)), this.renderFab()));
|
|
21568
|
-
}
|
|
21569
|
-
renderFab() {
|
|
21570
21595
|
const { el } = this;
|
|
21571
21596
|
const hasFab = getSlotted(el, SLOTS$c.fab);
|
|
21572
|
-
return hasFab ? (hAsync("div", { class: CSS$j.
|
|
21597
|
+
return hasFab ? (hAsync("div", { class: { [CSS$j.contentWrapper]: true, [CSS$j.contentHeight]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, hAsync("section", { class: CSS$j.contentContainer }, hAsync("slot", null)), this.renderFab())) : (hAsync("section", { class: { [CSS$j.contentWrapper]: true, [CSS$j.contentContainer]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, hAsync("slot", null)));
|
|
21598
|
+
}
|
|
21599
|
+
renderFab() {
|
|
21600
|
+
return (hAsync("div", { class: CSS$j.fabContainer }, hAsync("slot", { name: SLOTS$c.fab })));
|
|
21573
21601
|
}
|
|
21574
21602
|
render() {
|
|
21575
21603
|
const { dismissed, disabled, dismissible, el, loading, panelKeyUpHandler } = this;
|
|
@@ -24084,7 +24112,7 @@ const TEXT$3 = {
|
|
|
24084
24112
|
resize: "Resize"
|
|
24085
24113
|
};
|
|
24086
24114
|
|
|
24087
|
-
const calciteShellPanelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-shell-panel:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-shell-panel{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-shell-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-shell-panel:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-shell-panel-h{display:none}/*!@:host*/.sc-calcite-shell-panel-h{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex:0 1 auto;flex:0 1 auto;--calcite-shell-panel-detached-max-height:unset}/*!@.container*/.container.sc-calcite-shell-panel{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@.container **/.container.sc-calcite-shell-panel *.sc-calcite-shell-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:host(:hover) .separator:not(:hover):not(:focus),\n:host(:focus-within) .separator:not(:hover):not(:focus)*/.sc-calcite-shell-panel-h:hover .separator.sc-calcite-shell-panel:not(:hover):not(:focus),.sc-calcite-shell-panel-h:focus-within .separator.sc-calcite-shell-panel:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}/*!@.separator*/.separator.sc-calcite-shell-panel{position:absolute;background-color:transparent;bottom:0;display:-ms-flexbox;display:flex;height:100%;opacity:0;pointer-events:auto;top:0;-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;width:0.125rem;z-index:10;cursor:col-resize;outline:none}/*!@.separator:hover*/.separator.sc-calcite-shell-panel:hover{opacity:1;background-color:var(--calcite-ui-border-2)}/*!@.separator:focus*/.separator.sc-calcite-shell-panel:focus{background-color:var(--calcite-ui-brand);opacity:1}/*!@:host([position=start]) .separator*/[position=start].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-end:-2px}/*!@:host([position=end]) .separator*/[position=end].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-start:-2px}/*!@::slotted(calcite-panel),\n::slotted(calcite-flow)*/.sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-s>calcite-flow{-ms-flex:1 1 auto;flex:1 1 auto;height:100%;width:100%;max-height:unset;max-width:unset}/*!@::slotted(.calcite-match-height)*/.sc-calcite-shell-panel-s>.calcite-match-height{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}/*!@.content*/.content.sc-calcite-shell-panel{-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;padding:0;pointer-events:auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out;transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out}/*!@.content__header*/.content__header.sc-calcite-shell-panel{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}/*!@.content__body*/.content__body.sc-calcite-shell-panel{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}/*!@:host([width-scale=s]) .content*/[width-scale=s].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}/*!@:host([width-scale=m]) .content*/[width-scale=m].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}/*!@:host([width-scale=l]) .content*/[width-scale=l].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}/*!@:host([detached-height-scale=s]) .content--detached*/[detached-height-scale=s].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:40vh}/*!@:host([detached-height-scale=m]) .content--detached*/[detached-height-scale=m].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:60vh}/*!@:host([detached-height-scale=l]) .content--detached*/[detached-height-scale=l].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:80vh}/*!@.content--detached*/.content--detached.sc-calcite-shell-panel{border-radius:0.25rem;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);height:auto;overflow:hidden;margin-top:0.5rem;margin-bottom:auto;margin-left:0.5rem;margin-right:0.5rem;max-height:var(--calcite-shell-panel-detached-max-height)}/*!@.content--detached ::slotted(calcite-panel),\n.content--detached ::slotted(calcite-flow)*/.content--detached .sc-calcite-shell-panel-s>calcite-panel,.content--detached .sc-calcite-shell-panel-s>calcite-flow{max-height:unset}/*!@:host([position=start]) .content--detached ::slotted(calcite-panel),\n:host([position=start]) .content--detached ::slotted(calcite-flow),\n:host([position=end]) .content--detached ::slotted(calcite-panel),\n:host([position=end]) .content--detached ::slotted(calcite-flow)*/.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-flow{border-style:none}/*!@.content[hidden]*/.content[hidden].sc-calcite-shell-panel{display:none}/*!@slot[name=action-bar]::slotted(calcite-action-bar),\n.content ::slotted(calcite-flow),\n.content ::slotted(calcite-panel)*/slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.content .sc-calcite-shell-panel-s>calcite-flow,.content .sc-calcite-shell-panel-s>calcite-panel{border-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid}/*!@:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=start]) .content ::slotted(calcite-flow),\n:host([position=start]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=start] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-panel{-webkit-border-start:none;border-inline-start:none}/*!@:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=end]) .content ::slotted(calcite-flow),\n:host([position=end]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=end] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-panel{-webkit-border-end:none;border-inline-end:none}";
|
|
24115
|
+
const calciteShellPanelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-shell-panel:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-shell-panel{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-shell-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-shell-panel:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-shell-panel-h{display:none}/*!@:host*/.sc-calcite-shell-panel-h{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex:0 1 auto;flex:0 1 auto;pointer-events:none;--calcite-shell-panel-detached-max-height:unset}/*!@.container*/.container.sc-calcite-shell-panel{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@.container **/.container.sc-calcite-shell-panel *.sc-calcite-shell-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:host(:hover) .separator:not(:hover):not(:focus),\n:host(:focus-within) .separator:not(:hover):not(:focus)*/.sc-calcite-shell-panel-h:hover .separator.sc-calcite-shell-panel:not(:hover):not(:focus),.sc-calcite-shell-panel-h:focus-within .separator.sc-calcite-shell-panel:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}/*!@.separator*/.separator.sc-calcite-shell-panel{position:absolute;background-color:transparent;bottom:0;display:-ms-flexbox;display:flex;height:100%;opacity:0;pointer-events:auto;top:0;-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;width:0.125rem;z-index:10;cursor:col-resize;outline:none}/*!@.separator:hover*/.separator.sc-calcite-shell-panel:hover{opacity:1;background-color:var(--calcite-ui-border-2)}/*!@.separator:focus*/.separator.sc-calcite-shell-panel:focus{background-color:var(--calcite-ui-brand);opacity:1}/*!@:host([position=start]) .separator*/[position=start].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-end:-2px}/*!@:host([position=end]) .separator*/[position=end].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-start:-2px}/*!@::slotted(calcite-panel),\n::slotted(calcite-flow)*/.sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-s>calcite-flow{-ms-flex:1 1 auto;flex:1 1 auto;height:100%;width:100%;max-height:unset;max-width:unset}/*!@::slotted(.calcite-match-height)*/.sc-calcite-shell-panel-s>.calcite-match-height{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}/*!@.content*/.content.sc-calcite-shell-panel{-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;padding:0;pointer-events:auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out;transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out}/*!@.content__header*/.content__header.sc-calcite-shell-panel{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}/*!@.content__body*/.content__body.sc-calcite-shell-panel{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}/*!@:host([width-scale=s]) .content*/[width-scale=s].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}/*!@:host([width-scale=m]) .content*/[width-scale=m].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}/*!@:host([width-scale=l]) .content*/[width-scale=l].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}/*!@:host([detached-height-scale=s]) .content--detached*/[detached-height-scale=s].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:40vh}/*!@:host([detached-height-scale=m]) .content--detached*/[detached-height-scale=m].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:60vh}/*!@:host([detached-height-scale=l]) .content--detached*/[detached-height-scale=l].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:80vh}/*!@.content--detached*/.content--detached.sc-calcite-shell-panel{border-radius:0.25rem;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);height:auto;overflow:hidden;margin-top:0.5rem;margin-bottom:auto;margin-left:0.5rem;margin-right:0.5rem;max-height:var(--calcite-shell-panel-detached-max-height)}/*!@.content--detached ::slotted(calcite-panel),\n.content--detached ::slotted(calcite-flow)*/.content--detached .sc-calcite-shell-panel-s>calcite-panel,.content--detached .sc-calcite-shell-panel-s>calcite-flow{max-height:unset}/*!@:host([position=start]) .content--detached ::slotted(calcite-panel),\n:host([position=start]) .content--detached ::slotted(calcite-flow),\n:host([position=end]) .content--detached ::slotted(calcite-panel),\n:host([position=end]) .content--detached ::slotted(calcite-flow)*/.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-flow{border-style:none}/*!@.content[hidden]*/.content[hidden].sc-calcite-shell-panel{display:none}/*!@slot[name=action-bar]::slotted(calcite-action-bar),\n.content ::slotted(calcite-flow),\n.content ::slotted(calcite-panel)*/slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.content .sc-calcite-shell-panel-s>calcite-flow,.content .sc-calcite-shell-panel-s>calcite-panel{border-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid}/*!@:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=start]) .content ::slotted(calcite-flow),\n:host([position=start]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=start] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-panel{-webkit-border-start:none;border-inline-start:none}/*!@:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=end]) .content ::slotted(calcite-flow),\n:host([position=end]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=end] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-panel{-webkit-border-end:none;border-inline-end:none}";
|
|
24088
24116
|
|
|
24089
24117
|
/**
|
|
24090
24118
|
* @slot - A slot for adding content to the shell panel.
|
|
@@ -24136,7 +24164,7 @@ class CalciteShellPanel {
|
|
|
24136
24164
|
};
|
|
24137
24165
|
this.getKeyAdjustedWidth = (event) => {
|
|
24138
24166
|
const { key } = event;
|
|
24139
|
-
const { step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
24167
|
+
const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
24140
24168
|
const multipliedStep = step * stepMultiplier;
|
|
24141
24169
|
const MOVEMENT_KEYS = [
|
|
24142
24170
|
"ArrowUp",
|
|
@@ -24151,15 +24179,20 @@ class CalciteShellPanel {
|
|
|
24151
24179
|
if (MOVEMENT_KEYS.indexOf(key) > -1) {
|
|
24152
24180
|
event.preventDefault();
|
|
24153
24181
|
}
|
|
24154
|
-
const
|
|
24182
|
+
const dir = getElementStyleDir(el);
|
|
24183
|
+
const directionKeys = ["ArrowLeft", "ArrowRight"];
|
|
24184
|
+
const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
|
|
24185
|
+
const increaseKeys = key === "ArrowUp" ||
|
|
24186
|
+
(position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
|
|
24155
24187
|
if (increaseKeys) {
|
|
24156
24188
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
24157
|
-
return initialContentWidth + stepValue;
|
|
24189
|
+
return initialContentWidth + directionFactor * stepValue;
|
|
24158
24190
|
}
|
|
24159
|
-
const decreaseKeys = key === "ArrowDown" ||
|
|
24191
|
+
const decreaseKeys = key === "ArrowDown" ||
|
|
24192
|
+
(position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
|
|
24160
24193
|
if (decreaseKeys) {
|
|
24161
24194
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
24162
|
-
return initialContentWidth - stepValue;
|
|
24195
|
+
return initialContentWidth - directionFactor * stepValue;
|
|
24163
24196
|
}
|
|
24164
24197
|
if (typeof contentWidthMin === "number" && key === "Home") {
|
|
24165
24198
|
return contentWidthMin;
|
|
@@ -24184,9 +24217,13 @@ class CalciteShellPanel {
|
|
|
24184
24217
|
};
|
|
24185
24218
|
this.separatorPointerMove = (event) => {
|
|
24186
24219
|
event.preventDefault();
|
|
24187
|
-
const { initialContentWidth, position, initialClientX } = this;
|
|
24220
|
+
const { el, initialContentWidth, position, initialClientX } = this;
|
|
24188
24221
|
const offset = event.clientX - initialClientX;
|
|
24189
|
-
|
|
24222
|
+
const dir = getElementStyleDir(el);
|
|
24223
|
+
const adjustmentDirection = dir === "rtl" ? -1 : 1;
|
|
24224
|
+
const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
|
|
24225
|
+
const width = initialContentWidth + adjustedOffset;
|
|
24226
|
+
this.setContentWidth(width);
|
|
24190
24227
|
};
|
|
24191
24228
|
this.separatorPointerUp = (event) => {
|
|
24192
24229
|
event.preventDefault();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.315",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"build": "npm run util:copy-icons && stencil build",
|
|
20
20
|
"build:watch": "npm run util:copy-icons && stencil build --watch",
|
|
21
21
|
"build:watch-dev": "npm run util:copy-icons && stencil build --dev --watch",
|
|
22
|
-
"deps:update": "updtr --exclude typescript tailwindcss @types/jest jest jest-cli puppeteer && git add package*.json && git commit -q -m \"build(deps): bump versions\"",
|
|
22
|
+
"deps:update": "updtr --exclude chalk typescript tailwindcss @types/jest jest jest-cli puppeteer && git add package*.json && git commit -q -m \"build(deps): bump versions\"",
|
|
23
23
|
"docs": "concurrently --kill-others --raw \"npm:util:build-docs && build-storybook --static-dir ./__docs-temp__ --output-dir ./docs\" \"ts-node ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
|
|
24
24
|
"docs:preview": "concurrently --raw \"npm:util:build-docs && start-storybook --static-dir ./__docs-temp__\" \"ts-node ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
|
|
25
25
|
"lint": "concurrently npm:lint:*",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"util:copy-icons": "cpy ./node_modules/@esri/calcite-ui-icons/js/*.json ./src/components/calcite-icon/assets/calcite-icon/",
|
|
48
48
|
"util:deploy-next-from-existing-build": "npm run util:prep-next-from-existing-build && npm run util:push-tags && npm run util:publish-next",
|
|
49
49
|
"util:deploy-next-from-ci": "ts-node --project ./tsconfig-node-scripts.json support/deployNextFromCI.ts",
|
|
50
|
+
"util:check-squash-mergeable-branch": "ts-node --project ./tsconfig-node-scripts.json support/checkSquashMergeableBranch.ts",
|
|
50
51
|
"util:prep-next-from-existing-build": "ts-node --project ./tsconfig-node-scripts.json support/prepReleaseCommit.ts --next",
|
|
51
52
|
"util:publish-next": "npm publish --tag next",
|
|
52
53
|
"util:push-tags": "git push --follow-tags",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
},
|
|
59
60
|
"dependencies": {
|
|
60
61
|
"@a11y/focus-trap": "1.0.5",
|
|
61
|
-
"@popperjs/core": "2.
|
|
62
|
+
"@popperjs/core": "2.11.0",
|
|
62
63
|
"@stencil/core": "2.11.0",
|
|
63
64
|
"@types/color": "3.0.2",
|
|
64
65
|
"color": "4.0.2",
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
"@stencil/state-tunnel": "^1.0.1",
|
|
80
81
|
"@storybook/addon-a11y": "6.4.1",
|
|
81
82
|
"@storybook/addon-docs": "6.4.1",
|
|
82
|
-
"@storybook/addon-knobs": "6.
|
|
83
|
+
"@storybook/addon-knobs": "6.4.0",
|
|
83
84
|
"@storybook/cli": "6.4.1",
|
|
84
85
|
"@storybook/html": "6.4.1",
|
|
85
86
|
"@storybook/storybook-deployer": "2.8.10",
|
|
@@ -96,7 +97,7 @@
|
|
|
96
97
|
"@types/standard-version": "7.0.1",
|
|
97
98
|
"@types/yargs": "17.0.7",
|
|
98
99
|
"@typescript-eslint/eslint-plugin": "5.5.0",
|
|
99
|
-
"@typescript-eslint/parser": "5.
|
|
100
|
+
"@typescript-eslint/parser": "5.5.0",
|
|
100
101
|
"@whitespace/storybook-addon-html": "5.0.0",
|
|
101
102
|
"autoprefixer": "10.3.7",
|
|
102
103
|
"axe-core": "4.3.5",
|
|
@@ -123,7 +124,7 @@
|
|
|
123
124
|
"jest-cli": "26.6.3",
|
|
124
125
|
"lint-staged": "12.1.2",
|
|
125
126
|
"pify": "5.0.0",
|
|
126
|
-
"postcss": "8.
|
|
127
|
+
"postcss": "8.4.4",
|
|
127
128
|
"posthtml": "0.16.5",
|
|
128
129
|
"prettier": "2.5.0",
|
|
129
130
|
"puppeteer": "10.0.0",
|
|
@@ -144,7 +145,7 @@
|
|
|
144
145
|
"typescript": "4.2.4",
|
|
145
146
|
"updtr": "4.0.0",
|
|
146
147
|
"workbox-build": "6.4.1",
|
|
147
|
-
"yargs": "17.
|
|
148
|
+
"yargs": "17.3.0"
|
|
148
149
|
},
|
|
149
150
|
"license": "SEE LICENSE IN copyright.txt"
|
|
150
151
|
}
|
package/readme.md
CHANGED
|
@@ -17,12 +17,12 @@ The simplest way to set up the components in your project is to add the followin
|
|
|
17
17
|
```html
|
|
18
18
|
<script
|
|
19
19
|
type="module"
|
|
20
|
-
src="https://unpkg.com/@esri/calcite-components@1.0.0-next.
|
|
20
|
+
src="https://unpkg.com/@esri/calcite-components@1.0.0-next.315/dist/calcite/calcite.esm.js"
|
|
21
21
|
></script>
|
|
22
22
|
<link
|
|
23
23
|
rel="stylesheet"
|
|
24
24
|
type="text/css"
|
|
25
|
-
href="https://unpkg.com/@esri/calcite-components@1.0.0-next.
|
|
25
|
+
href="https://unpkg.com/@esri/calcite-components@1.0.0-next.315/dist/calcite/calcite.css"
|
|
26
26
|
/>
|
|
27
27
|
```
|
|
28
28
|
|