@esri/calcite-components 1.0.0-next.290 → 1.0.0-next.294
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/CHANGELOG.md +40 -2
- package/dist/calcite/assets/calcite-icon/penMark16.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark24.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark32.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus16.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus24.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus32.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript16.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript24.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript32.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript16.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript24.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript32.json +1 -0
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/{p-9ff5b403.entry.js → p-0100aeb0.entry.js} +1 -1
- package/dist/calcite/p-05107123.entry.js +5 -0
- package/dist/calcite/{p-cbdf0e6c.js → p-05d1dfc6.js} +1 -1
- package/dist/calcite/{p-a8cd5cde.system.entry.js → p-06646eed.system.entry.js} +1 -1
- package/dist/calcite/{p-3db2dc30.system.entry.js → p-09da1c54.system.entry.js} +2 -2
- package/dist/calcite/{p-280404ef.system.entry.js → p-0d4e82ab.system.entry.js} +1 -1
- package/dist/calcite/{p-f9428f19.system.entry.js → p-10759c71.system.entry.js} +2 -2
- package/dist/calcite/{p-32faf98b.system.entry.js → p-10de63d7.system.entry.js} +1 -1
- package/dist/calcite/p-11113310.entry.js +5 -0
- package/dist/calcite/{p-45b13361.system.entry.js → p-12e1c83f.system.entry.js} +1 -1
- package/dist/calcite/p-1421e818.entry.js +5 -0
- package/dist/calcite/p-17e666d6.system.entry.js +5 -0
- package/dist/calcite/p-1e875199.entry.js +5 -0
- package/dist/calcite/{p-00c20cb8.entry.js → p-22ecf6df.entry.js} +1 -1
- package/dist/calcite/{p-dd92cde1.entry.js → p-2418cceb.entry.js} +1 -1
- package/dist/calcite/{p-32fbf8cd.system.js → p-25a31861.system.js} +1 -1
- package/dist/calcite/{p-8655c0a1.entry.js → p-28261aae.entry.js} +1 -1
- package/dist/calcite/p-2ba00b89.js +5 -0
- package/dist/calcite/{p-91889ade.system.entry.js → p-2ecafa35.system.entry.js} +1 -1
- package/dist/calcite/p-329e1831.system.entry.js +5 -0
- package/dist/calcite/p-3383d9b4.entry.js +5 -0
- package/dist/calcite/p-36e5db45.entry.js +5 -0
- package/dist/calcite/{p-ffb8f0a9.system.entry.js → p-38ee7306.system.entry.js} +1 -1
- package/dist/calcite/{p-8efb43fc.entry.js → p-3962cd38.entry.js} +1 -1
- package/dist/calcite/p-3994ac99.system.entry.js +5 -0
- package/dist/calcite/{p-28fecce5.system.entry.js → p-3bb30b44.system.entry.js} +1 -1
- package/dist/calcite/{p-bb916828.system.entry.js → p-3cf93a58.system.entry.js} +1 -1
- package/dist/calcite/{p-197382be.system.entry.js → p-3e438b5b.system.entry.js} +1 -1
- package/dist/calcite/{p-efbf0d26.entry.js → p-3f1d1bad.entry.js} +1 -1
- package/dist/calcite/{p-4805ca9a.system.entry.js → p-413b4857.system.entry.js} +1 -1
- package/dist/calcite/{p-1f27021e.entry.js → p-4185db77.entry.js} +1 -1
- package/dist/calcite/p-42128a12.entry.js +5 -0
- package/dist/calcite/p-45257edb.js +5 -0
- package/dist/calcite/p-49d5ee42.system.entry.js +5 -0
- package/dist/calcite/{p-e524bf4d.system.entry.js → p-4c7e3915.system.entry.js} +1 -1
- package/dist/calcite/p-4ecd0331.entry.js +5 -0
- package/dist/calcite/p-502736d8.system.entry.js +5 -0
- package/dist/calcite/{p-a1911108.entry.js → p-507b2cc4.entry.js} +1 -1
- package/dist/calcite/{p-34a6550f.system.entry.js → p-527146c8.system.entry.js} +1 -1
- package/dist/calcite/{p-5fda3de2.js → p-52cc870b.js} +1 -1
- package/dist/calcite/{p-6fe5f2de.system.entry.js → p-5322b333.system.entry.js} +1 -1
- package/dist/calcite/{p-382556c4.system.entry.js → p-58716826.system.entry.js} +1 -1
- package/dist/calcite/{p-5accac7d.system.entry.js → p-58e98b2d.system.entry.js} +1 -1
- package/dist/calcite/{p-11071ac7.entry.js → p-58eca102.entry.js} +1 -1
- package/dist/calcite/p-5e6d76dc.entry.js +5 -0
- package/dist/calcite/{p-33e58a20.entry.js → p-5efd7297.entry.js} +1 -1
- package/dist/calcite/{p-1682482b.entry.js → p-6621aee1.entry.js} +1 -1
- package/dist/calcite/{p-2b13e5a9.system.entry.js → p-684ccd4e.system.entry.js} +1 -1
- package/dist/calcite/{p-380c71e8.system.entry.js → p-6988c6b7.system.entry.js} +1 -1
- package/dist/calcite/p-6c8a562f.system.entry.js +5 -0
- package/dist/calcite/{p-a8c759ae.system.js → p-6cc23c39.system.js} +1 -1
- package/dist/calcite/{p-800874fd.entry.js → p-72fa390e.entry.js} +1 -1
- package/dist/calcite/p-75f714c9.entry.js +5 -0
- package/dist/calcite/p-76ccd204.entry.js +5 -0
- package/dist/calcite/{p-50e1a7c9.system.entry.js → p-777c833f.system.entry.js} +1 -1
- package/dist/calcite/{p-7fab451d.js → p-79cbbf2d.js} +1 -1
- package/dist/calcite/p-7a6c6382.entry.js +5 -0
- package/dist/calcite/p-7ade2294.system.entry.js +5 -0
- package/dist/calcite/p-7b869bc5.entry.js +5 -0
- package/dist/calcite/{p-fe3880f2.entry.js → p-7c37ca39.entry.js} +1 -1
- package/dist/calcite/{p-1b2c1f55.entry.js → p-7dd5c4e4.entry.js} +1 -1
- package/dist/calcite/{p-5b87b98f.system.entry.js → p-8007a0b4.system.entry.js} +1 -1
- package/dist/calcite/{p-a20df95c.js → p-809ddb6a.js} +1 -1
- package/dist/calcite/{p-4b2f69cc.entry.js → p-83302e1c.entry.js} +1 -1
- package/dist/calcite/{p-9358deb1.system.entry.js → p-83ccefba.system.entry.js} +1 -1
- package/dist/calcite/p-8711a0ae.system.entry.js +5 -0
- package/dist/calcite/{p-16148eef.entry.js → p-8953f712.entry.js} +1 -1
- package/dist/calcite/{p-c74fc589.system.js → p-89cdfa96.system.js} +1 -1
- package/dist/calcite/{p-34fdad31.entry.js → p-8bc3e126.entry.js} +1 -1
- package/dist/calcite/p-948aca0d.system.entry.js +5 -0
- package/dist/calcite/{p-b95dbc48.system.entry.js → p-98789055.system.entry.js} +1 -1
- package/dist/calcite/p-99ff3a2f.entry.js +5 -0
- package/dist/calcite/{p-8967b27b.entry.js → p-9affee61.entry.js} +1 -1
- package/dist/calcite/{p-6281ab45.system.entry.js → p-9fa024e6.system.entry.js} +1 -1
- package/dist/calcite/{p-fc0b3ef2.entry.js → p-9fa5e356.entry.js} +1 -1
- package/dist/calcite/{p-192289eb.system.entry.js → p-9fc0dc2c.system.entry.js} +1 -1
- package/dist/calcite/p-9fe349b9.entry.js +5 -0
- package/dist/calcite/{p-0e30afe6.entry.js → p-a09634e2.entry.js} +1 -1
- package/dist/calcite/{p-bdd6ec61.entry.js → p-a2cc027e.entry.js} +1 -1
- package/dist/calcite/{p-37fac73b.system.entry.js → p-a5bfc29d.system.entry.js} +1 -1
- package/dist/calcite/{p-914c3cc4.system.js → p-a7ba0292.system.js} +1 -1
- package/dist/calcite/{p-09ced3ff.system.entry.js → p-a8569c55.system.entry.js} +1 -1
- package/dist/calcite/p-b018fbbd.entry.js +5 -0
- package/dist/calcite/p-b1f88d45.system.js +5 -0
- package/dist/calcite/{p-9d04923b.entry.js → p-b244a00c.entry.js} +1 -1
- package/dist/calcite/p-b41deed0.system.entry.js +5 -0
- package/dist/calcite/{p-294dbdf2.entry.js → p-b42d730f.entry.js} +1 -1
- package/dist/calcite/p-b4960d06.system.js +5 -0
- package/dist/calcite/{p-bb577ef7.system.entry.js → p-b4e7b593.system.entry.js} +1 -1
- package/dist/calcite/{p-49dfc82d.system.entry.js → p-b8d040e5.system.entry.js} +1 -1
- package/dist/calcite/{p-aa53b2aa.system.entry.js → p-ba1322e6.system.entry.js} +1 -1
- package/dist/calcite/{p-2e53f47f.system.entry.js → p-bbe2337b.system.entry.js} +2 -2
- package/dist/calcite/p-bbedf98c.entry.js +5 -0
- package/dist/calcite/p-be52c734.entry.js +5 -0
- package/dist/calcite/p-bf25e278.system.entry.js +5 -0
- package/dist/calcite/{p-1f17f6c6.entry.js → p-bf8b70a8.entry.js} +1 -1
- package/dist/calcite/p-c399cfce.entry.js +5 -0
- package/dist/calcite/{p-c3922ef7.system.entry.js → p-c48b4b7e.system.entry.js} +1 -1
- package/dist/calcite/p-c60e3a71.entry.js +5 -0
- package/dist/calcite/{p-36115e9d.system.entry.js → p-c8e4117c.system.entry.js} +1 -1
- package/dist/calcite/{p-1a27bf28.system.entry.js → p-c99d8f9e.system.entry.js} +1 -1
- package/dist/calcite/{p-49fcc674.entry.js → p-c9ecea64.entry.js} +1 -1
- package/dist/calcite/{p-7fed4823.entry.js → p-cacca548.entry.js} +1 -1
- package/dist/calcite/{p-5376ff1d.entry.js → p-cb7b6425.entry.js} +1 -1
- package/dist/calcite/{p-ae4f203c.system.entry.js → p-cca94491.system.entry.js} +1 -1
- package/dist/calcite/{p-a5a50052.entry.js → p-cd41629f.entry.js} +1 -1
- package/dist/calcite/{p-7bcd2eb9.system.js → p-d11ad046.system.js} +1 -1
- package/dist/calcite/p-d4059426.entry.js +5 -0
- package/dist/calcite/{p-daf4bb66.js → p-d53cc958.js} +1 -1
- package/dist/calcite/{p-89b4e322.system.entry.js → p-daa110fe.system.entry.js} +1 -1
- package/dist/calcite/{p-975ca343.system.entry.js → p-dc99bb00.system.entry.js} +1 -1
- package/dist/calcite/{p-1dc68118.system.entry.js → p-dcf30b00.system.entry.js} +2 -2
- package/dist/calcite/{p-f1cf1a10.system.entry.js → p-de3a04c2.system.entry.js} +1 -1
- package/dist/calcite/p-df9b4b76.entry.js +5 -0
- package/dist/calcite/{p-bee79057.system.entry.js → p-e24b6c4a.system.entry.js} +1 -1
- package/dist/calcite/{p-3b17d8d0.system.js → p-e35e7216.system.js} +1 -1
- package/dist/calcite/p-e382c4e9.entry.js +5 -0
- package/dist/calcite/{p-0467efd5.system.entry.js → p-e40dd6fe.system.entry.js} +1 -1
- package/dist/calcite/p-e5805bf1.entry.js +5 -0
- package/dist/calcite/p-e638ff0e.entry.js +5 -0
- package/dist/calcite/{p-7839d1c9.entry.js → p-e7819705.entry.js} +1 -1
- package/dist/calcite/{p-a97338b7.entry.js → p-eccb140e.entry.js} +1 -1
- package/dist/calcite/p-eed43a57.system.entry.js +5 -0
- package/dist/calcite/{p-c57f8690.entry.js → p-f281f1e9.entry.js} +1 -1
- package/dist/calcite/{p-d1b49fa1.system.entry.js → p-f32e61bb.system.entry.js} +1 -1
- package/dist/calcite/{p-b7d3039d.js → p-f5bb39bb.js} +1 -1
- package/dist/calcite/{p-b5c2dfce.system.entry.js → p-f6f4648e.system.entry.js} +1 -1
- package/dist/calcite/{p-e6ec69cf.entry.js → p-f93a7fce.entry.js} +1 -1
- package/dist/calcite/p-fb1da0f5.system.js +5 -0
- package/dist/calcite/{p-a5bbfe14.system.entry.js → p-fba65e4a.system.entry.js} +1 -1
- package/dist/calcite/p-fe16f05e.system.entry.js +5 -0
- package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-6a9f9858.js} +1 -1
- package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-363b0525.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 +5 -3
- package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action.cjs.entry.js +6 -10
- package/dist/cjs/calcite-alert.cjs.entry.js +2 -2
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-button.cjs.entry.js +52 -35
- package/dist/cjs/calcite-card.cjs.entry.js +2 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- 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 +13 -13
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +3 -3
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +36 -19
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +10 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +28 -20
- package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +6 -5
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input.cjs.entry.js +40 -27
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +7 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +24 -3
- package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +2 -2
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-popover_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-radio_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
- package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +18 -13
- 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 +2 -2
- package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -5
- 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 +3 -3
- package/dist/cjs/{index-1987a382.js → index-cee0daa9.js} +73 -64
- package/dist/cjs/{label-4c30cbca.js → label-549c3d9d.js} +4 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{popper-cd9c0742.js → popper-87bf13e6.js} +2 -2
- package/dist/cjs/{resources-7dcd68d1.js → resources-38563593.js} +1 -1
- package/dist/cjs/{resources-d0619f6a.js → resources-f9c141d2.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -8
- package/dist/collection/components/calcite-action/calcite-action.css +17 -68
- package/dist/collection/components/calcite-action/calcite-action.js +34 -35
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +6 -4
- package/dist/collection/components/calcite-alert/calcite-alert.css +0 -62
- package/dist/collection/components/calcite-alert/calcite-alert.js +6 -6
- package/dist/collection/components/calcite-block/calcite-block.css +2 -2
- package/dist/collection/components/calcite-block/calcite-block.js +4 -4
- package/dist/collection/components/calcite-block-section/calcite-block-section.css +1 -0
- package/dist/collection/components/calcite-button/calcite-button.js +33 -37
- package/dist/collection/components/calcite-card/calcite-card.js +8 -8
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +4 -1
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +12 -12
- package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +46 -46
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -4
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +3 -0
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +15 -15
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +6 -6
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +39 -20
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
- package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
- package/dist/collection/components/calcite-filter/calcite-filter.js +29 -11
- package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
- package/dist/collection/components/calcite-graph/util.js +1 -1
- package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript32.json +1 -0
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +17 -16
- package/dist/collection/components/calcite-input/calcite-input.js +50 -37
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +19 -19
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +10 -10
- package/dist/collection/components/calcite-label/calcite-label.js +2 -2
- package/dist/collection/components/calcite-link/calcite-link.js +11 -1
- package/dist/collection/components/calcite-list/calcite-list.js +33 -1
- package/dist/collection/components/calcite-list-item/calcite-list-item.js +30 -2
- package/dist/collection/components/calcite-loader/calcite-loader.css +3 -6
- package/dist/collection/components/calcite-modal/calcite-modal.js +2 -2
- package/dist/collection/components/calcite-notice/calcite-notice.css +18 -6
- package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
- package/dist/collection/components/calcite-option/calcite-option.js +2 -2
- package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
- package/dist/collection/components/calcite-panel/calcite-panel.css +6 -2
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
- package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
- package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +27 -27
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +8 -8
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +1 -5
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +2 -2
- package/dist/collection/components/calcite-rating/calcite-rating.js +12 -12
- package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
- package/dist/collection/components/calcite-select/calcite-select.js +10 -10
- package/dist/collection/components/calcite-slider/calcite-slider.css +2 -4
- package/dist/collection/components/calcite-slider/calcite-slider.js +12 -12
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +2 -2
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
- package/dist/collection/components/calcite-switch/calcite-switch.js +19 -14
- package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +14 -14
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +16 -16
- package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
- package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +5 -4
- package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +20 -20
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
- package/dist/collection/utils/label.js +4 -4
- package/dist/collection/utils/popper.js +2 -2
- package/dist/components/CalciteExpandToggle.js +87 -0
- package/dist/components/CalciteHeading.js +16 -0
- package/dist/components/array.js +9 -0
- package/dist/components/calcite-accordion-item.d.ts +11 -0
- package/dist/components/calcite-accordion-item.js +153 -0
- package/dist/components/calcite-accordion.d.ts +11 -0
- package/dist/components/calcite-accordion.js +167 -0
- package/dist/components/calcite-action-bar.d.ts +11 -0
- package/dist/components/calcite-action-bar.js +266 -0
- package/dist/components/calcite-action-group.d.ts +11 -0
- package/dist/components/calcite-action-group.js +10 -0
- package/dist/components/calcite-action-group2.js +135 -0
- package/dist/components/calcite-action-menu.d.ts +11 -0
- package/dist/components/calcite-action-menu.js +10 -0
- package/dist/components/calcite-action-menu2.js +354 -0
- package/dist/components/calcite-action-pad.d.ts +11 -0
- package/dist/components/calcite-action-pad.js +198 -0
- package/dist/components/calcite-action.d.ts +11 -0
- package/dist/components/calcite-action.js +10 -0
- package/dist/components/calcite-action2.js +183 -0
- package/dist/components/calcite-alert.d.ts +11 -0
- package/dist/components/calcite-alert.js +232 -0
- package/dist/components/calcite-avatar.d.ts +11 -0
- package/dist/components/calcite-avatar.js +171 -0
- package/dist/components/calcite-block-section.d.ts +11 -0
- package/dist/components/calcite-block-section.js +139 -0
- package/dist/components/calcite-block.d.ts +11 -0
- package/dist/components/calcite-block.js +216 -0
- package/dist/components/calcite-button.d.ts +11 -0
- package/dist/components/calcite-button.js +10 -0
- package/dist/components/calcite-button2.js +243 -0
- package/dist/components/calcite-card.d.ts +11 -0
- package/dist/components/calcite-card.js +162 -0
- package/dist/components/calcite-checkbox.d.ts +11 -0
- package/dist/components/calcite-checkbox.js +10 -0
- package/dist/components/calcite-checkbox2.js +203 -0
- package/dist/components/calcite-chip.d.ts +11 -0
- package/dist/components/calcite-chip.js +10 -0
- package/dist/components/calcite-chip2.js +121 -0
- package/dist/components/calcite-color-picker-hex-input.d.ts +11 -0
- package/dist/components/calcite-color-picker-hex-input.js +10 -0
- package/dist/components/calcite-color-picker-hex-input2.js +353 -0
- package/dist/components/calcite-color-picker-swatch.d.ts +11 -0
- package/dist/components/calcite-color-picker-swatch.js +10 -0
- package/dist/components/calcite-color-picker-swatch2.js +2176 -0
- package/dist/components/calcite-color-picker.d.ts +11 -0
- package/dist/components/calcite-color-picker.js +966 -0
- package/dist/components/calcite-combobox-item-group.d.ts +11 -0
- package/dist/components/calcite-combobox-item-group.js +68 -0
- package/dist/components/calcite-combobox-item.d.ts +11 -0
- package/dist/components/calcite-combobox-item.js +168 -0
- package/dist/components/calcite-combobox.d.ts +11 -0
- package/dist/components/calcite-combobox.js +871 -0
- package/dist/components/calcite-date-picker-day.d.ts +11 -0
- package/dist/components/calcite-date-picker-day.js +10 -0
- package/dist/components/calcite-date-picker-day2.js +99 -0
- package/dist/components/calcite-date-picker-month-header.d.ts +11 -0
- package/dist/components/calcite-date-picker-month-header.js +10 -0
- package/dist/components/calcite-date-picker-month-header2.js +170 -0
- package/dist/components/calcite-date-picker-month.d.ts +11 -0
- package/dist/components/calcite-date-picker-month.js +10 -0
- package/dist/components/calcite-date-picker-month2.js +313 -0
- package/dist/components/calcite-date-picker.d.ts +11 -0
- package/dist/components/calcite-date-picker.js +10 -0
- package/dist/components/calcite-date-picker2.js +486 -0
- package/dist/components/calcite-dropdown-group.d.ts +11 -0
- package/dist/components/calcite-dropdown-group.js +90 -0
- package/dist/components/calcite-dropdown-item.d.ts +11 -0
- package/dist/components/calcite-dropdown-item.js +202 -0
- package/dist/components/calcite-dropdown.d.ts +11 -0
- package/dist/components/calcite-dropdown.js +10 -0
- package/dist/components/calcite-dropdown2.js +390 -0
- package/dist/components/calcite-fab.d.ts +11 -0
- package/dist/components/calcite-fab.js +127 -0
- package/dist/components/calcite-filter.d.ts +11 -0
- package/dist/components/calcite-filter.js +10 -0
- package/dist/components/calcite-filter2.js +168 -0
- package/dist/components/calcite-flow.d.ts +11 -0
- package/dist/components/calcite-flow.js +138 -0
- package/dist/components/calcite-graph.d.ts +11 -0
- package/dist/components/calcite-graph.js +10 -0
- package/dist/components/calcite-graph2.js +213 -0
- package/dist/components/calcite-handle.d.ts +11 -0
- package/dist/components/calcite-handle.js +10 -0
- package/dist/components/calcite-handle2.js +107 -0
- package/dist/components/calcite-icon.d.ts +11 -0
- package/dist/components/calcite-icon.js +10 -0
- package/dist/components/calcite-icon2.js +185 -0
- package/dist/components/calcite-inline-editable.d.ts +11 -0
- package/dist/components/calcite-inline-editable.js +242 -0
- package/dist/components/calcite-input-date-picker.d.ts +11 -0
- package/dist/components/calcite-input-date-picker.js +471 -0
- package/dist/components/calcite-input-message.d.ts +11 -0
- package/dist/components/calcite-input-message.js +97 -0
- package/dist/components/calcite-input-time-picker.d.ts +11 -0
- package/dist/components/calcite-input-time-picker.js +278 -0
- package/dist/components/calcite-input.d.ts +11 -0
- package/dist/components/calcite-input.js +10 -0
- package/dist/components/calcite-input2.js +507 -0
- package/dist/components/calcite-label.d.ts +11 -0
- package/dist/components/calcite-label.js +10 -0
- package/dist/components/calcite-label2.js +81 -0
- package/dist/components/calcite-link.d.ts +11 -0
- package/dist/components/calcite-link.js +10 -0
- package/dist/components/calcite-link2.js +97 -0
- package/dist/components/calcite-list-item-group.d.ts +11 -0
- package/dist/components/calcite-list-item-group.js +57 -0
- package/dist/components/calcite-list-item.d.ts +11 -0
- package/dist/components/calcite-list-item.js +117 -0
- package/dist/components/calcite-list.d.ts +11 -0
- package/dist/components/calcite-list.js +59 -0
- package/dist/components/calcite-loader.d.ts +11 -0
- package/dist/components/calcite-loader.js +10 -0
- package/dist/components/calcite-loader2.js +107 -0
- package/dist/components/calcite-modal.d.ts +11 -0
- package/dist/components/calcite-modal.js +417 -0
- package/dist/components/calcite-notice.d.ts +11 -0
- package/dist/components/calcite-notice.js +140 -0
- package/dist/components/calcite-option-group.d.ts +11 -0
- package/dist/components/calcite-option-group.js +61 -0
- package/dist/components/calcite-option.d.ts +11 -0
- package/dist/components/calcite-option.js +107 -0
- package/dist/components/calcite-pagination.d.ts +11 -0
- package/dist/components/calcite-pagination.js +207 -0
- package/dist/components/calcite-panel.d.ts +11 -0
- package/dist/components/calcite-panel.js +309 -0
- package/dist/components/calcite-pick-list-group.d.ts +11 -0
- package/dist/components/calcite-pick-list-group.js +70 -0
- package/dist/components/calcite-pick-list-item.d.ts +11 -0
- package/dist/components/calcite-pick-list-item.js +10 -0
- package/dist/components/calcite-pick-list-item2.js +230 -0
- package/dist/components/calcite-pick-list.d.ts +11 -0
- package/dist/components/calcite-pick-list.js +196 -0
- package/dist/components/calcite-popover-manager.d.ts +11 -0
- package/dist/components/calcite-popover-manager.js +93 -0
- package/dist/components/calcite-popover.d.ts +11 -0
- package/dist/components/calcite-popover.js +10 -0
- package/dist/components/calcite-popover2.js +332 -0
- package/dist/components/calcite-progress.d.ts +11 -0
- package/dist/components/calcite-progress.js +10 -0
- package/dist/components/calcite-progress2.js +52 -0
- package/dist/components/calcite-radio-button-group.d.ts +11 -0
- package/dist/components/calcite-radio-button-group.js +116 -0
- package/dist/components/calcite-radio-button.d.ts +11 -0
- package/dist/components/calcite-radio-button.js +291 -0
- package/dist/components/calcite-radio-group-item.d.ts +11 -0
- package/dist/components/calcite-radio-group-item.js +139 -0
- package/dist/components/calcite-radio-group.d.ts +11 -0
- package/dist/components/calcite-radio-group.js +233 -0
- package/dist/components/calcite-radio.d.ts +11 -0
- package/dist/components/calcite-radio.js +10 -0
- package/dist/components/calcite-radio2.js +68 -0
- package/dist/components/calcite-rating.d.ts +11 -0
- package/dist/components/calcite-rating.js +160 -0
- package/dist/components/calcite-scrim.d.ts +11 -0
- package/dist/components/calcite-scrim.js +10 -0
- package/dist/components/calcite-scrim2.js +74 -0
- package/dist/components/calcite-select.d.ts +11 -0
- package/dist/components/calcite-select.js +221 -0
- package/dist/components/calcite-shell-center-row.d.ts +11 -0
- package/dist/components/calcite-shell-center-row.js +81 -0
- package/dist/components/calcite-shell-panel.d.ts +11 -0
- package/dist/components/calcite-shell-panel.js +100 -0
- package/dist/components/calcite-shell.d.ts +11 -0
- package/dist/components/calcite-shell.js +99 -0
- package/dist/components/calcite-slider.d.ts +11 -0
- package/dist/components/calcite-slider.js +746 -0
- package/dist/components/calcite-sortable-list.d.ts +11 -0
- package/dist/components/calcite-sortable-list.js +190 -0
- package/dist/components/calcite-split-button.d.ts +11 -0
- package/dist/components/calcite-split-button.js +127 -0
- package/dist/components/calcite-stepper-item.d.ts +11 -0
- package/dist/components/calcite-stepper-item.js +189 -0
- package/dist/components/calcite-stepper.d.ts +11 -0
- package/dist/components/calcite-stepper.js +247 -0
- package/dist/components/calcite-switch.d.ts +11 -0
- package/dist/components/calcite-switch.js +10 -0
- package/dist/components/calcite-switch2.js +167 -0
- package/dist/components/calcite-tab-nav.d.ts +11 -0
- package/dist/components/calcite-tab-nav.js +10 -0
- package/dist/components/calcite-tab-nav2.js +209 -0
- package/dist/components/calcite-tab-title.d.ts +11 -0
- package/dist/components/calcite-tab-title.js +10 -0
- package/dist/components/calcite-tab-title2.js +230 -0
- package/dist/components/calcite-tab.d.ts +11 -0
- package/dist/components/calcite-tab.js +10 -0
- package/dist/components/calcite-tab2.js +122 -0
- package/dist/components/calcite-tabs.d.ts +11 -0
- package/dist/components/calcite-tabs.js +10 -0
- package/dist/components/calcite-tabs2.js +183 -0
- package/dist/components/calcite-tile-select-group.d.ts +11 -0
- package/dist/components/calcite-tile-select-group.js +45 -0
- package/dist/components/calcite-tile-select.d.ts +11 -0
- package/dist/components/calcite-tile-select.js +218 -0
- package/dist/components/calcite-tile.d.ts +11 -0
- package/dist/components/calcite-tile.js +10 -0
- package/dist/components/calcite-tile2.js +98 -0
- package/dist/components/calcite-time-picker.d.ts +11 -0
- package/dist/components/calcite-time-picker.js +10 -0
- package/dist/components/calcite-time-picker2.js +707 -0
- package/dist/components/calcite-tip-group.d.ts +11 -0
- package/dist/components/calcite-tip-group.js +38 -0
- package/dist/components/calcite-tip-manager.d.ts +11 -0
- package/dist/components/calcite-tip-manager.js +218 -0
- package/dist/components/calcite-tip.d.ts +11 -0
- package/dist/components/calcite-tip.js +140 -0
- package/dist/components/calcite-tooltip-manager.d.ts +11 -0
- package/dist/components/calcite-tooltip-manager.js +10 -0
- package/dist/components/calcite-tooltip-manager2.js +168 -0
- package/dist/components/calcite-tooltip.d.ts +11 -0
- package/dist/components/calcite-tooltip.js +224 -0
- package/dist/components/calcite-tree-item.d.ts +11 -0
- package/dist/components/calcite-tree-item.js +303 -0
- package/dist/components/calcite-tree.d.ts +11 -0
- package/dist/components/calcite-tree.js +216 -0
- package/dist/components/calcite-value-list-item.d.ts +11 -0
- package/dist/components/calcite-value-list-item.js +180 -0
- package/dist/components/calcite-value-list.d.ts +11 -0
- package/dist/components/calcite-value-list.js +271 -0
- package/dist/components/date.js +159 -0
- package/dist/components/debounce.js +486 -0
- package/dist/components/dom.js +153 -0
- package/dist/components/forIn.js +619 -0
- package/dist/components/form.js +20 -0
- package/dist/components/guid.js +18 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +5 -0
- package/dist/components/interfaces.js +13 -0
- package/dist/components/interfaces2.js +14 -0
- package/dist/components/key.js +33 -0
- package/dist/components/label.js +54 -0
- package/dist/components/locale.js +118 -0
- package/dist/components/math.js +7 -0
- package/dist/components/number.js +40 -0
- package/dist/components/observers.js +22 -0
- package/dist/{esm/popper-44055f06.js → components/popper.js} +3 -3
- package/dist/components/resources.js +24 -0
- package/dist/components/resources2.js +13 -0
- package/dist/components/resources3.js +18 -0
- package/dist/components/resources4.js +32 -0
- package/dist/components/shared-list-render.js +286 -0
- package/dist/components/sortable.esm.js +3017 -0
- package/dist/components/utils.js +113 -0
- package/dist/components/utils2.js +38 -0
- package/dist/custom-elements/index.js +400 -309
- package/dist/esm/{CalciteExpandToggle-b1e6e72d.js → CalciteExpandToggle-235a6bfd.js} +2 -2
- package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +3 -3
- package/dist/esm/calcite-action-group.entry.js +2 -2
- package/dist/esm/calcite-action-menu.entry.js +6 -4
- package/dist/esm/calcite-action-pad.entry.js +3 -3
- package/dist/esm/calcite-action.entry.js +6 -10
- package/dist/esm/calcite-alert.entry.js +3 -3
- package/dist/esm/calcite-avatar.entry.js +2 -2
- package/dist/esm/calcite-block_2.entry.js +5 -5
- package/dist/esm/calcite-button.entry.js +53 -36
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-checkbox.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +2 -2
- package/dist/esm/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +14 -14
- package/dist/esm/calcite-date-picker_4.entry.js +4 -4
- package/dist/esm/calcite-dropdown_3.entry.js +37 -20
- package/dist/esm/calcite-fab.entry.js +2 -2
- package/dist/esm/calcite-filter.entry.js +11 -8
- package/dist/esm/calcite-flow.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +29 -21
- package/dist/esm/calcite-handle.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +7 -6
- package/dist/esm/calcite-input-date-picker.entry.js +14 -14
- package/dist/esm/calcite-input-message.entry.js +2 -2
- package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
- package/dist/esm/calcite-input.entry.js +41 -28
- package/dist/esm/calcite-label.entry.js +2 -2
- package/dist/esm/calcite-link.entry.js +8 -2
- package/dist/esm/calcite-list_3.entry.js +25 -4
- package/dist/esm/calcite-loader.entry.js +2 -2
- package/dist/esm/calcite-modal.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +3 -3
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +4 -4
- package/dist/esm/calcite-pick-list_3.entry.js +4 -4
- package/dist/esm/calcite-popover_2.entry.js +5 -5
- package/dist/esm/calcite-progress.entry.js +1 -1
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/calcite-radio-group_2.entry.js +12 -12
- package/dist/esm/calcite-radio_2.entry.js +18 -18
- package/dist/esm/calcite-rating.entry.js +11 -11
- package/dist/esm/calcite-scrim.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +2 -2
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +2 -2
- package/dist/esm/calcite-stepper_2.entry.js +2 -2
- package/dist/esm/calcite-switch.entry.js +19 -14
- package/dist/esm/calcite-tab_4.entry.js +2 -2
- package/dist/esm/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm/calcite-tile.entry.js +3 -3
- package/dist/esm/calcite-tip_3.entry.js +3 -3
- package/dist/esm/calcite-tooltip_2.entry.js +7 -6
- package/dist/esm/calcite-tree_2.entry.js +2 -2
- package/dist/esm/calcite-value-list_2.entry.js +3 -3
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{dom-70b0e988.js → dom-f24e866c.js} +1 -1
- package/dist/esm/{index-d653c37f.js → index-66803519.js} +73 -64
- package/dist/esm/{label-426b4471.js → label-bb61bdef.js} +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/popper-dc4b45cf.js +1785 -0
- package/dist/esm/{resources-56ac5dd9.js → resources-8dd80c84.js} +2 -2
- package/dist/esm/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
- package/dist/esm-es5/{CalciteExpandToggle-b1e6e72d.js → CalciteExpandToggle-235a6bfd.js} +1 -1
- package/dist/esm-es5/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.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-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- 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-flow.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-handle.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 +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +1 -1
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- package/dist/esm-es5/calcite-panel.entry.js +1 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
- package/dist/esm-es5/calcite-progress.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button-group.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-scrim.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-sortable-list.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 +2 -2
- 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-70b0e988.js → dom-f24e866c.js} +1 -1
- package/dist/esm-es5/{index-d653c37f.js → index-66803519.js} +1 -1
- package/dist/esm-es5/label-bb61bdef.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/popper-dc4b45cf.js +5 -0
- package/dist/esm-es5/{resources-56ac5dd9.js → resources-8dd80c84.js} +1 -1
- package/dist/esm-es5/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
- package/dist/extras/docs-json.json +511 -429
- package/dist/types/components/calcite-action/calcite-action.d.ts +2 -2
- package/dist/types/components/calcite-button/calcite-button.d.ts +10 -3
- package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +1 -1
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +1 -1
- package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +6 -3
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +5 -1
- package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +1 -1
- package/dist/types/components/calcite-input/calcite-input.d.ts +8 -2
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +1 -1
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +2 -2
- package/dist/types/components/calcite-link/calcite-link.d.ts +2 -1
- package/dist/types/components/calcite-list/calcite-list.d.ts +3 -0
- package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +3 -0
- package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
- package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +1 -1
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -1
- package/dist/types/components/calcite-rating/calcite-rating.d.ts +1 -1
- package/dist/types/components/calcite-select/calcite-select.d.ts +1 -1
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +1 -1
- package/dist/types/components/calcite-switch/calcite-switch.d.ts +1 -1
- package/dist/types/components.d.ts +42 -8
- package/dist/types/utils/popper.d.ts +1 -1
- package/hydrate/index.js +321 -223
- package/package.json +32 -34
- package/readme.md +5 -5
- package/dist/calcite/p-01574cc9.system.entry.js +0 -5
- package/dist/calcite/p-034b30d0.system.entry.js +0 -5
- package/dist/calcite/p-07ba39b6.js +0 -5
- package/dist/calcite/p-161fae80.entry.js +0 -5
- package/dist/calcite/p-1800ca58.system.entry.js +0 -5
- package/dist/calcite/p-22b45d8e.entry.js +0 -5
- package/dist/calcite/p-38f1f404.entry.js +0 -5
- package/dist/calcite/p-3a529cc9.entry.js +0 -5
- package/dist/calcite/p-3f4d3c3a.system.entry.js +0 -5
- package/dist/calcite/p-42c1ceea.system.entry.js +0 -5
- package/dist/calcite/p-43c9ac47.entry.js +0 -5
- package/dist/calcite/p-48d862ab.system.entry.js +0 -5
- package/dist/calcite/p-4ba0e355.entry.js +0 -5
- package/dist/calcite/p-50c3504a.system.entry.js +0 -5
- package/dist/calcite/p-5cab6853.js +0 -5
- package/dist/calcite/p-6235a763.system.entry.js +0 -5
- package/dist/calcite/p-649b9bf0.entry.js +0 -5
- package/dist/calcite/p-66845ec0.entry.js +0 -5
- package/dist/calcite/p-6805cf31.entry.js +0 -5
- package/dist/calcite/p-6bdedd7f.system.js +0 -5
- package/dist/calcite/p-6cff93c4.entry.js +0 -5
- package/dist/calcite/p-773b9826.system.entry.js +0 -5
- package/dist/calcite/p-7878aa7c.entry.js +0 -5
- package/dist/calcite/p-78820fed.system.entry.js +0 -5
- package/dist/calcite/p-86788d34.entry.js +0 -5
- package/dist/calcite/p-8a535973.entry.js +0 -5
- package/dist/calcite/p-9965ea81.system.js +0 -5
- package/dist/calcite/p-9cad254a.entry.js +0 -5
- package/dist/calcite/p-a923201d.system.entry.js +0 -5
- package/dist/calcite/p-adfa75fa.entry.js +0 -5
- package/dist/calcite/p-c026ce05.entry.js +0 -5
- package/dist/calcite/p-c198f23c.entry.js +0 -5
- package/dist/calcite/p-c728d861.entry.js +0 -5
- package/dist/calcite/p-c7b4e11f.entry.js +0 -5
- package/dist/calcite/p-cb44170e.system.js +0 -5
- package/dist/calcite/p-cb87824b.entry.js +0 -5
- package/dist/calcite/p-d35a300b.entry.js +0 -5
- package/dist/calcite/p-d7756753.entry.js +0 -5
- package/dist/calcite/p-e3ea64dc.entry.js +0 -5
- package/dist/calcite/p-e6cc7798.entry.js +0 -5
- package/dist/calcite/p-eb027f31.system.entry.js +0 -5
- package/dist/calcite/p-edc12d5c.entry.js +0 -5
- package/dist/calcite/p-f33a21cf.system.entry.js +0 -5
- package/dist/custom-elements/bundles/accordion.d.ts +0 -1
- package/dist/custom-elements/bundles/accordion.js +0 -5
- package/dist/custom-elements/bundles/action-bar.d.ts +0 -1
- package/dist/custom-elements/bundles/action-bar.js +0 -5
- package/dist/custom-elements/bundles/action-menu.d.ts +0 -1
- package/dist/custom-elements/bundles/action-menu.js +0 -5
- package/dist/custom-elements/bundles/action-pad.d.ts +0 -1
- package/dist/custom-elements/bundles/action-pad.js +0 -5
- package/dist/custom-elements/bundles/action.d.ts +0 -1
- package/dist/custom-elements/bundles/action.js +0 -5
- package/dist/custom-elements/bundles/alert.d.ts +0 -1
- package/dist/custom-elements/bundles/alert.js +0 -5
- package/dist/custom-elements/bundles/avatar.d.ts +0 -1
- package/dist/custom-elements/bundles/avatar.js +0 -5
- package/dist/custom-elements/bundles/block.d.ts +0 -1
- package/dist/custom-elements/bundles/block.js +0 -5
- package/dist/custom-elements/bundles/button.d.ts +0 -1
- package/dist/custom-elements/bundles/button.js +0 -5
- package/dist/custom-elements/bundles/card.d.ts +0 -1
- package/dist/custom-elements/bundles/card.js +0 -5
- package/dist/custom-elements/bundles/checkbox.d.ts +0 -1
- package/dist/custom-elements/bundles/checkbox.js +0 -5
- package/dist/custom-elements/bundles/chip.d.ts +0 -1
- package/dist/custom-elements/bundles/chip.js +0 -5
- package/dist/custom-elements/bundles/color-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/color-picker.js +0 -5
- package/dist/custom-elements/bundles/combobox.d.ts +0 -1
- package/dist/custom-elements/bundles/combobox.js +0 -5
- package/dist/custom-elements/bundles/date-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/date-picker.js +0 -5
- package/dist/custom-elements/bundles/dropdown.d.ts +0 -1
- package/dist/custom-elements/bundles/dropdown.js +0 -5
- package/dist/custom-elements/bundles/fab.d.ts +0 -1
- package/dist/custom-elements/bundles/fab.js +0 -5
- package/dist/custom-elements/bundles/flow.d.ts +0 -1
- package/dist/custom-elements/bundles/flow.js +0 -5
- package/dist/custom-elements/bundles/icon.d.ts +0 -1
- package/dist/custom-elements/bundles/icon.js +0 -5
- package/dist/custom-elements/bundles/inline-editable.d.ts +0 -1
- package/dist/custom-elements/bundles/inline-editable.js +0 -5
- package/dist/custom-elements/bundles/input-date-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/input-date-picker.js +0 -5
- package/dist/custom-elements/bundles/input-message.d.ts +0 -1
- package/dist/custom-elements/bundles/input-message.js +0 -5
- package/dist/custom-elements/bundles/input-time-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/input-time-picker.js +0 -5
- package/dist/custom-elements/bundles/input.d.ts +0 -1
- package/dist/custom-elements/bundles/input.js +0 -5
- package/dist/custom-elements/bundles/label.d.ts +0 -1
- package/dist/custom-elements/bundles/label.js +0 -5
- package/dist/custom-elements/bundles/link.d.ts +0 -1
- package/dist/custom-elements/bundles/link.js +0 -5
- package/dist/custom-elements/bundles/list.d.ts +0 -1
- package/dist/custom-elements/bundles/list.js +0 -5
- package/dist/custom-elements/bundles/loader.d.ts +0 -1
- package/dist/custom-elements/bundles/loader.js +0 -5
- package/dist/custom-elements/bundles/modal.d.ts +0 -1
- package/dist/custom-elements/bundles/modal.js +0 -5
- package/dist/custom-elements/bundles/notice.d.ts +0 -1
- package/dist/custom-elements/bundles/notice.js +0 -5
- package/dist/custom-elements/bundles/pagination.d.ts +0 -1
- package/dist/custom-elements/bundles/pagination.js +0 -5
- package/dist/custom-elements/bundles/panel.d.ts +0 -1
- package/dist/custom-elements/bundles/panel.js +0 -5
- package/dist/custom-elements/bundles/pick-list.d.ts +0 -1
- package/dist/custom-elements/bundles/pick-list.js +0 -5
- package/dist/custom-elements/bundles/popover.d.ts +0 -1
- package/dist/custom-elements/bundles/popover.js +0 -5
- package/dist/custom-elements/bundles/progress.d.ts +0 -1
- package/dist/custom-elements/bundles/progress.js +0 -5
- package/dist/custom-elements/bundles/radio-button-group.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-button-group.js +0 -5
- package/dist/custom-elements/bundles/radio-button.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-button.js +0 -5
- package/dist/custom-elements/bundles/radio-group.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-group.js +0 -5
- package/dist/custom-elements/bundles/rating.d.ts +0 -1
- package/dist/custom-elements/bundles/rating.js +0 -5
- package/dist/custom-elements/bundles/scrim.d.ts +0 -1
- package/dist/custom-elements/bundles/scrim.js +0 -5
- package/dist/custom-elements/bundles/select.d.ts +0 -1
- package/dist/custom-elements/bundles/select.js +0 -5
- package/dist/custom-elements/bundles/shell.d.ts +0 -1
- package/dist/custom-elements/bundles/shell.js +0 -5
- package/dist/custom-elements/bundles/slider.d.ts +0 -1
- package/dist/custom-elements/bundles/slider.js +0 -5
- package/dist/custom-elements/bundles/sortable-list.d.ts +0 -1
- package/dist/custom-elements/bundles/sortable-list.js +0 -5
- package/dist/custom-elements/bundles/split-button.d.ts +0 -1
- package/dist/custom-elements/bundles/split-button.js +0 -5
- package/dist/custom-elements/bundles/stepper.d.ts +0 -1
- package/dist/custom-elements/bundles/stepper.js +0 -5
- package/dist/custom-elements/bundles/switch.d.ts +0 -1
- package/dist/custom-elements/bundles/switch.js +0 -5
- package/dist/custom-elements/bundles/tab.d.ts +0 -1
- package/dist/custom-elements/bundles/tab.js +0 -5
- package/dist/custom-elements/bundles/tile-select-group.d.ts +0 -1
- package/dist/custom-elements/bundles/tile-select-group.js +0 -5
- package/dist/custom-elements/bundles/tile.d.ts +0 -1
- package/dist/custom-elements/bundles/tile.js +0 -5
- package/dist/custom-elements/bundles/tip.d.ts +0 -1
- package/dist/custom-elements/bundles/tip.js +0 -5
- package/dist/custom-elements/bundles/tooltip.d.ts +0 -1
- package/dist/custom-elements/bundles/tooltip.js +0 -5
- package/dist/custom-elements/bundles/tree.d.ts +0 -1
- package/dist/custom-elements/bundles/tree.js +0 -5
- package/dist/custom-elements/bundles/value-list.d.ts +0 -1
- package/dist/custom-elements/bundles/value-list.js +0 -5
- package/dist/custom-elements/index.mjs +0 -24476
- package/dist/custom-elements/utils.d.ts +0 -2
- package/dist/custom-elements/utils.js +0 -11
- package/dist/esm-es5/label-426b4471.js +0 -5
- package/dist/esm-es5/popper-44055f06.js +0 -5
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, Host, Build, forceUpdate, Fragment, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -39,7 +39,7 @@ let CalciteAccordion$1 = class extends HTMLElement {
|
|
|
39
39
|
constructor() {
|
|
40
40
|
super();
|
|
41
41
|
this.__registerHost();
|
|
42
|
-
|
|
42
|
+
this.__attachShadow();
|
|
43
43
|
this.calciteAccordionChange = createEvent(this, "calciteAccordionChange", 7);
|
|
44
44
|
//--------------------------------------------------------------------------
|
|
45
45
|
//
|
|
@@ -336,7 +336,7 @@ let CalciteAccordionItem$1 = class extends HTMLElement {
|
|
|
336
336
|
constructor() {
|
|
337
337
|
super();
|
|
338
338
|
this.__registerHost();
|
|
339
|
-
|
|
339
|
+
this.__attachShadow();
|
|
340
340
|
this.calciteAccordionItemKeyEvent = createEvent(this, "calciteAccordionItemKeyEvent", 7);
|
|
341
341
|
this.calciteAccordionItemSelect = createEvent(this, "calciteAccordionItemSelect", 7);
|
|
342
342
|
this.calciteAccordionItemClose = createEvent(this, "calciteAccordionItemClose", 7);
|
|
@@ -477,25 +477,25 @@ function getObserver(type) {
|
|
|
477
477
|
return (type === "intersection" ? IntersectionObserver : type === "mutation" ? MutationObserver : ResizeObserver);
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
const calciteActionCss = "@-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;background-color:transparent}:host([disabled]){pointer-events:none}.button{background-color:var(--calcite-ui-foreground-1);border-style:none;cursor:pointer;fill:var(--calcite-ui-text-3);display:-ms-flexbox;display:flex;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;margin:0;position:relative;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);width:auto;font-family:inherit;text-align:unset}.button:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);fill:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);fill:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none;min-width:1rem;min-height:1rem}.button .text-container{line-height:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;width:0;opacity:0;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-property:width;transition-property:width}.button .text-container--visible{-ms-flex:1 1 auto;flex:1 1 auto;opacity:1;width:auto}:host([scale=s]) .button{font-weight:var(--calcite-font-weight-normal);padding:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .button--text-visible .icon-container{margin-
|
|
480
|
+
const calciteActionCss = "@-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;background-color:transparent}:host([disabled]){pointer-events:none}.button{background-color:var(--calcite-ui-foreground-1);border-style:none;cursor:pointer;fill:var(--calcite-ui-text-3);display:-ms-flexbox;display:flex;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;margin:0;position:relative;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);width:auto;font-family:inherit;text-align:unset}.button:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);fill:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);fill:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none;min-width:1rem;min-height:1rem}.button .text-container{line-height:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;width:0;opacity:0;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-property:width;transition-property:width}.button .text-container--visible{-ms-flex:1 1 auto;flex:1 1 auto;opacity:1;width:auto}:host([scale=s]) .button{font-weight:var(--calcite-font-weight-normal);padding:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .button--text-visible .icon-container{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .button{font-weight:var(--calcite-font-weight-normal);padding:1rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .button--text-visible .icon-container{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .button{font-weight:var(--calcite-font-weight-normal);padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button--text-visible .icon-container{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([alignment=center]) .button{-ms-flex-pack:center;justify-content:center}:host([alignment=end]) .button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{-ms-flex:0 1 auto;flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-left:0;padding-right:0}.slot-container{display:-ms-flexbox;display:flex}.slot-container--hidden{display:none}.button--text-visible{width:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{color:var(--calcite-ui-text-1);fill:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=clear]) .button{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=clear]) .button:hover,:host([appearance=clear]) .button:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=clear]) .button,:host([active][appearance=clear]) .button:hover,:host([active][appearance=clear]) .button:focus{color:var(--calcite-ui-text-1);fill:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}:host([appearance=clear][loading]) .button,:host([appearance=clear][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{margin-right:0;color:var(--calcite-ui-text-3)}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;opacity:var(--calcite-ui-opacity-disabled);background-color:var(--calcite-ui-foreground-1)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{opacity:var(--calcite-ui-opacity-disabled);background-color:var(--calcite-ui-foreground-3)}:host([indicator]) .button::after{content:\"\";position:absolute;border-width:2px;background-color:var(--calcite-ui-brand);border-radius:9999px;height:0.5rem;width:0.5rem;z-index:10;border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button--text-visible .text-container--visible{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}";
|
|
481
481
|
|
|
482
482
|
let CalciteAction$1 = class extends HTMLElement {
|
|
483
483
|
constructor() {
|
|
484
484
|
super();
|
|
485
485
|
this.__registerHost();
|
|
486
|
-
|
|
486
|
+
this.__attachShadow();
|
|
487
487
|
this.calciteActionClick = createEvent(this, "calciteActionClick", 7);
|
|
488
488
|
// --------------------------------------------------------------------------
|
|
489
489
|
//
|
|
490
490
|
// Properties
|
|
491
491
|
//
|
|
492
492
|
// --------------------------------------------------------------------------
|
|
493
|
-
/** Specify the appearance style of the action, defaults to solid. */
|
|
494
|
-
this.appearance = "solid";
|
|
495
493
|
/**
|
|
496
494
|
* Indicates whether the action is highlighted.
|
|
497
495
|
*/
|
|
498
496
|
this.active = false;
|
|
497
|
+
/** Specify the appearance style of the action, defaults to solid. */
|
|
498
|
+
this.appearance = "solid";
|
|
499
499
|
/**
|
|
500
500
|
* Compact mode is used internally by components to reduce side padding, e.g. calcite-block-section.
|
|
501
501
|
*/
|
|
@@ -586,14 +586,12 @@ let CalciteAction$1 = class extends HTMLElement {
|
|
|
586
586
|
return hasIconToDisplay ? (h("div", { "aria-hidden": "true", class: CSS$O.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
587
587
|
}
|
|
588
588
|
render() {
|
|
589
|
-
const { compact, disabled, loading,
|
|
589
|
+
const { compact, disabled, loading, textEnabled, label, text } = this;
|
|
590
590
|
const ariaLabel = label || text;
|
|
591
|
-
const rtl = getElementDir(el) === "rtl";
|
|
592
591
|
const buttonClasses = {
|
|
593
592
|
[CSS$O.button]: true,
|
|
594
593
|
[CSS$O.buttonTextVisible]: textEnabled,
|
|
595
|
-
[CSS$O.buttonCompact]: compact
|
|
596
|
-
[CSS_UTILITY.rtl]: rtl
|
|
594
|
+
[CSS$O.buttonCompact]: compact
|
|
597
595
|
};
|
|
598
596
|
return (h(Host, { onClick: this.calciteActionClickHandler }, h("button", { "aria-busy": loading.toString(), "aria-disabled": disabled.toString(), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer())));
|
|
599
597
|
}
|
|
@@ -1982,7 +1980,7 @@ let CalciteActionBar$1 = class extends HTMLElement {
|
|
|
1982
1980
|
constructor() {
|
|
1983
1981
|
super();
|
|
1984
1982
|
this.__registerHost();
|
|
1985
|
-
|
|
1983
|
+
this.__attachShadow();
|
|
1986
1984
|
this.calciteActionBarToggle = createEvent(this, "calciteActionBarToggle", 7);
|
|
1987
1985
|
// --------------------------------------------------------------------------
|
|
1988
1986
|
//
|
|
@@ -2158,7 +2156,7 @@ let CalciteActionGroup$1 = class extends HTMLElement {
|
|
|
2158
2156
|
constructor() {
|
|
2159
2157
|
super();
|
|
2160
2158
|
this.__registerHost();
|
|
2161
|
-
|
|
2159
|
+
this.__attachShadow();
|
|
2162
2160
|
// --------------------------------------------------------------------------
|
|
2163
2161
|
//
|
|
2164
2162
|
// Properties
|
|
@@ -2225,7 +2223,7 @@ let CalciteActionMenu$1 = class extends HTMLElement {
|
|
|
2225
2223
|
constructor() {
|
|
2226
2224
|
super();
|
|
2227
2225
|
this.__registerHost();
|
|
2228
|
-
|
|
2226
|
+
this.__attachShadow();
|
|
2229
2227
|
this.calciteActionMenuOpenChange = createEvent(this, "calciteActionMenuOpenChange", 7);
|
|
2230
2228
|
// --------------------------------------------------------------------------
|
|
2231
2229
|
//
|
|
@@ -2426,11 +2424,13 @@ let CalciteActionMenu$1 = class extends HTMLElement {
|
|
|
2426
2424
|
//
|
|
2427
2425
|
// --------------------------------------------------------------------------
|
|
2428
2426
|
connectedCallback() {
|
|
2429
|
-
|
|
2427
|
+
var _a;
|
|
2428
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
2430
2429
|
this.getActions();
|
|
2431
2430
|
}
|
|
2432
2431
|
disconnectedCallback() {
|
|
2433
|
-
|
|
2432
|
+
var _a;
|
|
2433
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
2434
2434
|
this.disconnectMenuButtonEl();
|
|
2435
2435
|
}
|
|
2436
2436
|
expandedHandler() {
|
|
@@ -2512,7 +2512,7 @@ let CalciteActionPad$1 = class extends HTMLElement {
|
|
|
2512
2512
|
constructor() {
|
|
2513
2513
|
super();
|
|
2514
2514
|
this.__registerHost();
|
|
2515
|
-
|
|
2515
|
+
this.__attachShadow();
|
|
2516
2516
|
this.calciteActionPadToggle = createEvent(this, "calciteActionPadToggle", 7);
|
|
2517
2517
|
// --------------------------------------------------------------------------
|
|
2518
2518
|
//
|
|
@@ -2639,13 +2639,13 @@ var StatusIcons;
|
|
|
2639
2639
|
StatusIcons["blue"] = "lightbulb";
|
|
2640
2640
|
})(StatusIcons || (StatusIcons = {}));
|
|
2641
2641
|
|
|
2642
|
-
const calciteAlertCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-left:0.5rem;margin-right:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-left:0.75rem;margin-right:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){font-size:var(--calcite-font-size-1);line-height:1.375;margin-bottom:0.25rem}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-left:1rem;margin-right:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{display:block}:host .container{-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);display:-ms-flexbox;display:flex;position:fixed;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;pointer-events:none;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;background-color:var(--calcite-ui-foreground-1);opacity:0;left:0;right:0;bottom:0;border-radius:var(--calcite-border-radius);border-top:0px solid transparent;border-left:1px solid var(--calcite-ui-border-3);border-right:1px solid var(--calcite-ui-border-3);border-bottom:1px solid var(--calcite-ui-border-3);min-height:var(--calcite-alert-min-height);width:var(--calcite-alert-width);max-width:90%;max-height:0;z-index:101;-webkit-transform:translate3d(0, 1.5rem, 0);transform:translate3d(0, 1.5rem, 0);-webkit-transition:300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), all 0.15s ease-in-out;transition:300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), all 0.15s ease-in-out}@media only screen and (max-width: 860px){:host .container{width:100%;max-width:100%;border-radius:0}}.container{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.alert-close{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]) .container:not(.queued){opacity:1;max-height:100%;border-top-width:2px;-webkit-transform:translate3d(0, -1.5rem, 0);transform:translate3d(0, -1.5rem, 0);pointer-events:initial}@media only screen and (max-width: 860px){:host([active]) .container:not(.queued){-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}slot[name=title]::slotted(*),*::slotted([slot=title]){font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0);line-height:1.375;color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){display:inline;margin:0;margin-right:0.5rem;font-weight:var(--calcite-font-weight-normal);font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-2)}slot[name=link]::slotted(*),*::slotted([slot=link]){color:var(--calcite-ui-text-link);display:-ms-inline-flexbox;display:inline-flex}.calcite--rtl slot[name=message]::slotted(*),.calcite--rtl *::slotted([slot=message]){margin-left:0.5rem;margin-right:unset}.alert-content{padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;word-wrap:break-word;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-width:0;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small) 0;border-bottom-left-radius:var(--calcite-border-radius);border-bottom-right-radius:var(--calcite-border-radius)}@media only screen and (max-width: 860px){.alert-content{padding:1rem}}.alert-content:first-of-type:not(:only-child){padding-left:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}@media only screen and (max-width: 860px){.alert-content{padding:var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large) 0}}.calcite--rtl .alert-content{padding:var(--calcite-alert-spacing-token-small) 0 var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small)}.calcite--rtl .alert-content:first-of-type:not(:only-child){padding-right:var(--calcite-alert-spacing-token-large)}@media only screen and (max-width: 860px){.calcite--rtl .alert-content{padding:var(--calcite-alert-spacing-token-large) 0 var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small)}}.alert-icon{padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}@media only screen and (max-width: 860px){.alert-icon{padding:1rem}}@media only screen and (min-width: 860px){.alert-icon{border-bottom-left-radius:var(--calcite-border-radius)}}.alert-close{padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;padding-top:0;padding-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);border-style:none;outline:2px solid transparent;outline-offset:2px;cursor:pointer;color:var(--calcite-ui-text-3);overflow:hidden;border-bottom-right-radius:var(--calcite-border-radius)}@media only screen and (max-width: 860px){.alert-close{padding:1rem}}.alert-close:hover,.alert-close:focus{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2)}.alert-close:active{background-color:var(--calcite-ui-foreground-3)}@media only screen and (max-width: 860px){.alert-close{border-radius:0}}.calcite--rtl .alert-close{border-bottom-left-radius:var(--calcite-border-radius);border-bottom-right-radius:unset}.alert-queue-count{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;visibility:hidden;font-weight:var(--calcite-font-weight-medium);text-align:center;color:var(--calcite-ui-text-2);background-color:var(--calcite-ui-foreground-1);opacity:0;cursor:default;border-left:0px solid transparent;border-right:0px solid transparent;border-top-right-radius:0;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.alert-queue-count.active{visibility:visible;opacity:1}@media only screen and (min-width: 860px){.alert-queue-count.active{border-bottom-right-radius:var(--calcite-border-radius)}}:host([auto-dismiss])>.alert-queue-count{border-right:0px solid transparent}:host([auto-dismiss]) .calcite--rtl>.alert-queue-count{border-left:0px solid transparent}.alert-dismiss-progress{display:block;position:absolute;left:0;right:0;width:100%;overflow:hidden;top:-2px;height:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{top:0;right:0;display:block;position:absolute;height:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104}.calcite--rtl .alert-dismiss-progress:after{left:0;right:initial}:host([color=blue]) .container{border-top-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-top-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-top-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-top-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{width:0;opacity:0.75}100%{width:100%;opacity:1}}@keyframes dismissProgress{0%{width:0;opacity:0.75}100%{width:100%;opacity:1}}";
|
|
2642
|
+
const calciteAlertCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-left:0.5rem;margin-right:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-left:0.75rem;margin-right:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){font-size:var(--calcite-font-size-1);line-height:1.375;margin-bottom:0.25rem}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-left:1rem;margin-right:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{display:block}:host .container{-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);display:-ms-flexbox;display:flex;position:fixed;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;pointer-events:none;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;background-color:var(--calcite-ui-foreground-1);opacity:0;left:0;right:0;bottom:0;border-radius:var(--calcite-border-radius);border-top:0px solid transparent;border-left:1px solid var(--calcite-ui-border-3);border-right:1px solid var(--calcite-ui-border-3);border-bottom:1px solid var(--calcite-ui-border-3);min-height:var(--calcite-alert-min-height);width:var(--calcite-alert-width);max-width:90%;max-height:0;z-index:101;-webkit-transform:translate3d(0, 1.5rem, 0);transform:translate3d(0, 1.5rem, 0);-webkit-transition:300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), all 0.15s ease-in-out;transition:300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), all 0.15s ease-in-out}.container{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.alert-close{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]) .container:not(.queued){opacity:1;max-height:100%;border-top-width:2px;-webkit-transform:translate3d(0, -1.5rem, 0);transform:translate3d(0, -1.5rem, 0);pointer-events:initial}slot[name=title]::slotted(*),*::slotted([slot=title]){font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0);line-height:1.375;color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){display:inline;margin:0;margin-right:0.5rem;font-weight:var(--calcite-font-weight-normal);font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-2)}slot[name=link]::slotted(*),*::slotted([slot=link]){color:var(--calcite-ui-text-link);display:-ms-inline-flexbox;display:inline-flex}.calcite--rtl slot[name=message]::slotted(*),.calcite--rtl *::slotted([slot=message]){margin-left:0.5rem;margin-right:unset}.alert-content{padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;word-wrap:break-word;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-width:0;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small) 0;border-bottom-left-radius:var(--calcite-border-radius);border-bottom-right-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){padding-left:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.calcite--rtl .alert-content{padding:var(--calcite-alert-spacing-token-small) 0 var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small)}.calcite--rtl .alert-content:first-of-type:not(:only-child){padding-right:var(--calcite-alert-spacing-token-large)}.alert-icon{padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}.alert-close{padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;padding-top:0;padding-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);border-style:none;outline:2px solid transparent;outline-offset:2px;cursor:pointer;color:var(--calcite-ui-text-3);overflow:hidden;border-bottom-right-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2)}.alert-close:active{background-color:var(--calcite-ui-foreground-3)}.calcite--rtl .alert-close{border-bottom-left-radius:var(--calcite-border-radius);border-bottom-right-radius:unset}.alert-queue-count{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;visibility:hidden;font-weight:var(--calcite-font-weight-medium);text-align:center;color:var(--calcite-ui-text-2);background-color:var(--calcite-ui-foreground-1);opacity:0;cursor:default;border-left:0px solid transparent;border-right:0px solid transparent;border-top-right-radius:0;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{border-right:0px solid transparent}:host([auto-dismiss]) .calcite--rtl>.alert-queue-count{border-left:0px solid transparent}.alert-dismiss-progress{display:block;position:absolute;left:0;right:0;width:100%;overflow:hidden;top:-2px;height:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{top:0;right:0;display:block;position:absolute;height:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104}.calcite--rtl .alert-dismiss-progress:after{left:0;right:initial}:host([color=blue]) .container{border-top-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-top-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-top-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-top-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{width:0;opacity:0.75}100%{width:100%;opacity:1}}@keyframes dismissProgress{0%{width:0;opacity:0.75}100%{width:100%;opacity:1}}";
|
|
2643
2643
|
|
|
2644
2644
|
let CalciteAlert$1 = class extends HTMLElement {
|
|
2645
2645
|
constructor() {
|
|
2646
2646
|
super();
|
|
2647
2647
|
this.__registerHost();
|
|
2648
|
-
|
|
2648
|
+
this.__attachShadow();
|
|
2649
2649
|
this.calciteAlertClose = createEvent(this, "calciteAlertClose", 7);
|
|
2650
2650
|
this.calciteAlertOpen = createEvent(this, "calciteAlertOpen", 7);
|
|
2651
2651
|
this.calciteAlertSync = createEvent(this, "calciteAlertSync", 7);
|
|
@@ -2973,7 +2973,7 @@ let CalciteAvatar$1 = class extends HTMLElement {
|
|
|
2973
2973
|
constructor() {
|
|
2974
2974
|
super();
|
|
2975
2975
|
this.__registerHost();
|
|
2976
|
-
|
|
2976
|
+
this.__attachShadow();
|
|
2977
2977
|
//--------------------------------------------------------------------------
|
|
2978
2978
|
//
|
|
2979
2979
|
// Properties
|
|
@@ -3096,13 +3096,13 @@ const CalciteHeading = (props, children) => {
|
|
|
3096
3096
|
return h(HeadingTag, Object.assign({}, props), children);
|
|
3097
3097
|
};
|
|
3098
3098
|
|
|
3099
|
-
const calciteBlockCss = "@-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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-direction:column;flex-direction:column;padding:0;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;-ms-flex-preferred-size:auto;flex-basis:auto}.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}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}.header-container>.header{padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}.toggle{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;font-family:inherit;-ms-flex-align:center;align-items:center;margin:0;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0;border-style:none;cursor:pointer;text-align:left;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0;padding-left:
|
|
3099
|
+
const calciteBlockCss = "@-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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-direction:column;flex-direction:column;padding:0;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;-ms-flex-preferred-size:auto;flex-basis:auto}.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}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}.header-container>.header{padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}.toggle{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;font-family:inherit;-ms-flex-align:center;align-items:center;margin:0;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0;border-style:none;cursor:pointer;text-align:left;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0;padding-left:0.75rem;padding-right:0.75rem;padding-top:0;padding-bottom:0}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;line-height:1.25;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.summary{padding:0;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);margin-top:0.125rem;word-wrap:break-word;word-break:break-word}.icon{margin-left:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{margin-right:1rem;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;position:relative;-webkit-animation:in var(--calcite-animation-timing) ease-in-out;animation:in var(--calcite-animation-timing) ease-in-out}.control-container{display:-ms-flexbox;display:flex;margin:0;grid-area:control}calcite-action-menu{grid-area:menu}.calcite--rtl .toggle-icon{margin-right:0;margin-left:1rem}.calcite--rtl .icon{margin-left:0;margin-right:0.75rem}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}:host([drag-handle]) .calcite--rtl .title{padding-left:0;padding-right:0.25rem}";
|
|
3100
3100
|
|
|
3101
3101
|
let CalciteBlock$1 = class extends HTMLElement {
|
|
3102
3102
|
constructor() {
|
|
3103
3103
|
super();
|
|
3104
3104
|
this.__registerHost();
|
|
3105
|
-
|
|
3105
|
+
this.__attachShadow();
|
|
3106
3106
|
this.calciteBlockToggle = createEvent(this, "calciteBlockToggle", 7);
|
|
3107
3107
|
// --------------------------------------------------------------------------
|
|
3108
3108
|
//
|
|
@@ -3212,13 +3212,13 @@ const ICONS$b = {
|
|
|
3212
3212
|
invalid: "exclamation-mark-triangle"
|
|
3213
3213
|
};
|
|
3214
3214
|
|
|
3215
|
-
const calciteBlockSectionCss = "@-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{-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);display:block}:host([open]){border-style:solid;border-width:0;border-bottom-color:var(--calcite-ui-border-3);border-bottom-width:1px}:host(:last-child){border-bottom-width:0}.toggle{background-color:transparent;border-width:0;color:var(--calcite-ui-text-2);font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);width:100%}.toggle--switch,.section-header{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;margin-left:0;margin-right:0;margin-top:0.25rem;margin-bottom:0.25rem;padding-left:0;padding-right:0;padding-top:0.5rem;padding-bottom:0.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{-ms-flex:1 1 auto;flex:1 1 auto;margin-left:0.75rem;margin-right:0.75rem;margin-top:0;margin-bottom:0;text-align:initial}.toggle--switch calcite-switch{pointer-events:none;margin-left:0.25rem}.toggle--switch .status-icon{margin-left:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.calcite--rtl .toggle--switch calcite-switch{margin-left:0;margin-right:0.25rem}.calcite--rtl .toggle--switch .status-icon{margin-left:0;margin-right:0.5rem}";
|
|
3215
|
+
const calciteBlockSectionCss = "@-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{-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);display:block}:host([open]){border-style:solid;border-width:0;border-bottom-color:var(--calcite-ui-border-3);border-bottom-width:1px}:host(:last-child){border-bottom-width:0}.toggle{background-color:transparent;border-width:0;color:var(--calcite-ui-text-2);font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);width:100%}.toggle--switch,.section-header{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;margin-left:0;margin-right:0;margin-top:0.25rem;margin-bottom:0.25rem;padding-left:0;padding-right:0;padding-top:0.5rem;padding-bottom:0.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{-ms-flex:1 1 auto;flex:1 1 auto;margin-left:0.75rem;margin-right:0.75rem;margin-top:0;margin-bottom:0;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;margin-left:0.25rem}.toggle--switch .status-icon{margin-left:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.calcite--rtl .toggle--switch calcite-switch{margin-left:0;margin-right:0.25rem}.calcite--rtl .toggle--switch .status-icon{margin-left:0;margin-right:0.5rem}";
|
|
3216
3216
|
|
|
3217
3217
|
let CalciteBlockSection$1 = class extends HTMLElement {
|
|
3218
3218
|
constructor() {
|
|
3219
3219
|
super();
|
|
3220
3220
|
this.__registerHost();
|
|
3221
|
-
|
|
3221
|
+
this.__attachShadow();
|
|
3222
3222
|
this.calciteBlockSectionToggle = createEvent(this, "calciteBlockSectionToggle", 7);
|
|
3223
3223
|
/**
|
|
3224
3224
|
* When true, the block's section content will be displayed.
|
|
@@ -3285,6 +3285,34 @@ let CalciteBlockSection$1 = class extends HTMLElement {
|
|
|
3285
3285
|
static get style() { return calciteBlockSectionCss; }
|
|
3286
3286
|
};
|
|
3287
3287
|
|
|
3288
|
+
(function(prototype) {
|
|
3289
|
+
if (typeof prototype.requestSubmit == "function") return
|
|
3290
|
+
|
|
3291
|
+
prototype.requestSubmit = function(submitter) {
|
|
3292
|
+
if (submitter) {
|
|
3293
|
+
validateSubmitter(submitter, this);
|
|
3294
|
+
submitter.click();
|
|
3295
|
+
} else {
|
|
3296
|
+
submitter = document.createElement("input");
|
|
3297
|
+
submitter.type = "submit";
|
|
3298
|
+
submitter.hidden = true;
|
|
3299
|
+
this.appendChild(submitter);
|
|
3300
|
+
submitter.click();
|
|
3301
|
+
this.removeChild(submitter);
|
|
3302
|
+
}
|
|
3303
|
+
};
|
|
3304
|
+
|
|
3305
|
+
function validateSubmitter(submitter, form) {
|
|
3306
|
+
submitter instanceof HTMLElement || raise(TypeError, "parameter 1 is not of type 'HTMLElement'");
|
|
3307
|
+
submitter.type == "submit" || raise(TypeError, "The specified element is not a submit button");
|
|
3308
|
+
submitter.form == form || raise(DOMException, "The specified element is not owned by this form element", "NotFoundError");
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
function raise(errorConstructor, message, name) {
|
|
3312
|
+
throw new errorConstructor("Failed to execute 'requestSubmit' on 'HTMLFormElement': " + message + ".", name)
|
|
3313
|
+
}
|
|
3314
|
+
})(HTMLFormElement.prototype);
|
|
3315
|
+
|
|
3288
3316
|
const CSS$I = {
|
|
3289
3317
|
buttonLoader: "calcite-button--loader",
|
|
3290
3318
|
content: "content",
|
|
@@ -3312,12 +3340,12 @@ const findLabelForComponent = (componentEl) => {
|
|
|
3312
3340
|
*/
|
|
3313
3341
|
function connectLabel(component) {
|
|
3314
3342
|
const labelEl = findLabelForComponent(component.el);
|
|
3315
|
-
if (!labelEl) {
|
|
3343
|
+
if (!labelEl || onLabelClickMap.has(labelEl)) {
|
|
3316
3344
|
return;
|
|
3317
3345
|
}
|
|
3318
3346
|
component.labelEl = labelEl;
|
|
3319
3347
|
const boundOnLabelClick = onLabelClick.bind(component);
|
|
3320
|
-
onLabelClickMap.set(component.
|
|
3348
|
+
onLabelClickMap.set(component.labelEl, boundOnLabelClick);
|
|
3321
3349
|
component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
|
|
3322
3350
|
}
|
|
3323
3351
|
/**
|
|
@@ -3327,9 +3355,9 @@ function disconnectLabel(component) {
|
|
|
3327
3355
|
if (!component.labelEl) {
|
|
3328
3356
|
return;
|
|
3329
3357
|
}
|
|
3330
|
-
const boundOnLabelClick = onLabelClickMap.get(component.
|
|
3358
|
+
const boundOnLabelClick = onLabelClickMap.get(component.labelEl);
|
|
3331
3359
|
component.labelEl.removeEventListener(labelClickEvent, boundOnLabelClick);
|
|
3332
|
-
onLabelClickMap.delete(component.
|
|
3360
|
+
onLabelClickMap.delete(component.labelEl);
|
|
3333
3361
|
}
|
|
3334
3362
|
/**
|
|
3335
3363
|
* Helper to get the label text from a component.
|
|
@@ -3352,7 +3380,7 @@ let CalciteButton$1 = class extends HTMLElement {
|
|
|
3352
3380
|
constructor() {
|
|
3353
3381
|
super();
|
|
3354
3382
|
this.__registerHost();
|
|
3355
|
-
|
|
3383
|
+
this.__attachShadow();
|
|
3356
3384
|
//--------------------------------------------------------------------------
|
|
3357
3385
|
//
|
|
3358
3386
|
// Properties
|
|
@@ -3388,46 +3416,23 @@ let CalciteButton$1 = class extends HTMLElement {
|
|
|
3388
3416
|
this.hasContent = false;
|
|
3389
3417
|
/** determine if loader present for styling purposes */
|
|
3390
3418
|
this.hasLoader = false;
|
|
3391
|
-
//--------------------------------------------------------------------------
|
|
3392
|
-
//
|
|
3393
|
-
// Private Methods
|
|
3394
|
-
//
|
|
3395
|
-
//--------------------------------------------------------------------------
|
|
3396
|
-
this.onLabelClick = (event) => {
|
|
3397
|
-
this.handleClick(event);
|
|
3398
|
-
this.setFocus();
|
|
3399
|
-
};
|
|
3400
3419
|
// act on a requested or nearby form based on type
|
|
3401
|
-
this.handleClick = (
|
|
3402
|
-
const { childElType,
|
|
3420
|
+
this.handleClick = () => {
|
|
3421
|
+
const { childElType, formEl, type } = this;
|
|
3403
3422
|
// this.type refers to type attribute, not child element type
|
|
3404
3423
|
if (childElType === "button" && type !== "button") {
|
|
3405
|
-
|
|
3406
|
-
?
|
|
3407
|
-
|
|
3408
|
-
if (
|
|
3409
|
-
|
|
3410
|
-
switch (type) {
|
|
3411
|
-
case "submit":
|
|
3412
|
-
if (targetFormSubmitFunction) {
|
|
3413
|
-
targetFormSubmitFunction();
|
|
3414
|
-
}
|
|
3415
|
-
else if (targetForm.checkValidity()) {
|
|
3416
|
-
targetForm.submit();
|
|
3417
|
-
}
|
|
3418
|
-
else {
|
|
3419
|
-
targetForm.reportValidity();
|
|
3420
|
-
}
|
|
3421
|
-
break;
|
|
3422
|
-
case "reset":
|
|
3423
|
-
targetForm.reset();
|
|
3424
|
-
break;
|
|
3425
|
-
}
|
|
3424
|
+
if (type === "submit") {
|
|
3425
|
+
formEl === null || formEl === void 0 ? void 0 : formEl.requestSubmit();
|
|
3426
|
+
}
|
|
3427
|
+
else if (type === "reset") {
|
|
3428
|
+
formEl === null || formEl === void 0 ? void 0 : formEl.reset();
|
|
3426
3429
|
}
|
|
3427
|
-
e.preventDefault();
|
|
3428
3430
|
}
|
|
3429
3431
|
};
|
|
3430
3432
|
}
|
|
3433
|
+
hrefHandler(href) {
|
|
3434
|
+
this.childElType = href ? "a" : "button";
|
|
3435
|
+
}
|
|
3431
3436
|
loadingChanged(newValue, oldValue) {
|
|
3432
3437
|
if (!!newValue && !oldValue) {
|
|
3433
3438
|
this.hasLoader = true;
|
|
@@ -3448,11 +3453,13 @@ let CalciteButton$1 = class extends HTMLElement {
|
|
|
3448
3453
|
this.hasLoader = this.loading;
|
|
3449
3454
|
this.setupTextContentObserver();
|
|
3450
3455
|
connectLabel(this);
|
|
3456
|
+
this.formEl = closestElementCrossShadowBoundary(this.el, this.form ? `#${this.form}` : "form");
|
|
3451
3457
|
}
|
|
3452
3458
|
disconnectedCallback() {
|
|
3453
3459
|
var _a;
|
|
3454
3460
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
3455
3461
|
disconnectLabel(this);
|
|
3462
|
+
this.formEl = null;
|
|
3456
3463
|
}
|
|
3457
3464
|
componentWillLoad() {
|
|
3458
3465
|
if (Build.isBrowser) {
|
|
@@ -3492,8 +3499,18 @@ let CalciteButton$1 = class extends HTMLElement {
|
|
|
3492
3499
|
var _a;
|
|
3493
3500
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
3494
3501
|
}
|
|
3502
|
+
//--------------------------------------------------------------------------
|
|
3503
|
+
//
|
|
3504
|
+
// Private Methods
|
|
3505
|
+
//
|
|
3506
|
+
//--------------------------------------------------------------------------
|
|
3507
|
+
onLabelClick() {
|
|
3508
|
+
this.handleClick();
|
|
3509
|
+
this.setFocus();
|
|
3510
|
+
}
|
|
3495
3511
|
get el() { return this; }
|
|
3496
3512
|
static get watchers() { return {
|
|
3513
|
+
"href": ["hrefHandler"],
|
|
3497
3514
|
"loading": ["loadingChanged"]
|
|
3498
3515
|
}; }
|
|
3499
3516
|
static get style() { return calciteButtonCss; }
|
|
@@ -3527,7 +3544,7 @@ let CalciteCard$1 = class extends HTMLElement {
|
|
|
3527
3544
|
constructor() {
|
|
3528
3545
|
super();
|
|
3529
3546
|
this.__registerHost();
|
|
3530
|
-
|
|
3547
|
+
this.__attachShadow();
|
|
3531
3548
|
this.calciteCardSelect = createEvent(this, "calciteCardSelect", 7);
|
|
3532
3549
|
//--------------------------------------------------------------------------
|
|
3533
3550
|
//
|
|
@@ -3594,7 +3611,7 @@ let CalciteCard$1 = class extends HTMLElement {
|
|
|
3594
3611
|
}
|
|
3595
3612
|
renderCheckbox() {
|
|
3596
3613
|
const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
|
|
3597
|
-
return (h("label", {
|
|
3614
|
+
return (h("calcite-label", { class: CSS$H.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, h("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
|
|
3598
3615
|
}
|
|
3599
3616
|
renderHeader() {
|
|
3600
3617
|
const title = this.el.querySelector(`[slot=${SLOTS$j.title}]`);
|
|
@@ -3627,13 +3644,13 @@ const hiddenInputStyle = `
|
|
|
3627
3644
|
z-index: -1 !important;
|
|
3628
3645
|
`;
|
|
3629
3646
|
|
|
3630
|
-
const calciteCheckboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{overflow:hidden;display:block;background-color:var(--calcite-ui-foreground-1);pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);
|
|
3647
|
+
const calciteCheckboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{overflow:hidden;display:block;background-color:var(--calcite-ui-foreground-1);pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);stroke:currentColor;stroke-width:1;fill:currentColor;width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host ::slotted(input){width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size)}:host(:hover) .check-svg,:host([hovered]) .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host .focused .check-svg{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out}:host([disabled]){cursor:default;opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}";
|
|
3631
3648
|
|
|
3632
3649
|
let CalciteCheckbox$1 = class extends HTMLElement {
|
|
3633
3650
|
constructor() {
|
|
3634
3651
|
super();
|
|
3635
3652
|
this.__registerHost();
|
|
3636
|
-
|
|
3653
|
+
this.__attachShadow();
|
|
3637
3654
|
this.calciteInternalCheckboxBlur = createEvent(this, "calciteInternalCheckboxBlur", 7);
|
|
3638
3655
|
this.calciteCheckboxChange = createEvent(this, "calciteCheckboxChange", 7);
|
|
3639
3656
|
this.calciteInternalCheckboxFocus = createEvent(this, "calciteInternalCheckboxFocus", 7);
|
|
@@ -3695,9 +3712,6 @@ let CalciteCheckbox$1 = class extends HTMLElement {
|
|
|
3695
3712
|
this.formResetHandler = () => {
|
|
3696
3713
|
this.checked = this.initialChecked;
|
|
3697
3714
|
};
|
|
3698
|
-
this.onLabelClick = () => {
|
|
3699
|
-
this.toggle();
|
|
3700
|
-
};
|
|
3701
3715
|
}
|
|
3702
3716
|
checkedWatcher(newChecked) {
|
|
3703
3717
|
this.input.checked = newChecked;
|
|
@@ -3736,6 +3750,9 @@ let CalciteCheckbox$1 = class extends HTMLElement {
|
|
|
3736
3750
|
this.focused = true;
|
|
3737
3751
|
this.calciteInternalCheckboxFocus.emit(true);
|
|
3738
3752
|
}
|
|
3753
|
+
onLabelClick() {
|
|
3754
|
+
this.toggle();
|
|
3755
|
+
}
|
|
3739
3756
|
//--------------------------------------------------------------------------
|
|
3740
3757
|
//
|
|
3741
3758
|
// Lifecycle
|
|
@@ -3784,7 +3801,7 @@ let CalciteCheckbox$1 = class extends HTMLElement {
|
|
|
3784
3801
|
this.el.appendChild(this.input);
|
|
3785
3802
|
}
|
|
3786
3803
|
render() {
|
|
3787
|
-
return (h(Host, { onClick: this.clickHandler }, h("div", { class: { focused: this.focused
|
|
3804
|
+
return (h(Host, { onClick: this.clickHandler }, h("div", { class: { focused: this.focused } }, h("svg", { class: "check-svg", viewBox: "0 0 16 16" }, h("path", { d: this.getPath() })), h("slot", null))));
|
|
3788
3805
|
}
|
|
3789
3806
|
get el() { return this; }
|
|
3790
3807
|
static get watchers() { return {
|
|
@@ -3817,7 +3834,7 @@ let CalciteChip$1 = class extends HTMLElement {
|
|
|
3817
3834
|
constructor() {
|
|
3818
3835
|
super();
|
|
3819
3836
|
this.__registerHost();
|
|
3820
|
-
|
|
3837
|
+
this.__attachShadow();
|
|
3821
3838
|
this.calciteChipDismiss = createEvent(this, "calciteChipDismiss", 7);
|
|
3822
3839
|
//--------------------------------------------------------------------------
|
|
3823
3840
|
//
|
|
@@ -6087,7 +6104,7 @@ let CalciteColorPicker$1 = class extends HTMLElement {
|
|
|
6087
6104
|
constructor() {
|
|
6088
6105
|
super();
|
|
6089
6106
|
this.__registerHost();
|
|
6090
|
-
|
|
6107
|
+
this.__attachShadow();
|
|
6091
6108
|
this.calciteColorPickerChange = createEvent(this, "calciteColorPickerChange", 7);
|
|
6092
6109
|
this.calciteColorPickerInput = createEvent(this, "calciteColorPickerInput", 7);
|
|
6093
6110
|
//--------------------------------------------------------------------------
|
|
@@ -6858,7 +6875,7 @@ let CalciteColorPickerHexInput$1 = class extends HTMLElement {
|
|
|
6858
6875
|
constructor() {
|
|
6859
6876
|
super();
|
|
6860
6877
|
this.__registerHost();
|
|
6861
|
-
|
|
6878
|
+
this.__attachShadow();
|
|
6862
6879
|
this.calciteColorPickerHexInputChange = createEvent(this, "calciteColorPickerHexInputChange", 7);
|
|
6863
6880
|
//--------------------------------------------------------------------------
|
|
6864
6881
|
//
|
|
@@ -7058,7 +7075,7 @@ let CalciteColorPickerSwatch$1 = class extends HTMLElement {
|
|
|
7058
7075
|
constructor() {
|
|
7059
7076
|
super();
|
|
7060
7077
|
this.__registerHost();
|
|
7061
|
-
|
|
7078
|
+
this.__attachShadow();
|
|
7062
7079
|
//--------------------------------------------------------------------------
|
|
7063
7080
|
//
|
|
7064
7081
|
// Properties
|
|
@@ -8898,9 +8915,9 @@ function createPopper({ referenceEl, el, placement, overlayPositioning = "absolu
|
|
|
8898
8915
|
modifiers
|
|
8899
8916
|
});
|
|
8900
8917
|
}
|
|
8901
|
-
function updatePopper({ el, modifiers, placement: PopperPlacement, popper }) {
|
|
8918
|
+
async function updatePopper({ el, modifiers, placement: PopperPlacement, popper }) {
|
|
8902
8919
|
const placement = getPlacement(el, PopperPlacement);
|
|
8903
|
-
popper.setOptions({
|
|
8920
|
+
await popper.setOptions({
|
|
8904
8921
|
modifiers,
|
|
8905
8922
|
placement
|
|
8906
8923
|
});
|
|
@@ -8941,14 +8958,14 @@ function getDepth(element) {
|
|
|
8941
8958
|
return result.snapshotLength;
|
|
8942
8959
|
}
|
|
8943
8960
|
|
|
8944
|
-
const calciteComboboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;position:relative}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:0 var(--calcite-combobox-item-spacing-unit-l) 0 var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;padding:0}.input{-ms-flex-positive:1;flex-grow:1;font-family:inherit;padding:0;background-color:transparent;border-style:none;color:var(--calcite-ui-text-1);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0;margin-top:0;padding:0}.wrapper--active .input-single{cursor:text}.input--hidden{width:0;min-width:0;opacity:0;pointer-events:none}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.label{padding:0;display:-ms-flexbox;display:flex;font-weight:var(--calcite-font-weight-normal);-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0;padding-bottom:0;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:1rem}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{overflow-y:auto;max-height:100vh;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{display:block;margin:0;padding:0}.list--hide{height:0;overflow:hidden}.chip{margin:calc(var(--calcite-combobox-item-spacing-unit-s) / 2) var(--calcite-combobox-item-spacing-unit-s) calc(var(--calcite-combobox-item-spacing-unit-s) / 2) 0;max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.chip:last-child{margin-right:0}.chip--rtl{margin-right:unset;margin-left:var(--calcite-combobox-item-spacing-unit-l)}.chip--rtl:last-child{margin-left:0}.item{display:block}";
|
|
8961
|
+
const calciteComboboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;position:relative}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:0 var(--calcite-combobox-item-spacing-unit-l) 0 var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input{-ms-flex-positive:1;flex-grow:1;font-family:inherit;padding:0;background-color:transparent;border-style:none;color:var(--calcite-ui-text-1);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0;margin-top:0;padding:0}.wrapper--active .input-single{cursor:text}.input--hidden{width:0;min-width:0;opacity:0;pointer-events:none}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.label{padding:0;display:-ms-flexbox;display:flex;font-weight:var(--calcite-font-weight-normal);-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0;padding-bottom:0;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:1rem}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{overflow-y:auto;max-height:100vh;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{display:block;margin:0;padding:0}.list--hide{height:0;overflow:hidden}.chip{margin:calc(var(--calcite-combobox-item-spacing-unit-s) / 2) var(--calcite-combobox-item-spacing-unit-s) calc(var(--calcite-combobox-item-spacing-unit-s) / 2) 0;max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.chip:last-child{margin-right:0}.chip--rtl{margin-right:unset;margin-left:var(--calcite-combobox-item-spacing-unit-l)}.chip--rtl:last-child{margin-left:0}.item{display:block}";
|
|
8945
8962
|
|
|
8946
8963
|
const isGroup = (el) => el.tagName === ComboboxItemGroup;
|
|
8947
8964
|
let CalciteCombobox$1 = class extends HTMLElement {
|
|
8948
8965
|
constructor() {
|
|
8949
8966
|
super();
|
|
8950
8967
|
this.__registerHost();
|
|
8951
|
-
|
|
8968
|
+
this.__attachShadow();
|
|
8952
8969
|
this.calciteLookupChange = createEvent(this, "calciteLookupChange", 7);
|
|
8953
8970
|
this.calciteComboboxChange = createEvent(this, "calciteComboboxChange", 7);
|
|
8954
8971
|
this.calciteComboboxFilterChange = createEvent(this, "calciteComboboxFilterChange", 7);
|
|
@@ -8994,14 +9011,6 @@ let CalciteCombobox$1 = class extends HTMLElement {
|
|
|
8994
9011
|
this.inputHeight = 0;
|
|
8995
9012
|
this.ignoreSelectedEventsFlag = false;
|
|
8996
9013
|
this.activeTransitionProp = "opacity";
|
|
8997
|
-
// --------------------------------------------------------------------------
|
|
8998
|
-
//
|
|
8999
|
-
// Private Methods
|
|
9000
|
-
//
|
|
9001
|
-
// --------------------------------------------------------------------------
|
|
9002
|
-
this.onLabelClick = () => {
|
|
9003
|
-
this.setFocus();
|
|
9004
|
-
};
|
|
9005
9014
|
this.keydownHandler = (event) => {
|
|
9006
9015
|
const key = getKey(event.key, getElementDir(this.el));
|
|
9007
9016
|
switch (key) {
|
|
@@ -9237,7 +9246,7 @@ let CalciteCombobox$1 = class extends HTMLElement {
|
|
|
9237
9246
|
const { popper, menuEl } = this;
|
|
9238
9247
|
const modifiers = this.getModifiers();
|
|
9239
9248
|
popper
|
|
9240
|
-
? updatePopper({
|
|
9249
|
+
? await updatePopper({
|
|
9241
9250
|
el: menuEl,
|
|
9242
9251
|
modifiers,
|
|
9243
9252
|
placement: ComboboxDefaultPlacement,
|
|
@@ -9283,6 +9292,14 @@ let CalciteCombobox$1 = class extends HTMLElement {
|
|
|
9283
9292
|
textHandler() {
|
|
9284
9293
|
this.updateActiveItemIndex(-1);
|
|
9285
9294
|
}
|
|
9295
|
+
// --------------------------------------------------------------------------
|
|
9296
|
+
//
|
|
9297
|
+
// Private Methods
|
|
9298
|
+
//
|
|
9299
|
+
// --------------------------------------------------------------------------
|
|
9300
|
+
onLabelClick() {
|
|
9301
|
+
this.setFocus();
|
|
9302
|
+
}
|
|
9286
9303
|
getModifiers() {
|
|
9287
9304
|
const flipModifier = {
|
|
9288
9305
|
name: "flip",
|
|
@@ -9625,7 +9642,7 @@ let CalciteComboboxItem$1 = class extends HTMLElement {
|
|
|
9625
9642
|
constructor() {
|
|
9626
9643
|
super();
|
|
9627
9644
|
this.__registerHost();
|
|
9628
|
-
|
|
9645
|
+
this.__attachShadow();
|
|
9629
9646
|
this.calciteComboboxItemChange = createEvent(this, "calciteComboboxItemChange", 7);
|
|
9630
9647
|
// --------------------------------------------------------------------------
|
|
9631
9648
|
//
|
|
@@ -9744,7 +9761,7 @@ let CalciteComboboxItemGroup$1 = class extends HTMLElement {
|
|
|
9744
9761
|
constructor() {
|
|
9745
9762
|
super();
|
|
9746
9763
|
this.__registerHost();
|
|
9747
|
-
|
|
9764
|
+
this.__attachShadow();
|
|
9748
9765
|
this.guid = guid();
|
|
9749
9766
|
this.scale = "m";
|
|
9750
9767
|
}
|
|
@@ -10130,7 +10147,7 @@ let CalciteDatePicker$1 = class extends HTMLElement {
|
|
|
10130
10147
|
constructor() {
|
|
10131
10148
|
super();
|
|
10132
10149
|
this.__registerHost();
|
|
10133
|
-
|
|
10150
|
+
this.__attachShadow();
|
|
10134
10151
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
10135
10152
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
|
|
10136
10153
|
/** Localized string for "previous month" (used for aria label)
|
|
@@ -10491,7 +10508,7 @@ let CalciteDatePickerDay$1 = class extends HTMLElement {
|
|
|
10491
10508
|
constructor() {
|
|
10492
10509
|
super();
|
|
10493
10510
|
this.__registerHost();
|
|
10494
|
-
|
|
10511
|
+
this.__attachShadow();
|
|
10495
10512
|
this.calciteDaySelect = createEvent(this, "calciteDaySelect", 7);
|
|
10496
10513
|
this.calciteDayHover = createEvent(this, "calciteDayHover", 7);
|
|
10497
10514
|
/** Date is outside of range and can't be selected */
|
|
@@ -10555,7 +10572,7 @@ let CalciteDatePickerMonth$1 = class extends HTMLElement {
|
|
|
10555
10572
|
constructor() {
|
|
10556
10573
|
super();
|
|
10557
10574
|
this.__registerHost();
|
|
10558
|
-
|
|
10575
|
+
this.__attachShadow();
|
|
10559
10576
|
this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect", 7);
|
|
10560
10577
|
this.calciteDatePickerHover = createEvent(this, "calciteDatePickerHover", 7);
|
|
10561
10578
|
this.calciteDatePickerActiveDateChange = createEvent(this, "calciteDatePickerActiveDateChange", 7);
|
|
@@ -10830,7 +10847,7 @@ let CalciteDatePickerMonthHeader$1 = class extends HTMLElement {
|
|
|
10830
10847
|
constructor() {
|
|
10831
10848
|
super();
|
|
10832
10849
|
this.__registerHost();
|
|
10833
|
-
|
|
10850
|
+
this.__attachShadow();
|
|
10834
10851
|
this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect", 7);
|
|
10835
10852
|
//--------------------------------------------------------------------------
|
|
10836
10853
|
//
|
|
@@ -10963,7 +10980,7 @@ let CalciteDropdown$1 = class extends HTMLElement {
|
|
|
10963
10980
|
constructor() {
|
|
10964
10981
|
super();
|
|
10965
10982
|
this.__registerHost();
|
|
10966
|
-
|
|
10983
|
+
this.__attachShadow();
|
|
10967
10984
|
this.calciteDropdownSelect = createEvent(this, "calciteDropdownSelect", 7);
|
|
10968
10985
|
this.calciteDropdownOpen = createEvent(this, "calciteDropdownOpen", 7);
|
|
10969
10986
|
this.calciteDropdownClose = createEvent(this, "calciteDropdownClose", 7);
|
|
@@ -11011,14 +11028,29 @@ let CalciteDropdown$1 = class extends HTMLElement {
|
|
|
11011
11028
|
//
|
|
11012
11029
|
//--------------------------------------------------------------------------
|
|
11013
11030
|
this.items = [];
|
|
11014
|
-
/** specifies the item wrapper height; it is updated when maxItems is > 0 **/
|
|
11015
|
-
this.maxScrollerHeight = 0;
|
|
11016
11031
|
this.activeTransitionProp = "opacity";
|
|
11032
|
+
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
11017
11033
|
//--------------------------------------------------------------------------
|
|
11018
11034
|
//
|
|
11019
11035
|
// Private Methods
|
|
11020
11036
|
//
|
|
11021
11037
|
//--------------------------------------------------------------------------
|
|
11038
|
+
this.updateItems = () => {
|
|
11039
|
+
this.updateSelectedItems();
|
|
11040
|
+
this.triggers = Array.from(this.el.querySelectorAll("[slot=dropdown-trigger]"));
|
|
11041
|
+
this.items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
|
|
11042
|
+
this.reposition();
|
|
11043
|
+
};
|
|
11044
|
+
this.setMaxScrollerHeight = () => {
|
|
11045
|
+
const { scrollerEl } = this;
|
|
11046
|
+
if (scrollerEl) {
|
|
11047
|
+
const maxScrollerHeight = this.getMaxScrollerHeight();
|
|
11048
|
+
scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
11049
|
+
}
|
|
11050
|
+
};
|
|
11051
|
+
this.setScrollerEl = (scrollerEl) => {
|
|
11052
|
+
this.scrollerEl = scrollerEl;
|
|
11053
|
+
};
|
|
11022
11054
|
this.transitionEnd = (event) => {
|
|
11023
11055
|
if (event.propertyName === this.activeTransitionProp) {
|
|
11024
11056
|
this.active ? this.calciteDropdownOpen.emit() : this.calciteDropdownClose.emit();
|
|
@@ -11068,6 +11100,9 @@ let CalciteDropdown$1 = class extends HTMLElement {
|
|
|
11068
11100
|
activeHandler() {
|
|
11069
11101
|
this.reposition();
|
|
11070
11102
|
}
|
|
11103
|
+
maxItemsHandler() {
|
|
11104
|
+
this.reposition();
|
|
11105
|
+
}
|
|
11071
11106
|
placementHandler() {
|
|
11072
11107
|
this.reposition();
|
|
11073
11108
|
}
|
|
@@ -11077,32 +11112,27 @@ let CalciteDropdown$1 = class extends HTMLElement {
|
|
|
11077
11112
|
//
|
|
11078
11113
|
//--------------------------------------------------------------------------
|
|
11079
11114
|
connectedCallback() {
|
|
11115
|
+
var _a;
|
|
11116
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
11080
11117
|
this.createPopper();
|
|
11081
|
-
|
|
11082
|
-
componentWillLoad() {
|
|
11083
|
-
// get initially selected items
|
|
11084
|
-
this.updateSelectedItems();
|
|
11118
|
+
this.updateItems();
|
|
11085
11119
|
}
|
|
11086
11120
|
componentDidLoad() {
|
|
11087
|
-
this.triggers = Array.from(this.el.querySelectorAll("[slot=dropdown-trigger]"));
|
|
11088
|
-
const groups = Array.from(this.el.querySelectorAll("calcite-dropdown-group"));
|
|
11089
|
-
this.maxScrollerHeight = this.getMaxScrollerHeight(groups);
|
|
11090
|
-
this.items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
|
|
11091
11121
|
this.reposition();
|
|
11092
11122
|
}
|
|
11093
11123
|
disconnectedCallback() {
|
|
11124
|
+
var _a;
|
|
11125
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
11094
11126
|
this.destroyPopper();
|
|
11095
11127
|
}
|
|
11096
11128
|
render() {
|
|
11097
|
-
const { active
|
|
11129
|
+
const { active } = this;
|
|
11098
11130
|
const dir = getElementDir(this.el);
|
|
11099
11131
|
return (h(Host, { tabIndex: this.disabled ? -1 : null }, h("div", { class: { ["calcite-dropdown-trigger-container"]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": active.toString(), "aria-haspopup": "true", name: SLOTS$h.dropdownTrigger })), h("div", { "aria-hidden": (!active).toString(), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
|
|
11100
11132
|
["calcite-dropdown-content"]: true,
|
|
11101
11133
|
[CSS$C.animation]: true,
|
|
11102
11134
|
[CSS$C.animationActive]: active
|
|
11103
|
-
}, onTransitionEnd: this.transitionEnd,
|
|
11104
|
-
maxHeight: !active || maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : ""
|
|
11105
|
-
} }, h("slot", null)))));
|
|
11135
|
+
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("slot", null)))));
|
|
11106
11136
|
}
|
|
11107
11137
|
//--------------------------------------------------------------------------
|
|
11108
11138
|
//
|
|
@@ -11112,9 +11142,10 @@ let CalciteDropdown$1 = class extends HTMLElement {
|
|
|
11112
11142
|
/** Updates the position of the component. */
|
|
11113
11143
|
async reposition() {
|
|
11114
11144
|
const { popper, menuEl, placement } = this;
|
|
11145
|
+
this.setMaxScrollerHeight();
|
|
11115
11146
|
const modifiers = this.getModifiers();
|
|
11116
11147
|
popper
|
|
11117
|
-
? updatePopper({
|
|
11148
|
+
? await updatePopper({
|
|
11118
11149
|
el: menuEl,
|
|
11119
11150
|
modifiers,
|
|
11120
11151
|
placement,
|
|
@@ -11226,7 +11257,8 @@ let CalciteDropdown$1 = class extends HTMLElement {
|
|
|
11226
11257
|
const items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
|
|
11227
11258
|
this.selectedItems = items.filter((item) => item.active);
|
|
11228
11259
|
}
|
|
11229
|
-
getMaxScrollerHeight(
|
|
11260
|
+
getMaxScrollerHeight() {
|
|
11261
|
+
const groups = Array.from(this.el.querySelectorAll("calcite-dropdown-group"));
|
|
11230
11262
|
const { maxItems } = this;
|
|
11231
11263
|
let itemsToProcess = 0;
|
|
11232
11264
|
let maxScrollerHeight = 0;
|
|
@@ -11286,6 +11318,7 @@ let CalciteDropdown$1 = class extends HTMLElement {
|
|
|
11286
11318
|
get el() { return this; }
|
|
11287
11319
|
static get watchers() { return {
|
|
11288
11320
|
"active": ["activeHandler"],
|
|
11321
|
+
"maxItems": ["maxItemsHandler"],
|
|
11289
11322
|
"placement": ["placementHandler"]
|
|
11290
11323
|
}; }
|
|
11291
11324
|
static get style() { return calciteDropdownCss; }
|
|
@@ -11303,7 +11336,7 @@ let CalciteDropdownGroup$1 = class extends HTMLElement {
|
|
|
11303
11336
|
constructor() {
|
|
11304
11337
|
super();
|
|
11305
11338
|
this.__registerHost();
|
|
11306
|
-
|
|
11339
|
+
this.__attachShadow();
|
|
11307
11340
|
this.calciteDropdownItemChange = createEvent(this, "calciteDropdownItemChange", 7);
|
|
11308
11341
|
/** specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item),
|
|
11309
11342
|
none (no active items), defaults to single */
|
|
@@ -11364,13 +11397,13 @@ const CSS$y = {
|
|
|
11364
11397
|
containerNone: "container--none-selection"
|
|
11365
11398
|
};
|
|
11366
11399
|
|
|
11367
|
-
const calciteDropdownItemCss = "@-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}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem;padding-right:0.5rem;padding-left:1.5rem;padding-top:0.25rem;padding-bottom:0.25rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem;padding-right:0.75rem;padding-left:2rem;padding-top:0.5rem;padding-bottom:0.5rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-right:1rem;padding-left:2.5rem;padding-top:0.75rem;padding-bottom:0.75rem}.container--s.calcite--rtl{padding-right:1.5rem;padding-left:0.5rem}.container--m.calcite--rtl{padding-right:2rem;padding-left:0.75rem}.container--l.calcite--rtl{padding-right:2.5rem;padding-left:1rem}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;position:relative}.container{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative}.dropdown-item-content{margin-right:auto;margin-left:0.25rem}.calcite--rtl .dropdown-item-content{margin-left:auto;margin-right:0}:host,.container--link a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus)
|
|
11400
|
+
const calciteDropdownItemCss = "@-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}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem;padding-right:0.5rem;padding-left:1.5rem;padding-top:0.25rem;padding-bottom:0.25rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem;padding-right:0.75rem;padding-left:2rem;padding-top:0.5rem;padding-bottom:0.5rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-right:1rem;padding-left:2.5rem;padding-top:0.75rem;padding-bottom:0.75rem}.container--s.calcite--rtl{padding-right:1.5rem;padding-left:0.5rem}.container--m.calcite--rtl{padding-right:2rem;padding-left:0.75rem}.container--l.calcite--rtl{padding-right:2.5rem;padding-left:1rem}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;position:relative}.container{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative}.dropdown-item-content{margin-right:auto;margin-left:0.25rem}.calcite--rtl .dropdown-item-content{margin-left:auto;margin-right:0}:host,.container--link a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0}.container--link a{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative}.container--s .dropdown-link{font-size:var(--calcite-font-size--2);line-height:1rem;padding-right:0.5rem;padding-left:1.5rem;padding-top:0.25rem;padding-bottom:0.25rem}.container--m .dropdown-link{font-size:var(--calcite-font-size--1);line-height:1rem;padding-right:0.75rem;padding-left:2rem;padding-top:0.5rem;padding-bottom:0.5rem}.container--l .dropdown-link{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-right:1rem;padding-left:2.5rem;padding-top:0.75rem;padding-bottom:0.75rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);text-decoration:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}.calcite--rtl:before{left:unset;right:1rem}.calcite--rtl .dropdown-link{padding-right:0;padding-left:0}:host([active]) .container:not(.container--none-selection),:host([active]) .container--link .dropdown-link{color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium)}:host([active]) .container:not(.container--none-selection):before,:host([active]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon,:host([active]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{left:0.5rem}.container--m:before{left:0.75rem}.container--l:before{left:1rem}.calcite--rtl:before{left:unset}.container--s.calcite--rtl:before{right:0.5rem}.container--m.calcite--rtl:before{right:0.75rem}.container--l.calcite--rtl:before{right:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{left:0.25rem}.container--m .dropdown-item-icon{left:0.5rem}.container--l .dropdown-item-icon{left:0.75rem}.calcite--rtl .dropdown-item-icon{left:unset;margin-left:0}.container--s.calcite--rtl .dropdown-item-icon{right:0.25rem}.container--m.calcite--rtl .dropdown-item-icon{right:0.5rem}.container--l.calcite--rtl .dropdown-item-icon{right:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-right:0.5rem;margin-left:0.25rem}.container--s .dropdown-item-icon-end{margin-left:0.5rem}.container--m .dropdown-item-icon-start{margin-right:0.75rem;margin-left:0.25rem}.container--m .dropdown-item-icon-end{margin-left:0.75rem}.container--l .dropdown-item-icon-start{margin-right:1rem;margin-left:0.25rem}.container--l .dropdown-item-icon-end{margin-left:1rem}.calcite--rtl .dropdown-item-icon-start{margin-right:0}.calcite--rtl .dropdown-item-icon-end{margin-left:0}.container--s.calcite--rtl .dropdown-item-icon-start{margin-left:0.5rem}.container--s.calcite--rtl .dropdown-item-icon-end{margin-right:0.5rem}.container--m.calcite--rtl .dropdown-item-icon-start{margin-left:0.75rem}.container--m.calcite--rtl .dropdown-item-icon-end{margin-right:0.75rem}.container--l.calcite--rtl .dropdown-item-icon-start{margin-left:1rem}.container--l.calcite--rtl .dropdown-item-icon-end{margin-right:1rem}.calcite--rtl calcite-icon{margin-right:0;margin-left:0.75rem}";
|
|
11368
11401
|
|
|
11369
11402
|
let CalciteDropdownItem$1 = class extends HTMLElement {
|
|
11370
11403
|
constructor() {
|
|
11371
11404
|
super();
|
|
11372
11405
|
this.__registerHost();
|
|
11373
|
-
|
|
11406
|
+
this.__attachShadow();
|
|
11374
11407
|
this.calciteDropdownItemSelect = createEvent(this, "calciteDropdownItemSelect", 7);
|
|
11375
11408
|
this.calciteDropdownItemKeyEvent = createEvent(this, "calciteDropdownItemKeyEvent", 7);
|
|
11376
11409
|
this.calciteDropdownCloseRequest = createEvent(this, "calciteDropdownCloseRequest", 7);
|
|
@@ -11529,7 +11562,7 @@ let CalciteFab$1 = class extends HTMLElement {
|
|
|
11529
11562
|
constructor() {
|
|
11530
11563
|
super();
|
|
11531
11564
|
this.__registerHost();
|
|
11532
|
-
|
|
11565
|
+
this.__attachShadow();
|
|
11533
11566
|
// --------------------------------------------------------------------------
|
|
11534
11567
|
//
|
|
11535
11568
|
// Properties
|
|
@@ -11612,13 +11645,12 @@ let CalciteFilter$1 = class extends HTMLElement {
|
|
|
11612
11645
|
constructor() {
|
|
11613
11646
|
super();
|
|
11614
11647
|
this.__registerHost();
|
|
11615
|
-
|
|
11648
|
+
this.__attachShadow();
|
|
11616
11649
|
this.calciteFilterChange = createEvent(this, "calciteFilterChange", 7);
|
|
11617
11650
|
/**
|
|
11618
11651
|
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
11619
11652
|
*/
|
|
11620
11653
|
this.disabled = false;
|
|
11621
|
-
this.empty = true;
|
|
11622
11654
|
// --------------------------------------------------------------------------
|
|
11623
11655
|
//
|
|
11624
11656
|
// Private Methods
|
|
@@ -11656,8 +11688,7 @@ let CalciteFilter$1 = class extends HTMLElement {
|
|
|
11656
11688
|
}, filterDebounceInMs);
|
|
11657
11689
|
this.inputHandler = (event) => {
|
|
11658
11690
|
const target = event.target;
|
|
11659
|
-
this.
|
|
11660
|
-
this.filter(target.value);
|
|
11691
|
+
this.value = target.value;
|
|
11661
11692
|
};
|
|
11662
11693
|
this.keyDownHandler = ({ key }) => {
|
|
11663
11694
|
if (key === "Escape") {
|
|
@@ -11665,12 +11696,14 @@ let CalciteFilter$1 = class extends HTMLElement {
|
|
|
11665
11696
|
}
|
|
11666
11697
|
};
|
|
11667
11698
|
this.clear = () => {
|
|
11668
|
-
this.
|
|
11669
|
-
this.empty = true;
|
|
11699
|
+
this.value = "";
|
|
11670
11700
|
this.calciteFilterChange.emit(this.data);
|
|
11671
11701
|
this.setFocus();
|
|
11672
11702
|
};
|
|
11673
11703
|
}
|
|
11704
|
+
valueHandler(value) {
|
|
11705
|
+
this.filter(value);
|
|
11706
|
+
}
|
|
11674
11707
|
// --------------------------------------------------------------------------
|
|
11675
11708
|
//
|
|
11676
11709
|
// Public Methods
|
|
@@ -11690,9 +11723,12 @@ let CalciteFilter$1 = class extends HTMLElement {
|
|
|
11690
11723
|
const { disabled } = this;
|
|
11691
11724
|
return (h(Fragment, null, disabled ? h("calcite-scrim", null) : null, h("div", { class: CSS$w.container }, h("label", { class: rtl ? CSS_UTILITY.rtl : null }, h("calcite-input", { "aria-label": this.intlLabel || TEXT$c.filterLabel, class: rtl ? CSS_UTILITY.rtl : null, disabled: this.disabled, icon: ICONS$8.search, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
|
11692
11725
|
this.textInput = el;
|
|
11693
|
-
}, type: "text", value:
|
|
11726
|
+
}, type: "text", value: this.value })), this.value ? (h("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$w.clearButton, onClick: this.clear }, h("calcite-icon", { icon: ICONS$8.close }))) : null)));
|
|
11694
11727
|
}
|
|
11695
11728
|
get el() { return this; }
|
|
11729
|
+
static get watchers() { return {
|
|
11730
|
+
"value": ["valueHandler"]
|
|
11731
|
+
}; }
|
|
11696
11732
|
static get style() { return calciteFilterCss; }
|
|
11697
11733
|
};
|
|
11698
11734
|
|
|
@@ -11708,7 +11744,7 @@ let CalciteFlow$1 = class extends HTMLElement {
|
|
|
11708
11744
|
constructor() {
|
|
11709
11745
|
super();
|
|
11710
11746
|
this.__registerHost();
|
|
11711
|
-
|
|
11747
|
+
this.__attachShadow();
|
|
11712
11748
|
this.panelCount = 0;
|
|
11713
11749
|
this.flowDirection = null;
|
|
11714
11750
|
this.panels = [];
|
|
@@ -11853,7 +11889,7 @@ function translate({ width, height, min, max }) {
|
|
|
11853
11889
|
const rangeX = max[0] - min[0];
|
|
11854
11890
|
const rangeY = max[1] - min[1];
|
|
11855
11891
|
return (point) => {
|
|
11856
|
-
const x = (point[0] / rangeX) * width;
|
|
11892
|
+
const x = ((point[0] - min[0]) / rangeX) * width;
|
|
11857
11893
|
const y = height - (point[1] / rangeY) * height;
|
|
11858
11894
|
return [x, y];
|
|
11859
11895
|
};
|
|
@@ -11911,7 +11947,7 @@ let CalciteGraph$1 = class extends HTMLElement {
|
|
|
11911
11947
|
constructor() {
|
|
11912
11948
|
super();
|
|
11913
11949
|
this.__registerHost();
|
|
11914
|
-
|
|
11950
|
+
this.__attachShadow();
|
|
11915
11951
|
//--------------------------------------------------------------------------
|
|
11916
11952
|
//
|
|
11917
11953
|
// Properties
|
|
@@ -11939,17 +11975,25 @@ let CalciteGraph$1 = class extends HTMLElement {
|
|
|
11939
11975
|
//
|
|
11940
11976
|
//--------------------------------------------------------------------------
|
|
11941
11977
|
render() {
|
|
11942
|
-
const { data, colorStops, width, height, highlightMax, highlightMin } = this;
|
|
11978
|
+
const { data, colorStops, width, height, highlightMax, highlightMin, min, max } = this;
|
|
11943
11979
|
const id = this.graphId;
|
|
11944
11980
|
// if we have no data, return empty svg
|
|
11945
11981
|
if (!data || data.length === 0) {
|
|
11946
11982
|
return (h("svg", { class: "svg", height: height, preserveAspectRatio: "none", viewBox: `0 0 ${width} ${height}`, width: width }));
|
|
11947
11983
|
}
|
|
11948
|
-
const { min, max } = range(data);
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11984
|
+
const { min: rangeMin, max: rangeMax } = range(data);
|
|
11985
|
+
let currentMin = rangeMin;
|
|
11986
|
+
let currentMax = rangeMax;
|
|
11987
|
+
if (min < rangeMin[0]) {
|
|
11988
|
+
currentMin = [min, 0];
|
|
11989
|
+
}
|
|
11990
|
+
if (max > rangeMax[0]) {
|
|
11991
|
+
currentMax = [max, rangeMax[1]];
|
|
11992
|
+
}
|
|
11993
|
+
const t = translate({ min: currentMin, max: currentMax, width, height });
|
|
11994
|
+
const [hMinX] = t([highlightMin, currentMax[1]]);
|
|
11995
|
+
const [hMaxX] = t([highlightMax, currentMax[1]]);
|
|
11996
|
+
const areaPath = area({ data, min: rangeMin, max: rangeMax, t });
|
|
11953
11997
|
const fill = colorStops ? `url(#linear-gradient-${id})` : undefined;
|
|
11954
11998
|
return (h("svg", { class: "svg", height: height, preserveAspectRatio: "none", viewBox: `0 0 ${width} ${height}`, width: width }, colorStops ? (h("defs", null, h("linearGradient", { id: `linear-gradient-${id}`, x1: "0", x2: "1", y1: "0", y2: "0" }, colorStops.map(({ offset, color, opacity }) => (h("stop", { offset: `${offset * 100}%`, "stop-color": color, "stop-opacity": opacity })))))) : null, highlightMin !== undefined ? ([
|
|
11955
11999
|
h("mask", { height: "100%", id: `${id}1`, width: "100%", x: "0%", y: "0%" }, h("path", { d: `
|
|
@@ -11996,7 +12040,7 @@ let CalciteHandle$1 = class extends HTMLElement {
|
|
|
11996
12040
|
constructor() {
|
|
11997
12041
|
super();
|
|
11998
12042
|
this.__registerHost();
|
|
11999
|
-
|
|
12043
|
+
this.__attachShadow();
|
|
12000
12044
|
this.calciteHandleNudge = createEvent(this, "calciteHandleNudge", 7);
|
|
12001
12045
|
// --------------------------------------------------------------------------
|
|
12002
12046
|
//
|
|
@@ -12130,7 +12174,7 @@ let CalciteIcon$1 = class extends HTMLElement {
|
|
|
12130
12174
|
constructor() {
|
|
12131
12175
|
super();
|
|
12132
12176
|
this.__registerHost();
|
|
12133
|
-
|
|
12177
|
+
this.__attachShadow();
|
|
12134
12178
|
//--------------------------------------------------------------------------
|
|
12135
12179
|
//
|
|
12136
12180
|
// Properties
|
|
@@ -12266,9 +12310,6 @@ let CalciteInlineEditable$1 = class extends HTMLElement {
|
|
|
12266
12310
|
* @default "Save"
|
|
12267
12311
|
*/
|
|
12268
12312
|
this.intlConfirmChanges = TEXT$b.intlConfirmChanges;
|
|
12269
|
-
this.onLabelClick = () => {
|
|
12270
|
-
this.setFocus();
|
|
12271
|
-
};
|
|
12272
12313
|
this.editingCancelTransitionProp = "border-top-color";
|
|
12273
12314
|
//--------------------------------------------------------------------------
|
|
12274
12315
|
//
|
|
@@ -12350,6 +12391,7 @@ let CalciteInlineEditable$1 = class extends HTMLElement {
|
|
|
12350
12391
|
componentWillLoad() {
|
|
12351
12392
|
this.inputElement = this.el.querySelector("calcite-input");
|
|
12352
12393
|
this.inputElement.disabled = this.disabled;
|
|
12394
|
+
this.inputElement.label = this.inputElement.label || getLabelText(this);
|
|
12353
12395
|
this.scale =
|
|
12354
12396
|
this.scale || this.inputElement.scale || getElementProp(this.el, "scale", undefined);
|
|
12355
12397
|
}
|
|
@@ -12381,6 +12423,9 @@ let CalciteInlineEditable$1 = class extends HTMLElement {
|
|
|
12381
12423
|
this.disableEditing();
|
|
12382
12424
|
}
|
|
12383
12425
|
}
|
|
12426
|
+
onLabelClick() {
|
|
12427
|
+
this.setFocus();
|
|
12428
|
+
}
|
|
12384
12429
|
//--------------------------------------------------------------------------
|
|
12385
12430
|
//
|
|
12386
12431
|
// Public Methods
|
|
@@ -12492,14 +12537,6 @@ let CalciteInput$1 = class extends HTMLElement {
|
|
|
12492
12537
|
this.type = "text";
|
|
12493
12538
|
/** keep track of the rendered child type */
|
|
12494
12539
|
this.childElType = "input";
|
|
12495
|
-
//--------------------------------------------------------------------------
|
|
12496
|
-
//
|
|
12497
|
-
// Private Methods
|
|
12498
|
-
//
|
|
12499
|
-
//--------------------------------------------------------------------------
|
|
12500
|
-
this.onLabelClick = () => {
|
|
12501
|
-
this.setFocus();
|
|
12502
|
-
};
|
|
12503
12540
|
this.clearInputValue = (nativeEvent) => {
|
|
12504
12541
|
this.setValue(null, nativeEvent, true);
|
|
12505
12542
|
};
|
|
@@ -12601,24 +12638,21 @@ let CalciteInput$1 = class extends HTMLElement {
|
|
|
12601
12638
|
event.preventDefault();
|
|
12602
12639
|
};
|
|
12603
12640
|
this.nudgeNumberValue = (direction, nativeEvent) => {
|
|
12604
|
-
if (this.type !== "number") {
|
|
12641
|
+
if ((nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) || this.type !== "number") {
|
|
12605
12642
|
return;
|
|
12606
12643
|
}
|
|
12607
|
-
const value = this.value;
|
|
12608
12644
|
const inputMax = this.maxString ? parseFloat(this.maxString) : null;
|
|
12609
12645
|
const inputMin = this.minString ? parseFloat(this.minString) : null;
|
|
12610
|
-
const
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
}
|
|
12616
|
-
if (direction === "down" && ((!inputMin && inputMin !== 0) || inputVal > inputMin)) {
|
|
12617
|
-
newValue = (inputVal - inputStep).toString();
|
|
12618
|
-
}
|
|
12619
|
-
this.setValue(newValue, nativeEvent, true);
|
|
12646
|
+
const valueNudgeDelayInMs = 500;
|
|
12647
|
+
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
12648
|
+
this.nudgeNumberValueIntervalId = setInterval(() => {
|
|
12649
|
+
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
12650
|
+
}, valueNudgeDelayInMs);
|
|
12620
12651
|
};
|
|
12621
|
-
this.
|
|
12652
|
+
this.numberButtonMouseUpAndMouseOutHandler = () => {
|
|
12653
|
+
clearInterval(this.nudgeNumberValueIntervalId);
|
|
12654
|
+
};
|
|
12655
|
+
this.numberButtonMouseDownHandler = (event) => {
|
|
12622
12656
|
// todo, when dropping ie11 support, refactor to use stepup/stepdown
|
|
12623
12657
|
// prevent blur and re-focus of input on mousedown
|
|
12624
12658
|
event.preventDefault();
|
|
@@ -12664,6 +12698,9 @@ let CalciteInput$1 = class extends HTMLElement {
|
|
|
12664
12698
|
}
|
|
12665
12699
|
}
|
|
12666
12700
|
};
|
|
12701
|
+
this.inputKeyUpHandler = () => {
|
|
12702
|
+
clearInterval(this.nudgeNumberValueIntervalId);
|
|
12703
|
+
};
|
|
12667
12704
|
}
|
|
12668
12705
|
disabledWatcher() {
|
|
12669
12706
|
this.setDisabledAction();
|
|
@@ -12774,6 +12811,27 @@ let CalciteInput$1 = class extends HTMLElement {
|
|
|
12774
12811
|
(_b = this.childEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
12775
12812
|
}
|
|
12776
12813
|
}
|
|
12814
|
+
//--------------------------------------------------------------------------
|
|
12815
|
+
//
|
|
12816
|
+
// Private Methods
|
|
12817
|
+
//
|
|
12818
|
+
//--------------------------------------------------------------------------
|
|
12819
|
+
onLabelClick() {
|
|
12820
|
+
this.setFocus();
|
|
12821
|
+
}
|
|
12822
|
+
incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
|
|
12823
|
+
const value = this.value;
|
|
12824
|
+
const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
|
|
12825
|
+
const inputVal = value && value !== "" ? parseFloat(value) : 0;
|
|
12826
|
+
let newValue = value;
|
|
12827
|
+
if (direction === "up" && ((!inputMax && inputMax !== 0) || inputVal < inputMax)) {
|
|
12828
|
+
newValue = (inputVal + inputStep).toString();
|
|
12829
|
+
}
|
|
12830
|
+
if (direction === "down" && ((!inputMin && inputMin !== 0) || inputVal > inputMin)) {
|
|
12831
|
+
newValue = (inputVal - inputStep).toString();
|
|
12832
|
+
}
|
|
12833
|
+
this.setValue(newValue, nativeEvent, true);
|
|
12834
|
+
}
|
|
12777
12835
|
setDisabledAction() {
|
|
12778
12836
|
if (!this.slottedActionEl) {
|
|
12779
12837
|
return;
|
|
@@ -12797,17 +12855,17 @@ let CalciteInput$1 = class extends HTMLElement {
|
|
|
12797
12855
|
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
12798
12856
|
[CSS$r.numberButtonItem]: true,
|
|
12799
12857
|
[CSS$r.buttonItemHorizontal]: isHorizontalNumberButton
|
|
12800
|
-
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly,
|
|
12858
|
+
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onMouseDown: this.numberButtonMouseDownHandler, onMouseOut: this.numberButtonMouseUpAndMouseOutHandler, onMouseUp: this.numberButtonMouseUpAndMouseOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
12801
12859
|
const numberButtonsHorizontalDown = (h("button", { class: {
|
|
12802
12860
|
[CSS$r.numberButtonItem]: true,
|
|
12803
12861
|
[CSS$r.buttonItemHorizontal]: isHorizontalNumberButton
|
|
12804
|
-
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly,
|
|
12862
|
+
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onMouseDown: this.numberButtonMouseDownHandler, onMouseOut: this.numberButtonMouseUpAndMouseOutHandler, onMouseUp: this.numberButtonMouseUpAndMouseOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
12805
12863
|
const numberButtonsVertical = (h("div", { class: CSS$r.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
12806
12864
|
const prefixText = h("div", { class: CSS$r.prefix }, this.prefixText);
|
|
12807
12865
|
const suffixText = h("div", { class: CSS$r.suffix }, this.suffixText);
|
|
12808
|
-
const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, tabIndex: this.disabled ? -1 : 0, type: "text", value: this.localizedValue })) : null;
|
|
12866
|
+
const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, tabIndex: this.disabled ? -1 : 0, type: "text", value: this.localizedValue })) : null;
|
|
12809
12867
|
const childEl = [
|
|
12810
|
-
h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || this.type === "number" ? -1 : null, type: this.type, value: this.value }),
|
|
12868
|
+
h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || this.type === "number" ? -1 : null, type: this.type, value: this.value }),
|
|
12811
12869
|
this.isTextarea ? (h("div", { class: CSS$r.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
12812
12870
|
];
|
|
12813
12871
|
return (h(Host, { onClick: this.inputFocusHandler }, h("div", { class: { [CSS$r.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal"
|
|
@@ -12837,7 +12895,7 @@ let CalciteInputDatePicker$1 = class extends HTMLElement {
|
|
|
12837
12895
|
constructor() {
|
|
12838
12896
|
super();
|
|
12839
12897
|
this.__registerHost();
|
|
12840
|
-
|
|
12898
|
+
this.__attachShadow();
|
|
12841
12899
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
12842
12900
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
|
|
12843
12901
|
this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen", 7);
|
|
@@ -12866,14 +12924,6 @@ let CalciteInputDatePicker$1 = class extends HTMLElement {
|
|
|
12866
12924
|
this.layout = "horizontal";
|
|
12867
12925
|
this.focusedInput = "start";
|
|
12868
12926
|
this.activeTransitionProp = "opacity";
|
|
12869
|
-
//--------------------------------------------------------------------------
|
|
12870
|
-
//
|
|
12871
|
-
// Private Methods
|
|
12872
|
-
//
|
|
12873
|
-
//--------------------------------------------------------------------------
|
|
12874
|
-
this.onLabelClick = () => {
|
|
12875
|
-
this.setFocus();
|
|
12876
|
-
};
|
|
12877
12927
|
this.transitionEnd = (event) => {
|
|
12878
12928
|
if (event.propertyName === this.activeTransitionProp) {
|
|
12879
12929
|
this.active
|
|
@@ -12977,7 +13027,7 @@ let CalciteInputDatePicker$1 = class extends HTMLElement {
|
|
|
12977
13027
|
const { popper, menuEl } = this;
|
|
12978
13028
|
const modifiers = this.getModifiers();
|
|
12979
13029
|
popper
|
|
12980
|
-
? updatePopper({
|
|
13030
|
+
? await updatePopper({
|
|
12981
13031
|
el: menuEl,
|
|
12982
13032
|
modifiers,
|
|
12983
13033
|
placement: DEFAULT_PLACEMENT,
|
|
@@ -13043,6 +13093,14 @@ let CalciteInputDatePicker$1 = class extends HTMLElement {
|
|
|
13043
13093
|
: startWrapper || endWrapper;
|
|
13044
13094
|
this.createPopper();
|
|
13045
13095
|
}
|
|
13096
|
+
//--------------------------------------------------------------------------
|
|
13097
|
+
//
|
|
13098
|
+
// Private Methods
|
|
13099
|
+
//
|
|
13100
|
+
//--------------------------------------------------------------------------
|
|
13101
|
+
onLabelClick() {
|
|
13102
|
+
this.setFocus();
|
|
13103
|
+
}
|
|
13046
13104
|
getModifiers() {
|
|
13047
13105
|
const flipModifier = {
|
|
13048
13106
|
name: "flip",
|
|
@@ -13220,7 +13278,7 @@ let CalciteInputMessage$1 = class extends HTMLElement {
|
|
|
13220
13278
|
constructor() {
|
|
13221
13279
|
super();
|
|
13222
13280
|
this.__registerHost();
|
|
13223
|
-
|
|
13281
|
+
this.__attachShadow();
|
|
13224
13282
|
//--------------------------------------------------------------------------
|
|
13225
13283
|
//
|
|
13226
13284
|
// Properties
|
|
@@ -13330,7 +13388,7 @@ let CalciteInputTimePicker$1 = class extends HTMLElement {
|
|
|
13330
13388
|
constructor() {
|
|
13331
13389
|
super();
|
|
13332
13390
|
this.__registerHost();
|
|
13333
|
-
|
|
13391
|
+
this.__attachShadow();
|
|
13334
13392
|
this.calciteInputTimePickerChange = createEvent(this, "calciteInputTimePickerChange", 7);
|
|
13335
13393
|
//--------------------------------------------------------------------------
|
|
13336
13394
|
//
|
|
@@ -13347,7 +13405,7 @@ let CalciteInputTimePicker$1 = class extends HTMLElement {
|
|
|
13347
13405
|
this.scale = "m";
|
|
13348
13406
|
/** number that specifies the granularity that the value must adhere to */
|
|
13349
13407
|
this.step = 60;
|
|
13350
|
-
/** The selected time */
|
|
13408
|
+
/** The selected time (always 24-hour format)*/
|
|
13351
13409
|
this.value = null;
|
|
13352
13410
|
/** whether the value of the input was changed as a result of user typing or not */
|
|
13353
13411
|
this.internalValueChange = false;
|
|
@@ -13371,14 +13429,6 @@ let CalciteInputTimePicker$1 = class extends HTMLElement {
|
|
|
13371
13429
|
this.calciteInputInputHandler = (event) => {
|
|
13372
13430
|
this.setValue({ value: event.detail.value });
|
|
13373
13431
|
};
|
|
13374
|
-
// --------------------------------------------------------------------------
|
|
13375
|
-
//
|
|
13376
|
-
// Private Methods
|
|
13377
|
-
//
|
|
13378
|
-
// --------------------------------------------------------------------------
|
|
13379
|
-
this.onLabelClick = () => {
|
|
13380
|
-
this.setFocus();
|
|
13381
|
-
};
|
|
13382
13432
|
this.setCalciteInputEl = (el) => {
|
|
13383
13433
|
this.calciteInputEl = el;
|
|
13384
13434
|
};
|
|
@@ -13478,6 +13528,14 @@ let CalciteInputTimePicker$1 = class extends HTMLElement {
|
|
|
13478
13528
|
async setFocus() {
|
|
13479
13529
|
this.calciteInputEl.setFocus();
|
|
13480
13530
|
}
|
|
13531
|
+
// --------------------------------------------------------------------------
|
|
13532
|
+
//
|
|
13533
|
+
// Private Methods
|
|
13534
|
+
//
|
|
13535
|
+
// --------------------------------------------------------------------------
|
|
13536
|
+
onLabelClick() {
|
|
13537
|
+
this.setFocus();
|
|
13538
|
+
}
|
|
13481
13539
|
//--------------------------------------------------------------------------
|
|
13482
13540
|
//
|
|
13483
13541
|
// Lifecycle
|
|
@@ -13524,7 +13582,7 @@ let CalciteLabel$1 = class extends HTMLElement {
|
|
|
13524
13582
|
constructor() {
|
|
13525
13583
|
super();
|
|
13526
13584
|
this.__registerHost();
|
|
13527
|
-
|
|
13585
|
+
this.__attachShadow();
|
|
13528
13586
|
this.calciteInternalLabelClick = createEvent(this, "calciteInternalLabelClick", 3);
|
|
13529
13587
|
//--------------------------------------------------------------------------
|
|
13530
13588
|
//
|
|
@@ -13573,7 +13631,7 @@ let CalciteLink$1 = class extends HTMLElement {
|
|
|
13573
13631
|
constructor() {
|
|
13574
13632
|
super();
|
|
13575
13633
|
this.__registerHost();
|
|
13576
|
-
|
|
13634
|
+
this.__attachShadow();
|
|
13577
13635
|
//--------------------------------------------------------------------------
|
|
13578
13636
|
//
|
|
13579
13637
|
// Properties
|
|
@@ -13592,6 +13650,9 @@ let CalciteLink$1 = class extends HTMLElement {
|
|
|
13592
13650
|
this.childEl = el;
|
|
13593
13651
|
};
|
|
13594
13652
|
}
|
|
13653
|
+
hrefHandler(href) {
|
|
13654
|
+
this.childElType = href ? "a" : "span";
|
|
13655
|
+
}
|
|
13595
13656
|
//--------------------------------------------------------------------------
|
|
13596
13657
|
//
|
|
13597
13658
|
// Lifecycle
|
|
@@ -13619,6 +13680,9 @@ let CalciteLink$1 = class extends HTMLElement {
|
|
|
13619
13680
|
focusElement(this.childEl);
|
|
13620
13681
|
}
|
|
13621
13682
|
get el() { return this; }
|
|
13683
|
+
static get watchers() { return {
|
|
13684
|
+
"href": ["hrefHandler"]
|
|
13685
|
+
}; }
|
|
13622
13686
|
static get style() { return calciteLinkCss; }
|
|
13623
13687
|
};
|
|
13624
13688
|
|
|
@@ -13632,7 +13696,17 @@ let CalciteList$1 = class extends HTMLElement {
|
|
|
13632
13696
|
constructor() {
|
|
13633
13697
|
super();
|
|
13634
13698
|
this.__registerHost();
|
|
13635
|
-
|
|
13699
|
+
this.__attachShadow();
|
|
13700
|
+
}
|
|
13701
|
+
// --------------------------------------------------------------------------
|
|
13702
|
+
//
|
|
13703
|
+
// Public Methods
|
|
13704
|
+
//
|
|
13705
|
+
// --------------------------------------------------------------------------
|
|
13706
|
+
/** Sets focus on the component. */
|
|
13707
|
+
async setFocus() {
|
|
13708
|
+
const firstListItem = this.el.querySelector(`calcite-list-item:not([non-interactive])`);
|
|
13709
|
+
firstListItem === null || firstListItem === void 0 ? void 0 : firstListItem.setFocus();
|
|
13636
13710
|
}
|
|
13637
13711
|
// --------------------------------------------------------------------------
|
|
13638
13712
|
//
|
|
@@ -13642,6 +13716,7 @@ let CalciteList$1 = class extends HTMLElement {
|
|
|
13642
13716
|
render() {
|
|
13643
13717
|
return (h(Host, { role: "list" }, h("div", { class: CSS$p.container }, h("slot", null))));
|
|
13644
13718
|
}
|
|
13719
|
+
get el() { return this; }
|
|
13645
13720
|
static get style() { return calciteListCss; }
|
|
13646
13721
|
};
|
|
13647
13722
|
|
|
@@ -13671,7 +13746,7 @@ let CalciteListItem$1 = class extends HTMLElement {
|
|
|
13671
13746
|
constructor() {
|
|
13672
13747
|
super();
|
|
13673
13748
|
this.__registerHost();
|
|
13674
|
-
|
|
13749
|
+
this.__attachShadow();
|
|
13675
13750
|
// --------------------------------------------------------------------------
|
|
13676
13751
|
//
|
|
13677
13752
|
// Properties
|
|
@@ -13688,6 +13763,16 @@ let CalciteListItem$1 = class extends HTMLElement {
|
|
|
13688
13763
|
}
|
|
13689
13764
|
// --------------------------------------------------------------------------
|
|
13690
13765
|
//
|
|
13766
|
+
// Public Methods
|
|
13767
|
+
//
|
|
13768
|
+
// --------------------------------------------------------------------------
|
|
13769
|
+
/** Sets focus on the component. */
|
|
13770
|
+
async setFocus() {
|
|
13771
|
+
var _a;
|
|
13772
|
+
(_a = this.focusEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
13773
|
+
}
|
|
13774
|
+
// --------------------------------------------------------------------------
|
|
13775
|
+
//
|
|
13691
13776
|
// Render Methods
|
|
13692
13777
|
//
|
|
13693
13778
|
// --------------------------------------------------------------------------
|
|
@@ -13714,7 +13799,7 @@ let CalciteListItem$1 = class extends HTMLElement {
|
|
|
13714
13799
|
renderContentContainer() {
|
|
13715
13800
|
const { disabled, nonInteractive } = this;
|
|
13716
13801
|
const content = [this.renderContentStart(), this.renderContent(), this.renderContentEnd()];
|
|
13717
|
-
return !nonInteractive ? (h("button", { class: { [CSS$o.contentContainer]: true, [CSS$o.contentContainerButton]: true }, disabled: disabled }, content)) : (h("div", { class: CSS$o.contentContainer }, content));
|
|
13802
|
+
return !nonInteractive ? (h("button", { class: { [CSS$o.contentContainer]: true, [CSS$o.contentContainerButton]: true }, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (h("div", { class: CSS$o.contentContainer, ref: () => (this.focusEl = null) }, content));
|
|
13718
13803
|
}
|
|
13719
13804
|
render() {
|
|
13720
13805
|
return (h(Host, { role: "listitem" }, h("div", { class: CSS$o.container }, this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), h("div", { class: CSS$o.nestedContainer }, h("slot", null))));
|
|
@@ -13735,7 +13820,7 @@ let CalciteListItemGroup$1 = class extends HTMLElement {
|
|
|
13735
13820
|
constructor() {
|
|
13736
13821
|
super();
|
|
13737
13822
|
this.__registerHost();
|
|
13738
|
-
|
|
13823
|
+
this.__attachShadow();
|
|
13739
13824
|
}
|
|
13740
13825
|
// --------------------------------------------------------------------------
|
|
13741
13826
|
//
|
|
@@ -13754,13 +13839,13 @@ let CalciteListItemGroup$1 = class extends HTMLElement {
|
|
|
13754
13839
|
static get style() { return calciteListItemGroupCss; }
|
|
13755
13840
|
};
|
|
13756
13841
|
|
|
13757
|
-
const calciteLoaderCss = "@charset \"UTF-8\";@-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{-ms-flex-align:center;align-items:center;position:relative;-ms-flex-pack:center;justify-content:center;display:none;margin-left:auto;margin-right:auto;opacity:1;padding-top:4rem;padding-bottom:4rem;min-height:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;-webkit-transform:scale(1, 1);transform:scale(1, 1);animation:loader-color-shift 6s alternate-reverse infinite linear}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.25rem}:host([no-padding]){padding-top:0;padding-bottom:0}:host([active]){display:-ms-flexbox;display:flex}.loader__text{display:block;font-size:var(--calcite-font-size--2);line-height:1rem;text-align:center;color:var(--calcite-ui-text-1);margin-top:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{display:block;position:absolute;color:var(--calcite-ui-text-1);text-align:center;font-size:var(--calcite-loader-font-size);width:var(--calcite-loader-size);
|
|
13842
|
+
const calciteLoaderCss = "@charset \"UTF-8\";@-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{-ms-flex-align:center;align-items:center;position:relative;-ms-flex-pack:center;justify-content:center;display:none;margin-left:auto;margin-right:auto;opacity:1;padding-top:4rem;padding-bottom:4rem;min-height:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;-webkit-transform:scale(1, 1);transform:scale(1, 1);animation:loader-color-shift 6s alternate-reverse infinite linear}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.25rem}:host([no-padding]){padding-top:0;padding-bottom:0}:host([active]){display:-ms-flexbox;display:flex}.loader__text{display:block;font-size:var(--calcite-font-size--2);line-height:1rem;text-align:center;color:var(--calcite-ui-text-1);margin-top:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{display:block;position:absolute;color:var(--calcite-ui-text-1);text-align:center;font-size:var(--calcite-loader-font-size);width:var(--calcite-loader-size);left:50%;margin-left:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svgs{position:absolute;overflow:visible;opacity:1;width:var(--calcite-loader-size);height:var(--calcite-loader-size);left:50%;margin-left:calc(var(--calcite-loader-size) / 2 * -1);-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svg{position:absolute;overflow:visible;top:0;left:0;-webkit-transform-origin:center;transform-origin:center;width:var(--calcite-loader-size);height:var(--calcite-loader-size);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-name:loader-clockwise;animation-name:loader-clockwise}@supports (display: grid){.loader__svg--1{-webkit-animation-name:loader-offset-1;animation-name:loader-offset-1}.loader__svg--2{-webkit-animation-name:loader-offset-2;animation-name:loader-offset-2}.loader__svg--3{-webkit-animation-name:loader-offset-3;animation-name:loader-offset-3}}:host([type=determinate]){-webkit-animation:none;animation:none;stroke:var(--calcite-ui-border-3)}:host([type=determinate]) .loader__svg--3{-webkit-animation:none;animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transition:all 100ms linear;transition:all 100ms linear}:host([inline]){position:relative;margin:0;padding-top:0;padding-bottom:0;-webkit-animation:none;animation:none;stroke:currentColor;stroke-width:2;height:var(--calcite-loader-size-inline);min-height:var(--calcite-loader-size-inline);width:var(--calcite-loader-size-inline);margin-right:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([inline][dir=rtl]){margin-right:0;margin-left:calc(var(--calcite-loader-size-inline) * 0.5)}:host([active][inline]){display:inline-block}:host([inline]) .loader__svgs{top:0;left:0;margin:0;width:var(--calcite-loader-size-inline);height:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{width:var(--calcite-loader-size-inline);height:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity 200ms linear 1000ms, -webkit-transform 200ms linear 1000ms;transition:opacity 200ms linear 1000ms, -webkit-transform 200ms linear 1000ms;transition:opacity 200ms linear 1000ms, transform 200ms linear 1000ms;transition:opacity 200ms linear 1000ms, transform 200ms linear 1000ms, -webkit-transform 200ms linear 1000ms}:host([complete]) .loader__svgs{opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity 180ms linear 800ms, -webkit-transform 180ms linear 800ms;transition:opacity 180ms linear 800ms, -webkit-transform 180ms linear 800ms;transition:opacity 180ms linear 800ms, transform 180ms linear 800ms;transition:opacity 180ms linear 800ms, transform 180ms linear 800ms, -webkit-transform 180ms linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-ui-brand);-webkit-transform:scale(1.05, 1.05);transform:scale(1.05, 1.05);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:color 200ms linear, -webkit-transform 200ms linear;transition:color 200ms linear, -webkit-transform 200ms linear;transition:color 200ms linear, transform 200ms linear;transition:color 200ms linear, transform 200ms linear, -webkit-transform 200ms linear}.loader__svg--1{stroke-dasharray:27.9252444444% 139.6262222222%;-webkit-animation-duration:0.72s;animation-duration:0.72s}@-webkit-keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}.loader__svg--2{stroke-dasharray:55.8504888889% 139.6262222222%;-webkit-animation-duration:0.96s;animation-duration:0.96s}@-webkit-keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}.loader__svg--3{stroke-dasharray:13.9626222222% 139.6262222222%;-webkit-animation-duration:1.16s;animation-duration:1.16s}@-webkit-keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@-webkit-keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@-webkit-keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";
|
|
13758
13843
|
|
|
13759
13844
|
let CalciteLoader$1 = class extends HTMLElement {
|
|
13760
13845
|
constructor() {
|
|
13761
13846
|
super();
|
|
13762
13847
|
this.__registerHost();
|
|
13763
|
-
|
|
13848
|
+
this.__attachShadow();
|
|
13764
13849
|
//--------------------------------------------------------------------------
|
|
13765
13850
|
//
|
|
13766
13851
|
// Properties
|
|
@@ -13972,7 +14057,7 @@ let CalciteModal$1 = class extends HTMLElement {
|
|
|
13972
14057
|
constructor() {
|
|
13973
14058
|
super();
|
|
13974
14059
|
this.__registerHost();
|
|
13975
|
-
|
|
14060
|
+
this.__attachShadow();
|
|
13976
14061
|
this.calciteModalOpen = createEvent(this, "calciteModalOpen", 7);
|
|
13977
14062
|
this.calciteModalClose = createEvent(this, "calciteModalClose", 7);
|
|
13978
14063
|
//--------------------------------------------------------------------------
|
|
@@ -14204,13 +14289,13 @@ const CSS$l = {
|
|
|
14204
14289
|
icon: "notice-icon"
|
|
14205
14290
|
};
|
|
14206
14291
|
|
|
14207
|
-
const calciteNoticeCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375;margin-bottom:0.
|
|
14292
|
+
const calciteNoticeCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size--2);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{display:none;margin-left:auto;margin-right:auto;max-width:100%;-ms-flex-align:center;align-items:center;width:var(--calcite-notice-width)}.container{display:none;text-align:left;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;opacity:0;pointer-events:none;background-color:var(--calcite-ui-foreground-1);max-height:0;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;border-left:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([active]) .container{display:-ms-flexbox;display:flex;-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);-ms-flex-align:center;align-items:center;opacity:1;max-height:100%;border-width:2px;pointer-events:auto}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){display:inline;margin:0;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-right:var(--calcite-notice-spacing-token-small)}.calcite--rtl slot[name=message]::slotted(*),.calcite--rtl *::slotted([slot=message]){margin-right:0;margin-left:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small) 0}.notice-content:first-of-type:not(:only-child){padding-left:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.notice-close{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:transparent;border-style:none;outline:2px solid transparent;outline-offset:2px;cursor:pointer;color:var(--calcite-ui-text-3);-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}.calcite--rtl{text-align:right;border-left:none;border-right:0px solid}.calcite--rtl .notice-content{padding:var(--calcite-notice-spacing-token-small) 0 var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small)}.calcite--rtl .notice-content:first-of-type:not(:only-child){padding-right:var(--calcite-notice-spacing-token-large)}.calcite--rtl .notice-content:only-of-type{padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large)}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";
|
|
14208
14293
|
|
|
14209
14294
|
let CalciteNotice$1 = class extends HTMLElement {
|
|
14210
14295
|
constructor() {
|
|
14211
14296
|
super();
|
|
14212
14297
|
this.__registerHost();
|
|
14213
|
-
|
|
14298
|
+
this.__attachShadow();
|
|
14214
14299
|
this.calciteNoticeClose = createEvent(this, "calciteNoticeClose", 7);
|
|
14215
14300
|
this.calciteNoticeOpen = createEvent(this, "calciteNoticeOpen", 7);
|
|
14216
14301
|
//--------------------------------------------------------------------------
|
|
@@ -14294,7 +14379,7 @@ let CalciteOption$1 = class extends HTMLElement {
|
|
|
14294
14379
|
constructor() {
|
|
14295
14380
|
super();
|
|
14296
14381
|
this.__registerHost();
|
|
14297
|
-
|
|
14382
|
+
this.__attachShadow();
|
|
14298
14383
|
this.calciteOptionChange = createEvent(this, "calciteOptionChange", 7);
|
|
14299
14384
|
//--------------------------------------------------------------------------
|
|
14300
14385
|
//
|
|
@@ -14373,7 +14458,7 @@ let CalciteOptionGroup$1 = class extends HTMLElement {
|
|
|
14373
14458
|
constructor() {
|
|
14374
14459
|
super();
|
|
14375
14460
|
this.__registerHost();
|
|
14376
|
-
|
|
14461
|
+
this.__attachShadow();
|
|
14377
14462
|
this.calciteOptionGroupChange = createEvent(this, "calciteOptionGroupChange", 7);
|
|
14378
14463
|
//--------------------------------------------------------------------------
|
|
14379
14464
|
//
|
|
@@ -14425,7 +14510,7 @@ let CalcitePagination$1 = class extends HTMLElement {
|
|
|
14425
14510
|
constructor() {
|
|
14426
14511
|
super();
|
|
14427
14512
|
this.__registerHost();
|
|
14428
|
-
|
|
14513
|
+
this.__attachShadow();
|
|
14429
14514
|
this.calcitePaginationUpdate = createEvent(this, "calcitePaginationUpdate", 7);
|
|
14430
14515
|
this.calcitePaginationChange = createEvent(this, "calcitePaginationChange", 7);
|
|
14431
14516
|
//--------------------------------------------------------------------------
|
|
@@ -14613,13 +14698,13 @@ const TEXT$7 = {
|
|
|
14613
14698
|
};
|
|
14614
14699
|
const HEADING_LEVEL$4 = 3;
|
|
14615
14700
|
|
|
14616
|
-
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-2);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}.header-content{
|
|
14701
|
+
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-2);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-2);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-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;overflow: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:inline-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;z-index:1}";
|
|
14617
14702
|
|
|
14618
14703
|
let CalcitePanel$1 = class extends HTMLElement {
|
|
14619
14704
|
constructor() {
|
|
14620
14705
|
super();
|
|
14621
14706
|
this.__registerHost();
|
|
14622
|
-
|
|
14707
|
+
this.__attachShadow();
|
|
14623
14708
|
this.calcitePanelDismissedChange = createEvent(this, "calcitePanelDismissedChange", 7);
|
|
14624
14709
|
this.calcitePanelScroll = createEvent(this, "calcitePanelScroll", 7);
|
|
14625
14710
|
this.calcitePanelBackClick = createEvent(this, "calcitePanelBackClick", 7);
|
|
@@ -15092,7 +15177,7 @@ let CalcitePickList$1 = class extends HTMLElement {
|
|
|
15092
15177
|
constructor() {
|
|
15093
15178
|
super();
|
|
15094
15179
|
this.__registerHost();
|
|
15095
|
-
|
|
15180
|
+
this.__attachShadow();
|
|
15096
15181
|
this.calciteListChange = createEvent(this, "calciteListChange", 7);
|
|
15097
15182
|
// --------------------------------------------------------------------------
|
|
15098
15183
|
//
|
|
@@ -15225,7 +15310,7 @@ let CalcitePickListGroup$1 = class extends HTMLElement {
|
|
|
15225
15310
|
constructor() {
|
|
15226
15311
|
super();
|
|
15227
15312
|
this.__registerHost();
|
|
15228
|
-
|
|
15313
|
+
this.__attachShadow();
|
|
15229
15314
|
}
|
|
15230
15315
|
// --------------------------------------------------------------------------
|
|
15231
15316
|
//
|
|
@@ -15285,7 +15370,7 @@ let CalcitePickListItem$1 = class extends HTMLElement {
|
|
|
15285
15370
|
constructor() {
|
|
15286
15371
|
super();
|
|
15287
15372
|
this.__registerHost();
|
|
15288
|
-
|
|
15373
|
+
this.__attachShadow();
|
|
15289
15374
|
this.calciteListItemChange = createEvent(this, "calciteListItemChange", 7);
|
|
15290
15375
|
this.calciteListItemRemove = createEvent(this, "calciteListItemRemove", 7);
|
|
15291
15376
|
this.calciteListItemPropsChange = createEvent(this, "calciteListItemPropsChange", 7);
|
|
@@ -15454,7 +15539,7 @@ let CalcitePopover$1 = class extends HTMLElement {
|
|
|
15454
15539
|
constructor() {
|
|
15455
15540
|
super();
|
|
15456
15541
|
this.__registerHost();
|
|
15457
|
-
|
|
15542
|
+
this.__attachShadow();
|
|
15458
15543
|
this.calcitePopoverClose = createEvent(this, "calcitePopoverClose", 7);
|
|
15459
15544
|
this.calcitePopoverOpen = createEvent(this, "calcitePopoverOpen", 7);
|
|
15460
15545
|
// --------------------------------------------------------------------------
|
|
@@ -15601,7 +15686,7 @@ let CalcitePopover$1 = class extends HTMLElement {
|
|
|
15601
15686
|
const { popper, el, placement } = this;
|
|
15602
15687
|
const modifiers = this.getModifiers();
|
|
15603
15688
|
popper
|
|
15604
|
-
? updatePopper({
|
|
15689
|
+
? await updatePopper({
|
|
15605
15690
|
el,
|
|
15606
15691
|
modifiers,
|
|
15607
15692
|
placement,
|
|
@@ -15724,7 +15809,7 @@ let CalcitePopoverManager$1 = class extends HTMLElement {
|
|
|
15724
15809
|
constructor() {
|
|
15725
15810
|
super();
|
|
15726
15811
|
this.__registerHost();
|
|
15727
|
-
|
|
15812
|
+
this.__attachShadow();
|
|
15728
15813
|
// --------------------------------------------------------------------------
|
|
15729
15814
|
//
|
|
15730
15815
|
// Properties
|
|
@@ -15790,7 +15875,7 @@ let CalciteProgress$1 = class extends HTMLElement {
|
|
|
15790
15875
|
constructor() {
|
|
15791
15876
|
super();
|
|
15792
15877
|
this.__registerHost();
|
|
15793
|
-
|
|
15878
|
+
this.__attachShadow();
|
|
15794
15879
|
/** Use indeterminate if finding actual progress value is impossible */
|
|
15795
15880
|
this.type = "determinate";
|
|
15796
15881
|
/** Fraction completed, in the range of 0 - 1.0 */
|
|
@@ -15817,7 +15902,7 @@ let CalciteRadio$1 = class extends HTMLElement {
|
|
|
15817
15902
|
constructor() {
|
|
15818
15903
|
super();
|
|
15819
15904
|
this.__registerHost();
|
|
15820
|
-
|
|
15905
|
+
this.__attachShadow();
|
|
15821
15906
|
//--------------------------------------------------------------------------
|
|
15822
15907
|
//
|
|
15823
15908
|
// Properties
|
|
@@ -15913,21 +15998,6 @@ let CalciteRadioButton$1 = class extends HTMLElement {
|
|
|
15913
15998
|
this.clickHandler = () => {
|
|
15914
15999
|
this.toggle();
|
|
15915
16000
|
};
|
|
15916
|
-
this.onLabelClick = (event) => {
|
|
15917
|
-
if (!this.disabled && !this.hidden) {
|
|
15918
|
-
this.uncheckOtherRadioButtonsInGroup();
|
|
15919
|
-
const label = event.currentTarget;
|
|
15920
|
-
const radioButton = label.for
|
|
15921
|
-
? this.rootNode.querySelector(`calcite-radio-button[id="${label.for}"]`)
|
|
15922
|
-
: label.querySelector(`calcite-radio-button[name="${this.name}"]`);
|
|
15923
|
-
if (radioButton) {
|
|
15924
|
-
radioButton.checked = true;
|
|
15925
|
-
radioButton.focused = true;
|
|
15926
|
-
}
|
|
15927
|
-
this.calciteRadioButtonChange.emit();
|
|
15928
|
-
this.setFocus();
|
|
15929
|
-
}
|
|
15930
|
-
};
|
|
15931
16001
|
this.setInputEl = (el) => {
|
|
15932
16002
|
this.inputEl = el;
|
|
15933
16003
|
};
|
|
@@ -15999,6 +16069,21 @@ let CalciteRadioButton$1 = class extends HTMLElement {
|
|
|
15999
16069
|
async setFocus() {
|
|
16000
16070
|
focusElement(this.inputEl);
|
|
16001
16071
|
}
|
|
16072
|
+
onLabelClick(event) {
|
|
16073
|
+
if (!this.disabled && !this.hidden) {
|
|
16074
|
+
this.uncheckOtherRadioButtonsInGroup();
|
|
16075
|
+
const label = event.currentTarget;
|
|
16076
|
+
const radioButton = label.for
|
|
16077
|
+
? this.rootNode.querySelector(`calcite-radio-button[id="${label.for}"]`)
|
|
16078
|
+
: label.querySelector(`calcite-radio-button[name="${this.name}"]`);
|
|
16079
|
+
if (radioButton) {
|
|
16080
|
+
radioButton.checked = true;
|
|
16081
|
+
radioButton.focused = true;
|
|
16082
|
+
}
|
|
16083
|
+
this.calciteRadioButtonChange.emit();
|
|
16084
|
+
this.setFocus();
|
|
16085
|
+
}
|
|
16086
|
+
}
|
|
16002
16087
|
checkLastRadioButton() {
|
|
16003
16088
|
const radioButtons = Array.from(this.rootNode.querySelectorAll("calcite-radio-button")).filter((radioButton) => radioButton.name === this.name);
|
|
16004
16089
|
const checkedRadioButtons = radioButtons.filter((radioButton) => radioButton.checked);
|
|
@@ -16104,7 +16189,7 @@ let CalciteRadioButtonGroup$1 = class extends HTMLElement {
|
|
|
16104
16189
|
constructor() {
|
|
16105
16190
|
super();
|
|
16106
16191
|
this.__registerHost();
|
|
16107
|
-
|
|
16192
|
+
this.__attachShadow();
|
|
16108
16193
|
this.calciteRadioButtonGroupChange = createEvent(this, "calciteRadioButtonGroupChange", 7);
|
|
16109
16194
|
//--------------------------------------------------------------------------
|
|
16110
16195
|
//
|
|
@@ -16191,7 +16276,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
|
|
|
16191
16276
|
constructor() {
|
|
16192
16277
|
super();
|
|
16193
16278
|
this.__registerHost();
|
|
16194
|
-
|
|
16279
|
+
this.__attachShadow();
|
|
16195
16280
|
this.calciteRadioGroupChange = createEvent(this, "calciteRadioGroupChange", 7);
|
|
16196
16281
|
//--------------------------------------------------------------------------
|
|
16197
16282
|
//
|
|
@@ -16224,14 +16309,6 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
|
|
|
16224
16309
|
this.el.appendChild(input);
|
|
16225
16310
|
return input;
|
|
16226
16311
|
})();
|
|
16227
|
-
//--------------------------------------------------------------------------
|
|
16228
|
-
//
|
|
16229
|
-
// Private Methods
|
|
16230
|
-
//
|
|
16231
|
-
//--------------------------------------------------------------------------
|
|
16232
|
-
this.onLabelClick = () => {
|
|
16233
|
-
this.setFocus();
|
|
16234
|
-
};
|
|
16235
16312
|
}
|
|
16236
16313
|
handleNameChange(value) {
|
|
16237
16314
|
this.hiddenInput.name = value;
|
|
@@ -16348,6 +16425,14 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
|
|
|
16348
16425
|
var _a;
|
|
16349
16426
|
(_a = (this.selectedItem || this.getItems()[0])) === null || _a === void 0 ? void 0 : _a.focus();
|
|
16350
16427
|
}
|
|
16428
|
+
//--------------------------------------------------------------------------
|
|
16429
|
+
//
|
|
16430
|
+
// Private Methods
|
|
16431
|
+
//
|
|
16432
|
+
//--------------------------------------------------------------------------
|
|
16433
|
+
onLabelClick() {
|
|
16434
|
+
this.setFocus();
|
|
16435
|
+
}
|
|
16351
16436
|
getItems() {
|
|
16352
16437
|
return this.el.querySelectorAll("calcite-radio-group-item");
|
|
16353
16438
|
}
|
|
@@ -16391,13 +16476,13 @@ const CSS$d = {
|
|
|
16391
16476
|
radioGroupItemIcon: "radio-group-item-icon"
|
|
16392
16477
|
};
|
|
16393
16478
|
|
|
16394
|
-
const calciteRadioGroupItemCss = "@-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-item-align:stretch;align-self:stretch;cursor:pointer;font-weight:var(--calcite-font-weight-normal);-webkit-transition:background-color 0.1s ease-in-out, border-color 0.1s ease-in-out;transition:background-color 0.1s ease-in-out, border-color 0.1s ease-in-out}:host label{display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;color:var(--calcite-ui-text-3);-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none;-ms-flex-align:center;align-items:center;margin:0.125rem;-webkit-transition:background-color 0.1s ease-in-out, border-color 0.1s ease-in-out;transition:background-color 0.1s ease-in-out, border-color 0.1s ease-in-out}.label--horizontal{-ms-flex-pack:center;justify-content:center}:host{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-2px;outline-offset:-1px}.label--scale-s{font-size:var(--calcite-font-size--2);line-height:1rem;padding-left:0.5rem;padding-right:0.5rem;padding-top:0.125rem;padding-bottom:0.125rem}.label--scale-m{font-size:var(--calcite-font-size--1);line-height:1rem;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.375rem;padding-bottom:0.375rem}.label--scale-l{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-left:1rem;padding-right:1rem;padding-top:0.625rem;padding-bottom:0.625rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{background-color:var(--calcite-ui-brand);border-color:var(--calcite-ui-brand);cursor:default;color:var(--calcite-ui-background)}:host([checked]) .label--outline{background-color:var(--calcite-ui-foreground-1);border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}::slotted(input){display:none}.radio-group-item-icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin:0
|
|
16479
|
+
const calciteRadioGroupItemCss = "@-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-item-align:stretch;align-self:stretch;cursor:pointer;font-weight:var(--calcite-font-weight-normal);-webkit-transition:background-color 0.1s ease-in-out, border-color 0.1s ease-in-out;transition:background-color 0.1s ease-in-out, border-color 0.1s ease-in-out}:host label{display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;color:var(--calcite-ui-text-3);-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none;-ms-flex-align:center;align-items:center;margin:0.125rem;-webkit-transition:background-color 0.1s ease-in-out, border-color 0.1s ease-in-out, color 0.1s ease-in-out;transition:background-color 0.1s ease-in-out, border-color 0.1s ease-in-out, color 0.1s ease-in-out}.label--horizontal{-ms-flex-pack:center;justify-content:center}:host{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-2px;outline-offset:-1px}.label--scale-s{font-size:var(--calcite-font-size--2);line-height:1rem;padding-left:0.5rem;padding-right:0.5rem;padding-top:0.125rem;padding-bottom:0.125rem}.label--scale-m{font-size:var(--calcite-font-size--1);line-height:1rem;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.375rem;padding-bottom:0.375rem}.label--scale-l{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-left:1rem;padding-right:1rem;padding-top:0.625rem;padding-bottom:0.625rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{background-color:var(--calcite-ui-brand);border-color:var(--calcite-ui-brand);cursor:default;color:var(--calcite-ui-background)}:host([checked]) .label--outline{background-color:var(--calcite-ui-foreground-1);border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}::slotted(input){display:none}.radio-group-item-icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin:0;line-height:inherit}:host([icon-position=start]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-position=end]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-position=start]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-position=end]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-position=start]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-position=end]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:1rem;margin-inline-start:1rem}";
|
|
16395
16480
|
|
|
16396
16481
|
let CalciteRadioGroupItem$1 = class extends HTMLElement {
|
|
16397
16482
|
constructor() {
|
|
16398
16483
|
super();
|
|
16399
16484
|
this.__registerHost();
|
|
16400
|
-
|
|
16485
|
+
this.__attachShadow();
|
|
16401
16486
|
this.calciteRadioGroupItemChange = createEvent(this, "calciteRadioGroupItemChange", 7);
|
|
16402
16487
|
//--------------------------------------------------------------------------
|
|
16403
16488
|
//
|
|
@@ -16497,7 +16582,7 @@ let CalciteRating$1 = class extends HTMLElement {
|
|
|
16497
16582
|
constructor() {
|
|
16498
16583
|
super();
|
|
16499
16584
|
this.__registerHost();
|
|
16500
|
-
|
|
16585
|
+
this.__attachShadow();
|
|
16501
16586
|
this.calciteRatingChange = createEvent(this, "calciteRatingChange", 7);
|
|
16502
16587
|
// --------------------------------------------------------------------------
|
|
16503
16588
|
//
|
|
@@ -16522,14 +16607,6 @@ let CalciteRating$1 = class extends HTMLElement {
|
|
|
16522
16607
|
* @default "Stars: ${num}"
|
|
16523
16608
|
*/
|
|
16524
16609
|
this.intlStars = TEXT$4.stars;
|
|
16525
|
-
//--------------------------------------------------------------------------
|
|
16526
|
-
//
|
|
16527
|
-
// Private Methods
|
|
16528
|
-
//
|
|
16529
|
-
//--------------------------------------------------------------------------
|
|
16530
|
-
this.onLabelClick = () => {
|
|
16531
|
-
this.setFocus();
|
|
16532
|
-
};
|
|
16533
16610
|
this.guid = `calcite-ratings-${guid()}`;
|
|
16534
16611
|
}
|
|
16535
16612
|
//--------------------------------------------------------------------------
|
|
@@ -16578,6 +16655,14 @@ let CalciteRating$1 = class extends HTMLElement {
|
|
|
16578
16655
|
return (h(Fragment, null, h("fieldset", { class: { fieldset: true, [CSS_UTILITY.rtl]: dir === "rtl" }, onBlur: () => (this.hoverValue = null), onMouseLeave: () => (this.hoverValue = null), onTouchEnd: () => (this.hoverValue = null) }, h("legend", { class: "visually-hidden" }, intlRating), this.renderStars()), (count || average) && showChip ? (h("calcite-chip", { class: { [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir, scale: scale, value: count === null || count === void 0 ? void 0 : count.toString() }, !!average && h("span", { class: "number--average" }, average.toString()), !!count && h("span", { class: "number--count" }, "(", count === null || count === void 0 ? void 0 :
|
|
16579
16656
|
count.toString(), ")"))) : null));
|
|
16580
16657
|
}
|
|
16658
|
+
//--------------------------------------------------------------------------
|
|
16659
|
+
//
|
|
16660
|
+
// Private Methods
|
|
16661
|
+
//
|
|
16662
|
+
//--------------------------------------------------------------------------
|
|
16663
|
+
onLabelClick() {
|
|
16664
|
+
this.setFocus();
|
|
16665
|
+
}
|
|
16581
16666
|
updateValue(value) {
|
|
16582
16667
|
this.value = value;
|
|
16583
16668
|
this.calciteRatingChange.emit({ value });
|
|
@@ -16609,7 +16694,7 @@ let CalciteScrim$1 = class extends HTMLElement {
|
|
|
16609
16694
|
constructor() {
|
|
16610
16695
|
super();
|
|
16611
16696
|
this.__registerHost();
|
|
16612
|
-
|
|
16697
|
+
this.__attachShadow();
|
|
16613
16698
|
// --------------------------------------------------------------------------
|
|
16614
16699
|
//
|
|
16615
16700
|
// Properties
|
|
@@ -16659,7 +16744,7 @@ let CalciteSelect$1 = class extends HTMLElement {
|
|
|
16659
16744
|
constructor() {
|
|
16660
16745
|
super();
|
|
16661
16746
|
this.__registerHost();
|
|
16662
|
-
|
|
16747
|
+
this.__attachShadow();
|
|
16663
16748
|
this.calciteSelectChange = createEvent(this, "calciteSelectChange", 7);
|
|
16664
16749
|
//--------------------------------------------------------------------------
|
|
16665
16750
|
//
|
|
@@ -16685,14 +16770,6 @@ let CalciteSelect$1 = class extends HTMLElement {
|
|
|
16685
16770
|
this.selectFromNativeOption(selected);
|
|
16686
16771
|
requestAnimationFrame(() => this.emitChangeEvent());
|
|
16687
16772
|
};
|
|
16688
|
-
//--------------------------------------------------------------------------
|
|
16689
|
-
//
|
|
16690
|
-
// Private Methods
|
|
16691
|
-
//
|
|
16692
|
-
//--------------------------------------------------------------------------
|
|
16693
|
-
this.onLabelClick = () => {
|
|
16694
|
-
this.setFocus();
|
|
16695
|
-
};
|
|
16696
16773
|
this.populateInternalSelect = () => {
|
|
16697
16774
|
const optionsAndGroups = Array.from(this.el.children);
|
|
16698
16775
|
this.clearInternalSelect();
|
|
@@ -16748,6 +16825,14 @@ let CalciteSelect$1 = class extends HTMLElement {
|
|
|
16748
16825
|
this.deselectAllExcept(optionOrGroup);
|
|
16749
16826
|
}
|
|
16750
16827
|
}
|
|
16828
|
+
//--------------------------------------------------------------------------
|
|
16829
|
+
//
|
|
16830
|
+
// Private Methods
|
|
16831
|
+
//
|
|
16832
|
+
//--------------------------------------------------------------------------
|
|
16833
|
+
onLabelClick() {
|
|
16834
|
+
this.setFocus();
|
|
16835
|
+
}
|
|
16751
16836
|
updateNativeElement(optionOrGroup, nativeOptionOrGroup) {
|
|
16752
16837
|
nativeOptionOrGroup.disabled = optionOrGroup.disabled;
|
|
16753
16838
|
nativeOptionOrGroup.label = optionOrGroup.label;
|
|
@@ -16845,7 +16930,7 @@ let CalciteShell$1 = class extends HTMLElement {
|
|
|
16845
16930
|
constructor() {
|
|
16846
16931
|
super();
|
|
16847
16932
|
this.__registerHost();
|
|
16848
|
-
|
|
16933
|
+
this.__attachShadow();
|
|
16849
16934
|
// --------------------------------------------------------------------------
|
|
16850
16935
|
//
|
|
16851
16936
|
// Properties
|
|
@@ -16912,7 +16997,7 @@ let CalciteShellCenterRow$1 = class extends HTMLElement {
|
|
|
16912
16997
|
constructor() {
|
|
16913
16998
|
super();
|
|
16914
16999
|
this.__registerHost();
|
|
16915
|
-
|
|
17000
|
+
this.__attachShadow();
|
|
16916
17001
|
// --------------------------------------------------------------------------
|
|
16917
17002
|
//
|
|
16918
17003
|
// Properties
|
|
@@ -16969,7 +17054,7 @@ let CalciteShellPanel$1 = class extends HTMLElement {
|
|
|
16969
17054
|
constructor() {
|
|
16970
17055
|
super();
|
|
16971
17056
|
this.__registerHost();
|
|
16972
|
-
|
|
17057
|
+
this.__attachShadow();
|
|
16973
17058
|
this.calciteShellPanelToggle = createEvent(this, "calciteShellPanelToggle", 7);
|
|
16974
17059
|
// --------------------------------------------------------------------------
|
|
16975
17060
|
//
|
|
@@ -17023,13 +17108,13 @@ let CalciteShellPanel$1 = class extends HTMLElement {
|
|
|
17023
17108
|
static get style() { return calciteShellPanelCss; }
|
|
17024
17109
|
};
|
|
17025
17110
|
|
|
17026
|
-
const calciteSliderCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}.container{display:block;position:relative;padding:7px 0;margin:7px 0.5rem}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) .graph .graph-path--highlight{fill:var(--calcite-ui-text-3)}:host([label-handles]) .container,:host([precise]:not([precise=false])) .container{margin-top:21px}:host([label-ticks]),:host([precise]:not([precise=false])) .container--range{margin-bottom:21px}:host([precise]:not([precise=false])[label-handles]) .container{margin-top:35px}:host([precise]:not([precise=false])[label-handles]) .container--range{margin-bottom:35px}.thumb{position:absolute;border-style:none;background-color:transparent;cursor:pointer;outline:2px solid transparent;outline-offset:2px;padding:0;margin:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;font-family:inherit;z-index:2;-webkit-transform:translate(7px, -8px);transform:translate(7px, -8px)}.thumb .handle__label{font-size:
|
|
17111
|
+
const calciteSliderCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}.container{display:block;position:relative;padding:7px 0;margin:7px 0.5rem}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) .graph .graph-path--highlight{fill:var(--calcite-ui-text-3)}:host([label-handles]) .container,:host([precise]:not([precise=false])) .container{margin-top:21px}:host([label-ticks]),:host([precise]:not([precise=false])) .container--range{margin-bottom:21px}:host([precise]:not([precise=false])[label-handles]) .container{margin-top:35px}:host([precise]:not([precise=false])[label-handles]) .container--range{margin-bottom:35px}.thumb{position:absolute;border-style:none;background-color:transparent;cursor:pointer;outline:2px solid transparent;outline-offset:2px;padding:0;margin:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;font-family:inherit;z-index:2;-webkit-transform:translate(7px, -8px);transform:translate(7px, -8px)}.thumb .handle__label{font-size:var(--calcite-font-size--2);font-weight:500;line-height:1;color:var(--calcite-ui-text-2);margin-bottom:5px}.thumb .handle__label.static,.thumb .handle__label.transformed{opacity:0;position:absolute;top:0;bottom:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;height:14px;width:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:100%;background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border 0.25s ease, background-color 0.25s ease, -webkit-box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, -webkit-box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, -webkit-box-shadow 0.25s ease}.thumb .handle-extension{width:2px;height:7px;background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb--minValue{-webkit-transform:translate(-7px, -8px);transform:translate(-7px, -8px)}:host([label-handles]) .thumb{-webkit-transform:translate(50%, -25px);transform:translate(50%, -25px)}:host([label-handles]) .thumb--minValue{-webkit-transform:translate(-50%, -25px);transform:translate(-50%, -25px)}:host([has-histogram][label-handles]) .thumb{-webkit-transform:translate(50%, -8px);transform:translate(50%, -8px)}:host([has-histogram][label-handles]) .thumb .handle__label{margin-bottom:unset;margin-top:5px}:host([has-histogram][label-handles]) .thumb--minValue{-webkit-transform:translate(-50%, -8px);transform:translate(-50%, -8px)}:host([precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -21px);transform:translate(7px, -21px)}:host([precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-7px, -2px);transform:translate(-7px, -2px)}:host([precise]:not([precise=false])) .thumb--minValue .handle__label{margin-bottom:unset;margin-top:5px}:host([has-histogram][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -2px);transform:translate(7px, -2px)}:host([has-histogram][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([ticks][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -20px);transform:translate(7px, -20px)}:host([ticks][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-7px, -3px);transform:translate(-7px, -3px)}:host([has-histogram][ticks][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -3px);transform:translate(7px, -3px)}:host([has-histogram][ticks][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}:host([label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -38px);transform:translate(50%, -38px)}:host([label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([has-histogram][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -2px);transform:translate(50%, -2px)}:host([has-histogram][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([ticks][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -37px);transform:translate(50%, -37px)}:host([ticks][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}:host([has-histogram][ticks][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -3px);transform:translate(50%, -3px)}:host([has-histogram][ticks][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}.thumb:focus,.thumb--active{z-index:3}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{height:2px;border-radius:0;z-index:1;background-color:var(--calcite-ui-border-2);-webkit-transition:all 250ms ease-in;transition:all 250ms ease-in;position:relative}.track__range{position:absolute;top:0;height:2px;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{content:\"\";position:absolute;top:-5px;width:100%;height:14px}.tick{position:absolute;top:-2px;width:2px;height:4px;left:var(--calcite-ui-border-1-offset);margin-left:-2px;border:1px solid var(--calcite-ui-foreground-1);background-color:var(--calcite-ui-border-1)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{position:absolute;font-size:var(--calcite-font-size--2);font-weight:500;color:var(--calcite-ui-text-2);width:4em;margin:14px -2em;text-align:center;display:block;pointer-events:none}.tick__label--min{left:0;margin:14px -3px;text-align:left;-webkit-transition:opacity 150ms;transition:opacity 150ms}.tick__label--max{left:unset;right:0;margin:14px -3px;text-align:right;-webkit-transition:opacity 50ms;transition:opacity 50ms}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max{margin:6px -3px;font-weight:300;color:var(--calcite-ui-text-3)}:host([has-histogram][precise]:not([precise=false])) .tick__label--min,:host([has-histogram][precise]:not([precise=false])) .tick__label--max{margin:6px -3px;font-weight:300;color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3)}:host([mirrored]:not([has-histogram])) .tick__label--min{right:0;left:unset;text-align:right}:host([mirrored]:not([has-histogram])) .tick__label--max{right:unset;left:0;text-align:left}";
|
|
17027
17112
|
|
|
17028
17113
|
let CalciteSlider$1 = class extends HTMLElement {
|
|
17029
17114
|
constructor() {
|
|
17030
17115
|
super();
|
|
17031
17116
|
this.__registerHost();
|
|
17032
|
-
|
|
17117
|
+
this.__attachShadow();
|
|
17033
17118
|
this.calciteSliderInput = createEvent(this, "calciteSliderInput", 7);
|
|
17034
17119
|
this.calciteSliderChange = createEvent(this, "calciteSliderChange", 7);
|
|
17035
17120
|
this.calciteSliderUpdate = createEvent(this, "calciteSliderUpdate", 7);
|
|
@@ -17071,14 +17156,6 @@ let CalciteSlider$1 = class extends HTMLElement {
|
|
|
17071
17156
|
this.minValueDragRange = null;
|
|
17072
17157
|
this.maxValueDragRange = null;
|
|
17073
17158
|
this.tickValues = [];
|
|
17074
|
-
//--------------------------------------------------------------------------
|
|
17075
|
-
//
|
|
17076
|
-
// Private Methods
|
|
17077
|
-
//
|
|
17078
|
-
//--------------------------------------------------------------------------
|
|
17079
|
-
this.onLabelClick = () => {
|
|
17080
|
-
this.setFocus();
|
|
17081
|
-
};
|
|
17082
17159
|
this.dragUpdate = (event) => {
|
|
17083
17160
|
event.preventDefault();
|
|
17084
17161
|
if (this.dragProp) {
|
|
@@ -17270,7 +17347,7 @@ let CalciteSlider$1 = class extends HTMLElement {
|
|
|
17270
17347
|
minHistogramLabeledHandle, !this.precise && !this.labelHandles && handle, !this.hasHistogram && !this.precise && this.labelHandles && labeledHandle, !this.hasHistogram && this.precise && !this.labelHandles && preciseHandle, this.hasHistogram && this.precise && !this.labelHandles && histogramPreciseHandle, !this.hasHistogram && this.precise && this.labelHandles && labeledPreciseHandle, this.hasHistogram && !this.precise && this.labelHandles && histogramLabeledHandle, this.hasHistogram && this.precise && this.labelHandles && histogramLabeledPreciseHandle)));
|
|
17271
17348
|
}
|
|
17272
17349
|
renderGraph() {
|
|
17273
|
-
return this.histogram ? (h("div", { class: "graph" }, h("calcite-graph", { colorStops: this.histogramStops, data: this.histogram, "data-style": "slider-histogram", height: 48, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, width: 300 }))) : null;
|
|
17350
|
+
return this.histogram ? (h("div", { class: "graph" }, h("calcite-graph", { colorStops: this.histogramStops, data: this.histogram, "data-style": "slider-histogram", height: 48, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, max: this.max, min: this.min, width: 300 }))) : null;
|
|
17274
17351
|
}
|
|
17275
17352
|
renderTickLabel(tick) {
|
|
17276
17353
|
const isMinTickLabel = tick === this.min;
|
|
@@ -17279,7 +17356,7 @@ let CalciteSlider$1 = class extends HTMLElement {
|
|
|
17279
17356
|
tick__label: true,
|
|
17280
17357
|
"tick__label--min": isMinTickLabel,
|
|
17281
17358
|
"tick__label--max": isMaxTickLabel
|
|
17282
|
-
} }, tick.toLocaleString()));
|
|
17359
|
+
} }, Math.min(tick, this.max).toLocaleString()));
|
|
17283
17360
|
if (this.labelTicks && !this.hasHistogram && !this.isRange) {
|
|
17284
17361
|
return tickLabel;
|
|
17285
17362
|
}
|
|
@@ -17413,6 +17490,14 @@ let CalciteSlider$1 = class extends HTMLElement {
|
|
|
17413
17490
|
const handle = this.minHandle ? this.minHandle : this.maxHandle;
|
|
17414
17491
|
handle.focus();
|
|
17415
17492
|
}
|
|
17493
|
+
//--------------------------------------------------------------------------
|
|
17494
|
+
//
|
|
17495
|
+
// Private Methods
|
|
17496
|
+
//
|
|
17497
|
+
//--------------------------------------------------------------------------
|
|
17498
|
+
onLabelClick() {
|
|
17499
|
+
this.setFocus();
|
|
17500
|
+
}
|
|
17416
17501
|
shouldMirror() {
|
|
17417
17502
|
return this.mirrored && !this.hasHistogram;
|
|
17418
17503
|
}
|
|
@@ -20735,7 +20820,7 @@ let CalciteSortableList$1 = class extends HTMLElement {
|
|
|
20735
20820
|
constructor() {
|
|
20736
20821
|
super();
|
|
20737
20822
|
this.__registerHost();
|
|
20738
|
-
|
|
20823
|
+
this.__attachShadow();
|
|
20739
20824
|
this.calciteListOrderChange = createEvent(this, "calciteListOrderChange", 7);
|
|
20740
20825
|
/**
|
|
20741
20826
|
* The selector for the handle elements.
|
|
@@ -20895,7 +20980,7 @@ let CalciteSplitButton$1 = class extends HTMLElement {
|
|
|
20895
20980
|
constructor() {
|
|
20896
20981
|
super();
|
|
20897
20982
|
this.__registerHost();
|
|
20898
|
-
|
|
20983
|
+
this.__attachShadow();
|
|
20899
20984
|
this.calciteSplitButtonPrimaryClick = createEvent(this, "calciteSplitButtonPrimaryClick", 7);
|
|
20900
20985
|
this.calciteSplitButtonSecondaryClick = createEvent(this, "calciteSplitButtonSecondaryClick", 7);
|
|
20901
20986
|
/** specify the appearance style of the button, defaults to solid. */
|
|
@@ -20951,7 +21036,7 @@ let CalciteStepper$1 = class extends HTMLElement {
|
|
|
20951
21036
|
constructor() {
|
|
20952
21037
|
super();
|
|
20953
21038
|
this.__registerHost();
|
|
20954
|
-
|
|
21039
|
+
this.__attachShadow();
|
|
20955
21040
|
this.calciteStepperItemChange = createEvent(this, "calciteStepperItemChange", 7);
|
|
20956
21041
|
//--------------------------------------------------------------------------
|
|
20957
21042
|
//
|
|
@@ -21164,7 +21249,7 @@ let CalciteStepperItem$1 = class extends HTMLElement {
|
|
|
21164
21249
|
constructor() {
|
|
21165
21250
|
super();
|
|
21166
21251
|
this.__registerHost();
|
|
21167
|
-
|
|
21252
|
+
this.__attachShadow();
|
|
21168
21253
|
this.calciteStepperItemKeyEvent = createEvent(this, "calciteStepperItemKeyEvent", 7);
|
|
21169
21254
|
this.calciteStepperItemSelect = createEvent(this, "calciteStepperItemSelect", 7);
|
|
21170
21255
|
this.calciteStepperItemRegister = createEvent(this, "calciteStepperItemRegister", 7);
|
|
@@ -21312,7 +21397,7 @@ let CalciteSwitch$1 = class extends HTMLElement {
|
|
|
21312
21397
|
constructor() {
|
|
21313
21398
|
super();
|
|
21314
21399
|
this.__registerHost();
|
|
21315
|
-
|
|
21400
|
+
this.__attachShadow();
|
|
21316
21401
|
this.calciteSwitchChange = createEvent(this, "calciteSwitchChange", 7);
|
|
21317
21402
|
//--------------------------------------------------------------------------
|
|
21318
21403
|
//
|
|
@@ -21330,17 +21415,6 @@ let CalciteSwitch$1 = class extends HTMLElement {
|
|
|
21330
21415
|
/** True if the switch is initially on */
|
|
21331
21416
|
this.checked = false;
|
|
21332
21417
|
this.inputEl = document.createElement("input");
|
|
21333
|
-
//--------------------------------------------------------------------------
|
|
21334
|
-
//
|
|
21335
|
-
// Private Methods
|
|
21336
|
-
//
|
|
21337
|
-
//--------------------------------------------------------------------------
|
|
21338
|
-
this.onLabelClick = () => {
|
|
21339
|
-
if (!this.disabled) {
|
|
21340
|
-
this.toggle();
|
|
21341
|
-
this.setFocus();
|
|
21342
|
-
}
|
|
21343
|
-
};
|
|
21344
21418
|
this.clickHandler = () => {
|
|
21345
21419
|
this.toggle();
|
|
21346
21420
|
};
|
|
@@ -21367,6 +21441,17 @@ let CalciteSwitch$1 = class extends HTMLElement {
|
|
|
21367
21441
|
async setFocus() {
|
|
21368
21442
|
this.el.focus();
|
|
21369
21443
|
}
|
|
21444
|
+
//--------------------------------------------------------------------------
|
|
21445
|
+
//
|
|
21446
|
+
// Private Methods
|
|
21447
|
+
//
|
|
21448
|
+
//--------------------------------------------------------------------------
|
|
21449
|
+
onLabelClick() {
|
|
21450
|
+
if (!this.disabled) {
|
|
21451
|
+
this.toggle();
|
|
21452
|
+
this.setFocus();
|
|
21453
|
+
}
|
|
21454
|
+
}
|
|
21370
21455
|
setupInput() {
|
|
21371
21456
|
this.checked && this.inputEl.setAttribute("checked", "");
|
|
21372
21457
|
this.inputEl.disabled = this.disabled;
|
|
@@ -21405,6 +21490,11 @@ let CalciteSwitch$1 = class extends HTMLElement {
|
|
|
21405
21490
|
//--------------------------------------------------------------------------
|
|
21406
21491
|
connectedCallback() {
|
|
21407
21492
|
connectLabel(this);
|
|
21493
|
+
const initiallyChecked = this.checked || this.switched;
|
|
21494
|
+
if (initiallyChecked) {
|
|
21495
|
+
// if either prop is set, we ensure both are synced initially
|
|
21496
|
+
this.switched = this.checked = initiallyChecked;
|
|
21497
|
+
}
|
|
21408
21498
|
}
|
|
21409
21499
|
disconnectedCallback() {
|
|
21410
21500
|
disconnectLabel(this);
|
|
@@ -21439,7 +21529,7 @@ let CalciteTab$1 = class extends HTMLElement {
|
|
|
21439
21529
|
constructor() {
|
|
21440
21530
|
super();
|
|
21441
21531
|
this.__registerHost();
|
|
21442
|
-
|
|
21532
|
+
this.__attachShadow();
|
|
21443
21533
|
this.calciteTabRegister = createEvent(this, "calciteTabRegister", 7);
|
|
21444
21534
|
/**
|
|
21445
21535
|
* Show this tab
|
|
@@ -21533,7 +21623,7 @@ let CalciteTabNav$1 = class extends HTMLElement {
|
|
|
21533
21623
|
constructor() {
|
|
21534
21624
|
super();
|
|
21535
21625
|
this.__registerHost();
|
|
21536
|
-
|
|
21626
|
+
this.__attachShadow();
|
|
21537
21627
|
this.calciteTabChange = createEvent(this, "calciteTabChange", 7);
|
|
21538
21628
|
/** @internal Parent tabs component scale value */
|
|
21539
21629
|
this.scale = "m";
|
|
@@ -21711,7 +21801,7 @@ let CalciteTabTitle$1 = class extends HTMLElement {
|
|
|
21711
21801
|
constructor() {
|
|
21712
21802
|
super();
|
|
21713
21803
|
this.__registerHost();
|
|
21714
|
-
|
|
21804
|
+
this.__attachShadow();
|
|
21715
21805
|
this.calciteTabsActivate = createEvent(this, "calciteTabsActivate", 7);
|
|
21716
21806
|
this.calciteTabsFocusNext = createEvent(this, "calciteTabsFocusNext", 7);
|
|
21717
21807
|
this.calciteTabsFocusPrevious = createEvent(this, "calciteTabsFocusPrevious", 7);
|
|
@@ -21900,7 +21990,7 @@ let CalciteTabs$1 = class extends HTMLElement {
|
|
|
21900
21990
|
constructor() {
|
|
21901
21991
|
super();
|
|
21902
21992
|
this.__registerHost();
|
|
21903
|
-
|
|
21993
|
+
this.__attachShadow();
|
|
21904
21994
|
//--------------------------------------------------------------------------
|
|
21905
21995
|
//
|
|
21906
21996
|
// Public Properties
|
|
@@ -22052,13 +22142,13 @@ const SLOTS$3 = {
|
|
|
22052
22142
|
contentEnd: "content-end"
|
|
22053
22143
|
};
|
|
22054
22144
|
|
|
22055
|
-
const calciteTileCss = "@-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{background-color:var(--calcite-ui-foreground-1);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-ui-text-3);display:inline-block;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(:not([embed])){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0}:host([icon][heading]:not([description])) .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}.container{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:0.5rem;gap:0.5rem;pointer-events:none}.content{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;grid-gap:0.5rem;gap:0.5rem}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-ms-flex-align:stretch;align-items:stretch;padding:0;color:var(--calcite-ui-text-2)}.content-slot-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}.content-slot-container:first-child{padding-right:0.75rem}.content-slot-container:last-child{padding-left:0.75rem}.heading{font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-2);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);font-weight:var(--calcite-font-weight-medium);pointer-events:none}.large-visual{-ms-flex-align:center;align-items:center;min-height:12rem}.large-visual .icon{-ms-flex-item-align:end;align-self:flex-end}.large-visual .content-container{-ms-flex-item-align:center;align-self:center}.description{font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";
|
|
22145
|
+
const calciteTileCss = "@-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{background-color:var(--calcite-ui-foreground-1);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-ui-text-3);display:inline-block;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(:not([embed])){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0}:host([icon][heading]:not([description])) .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}.container{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:0.5rem;gap:0.5rem;pointer-events:none}.content{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;grid-gap:0.5rem;gap:0.5rem;width:10%}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-ms-flex-align:stretch;align-items:stretch;padding:0;color:var(--calcite-ui-text-2);width:100%}.content-slot-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}.content-slot-container:first-child{padding-right:0.75rem}.content-slot-container:last-child{padding-left:0.75rem}.heading{font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-2);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);font-weight:var(--calcite-font-weight-medium);pointer-events:none;word-wrap:break-word;overflow-wrap:break-word}.large-visual{-ms-flex-align:center;align-items:center;min-height:12rem}.large-visual .icon{-ms-flex-item-align:end;align-self:flex-end}.large-visual .content-container{-ms-flex-item-align:center;align-self:center}.description{font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";
|
|
22056
22146
|
|
|
22057
22147
|
let CalciteTile$1 = class extends HTMLElement {
|
|
22058
22148
|
constructor() {
|
|
22059
22149
|
super();
|
|
22060
22150
|
this.__registerHost();
|
|
22061
|
-
|
|
22151
|
+
this.__attachShadow();
|
|
22062
22152
|
//--------------------------------------------------------------------------
|
|
22063
22153
|
//
|
|
22064
22154
|
// Properties
|
|
@@ -22109,7 +22199,7 @@ let CalciteTileSelect$1 = class extends HTMLElement {
|
|
|
22109
22199
|
constructor() {
|
|
22110
22200
|
super();
|
|
22111
22201
|
this.__registerHost();
|
|
22112
|
-
|
|
22202
|
+
this.__attachShadow();
|
|
22113
22203
|
this.calciteTileSelectChange = createEvent(this, "calciteTileSelectChange", 7);
|
|
22114
22204
|
//--------------------------------------------------------------------------
|
|
22115
22205
|
//
|
|
@@ -22270,7 +22360,7 @@ let CalciteTileSelectGroup$1 = class extends HTMLElement {
|
|
|
22270
22360
|
constructor() {
|
|
22271
22361
|
super();
|
|
22272
22362
|
this.__registerHost();
|
|
22273
|
-
|
|
22363
|
+
this.__attachShadow();
|
|
22274
22364
|
//--------------------------------------------------------------------------
|
|
22275
22365
|
//
|
|
22276
22366
|
// Properties
|
|
@@ -22328,7 +22418,7 @@ let CalciteTimePicker$1 = class extends HTMLElement {
|
|
|
22328
22418
|
constructor() {
|
|
22329
22419
|
super();
|
|
22330
22420
|
this.__registerHost();
|
|
22331
|
-
|
|
22421
|
+
this.__attachShadow();
|
|
22332
22422
|
this.calciteTimePickerBlur = createEvent(this, "calciteTimePickerBlur", 7);
|
|
22333
22423
|
this.calciteTimePickerChange = createEvent(this, "calciteTimePickerChange", 7);
|
|
22334
22424
|
this.calciteTimePickerFocus = createEvent(this, "calciteTimePickerFocus", 7);
|
|
@@ -22941,7 +23031,7 @@ let CalciteTip$1 = class extends HTMLElement {
|
|
|
22941
23031
|
constructor() {
|
|
22942
23032
|
super();
|
|
22943
23033
|
this.__registerHost();
|
|
22944
|
-
|
|
23034
|
+
this.__attachShadow();
|
|
22945
23035
|
this.calciteTipDismiss = createEvent(this, "calciteTipDismiss", 7);
|
|
22946
23036
|
// --------------------------------------------------------------------------
|
|
22947
23037
|
//
|
|
@@ -23011,7 +23101,7 @@ let CalciteTipGroup$1 = class extends HTMLElement {
|
|
|
23011
23101
|
constructor() {
|
|
23012
23102
|
super();
|
|
23013
23103
|
this.__registerHost();
|
|
23014
|
-
|
|
23104
|
+
this.__attachShadow();
|
|
23015
23105
|
}
|
|
23016
23106
|
render() {
|
|
23017
23107
|
return h("slot", null);
|
|
@@ -23025,7 +23115,7 @@ let CalciteTipManager$1 = class extends HTMLElement {
|
|
|
23025
23115
|
constructor() {
|
|
23026
23116
|
super();
|
|
23027
23117
|
this.__registerHost();
|
|
23028
|
-
|
|
23118
|
+
this.__attachShadow();
|
|
23029
23119
|
this.calciteTipManagerToggle = createEvent(this, "calciteTipManagerToggle", 7);
|
|
23030
23120
|
// --------------------------------------------------------------------------
|
|
23031
23121
|
//
|
|
@@ -23192,7 +23282,7 @@ let CalciteTooltip$1 = class extends HTMLElement {
|
|
|
23192
23282
|
constructor() {
|
|
23193
23283
|
super();
|
|
23194
23284
|
this.__registerHost();
|
|
23195
|
-
|
|
23285
|
+
this.__attachShadow();
|
|
23196
23286
|
/**
|
|
23197
23287
|
* Offset the position of the popover away from the reference element.
|
|
23198
23288
|
* @default 6
|
|
@@ -23298,7 +23388,7 @@ let CalciteTooltip$1 = class extends HTMLElement {
|
|
|
23298
23388
|
const { popper, el, placement } = this;
|
|
23299
23389
|
const modifiers = this.getModifiers();
|
|
23300
23390
|
popper
|
|
23301
|
-
? updatePopper({
|
|
23391
|
+
? await updatePopper({
|
|
23302
23392
|
el,
|
|
23303
23393
|
modifiers,
|
|
23304
23394
|
placement,
|
|
@@ -23380,7 +23470,7 @@ let CalciteTooltipManager$1 = class extends HTMLElement {
|
|
|
23380
23470
|
constructor() {
|
|
23381
23471
|
super();
|
|
23382
23472
|
this.__registerHost();
|
|
23383
|
-
|
|
23473
|
+
this.__attachShadow();
|
|
23384
23474
|
this.hoverTimeouts = new WeakMap();
|
|
23385
23475
|
// --------------------------------------------------------------------------
|
|
23386
23476
|
//
|
|
@@ -23445,13 +23535,14 @@ let CalciteTooltipManager$1 = class extends HTMLElement {
|
|
|
23445
23535
|
};
|
|
23446
23536
|
this.activeTooltipHover = (event) => {
|
|
23447
23537
|
const { tooltipEl, hoverTimeouts } = this;
|
|
23538
|
+
const { type } = event;
|
|
23448
23539
|
if (!tooltipEl) {
|
|
23449
23540
|
return;
|
|
23450
23541
|
}
|
|
23451
|
-
if (event.composedPath().includes(tooltipEl)) {
|
|
23542
|
+
if (type === "mouseover" && event.composedPath().includes(tooltipEl)) {
|
|
23452
23543
|
this.clearHoverTimeout(tooltipEl);
|
|
23453
23544
|
}
|
|
23454
|
-
else if (!hoverTimeouts.has(tooltipEl)) {
|
|
23545
|
+
else if (type === "mouseout" && !hoverTimeouts.has(tooltipEl)) {
|
|
23455
23546
|
this.hoverTooltip({ tooltip: tooltipEl, value: false });
|
|
23456
23547
|
}
|
|
23457
23548
|
};
|
|
@@ -23532,7 +23623,7 @@ let CalciteTree$1 = class extends HTMLElement {
|
|
|
23532
23623
|
constructor() {
|
|
23533
23624
|
super();
|
|
23534
23625
|
this.__registerHost();
|
|
23535
|
-
|
|
23626
|
+
this.__attachShadow();
|
|
23536
23627
|
this.calciteTreeSelect = createEvent(this, "calciteTreeSelect", 7);
|
|
23537
23628
|
//--------------------------------------------------------------------------
|
|
23538
23629
|
//
|
|
@@ -23736,7 +23827,7 @@ let CalciteTreeItem$1 = class extends HTMLElement {
|
|
|
23736
23827
|
constructor() {
|
|
23737
23828
|
super();
|
|
23738
23829
|
this.__registerHost();
|
|
23739
|
-
|
|
23830
|
+
this.__attachShadow();
|
|
23740
23831
|
this.calciteTreeItemSelect = createEvent(this, "calciteTreeItemSelect", 7);
|
|
23741
23832
|
//--------------------------------------------------------------------------
|
|
23742
23833
|
//
|
|
@@ -23982,7 +24073,7 @@ let CalciteValueList$1 = class extends HTMLElement {
|
|
|
23982
24073
|
constructor() {
|
|
23983
24074
|
super();
|
|
23984
24075
|
this.__registerHost();
|
|
23985
|
-
|
|
24076
|
+
this.__attachShadow();
|
|
23986
24077
|
this.calciteListChange = createEvent(this, "calciteListChange", 7);
|
|
23987
24078
|
this.calciteListOrderChange = createEvent(this, "calciteListOrderChange", 7);
|
|
23988
24079
|
// --------------------------------------------------------------------------
|
|
@@ -24177,7 +24268,7 @@ let CalciteValueListItem$1 = class extends HTMLElement {
|
|
|
24177
24268
|
constructor() {
|
|
24178
24269
|
super();
|
|
24179
24270
|
this.__registerHost();
|
|
24180
|
-
|
|
24271
|
+
this.__attachShadow();
|
|
24181
24272
|
this.calciteListItemRemove = createEvent(this, "calciteListItemRemove", 7);
|
|
24182
24273
|
/**
|
|
24183
24274
|
* When true, the item cannot be clicked and is visually muted
|
|
@@ -24282,7 +24373,7 @@ let CalciteValueListItem$1 = class extends HTMLElement {
|
|
|
24282
24373
|
|
|
24283
24374
|
const CalciteAccordion = /*@__PURE__*/proxyCustomElement(CalciteAccordion$1, [1,"calcite-accordion",{"appearance":[513],"iconPosition":[513,"icon-position"],"iconType":[513,"icon-type"],"scale":[513],"selectionMode":[513,"selection-mode"]},[[0,"calciteAccordionItemKeyEvent","calciteAccordionItemKeyEvent"],[0,"calciteAccordionItemRegister","registerCalciteAccordionItem"],[0,"calciteAccordionItemSelect","updateActiveItemOnChange"]]]);
|
|
24284
24375
|
const CalciteAccordionItem = /*@__PURE__*/proxyCustomElement(CalciteAccordionItem$1, [1,"calcite-accordion-item",{"active":[1540],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"icon":[513]},[[0,"keydown","keyDownHandler"],[16,"calciteAccordionChange","updateActiveItemOnChange"]]]);
|
|
24285
|
-
const CalciteAction = /*@__PURE__*/proxyCustomElement(CalciteAction$1, [1,"calcite-action",{"
|
|
24376
|
+
const CalciteAction = /*@__PURE__*/proxyCustomElement(CalciteAction$1, [1,"calcite-action",{"active":[516],"alignment":[513],"appearance":[513],"compact":[516],"disabled":[516],"icon":[1],"indicator":[516],"intlLoading":[1,"intl-loading"],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
|
|
24286
24377
|
const CalciteActionBar = /*@__PURE__*/proxyCustomElement(CalciteActionBar$1, [1,"calcite-action-bar",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"overflowActionsDisabled":[4,"overflow-actions-disabled"],"position":[513],"scale":[513]}]);
|
|
24287
24378
|
const CalciteActionGroup = /*@__PURE__*/proxyCustomElement(CalciteActionGroup$1, [1,"calcite-action-group",{"expanded":[516],"layout":[513],"columns":[514],"intlMore":[1,"intl-more"],"menuOpen":[1540,"menu-open"],"scale":[513]}]);
|
|
24288
24379
|
const CalciteActionMenu = /*@__PURE__*/proxyCustomElement(CalciteActionMenu$1, [1,"calcite-action-menu",{"expanded":[516],"flipPlacements":[16],"label":[1],"open":[1540],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"activeMenuItemIndex":[32]},[[8,"click","closeCalciteActionMenuOnClick"]]]);
|
|
@@ -24291,7 +24382,7 @@ const CalciteAlert = /*@__PURE__*/proxyCustomElement(CalciteAlert$1, [1,"calcite
|
|
|
24291
24382
|
const CalciteAvatar = /*@__PURE__*/proxyCustomElement(CalciteAvatar$1, [1,"calcite-avatar",{"scale":[513],"thumbnail":[1],"fullName":[1,"full-name"],"username":[1],"userId":[1,"user-id"],"error":[32]}]);
|
|
24292
24383
|
const CalciteBlock = /*@__PURE__*/proxyCustomElement(CalciteBlock$1, [1,"calcite-block",{"collapsible":[4],"disabled":[516],"dragHandle":[516,"drag-handle"],"heading":[1],"headingLevel":[2,"heading-level"],"intlCollapse":[1,"intl-collapse"],"intlExpand":[1,"intl-expand"],"intlLoading":[1,"intl-loading"],"intlOptions":[1,"intl-options"],"loading":[516],"open":[1540],"status":[513],"summary":[1]}]);
|
|
24293
24384
|
const CalciteBlockSection = /*@__PURE__*/proxyCustomElement(CalciteBlockSection$1, [1,"calcite-block-section",{"intlCollapse":[1,"intl-collapse"],"intlExpand":[1,"intl-expand"],"open":[1540],"status":[513],"text":[1],"toggleDisplay":[513,"toggle-display"]}]);
|
|
24294
|
-
const CalciteButton = /*@__PURE__*/proxyCustomElement(CalciteButton$1, [1,"calcite-button",{"alignment":[513],"appearance":[513],"label":[1],"color":[513],"disabled":[516],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"intlLoading":[1,"intl-loading"],"loading":[516],"name":[1],"rel":[1],"form":[1],"round":[516],"scale":[513],"splitChild":[520,"split-child"],"target":[1],"type":[1025],"width":[513],"hasContent":[32],"hasLoader":[32]}]);
|
|
24385
|
+
const CalciteButton = /*@__PURE__*/proxyCustomElement(CalciteButton$1, [1,"calcite-button",{"alignment":[513],"appearance":[513],"label":[1],"color":[513],"disabled":[516],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"intlLoading":[1,"intl-loading"],"loading":[516],"name":[1],"rel":[1],"form":[1],"round":[516],"scale":[513],"splitChild":[520,"split-child"],"target":[1],"type":[1025],"width":[513],"childElType":[32],"hasContent":[32],"hasLoader":[32]}]);
|
|
24295
24386
|
const CalciteCard = /*@__PURE__*/proxyCustomElement(CalciteCard$1, [1,"calcite-card",{"loading":[516],"selected":[1540],"selectable":[516],"intlLoading":[1,"intl-loading"],"intlSelect":[1,"intl-select"],"intlDeselect":[1,"intl-deselect"]}]);
|
|
24296
24387
|
const CalciteCheckbox = /*@__PURE__*/proxyCustomElement(CalciteCheckbox$1, [1,"calcite-checkbox",{"checked":[1540],"disabled":[516],"guid":[1537],"hovered":[1540],"indeterminate":[1540],"label":[1],"name":[513],"scale":[513],"value":[8],"focused":[32]},[[1,"mouseenter","mouseenter"],[1,"mouseleave","mouseleave"]]]);
|
|
24297
24388
|
const CalciteChip = /*@__PURE__*/proxyCustomElement(CalciteChip$1, [1,"calcite-chip",{"appearance":[513],"color":[513],"dismissible":[516],"dismissLabel":[1,"dismiss-label"],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"scale":[513],"value":[8]}]);
|
|
@@ -24309,9 +24400,9 @@ const CalciteDropdown = /*@__PURE__*/proxyCustomElement(CalciteDropdown$1, [1,"c
|
|
|
24309
24400
|
const CalciteDropdownGroup = /*@__PURE__*/proxyCustomElement(CalciteDropdownGroup$1, [1,"calcite-dropdown-group",{"groupTitle":[513,"group-title"],"selectionMode":[513,"selection-mode"],"scale":[513]},[[0,"calciteDropdownItemSelect","updateActiveItemOnChange"]]]);
|
|
24310
24401
|
const CalciteDropdownItem = /*@__PURE__*/proxyCustomElement(CalciteDropdownItem$1, [1,"calcite-dropdown-item",{"active":[1540],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"href":[513],"label":[1],"rel":[1],"target":[1]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"],[16,"calciteDropdownItemChange","updateActiveItemOnChange"]]]);
|
|
24311
24402
|
const CalciteFab = /*@__PURE__*/proxyCustomElement(CalciteFab$1, [1,"calcite-fab",{"appearance":[513],"color":[513],"disabled":[516],"icon":[1],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
|
|
24312
|
-
const CalciteFilter = /*@__PURE__*/proxyCustomElement(CalciteFilter$1, [1,"calcite-filter",{"data":[16],"disabled":[516],"intlClear":[1,"intl-clear"],"intlLabel":[1,"intl-label"],"placeholder":[1],"
|
|
24403
|
+
const CalciteFilter = /*@__PURE__*/proxyCustomElement(CalciteFilter$1, [1,"calcite-filter",{"data":[16],"disabled":[516],"intlClear":[1,"intl-clear"],"intlLabel":[1,"intl-label"],"placeholder":[1],"value":[1025]}]);
|
|
24313
24404
|
const CalciteFlow = /*@__PURE__*/proxyCustomElement(CalciteFlow$1, [1,"calcite-flow",{"panelCount":[32],"flowDirection":[32],"panels":[32]},[[0,"calcitePanelBackClick","handleCalcitePanelBackClick"]]]);
|
|
24314
|
-
const CalciteGraph = /*@__PURE__*/proxyCustomElement(CalciteGraph$1, [1,"calcite-graph",{"data":[16],"colorStops":[16],"width":[2],"height":[2],"highlightMin":[2,"highlight-min"],"highlightMax":[2,"highlight-max"]}]);
|
|
24405
|
+
const CalciteGraph = /*@__PURE__*/proxyCustomElement(CalciteGraph$1, [1,"calcite-graph",{"data":[16],"colorStops":[16],"width":[2],"height":[2],"highlightMin":[2,"highlight-min"],"highlightMax":[2,"highlight-max"],"min":[2],"max":[2]}]);
|
|
24315
24406
|
const CalciteHandle = /*@__PURE__*/proxyCustomElement(CalciteHandle$1, [1,"calcite-handle",{"activated":[1540],"textTitle":[513,"text-title"]}]);
|
|
24316
24407
|
const CalciteIcon = /*@__PURE__*/proxyCustomElement(CalciteIcon$1, [1,"calcite-icon",{"icon":[513],"flipRtl":[516,"flip-rtl"],"scale":[513],"textLabel":[1,"text-label"],"pathData":[32],"visible":[32]}]);
|
|
24317
24408
|
const CalciteInlineEditable = /*@__PURE__*/proxyCustomElement(CalciteInlineEditable$1, [6,"calcite-inline-editable",{"disabled":[516],"editingEnabled":[1540,"editing-enabled"],"loading":[1540],"controls":[516],"intlEnableEditing":[513,"intl-enable-editing"],"intlCancelEditing":[513,"intl-cancel-editing"],"intlConfirmChanges":[513,"intl-confirm-changes"],"scale":[1537],"afterConfirm":[16]},[[0,"calciteInputBlur","blurHandler"]]]);
|
|
@@ -24320,7 +24411,7 @@ const CalciteInputDatePicker = /*@__PURE__*/proxyCustomElement(CalciteInputDateP
|
|
|
24320
24411
|
const CalciteInputMessage = /*@__PURE__*/proxyCustomElement(CalciteInputMessage$1, [1,"calcite-input-message",{"active":[516],"icon":[520],"scale":[1537],"status":[1537],"type":[513]}]);
|
|
24321
24412
|
const CalciteInputTimePicker = /*@__PURE__*/proxyCustomElement(CalciteInputTimePicker$1, [1,"calcite-input-time-picker",{"active":[1540],"disabled":[516],"hourDisplayFormat":[1,"hour-display-format"],"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"name":[1],"scale":[513],"step":[2],"value":[1025]},[[0,"keyup","keyUpHandler"],[0,"calciteTimePickerBlur","timePickerBlurHandler"],[0,"calciteTimePickerChange","timePickerChangeHandler"],[0,"calciteTimePickerFocus","timePickerFocusHandler"]]]);
|
|
24322
24413
|
const CalciteLabel = /*@__PURE__*/proxyCustomElement(CalciteLabel$1, [1,"calcite-label",{"alignment":[513],"status":[513],"for":[513],"scale":[513],"layout":[513],"disableSpacing":[4,"disable-spacing"],"disabled":[516]}]);
|
|
24323
|
-
const CalciteLink = /*@__PURE__*/proxyCustomElement(CalciteLink$1, [1,"calcite-link",{"disabled":[516],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"rel":[1],"target":[1]}]);
|
|
24414
|
+
const CalciteLink = /*@__PURE__*/proxyCustomElement(CalciteLink$1, [1,"calcite-link",{"disabled":[516],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"rel":[1],"target":[1],"childElType":[32]}]);
|
|
24324
24415
|
const CalciteList = /*@__PURE__*/proxyCustomElement(CalciteList$1, [1,"calcite-list",{"headingLevel":[2,"heading-level"]}]);
|
|
24325
24416
|
const CalciteListItem = /*@__PURE__*/proxyCustomElement(CalciteListItem$1, [1,"calcite-list-item",{"nonInteractive":[516,"non-interactive"],"description":[1],"disabled":[516],"label":[1]}]);
|
|
24326
24417
|
const CalciteListItemGroup = /*@__PURE__*/proxyCustomElement(CalciteListItemGroup$1, [1,"calcite-list-item-group",{"heading":[513],"headingLevel":[2,"heading-level"]}]);
|
|
@@ -24353,7 +24444,7 @@ const CalciteSortableList = /*@__PURE__*/proxyCustomElement(CalciteSortableList$
|
|
|
24353
24444
|
const CalciteSplitButton = /*@__PURE__*/proxyCustomElement(CalciteSplitButton$1, [1,"calcite-split-button",{"appearance":[513],"color":[513],"disabled":[516],"active":[516],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513]}]);
|
|
24354
24445
|
const CalciteStepper = /*@__PURE__*/proxyCustomElement(CalciteStepper$1, [1,"calcite-stepper",{"icon":[516],"layout":[513],"numbered":[516],"scale":[513],"requestedContent":[1040]},[[0,"calciteStepperItemKeyEvent","calciteStepperItemKeyEvent"],[0,"calciteStepperItemRegister","registerItem"],[0,"calciteStepperItemSelect","updateItem"]]]);
|
|
24355
24446
|
const CalciteStepperItem = /*@__PURE__*/proxyCustomElement(CalciteStepperItem$1, [1,"calcite-stepper-item",{"active":[1540],"complete":[516],"error":[4],"disabled":[4],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"layout":[1537],"icon":[1028],"numbered":[1028],"scale":[1537]},[[0,"keydown","keyDownHandler"],[16,"calciteStepperItemChange","updateActiveItemOnChange"]]]);
|
|
24356
|
-
const CalciteSwitch = /*@__PURE__*/proxyCustomElement(CalciteSwitch$1, [1,"calcite-switch",{"disabled":[516],"label":[1],"name":[513],"scale":[513],"switched":[
|
|
24447
|
+
const CalciteSwitch = /*@__PURE__*/proxyCustomElement(CalciteSwitch$1, [1,"calcite-switch",{"disabled":[516],"label":[1],"name":[513],"scale":[513],"switched":[1028],"checked":[1540],"value":[520],"guid":[32],"tabindex":[32]},[[0,"keydown","keyDownHandler"]]]);
|
|
24357
24448
|
const CalciteTab = /*@__PURE__*/proxyCustomElement(CalciteTab$1, [1,"calcite-tab",{"tab":[513],"active":[1540],"scale":[1537],"labeledBy":[32]},[[16,"calciteTabChange","tabChangeHandler"]]]);
|
|
24358
24449
|
const CalciteTabNav = /*@__PURE__*/proxyCustomElement(CalciteTabNav$1, [1,"calcite-tab-nav",{"storageId":[1,"storage-id"],"syncId":[1,"sync-id"],"scale":[1537],"layout":[1537],"position":[1537],"bordered":[1540],"indicatorOffset":[1026,"indicator-offset"],"indicatorWidth":[1026,"indicator-width"],"selectedTab":[32],"selectedTabEl":[32]},[[9,"resize","resizeHandler"],[0,"calciteTabsFocusPrevious","focusPreviousTabHandler"],[0,"calciteTabsFocusNext","focusNextTabHandler"],[0,"calciteTabsActivate","activateTabHandler"],[0,"calciteTabTitleRegister","updateTabTitles"],[16,"calciteTabChange","globalTabChangeHandler"]]]);
|
|
24359
24450
|
const CalciteTabTitle = /*@__PURE__*/proxyCustomElement(CalciteTabTitle$1, [1,"calcite-tab-title",{"active":[1540],"disabled":[516],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"layout":[1537],"position":[1537],"scale":[1537],"bordered":[1540],"tab":[513],"controls":[32],"hasText":[32]},[[16,"calciteTabChange","tabChangeHandler"],[0,"click","onClick"],[0,"keydown","keyDownHandler"]]]);
|