@esri/calcite-components 1.0.0-next.415 → 1.0.0-next.418
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/{p-02854dce.system.entry.js → p-02d7cf64.system.entry.js} +1 -1
- package/dist/calcite/p-03c92ad2.entry.js +5 -0
- package/dist/calcite/{p-847fc3a4.system.entry.js → p-052ba882.system.entry.js} +1 -1
- package/dist/calcite/{p-46c177ec.system.entry.js → p-07f1f162.system.entry.js} +1 -1
- package/dist/calcite/p-1263bcc0.entry.js +5 -0
- package/dist/calcite/p-184049cb.entry.js +5 -0
- package/dist/calcite/p-18be4438.entry.js +5 -0
- package/dist/calcite/p-193749c1.entry.js +5 -0
- package/dist/calcite/{p-129954f1.system.entry.js → p-1aded388.system.entry.js} +1 -1
- package/dist/calcite/{p-18d1b401.system.entry.js → p-1aeca42a.system.entry.js} +1 -1
- package/dist/calcite/p-1b1bca2d.entry.js +5 -0
- package/dist/calcite/{p-3c773436.system.entry.js → p-1fc943d5.system.entry.js} +1 -1
- package/dist/calcite/p-23145377.entry.js +5 -0
- package/dist/calcite/p-28c333d0.entry.js +5 -0
- package/dist/calcite/p-2bcaed33.entry.js +5 -0
- package/dist/calcite/{p-2f20293c.system.entry.js → p-2dd22e8c.system.entry.js} +1 -1
- package/dist/calcite/{p-1984c1b1.system.entry.js → p-2fae8516.system.entry.js} +1 -1
- package/dist/calcite/p-31c58f25.entry.js +5 -0
- package/dist/calcite/p-32d6b962.entry.js +5 -0
- package/dist/calcite/{p-475869c9.system.entry.js → p-32efc4cd.system.entry.js} +1 -1
- package/dist/calcite/p-34730e94.entry.js +5 -0
- package/dist/calcite/p-364db271.entry.js +5 -0
- package/dist/calcite/p-366004f7.system.entry.js +5 -0
- package/dist/calcite/p-3915705c.entry.js +5 -0
- package/dist/calcite/p-3b4662a5.entry.js +5 -0
- package/dist/calcite/{p-7375cf4f.system.entry.js → p-3b707a1c.system.entry.js} +1 -1
- package/dist/calcite/{p-41806a13.system.entry.js → p-3cdee187.system.entry.js} +1 -1
- package/dist/calcite/{p-296c1d5a.system.entry.js → p-3e149640.system.entry.js} +1 -1
- package/dist/calcite/{p-9a69d12a.system.entry.js → p-3e9d96c6.system.entry.js} +1 -1
- package/dist/calcite/p-42227a04.entry.js +5 -0
- package/dist/calcite/p-426f011a.entry.js +5 -0
- package/dist/calcite/p-4570cf6c.js +5 -0
- package/dist/calcite/p-4696e56f.entry.js +5 -0
- package/dist/calcite/{p-e01879bf.js → p-4730df46.js} +1 -1
- package/dist/calcite/p-47d38839.entry.js +5 -0
- package/dist/calcite/{p-aa336fc3.system.entry.js → p-482885ae.system.entry.js} +1 -1
- package/dist/calcite/{p-df3775ba.system.entry.js → p-48637359.system.entry.js} +1 -1
- package/dist/calcite/{p-78bb06e5.system.entry.js → p-496e907a.system.entry.js} +1 -1
- package/dist/calcite/p-4aecbaef.entry.js +5 -0
- package/dist/calcite/{p-ea32a5ac.system.entry.js → p-4afb5a1b.system.entry.js} +1 -1
- package/dist/calcite/p-4eae61c5.entry.js +5 -0
- package/dist/calcite/p-5394666a.entry.js +5 -0
- package/dist/calcite/p-54c49493.entry.js +5 -0
- package/dist/calcite/{p-0bd5bb31.system.entry.js → p-55e1a3a0.system.entry.js} +1 -1
- package/dist/calcite/{p-3543ddfe.system.entry.js → p-569150ab.system.entry.js} +1 -1
- package/dist/calcite/{p-4392cf25.system.entry.js → p-57e0428a.system.entry.js} +1 -1
- package/dist/calcite/{p-9d071e3c.system.js → p-588bfa74.system.js} +1 -1
- package/dist/calcite/p-5a8829cd.entry.js +5 -0
- package/dist/calcite/p-5bb4d012.entry.js +5 -0
- package/dist/calcite/p-5f6e35f3.entry.js +5 -0
- package/dist/calcite/p-6261469d.entry.js +5 -0
- package/dist/calcite/p-65dbbfb5.system.js +5 -0
- package/dist/calcite/{p-31c3b490.system.entry.js → p-69d2d9cf.system.entry.js} +1 -1
- package/dist/calcite/p-6ab3e489.entry.js +5 -0
- package/dist/calcite/p-6b7b23d0.js +5 -0
- package/dist/calcite/{p-a6261f6b.system.entry.js → p-6c4a7041.system.entry.js} +1 -1
- package/dist/calcite/{p-db73225f.system.entry.js → p-6e0103f5.system.entry.js} +1 -1
- package/dist/calcite/{p-579d1f1a.system.entry.js → p-6ed27595.system.entry.js} +1 -1
- package/dist/calcite/{p-bce112c4.system.entry.js → p-6fba3e1b.system.entry.js} +1 -1
- package/dist/calcite/{p-2eb067c8.system.entry.js → p-7247b667.system.entry.js} +1 -1
- package/dist/calcite/{p-58274475.system.entry.js → p-7260c869.system.entry.js} +1 -1
- package/dist/calcite/{p-467318a0.system.entry.js → p-7432e5ef.system.entry.js} +1 -1
- package/dist/calcite/p-765c9bef.entry.js +5 -0
- package/dist/calcite/p-78bc502f.entry.js +5 -0
- package/dist/calcite/{p-ee88180e.system.entry.js → p-7bee4942.system.entry.js} +1 -1
- package/dist/calcite/{p-c0e695bd.js → p-7c88d545.js} +1 -1
- package/dist/calcite/p-7dfd6480.system.entry.js +5 -0
- package/dist/calcite/p-824da4be.entry.js +5 -0
- package/dist/calcite/p-867f7b7a.system.entry.js +5 -0
- package/dist/calcite/{p-00009c01.system.entry.js → p-872e82a6.system.entry.js} +1 -1
- package/dist/calcite/p-87888359.entry.js +5 -0
- package/dist/calcite/p-895d22f3.entry.js +5 -0
- package/dist/calcite/p-8a7596e3.entry.js +5 -0
- package/dist/calcite/{p-ba2c5e07.js → p-8ab345f2.js} +1 -1
- package/dist/calcite/{p-4ff0e3a9.system.entry.js → p-8e0dd0af.system.entry.js} +1 -1
- package/dist/calcite/{p-e4c317a4.system.js → p-9385e4b4.system.js} +1 -1
- package/dist/calcite/{p-8bb762f9.system.entry.js → p-963e9aec.system.entry.js} +1 -1
- package/dist/calcite/p-97904e9a.entry.js +5 -0
- package/dist/calcite/{p-a72718b5.system.entry.js → p-9940b82a.system.entry.js} +1 -1
- package/dist/calcite/p-9ac86d6a.entry.js +5 -0
- package/dist/calcite/{p-c7f36800.system.entry.js → p-9ad8c7c5.system.entry.js} +1 -1
- package/dist/calcite/p-9c913e3a.entry.js +5 -0
- package/dist/calcite/p-9e61d89d.entry.js +5 -0
- package/dist/calcite/{p-1f82294e.system.entry.js → p-a11ee541.system.entry.js} +1 -1
- package/dist/calcite/p-a3527241.system.entry.js +5 -0
- package/dist/calcite/p-a38fe099.entry.js +5 -0
- package/dist/calcite/{p-7d937b47.entry.js → p-a7770d75.entry.js} +1 -1
- package/dist/calcite/{p-f56ce7ea.js → p-a9b3ef39.js} +1 -1
- package/dist/calcite/p-a9ea7f4f.entry.js +5 -0
- package/dist/calcite/{p-b5afe88b.system.entry.js → p-aaa21a84.system.entry.js} +1 -1
- package/dist/calcite/{p-44032496.system.entry.js → p-aad14a5d.system.entry.js} +1 -1
- package/dist/calcite/p-afe59546.entry.js +5 -0
- package/dist/calcite/p-b10af2b4.entry.js +5 -0
- package/dist/calcite/p-b2493735.entry.js +5 -0
- package/dist/calcite/{p-d74ca1cf.system.entry.js → p-b3c5247b.system.entry.js} +1 -1
- package/dist/calcite/{p-cfb7be80.system.entry.js → p-b47dc903.system.entry.js} +1 -1
- package/dist/calcite/{p-c9f280c1.system.js → p-b765d197.system.js} +1 -1
- package/dist/calcite/p-bccbf58a.entry.js +5 -0
- package/dist/calcite/{p-993a9701.system.entry.js → p-bcdc20c3.system.entry.js} +1 -1
- package/dist/calcite/{p-cd406e29.system.entry.js → p-bdcb43b1.system.entry.js} +1 -1
- package/dist/calcite/{p-66a7bd24.system.entry.js → p-bffb4da3.system.entry.js} +1 -1
- package/dist/calcite/{p-d1060fb1.system.entry.js → p-c228a1da.system.entry.js} +1 -1
- package/dist/calcite/p-c2adeae4.entry.js +5 -0
- package/dist/calcite/{p-18ea4373.system.js → p-c33f47d5.system.js} +1 -1
- package/dist/calcite/{p-42d258d4.system.entry.js → p-c4cb35ba.system.entry.js} +1 -1
- package/dist/calcite/{p-5d52246b.system.js → p-c51699d3.system.js} +1 -1
- package/dist/calcite/p-c5c42405.entry.js +5 -0
- package/dist/calcite/{p-a4cc864a.system.entry.js → p-c9fc13b9.system.entry.js} +1 -1
- package/dist/calcite/p-cafd98e8.entry.js +5 -0
- package/dist/calcite/{p-08c58589.system.js → p-cb57638c.system.js} +1 -1
- package/dist/calcite/p-cb847074.entry.js +5 -0
- package/dist/calcite/p-cbc6fee6.entry.js +5 -0
- package/dist/calcite/p-cc6e7726.entry.js +5 -0
- package/dist/calcite/{p-2277b440.js → p-cd5f5c8f.js} +1 -1
- package/dist/calcite/{p-1d345756.system.entry.js → p-cd9226a1.system.entry.js} +1 -1
- package/dist/calcite/p-da7c2542.entry.js +5 -0
- package/dist/calcite/{p-fedbc6e6.js → p-dcf33bb2.js} +1 -1
- package/dist/calcite/{p-36fa8b0f.system.entry.js → p-dd460534.system.entry.js} +1 -1
- package/dist/calcite/p-e22ab8fa.entry.js +5 -0
- package/dist/calcite/{p-04708565.system.entry.js → p-e3280a36.system.entry.js} +1 -1
- package/dist/calcite/p-e43605c5.entry.js +5 -0
- package/dist/calcite/{p-9e56f30f.system.entry.js → p-e4d1651b.system.entry.js} +1 -1
- package/dist/calcite/p-e5a7ca2a.entry.js +5 -0
- package/dist/calcite/p-e65b6bfb.entry.js +5 -0
- package/dist/calcite/{p-45dce037.system.entry.js → p-e66a8ca1.system.entry.js} +1 -1
- package/dist/calcite/{p-5be670bf.system.entry.js → p-ea4119b1.system.entry.js} +1 -1
- package/dist/calcite/{p-f5e91588.system.entry.js → p-edf1e815.system.entry.js} +1 -1
- package/dist/calcite/{p-c908ce40.system.entry.js → p-ef17447d.system.entry.js} +1 -1
- package/dist/calcite/p-f09e27b0.system.js +5 -0
- package/dist/calcite/p-f344e163.entry.js +5 -0
- package/dist/calcite/p-fe9380a0.system.js +5 -0
- package/dist/cjs/{ExpandToggle-dbdede53.js → ExpandToggle-f7682a15.js} +1 -1
- package/dist/cjs/{Heading-1870bc0e.js → Heading-ec707493.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-menu.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +2 -2
- package/dist/cjs/calcite-avatar.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-card.cjs.entry.js +3 -3
- package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/calcite-chip.cjs.entry.js +3 -3
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +24 -35
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -9
- package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
- package/dist/cjs/calcite-filter.cjs.entry.js +2 -2
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -10
- package/dist/cjs/calcite-input-message.cjs.entry.js +2 -2
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input.cjs.entry.js +3 -3
- package/dist/cjs/calcite-label.cjs.entry.js +2 -2
- package/dist/cjs/calcite-link.cjs.entry.js +2 -2
- package/dist/cjs/calcite-list_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +3 -3
- package/dist/cjs/calcite-notice.cjs.entry.js +3 -3
- package/dist/cjs/calcite-option_3.cjs.entry.js +5 -5
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +4 -4
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-popover_2.cjs.entry.js +12 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -5
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +2 -2
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tab_4.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +9 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-2917212e.js → conditionalSlot-64f9bfd3.js} +1 -1
- package/dist/cjs/{form-d540f0cb.js → form-0ef859c8.js} +1 -1
- package/dist/cjs/{index-8760acaf.js → index-1af0efd3.js} +4 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{popper-13a2bb46.js → popper-64d89ef7.js} +17 -2
- package/dist/cjs/{resources-1e94d43c.js → resources-7811eb2c.js} +1 -1
- package/dist/cjs/{resources-65327c4a.js → resources-daf15d54.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/action-menu/action-menu.js +6 -6
- package/dist/collection/components/combobox/combobox.js +41 -33
- package/dist/collection/components/combobox/resources.js +0 -1
- package/dist/collection/components/dropdown/dropdown.js +33 -9
- package/dist/collection/components/dropdown/resources.js +0 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +29 -6
- package/dist/collection/components/popover/popover.js +12 -8
- package/dist/collection/components/popover/resources.js +1 -0
- package/dist/collection/components/tooltip/tooltip.js +5 -1
- package/dist/collection/utils/popper.js +66 -0
- package/dist/components/action-group.js +3 -4
- package/dist/components/action-menu.js +5 -6
- package/dist/components/action.js +3 -4
- package/dist/components/button.js +3 -4
- package/dist/components/calcite-accordion-item.js +3 -4
- package/dist/components/calcite-accordion.js +3 -4
- package/dist/components/calcite-action-bar.js +3 -4
- package/dist/components/calcite-action-pad.js +3 -4
- package/dist/components/calcite-alert.js +3 -4
- package/dist/components/calcite-avatar.js +3 -4
- package/dist/components/calcite-block-section.js +3 -4
- package/dist/components/calcite-block.js +3 -4
- package/dist/components/calcite-card.js +3 -4
- package/dist/components/calcite-color-picker.js +3 -4
- package/dist/components/calcite-combobox-item-group.js +4 -5
- package/dist/components/calcite-combobox-item.js +4 -5
- package/dist/components/calcite-combobox.js +23 -35
- package/dist/components/calcite-dropdown-group.js +3 -4
- package/dist/components/calcite-dropdown-item.js +3 -4
- package/dist/components/calcite-fab.js +3 -4
- package/dist/components/calcite-flow.js +3 -4
- package/dist/components/calcite-inline-editable.js +3 -4
- package/dist/components/calcite-input-date-picker.js +13 -10
- package/dist/components/calcite-input-message.js +3 -4
- package/dist/components/calcite-input-time-picker.js +3 -4
- package/dist/components/calcite-list-item-group.js +3 -4
- package/dist/components/calcite-list-item.js +3 -4
- package/dist/components/calcite-list.js +3 -4
- package/dist/components/calcite-modal.js +3 -4
- package/dist/components/calcite-notice.js +3 -4
- package/dist/components/calcite-option-group.js +3 -4
- package/dist/components/calcite-option.js +3 -4
- package/dist/components/calcite-pagination.js +3 -4
- package/dist/components/calcite-panel.js +3 -4
- package/dist/components/calcite-pick-list-group.js +3 -4
- package/dist/components/calcite-pick-list.js +3 -4
- package/dist/components/calcite-popover-manager.js +3 -4
- package/dist/components/calcite-radio-button-group.js +3 -4
- package/dist/components/calcite-radio-button.js +3 -4
- package/dist/components/calcite-radio-group-item.js +3 -4
- package/dist/components/calcite-radio-group.js +3 -4
- package/dist/components/calcite-rating.js +3 -4
- package/dist/components/calcite-select.js +3 -4
- package/dist/components/calcite-shell-center-row.js +3 -4
- package/dist/components/calcite-shell-panel.js +3 -4
- package/dist/components/calcite-shell.js +3 -4
- package/dist/components/calcite-slider.js +3 -4
- package/dist/components/calcite-sortable-list.js +3 -4
- package/dist/components/calcite-split-button.js +3 -4
- package/dist/components/calcite-stepper-item.js +3 -4
- package/dist/components/calcite-stepper.js +3 -4
- package/dist/components/calcite-tile-select-group.js +3 -4
- package/dist/components/calcite-tile-select.js +3 -4
- package/dist/components/calcite-tip-group.js +3 -4
- package/dist/components/calcite-tip-manager.js +3 -4
- package/dist/components/calcite-tip.js +3 -4
- package/dist/components/calcite-tooltip.js +8 -5
- package/dist/components/calcite-tree-item.js +3 -4
- package/dist/components/calcite-tree.js +3 -4
- package/dist/components/calcite-value-list-item.js +3 -4
- package/dist/components/calcite-value-list.js +3 -4
- package/dist/components/checkbox.js +3 -4
- package/dist/components/chip.js +3 -4
- package/dist/components/color-picker-hex-input.js +3 -4
- package/dist/components/color-picker-swatch.js +3 -4
- package/dist/components/date-picker-day.js +3 -4
- package/dist/components/date-picker-month-header.js +3 -4
- package/dist/components/date-picker-month.js +3 -4
- package/dist/components/date-picker.js +3 -4
- package/dist/components/dropdown.js +12 -9
- package/dist/components/filter.js +3 -4
- package/dist/components/graph.js +3 -4
- package/dist/components/handle.js +3 -4
- package/dist/components/icon.js +3 -4
- package/dist/components/input.js +3 -4
- package/dist/components/label2.js +3 -4
- package/dist/components/link.js +3 -4
- package/dist/components/loader.js +3 -4
- package/dist/components/pick-list-item.js +3 -4
- package/dist/components/popover.js +10 -7
- package/dist/components/popper.js +16 -3
- package/dist/components/progress.js +3 -4
- package/dist/components/resources.js +2 -1
- package/dist/components/scrim.js +3 -4
- package/dist/components/switch.js +3 -4
- package/dist/components/tab-nav.js +3 -4
- package/dist/components/tab-title.js +3 -4
- package/dist/components/tab.js +3 -4
- package/dist/components/tabs.js +3 -4
- package/dist/components/tile.js +3 -4
- package/dist/components/time-picker.js +3 -4
- package/dist/components/tooltip-manager.js +3 -4
- package/dist/components/utils2.js +1 -2
- package/dist/custom-elements/index.js +154 -137
- package/dist/esm/{ExpandToggle-ed0ae55a.js → ExpandToggle-af224c1e.js} +1 -1
- package/dist/esm/{Heading-8289fa96.js → Heading-d5f1710a.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +3 -3
- package/dist/esm/calcite-action-bar.entry.js +4 -4
- package/dist/esm/calcite-action-group.entry.js +3 -3
- package/dist/esm/calcite-action-menu.entry.js +5 -5
- package/dist/esm/calcite-action-pad.entry.js +4 -4
- package/dist/esm/calcite-action.entry.js +2 -2
- package/dist/esm/calcite-alert.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-checkbox.entry.js +3 -3
- package/dist/esm/calcite-chip.entry.js +3 -3
- package/dist/esm/calcite-color-picker_3.entry.js +4 -4
- package/dist/esm/calcite-combobox_3.entry.js +24 -35
- package/dist/esm/calcite-date-picker_4.entry.js +7 -7
- package/dist/esm/calcite-dropdown_3.entry.js +12 -9
- package/dist/esm/calcite-fab.entry.js +2 -2
- package/dist/esm/calcite-filter.entry.js +2 -2
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph_2.entry.js +4 -4
- package/dist/esm/calcite-handle.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +2 -2
- package/dist/esm/calcite-input-date-picker.entry.js +13 -10
- package/dist/esm/calcite-input-message.entry.js +2 -2
- package/dist/esm/calcite-input-time-picker_2.entry.js +4 -4
- package/dist/esm/calcite-input.entry.js +3 -3
- package/dist/esm/calcite-label.entry.js +2 -2
- package/dist/esm/calcite-link.entry.js +2 -2
- package/dist/esm/calcite-list_3.entry.js +6 -6
- package/dist/esm/calcite-loader.entry.js +2 -2
- package/dist/esm/calcite-modal.entry.js +3 -3
- package/dist/esm/calcite-notice.entry.js +3 -3
- package/dist/esm/calcite-option_3.entry.js +5 -5
- 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 +7 -7
- package/dist/esm/calcite-popover_2.entry.js +12 -7
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-radio-group_2.entry.js +4 -4
- package/dist/esm/calcite-rating.entry.js +3 -3
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +5 -5
- package/dist/esm/calcite-sortable-list.entry.js +2 -2
- package/dist/esm/calcite-split-button.entry.js +2 -2
- package/dist/esm/calcite-stepper_2.entry.js +3 -3
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-tab_4.entry.js +5 -5
- package/dist/esm/calcite-tile-select_2.entry.js +3 -3
- package/dist/esm/calcite-tile.entry.js +3 -3
- package/dist/esm/calcite-tip_3.entry.js +6 -6
- package/dist/esm/calcite-tooltip_2.entry.js +9 -5
- package/dist/esm/calcite-tree_2.entry.js +4 -4
- package/dist/esm/calcite-value-list_2.entry.js +5 -5
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-c4b6c8b1.js → conditionalSlot-67f579ff.js} +1 -1
- package/dist/esm/{form-d07b2414.js → form-5e4609eb.js} +1 -1
- package/dist/esm/{index-0fefddd1.js → index-bd94948c.js} +4 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{popper-ae231554.js → popper-da45ec93.js} +16 -3
- package/dist/esm/{resources-431fa051.js → resources-73dac782.js} +1 -1
- package/dist/esm/{resources-77c12cea.js → resources-cbfcf4a3.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-ed0ae55a.js → ExpandToggle-af224c1e.js} +1 -1
- package/dist/esm-es5/{Heading-8289fa96.js → Heading-d5f1710a.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 +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- 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 +1 -1
- package/dist/esm-es5/calcite-list_3.entry.js +1 -1
- 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-button.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_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/{conditionalSlot-c4b6c8b1.js → conditionalSlot-67f579ff.js} +1 -1
- package/dist/esm-es5/{form-d07b2414.js → form-5e4609eb.js} +1 -1
- package/dist/esm-es5/{index-0fefddd1.js → index-bd94948c.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/popper-da45ec93.js +5 -0
- package/dist/esm-es5/{resources-431fa051.js → resources-73dac782.js} +2 -2
- package/dist/esm-es5/{resources-77c12cea.js → resources-cbfcf4a3.js} +1 -1
- package/dist/extras/docs-json.json +53 -8
- package/dist/types/components/action-menu/action-menu.d.ts +2 -3
- package/dist/types/components/combobox/combobox.d.ts +6 -4
- package/dist/types/components/combobox/resources.d.ts +0 -1
- package/dist/types/components/dropdown/dropdown.d.ts +7 -3
- package/dist/types/components/dropdown/interfaces.d.ts +0 -2
- package/dist/types/components/dropdown/resources.d.ts +0 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +5 -1
- package/dist/types/components/popover/popover.d.ts +3 -3
- package/dist/types/components/popover/resources.d.ts +1 -0
- package/dist/types/components.d.ts +32 -9
- package/dist/types/utils/popper.d.ts +8 -1
- package/hydrate/index.js +68 -48
- package/package.json +9 -9
- package/readme.md +2 -2
- package/dist/calcite/p-01f877b3.entry.js +0 -5
- package/dist/calcite/p-02b4bcec.entry.js +0 -5
- package/dist/calcite/p-04859cc3.entry.js +0 -5
- package/dist/calcite/p-0a565a2a.entry.js +0 -5
- package/dist/calcite/p-1370cabf.entry.js +0 -5
- package/dist/calcite/p-190e3d04.entry.js +0 -5
- package/dist/calcite/p-1ff6776b.entry.js +0 -5
- package/dist/calcite/p-22cef177.entry.js +0 -5
- package/dist/calcite/p-24e1de98.entry.js +0 -5
- package/dist/calcite/p-26bcdb22.entry.js +0 -5
- package/dist/calcite/p-2c293ed2.entry.js +0 -5
- package/dist/calcite/p-2fcab9f8.entry.js +0 -5
- package/dist/calcite/p-362522e5.js +0 -5
- package/dist/calcite/p-38b1f6b5.entry.js +0 -5
- package/dist/calcite/p-3e522dbe.entry.js +0 -5
- package/dist/calcite/p-44dcac16.entry.js +0 -5
- package/dist/calcite/p-46741fa4.entry.js +0 -5
- package/dist/calcite/p-4a3a1b46.entry.js +0 -5
- package/dist/calcite/p-55fa7908.entry.js +0 -5
- package/dist/calcite/p-5653a345.entry.js +0 -5
- package/dist/calcite/p-5c237680.entry.js +0 -5
- package/dist/calcite/p-5d1c8466.entry.js +0 -5
- package/dist/calcite/p-6a3357f9.system.js +0 -5
- package/dist/calcite/p-71d1bfb2.entry.js +0 -5
- package/dist/calcite/p-7ab80118.entry.js +0 -5
- package/dist/calcite/p-7d9f20b8.entry.js +0 -5
- package/dist/calcite/p-807e32d8.entry.js +0 -5
- package/dist/calcite/p-80ab216e.entry.js +0 -5
- package/dist/calcite/p-84f8db8e.entry.js +0 -5
- package/dist/calcite/p-88f949f4.entry.js +0 -5
- package/dist/calcite/p-8afbcf9e.entry.js +0 -5
- package/dist/calcite/p-8dbb756d.entry.js +0 -5
- package/dist/calcite/p-8e198935.entry.js +0 -5
- package/dist/calcite/p-8f93be14.system.js +0 -5
- package/dist/calcite/p-9127d01c.entry.js +0 -5
- package/dist/calcite/p-93d9d3e7.entry.js +0 -5
- package/dist/calcite/p-98962bd9.entry.js +0 -5
- package/dist/calcite/p-9b514f77.entry.js +0 -5
- package/dist/calcite/p-9c86f528.entry.js +0 -5
- package/dist/calcite/p-a400f6dc.system.entry.js +0 -5
- package/dist/calcite/p-a5397c9d.entry.js +0 -5
- package/dist/calcite/p-a5e8d728.entry.js +0 -5
- package/dist/calcite/p-a7e2bf9b.system.entry.js +0 -5
- package/dist/calcite/p-b55643f5.entry.js +0 -5
- package/dist/calcite/p-b58cdaca.entry.js +0 -5
- package/dist/calcite/p-b84e5b34.entry.js +0 -5
- package/dist/calcite/p-b85064fc.entry.js +0 -5
- package/dist/calcite/p-c5086019.system.entry.js +0 -5
- package/dist/calcite/p-c82c4418.entry.js +0 -5
- package/dist/calcite/p-cc894f09.entry.js +0 -5
- package/dist/calcite/p-d2a1cbbf.entry.js +0 -5
- package/dist/calcite/p-d44165c7.entry.js +0 -5
- package/dist/calcite/p-d648a677.entry.js +0 -5
- package/dist/calcite/p-d74e933c.entry.js +0 -5
- package/dist/calcite/p-e2047621.system.js +0 -5
- package/dist/calcite/p-e23de208.entry.js +0 -5
- package/dist/calcite/p-e33d149d.system.entry.js +0 -5
- package/dist/calcite/p-e8f17533.entry.js +0 -5
- package/dist/calcite/p-eaf79f20.entry.js +0 -5
- package/dist/calcite/p-eeb91710.js +0 -5
- package/dist/calcite/p-f2433871.entry.js +0 -5
- package/dist/calcite/p-f681fbba.entry.js +0 -5
- package/dist/calcite/p-f6d994ff.entry.js +0 -5
- package/dist/calcite/p-f71b551d.entry.js +0 -5
- package/dist/calcite/p-fa078a42.entry.js +0 -5
- package/dist/esm-es5/popper-ae231554.js +0 -5
|
@@ -2,10 +2,10 @@
|
|
|
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 { HTMLElement, createEvent, h, Host
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { g as getElementProp, b as getSlotted } from './dom.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
8
|
-
import {
|
|
8
|
+
import { d as getAncestors, e as getDepth } from './utils2.js';
|
|
9
9
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
10
10
|
import { u as updateHostInteraction } from './interactive.js';
|
|
11
11
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
@@ -25,7 +25,7 @@ const CSS = {
|
|
|
25
25
|
|
|
26
26
|
const comboboxItemCss = "@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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-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);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;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;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);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-top:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;width:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}";
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
const ComboboxItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
29
29
|
constructor() {
|
|
30
30
|
super();
|
|
31
31
|
this.__registerHost();
|
|
@@ -136,8 +136,7 @@ let ComboboxItem = class extends HTMLElement {
|
|
|
136
136
|
"selected": ["selectedWatchHandler"]
|
|
137
137
|
}; }
|
|
138
138
|
static get style() { return comboboxItemCss; }
|
|
139
|
-
}
|
|
140
|
-
ComboboxItem = /*@__PURE__*/ proxyCustomElement(ComboboxItem, [1, "calcite-combobox-item", {
|
|
139
|
+
}, [1, "calcite-combobox-item", {
|
|
141
140
|
"disabled": [516],
|
|
142
141
|
"selected": [1540],
|
|
143
142
|
"active": [4],
|
|
@@ -2,12 +2,12 @@
|
|
|
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 { HTMLElement, createEvent, h, Host
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { a as isSymbol, S as Symbol, d as debounce } from './debounce.js';
|
|
7
7
|
import { i as isArray, f as forIn } from './forIn.js';
|
|
8
|
-
import { u as updatePopper, c as createPopper, C as CSS } from './popper.js';
|
|
8
|
+
import { u as updatePopper, c as createPopper, a as defaultMenuPlacement, p as popperMenuFlipPlacements, C as CSS } from './popper.js';
|
|
9
9
|
import { g as guid } from './guid.js';
|
|
10
|
-
import { T as TEXT, C as ComboboxChildSelector, g as getItemAncestors, a as getItemChildren, h as hasActiveChildren, b as ComboboxItem, c as ComboboxItemGroup
|
|
10
|
+
import { T as TEXT, C as ComboboxChildSelector, g as getItemAncestors, a as getItemChildren, h as hasActiveChildren, b as ComboboxItem, c as ComboboxItemGroup } from './utils2.js';
|
|
11
11
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
|
|
12
12
|
import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
13
13
|
import { c as createObserver } from './observers.js';
|
|
@@ -162,7 +162,7 @@ const chipUidPrefix = "combobox-chip-";
|
|
|
162
162
|
const labelUidPrefix = "combobox-label-";
|
|
163
163
|
const listboxUidPrefix = "combobox-listbox-";
|
|
164
164
|
const inputUidPrefix = "combobox-input-";
|
|
165
|
-
|
|
165
|
+
const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
166
166
|
constructor() {
|
|
167
167
|
super();
|
|
168
168
|
this.__registerHost();
|
|
@@ -216,12 +216,10 @@ let Combobox = class extends HTMLElement {
|
|
|
216
216
|
this.groupItems = [];
|
|
217
217
|
this.selectedItems = [];
|
|
218
218
|
this.visibleItems = [];
|
|
219
|
-
this.hideList = !this.active;
|
|
220
219
|
this.activeItemIndex = -1;
|
|
221
220
|
this.activeChipIndex = -1;
|
|
222
221
|
this.activeDescendant = "";
|
|
223
222
|
this.text = "";
|
|
224
|
-
this.open = this.active;
|
|
225
223
|
this.textInput = null;
|
|
226
224
|
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
227
225
|
this.resizeObserver = createObserver("resize", () => this.setMaxScrollerHeight());
|
|
@@ -310,11 +308,11 @@ let Combobox = class extends HTMLElement {
|
|
|
310
308
|
}
|
|
311
309
|
};
|
|
312
310
|
this.toggleCloseEnd = () => {
|
|
313
|
-
this.
|
|
311
|
+
this.active = false;
|
|
314
312
|
this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
|
|
315
313
|
};
|
|
316
314
|
this.toggleOpenEnd = () => {
|
|
317
|
-
this.
|
|
315
|
+
this.active = true;
|
|
318
316
|
this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
|
|
319
317
|
};
|
|
320
318
|
this.transitionEnd = (event) => {
|
|
@@ -348,9 +346,7 @@ let Combobox = class extends HTMLElement {
|
|
|
348
346
|
};
|
|
349
347
|
this.setInactiveIfNotContained = (event) => {
|
|
350
348
|
const composedPath = event.composedPath();
|
|
351
|
-
if (
|
|
352
|
-
composedPath.includes(this.el) ||
|
|
353
|
-
composedPath.includes(this.referenceEl)) {
|
|
349
|
+
if (!this.active || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
|
|
354
350
|
return;
|
|
355
351
|
}
|
|
356
352
|
if (this.allowCustomValues && this.text) {
|
|
@@ -365,7 +361,6 @@ let Combobox = class extends HTMLElement {
|
|
|
365
361
|
this.updateActiveItemIndex(-1);
|
|
366
362
|
}
|
|
367
363
|
this.active = false;
|
|
368
|
-
this.open = false;
|
|
369
364
|
};
|
|
370
365
|
this.setMenuEl = (el) => {
|
|
371
366
|
this.menuEl = el;
|
|
@@ -443,20 +438,11 @@ let Combobox = class extends HTMLElement {
|
|
|
443
438
|
this.setInactiveIfNotContained(event);
|
|
444
439
|
};
|
|
445
440
|
}
|
|
446
|
-
activeHandler(
|
|
441
|
+
activeHandler() {
|
|
447
442
|
if (this.disabled) {
|
|
448
443
|
this.active = false;
|
|
449
444
|
return;
|
|
450
445
|
}
|
|
451
|
-
// when closing, wait transition time then hide to prevent overscroll
|
|
452
|
-
if (oldValue && !newValue) {
|
|
453
|
-
this.el.addEventListener("calciteComboboxClose", this.toggleCloseEnd);
|
|
454
|
-
this.open = false;
|
|
455
|
-
}
|
|
456
|
-
else if (!oldValue && newValue) {
|
|
457
|
-
this.el.addEventListener("calciteComboboxOpen", this.toggleOpenEnd);
|
|
458
|
-
this.open = true;
|
|
459
|
-
}
|
|
460
446
|
this.reposition();
|
|
461
447
|
}
|
|
462
448
|
handleDisabledChange(value) {
|
|
@@ -510,7 +496,7 @@ let Combobox = class extends HTMLElement {
|
|
|
510
496
|
? await updatePopper({
|
|
511
497
|
el: menuEl,
|
|
512
498
|
modifiers,
|
|
513
|
-
placement:
|
|
499
|
+
placement: defaultMenuPlacement,
|
|
514
500
|
popper
|
|
515
501
|
})
|
|
516
502
|
: this.createPopper();
|
|
@@ -574,9 +560,13 @@ let Combobox = class extends HTMLElement {
|
|
|
574
560
|
enabled: true
|
|
575
561
|
};
|
|
576
562
|
flipModifier.options = {
|
|
577
|
-
fallbackPlacements:
|
|
563
|
+
fallbackPlacements: this.flipPlacements || popperMenuFlipPlacements
|
|
564
|
+
};
|
|
565
|
+
const eventListenerModifier = {
|
|
566
|
+
name: "eventListeners",
|
|
567
|
+
enabled: this.active
|
|
578
568
|
};
|
|
579
|
-
return [flipModifier];
|
|
569
|
+
return [flipModifier, eventListenerModifier];
|
|
580
570
|
}
|
|
581
571
|
createPopper() {
|
|
582
572
|
this.destroyPopper();
|
|
@@ -586,7 +576,7 @@ let Combobox = class extends HTMLElement {
|
|
|
586
576
|
el: menuEl,
|
|
587
577
|
modifiers,
|
|
588
578
|
overlayPositioning,
|
|
589
|
-
placement:
|
|
579
|
+
placement: defaultMenuPlacement,
|
|
590
580
|
referenceEl
|
|
591
581
|
});
|
|
592
582
|
}
|
|
@@ -865,13 +855,13 @@ let Combobox = class extends HTMLElement {
|
|
|
865
855
|
return this.visibleItems.map((item) => (h("li", { "aria-selected": (!!item.selected).toString(), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
866
856
|
}
|
|
867
857
|
renderPopperContainer() {
|
|
868
|
-
const { active, setMenuEl, setListContainerEl
|
|
858
|
+
const { active, setMenuEl, setListContainerEl } = this;
|
|
869
859
|
const classes = {
|
|
870
860
|
"list-container": true,
|
|
871
861
|
[CSS.animation]: true,
|
|
872
862
|
[CSS.animationActive]: active
|
|
873
863
|
};
|
|
874
|
-
return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active":
|
|
864
|
+
return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": active }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, h("ul", { class: { list: true, "list--hide": !active } }, h("slot", null)))));
|
|
875
865
|
}
|
|
876
866
|
renderIconStart() {
|
|
877
867
|
const { selectionMode, needsIcon, selectedItems } = this;
|
|
@@ -883,12 +873,12 @@ let Combobox = class extends HTMLElement {
|
|
|
883
873
|
return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
884
874
|
}
|
|
885
875
|
render() {
|
|
886
|
-
const {
|
|
876
|
+
const { active, guid, label } = this;
|
|
887
877
|
const single = this.selectionMode === "single";
|
|
888
|
-
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded":
|
|
878
|
+
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": active.toString(), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
889
879
|
wrapper: true,
|
|
890
880
|
"wrapper--single": single || !this.selectedItems.length,
|
|
891
|
-
"wrapper--active":
|
|
881
|
+
"wrapper--active": active
|
|
892
882
|
}, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), h(HiddenFormInputSlot, { component: this })));
|
|
893
883
|
}
|
|
894
884
|
get el() { return this; }
|
|
@@ -901,8 +891,7 @@ let Combobox = class extends HTMLElement {
|
|
|
901
891
|
"text": ["textHandler"]
|
|
902
892
|
}; }
|
|
903
893
|
static get style() { return comboboxCss; }
|
|
904
|
-
}
|
|
905
|
-
Combobox = /*@__PURE__*/ proxyCustomElement(Combobox, [1, "calcite-combobox", {
|
|
894
|
+
}, [1, "calcite-combobox", {
|
|
906
895
|
"active": [1540],
|
|
907
896
|
"disabled": [516],
|
|
908
897
|
"label": [1],
|
|
@@ -916,17 +905,16 @@ Combobox = /*@__PURE__*/ proxyCustomElement(Combobox, [1, "calcite-combobox", {
|
|
|
916
905
|
"scale": [513],
|
|
917
906
|
"value": [1025],
|
|
918
907
|
"intlRemoveTag": [1, "intl-remove-tag"],
|
|
908
|
+
"flipPlacements": [16],
|
|
919
909
|
"items": [32],
|
|
920
910
|
"groupItems": [32],
|
|
921
911
|
"selectedItems": [32],
|
|
922
912
|
"visibleItems": [32],
|
|
923
913
|
"needsIcon": [32],
|
|
924
|
-
"hideList": [32],
|
|
925
914
|
"activeItemIndex": [32],
|
|
926
915
|
"activeChipIndex": [32],
|
|
927
916
|
"activeDescendant": [32],
|
|
928
917
|
"text": [32],
|
|
929
|
-
"open": [32],
|
|
930
918
|
"reposition": [64],
|
|
931
919
|
"setFocus": [64]
|
|
932
920
|
}, [[4, "click", "documentClickHandler"], [0, "calciteComboboxItemChange", "calciteComboboxItemChangeHandler"]]]);
|
|
@@ -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 { HTMLElement, createEvent, h, Host
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { g as getElementProp } from './dom.js';
|
|
7
7
|
|
|
8
8
|
const CSS = {
|
|
@@ -13,7 +13,7 @@ const CSS = {
|
|
|
13
13
|
|
|
14
14
|
const dropdownGroupCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-bottom:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;height:1px;background-color:var(--calcite-ui-border-3)}";
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
const DropdownGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
19
19
|
this.__registerHost();
|
|
@@ -65,8 +65,7 @@ let DropdownGroup = class extends HTMLElement {
|
|
|
65
65
|
}
|
|
66
66
|
get el() { return this; }
|
|
67
67
|
static get style() { return dropdownGroupCss; }
|
|
68
|
-
}
|
|
69
|
-
DropdownGroup = /*@__PURE__*/ proxyCustomElement(DropdownGroup, [1, "calcite-dropdown-group", {
|
|
68
|
+
}, [1, "calcite-dropdown-group", {
|
|
70
69
|
"groupTitle": [513, "group-title"],
|
|
71
70
|
"selectionMode": [513, "selection-mode"],
|
|
72
71
|
"scale": [513]
|
|
@@ -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 { HTMLElement, createEvent, h, Host
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { g as getElementProp } from './dom.js';
|
|
7
7
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ const CSS = {
|
|
|
18
18
|
|
|
19
19
|
const dropdownItemCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}.container--s{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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)}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}: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:0px}.container--link a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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)}.container--s .dropdown-link{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line: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);-webkit-text-decoration-line:none;text-decoration-line: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}:host([active]) .container:not(.container--none-selection),:host([active]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}: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{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start: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{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start: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{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
const DropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
22
22
|
constructor() {
|
|
23
23
|
super();
|
|
24
24
|
this.__registerHost();
|
|
@@ -164,8 +164,7 @@ let DropdownItem = class extends HTMLElement {
|
|
|
164
164
|
}
|
|
165
165
|
get el() { return this; }
|
|
166
166
|
static get style() { return dropdownItemCss; }
|
|
167
|
-
}
|
|
168
|
-
DropdownItem = /*@__PURE__*/ proxyCustomElement(DropdownItem, [1, "calcite-dropdown-item", {
|
|
167
|
+
}, [1, "calcite-dropdown-item", {
|
|
169
168
|
"active": [1540],
|
|
170
169
|
"iconFlipRtl": [513, "icon-flip-rtl"],
|
|
171
170
|
"iconStart": [513, "icon-start"],
|
|
@@ -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 { HTMLElement, h
|
|
5
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
6
6
|
import { f as focusElement } from './dom.js';
|
|
7
7
|
import { u as updateHostInteraction } from './interactive.js';
|
|
8
8
|
import { d as defineCustomElement$4 } from './button.js';
|
|
@@ -18,7 +18,7 @@ const ICONS = {
|
|
|
18
18
|
|
|
19
19
|
const fabCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
const Fab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
22
22
|
constructor() {
|
|
23
23
|
super();
|
|
24
24
|
this.__registerHost();
|
|
@@ -89,8 +89,7 @@ let Fab = class extends HTMLElement {
|
|
|
89
89
|
}
|
|
90
90
|
get el() { return this; }
|
|
91
91
|
static get style() { return fabCss; }
|
|
92
|
-
}
|
|
93
|
-
Fab = /*@__PURE__*/ proxyCustomElement(Fab, [1, "calcite-fab", {
|
|
92
|
+
}, [1, "calcite-fab", {
|
|
94
93
|
"appearance": [513],
|
|
95
94
|
"color": [513],
|
|
96
95
|
"disabled": [516],
|
|
@@ -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 { HTMLElement, h
|
|
5
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
6
6
|
import { c as createObserver } from './observers.js';
|
|
7
7
|
|
|
8
8
|
const CSS = {
|
|
@@ -13,7 +13,7 @@ const CSS = {
|
|
|
13
13
|
|
|
14
14
|
const flowCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;overflow:hidden}:host .frame{position:relative;margin:0px;display:-ms-flexbox;display:flex;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;padding:0px}:host ::slotted(calcite-panel){height:100%}:host ::slotted(.calcite-match-height:last-child){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}:host .frame--advancing{-webkit-animation:calcite-frame-advance var(--calcite-animation-timing);animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{-webkit-animation:calcite-frame-retreat var(--calcite-animation-timing);animation:calcite-frame-retreat var(--calcite-animation-timing)}@-webkit-keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5}0%{-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1}100%{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5}0%{-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1}100%{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@-webkit-keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5}0%{-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1}100%{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5}0%{-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1}100%{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}";
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
const Flow = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
19
19
|
this.__registerHost();
|
|
@@ -113,8 +113,7 @@ let Flow = class extends HTMLElement {
|
|
|
113
113
|
}
|
|
114
114
|
get el() { return this; }
|
|
115
115
|
static get style() { return flowCss; }
|
|
116
|
-
}
|
|
117
|
-
Flow = /*@__PURE__*/ proxyCustomElement(Flow, [1, "calcite-flow", {
|
|
116
|
+
}, [1, "calcite-flow", {
|
|
118
117
|
"panelCount": [32],
|
|
119
118
|
"flowDirection": [32],
|
|
120
119
|
"panels": [32],
|
|
@@ -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 { HTMLElement, createEvent, h
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
6
6
|
import { g as getElementProp, b as getSlotted } from './dom.js';
|
|
7
7
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
|
|
8
8
|
import { c as createObserver } from './observers.js';
|
|
@@ -28,7 +28,7 @@ const TEXT = {
|
|
|
28
28
|
|
|
29
29
|
const inlineEditableCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host([scale=s]) .controls-wrapper{height:1.5rem}:host([scale=m]) .controls-wrapper{height:2rem}:host([scale=l]) .controls-wrapper{height:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-ui-foreground-2)}.wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.wrapper .input-wrapper{-ms-flex:1 1 0%;flex:1 1 0%}.controls-wrapper{display:-ms-flexbox;display:flex}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-ui-border-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
const InlineEditable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
32
32
|
constructor() {
|
|
33
33
|
super();
|
|
34
34
|
this.__registerHost();
|
|
@@ -233,8 +233,7 @@ let InlineEditable = class extends HTMLElement {
|
|
|
233
233
|
"editingEnabled": ["editingEnabledWatcher"]
|
|
234
234
|
}; }
|
|
235
235
|
static get style() { return inlineEditableCss; }
|
|
236
|
-
}
|
|
237
|
-
InlineEditable = /*@__PURE__*/ proxyCustomElement(InlineEditable, [1, "calcite-inline-editable", {
|
|
236
|
+
}, [1, "calcite-inline-editable", {
|
|
238
237
|
"disabled": [516],
|
|
239
238
|
"editingEnabled": [1540, "editing-enabled"],
|
|
240
239
|
"loading": [1540],
|
|
@@ -2,12 +2,12 @@
|
|
|
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 { HTMLElement, createEvent, h, Host, Build
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client';
|
|
6
6
|
import { T as TEXT, g as getLocaleData, d as defineCustomElement$8 } from './date-picker.js';
|
|
7
7
|
import { d as dateToISO, a as dateFromISO, b as dateFromRange, s as sameDate, f as parseDateString, i as inRange } from './date.js';
|
|
8
8
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
|
|
9
9
|
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
10
|
-
import { u as updatePopper, C as CSS, c as createPopper } from './popper.js';
|
|
10
|
+
import { u as updatePopper, C as CSS, c as createPopper, a as defaultMenuPlacement, p as popperMenuFlipPlacements } from './popper.js';
|
|
11
11
|
import { u as updateHostInteraction } from './interactive.js';
|
|
12
12
|
import { d as defineCustomElement$7 } from './date-picker-day.js';
|
|
13
13
|
import { d as defineCustomElement$6 } from './date-picker-month.js';
|
|
@@ -18,8 +18,7 @@ import { d as defineCustomElement$2 } from './progress.js';
|
|
|
18
18
|
|
|
19
19
|
const inputDatePickerCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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{--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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{position:static;width:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;position:absolute;left:0px;z-index:10;margin-left:1px;margin-right:1px;background-color:var(--calcite-ui-foreground-1);padding-left:0.625rem;padding-right:0.625rem}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.menu-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}.menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.menu-container--active .menu-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}.menu-container--active .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container--active .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container--active .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container--active .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container--active .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.input .calcite-input__wrapper{margin-top:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{height:0.75rem;width:0.75rem;min-width:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
20
20
|
|
|
21
|
-
const
|
|
22
|
-
let InputDatePicker = class extends HTMLElement {
|
|
21
|
+
const InputDatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
23
22
|
constructor() {
|
|
24
23
|
super();
|
|
25
24
|
this.__registerHost();
|
|
@@ -214,7 +213,7 @@ let InputDatePicker = class extends HTMLElement {
|
|
|
214
213
|
? await updatePopper({
|
|
215
214
|
el: menuEl,
|
|
216
215
|
modifiers,
|
|
217
|
-
placement:
|
|
216
|
+
placement: defaultMenuPlacement,
|
|
218
217
|
popper
|
|
219
218
|
})
|
|
220
219
|
: this.createPopper();
|
|
@@ -308,9 +307,13 @@ let InputDatePicker = class extends HTMLElement {
|
|
|
308
307
|
enabled: true
|
|
309
308
|
};
|
|
310
309
|
flipModifier.options = {
|
|
311
|
-
fallbackPlacements:
|
|
310
|
+
fallbackPlacements: this.flipPlacements || popperMenuFlipPlacements
|
|
312
311
|
};
|
|
313
|
-
|
|
312
|
+
const eventListenerModifier = {
|
|
313
|
+
name: "eventListeners",
|
|
314
|
+
enabled: this.active
|
|
315
|
+
};
|
|
316
|
+
return [flipModifier, eventListenerModifier];
|
|
314
317
|
}
|
|
315
318
|
createPopper() {
|
|
316
319
|
this.destroyPopper();
|
|
@@ -323,7 +326,7 @@ let InputDatePicker = class extends HTMLElement {
|
|
|
323
326
|
el: menuEl,
|
|
324
327
|
modifiers,
|
|
325
328
|
overlayPositioning,
|
|
326
|
-
placement:
|
|
329
|
+
placement: defaultMenuPlacement,
|
|
327
330
|
referenceEl
|
|
328
331
|
});
|
|
329
332
|
}
|
|
@@ -477,10 +480,10 @@ let InputDatePicker = class extends HTMLElement {
|
|
|
477
480
|
"locale": ["loadLocaleData"]
|
|
478
481
|
}; }
|
|
479
482
|
static get style() { return inputDatePickerCss; }
|
|
480
|
-
}
|
|
481
|
-
InputDatePicker = /*@__PURE__*/ proxyCustomElement(InputDatePicker, [1, "calcite-input-date-picker", {
|
|
483
|
+
}, [1, "calcite-input-date-picker", {
|
|
482
484
|
"disabled": [516],
|
|
483
485
|
"value": [1025],
|
|
486
|
+
"flipPlacements": [16],
|
|
484
487
|
"headingLevel": [2, "heading-level"],
|
|
485
488
|
"valueAsDate": [1040],
|
|
486
489
|
"startAsDate": [1040],
|
|
@@ -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 { HTMLElement, h, Host
|
|
5
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { s as setRequestedIcon, g as getElementProp } from './dom.js';
|
|
7
7
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ var StatusIconDefaults;
|
|
|
15
15
|
|
|
16
16
|
const inputMessageCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:0px;width:100%;-ms-flex-align:center;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active]){visibility:visible;height:auto;opacity:1;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active][scale=m]),:host([active][scale=l]){margin-top:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([status][active][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][active][scale=m]){margin-top:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][active][scale=l]){margin-top:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const InputMessage = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
19
19
|
constructor() {
|
|
20
20
|
super();
|
|
21
21
|
this.__registerHost();
|
|
@@ -65,8 +65,7 @@ let InputMessage = class extends HTMLElement {
|
|
|
65
65
|
"icon": ["handleIconEl"]
|
|
66
66
|
}; }
|
|
67
67
|
static get style() { return inputMessageCss; }
|
|
68
|
-
}
|
|
69
|
-
InputMessage = /*@__PURE__*/ proxyCustomElement(InputMessage, [1, "calcite-input-message", {
|
|
68
|
+
}, [1, "calcite-input-message", {
|
|
70
69
|
"active": [516],
|
|
71
70
|
"icon": [520],
|
|
72
71
|
"scale": [1537],
|
|
@@ -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 { HTMLElement, createEvent, h, Host
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { g as guid } from './guid.js';
|
|
7
7
|
import { l as localizeTimeString, f as formatTimeString, i as isValidTime, d as defineCustomElement$2 } from './time-picker.js';
|
|
8
8
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
|
|
@@ -17,7 +17,7 @@ import { d as defineCustomElement$3 } from './progress.js';
|
|
|
17
17
|
|
|
18
18
|
const inputTimePickerCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
21
21
|
constructor() {
|
|
22
22
|
super();
|
|
23
23
|
this.__registerHost();
|
|
@@ -228,8 +228,7 @@ let InputTimePicker = class extends HTMLElement {
|
|
|
228
228
|
"value": ["valueWatcher"]
|
|
229
229
|
}; }
|
|
230
230
|
static get style() { return inputTimePickerCss; }
|
|
231
|
-
}
|
|
232
|
-
InputTimePicker = /*@__PURE__*/ proxyCustomElement(InputTimePicker, [1, "calcite-input-time-picker", {
|
|
231
|
+
}, [1, "calcite-input-time-picker", {
|
|
233
232
|
"active": [1540],
|
|
234
233
|
"disabled": [516],
|
|
235
234
|
"intlHour": [1, "intl-hour"],
|
|
@@ -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 { HTMLElement, h, Host
|
|
5
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { H as Heading, c as constrainHeadingLevel } from './Heading.js';
|
|
7
7
|
|
|
8
8
|
const CSS = {
|
|
@@ -13,7 +13,7 @@ const HEADING_LEVEL = 3;
|
|
|
13
13
|
|
|
14
14
|
const listItemGroupCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.heading{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.container{display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}::slotted(calcite-list-item-group){padding-left:0.5rem}";
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
const ListItemGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
19
19
|
this.__registerHost();
|
|
@@ -34,8 +34,7 @@ let ListItemGroup = class extends HTMLElement {
|
|
|
34
34
|
}
|
|
35
35
|
get el() { return this; }
|
|
36
36
|
static get style() { return listItemGroupCss; }
|
|
37
|
-
}
|
|
38
|
-
ListItemGroup = /*@__PURE__*/ proxyCustomElement(ListItemGroup, [1, "calcite-list-item-group", {
|
|
37
|
+
}, [1, "calcite-list-item-group", {
|
|
39
38
|
"heading": [513],
|
|
40
39
|
"headingLevel": [2, "heading-level"]
|
|
41
40
|
}]);
|