@esri/calcite-components 1.5.0-next.21 → 1.5.0-next.23
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/LICENSE.md +1 -1
- package/dist/calcite/assets/input-date-picker/t9n/index.d.ts +1 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages.json +2 -1
- package/dist/calcite/assets/input-date-picker/t9n/messages_en.json +2 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-414aa6f5.js → p-03e6e5e1.js} +2 -2
- package/dist/calcite/{p-bf2de9b2.entry.js → p-048197ec.entry.js} +2 -2
- package/dist/calcite/{p-3054598e.js → p-0967771c.js} +2 -2
- package/dist/calcite/{p-c6704eb7.entry.js → p-0a39328c.entry.js} +2 -2
- package/dist/calcite/{p-fd7c9f22.js → p-0e986e80.js} +2 -2
- package/dist/calcite/{p-e42a3f94.entry.js → p-0feac12c.entry.js} +2 -2
- package/dist/calcite/{p-d87f91a7.entry.js → p-10431285.entry.js} +2 -2
- package/dist/calcite/{p-1d088751.js → p-11d6c726.js} +2 -2
- package/dist/calcite/{p-bff440ec.js → p-185a5596.js} +2 -2
- package/dist/calcite/{p-af27a8b3.entry.js → p-197c1998.entry.js} +2 -2
- package/dist/calcite/{p-f7be17b7.entry.js → p-1aee277c.entry.js} +2 -2
- package/dist/calcite/{p-49a5c0bf.js → p-1b341e78.js} +2 -2
- package/dist/calcite/p-20da2018.js +6 -0
- package/dist/calcite/{p-f33d9420.entry.js → p-222217ce.entry.js} +2 -2
- package/dist/calcite/{p-685b17cc.entry.js → p-23a03033.entry.js} +2 -2
- package/dist/calcite/{p-da0da246.js → p-24546a1b.js} +2 -2
- package/dist/calcite/{p-40286e5f.js → p-266f4c7f.js} +2 -2
- package/dist/calcite/{p-4453a1fe.js → p-26c6222d.js} +1 -1
- package/dist/calcite/{p-00934bbc.entry.js → p-26febfa5.entry.js} +2 -2
- package/dist/calcite/{p-9eb75713.entry.js → p-2c3fd2f7.entry.js} +2 -2
- package/dist/calcite/{p-7f1045c4.js → p-3100c902.js} +2 -2
- package/dist/calcite/{p-a0747f98.js → p-310c641a.js} +2 -2
- package/dist/calcite/{p-f13472c4.entry.js → p-32f68657.entry.js} +2 -2
- package/dist/calcite/{p-6f9a60fa.entry.js → p-3415aa83.entry.js} +2 -2
- package/dist/calcite/{p-0076712d.js → p-34c307e0.js} +2 -2
- package/dist/calcite/{p-958a15f4.js → p-37c2ff19.js} +2 -2
- package/dist/calcite/{p-0cae4325.js → p-37c8646a.js} +2 -2
- package/dist/calcite/{p-4b3cc8c2.js → p-39898f38.js} +2 -2
- package/dist/calcite/{p-857567ad.js → p-39faa814.js} +2 -2
- package/dist/calcite/p-3a3cae12.js +6 -0
- package/dist/calcite/{p-e60afb5b.js → p-3c885803.js} +2 -2
- package/dist/calcite/{p-a41c5512.entry.js → p-3d4da718.entry.js} +2 -2
- package/dist/calcite/{p-c79a57b5.entry.js → p-407de5b7.entry.js} +2 -2
- package/dist/calcite/{p-d94f85b1.js → p-40f368e1.js} +1 -1
- package/dist/calcite/p-418ce853.entry.js +6 -0
- package/dist/calcite/{p-0f0d5e35.entry.js → p-41c63c36.entry.js} +2 -2
- package/dist/calcite/{p-b9028e7d.js → p-42245711.js} +1 -1
- package/dist/calcite/p-44f5e182.entry.js +6 -0
- package/dist/calcite/{p-1da5da14.entry.js → p-49b49a0d.entry.js} +2 -2
- package/dist/calcite/{p-e2360c51.js → p-4b28c704.js} +1 -1
- package/dist/calcite/{p-deaf31c7.js → p-4bc26148.js} +2 -2
- package/dist/calcite/p-4c6129a4.entry.js +6 -0
- package/dist/calcite/{p-b262c9af.js → p-4d2296f4.js} +2 -2
- package/dist/calcite/{p-4e8b8d43.entry.js → p-4e5de1ea.entry.js} +2 -2
- package/dist/calcite/{p-1f954ab2.js → p-4f4250da.js} +2 -2
- package/dist/calcite/{p-2381f75d.entry.js → p-4f77f430.entry.js} +2 -2
- package/dist/calcite/{p-87f54508.entry.js → p-505d326c.entry.js} +2 -2
- package/dist/calcite/{p-0900a43e.entry.js → p-50a4e39b.entry.js} +2 -2
- package/dist/calcite/p-50be2e14.entry.js +6 -0
- package/dist/calcite/{p-00301911.entry.js → p-53b3bc3f.entry.js} +2 -2
- package/dist/calcite/{p-96c1bd06.js → p-54ed1203.js} +2 -2
- package/dist/calcite/{p-41708599.js → p-55f7f2d3.js} +1 -1
- package/dist/calcite/p-566a8a42.entry.js +6 -0
- package/dist/calcite/{p-fdbf1da0.js → p-5bed4d66.js} +2 -2
- package/dist/calcite/{p-16b3159b.entry.js → p-5ec360f1.entry.js} +2 -2
- package/dist/calcite/{p-323a9671.entry.js → p-5fd365fd.entry.js} +2 -2
- package/dist/calcite/{p-8ba60d36.js → p-607e7cd6.js} +2 -2
- package/dist/calcite/p-632e3b44.entry.js +6 -0
- package/dist/calcite/{p-2b49ebd1.entry.js → p-63736ad5.entry.js} +2 -2
- package/dist/calcite/{p-2d4ab6a4.js → p-63c27590.js} +1 -1
- package/dist/calcite/{p-f0053c08.entry.js → p-665f3b53.entry.js} +2 -2
- package/dist/calcite/{p-337c3df5.entry.js → p-66f1ddc2.entry.js} +2 -2
- package/dist/calcite/{p-f11a967c.js → p-675c08a5.js} +2 -2
- package/dist/calcite/{p-36b5bb27.entry.js → p-699371b6.entry.js} +2 -2
- package/dist/calcite/{p-3bdce97f.entry.js → p-6994a567.entry.js} +2 -2
- package/dist/calcite/{p-a1c58822.entry.js → p-69b246d2.entry.js} +2 -2
- package/dist/calcite/{p-f4614c6a.entry.js → p-6aaf3046.entry.js} +2 -2
- package/dist/calcite/{p-6f7d2a42.js → p-6e7e014d.js} +2 -2
- package/dist/calcite/{p-bb6fe80a.entry.js → p-70cc48ad.entry.js} +2 -2
- package/dist/calcite/p-76ba807e.entry.js +6 -0
- package/dist/calcite/{p-d57578d3.js → p-78810fd1.js} +2 -2
- package/dist/calcite/{p-c835c395.js → p-79b1ed73.js} +2 -2
- package/dist/calcite/{p-bcc741e7.js → p-7bee71f0.js} +2 -2
- package/dist/calcite/{p-253a8f75.entry.js → p-7d4a63cc.entry.js} +2 -2
- package/dist/calcite/{p-01cd248a.entry.js → p-7eb373d6.entry.js} +2 -2
- package/dist/calcite/{p-46ebe42c.js → p-7efaf58c.js} +2 -2
- package/dist/calcite/p-7f2987d6.js +6 -0
- package/dist/calcite/{p-e32741ff.js → p-803e85bd.js} +2 -2
- package/dist/calcite/{p-ee007edd.js → p-8275e76c.js} +2 -2
- package/dist/calcite/{p-1ffb6765.js → p-82fd389b.js} +2 -2
- package/dist/calcite/{p-f9b68fe1.entry.js → p-84449d51.entry.js} +2 -2
- package/dist/calcite/{p-911bfa0e.js → p-850fbd54.js} +2 -2
- package/dist/calcite/{p-78d25b47.js → p-87227af5.js} +2 -2
- package/dist/calcite/{p-a1b6ec76.js → p-872b7c71.js} +2 -2
- package/dist/calcite/{p-3ca6a9a5.js → p-8a50095d.js} +2 -2
- package/dist/calcite/{p-a6359343.js → p-8a7b2ae3.js} +2 -2
- package/dist/calcite/{p-8f5a9684.entry.js → p-8cdb3651.entry.js} +2 -2
- package/dist/calcite/{p-70265a1f.js → p-91614637.js} +2 -2
- package/dist/calcite/{p-a54ff729.entry.js → p-927cbf57.entry.js} +2 -2
- package/dist/calcite/{p-2cd45118.js → p-9436bb28.js} +2 -2
- package/dist/calcite/{p-147a925c.js → p-9816281d.js} +1 -1
- package/dist/calcite/{p-017d7f06.js → p-993dc7a1.js} +2 -2
- package/dist/calcite/{p-73f4df35.entry.js → p-99b879ff.entry.js} +2 -2
- package/dist/calcite/p-9ef9fa2f.js +6 -0
- package/dist/calcite/{p-f91ee641.js → p-a0e98e21.js} +2 -2
- package/dist/calcite/{p-9d6ea189.js → p-a3ccb749.js} +2 -2
- package/dist/calcite/{p-d0e48453.entry.js → p-a76e05ed.entry.js} +2 -2
- package/dist/calcite/{p-87cf5900.entry.js → p-aa681ac4.entry.js} +2 -2
- package/dist/calcite/{p-b757df66.js → p-ab419543.js} +2 -2
- package/dist/calcite/{p-09ac7d48.js → p-acde9e4e.js} +2 -2
- package/dist/calcite/{p-080752a2.js → p-ade50a5b.js} +2 -2
- package/dist/calcite/{p-32d6f750.entry.js → p-af134846.entry.js} +2 -2
- package/dist/calcite/{p-bf15df9c.entry.js → p-b01771bb.entry.js} +2 -2
- package/dist/calcite/{p-8da205e6.entry.js → p-b5984987.entry.js} +2 -2
- package/dist/calcite/{p-b09b3788.js → p-b5d796c7.js} +2 -2
- package/dist/calcite/{p-e24e564d.js → p-bb8a24ff.js} +2 -2
- package/dist/calcite/{p-830120f7.js → p-bc20d76e.js} +2 -2
- package/dist/calcite/{p-faa87280.js → p-bcf428b8.js} +2 -2
- package/dist/calcite/{p-66f310d0.entry.js → p-bddbc366.entry.js} +2 -2
- package/dist/calcite/{p-b4000dba.js → p-be6f49f9.js} +1 -1
- package/dist/calcite/{p-10eb8f57.js → p-bf02306e.js} +1 -1
- package/dist/calcite/{p-695e7614.entry.js → p-bfbba0a7.entry.js} +2 -2
- package/dist/calcite/{p-b27b3024.entry.js → p-bfd5902d.entry.js} +2 -2
- package/dist/calcite/{p-d97b2517.js → p-c20c3883.js} +2 -2
- package/dist/calcite/{p-68991f7a.entry.js → p-c2ba1b2f.entry.js} +2 -2
- package/dist/calcite/{p-b3ca9241.js → p-c38d1ba6.js} +2 -2
- package/dist/calcite/{p-f4f04a9c.js → p-c4f5f6ff.js} +1 -1
- package/dist/calcite/{p-7197c247.entry.js → p-c62c04c9.entry.js} +2 -2
- package/dist/calcite/{p-e4c88909.entry.js → p-c6b20b10.entry.js} +2 -2
- package/dist/calcite/{p-af5bd8e2.js → p-c76bfd7f.js} +1 -1
- package/dist/calcite/{p-069066f2.js → p-c79ce8c2.js} +2 -2
- package/dist/calcite/{p-4282340a.js → p-cbb241b5.js} +2 -2
- package/dist/calcite/{p-a9f98cec.js → p-cf123c7f.js} +1 -1
- package/dist/calcite/{p-228bb400.js → p-cf8c7191.js} +2 -2
- package/dist/calcite/p-d238191b.entry.js +6 -0
- package/dist/calcite/{p-5287dc8a.js → p-d31ac237.js} +2 -2
- package/dist/calcite/{p-31dea011.js → p-d3dc88b8.js} +2 -2
- package/dist/calcite/p-d4447ef7.js +6 -0
- package/dist/calcite/{p-d0a7172b.entry.js → p-d4adee54.entry.js} +2 -2
- package/dist/calcite/{p-1b32c979.entry.js → p-d516720c.entry.js} +2 -2
- package/dist/calcite/{p-60fc08b1.js → p-d549c7ba.js} +2 -2
- package/dist/calcite/{p-ee35ceaf.js → p-d6d8e32f.js} +2 -2
- package/dist/calcite/{p-dd6a541f.js → p-deb322ce.js} +2 -2
- package/dist/calcite/{p-845e563d.js → p-df320e01.js} +1 -1
- package/dist/calcite/{p-29af99ae.js → p-e1727055.js} +2 -2
- package/dist/calcite/{p-67052cbf.entry.js → p-e1ab3e1b.entry.js} +2 -2
- package/dist/calcite/{p-acb9e8be.js → p-e9a67033.js} +1 -1
- package/dist/calcite/{p-0d5a4a0e.js → p-ec68a100.js} +2 -2
- package/dist/calcite/{p-54dec461.js → p-ed150b1a.js} +2 -2
- package/dist/calcite/{p-29a177d4.js → p-f0657b52.js} +2 -2
- package/dist/calcite/{p-b54f6499.js → p-f4b4ce3c.js} +2 -2
- package/dist/calcite/{p-059b1ad3.entry.js → p-f56b9c94.entry.js} +2 -2
- package/dist/calcite/{p-769ffe19.entry.js → p-f5dd9ab7.entry.js} +2 -2
- package/dist/calcite/{p-97d68154.js → p-f68848c0.js} +2 -2
- package/dist/calcite/{p-3c39c641.entry.js → p-f70f62b9.entry.js} +2 -2
- package/dist/calcite/{p-8eebdf99.entry.js → p-f8393277.entry.js} +2 -2
- package/dist/calcite/{p-8099210e.entry.js → p-faea1bc1.entry.js} +2 -2
- package/dist/calcite/{p-4979dad3.entry.js → p-fd465870.entry.js} +2 -2
- package/dist/calcite/{p-de78084a.js → p-ffcf5524.js} +1 -1
- package/dist/cjs/{ExpandToggle-1559aad1.js → ExpandToggle-f500ec49.js} +13 -13
- package/dist/cjs/{FloatingArrow-b131866d.js → FloatingArrow-711c84bc.js} +5 -5
- package/dist/cjs/{Heading-c6e1d28d.js → Heading-af98e159.js} +2 -2
- package/dist/cjs/{app-globals-6d00f1ab.js → app-globals-d12cb24b.js} +3 -3
- package/dist/cjs/{ar-9b1a4279.js → ar-72b8ea92.js} +15 -15
- package/dist/cjs/{array-0715213b.js → array-9dbd06eb.js} +1 -1
- package/dist/cjs/{bg-645c4f65.js → bg-329ed745.js} +15 -15
- package/dist/cjs/{bs-cc4e4fb1.js → bs-e5f069f3.js} +15 -15
- package/dist/cjs/{ca-1e7f00bf.js → ca-6ce7ed9f.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-bar.cjs.entry.js +19 -19
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-pad.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action.cjs.entry.js +18 -18
- package/dist/cjs/calcite-alert.cjs.entry.js +19 -19
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +23 -23
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card.cjs.entry.js +12 -12
- 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 +17 -17
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +65 -69
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +36 -36
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +32 -32
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +23 -23
- package/dist/cjs/calcite-fab.cjs.entry.js +10 -10
- package/dist/cjs/calcite-filter.cjs.entry.js +15 -15
- package/dist/cjs/calcite-flow-item.cjs.entry.js +16 -16
- package/dist/cjs/calcite-flow.cjs.entry.js +6 -6
- package/dist/cjs/calcite-graph_2.cjs.entry.js +36 -36
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-icon.cjs.entry.js +9 -9
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +37 -35
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +32 -32
- package/dist/cjs/calcite-input-text.cjs.entry.js +24 -24
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-a99acd64.js → calcite-input-time-picker.calcite-time-picker-46e49399.js} +111 -111
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input.cjs.entry.js +35 -46
- package/dist/cjs/calcite-label.cjs.entry.js +8 -8
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +28 -28
- package/dist/cjs/calcite-loader.cjs.entry.js +6 -6
- package/dist/cjs/calcite-menu_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-modal.cjs.entry.js +19 -19
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pagination.cjs.entry.js +16 -16
- package/dist/cjs/calcite-panel.cjs.entry.js +22 -22
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-popover.cjs.entry.js +22 -22
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +17 -17
- package/dist/cjs/calcite-scrim.cjs.entry.js +11 -11
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-shell_3.cjs.entry.js +25 -25
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -11
- package/dist/cjs/calcite-split-button.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +18 -18
- package/dist/cjs/calcite-text-area.cjs.entry.js +23 -23
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tile.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tip_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-tooltip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tree_2.cjs.entry.js +19 -19
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +21 -21
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-51e1803a.js → conditionalSlot-2be6f694.js} +3 -3
- package/dist/cjs/{cs-26bf8f54.js → cs-3a4fdfc6.js} +15 -15
- package/dist/cjs/{da-b8a7a12a.js → da-2ad48111.js} +15 -15
- package/dist/cjs/{de-at-a486587b.js → de-at-766c2b2c.js} +15 -15
- package/dist/cjs/{de-a980524d.js → de-c4a3c291.js} +15 -15
- package/dist/cjs/{de-ch-2836a0d9.js → de-ch-43976db3.js} +15 -15
- package/dist/cjs/{debounce-1621b2f0.js → debounce-936e92d2.js} +1 -1
- package/dist/cjs/{dom-a1026792.js → dom-37cf0e68.js} +6 -6
- package/dist/cjs/{el-a467dbd0.js → el-c7ccd5a8.js} +15 -15
- package/dist/cjs/{en-au-fcc97582.js → en-au-b94bd3e8.js} +15 -15
- package/dist/cjs/{en-ca-766ffb5b.js → en-ca-81a2bb23.js} +15 -15
- package/dist/cjs/{en-gb-ba6745d6.js → en-gb-e430e550.js} +15 -15
- package/dist/cjs/{es-1da3ab1a.js → es-a63783c0.js} +15 -15
- package/dist/cjs/{es-mx-0cc3828b.js → es-mx-e9a9a7c2.js} +15 -15
- package/dist/cjs/{et-f5164cc0.js → et-8b913a6c.js} +15 -15
- package/dist/cjs/{fi-0ba509f4.js → fi-3b7d3a58.js} +15 -15
- package/dist/cjs/{filter-6543096b.js → filter-78f9fa29.js} +2 -2
- package/dist/cjs/{floating-ui-6a29be58.js → floating-ui-8a8132c2.js} +24 -23
- package/dist/cjs/{focusTrapComponent-1bd18eb6.js → focusTrapComponent-7fa05182.js} +3 -3
- package/dist/cjs/{form-24dfbfb9.js → form-a7745b17.js} +5 -5
- package/dist/cjs/{fr-ece06ddc.js → fr-2c8d36ce.js} +15 -15
- package/dist/cjs/{fr-ch-e8a3ed6f.js → fr-ch-6e483f40.js} +15 -15
- package/dist/cjs/{guid-b349d9b5.js → guid-cc91caa4.js} +1 -1
- package/dist/cjs/{he-a4bd6cfc.js → he-ca5f4002.js} +15 -15
- package/dist/cjs/{hi-1ca5bba1.js → hi-1033029e.js} +15 -15
- package/dist/cjs/{hr-c31835ba.js → hr-3eecb037.js} +15 -15
- package/dist/cjs/{hu-58a3a1bc.js → hu-d6f557ce.js} +15 -15
- package/dist/cjs/{id-9e62884e.js → id-9ea03116.js} +15 -15
- package/dist/cjs/{index-656ae32a.js → index-91da3017.js} +5 -5
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-875f32fb.js → interactive-f31c50c6.js} +1 -1
- package/dist/cjs/{it-2bcfb6e2.js → it-273e7645.js} +15 -15
- package/dist/cjs/{it-ch-d97913b1.js → it-ch-d6a1caf8.js} +15 -15
- package/dist/cjs/{ja-ed5728fd.js → ja-5482d2ac.js} +15 -15
- package/dist/cjs/{key-d6250065.js → key-e4430962.js} +1 -1
- package/dist/cjs/{ko-cf647efc.js → ko-650c748c.js} +15 -15
- package/dist/cjs/{label-57e38e2e.js → label-00f7766b.js} +2 -2
- package/dist/cjs/{loadable-ce4ccf15.js → loadable-2b3e7544.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-5c1928bd.js → locale-fd07a6c7.js} +12 -12
- package/dist/cjs/{lt-07c884c8.js → lt-447ae6d1.js} +15 -15
- package/dist/cjs/{lv-ceb260ec.js → lv-574f485c.js} +15 -15
- package/dist/cjs/{math-4c309e54.js → math-9e429a2c.js} +1 -1
- package/dist/cjs/{mk-fe7cf0d5.js → mk-a194ffe1.js} +15 -15
- package/dist/cjs/{nb-622796e2.js → nb-9d4a0cfd.js} +15 -15
- package/dist/cjs/{nl-7fe3851d.js → nl-02d338c5.js} +15 -15
- package/dist/cjs/{observers-0ee21e59.js → observers-56f3e3e2.js} +1 -1
- package/dist/cjs/{openCloseComponent-7398ec73.js → openCloseComponent-263f5611.js} +3 -3
- package/dist/cjs/{pl-1e8316dc.js → pl-e8aa2291.js} +15 -15
- package/dist/cjs/{pt-br-8232a95b.js → pt-br-a0e187cb.js} +15 -15
- package/dist/cjs/{pt-792fc990.js → pt-c2cb42ff.js} +15 -15
- package/dist/cjs/{resources-96d9cdab.js → resources-1e382031.js} +3 -3
- package/dist/cjs/{resources-8f942137.js → resources-587d11eb.js} +14 -14
- package/dist/cjs/{resources-656d9156.js → resources-66f5d675.js} +4 -4
- package/dist/cjs/{resources-e1018918.js → resources-bf2b00f4.js} +2 -2
- package/dist/cjs/{resources-524aba45.js → resources-c9b211e4.js} +4 -4
- package/dist/cjs/{resources-280687e2.js → resources-d1bd514b.js} +1 -1
- package/dist/cjs/{resources-e44d71e8.js → resources-f08aa6c6.js} +3 -3
- package/dist/cjs/{ro-0dfbe650.js → ro-652e86e5.js} +15 -15
- package/dist/cjs/{ru-69bbecf9.js → ru-762416f5.js} +15 -15
- package/dist/cjs/{sk-d9998d19.js → sk-38c290b6.js} +15 -15
- package/dist/cjs/{sl-cbe85e76.js → sl-e86c9d6d.js} +15 -15
- package/dist/cjs/{sortableComponent-2e9bd72b.js → sortableComponent-faac2bf3.js} +2 -2
- package/dist/cjs/{sr-64f880d6.js → sr-e43098cd.js} +15 -15
- package/dist/cjs/{sv-d116aa2a.js → sv-3b9bab16.js} +15 -15
- package/dist/cjs/{t9n-699a4ab7.js → t9n-55edb015.js} +4 -4
- package/dist/cjs/{th-03f2ac76.js → th-0344701b.js} +15 -15
- package/dist/cjs/{throttle-663729ba.js → throttle-bc49e99c.js} +2 -2
- package/dist/cjs/{tr-c6727598.js → tr-355b63c6.js} +15 -15
- package/dist/cjs/{uk-8a14e6b2.js → uk-7624a65d.js} +15 -15
- package/dist/cjs/{utils-df48b71b.js → utils-1d1bcb5c.js} +3 -3
- package/dist/cjs/{utils-ed02e07b.js → utils-27996c88.js} +4 -4
- package/dist/cjs/{vi-42ca578a.js → vi-292d3c40.js} +15 -15
- package/dist/cjs/{zh-cn-d2f42ff9.js → zh-cn-2a836f08.js} +15 -15
- package/dist/cjs/{zh-hk-33e2614b.js → zh-hk-a091fea3.js} +15 -15
- package/dist/cjs/{zh-tw-9ad2281a.js → zh-tw-a704411c.js} +15 -15
- package/dist/collection/components/accordion/accordion.js +4 -4
- package/dist/collection/components/accordion-item/accordion-item.js +5 -5
- package/dist/collection/components/accordion-item/resources.js +3 -3
- package/dist/collection/components/action/action.js +10 -10
- package/dist/collection/components/action/resources.js +3 -3
- package/dist/collection/components/action-bar/action-bar.js +8 -8
- package/dist/collection/components/action-bar/resources.js +3 -3
- package/dist/collection/components/action-bar/utils.js +5 -5
- package/dist/collection/components/action-group/action-group.js +4 -4
- package/dist/collection/components/action-group/resources.js +3 -3
- package/dist/collection/components/action-menu/action-menu.js +7 -7
- package/dist/collection/components/action-menu/resources.js +4 -4
- package/dist/collection/components/action-pad/action-pad.js +5 -5
- package/dist/collection/components/action-pad/resources.js +3 -3
- package/dist/collection/components/alert/alert.js +11 -11
- package/dist/collection/components/alert/resources.js +4 -4
- 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 +8 -8
- package/dist/collection/components/block/resources.js +5 -5
- package/dist/collection/components/block-section/block-section.js +7 -7
- package/dist/collection/components/block-section/resources.js +4 -4
- package/dist/collection/components/button/button.js +5 -5
- package/dist/collection/components/button/resources.js +2 -2
- package/dist/collection/components/card/card.js +4 -4
- package/dist/collection/components/card/resources.js +3 -3
- package/dist/collection/components/checkbox/checkbox.js +5 -5
- package/dist/collection/components/chip/chip.js +8 -8
- package/dist/collection/components/chip/resources.js +4 -4
- package/dist/collection/components/chip-group/chip-group.js +4 -4
- package/dist/collection/components/color-picker/color-picker.js +32 -35
- package/dist/collection/components/color-picker/resources.js +18 -18
- package/dist/collection/components/color-picker/utils.js +3 -3
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +6 -7
- package/dist/collection/components/color-picker-hex-input/resources.js +2 -2
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +4 -4
- package/dist/collection/components/color-picker-swatch/resources.js +4 -4
- package/dist/collection/components/combobox/combobox.js +17 -17
- package/dist/collection/components/combobox/resources.js +2 -2
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +8 -8
- package/dist/collection/components/combobox-item/resources.js +2 -2
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +2 -2
- package/dist/collection/components/date-picker/date-picker.js +11 -11
- 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 +4 -4
- package/dist/collection/components/date-picker-month/date-picker-month.js +7 -7
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +9 -9
- package/dist/collection/components/date-picker-month-header/resources.js +3 -3
- package/dist/collection/components/dropdown/dropdown.js +11 -11
- package/dist/collection/components/dropdown/resources.js +3 -3
- package/dist/collection/components/dropdown-group/dropdown-group.js +4 -4
- package/dist/collection/components/dropdown-group/resources.js +2 -2
- package/dist/collection/components/dropdown-item/dropdown-item.js +5 -5
- package/dist/collection/components/dropdown-item/resources.js +2 -2
- package/dist/collection/components/fab/fab.js +4 -4
- package/dist/collection/components/fab/resources.js +3 -3
- package/dist/collection/components/filter/filter.js +5 -5
- package/dist/collection/components/filter/resources.js +3 -3
- package/dist/collection/components/flow/flow.js +3 -3
- package/dist/collection/components/flow/resources.js +2 -2
- package/dist/collection/components/flow-item/flow-item.js +6 -6
- package/dist/collection/components/flow-item/resources.js +4 -4
- package/dist/collection/components/functional/ExpandToggle.js +5 -5
- package/dist/collection/components/functional/FloatingArrow.js +4 -4
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +3 -3
- package/dist/collection/components/graph/graph.js +2 -2
- package/dist/collection/components/graph/util.js +2 -2
- package/dist/collection/components/handle/handle.js +4 -4
- package/dist/collection/components/handle/resources.js +3 -3
- package/dist/collection/components/icon/icon.js +2 -2
- package/dist/collection/components/icon/resources.js +2 -2
- package/dist/collection/components/icon/utils.js +2 -2
- package/dist/collection/components/inline-editable/inline-editable.js +8 -8
- package/dist/collection/components/inline-editable/resources.js +2 -2
- package/dist/collection/components/input/input.js +28 -58
- package/dist/collection/components/input/resources.js +4 -4
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/index.d.ts +1 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages.json +2 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_en.json +2 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +12 -0
- package/dist/collection/components/input-date-picker/input-date-picker.js +28 -27
- package/dist/collection/components/input-date-picker/resources.js +3 -2
- 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 +26 -26
- package/dist/collection/components/input-number/resources.js +3 -3
- package/dist/collection/components/input-text/input-text.js +15 -15
- package/dist/collection/components/input-text/resources.js +3 -3
- package/dist/collection/components/input-time-picker/input-time-picker.js +34 -34
- package/dist/collection/components/input-time-picker/resources.js +2 -2
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/resources.js +2 -2
- package/dist/collection/components/link/link.js +3 -3
- package/dist/collection/components/list/list.js +8 -8
- package/dist/collection/components/list/resources.js +3 -3
- package/dist/collection/components/list-item/list-item.js +10 -10
- package/dist/collection/components/list-item/resources.js +4 -4
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +2 -2
- package/dist/collection/components/list-item-group/resources.js +2 -2
- package/dist/collection/components/loader/loader.js +4 -4
- package/dist/collection/components/menu/menu.js +6 -6
- package/dist/collection/components/menu-item/menu-item.js +9 -9
- package/dist/collection/components/menu-item/resources.js +2 -2
- package/dist/collection/components/modal/modal.js +10 -10
- package/dist/collection/components/modal/resources.js +5 -5
- package/dist/collection/components/navigation/navigation.js +4 -4
- package/dist/collection/components/navigation/resources.js +4 -4
- package/dist/collection/components/navigation-logo/navigation-logo.js +3 -3
- package/dist/collection/components/navigation-logo/resources.js +2 -2
- package/dist/collection/components/navigation-user/navigation-user.js +2 -2
- package/dist/collection/components/navigation-user/resources.js +2 -2
- package/dist/collection/components/notice/notice.js +5 -5
- package/dist/collection/components/notice/resources.js +3 -3
- package/dist/collection/components/option/option.js +3 -3
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +10 -10
- package/dist/collection/components/pagination/resources.js +2 -2
- package/dist/collection/components/panel/panel.js +13 -13
- package/dist/collection/components/panel/resources.js +4 -4
- package/dist/collection/components/pick-list/pick-list.js +5 -5
- package/dist/collection/components/pick-list/resources.js +4 -4
- package/dist/collection/components/pick-list/shared-list-logic.js +2 -2
- package/dist/collection/components/pick-list/shared-list-render.js +2 -2
- package/dist/collection/components/pick-list-group/pick-list-group.js +3 -3
- package/dist/collection/components/pick-list-group/resources.js +3 -3
- package/dist/collection/components/pick-list-item/pick-list-item.js +8 -8
- package/dist/collection/components/pick-list-item/resources.js +4 -4
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +12 -12
- package/dist/collection/components/popover/resources.js +2 -2
- package/dist/collection/components/progress/progress.js +2 -2
- package/dist/collection/components/radio-button/radio-button.js +5 -5
- package/dist/collection/components/radio-button/resources.js +2 -2
- package/dist/collection/components/radio-button-group/radio-button-group.js +3 -3
- package/dist/collection/components/rating/function/star.js +2 -2
- package/dist/collection/components/rating/rating.js +8 -8
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +3 -3
- package/dist/collection/components/scrim/scrim.js +2 -2
- package/dist/collection/components/segmented-control/segmented-control.js +5 -5
- package/dist/collection/components/segmented-control-item/resources.js +3 -3
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +3 -3
- package/dist/collection/components/select/resources.js +2 -2
- package/dist/collection/components/select/select.js +6 -6
- package/dist/collection/components/shell/resources.js +3 -3
- package/dist/collection/components/shell/shell.js +5 -5
- package/dist/collection/components/shell-center-row/resources.js +3 -3
- package/dist/collection/components/shell-center-row/shell-center-row.js +2 -2
- package/dist/collection/components/shell-panel/resources.js +3 -3
- package/dist/collection/components/shell-panel/shell-panel.js +9 -9
- package/dist/collection/components/slider/resources.js +2 -2
- package/dist/collection/components/slider/slider.js +26 -26
- package/dist/collection/components/sortable-list/resources.js +2 -2
- package/dist/collection/components/sortable-list/sortable-list.js +5 -5
- package/dist/collection/components/split-button/resources.js +2 -2
- package/dist/collection/components/split-button/split-button.js +5 -5
- package/dist/collection/components/stack/resources.js +3 -3
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +5 -5
- package/dist/collection/components/stepper-item/stepper-item.js +10 -10
- package/dist/collection/components/switch/switch.js +5 -5
- package/dist/collection/components/tab/tab.js +3 -3
- package/dist/collection/components/tab-nav/tab-nav.js +5 -5
- package/dist/collection/components/tab-title/resources.js +3 -3
- package/dist/collection/components/tab-title/tab-title.js +6 -6
- package/dist/collection/components/tabs/resources.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +3 -3
- package/dist/collection/components/text-area/text-area.js +12 -12
- package/dist/collection/components/tile/resources.js +2 -2
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/tile-select/resources.js +2 -2
- package/dist/collection/components/tile-select/tile-select.js +6 -6
- package/dist/collection/components/tile-select-group/tile-select-group.js +2 -2
- package/dist/collection/components/time-picker/resources.js +2 -2
- package/dist/collection/components/time-picker/time-picker.js +24 -24
- package/dist/collection/components/tip/resources.js +4 -4
- package/dist/collection/components/tip/tip.js +4 -4
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +4 -4
- package/dist/collection/components/tip-manager/tip-manager.js +4 -4
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +8 -8
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +2 -2
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +4 -4
- package/dist/collection/components/tree-item/tree-item.js +13 -13
- package/dist/collection/components/value-list/resources.js +3 -3
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +8 -8
- package/dist/collection/components/value-list-item/resources.js +3 -3
- package/dist/collection/components/value-list-item/value-list-item.js +6 -6
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +2 -2
- package/dist/collection/utils/date.js +2 -2
- package/dist/collection/utils/dom.js +4 -4
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +22 -22
- package/dist/collection/utils/focusTrapComponent.js +2 -2
- package/dist/collection/utils/form.js +3 -3
- 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 +2 -2
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +8 -8
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +2 -2
- package/dist/collection/utils/number.js +2 -2
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +2 -2
- package/dist/collection/utils/resources.js +7 -7
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +2 -2
- package/dist/collection/utils/time.js +7 -7
- package/dist/components/ExpandToggle.js +9 -9
- package/dist/components/FloatingArrow.js +4 -4
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +3 -3
- package/dist/components/action-menu.js +8 -8
- package/dist/components/action.js +8 -8
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +3 -3
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +5 -5
- package/dist/components/calcite-accordion.js +3 -3
- package/dist/components/calcite-action-bar.js +5 -5
- 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 +3 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +8 -8
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +6 -6
- package/dist/components/calcite-block.js +6 -6
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- 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 +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +30 -33
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +6 -6
- package/dist/components/calcite-combobox.js +12 -12
- 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 +4 -4
- package/dist/components/calcite-dropdown-item.js +4 -4
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +4 -4
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +5 -5
- package/dist/components/calcite-flow.js +3 -3
- 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 +5 -5
- package/dist/components/calcite-input-date-picker.js +20 -18
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +2 -394
- package/dist/components/calcite-input-time-picker.js +28 -28
- 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 +2 -2
- package/dist/components/calcite-list-item.js +6 -6
- package/dist/components/calcite-list.js +7 -7
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +7 -7
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +7 -7
- package/dist/components/calcite-navigation-logo.js +3 -3
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation.js +5 -5
- package/dist/components/calcite-notice.js +3 -3
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +3 -3
- package/dist/components/calcite-pagination.js +7 -7
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-rating.js +5 -5
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +4 -4
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +3 -3
- package/dist/components/calcite-shell-center-row.js +3 -3
- package/dist/components/calcite-shell-panel.js +8 -8
- package/dist/components/calcite-shell.js +6 -6
- package/dist/components/calcite-slider.js +22 -22
- package/dist/components/calcite-sortable-list.js +4 -4
- package/dist/components/calcite-split-button.js +3 -3
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +6 -6
- package/dist/components/calcite-stepper.js +4 -4
- 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 +9 -9
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +4 -4
- 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 +4 -4
- package/dist/components/calcite-tip.js +4 -4
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +12 -12
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +4 -4
- package/dist/components/calcite-value-list.js +3 -3
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +6 -6
- package/dist/components/color-picker-hex-input.js +26 -27
- package/dist/components/color-picker-swatch.js +7 -7
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +9 -9
- package/dist/components/date-picker-month.js +6 -6
- package/dist/components/date-picker.js +6 -6
- package/dist/components/date.js +2 -2
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +5 -5
- package/dist/components/dropdown.js +6 -6
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +3 -3
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +22 -21
- package/dist/components/focusTrapComponent.js +2 -2
- package/dist/components/form.js +3 -3
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +3 -3
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -3
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +4 -4
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +20 -20
- package/dist/components/input-text.js +400 -0
- package/dist/components/input.js +24 -36
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +3 -3
- 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 +4 -4
- package/dist/components/locale.js +9 -9
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +2 -2
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +2 -2
- package/dist/components/panel.js +12 -12
- package/dist/components/pick-list-item.js +6 -6
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +7 -7
- package/dist/components/progress.js +2 -2
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +3 -3
- package/dist/components/resources3.js +3 -3
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +3 -3
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +3 -3
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +2 -2
- package/dist/components/tab-nav.js +3 -3
- package/dist/components/tab-title.js +5 -5
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +2 -2
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +3 -3
- package/dist/components/time-picker.js +26 -26
- package/dist/components/tooltip.js +6 -6
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +3 -3
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +4 -4
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-0e5f31bd.js → ExpandToggle-ae121a66.js} +13 -13
- package/dist/esm/{FloatingArrow-1218fa99.js → FloatingArrow-8c998432.js} +5 -5
- package/dist/esm/{Heading-8664dd40.js → Heading-054e0429.js} +2 -2
- package/dist/esm/{app-globals-bbcd4eaf.js → app-globals-2715dfad.js} +3 -3
- package/dist/esm/{ar-a993800e.js → ar-01a388a2.js} +15 -15
- package/dist/esm/{array-0f5895c2.js → array-719fed1f.js} +1 -1
- package/dist/esm/{bg-f2929321.js → bg-b3a6b727.js} +15 -15
- package/dist/esm/{bs-0b3f8380.js → bs-553ff6b8.js} +15 -15
- package/dist/esm/{ca-2faadc92.js → ca-0d120a6e.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +13 -13
- package/dist/esm/calcite-action-bar.entry.js +19 -19
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +13 -13
- package/dist/esm/calcite-action-pad.entry.js +16 -16
- package/dist/esm/calcite-action.entry.js +18 -18
- package/dist/esm/calcite-alert.entry.js +19 -19
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +23 -23
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card.entry.js +12 -12
- 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 +17 -17
- package/dist/esm/calcite-color-picker_3.entry.js +65 -69
- package/dist/esm/calcite-combobox_3.entry.js +36 -36
- package/dist/esm/calcite-date-picker_4.entry.js +32 -32
- package/dist/esm/calcite-dropdown_3.entry.js +23 -23
- package/dist/esm/calcite-fab.entry.js +10 -10
- package/dist/esm/calcite-filter.entry.js +15 -15
- package/dist/esm/calcite-flow-item.entry.js +16 -16
- package/dist/esm/calcite-flow.entry.js +6 -6
- package/dist/esm/calcite-graph_2.entry.js +36 -36
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-icon.entry.js +9 -9
- package/dist/esm/calcite-inline-editable.entry.js +16 -16
- package/dist/esm/calcite-input-date-picker.entry.js +37 -35
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +32 -32
- package/dist/esm/calcite-input-text.entry.js +24 -24
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-c13af59a.js → calcite-input-time-picker.calcite-time-picker-91c37dcc.js} +111 -111
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input.entry.js +35 -46
- package/dist/esm/calcite-label.entry.js +8 -8
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +28 -28
- package/dist/esm/calcite-loader.entry.js +6 -6
- package/dist/esm/calcite-menu_2.entry.js +17 -17
- package/dist/esm/calcite-modal.entry.js +19 -19
- package/dist/esm/calcite-navigation_3.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +14 -14
- package/dist/esm/calcite-pagination.entry.js +16 -16
- package/dist/esm/calcite-panel.entry.js +22 -22
- package/dist/esm/calcite-pick-list_3.entry.js +19 -19
- package/dist/esm/calcite-popover.entry.js +22 -22
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +17 -17
- package/dist/esm/calcite-scrim.entry.js +11 -11
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
- package/dist/esm/calcite-shell_3.entry.js +25 -25
- package/dist/esm/calcite-sortable-list.entry.js +11 -11
- package/dist/esm/calcite-split-button.entry.js +6 -6
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +18 -18
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +18 -18
- package/dist/esm/calcite-text-area.entry.js +23 -23
- package/dist/esm/calcite-tile-select_2.entry.js +8 -8
- package/dist/esm/calcite-tile.entry.js +10 -10
- package/dist/esm/calcite-tip_3.entry.js +17 -17
- package/dist/esm/calcite-tooltip.entry.js +14 -14
- package/dist/esm/calcite-tree_2.entry.js +19 -19
- package/dist/esm/calcite-value-list_2.entry.js +21 -21
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-5d49def7.js → conditionalSlot-b0d57dba.js} +3 -3
- package/dist/esm/{cs-0e80daad.js → cs-8bed1db9.js} +15 -15
- package/dist/esm/{da-8047ecaa.js → da-edc7113c.js} +15 -15
- package/dist/esm/{de-91c21312.js → de-a8145642.js} +15 -15
- package/dist/esm/{de-at-eea5274a.js → de-at-c5da7207.js} +15 -15
- package/dist/esm/{de-ch-1e78c9d5.js → de-ch-7c83afbe.js} +15 -15
- package/dist/esm/{debounce-a9cd97a3.js → debounce-d30ce37b.js} +1 -1
- package/dist/esm/{dom-c9560d6f.js → dom-a979a807.js} +6 -6
- package/dist/esm/{el-dd117d92.js → el-f5a3b066.js} +15 -15
- package/dist/esm/{en-au-cbdb64df.js → en-au-80842269.js} +15 -15
- package/dist/esm/{en-ca-7d9eda56.js → en-ca-264bae2c.js} +15 -15
- package/dist/esm/{en-gb-ef7c5823.js → en-gb-a5460b58.js} +15 -15
- package/dist/esm/{es-c080fc99.js → es-c88db846.js} +15 -15
- package/dist/esm/{es-mx-f85070b4.js → es-mx-82150d90.js} +15 -15
- package/dist/esm/{et-920f3380.js → et-ba9909c7.js} +15 -15
- package/dist/esm/{fi-3715ca90.js → fi-37d06d82.js} +15 -15
- package/dist/esm/{filter-1fa6ad9a.js → filter-6f1cb2f0.js} +2 -2
- package/dist/esm/{floating-ui-a501f7d0.js → floating-ui-26a1e2c4.js} +24 -23
- package/dist/esm/{focusTrapComponent-fb1456ee.js → focusTrapComponent-a3cecae9.js} +3 -3
- package/dist/esm/{form-41d67af8.js → form-7b4f12ef.js} +5 -5
- package/dist/esm/{fr-b690f428.js → fr-5793025a.js} +15 -15
- package/dist/esm/{fr-ch-c4a29265.js → fr-ch-ac8d2e37.js} +15 -15
- package/dist/esm/{guid-39e306df.js → guid-a6c1d1f7.js} +1 -1
- package/dist/esm/{he-5a759efe.js → he-8b12bf25.js} +15 -15
- package/dist/esm/{hi-bd96abb7.js → hi-007f2f05.js} +15 -15
- package/dist/esm/{hr-1f8f92fc.js → hr-68cfd72e.js} +15 -15
- package/dist/esm/{hu-9f1e5cf2.js → hu-429e94dc.js} +15 -15
- package/dist/esm/{id-e847206f.js → id-97b870cf.js} +15 -15
- package/dist/esm/{index-cbaf8662.js → index-c81474f2.js} +5 -5
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-7ff06be1.js → interactive-1789d90d.js} +1 -1
- package/dist/esm/{it-6e7599f6.js → it-1f01bcc1.js} +15 -15
- package/dist/esm/{it-ch-05276aa8.js → it-ch-ea13bf84.js} +15 -15
- package/dist/esm/{ja-1a22c7c3.js → ja-67111011.js} +15 -15
- package/dist/esm/{key-d00a22d1.js → key-664a3425.js} +1 -1
- package/dist/esm/{ko-7cae1154.js → ko-57d661db.js} +15 -15
- package/dist/esm/{label-3d41157b.js → label-b2932581.js} +2 -2
- package/dist/esm/{loadable-06aee5dd.js → loadable-56adcd3c.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-e807ce48.js → locale-29b77984.js} +12 -12
- package/dist/esm/{lt-ff63e1bb.js → lt-cd18ebef.js} +15 -15
- package/dist/esm/{lv-97302b76.js → lv-8b3ed42d.js} +15 -15
- package/dist/esm/{math-0ec25d23.js → math-cbaf0048.js} +1 -1
- package/dist/esm/{mk-05c19706.js → mk-564340f0.js} +15 -15
- package/dist/esm/{nb-fe53c80d.js → nb-056f4c64.js} +15 -15
- package/dist/esm/{nl-7c03bcb8.js → nl-cdeacc57.js} +15 -15
- package/dist/esm/{observers-0e9021a0.js → observers-dd42a094.js} +1 -1
- package/dist/esm/{openCloseComponent-a6ce5101.js → openCloseComponent-1361a6cb.js} +3 -3
- package/dist/esm/{pl-32bec0ba.js → pl-a3b84d37.js} +15 -15
- package/dist/esm/{pt-60fafae7.js → pt-bedcf0aa.js} +15 -15
- package/dist/esm/{pt-br-e4493873.js → pt-br-4553c5ef.js} +15 -15
- package/dist/esm/{resources-15ca79d2.js → resources-34f7dce1.js} +4 -4
- package/dist/esm/{resources-f2671f54.js → resources-63bf0ebc.js} +1 -1
- package/dist/esm/{resources-8aa7246b.js → resources-795d544c.js} +3 -3
- package/dist/esm/{resources-1b899bdc.js → resources-b0c7273e.js} +14 -14
- package/dist/esm/{resources-ef51b0d6.js → resources-caf38625.js} +3 -3
- package/dist/esm/{resources-c4d82f43.js → resources-d81310ba.js} +2 -2
- package/dist/esm/{resources-3b3cf1b9.js → resources-dd744795.js} +4 -4
- package/dist/esm/{ro-67ee0b14.js → ro-019e2f8b.js} +15 -15
- package/dist/esm/{ru-6f64ca50.js → ru-e28e6a9d.js} +15 -15
- package/dist/esm/{sk-b6a5e35e.js → sk-e3dd607e.js} +15 -15
- package/dist/esm/{sl-cebadd2a.js → sl-5d773eba.js} +15 -15
- package/dist/esm/{sortableComponent-df6e4b11.js → sortableComponent-423af848.js} +2 -2
- package/dist/esm/{sr-b54f0b66.js → sr-d3c16dac.js} +15 -15
- package/dist/esm/{sv-e257829c.js → sv-ae045d92.js} +15 -15
- package/dist/esm/{t9n-3ec5fefb.js → t9n-0272eefa.js} +4 -4
- package/dist/esm/{th-064f8d76.js → th-9ffe071c.js} +15 -15
- package/dist/esm/{throttle-3a645840.js → throttle-85f590ec.js} +2 -2
- package/dist/esm/{tr-5e5319b5.js → tr-f62ce80b.js} +15 -15
- package/dist/esm/{uk-e843d3e6.js → uk-8d44040b.js} +15 -15
- package/dist/esm/{utils-86b506fe.js → utils-0d239799.js} +3 -3
- package/dist/esm/{utils-3c6a59f8.js → utils-a9dc10ab.js} +4 -4
- package/dist/esm/{vi-963166db.js → vi-e6b72486.js} +15 -15
- package/dist/esm/{zh-cn-23f83621.js → zh-cn-15a56424.js} +15 -15
- package/dist/esm/{zh-hk-43c12de5.js → zh-hk-ee937e80.js} +15 -15
- package/dist/esm/{zh-tw-6a332602.js → zh-tw-24153267.js} +15 -15
- package/dist/extras/docs-json.json +23 -22
- package/dist/extras/translations-json.json +1 -1
- 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/action-bar/utils.d.ts +2 -2
- package/dist/types/components/functional/ExpandToggle.d.ts +1 -1
- package/dist/types/components/functional/XButton.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +0 -2
- package/dist/types/components/input-date-picker/assets/input-date-picker/t9n/index.d.ts +1 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -0
- package/dist/types/components/input-date-picker/resources.d.ts +1 -0
- package/dist/types/components.d.ts +0 -1
- package/dist/types/utils/dom.d.ts +1 -1
- package/dist/types/utils/floating-ui.d.ts +1 -1
- package/dist/types/utils/number.d.ts +1 -1
- package/dist/types/utils/time.d.ts +2 -2
- package/hydrate/index.js +540 -553
- package/package.json +4 -4
- package/readme.md +2 -2
- package/dist/calcite/p-240f563e.js +0 -6
- package/dist/calcite/p-29489ab6.entry.js +0 -6
- package/dist/calcite/p-3f50dacb.js +0 -6
- package/dist/calcite/p-6a650ff2.entry.js +0 -6
- package/dist/calcite/p-7a455162.entry.js +0 -6
- package/dist/calcite/p-aed12e33.js +0 -6
- package/dist/calcite/p-b4d1ae8a.entry.js +0 -6
- package/dist/calcite/p-c77f458e.js +0 -6
- package/dist/calcite/p-d0dbfb49.entry.js +0 -6
- package/dist/calcite/p-d1ff2cda.entry.js +0 -6
- package/dist/calcite/p-d61146ad.js +0 -6
- package/dist/calcite/p-e6e6e283.entry.js +0 -6
- package/dist/calcite/p-f096fc9c.entry.js +0 -6
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import { h } from "@stencil/core";
|
|
6
|
+
import { h, } from "@stencil/core";
|
|
7
7
|
import Color from "color";
|
|
8
8
|
import { throttle } from "lodash-es";
|
|
9
9
|
import { getElementDir, isPrimaryPointerButton } from "../../utils/dom";
|
|
10
|
-
import { CSS, DEFAULT_COLOR, DEFAULT_STORAGE_KEY_PREFIX, DIMENSIONS, HSV_LIMITS, OPACITY_LIMITS, RGB_LIMITS } from "./resources";
|
|
11
|
-
import { alphaCompatible, alphaToOpacity, colorEqual, CSSColorMode, hexify, normalizeAlpha, normalizeColor, normalizeHex, opacityToAlpha, parseMode, toAlphaMode, toNonAlphaMode } from "./utils";
|
|
12
|
-
import { connectInteractive, disconnectInteractive, updateHostInteraction } from "../../utils/interactive";
|
|
10
|
+
import { CSS, DEFAULT_COLOR, DEFAULT_STORAGE_KEY_PREFIX, DIMENSIONS, HSV_LIMITS, OPACITY_LIMITS, RGB_LIMITS, } from "./resources";
|
|
11
|
+
import { alphaCompatible, alphaToOpacity, colorEqual, CSSColorMode, hexify, normalizeAlpha, normalizeColor, normalizeHex, opacityToAlpha, parseMode, toAlphaMode, toNonAlphaMode, } from "./utils";
|
|
12
|
+
import { connectInteractive, disconnectInteractive, updateHostInteraction, } from "../../utils/interactive";
|
|
13
13
|
import { isActivationKey } from "../../utils/key";
|
|
14
|
-
import { componentFocusable, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
15
|
-
import { connectLocalized, disconnectLocalized } from "../../utils/locale";
|
|
14
|
+
import { componentFocusable, setComponentLoaded, setUpLoadableComponent, } from "../../utils/loadable";
|
|
15
|
+
import { connectLocalized, disconnectLocalized, } from "../../utils/locale";
|
|
16
16
|
import { clamp } from "../../utils/math";
|
|
17
|
-
import { connectMessages, disconnectMessages, setUpMessages, updateMessages } from "../../utils/t9n";
|
|
17
|
+
import { connectMessages, disconnectMessages, setUpMessages, updateMessages, } from "../../utils/t9n";
|
|
18
18
|
const throttleFor60FpsInMs = 16;
|
|
19
19
|
export class ColorPicker {
|
|
20
20
|
constructor() {
|
|
@@ -31,7 +31,7 @@ export class ColorPicker {
|
|
|
31
31
|
ArrowUp: { x: 0, y: -10 },
|
|
32
32
|
ArrowRight: { x: 10, y: 0 },
|
|
33
33
|
ArrowDown: { x: 0, y: 10 },
|
|
34
|
-
ArrowLeft: { x: -10, y: 0 }
|
|
34
|
+
ArrowLeft: { x: -10, y: 0 },
|
|
35
35
|
};
|
|
36
36
|
if (arrowKeyToXYOffset[key]) {
|
|
37
37
|
event.preventDefault();
|
|
@@ -46,7 +46,7 @@ export class ColorPicker {
|
|
|
46
46
|
ArrowUp: 1,
|
|
47
47
|
ArrowRight: 1,
|
|
48
48
|
ArrowDown: -1,
|
|
49
|
-
ArrowLeft: -1
|
|
49
|
+
ArrowLeft: -1,
|
|
50
50
|
};
|
|
51
51
|
if (arrowKeyToXOffset[key]) {
|
|
52
52
|
event.preventDefault();
|
|
@@ -94,9 +94,6 @@ export class ColorPicker {
|
|
|
94
94
|
inputValue = clamped.toString();
|
|
95
95
|
}
|
|
96
96
|
input.value = inputValue;
|
|
97
|
-
// TODO: refactor calcite-input so we don't need to sync the internals
|
|
98
|
-
// https://github.com/Esri/calcite-design-system/issues/6100
|
|
99
|
-
input.internalSyncChildElValue();
|
|
100
97
|
};
|
|
101
98
|
this.handleChannelChange = (event) => {
|
|
102
99
|
const input = event.currentTarget;
|
|
@@ -128,7 +125,7 @@ export class ColorPicker {
|
|
|
128
125
|
document.addEventListener("pointerup", this.globalPointerUpHandler, { once: true });
|
|
129
126
|
this.activeCanvasInfo = {
|
|
130
127
|
context: this.colorFieldRenderingContext,
|
|
131
|
-
bounds: this.colorFieldRenderingContext.canvas.getBoundingClientRect()
|
|
128
|
+
bounds: this.colorFieldRenderingContext.canvas.getBoundingClientRect(),
|
|
132
129
|
};
|
|
133
130
|
this.captureColorFieldColor(offsetX, offsetY);
|
|
134
131
|
this.colorFieldScopeNode.focus();
|
|
@@ -142,7 +139,7 @@ export class ColorPicker {
|
|
|
142
139
|
document.addEventListener("pointerup", this.globalPointerUpHandler, { once: true });
|
|
143
140
|
this.activeCanvasInfo = {
|
|
144
141
|
context: this.hueSliderRenderingContext,
|
|
145
|
-
bounds: this.hueSliderRenderingContext.canvas.getBoundingClientRect()
|
|
142
|
+
bounds: this.hueSliderRenderingContext.canvas.getBoundingClientRect(),
|
|
146
143
|
};
|
|
147
144
|
this.captureHueSliderColor(offsetX);
|
|
148
145
|
this.hueScopeNode.focus();
|
|
@@ -156,7 +153,7 @@ export class ColorPicker {
|
|
|
156
153
|
document.addEventListener("pointerup", this.globalPointerUpHandler, { once: true });
|
|
157
154
|
this.activeCanvasInfo = {
|
|
158
155
|
context: this.opacitySliderRenderingContext,
|
|
159
|
-
bounds: this.opacitySliderRenderingContext.canvas.getBoundingClientRect()
|
|
156
|
+
bounds: this.opacitySliderRenderingContext.canvas.getBoundingClientRect(),
|
|
160
157
|
};
|
|
161
158
|
this.captureOpacitySliderValue(offsetX);
|
|
162
159
|
this.opacityScopeNode.focus();
|
|
@@ -248,13 +245,13 @@ export class ColorPicker {
|
|
|
248
245
|
}))));
|
|
249
246
|
};
|
|
250
247
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
251
|
-
return (h("calcite-input", { class: CSS.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem,
|
|
248
|
+
return (h("calcite-input-number", { class: CSS.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.handleChannelChange, onCalciteInputNumberInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, scale: this.scale === "l" ? "m" : "s",
|
|
252
249
|
// workaround to ensure input borders overlap as desired
|
|
253
250
|
// this is because the build transforms margin-left to its
|
|
254
251
|
// logical-prop, which is undesired as channels are always ltr
|
|
255
252
|
style: {
|
|
256
|
-
marginLeft: index > 0 && !(this.scale === "s" && this.alphaChannel && index === 3) ? "-1px" : ""
|
|
257
|
-
}, suffixText: suffix,
|
|
253
|
+
marginLeft: index > 0 && !(this.scale === "s" && this.alphaChannel && index === 3) ? "-1px" : "",
|
|
254
|
+
}, suffixText: suffix, value: value?.toString() }));
|
|
258
255
|
};
|
|
259
256
|
this.deleteColor = () => {
|
|
260
257
|
const colorToDelete = hexify(this.color, this.alphaChannel);
|
|
@@ -296,7 +293,7 @@ export class ColorPicker {
|
|
|
296
293
|
}
|
|
297
294
|
}, throttleFor60FpsInMs);
|
|
298
295
|
this.captureColorFieldColor = (x, y, skipEqual = true) => {
|
|
299
|
-
const { dimensions: { colorField: { height, width } } } = this;
|
|
296
|
+
const { dimensions: { colorField: { height, width }, }, } = this;
|
|
300
297
|
const saturation = Math.round((HSV_LIMITS.s / width) * x);
|
|
301
298
|
const value = Math.round((HSV_LIMITS.v / height) * (height - y));
|
|
302
299
|
this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(saturation).value(value), skipEqual);
|
|
@@ -326,7 +323,7 @@ export class ColorPicker {
|
|
|
326
323
|
ArrowUp: 1,
|
|
327
324
|
ArrowRight: 1,
|
|
328
325
|
ArrowDown: -1,
|
|
329
|
-
ArrowLeft: -1
|
|
326
|
+
ArrowLeft: -1,
|
|
330
327
|
};
|
|
331
328
|
if (arrowKeyToXOffset[key]) {
|
|
332
329
|
event.preventDefault();
|
|
@@ -510,7 +507,7 @@ export class ColorPicker {
|
|
|
510
507
|
//
|
|
511
508
|
//--------------------------------------------------------------------------
|
|
512
509
|
render() {
|
|
513
|
-
const { allowEmpty, channelsDisabled, color, colorFieldScopeLeft, colorFieldScopeTop, dimensions: { colorField: { width: colorFieldWidth }, slider: { width: sliderWidth }, thumb: { radius: thumbRadius } }, hexDisabled, hideChannels, hideHex, hideSaved, hueScopeLeft, messages, alphaChannel, opacityScopeLeft, savedColors, savedDisabled, scale, scopeOrientation } = this;
|
|
510
|
+
const { allowEmpty, channelsDisabled, color, colorFieldScopeLeft, colorFieldScopeTop, dimensions: { colorField: { width: colorFieldWidth }, slider: { width: sliderWidth }, thumb: { radius: thumbRadius }, }, hexDisabled, hideChannels, hideHex, hideSaved, hueScopeLeft, messages, alphaChannel, opacityScopeLeft, savedColors, savedDisabled, scale, scopeOrientation, } = this;
|
|
514
511
|
const selectedColorInHex = color ? hexify(color, alphaChannel) : null;
|
|
515
512
|
const hueTop = thumbRadius;
|
|
516
513
|
const hueLeft = hueScopeLeft ?? (sliderWidth * DEFAULT_COLOR.hue()) / HSV_LIMITS.h;
|
|
@@ -536,12 +533,12 @@ export class ColorPicker {
|
|
|
536
533
|
// eslint-disable-next-line react/jsx-sort-props
|
|
537
534
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (h("div", { class: {
|
|
538
535
|
[CSS.controlSection]: true,
|
|
539
|
-
[CSS.section]: true
|
|
536
|
+
[CSS.section]: true,
|
|
540
537
|
} }, h("div", { class: CSS.hexAndChannelsGroup }, noHex ? null : (h("div", { class: CSS.hexOptions }, h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (h("calcite-tabs", { class: {
|
|
541
538
|
[CSS.colorModeContainer]: true,
|
|
542
|
-
[CSS.splitSection]: true
|
|
539
|
+
[CSS.splitSection]: true,
|
|
543
540
|
}, scale: scale === "l" ? "m" : "s" }, h("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (h("div", { class: { [CSS.savedColorsSection]: true, [CSS.section]: true } }, h("div", { class: CSS.header }, h("label", null, messages.saved), h("div", { class: CSS.savedColorsButtons }, h("calcite-button", { appearance: "transparent", class: CSS.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), h("calcite-button", { appearance: "transparent", class: CSS.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (h("div", { class: CSS.savedColors }, [
|
|
544
|
-
...savedColors.map((color) => (h("calcite-color-picker-swatch", { class: CSS.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
541
|
+
...savedColors.map((color) => (h("calcite-color-picker-swatch", { class: CSS.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
|
|
545
542
|
])) : null))));
|
|
546
543
|
}
|
|
547
544
|
// --------------------------------------------------------------------------
|
|
@@ -581,12 +578,12 @@ export class ColorPicker {
|
|
|
581
578
|
return mode;
|
|
582
579
|
}
|
|
583
580
|
captureHueSliderColor(x) {
|
|
584
|
-
const { dimensions: { slider: { width } } } = this;
|
|
581
|
+
const { dimensions: { slider: { width }, }, } = this;
|
|
585
582
|
const hue = (360 / width) * x;
|
|
586
583
|
this.internalColorSet(this.baseColorFieldColor.hue(hue), false);
|
|
587
584
|
}
|
|
588
585
|
captureOpacitySliderValue(x) {
|
|
589
|
-
const { dimensions: { slider: { width } } } = this;
|
|
586
|
+
const { dimensions: { slider: { width }, }, } = this;
|
|
590
587
|
const alpha = opacityToAlpha((OPACITY_LIMITS.max / width) * x);
|
|
591
588
|
this.internalColorSet(this.baseColorFieldColor.alpha(alpha), false);
|
|
592
589
|
}
|
|
@@ -628,7 +625,7 @@ export class ColorPicker {
|
|
|
628
625
|
return colorObject;
|
|
629
626
|
}
|
|
630
627
|
getSliderCapSpacing() {
|
|
631
|
-
const { dimensions: { slider: { height }, thumb: { radius } } } = this;
|
|
628
|
+
const { dimensions: { slider: { height }, thumb: { radius }, }, } = this;
|
|
632
629
|
return radius * 2 - height;
|
|
633
630
|
}
|
|
634
631
|
updateDimensions(scale = "m") {
|
|
@@ -636,7 +633,7 @@ export class ColorPicker {
|
|
|
636
633
|
}
|
|
637
634
|
drawColorField() {
|
|
638
635
|
const context = this.colorFieldRenderingContext;
|
|
639
|
-
const { dimensions: { colorField: { height, width } } } = this;
|
|
636
|
+
const { dimensions: { colorField: { height, width }, }, } = this;
|
|
640
637
|
context.fillStyle = this.baseColorFieldColor
|
|
641
638
|
.hsv()
|
|
642
639
|
.saturationv(100)
|
|
@@ -675,7 +672,7 @@ export class ColorPicker {
|
|
|
675
672
|
}
|
|
676
673
|
const adjustedSliderDimensions = {
|
|
677
674
|
width: dimensions.slider.width,
|
|
678
|
-
height: dimensions.slider.height + (dimensions.thumb.radius - dimensions.slider.height / 2) * 2
|
|
675
|
+
height: dimensions.slider.height + (dimensions.thumb.radius - dimensions.slider.height / 2) * 2,
|
|
679
676
|
};
|
|
680
677
|
if (context === "all" || context === "hue-slider") {
|
|
681
678
|
this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas, adjustedSliderDimensions);
|
|
@@ -690,7 +687,7 @@ export class ColorPicker {
|
|
|
690
687
|
return;
|
|
691
688
|
}
|
|
692
689
|
const hsvColor = color.hsv();
|
|
693
|
-
const { dimensions: { colorField: { height, width }, thumb: { radius } } } = this;
|
|
690
|
+
const { dimensions: { colorField: { height, width }, thumb: { radius }, }, } = this;
|
|
694
691
|
const x = hsvColor.saturationv() / (HSV_LIMITS.s / width);
|
|
695
692
|
const y = height - hsvColor.value() / (HSV_LIMITS.v / height);
|
|
696
693
|
requestAnimationFrame(() => {
|
|
@@ -722,7 +719,7 @@ export class ColorPicker {
|
|
|
722
719
|
return;
|
|
723
720
|
}
|
|
724
721
|
const hsvColor = color.hsv().saturationv(100).value(100);
|
|
725
|
-
const { dimensions: { slider: { height, width }, thumb: { radius } } } = this;
|
|
722
|
+
const { dimensions: { slider: { height, width }, thumb: { radius }, }, } = this;
|
|
726
723
|
const x = hsvColor.hue() / (360 / width);
|
|
727
724
|
const y = radius - height / 2 + height / 2;
|
|
728
725
|
requestAnimationFrame(() => {
|
|
@@ -732,7 +729,7 @@ export class ColorPicker {
|
|
|
732
729
|
}
|
|
733
730
|
drawHueSlider() {
|
|
734
731
|
const context = this.hueSliderRenderingContext;
|
|
735
|
-
const { dimensions: { slider: { height, width }, thumb: { radius: thumbRadius } } } = this;
|
|
732
|
+
const { dimensions: { slider: { height, width }, thumb: { radius: thumbRadius }, }, } = this;
|
|
736
733
|
const x = 0;
|
|
737
734
|
const y = thumbRadius - height / 2;
|
|
738
735
|
const gradient = context.createLinearGradient(0, 0, width, 0);
|
|
@@ -754,7 +751,7 @@ export class ColorPicker {
|
|
|
754
751
|
}
|
|
755
752
|
drawOpacitySlider() {
|
|
756
753
|
const context = this.opacitySliderRenderingContext;
|
|
757
|
-
const { baseColorFieldColor: previousColor, dimensions: { slider: { height, width }, thumb: { radius: thumbRadius } } } = this;
|
|
754
|
+
const { baseColorFieldColor: previousColor, dimensions: { slider: { height, width }, thumb: { radius: thumbRadius }, }, } = this;
|
|
758
755
|
const x = 0;
|
|
759
756
|
const y = thumbRadius - height / 2;
|
|
760
757
|
context.clearRect(0, 0, width, height + this.getSliderCapSpacing() * 2);
|
|
@@ -812,7 +809,7 @@ export class ColorPicker {
|
|
|
812
809
|
return;
|
|
813
810
|
}
|
|
814
811
|
const hsvColor = color;
|
|
815
|
-
const { dimensions: { slider: { width }, thumb: { radius } } } = this;
|
|
812
|
+
const { dimensions: { slider: { width }, thumb: { radius }, }, } = this;
|
|
816
813
|
const x = alphaToOpacity(hsvColor.alpha()) / (OPACITY_LIMITS.max / width);
|
|
817
814
|
const y = radius;
|
|
818
815
|
requestAnimationFrame(() => {
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
import Color from "color";
|
|
7
7
|
export const CSS = {
|
|
@@ -34,62 +34,62 @@ export const CSS = {
|
|
|
34
34
|
section: "section",
|
|
35
35
|
slider: "slider",
|
|
36
36
|
sliders: "sliders",
|
|
37
|
-
splitSection: "section--split"
|
|
37
|
+
splitSection: "section--split",
|
|
38
38
|
};
|
|
39
39
|
export const DEFAULT_COLOR = Color("#007AC2");
|
|
40
40
|
export const DEFAULT_STORAGE_KEY_PREFIX = "calcite-color-";
|
|
41
41
|
export const RGB_LIMITS = {
|
|
42
42
|
r: 255,
|
|
43
43
|
g: 255,
|
|
44
|
-
b: 255
|
|
44
|
+
b: 255,
|
|
45
45
|
};
|
|
46
46
|
export const HSV_LIMITS = {
|
|
47
47
|
h: 360,
|
|
48
48
|
s: 100,
|
|
49
|
-
v: 100
|
|
49
|
+
v: 100,
|
|
50
50
|
};
|
|
51
51
|
export const OPACITY_LIMITS = {
|
|
52
52
|
min: 0,
|
|
53
|
-
max: 100
|
|
53
|
+
max: 100,
|
|
54
54
|
};
|
|
55
55
|
export const DIMENSIONS = {
|
|
56
56
|
s: {
|
|
57
57
|
slider: {
|
|
58
58
|
height: 12,
|
|
59
|
-
width: 104
|
|
59
|
+
width: 104,
|
|
60
60
|
},
|
|
61
61
|
colorField: {
|
|
62
62
|
height: 80,
|
|
63
|
-
width: 160
|
|
63
|
+
width: 160,
|
|
64
64
|
},
|
|
65
65
|
thumb: {
|
|
66
|
-
radius: 10
|
|
67
|
-
}
|
|
66
|
+
radius: 10,
|
|
67
|
+
},
|
|
68
68
|
},
|
|
69
69
|
m: {
|
|
70
70
|
slider: {
|
|
71
71
|
height: 12,
|
|
72
|
-
width: 204
|
|
72
|
+
width: 204,
|
|
73
73
|
},
|
|
74
74
|
colorField: {
|
|
75
75
|
height: 150,
|
|
76
|
-
width: 272
|
|
76
|
+
width: 272,
|
|
77
77
|
},
|
|
78
78
|
thumb: {
|
|
79
|
-
radius: 10
|
|
80
|
-
}
|
|
79
|
+
radius: 10,
|
|
80
|
+
},
|
|
81
81
|
},
|
|
82
82
|
l: {
|
|
83
83
|
slider: {
|
|
84
84
|
height: 12,
|
|
85
|
-
width: 384
|
|
85
|
+
width: 384,
|
|
86
86
|
},
|
|
87
87
|
colorField: {
|
|
88
88
|
height: 200,
|
|
89
|
-
width: 464
|
|
89
|
+
width: 464,
|
|
90
90
|
},
|
|
91
91
|
thumb: {
|
|
92
|
-
radius: 10
|
|
93
|
-
}
|
|
94
|
-
}
|
|
92
|
+
radius: 10,
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
95
|
};
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
export const hexChar = /^[0-9A-F]$/i;
|
|
7
7
|
const shorthandHex = /^#[0-9A-F]{3}$/i;
|
|
@@ -103,7 +103,7 @@ export const CSSColorMode = enumify({
|
|
|
103
103
|
RGB_CSS: "rgb-css",
|
|
104
104
|
RGBA_CSS: "rgba-css",
|
|
105
105
|
HSL_CSS: "hsl-css",
|
|
106
|
-
HSLA_CSS: "hsla-css"
|
|
106
|
+
HSLA_CSS: "hsla-css",
|
|
107
107
|
});
|
|
108
108
|
export const ObjectColorMode = enumify({
|
|
109
109
|
RGB: "rgb",
|
|
@@ -111,7 +111,7 @@ export const ObjectColorMode = enumify({
|
|
|
111
111
|
HSL: "hsl",
|
|
112
112
|
HSLA: "hsla",
|
|
113
113
|
HSV: "hsv",
|
|
114
|
-
HSVA: "hsva"
|
|
114
|
+
HSVA: "hsva",
|
|
115
115
|
});
|
|
116
116
|
export function parseMode(colorValue) {
|
|
117
117
|
if (typeof colorValue === "string") {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import { h } from "@stencil/core";
|
|
7
|
-
import { alphaToOpacity, hexChar, hexify, isLonghandHex, isValidHex, normalizeHex, opacityToAlpha, rgbToHex } from "../color-picker/utils";
|
|
6
|
+
import { h, } from "@stencil/core";
|
|
7
|
+
import { alphaToOpacity, hexChar, hexify, isLonghandHex, isValidHex, normalizeHex, opacityToAlpha, rgbToHex, } from "../color-picker/utils";
|
|
8
8
|
import { CSS } from "./resources";
|
|
9
9
|
import Color from "color";
|
|
10
10
|
import { focusElement } from "../../utils/dom";
|
|
11
|
-
import { componentFocusable, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
11
|
+
import { componentFocusable, setComponentLoaded, setUpLoadableComponent, } from "../../utils/loadable";
|
|
12
12
|
import { OPACITY_LIMITS } from "../color-picker/resources";
|
|
13
13
|
const DEFAULT_COLOR = Color();
|
|
14
14
|
export class ColorPickerHexInput {
|
|
@@ -113,7 +113,6 @@ export class ColorPickerHexInput {
|
|
|
113
113
|
if (isValidHex(hex)) {
|
|
114
114
|
event.preventDefault();
|
|
115
115
|
this.hexInputNode.value = hex.slice(1);
|
|
116
|
-
this.hexInputNode.internalSyncChildElValue();
|
|
117
116
|
}
|
|
118
117
|
};
|
|
119
118
|
this.previousNonNullValue = this.value;
|
|
@@ -169,7 +168,7 @@ export class ColorPickerHexInput {
|
|
|
169
168
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
170
169
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
171
170
|
const inputScale = scale === "l" ? "m" : "s";
|
|
172
|
-
return (h("div", { class: CSS.container }, h("calcite-input", { class: CSS.hexInput, label: messages?.hex || hexLabel, maxLength: 6,
|
|
171
|
+
return (h("div", { class: CSS.container }, h("calcite-input-text", { class: CSS.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
173
172
|
// eslint-disable-next-line react/jsx-sort-props
|
|
174
173
|
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,
|
|
175
174
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -233,7 +232,7 @@ export class ColorPickerHexInput {
|
|
|
233
232
|
const nudgedRGBChannels = rgbChannels.map((channel) => channel + amount);
|
|
234
233
|
nudgedChannels = [
|
|
235
234
|
...nudgedRGBChannels,
|
|
236
|
-
this.alphaChannel ? channels[3] : undefined
|
|
235
|
+
this.alphaChannel ? channels[3] : undefined,
|
|
237
236
|
];
|
|
238
237
|
}
|
|
239
238
|
else {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
8
8
|
hexInput: "hex-input",
|
|
9
|
-
opacityInput: "opacity-input"
|
|
9
|
+
opacityInput: "opacity-input",
|
|
10
10
|
};
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
import { Fragment, h } from "@stencil/core";
|
|
7
7
|
import Color from "color";
|
|
@@ -29,7 +29,7 @@ export class ColorPickerSwatch {
|
|
|
29
29
|
const isEmpty = !this.internalColor;
|
|
30
30
|
const classes = {
|
|
31
31
|
[CSS.swatch]: true,
|
|
32
|
-
[CSS.noColorSwatch]: isEmpty
|
|
32
|
+
[CSS.noColorSwatch]: isEmpty,
|
|
33
33
|
};
|
|
34
34
|
return (h("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
35
35
|
}
|
|
@@ -46,7 +46,7 @@ export class ColorPickerSwatch {
|
|
|
46
46
|
// see https://stackoverflow.com/a/7273346/194216
|
|
47
47
|
// using attribute to work around Stencil using the prop name vs the attribute when rendering
|
|
48
48
|
["stroke-width"]: "2",
|
|
49
|
-
width: "100%"
|
|
49
|
+
width: "100%",
|
|
50
50
|
};
|
|
51
51
|
const isEmpty = !internalColor;
|
|
52
52
|
if (isEmpty) {
|
|
@@ -56,7 +56,7 @@ export class ColorPickerSwatch {
|
|
|
56
56
|
const hex = hexify(internalColor);
|
|
57
57
|
const hexa = hexify(internalColor, alpha < 1);
|
|
58
58
|
return (h(Fragment, null, h("title", null, hexa), h("defs", null, h("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, h("rect", { class: CSS.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), h("rect", { class: CSS.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: CHECKER_DIMENSIONS.squareSize, y: CHECKER_DIMENSIONS.squareSize }))), h("rect", { fill: "url(#checker)", height: "100%", rx: borderRadius, width: "100%" }), h("rect", { fill: hex, style: {
|
|
59
|
-
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})
|
|
59
|
+
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
60
60
|
}, ...commonSwatchProps }), alpha < 1 ? (h("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "calcite-color-picker-swatch"; }
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
swatch: "swatch",
|
|
8
8
|
noColorSwatch: "swatch--no-color",
|
|
9
|
-
checker: "checker"
|
|
9
|
+
checker: "checker",
|
|
10
10
|
};
|
|
11
11
|
export const COLORS = {
|
|
12
12
|
borderLight: "rgba(0, 0, 0, 0.3)",
|
|
13
|
-
borderDark: "rgba(255, 255, 255, 0.15)"
|
|
13
|
+
borderDark: "rgba(255, 255, 255, 0.15)",
|
|
14
14
|
};
|
|
15
15
|
const checkerSquareSize = 4;
|
|
16
16
|
export const CHECKER_DIMENSIONS = {
|
|
17
17
|
squareSize: checkerSquareSize,
|
|
18
|
-
size: checkerSquareSize * 2
|
|
18
|
+
size: checkerSquareSize * 2,
|
|
19
19
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import { h, Host } from "@stencil/core";
|
|
6
|
+
import { h, Host, } from "@stencil/core";
|
|
7
7
|
import { debounce } from "lodash-es";
|
|
8
8
|
import { filter } from "../../utils/filter";
|
|
9
9
|
import { isPrimaryPointerButton, toAriaBoolean } from "../../utils/dom";
|
|
10
|
-
import { connectFloatingUI, defaultMenuPlacement, disconnectFloatingUI, filterComputedPlacements, FloatingCSS, reposition } from "../../utils/floating-ui";
|
|
11
|
-
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
10
|
+
import { connectFloatingUI, defaultMenuPlacement, disconnectFloatingUI, filterComputedPlacements, FloatingCSS, reposition, } from "../../utils/floating-ui";
|
|
11
|
+
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot, submitForm, } from "../../utils/form";
|
|
12
12
|
import { guid } from "../../utils/guid";
|
|
13
|
-
import { connectInteractive, disconnectInteractive, updateHostInteraction } from "../../utils/interactive";
|
|
13
|
+
import { connectInteractive, disconnectInteractive, updateHostInteraction, } from "../../utils/interactive";
|
|
14
14
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
15
|
-
import { componentFocusable, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
15
|
+
import { componentFocusable, setComponentLoaded, setUpLoadableComponent, } from "../../utils/loadable";
|
|
16
16
|
import { connectLocalized, disconnectLocalized } from "../../utils/locale";
|
|
17
17
|
import { createObserver } from "../../utils/observers";
|
|
18
|
-
import { connectOpenCloseComponent, disconnectOpenCloseComponent } from "../../utils/openCloseComponent";
|
|
19
|
-
import { connectMessages, disconnectMessages, setUpMessages, updateMessages } from "../../utils/t9n";
|
|
18
|
+
import { connectOpenCloseComponent, disconnectOpenCloseComponent, } from "../../utils/openCloseComponent";
|
|
19
|
+
import { connectMessages, disconnectMessages, setUpMessages, updateMessages, } from "../../utils/t9n";
|
|
20
20
|
import { ComboboxChildSelector, ComboboxItem, ComboboxItemGroup, CSS } from "./resources";
|
|
21
21
|
import { getItemAncestors, getItemChildren, hasActiveChildren } from "./utils";
|
|
22
22
|
import { XButton, CSS as XButtonCSS } from "../functional/XButton";
|
|
@@ -434,7 +434,7 @@ export class Combobox {
|
|
|
434
434
|
overlayPositioning,
|
|
435
435
|
placement,
|
|
436
436
|
flipPlacements: filteredFlipPlacements,
|
|
437
|
-
type: "menu"
|
|
437
|
+
type: "menu",
|
|
438
438
|
}, delayed);
|
|
439
439
|
}
|
|
440
440
|
/** Sets focus on the component. */
|
|
@@ -649,7 +649,7 @@ export class Combobox {
|
|
|
649
649
|
return this.items.map((item) => ({
|
|
650
650
|
filterDisabled: item.filterDisabled,
|
|
651
651
|
value: item.value,
|
|
652
|
-
label: item.textLabel
|
|
652
|
+
label: item.textLabel,
|
|
653
653
|
}));
|
|
654
654
|
}
|
|
655
655
|
getNeedsIcon() {
|
|
@@ -768,7 +768,7 @@ export class Combobox {
|
|
|
768
768
|
return this.selectedItems.map((item, i) => {
|
|
769
769
|
const chipClasses = {
|
|
770
770
|
chip: true,
|
|
771
|
-
"chip--active": activeChipIndex === i
|
|
771
|
+
"chip--active": activeChipIndex === i,
|
|
772
772
|
};
|
|
773
773
|
const ancestors = [...getItemAncestors(item)].reverse();
|
|
774
774
|
const pathLabel = [...ancestors, item].map((el) => el.textLabel);
|
|
@@ -783,16 +783,16 @@ export class Combobox {
|
|
|
783
783
|
const showLabel = !open && single && !!selectedItem;
|
|
784
784
|
return (h("span", { class: {
|
|
785
785
|
"input-wrap": true,
|
|
786
|
-
"input-wrap--single": single
|
|
786
|
+
"input-wrap--single": single,
|
|
787
787
|
} }, showLabel && (h("span", { class: {
|
|
788
788
|
label: true,
|
|
789
|
-
"label--icon": !!selectedItem?.icon
|
|
789
|
+
"label--icon": !!selectedItem?.icon,
|
|
790
790
|
}, key: "label" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
|
|
791
791
|
input: true,
|
|
792
792
|
"input--single": true,
|
|
793
793
|
"input--transparent": this.activeChipIndex > -1,
|
|
794
794
|
"input--hidden": showLabel,
|
|
795
|
-
"input--icon": !!this.placeholderIcon
|
|
795
|
+
"input--icon": !!this.placeholderIcon,
|
|
796
796
|
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, type: "text",
|
|
797
797
|
// eslint-disable-next-line react/jsx-sort-props
|
|
798
798
|
ref: (el) => (this.textInput = el) })));
|
|
@@ -805,11 +805,11 @@ export class Combobox {
|
|
|
805
805
|
const classes = {
|
|
806
806
|
[CSS.listContainer]: true,
|
|
807
807
|
[FloatingCSS.animation]: true,
|
|
808
|
-
[FloatingCSS.animationActive]: open
|
|
808
|
+
[FloatingCSS.animationActive]: open,
|
|
809
809
|
};
|
|
810
810
|
return (h("div", { "aria-hidden": "true", class: {
|
|
811
811
|
"floating-ui-container": true,
|
|
812
|
-
"floating-ui-container--active": open
|
|
812
|
+
"floating-ui-container--active": open,
|
|
813
813
|
},
|
|
814
814
|
// eslint-disable-next-line react/jsx-sort-props
|
|
815
815
|
ref: setFloatingEl }, h("div", { class: classes,
|
|
@@ -837,7 +837,7 @@ export class Combobox {
|
|
|
837
837
|
return (h(Host, { onClick: this.comboboxFocusHandler }, h("div", { "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "listbox", "aria-label": getLabelText(this), "aria-live": "polite", "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
838
838
|
wrapper: true,
|
|
839
839
|
"wrapper--single": single || !this.selectedItems.length,
|
|
840
|
-
"wrapper--active": open
|
|
840
|
+
"wrapper--active": open,
|
|
841
841
|
}, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, role: "combobox",
|
|
842
842
|
// eslint-disable-next-line react/jsx-sort-props
|
|
843
843
|
ref: this.setReferenceEl }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), isClearable ? (h(XButton, { disabled: this.disabled, key: "close-button", label: this.messages.clear, scale: this.scale })) : null, this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderFloatingUIContainer(), h(HiddenFormInputSlot, { component: this })));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
export const ComboboxItem = "CALCITE-COMBOBOX-ITEM";
|
|
7
7
|
export const ComboboxItemGroup = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
8
8
|
export const ComboboxChildSelector = `${ComboboxItem}, ${ComboboxItemGroup}`;
|
|
9
9
|
export const CSS = {
|
|
10
|
-
listContainer: "list-container"
|
|
10
|
+
listContainer: "list-container",
|
|
11
11
|
};
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
import { nodeListToArray } from "../../utils/dom";
|
|
7
7
|
import { ComboboxChildSelector } from "./resources";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import { h, Host } from "@stencil/core";
|
|
7
|
-
import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
6
|
+
import { h, Host, } from "@stencil/core";
|
|
7
|
+
import { connectConditionalSlotComponent, disconnectConditionalSlotComponent, } from "../../utils/conditionalSlot";
|
|
8
8
|
import { getElementProp, getSlotted } from "../../utils/dom";
|
|
9
9
|
import { guid } from "../../utils/guid";
|
|
10
|
-
import { connectInteractive, disconnectInteractive, updateHostInteraction } from "../../utils/interactive";
|
|
10
|
+
import { connectInteractive, disconnectInteractive, updateHostInteraction, } from "../../utils/interactive";
|
|
11
11
|
import { getAncestors, getDepth } from "../combobox/utils";
|
|
12
12
|
import { CSS } from "./resources";
|
|
13
13
|
/**
|
|
@@ -73,18 +73,18 @@ export class ComboboxItem {
|
|
|
73
73
|
return this.icon ? (h("calcite-icon", { class: {
|
|
74
74
|
[CSS.custom]: !!this.icon,
|
|
75
75
|
[CSS.iconActive]: this.icon && this.selected,
|
|
76
|
-
[CSS.iconIndent]: true
|
|
76
|
+
[CSS.iconIndent]: true,
|
|
77
77
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
78
78
|
}
|
|
79
79
|
renderSelectIndicator(showDot, iconPath) {
|
|
80
80
|
return showDot ? (h("span", { class: {
|
|
81
81
|
[CSS.icon]: true,
|
|
82
82
|
[CSS.dot]: true,
|
|
83
|
-
[CSS.iconIndent]: true
|
|
83
|
+
[CSS.iconIndent]: true,
|
|
84
84
|
} })) : (h("calcite-icon", { class: {
|
|
85
85
|
[CSS.icon]: true,
|
|
86
86
|
[CSS.iconActive]: this.selected,
|
|
87
|
-
[CSS.iconIndent]: true
|
|
87
|
+
[CSS.iconIndent]: true,
|
|
88
88
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
89
89
|
}
|
|
90
90
|
renderChildren() {
|
|
@@ -102,7 +102,7 @@ export class ComboboxItem {
|
|
|
102
102
|
[CSS.label]: true,
|
|
103
103
|
[CSS.selected]: this.selected,
|
|
104
104
|
[CSS.active]: this.active,
|
|
105
|
-
[CSS.single]: isSingleSelect
|
|
105
|
+
[CSS.single]: isSingleSelect,
|
|
106
106
|
};
|
|
107
107
|
const depth = getDepth(this.el);
|
|
108
108
|
return (h(Host, { "aria-hidden": "true" }, h("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, h("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderSelectIndicator(showDot, iconPath), this.renderIcon(iconPath), h("span", { class: "title" }, this.textLabel)), this.renderChildren())));
|