@esri/calcite-components 1.0.0-next.345 → 1.0.0-next.349
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.css +1 -1
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/p-00d526f2.system.entry.js +5 -0
- package/dist/calcite/{p-8ebc2d51.entry.js → p-04cbeb2a.entry.js} +1 -1
- package/dist/calcite/{p-9d0b76a0.system.entry.js → p-05a069ad.system.entry.js} +1 -1
- package/dist/calcite/{p-1705739f.system.entry.js → p-05afd204.system.entry.js} +2 -2
- package/dist/calcite/{p-0ea8bce1.system.entry.js → p-070ce87b.system.entry.js} +1 -1
- package/dist/calcite/p-07284a52.system.js +5 -0
- package/dist/calcite/{p-8dbafcac.system.entry.js → p-0a65fbd6.system.entry.js} +1 -1
- package/dist/calcite/{p-130b7a05.system.entry.js → p-0dcf351d.system.entry.js} +1 -1
- package/dist/calcite/p-12c1a605.system.entry.js +5 -0
- package/dist/calcite/{p-0bb004b7.entry.js → p-1529e188.entry.js} +1 -1
- package/dist/calcite/p-18d9a261.system.js +1 -1
- package/dist/calcite/{p-11f99edf.system.entry.js → p-1a5bd3cd.system.entry.js} +1 -1
- package/dist/calcite/p-1ae01548.system.js +5 -0
- package/dist/calcite/{p-197226fa.entry.js → p-1ddaef77.entry.js} +1 -1
- package/dist/calcite/p-1e6a3265.entry.js +5 -0
- package/dist/calcite/{p-11b4f866.system.entry.js → p-20f933ec.system.entry.js} +1 -1
- package/dist/calcite/{p-2c6e9854.entry.js → p-21857b73.entry.js} +1 -1
- package/dist/calcite/{p-ff623944.entry.js → p-21aa0028.entry.js} +1 -1
- package/dist/calcite/p-26481e18.js +5 -0
- package/dist/calcite/{p-0f2b51bf.system.js → p-26755e82.system.js} +1 -1
- package/dist/calcite/{p-6d8a5959.entry.js → p-26ace86f.entry.js} +1 -1
- package/dist/calcite/{p-41cd5de3.system.entry.js → p-2c0832d4.system.entry.js} +1 -1
- package/dist/calcite/{p-0b2ac5d7.system.entry.js → p-30a5d7eb.system.entry.js} +1 -1
- package/dist/calcite/{p-1acfcee4.entry.js → p-389d11dd.entry.js} +1 -1
- package/dist/calcite/{p-e01985ce.system.entry.js → p-38b6901a.system.entry.js} +1 -1
- package/dist/calcite/{p-ec216f50.entry.js → p-39b7addd.entry.js} +1 -1
- package/dist/calcite/{p-4bedcfdd.system.entry.js → p-3e77da28.system.entry.js} +1 -1
- package/dist/calcite/{p-109fdcb4.system.entry.js → p-3ed7c8b9.system.entry.js} +1 -1
- package/dist/calcite/{p-fc9ea70f.system.entry.js → p-420e1500.system.entry.js} +1 -1
- package/dist/calcite/{p-42814ab6.system.entry.js → p-4308ccda.system.entry.js} +1 -1
- package/dist/calcite/p-4364e76a.system.js +5 -0
- package/dist/calcite/{p-e97696ee.system.entry.js → p-463b50b4.system.entry.js} +1 -1
- package/dist/calcite/{p-0c9ea65a.entry.js → p-4c902a9d.entry.js} +1 -1
- package/dist/calcite/p-4cf5bdd0.entry.js +5 -0
- package/dist/calcite/{p-d4561697.system.entry.js → p-4f1fd456.system.entry.js} +1 -1
- package/dist/calcite/p-5642e2bc.entry.js +5 -0
- package/dist/calcite/{p-82d19468.entry.js → p-56963201.entry.js} +1 -1
- package/dist/calcite/p-5ebc6442.system.entry.js +5 -0
- package/dist/calcite/{p-6691b847.system.entry.js → p-5f949b17.system.entry.js} +2 -2
- package/dist/calcite/{p-28729351.entry.js → p-6472926f.entry.js} +1 -1
- package/dist/calcite/{p-cac9db7d.entry.js → p-6a06c39d.entry.js} +1 -1
- package/dist/calcite/{p-0229a408.js → p-6d0d9bba.js} +1 -1
- package/dist/calcite/{p-ce704ece.js → p-7017ca05.js} +1 -1
- package/dist/calcite/{p-b311fec9.entry.js → p-7064b1e7.entry.js} +1 -1
- package/dist/calcite/{p-54d12b6f.entry.js → p-71da0971.entry.js} +1 -1
- package/dist/calcite/{p-ee7ba765.entry.js → p-7958e723.entry.js} +1 -1
- package/dist/calcite/{p-520f90ae.entry.js → p-7975c2f9.entry.js} +1 -1
- package/dist/calcite/{p-35aa821f.entry.js → p-7b709610.entry.js} +1 -1
- package/dist/calcite/{p-b3109189.system.entry.js → p-7e11faf9.system.entry.js} +1 -1
- package/dist/calcite/p-7fac1c07.entry.js +5 -0
- package/dist/calcite/{p-5a6ad843.system.entry.js → p-81fecc87.system.entry.js} +2 -2
- package/dist/calcite/{p-a4762e4a.system.entry.js → p-8abe0816.system.entry.js} +1 -1
- package/dist/calcite/{p-73dad5ab.system.entry.js → p-8ac0823e.system.entry.js} +1 -1
- package/dist/calcite/{p-e311dc47.entry.js → p-8d98d2a5.entry.js} +1 -1
- package/dist/calcite/{p-1749e1a2.system.entry.js → p-8ecae737.system.entry.js} +2 -2
- package/dist/calcite/{p-68c5432f.entry.js → p-90a47591.entry.js} +1 -1
- package/dist/calcite/{p-985ac8a8.system.entry.js → p-910e1235.system.entry.js} +1 -1
- package/dist/calcite/{p-51819373.entry.js → p-940d168f.entry.js} +1 -1
- package/dist/calcite/{p-9180be05.system.entry.js → p-95c01d5c.system.entry.js} +1 -1
- package/dist/calcite/{p-7cf59f80.system.entry.js → p-9b5bb8ad.system.entry.js} +1 -1
- package/dist/calcite/p-a391ef7c.entry.js +5 -0
- package/dist/calcite/{p-61c25508.system.entry.js → p-a495271b.system.entry.js} +1 -1
- package/dist/calcite/{p-527dfb9d.entry.js → p-a7a4f22d.entry.js} +1 -1
- package/dist/calcite/{p-afd8eb90.system.entry.js → p-a84c50db.system.entry.js} +1 -1
- package/dist/calcite/{p-bf38d77d.system.entry.js → p-b000a562.system.entry.js} +1 -1
- package/dist/calcite/{p-9ee56933.entry.js → p-b343bc29.entry.js} +1 -1
- package/dist/calcite/{p-899920c9.entry.js → p-b485b5c0.entry.js} +1 -1
- package/dist/calcite/p-bb4dcd31.js +5 -0
- package/dist/calcite/{p-65c6c5a7.entry.js → p-bd70cb32.entry.js} +1 -1
- package/dist/calcite/{p-4639388a.system.entry.js → p-c3fc696a.system.entry.js} +1 -1
- package/dist/calcite/{p-7fbab7bb.entry.js → p-ca9795e8.entry.js} +1 -1
- package/dist/calcite/{p-1ce0c26a.entry.js → p-cab448f5.entry.js} +1 -1
- package/dist/calcite/{p-523bc291.system.js → p-cbea8bac.system.js} +1 -1
- package/dist/calcite/{p-c1912740.system.entry.js → p-cdf1d141.system.entry.js} +1 -1
- package/dist/calcite/{p-531ddede.entry.js → p-cf9389d2.entry.js} +1 -1
- package/dist/calcite/{p-15c5e94c.system.entry.js → p-d0c41b96.system.entry.js} +1 -1
- package/dist/calcite/{p-e942dcc6.entry.js → p-d1d02a92.entry.js} +1 -1
- package/dist/calcite/{p-6e94b4ef.system.entry.js → p-d6d92f2c.system.entry.js} +1 -1
- package/dist/calcite/{p-6436b89b.system.entry.js → p-d791b8ed.system.entry.js} +1 -1
- package/dist/calcite/{p-496a04e4.system.entry.js → p-db18b0b9.system.entry.js} +1 -1
- package/dist/calcite/p-dbafbe0a.entry.js +5 -0
- package/dist/calcite/{p-6d42cf99.system.entry.js → p-dbc16f65.system.entry.js} +1 -1
- package/dist/calcite/{p-12a3d7b1.entry.js → p-dcaf145a.entry.js} +1 -1
- package/dist/calcite/{p-809eed64.system.entry.js → p-dd4d55d4.system.entry.js} +1 -1
- package/dist/calcite/{p-62e9b8a4.system.entry.js → p-dfc1ecd1.system.entry.js} +1 -1
- package/dist/calcite/{p-eae4d478.entry.js → p-e0bc9872.entry.js} +1 -1
- package/dist/calcite/{p-be7b205c.entry.js → p-e17f8834.entry.js} +1 -1
- package/dist/calcite/{p-92dea7f7.entry.js → p-e284b5b8.entry.js} +1 -1
- package/dist/calcite/{p-be589623.system.entry.js → p-e592e359.system.entry.js} +1 -1
- package/dist/calcite/{p-5c141491.entry.js → p-e9197eeb.entry.js} +1 -1
- package/dist/calcite/{p-b5cab90f.entry.js → p-ed64efc7.entry.js} +1 -1
- package/dist/calcite/p-f3b489d9.js +5 -0
- package/dist/calcite/{p-f3ec6f2c.entry.js → p-f45f88db.entry.js} +1 -1
- package/dist/calcite/{p-5c606052.system.entry.js → p-f844034a.system.entry.js} +2 -2
- package/dist/calcite/p-f87c1273.js +5 -0
- package/dist/calcite/{p-8dc9c530.system.entry.js → p-fa872404.system.entry.js} +2 -2
- package/dist/calcite/{p-3ba581cf.entry.js → p-fc57d215.entry.js} +1 -1
- package/dist/calcite/{p-35a5c74c.system.js → p-fc998713.system.js} +1 -1
- package/dist/calcite/{p-d30dc8bd.entry.js → p-fdba68b7.entry.js} +1 -1
- package/dist/calcite/{p-33fa07ab.system.entry.js → p-ffaaffcc.system.entry.js} +1 -1
- package/dist/calcite/{p-07779a47.entry.js → p-ffba00b9.entry.js} +1 -1
- package/dist/cjs/{CalciteExpandToggle-d654421a.js → CalciteExpandToggle-38ca208f.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +8 -7
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input.cjs.entry.js +6 -5
- package/dist/cjs/calcite-link.cjs.entry.js +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-panel.cjs.entry.js +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -2
- package/dist/cjs/calcite-popover_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +3 -2
- package/dist/cjs/{dom-19822169.js → dom-db7722f2.js} +25 -8
- package/dist/cjs/{form-a5b44a1f.js → form-ad18d4fc.js} +1 -1
- package/dist/cjs/{label-8e3552b2.js → label-4776bb0e.js} +5 -2
- package/dist/cjs/{popper-a7580aca.js → popper-ccef76e3.js} +1 -1
- package/dist/cjs/{resources-27b28faa.js → resources-8273cb31.js} +12 -1
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +7 -6
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +4 -0
- package/dist/collection/components/calcite-icon/calcite-icon.css +8 -0
- package/dist/collection/components/calcite-input/calcite-input.js +3 -2
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +2 -1
- package/dist/collection/components/calcite-pick-list/shared-list-logic.js +10 -0
- package/dist/collection/components/calcite-popover/calcite-popover.js +1 -1
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +1 -1
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +1 -1
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +1 -1
- package/dist/collection/components/calcite-value-list/calcite-value-list.js +2 -1
- package/dist/collection/utils/dom.js +25 -8
- package/dist/collection/utils/label.js +4 -1
- package/dist/components/calcite-date-picker2.js +7 -6
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-icon2.js +1 -1
- package/dist/components/calcite-input2.js +3 -2
- package/dist/components/calcite-pick-list.js +2 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover2.js +1 -1
- package/dist/components/calcite-tooltip-manager2.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-value-list.js +2 -1
- package/dist/components/dom.js +25 -8
- package/dist/components/label.js +4 -1
- package/dist/components/shared-list-render.js +11 -1
- package/dist/custom-elements/index.js +57 -23
- package/dist/esm/{CalciteExpandToggle-c33bd6fd.js → CalciteExpandToggle-1b1bf600.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +1 -1
- package/dist/esm/calcite-action-bar.entry.js +2 -2
- package/dist/esm/calcite-action-group.entry.js +1 -1
- package/dist/esm/calcite-action-menu.entry.js +1 -1
- package/dist/esm/calcite-action-pad.entry.js +2 -2
- package/dist/esm/calcite-alert.entry.js +1 -1
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block_2.entry.js +1 -1
- package/dist/esm/calcite-button.entry.js +2 -2
- package/dist/esm/calcite-checkbox.entry.js +3 -3
- package/dist/esm/calcite-chip.entry.js +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +4 -4
- package/dist/esm/calcite-date-picker_4.entry.js +8 -7
- package/dist/esm/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +3 -3
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +2 -2
- package/dist/esm/calcite-input-date-picker.entry.js +4 -4
- package/dist/esm/calcite-input-message.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
- package/dist/esm/calcite-input.entry.js +6 -5
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-list_3.entry.js +1 -1
- package/dist/esm/calcite-modal.entry.js +1 -1
- package/dist/esm/calcite-notice.entry.js +1 -1
- package/dist/esm/calcite-option_3.entry.js +3 -3
- package/dist/esm/calcite-panel.entry.js +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +3 -2
- package/dist/esm/calcite-popover_2.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +1 -1
- package/dist/esm/calcite-stepper_2.entry.js +1 -1
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-tab_4.entry.js +1 -1
- package/dist/esm/calcite-tile.entry.js +1 -1
- package/dist/esm/calcite-tip_3.entry.js +1 -1
- package/dist/esm/calcite-tooltip_2.entry.js +4 -4
- package/dist/esm/calcite-tree_2.entry.js +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +3 -2
- package/dist/esm/{dom-f24e866c.js → dom-e55f9eaf.js} +25 -8
- package/dist/esm/{form-160b0fb5.js → form-147bc6d7.js} +1 -1
- package/dist/esm/{label-5559055d.js → label-240ef148.js} +5 -2
- package/dist/esm/{popper-f5caedc4.js → popper-405efdae.js} +1 -1
- package/dist/esm/{resources-7501cc74.js → resources-a6abee37.js} +12 -2
- package/dist/esm-es5/{CalciteExpandToggle-c33bd6fd.js → CalciteExpandToggle-1b1bf600.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +1 -1
- package/dist/esm-es5/calcite-filter.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- 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-link.entry.js +1 -1
- package/dist/esm-es5/calcite-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +1 -1
- package/dist/esm-es5/calcite-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 +2 -2
- 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-shell_3.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.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/dom-e55f9eaf.js +5 -0
- package/dist/esm-es5/{form-160b0fb5.js → form-147bc6d7.js} +1 -1
- package/dist/esm-es5/label-240ef148.js +5 -0
- package/dist/esm-es5/{popper-f5caedc4.js → popper-405efdae.js} +1 -1
- package/dist/esm-es5/resources-a6abee37.js +5 -0
- package/dist/extras/docs-json.json +8 -2
- package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +1 -0
- package/dist/types/components/calcite-pick-list/shared-list-logic.d.ts +1 -0
- package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +1 -0
- package/dist/types/utils/dom.d.ts +18 -3
- package/dist/types/utils/label.d.ts +4 -0
- package/hydrate/index.js +57 -23
- package/package.json +1 -1
- package/dist/calcite/p-12a2f2d9.entry.js +0 -5
- package/dist/calcite/p-16f89a95.entry.js +0 -5
- package/dist/calcite/p-1751551d.entry.js +0 -5
- package/dist/calcite/p-1942876c.js +0 -5
- package/dist/calcite/p-224a5f8d.system.entry.js +0 -5
- package/dist/calcite/p-394d8b91.entry.js +0 -5
- package/dist/calcite/p-3dae9da3.js +0 -5
- package/dist/calcite/p-3e646c9b.js +0 -5
- package/dist/calcite/p-42f853ae.system.entry.js +0 -5
- package/dist/calcite/p-52cc870b.js +0 -5
- package/dist/calcite/p-6cc23c39.system.js +0 -5
- package/dist/calcite/p-7677d70d.entry.js +0 -5
- package/dist/calcite/p-86e37e14.system.js +0 -5
- package/dist/calcite/p-ac03fd82.system.entry.js +0 -5
- package/dist/calcite/p-b28560f2.entry.js +0 -5
- package/dist/calcite/p-c34c4414.system.js +0 -5
- package/dist/esm-es5/dom-f24e866c.js +0 -5
- package/dist/esm-es5/label-5559055d.js +0 -5
- package/dist/esm-es5/resources-7501cc74.js +0 -5
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
10
|
const guid = require('./guid-b270f0db.js');
|
|
11
|
-
const dom = require('./dom-
|
|
11
|
+
const dom = require('./dom-db7722f2.js');
|
|
12
12
|
const observers = require('./observers-41837607.js');
|
|
13
13
|
|
|
14
14
|
const calciteTabCss = "@-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:150ms ease-in-out}:host([hidden]){display:none}:host([active]) section{display:block}:host{display:none;height:100%;width:100%}:host([active]){display:block;height:100%;width:100%;overflow:auto}section{display:none;height:100%;width:100%}:host([scale=s]){padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-db7722f2.js');
|
|
11
11
|
const CalciteHeading = require('./CalciteHeading-112c19f9.js');
|
|
12
12
|
const observers = require('./observers-41837607.js');
|
|
13
13
|
require('./guid-b270f0db.js');
|
|
@@ -8,8 +8,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
10
|
const guid = require('./guid-b270f0db.js');
|
|
11
|
-
const popper = require('./popper-
|
|
12
|
-
const dom = require('./dom-
|
|
11
|
+
const popper = require('./popper-ccef76e3.js');
|
|
12
|
+
const dom = require('./dom-db7722f2.js');
|
|
13
13
|
|
|
14
14
|
const CSS = {
|
|
15
15
|
container: "container",
|
|
@@ -140,7 +140,7 @@ let CalciteTooltip = class {
|
|
|
140
140
|
getReferenceElement() {
|
|
141
141
|
const { referenceElement, el } = this;
|
|
142
142
|
return ((typeof referenceElement === "string"
|
|
143
|
-
? dom.queryElementRoots(el,
|
|
143
|
+
? dom.queryElementRoots(el, { id: referenceElement })
|
|
144
144
|
: referenceElement) || null);
|
|
145
145
|
}
|
|
146
146
|
getModifiers() {
|
|
@@ -230,7 +230,7 @@ let CalciteTooltipManager = class {
|
|
|
230
230
|
var _a;
|
|
231
231
|
const { selector, el } = this;
|
|
232
232
|
const id = (_a = element.closest(selector)) === null || _a === void 0 ? void 0 : _a.getAttribute(TOOLTIP_REFERENCE);
|
|
233
|
-
return dom.queryElementRoots(el,
|
|
233
|
+
return dom.queryElementRoots(el, { id });
|
|
234
234
|
};
|
|
235
235
|
this.clearHoverTimeout = (tooltip) => {
|
|
236
236
|
const { hoverTimeouts } = this;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
|
-
const dom = require('./dom-
|
|
10
|
+
const dom = require('./dom-db7722f2.js');
|
|
11
11
|
require('./guid-b270f0db.js');
|
|
12
12
|
|
|
13
13
|
var TreeSelectionMode;
|
|
@@ -8,11 +8,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-6b5d2de5.js');
|
|
10
10
|
const sortable_esm = require('./sortable.esm-d7a4560b.js');
|
|
11
|
-
const resources = require('./resources-
|
|
11
|
+
const resources = require('./resources-8273cb31.js');
|
|
12
12
|
const array = require('./array-a5dedf5a.js');
|
|
13
13
|
const observers = require('./observers-41837607.js');
|
|
14
14
|
const guid = require('./guid-b270f0db.js');
|
|
15
|
-
const dom = require('./dom-
|
|
15
|
+
const dom = require('./dom-db7722f2.js');
|
|
16
16
|
require('./debounce-95979061.js');
|
|
17
17
|
|
|
18
18
|
const CSS = {
|
|
@@ -75,6 +75,7 @@ let CalciteValueList = class {
|
|
|
75
75
|
this.setFilterEl = (el) => {
|
|
76
76
|
this.filterEl = el;
|
|
77
77
|
};
|
|
78
|
+
this.deselectRemovedItems = resources.deselectRemovedItems.bind(this);
|
|
78
79
|
this.deselectSiblingItems = resources.deselectSiblingItems.bind(this);
|
|
79
80
|
this.selectSiblings = resources.selectSiblings.bind(this);
|
|
80
81
|
this.handleFilter = resources.handleFilter.bind(this);
|
|
@@ -36,7 +36,8 @@ function nodeListToArray(nodeList) {
|
|
|
36
36
|
return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
|
|
37
37
|
}
|
|
38
38
|
function getThemeName(el) {
|
|
39
|
-
|
|
39
|
+
const closestElWithTheme = closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}, .${CSS_UTILITY.lightTheme}`);
|
|
40
|
+
return (closestElWithTheme === null || closestElWithTheme === void 0 ? void 0 : closestElWithTheme.classList.contains("calcite-theme-dark")) ? "dark" : "light";
|
|
40
41
|
}
|
|
41
42
|
function getElementDir(el) {
|
|
42
43
|
const prop = "dir";
|
|
@@ -55,10 +56,14 @@ function getRootNode(el) {
|
|
|
55
56
|
function getHost(root) {
|
|
56
57
|
return root.host || null;
|
|
57
58
|
}
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
/**
|
|
60
|
+
* This helper queries an element's rootNodes and any ancestor rootNodes.
|
|
61
|
+
*
|
|
62
|
+
* @returns {Element[]} The elements.
|
|
63
|
+
*/
|
|
60
64
|
function queryElementsRoots(element, selector) {
|
|
61
65
|
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
66
|
+
// Based on: https://stackoverflow.com/q/54520554/194216
|
|
62
67
|
function queryFromAll(el, allResults) {
|
|
63
68
|
if (!el) {
|
|
64
69
|
return allResults;
|
|
@@ -75,10 +80,16 @@ function queryElementsRoots(element, selector) {
|
|
|
75
80
|
}
|
|
76
81
|
return queryFromAll(element, []);
|
|
77
82
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
83
|
+
/**
|
|
84
|
+
* This helper queries an element's rootNode and any ancestor rootNodes.
|
|
85
|
+
*
|
|
86
|
+
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
|
87
|
+
*
|
|
88
|
+
* @returns {Element} The element.
|
|
89
|
+
*/
|
|
90
|
+
function queryElementRoots(element, { selector, id }) {
|
|
81
91
|
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
92
|
+
// Based on: https://stackoverflow.com/q/54520554/194216
|
|
82
93
|
function queryFrom(el) {
|
|
83
94
|
if (!el) {
|
|
84
95
|
return null;
|
|
@@ -87,7 +98,11 @@ function queryElementRoots(element, selector) {
|
|
|
87
98
|
el = el.assignedSlot;
|
|
88
99
|
}
|
|
89
100
|
const rootNode = getRootNode(el);
|
|
90
|
-
const found =
|
|
101
|
+
const found = id
|
|
102
|
+
? rootNode.getElementById(id)
|
|
103
|
+
: selector
|
|
104
|
+
? rootNode.querySelector(selector)
|
|
105
|
+
: null;
|
|
91
106
|
const host = getHost(rootNode);
|
|
92
107
|
return found ? found : host ? queryFrom(host) : null;
|
|
93
108
|
}
|
|
@@ -110,7 +125,9 @@ async function focusElement(el) {
|
|
|
110
125
|
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
|
111
126
|
}
|
|
112
127
|
function getSlotted(element, slotName, options) {
|
|
113
|
-
const slotSelector =
|
|
128
|
+
const slotSelector = Array.isArray(slotName)
|
|
129
|
+
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
|
130
|
+
: `[slot="${slotName}"]`;
|
|
114
131
|
if (options === null || options === void 0 ? void 0 : options.all) {
|
|
115
132
|
return queryMultiple(element, slotSelector, options);
|
|
116
133
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
6
6
|
|
|
7
|
-
const dom = require('./dom-
|
|
7
|
+
const dom = require('./dom-db7722f2.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Exported for testing purposes only
|
|
@@ -15,7 +15,7 @@ const labelTagName = "calcite-label";
|
|
|
15
15
|
const onLabelClickMap = new WeakMap();
|
|
16
16
|
const findLabelForComponent = (componentEl) => {
|
|
17
17
|
const { id } = componentEl;
|
|
18
|
-
const forLabel = id && dom.queryElementRoots(componentEl, `${labelTagName}[for="${id}"]`);
|
|
18
|
+
const forLabel = id && dom.queryElementRoots(componentEl, { selector: `${labelTagName}[for="${id}"]` });
|
|
19
19
|
if (forLabel) {
|
|
20
20
|
return forLabel;
|
|
21
21
|
}
|
|
@@ -75,6 +75,9 @@ function getLabelText(component) {
|
|
|
75
75
|
return component.label || ((_b = (_a = component.labelEl) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || "";
|
|
76
76
|
}
|
|
77
77
|
function onLabelClick(event) {
|
|
78
|
+
if (this.disabled) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
78
81
|
const containedLabelableChildClicked = this.el.contains(event.detail.sourceEvent.target);
|
|
79
82
|
if (containedLabelableChildClicked) {
|
|
80
83
|
return;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
6
6
|
|
|
7
|
-
const dom = require('./dom-
|
|
7
|
+
const dom = require('./dom-db7722f2.js');
|
|
8
8
|
const array = require('./array-a5dedf5a.js');
|
|
9
9
|
const debounce = require('./debounce-95979061.js');
|
|
10
10
|
const index = require('./index-6b5d2de5.js');
|
|
@@ -12,6 +12,7 @@ const index = require('./index-6b5d2de5.js');
|
|
|
12
12
|
function mutationObserverCallback() {
|
|
13
13
|
this.setUpItems();
|
|
14
14
|
this.setUpFilter();
|
|
15
|
+
this.deselectRemovedItems();
|
|
15
16
|
}
|
|
16
17
|
const SUPPORTED_ARROW_KEYS = ["ArrowUp", "ArrowDown"];
|
|
17
18
|
// --------------------------------------------------------------------------
|
|
@@ -181,6 +182,15 @@ function setUpItems(tagName) {
|
|
|
181
182
|
toggleSingleSelectItemTabbing(first, true);
|
|
182
183
|
}
|
|
183
184
|
}
|
|
185
|
+
function deselectRemovedItems() {
|
|
186
|
+
const selectedValues = this.selectedValues;
|
|
187
|
+
const itemValues = this.items.map(({ value }) => value);
|
|
188
|
+
selectedValues.forEach((selectedItem) => {
|
|
189
|
+
if (!itemValues.includes(selectedItem.value)) {
|
|
190
|
+
this.selectedValues.delete(selectedItem.value);
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
}
|
|
184
194
|
function deselectSiblingItems(item) {
|
|
185
195
|
this.items.forEach((currentItem) => {
|
|
186
196
|
if (currentItem.value !== item.value) {
|
|
@@ -333,6 +343,7 @@ exports.calciteListFocusOutHandler = calciteListFocusOutHandler;
|
|
|
333
343
|
exports.calciteListItemChangeHandler = calciteListItemChangeHandler;
|
|
334
344
|
exports.calciteListItemValueChangeHandler = calciteListItemValueChangeHandler;
|
|
335
345
|
exports.cleanUpObserver = cleanUpObserver;
|
|
346
|
+
exports.deselectRemovedItems = deselectRemovedItems;
|
|
336
347
|
exports.deselectSiblingItems = deselectSiblingItems;
|
|
337
348
|
exports.getItemData = getItemData;
|
|
338
349
|
exports.handleFilter = handleFilter;
|
|
@@ -161,8 +161,9 @@ export class CalciteDatePicker {
|
|
|
161
161
|
this.monthDateChange = (e) => {
|
|
162
162
|
const date = new Date(e.detail);
|
|
163
163
|
if (!this.range) {
|
|
164
|
-
this.value = dateToISO(date);
|
|
165
|
-
this.
|
|
164
|
+
this.value = date ? dateToISO(date) : "";
|
|
165
|
+
this.valueAsDate = date || null;
|
|
166
|
+
this.activeDate = date || null;
|
|
166
167
|
return;
|
|
167
168
|
}
|
|
168
169
|
if (!this.startAsDate || (!this.endAsDate && date < this.startAsDate)) {
|
|
@@ -354,14 +355,14 @@ export class CalciteDatePicker {
|
|
|
354
355
|
}
|
|
355
356
|
}
|
|
356
357
|
setEndDate(date) {
|
|
357
|
-
this.end = dateToISO(date);
|
|
358
|
+
this.end = date ? dateToISO(date) : "";
|
|
358
359
|
this.setEndAsDate(date, true);
|
|
359
|
-
this.activeEndDate = date;
|
|
360
|
+
this.activeEndDate = date || null;
|
|
360
361
|
}
|
|
361
362
|
setStartDate(date) {
|
|
362
|
-
this.start = dateToISO(date);
|
|
363
|
+
this.start = date ? dateToISO(date) : "";
|
|
363
364
|
this.setStartAsDate(date, true);
|
|
364
|
-
this.activeStartDate = date;
|
|
365
|
+
this.activeStartDate = date || null;
|
|
365
366
|
}
|
|
366
367
|
/**
|
|
367
368
|
* Get an active date using the value, or current date as default
|
|
@@ -78,8 +78,16 @@
|
|
|
78
78
|
display: none;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
/**
|
|
82
|
+
* CSS Custom Properties
|
|
83
|
+
*
|
|
84
|
+
* These properties can be overridden using the component's tag as selector.
|
|
85
|
+
*
|
|
86
|
+
* @prop --calcite-ui-icon-color: the color of the icon. Defaults to 'currentColor'.
|
|
87
|
+
*/
|
|
81
88
|
:host {
|
|
82
89
|
display: inline-flex;
|
|
90
|
+
color: var(--calcite-ui-icon-color);
|
|
83
91
|
}
|
|
84
92
|
|
|
85
93
|
:host([scale=s]) {
|
|
@@ -296,11 +296,12 @@ export class CalciteInput {
|
|
|
296
296
|
//
|
|
297
297
|
//--------------------------------------------------------------------------
|
|
298
298
|
connectedCallback() {
|
|
299
|
-
var _a;
|
|
300
299
|
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
301
300
|
this.status = getElementProp(this.el, "status", this.status);
|
|
302
301
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
303
|
-
|
|
302
|
+
if (this.inlineEditableEl) {
|
|
303
|
+
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
304
|
+
}
|
|
304
305
|
if (this.type === "number" && this.value) {
|
|
305
306
|
if (isValidNumber(this.value)) {
|
|
306
307
|
this.localizedValue = localizeNumberString(this.value, this.locale, this.groupSeparator);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, Listen, Method, Prop, State, h } from "@stencil/core";
|
|
6
6
|
import { ICON_TYPES } from "./resources";
|
|
7
|
-
import { calciteListItemChangeHandler, calciteListItemValueChangeHandler, cleanUpObserver, deselectSiblingItems, getItemData, handleFilter, calciteListFocusOutHandler, initialize, initializeObserver, mutationObserverCallback, selectSiblings, setUpItems, keyDownHandler, setFocus, removeItem } from "./shared-list-logic";
|
|
7
|
+
import { calciteListItemChangeHandler, calciteListItemValueChangeHandler, cleanUpObserver, deselectSiblingItems, deselectRemovedItems, getItemData, handleFilter, calciteListFocusOutHandler, initialize, initializeObserver, mutationObserverCallback, selectSiblings, setUpItems, keyDownHandler, setFocus, removeItem } from "./shared-list-logic";
|
|
8
8
|
import List from "./shared-list-render";
|
|
9
9
|
import { createObserver } from "../../utils/observers";
|
|
10
10
|
/**
|
|
@@ -53,6 +53,7 @@ export class CalcitePickList {
|
|
|
53
53
|
this.setFilterEl = (el) => {
|
|
54
54
|
this.filterEl = el;
|
|
55
55
|
};
|
|
56
|
+
this.deselectRemovedItems = deselectRemovedItems.bind(this);
|
|
56
57
|
this.deselectSiblingItems = deselectSiblingItems.bind(this);
|
|
57
58
|
this.selectSiblings = selectSiblings.bind(this);
|
|
58
59
|
this.handleFilter = handleFilter.bind(this);
|
|
@@ -8,6 +8,7 @@ import { getRoundRobinIndex } from "../../utils/array";
|
|
|
8
8
|
export function mutationObserverCallback() {
|
|
9
9
|
this.setUpItems();
|
|
10
10
|
this.setUpFilter();
|
|
11
|
+
this.deselectRemovedItems();
|
|
11
12
|
}
|
|
12
13
|
const SUPPORTED_ARROW_KEYS = ["ArrowUp", "ArrowDown"];
|
|
13
14
|
// --------------------------------------------------------------------------
|
|
@@ -182,6 +183,15 @@ export function setUpFilter() {
|
|
|
182
183
|
this.dataForFilter = this.getItemData();
|
|
183
184
|
}
|
|
184
185
|
}
|
|
186
|
+
export function deselectRemovedItems() {
|
|
187
|
+
const selectedValues = this.selectedValues;
|
|
188
|
+
const itemValues = this.items.map(({ value }) => value);
|
|
189
|
+
selectedValues.forEach((selectedItem) => {
|
|
190
|
+
if (!itemValues.includes(selectedItem.value)) {
|
|
191
|
+
this.selectedValues.delete(selectedItem.value);
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
}
|
|
185
195
|
export function deselectSiblingItems(item) {
|
|
186
196
|
this.items.forEach((currentItem) => {
|
|
187
197
|
if (currentItem.value !== item.value) {
|
|
@@ -183,7 +183,7 @@ export class CalcitePopover {
|
|
|
183
183
|
getReferenceElement() {
|
|
184
184
|
const { referenceElement, el } = this;
|
|
185
185
|
return ((typeof referenceElement === "string"
|
|
186
|
-
? queryElementRoots(el,
|
|
186
|
+
? queryElementRoots(el, { id: referenceElement })
|
|
187
187
|
: referenceElement) || null);
|
|
188
188
|
}
|
|
189
189
|
getModifiers() {
|
|
@@ -33,7 +33,7 @@ export class CalcitePopoverManager {
|
|
|
33
33
|
var _a;
|
|
34
34
|
const { selector, el } = this;
|
|
35
35
|
const id = (_a = element.closest(selector)) === null || _a === void 0 ? void 0 : _a.getAttribute(POPOVER_REFERENCE);
|
|
36
|
-
return queryElementRoots(el,
|
|
36
|
+
return queryElementRoots(el, { id });
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
// --------------------------------------------------------------------------
|
|
@@ -128,7 +128,7 @@ export class CalciteTooltip {
|
|
|
128
128
|
getReferenceElement() {
|
|
129
129
|
const { referenceElement, el } = this;
|
|
130
130
|
return ((typeof referenceElement === "string"
|
|
131
|
-
? queryElementRoots(el,
|
|
131
|
+
? queryElementRoots(el, { id: referenceElement })
|
|
132
132
|
: referenceElement) || null);
|
|
133
133
|
}
|
|
134
134
|
getModifiers() {
|
|
@@ -30,7 +30,7 @@ export class CalciteTooltipManager {
|
|
|
30
30
|
var _a;
|
|
31
31
|
const { selector, el } = this;
|
|
32
32
|
const id = (_a = element.closest(selector)) === null || _a === void 0 ? void 0 : _a.getAttribute(TOOLTIP_REFERENCE);
|
|
33
|
-
return queryElementRoots(el,
|
|
33
|
+
return queryElementRoots(el, { id });
|
|
34
34
|
};
|
|
35
35
|
this.clearHoverTimeout = (tooltip) => {
|
|
36
36
|
const { hoverTimeouts } = this;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import Sortable from "sortablejs";
|
|
6
6
|
import { Component, Element, Event, h, Listen, Method, Prop, State } from "@stencil/core";
|
|
7
7
|
import { CSS, ICON_TYPES } from "./resources";
|
|
8
|
-
import { calciteListItemChangeHandler, calciteListItemValueChangeHandler, cleanUpObserver, deselectSiblingItems, getItemData, handleFilter, initialize, initializeObserver, keyDownHandler, mutationObserverCallback, removeItem, selectSiblings, setFocus, setUpItems } from "../calcite-pick-list/shared-list-logic";
|
|
8
|
+
import { calciteListItemChangeHandler, calciteListItemValueChangeHandler, cleanUpObserver, deselectSiblingItems, deselectRemovedItems, getItemData, handleFilter, initialize, initializeObserver, keyDownHandler, mutationObserverCallback, removeItem, selectSiblings, setFocus, setUpItems } from "../calcite-pick-list/shared-list-logic";
|
|
9
9
|
import List from "../calcite-pick-list/shared-list-render";
|
|
10
10
|
import { getRoundRobinIndex } from "../../utils/array";
|
|
11
11
|
import { createObserver } from "../../utils/observers";
|
|
@@ -59,6 +59,7 @@ export class CalciteValueList {
|
|
|
59
59
|
this.setFilterEl = (el) => {
|
|
60
60
|
this.filterEl = el;
|
|
61
61
|
};
|
|
62
|
+
this.deselectRemovedItems = deselectRemovedItems.bind(this);
|
|
62
63
|
this.deselectSiblingItems = deselectSiblingItems.bind(this);
|
|
63
64
|
this.selectSiblings = selectSiblings.bind(this);
|
|
64
65
|
this.handleFilter = handleFilter.bind(this);
|
|
@@ -21,7 +21,8 @@ export function nodeListToArray(nodeList) {
|
|
|
21
21
|
return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
|
|
22
22
|
}
|
|
23
23
|
export function getThemeName(el) {
|
|
24
|
-
|
|
24
|
+
const closestElWithTheme = closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}, .${CSS_UTILITY.lightTheme}`);
|
|
25
|
+
return (closestElWithTheme === null || closestElWithTheme === void 0 ? void 0 : closestElWithTheme.classList.contains("calcite-theme-dark")) ? "dark" : "light";
|
|
25
26
|
}
|
|
26
27
|
export function getElementDir(el) {
|
|
27
28
|
const prop = "dir";
|
|
@@ -40,10 +41,14 @@ export function getRootNode(el) {
|
|
|
40
41
|
export function getHost(root) {
|
|
41
42
|
return root.host || null;
|
|
42
43
|
}
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
/**
|
|
45
|
+
* This helper queries an element's rootNodes and any ancestor rootNodes.
|
|
46
|
+
*
|
|
47
|
+
* @returns {Element[]} The elements.
|
|
48
|
+
*/
|
|
45
49
|
export function queryElementsRoots(element, selector) {
|
|
46
50
|
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
51
|
+
// Based on: https://stackoverflow.com/q/54520554/194216
|
|
47
52
|
function queryFromAll(el, allResults) {
|
|
48
53
|
if (!el) {
|
|
49
54
|
return allResults;
|
|
@@ -60,10 +65,16 @@ export function queryElementsRoots(element, selector) {
|
|
|
60
65
|
}
|
|
61
66
|
return queryFromAll(element, []);
|
|
62
67
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
68
|
+
/**
|
|
69
|
+
* This helper queries an element's rootNode and any ancestor rootNodes.
|
|
70
|
+
*
|
|
71
|
+
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
|
72
|
+
*
|
|
73
|
+
* @returns {Element} The element.
|
|
74
|
+
*/
|
|
75
|
+
export function queryElementRoots(element, { selector, id }) {
|
|
66
76
|
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
77
|
+
// Based on: https://stackoverflow.com/q/54520554/194216
|
|
67
78
|
function queryFrom(el) {
|
|
68
79
|
if (!el) {
|
|
69
80
|
return null;
|
|
@@ -72,7 +83,11 @@ export function queryElementRoots(element, selector) {
|
|
|
72
83
|
el = el.assignedSlot;
|
|
73
84
|
}
|
|
74
85
|
const rootNode = getRootNode(el);
|
|
75
|
-
const found =
|
|
86
|
+
const found = id
|
|
87
|
+
? rootNode.getElementById(id)
|
|
88
|
+
: selector
|
|
89
|
+
? rootNode.querySelector(selector)
|
|
90
|
+
: null;
|
|
76
91
|
const host = getHost(rootNode);
|
|
77
92
|
return found ? found : host ? queryFrom(host) : null;
|
|
78
93
|
}
|
|
@@ -95,7 +110,9 @@ export async function focusElement(el) {
|
|
|
95
110
|
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
|
96
111
|
}
|
|
97
112
|
export function getSlotted(element, slotName, options) {
|
|
98
|
-
const slotSelector =
|
|
113
|
+
const slotSelector = Array.isArray(slotName)
|
|
114
|
+
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
|
115
|
+
: `[slot="${slotName}"]`;
|
|
99
116
|
if (options === null || options === void 0 ? void 0 : options.all) {
|
|
100
117
|
return queryMultiple(element, slotSelector, options);
|
|
101
118
|
}
|
|
@@ -12,7 +12,7 @@ const labelTagName = "calcite-label";
|
|
|
12
12
|
const onLabelClickMap = new WeakMap();
|
|
13
13
|
const findLabelForComponent = (componentEl) => {
|
|
14
14
|
const { id } = componentEl;
|
|
15
|
-
const forLabel = id && queryElementRoots(componentEl, `${labelTagName}[for="${id}"]`);
|
|
15
|
+
const forLabel = id && queryElementRoots(componentEl, { selector: `${labelTagName}[for="${id}"]` });
|
|
16
16
|
if (forLabel) {
|
|
17
17
|
return forLabel;
|
|
18
18
|
}
|
|
@@ -72,6 +72,9 @@ export function getLabelText(component) {
|
|
|
72
72
|
return component.label || ((_b = (_a = component.labelEl) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || "";
|
|
73
73
|
}
|
|
74
74
|
function onLabelClick(event) {
|
|
75
|
+
if (this.disabled) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
75
78
|
const containedLabelableChildClicked = this.el.contains(event.detail.sourceEvent.target);
|
|
76
79
|
if (containedLabelableChildClicked) {
|
|
77
80
|
return;
|
|
@@ -227,8 +227,9 @@ let CalciteDatePicker = class extends HTMLElement {
|
|
|
227
227
|
this.monthDateChange = (e) => {
|
|
228
228
|
const date = new Date(e.detail);
|
|
229
229
|
if (!this.range) {
|
|
230
|
-
this.value = dateToISO(date);
|
|
231
|
-
this.
|
|
230
|
+
this.value = date ? dateToISO(date) : "";
|
|
231
|
+
this.valueAsDate = date || null;
|
|
232
|
+
this.activeDate = date || null;
|
|
232
233
|
return;
|
|
233
234
|
}
|
|
234
235
|
if (!this.startAsDate || (!this.endAsDate && date < this.startAsDate)) {
|
|
@@ -420,14 +421,14 @@ let CalciteDatePicker = class extends HTMLElement {
|
|
|
420
421
|
}
|
|
421
422
|
}
|
|
422
423
|
setEndDate(date) {
|
|
423
|
-
this.end = dateToISO(date);
|
|
424
|
+
this.end = date ? dateToISO(date) : "";
|
|
424
425
|
this.setEndAsDate(date, true);
|
|
425
|
-
this.activeEndDate = date;
|
|
426
|
+
this.activeEndDate = date || null;
|
|
426
427
|
}
|
|
427
428
|
setStartDate(date) {
|
|
428
|
-
this.start = dateToISO(date);
|
|
429
|
+
this.start = date ? dateToISO(date) : "";
|
|
429
430
|
this.setStartAsDate(date, true);
|
|
430
|
-
this.activeStartDate = date;
|
|
431
|
+
this.activeStartDate = date || null;
|
|
431
432
|
}
|
|
432
433
|
/**
|
|
433
434
|
* Get an active date using the value, or current date as default
|
|
@@ -11,7 +11,7 @@ const CSS = {
|
|
|
11
11
|
containerLarge: "container--l"
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
const calciteDropdownGroupCss = "@-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:150ms ease-in-out}:host([hidden]){display:none}.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)}";
|
|
14
|
+
const calciteDropdownGroupCss = "@-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:150ms ease-in-out}: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
|
let CalciteDropdownGroup$1 = class extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
@@ -70,7 +70,7 @@ function normalizeIconName(name) {
|
|
|
70
70
|
.join("");
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
const calciteIconCss = "@-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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";
|
|
73
|
+
const calciteIconCss = "@-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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";
|
|
74
74
|
|
|
75
75
|
let CalciteIcon = class extends HTMLElement {
|
|
76
76
|
constructor() {
|
|
@@ -330,11 +330,12 @@ let CalciteInput = class extends HTMLElement {
|
|
|
330
330
|
//
|
|
331
331
|
//--------------------------------------------------------------------------
|
|
332
332
|
connectedCallback() {
|
|
333
|
-
var _a;
|
|
334
333
|
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
335
334
|
this.status = getElementProp(this.el, "status", this.status);
|
|
336
335
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
337
|
-
|
|
336
|
+
if (this.inlineEditableEl) {
|
|
337
|
+
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
338
|
+
}
|
|
338
339
|
if (this.type === "number" && this.value) {
|
|
339
340
|
if (isValidNumber(this.value)) {
|
|
340
341
|
this.localizedValue = localizeNumberString(this.value, this.locale, this.groupSeparator);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { I as ICON_TYPES } from './resources3.js';
|
|
7
|
-
import { m as mutationObserverCallback, d as deselectSiblingItems, s as selectSiblings, h as handleFilter, g as getItemData, k as keyDownHandler, i as initialize,
|
|
7
|
+
import { m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, g as getItemData, k as keyDownHandler, i as initialize, b as initializeObserver, c as cleanUpObserver, r as removeItem, e as calciteListItemChangeHandler, f as calciteListItemValueChangeHandler, j as calciteListFocusOutHandler, l as setUpItems, n as setFocus, L as List } from './shared-list-render.js';
|
|
8
8
|
import { c as createObserver } from './observers.js';
|
|
9
9
|
import { d as defineCustomElement$7 } from './calcite-filter2.js';
|
|
10
10
|
import { d as defineCustomElement$6 } from './calcite-icon2.js';
|
|
@@ -61,6 +61,7 @@ let CalcitePickList$1 = class extends HTMLElement {
|
|
|
61
61
|
this.setFilterEl = (el) => {
|
|
62
62
|
this.filterEl = el;
|
|
63
63
|
};
|
|
64
|
+
this.deselectRemovedItems = deselectRemovedItems.bind(this);
|
|
64
65
|
this.deselectSiblingItems = deselectSiblingItems.bind(this);
|
|
65
66
|
this.selectSiblings = selectSiblings.bind(this);
|
|
66
67
|
this.handleFilter = handleFilter.bind(this);
|