@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,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 { r as registerInstance, c as createEvent, h, a as getElement, F as Fragment } from './index-
|
|
7
|
-
import { i as isPrimaryPointerButton, b as getElementDir, d as focusElement, j as getModeName } from './dom-
|
|
8
|
-
import { C as CSSColorMode, n as normalizeHex, a as hexify, o as opacityToAlpha, b as alphaToOpacity, c as alphaCompatible, p as parseMode, d as colorEqual, t as toNonAlphaMode, e as normalizeAlpha, f as toAlphaMode, g as normalizeColor, j as isLonghandHex, i as isValidHex, r as rgbToHex, k as hexChar } from './utils-
|
|
9
|
-
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction } from './interactive-
|
|
10
|
-
import { i as isActivationKey } from './key-
|
|
11
|
-
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
12
|
-
import { c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
13
|
-
import { c as clamp } from './math-
|
|
14
|
-
import { u as updateMessages, s as setUpMessages, c as connectMessages, d as disconnectMessages } from './t9n-
|
|
15
|
-
import { t as throttle } from './throttle-
|
|
16
|
-
import './guid-
|
|
17
|
-
import './resources-
|
|
18
|
-
import './observers-
|
|
19
|
-
import './debounce-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, a as getElement, F as Fragment } from './index-c81474f2.js';
|
|
7
|
+
import { i as isPrimaryPointerButton, b as getElementDir, d as focusElement, j as getModeName } from './dom-a979a807.js';
|
|
8
|
+
import { C as CSSColorMode, n as normalizeHex, a as hexify, o as opacityToAlpha, b as alphaToOpacity, c as alphaCompatible, p as parseMode, d as colorEqual, t as toNonAlphaMode, e as normalizeAlpha, f as toAlphaMode, g as normalizeColor, j as isLonghandHex, i as isValidHex, r as rgbToHex, k as hexChar } from './utils-0d239799.js';
|
|
9
|
+
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction } from './interactive-1789d90d.js';
|
|
10
|
+
import { i as isActivationKey } from './key-664a3425.js';
|
|
11
|
+
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-56adcd3c.js';
|
|
12
|
+
import { c as connectLocalized, d as disconnectLocalized } from './locale-29b77984.js';
|
|
13
|
+
import { c as clamp } from './math-cbaf0048.js';
|
|
14
|
+
import { u as updateMessages, s as setUpMessages, c as connectMessages, d as disconnectMessages } from './t9n-0272eefa.js';
|
|
15
|
+
import { t as throttle } from './throttle-85f590ec.js';
|
|
16
|
+
import './guid-a6c1d1f7.js';
|
|
17
|
+
import './resources-d81310ba.js';
|
|
18
|
+
import './observers-dd42a094.js';
|
|
19
|
+
import './debounce-d30ce37b.js';
|
|
20
20
|
|
|
21
21
|
function createCommonjsModule(fn, basedir, module) {
|
|
22
22
|
return module = {
|
|
@@ -2158,64 +2158,64 @@ const CSS$2 = {
|
|
|
2158
2158
|
section: "section",
|
|
2159
2159
|
slider: "slider",
|
|
2160
2160
|
sliders: "sliders",
|
|
2161
|
-
splitSection: "section--split"
|
|
2161
|
+
splitSection: "section--split",
|
|
2162
2162
|
};
|
|
2163
2163
|
const DEFAULT_COLOR$1 = color("#007AC2");
|
|
2164
2164
|
const DEFAULT_STORAGE_KEY_PREFIX = "calcite-color-";
|
|
2165
2165
|
const RGB_LIMITS = {
|
|
2166
2166
|
r: 255,
|
|
2167
2167
|
g: 255,
|
|
2168
|
-
b: 255
|
|
2168
|
+
b: 255,
|
|
2169
2169
|
};
|
|
2170
2170
|
const HSV_LIMITS = {
|
|
2171
2171
|
h: 360,
|
|
2172
2172
|
s: 100,
|
|
2173
|
-
v: 100
|
|
2173
|
+
v: 100,
|
|
2174
2174
|
};
|
|
2175
2175
|
const OPACITY_LIMITS = {
|
|
2176
2176
|
min: 0,
|
|
2177
|
-
max: 100
|
|
2177
|
+
max: 100,
|
|
2178
2178
|
};
|
|
2179
2179
|
const DIMENSIONS = {
|
|
2180
2180
|
s: {
|
|
2181
2181
|
slider: {
|
|
2182
2182
|
height: 12,
|
|
2183
|
-
width: 104
|
|
2183
|
+
width: 104,
|
|
2184
2184
|
},
|
|
2185
2185
|
colorField: {
|
|
2186
2186
|
height: 80,
|
|
2187
|
-
width: 160
|
|
2187
|
+
width: 160,
|
|
2188
2188
|
},
|
|
2189
2189
|
thumb: {
|
|
2190
|
-
radius: 10
|
|
2191
|
-
}
|
|
2190
|
+
radius: 10,
|
|
2191
|
+
},
|
|
2192
2192
|
},
|
|
2193
2193
|
m: {
|
|
2194
2194
|
slider: {
|
|
2195
2195
|
height: 12,
|
|
2196
|
-
width: 204
|
|
2196
|
+
width: 204,
|
|
2197
2197
|
},
|
|
2198
2198
|
colorField: {
|
|
2199
2199
|
height: 150,
|
|
2200
|
-
width: 272
|
|
2200
|
+
width: 272,
|
|
2201
2201
|
},
|
|
2202
2202
|
thumb: {
|
|
2203
|
-
radius: 10
|
|
2204
|
-
}
|
|
2203
|
+
radius: 10,
|
|
2204
|
+
},
|
|
2205
2205
|
},
|
|
2206
2206
|
l: {
|
|
2207
2207
|
slider: {
|
|
2208
2208
|
height: 12,
|
|
2209
|
-
width: 384
|
|
2209
|
+
width: 384,
|
|
2210
2210
|
},
|
|
2211
2211
|
colorField: {
|
|
2212
2212
|
height: 200,
|
|
2213
|
-
width: 464
|
|
2213
|
+
width: 464,
|
|
2214
2214
|
},
|
|
2215
2215
|
thumb: {
|
|
2216
|
-
radius: 10
|
|
2217
|
-
}
|
|
2218
|
-
}
|
|
2216
|
+
radius: 10,
|
|
2217
|
+
},
|
|
2218
|
+
},
|
|
2219
2219
|
};
|
|
2220
2220
|
|
|
2221
2221
|
const colorPickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{position:absolute;z-index:var(--calcite-app-z-index);font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:16px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-ui-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index=\"3\"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index=\"3\"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index=\"3\"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}";
|
|
@@ -2239,7 +2239,7 @@ const ColorPicker = class {
|
|
|
2239
2239
|
ArrowUp: { x: 0, y: -10 },
|
|
2240
2240
|
ArrowRight: { x: 10, y: 0 },
|
|
2241
2241
|
ArrowDown: { x: 0, y: 10 },
|
|
2242
|
-
ArrowLeft: { x: -10, y: 0 }
|
|
2242
|
+
ArrowLeft: { x: -10, y: 0 },
|
|
2243
2243
|
};
|
|
2244
2244
|
if (arrowKeyToXYOffset[key]) {
|
|
2245
2245
|
event.preventDefault();
|
|
@@ -2254,7 +2254,7 @@ const ColorPicker = class {
|
|
|
2254
2254
|
ArrowUp: 1,
|
|
2255
2255
|
ArrowRight: 1,
|
|
2256
2256
|
ArrowDown: -1,
|
|
2257
|
-
ArrowLeft: -1
|
|
2257
|
+
ArrowLeft: -1,
|
|
2258
2258
|
};
|
|
2259
2259
|
if (arrowKeyToXOffset[key]) {
|
|
2260
2260
|
event.preventDefault();
|
|
@@ -2302,9 +2302,6 @@ const ColorPicker = class {
|
|
|
2302
2302
|
inputValue = clamped.toString();
|
|
2303
2303
|
}
|
|
2304
2304
|
input.value = inputValue;
|
|
2305
|
-
// TODO: refactor calcite-input so we don't need to sync the internals
|
|
2306
|
-
// https://github.com/Esri/calcite-design-system/issues/6100
|
|
2307
|
-
input.internalSyncChildElValue();
|
|
2308
2305
|
};
|
|
2309
2306
|
this.handleChannelChange = (event) => {
|
|
2310
2307
|
const input = event.currentTarget;
|
|
@@ -2336,7 +2333,7 @@ const ColorPicker = class {
|
|
|
2336
2333
|
document.addEventListener("pointerup", this.globalPointerUpHandler, { once: true });
|
|
2337
2334
|
this.activeCanvasInfo = {
|
|
2338
2335
|
context: this.colorFieldRenderingContext,
|
|
2339
|
-
bounds: this.colorFieldRenderingContext.canvas.getBoundingClientRect()
|
|
2336
|
+
bounds: this.colorFieldRenderingContext.canvas.getBoundingClientRect(),
|
|
2340
2337
|
};
|
|
2341
2338
|
this.captureColorFieldColor(offsetX, offsetY);
|
|
2342
2339
|
this.colorFieldScopeNode.focus();
|
|
@@ -2350,7 +2347,7 @@ const ColorPicker = class {
|
|
|
2350
2347
|
document.addEventListener("pointerup", this.globalPointerUpHandler, { once: true });
|
|
2351
2348
|
this.activeCanvasInfo = {
|
|
2352
2349
|
context: this.hueSliderRenderingContext,
|
|
2353
|
-
bounds: this.hueSliderRenderingContext.canvas.getBoundingClientRect()
|
|
2350
|
+
bounds: this.hueSliderRenderingContext.canvas.getBoundingClientRect(),
|
|
2354
2351
|
};
|
|
2355
2352
|
this.captureHueSliderColor(offsetX);
|
|
2356
2353
|
this.hueScopeNode.focus();
|
|
@@ -2364,7 +2361,7 @@ const ColorPicker = class {
|
|
|
2364
2361
|
document.addEventListener("pointerup", this.globalPointerUpHandler, { once: true });
|
|
2365
2362
|
this.activeCanvasInfo = {
|
|
2366
2363
|
context: this.opacitySliderRenderingContext,
|
|
2367
|
-
bounds: this.opacitySliderRenderingContext.canvas.getBoundingClientRect()
|
|
2364
|
+
bounds: this.opacitySliderRenderingContext.canvas.getBoundingClientRect(),
|
|
2368
2365
|
};
|
|
2369
2366
|
this.captureOpacitySliderValue(offsetX);
|
|
2370
2367
|
this.opacityScopeNode.focus();
|
|
@@ -2456,13 +2453,13 @@ const ColorPicker = class {
|
|
|
2456
2453
|
}))));
|
|
2457
2454
|
};
|
|
2458
2455
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
2459
|
-
return (h("calcite-input", { class: CSS$2.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem,
|
|
2456
|
+
return (h("calcite-input-number", { class: CSS$2.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",
|
|
2460
2457
|
// workaround to ensure input borders overlap as desired
|
|
2461
2458
|
// this is because the build transforms margin-left to its
|
|
2462
2459
|
// logical-prop, which is undesired as channels are always ltr
|
|
2463
2460
|
style: {
|
|
2464
|
-
marginLeft: index > 0 && !(this.scale === "s" && this.alphaChannel && index === 3) ? "-1px" : ""
|
|
2465
|
-
}, suffixText: suffix,
|
|
2461
|
+
marginLeft: index > 0 && !(this.scale === "s" && this.alphaChannel && index === 3) ? "-1px" : "",
|
|
2462
|
+
}, suffixText: suffix, value: value?.toString() }));
|
|
2466
2463
|
};
|
|
2467
2464
|
this.deleteColor = () => {
|
|
2468
2465
|
const colorToDelete = hexify(this.color, this.alphaChannel);
|
|
@@ -2504,7 +2501,7 @@ const ColorPicker = class {
|
|
|
2504
2501
|
}
|
|
2505
2502
|
}, throttleFor60FpsInMs);
|
|
2506
2503
|
this.captureColorFieldColor = (x, y, skipEqual = true) => {
|
|
2507
|
-
const { dimensions: { colorField: { height, width } } } = this;
|
|
2504
|
+
const { dimensions: { colorField: { height, width }, }, } = this;
|
|
2508
2505
|
const saturation = Math.round((HSV_LIMITS.s / width) * x);
|
|
2509
2506
|
const value = Math.round((HSV_LIMITS.v / height) * (height - y));
|
|
2510
2507
|
this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(saturation).value(value), skipEqual);
|
|
@@ -2534,7 +2531,7 @@ const ColorPicker = class {
|
|
|
2534
2531
|
ArrowUp: 1,
|
|
2535
2532
|
ArrowRight: 1,
|
|
2536
2533
|
ArrowDown: -1,
|
|
2537
|
-
ArrowLeft: -1
|
|
2534
|
+
ArrowLeft: -1,
|
|
2538
2535
|
};
|
|
2539
2536
|
if (arrowKeyToXOffset[key]) {
|
|
2540
2537
|
event.preventDefault();
|
|
@@ -2718,7 +2715,7 @@ const ColorPicker = class {
|
|
|
2718
2715
|
//
|
|
2719
2716
|
//--------------------------------------------------------------------------
|
|
2720
2717
|
render() {
|
|
2721
|
-
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;
|
|
2718
|
+
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;
|
|
2722
2719
|
const selectedColorInHex = color ? hexify(color, alphaChannel) : null;
|
|
2723
2720
|
const hueTop = thumbRadius;
|
|
2724
2721
|
const hueLeft = hueScopeLeft ?? (sliderWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
@@ -2744,12 +2741,12 @@ const ColorPicker = class {
|
|
|
2744
2741
|
// eslint-disable-next-line react/jsx-sort-props
|
|
2745
2742
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (h("div", { class: {
|
|
2746
2743
|
[CSS$2.controlSection]: true,
|
|
2747
|
-
[CSS$2.section]: true
|
|
2744
|
+
[CSS$2.section]: true,
|
|
2748
2745
|
} }, h("div", { class: CSS$2.hexAndChannelsGroup }, noHex ? null : (h("div", { class: CSS$2.hexOptions }, h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$2.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (h("calcite-tabs", { class: {
|
|
2749
2746
|
[CSS$2.colorModeContainer]: true,
|
|
2750
|
-
[CSS$2.splitSection]: true
|
|
2747
|
+
[CSS$2.splitSection]: true,
|
|
2751
2748
|
}, 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$2.savedColorsSection]: true, [CSS$2.section]: true } }, h("div", { class: CSS$2.header }, h("label", null, messages.saved), h("div", { class: CSS$2.savedColorsButtons }, h("calcite-button", { appearance: "transparent", class: CSS$2.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), h("calcite-button", { appearance: "transparent", class: CSS$2.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (h("div", { class: CSS$2.savedColors }, [
|
|
2752
|
-
...savedColors.map((color) => (h("calcite-color-picker-swatch", { class: CSS$2.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
2749
|
+
...savedColors.map((color) => (h("calcite-color-picker-swatch", { class: CSS$2.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
|
|
2753
2750
|
])) : null))));
|
|
2754
2751
|
}
|
|
2755
2752
|
// --------------------------------------------------------------------------
|
|
@@ -2789,12 +2786,12 @@ const ColorPicker = class {
|
|
|
2789
2786
|
return mode;
|
|
2790
2787
|
}
|
|
2791
2788
|
captureHueSliderColor(x) {
|
|
2792
|
-
const { dimensions: { slider: { width } } } = this;
|
|
2789
|
+
const { dimensions: { slider: { width }, }, } = this;
|
|
2793
2790
|
const hue = (360 / width) * x;
|
|
2794
2791
|
this.internalColorSet(this.baseColorFieldColor.hue(hue), false);
|
|
2795
2792
|
}
|
|
2796
2793
|
captureOpacitySliderValue(x) {
|
|
2797
|
-
const { dimensions: { slider: { width } } } = this;
|
|
2794
|
+
const { dimensions: { slider: { width }, }, } = this;
|
|
2798
2795
|
const alpha = opacityToAlpha((OPACITY_LIMITS.max / width) * x);
|
|
2799
2796
|
this.internalColorSet(this.baseColorFieldColor.alpha(alpha), false);
|
|
2800
2797
|
}
|
|
@@ -2836,7 +2833,7 @@ const ColorPicker = class {
|
|
|
2836
2833
|
return colorObject;
|
|
2837
2834
|
}
|
|
2838
2835
|
getSliderCapSpacing() {
|
|
2839
|
-
const { dimensions: { slider: { height }, thumb: { radius } } } = this;
|
|
2836
|
+
const { dimensions: { slider: { height }, thumb: { radius }, }, } = this;
|
|
2840
2837
|
return radius * 2 - height;
|
|
2841
2838
|
}
|
|
2842
2839
|
updateDimensions(scale = "m") {
|
|
@@ -2844,7 +2841,7 @@ const ColorPicker = class {
|
|
|
2844
2841
|
}
|
|
2845
2842
|
drawColorField() {
|
|
2846
2843
|
const context = this.colorFieldRenderingContext;
|
|
2847
|
-
const { dimensions: { colorField: { height, width } } } = this;
|
|
2844
|
+
const { dimensions: { colorField: { height, width }, }, } = this;
|
|
2848
2845
|
context.fillStyle = this.baseColorFieldColor
|
|
2849
2846
|
.hsv()
|
|
2850
2847
|
.saturationv(100)
|
|
@@ -2883,7 +2880,7 @@ const ColorPicker = class {
|
|
|
2883
2880
|
}
|
|
2884
2881
|
const adjustedSliderDimensions = {
|
|
2885
2882
|
width: dimensions.slider.width,
|
|
2886
|
-
height: dimensions.slider.height + (dimensions.thumb.radius - dimensions.slider.height / 2) * 2
|
|
2883
|
+
height: dimensions.slider.height + (dimensions.thumb.radius - dimensions.slider.height / 2) * 2,
|
|
2887
2884
|
};
|
|
2888
2885
|
if (context === "all" || context === "hue-slider") {
|
|
2889
2886
|
this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas, adjustedSliderDimensions);
|
|
@@ -2898,7 +2895,7 @@ const ColorPicker = class {
|
|
|
2898
2895
|
return;
|
|
2899
2896
|
}
|
|
2900
2897
|
const hsvColor = color.hsv();
|
|
2901
|
-
const { dimensions: { colorField: { height, width }, thumb: { radius } } } = this;
|
|
2898
|
+
const { dimensions: { colorField: { height, width }, thumb: { radius }, }, } = this;
|
|
2902
2899
|
const x = hsvColor.saturationv() / (HSV_LIMITS.s / width);
|
|
2903
2900
|
const y = height - hsvColor.value() / (HSV_LIMITS.v / height);
|
|
2904
2901
|
requestAnimationFrame(() => {
|
|
@@ -2930,7 +2927,7 @@ const ColorPicker = class {
|
|
|
2930
2927
|
return;
|
|
2931
2928
|
}
|
|
2932
2929
|
const hsvColor = color.hsv().saturationv(100).value(100);
|
|
2933
|
-
const { dimensions: { slider: { height, width }, thumb: { radius } } } = this;
|
|
2930
|
+
const { dimensions: { slider: { height, width }, thumb: { radius }, }, } = this;
|
|
2934
2931
|
const x = hsvColor.hue() / (360 / width);
|
|
2935
2932
|
const y = radius - height / 2 + height / 2;
|
|
2936
2933
|
requestAnimationFrame(() => {
|
|
@@ -2940,7 +2937,7 @@ const ColorPicker = class {
|
|
|
2940
2937
|
}
|
|
2941
2938
|
drawHueSlider() {
|
|
2942
2939
|
const context = this.hueSliderRenderingContext;
|
|
2943
|
-
const { dimensions: { slider: { height, width }, thumb: { radius: thumbRadius } } } = this;
|
|
2940
|
+
const { dimensions: { slider: { height, width }, thumb: { radius: thumbRadius }, }, } = this;
|
|
2944
2941
|
const x = 0;
|
|
2945
2942
|
const y = thumbRadius - height / 2;
|
|
2946
2943
|
const gradient = context.createLinearGradient(0, 0, width, 0);
|
|
@@ -2962,7 +2959,7 @@ const ColorPicker = class {
|
|
|
2962
2959
|
}
|
|
2963
2960
|
drawOpacitySlider() {
|
|
2964
2961
|
const context = this.opacitySliderRenderingContext;
|
|
2965
|
-
const { baseColorFieldColor: previousColor, dimensions: { slider: { height, width }, thumb: { radius: thumbRadius } } } = this;
|
|
2962
|
+
const { baseColorFieldColor: previousColor, dimensions: { slider: { height, width }, thumb: { radius: thumbRadius }, }, } = this;
|
|
2966
2963
|
const x = 0;
|
|
2967
2964
|
const y = thumbRadius - height / 2;
|
|
2968
2965
|
context.clearRect(0, 0, width, height + this.getSliderCapSpacing() * 2);
|
|
@@ -3020,7 +3017,7 @@ const ColorPicker = class {
|
|
|
3020
3017
|
return;
|
|
3021
3018
|
}
|
|
3022
3019
|
const hsvColor = color;
|
|
3023
|
-
const { dimensions: { slider: { width }, thumb: { radius } } } = this;
|
|
3020
|
+
const { dimensions: { slider: { width }, thumb: { radius }, }, } = this;
|
|
3024
3021
|
const x = alphaToOpacity(hsvColor.alpha()) / (OPACITY_LIMITS.max / width);
|
|
3025
3022
|
const y = radius;
|
|
3026
3023
|
requestAnimationFrame(() => {
|
|
@@ -3065,7 +3062,7 @@ ColorPicker.style = colorPickerCss;
|
|
|
3065
3062
|
const CSS$1 = {
|
|
3066
3063
|
container: "container",
|
|
3067
3064
|
hexInput: "hex-input",
|
|
3068
|
-
opacityInput: "opacity-input"
|
|
3065
|
+
opacityInput: "opacity-input",
|
|
3069
3066
|
};
|
|
3070
3067
|
|
|
3071
3068
|
const colorPickerHexInputCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:68px;margin-inline-start:-1px}:host([scale=s]) .container{flex-wrap:wrap;row-gap:0.125rem}:host([scale=s]) .opacity-input{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .opacity-input{inline-size:88px}";
|
|
@@ -3175,7 +3172,6 @@ const ColorPickerHexInput = class {
|
|
|
3175
3172
|
if (isValidHex(hex)) {
|
|
3176
3173
|
event.preventDefault();
|
|
3177
3174
|
this.hexInputNode.value = hex.slice(1);
|
|
3178
|
-
this.hexInputNode.internalSyncChildElValue();
|
|
3179
3175
|
}
|
|
3180
3176
|
};
|
|
3181
3177
|
this.previousNonNullValue = this.value;
|
|
@@ -3231,7 +3227,7 @@ const ColorPickerHexInput = class {
|
|
|
3231
3227
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
3232
3228
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
3233
3229
|
const inputScale = scale === "l" ? "m" : "s";
|
|
3234
|
-
return (h("div", { class: CSS$1.container }, h("calcite-input", { class: CSS$1.hexInput, label: messages?.hex || hexLabel, maxLength: 6,
|
|
3230
|
+
return (h("div", { class: CSS$1.container }, h("calcite-input-text", { class: CSS$1.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
3235
3231
|
// eslint-disable-next-line react/jsx-sort-props
|
|
3236
3232
|
ref: this.storeHexInputRef }), alphaChannel ? (h("calcite-input-number", { class: CSS$1.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,
|
|
3237
3233
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -3295,7 +3291,7 @@ const ColorPickerHexInput = class {
|
|
|
3295
3291
|
const nudgedRGBChannels = rgbChannels.map((channel) => channel + amount);
|
|
3296
3292
|
nudgedChannels = [
|
|
3297
3293
|
...nudgedRGBChannels,
|
|
3298
|
-
this.alphaChannel ? channels[3] : undefined
|
|
3294
|
+
this.alphaChannel ? channels[3] : undefined,
|
|
3299
3295
|
];
|
|
3300
3296
|
}
|
|
3301
3297
|
else {
|
|
@@ -3314,16 +3310,16 @@ ColorPickerHexInput.style = colorPickerHexInputCss;
|
|
|
3314
3310
|
const CSS = {
|
|
3315
3311
|
swatch: "swatch",
|
|
3316
3312
|
noColorSwatch: "swatch--no-color",
|
|
3317
|
-
checker: "checker"
|
|
3313
|
+
checker: "checker",
|
|
3318
3314
|
};
|
|
3319
3315
|
const COLORS = {
|
|
3320
3316
|
borderLight: "rgba(0, 0, 0, 0.3)",
|
|
3321
|
-
borderDark: "rgba(255, 255, 255, 0.15)"
|
|
3317
|
+
borderDark: "rgba(255, 255, 255, 0.15)",
|
|
3322
3318
|
};
|
|
3323
3319
|
const checkerSquareSize = 4;
|
|
3324
3320
|
const CHECKER_DIMENSIONS = {
|
|
3325
3321
|
squareSize: checkerSquareSize,
|
|
3326
|
-
size: checkerSquareSize * 2
|
|
3322
|
+
size: checkerSquareSize * 2,
|
|
3327
3323
|
};
|
|
3328
3324
|
|
|
3329
3325
|
const colorPickerSwatchCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.swatch--no-color rect{fill:var(--calcite-ui-foreground-1)}.swatch--no-color line{stroke:var(--calcite-ui-danger)}.checker{fill:#cacaca}";
|
|
@@ -3350,7 +3346,7 @@ const ColorPickerSwatch = class {
|
|
|
3350
3346
|
const isEmpty = !this.internalColor;
|
|
3351
3347
|
const classes = {
|
|
3352
3348
|
[CSS.swatch]: true,
|
|
3353
|
-
[CSS.noColorSwatch]: isEmpty
|
|
3349
|
+
[CSS.noColorSwatch]: isEmpty,
|
|
3354
3350
|
};
|
|
3355
3351
|
return (h("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
3356
3352
|
}
|
|
@@ -3367,7 +3363,7 @@ const ColorPickerSwatch = class {
|
|
|
3367
3363
|
// see https://stackoverflow.com/a/7273346/194216
|
|
3368
3364
|
// using attribute to work around Stencil using the prop name vs the attribute when rendering
|
|
3369
3365
|
["stroke-width"]: "2",
|
|
3370
|
-
width: "100%"
|
|
3366
|
+
width: "100%",
|
|
3371
3367
|
};
|
|
3372
3368
|
const isEmpty = !internalColor;
|
|
3373
3369
|
if (isEmpty) {
|
|
@@ -3377,7 +3373,7 @@ const ColorPickerSwatch = class {
|
|
|
3377
3373
|
const hex = hexify(internalColor);
|
|
3378
3374
|
const hexa = hexify(internalColor, alpha < 1);
|
|
3379
3375
|
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: {
|
|
3380
|
-
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})
|
|
3376
|
+
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
3381
3377
|
}, ...commonSwatchProps }), alpha < 1 ? (h("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
3382
3378
|
}
|
|
3383
3379
|
get el() { return getElement(this); }
|
|
@@ -1,31 +1,31 @@
|
|
|
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, r as registerInstance, c as createEvent, H as Host, a as getElement } from './index-
|
|
7
|
-
import { f as filter } from './filter-
|
|
8
|
-
import { y as nodeListToArray, i as isPrimaryPointerButton, t as toAriaBoolean, w as getElementProp, g as getSlotted } from './dom-
|
|
9
|
-
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-
|
|
10
|
-
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
11
|
-
import { g as guid } from './guid-
|
|
12
|
-
import { c as connectInteractive, u as updateHostInteraction, d as disconnectInteractive } from './interactive-
|
|
13
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
14
|
-
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
15
|
-
import { c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
16
|
-
import { c as createObserver } from './observers-
|
|
17
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
18
|
-
import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-
|
|
19
|
-
import { d as debounce } from './debounce-
|
|
20
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
21
|
-
import './resources-
|
|
22
|
-
import './key-
|
|
6
|
+
import { h, r as registerInstance, c as createEvent, H as Host, a as getElement } from './index-c81474f2.js';
|
|
7
|
+
import { f as filter } from './filter-6f1cb2f0.js';
|
|
8
|
+
import { y as nodeListToArray, i as isPrimaryPointerButton, t as toAriaBoolean, w as getElementProp, g as getSlotted } from './dom-a979a807.js';
|
|
9
|
+
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-26a1e2c4.js';
|
|
10
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-7b4f12ef.js';
|
|
11
|
+
import { g as guid } from './guid-a6c1d1f7.js';
|
|
12
|
+
import { c as connectInteractive, u as updateHostInteraction, d as disconnectInteractive } from './interactive-1789d90d.js';
|
|
13
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-b2932581.js';
|
|
14
|
+
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-56adcd3c.js';
|
|
15
|
+
import { c as connectLocalized, d as disconnectLocalized } from './locale-29b77984.js';
|
|
16
|
+
import { c as createObserver } from './observers-dd42a094.js';
|
|
17
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-1361a6cb.js';
|
|
18
|
+
import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-0272eefa.js';
|
|
19
|
+
import { d as debounce } from './debounce-d30ce37b.js';
|
|
20
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-b0d57dba.js';
|
|
21
|
+
import './resources-d81310ba.js';
|
|
22
|
+
import './key-664a3425.js';
|
|
23
23
|
|
|
24
24
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
25
25
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
26
26
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
27
27
|
const CSS$3 = {
|
|
28
|
-
listContainer: "list-container"
|
|
28
|
+
listContainer: "list-container",
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
function getAncestors(element) {
|
|
@@ -49,9 +49,9 @@ function getDepth(element) {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
const CSS$2 = {
|
|
52
|
-
button: "x-button"
|
|
52
|
+
button: "x-button",
|
|
53
53
|
};
|
|
54
|
-
function XButton({ disabled, key, label, onClick, ref, scale }) {
|
|
54
|
+
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
55
55
|
return (h("button", { "aria-label": label, class: CSS$2.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
56
56
|
// eslint-disable-next-line react/jsx-sort-props
|
|
57
57
|
ref: ref },
|
|
@@ -479,7 +479,7 @@ const Combobox = class {
|
|
|
479
479
|
overlayPositioning,
|
|
480
480
|
placement,
|
|
481
481
|
flipPlacements: filteredFlipPlacements,
|
|
482
|
-
type: "menu"
|
|
482
|
+
type: "menu",
|
|
483
483
|
}, delayed);
|
|
484
484
|
}
|
|
485
485
|
/** Sets focus on the component. */
|
|
@@ -694,7 +694,7 @@ const Combobox = class {
|
|
|
694
694
|
return this.items.map((item) => ({
|
|
695
695
|
filterDisabled: item.filterDisabled,
|
|
696
696
|
value: item.value,
|
|
697
|
-
label: item.textLabel
|
|
697
|
+
label: item.textLabel,
|
|
698
698
|
}));
|
|
699
699
|
}
|
|
700
700
|
getNeedsIcon() {
|
|
@@ -813,7 +813,7 @@ const Combobox = class {
|
|
|
813
813
|
return this.selectedItems.map((item, i) => {
|
|
814
814
|
const chipClasses = {
|
|
815
815
|
chip: true,
|
|
816
|
-
"chip--active": activeChipIndex === i
|
|
816
|
+
"chip--active": activeChipIndex === i,
|
|
817
817
|
};
|
|
818
818
|
const ancestors = [...getItemAncestors(item)].reverse();
|
|
819
819
|
const pathLabel = [...ancestors, item].map((el) => el.textLabel);
|
|
@@ -828,16 +828,16 @@ const Combobox = class {
|
|
|
828
828
|
const showLabel = !open && single && !!selectedItem;
|
|
829
829
|
return (h("span", { class: {
|
|
830
830
|
"input-wrap": true,
|
|
831
|
-
"input-wrap--single": single
|
|
831
|
+
"input-wrap--single": single,
|
|
832
832
|
} }, showLabel && (h("span", { class: {
|
|
833
833
|
label: true,
|
|
834
|
-
"label--icon": !!selectedItem?.icon
|
|
834
|
+
"label--icon": !!selectedItem?.icon,
|
|
835
835
|
}, key: "label" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
|
|
836
836
|
input: true,
|
|
837
837
|
"input--single": true,
|
|
838
838
|
"input--transparent": this.activeChipIndex > -1,
|
|
839
839
|
"input--hidden": showLabel,
|
|
840
|
-
"input--icon": !!this.placeholderIcon
|
|
840
|
+
"input--icon": !!this.placeholderIcon,
|
|
841
841
|
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, type: "text",
|
|
842
842
|
// eslint-disable-next-line react/jsx-sort-props
|
|
843
843
|
ref: (el) => (this.textInput = el) })));
|
|
@@ -850,11 +850,11 @@ const Combobox = class {
|
|
|
850
850
|
const classes = {
|
|
851
851
|
[CSS$3.listContainer]: true,
|
|
852
852
|
[FloatingCSS.animation]: true,
|
|
853
|
-
[FloatingCSS.animationActive]: open
|
|
853
|
+
[FloatingCSS.animationActive]: open,
|
|
854
854
|
};
|
|
855
855
|
return (h("div", { "aria-hidden": "true", class: {
|
|
856
856
|
"floating-ui-container": true,
|
|
857
|
-
"floating-ui-container--active": open
|
|
857
|
+
"floating-ui-container--active": open,
|
|
858
858
|
},
|
|
859
859
|
// eslint-disable-next-line react/jsx-sort-props
|
|
860
860
|
ref: setFloatingEl }, h("div", { class: classes,
|
|
@@ -882,7 +882,7 @@ const Combobox = class {
|
|
|
882
882
|
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: {
|
|
883
883
|
wrapper: true,
|
|
884
884
|
"wrapper--single": single || !this.selectedItems.length,
|
|
885
|
-
"wrapper--active": open
|
|
885
|
+
"wrapper--active": open,
|
|
886
886
|
}, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, role: "combobox",
|
|
887
887
|
// eslint-disable-next-line react/jsx-sort-props
|
|
888
888
|
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 })));
|
|
@@ -915,7 +915,7 @@ const CSS$1 = {
|
|
|
915
915
|
active: "label--active",
|
|
916
916
|
selected: "label--selected",
|
|
917
917
|
title: "title",
|
|
918
|
-
textContainer: "text-container"
|
|
918
|
+
textContainer: "text-container",
|
|
919
919
|
};
|
|
920
920
|
|
|
921
921
|
const comboboxItemCss = "@charset \"UTF-8\";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}";
|
|
@@ -982,18 +982,18 @@ const ComboboxItem = class {
|
|
|
982
982
|
return this.icon ? (h("calcite-icon", { class: {
|
|
983
983
|
[CSS$1.custom]: !!this.icon,
|
|
984
984
|
[CSS$1.iconActive]: this.icon && this.selected,
|
|
985
|
-
[CSS$1.iconIndent]: true
|
|
985
|
+
[CSS$1.iconIndent]: true,
|
|
986
986
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
987
987
|
}
|
|
988
988
|
renderSelectIndicator(showDot, iconPath) {
|
|
989
989
|
return showDot ? (h("span", { class: {
|
|
990
990
|
[CSS$1.icon]: true,
|
|
991
991
|
[CSS$1.dot]: true,
|
|
992
|
-
[CSS$1.iconIndent]: true
|
|
992
|
+
[CSS$1.iconIndent]: true,
|
|
993
993
|
} })) : (h("calcite-icon", { class: {
|
|
994
994
|
[CSS$1.icon]: true,
|
|
995
995
|
[CSS$1.iconActive]: this.selected,
|
|
996
|
-
[CSS$1.iconIndent]: true
|
|
996
|
+
[CSS$1.iconIndent]: true,
|
|
997
997
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
998
998
|
}
|
|
999
999
|
renderChildren() {
|
|
@@ -1011,7 +1011,7 @@ const ComboboxItem = class {
|
|
|
1011
1011
|
[CSS$1.label]: true,
|
|
1012
1012
|
[CSS$1.selected]: this.selected,
|
|
1013
1013
|
[CSS$1.active]: this.active,
|
|
1014
|
-
[CSS$1.single]: isSingleSelect
|
|
1014
|
+
[CSS$1.single]: isSingleSelect,
|
|
1015
1015
|
};
|
|
1016
1016
|
const depth = getDepth(this.el);
|
|
1017
1017
|
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())));
|
|
@@ -1026,7 +1026,7 @@ ComboboxItem.style = comboboxItemCss;
|
|
|
1026
1026
|
const CSS = {
|
|
1027
1027
|
list: "list",
|
|
1028
1028
|
label: "label",
|
|
1029
|
-
title: "title"
|
|
1029
|
+
title: "title",
|
|
1030
1030
|
};
|
|
1031
1031
|
|
|
1032
1032
|
const comboboxItemGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}:host,.list{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-ui-text-3)}.title{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:var(--calcite-combobox-item-spacing-unit-s);margin-inline-start:var(--calcite-combobox-item-indent-value)}";
|