@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,23 +1,23 @@
|
|
|
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 { Build, h, Host } from "@stencil/core";
|
|
7
|
-
import { dateFromISO, dateFromLocalizedString, dateFromRange, datePartsFromLocalizedString, dateToISO, inRange } from "../../utils/date";
|
|
6
|
+
import { Build, h, Host, } from "@stencil/core";
|
|
7
|
+
import { dateFromISO, dateFromLocalizedString, dateFromRange, datePartsFromLocalizedString, dateToISO, inRange, } from "../../utils/date";
|
|
8
8
|
import { toAriaBoolean } from "../../utils/dom";
|
|
9
|
-
import { connectFloatingUI, defaultMenuPlacement, disconnectFloatingUI, filterComputedPlacements, FloatingCSS, reposition } from "../../utils/floating-ui";
|
|
10
|
-
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
11
|
-
import { connectInteractive, disconnectInteractive, updateHostInteraction } from "../../utils/interactive";
|
|
9
|
+
import { connectFloatingUI, defaultMenuPlacement, disconnectFloatingUI, filterComputedPlacements, FloatingCSS, reposition, } from "../../utils/floating-ui";
|
|
10
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm, } from "../../utils/form";
|
|
11
|
+
import { connectInteractive, disconnectInteractive, updateHostInteraction, } from "../../utils/interactive";
|
|
12
12
|
import { numberKeys } from "../../utils/key";
|
|
13
13
|
import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
14
|
-
import { componentFocusable, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
15
|
-
import { connectLocalized, disconnectLocalized, numberStringFormatter } from "../../utils/locale";
|
|
16
|
-
import { connectOpenCloseComponent, disconnectOpenCloseComponent } from "../../utils/openCloseComponent";
|
|
14
|
+
import { componentFocusable, setComponentLoaded, setUpLoadableComponent, } from "../../utils/loadable";
|
|
15
|
+
import { connectLocalized, disconnectLocalized, numberStringFormatter, } from "../../utils/locale";
|
|
16
|
+
import { connectOpenCloseComponent, disconnectOpenCloseComponent, } from "../../utils/openCloseComponent";
|
|
17
17
|
import { getLocaleData, getValueAsDateRange } from "../date-picker/utils";
|
|
18
18
|
import { CSS } from "./resources";
|
|
19
19
|
import { connectMessages, disconnectMessages, setUpMessages } from "../../utils/t9n";
|
|
20
|
-
import { activateFocusTrap, connectFocusTrap, deactivateFocusTrap } from "../../utils/focusTrapComponent";
|
|
20
|
+
import { activateFocusTrap, connectFocusTrap, deactivateFocusTrap, } from "../../utils/focusTrapComponent";
|
|
21
21
|
import { guid } from "../../utils/guid";
|
|
22
22
|
export class InputDatePicker {
|
|
23
23
|
constructor() {
|
|
@@ -45,6 +45,7 @@ export class InputDatePicker {
|
|
|
45
45
|
this.userChangedValue = false;
|
|
46
46
|
this.openTransitionProp = "opacity";
|
|
47
47
|
this.valueAsDateChangedExternally = false;
|
|
48
|
+
this.placeholderTextId = `calcite-input-date-picker-placeholder-${guid()}`;
|
|
48
49
|
//--------------------------------------------------------------------------
|
|
49
50
|
//
|
|
50
51
|
// Private Methods
|
|
@@ -137,8 +138,8 @@ export class InputDatePicker {
|
|
|
137
138
|
focusTrapEl: el,
|
|
138
139
|
focusTrapOptions: {
|
|
139
140
|
initialFocus: false,
|
|
140
|
-
setReturnFocus: false
|
|
141
|
-
}
|
|
141
|
+
setReturnFocus: false,
|
|
142
|
+
},
|
|
142
143
|
});
|
|
143
144
|
};
|
|
144
145
|
/**
|
|
@@ -372,7 +373,7 @@ export class InputDatePicker {
|
|
|
372
373
|
overlayPositioning,
|
|
373
374
|
placement,
|
|
374
375
|
flipPlacements: filteredFlipPlacements,
|
|
375
|
-
type: "menu"
|
|
376
|
+
type: "menu",
|
|
376
377
|
}, delayed);
|
|
377
378
|
}
|
|
378
379
|
// --------------------------------------------------------------------------
|
|
@@ -415,7 +416,7 @@ export class InputDatePicker {
|
|
|
415
416
|
numberStringFormatter.numberFormatOptions = {
|
|
416
417
|
numberingSystem: this.numberingSystem,
|
|
417
418
|
locale: this.effectiveLocale,
|
|
418
|
-
useGrouping: false
|
|
419
|
+
useGrouping: false,
|
|
419
420
|
};
|
|
420
421
|
}
|
|
421
422
|
async componentWillLoad() {
|
|
@@ -447,22 +448,22 @@ export class InputDatePicker {
|
|
|
447
448
|
numberStringFormatter.numberFormatOptions = {
|
|
448
449
|
numberingSystem,
|
|
449
450
|
locale: effectiveLocale,
|
|
450
|
-
useGrouping: false
|
|
451
|
+
useGrouping: false,
|
|
451
452
|
};
|
|
452
453
|
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler }, this.localeData && (h("div", { class: "input-container" }, h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick,
|
|
453
454
|
// eslint-disable-next-line react/jsx-sort-props
|
|
454
|
-
ref: this.setStartWrapper }, h("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
455
|
+
ref: this.setStartWrapper }, h("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-describedby": this.placeholderTextId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
455
456
|
// eslint-disable-next-line react/jsx-sort-props
|
|
456
|
-
ref: this.setStartInput }), this.renderToggleIcon(this.open && this.focusedInput === "start")), h("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
457
|
+
ref: this.setStartInput }), this.renderToggleIcon(this.open && this.focusedInput === "start"), h("span", { "aria-hidden": "true", class: CSS.assistiveText, id: this.placeholderTextId }, "Date Format: ", this.localeData?.placeholder)), h("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
457
458
|
[CSS.menu]: true,
|
|
458
|
-
[CSS.menuActive]: this.open
|
|
459
|
+
[CSS.menuActive]: this.open,
|
|
459
460
|
}, id: this.dialogId, role: "dialog",
|
|
460
461
|
// eslint-disable-next-line react/jsx-sort-props
|
|
461
462
|
ref: this.setFloatingEl }, h("div", { class: {
|
|
462
463
|
["calendar-picker-wrapper"]: true,
|
|
463
464
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
464
465
|
[FloatingCSS.animation]: true,
|
|
465
|
-
[FloatingCSS.animationActive]: this.open
|
|
466
|
+
[FloatingCSS.animationActive]: this.open,
|
|
466
467
|
},
|
|
467
468
|
// eslint-disable-next-line react/jsx-sort-props
|
|
468
469
|
ref: this.setTransitionEl }, h("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, tabIndex: this.open ? undefined : -1, valueAsDate: this.valueAsDate,
|
|
@@ -471,7 +472,7 @@ export class InputDatePicker {
|
|
|
471
472
|
// eslint-disable-next-line react/jsx-sort-props
|
|
472
473
|
ref: this.setEndWrapper }, h("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
|
|
473
474
|
input: true,
|
|
474
|
-
"border-top-color-one": this.layout === "vertical" && this.range
|
|
475
|
+
"border-top-color-one": this.layout === "vertical" && this.range,
|
|
475
476
|
}, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
476
477
|
// eslint-disable-next-line react/jsx-sort-props
|
|
477
478
|
ref: this.setEndInput }), this.renderToggleIcon(this.open && this.focusedInput === "end"))))), h(HiddenFormInputSlot, { component: this })));
|
|
@@ -500,7 +501,7 @@ export class InputDatePicker {
|
|
|
500
501
|
this.datePickerEl.setFocus();
|
|
501
502
|
this.focusOnOpen = false;
|
|
502
503
|
}
|
|
503
|
-
}
|
|
504
|
+
},
|
|
504
505
|
});
|
|
505
506
|
this.calciteInputDatePickerOpen.emit();
|
|
506
507
|
}
|
|
@@ -530,14 +531,14 @@ export class InputDatePicker {
|
|
|
530
531
|
if (date) {
|
|
531
532
|
this.setRangeValue([
|
|
532
533
|
focusedInput === "start" ? date : dateFromISO(value[0]),
|
|
533
|
-
focusedInput === "end" ? date : dateFromISO(value[1])
|
|
534
|
+
focusedInput === "end" ? date : dateFromISO(value[1]),
|
|
534
535
|
]);
|
|
535
536
|
this.localizeInputValues();
|
|
536
537
|
}
|
|
537
538
|
else {
|
|
538
539
|
this.setRangeValue([
|
|
539
540
|
focusedInput === "end" && dateFromISO(value[0]),
|
|
540
|
-
focusedInput === "start" && dateFromISO(value[1])
|
|
541
|
+
focusedInput === "start" && dateFromISO(value[1]),
|
|
541
542
|
]);
|
|
542
543
|
}
|
|
543
544
|
}
|
|
@@ -545,7 +546,7 @@ export class InputDatePicker {
|
|
|
545
546
|
if (date) {
|
|
546
547
|
this.setRangeValue([
|
|
547
548
|
focusedInput === "start" ? date : dateFromISO(value[0]),
|
|
548
|
-
focusedInput === "end" ? date : dateFromISO(value[1])
|
|
549
|
+
focusedInput === "end" ? date : dateFromISO(value[1]),
|
|
549
550
|
]);
|
|
550
551
|
this.localizeInputValues();
|
|
551
552
|
}
|
|
@@ -566,7 +567,7 @@ export class InputDatePicker {
|
|
|
566
567
|
numberStringFormatter.numberFormatOptions = {
|
|
567
568
|
numberingSystem: this.numberingSystem,
|
|
568
569
|
locale: this.effectiveLocale,
|
|
569
|
-
useGrouping: false
|
|
570
|
+
useGrouping: false,
|
|
570
571
|
};
|
|
571
572
|
this.localeData = await getLocaleData(this.effectiveLocale);
|
|
572
573
|
this.localizeInputValues();
|
|
@@ -778,7 +779,7 @@ export class InputDatePicker {
|
|
|
778
779
|
"mutable": true,
|
|
779
780
|
"complexType": {
|
|
780
781
|
"original": "Partial<InputDatePickerMessages & DatePickerMessages>",
|
|
781
|
-
"resolved": "{ chooseDate?: string; nextMonth?: string; prevMonth?: string; year?: string; }",
|
|
782
|
+
"resolved": "{ chooseDate?: string; dateFormat?: string; nextMonth?: string; prevMonth?: string; year?: string; }",
|
|
782
783
|
"references": {
|
|
783
784
|
"Partial": {
|
|
784
785
|
"location": "global"
|
|
@@ -805,7 +806,7 @@ export class InputDatePicker {
|
|
|
805
806
|
"mutable": true,
|
|
806
807
|
"complexType": {
|
|
807
808
|
"original": "InputDatePickerMessages",
|
|
808
|
-
"resolved": "{ chooseDate: string; }",
|
|
809
|
+
"resolved": "{ chooseDate: string; dateFormat: string; }",
|
|
809
810
|
"references": {
|
|
810
811
|
"InputDatePickerMessages": {
|
|
811
812
|
"location": "import",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
|
+
assistiveText: "assistive-text",
|
|
7
8
|
menu: "menu-container",
|
|
8
9
|
menuActive: "menu-container--active",
|
|
9
|
-
toggleIcon: "toggle-icon"
|
|
10
|
+
toggleIcon: "toggle-icon",
|
|
10
11
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { setRequestedIcon } from "../../utils/dom";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
export var StatusIconDefaults;
|
|
7
7
|
(function (StatusIconDefaults) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import { h, Host } from "@stencil/core";
|
|
7
|
-
import { getElementDir, getSlotted, isPrimaryPointerButton, setRequestedIcon } from "../../utils/dom";
|
|
8
|
-
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
9
|
-
import { connectInteractive, disconnectInteractive, updateHostInteraction } from "../../utils/interactive";
|
|
6
|
+
import { h, Host, } from "@stencil/core";
|
|
7
|
+
import { getElementDir, getSlotted, isPrimaryPointerButton, setRequestedIcon, } from "../../utils/dom";
|
|
8
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm, } from "../../utils/form";
|
|
9
|
+
import { connectInteractive, disconnectInteractive, updateHostInteraction, } from "../../utils/interactive";
|
|
10
10
|
import { numberKeys } from "../../utils/key";
|
|
11
11
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
12
|
-
import { componentFocusable, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
13
|
-
import { connectLocalized, disconnectLocalized, numberStringFormatter } from "../../utils/locale";
|
|
14
|
-
import { addLocalizedTrailingDecimalZeros, BigDecimal, isValidNumber, parseNumberString, sanitizeNumberString } from "../../utils/number";
|
|
12
|
+
import { componentFocusable, setComponentLoaded, setUpLoadableComponent, } from "../../utils/loadable";
|
|
13
|
+
import { connectLocalized, disconnectLocalized, numberStringFormatter, } from "../../utils/locale";
|
|
14
|
+
import { addLocalizedTrailingDecimalZeros, BigDecimal, isValidNumber, parseNumberString, sanitizeNumberString, } from "../../utils/number";
|
|
15
15
|
import { createObserver } from "../../utils/observers";
|
|
16
16
|
import { CSS_UTILITY } from "../../utils/resources";
|
|
17
|
-
import { connectMessages, disconnectMessages, setUpMessages, updateMessages } from "../../utils/t9n";
|
|
17
|
+
import { connectMessages, disconnectMessages, setUpMessages, updateMessages, } from "../../utils/t9n";
|
|
18
18
|
import { CSS, SLOTS } from "./resources";
|
|
19
19
|
/**
|
|
20
20
|
* @slot action - A slot for positioning a button next to the component.
|
|
@@ -48,7 +48,7 @@ export class InputNumber {
|
|
|
48
48
|
committing: true,
|
|
49
49
|
nativeEvent,
|
|
50
50
|
origin: "user",
|
|
51
|
-
value: ""
|
|
51
|
+
value: "",
|
|
52
52
|
});
|
|
53
53
|
};
|
|
54
54
|
this.emitChangeIfUserModified = () => {
|
|
@@ -81,7 +81,7 @@ export class InputNumber {
|
|
|
81
81
|
numberStringFormatter.numberFormatOptions = {
|
|
82
82
|
locale: this.effectiveLocale,
|
|
83
83
|
numberingSystem: this.numberingSystem,
|
|
84
|
-
useGrouping: this.groupSeparator
|
|
84
|
+
useGrouping: this.groupSeparator,
|
|
85
85
|
};
|
|
86
86
|
const delocalizedValue = numberStringFormatter.delocalize(value);
|
|
87
87
|
if (nativeEvent.inputType === "insertFromPaste") {
|
|
@@ -91,7 +91,7 @@ export class InputNumber {
|
|
|
91
91
|
this.setNumberValue({
|
|
92
92
|
nativeEvent,
|
|
93
93
|
origin: "user",
|
|
94
|
-
value: parseNumberString(delocalizedValue)
|
|
94
|
+
value: parseNumberString(delocalizedValue),
|
|
95
95
|
});
|
|
96
96
|
this.childNumberEl.value = this.localizedValue;
|
|
97
97
|
}
|
|
@@ -99,7 +99,7 @@ export class InputNumber {
|
|
|
99
99
|
this.setNumberValue({
|
|
100
100
|
nativeEvent,
|
|
101
101
|
origin: "user",
|
|
102
|
-
value: delocalizedValue
|
|
102
|
+
value: delocalizedValue,
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
};
|
|
@@ -125,7 +125,7 @@ export class InputNumber {
|
|
|
125
125
|
"Delete",
|
|
126
126
|
"Enter",
|
|
127
127
|
"Escape",
|
|
128
|
-
"Tab"
|
|
128
|
+
"Tab",
|
|
129
129
|
];
|
|
130
130
|
if (event.altKey || event.ctrlKey || event.metaKey) {
|
|
131
131
|
return;
|
|
@@ -140,7 +140,7 @@ export class InputNumber {
|
|
|
140
140
|
numberStringFormatter.numberFormatOptions = {
|
|
141
141
|
locale: this.effectiveLocale,
|
|
142
142
|
numberingSystem: this.numberingSystem,
|
|
143
|
-
useGrouping: this.groupSeparator
|
|
143
|
+
useGrouping: this.groupSeparator,
|
|
144
144
|
};
|
|
145
145
|
if (event.key === numberStringFormatter.decimal) {
|
|
146
146
|
if (!this.value && !this.childNumberEl.value) {
|
|
@@ -208,7 +208,7 @@ export class InputNumber {
|
|
|
208
208
|
if (event.target.name === this.name) {
|
|
209
209
|
this.setNumberValue({
|
|
210
210
|
value: event.target.value,
|
|
211
|
-
origin: "direct"
|
|
211
|
+
origin: "direct",
|
|
212
212
|
});
|
|
213
213
|
}
|
|
214
214
|
event.stopPropagation();
|
|
@@ -228,11 +228,11 @@ export class InputNumber {
|
|
|
228
228
|
this.setPreviousNumberValue = (value) => {
|
|
229
229
|
this.previousValue = this.normalizeValue(value);
|
|
230
230
|
};
|
|
231
|
-
this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
231
|
+
this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value, }) => {
|
|
232
232
|
numberStringFormatter.numberFormatOptions = {
|
|
233
233
|
locale: this.effectiveLocale,
|
|
234
234
|
numberingSystem: this.numberingSystem,
|
|
235
|
-
useGrouping: this.groupSeparator
|
|
235
|
+
useGrouping: this.groupSeparator,
|
|
236
236
|
};
|
|
237
237
|
const isValueDeleted = this.previousValue?.length > value.length || this.value?.length > value.length;
|
|
238
238
|
const hasTrailingDecimalSeparator = value.charAt(value.length - 1) === ".";
|
|
@@ -337,7 +337,7 @@ export class InputNumber {
|
|
|
337
337
|
? ""
|
|
338
338
|
: isValidNumber(newValue)
|
|
339
339
|
? newValue
|
|
340
|
-
: this.previousValue || ""
|
|
340
|
+
: this.previousValue || "",
|
|
341
341
|
});
|
|
342
342
|
this.warnAboutInvalidNumberValue(newValue);
|
|
343
343
|
}
|
|
@@ -354,7 +354,7 @@ export class InputNumber {
|
|
|
354
354
|
numberStringFormatter.numberFormatOptions = {
|
|
355
355
|
locale,
|
|
356
356
|
numberingSystem: this.numberingSystem,
|
|
357
|
-
useGrouping: false
|
|
357
|
+
useGrouping: false,
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
360
|
//--------------------------------------------------------------------------
|
|
@@ -377,7 +377,7 @@ export class InputNumber {
|
|
|
377
377
|
this.warnAboutInvalidNumberValue(this.value);
|
|
378
378
|
this.setNumberValue({
|
|
379
379
|
origin: "connected",
|
|
380
|
-
value: isValidNumber(this.value) ? this.value : ""
|
|
380
|
+
value: isValidNumber(this.value) ? this.value : "",
|
|
381
381
|
});
|
|
382
382
|
this.mutationObserver?.observe(this.el, { childList: true });
|
|
383
383
|
this.setDisabledAction();
|
|
@@ -406,7 +406,7 @@ export class InputNumber {
|
|
|
406
406
|
if (property === "value" && newValue && !isValidNumber(newValue)) {
|
|
407
407
|
this.setNumberValue({
|
|
408
408
|
origin: "reset",
|
|
409
|
-
value: oldValue
|
|
409
|
+
value: oldValue,
|
|
410
410
|
});
|
|
411
411
|
return false;
|
|
412
412
|
}
|
|
@@ -453,13 +453,13 @@ export class InputNumber {
|
|
|
453
453
|
committing: true,
|
|
454
454
|
nativeEvent,
|
|
455
455
|
origin: "user",
|
|
456
|
-
value: finalValue
|
|
456
|
+
value: finalValue,
|
|
457
457
|
});
|
|
458
458
|
}
|
|
459
459
|
onFormReset() {
|
|
460
460
|
this.setNumberValue({
|
|
461
461
|
origin: "reset",
|
|
462
|
-
value: this.defaultValue
|
|
462
|
+
value: this.defaultValue,
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
465
|
syncHiddenFormInput(input) {
|
|
@@ -504,11 +504,11 @@ export class InputNumber {
|
|
|
504
504
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
505
505
|
const numberButtonsHorizontalUp = (h("button", { "aria-hidden": "true", class: {
|
|
506
506
|
[CSS.numberButtonItem]: true,
|
|
507
|
-
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
507
|
+
[CSS.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
508
508
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
509
509
|
const numberButtonsHorizontalDown = (h("button", { "aria-hidden": "true", class: {
|
|
510
510
|
[CSS.numberButtonItem]: true,
|
|
511
|
-
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
511
|
+
[CSS.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
512
512
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
513
513
|
const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
514
514
|
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
loader: "loader",
|
|
@@ -17,8 +17,8 @@ export const CSS = {
|
|
|
17
17
|
inputWrapper: "wrapper",
|
|
18
18
|
actionWrapper: "action-wrapper",
|
|
19
19
|
resizeIconWrapper: "resize-icon-wrapper",
|
|
20
|
-
numberButtonItem: "number-button-item"
|
|
20
|
+
numberButtonItem: "number-button-item",
|
|
21
21
|
};
|
|
22
22
|
export const SLOTS = {
|
|
23
|
-
action: "action"
|
|
23
|
+
action: "action",
|
|
24
24
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import { h, Host } from "@stencil/core";
|
|
6
|
+
import { h, Host, } from "@stencil/core";
|
|
7
7
|
import { getElementDir, getSlotted, setRequestedIcon } from "../../utils/dom";
|
|
8
|
-
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
9
|
-
import { connectInteractive, disconnectInteractive, updateHostInteraction } from "../../utils/interactive";
|
|
8
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm, } from "../../utils/form";
|
|
9
|
+
import { connectInteractive, disconnectInteractive, updateHostInteraction, } from "../../utils/interactive";
|
|
10
10
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
11
|
-
import { componentFocusable, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
11
|
+
import { componentFocusable, setComponentLoaded, setUpLoadableComponent, } from "../../utils/loadable";
|
|
12
12
|
import { connectLocalized, disconnectLocalized } from "../../utils/locale";
|
|
13
13
|
import { createObserver } from "../../utils/observers";
|
|
14
14
|
import { CSS_UTILITY } from "../../utils/resources";
|
|
15
|
-
import { connectMessages, disconnectMessages, setUpMessages, updateMessages } from "../../utils/t9n";
|
|
15
|
+
import { connectMessages, disconnectMessages, setUpMessages, updateMessages, } from "../../utils/t9n";
|
|
16
16
|
import { CSS, SLOTS } from "./resources";
|
|
17
17
|
/**
|
|
18
18
|
* @slot action - A slot for positioning a button next to the component.
|
|
@@ -46,7 +46,7 @@ export class InputText {
|
|
|
46
46
|
committing: true,
|
|
47
47
|
nativeEvent,
|
|
48
48
|
origin: "user",
|
|
49
|
-
value: ""
|
|
49
|
+
value: "",
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
52
|
this.emitChangeIfUserModified = () => {
|
|
@@ -58,7 +58,7 @@ export class InputText {
|
|
|
58
58
|
this.inputTextBlurHandler = () => {
|
|
59
59
|
this.calciteInternalInputTextBlur.emit({
|
|
60
60
|
element: this.childEl,
|
|
61
|
-
value: this.value
|
|
61
|
+
value: this.value,
|
|
62
62
|
});
|
|
63
63
|
this.emitChangeIfUserModified();
|
|
64
64
|
};
|
|
@@ -74,7 +74,7 @@ export class InputText {
|
|
|
74
74
|
this.inputTextFocusHandler = () => {
|
|
75
75
|
this.calciteInternalInputTextFocus.emit({
|
|
76
76
|
element: this.childEl,
|
|
77
|
-
value: this.value
|
|
77
|
+
value: this.value,
|
|
78
78
|
});
|
|
79
79
|
};
|
|
80
80
|
this.inputTextInputHandler = (nativeEvent) => {
|
|
@@ -84,7 +84,7 @@ export class InputText {
|
|
|
84
84
|
this.setValue({
|
|
85
85
|
nativeEvent,
|
|
86
86
|
origin: "user",
|
|
87
|
-
value: nativeEvent.target.value
|
|
87
|
+
value: nativeEvent.target.value,
|
|
88
88
|
});
|
|
89
89
|
};
|
|
90
90
|
this.inputTextKeyDownHandler = (event) => {
|
|
@@ -99,7 +99,7 @@ export class InputText {
|
|
|
99
99
|
if (event.target.name === this.name) {
|
|
100
100
|
this.setValue({
|
|
101
101
|
value: event.target.value,
|
|
102
|
-
origin: "direct"
|
|
102
|
+
origin: "direct",
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
event.stopPropagation();
|
|
@@ -119,7 +119,7 @@ export class InputText {
|
|
|
119
119
|
this.setPreviousValue = (value) => {
|
|
120
120
|
this.previousValue = value;
|
|
121
121
|
};
|
|
122
|
-
this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
122
|
+
this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value, }) => {
|
|
123
123
|
this.setPreviousValue(previousValue ?? this.value);
|
|
124
124
|
this.previousValueOrigin = origin;
|
|
125
125
|
this.userChangedValue = origin === "user" && value !== this.value;
|
|
@@ -181,7 +181,7 @@ export class InputText {
|
|
|
181
181
|
this.setValue({
|
|
182
182
|
origin: "direct",
|
|
183
183
|
previousValue,
|
|
184
|
-
value: !newValue ? "" : newValue
|
|
184
|
+
value: !newValue ? "" : newValue,
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
187
|
this.userChangedValue = false;
|
|
@@ -256,7 +256,7 @@ export class InputText {
|
|
|
256
256
|
onFormReset() {
|
|
257
257
|
this.setValue({
|
|
258
258
|
origin: "reset",
|
|
259
|
-
value: this.defaultValue
|
|
259
|
+
value: this.defaultValue,
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
262
|
syncHiddenFormInput(input) {
|
|
@@ -297,7 +297,7 @@ export class InputText {
|
|
|
297
297
|
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
298
298
|
const childEl = (h("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
299
299
|
[CSS.editingEnabled]: this.editingEnabled,
|
|
300
|
-
[CSS.inlineChild]: !!this.inlineEditableEl
|
|
300
|
+
[CSS.inlineChild]: !!this.inlineEditableEl,
|
|
301
301
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value,
|
|
302
302
|
// eslint-disable-next-line react/jsx-sort-props
|
|
303
303
|
ref: this.setChildElRef }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
loader: "loader",
|
|
@@ -14,8 +14,8 @@ export const CSS = {
|
|
|
14
14
|
wrapper: "element-wrapper",
|
|
15
15
|
inputWrapper: "wrapper",
|
|
16
16
|
actionWrapper: "action-wrapper",
|
|
17
|
-
resizeIconWrapper: "resize-icon-wrapper"
|
|
17
|
+
resizeIconWrapper: "resize-icon-wrapper",
|
|
18
18
|
};
|
|
19
19
|
export const SLOTS = {
|
|
20
|
-
action: "action"
|
|
20
|
+
action: "action",
|
|
21
21
|
};
|