@esri/calcite-components 1.4.0-next.5 → 1.4.0-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-4f5e6c21.js → p-010e90fc.js} +1 -1
- package/dist/calcite/{p-4ba85479.entry.js → p-022b463d.entry.js} +2 -2
- package/dist/calcite/{p-ef5d7b3e.js → p-040b0aac.js} +1 -1
- package/dist/calcite/p-049bc3c1.entry.js +6 -0
- package/dist/calcite/p-07f56efe.entry.js +6 -0
- package/dist/calcite/{p-8da41040.js → p-08b9b673.js} +1 -1
- package/dist/calcite/{p-c317fcde.entry.js → p-0a9a5b0f.entry.js} +2 -2
- package/dist/calcite/p-0b8cadf4.entry.js +6 -0
- package/dist/calcite/{p-5635a90f.entry.js → p-0d2823c2.entry.js} +2 -2
- package/dist/calcite/{p-6a4f4075.entry.js → p-0ec4ccbd.entry.js} +2 -2
- package/dist/calcite/{p-8bad2ca2.entry.js → p-0fa679c7.entry.js} +2 -2
- package/dist/calcite/{p-6f142c94.entry.js → p-0fc95de5.entry.js} +2 -2
- package/dist/calcite/{p-007591b0.entry.js → p-138e015a.entry.js} +2 -2
- package/dist/calcite/p-167e256a.entry.js +6 -0
- package/dist/calcite/{p-de962734.entry.js → p-18d60b13.entry.js} +2 -2
- package/dist/calcite/{p-2ea3e0f8.entry.js → p-1a34083a.entry.js} +2 -2
- package/dist/calcite/{p-845f7224.entry.js → p-1b10ccc2.entry.js} +2 -2
- package/dist/calcite/p-1c72c9ec.entry.js +6 -0
- package/dist/calcite/{p-08729579.js → p-1d2b5776.js} +2 -2
- package/dist/calcite/{p-5aae4da6.entry.js → p-23292162.entry.js} +2 -2
- package/dist/calcite/{p-4d2c5072.entry.js → p-26a14afd.entry.js} +2 -2
- package/dist/calcite/{p-07511c24.js → p-285f16a5.js} +1 -1
- package/dist/calcite/{p-9e5ecd8f.entry.js → p-28615250.entry.js} +2 -2
- package/dist/calcite/{p-28a2dd16.entry.js → p-2a3a2add.entry.js} +2 -2
- package/dist/calcite/{p-2d58ccf9.entry.js → p-3057efa7.entry.js} +2 -2
- package/dist/calcite/{p-0e16a6f5.entry.js → p-31ec39d7.entry.js} +2 -2
- package/dist/calcite/{p-3bc58ca6.js → p-33886fed.js} +1 -1
- package/dist/calcite/p-3401a9d5.js +6 -0
- package/dist/calcite/{p-a5d7eac9.entry.js → p-3e1547ee.entry.js} +2 -2
- package/dist/calcite/p-40e30e60.entry.js +6 -0
- package/dist/calcite/{p-4dad7876.entry.js → p-4782f04e.entry.js} +2 -2
- package/dist/calcite/{p-390024af.entry.js → p-489e3960.entry.js} +2 -2
- package/dist/calcite/{p-3967a41b.entry.js → p-498f4e75.entry.js} +2 -2
- package/dist/calcite/p-4ca219cb.js +6 -0
- package/dist/calcite/{p-d46471f4.js → p-4ce3f0cc.js} +2 -2
- package/dist/calcite/{p-ad8ccffe.entry.js → p-51d0f35f.entry.js} +2 -2
- package/dist/calcite/{p-f8548479.entry.js → p-53d77573.entry.js} +2 -2
- package/dist/calcite/{p-da6cd4a3.entry.js → p-546047ac.entry.js} +2 -2
- package/dist/calcite/{p-bfb669c3.entry.js → p-55c6d5ef.entry.js} +2 -2
- package/dist/calcite/{p-90ac4488.js → p-56f76acb.js} +2 -2
- package/dist/calcite/{p-fb70cd21.entry.js → p-599c21a0.entry.js} +2 -2
- package/dist/calcite/{p-fffffb02.entry.js → p-5b473563.entry.js} +2 -2
- package/dist/calcite/p-5bae27a0.entry.js +6 -0
- package/dist/calcite/{p-afff3fca.entry.js → p-5d215531.entry.js} +2 -2
- package/dist/calcite/p-61e10cd6.js +6 -0
- package/dist/calcite/{p-e4e2ef16.entry.js → p-6430ae01.entry.js} +2 -2
- package/dist/calcite/{p-66974d66.js → p-64f6ce40.js} +1 -1
- package/dist/calcite/{p-b95ea253.entry.js → p-6642106e.entry.js} +2 -2
- package/dist/calcite/{p-bbe1dcd7.js → p-6736a1c8.js} +2 -2
- package/dist/calcite/{p-6cb562d2.js → p-6c0bfe2b.js} +1 -1
- package/dist/calcite/p-70cbe824.entry.js +6 -0
- package/dist/calcite/p-7272e447.entry.js +6 -0
- package/dist/calcite/{p-fa7cbd28.entry.js → p-72855c96.entry.js} +2 -2
- package/dist/calcite/{p-6162eb45.entry.js → p-74e68a45.entry.js} +2 -2
- package/dist/calcite/{p-3662475d.js → p-7620a6dc.js} +3 -3
- package/dist/calcite/{p-1990923c.entry.js → p-7f36e577.entry.js} +2 -2
- package/dist/calcite/{p-192eac45.js → p-8110a0aa.js} +1 -1
- package/dist/calcite/{p-90d6c7e7.entry.js → p-81ce6424.entry.js} +2 -2
- package/dist/calcite/{p-2f4db746.js → p-88150a71.js} +1 -1
- package/dist/calcite/{p-28d3450f.entry.js → p-898bcdc5.entry.js} +2 -2
- package/dist/calcite/{p-63044193.entry.js → p-8c344e6d.entry.js} +2 -2
- package/dist/calcite/{p-73115945.entry.js → p-9547760d.entry.js} +2 -2
- package/dist/calcite/{p-bcbbb815.entry.js → p-9590cf67.entry.js} +2 -2
- package/dist/calcite/{p-8930657f.js → p-9de2c114.js} +2 -2
- package/dist/calcite/{p-d7a5eecc.js → p-9f23571b.js} +2 -2
- package/dist/calcite/{p-91588dca.entry.js → p-a01669a2.entry.js} +2 -2
- package/dist/calcite/{p-d21cc90e.js → p-a0de8dfd.js} +2 -2
- package/dist/calcite/{p-1b457129.entry.js → p-a4a4af85.entry.js} +2 -2
- package/dist/calcite/{p-fc629722.js → p-a4d220af.js} +1 -1
- package/dist/calcite/{p-65e3cea1.js → p-a7ea5e08.js} +1 -1
- package/dist/calcite/{p-e733a25c.js → p-ac7ab3bc.js} +1 -1
- package/dist/calcite/{p-3109bb3b.entry.js → p-b30818cc.entry.js} +2 -2
- package/dist/calcite/{p-b369bc51.entry.js → p-b4cf4fb1.entry.js} +2 -2
- package/dist/calcite/{p-8a9cd7b3.entry.js → p-b9ea3e0b.entry.js} +2 -2
- package/dist/calcite/p-bbdbf9c0.entry.js +6 -0
- package/dist/calcite/{p-f0068a81.js → p-bd22a68d.js} +2 -2
- package/dist/calcite/p-be9d3f6c.js +6 -0
- package/dist/calcite/{p-77272332.entry.js → p-c419c802.entry.js} +2 -2
- package/dist/calcite/{p-3e7998b2.entry.js → p-c618c39c.entry.js} +2 -2
- package/dist/calcite/p-cbaa4869.entry.js +6 -0
- package/dist/calcite/{p-f584280e.entry.js → p-cce18d43.entry.js} +2 -2
- package/dist/calcite/{p-d483fd2b.js → p-d0ce0619.js} +1 -1
- package/dist/calcite/{p-7c541e4a.js → p-d2c4f9fa.js} +2 -2
- package/dist/calcite/{p-e7f26d13.entry.js → p-d6141ae1.entry.js} +2 -2
- package/dist/calcite/{p-9deaa925.entry.js → p-d6bd6b2f.entry.js} +2 -2
- package/dist/calcite/{p-6de0b90c.js → p-de4a323b.js} +2 -2
- package/dist/calcite/{p-46c91095.js → p-deb7e311.js} +2 -2
- package/dist/calcite/p-e0a8dce0.entry.js +6 -0
- package/dist/calcite/{p-69688697.entry.js → p-e0f5bda5.entry.js} +2 -2
- package/dist/calcite/{p-2e559754.entry.js → p-e1da1d05.entry.js} +2 -2
- package/dist/calcite/{p-15999e7b.js → p-e2329cc3.js} +2 -2
- package/dist/calcite/{p-bd470121.js → p-ee1c4ef3.js} +1 -1
- package/dist/calcite/{p-d748e9af.entry.js → p-eee7ca58.entry.js} +2 -2
- package/dist/calcite/p-f025faa7.js +6 -0
- package/dist/calcite/{p-338bd804.js → p-f3646d69.js} +1 -1
- package/dist/calcite/{p-e5976c70.js → p-ff342ff3.js} +1 -1
- package/dist/cjs/{ExpandToggle-9ace1f7f.js → ExpandToggle-843202ab.js} +5 -5
- package/dist/cjs/{FloatingArrow-601ed84e.js → FloatingArrow-63ebb862.js} +2 -2
- package/dist/cjs/{Heading-3a3631f9.js → Heading-52698bda.js} +2 -2
- package/dist/cjs/{app-globals-096a1b41.js → app-globals-a5281951.js} +2 -2
- package/dist/cjs/{array-86ab4108.js → array-7cb19871.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +585 -339
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +50 -40
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-c2a90b43.js → composed-offset-position.esm-32cef964.js} +1 -1
- package/dist/cjs/{conditionalSlot-88fb38cc.js → conditionalSlot-a36ded86.js} +3 -3
- package/dist/cjs/{debounce-16574b24.js → debounce-b3ebca79.js} +1 -1
- package/dist/cjs/{dom-ecacd5bf.js → dom-21aaf3f4.js} +3 -3
- package/dist/cjs/{filter-0cad4ef9.js → filter-7b1ac325.js} +2 -2
- package/dist/cjs/{floating-ui-43a0665a.js → floating-ui-4bb47c90.js} +71 -65
- package/dist/cjs/{focusTrapComponent-f6248c95.js → focusTrapComponent-4fc83c52.js} +2 -2
- package/dist/cjs/{form-b8173c62.js → form-9cc29ef1.js} +3 -3
- package/dist/cjs/{guid-0f40f4b7.js → guid-43b37504.js} +1 -1
- package/dist/cjs/{index-4f672718.js → index-d0394290.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-10e3fc78.js → interactive-ba615a5f.js} +1 -1
- package/dist/cjs/{key-ae6bcfdf.js → key-88971126.js} +1 -1
- package/dist/cjs/{label-1789923c.js → label-a63005cd.js} +2 -2
- package/dist/cjs/{loadable-0be7f59e.js → loadable-c2a58fbe.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-d8b5c255.js → locale-01665a55.js} +4 -4
- package/dist/cjs/{math-342fe578.js → math-b78a1af1.js} +1 -1
- package/dist/cjs/{observers-ac0d13c9.js → observers-f592bc28.js} +1 -1
- package/dist/cjs/{openCloseComponent-6b722fcd.js → openCloseComponent-5b97ba86.js} +2 -2
- package/dist/cjs/{resources-dc6c04d7.js → resources-a0100bbf.js} +1 -1
- package/dist/cjs/{resources-eb548a75.js → resources-a4a25b5c.js} +1 -1
- package/dist/cjs/{resources-e4718f51.js → resources-b46063a7.js} +1 -1
- package/dist/cjs/{resources-7f7f7aa5.js → resources-cd5d5858.js} +5 -5
- package/dist/cjs/{resources-b995b60c.js → resources-d974ce14.js} +1 -1
- package/dist/cjs/{resources-236ea1ee.js → resources-f1c8c5f7.js} +1 -1
- package/dist/cjs/{sortable.esm-130e0d23.js → sortable.esm-3077a5f4.js} +1 -1
- package/dist/cjs/{t9n-aa500fb7.js → t9n-14a96fb0.js} +3 -3
- package/dist/cjs/{throttle-adbd7cba.js → throttle-ac1f5cd2.js} +2 -2
- package/dist/cjs/{utils-e51200ba.js → utils-1af6a566.js} +3 -3
- package/dist/cjs/utils-4f112a5e.js +213 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +59 -52
- package/dist/collection/components/color-picker/color-picker.js +448 -233
- package/dist/collection/components/color-picker/resources.js +37 -27
- package/dist/collection/components/color-picker/utils.js +116 -30
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +19 -16
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +225 -118
- package/dist/collection/components/color-picker-hex-input/resources.js +3 -3
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +10 -6
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +34 -7
- package/dist/collection/components/color-picker-swatch/resources.js +8 -2
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +12 -0
- package/dist/collection/components/flow-item/flow-item.js +2 -2
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +60 -30
- package/dist/collection/components/list/resources.js +2 -2
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +9 -1
- package/dist/collection/components/panel/panel.js +2 -2
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +2 -2
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +377 -314
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +2 -2
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +2 -617
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +40 -30
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +252 -88
- package/dist/components/color-picker-swatch.js +42 -2118
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +68 -62
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +2116 -0
- package/dist/components/input-number.js +623 -0
- package/dist/components/input.js +2 -2
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +2 -2
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +2 -2
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +112 -31
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-44731758.js → ExpandToggle-c5f0fddb.js} +5 -5
- package/dist/esm/{FloatingArrow-03b56cd6.js → FloatingArrow-f3d3553d.js} +2 -2
- package/dist/esm/{Heading-6a521ea6.js → Heading-94ecceec.js} +2 -2
- package/dist/esm/{app-globals-d6b77dae.js → app-globals-16708176.js} +2 -2
- package/dist/esm/{array-413b0700.js → array-ebcf4eb4.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +585 -339
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +14 -14
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +50 -40
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-6cdde655.js → composed-offset-position.esm-2166efd1.js} +1 -1
- package/dist/esm/{conditionalSlot-2c9efd4d.js → conditionalSlot-abceadb0.js} +3 -3
- package/dist/esm/{debounce-2d6a0149.js → debounce-797b3e86.js} +1 -1
- package/dist/esm/{dom-423b852c.js → dom-c48a1b86.js} +3 -3
- package/dist/esm/{filter-de45be94.js → filter-8d6350fc.js} +2 -2
- package/dist/esm/{floating-ui-e67f4473.js → floating-ui-50197fc5.js} +71 -65
- package/dist/esm/{focusTrapComponent-c995cd90.js → focusTrapComponent-e588f549.js} +2 -2
- package/dist/esm/{form-e2c5bf23.js → form-5f4ee7a2.js} +3 -3
- package/dist/esm/{guid-3036ce51.js → guid-aef51297.js} +1 -1
- package/dist/esm/{index-86650d5a.js → index-217dadcd.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-47568053.js → interactive-3fff4fda.js} +1 -1
- package/dist/esm/{key-4161a3c1.js → key-8c1dc5de.js} +1 -1
- package/dist/esm/{label-26d6be6f.js → label-55aef7bc.js} +2 -2
- package/dist/esm/{loadable-3cf63846.js → loadable-8c1293f5.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-c07ca0c8.js → locale-5571dc0a.js} +4 -4
- package/dist/esm/{math-47943cf6.js → math-a0aa08d8.js} +1 -1
- package/dist/esm/{observers-28615899.js → observers-5d51590f.js} +1 -1
- package/dist/esm/{openCloseComponent-0d035d10.js → openCloseComponent-9ba2ae60.js} +2 -2
- package/dist/esm/{resources-c6c0f7e5.js → resources-1d0e42db.js} +1 -1
- package/dist/esm/{resources-b3aa225f.js → resources-7678f57a.js} +1 -1
- package/dist/esm/{resources-55a9df4d.js → resources-aa4e4c3c.js} +1 -1
- package/dist/esm/{resources-bea143a5.js → resources-d26eaa68.js} +5 -5
- package/dist/esm/{resources-cfdd5c95.js → resources-d4765ecc.js} +1 -1
- package/dist/esm/{resources-b133f9d1.js → resources-ef20e35f.js} +1 -1
- package/dist/esm/{sortable.esm-c2c7bd66.js → sortable.esm-89325ef7.js} +1 -1
- package/dist/esm/{t9n-70b30ed6.js → t9n-e678f4c8.js} +3 -3
- package/dist/esm/{throttle-4e0b6325.js → throttle-9b1221ed.js} +2 -2
- package/dist/esm/utils-c9e01e02.js +195 -0
- package/dist/esm/{utils-49cc87a4.js → utils-edb91a03.js} +3 -3
- package/dist/extras/docs-json.json +175 -37
- package/dist/extras/vscode-data.json +22 -2
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts +54 -23
- package/dist/types/components/color-picker/interfaces.d.ts +1 -0
- package/dist/types/components/color-picker/resources.d.ts +28 -18
- package/dist/types/components/color-picker/utils.d.ts +16 -7
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +33 -16
- package/dist/types/components/color-picker-hex-input/resources.d.ts +2 -2
- package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +3 -2
- package/dist/types/components/color-picker-swatch/resources.d.ts +6 -1
- package/dist/types/components/flow-item/flow-item.d.ts +1 -1
- package/dist/types/components/list/list.d.ts +7 -2
- package/dist/types/components/list/resources.d.ts +1 -1
- package/dist/types/components/panel/panel.d.ts +1 -1
- package/dist/types/components.d.ts +62 -6
- package/dist/types/preact.d.ts +2 -1
- package/hydrate/index.js +800 -451
- package/package.json +3 -4
- package/dist/calcite/p-0b1443fd.entry.js +0 -6
- package/dist/calcite/p-1163bf7a.entry.js +0 -6
- package/dist/calcite/p-17bad11f.entry.js +0 -6
- package/dist/calcite/p-305b842d.js +0 -6
- package/dist/calcite/p-746ed68a.js +0 -6
- package/dist/calcite/p-777b6df8.js +0 -6
- package/dist/calcite/p-8441a7c3.entry.js +0 -6
- package/dist/calcite/p-8db4a274.js +0 -6
- package/dist/calcite/p-91dfe31f.entry.js +0 -6
- package/dist/calcite/p-96cdcb63.entry.js +0 -6
- package/dist/calcite/p-a147a2e6.entry.js +0 -6
- package/dist/calcite/p-b50b98d3.entry.js +0 -6
- package/dist/calcite/p-cc5724cc.entry.js +0 -6
- package/dist/calcite/p-d71fbdea.entry.js +0 -6
- package/dist/calcite/p-e291883a.entry.js +0 -6
- package/dist/calcite/p-ea4d15b2.js +0 -6
- package/dist/calcite/p-fd4b3d0c.entry.js +0 -6
- package/dist/cjs/utils-390db9d9.js +0 -124
- package/dist/esm/utils-a9865126.js +0 -114
|
@@ -1,7 +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.4.0-next.
|
|
4
|
+
* v1.4.0-next.7
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { k as focusElement, o as nodeListToArray, p as getRootNode } from './dom.js';
|
|
@@ -1,7 +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.4.0-next.
|
|
4
|
+
* v1.4.0-next.7
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -1,7 +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.4.0-next.
|
|
4
|
+
* v1.4.0-next.7
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { S as Sortable } from './sortable.esm.js';
|
|
@@ -1,7 +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.4.0-next.
|
|
4
|
+
* v1.4.0-next.7
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { t as toAriaBoolean } from './dom.js';
|
package/dist/components/chip.js
CHANGED
|
@@ -1,7 +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.4.0-next.
|
|
4
|
+
* v1.4.0-next.7
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, Build, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { e as slotChangeHasAssignedElement, t as toAriaBoolean } from './dom.js';
|
|
@@ -1,24 +1,115 @@
|
|
|
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.4.0-next.
|
|
4
|
+
* v1.4.0-next.7
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
|
-
import {
|
|
7
|
+
import { j as isLonghandHex, i as isValidHex, r as rgbToHex, n as normalizeHex, o as opacityToAlpha, a as hexify, k as hexChar, c as alphaToOpacity } from './utils.js';
|
|
8
|
+
import { c as color } from './index2.js';
|
|
8
9
|
import { k as focusElement } from './dom.js';
|
|
9
10
|
import { a as setUpLoadableComponent, s as setComponentLoaded, c as componentLoaded } from './loadable.js';
|
|
10
|
-
import {
|
|
11
|
-
import { d as defineCustomElement$3 } from './
|
|
12
|
-
import { d as defineCustomElement$2 } from './input.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './icon.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './input.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './input-number.js';
|
|
13
14
|
import { d as defineCustomElement$1 } from './progress.js';
|
|
14
15
|
|
|
15
|
-
const CSS = {
|
|
16
|
+
const CSS$1 = {
|
|
17
|
+
channel: "channel",
|
|
18
|
+
channels: "channels",
|
|
19
|
+
colorField: "color-field",
|
|
20
|
+
colorFieldScope: "scope--color-field",
|
|
21
|
+
colorMode: "color-mode",
|
|
22
|
+
colorModeContainer: "color-mode-container",
|
|
16
23
|
container: "container",
|
|
24
|
+
control: "control",
|
|
25
|
+
controlAndScope: "control-and-scope",
|
|
26
|
+
controlSection: "control-section",
|
|
27
|
+
deleteColor: "delete-color",
|
|
28
|
+
header: "header",
|
|
29
|
+
hexAndChannelsGroup: "hex-and-channels-group",
|
|
30
|
+
hexOptions: "color-hex-options",
|
|
31
|
+
hueScope: "scope--hue",
|
|
32
|
+
hueSlider: "hue-slider",
|
|
33
|
+
opacityScope: "scope--opacity",
|
|
34
|
+
opacitySlider: "opacity-slider",
|
|
17
35
|
preview: "preview",
|
|
18
|
-
|
|
36
|
+
previewAndSliders: "preview-and-sliders",
|
|
37
|
+
saveColor: "save-color",
|
|
38
|
+
savedColor: "saved-color",
|
|
39
|
+
savedColors: "saved-colors",
|
|
40
|
+
savedColorsButtons: "saved-colors-buttons",
|
|
41
|
+
savedColorsSection: "saved-colors-section",
|
|
42
|
+
scope: "scope",
|
|
43
|
+
section: "section",
|
|
44
|
+
slider: "slider",
|
|
45
|
+
sliders: "sliders",
|
|
46
|
+
splitSection: "section--split"
|
|
47
|
+
};
|
|
48
|
+
const DEFAULT_COLOR$1 = color("#007AC2");
|
|
49
|
+
const DEFAULT_STORAGE_KEY_PREFIX = "calcite-color-";
|
|
50
|
+
const RGB_LIMITS = {
|
|
51
|
+
r: 255,
|
|
52
|
+
g: 255,
|
|
53
|
+
b: 255
|
|
54
|
+
};
|
|
55
|
+
const HSV_LIMITS = {
|
|
56
|
+
h: 360,
|
|
57
|
+
s: 100,
|
|
58
|
+
v: 100
|
|
59
|
+
};
|
|
60
|
+
const OPACITY_LIMITS = {
|
|
61
|
+
min: 0,
|
|
62
|
+
max: 100
|
|
63
|
+
};
|
|
64
|
+
const DIMENSIONS = {
|
|
65
|
+
s: {
|
|
66
|
+
slider: {
|
|
67
|
+
height: 12,
|
|
68
|
+
width: 104
|
|
69
|
+
},
|
|
70
|
+
colorField: {
|
|
71
|
+
height: 80,
|
|
72
|
+
width: 160
|
|
73
|
+
},
|
|
74
|
+
thumb: {
|
|
75
|
+
radius: 10
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
m: {
|
|
79
|
+
slider: {
|
|
80
|
+
height: 12,
|
|
81
|
+
width: 204
|
|
82
|
+
},
|
|
83
|
+
colorField: {
|
|
84
|
+
height: 150,
|
|
85
|
+
width: 272
|
|
86
|
+
},
|
|
87
|
+
thumb: {
|
|
88
|
+
radius: 10
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
l: {
|
|
92
|
+
slider: {
|
|
93
|
+
height: 12,
|
|
94
|
+
width: 384
|
|
95
|
+
},
|
|
96
|
+
colorField: {
|
|
97
|
+
height: 200,
|
|
98
|
+
width: 464
|
|
99
|
+
},
|
|
100
|
+
thumb: {
|
|
101
|
+
radius: 10
|
|
102
|
+
}
|
|
103
|
+
}
|
|
19
104
|
};
|
|
20
105
|
|
|
21
|
-
const
|
|
106
|
+
const CSS = {
|
|
107
|
+
container: "container",
|
|
108
|
+
hexInput: "hex-input",
|
|
109
|
+
opacityInput: "opacity-input"
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
const colorPickerHexInputCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:68px;margin-inline-start:-1px}:host([scale=s]) .container{flex-wrap:wrap;row-gap:0.125rem}:host([scale=s]) .opacity-input{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .opacity-input{inline-size:88px}";
|
|
22
113
|
|
|
23
114
|
const DEFAULT_COLOR = color();
|
|
24
115
|
const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
@@ -27,32 +118,120 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
27
118
|
this.__registerHost();
|
|
28
119
|
this.__attachShadow();
|
|
29
120
|
this.calciteColorPickerHexInputChange = createEvent(this, "calciteColorPickerHexInputChange", 6);
|
|
30
|
-
this.
|
|
31
|
-
const node = this.
|
|
121
|
+
this.onHexInputBlur = () => {
|
|
122
|
+
const node = this.hexInputNode;
|
|
32
123
|
const inputValue = node.value;
|
|
33
124
|
const hex = `#${inputValue}`;
|
|
34
|
-
const
|
|
35
|
-
|
|
125
|
+
const { allowEmpty, internalColor } = this;
|
|
126
|
+
const willClearValue = allowEmpty && !inputValue;
|
|
127
|
+
const isLonghand = isLonghandHex(hex);
|
|
128
|
+
if (willClearValue || (isValidHex(hex) && isLonghand)) {
|
|
36
129
|
return;
|
|
37
130
|
}
|
|
38
131
|
// manipulating DOM directly since rerender doesn't update input value
|
|
39
132
|
node.value =
|
|
40
|
-
|
|
133
|
+
allowEmpty && !internalColor
|
|
41
134
|
? ""
|
|
42
|
-
: this.
|
|
135
|
+
: this.formatHexForInternalInput(rgbToHex(
|
|
136
|
+
// always display hex input in RRGGBB format
|
|
137
|
+
internalColor.object()));
|
|
43
138
|
};
|
|
44
|
-
this.
|
|
45
|
-
|
|
139
|
+
this.onOpacityInputBlur = () => {
|
|
140
|
+
const node = this.opacityInputNode;
|
|
141
|
+
const inputValue = node.value;
|
|
142
|
+
const { allowEmpty, internalColor } = this;
|
|
143
|
+
const willClearValue = allowEmpty && !inputValue;
|
|
144
|
+
if (willClearValue) {
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
// manipulating DOM directly since rerender doesn't update input value
|
|
148
|
+
node.value =
|
|
149
|
+
allowEmpty && !internalColor ? "" : this.formatOpacityForInternalInput(internalColor);
|
|
150
|
+
};
|
|
151
|
+
this.onHexInputChange = () => {
|
|
152
|
+
const nodeValue = this.hexInputNode.value;
|
|
153
|
+
let value = nodeValue;
|
|
154
|
+
if (value) {
|
|
155
|
+
const normalized = normalizeHex(value, false);
|
|
156
|
+
const preserveExistingAlpha = isValidHex(normalized) && this.alphaChannel;
|
|
157
|
+
if (preserveExistingAlpha && this.internalColor) {
|
|
158
|
+
const alphaHex = normalizeHex(this.internalColor.hexa(), true).slice(-2);
|
|
159
|
+
value = `${normalized + alphaHex}`;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
this.internalSetValue(value, this.value);
|
|
163
|
+
};
|
|
164
|
+
this.onOpacityInputChange = () => {
|
|
165
|
+
const node = this.opacityInputNode;
|
|
166
|
+
let value;
|
|
167
|
+
if (!node.value) {
|
|
168
|
+
value = node.value;
|
|
169
|
+
}
|
|
170
|
+
else {
|
|
171
|
+
const alpha = opacityToAlpha(Number(node.value));
|
|
172
|
+
value = this.internalColor?.alpha(alpha).hexa();
|
|
173
|
+
}
|
|
174
|
+
this.internalSetValue(value, this.value);
|
|
175
|
+
};
|
|
176
|
+
this.onInputKeyDown = (event) => {
|
|
177
|
+
const { altKey, ctrlKey, metaKey, shiftKey } = event;
|
|
178
|
+
const { alphaChannel, hexInputNode, internalColor, value } = this;
|
|
179
|
+
const { key } = event;
|
|
180
|
+
const composedPath = event.composedPath();
|
|
181
|
+
if (key === "Tab" || key === "Enter") {
|
|
182
|
+
if (composedPath.includes(hexInputNode)) {
|
|
183
|
+
this.onHexInputChange();
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
this.onOpacityInputChange();
|
|
187
|
+
}
|
|
188
|
+
if (key === "Enter") {
|
|
189
|
+
event.preventDefault();
|
|
190
|
+
}
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
|
|
194
|
+
const oldValue = this.value;
|
|
195
|
+
if (isNudgeKey) {
|
|
196
|
+
if (!value) {
|
|
197
|
+
this.internalSetValue(this.previousNonNullValue, oldValue);
|
|
198
|
+
event.preventDefault();
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
const direction = key === "ArrowUp" ? 1 : -1;
|
|
202
|
+
const bump = shiftKey ? 10 : 1;
|
|
203
|
+
this.internalSetValue(hexify(this.nudgeRGBChannels(internalColor, bump * direction, composedPath.includes(hexInputNode) ? "rgb" : "a"), alphaChannel), oldValue);
|
|
204
|
+
event.preventDefault();
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
const withModifiers = altKey || ctrlKey || metaKey;
|
|
208
|
+
const singleChar = key.length === 1;
|
|
209
|
+
const validHexChar = hexChar.test(key);
|
|
210
|
+
if (singleChar && !withModifiers && !validHexChar) {
|
|
211
|
+
event.preventDefault();
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
this.onHexInputPaste = (event) => {
|
|
215
|
+
const hex = event.clipboardData.getData("text");
|
|
216
|
+
if (isValidHex(hex)) {
|
|
217
|
+
event.preventDefault();
|
|
218
|
+
this.hexInputNode.value = hex.slice(1);
|
|
219
|
+
}
|
|
46
220
|
};
|
|
47
221
|
this.previousNonNullValue = this.value;
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
222
|
+
this.storeHexInputRef = (node) => {
|
|
223
|
+
this.hexInputNode = node;
|
|
224
|
+
};
|
|
225
|
+
this.storeOpacityInputRef = (node) => {
|
|
226
|
+
this.opacityInputNode = node;
|
|
50
227
|
};
|
|
51
|
-
this.hexLabel = "Hex";
|
|
52
228
|
this.allowEmpty = false;
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
229
|
+
this.alphaChannel = false;
|
|
230
|
+
this.hexLabel = "Hex";
|
|
231
|
+
this.messages = undefined;
|
|
55
232
|
this.numberingSystem = undefined;
|
|
233
|
+
this.scale = "m";
|
|
234
|
+
this.value = normalizeHex(hexify(DEFAULT_COLOR, this.alphaChannel), this.alphaChannel, true);
|
|
56
235
|
this.internalColor = DEFAULT_COLOR;
|
|
57
236
|
}
|
|
58
237
|
//--------------------------------------------------------------------------
|
|
@@ -61,10 +240,10 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
61
240
|
//
|
|
62
241
|
//--------------------------------------------------------------------------
|
|
63
242
|
connectedCallback() {
|
|
64
|
-
const { allowEmpty, value } = this;
|
|
243
|
+
const { allowEmpty, alphaChannel, value } = this;
|
|
65
244
|
if (value) {
|
|
66
|
-
const normalized = normalizeHex(value);
|
|
67
|
-
if (isValidHex(normalized)) {
|
|
245
|
+
const normalized = normalizeHex(value, alphaChannel);
|
|
246
|
+
if (isValidHex(normalized, alphaChannel)) {
|
|
68
247
|
this.internalSetValue(normalized, normalized, false);
|
|
69
248
|
}
|
|
70
249
|
return;
|
|
@@ -82,54 +261,21 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
82
261
|
handleValueChange(value, oldValue) {
|
|
83
262
|
this.internalSetValue(value, oldValue, false);
|
|
84
263
|
}
|
|
85
|
-
// using @Listen as a workaround for VDOM listener not firing
|
|
86
|
-
onInputKeyDown(event) {
|
|
87
|
-
const { altKey, ctrlKey, metaKey, shiftKey } = event;
|
|
88
|
-
const { internalColor, value } = this;
|
|
89
|
-
const { key } = event;
|
|
90
|
-
if (key === "Tab" || key === "Enter") {
|
|
91
|
-
this.onInputChange();
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
|
|
95
|
-
const oldValue = this.value;
|
|
96
|
-
if (isNudgeKey) {
|
|
97
|
-
if (!value) {
|
|
98
|
-
this.internalSetValue(this.previousNonNullValue, oldValue);
|
|
99
|
-
event.preventDefault();
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
const direction = key === "ArrowUp" ? 1 : -1;
|
|
103
|
-
const bump = shiftKey ? 10 : 1;
|
|
104
|
-
this.internalSetValue(normalizeHex(this.nudgeRGBChannels(internalColor, bump * direction).hex()), oldValue);
|
|
105
|
-
event.preventDefault();
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
const withModifiers = altKey || ctrlKey || metaKey;
|
|
109
|
-
const singleChar = key.length === 1;
|
|
110
|
-
const validHexChar = hexChar.test(key);
|
|
111
|
-
if (singleChar && !withModifiers && !validHexChar) {
|
|
112
|
-
event.preventDefault();
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
onPaste(event) {
|
|
116
|
-
const hex = event.clipboardData.getData("text");
|
|
117
|
-
if (isValidHex(hex)) {
|
|
118
|
-
event.preventDefault();
|
|
119
|
-
this.inputNode.value = hex.slice(1);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
264
|
//--------------------------------------------------------------------------
|
|
123
265
|
//
|
|
124
266
|
// Lifecycle
|
|
125
267
|
//
|
|
126
268
|
//--------------------------------------------------------------------------
|
|
127
269
|
render() {
|
|
128
|
-
const { value } = this;
|
|
129
|
-
const hexInputValue = this.
|
|
130
|
-
|
|
270
|
+
const { alphaChannel, hexLabel, internalColor, messages, scale, value } = this;
|
|
271
|
+
const hexInputValue = this.formatHexForInternalInput(value);
|
|
272
|
+
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
273
|
+
const inputScale = scale === "l" ? "m" : "s";
|
|
274
|
+
return (h("div", { class: CSS.container }, h("calcite-input", { class: CSS.hexInput, label: messages?.hex || hexLabel, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onHexInputChange, onCalciteInternalInputBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
131
275
|
// eslint-disable-next-line react/jsx-sort-props
|
|
132
|
-
ref: this.
|
|
276
|
+
ref: this.storeHexInputRef }), alphaChannel ? (h("calcite-input-number", { class: CSS.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
|
|
277
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
278
|
+
ref: this.storeOpacityInputRef })) : null));
|
|
133
279
|
}
|
|
134
280
|
//--------------------------------------------------------------------------
|
|
135
281
|
//
|
|
@@ -139,7 +285,7 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
139
285
|
/** Sets focus on the component. */
|
|
140
286
|
async setFocus() {
|
|
141
287
|
await componentLoaded(this);
|
|
142
|
-
focusElement(this.
|
|
288
|
+
focusElement(this.hexInputNode);
|
|
143
289
|
}
|
|
144
290
|
//--------------------------------------------------------------------------
|
|
145
291
|
//
|
|
@@ -148,13 +294,17 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
148
294
|
//--------------------------------------------------------------------------
|
|
149
295
|
internalSetValue(value, oldValue, emit = true) {
|
|
150
296
|
if (value) {
|
|
151
|
-
const
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
297
|
+
const { alphaChannel } = this;
|
|
298
|
+
const normalized = normalizeHex(value, alphaChannel, alphaChannel);
|
|
299
|
+
if (isValidHex(normalized, alphaChannel)) {
|
|
300
|
+
const { internalColor: currentColor } = this;
|
|
301
|
+
const nextColor = color(normalized);
|
|
302
|
+
const normalizedLonghand = normalizeHex(hexify(nextColor, alphaChannel), alphaChannel);
|
|
303
|
+
const changed = !currentColor ||
|
|
304
|
+
normalizedLonghand !== normalizeHex(hexify(currentColor, alphaChannel), alphaChannel);
|
|
305
|
+
this.internalColor = nextColor;
|
|
306
|
+
this.previousNonNullValue = normalizedLonghand;
|
|
307
|
+
this.value = normalizedLonghand;
|
|
158
308
|
if (changed && emit) {
|
|
159
309
|
this.calciteColorPickerHexInputChange.emit();
|
|
160
310
|
}
|
|
@@ -171,16 +321,28 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
171
321
|
}
|
|
172
322
|
this.value = oldValue;
|
|
173
323
|
}
|
|
174
|
-
|
|
175
|
-
return hex ? hex.replace("#", "") : "";
|
|
324
|
+
formatHexForInternalInput(hex) {
|
|
325
|
+
return hex ? hex.replace("#", "").slice(0, 6) : "";
|
|
176
326
|
}
|
|
177
|
-
|
|
178
|
-
return color
|
|
327
|
+
formatOpacityForInternalInput(color) {
|
|
328
|
+
return color ? `${alphaToOpacity(color.alpha())}` : "";
|
|
179
329
|
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
330
|
+
nudgeRGBChannels(color$1, amount, context) {
|
|
331
|
+
let nudgedChannels;
|
|
332
|
+
const channels = color$1.array();
|
|
333
|
+
const rgbChannels = channels.slice(0, 3);
|
|
334
|
+
if (context === "rgb") {
|
|
335
|
+
const nudgedRGBChannels = rgbChannels.map((channel) => channel + amount);
|
|
336
|
+
nudgedChannels = [
|
|
337
|
+
...nudgedRGBChannels,
|
|
338
|
+
this.alphaChannel ? channels[3] : undefined
|
|
339
|
+
];
|
|
340
|
+
}
|
|
341
|
+
else {
|
|
342
|
+
const nudgedAlpha = opacityToAlpha(alphaToOpacity(color$1.alpha()) + amount);
|
|
343
|
+
nudgedChannels = [...rgbChannels, nudgedAlpha];
|
|
183
344
|
}
|
|
345
|
+
return color(nudgedChannels);
|
|
184
346
|
}
|
|
185
347
|
get el() { return this; }
|
|
186
348
|
static get watchers() { return {
|
|
@@ -188,36 +350,38 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
188
350
|
}; }
|
|
189
351
|
static get style() { return colorPickerHexInputCss; }
|
|
190
352
|
}, [1, "calcite-color-picker-hex-input", {
|
|
191
|
-
"hexLabel": [1, "hex-label"],
|
|
192
353
|
"allowEmpty": [4, "allow-empty"],
|
|
354
|
+
"alphaChannel": [4, "alpha-channel"],
|
|
355
|
+
"hexLabel": [1, "hex-label"],
|
|
356
|
+
"messages": [16],
|
|
357
|
+
"numberingSystem": [1, "numbering-system"],
|
|
193
358
|
"scale": [513],
|
|
194
359
|
"value": [1537],
|
|
195
|
-
"numberingSystem": [1, "numbering-system"],
|
|
196
360
|
"internalColor": [32],
|
|
197
361
|
"setFocus": [64]
|
|
198
|
-
}
|
|
362
|
+
}]);
|
|
199
363
|
function defineCustomElement() {
|
|
200
364
|
if (typeof customElements === "undefined") {
|
|
201
365
|
return;
|
|
202
366
|
}
|
|
203
|
-
const components = ["calcite-color-picker-hex-input", "calcite-
|
|
367
|
+
const components = ["calcite-color-picker-hex-input", "calcite-icon", "calcite-input", "calcite-input-number", "calcite-progress"];
|
|
204
368
|
components.forEach(tagName => { switch (tagName) {
|
|
205
369
|
case "calcite-color-picker-hex-input":
|
|
206
370
|
if (!customElements.get(tagName)) {
|
|
207
371
|
customElements.define(tagName, ColorPickerHexInput);
|
|
208
372
|
}
|
|
209
373
|
break;
|
|
210
|
-
case "calcite-
|
|
374
|
+
case "calcite-icon":
|
|
211
375
|
if (!customElements.get(tagName)) {
|
|
212
376
|
defineCustomElement$4();
|
|
213
377
|
}
|
|
214
378
|
break;
|
|
215
|
-
case "calcite-
|
|
379
|
+
case "calcite-input":
|
|
216
380
|
if (!customElements.get(tagName)) {
|
|
217
381
|
defineCustomElement$3();
|
|
218
382
|
}
|
|
219
383
|
break;
|
|
220
|
-
case "calcite-input":
|
|
384
|
+
case "calcite-input-number":
|
|
221
385
|
if (!customElements.get(tagName)) {
|
|
222
386
|
defineCustomElement$2();
|
|
223
387
|
}
|
|
@@ -231,4 +395,4 @@ function defineCustomElement() {
|
|
|
231
395
|
}
|
|
232
396
|
defineCustomElement();
|
|
233
397
|
|
|
234
|
-
export {
|
|
398
|
+
export { CSS$1 as C, DEFAULT_COLOR$1 as D, HSV_LIMITS as H, OPACITY_LIMITS as O, RGB_LIMITS as R, DIMENSIONS as a, DEFAULT_STORAGE_KEY_PREFIX as b, ColorPickerHexInput as c, defineCustomElement as d };
|