@esri/calcite-components 1.0.0-next.310 → 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/assets/calcite-icon/checkSquareF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkSquareF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkSquareF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy16.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy24.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy32.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock16.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock24.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock32.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold16.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold24.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold32.json +1 -0
- package/dist/calcite/assets/calcite-icon/fog16.json +1 -0
- package/dist/calcite/assets/calcite-icon/fog24.json +1 -0
- package/dist/calcite/assets/calcite-icon/fog32.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lineSolid4.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud16.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud24.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsThreshold16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsThreshold24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsThreshold32.json +1 -0
- package/dist/calcite/assets/calcite-icon/selectVisible16.json +1 -0
- package/dist/calcite/assets/calcite-icon/selectVisible24.json +1 -0
- package/dist/calcite/assets/calcite-icon/selectVisible32.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF32.json +1 -0
- 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-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-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-258ec2b0.entry.js +5 -0
- 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-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-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-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-a8dc2982.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 +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 +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 +4 -2
- 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/calcite.cjs.js +1 -1
- package/dist/cjs/{dom-19822169.js → dom-41ce6029.js} +7 -0
- package/dist/cjs/{form-a5b44a1f.js → form-7f276aa5.js} +1 -1
- package/dist/cjs/{label-8e3552b2.js → label-98a31f7d.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{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-icon/assets/calcite-icon/checkSquareF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fog16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fog24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fog32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +1 -0
- package/dist/collection/components/calcite-label/interfaces.js +1 -0
- 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/components/calcite-split-button/calcite-split-button.js +26 -1
- package/dist/collection/demos/_assets/demo-spacer.js +17 -0
- package/dist/collection/demos/_assets/demo-template.js +13 -0
- package/dist/collection/demos/_assets/head.js +45 -0
- 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-panel.js +6 -5
- package/dist/components/calcite-shell-panel.js +18 -9
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-split-button.js +4 -1
- package/dist/components/dom.js +7 -1
- package/dist/components/popper.js +90 -64
- package/dist/custom-elements/index.js +136 -97
- 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 +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 +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 +4 -2
- 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/calcite.js +1 -1
- 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/loader.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/calcite.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/loader.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 +23 -1
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +2 -2
- package/dist/types/components/calcite-panel/resources.d.ts +1 -0
- package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +3 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/types/utils/dom.d.ts +4 -0
- package/hydrate/index.js +136 -96
- package/package.json +11 -11
- package/readme.md +2 -2
- package/dist/calcite/p-08d707c4.entry.js +0 -5
- package/dist/calcite/p-1942876c.js +0 -5
- package/dist/calcite/p-362cb320.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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M19.335 15.268l2.485 1.405-.492.871-2.467-1.395-.267 2.492-.994-.108.313-2.92L13 12.836v6.04l2.602 1.033-.369.93L13 19.952V22h-1v-2.048l-2.233.887-.369-.93L12 18.876v-6.04l-4.913 2.777.313 2.92-.994.108-.267-2.492-2.467 1.395-.492-.871 2.485-1.405-1.962-1.581.628-.78 2.271 1.832 4.882-2.76-4.881-2.758-2.272 1.832-.628-.78 1.963-1.582L3.18 7.286l.492-.871L6.139 7.81l.267-2.491.994.108-.312 2.919L12 11.123V5.124L9.398 4.091l.369-.93L12 4.048V2h1v2.048l2.233-.887.369.93L13 5.124v5.999l5.195-2.937-.296-2.759.995-.108.249 2.331 2.185-1.235.492.871-2.185 1.235 1.869 1.417-.605.796-2.212-1.677-5.171 2.922 4.882 2.76 2.271-1.832.628.78-1.962 1.581z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M25.486 20.531l3.056 1.727-.492.871-3.035-1.715-.371 3.46-.994-.107.417-3.889L17 16.883v7.973l3.478 1.379-.37.93L17 25.932V29h-1v-3.068l-3.108 1.233-.37-.93L16 24.856v-7.973l-7.067 3.995.417 3.889-.994.107-.371-3.46-3.035 1.715-.492-.871 3.056-1.727-2.728-2.199.628-.779 3.037 2.448L15.531 16l-7.08-4.001-3.037 2.448-.628-.779 2.728-2.199-3.056-1.727.492-.871 3.035 1.715.371-3.46.994.107-.417 3.889L16 15.117V7.144l-3.478-1.379.37-.93L16 6.068V3h1v3.068l3.108-1.233.37.93L17 7.144v7.973l7.067-3.995-.417-3.889.994-.107.371 3.46 3.035-1.715.492.871-3.056 1.727 2.728 2.199-.628.779-3.037-2.448L17.469 16l7.08 4.001 3.037-2.448.628.779-2.728 2.199z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M3.146 2.854l-.5-.5.707-.707.5.5zm-.5 1.793l.707.707.5-.5-.707-.707zM5 3H4v1h1zM3 3H2v1h1zm3.354-.646l-.707-.707-.5.5.707.707zm0 2.293l-.5-.5-.707.707.5.5zM2 11H0v1h2zm2.871-.165L5.88 9.718l-.743-.67-1.008 1.117zM5 1H4v1h1zm1 3h1V3H6zM5 5H4v1h1zm0 7h2v-1H5zm-.872.835l1.008 1.117.743-.67-1.008-1.117zM16 6.332l-6.519 8.711-.752-.34L10.337 9H6.93a1.479 1.479 0 0 0-.043-.173L9.123 1h5.203l-2.95 5H16zM11.663 8l-1.136 3.977L14.25 7H9.625l2.95-5H9.877L8.163 8zM1.121 13.282l.743.67 1.008-1.117-.743-.67zM3 15h1v-2H3zM1.121 9.718l1.008 1.117.743-.67-1.008-1.117zM3 12h1v-1H3zm0-2h1V8H3z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16.225 10l5.025-7h-7.972l-3.3 11h5.359l-2.45 8.658.753.349L23.374 10zm.438 3h-5.341l2.7-9H19.3l-5.025 7h7.101l-6.7 8.952zM3 6V5h2v1zm3-1h1v1H6zm4 0v1H8V5zM6 2h1v2H6zm1 7H6V7h1zM4.864 7.952l-.743-.67L5.13 6.165l.743.67zm3.272-4.904l.743.67L7.87 4.835l-.743-.67zm.743 4.234l-.743.67-1.008-1.117.743-.67zM4.12 3.718l.743-.67 1.008 1.117-.743.67zm5.526 11.965l-.866.5.5.866-1.366-.366L6.5 17.5l1.415.817 1.366-.366-.5.866.866.5-.5.866-.866-.5-.5.866-.366-1.366L6 18.366V20l1 1H6v1H5v-1H4l1-1v-1.634l-1.415.817-.366 1.366-.5-.866-.866.5-.5-.866.866-.5-.5-.866 1.366.366L4.5 17.5l-1.415-.817-1.366.366.5-.866-.866-.5.5-.866.866.5.5-.866.366 1.366L5 16.634V15l-1-1h1v-1h1v1h1l-1 1v1.634l1.415-.817.366-1.366.5.866.866-.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M30.502 13L17.795 29.872l-.76-.367L20.336 18h-3.531a1.883 1.883 0 0 0-.522-1h5.383l-2.834 9.835L28.498 14H19.04l6.3-9h-6.97l-3.507 11.396-.012-.001a1.994 1.994 0 0 0-.629.102 1.992 1.992 0 0 0-.298-.45L17.631 4h9.63l-6.3 9zM9 7V6H7v1zm1 0h1V6h-1zm2-1v1h2V6zm-2-1h1V3h-1zm1 3h-1v2h1zm-1.128-.165l-.743-.67L8.12 8.282l.743.67zm1.256-2.67l.743.67 1.008-1.117-.743-.67zm.743 2l-.743.67 1.008 1.117.743-.67zM9.13 5.835l.743-.67-1.008-1.117-.743.67zm3.948 12.989l-.162-1.516-.995.107.21 1.945L9 21.13v-3.841l1.727-.685-.37-.93L9 16.213V15H8v1.213l-1.358-.54-.37.93L8 17.29v3.84l-3.13-1.77.21-1.945-.995-.107-.162 1.516-1.528-.864-.493.871 1.547.875-1.201.969.627.78 1.512-1.22 3.097 1.751-3.097 1.75-1.512-1.218-.627.779 1.201.97-1.547.874.493.87 1.528-.863.162 1.517.995-.107-.21-1.946L8 22.843v3.868l-1.727.685.37.93L8 27.787V29h1v-1.213l1.358.54.369-.93L9 26.71v-3.868l3.13 1.769-.21 1.946.995.107.162-1.517 1.528.864.493-.871-1.547-.875 1.201-.97-.627-.778-1.512 1.219-3.097-1.75 3.097-1.752 1.512 1.22.627-.78-1.201-.97 1.547-.874-.493-.871z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M2.929 2H14.07a.929.929 0 0 1 .929.929V14.07a.929.929 0 0 1-.929.929H2.93a.929.929 0 0 1-.93-.928V2.93A.929.929 0 0 1 2.929 2z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M4.281 3h16.437A1.281 1.281 0 0 1 22 4.281v16.437A1.282 1.282 0 0 1 20.718 22H4.282A1.282 1.282 0 0 1 3 20.718V4.281A1.281 1.281 0 0 1 4.281 3z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M5.798 4h21.404A1.798 1.798 0 0 1 29 5.798V27.2a1.8 1.8 0 0 1-1.8 1.8H5.8A1.8 1.8 0 0 1 4 27.2V5.798A1.798 1.798 0 0 1 5.798 4z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zM14 10.778L10.778 14H6.222L3 10.778V6.222L6.222 3h4.556L14 6.222zM8.5 7.793l2.828-2.829.708.708L9.207 8.5l2.829 2.828-.708.708L8.5 9.207l-2.828 2.829-.708-.708L7.793 8.5 4.964 5.672l.708-.708z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zM21 16.02L16.021 21H8.979L4 16.02V8.98L8.979 4h7.042L21 8.98zm-8.5-4.227l4.243-4.243.707.707-4.243 4.243 4.243 4.243-.707.707-4.243-4.243-4.243 4.243-.707-.707 4.243-4.243L7.55 8.257l.707-.707z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zM28 21.264L21.264 28h-9.528L5 21.264v-9.528L11.736 5h9.528L28 11.736zm-11.5-5.471l5.657-5.657.707.707-5.657 5.657 5.657 5.657-.707.707-5.657-5.657-5.657 5.657-.707-.707 5.657-5.657-5.657-5.657.707-.707z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zm1.126 9.328l-.99.99L8.5 9.49l-2.828 2.828-.99-.99L7.51 8.5 4.682 5.672l.99-.99L8.5 7.51l2.828-2.828.99.99L9.49 8.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zm1.298 13.742l-.99.991-4.243-4.242-4.242 4.242-.991-.99 4.242-4.243-4.242-4.242.99-.991 4.243 4.242 4.242-4.242.991.99-4.242 4.243z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zm1.126 9.328l-.99.99L8.5 9.49l-2.828 2.828-.99-.99L7.51 8.5 4.682 5.672l.99-.99L8.5 7.51l2.828-2.828.99.99L9.49 8.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zm1.298 13.742l-.99.991-4.243-4.242-4.242 4.242-.991-.99 4.242-4.243-4.242-4.242.99-.991 4.243 4.242 4.242-4.242.991.99-4.242 4.243z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -313,10 +313,13 @@ h5.heading {
|
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
.content-wrapper {
|
|
316
|
-
height: 100%;
|
|
317
316
|
overflow: auto;
|
|
318
317
|
}
|
|
319
318
|
|
|
319
|
+
.content-height {
|
|
320
|
+
height: 100%;
|
|
321
|
+
}
|
|
322
|
+
|
|
320
323
|
.content-container {
|
|
321
324
|
align-items: stretch;
|
|
322
325
|
background-color: var(--calcite-ui-background);
|
|
@@ -187,16 +187,17 @@ export class CalcitePanel {
|
|
|
187
187
|
h("slot", { name: SLOTS.footerActions }))) : null;
|
|
188
188
|
}
|
|
189
189
|
renderContent() {
|
|
190
|
-
|
|
190
|
+
const { el } = this;
|
|
191
|
+
const hasFab = getSlotted(el, SLOTS.fab);
|
|
192
|
+
return hasFab ? (h("div", { class: { [CSS.contentWrapper]: true, [CSS.contentHeight]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 },
|
|
191
193
|
h("section", { class: CSS.contentContainer },
|
|
192
194
|
h("slot", null)),
|
|
193
|
-
this.renderFab()))
|
|
195
|
+
this.renderFab())) : (h("section", { class: { [CSS.contentWrapper]: true, [CSS.contentContainer]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 },
|
|
196
|
+
h("slot", null)));
|
|
194
197
|
}
|
|
195
198
|
renderFab() {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
return hasFab ? (h("div", { class: CSS.fabContainer },
|
|
199
|
-
h("slot", { name: SLOTS.fab }))) : null;
|
|
199
|
+
return (h("div", { class: CSS.fabContainer },
|
|
200
|
+
h("slot", { name: SLOTS.fab })));
|
|
200
201
|
}
|
|
201
202
|
render() {
|
|
202
203
|
const { dismissed, disabled, dismissible, el, loading, panelKeyUpHandler } = this;
|
|
@@ -14,6 +14,7 @@ export const CSS = {
|
|
|
14
14
|
headerActionsStart: "header-actions--start",
|
|
15
15
|
contentWrapper: "content-wrapper",
|
|
16
16
|
contentContainer: "content-container",
|
|
17
|
+
contentHeight: "content-height",
|
|
17
18
|
fabContainer: "fab-container",
|
|
18
19
|
footer: "footer",
|
|
19
20
|
menuContainer: "menu-container",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, Prop, Watch, h, State, forceUpdate } from "@stencil/core";
|
|
6
6
|
import { CSS, SLOTS, TEXT } from "./resources";
|
|
7
|
-
import { getSlotted } from "../../utils/dom";
|
|
7
|
+
import { getSlotted, getElementStyleDir } from "../../utils/dom";
|
|
8
8
|
import { clamp } from "../../utils/math";
|
|
9
9
|
/**
|
|
10
10
|
* @slot - A slot for adding content to the shell panel.
|
|
@@ -54,7 +54,7 @@ export class CalciteShellPanel {
|
|
|
54
54
|
};
|
|
55
55
|
this.getKeyAdjustedWidth = (event) => {
|
|
56
56
|
const { key } = event;
|
|
57
|
-
const { step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
57
|
+
const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
58
58
|
const multipliedStep = step * stepMultiplier;
|
|
59
59
|
const MOVEMENT_KEYS = [
|
|
60
60
|
"ArrowUp",
|
|
@@ -69,15 +69,20 @@ export class CalciteShellPanel {
|
|
|
69
69
|
if (MOVEMENT_KEYS.indexOf(key) > -1) {
|
|
70
70
|
event.preventDefault();
|
|
71
71
|
}
|
|
72
|
-
const
|
|
72
|
+
const dir = getElementStyleDir(el);
|
|
73
|
+
const directionKeys = ["ArrowLeft", "ArrowRight"];
|
|
74
|
+
const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
|
|
75
|
+
const increaseKeys = key === "ArrowUp" ||
|
|
76
|
+
(position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
|
|
73
77
|
if (increaseKeys) {
|
|
74
78
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
75
|
-
return initialContentWidth + stepValue;
|
|
79
|
+
return initialContentWidth + directionFactor * stepValue;
|
|
76
80
|
}
|
|
77
|
-
const decreaseKeys = key === "ArrowDown" ||
|
|
81
|
+
const decreaseKeys = key === "ArrowDown" ||
|
|
82
|
+
(position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
|
|
78
83
|
if (decreaseKeys) {
|
|
79
84
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
80
|
-
return initialContentWidth - stepValue;
|
|
85
|
+
return initialContentWidth - directionFactor * stepValue;
|
|
81
86
|
}
|
|
82
87
|
if (typeof contentWidthMin === "number" && key === "Home") {
|
|
83
88
|
return contentWidthMin;
|
|
@@ -102,9 +107,13 @@ export class CalciteShellPanel {
|
|
|
102
107
|
};
|
|
103
108
|
this.separatorPointerMove = (event) => {
|
|
104
109
|
event.preventDefault();
|
|
105
|
-
const { initialContentWidth, position, initialClientX } = this;
|
|
110
|
+
const { el, initialContentWidth, position, initialClientX } = this;
|
|
106
111
|
const offset = event.clientX - initialClientX;
|
|
107
|
-
|
|
112
|
+
const dir = getElementStyleDir(el);
|
|
113
|
+
const adjustmentDirection = dir === "rtl" ? -1 : 1;
|
|
114
|
+
const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
|
|
115
|
+
const width = initialContentWidth + adjustedOffset;
|
|
116
|
+
this.setContentWidth(width);
|
|
108
117
|
};
|
|
109
118
|
this.separatorPointerUp = (event) => {
|
|
110
119
|
event.preventDefault();
|
|
@@ -26,6 +26,8 @@ export class CalciteSplitButton {
|
|
|
26
26
|
/** optionally add a calcite-loader component to the control,
|
|
27
27
|
disabling interaction. with the primary button */
|
|
28
28
|
this.loading = false;
|
|
29
|
+
/** Describes the type of positioning to use for the dropdown. If your element is in a fixed container, use the 'fixed' value. */
|
|
30
|
+
this.overlayPositioning = "absolute";
|
|
29
31
|
/** specify the scale of the control, defaults to m */
|
|
30
32
|
this.scale = "m";
|
|
31
33
|
/** specify the width of the button, defaults to auto */
|
|
@@ -46,7 +48,7 @@ export class CalciteSplitButton {
|
|
|
46
48
|
h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", width: buttonWidth }, this.primaryText),
|
|
47
49
|
h("div", { class: CSS.dividerContainer },
|
|
48
50
|
h("div", { class: CSS.divider })),
|
|
49
|
-
h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, placement: "bottom-trailing", scale: this.scale, width: this.scale },
|
|
51
|
+
h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, overlayPositioning: this.overlayPositioning, placement: "bottom-trailing", scale: this.scale, width: this.scale },
|
|
50
52
|
h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "dropdown-trigger", splitChild: "secondary" }),
|
|
51
53
|
h("slot", null))));
|
|
52
54
|
}
|
|
@@ -211,6 +213,29 @@ export class CalciteSplitButton {
|
|
|
211
213
|
"reflect": true,
|
|
212
214
|
"defaultValue": "false"
|
|
213
215
|
},
|
|
216
|
+
"overlayPositioning": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"mutable": false,
|
|
219
|
+
"complexType": {
|
|
220
|
+
"original": "OverlayPositioning",
|
|
221
|
+
"resolved": "\"absolute\" | \"fixed\"",
|
|
222
|
+
"references": {
|
|
223
|
+
"OverlayPositioning": {
|
|
224
|
+
"location": "import",
|
|
225
|
+
"path": "../../utils/popper"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"required": false,
|
|
230
|
+
"optional": false,
|
|
231
|
+
"docs": {
|
|
232
|
+
"tags": [],
|
|
233
|
+
"text": "Describes the type of positioning to use for the dropdown. If your element is in a fixed container, use the 'fixed' value."
|
|
234
|
+
},
|
|
235
|
+
"attribute": "overlay-positioning",
|
|
236
|
+
"reflect": false,
|
|
237
|
+
"defaultValue": "\"absolute\""
|
|
238
|
+
},
|
|
214
239
|
"primaryIconEnd": {
|
|
215
240
|
"type": "string",
|
|
216
241
|
"mutable": false,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
class DemoSpacer extends HTMLElement {
|
|
2
|
+
constructor() {
|
|
3
|
+
super();
|
|
4
|
+
this.attachShadow({ mode: "open" });
|
|
5
|
+
this.shadowRoot.innerHTML = `
|
|
6
|
+
<style>
|
|
7
|
+
:host {
|
|
8
|
+
display: grid;
|
|
9
|
+
grid-template-columns: 1fr;
|
|
10
|
+
grid-gap: ${this.getAttribute("gap") || "12px"};
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
<slot></slot>
|
|
14
|
+
`;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
customElements.define("demo-spacer", DemoSpacer);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const toggleDir = () => {
|
|
2
|
+
document.dir = document.dir === "rtl" ? "ltr" : "rtl";
|
|
3
|
+
};
|
|
4
|
+
const toggleTheme = () => {
|
|
5
|
+
document.body.classList.toggle("calcite-theme-dark");
|
|
6
|
+
};
|
|
7
|
+
const loadDemoToggles = () => {
|
|
8
|
+
document.querySelectorAll("h1:not(#demo-heading)").forEach((h1) => h1.remove());
|
|
9
|
+
document.getElementById("demo-heading").textContent = document.title;
|
|
10
|
+
document.getElementById("toggle-dir").addEventListener("calciteSwitchChange", toggleDir);
|
|
11
|
+
document.getElementById("toggle-theme").addEventListener("calciteSwitchChange", toggleTheme);
|
|
12
|
+
};
|
|
13
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadDemoToggles) : loadDemoToggles();
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const DEMO_ROOT = "demos";
|
|
3
|
+
const ASSETS_PATH = "demos/_assets";
|
|
4
|
+
const CSS = [`${ASSETS_PATH}/demos.css`, "build/calcite.css"];
|
|
5
|
+
const urlParams = new URLSearchParams(window.location.search);
|
|
6
|
+
const DISABLE_HEADER_URL_PARAM = "header-disabled";
|
|
7
|
+
const SCRIPTS = [
|
|
8
|
+
{
|
|
9
|
+
src: "build/calcite.esm.js",
|
|
10
|
+
type: "module"
|
|
11
|
+
}
|
|
12
|
+
];
|
|
13
|
+
const parseTemplate = (text) => {
|
|
14
|
+
const parser = new DOMParser();
|
|
15
|
+
const doc = parser.parseFromString(text, "text/html");
|
|
16
|
+
return doc.head.querySelector("template");
|
|
17
|
+
};
|
|
18
|
+
const loadHeader = async () => {
|
|
19
|
+
const root = window.location.pathname.split(DEMO_ROOT).shift();
|
|
20
|
+
const response = await window.fetch(`${root}${ASSETS_PATH}/demo-template.html`);
|
|
21
|
+
const text = await response.text();
|
|
22
|
+
const template = parseTemplate(text);
|
|
23
|
+
const firstChild = document.body.firstChild;
|
|
24
|
+
firstChild && document.body.insertBefore(template.content, firstChild);
|
|
25
|
+
};
|
|
26
|
+
if (window.location.pathname.includes("/demos/") && !urlParams.has(DISABLE_HEADER_URL_PARAM)) {
|
|
27
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadHeader) : loadHeader();
|
|
28
|
+
}
|
|
29
|
+
const ROOT = window.location.pathname.split(DEMO_ROOT).shift();
|
|
30
|
+
function loadCss(url) {
|
|
31
|
+
const link = document.createElement("link");
|
|
32
|
+
link.rel = "stylesheet";
|
|
33
|
+
link.href = ROOT + url;
|
|
34
|
+
document.head.appendChild(link);
|
|
35
|
+
}
|
|
36
|
+
function loadScript(script) {
|
|
37
|
+
const scriptElement = document.createElement("script");
|
|
38
|
+
Object.keys(script).forEach((key) => {
|
|
39
|
+
scriptElement[key] = key === "src" ? ROOT + script[key] : script[key];
|
|
40
|
+
});
|
|
41
|
+
document.head.appendChild(scriptElement);
|
|
42
|
+
}
|
|
43
|
+
CSS.forEach(loadCss);
|
|
44
|
+
SCRIPTS.forEach(loadScript);
|
|
45
|
+
})();
|
|
@@ -23,6 +23,12 @@ export function nodeListToArray(nodeList) {
|
|
|
23
23
|
export function getThemeName(el) {
|
|
24
24
|
return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
|
|
25
25
|
}
|
|
26
|
+
export function getElementStyleDir(el) {
|
|
27
|
+
return window.getComputedStyle(el).direction || "ltr";
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated use getElementStyleDir instead.
|
|
31
|
+
*/
|
|
26
32
|
export function getElementDir(el) {
|
|
27
33
|
const prop = "dir";
|
|
28
34
|
const selector = `[${prop}]`;
|
|
@@ -63,13 +63,11 @@ let CalciteAlert$1 = class extends HTMLElement {
|
|
|
63
63
|
this.queueLength = 0;
|
|
64
64
|
/** is the alert queued */
|
|
65
65
|
this.queued = false;
|
|
66
|
-
this.
|
|
67
|
-
this.trackTimer =
|
|
66
|
+
this.autoDismissTimeoutId = null;
|
|
67
|
+
this.trackTimer = Date.now();
|
|
68
68
|
/** close and emit the closed alert and the queue */
|
|
69
69
|
this.closeAlert = () => {
|
|
70
|
-
|
|
71
|
-
this.autoDismissTimeout = null;
|
|
72
|
-
}
|
|
70
|
+
this.autoDismissTimeoutId = null;
|
|
73
71
|
this.queued = false;
|
|
74
72
|
this.active = false;
|
|
75
73
|
this.queue = this.queue.filter((e) => e !== this.el);
|
|
@@ -93,10 +91,10 @@ let CalciteAlert$1 = class extends HTMLElement {
|
|
|
93
91
|
updateRequestedIcon() {
|
|
94
92
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
95
93
|
}
|
|
96
|
-
updateDuration(
|
|
97
|
-
if (this.autoDismiss &&
|
|
98
|
-
window.clearTimeout(this.
|
|
99
|
-
this.
|
|
94
|
+
updateDuration() {
|
|
95
|
+
if (this.autoDismiss && this.autoDismissTimeoutId) {
|
|
96
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
97
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
|
|
100
98
|
}
|
|
101
99
|
}
|
|
102
100
|
//--------------------------------------------------------------------------
|
|
@@ -116,9 +114,7 @@ let CalciteAlert$1 = class extends HTMLElement {
|
|
|
116
114
|
this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
|
|
117
115
|
}
|
|
118
116
|
disconnectedCallback() {
|
|
119
|
-
|
|
120
|
-
window.clearTimeout(this.autoDismissTimeout);
|
|
121
|
-
}
|
|
117
|
+
window.clearTimeout(this.autoDismissTimeoutId);
|
|
122
118
|
}
|
|
123
119
|
render() {
|
|
124
120
|
const dir = getElementDir(this.el);
|
|
@@ -126,14 +122,13 @@ let CalciteAlert$1 = class extends HTMLElement {
|
|
|
126
122
|
const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;
|
|
127
123
|
const queueCount = (h("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
|
|
128
124
|
const { active, autoDismiss, label, queued, requestedIcon } = this;
|
|
129
|
-
const progressBar = h("div", { class: "alert-dismiss-progress" });
|
|
130
125
|
const role = autoDismiss ? "alert" : "alertdialog";
|
|
131
126
|
const hidden = !active;
|
|
132
127
|
return (h(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, h("div", { class: {
|
|
133
128
|
container: true,
|
|
134
129
|
queued,
|
|
135
130
|
[CSS_UTILITY.rtl]: dir === "rtl"
|
|
136
|
-
} }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ?
|
|
131
|
+
} }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
|
|
137
132
|
}
|
|
138
133
|
// when an alert is opened or closed, update queue and determine active alert
|
|
139
134
|
alertSync(event) {
|
|
@@ -179,9 +174,9 @@ let CalciteAlert$1 = class extends HTMLElement {
|
|
|
179
174
|
var _a;
|
|
180
175
|
if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
|
|
181
176
|
this.openAlert();
|
|
182
|
-
if (this.autoDismiss && !this.
|
|
183
|
-
this.trackTimer =
|
|
184
|
-
this.
|
|
177
|
+
if (this.autoDismiss && !this.autoDismissTimeoutId) {
|
|
178
|
+
this.trackTimer = Date.now();
|
|
179
|
+
this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
|
|
185
180
|
}
|
|
186
181
|
}
|
|
187
182
|
else {
|
|
@@ -67,7 +67,7 @@ let CalciteDropdown = class extends HTMLElement {
|
|
|
67
67
|
//
|
|
68
68
|
//--------------------------------------------------------------------------
|
|
69
69
|
this.items = [];
|
|
70
|
-
this.activeTransitionProp = "
|
|
70
|
+
this.activeTransitionProp = "visibility";
|
|
71
71
|
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
72
72
|
//--------------------------------------------------------------------------
|
|
73
73
|
//
|
|
@@ -25,6 +25,7 @@ const CSS = {
|
|
|
25
25
|
headerActionsStart: "header-actions--start",
|
|
26
26
|
contentWrapper: "content-wrapper",
|
|
27
27
|
contentContainer: "content-container",
|
|
28
|
+
contentHeight: "content-height",
|
|
28
29
|
fabContainer: "fab-container",
|
|
29
30
|
footer: "footer",
|
|
30
31
|
menuContainer: "menu-container",
|
|
@@ -55,7 +56,7 @@ const TEXT = {
|
|
|
55
56
|
};
|
|
56
57
|
const HEADING_LEVEL = 3;
|
|
57
58
|
|
|
58
|
-
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{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{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{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{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.container{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]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--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]){--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]){--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]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative;z-index:1}.header{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{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,.header-content .summary{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}.header-content .heading{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{margin-bottom:0}.header-content .summary{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}.back-button{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}.calcite--rtl .back-button{border-right-width:0;border-left-width:1px}.header-actions{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{margin-left:auto}.menu-container:only-child{margin-left:auto}.menu-button{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{
|
|
59
|
+
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{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{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{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{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.container{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]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--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]){--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]){--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]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative;z-index:1}.header{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{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,.header-content .summary{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}.header-content .heading{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{margin-bottom:0}.header-content .summary{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}.back-button{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}.calcite--rtl .back-button{border-right-width:0;border-left-width:1px}.header-actions{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{margin-left:auto}.menu-container:only-child{margin-left:auto}.menu-button{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{overflow:auto}.content-height{height:100%}.content-container{-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{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{margin-left:auto;margin-right:unset}.calcite--rtl .header-actions--end{margin-right:auto;margin-left:unset}.calcite--rtl .menu-container:only-child{margin-right:auto;margin-left:unset}.fab-container{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}";
|
|
59
60
|
|
|
60
61
|
let CalcitePanel$1 = class extends HTMLElement {
|
|
61
62
|
constructor() {
|
|
@@ -217,12 +218,12 @@ let CalcitePanel$1 = class extends HTMLElement {
|
|
|
217
218
|
return hasFooterActions ? (h("footer", { class: CSS.footer }, h("slot", { name: SLOTS.footerActions }))) : null;
|
|
218
219
|
}
|
|
219
220
|
renderContent() {
|
|
220
|
-
return (h("div", { class: CSS.contentWrapper, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("section", { class: CSS.contentContainer }, h("slot", null)), this.renderFab()));
|
|
221
|
-
}
|
|
222
|
-
renderFab() {
|
|
223
221
|
const { el } = this;
|
|
224
222
|
const hasFab = getSlotted(el, SLOTS.fab);
|
|
225
|
-
return hasFab ? (h("div", { class: CSS.
|
|
223
|
+
return hasFab ? (h("div", { class: { [CSS.contentWrapper]: true, [CSS.contentHeight]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("section", { class: CSS.contentContainer }, h("slot", null)), this.renderFab())) : (h("section", { class: { [CSS.contentWrapper]: true, [CSS.contentContainer]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("slot", null)));
|
|
224
|
+
}
|
|
225
|
+
renderFab() {
|
|
226
|
+
return (h("div", { class: CSS.fabContainer }, h("slot", { name: SLOTS.fab })));
|
|
226
227
|
}
|
|
227
228
|
render() {
|
|
228
229
|
const { dismissed, disabled, dismissible, el, loading, panelKeyUpHandler } = this;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { HTMLElement, createEvent, h, forceUpdate, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
|
-
import { b as getSlotted } from './dom.js';
|
|
6
|
+
import { k as getElementStyleDir, b as getSlotted } from './dom.js';
|
|
7
7
|
import { c as clamp } from './math.js';
|
|
8
8
|
|
|
9
9
|
const CSS = {
|
|
@@ -22,7 +22,7 @@ const TEXT = {
|
|
|
22
22
|
resize: "Resize"
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
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{--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-align:stretch;align-items:stretch;-ms-flex:0 1 auto;flex:0 1 auto;--calcite-shell-panel-detached-max-height:unset}.container{-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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{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{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(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){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{-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{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{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{--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{--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{--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{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{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),.content--detached ::slotted(calcite-flow){max-height:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(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),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";
|
|
25
|
+
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{--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-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{-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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{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{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(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){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{-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{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{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{--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{--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{--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{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{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),.content--detached ::slotted(calcite-flow){max-height:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(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),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";
|
|
26
26
|
|
|
27
27
|
let CalciteShellPanel$1 = class extends HTMLElement {
|
|
28
28
|
constructor() {
|
|
@@ -72,7 +72,7 @@ let CalciteShellPanel$1 = class extends HTMLElement {
|
|
|
72
72
|
};
|
|
73
73
|
this.getKeyAdjustedWidth = (event) => {
|
|
74
74
|
const { key } = event;
|
|
75
|
-
const { step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
75
|
+
const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
|
76
76
|
const multipliedStep = step * stepMultiplier;
|
|
77
77
|
const MOVEMENT_KEYS = [
|
|
78
78
|
"ArrowUp",
|
|
@@ -87,15 +87,20 @@ let CalciteShellPanel$1 = class extends HTMLElement {
|
|
|
87
87
|
if (MOVEMENT_KEYS.indexOf(key) > -1) {
|
|
88
88
|
event.preventDefault();
|
|
89
89
|
}
|
|
90
|
-
const
|
|
90
|
+
const dir = getElementStyleDir(el);
|
|
91
|
+
const directionKeys = ["ArrowLeft", "ArrowRight"];
|
|
92
|
+
const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
|
|
93
|
+
const increaseKeys = key === "ArrowUp" ||
|
|
94
|
+
(position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
|
|
91
95
|
if (increaseKeys) {
|
|
92
96
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
93
|
-
return initialContentWidth + stepValue;
|
|
97
|
+
return initialContentWidth + directionFactor * stepValue;
|
|
94
98
|
}
|
|
95
|
-
const decreaseKeys = key === "ArrowDown" ||
|
|
99
|
+
const decreaseKeys = key === "ArrowDown" ||
|
|
100
|
+
(position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
|
|
96
101
|
if (decreaseKeys) {
|
|
97
102
|
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
98
|
-
return initialContentWidth - stepValue;
|
|
103
|
+
return initialContentWidth - directionFactor * stepValue;
|
|
99
104
|
}
|
|
100
105
|
if (typeof contentWidthMin === "number" && key === "Home") {
|
|
101
106
|
return contentWidthMin;
|
|
@@ -120,9 +125,13 @@ let CalciteShellPanel$1 = class extends HTMLElement {
|
|
|
120
125
|
};
|
|
121
126
|
this.separatorPointerMove = (event) => {
|
|
122
127
|
event.preventDefault();
|
|
123
|
-
const { initialContentWidth, position, initialClientX } = this;
|
|
128
|
+
const { el, initialContentWidth, position, initialClientX } = this;
|
|
124
129
|
const offset = event.clientX - initialClientX;
|
|
125
|
-
|
|
130
|
+
const dir = getElementStyleDir(el);
|
|
131
|
+
const adjustmentDirection = dir === "rtl" ? -1 : 1;
|
|
132
|
+
const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
|
|
133
|
+
const width = initialContentWidth + adjustedOffset;
|
|
134
|
+
this.setContentWidth(width);
|
|
126
135
|
};
|
|
127
136
|
this.separatorPointerUp = (event) => {
|
|
128
137
|
event.preventDefault();
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { g as guid } from './guid.js';
|
|
7
7
|
import { g as getKey } from './key.js';
|
|
8
|
-
import {
|
|
8
|
+
import { l as intersects } from './dom.js';
|
|
9
9
|
import { c as clamp } from './math.js';
|
|
10
10
|
import { c as connectLabel, d as disconnectLabel } from './label.js';
|
|
11
11
|
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form.js';
|
|
@@ -43,6 +43,8 @@ let CalciteSplitButton$1 = class extends HTMLElement {
|
|
|
43
43
|
/** optionally add a calcite-loader component to the control,
|
|
44
44
|
disabling interaction. with the primary button */
|
|
45
45
|
this.loading = false;
|
|
46
|
+
/** Describes the type of positioning to use for the dropdown. If your element is in a fixed container, use the 'fixed' value. */
|
|
47
|
+
this.overlayPositioning = "absolute";
|
|
46
48
|
/** specify the scale of the control, defaults to m */
|
|
47
49
|
this.scale = "m";
|
|
48
50
|
/** specify the width of the button, defaults to auto */
|
|
@@ -59,7 +61,7 @@ let CalciteSplitButton$1 = class extends HTMLElement {
|
|
|
59
61
|
[CSS.widthFull]: this.width === "full"
|
|
60
62
|
};
|
|
61
63
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
62
|
-
return (h("div", { class: widthClasses, dir: dir }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", width: buttonWidth }, this.primaryText), h("div", { class: CSS.dividerContainer }, h("div", { class: CSS.divider })), h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, placement: "bottom-trailing", scale: this.scale, width: this.scale }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "dropdown-trigger", splitChild: "secondary" }), h("slot", null))));
|
|
64
|
+
return (h("div", { class: widthClasses, dir: dir }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", width: buttonWidth }, this.primaryText), h("div", { class: CSS.dividerContainer }, h("div", { class: CSS.divider })), h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, overlayPositioning: this.overlayPositioning, placement: "bottom-trailing", scale: this.scale, width: this.scale }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "dropdown-trigger", splitChild: "secondary" }), h("slot", null))));
|
|
63
65
|
}
|
|
64
66
|
get dropdownIcon() {
|
|
65
67
|
return this.dropdownIconType === "chevron"
|
|
@@ -81,6 +83,7 @@ CalciteSplitButton$1 = /*@__PURE__*/ proxyCustomElement(CalciteSplitButton$1, [1
|
|
|
81
83
|
"dropdownIconType": [513, "dropdown-icon-type"],
|
|
82
84
|
"dropdownLabel": [513, "dropdown-label"],
|
|
83
85
|
"loading": [516],
|
|
86
|
+
"overlayPositioning": [1, "overlay-positioning"],
|
|
84
87
|
"primaryIconEnd": [513, "primary-icon-end"],
|
|
85
88
|
"primaryIconFlipRtl": [513, "primary-icon-flip-rtl"],
|
|
86
89
|
"primaryIconStart": [513, "primary-icon-start"],
|