@esri/calcite-components 1.0.0-beta.84 → 1.0.0-beta.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00b8ff95.system.entry.js +6 -0
- package/dist/calcite/p-01225516.entry.js +6 -0
- package/dist/calcite/p-017caeef.entry.js +6 -0
- package/dist/calcite/{p-2bf5b9b6.js → p-0296d6e5.js} +2 -2
- package/dist/calcite/{p-82e24e64.system.js → p-031fe642.system.js} +1 -1
- package/dist/calcite/p-09d4e789.system.js +7 -0
- package/dist/calcite/p-0b966e54.entry.js +6 -0
- package/dist/calcite/p-0d4fb8ca.entry.js +6 -0
- package/dist/calcite/{p-cc041a12.system.js → p-1087f996.system.js} +1 -1
- package/dist/calcite/p-12f67a05.entry.js +6 -0
- package/dist/calcite/p-140247a4.entry.js +6 -0
- package/dist/calcite/p-14368daa.entry.js +6 -0
- package/dist/calcite/p-149f567e.entry.js +6 -0
- package/dist/calcite/{p-549e267e.system.js → p-151ef522.system.js} +1 -1
- package/dist/calcite/{p-aaba2ea0.system.js → p-1534218b.system.js} +1 -1
- package/dist/calcite/{p-74153f82.js → p-1647d422.js} +2 -2
- package/dist/calcite/{p-9eaf38bc.js → p-1774ae47.js} +2 -2
- package/dist/calcite/{p-c2ed5f67.js → p-18679417.js} +1 -1
- package/dist/calcite/{p-3d8ab9d5.entry.js → p-1d97eff4.entry.js} +2 -2
- package/dist/calcite/p-204cda47.entry.js +6 -0
- package/dist/calcite/p-20bd3399.system.entry.js +6 -0
- package/dist/calcite/p-221e3f32.system.entry.js +6 -0
- package/dist/calcite/{p-3aefc333.entry.js → p-23a52c67.entry.js} +2 -2
- package/dist/calcite/p-23f02457.system.js +6 -0
- package/dist/calcite/p-24daa1f0.entry.js +6 -0
- package/dist/calcite/p-25116f74.system.entry.js +6 -0
- package/dist/calcite/{p-0bfe5ca7.entry.js → p-26803235.entry.js} +2 -2
- package/dist/calcite/{p-ec8d9088.system.entry.js → p-271b3555.system.entry.js} +2 -2
- package/dist/calcite/{p-74b7ff1f.entry.js → p-27db08bc.entry.js} +2 -2
- package/dist/calcite/p-27dd1893.entry.js +6 -0
- package/dist/calcite/p-288354f0.system.js +6 -0
- package/dist/calcite/{p-df26aab6.js → p-292b7dab.js} +1 -1
- package/dist/calcite/{p-f8695531.entry.js → p-29610c9f.entry.js} +2 -2
- package/dist/calcite/{p-07c6e102.system.js → p-2a7e2957.system.js} +2 -2
- package/dist/calcite/p-2b1db9be.js +6 -0
- package/dist/calcite/p-2d6b5124.system.entry.js +6 -0
- package/dist/calcite/{p-a92ac42d.system.js → p-2ed8b011.system.js} +1 -1
- package/dist/calcite/p-325c25e7.entry.js +6 -0
- package/dist/calcite/{p-fdc7032c.system.js → p-34ff2c2f.system.js} +1 -1
- package/dist/calcite/{p-9e8d6e02.js → p-389bfb3f.js} +2 -2
- package/dist/calcite/{p-6eadd519.entry.js → p-39c28eb7.entry.js} +2 -2
- package/dist/calcite/{p-fbbfde67.system.js → p-3a1beee3.system.js} +2 -2
- package/dist/calcite/{p-21a1034c.entry.js → p-3b02f6a7.entry.js} +2 -2
- package/dist/calcite/{p-8ae680a2.system.entry.js → p-3b28ce55.system.entry.js} +2 -2
- package/dist/calcite/p-3c9f7afb.entry.js +6 -0
- package/dist/calcite/{p-d96573eb.system.entry.js → p-3daaf28f.system.entry.js} +2 -2
- package/dist/calcite/{p-6309de22.entry.js → p-3fc47895.entry.js} +2 -2
- package/dist/calcite/p-42a122ab.entry.js +6 -0
- package/dist/calcite/p-489e9825.system.entry.js +6 -0
- package/dist/calcite/p-49d40985.system.entry.js +6 -0
- package/dist/calcite/{p-7ec42769.js → p-4a0d41e4.js} +1 -1
- package/dist/calcite/{p-8202ad8a.system.entry.js → p-4db1c603.system.entry.js} +2 -2
- package/dist/calcite/{p-dd5e585b.entry.js → p-50513c03.entry.js} +2 -2
- package/dist/calcite/p-516a5c68.system.entry.js +6 -0
- package/dist/calcite/p-53a423d9.system.entry.js +6 -0
- package/dist/calcite/p-5544e264.entry.js +6 -0
- package/dist/calcite/p-57b6f7fb.system.entry.js +6 -0
- package/dist/calcite/{p-4d9c7cc9.system.js → p-584cb04b.system.js} +1 -1
- package/dist/calcite/p-58c76aff.entry.js +6 -0
- package/dist/calcite/{p-9d158b37.system.js → p-59574854.system.js} +2 -2
- package/dist/calcite/p-5b1c8598.system.entry.js +6 -0
- package/dist/calcite/{p-4f9ce175.js → p-5e5bb0fe.js} +2 -2
- package/dist/calcite/{p-dca64e20.js → p-61379359.js} +2 -2
- package/dist/calcite/p-61653e5f.entry.js +6 -0
- package/dist/calcite/p-62e5d329.entry.js +6 -0
- package/dist/calcite/{p-39bb68b3.system.js → p-635720f4.system.js} +2 -2
- package/dist/calcite/{p-20d610fc.entry.js → p-6ab55ea8.entry.js} +2 -2
- package/dist/calcite/{p-6a8f1936.system.js → p-6b815a3f.system.js} +2 -2
- package/dist/calcite/p-6d315566.system.entry.js +6 -0
- package/dist/calcite/p-70df22f8.system.entry.js +6 -0
- package/dist/calcite/p-70f9bfcf.system.entry.js +6 -0
- package/dist/calcite/p-76d5c5ab.entry.js +6 -0
- package/dist/calcite/p-80362407.entry.js +6 -0
- package/dist/calcite/{p-4cfef590.system.js → p-8270f683.system.js} +3 -3
- package/dist/calcite/{p-fb0e5ae3.js → p-84f563f6.js} +1 -1
- package/dist/calcite/p-8666e681.system.entry.js +6 -0
- package/dist/calcite/p-874248a5.entry.js +6 -0
- package/dist/calcite/{p-e2ccf473.entry.js → p-878cfb6b.entry.js} +2 -2
- package/dist/calcite/{p-ca1b7a2e.js → p-87b06a4a.js} +1 -1
- package/dist/calcite/p-88633a5f.system.entry.js +6 -0
- package/dist/calcite/p-89151794.system.entry.js +6 -0
- package/dist/calcite/p-8a4187a1.system.entry.js +6 -0
- package/dist/calcite/p-8c18de14.system.entry.js +6 -0
- package/dist/calcite/{p-f8cb1eeb.js → p-8fed02c7.js} +1 -1
- package/dist/calcite/p-90bb8af7.system.entry.js +6 -0
- package/dist/calcite/p-9267c232.system.entry.js +6 -0
- package/dist/calcite/{p-a89fc6a1.system.entry.js → p-938ee739.system.entry.js} +2 -2
- package/dist/calcite/p-9416a65c.entry.js +6 -0
- package/dist/calcite/p-95d58e86.system.entry.js +6 -0
- package/dist/calcite/p-95e23b85.entry.js +6 -0
- package/dist/calcite/{p-2e3ffd32.system.js → p-98f5945a.system.js} +2 -2
- package/dist/calcite/{p-6d1c91ee.entry.js → p-996d8919.entry.js} +2 -2
- package/dist/calcite/{p-e45d0fed.system.js → p-99834ee5.system.js} +1 -1
- package/dist/calcite/p-9a6b21d8.entry.js +6 -0
- package/dist/calcite/p-9a7290b9.system.entry.js +6 -0
- package/dist/calcite/p-9ac11a5a.system.entry.js +6 -0
- package/dist/calcite/p-9ac7eaf9.entry.js +6 -0
- package/dist/calcite/{p-ce28c259.js → p-9c216ae7.js} +2 -2
- package/dist/calcite/p-9d161fd1.system.entry.js +6 -0
- package/dist/calcite/p-9e8a8543.entry.js +6 -0
- package/dist/calcite/{p-d6d814a6.system.js → p-a2fb1d9c.system.js} +1 -1
- package/dist/calcite/p-a64c38ea.system.entry.js +6 -0
- package/dist/calcite/{p-2ce10f9a.system.js → p-a65a2b93.system.js} +1 -1
- package/dist/calcite/p-a6c2e6e3.entry.js +6 -0
- package/dist/calcite/{p-9c4aa033.entry.js → p-a7798679.entry.js} +2 -2
- package/dist/calcite/{p-5d7f4169.js → p-abb072bc.js} +1 -1
- package/dist/calcite/p-ad9ce24b.system.entry.js +6 -0
- package/dist/calcite/p-add9d199.system.entry.js +6 -0
- package/dist/calcite/p-afaa2b92.entry.js +6 -0
- package/dist/calcite/{p-aa9ce421.js → p-afd70310.js} +1 -1
- package/dist/calcite/p-b2fd8207.system.js +6 -0
- package/dist/calcite/p-b330e520.system.entry.js +6 -0
- package/dist/calcite/p-b451a135.entry.js +6 -0
- package/dist/calcite/p-b4ed3310.system.entry.js +6 -0
- package/dist/calcite/{p-e69d3ca4.system.js → p-b65a82b9.system.js} +1 -1
- package/dist/calcite/{p-5bd80046.entry.js → p-b7181609.entry.js} +2 -2
- package/dist/calcite/p-b9a92e2a.system.entry.js +6 -0
- package/dist/calcite/p-bd8dabb4.system.entry.js +6 -0
- package/dist/calcite/{p-e345449f.entry.js → p-be70e32c.entry.js} +2 -2
- package/dist/calcite/{p-14f0920e.system.entry.js → p-c11c8810.system.entry.js} +2 -2
- package/dist/calcite/p-c44fe786.js +7 -0
- package/dist/calcite/p-c49a8303.system.entry.js +6 -0
- package/dist/calcite/{p-ce654c2c.system.entry.js → p-c6c191a4.system.entry.js} +2 -2
- package/dist/calcite/p-c82c15ee.system.entry.js +6 -0
- package/dist/calcite/{p-dd5185d6.entry.js → p-c8a4f49a.entry.js} +2 -2
- package/dist/calcite/p-c8e7775c.system.entry.js +6 -0
- package/dist/calcite/p-cd41f4a3.entry.js +6 -0
- package/dist/calcite/{p-f07627e7.system.entry.js → p-ced28d9d.system.entry.js} +3 -3
- package/dist/calcite/p-cf2ff728.system.entry.js +6 -0
- package/dist/calcite/{p-51491e10.system.js → p-d0043d6d.system.js} +1 -1
- package/dist/calcite/p-d522d0d3.entry.js +6 -0
- package/dist/calcite/p-d913deb7.system.entry.js +6 -0
- package/dist/calcite/p-d91d56df.entry.js +6 -0
- package/dist/calcite/p-d9b2646c.system.entry.js +6 -0
- package/dist/calcite/p-d9cf3438.system.entry.js +6 -0
- package/dist/calcite/{p-ecd12a92.js → p-db7068cb.js} +1 -1
- package/dist/calcite/p-db98f211.system.entry.js +6 -0
- package/dist/calcite/p-dca64758.system.entry.js +6 -0
- package/dist/calcite/{p-4908e3a5.system.js → p-deefbe33.system.js} +1 -1
- package/dist/calcite/p-dfce3d62.system.entry.js +6 -0
- package/dist/calcite/p-e0ab7e38.entry.js +6 -0
- package/dist/calcite/{p-26757de8.entry.js → p-e0f3d151.entry.js} +2 -2
- package/dist/calcite/p-e2087090.js +6 -0
- package/dist/calcite/{p-8133b2a5.entry.js → p-e64aaaff.entry.js} +2 -2
- package/dist/calcite/p-e85df792.system.entry.js +6 -0
- package/dist/calcite/{p-bbd8269c.js → p-e8b42645.js} +1 -1
- package/dist/calcite/p-eb133e45.entry.js +6 -0
- package/dist/calcite/p-eb357ea6.entry.js +6 -0
- package/dist/calcite/{p-f6760679.js → p-ec6c73c0.js} +2 -2
- package/dist/calcite/p-ed90ef39.entry.js +6 -0
- package/dist/calcite/p-efd107ed.entry.js +6 -0
- package/dist/calcite/p-f1e819d0.js +6 -0
- package/dist/calcite/p-f200ceb7.system.entry.js +6 -0
- package/dist/calcite/{p-bb1711f3.js → p-f4b01f6e.js} +1 -1
- package/dist/calcite/p-f5ef4bdb.system.js +6 -0
- package/dist/calcite/p-f7481a5b.system.entry.js +6 -0
- package/dist/calcite/p-f934284b.system.entry.js +6 -0
- package/dist/calcite/p-f935181a.entry.js +6 -0
- package/dist/calcite/p-fb374b42.entry.js +6 -0
- package/dist/calcite/p-fb5b969f.system.entry.js +6 -0
- package/dist/calcite/p-fbc834e7.system.entry.js +6 -0
- package/dist/calcite/p-fc321a74.system.entry.js +6 -0
- package/dist/calcite/p-fc45579a.entry.js +6 -0
- package/dist/calcite/{p-1157ae2f.js → p-fcb2ff51.js} +1 -1
- package/dist/calcite/p-fe2ddf18.system.entry.js +6 -0
- package/dist/calcite/{p-d05f35e8.system.js → p-fe8a9479.system.js} +2 -2
- package/dist/cjs/{ExpandToggle-894fe6d0.js → ExpandToggle-34dbe39b.js} +5 -5
- package/dist/cjs/{Heading-9546b15c.js → Heading-12d798ce.js} +2 -2
- package/dist/cjs/{array-1c85be7d.js → array-e582a132.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +83 -44
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -32
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +31 -38
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -11
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -9
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +58 -83
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +65 -67
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +80 -114
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -24
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +121 -100
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +525 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +36 -27
- package/dist/cjs/calcite-input.cjs.entry.js +14 -20
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-loader.cjs.entry.js +9 -5
- package/dist/cjs/calcite-modal.cjs.entry.js +44 -16
- package/dist/cjs/calcite-notice.cjs.entry.js +37 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
- package/dist/cjs/calcite-panel.cjs.entry.js +54 -23
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-popover_2.cjs.entry.js +72 -82
- 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 +10 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +7 -7
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +51 -84
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -13
- package/dist/cjs/calcite-tab_4.cjs.entry.js +61 -61
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +31 -64
- package/dist/cjs/calcite-tree_2.cjs.entry.js +28 -28
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +89 -24
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-ecb74d9a.js → conditionalSlot-352bec3d.js} +3 -3
- package/dist/cjs/{debounce-a74a2080.js → debounce-6cd1535e.js} +1 -1
- package/dist/cjs/{dom-69c7e941.js → dom-ed822c13.js} +2 -2
- package/dist/cjs/floating-ui-ddaf1746.js +1620 -0
- package/dist/cjs/{forIn-efe39801.js → forIn-9c2acd4a.js} +2 -2
- package/dist/cjs/{form-901b31de.js → form-e3be7149.js} +3 -3
- package/dist/cjs/{guid-263ed05b.js → guid-c86839da.js} +1 -1
- package/dist/cjs/{index-8fbe74dd.js → index-33f65b26.js} +12 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-b2df5d51.js → interactive-a3821d41.js} +1 -1
- package/dist/cjs/{interfaces-a8a9ed80.js → interfaces-0d6f4796.js} +1 -1
- package/dist/cjs/{key-0fe936c7.js → key-a2e96b2d.js} +1 -1
- package/dist/cjs/{label-f1317d82.js → label-bd9a47bd.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-0becaa93.js → locale-48e984a4.js} +2 -2
- package/dist/cjs/{math-0877dd01.js → math-b4d12de8.js} +1 -1
- package/dist/cjs/{observers-8169781c.js → observers-11defbec.js} +1 -1
- package/dist/cjs/{resources-93a62cd3.js → resources-0b605ada.js} +1 -1
- package/dist/cjs/{resources-80d6cd05.js → resources-1388772a.js} +1 -1
- package/dist/cjs/{resources-6ac223e5.js → resources-826e04f0.js} +3 -3
- package/dist/cjs/{resources-192c00c3.js → resources-ca50aa50.js} +12 -6
- package/dist/cjs/{sortable.esm-b7091c1d.js → sortable.esm-67fdfa55.js} +1 -1
- package/dist/cjs/{utils-b1d11545.js → utils-1a470335.js} +1 -1
- package/dist/collection/collection-manifest.json +7 -1
- package/dist/collection/components/accordion/accordion.css +3 -3
- package/dist/collection/components/accordion/accordion.js +25 -20
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +81 -63
- package/dist/collection/components/accordion-item/accordion-item.js +92 -48
- package/dist/collection/components/accordion-item/interfaces.js +6 -0
- package/dist/collection/components/accordion-item/resources.js +21 -0
- package/dist/collection/components/action/action.css +24 -22
- package/dist/collection/components/action/action.js +3 -3
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +7 -6
- package/dist/collection/components/action-bar/action-bar.js +3 -3
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +2 -2
- package/dist/collection/components/action-group/action-group.js +3 -3
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +3 -3
- package/dist/collection/components/action-menu/action-menu.js +25 -37
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +9 -9
- package/dist/collection/components/action-pad/action-pad.js +3 -3
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +41 -49
- package/dist/collection/components/alert/alert.js +52 -70
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +11 -11
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +15 -18
- package/dist/collection/components/block/block.js +12 -5
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +11 -17
- package/dist/collection/components/block-section/block-section.js +3 -3
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +37 -37
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +23 -23
- package/dist/collection/components/card/card.js +6 -6
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +12 -14
- package/dist/collection/components/checkbox/checkbox.js +7 -7
- package/dist/collection/components/chip/chip.css +27 -23
- package/dist/collection/components/chip/chip.js +39 -7
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +32 -29
- package/dist/collection/components/color-picker/color-picker.js +5 -5
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -7
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +3 -3
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +12 -15
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +49 -45
- package/dist/collection/components/combobox/combobox.js +77 -111
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +21 -14
- package/dist/collection/components/combobox-item/combobox-item.js +9 -4
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +13 -9
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.js +14 -14
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +23 -28
- package/dist/collection/components/date-picker-day/date-picker-day.js +8 -10
- package/dist/collection/components/date-picker-month/date-picker-month.css +14 -24
- package/dist/collection/components/date-picker-month/date-picker-month.js +41 -29
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +23 -33
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +20 -20
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +26 -18
- package/dist/collection/components/dropdown/dropdown.js +95 -143
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +4 -4
- package/dist/collection/components/dropdown-group/dropdown-group.js +9 -4
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +8 -17
- package/dist/collection/components/dropdown-item/dropdown-item.js +18 -13
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +7 -6
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +16 -18
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +4 -4
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.css +4 -4
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +3 -2
- package/dist/collection/components/handle/handle.js +9 -4
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +13 -13
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +12 -11
- package/dist/collection/components/inline-editable/inline-editable.js +19 -19
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +74 -96
- package/dist/collection/components/input/input.js +15 -16
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +70 -73
- package/dist/collection/components/input-date-picker/input-date-picker.js +203 -116
- package/dist/collection/components/input-date-picker/resources.js +9 -0
- package/dist/collection/components/input-message/input-message.css +7 -7
- 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.css +501 -0
- package/dist/collection/components/input-number/input-number.js +1250 -0
- package/dist/collection/components/input-number/interfaces.js +5 -0
- package/dist/collection/components/input-number/resources.js +27 -0
- package/dist/collection/components/input-time-picker/input-time-picker.css +9 -11
- package/dist/collection/components/input-time-picker/input-time-picker.js +54 -28
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +15 -15
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +14 -13
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +8 -7
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +12 -15
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +2 -2
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +27 -31
- package/dist/collection/components/loader/loader.js +10 -3
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +77 -70
- package/dist/collection/components/modal/modal.js +78 -19
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +26 -34
- package/dist/collection/components/notice/notice.js +83 -12
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +1 -1
- package/dist/collection/components/option/option.js +3 -3
- package/dist/collection/components/option-group/option-group.css +1 -1
- package/dist/collection/components/option-group/option-group.js +3 -3
- package/dist/collection/components/pagination/pagination.css +10 -14
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +39 -45
- package/dist/collection/components/panel/panel.js +105 -26
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +13 -12
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +5 -1
- package/dist/collection/components/pick-list/shared-list-render.js +3 -2
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -7
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +15 -17
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +29 -34
- package/dist/collection/components/popover/popover.js +132 -91
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.css +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.css +9 -11
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +15 -17
- package/dist/collection/components/radio-button/radio-button.js +10 -10
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +2 -2
- package/dist/collection/components/radio-button-group/radio-button-group.js +3 -3
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.css +15 -17
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.css +7 -13
- package/dist/collection/components/radio-group-item/radio-group-item.js +3 -3
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +18 -20
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -11
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +22 -28
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +17 -24
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +11 -13
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +17 -20
- package/dist/collection/components/shell-panel/shell-panel.js +3 -3
- package/dist/collection/components/slider/slider.css +43 -44
- package/dist/collection/components/slider/slider.js +7 -7
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +6 -5
- package/dist/collection/components/sortable-list/sortable-list.js +3 -3
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +17 -18
- package/dist/collection/components/split-button/split-button.js +21 -11
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.css +6 -9
- package/dist/collection/components/stepper/stepper.js +26 -84
- package/dist/collection/components/stepper-item/stepper-item.css +103 -35
- package/dist/collection/components/stepper-item/stepper-item.js +41 -20
- package/dist/collection/components/switch/switch.css +28 -30
- package/dist/collection/components/switch/switch.js +12 -9
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.css +10 -13
- package/dist/collection/components/tab/tab.js +4 -4
- package/dist/collection/components/tab-nav/tab-nav.css +24 -25
- package/dist/collection/components/tab-nav/tab-nav.js +29 -29
- package/dist/collection/components/tab-title/tab-title.css +41 -50
- package/dist/collection/components/tab-title/tab-title.js +8 -8
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +21 -21
- package/dist/collection/components/tabs/tabs.js +20 -20
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +12 -11
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +14 -13
- package/dist/collection/components/tile-select/tile-select.js +3 -3
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +10 -9
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +11 -17
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +12 -15
- package/dist/collection/components/tip/tip.js +3 -3
- package/dist/collection/components/tip-group/tip-group.css +2 -3
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +11 -16
- package/dist/collection/components/tip-manager/tip-manager.js +7 -7
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +25 -30
- package/dist/collection/components/tooltip/tooltip.js +35 -66
- package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.css +4 -1
- package/dist/collection/components/tree/tree.js +12 -12
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +18 -15
- package/dist/collection/components/tree-item/tree-item.js +10 -10
- package/dist/collection/components/value-list/interfaces.js +6 -0
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +49 -0
- package/dist/collection/components/value-list/value-list.css +12 -11
- package/dist/collection/components/value-list/value-list.js +101 -11
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +12 -13
- package/dist/collection/components/value-list-item/value-list-item.js +3 -3
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +229 -0
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +2 -2
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +3 -3
- package/dist/components/action-menu.js +9 -26
- package/dist/components/action.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +4 -4
- package/dist/components/calcite-accordion-item.js +63 -26
- package/dist/components/calcite-accordion.js +18 -18
- package/dist/components/calcite-action-bar.js +3 -3
- 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 +28 -35
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +3 -3
- package/dist/components/calcite-block.js +8 -4
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +7 -7
- package/dist/components/calcite-checkbox.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 +3 -3
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +3 -3
- package/dist/components/calcite-combobox.js +46 -71
- 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 +2 -2
- package/dist/components/calcite-dropdown-item.js +9 -9
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +2 -2
- 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 +20 -20
- package/dist/components/calcite-input-date-picker.js +114 -91
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.d.ts +11 -0
- package/dist/components/calcite-input-number.js +586 -0
- package/dist/components/calcite-input-time-picker.js +29 -19
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- 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 +3 -3
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +41 -13
- package/dist/components/calcite-notice.js +34 -7
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +50 -17
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +5 -5
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +4 -4
- package/dist/components/calcite-rating.js +3 -3
- package/dist/components/calcite-scrim.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 +3 -3
- package/dist/components/calcite-shell.js +3 -3
- package/dist/components/calcite-slider.js +4 -4
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +5 -5
- package/dist/components/calcite-stepper-item.js +25 -21
- package/dist/components/calcite-stepper.js +26 -62
- 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-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +5 -5
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +26 -59
- package/dist/components/calcite-tree-item.js +12 -12
- package/dist/components/calcite-tree.js +13 -13
- package/dist/components/calcite-value-list-item.js +4 -4
- package/dist/components/calcite-value-list.js +82 -13
- package/dist/components/checkbox.js +3 -3
- package/dist/components/chip.js +12 -5
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +6 -8
- package/dist/components/date-picker-month-header.js +22 -22
- package/dist/components/date-picker-month.js +19 -19
- package/dist/components/date-picker.js +15 -15
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +64 -98
- package/dist/components/filter.js +2 -2
- package/dist/components/floating-ui.js +1612 -0
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +2 -2
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +3 -3
- package/dist/components/index.d.ts +5 -90
- package/dist/components/index.js +1 -91
- package/dist/components/input.js +6 -12
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +112 -87
- package/dist/components/label2.js +87 -112
- package/dist/components/link.js +3 -3
- package/dist/components/loader.js +7 -3
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/popover.js +64 -73
- package/dist/components/progress.js +2 -2
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +9 -4
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +6 -8
- package/dist/components/tab-nav.js +31 -31
- package/dist/components/tab-title.js +6 -6
- package/dist/components/tab.js +3 -3
- package/dist/components/tabs.js +21 -21
- package/dist/components/tile.js +3 -3
- package/dist/components/time-picker.js +3 -3
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +3134 -2816
- package/dist/esm/{ExpandToggle-baf2c551.js → ExpandToggle-8ad8aac0.js} +5 -5
- package/dist/esm/{Heading-1183c4d7.js → Heading-4d9f4f89.js} +2 -2
- package/dist/esm/{array-d7b2d2da.js → array-c38e9698.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +83 -44
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +15 -32
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +31 -38
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -11
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +15 -9
- package/dist/esm/calcite-color-picker_3.entry.js +11 -11
- package/dist/esm/calcite-combobox_3.entry.js +57 -82
- package/dist/esm/calcite-date-picker_4.entry.js +65 -67
- package/dist/esm/calcite-dropdown_3.entry.js +78 -112
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +11 -11
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +24 -24
- package/dist/esm/calcite-input-date-picker.entry.js +119 -98
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +521 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +36 -27
- package/dist/esm/calcite-input.entry.js +14 -20
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +11 -11
- package/dist/esm/calcite-loader.entry.js +9 -5
- package/dist/esm/calcite-modal.entry.js +44 -16
- package/dist/esm/calcite-notice.entry.js +37 -12
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +6 -6
- package/dist/esm/calcite-panel.entry.js +54 -23
- package/dist/esm/calcite-pick-list_3.entry.js +14 -14
- package/dist/esm/calcite-popover_2.entry.js +70 -80
- 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 +10 -10
- package/dist/esm/calcite-radio-group_2.entry.js +9 -9
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +10 -10
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +7 -7
- package/dist/esm/calcite-stepper_2.entry.js +51 -84
- package/dist/esm/calcite-switch.entry.js +11 -13
- package/dist/esm/calcite-tab_4.entry.js +61 -61
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +12 -12
- package/dist/esm/calcite-tooltip_2.entry.js +30 -63
- package/dist/esm/calcite-tree_2.entry.js +28 -28
- package/dist/esm/calcite-value-list_2.entry.js +89 -24
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-91141c10.js → conditionalSlot-e49df07c.js} +3 -3
- package/dist/esm/{debounce-8620d992.js → debounce-76a1065a.js} +1 -1
- package/dist/esm/{dom-0e5130f0.js → dom-19ab3d2f.js} +2 -2
- package/dist/esm/floating-ui-4afc064e.js +1612 -0
- package/dist/esm/{forIn-908ce382.js → forIn-1c3a0d8e.js} +2 -2
- package/dist/esm/{form-44145a77.js → form-ecbc6fec.js} +3 -3
- package/dist/esm/{guid-035850cf.js → guid-ba74e5d4.js} +1 -1
- package/dist/esm/{index-7daa7f57.js → index-5048a317.js} +12 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-26697f71.js → interactive-71744e3e.js} +1 -1
- package/dist/esm/{interfaces-666dcdb6.js → interfaces-e771f6c8.js} +1 -1
- package/dist/esm/{key-5106532f.js → key-af81a004.js} +1 -1
- package/dist/esm/{label-e58bd849.js → label-dfcfa9e0.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-bd54ff3b.js → locale-ab6b5afc.js} +2 -2
- package/dist/esm/{math-28a370c3.js → math-a5e24a73.js} +1 -1
- package/dist/esm/{observers-5cd6c82a.js → observers-61a2bb4f.js} +1 -1
- package/dist/esm/{resources-d196b6c1.js → resources-566ead7b.js} +12 -7
- package/dist/esm/{resources-b9270cdb.js → resources-9348154b.js} +1 -1
- package/dist/esm/{resources-3498bd44.js → resources-c995bb5e.js} +3 -3
- package/dist/esm/{resources-daaebdea.js → resources-e1d5ca1c.js} +1 -1
- package/dist/esm/{sortable.esm-ef18907c.js → sortable.esm-d0f38173.js} +1 -1
- package/dist/esm/{utils-cf3669f8.js → utils-531de8fa.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-baf2c551.js → ExpandToggle-8ad8aac0.js} +2 -2
- package/dist/esm-es5/{Heading-1183c4d7.js → Heading-4d9f4f89.js} +2 -2
- package/dist/esm-es5/{array-d7b2d2da.js → array-c38e9698.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +3 -3
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +3 -3
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm-es5/calcite-fab.entry.js +3 -3
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +3 -3
- package/dist/esm-es5/calcite-graph_2.entry.js +3 -3
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +6 -0
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +3 -3
- package/dist/esm-es5/calcite-modal.entry.js +3 -3
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +3 -3
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +3 -3
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +3 -3
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +3 -3
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-91141c10.js → conditionalSlot-e49df07c.js} +2 -2
- package/dist/esm-es5/{debounce-8620d992.js → debounce-76a1065a.js} +1 -1
- package/dist/esm-es5/{dom-0e5130f0.js → dom-19ab3d2f.js} +2 -2
- package/dist/esm-es5/floating-ui-4afc064e.js +6 -0
- package/dist/esm-es5/{forIn-908ce382.js → forIn-1c3a0d8e.js} +2 -2
- package/dist/esm-es5/{form-44145a77.js → form-ecbc6fec.js} +2 -2
- package/dist/esm-es5/{guid-035850cf.js → guid-ba74e5d4.js} +1 -1
- package/dist/esm-es5/index-5048a317.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-26697f71.js → interactive-71744e3e.js} +1 -1
- package/dist/esm-es5/{interfaces-666dcdb6.js → interfaces-e771f6c8.js} +1 -1
- package/dist/esm-es5/{key-5106532f.js → key-af81a004.js} +1 -1
- package/dist/esm-es5/{label-e58bd849.js → label-dfcfa9e0.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-bd54ff3b.js → locale-ab6b5afc.js} +2 -2
- package/dist/esm-es5/{math-28a370c3.js → math-a5e24a73.js} +1 -1
- package/dist/esm-es5/{observers-5cd6c82a.js → observers-61a2bb4f.js} +1 -1
- package/dist/esm-es5/resources-566ead7b.js +6 -0
- package/dist/esm-es5/{resources-b9270cdb.js → resources-9348154b.js} +1 -1
- package/dist/esm-es5/{resources-3498bd44.js → resources-c995bb5e.js} +2 -2
- package/dist/esm-es5/{resources-daaebdea.js → resources-e1d5ca1c.js} +1 -1
- package/dist/esm-es5/{sortable.esm-ef18907c.js → sortable.esm-d0f38173.js} +1 -1
- package/dist/esm-es5/{utils-cf3669f8.js → utils-531de8fa.js} +1 -1
- package/dist/extras/docs-json.json +1221 -209
- 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/accordion/accordion.d.ts +4 -4
- package/dist/types/components/accordion/interfaces.d.ts +3 -0
- package/dist/types/components/accordion-item/accordion-item.d.ts +13 -7
- package/dist/types/components/accordion-item/interfaces.d.ts +11 -0
- package/dist/types/components/accordion-item/resources.d.ts +16 -0
- package/dist/types/components/action/action.d.ts +1 -1
- package/dist/types/components/action-bar/action-bar.d.ts +1 -1
- package/dist/types/components/action-group/action-group.d.ts +2 -1
- package/dist/types/components/action-menu/action-menu.d.ts +8 -8
- package/dist/types/components/action-pad/action-pad.d.ts +1 -1
- package/dist/types/components/alert/alert.d.ts +20 -24
- package/dist/types/components/alert/interfaces.d.ts +3 -0
- package/dist/types/components/block/block.d.ts +6 -2
- package/dist/types/components/block-section/block-section.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +3 -3
- package/dist/types/components/chip/chip.d.ts +14 -4
- package/dist/types/components/color-picker/color-picker.d.ts +2 -2
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -1
- package/dist/types/components/combobox/combobox.d.ts +25 -28
- package/dist/types/components/combobox-item/combobox-item.d.ts +4 -2
- package/dist/types/components/date-picker/date-picker.d.ts +5 -5
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +3 -3
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +7 -7
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +27 -31
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +2 -2
- package/dist/types/components/dropdown-group/interfaces.d.ts +4 -0
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +4 -3
- package/dist/types/components/handle/handle.d.ts +4 -1
- package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +6 -4
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +44 -27
- package/dist/types/components/input-date-picker/resources.d.ts +4 -0
- package/dist/types/components/input-number/input-number.d.ts +218 -0
- package/dist/types/components/input-number/interfaces.d.ts +1 -0
- package/dist/types/components/input-number/resources.d.ts +22 -0
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +11 -6
- package/dist/types/components/interfaces.d.ts +1 -0
- package/dist/types/components/loader/loader.d.ts +5 -1
- package/dist/types/components/modal/modal.d.ts +23 -7
- package/dist/types/components/notice/notice.d.ts +22 -5
- package/dist/types/components/panel/panel.d.ts +20 -9
- package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
- package/dist/types/components/pick-list/shared-list-render.d.ts +2 -0
- package/dist/types/components/popover/PopoverManager.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +28 -15
- package/dist/types/components/radio-button/radio-button.d.ts +4 -4
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +1 -1
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +1 -1
- package/dist/types/components/shell-panel/shell-panel.d.ts +1 -1
- package/dist/types/components/slider/slider.d.ts +3 -3
- package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
- package/dist/types/components/split-button/split-button.d.ts +14 -6
- package/dist/types/components/stepper/interfaces.d.ts +0 -1
- package/dist/types/components/stepper/stepper.d.ts +4 -13
- package/dist/types/components/stepper-item/stepper-item.d.ts +2 -2
- package/dist/types/components/switch/switch.d.ts +5 -3
- package/dist/types/components/tab/tab.d.ts +1 -1
- package/dist/types/components/tab-nav/tab-nav.d.ts +7 -7
- package/dist/types/components/tab-title/tab-title.d.ts +3 -3
- package/dist/types/components/tabs/tabs.d.ts +8 -8
- package/dist/types/components/tile-select/tile-select.d.ts +1 -1
- package/dist/types/components/tip/tip.d.ts +1 -1
- package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
- package/dist/types/components/tooltip/TooltipManager.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +6 -9
- package/dist/types/components/tree/tree.d.ts +2 -2
- package/dist/types/components/tree-item/tree-item.d.ts +2 -2
- package/dist/types/components/value-list/interfaces.d.ts +1 -0
- package/dist/types/components/value-list/utils.d.ts +8 -0
- package/dist/types/components/value-list/value-list.d.ts +30 -0
- package/dist/types/components.d.ts +602 -120
- package/dist/types/preact.d.ts +22 -9
- package/dist/types/utils/floating-ui.d.ts +109 -0
- package/hydrate/index.js +3144 -2905
- package/package.json +37 -33
- package/readme.md +2 -2
- package/dist/calcite/p-00247a8d.system.js +0 -7
- package/dist/calcite/p-02bb8194.entry.js +0 -6
- package/dist/calcite/p-061aea88.entry.js +0 -6
- package/dist/calcite/p-114d44c3.entry.js +0 -6
- package/dist/calcite/p-1363adcd.entry.js +0 -6
- package/dist/calcite/p-13d66ebf.entry.js +0 -6
- package/dist/calcite/p-14a22bfc.system.entry.js +0 -6
- package/dist/calcite/p-16888553.system.entry.js +0 -6
- package/dist/calcite/p-16dbdef2.system.entry.js +0 -6
- package/dist/calcite/p-1adea169.system.entry.js +0 -6
- package/dist/calcite/p-1db25c99.system.entry.js +0 -6
- package/dist/calcite/p-204443b0.system.entry.js +0 -6
- package/dist/calcite/p-236f1255.system.entry.js +0 -6
- package/dist/calcite/p-24d52a72.entry.js +0 -6
- package/dist/calcite/p-25349c89.system.entry.js +0 -6
- package/dist/calcite/p-278c8372.entry.js +0 -6
- package/dist/calcite/p-282106cb.system.js +0 -6
- package/dist/calcite/p-2b531882.entry.js +0 -6
- package/dist/calcite/p-30256458.entry.js +0 -6
- package/dist/calcite/p-34e0b58b.js +0 -6
- package/dist/calcite/p-352b94a1.system.entry.js +0 -6
- package/dist/calcite/p-3d2eebab.system.entry.js +0 -6
- package/dist/calcite/p-4185af29.entry.js +0 -6
- package/dist/calcite/p-4196e498.system.js +0 -6
- package/dist/calcite/p-41cbf505.system.entry.js +0 -6
- package/dist/calcite/p-438d87b0.entry.js +0 -6
- package/dist/calcite/p-448b3393.system.entry.js +0 -6
- package/dist/calcite/p-45588eee.system.entry.js +0 -6
- package/dist/calcite/p-49488c34.entry.js +0 -6
- package/dist/calcite/p-4b414b81.entry.js +0 -6
- package/dist/calcite/p-4eb531c4.js +0 -7
- package/dist/calcite/p-4f1dbd36.system.entry.js +0 -6
- package/dist/calcite/p-51ffb552.system.entry.js +0 -6
- package/dist/calcite/p-56f93049.js +0 -6
- package/dist/calcite/p-57b60838.entry.js +0 -6
- package/dist/calcite/p-594f52ca.system.entry.js +0 -6
- package/dist/calcite/p-67a0e692.system.entry.js +0 -6
- package/dist/calcite/p-6a554714.entry.js +0 -6
- package/dist/calcite/p-6cff0a2a.entry.js +0 -6
- package/dist/calcite/p-6d96d61f.system.js +0 -6
- package/dist/calcite/p-6e366971.system.entry.js +0 -6
- package/dist/calcite/p-70e1d287.system.entry.js +0 -6
- package/dist/calcite/p-7168da40.entry.js +0 -6
- package/dist/calcite/p-77bc0e49.entry.js +0 -6
- package/dist/calcite/p-7c7ad2d6.entry.js +0 -6
- package/dist/calcite/p-7cc3d924.system.entry.js +0 -6
- package/dist/calcite/p-7ede3d65.system.entry.js +0 -6
- package/dist/calcite/p-8018d689.system.entry.js +0 -6
- package/dist/calcite/p-8137bc05.entry.js +0 -6
- package/dist/calcite/p-82dec536.system.entry.js +0 -6
- package/dist/calcite/p-88d2d38a.entry.js +0 -6
- package/dist/calcite/p-890cc5a8.system.entry.js +0 -6
- package/dist/calcite/p-891e53dd.system.entry.js +0 -6
- package/dist/calcite/p-8c25b934.entry.js +0 -6
- package/dist/calcite/p-8c9e453c.js +0 -6
- package/dist/calcite/p-90608473.entry.js +0 -6
- package/dist/calcite/p-974b7008.system.entry.js +0 -6
- package/dist/calcite/p-98a2aa34.entry.js +0 -6
- package/dist/calcite/p-98dfd14b.system.entry.js +0 -6
- package/dist/calcite/p-99551007.system.entry.js +0 -6
- package/dist/calcite/p-9c5c3cb3.system.entry.js +0 -6
- package/dist/calcite/p-9c80707e.system.js +0 -6
- package/dist/calcite/p-9f13e930.entry.js +0 -6
- package/dist/calcite/p-a0971f99.entry.js +0 -6
- package/dist/calcite/p-a1208386.entry.js +0 -6
- package/dist/calcite/p-a1cc6421.entry.js +0 -6
- package/dist/calcite/p-a6e1e1e4.entry.js +0 -6
- package/dist/calcite/p-b2f27af5.entry.js +0 -6
- package/dist/calcite/p-b31d3dad.system.entry.js +0 -6
- package/dist/calcite/p-b3a4497d.entry.js +0 -6
- package/dist/calcite/p-b48feb98.system.entry.js +0 -6
- package/dist/calcite/p-bc5a7fee.system.entry.js +0 -6
- package/dist/calcite/p-bce5ab4f.system.entry.js +0 -6
- package/dist/calcite/p-c78d1678.system.entry.js +0 -6
- package/dist/calcite/p-c9d73fce.system.entry.js +0 -6
- package/dist/calcite/p-ccf1e5d8.entry.js +0 -6
- package/dist/calcite/p-ce34288b.entry.js +0 -6
- package/dist/calcite/p-d48cc6d2.entry.js +0 -6
- package/dist/calcite/p-d4f596f2.entry.js +0 -6
- package/dist/calcite/p-dd1e12e4.system.entry.js +0 -6
- package/dist/calcite/p-e5381e40.system.entry.js +0 -6
- package/dist/calcite/p-e6578cf2.system.entry.js +0 -6
- package/dist/calcite/p-e78d93ed.entry.js +0 -6
- package/dist/calcite/p-e7b4e5b8.system.entry.js +0 -6
- package/dist/calcite/p-e956598c.system.entry.js +0 -6
- package/dist/calcite/p-e9c9fb33.system.entry.js +0 -6
- package/dist/calcite/p-ebb71e37.system.entry.js +0 -6
- package/dist/calcite/p-ebeb09f0.system.entry.js +0 -6
- package/dist/calcite/p-eccc820a.entry.js +0 -6
- package/dist/calcite/p-eceb3f95.system.entry.js +0 -6
- package/dist/calcite/p-ee60b60f.system.entry.js +0 -6
- package/dist/calcite/p-f14e0497.system.entry.js +0 -6
- package/dist/calcite/p-f2384caf.entry.js +0 -6
- package/dist/calcite/p-f537a6a5.entry.js +0 -6
- package/dist/calcite/p-fb97a373.system.entry.js +0 -6
- package/dist/calcite/p-fc6a158c.system.entry.js +0 -6
- package/dist/calcite/p-fca56e68.system.entry.js +0 -6
- package/dist/cjs/popper-46476990.js +0 -1876
- package/dist/collection/utils/popper.js +0 -126
- package/dist/components/popper.js +0 -1868
- package/dist/esm/popper-1df5bd76.js +0 -1868
- package/dist/esm-es5/index-7daa7f57.js +0 -7
- package/dist/esm-es5/popper-1df5bd76.js +0 -6
- package/dist/esm-es5/resources-d196b6c1.js +0 -6
- package/dist/types/utils/popper.d.ts +0 -35
|
@@ -0,0 +1,521 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.87
|
|
5
|
+
*/
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5048a317.js';
|
|
7
|
+
import { T as TEXT$1, g as getSlotted, s as setRequestedIcon, d as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom-19ab3d2f.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-dfcfa9e0.js';
|
|
9
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-ecbc6fec.js';
|
|
10
|
+
import { d as delocalizeNumberString, i as isValidNumber, p as parseNumberString, g as getDecimalSeparator, l as localizeNumberString, s as sanitizeNumberString } from './locale-ab6b5afc.js';
|
|
11
|
+
import { n as numberKeys } from './key-af81a004.js';
|
|
12
|
+
import { d as decimalPlaces } from './math-a5e24a73.js';
|
|
13
|
+
import { c as createObserver } from './observers-61a2bb4f.js';
|
|
14
|
+
import { u as updateHostInteraction } from './interactive-71744e3e.js';
|
|
15
|
+
import './guid-ba74e5d4.js';
|
|
16
|
+
|
|
17
|
+
const CSS = {
|
|
18
|
+
loader: "loader",
|
|
19
|
+
clearButton: "clear-button",
|
|
20
|
+
editingEnabled: "editing-enabled",
|
|
21
|
+
inlineChild: "inline-child",
|
|
22
|
+
inputIcon: "icon",
|
|
23
|
+
prefix: "prefix",
|
|
24
|
+
suffix: "suffix",
|
|
25
|
+
numberButtonWrapper: "number-button-wrapper",
|
|
26
|
+
buttonItemHorizontal: "number-button-item--horizontal",
|
|
27
|
+
wrapper: "element-wrapper",
|
|
28
|
+
inputWrapper: "wrapper",
|
|
29
|
+
actionWrapper: "action-wrapper",
|
|
30
|
+
resizeIconWrapper: "resize-icon-wrapper",
|
|
31
|
+
numberButtonItem: "number-button-item"
|
|
32
|
+
};
|
|
33
|
+
const SLOTS = {
|
|
34
|
+
action: "action"
|
|
35
|
+
};
|
|
36
|
+
const TEXT = {
|
|
37
|
+
clear: "Clear value"
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
const inputNumberCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host input{-webkit-transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host input{outline-color:transparent}:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;z-index:10;display:block;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-block-size:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;-ms-flex-order:6;order:6;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:1;order:1;max-block-size:100%;min-block-size:100%;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-block:0px;padding-inline:0.5rem;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.resize-icon-wrapper{inset-block-end:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;block-size:0.75rem;inline-size:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{inset-block-end:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
41
|
+
|
|
42
|
+
const InputNumber = class {
|
|
43
|
+
constructor(hostRef) {
|
|
44
|
+
registerInstance(this, hostRef);
|
|
45
|
+
this.calciteInternalInputNumberFocus = createEvent(this, "calciteInternalInputNumberFocus", 7);
|
|
46
|
+
this.calciteInternalInputNumberBlur = createEvent(this, "calciteInternalInputNumberBlur", 7);
|
|
47
|
+
this.calciteInputNumberInput = createEvent(this, "calciteInputNumberInput", 7);
|
|
48
|
+
this.calciteInputNumberChange = createEvent(this, "calciteInputNumberChange", 7);
|
|
49
|
+
//--------------------------------------------------------------------------
|
|
50
|
+
//
|
|
51
|
+
// Properties
|
|
52
|
+
//
|
|
53
|
+
//--------------------------------------------------------------------------
|
|
54
|
+
/** Specifies the text alignment of the component's value. */
|
|
55
|
+
this.alignment = "start";
|
|
56
|
+
/**
|
|
57
|
+
* When true, the component is focused on page load.
|
|
58
|
+
*
|
|
59
|
+
* @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
|
|
60
|
+
*/
|
|
61
|
+
this.autofocus = false;
|
|
62
|
+
/**
|
|
63
|
+
* When true, a clear button is displayed when the component has a value.
|
|
64
|
+
*/
|
|
65
|
+
this.clearable = false;
|
|
66
|
+
/**
|
|
67
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
68
|
+
*
|
|
69
|
+
* @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
70
|
+
*/
|
|
71
|
+
this.disabled = false;
|
|
72
|
+
/**
|
|
73
|
+
* When true, number values are displayed with the locale's group separator.
|
|
74
|
+
*/
|
|
75
|
+
this.groupSeparator = false;
|
|
76
|
+
/**
|
|
77
|
+
* When true, the component will not be visible.
|
|
78
|
+
*
|
|
79
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
80
|
+
*/
|
|
81
|
+
this.hidden = false;
|
|
82
|
+
/**
|
|
83
|
+
* Accessible name that will appear while loading.
|
|
84
|
+
*
|
|
85
|
+
* @default "Loading"
|
|
86
|
+
*/
|
|
87
|
+
this.intlLoading = TEXT$1.loading;
|
|
88
|
+
/** When true, the icon is flipped in RTL. */
|
|
89
|
+
this.iconFlipRtl = false;
|
|
90
|
+
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
91
|
+
this.loading = false;
|
|
92
|
+
/** Specifies the BCP 47 language tag for the desired language and country format. */
|
|
93
|
+
this.locale = document.documentElement.lang || "en";
|
|
94
|
+
/**
|
|
95
|
+
* Toggles locale formatting for numbers.
|
|
96
|
+
*
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
this.localeFormat = false;
|
|
100
|
+
/** Specifies the placement of the buttons. */
|
|
101
|
+
this.numberButtonType = "vertical";
|
|
102
|
+
/**
|
|
103
|
+
* When true, the value cannot be modified.
|
|
104
|
+
*
|
|
105
|
+
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
106
|
+
*/
|
|
107
|
+
this.readOnly = false;
|
|
108
|
+
/** When true, the component must have a value in order for the form to submit. */
|
|
109
|
+
this.required = false;
|
|
110
|
+
/** Specifies the size of the component. */
|
|
111
|
+
this.scale = "m";
|
|
112
|
+
/** Specifies the status of the input field, which determines message and icons. */
|
|
113
|
+
this.status = "idle";
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
this.editingEnabled = false;
|
|
118
|
+
/** The component's value. */
|
|
119
|
+
this.value = "";
|
|
120
|
+
this.previousValueOrigin = "initial";
|
|
121
|
+
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
122
|
+
this.userChangedValue = false;
|
|
123
|
+
//--------------------------------------------------------------------------
|
|
124
|
+
//
|
|
125
|
+
// Private Methods
|
|
126
|
+
//
|
|
127
|
+
//--------------------------------------------------------------------------
|
|
128
|
+
this.keyDownHandler = (event) => {
|
|
129
|
+
if (this.readOnly || this.disabled) {
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
if (this.isClearable && event.key === "Escape") {
|
|
133
|
+
this.clearInputValue(event);
|
|
134
|
+
event.preventDefault();
|
|
135
|
+
}
|
|
136
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
137
|
+
submitForm(this);
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
this.clearInputValue = (nativeEvent) => {
|
|
141
|
+
this.setNumberValue({
|
|
142
|
+
committing: true,
|
|
143
|
+
nativeEvent,
|
|
144
|
+
origin: "user",
|
|
145
|
+
value: ""
|
|
146
|
+
});
|
|
147
|
+
};
|
|
148
|
+
this.emitChangeIfUserModified = () => {
|
|
149
|
+
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
|
150
|
+
this.calciteInputNumberChange.emit();
|
|
151
|
+
}
|
|
152
|
+
this.previousEmittedValue = this.value;
|
|
153
|
+
};
|
|
154
|
+
this.inputNumberBlurHandler = () => {
|
|
155
|
+
this.calciteInternalInputNumberBlur.emit();
|
|
156
|
+
this.emitChangeIfUserModified();
|
|
157
|
+
};
|
|
158
|
+
this.inputNumberFocusHandler = (event) => {
|
|
159
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
160
|
+
if (event.target !== slottedActionEl) {
|
|
161
|
+
this.setFocus();
|
|
162
|
+
}
|
|
163
|
+
this.calciteInternalInputNumberFocus.emit();
|
|
164
|
+
};
|
|
165
|
+
this.inputNumberInputHandler = (nativeEvent) => {
|
|
166
|
+
if (this.disabled || this.readOnly) {
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
const value = nativeEvent.target.value;
|
|
170
|
+
const delocalizedValue = delocalizeNumberString(value, this.locale);
|
|
171
|
+
if (nativeEvent.inputType === "insertFromPaste") {
|
|
172
|
+
if (!isValidNumber(delocalizedValue)) {
|
|
173
|
+
nativeEvent.preventDefault();
|
|
174
|
+
}
|
|
175
|
+
this.setNumberValue({
|
|
176
|
+
nativeEvent,
|
|
177
|
+
origin: "user",
|
|
178
|
+
value: parseNumberString(delocalizedValue)
|
|
179
|
+
});
|
|
180
|
+
this.childNumberEl.value = this.localizedValue;
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
this.setNumberValue({
|
|
184
|
+
nativeEvent,
|
|
185
|
+
origin: "user",
|
|
186
|
+
value: delocalizedValue
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
this.inputNumberKeyDownHandler = (event) => {
|
|
191
|
+
if (this.disabled || this.readOnly) {
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
if (event.key === "ArrowUp") {
|
|
195
|
+
/* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */
|
|
196
|
+
event.preventDefault();
|
|
197
|
+
this.nudgeNumberValue("up", event);
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
if (event.key === "ArrowDown") {
|
|
201
|
+
this.nudgeNumberValue("down", event);
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
const supportedKeys = [
|
|
205
|
+
...numberKeys,
|
|
206
|
+
"ArrowLeft",
|
|
207
|
+
"ArrowRight",
|
|
208
|
+
"Backspace",
|
|
209
|
+
"Delete",
|
|
210
|
+
"Enter",
|
|
211
|
+
"Escape",
|
|
212
|
+
"Tab"
|
|
213
|
+
];
|
|
214
|
+
if (event.altKey || event.ctrlKey || event.metaKey) {
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
const isShiftTabEvent = event.shiftKey && event.key === "Tab";
|
|
218
|
+
if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
|
|
219
|
+
if (event.key === "Enter") {
|
|
220
|
+
this.emitChangeIfUserModified();
|
|
221
|
+
}
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
const decimalSeparator = getDecimalSeparator(this.locale);
|
|
225
|
+
if (event.key === decimalSeparator) {
|
|
226
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
if (this.value && this.childNumberEl.value.indexOf(decimalSeparator) === -1) {
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
if (/[eE]/.test(event.key)) {
|
|
234
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
if (this.value && !/[eE]/.test(this.childNumberEl.value)) {
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
if (event.key === "-") {
|
|
242
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
243
|
+
return;
|
|
244
|
+
}
|
|
245
|
+
if (this.value && this.childNumberEl.value.split("-").length <= 2) {
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
event.preventDefault();
|
|
250
|
+
};
|
|
251
|
+
this.nudgeNumberValue = (direction, nativeEvent) => {
|
|
252
|
+
if (nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) {
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
const inputMax = this.maxString ? parseFloat(this.maxString) : null;
|
|
256
|
+
const inputMin = this.minString ? parseFloat(this.minString) : null;
|
|
257
|
+
const valueNudgeDelayInMs = 100;
|
|
258
|
+
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
259
|
+
if (this.nudgeNumberValueIntervalId) {
|
|
260
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
261
|
+
}
|
|
262
|
+
let firstValueNudge = true;
|
|
263
|
+
this.nudgeNumberValueIntervalId = window.setInterval(() => {
|
|
264
|
+
if (firstValueNudge) {
|
|
265
|
+
firstValueNudge = false;
|
|
266
|
+
return;
|
|
267
|
+
}
|
|
268
|
+
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
269
|
+
}, valueNudgeDelayInMs);
|
|
270
|
+
};
|
|
271
|
+
this.nudgeButtonPointerUpAndOutHandler = () => {
|
|
272
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
273
|
+
};
|
|
274
|
+
this.nudgeButtonPointerDownHandler = (event) => {
|
|
275
|
+
event.preventDefault();
|
|
276
|
+
const direction = event.target.dataset.adjustment;
|
|
277
|
+
if (!this.disabled) {
|
|
278
|
+
this.nudgeNumberValue(direction, event);
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
this.setChildNumberElRef = (el) => {
|
|
282
|
+
this.childNumberEl = el;
|
|
283
|
+
};
|
|
284
|
+
this.setInputNumberValue = (newInputValue) => {
|
|
285
|
+
if (!this.childNumberEl) {
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
this.childNumberEl.value = newInputValue;
|
|
289
|
+
};
|
|
290
|
+
this.setPreviousEmittedNumberValue = (newPreviousEmittedValue) => {
|
|
291
|
+
this.previousEmittedValue = isValidNumber(newPreviousEmittedValue)
|
|
292
|
+
? newPreviousEmittedValue
|
|
293
|
+
: "";
|
|
294
|
+
};
|
|
295
|
+
this.setPreviousNumberValue = (newPreviousValue) => {
|
|
296
|
+
this.previousValue = isValidNumber(newPreviousValue) ? newPreviousValue : "";
|
|
297
|
+
};
|
|
298
|
+
this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
299
|
+
const previousLocalizedValue = localizeNumberString(this.previousValue, this.locale, this.groupSeparator, this.numberingSystem);
|
|
300
|
+
const sanitizedValue = sanitizeNumberString(value);
|
|
301
|
+
const newValue = value && !sanitizedValue
|
|
302
|
+
? isValidNumber(this.previousValue)
|
|
303
|
+
? this.previousValue
|
|
304
|
+
: ""
|
|
305
|
+
: sanitizedValue;
|
|
306
|
+
const newLocalizedValue = localizeNumberString(newValue, this.locale, this.groupSeparator, this.numberingSystem);
|
|
307
|
+
this.setPreviousNumberValue(previousValue || this.value);
|
|
308
|
+
this.previousValueOrigin = origin;
|
|
309
|
+
this.userChangedValue = origin === "user" && this.value !== newValue;
|
|
310
|
+
this.value = newValue;
|
|
311
|
+
this.localizedValue = newLocalizedValue;
|
|
312
|
+
if (origin === "direct") {
|
|
313
|
+
this.setInputNumberValue(newLocalizedValue);
|
|
314
|
+
}
|
|
315
|
+
if (nativeEvent) {
|
|
316
|
+
const calciteInputNumberInputEvent = this.calciteInputNumberInput.emit({
|
|
317
|
+
element: this.childNumberEl,
|
|
318
|
+
nativeEvent,
|
|
319
|
+
value: this.value
|
|
320
|
+
});
|
|
321
|
+
if (calciteInputNumberInputEvent.defaultPrevented) {
|
|
322
|
+
this.value = this.previousValue;
|
|
323
|
+
this.localizedValue = previousLocalizedValue;
|
|
324
|
+
}
|
|
325
|
+
else if (committing) {
|
|
326
|
+
this.emitChangeIfUserModified();
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
this.inputNumberKeyUpHandler = () => {
|
|
331
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
disabledWatcher() {
|
|
335
|
+
this.setDisabledAction();
|
|
336
|
+
}
|
|
337
|
+
/** watcher to update number-to-string for max */
|
|
338
|
+
maxWatcher() {
|
|
339
|
+
var _a;
|
|
340
|
+
this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
341
|
+
}
|
|
342
|
+
/** watcher to update number-to-string for min */
|
|
343
|
+
minWatcher() {
|
|
344
|
+
var _a;
|
|
345
|
+
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
346
|
+
}
|
|
347
|
+
valueWatcher(newValue, previousValue) {
|
|
348
|
+
if (!this.userChangedValue) {
|
|
349
|
+
this.setNumberValue({
|
|
350
|
+
origin: "direct",
|
|
351
|
+
previousValue,
|
|
352
|
+
value: newValue == null || newValue == ""
|
|
353
|
+
? ""
|
|
354
|
+
: isValidNumber(newValue)
|
|
355
|
+
? newValue
|
|
356
|
+
: this.previousValue || ""
|
|
357
|
+
});
|
|
358
|
+
this.warnAboutInvalidNumberValue(newValue);
|
|
359
|
+
}
|
|
360
|
+
this.userChangedValue = false;
|
|
361
|
+
}
|
|
362
|
+
updateRequestedIcon() {
|
|
363
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "number");
|
|
364
|
+
}
|
|
365
|
+
get isClearable() {
|
|
366
|
+
return this.clearable && this.value.length > 0;
|
|
367
|
+
}
|
|
368
|
+
//--------------------------------------------------------------------------
|
|
369
|
+
//
|
|
370
|
+
// Lifecycle
|
|
371
|
+
//
|
|
372
|
+
//--------------------------------------------------------------------------
|
|
373
|
+
connectedCallback() {
|
|
374
|
+
var _a;
|
|
375
|
+
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
376
|
+
this.status = getElementProp(this.el, "status", this.status);
|
|
377
|
+
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
378
|
+
if (this.inlineEditableEl) {
|
|
379
|
+
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
380
|
+
}
|
|
381
|
+
this.setPreviousEmittedNumberValue(this.value);
|
|
382
|
+
this.setPreviousNumberValue(this.value);
|
|
383
|
+
this.warnAboutInvalidNumberValue(this.value);
|
|
384
|
+
this.setNumberValue({
|
|
385
|
+
origin: "connected",
|
|
386
|
+
value: isValidNumber(this.value) ? this.value : ""
|
|
387
|
+
});
|
|
388
|
+
connectLabel(this);
|
|
389
|
+
connectForm(this);
|
|
390
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
|
|
391
|
+
this.setDisabledAction();
|
|
392
|
+
}
|
|
393
|
+
disconnectedCallback() {
|
|
394
|
+
var _a;
|
|
395
|
+
disconnectLabel(this);
|
|
396
|
+
disconnectForm(this);
|
|
397
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
398
|
+
}
|
|
399
|
+
componentWillLoad() {
|
|
400
|
+
var _a, _b;
|
|
401
|
+
this.maxString = (_a = this.max) === null || _a === void 0 ? void 0 : _a.toString();
|
|
402
|
+
this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
|
|
403
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "number");
|
|
404
|
+
}
|
|
405
|
+
componentShouldUpdate(newValue, oldValue, property) {
|
|
406
|
+
if (property === "value" && newValue && !isValidNumber(newValue)) {
|
|
407
|
+
this.setNumberValue({
|
|
408
|
+
origin: "reset",
|
|
409
|
+
value: oldValue
|
|
410
|
+
});
|
|
411
|
+
return false;
|
|
412
|
+
}
|
|
413
|
+
return true;
|
|
414
|
+
}
|
|
415
|
+
componentDidRender() {
|
|
416
|
+
updateHostInteraction(this);
|
|
417
|
+
}
|
|
418
|
+
//--------------------------------------------------------------------------
|
|
419
|
+
//
|
|
420
|
+
// Public Methods
|
|
421
|
+
//
|
|
422
|
+
//--------------------------------------------------------------------------
|
|
423
|
+
/** Sets focus on the component. */
|
|
424
|
+
async setFocus() {
|
|
425
|
+
var _a;
|
|
426
|
+
(_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
427
|
+
}
|
|
428
|
+
/** Selects all text of the component's `value`. */
|
|
429
|
+
async selectText() {
|
|
430
|
+
var _a;
|
|
431
|
+
(_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.select();
|
|
432
|
+
}
|
|
433
|
+
onLabelClick() {
|
|
434
|
+
this.setFocus();
|
|
435
|
+
}
|
|
436
|
+
incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
|
|
437
|
+
const { value } = this;
|
|
438
|
+
const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
|
|
439
|
+
const inputVal = value && value !== "" ? parseFloat(value) : 0;
|
|
440
|
+
const adjustment = direction === "up" ? 1 : -1;
|
|
441
|
+
const nudgedValue = inputVal + inputStep * adjustment;
|
|
442
|
+
const finalValue = (typeof inputMin === "number" && !isNaN(inputMin) && nudgedValue < inputMin) ||
|
|
443
|
+
(typeof inputMax === "number" && !isNaN(inputMax) && nudgedValue > inputMax)
|
|
444
|
+
? inputVal
|
|
445
|
+
: nudgedValue;
|
|
446
|
+
const inputValPlaces = decimalPlaces(inputVal);
|
|
447
|
+
const inputStepPlaces = decimalPlaces(inputStep);
|
|
448
|
+
this.setNumberValue({
|
|
449
|
+
committing: true,
|
|
450
|
+
nativeEvent,
|
|
451
|
+
origin: "user",
|
|
452
|
+
value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
onFormReset() {
|
|
456
|
+
this.setNumberValue({
|
|
457
|
+
origin: "reset",
|
|
458
|
+
value: this.defaultValue
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
syncHiddenFormInput(input) {
|
|
462
|
+
var _a, _b, _c, _d;
|
|
463
|
+
input.type = "number";
|
|
464
|
+
input.min = (_b = (_a = this.min) === null || _a === void 0 ? void 0 : _a.toString(10)) !== null && _b !== void 0 ? _b : "";
|
|
465
|
+
input.max = (_d = (_c = this.max) === null || _c === void 0 ? void 0 : _c.toString(10)) !== null && _d !== void 0 ? _d : "";
|
|
466
|
+
}
|
|
467
|
+
setDisabledAction() {
|
|
468
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
469
|
+
if (!slottedActionEl) {
|
|
470
|
+
return;
|
|
471
|
+
}
|
|
472
|
+
this.disabled
|
|
473
|
+
? slottedActionEl.setAttribute("disabled", "")
|
|
474
|
+
: slottedActionEl.removeAttribute("disabled");
|
|
475
|
+
}
|
|
476
|
+
warnAboutInvalidNumberValue(value) {
|
|
477
|
+
if (value && !isValidNumber(value)) {
|
|
478
|
+
console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
// --------------------------------------------------------------------------
|
|
482
|
+
//
|
|
483
|
+
// Render Methods
|
|
484
|
+
//
|
|
485
|
+
// --------------------------------------------------------------------------
|
|
486
|
+
render() {
|
|
487
|
+
const dir = getElementDir(this.el);
|
|
488
|
+
const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
489
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
490
|
+
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
491
|
+
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
492
|
+
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
493
|
+
[CSS.numberButtonItem]: true,
|
|
494
|
+
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
495
|
+
}, "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: "s" })));
|
|
496
|
+
const numberButtonsHorizontalDown = (h("button", { class: {
|
|
497
|
+
[CSS.numberButtonItem]: true,
|
|
498
|
+
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
499
|
+
}, "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: "s" })));
|
|
500
|
+
const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
501
|
+
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
502
|
+
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
503
|
+
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
|
|
504
|
+
return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
505
|
+
? numberButtonsHorizontalDown
|
|
506
|
+
: null, this.prefixText ? prefixText : null, h("div", { class: CSS.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS.actionWrapper }, h("slot", { name: SLOTS.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
507
|
+
? numberButtonsHorizontalUp
|
|
508
|
+
: null, h(HiddenFormInputSlot, { component: this }))));
|
|
509
|
+
}
|
|
510
|
+
get el() { return getElement(this); }
|
|
511
|
+
static get watchers() { return {
|
|
512
|
+
"disabled": ["disabledWatcher"],
|
|
513
|
+
"max": ["maxWatcher"],
|
|
514
|
+
"min": ["minWatcher"],
|
|
515
|
+
"value": ["valueWatcher"],
|
|
516
|
+
"icon": ["updateRequestedIcon"]
|
|
517
|
+
}; }
|
|
518
|
+
};
|
|
519
|
+
InputNumber.style = inputNumberCss;
|
|
520
|
+
|
|
521
|
+
export { InputNumber as calcite_input_number };
|