@esri/calcite-components 1.0.0-beta.80 → 1.0.0-beta.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/icon/fileEcd16.json +1 -0
- package/dist/calcite/assets/icon/fileEcd24.json +1 -0
- package/dist/calcite/assets/icon/fileEcd32.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -0
- package/dist/calcite/{p-c228a1da.system.entry.js → p-023a27d2.system.entry.js} +2 -1
- package/dist/calcite/{p-cafd98e8.entry.js → p-045f28b2.entry.js} +2 -1
- package/dist/calcite/p-0a6b6898.system.entry.js +6 -0
- package/dist/calcite/{p-f68725d7.entry.js → p-0ba791df.entry.js} +2 -1
- package/dist/calcite/{p-dcf33bb2.js → p-0ee86cc3.js} +2 -1
- package/dist/calcite/{p-97904e9a.entry.js → p-0f0713c7.entry.js} +2 -1
- package/dist/calcite/{p-afe59546.entry.js → p-0f8c3ea0.entry.js} +2 -1
- package/dist/calcite/{p-5a8829cd.entry.js → p-1084cd40.entry.js} +2 -1
- package/dist/calcite/{p-569150ab.system.entry.js → p-117836c2.system.entry.js} +2 -1
- package/dist/calcite/{p-2dd22e8c.system.entry.js → p-14be4304.system.entry.js} +2 -1
- package/dist/calcite/{p-a7770d75.entry.js → p-14ca50d9.entry.js} +2 -1
- package/dist/calcite/p-181bd093.entry.js +6 -0
- package/dist/calcite/{p-5394666a.entry.js → p-1866c3d6.entry.js} +2 -1
- package/dist/calcite/{p-cd9226a1.system.entry.js → p-19987cfa.system.entry.js} +3 -2
- package/dist/calcite/{p-05bf835f.js → p-1b7e43a7.js} +2 -1
- package/dist/calcite/{p-55e1a3a0.system.entry.js → p-1d0db848.system.entry.js} +2 -1
- package/dist/calcite/{p-963e9aec.system.entry.js → p-1d3ba736.system.entry.js} +2 -1
- package/dist/calcite/{p-34730e94.entry.js → p-21461822.entry.js} +2 -1
- package/dist/calcite/{p-765c9bef.entry.js → p-22e1813c.entry.js} +2 -1
- package/dist/calcite/{p-b9a38a28.system.entry.js → p-2363fc48.system.entry.js} +3 -2
- package/dist/calcite/p-23c9c6f9.js +12 -0
- package/dist/calcite/{p-a117af56.system.js → p-24db2b0a.system.js} +1 -0
- package/dist/calcite/{p-65dbbfb5.system.js → p-26fc61bb.system.js} +1 -0
- package/dist/calcite/p-2789e3e2.system.js +6 -0
- package/dist/calcite/{p-69d2d9cf.system.entry.js → p-2a4bbfa2.system.entry.js} +2 -1
- package/dist/calcite/p-2bcf0f54.js +6 -0
- package/dist/calcite/{p-824da4be.entry.js → p-2c0fdd49.entry.js} +2 -1
- package/dist/calcite/{p-7ed4c551.system.js → p-2f07bcb4.system.js} +1 -0
- package/dist/calcite/{p-9ad8c7c5.system.entry.js → p-2f42b00e.system.entry.js} +2 -1
- package/dist/calcite/{p-6e0103f5.system.entry.js → p-300c0203.system.entry.js} +2 -1
- package/dist/calcite/{p-0a5d059d.js → p-3113528a.js} +1 -0
- package/dist/calcite/{p-3b4662a5.entry.js → p-3119474f.entry.js} +2 -1
- package/dist/calcite/{p-8e0dd0af.system.entry.js → p-329ade24.system.entry.js} +2 -1
- package/dist/calcite/{p-9c913e3a.entry.js → p-33391f44.entry.js} +2 -1
- package/dist/calcite/{p-6a541e77.system.js → p-3412c57d.system.js} +2 -1
- package/dist/calcite/{p-3e149640.system.entry.js → p-34a92432.system.entry.js} +2 -1
- package/dist/calcite/{p-31c58f25.entry.js → p-34cf7a42.entry.js} +2 -1
- package/dist/calcite/{p-c2caeb2a.system.entry.js → p-3b38f3f5.system.entry.js} +2 -1
- package/dist/calcite/{p-28c333d0.entry.js → p-3b6e600a.entry.js} +2 -1
- package/dist/calcite/p-3c732519.entry.js +6 -0
- package/dist/calcite/{p-8ab345f2.js → p-3ceba891.js} +2 -1
- package/dist/calcite/p-3e5f8e93.system.entry.js +6 -0
- package/dist/calcite/{p-c9fc13b9.system.entry.js → p-3ebff946.system.entry.js} +2 -1
- package/dist/calcite/p-40334853.system.js +6 -0
- package/dist/calcite/{p-1aded388.system.entry.js → p-40a15f4a.system.entry.js} +2 -1
- package/dist/calcite/p-4275a429.system.js +6 -0
- package/dist/calcite/{p-e66a8ca1.system.entry.js → p-44f00a2a.system.entry.js} +2 -1
- package/dist/calcite/p-469490f8.js +6 -0
- package/dist/calcite/{p-7432e5ef.system.entry.js → p-47913e44.system.entry.js} +2 -1
- package/dist/calcite/p-482956de.entry.js +6 -0
- package/dist/calcite/{p-e43605c5.entry.js → p-48aa73e5.entry.js} +2 -1
- package/dist/calcite/p-4a543a6e.entry.js +6 -0
- package/dist/calcite/{p-1263bcc0.entry.js → p-4b6a7167.entry.js} +2 -1
- package/dist/calcite/p-4f04264f.system.entry.js +6 -0
- package/dist/calcite/{p-6ed27595.system.entry.js → p-4f443e21.system.entry.js} +2 -1
- package/dist/calcite/{p-cc6e7726.entry.js → p-4ff2f38c.entry.js} +2 -1
- package/dist/calcite/{p-4afb5a1b.system.entry.js → p-50f49b13.system.entry.js} +2 -1
- package/dist/calcite/p-52c9824d.system.entry.js +6 -0
- package/dist/calcite/{p-2fae8516.system.entry.js → p-55d64bae.system.entry.js} +2 -1
- package/dist/calcite/{p-aad14a5d.system.entry.js → p-5857c533.system.entry.js} +2 -1
- package/dist/calcite/{p-7fc69a9d.js → p-5a3414c7.js} +1 -0
- package/dist/calcite/{p-e095517f.system.js → p-5dd1e943.system.js} +1 -0
- package/dist/calcite/{p-2d09cc25.js → p-5ed8397b.js} +1 -0
- package/dist/calcite/{p-cd5f5c8f.js → p-608aaf1d.js} +2 -1
- package/dist/calcite/{p-03c92ad2.entry.js → p-609f05ef.entry.js} +2 -1
- package/dist/calcite/{p-ee522afa.system.entry.js → p-60f78917.system.entry.js} +2 -1
- package/dist/calcite/{p-e020662f.system.js → p-61021069.system.js} +1 -0
- package/dist/calcite/p-6294787b.system.js +6 -0
- package/dist/calcite/{p-162604a0.entry.js → p-62a93131.entry.js} +2 -1
- package/dist/calcite/{p-a9ea7f4f.entry.js → p-6750e68e.entry.js} +2 -1
- package/dist/calcite/p-678e83fe.entry.js +6 -0
- package/dist/calcite/p-693cc0cd.system.entry.js +6 -0
- package/dist/calcite/p-69fdc534.entry.js +6 -0
- package/dist/calcite/{p-7260c869.system.entry.js → p-6c9ab1d6.system.entry.js} +2 -1
- package/dist/calcite/{p-46071f17.entry.js → p-6ebbdae4.entry.js} +2 -1
- package/dist/calcite/{p-6b7b23d0.js → p-7225f4ed.js} +1 -0
- package/dist/calcite/{p-3e9d96c6.system.entry.js → p-72ab20ed.system.entry.js} +2 -1
- package/dist/calcite/{p-6ab3e489.entry.js → p-7463e93d.entry.js} +2 -1
- package/dist/calcite/p-7549f33d.entry.js +6 -0
- package/dist/calcite/{p-b2493735.entry.js → p-769054e6.entry.js} +2 -1
- package/dist/calcite/{p-78bc502f.entry.js → p-7c32da09.entry.js} +2 -1
- package/dist/calcite/{p-02d7cf64.system.entry.js → p-7e9cac29.system.entry.js} +2 -1
- package/dist/calcite/{p-3119ffce.system.js → p-7ebc956d.system.js} +1 -0
- package/dist/calcite/{p-3c34f20d.system.js → p-8117e07b.system.js} +2 -1
- package/dist/calcite/{p-4570cf6c.js → p-82c05795.js} +2 -1
- package/dist/calcite/{p-c2adeae4.entry.js → p-8729fefb.entry.js} +2 -1
- package/dist/calcite/p-88f476f3.system.entry.js +6 -0
- package/dist/calcite/{p-18be4438.entry.js → p-89146101.entry.js} +2 -1
- package/dist/calcite/p-8d372581.entry.js +6 -0
- package/dist/calcite/{p-496e907a.system.entry.js → p-8d9d8984.system.entry.js} +2 -1
- package/dist/calcite/{p-bd38ff21.js → p-90660203.js} +1 -0
- package/dist/calcite/{p-614d8925.js → p-941b8b06.js} +2 -1
- package/dist/calcite/{p-48637359.system.entry.js → p-948a5bba.system.entry.js} +2 -1
- package/dist/calcite/{p-079a3322.js → p-99520e50.js} +1 -0
- package/dist/calcite/{p-5958acc8.system.js → p-99bd5049.system.js} +1 -0
- package/dist/calcite/p-9b7b6b30.entry.js +6 -0
- package/dist/calcite/{p-364db271.entry.js → p-9d488536.entry.js} +2 -1
- package/dist/calcite/{p-fa922721.system.js → p-9da64897.system.js} +2 -1
- package/dist/calcite/{p-8a7596e3.entry.js → p-a2b46564.entry.js} +2 -1
- package/dist/calcite/{p-accdb0ce.js → p-a3478523.js} +1 -0
- package/dist/calcite/{p-07f1f162.system.entry.js → p-a4b72090.system.entry.js} +2 -1
- package/dist/calcite/{p-63624a01.js → p-a9630b98.js} +1 -0
- package/dist/calcite/{p-cb57638c.system.js → p-aad21300.system.js} +2 -1
- package/dist/calcite/{p-588bfa74.system.js → p-ae4a167e.system.js} +2 -1
- package/dist/calcite/p-af100a3b.entry.js +6 -0
- package/dist/calcite/p-b15cde3f.js +6 -0
- package/dist/calcite/{p-e55c5bb4.entry.js → p-b3d74df1.entry.js} +2 -1
- package/dist/calcite/p-b50b0f92.system.entry.js +6 -0
- package/dist/calcite/{p-6fba3e1b.system.entry.js → p-b6dad672.system.entry.js} +2 -1
- package/dist/calcite/{p-32d6b962.entry.js → p-bae3c0b1.entry.js} +2 -1
- package/dist/calcite/{p-daf5f04c.system.js → p-bc873e26.system.js} +2 -1
- package/dist/calcite/{p-052ba882.system.entry.js → p-bddde234.system.entry.js} +2 -1
- package/dist/calcite/{p-7b8707b2.system.js → p-be0551f8.system.js} +1 -0
- package/dist/calcite/{p-f78023f1.system.js → p-bef4c06f.system.js} +1 -0
- package/dist/calcite/{p-e3280a36.system.entry.js → p-c0ab6c20.system.entry.js} +2 -1
- package/dist/calcite/{p-b47dc903.system.entry.js → p-c22bd1df.system.entry.js} +2 -1
- package/dist/calcite/{p-b2b6f712.js → p-c2770291.js} +2 -1
- package/dist/calcite/{p-482885ae.system.entry.js → p-c477a6ac.system.entry.js} +2 -1
- package/dist/calcite/{p-bdcb43b1.system.entry.js → p-c62291e6.system.entry.js} +2 -1
- package/dist/calcite/p-c66cce4a.js +6 -0
- package/dist/calcite/p-c76d5a12.entry.js +6 -0
- package/dist/calcite/{p-f344e163.entry.js → p-c82c3a08.entry.js} +2 -1
- package/dist/calcite/{p-b0827b8c.system.entry.js → p-c91e5ce6.system.entry.js} +2 -1
- package/dist/calcite/{p-ef17447d.system.entry.js → p-cb3633ce.system.entry.js} +2 -1
- package/dist/calcite/{p-42227a04.entry.js → p-cc881354.entry.js} +2 -1
- package/dist/calcite/{p-a11ee541.system.entry.js → p-ceae054a.system.entry.js} +2 -1
- package/dist/calcite/{p-ea4119b1.system.entry.js → p-cec925c5.system.entry.js} +2 -1
- package/dist/calcite/{p-32efc4cd.system.entry.js → p-d0ae73bc.system.entry.js} +2 -1
- package/dist/calcite/p-d2aad5f9.system.entry.js +6 -0
- package/dist/calcite/{p-9385e4b4.system.js → p-d441a36b.system.js} +2 -1
- package/dist/calcite/{p-47d38839.entry.js → p-d668cc57.entry.js} +2 -1
- package/dist/calcite/p-d7f31cff.system.js +12 -0
- package/dist/calcite/{p-b765d197.system.js → p-d8c1d1bb.system.js} +2 -1
- package/dist/calcite/p-d9669187.entry.js +6 -0
- package/dist/calcite/{p-6c4a7041.system.entry.js → p-da5a9916.system.entry.js} +2 -1
- package/dist/calcite/{p-5bb4d012.entry.js → p-daf452fa.entry.js} +2 -1
- package/dist/calcite/{p-6b5776af.js → p-db2360e6.js} +1 -0
- package/dist/calcite/p-ddc498f5.entry.js +6 -0
- package/dist/calcite/{p-4eae61c5.entry.js → p-de040bc0.entry.js} +2 -1
- package/dist/calcite/{p-8a63221d.js → p-dfd0c1ce.js} +1 -0
- package/dist/calcite/{p-1fc943d5.system.entry.js → p-e131dae7.system.entry.js} +2 -1
- package/dist/calcite/{p-a9b3ef39.js → p-e21b549b.js} +2 -1
- package/dist/calcite/{p-eb3c084f.system.entry.js → p-e3f1b697.system.entry.js} +2 -1
- package/dist/calcite/{p-7bee4942.system.entry.js → p-e4a047e7.system.entry.js} +2 -1
- package/dist/calcite/p-e6034e51.entry.js +6 -0
- package/dist/calcite/{p-5802a565.entry.js → p-e64fc8d7.entry.js} +2 -1
- package/dist/calcite/p-e6b83b93.entry.js +6 -0
- package/dist/calcite/{p-4de6f4fd.system.js → p-e837987d.system.js} +1 -0
- package/dist/calcite/p-e8698d9f.system.entry.js +6 -0
- package/dist/calcite/{p-9940b82a.system.entry.js → p-ea09f02f.system.entry.js} +2 -1
- package/dist/calcite/p-eaf8f62d.entry.js +6 -0
- package/dist/calcite/{p-edf1e815.system.entry.js → p-ec6942a8.system.entry.js} +2 -1
- package/dist/calcite/{p-1d6404b5.system.js → p-ed535fb3.system.js} +1 -0
- package/dist/calcite/{p-426f011a.entry.js → p-ef8bcab3.entry.js} +2 -1
- package/dist/calcite/p-f3ba8a0a.entry.js +6 -0
- package/dist/calcite/{p-cbc6fee6.entry.js → p-f5a00782.entry.js} +2 -1
- package/dist/calcite/{p-54c49493.entry.js → p-f753e964.entry.js} +2 -1
- package/dist/calcite/{p-c51699d3.system.js → p-f839293b.system.js} +3 -2
- package/dist/calcite/{p-7247b667.system.entry.js → p-f89876d3.system.entry.js} +2 -1
- package/dist/calcite/{p-b06207bb.js → p-f8d2efa3.js} +1 -0
- package/dist/calcite/{p-ac4aec20.system.js → p-fb726bdd.system.js} +1 -0
- package/dist/calcite/p-fc2aa57a.system.entry.js +6 -0
- package/dist/calcite/{p-9ac86d6a.entry.js → p-ffc13e2d.entry.js} +2 -1
- package/dist/calcite/{p-aaa21a84.system.entry.js → p-ffeda3eb.system.entry.js} +2 -1
- package/dist/cjs/{ExpandToggle-f7682a15.js → ExpandToggle-e3bd3e9d.js} +5 -4
- package/dist/cjs/{Heading-ec707493.js → Heading-b864aca1.js} +2 -1
- package/dist/cjs/{array-a5dedf5a.js → array-00db7b4e.js} +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -9
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -7
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action.cjs.entry.js +4 -3
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -4
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -4
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -7
- package/dist/cjs/calcite-button.cjs.entry.js +17 -16
- package/dist/cjs/calcite-card.cjs.entry.js +6 -5
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -6
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -5
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +96 -103
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +86 -48
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +36 -27
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +19 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -4
- package/dist/cjs/calcite-filter.cjs.entry.js +18 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -2
- package/dist/cjs/calcite-graph_2.cjs.entry.js +76 -46
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -4
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -6
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +37 -20
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -3
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input.cjs.entry.js +12 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -4
- package/dist/cjs/calcite-link.cjs.entry.js +5 -4
- package/dist/cjs/calcite-list_3.cjs.entry.js +18 -11
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +7 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -6
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -10
- package/dist/cjs/calcite-popover_2.cjs.entry.js +22 -8
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -7
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -6
- package/dist/cjs/calcite-rating.cjs.entry.js +7 -6
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -6
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -2
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +7 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +76 -59
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -3
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -5
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -10
- package/dist/cjs/calcite.cjs.js +4 -3
- package/dist/cjs/{conditionalSlot-64f9bfd3.js → conditionalSlot-8468d1b6.js} +3 -2
- package/dist/cjs/{debounce-95979061.js → debounce-a29e2f71.js} +1 -0
- package/dist/cjs/{dom-f3df220d.js → dom-66c5cb56.js} +9 -2
- package/dist/cjs/{forIn-a5d553af.js → forIn-d4941a7b.js} +2 -1
- package/dist/cjs/{form-0ef859c8.js → form-cfcc3b12.js} +3 -2
- package/dist/cjs/{guid-b270f0db.js → guid-364777e6.js} +1 -0
- package/dist/cjs/{index-1af0efd3.js → index-ab066772.js} +1 -0
- package/dist/cjs/index.cjs.js +1 -0
- package/dist/cjs/{interactive-87406231.js → interactive-3808ad50.js} +1 -0
- package/dist/cjs/{interfaces-7216af30.js → interfaces-597482d7.js} +1 -0
- package/dist/cjs/{label-980508de.js → label-e53e11ab.js} +2 -1
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/{locale-02462821.js → locale-2f9c939d.js} +11 -2
- package/dist/cjs/{math-145c80e2.js → math-b81c3249.js} +1 -0
- package/dist/cjs/{number-e813e801.js → number-99949cb0.js} +2 -1
- package/dist/cjs/{observers-79bfb8bc.js → observers-2dc895e1.js} +1 -0
- package/dist/cjs/{popper-64d89ef7.js → popper-5aeab272.js} +29 -3
- package/dist/cjs/{resources-7d5449fb.js → resources-39df6d9b.js} +1 -0
- package/dist/cjs/{resources-7811eb2c.js → resources-7b0c6b5a.js} +3 -2
- package/dist/cjs/{resources-e43fc9f3.js → resources-9baed1da.js} +5 -4
- package/dist/cjs/{resources-ac80e82c.js → resources-ff2cae6a.js} +1 -0
- package/dist/cjs/{sortable.esm-d7a4560b.js → sortable.esm-6d0d59e8.js} +63 -54
- package/dist/cjs/{utils-6579522f.js → utils-9f674b6a.js} +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -0
- package/dist/collection/components/accordion/interfaces.js +1 -0
- package/dist/collection/components/accordion-item/accordion-item.js +1 -0
- package/dist/collection/components/action/action.js +1 -0
- package/dist/collection/components/action/resources.js +1 -0
- package/dist/collection/components/action-bar/action-bar.js +1 -0
- package/dist/collection/components/action-bar/resources.js +1 -0
- package/dist/collection/components/action-bar/utils.js +1 -0
- package/dist/collection/components/action-group/action-group.js +1 -0
- package/dist/collection/components/action-group/resources.js +1 -0
- package/dist/collection/components/action-menu/action-menu.js +1 -0
- package/dist/collection/components/action-menu/resources.js +1 -0
- package/dist/collection/components/action-pad/action-pad.js +1 -0
- package/dist/collection/components/action-pad/resources.js +1 -0
- package/dist/collection/components/alert/alert.js +1 -0
- package/dist/collection/components/alert/interfaces.js +1 -0
- package/dist/collection/components/alert/resources.js +1 -0
- package/dist/collection/components/avatar/avatar.js +1 -0
- package/dist/collection/components/avatar/utils.js +1 -0
- package/dist/collection/components/block/block.js +1 -0
- package/dist/collection/components/block/resources.js +1 -0
- package/dist/collection/components/block-section/block-section.js +1 -0
- package/dist/collection/components/block-section/interfaces.js +1 -0
- package/dist/collection/components/block-section/resources.js +1 -0
- package/dist/collection/components/button/button.js +14 -12
- package/dist/collection/components/button/interfaces.js +1 -0
- package/dist/collection/components/button/resources.js +1 -0
- package/dist/collection/components/card/card.js +1 -0
- package/dist/collection/components/card/resources.js +1 -0
- package/dist/collection/components/checkbox/checkbox.js +1 -0
- package/dist/collection/components/chip/chip.js +1 -0
- package/dist/collection/components/chip/interfaces.js +1 -0
- package/dist/collection/components/chip/resources.js +1 -0
- package/dist/collection/components/color-picker/color-picker.js +14 -18
- package/dist/collection/components/color-picker/interfaces.js +1 -0
- package/dist/collection/components/color-picker/resources.js +1 -0
- package/dist/collection/components/color-picker/utils.js +1 -0
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +39 -48
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -0
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -0
- package/dist/collection/components/color-picker-swatch/resources.js +1 -0
- package/dist/collection/components/combobox/combobox.js +77 -37
- package/dist/collection/components/combobox/interfaces.js +1 -0
- package/dist/collection/components/combobox/resources.js +1 -0
- package/dist/collection/components/combobox/utils.js +1 -0
- package/dist/collection/components/combobox-item/combobox-item.css +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -0
- package/dist/collection/components/combobox-item/resources.js +1 -0
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -0
- package/dist/collection/components/combobox-item-group/resources.js +1 -0
- package/dist/collection/components/date-picker/date-picker.js +1 -0
- package/dist/collection/components/date-picker/interfaces.js +1 -0
- package/dist/collection/components/date-picker/resources.js +1 -0
- package/dist/collection/components/date-picker/utils.js +1 -0
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -0
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -0
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +28 -19
- package/dist/collection/components/dropdown/dropdown.js +16 -7
- package/dist/collection/components/dropdown/interfaces.js +1 -0
- package/dist/collection/components/dropdown/resources.js +1 -0
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -0
- package/dist/collection/components/dropdown-group/interfaces.js +1 -0
- package/dist/collection/components/dropdown-group/resources.js +1 -0
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -0
- package/dist/collection/components/dropdown-item/resources.js +1 -0
- package/dist/collection/components/fab/fab.js +1 -0
- package/dist/collection/components/fab/resources.js +1 -0
- package/dist/collection/components/filter/filter.js +12 -8
- package/dist/collection/components/filter/resources.js +2 -0
- package/dist/collection/components/flow/flow.js +1 -0
- package/dist/collection/components/flow/interfaces.js +1 -0
- package/dist/collection/components/flow/resources.js +1 -0
- package/dist/collection/components/functional/ExpandToggle.js +1 -0
- package/dist/collection/components/functional/Heading.js +1 -0
- package/dist/collection/components/graph/graph.js +1 -0
- package/dist/collection/components/graph/interfaces.js +1 -0
- package/dist/collection/components/graph/util.js +1 -0
- package/dist/collection/components/handle/handle.js +1 -0
- package/dist/collection/components/handle/resources.js +1 -0
- package/dist/collection/components/icon/assets/icon/fileEcd16.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileEcd24.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileEcd32.json +1 -0
- package/dist/collection/components/icon/icon.js +1 -0
- package/dist/collection/components/icon/resources.js +1 -0
- package/dist/collection/components/icon/utils.js +1 -0
- package/dist/collection/components/inline-editable/inline-editable.js +1 -0
- package/dist/collection/components/inline-editable/resources.js +1 -0
- package/dist/collection/components/input/input.js +2 -1
- package/dist/collection/components/input/interfaces.js +1 -0
- package/dist/collection/components/input/resources.js +1 -0
- package/dist/collection/components/input-date-picker/input-date-picker.js +56 -11
- package/dist/collection/components/input-message/input-message.js +1 -0
- package/dist/collection/components/input-message/interfaces.js +1 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +33 -1
- package/dist/collection/components/interfaces.js +1 -0
- package/dist/collection/components/label/label.js +1 -0
- package/dist/collection/components/label/resources.js +1 -0
- package/dist/collection/components/link/link.js +1 -0
- package/dist/collection/components/list/list.js +1 -0
- package/dist/collection/components/list/resources.js +1 -0
- package/dist/collection/components/list-item/list-item.css +17 -1
- package/dist/collection/components/list-item/list-item.js +8 -2
- package/dist/collection/components/list-item/resources.js +3 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -0
- package/dist/collection/components/list-item-group/resources.js +1 -0
- package/dist/collection/components/loader/loader.js +1 -0
- package/dist/collection/components/modal/interfaces.js +1 -0
- package/dist/collection/components/modal/modal.js +2 -1
- package/dist/collection/components/modal/resources.js +1 -0
- package/dist/collection/components/notice/notice.js +1 -0
- package/dist/collection/components/notice/resources.js +1 -0
- package/dist/collection/components/option/option.js +1 -0
- package/dist/collection/components/option-group/option-group.js +1 -0
- package/dist/collection/components/pagination/pagination.js +1 -0
- package/dist/collection/components/pagination/resources.js +1 -0
- package/dist/collection/components/panel/panel.css +0 -3
- package/dist/collection/components/panel/panel.js +1 -0
- package/dist/collection/components/panel/resources.js +1 -0
- package/dist/collection/components/pick-list/pick-list.js +1 -0
- package/dist/collection/components/pick-list/resources.js +1 -0
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -0
- package/dist/collection/components/pick-list/shared-list-render.js +1 -0
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -0
- package/dist/collection/components/pick-list-group/resources.js +1 -0
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -0
- package/dist/collection/components/pick-list-item/resources.js +1 -0
- package/dist/collection/components/popover/popover.js +20 -4
- package/dist/collection/components/popover/resources.js +1 -0
- package/dist/collection/components/popover-manager/popover-manager.js +1 -0
- package/dist/collection/components/progress/progress.js +1 -0
- package/dist/collection/components/radio-button/radio-button.js +1 -0
- package/dist/collection/components/radio-button/resources.js +1 -0
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -0
- package/dist/collection/components/radio-group/interfaces.js +1 -0
- package/dist/collection/components/radio-group/radio-group.js +1 -0
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -0
- package/dist/collection/components/radio-group-item/resources.js +1 -0
- package/dist/collection/components/rating/rating.js +1 -0
- package/dist/collection/components/rating/resources.js +1 -0
- package/dist/collection/components/scrim/resources.js +1 -0
- package/dist/collection/components/scrim/scrim.js +1 -0
- package/dist/collection/components/select/resources.js +1 -0
- package/dist/collection/components/select/select.js +1 -0
- package/dist/collection/components/shell/resources.js +1 -0
- package/dist/collection/components/shell/shell.js +1 -0
- package/dist/collection/components/shell-center-row/resources.js +1 -0
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -0
- package/dist/collection/components/shell-panel/resources.js +1 -0
- package/dist/collection/components/shell-panel/shell-panel.js +1 -0
- package/dist/collection/components/slider/slider.js +77 -41
- package/dist/collection/components/sortable-list/resources.js +1 -0
- package/dist/collection/components/sortable-list/sortable-list.js +1 -0
- package/dist/collection/components/split-button/resources.js +1 -0
- package/dist/collection/components/split-button/split-button.js +1 -0
- package/dist/collection/components/stepper/stepper.js +1 -0
- package/dist/collection/components/stepper-item/stepper-item.js +3 -1
- package/dist/collection/components/switch/switch.js +4 -2
- package/dist/collection/components/tab/interfaces.js +1 -0
- package/dist/collection/components/tab/tab.js +14 -15
- package/dist/collection/components/tab-nav/tab-nav.js +65 -26
- package/dist/collection/components/tab-title/tab-title.js +56 -24
- package/dist/collection/components/tabs/interfaces.js +1 -0
- package/dist/collection/components/tabs/resources.js +1 -0
- package/dist/collection/components/tabs/tabs.js +1 -3
- package/dist/collection/components/tile/resources.js +1 -0
- package/dist/collection/components/tile/tile.css +2 -2
- package/dist/collection/components/tile/tile.js +1 -0
- package/dist/collection/components/tile-select/interfaces.js +1 -0
- package/dist/collection/components/tile-select/resources.js +1 -0
- package/dist/collection/components/tile-select/tile-select.js +1 -0
- package/dist/collection/components/tile-select-group/interfaces.js +1 -0
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -0
- package/dist/collection/components/time-picker/resources.js +1 -0
- package/dist/collection/components/time-picker/time-picker.js +1 -8
- package/dist/collection/components/tip/resources.js +1 -0
- package/dist/collection/components/tip/tip.js +1 -0
- package/dist/collection/components/tip-group/tip-group.js +1 -0
- package/dist/collection/components/tip-manager/resources.js +1 -0
- package/dist/collection/components/tip-manager/tip-manager.js +3 -2
- package/dist/collection/components/tooltip/resources.js +1 -0
- package/dist/collection/components/tooltip/tooltip.js +1 -0
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -5
- package/dist/collection/components/tree/interfaces.js +1 -0
- package/dist/collection/components/tree/tree.js +1 -0
- package/dist/collection/components/tree-item/interfaces.js +1 -0
- package/dist/collection/components/tree-item/resources.js +1 -0
- package/dist/collection/components/tree-item/tree-item.js +1 -0
- package/dist/collection/components/value-list/resources.js +1 -0
- package/dist/collection/components/value-list/value-list.js +1 -0
- package/dist/collection/components/value-list-item/resources.js +1 -0
- package/dist/collection/components/value-list-item/value-list-item.js +1 -0
- package/dist/collection/utils/array.js +1 -0
- package/dist/collection/utils/conditionalSlot.js +1 -0
- package/dist/collection/utils/date.js +1 -0
- package/dist/collection/utils/dom.js +8 -1
- package/dist/collection/utils/filter.js +1 -0
- package/dist/collection/utils/form.js +1 -0
- package/dist/collection/utils/globalAttributes.js +1 -0
- package/dist/collection/utils/guid.js +1 -0
- package/dist/collection/utils/interactive.js +1 -0
- package/dist/collection/utils/key.js +1 -0
- package/dist/collection/utils/label.js +1 -0
- package/dist/collection/utils/locale.js +10 -1
- package/dist/collection/utils/math.js +1 -0
- package/dist/collection/utils/number.js +2 -1
- package/dist/collection/utils/observers.js +1 -0
- package/dist/collection/utils/popper.js +17 -2
- package/dist/collection/utils/resources.js +1 -0
- package/dist/collection/utils/time.js +1 -0
- package/dist/components/ExpandToggle.js +1 -0
- package/dist/components/Heading.js +1 -0
- package/dist/components/action-group.js +1 -0
- package/dist/components/action-menu.js +1 -0
- package/dist/components/action.js +1 -0
- package/dist/components/array.js +1 -0
- package/dist/components/button.js +11 -10
- package/dist/components/calcite-accordion-item.js +1 -0
- package/dist/components/calcite-accordion.js +1 -0
- package/dist/components/calcite-action-bar.js +1 -0
- package/dist/components/calcite-action-group.js +1 -0
- package/dist/components/calcite-action-menu.js +1 -0
- package/dist/components/calcite-action-pad.js +1 -0
- package/dist/components/calcite-action.js +1 -0
- package/dist/components/calcite-alert.js +1 -0
- package/dist/components/calcite-avatar.js +1 -0
- package/dist/components/calcite-block-section.js +1 -0
- package/dist/components/calcite-block.js +1 -0
- package/dist/components/calcite-button.js +1 -0
- package/dist/components/calcite-card.js +1 -0
- package/dist/components/calcite-checkbox.js +1 -0
- package/dist/components/calcite-chip.js +1 -0
- package/dist/components/calcite-color-picker-hex-input.js +1 -0
- package/dist/components/calcite-color-picker-swatch.js +1 -0
- package/dist/components/calcite-color-picker.js +14 -18
- package/dist/components/calcite-combobox-item-group.js +1 -0
- package/dist/components/calcite-combobox-item.js +2 -1
- package/dist/components/calcite-combobox.js +75 -37
- package/dist/components/calcite-date-picker-day.js +1 -0
- package/dist/components/calcite-date-picker-month-header.js +1 -0
- package/dist/components/calcite-date-picker-month.js +1 -0
- package/dist/components/calcite-date-picker.js +1 -0
- package/dist/components/calcite-dropdown-group.js +1 -0
- package/dist/components/calcite-dropdown-item.js +1 -0
- package/dist/components/calcite-dropdown.js +1 -0
- package/dist/components/calcite-fab.js +1 -0
- package/dist/components/calcite-filter.js +1 -0
- package/dist/components/calcite-flow.js +1 -0
- package/dist/components/calcite-graph.js +1 -0
- package/dist/components/calcite-handle.js +1 -0
- package/dist/components/calcite-icon.js +1 -0
- package/dist/components/calcite-inline-editable.js +1 -0
- package/dist/components/calcite-input-date-picker.js +29 -11
- package/dist/components/calcite-input-message.js +1 -0
- package/dist/components/calcite-input-time-picker.js +8 -1
- package/dist/components/calcite-input.js +1 -0
- package/dist/components/calcite-label.js +1 -0
- package/dist/components/calcite-link.js +1 -0
- package/dist/components/calcite-list-item-group.js +1 -0
- package/dist/components/calcite-list-item.js +11 -4
- package/dist/components/calcite-list.js +1 -0
- package/dist/components/calcite-loader.js +1 -0
- package/dist/components/calcite-modal.js +2 -1
- package/dist/components/calcite-notice.js +1 -0
- package/dist/components/calcite-option-group.js +1 -0
- package/dist/components/calcite-option.js +1 -0
- package/dist/components/calcite-pagination.js +1 -0
- package/dist/components/calcite-panel.js +2 -1
- package/dist/components/calcite-pick-list-group.js +1 -0
- package/dist/components/calcite-pick-list-item.js +1 -0
- package/dist/components/calcite-pick-list.js +1 -0
- package/dist/components/calcite-popover-manager.js +1 -0
- package/dist/components/calcite-popover.js +1 -0
- package/dist/components/calcite-progress.js +1 -0
- package/dist/components/calcite-radio-button-group.js +1 -0
- package/dist/components/calcite-radio-button.js +1 -0
- package/dist/components/calcite-radio-group-item.js +1 -0
- package/dist/components/calcite-radio-group.js +1 -0
- package/dist/components/calcite-rating.js +1 -0
- package/dist/components/calcite-scrim.js +1 -0
- package/dist/components/calcite-select.js +1 -0
- package/dist/components/calcite-shell-center-row.js +1 -0
- package/dist/components/calcite-shell-panel.js +1 -0
- package/dist/components/calcite-shell.js +1 -0
- package/dist/components/calcite-slider.js +68 -38
- package/dist/components/calcite-sortable-list.js +1 -0
- package/dist/components/calcite-split-button.js +1 -0
- package/dist/components/calcite-stepper-item.js +3 -1
- package/dist/components/calcite-stepper.js +1 -0
- package/dist/components/calcite-switch.js +1 -0
- package/dist/components/calcite-tab-nav.js +1 -0
- package/dist/components/calcite-tab-title.js +1 -0
- package/dist/components/calcite-tab.js +1 -0
- package/dist/components/calcite-tabs.js +1 -0
- package/dist/components/calcite-tile-select-group.js +1 -0
- package/dist/components/calcite-tile-select.js +1 -0
- package/dist/components/calcite-tile.js +1 -0
- package/dist/components/calcite-time-picker.js +1 -0
- package/dist/components/calcite-tip-group.js +1 -0
- package/dist/components/calcite-tip-manager.js +2 -1
- package/dist/components/calcite-tip.js +1 -0
- package/dist/components/calcite-tooltip-manager.js +1 -0
- package/dist/components/calcite-tooltip.js +1 -0
- package/dist/components/calcite-tree-item.js +1 -0
- package/dist/components/calcite-tree.js +1 -0
- package/dist/components/calcite-value-list-item.js +1 -0
- package/dist/components/calcite-value-list.js +1 -0
- package/dist/components/checkbox.js +1 -0
- package/dist/components/chip.js +1 -0
- package/dist/components/color-picker-hex-input.js +39 -48
- package/dist/components/color-picker-swatch.js +40 -32
- package/dist/components/conditionalSlot.js +1 -0
- package/dist/components/date-picker-day.js +1 -0
- package/dist/components/date-picker-month-header.js +28 -19
- package/dist/components/date-picker-month.js +1 -0
- package/dist/components/date-picker.js +1 -0
- package/dist/components/date.js +1 -0
- package/dist/components/debounce.js +1 -0
- package/dist/components/dom.js +8 -1
- package/dist/components/dropdown.js +14 -7
- package/dist/components/filter.js +12 -7
- package/dist/components/forIn.js +1 -0
- package/dist/components/form.js +1 -0
- package/dist/components/graph.js +1 -0
- package/dist/components/guid.js +1 -0
- package/dist/components/handle.js +1 -0
- package/dist/components/icon.js +1 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/input.js +2 -1
- package/dist/components/interactive.js +1 -0
- package/dist/components/interfaces.js +1 -0
- package/dist/components/interfaces2.js +1 -0
- package/dist/components/label.js +1 -0
- package/dist/components/label2.js +1 -0
- package/dist/components/link.js +1 -0
- package/dist/components/loader.js +1 -0
- package/dist/components/locale.js +10 -1
- package/dist/components/math.js +1 -0
- package/dist/components/number.js +2 -1
- package/dist/components/observers.js +1 -0
- package/dist/components/pick-list-item.js +1 -0
- package/dist/components/popover.js +18 -4
- package/dist/components/popper.js +27 -2
- package/dist/components/progress.js +1 -0
- package/dist/components/resources.js +1 -0
- package/dist/components/resources2.js +1 -0
- package/dist/components/resources3.js +1 -0
- package/dist/components/resources4.js +1 -0
- package/dist/components/resources5.js +1 -0
- package/dist/components/scrim.js +1 -0
- package/dist/components/shared-list-render.js +1 -0
- package/dist/components/sortable.esm.js +63 -54
- package/dist/components/switch.js +3 -1
- package/dist/components/tab-nav.js +36 -19
- package/dist/components/tab-title.js +28 -21
- package/dist/components/tab.js +13 -14
- package/dist/components/tabs.js +1 -3
- package/dist/components/tile.js +2 -1
- package/dist/components/time-picker.js +2 -7
- package/dist/components/tooltip-manager.js +2 -5
- package/dist/components/utils.js +1 -0
- package/dist/components/utils2.js +1 -0
- package/dist/custom-elements/index.js +538 -367
- package/dist/esm/{ExpandToggle-af224c1e.js → ExpandToggle-847b61ba.js} +5 -4
- package/dist/esm/{Heading-d5f1710a.js → Heading-f4ee0499.js} +2 -1
- package/dist/esm/{array-91a648e2.js → array-328a8961.js} +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +4 -3
- package/dist/esm/calcite-action-bar.entry.js +10 -9
- package/dist/esm/calcite-action-group.entry.js +8 -7
- package/dist/esm/calcite-action-menu.entry.js +8 -7
- package/dist/esm/calcite-action-pad.entry.js +9 -8
- package/dist/esm/calcite-action.entry.js +4 -3
- package/dist/esm/calcite-alert.entry.js +5 -4
- package/dist/esm/calcite-avatar.entry.js +5 -4
- package/dist/esm/calcite-block_2.entry.js +8 -7
- package/dist/esm/calcite-button.entry.js +17 -16
- package/dist/esm/calcite-card.entry.js +6 -5
- package/dist/esm/calcite-checkbox.entry.js +7 -6
- package/dist/esm/calcite-chip.entry.js +6 -5
- package/dist/esm/calcite-color-picker_3.entry.js +96 -103
- package/dist/esm/calcite-combobox_3.entry.js +86 -48
- package/dist/esm/calcite-date-picker_4.entry.js +36 -27
- package/dist/esm/calcite-dropdown_3.entry.js +19 -12
- package/dist/esm/calcite-fab.entry.js +5 -4
- package/dist/esm/calcite-filter.entry.js +18 -13
- package/dist/esm/calcite-flow.entry.js +3 -2
- package/dist/esm/calcite-graph_2.entry.js +76 -46
- package/dist/esm/calcite-handle.entry.js +2 -1
- package/dist/esm/calcite-icon.entry.js +5 -4
- package/dist/esm/calcite-inline-editable.entry.js +7 -6
- package/dist/esm/calcite-input-date-picker.entry.js +37 -20
- package/dist/esm/calcite-input-message.entry.js +4 -3
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input.entry.js +12 -11
- package/dist/esm/calcite-label.entry.js +5 -4
- package/dist/esm/calcite-link.entry.js +5 -4
- package/dist/esm/calcite-list_3.entry.js +18 -11
- package/dist/esm/calcite-loader.entry.js +3 -2
- package/dist/esm/calcite-modal.entry.js +7 -6
- package/dist/esm/calcite-notice.entry.js +7 -6
- package/dist/esm/calcite-option_3.entry.js +8 -7
- package/dist/esm/calcite-pagination.entry.js +2 -1
- package/dist/esm/calcite-panel.entry.js +10 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -10
- package/dist/esm/calcite-popover_2.entry.js +22 -8
- package/dist/esm/calcite-progress.entry.js +2 -1
- package/dist/esm/calcite-radio-button-group.entry.js +3 -2
- package/dist/esm/calcite-radio-button.entry.js +8 -7
- package/dist/esm/calcite-radio-group_2.entry.js +7 -6
- package/dist/esm/calcite-rating.entry.js +7 -6
- package/dist/esm/calcite-scrim.entry.js +2 -1
- package/dist/esm/calcite-shell_3.entry.js +7 -6
- package/dist/esm/calcite-sortable-list.entry.js +5 -4
- package/dist/esm/calcite-split-button.entry.js +3 -2
- package/dist/esm/calcite-stepper_2.entry.js +7 -5
- package/dist/esm/calcite-switch.entry.js +9 -7
- package/dist/esm/calcite-tab_4.entry.js +76 -59
- package/dist/esm/calcite-tile-select_2.entry.js +4 -3
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-tip_3.entry.js +8 -7
- package/dist/esm/calcite-tooltip_2.entry.js +6 -9
- package/dist/esm/calcite-tree_2.entry.js +6 -5
- package/dist/esm/calcite-value-list_2.entry.js +11 -10
- package/dist/esm/calcite.js +4 -3
- package/dist/esm/{conditionalSlot-67f579ff.js → conditionalSlot-a8a2c2f8.js} +3 -2
- package/dist/esm/{debounce-79648d42.js → debounce-f689f579.js} +1 -0
- package/dist/esm/{dom-e7fa77b9.js → dom-0dcd3a1e.js} +9 -2
- package/dist/esm/{forIn-48d8fb84.js → forIn-8f588c7b.js} +2 -1
- package/dist/esm/{form-5e4609eb.js → form-2b88b33a.js} +3 -2
- package/dist/esm/{guid-196bd5ea.js → guid-174508ff.js} +1 -0
- package/dist/esm/{index-bd94948c.js → index-221092de.js} +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/{interactive-48b5cc0f.js → interactive-b11a6c05.js} +1 -0
- package/dist/esm/{interfaces-0e5b954c.js → interfaces-2bc002ac.js} +1 -0
- package/dist/esm/{label-68f22660.js → label-2dac3c62.js} +2 -1
- package/dist/esm/loader.js +4 -3
- package/dist/esm/{locale-fc850b7c.js → locale-9c18bf7f.js} +11 -2
- package/dist/esm/{math-456207f5.js → math-4cd9449e.js} +1 -0
- package/dist/esm/{number-8779395f.js → number-a39356c7.js} +2 -1
- package/dist/esm/{observers-46118290.js → observers-232c6ed6.js} +1 -0
- package/dist/esm/{popper-da45ec93.js → popper-66bcddc6.js} +28 -3
- package/dist/esm/{resources-b5c3d9a7.js → resources-762aa55a.js} +5 -4
- package/dist/esm/{resources-73dac782.js → resources-886efb7e.js} +3 -2
- package/dist/esm/{resources-027bd8f9.js → resources-8ade5fae.js} +1 -0
- package/dist/esm/{resources-34334875.js → resources-df870d40.js} +1 -0
- package/dist/esm/{sortable.esm-04824d33.js → sortable.esm-0891f88f.js} +63 -54
- package/dist/esm/{utils-e84055a3.js → utils-79203b5b.js} +1 -0
- package/dist/esm-es5/{ExpandToggle-af224c1e.js → ExpandToggle-847b61ba.js} +2 -1
- package/dist/esm-es5/{Heading-d5f1710a.js → Heading-f4ee0499.js} +2 -1
- package/dist/esm-es5/{array-91a648e2.js → array-328a8961.js} +1 -0
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -1
- package/dist/esm-es5/calcite-action-group.entry.js +2 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +3 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -1
- package/dist/esm-es5/calcite-action.entry.js +2 -1
- package/dist/esm-es5/calcite-alert.entry.js +2 -1
- package/dist/esm-es5/calcite-avatar.entry.js +2 -1
- package/dist/esm-es5/calcite-block_2.entry.js +2 -1
- package/dist/esm-es5/calcite-button.entry.js +2 -1
- package/dist/esm-es5/calcite-card.entry.js +2 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -1
- package/dist/esm-es5/calcite-chip.entry.js +2 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -1
- package/dist/esm-es5/calcite-fab.entry.js +2 -1
- package/dist/esm-es5/calcite-filter.entry.js +2 -1
- package/dist/esm-es5/calcite-flow.entry.js +2 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -1
- package/dist/esm-es5/calcite-handle.entry.js +2 -1
- package/dist/esm-es5/calcite-icon.entry.js +2 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -1
- package/dist/esm-es5/calcite-input-message.entry.js +2 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -1
- package/dist/esm-es5/calcite-input.entry.js +2 -1
- package/dist/esm-es5/calcite-label.entry.js +2 -1
- package/dist/esm-es5/calcite-link.entry.js +2 -1
- package/dist/esm-es5/calcite-list_3.entry.js +3 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -1
- package/dist/esm-es5/calcite-modal.entry.js +2 -1
- package/dist/esm-es5/calcite-notice.entry.js +3 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -1
- package/dist/esm-es5/calcite-pagination.entry.js +2 -1
- package/dist/esm-es5/calcite-panel.entry.js +2 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -1
- package/dist/esm-es5/calcite-rating.entry.js +2 -1
- package/dist/esm-es5/calcite-scrim.entry.js +2 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -1
- package/dist/esm-es5/calcite-split-button.entry.js +2 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -1
- package/dist/esm-es5/calcite-switch.entry.js +2 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -1
- package/dist/esm-es5/calcite-tile.entry.js +2 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -1
- package/dist/esm-es5/calcite.js +2 -1
- package/dist/esm-es5/{conditionalSlot-67f579ff.js → conditionalSlot-a8a2c2f8.js} +2 -1
- package/dist/esm-es5/{debounce-79648d42.js → debounce-f689f579.js} +1 -0
- package/dist/esm-es5/{dom-e7fa77b9.js → dom-0dcd3a1e.js} +2 -1
- package/dist/esm-es5/{forIn-48d8fb84.js → forIn-8f588c7b.js} +2 -1
- package/dist/esm-es5/{form-5e4609eb.js → form-2b88b33a.js} +2 -1
- package/dist/esm-es5/{guid-196bd5ea.js → guid-174508ff.js} +1 -0
- package/dist/esm-es5/{index-bd94948c.js → index-221092de.js} +1 -0
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/{interactive-48b5cc0f.js → interactive-b11a6c05.js} +1 -0
- package/dist/esm-es5/{interfaces-0e5b954c.js → interfaces-2bc002ac.js} +1 -0
- package/dist/esm-es5/{label-68f22660.js → label-2dac3c62.js} +2 -1
- package/dist/esm-es5/loader.js +2 -1
- package/dist/esm-es5/locale-9c18bf7f.js +6 -0
- package/dist/esm-es5/{math-456207f5.js → math-4cd9449e.js} +1 -0
- package/dist/esm-es5/number-a39356c7.js +6 -0
- package/dist/esm-es5/{observers-46118290.js → observers-232c6ed6.js} +1 -0
- package/dist/esm-es5/{popper-da45ec93.js → popper-66bcddc6.js} +2 -1
- package/dist/esm-es5/{resources-b5c3d9a7.js → resources-762aa55a.js} +2 -1
- package/dist/esm-es5/{resources-73dac782.js → resources-886efb7e.js} +3 -2
- package/dist/esm-es5/{resources-027bd8f9.js → resources-8ade5fae.js} +1 -0
- package/dist/esm-es5/{resources-34334875.js → resources-df870d40.js} +1 -0
- package/dist/esm-es5/sortable.esm-0891f88f.js +12 -0
- package/dist/esm-es5/{utils-e84055a3.js → utils-79203b5b.js} +1 -0
- package/dist/extras/docs-json.json +104 -14
- package/dist/loader/cdn.js +1 -0
- package/dist/loader/index.cjs.js +1 -0
- package/dist/loader/index.es2017.js +1 -0
- package/dist/loader/index.js +1 -0
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -0
- package/dist/types/components/combobox/combobox.d.ts +6 -1
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +3 -1
- package/dist/types/components/dropdown/dropdown.d.ts +3 -0
- package/dist/types/components/filter/filter.d.ts +2 -2
- package/dist/types/components/filter/resources.d.ts +1 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +9 -1
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +6 -0
- package/dist/types/components/list-item/resources.d.ts +1 -0
- package/dist/types/components/popover/popover.d.ts +4 -0
- package/dist/types/components/slider/slider.d.ts +5 -2
- package/dist/types/components/tab/tab.d.ts +5 -6
- package/dist/types/components/tab-nav/tab-nav.d.ts +23 -21
- package/dist/types/components/tab-title/tab-title.d.ts +16 -19
- package/dist/types/components/tabs/tabs.d.ts +1 -4
- package/dist/types/components/time-picker/time-picker.d.ts +0 -1
- package/dist/types/components/tip-manager/tip-manager.d.ts +1 -1
- package/dist/types/components.d.ts +25 -5
- package/dist/types/preact.d.ts +4 -2
- package/dist/types/utils/dom.d.ts +2 -2
- package/dist/types/utils/locale.d.ts +1 -0
- package/dist/types/utils/popper.d.ts +3 -2
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +536 -365
- package/package.json +36 -36
- package/readme.md +2 -3
- package/dist/calcite/p-193749c1.entry.js +0 -5
- package/dist/calcite/p-1aeca42a.system.entry.js +0 -5
- package/dist/calcite/p-23145377.entry.js +0 -5
- package/dist/calcite/p-2bcaed33.entry.js +0 -5
- package/dist/calcite/p-364f0abe.system.entry.js +0 -5
- package/dist/calcite/p-3915705c.entry.js +0 -5
- package/dist/calcite/p-4905189e.system.entry.js +0 -5
- package/dist/calcite/p-4aecbaef.entry.js +0 -5
- package/dist/calcite/p-5c637131.entry.js +0 -5
- package/dist/calcite/p-5f6e35f3.entry.js +0 -5
- package/dist/calcite/p-6261469d.entry.js +0 -5
- package/dist/calcite/p-653bd7bf.entry.js +0 -5
- package/dist/calcite/p-7c88d545.js +0 -5
- package/dist/calcite/p-867f7b7a.system.entry.js +0 -5
- package/dist/calcite/p-872e82a6.system.entry.js +0 -5
- package/dist/calcite/p-87888359.entry.js +0 -5
- package/dist/calcite/p-895d22f3.entry.js +0 -5
- package/dist/calcite/p-8b982f91.entry.js +0 -5
- package/dist/calcite/p-8f3a3e4e.js +0 -5
- package/dist/calcite/p-9e61d89d.entry.js +0 -5
- package/dist/calcite/p-ac9607f2.system.js +0 -11
- package/dist/calcite/p-b10af2b4.entry.js +0 -5
- package/dist/calcite/p-b3c5247b.system.entry.js +0 -5
- package/dist/calcite/p-bb401f25.system.js +0 -5
- package/dist/calcite/p-bccbf58a.entry.js +0 -5
- package/dist/calcite/p-bffb4da3.system.entry.js +0 -5
- package/dist/calcite/p-c4cb35ba.system.entry.js +0 -5
- package/dist/calcite/p-c5ec8d74.js +0 -11
- package/dist/calcite/p-cb847074.entry.js +0 -5
- package/dist/calcite/p-dd9f2e61.js +0 -5
- package/dist/calcite/p-e22ab8fa.entry.js +0 -5
- package/dist/calcite/p-e4d1651b.system.entry.js +0 -5
- package/dist/calcite/p-ec9bab33.system.js +0 -5
- package/dist/calcite/p-ecc31b40.system.entry.js +0 -5
- package/dist/calcite/p-ef6b4184.js +0 -5
- package/dist/calcite/p-f09e27b0.system.js +0 -5
- package/dist/calcite/p-fe9380a0.system.js +0 -5
- package/dist/esm-es5/locale-fc850b7c.js +0 -5
- package/dist/esm-es5/number-8779395f.js +0 -5
- package/dist/esm-es5/sortable.esm-04824d33.js +0 -11
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Event, forceUpdate, Host, Method, Prop, State, Watch, h } from "@stencil/core";
|
|
6
7
|
import { CSS, ARIA_CONTROLS, ARIA_EXPANDED, HEADING_LEVEL, POPOVER_REFERENCE, TEXT, defaultPopoverPlacement } from "./resources";
|
|
7
|
-
import { defaultOffsetDistance, createPopper, updatePopper, CSS as PopperCSS } from "../../utils/popper";
|
|
8
|
+
import { defaultOffsetDistance, createPopper, updatePopper, CSS as PopperCSS, filterComputedPlacements } from "../../utils/popper";
|
|
8
9
|
import { guid } from "../../utils/guid";
|
|
9
10
|
import { queryElementRoots } from "../../utils/dom";
|
|
10
11
|
import { Heading } from "../functional/Heading";
|
|
@@ -66,6 +67,12 @@ export class Popover {
|
|
|
66
67
|
// Private Methods
|
|
67
68
|
//
|
|
68
69
|
// --------------------------------------------------------------------------
|
|
70
|
+
this.setFilteredPlacements = () => {
|
|
71
|
+
const { el, flipPlacements } = this;
|
|
72
|
+
this.filteredFlipPlacements = flipPlacements
|
|
73
|
+
? filterComputedPlacements(flipPlacements, el)
|
|
74
|
+
: null;
|
|
75
|
+
};
|
|
69
76
|
this.setUpReferenceElement = () => {
|
|
70
77
|
this.removeReferences();
|
|
71
78
|
this.effectiveReferenceElement = this.getReferenceElement();
|
|
@@ -116,6 +123,9 @@ export class Popover {
|
|
|
116
123
|
}
|
|
117
124
|
};
|
|
118
125
|
}
|
|
126
|
+
flipPlacementsHandler() {
|
|
127
|
+
this.setFilteredPlacements();
|
|
128
|
+
}
|
|
119
129
|
offsetDistanceOffsetHandler() {
|
|
120
130
|
this.reposition();
|
|
121
131
|
}
|
|
@@ -137,6 +147,9 @@ export class Popover {
|
|
|
137
147
|
// Lifecycle
|
|
138
148
|
//
|
|
139
149
|
// --------------------------------------------------------------------------
|
|
150
|
+
connectedCallback() {
|
|
151
|
+
this.setFilteredPlacements();
|
|
152
|
+
}
|
|
140
153
|
componentWillLoad() {
|
|
141
154
|
this.setUpReferenceElement();
|
|
142
155
|
}
|
|
@@ -187,14 +200,14 @@ export class Popover {
|
|
|
187
200
|
: referenceElement) || null);
|
|
188
201
|
}
|
|
189
202
|
getModifiers() {
|
|
190
|
-
const { arrowEl,
|
|
203
|
+
const { arrowEl, disableFlip, disablePointer, offsetDistance, offsetSkidding, filteredFlipPlacements } = this;
|
|
191
204
|
const flipModifier = {
|
|
192
205
|
name: "flip",
|
|
193
206
|
enabled: !disableFlip
|
|
194
207
|
};
|
|
195
|
-
if (
|
|
208
|
+
if (filteredFlipPlacements) {
|
|
196
209
|
flipModifier.options = {
|
|
197
|
-
fallbackPlacements:
|
|
210
|
+
fallbackPlacements: filteredFlipPlacements
|
|
198
211
|
};
|
|
199
212
|
}
|
|
200
213
|
const arrowModifier = {
|
|
@@ -677,6 +690,9 @@ export class Popover {
|
|
|
677
690
|
}; }
|
|
678
691
|
static get elementRef() { return "el"; }
|
|
679
692
|
static get watchers() { return [{
|
|
693
|
+
"propName": "flipPlacements",
|
|
694
|
+
"methodName": "flipPlacementsHandler"
|
|
695
|
+
}, {
|
|
680
696
|
"propName": "offsetDistance",
|
|
681
697
|
"methodName": "offsetDistanceOffsetHandler"
|
|
682
698
|
}, {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, h, Listen, Prop } from "@stencil/core";
|
|
6
7
|
import { POPOVER_REFERENCE } from "../popover/resources";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, h, Prop } from "@stencil/core";
|
|
6
7
|
export class Progress {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Event, h, Host, Listen, Method, Prop, Watch } from "@stencil/core";
|
|
6
7
|
import { guid } from "../../utils/guid";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Host, h, Element, Prop, Watch, Event, Listen } from "@stencil/core";
|
|
6
7
|
import { createObserver } from "../../utils/observers";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Event, h, Listen, Element, Prop, Watch, Host, Build, Method } from "@stencil/core";
|
|
6
7
|
import { getElementDir } from "../../utils/dom";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, h, Prop, Element, Event, Host, Watch } from "@stencil/core";
|
|
6
7
|
import { getElementProp } from "../../utils/dom";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Event, Fragment, h, Listen, Method, Prop, State } from "@stencil/core";
|
|
6
7
|
import { guid } from "../../utils/guid";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Prop, h } from "@stencil/core";
|
|
6
7
|
import { CSS, TEXT } from "./resources";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Event, Fragment, h, Listen, Method, Prop, Watch } from "@stencil/core";
|
|
6
7
|
import { focusElement } from "../../utils/dom";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Prop, h, Fragment } from "@stencil/core";
|
|
6
7
|
import { CSS, SLOTS } from "./resources";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Prop, h, Fragment } from "@stencil/core";
|
|
6
7
|
import { CSS, SLOTS } from "./resources";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Event, Prop, Watch, h, State, forceUpdate } from "@stencil/core";
|
|
6
7
|
import { CSS, SLOTS, TEXT } from "./resources";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Event, h, Host, Listen, Method, Prop, State, Watch } from "@stencil/core";
|
|
6
7
|
import { guid } from "../../utils/guid";
|
|
@@ -9,6 +10,9 @@ import { clamp, decimalPlaces } from "../../utils/math";
|
|
|
9
10
|
import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
10
11
|
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
11
12
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
13
|
+
function isRange(value) {
|
|
14
|
+
return Array.isArray(value);
|
|
15
|
+
}
|
|
12
16
|
export class Slider {
|
|
13
17
|
constructor() {
|
|
14
18
|
//--------------------------------------------------------------------------
|
|
@@ -45,13 +49,12 @@ export class Slider {
|
|
|
45
49
|
/** Interval to move on up/down keys */
|
|
46
50
|
this.step = 1;
|
|
47
51
|
/** Currently selected number (if single select) */
|
|
48
|
-
this.value =
|
|
52
|
+
this.value = 0;
|
|
49
53
|
/**
|
|
50
54
|
* Specify the scale of the slider, defaults to m
|
|
51
55
|
*/
|
|
52
56
|
this.scale = "m";
|
|
53
57
|
this.guid = `calcite-slider-${guid()}`;
|
|
54
|
-
this.isRange = false;
|
|
55
58
|
this.activeProp = "value";
|
|
56
59
|
this.minMaxValueRange = null;
|
|
57
60
|
this.minValueDragRange = null;
|
|
@@ -61,7 +64,7 @@ export class Slider {
|
|
|
61
64
|
event.preventDefault();
|
|
62
65
|
if (this.dragProp) {
|
|
63
66
|
const value = this.translate(event.clientX || event.pageX);
|
|
64
|
-
if (this.
|
|
67
|
+
if (isRange(this.value) && this.dragProp === "minMaxValue") {
|
|
65
68
|
if (this.minValueDragRange && this.maxValueDragRange && this.minMaxValueRange) {
|
|
66
69
|
const newMinValue = value - this.minValueDragRange;
|
|
67
70
|
const newMaxValue = value + this.maxValueDragRange;
|
|
@@ -107,12 +110,20 @@ export class Slider {
|
|
|
107
110
|
histogramWatcher(newHistogram) {
|
|
108
111
|
this.hasHistogram = !!newHistogram;
|
|
109
112
|
}
|
|
113
|
+
valueHandler() {
|
|
114
|
+
this.setMinMaxFromValue();
|
|
115
|
+
}
|
|
116
|
+
minMaxValueHandler() {
|
|
117
|
+
this.setValueFromMinMax();
|
|
118
|
+
}
|
|
110
119
|
//--------------------------------------------------------------------------
|
|
111
120
|
//
|
|
112
121
|
// Lifecycle
|
|
113
122
|
//
|
|
114
123
|
//--------------------------------------------------------------------------
|
|
115
124
|
connectedCallback() {
|
|
125
|
+
this.setMinMaxFromValue();
|
|
126
|
+
this.setValueFromMinMax();
|
|
116
127
|
connectLabel(this);
|
|
117
128
|
connectForm(this);
|
|
118
129
|
}
|
|
@@ -122,11 +133,12 @@ export class Slider {
|
|
|
122
133
|
this.removeDragListeners();
|
|
123
134
|
}
|
|
124
135
|
componentWillLoad() {
|
|
125
|
-
this.isRange = !!(this.maxValue || this.maxValue === 0);
|
|
126
136
|
this.tickValues = this.generateTickValues();
|
|
127
|
-
|
|
137
|
+
if (!isRange(this.value)) {
|
|
138
|
+
this.value = this.clamp(this.value);
|
|
139
|
+
}
|
|
128
140
|
afterConnectDefaultValueSet(this, this.value);
|
|
129
|
-
if (this.snap) {
|
|
141
|
+
if (this.snap && !isRange(this.value)) {
|
|
130
142
|
this.value = this.getClosestStep(this.value);
|
|
131
143
|
}
|
|
132
144
|
if (this.histogram) {
|
|
@@ -136,9 +148,9 @@ export class Slider {
|
|
|
136
148
|
componentDidRender() {
|
|
137
149
|
if (this.labelHandles) {
|
|
138
150
|
this.adjustHostObscuredHandleLabel("value");
|
|
139
|
-
if (this.
|
|
151
|
+
if (isRange(this.value)) {
|
|
140
152
|
this.adjustHostObscuredHandleLabel("minValue");
|
|
141
|
-
if (!(this.precise &&
|
|
153
|
+
if (!(this.precise && !this.hasHistogram)) {
|
|
142
154
|
this.hyphenateCollidingRangeHandleLabels();
|
|
143
155
|
}
|
|
144
156
|
}
|
|
@@ -148,23 +160,23 @@ export class Slider {
|
|
|
148
160
|
}
|
|
149
161
|
render() {
|
|
150
162
|
const id = this.el.id || this.guid;
|
|
163
|
+
const maxProp = isRange(this.value) ? "maxValue" : "value";
|
|
164
|
+
const value = isRange(this.value) ? this.maxValue : this.value;
|
|
151
165
|
const min = this.minValue || this.min;
|
|
152
|
-
const max = this.maxValue || this.value;
|
|
153
|
-
const maxProp = this.isRange ? "maxValue" : "value";
|
|
154
|
-
const value = this[maxProp];
|
|
155
166
|
const useMinValue = this.shouldUseMinValue();
|
|
156
167
|
const minInterval = this.getUnitInterval(useMinValue ? this.minValue : min) * 100;
|
|
157
|
-
const maxInterval = this.getUnitInterval(
|
|
168
|
+
const maxInterval = this.getUnitInterval(value) * 100;
|
|
158
169
|
const mirror = this.shouldMirror();
|
|
159
170
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
160
171
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
161
|
-
const
|
|
172
|
+
const valueIsRange = isRange(this.value);
|
|
173
|
+
const handle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
162
174
|
thumb: true,
|
|
163
175
|
"thumb--value": true,
|
|
164
176
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
165
177
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 },
|
|
166
178
|
h("div", { class: "handle" })));
|
|
167
|
-
const labeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label":
|
|
179
|
+
const labeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
168
180
|
thumb: true,
|
|
169
181
|
"thumb--value": true,
|
|
170
182
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
@@ -173,7 +185,7 @@ export class Slider {
|
|
|
173
185
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value static" }, value ? value.toLocaleString() : value),
|
|
174
186
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value transformed" }, value ? value.toLocaleString() : value),
|
|
175
187
|
h("div", { class: "handle" })));
|
|
176
|
-
const histogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label":
|
|
188
|
+
const histogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
177
189
|
thumb: true,
|
|
178
190
|
"thumb--value": true,
|
|
179
191
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
@@ -182,7 +194,7 @@ export class Slider {
|
|
|
182
194
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value" }, value ? value.toLocaleString() : value),
|
|
183
195
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value static" }, value ? value.toLocaleString() : value),
|
|
184
196
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value transformed" }, value ? value.toLocaleString() : value)));
|
|
185
|
-
const preciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label":
|
|
197
|
+
const preciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
186
198
|
thumb: true,
|
|
187
199
|
"thumb--value": true,
|
|
188
200
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
@@ -190,7 +202,7 @@ export class Slider {
|
|
|
190
202
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 },
|
|
191
203
|
h("div", { class: "handle" }),
|
|
192
204
|
h("div", { class: "handle-extension" })));
|
|
193
|
-
const histogramPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label":
|
|
205
|
+
const histogramPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
194
206
|
thumb: true,
|
|
195
207
|
"thumb--value": true,
|
|
196
208
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
@@ -198,7 +210,7 @@ export class Slider {
|
|
|
198
210
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 },
|
|
199
211
|
h("div", { class: "handle-extension" }),
|
|
200
212
|
h("div", { class: "handle" })));
|
|
201
|
-
const labeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label":
|
|
213
|
+
const labeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
202
214
|
thumb: true,
|
|
203
215
|
"thumb--value": true,
|
|
204
216
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
@@ -209,7 +221,7 @@ export class Slider {
|
|
|
209
221
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value transformed" }, value ? value.toLocaleString() : value),
|
|
210
222
|
h("div", { class: "handle" }),
|
|
211
223
|
h("div", { class: "handle-extension" })));
|
|
212
|
-
const histogramLabeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label":
|
|
224
|
+
const histogramLabeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
213
225
|
thumb: true,
|
|
214
226
|
"thumb--value": true,
|
|
215
227
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
@@ -266,7 +278,7 @@ export class Slider {
|
|
|
266
278
|
return (h(Host, { id: id, onTouchStart: this.handleTouchStart },
|
|
267
279
|
h("div", { class: {
|
|
268
280
|
["container"]: true,
|
|
269
|
-
["container--range"]:
|
|
281
|
+
["container--range"]: valueIsRange,
|
|
270
282
|
[`scale--${this.scale}`]: true
|
|
271
283
|
} },
|
|
272
284
|
this.renderGraph(),
|
|
@@ -277,7 +289,7 @@ export class Slider {
|
|
|
277
289
|
} }),
|
|
278
290
|
h("div", { class: "ticks" }, this.tickValues.map((tick) => {
|
|
279
291
|
const tickOffset = `${this.getUnitInterval(tick) * 100}%`;
|
|
280
|
-
let activeTicks = tick >= min && tick <=
|
|
292
|
+
let activeTicks = tick >= min && tick <= value;
|
|
281
293
|
if (useMinValue) {
|
|
282
294
|
activeTicks = tick >= this.minValue && tick <= this.maxValue;
|
|
283
295
|
}
|
|
@@ -290,18 +302,18 @@ export class Slider {
|
|
|
290
302
|
} }, this.renderTickLabel(tick)));
|
|
291
303
|
}))),
|
|
292
304
|
h("div", { class: "thumb-container" },
|
|
293
|
-
!this.precise && !this.labelHandles &&
|
|
305
|
+
!this.precise && !this.labelHandles && valueIsRange && minHandle,
|
|
294
306
|
!this.hasHistogram &&
|
|
295
307
|
!this.precise &&
|
|
296
308
|
this.labelHandles &&
|
|
297
|
-
|
|
309
|
+
valueIsRange &&
|
|
298
310
|
minLabeledHandle,
|
|
299
|
-
this.precise && !this.labelHandles &&
|
|
300
|
-
this.precise && this.labelHandles &&
|
|
311
|
+
this.precise && !this.labelHandles && valueIsRange && minPreciseHandle,
|
|
312
|
+
this.precise && this.labelHandles && valueIsRange && minLabeledPreciseHandle,
|
|
301
313
|
this.hasHistogram &&
|
|
302
314
|
!this.precise &&
|
|
303
315
|
this.labelHandles &&
|
|
304
|
-
|
|
316
|
+
valueIsRange &&
|
|
305
317
|
minHistogramLabeledHandle,
|
|
306
318
|
!this.precise && !this.labelHandles && handle,
|
|
307
319
|
!this.hasHistogram && !this.precise && this.labelHandles && labeledHandle,
|
|
@@ -316,9 +328,10 @@ export class Slider {
|
|
|
316
328
|
h(HiddenFormInputSlot, { component: this })))));
|
|
317
329
|
}
|
|
318
330
|
renderGraph() {
|
|
319
|
-
return this.histogram ? (h("calcite-graph", { class: "graph", colorStops: this.histogramStops, data: this.histogram, highlightMax: this.
|
|
331
|
+
return this.histogram ? (h("calcite-graph", { class: "graph", colorStops: this.histogramStops, data: this.histogram, highlightMax: isRange(this.value) ? this.maxValue : this.value, highlightMin: isRange(this.value) ? this.minValue : this.min, max: this.max, min: this.min })) : null;
|
|
320
332
|
}
|
|
321
333
|
renderTickLabel(tick) {
|
|
334
|
+
const valueIsRange = isRange(this.value);
|
|
322
335
|
const isMinTickLabel = tick === this.min;
|
|
323
336
|
const isMaxTickLabel = tick === this.max;
|
|
324
337
|
const tickLabel = (h("span", { class: {
|
|
@@ -326,26 +339,26 @@ export class Slider {
|
|
|
326
339
|
"tick__label--min": isMinTickLabel,
|
|
327
340
|
"tick__label--max": isMaxTickLabel
|
|
328
341
|
} }, tick.toLocaleString()));
|
|
329
|
-
if (this.labelTicks && !this.hasHistogram && !
|
|
342
|
+
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
330
343
|
return tickLabel;
|
|
331
344
|
}
|
|
332
345
|
if (this.labelTicks &&
|
|
333
346
|
!this.hasHistogram &&
|
|
334
|
-
|
|
347
|
+
valueIsRange &&
|
|
335
348
|
!this.precise &&
|
|
336
349
|
!this.labelHandles) {
|
|
337
350
|
return tickLabel;
|
|
338
351
|
}
|
|
339
352
|
if (this.labelTicks &&
|
|
340
353
|
!this.hasHistogram &&
|
|
341
|
-
|
|
354
|
+
valueIsRange &&
|
|
342
355
|
!this.precise &&
|
|
343
356
|
this.labelHandles) {
|
|
344
357
|
return tickLabel;
|
|
345
358
|
}
|
|
346
359
|
if (this.labelTicks &&
|
|
347
360
|
!this.hasHistogram &&
|
|
348
|
-
|
|
361
|
+
valueIsRange &&
|
|
349
362
|
this.precise &&
|
|
350
363
|
(isMinTickLabel || isMaxTickLabel)) {
|
|
351
364
|
return tickLabel;
|
|
@@ -429,7 +442,7 @@ export class Slider {
|
|
|
429
442
|
const x = event.clientX || event.pageX;
|
|
430
443
|
const position = this.translate(x);
|
|
431
444
|
let prop = "value";
|
|
432
|
-
if (this.
|
|
445
|
+
if (isRange(this.value)) {
|
|
433
446
|
const inRange = position >= this.minValue && position <= this.maxValue;
|
|
434
447
|
if (inRange && this.lastDragProp === "minMaxValue") {
|
|
435
448
|
prop = "minMaxValue";
|
|
@@ -465,6 +478,19 @@ export class Slider {
|
|
|
465
478
|
// Private Methods
|
|
466
479
|
//
|
|
467
480
|
//--------------------------------------------------------------------------
|
|
481
|
+
setValueFromMinMax() {
|
|
482
|
+
const { minValue, maxValue } = this;
|
|
483
|
+
if (typeof minValue === "number" && typeof maxValue === "number") {
|
|
484
|
+
this.value = [minValue, maxValue];
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
setMinMaxFromValue() {
|
|
488
|
+
const { value } = this;
|
|
489
|
+
if (isRange(value)) {
|
|
490
|
+
this.minValue = value[0];
|
|
491
|
+
this.maxValue = value[1];
|
|
492
|
+
}
|
|
493
|
+
}
|
|
468
494
|
onLabelClick() {
|
|
469
495
|
this.setFocus();
|
|
470
496
|
}
|
|
@@ -472,7 +498,7 @@ export class Slider {
|
|
|
472
498
|
return this.mirrored && !this.hasHistogram;
|
|
473
499
|
}
|
|
474
500
|
shouldUseMinValue() {
|
|
475
|
-
if (!this.
|
|
501
|
+
if (!isRange(this.value)) {
|
|
476
502
|
return false;
|
|
477
503
|
}
|
|
478
504
|
return ((this.hasHistogram && this.maxValue === 0) || (!this.hasHistogram && this.minValue === 0));
|
|
@@ -687,19 +713,20 @@ export class Slider {
|
|
|
687
713
|
* Hides bounding tick labels that are obscured by either handle.
|
|
688
714
|
*/
|
|
689
715
|
hideObscuredBoundingTickLabels() {
|
|
690
|
-
|
|
716
|
+
const valueIsRange = isRange(this.value);
|
|
717
|
+
if (!this.hasHistogram && !valueIsRange && !this.labelHandles && !this.precise) {
|
|
691
718
|
return;
|
|
692
719
|
}
|
|
693
|
-
if (!this.hasHistogram && !
|
|
720
|
+
if (!this.hasHistogram && !valueIsRange && this.labelHandles && !this.precise) {
|
|
694
721
|
return;
|
|
695
722
|
}
|
|
696
|
-
if (!this.hasHistogram && !
|
|
723
|
+
if (!this.hasHistogram && !valueIsRange && !this.labelHandles && this.precise) {
|
|
697
724
|
return;
|
|
698
725
|
}
|
|
699
|
-
if (!this.hasHistogram && !
|
|
726
|
+
if (!this.hasHistogram && !valueIsRange && this.labelHandles && this.precise) {
|
|
700
727
|
return;
|
|
701
728
|
}
|
|
702
|
-
if (!this.hasHistogram &&
|
|
729
|
+
if (!this.hasHistogram && valueIsRange && !this.precise) {
|
|
703
730
|
return;
|
|
704
731
|
}
|
|
705
732
|
if (this.hasHistogram && !this.precise && !this.labelHandles) {
|
|
@@ -1147,8 +1174,8 @@ export class Slider {
|
|
|
1147
1174
|
"type": "number",
|
|
1148
1175
|
"mutable": true,
|
|
1149
1176
|
"complexType": {
|
|
1150
|
-
"original": "null | number",
|
|
1151
|
-
"resolved": "number",
|
|
1177
|
+
"original": "null | number | number[]",
|
|
1178
|
+
"resolved": "number | number[]",
|
|
1152
1179
|
"references": {}
|
|
1153
1180
|
},
|
|
1154
1181
|
"required": false,
|
|
@@ -1159,7 +1186,7 @@ export class Slider {
|
|
|
1159
1186
|
},
|
|
1160
1187
|
"attribute": "value",
|
|
1161
1188
|
"reflect": true,
|
|
1162
|
-
"defaultValue": "
|
|
1189
|
+
"defaultValue": "0"
|
|
1163
1190
|
},
|
|
1164
1191
|
"scale": {
|
|
1165
1192
|
"type": "string",
|
|
@@ -1263,6 +1290,15 @@ export class Slider {
|
|
|
1263
1290
|
static get watchers() { return [{
|
|
1264
1291
|
"propName": "histogram",
|
|
1265
1292
|
"methodName": "histogramWatcher"
|
|
1293
|
+
}, {
|
|
1294
|
+
"propName": "value",
|
|
1295
|
+
"methodName": "valueHandler"
|
|
1296
|
+
}, {
|
|
1297
|
+
"propName": "minValue",
|
|
1298
|
+
"methodName": "minMaxValueHandler"
|
|
1299
|
+
}, {
|
|
1300
|
+
"propName": "maxValue",
|
|
1301
|
+
"methodName": "minMaxValueHandler"
|
|
1266
1302
|
}]; }
|
|
1267
1303
|
static get listeners() { return [{
|
|
1268
1304
|
"name": "keydown",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
+
* v1.0.0-beta.81
|
|
4
5
|
*/
|
|
5
6
|
import Sortable from "sortablejs";
|
|
6
7
|
import { Component, Element, Event, Listen, Prop, State, h } from "@stencil/core";
|