@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,14 +1,15 @@
|
|
|
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
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
6
|
-
import { f as focusElement, b as getThemeName } from './dom-
|
|
7
|
-
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex,
|
|
8
|
-
import { c as clamp } from './math-
|
|
9
|
-
import { u as updateHostInteraction } from './interactive-
|
|
10
|
-
import { d as debounce, i as isObject } from './debounce-
|
|
11
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-221092de.js';
|
|
7
|
+
import { a as getElementDir, f as focusElement, b as getThemeName } from './dom-0dcd3a1e.js';
|
|
8
|
+
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-79203b5b.js';
|
|
9
|
+
import { c as clamp } from './math-4cd9449e.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-b11a6c05.js';
|
|
11
|
+
import { d as debounce, i as isObject } from './debounce-f689f579.js';
|
|
12
|
+
import './guid-174508ff.js';
|
|
12
13
|
|
|
13
14
|
/** Error message constants. */
|
|
14
15
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -1717,7 +1718,6 @@ models.forEach(fromModel => {
|
|
|
1717
1718
|
});
|
|
1718
1719
|
var colorConvert = convert;
|
|
1719
1720
|
|
|
1720
|
-
const _slice = [].slice;
|
|
1721
1721
|
const skippedModels = [// To be honest, I don't really feel like keyword belongs in color convert, but eh.
|
|
1722
1722
|
'keyword', // Gray conflicts with some method names, and has its own method defined.
|
|
1723
1723
|
'gray', // Shouldn't really be in color-convert either...
|
|
@@ -1725,7 +1725,7 @@ const skippedModels = [// To be honest, I don't really feel like keyword belongs
|
|
|
1725
1725
|
const hashedModelKeys = {};
|
|
1726
1726
|
|
|
1727
1727
|
for (const model of Object.keys(colorConvert)) {
|
|
1728
|
-
hashedModelKeys[
|
|
1728
|
+
hashedModelKeys[[...colorConvert[model].labels].sort().join('')] = model;
|
|
1729
1729
|
}
|
|
1730
1730
|
|
|
1731
1731
|
const limiters = {};
|
|
@@ -1753,7 +1753,7 @@ function Color(object, model) {
|
|
|
1753
1753
|
this.valpha = 1;
|
|
1754
1754
|
} else if (object instanceof Color) {
|
|
1755
1755
|
this.model = object.model;
|
|
1756
|
-
this.color = object.color
|
|
1756
|
+
this.color = [...object.color];
|
|
1757
1757
|
this.valpha = object.valpha;
|
|
1758
1758
|
} else if (typeof object === 'string') {
|
|
1759
1759
|
const result = colorString.get(object);
|
|
@@ -1769,9 +1769,7 @@ function Color(object, model) {
|
|
|
1769
1769
|
} else if (object.length > 0) {
|
|
1770
1770
|
this.model = model || 'rgb';
|
|
1771
1771
|
channels = colorConvert[this.model].channels;
|
|
1772
|
-
|
|
1773
|
-
const newArray = _slice.call(object, 0, channels);
|
|
1774
|
-
|
|
1772
|
+
const newArray = Array.prototype.slice.call(object, 0, channels);
|
|
1775
1773
|
this.color = zeroArray(newArray, channels);
|
|
1776
1774
|
this.valpha = typeof object[channels] === 'number' ? object[channels] : 1;
|
|
1777
1775
|
} else if (typeof object === 'number') {
|
|
@@ -1795,7 +1793,9 @@ function Color(object, model) {
|
|
|
1795
1793
|
}
|
|
1796
1794
|
|
|
1797
1795
|
this.model = hashedModelKeys[hashedKeys];
|
|
1798
|
-
const
|
|
1796
|
+
const {
|
|
1797
|
+
labels
|
|
1798
|
+
} = colorConvert[this.model];
|
|
1799
1799
|
const color = [];
|
|
1800
1800
|
|
|
1801
1801
|
for (i = 0; i < labels.length; i++) {
|
|
@@ -1837,24 +1837,28 @@ Color.prototype = {
|
|
|
1837
1837
|
string(places) {
|
|
1838
1838
|
let self = this.model in colorString.to ? this : this.rgb();
|
|
1839
1839
|
self = self.round(typeof places === 'number' ? places : 1);
|
|
1840
|
-
const args = self.valpha === 1 ? self.color : self.color
|
|
1840
|
+
const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
|
|
1841
1841
|
return colorString.to[self.model](args);
|
|
1842
1842
|
},
|
|
1843
1843
|
|
|
1844
1844
|
percentString(places) {
|
|
1845
1845
|
const self = this.rgb().round(typeof places === 'number' ? places : 1);
|
|
1846
|
-
const args = self.valpha === 1 ? self.color : self.color
|
|
1846
|
+
const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
|
|
1847
1847
|
return colorString.to.rgb.percent(args);
|
|
1848
1848
|
},
|
|
1849
1849
|
|
|
1850
1850
|
array() {
|
|
1851
|
-
return this.valpha === 1 ? this.color
|
|
1851
|
+
return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];
|
|
1852
1852
|
},
|
|
1853
1853
|
|
|
1854
1854
|
object() {
|
|
1855
1855
|
const result = {};
|
|
1856
|
-
const
|
|
1857
|
-
|
|
1856
|
+
const {
|
|
1857
|
+
channels
|
|
1858
|
+
} = colorConvert[this.model];
|
|
1859
|
+
const {
|
|
1860
|
+
labels
|
|
1861
|
+
} = colorConvert[this.model];
|
|
1858
1862
|
|
|
1859
1863
|
for (let i = 0; i < channels; i++) {
|
|
1860
1864
|
result[labels[i]] = this.color[i];
|
|
@@ -1895,12 +1899,12 @@ Color.prototype = {
|
|
|
1895
1899
|
|
|
1896
1900
|
round(places) {
|
|
1897
1901
|
places = Math.max(places || 0, 0);
|
|
1898
|
-
return new Color(this.color.map(roundToPlace(places))
|
|
1902
|
+
return new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);
|
|
1899
1903
|
},
|
|
1900
1904
|
|
|
1901
1905
|
alpha(value) {
|
|
1902
|
-
if (
|
|
1903
|
-
return new Color(this.color
|
|
1906
|
+
if (value !== undefined) {
|
|
1907
|
+
return new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);
|
|
1904
1908
|
}
|
|
1905
1909
|
|
|
1906
1910
|
return this.valpha;
|
|
@@ -1923,15 +1927,15 @@ Color.prototype = {
|
|
|
1923
1927
|
magenta: getset('cmyk', 1, maxfn(100)),
|
|
1924
1928
|
yellow: getset('cmyk', 2, maxfn(100)),
|
|
1925
1929
|
black: getset('cmyk', 3, maxfn(100)),
|
|
1926
|
-
x: getset('xyz', 0, maxfn(
|
|
1930
|
+
x: getset('xyz', 0, maxfn(95.047)),
|
|
1927
1931
|
y: getset('xyz', 1, maxfn(100)),
|
|
1928
|
-
z: getset('xyz', 2, maxfn(
|
|
1932
|
+
z: getset('xyz', 2, maxfn(108.833)),
|
|
1929
1933
|
l: getset('lab', 0, maxfn(100)),
|
|
1930
1934
|
a: getset('lab', 1),
|
|
1931
1935
|
b: getset('lab', 2),
|
|
1932
1936
|
|
|
1933
1937
|
keyword(value) {
|
|
1934
|
-
if (
|
|
1938
|
+
if (value !== undefined) {
|
|
1935
1939
|
return new Color(value);
|
|
1936
1940
|
}
|
|
1937
1941
|
|
|
@@ -1939,7 +1943,7 @@ Color.prototype = {
|
|
|
1939
1943
|
},
|
|
1940
1944
|
|
|
1941
1945
|
hex(value) {
|
|
1942
|
-
if (
|
|
1946
|
+
if (value !== undefined) {
|
|
1943
1947
|
return new Color(value);
|
|
1944
1948
|
}
|
|
1945
1949
|
|
|
@@ -1947,7 +1951,7 @@ Color.prototype = {
|
|
|
1947
1951
|
},
|
|
1948
1952
|
|
|
1949
1953
|
hexa(value) {
|
|
1950
|
-
if (
|
|
1954
|
+
if (value !== undefined) {
|
|
1951
1955
|
return new Color(value);
|
|
1952
1956
|
}
|
|
1953
1957
|
|
|
@@ -1973,7 +1977,7 @@ Color.prototype = {
|
|
|
1973
1977
|
|
|
1974
1978
|
for (const [i, element] of rgb.entries()) {
|
|
1975
1979
|
const chan = element / 255;
|
|
1976
|
-
lum[i] = chan <= 0.
|
|
1980
|
+
lum[i] = chan <= 0.04045 ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;
|
|
1977
1981
|
}
|
|
1978
1982
|
|
|
1979
1983
|
return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];
|
|
@@ -1992,9 +1996,10 @@ Color.prototype = {
|
|
|
1992
1996
|
},
|
|
1993
1997
|
|
|
1994
1998
|
level(color2) {
|
|
1999
|
+
// https://www.w3.org/TR/WCAG/#contrast-enhanced
|
|
1995
2000
|
const contrastRatio = this.contrast(color2);
|
|
1996
2001
|
|
|
1997
|
-
if (contrastRatio >= 7
|
|
2002
|
+
if (contrastRatio >= 7) {
|
|
1998
2003
|
return 'AAA';
|
|
1999
2004
|
}
|
|
2000
2005
|
|
|
@@ -2004,7 +2009,7 @@ Color.prototype = {
|
|
|
2004
2009
|
isDark() {
|
|
2005
2010
|
// YIQ equation from http://24ways.org/2010/calculating-color-contrast
|
|
2006
2011
|
const rgb = this.rgb().color;
|
|
2007
|
-
const yiq = (rgb[0] *
|
|
2012
|
+
const yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;
|
|
2008
2013
|
return yiq < 128;
|
|
2009
2014
|
},
|
|
2010
2015
|
|
|
@@ -2106,25 +2111,28 @@ for (const model of Object.keys(colorConvert)) {
|
|
|
2106
2111
|
continue;
|
|
2107
2112
|
}
|
|
2108
2113
|
|
|
2109
|
-
const
|
|
2114
|
+
const {
|
|
2115
|
+
channels
|
|
2116
|
+
} = colorConvert[model]; // Conversion methods
|
|
2110
2117
|
|
|
2111
|
-
Color.prototype[model] = function () {
|
|
2118
|
+
Color.prototype[model] = function (...args) {
|
|
2112
2119
|
if (this.model === model) {
|
|
2113
2120
|
return new Color(this);
|
|
2114
2121
|
}
|
|
2115
2122
|
|
|
2116
|
-
if (
|
|
2117
|
-
return new Color(
|
|
2123
|
+
if (args.length > 0) {
|
|
2124
|
+
return new Color(args, model);
|
|
2118
2125
|
}
|
|
2119
2126
|
|
|
2120
|
-
|
|
2121
|
-
return new Color(assertArray(colorConvert[this.model][model].raw(this.color)).concat(newAlpha), model);
|
|
2127
|
+
return new Color([...assertArray(colorConvert[this.model][model].raw(this.color)), this.valpha], model);
|
|
2122
2128
|
}; // 'static' construction methods
|
|
2123
2129
|
|
|
2124
2130
|
|
|
2125
|
-
Color[model] = function (
|
|
2131
|
+
Color[model] = function (...args) {
|
|
2132
|
+
let color = args[0];
|
|
2133
|
+
|
|
2126
2134
|
if (typeof color === 'number') {
|
|
2127
|
-
color = zeroArray(
|
|
2135
|
+
color = zeroArray(args, channels);
|
|
2128
2136
|
}
|
|
2129
2137
|
|
|
2130
2138
|
return new Color(color, model);
|
|
@@ -2152,7 +2160,7 @@ function getset(model, channel, modifier) {
|
|
|
2152
2160
|
return function (value) {
|
|
2153
2161
|
let result;
|
|
2154
2162
|
|
|
2155
|
-
if (
|
|
2163
|
+
if (value !== undefined) {
|
|
2156
2164
|
if (modifier) {
|
|
2157
2165
|
value = modifier(value);
|
|
2158
2166
|
}
|
|
@@ -2692,9 +2700,12 @@ const ColorPicker = class {
|
|
|
2692
2700
|
const channelAriaLabels = isRgb
|
|
2693
2701
|
? [intlRed, intlGreen, intlBlue]
|
|
2694
2702
|
: [intlHue, intlSaturation, intlValue];
|
|
2695
|
-
|
|
2703
|
+
const direction = getElementDir(this.el);
|
|
2704
|
+
return (h("calcite-tab", { active: active, class: CSS$2.control, key: channelMode }, h("div", { class: CSS$2.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
2705
|
+
/* the channel container is ltr, so we apply the host's direction */
|
|
2706
|
+
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
2696
2707
|
};
|
|
2697
|
-
this.renderChannel = (value, index, label, ariaLabel) => (h("calcite-input", { class: CSS$2.channel, "data-channel-index": index, label: ariaLabel, numberButtonType: "none", onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
|
|
2708
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$2.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
|
|
2698
2709
|
this.deleteColor = () => {
|
|
2699
2710
|
const colorToDelete = this.color.hex();
|
|
2700
2711
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -2749,14 +2760,10 @@ const ColorPicker = class {
|
|
|
2749
2760
|
this.drawColorFieldAndSlider();
|
|
2750
2761
|
this.updateChannelsFromColor(color);
|
|
2751
2762
|
this.previousColor = oldColor;
|
|
2752
|
-
if (this.internalColorUpdateContext) {
|
|
2753
|
-
return;
|
|
2754
|
-
}
|
|
2755
|
-
this.value = this.toValue(color);
|
|
2756
2763
|
}
|
|
2757
2764
|
handleFormatChange(format) {
|
|
2758
2765
|
this.setMode(format);
|
|
2759
|
-
this.
|
|
2766
|
+
this.internalColorSet(this.color, false, "internal");
|
|
2760
2767
|
}
|
|
2761
2768
|
handleScaleChange(scale = "m") {
|
|
2762
2769
|
this.updateDimensions(scale);
|
|
@@ -2776,10 +2783,10 @@ const ColorPicker = class {
|
|
|
2776
2783
|
this.setMode(nextMode);
|
|
2777
2784
|
}
|
|
2778
2785
|
const dragging = this.sliderThumbState === "drag" || this.hueThumbState === "drag";
|
|
2779
|
-
if (this.internalColorUpdateContext) {
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2786
|
+
if (this.internalColorUpdateContext === "initial") {
|
|
2787
|
+
return;
|
|
2788
|
+
}
|
|
2789
|
+
if (this.internalColorUpdateContext === "user-interaction") {
|
|
2783
2790
|
this.calciteColorPickerInput.emit();
|
|
2784
2791
|
if (!dragging) {
|
|
2785
2792
|
this.calciteColorPickerChange.emit();
|
|
@@ -2789,11 +2796,7 @@ const ColorPicker = class {
|
|
|
2789
2796
|
const color$1 = allowEmpty && !value ? null : color(value);
|
|
2790
2797
|
const colorChanged = !colorEqual(color$1, this.color);
|
|
2791
2798
|
if (modeChanged || colorChanged) {
|
|
2792
|
-
this.color
|
|
2793
|
-
this.calciteColorPickerInput.emit();
|
|
2794
|
-
if (!dragging) {
|
|
2795
|
-
this.calciteColorPickerChange.emit();
|
|
2796
|
-
}
|
|
2799
|
+
this.internalColorSet(color$1, true, "internal");
|
|
2797
2800
|
}
|
|
2798
2801
|
}
|
|
2799
2802
|
//--------------------------------------------------------------------------
|
|
@@ -2922,7 +2925,7 @@ const ColorPicker = class {
|
|
|
2922
2925
|
}
|
|
2923
2926
|
return "none";
|
|
2924
2927
|
}
|
|
2925
|
-
internalColorSet(color, skipEqual = true, context = "
|
|
2928
|
+
internalColorSet(color, skipEqual = true, context = "user-interaction") {
|
|
2926
2929
|
if (skipEqual && colorEqual(color, this.color)) {
|
|
2927
2930
|
return;
|
|
2928
2931
|
}
|
|
@@ -3128,32 +3131,13 @@ const ColorPickerHexInput = class {
|
|
|
3128
3131
|
: this.formatForInternalInput(rgbToHex(this.internalColor.object()));
|
|
3129
3132
|
};
|
|
3130
3133
|
this.onInputChange = () => {
|
|
3131
|
-
|
|
3132
|
-
let value;
|
|
3133
|
-
if (inputValue) {
|
|
3134
|
-
const hex = inputValue;
|
|
3135
|
-
const color = hexToRGB(`#${hex}`);
|
|
3136
|
-
if (!color) {
|
|
3137
|
-
return;
|
|
3138
|
-
}
|
|
3139
|
-
value = normalizeHex(hex);
|
|
3140
|
-
}
|
|
3141
|
-
else if (this.allowEmpty) {
|
|
3142
|
-
value = null;
|
|
3143
|
-
}
|
|
3144
|
-
this.value = value;
|
|
3145
|
-
this.calciteColorPickerHexInputChange.emit();
|
|
3134
|
+
this.internalSetValue(this.inputNode.value, this.value);
|
|
3146
3135
|
};
|
|
3147
3136
|
/**
|
|
3148
3137
|
* The last valid/selected color. Used as a fallback if an invalid hex code is entered.
|
|
3149
3138
|
*/
|
|
3150
3139
|
this.internalColor = DEFAULT_COLOR;
|
|
3151
3140
|
this.previousNonNullValue = this.value;
|
|
3152
|
-
//--------------------------------------------------------------------------
|
|
3153
|
-
//
|
|
3154
|
-
// Private Methods
|
|
3155
|
-
//
|
|
3156
|
-
//--------------------------------------------------------------------------
|
|
3157
3141
|
this.storeInputRef = (node) => {
|
|
3158
3142
|
this.inputNode = node;
|
|
3159
3143
|
};
|
|
@@ -3168,38 +3152,16 @@ const ColorPickerHexInput = class {
|
|
|
3168
3152
|
if (value) {
|
|
3169
3153
|
const normalized = normalizeHex(value);
|
|
3170
3154
|
if (isValidHex(normalized)) {
|
|
3171
|
-
this.
|
|
3172
|
-
this.value = normalized;
|
|
3155
|
+
this.internalSetValue(normalized, normalized, false);
|
|
3173
3156
|
}
|
|
3174
3157
|
return;
|
|
3175
3158
|
}
|
|
3176
3159
|
if (allowEmpty) {
|
|
3177
|
-
this.
|
|
3178
|
-
this.value = null;
|
|
3160
|
+
this.internalSetValue(null, null, false);
|
|
3179
3161
|
}
|
|
3180
3162
|
}
|
|
3181
3163
|
handleValueChange(value, oldValue) {
|
|
3182
|
-
|
|
3183
|
-
const normalized = normalizeHex(value);
|
|
3184
|
-
if (isValidHex(normalized)) {
|
|
3185
|
-
const { internalColor } = this;
|
|
3186
|
-
const changed = !internalColor || normalized !== normalizeHex(internalColor.hex());
|
|
3187
|
-
this.internalColor = color(normalized);
|
|
3188
|
-
this.previousNonNullValue = normalized;
|
|
3189
|
-
this.value = normalized;
|
|
3190
|
-
if (changed) {
|
|
3191
|
-
this.calciteColorPickerHexInputChange.emit();
|
|
3192
|
-
}
|
|
3193
|
-
return;
|
|
3194
|
-
}
|
|
3195
|
-
}
|
|
3196
|
-
else if (this.allowEmpty) {
|
|
3197
|
-
this.internalColor = null;
|
|
3198
|
-
this.value = null;
|
|
3199
|
-
this.calciteColorPickerHexInputChange.emit();
|
|
3200
|
-
return;
|
|
3201
|
-
}
|
|
3202
|
-
this.value = oldValue;
|
|
3164
|
+
this.internalSetValue(value, oldValue, false);
|
|
3203
3165
|
}
|
|
3204
3166
|
// using @Listen as a workaround for VDOM listener not firing
|
|
3205
3167
|
onInputKeyDown(event) {
|
|
@@ -3211,15 +3173,16 @@ const ColorPickerHexInput = class {
|
|
|
3211
3173
|
return;
|
|
3212
3174
|
}
|
|
3213
3175
|
const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
|
|
3176
|
+
const oldValue = this.value;
|
|
3214
3177
|
if (isNudgeKey) {
|
|
3215
3178
|
if (!value) {
|
|
3216
|
-
this.
|
|
3179
|
+
this.internalSetValue(this.previousNonNullValue, oldValue);
|
|
3217
3180
|
event.preventDefault();
|
|
3218
3181
|
return;
|
|
3219
3182
|
}
|
|
3220
3183
|
const direction = key === "ArrowUp" ? 1 : -1;
|
|
3221
3184
|
const bump = shiftKey ? 10 : 1;
|
|
3222
|
-
this.
|
|
3185
|
+
this.internalSetValue(normalizeHex(this.nudgeRGBChannels(internalColor, bump * direction).hex()), oldValue);
|
|
3223
3186
|
event.preventDefault();
|
|
3224
3187
|
return;
|
|
3225
3188
|
}
|
|
@@ -3249,6 +3212,36 @@ const ColorPickerHexInput = class {
|
|
|
3249
3212
|
async setFocus() {
|
|
3250
3213
|
focusElement(this.inputNode);
|
|
3251
3214
|
}
|
|
3215
|
+
//--------------------------------------------------------------------------
|
|
3216
|
+
//
|
|
3217
|
+
// Private Methods
|
|
3218
|
+
//
|
|
3219
|
+
//--------------------------------------------------------------------------
|
|
3220
|
+
internalSetValue(value, oldValue, emit = true) {
|
|
3221
|
+
if (value) {
|
|
3222
|
+
const normalized = normalizeHex(value);
|
|
3223
|
+
if (isValidHex(normalized)) {
|
|
3224
|
+
const { internalColor } = this;
|
|
3225
|
+
const changed = !internalColor || normalized !== normalizeHex(internalColor.hex());
|
|
3226
|
+
this.internalColor = color(normalized);
|
|
3227
|
+
this.previousNonNullValue = normalized;
|
|
3228
|
+
this.value = normalized;
|
|
3229
|
+
if (changed && emit) {
|
|
3230
|
+
this.calciteColorPickerHexInputChange.emit();
|
|
3231
|
+
}
|
|
3232
|
+
return;
|
|
3233
|
+
}
|
|
3234
|
+
}
|
|
3235
|
+
else if (this.allowEmpty) {
|
|
3236
|
+
this.internalColor = null;
|
|
3237
|
+
this.value = null;
|
|
3238
|
+
if (emit) {
|
|
3239
|
+
this.calciteColorPickerHexInputChange.emit();
|
|
3240
|
+
}
|
|
3241
|
+
return;
|
|
3242
|
+
}
|
|
3243
|
+
this.value = oldValue;
|
|
3244
|
+
}
|
|
3252
3245
|
formatForInternalInput(hex) {
|
|
3253
3246
|
return hex ? hex.replace("#", "") : "";
|
|
3254
3247
|
}
|