@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
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.87
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
7
|
-
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, e as getOrder, n as nextMonth, f as prevMonth, l as localizeNumber, h as parseNumber } from './resources-
|
|
8
|
-
import { a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
9
|
-
import { u as updateHostInteraction } from './interactive-
|
|
10
|
-
import { H as Heading } from './Heading-
|
|
11
|
-
import './locale-
|
|
12
|
-
import './key-
|
|
13
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-5048a317.js';
|
|
7
|
+
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, e as getOrder, n as nextMonth, f as prevMonth, l as localizeNumber, h as parseNumber } from './resources-c995bb5e.js';
|
|
8
|
+
import { a as getElementDir, C as CSS_UTILITY } from './dom-19ab3d2f.js';
|
|
9
|
+
import { u as updateHostInteraction } from './interactive-71744e3e.js';
|
|
10
|
+
import { H as Heading } from './Heading-4d9f4f89.js';
|
|
11
|
+
import './locale-ab6b5afc.js';
|
|
12
|
+
import './key-af81a004.js';
|
|
13
|
+
import './guid-ba74e5d4.js';
|
|
14
14
|
|
|
15
|
-
const datePickerCss = "@-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-
|
|
15
|
+
const datePickerCss = "@-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{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";
|
|
16
16
|
|
|
17
17
|
const DatePicker = class {
|
|
18
18
|
constructor(hostRef) {
|
|
@@ -50,13 +50,13 @@ const DatePicker = class {
|
|
|
50
50
|
// Private Methods
|
|
51
51
|
//
|
|
52
52
|
//--------------------------------------------------------------------------
|
|
53
|
-
this.
|
|
54
|
-
if (
|
|
53
|
+
this.keyDownHandler = (event) => {
|
|
54
|
+
if (event.key === "Escape") {
|
|
55
55
|
this.reset();
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
|
-
this.monthHeaderSelectChange = (
|
|
59
|
-
const date = new Date(
|
|
58
|
+
this.monthHeaderSelectChange = (event) => {
|
|
59
|
+
const date = new Date(event.detail);
|
|
60
60
|
if (!this.range) {
|
|
61
61
|
this.activeDate = date;
|
|
62
62
|
}
|
|
@@ -70,8 +70,8 @@ const DatePicker = class {
|
|
|
70
70
|
this.mostRecentRangeValue = date;
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
|
-
this.monthActiveDateChange = (
|
|
74
|
-
const date = new Date(
|
|
73
|
+
this.monthActiveDateChange = (event) => {
|
|
74
|
+
const date = new Date(event.detail);
|
|
75
75
|
if (!this.range) {
|
|
76
76
|
this.activeDate = date;
|
|
77
77
|
}
|
|
@@ -85,12 +85,12 @@ const DatePicker = class {
|
|
|
85
85
|
this.mostRecentRangeValue = date;
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
this.monthHoverChange = (
|
|
88
|
+
this.monthHoverChange = (event) => {
|
|
89
89
|
if (!this.startAsDate) {
|
|
90
90
|
this.hoverRange = undefined;
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
const date = new Date(
|
|
93
|
+
const date = new Date(event.detail);
|
|
94
94
|
this.hoverRange = {
|
|
95
95
|
focused: this.activeRange || "start",
|
|
96
96
|
start: this.startAsDate,
|
|
@@ -149,7 +149,7 @@ const DatePicker = class {
|
|
|
149
149
|
this.hoverRange = undefined;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
event.stopPropagation();
|
|
153
153
|
};
|
|
154
154
|
this.monthMouseOutChange = () => {
|
|
155
155
|
if (this.hoverRange) {
|
|
@@ -176,10 +176,10 @@ const DatePicker = class {
|
|
|
176
176
|
/**
|
|
177
177
|
* Event handler for when the selected date changes
|
|
178
178
|
*
|
|
179
|
-
* @param
|
|
179
|
+
* @param event
|
|
180
180
|
*/
|
|
181
|
-
this.monthDateChange = (
|
|
182
|
-
const date = new Date(
|
|
181
|
+
this.monthDateChange = (event) => {
|
|
182
|
+
const date = new Date(event.detail);
|
|
183
183
|
if (!this.range) {
|
|
184
184
|
this.value = date ? dateToISO(date) : "";
|
|
185
185
|
this.valueAsDate = date || null;
|
|
@@ -317,7 +317,7 @@ const DatePicker = class {
|
|
|
317
317
|
? endDate || this.maxAsDate
|
|
318
318
|
: this.maxAsDate
|
|
319
319
|
: this.maxAsDate;
|
|
320
|
-
return (h(Host, { onBlur: this.reset,
|
|
320
|
+
return (h(Host, { onBlur: this.reset, onKeyDown: this.keyDownHandler, role: "application" }, this.renderCalendar(activeDate, maxDate, minDate, date, endDate)));
|
|
321
321
|
}
|
|
322
322
|
valueHandler(value) {
|
|
323
323
|
if (Array.isArray(value)) {
|
|
@@ -430,7 +430,7 @@ const DatePicker = class {
|
|
|
430
430
|
};
|
|
431
431
|
DatePicker.style = datePickerCss;
|
|
432
432
|
|
|
433
|
-
const datePickerDayCss = "@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;min-width:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);width:14.2857142857%}: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-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;background:none;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.text{margin-top:1px;margin-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-top:0.125rem;padding-bottom:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{height:27px;width:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]) .day{height:33px;width:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=l]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=l]) .day{height:43px;width:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";
|
|
433
|
+
const datePickerDayCss = "@-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:-ms-flexbox;display:flex;min-inline-size:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-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;background:none;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;-webkit-margin-start:0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";
|
|
434
434
|
|
|
435
435
|
const DatePickerDay = class {
|
|
436
436
|
constructor(hostRef) {
|
|
@@ -463,17 +463,15 @@ const DatePickerDay = class {
|
|
|
463
463
|
this.onClick = () => {
|
|
464
464
|
!this.disabled && this.calciteDaySelect.emit();
|
|
465
465
|
};
|
|
466
|
-
this.keyDownHandler = (
|
|
467
|
-
const key =
|
|
466
|
+
this.keyDownHandler = (event) => {
|
|
467
|
+
const key = event.key;
|
|
468
468
|
if (key === " " || key === "Enter") {
|
|
469
469
|
!this.disabled && this.calciteDaySelect.emit();
|
|
470
470
|
}
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
473
|
mouseoverHandler() {
|
|
474
|
-
this.calciteInternalDayHover.emit(
|
|
475
|
-
disabled: this.disabled
|
|
476
|
-
});
|
|
474
|
+
this.calciteInternalDayHover.emit();
|
|
477
475
|
}
|
|
478
476
|
//--------------------------------------------------------------------------
|
|
479
477
|
//
|
|
@@ -498,7 +496,7 @@ const DatePickerDay = class {
|
|
|
498
496
|
};
|
|
499
497
|
DatePickerDay.style = datePickerDayCss;
|
|
500
498
|
|
|
501
|
-
const datePickerMonthCss = "@-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-
|
|
499
|
+
const datePickerMonthCss = "@-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}.calender{-webkit-margin-after:0.25rem;margin-block-end:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";
|
|
502
500
|
|
|
503
501
|
const DatePickerMonth = class {
|
|
504
502
|
constructor(hostRef) {
|
|
@@ -514,46 +512,46 @@ const DatePickerMonth = class {
|
|
|
514
512
|
// Event Listeners
|
|
515
513
|
//
|
|
516
514
|
//--------------------------------------------------------------------------
|
|
517
|
-
this.keyDownHandler = (
|
|
515
|
+
this.keyDownHandler = (event) => {
|
|
518
516
|
const isRTL = this.el.dir === "rtl";
|
|
519
|
-
switch (
|
|
517
|
+
switch (event.key) {
|
|
520
518
|
case "ArrowUp":
|
|
521
|
-
|
|
519
|
+
event.preventDefault();
|
|
522
520
|
this.addDays(-7);
|
|
523
521
|
break;
|
|
524
522
|
case "ArrowRight":
|
|
525
|
-
|
|
523
|
+
event.preventDefault();
|
|
526
524
|
this.addDays(isRTL ? -1 : 1);
|
|
527
525
|
break;
|
|
528
526
|
case "ArrowDown":
|
|
529
|
-
|
|
527
|
+
event.preventDefault();
|
|
530
528
|
this.addDays(7);
|
|
531
529
|
break;
|
|
532
530
|
case "ArrowLeft":
|
|
533
|
-
|
|
531
|
+
event.preventDefault();
|
|
534
532
|
this.addDays(isRTL ? 1 : -1);
|
|
535
533
|
break;
|
|
536
534
|
case "PageUp":
|
|
537
|
-
|
|
535
|
+
event.preventDefault();
|
|
538
536
|
this.addMonths(-1);
|
|
539
537
|
break;
|
|
540
538
|
case "PageDown":
|
|
541
|
-
|
|
539
|
+
event.preventDefault();
|
|
542
540
|
this.addMonths(1);
|
|
543
541
|
break;
|
|
544
542
|
case "Home":
|
|
545
|
-
|
|
543
|
+
event.preventDefault();
|
|
546
544
|
this.activeDate.setDate(1);
|
|
547
545
|
this.addDays();
|
|
548
546
|
break;
|
|
549
547
|
case "End":
|
|
550
|
-
|
|
548
|
+
event.preventDefault();
|
|
551
549
|
this.activeDate.setDate(new Date(this.activeDate.getFullYear(), this.activeDate.getMonth() + 1, 0).getDate());
|
|
552
550
|
this.addDays();
|
|
553
551
|
break;
|
|
554
552
|
case "Enter":
|
|
555
553
|
case " ":
|
|
556
|
-
|
|
554
|
+
event.preventDefault();
|
|
557
555
|
break;
|
|
558
556
|
case "Tab":
|
|
559
557
|
this.activeFocus = false;
|
|
@@ -566,18 +564,18 @@ const DatePickerMonth = class {
|
|
|
566
564
|
this.disableActiveFocus = () => {
|
|
567
565
|
this.activeFocus = false;
|
|
568
566
|
};
|
|
569
|
-
this.dayHover = (
|
|
570
|
-
const target =
|
|
571
|
-
if (
|
|
567
|
+
this.dayHover = (event) => {
|
|
568
|
+
const target = event.target;
|
|
569
|
+
if (target.disabled) {
|
|
572
570
|
this.calciteInternalDatePickerMouseOut.emit();
|
|
573
571
|
}
|
|
574
572
|
else {
|
|
575
573
|
this.calciteInternalDatePickerHover.emit(target.value);
|
|
576
574
|
}
|
|
577
|
-
|
|
575
|
+
event.stopPropagation();
|
|
578
576
|
};
|
|
579
|
-
this.daySelect = (
|
|
580
|
-
const target =
|
|
577
|
+
this.daySelect = (event) => {
|
|
578
|
+
const target = event.target;
|
|
581
579
|
this.calciteDatePickerSelect.emit(target.value);
|
|
582
580
|
};
|
|
583
581
|
}
|
|
@@ -800,7 +798,7 @@ DatePickerMonth.style = datePickerMonthCss;
|
|
|
800
798
|
|
|
801
799
|
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
802
800
|
|
|
803
|
-
const datePickerMonthHeaderCss = "@-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-
|
|
801
|
+
const datePickerMonthHeaderCss = "@-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{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-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;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{inline-size:4rem;text-align:start}.year-wrap{position:relative}.suffix{position:absolute;inset-block-start:0px;inset-inline-start:0px;inline-size:4rem;white-space:nowrap;text-align:start}.suffix__invisible{visibility:hidden}";
|
|
804
802
|
|
|
805
803
|
const DatePickerMonthHeader = class {
|
|
806
804
|
constructor(hostRef) {
|
|
@@ -814,17 +812,17 @@ const DatePickerMonthHeader = class {
|
|
|
814
812
|
/**
|
|
815
813
|
* Increment year on UP/DOWN keys
|
|
816
814
|
*
|
|
817
|
-
* @param
|
|
815
|
+
* @param event
|
|
818
816
|
*/
|
|
819
|
-
this.onYearKey = (
|
|
820
|
-
const localizedYear = this.parseCalendarYear(
|
|
821
|
-
switch (
|
|
817
|
+
this.onYearKey = (event) => {
|
|
818
|
+
const localizedYear = this.parseCalendarYear(event.target.value);
|
|
819
|
+
switch (event.key) {
|
|
822
820
|
case "ArrowDown":
|
|
823
|
-
|
|
821
|
+
event.preventDefault();
|
|
824
822
|
this.setYear({ localizedYear, offset: -1 });
|
|
825
823
|
break;
|
|
826
824
|
case "ArrowUp":
|
|
827
|
-
|
|
825
|
+
event.preventDefault();
|
|
828
826
|
this.setYear({ localizedYear, offset: 1 });
|
|
829
827
|
break;
|
|
830
828
|
}
|
|
@@ -840,30 +838,30 @@ const DatePickerMonthHeader = class {
|
|
|
840
838
|
commit: false
|
|
841
839
|
});
|
|
842
840
|
};
|
|
843
|
-
this.prevMonthClick = (
|
|
844
|
-
this.handleArrowClick(
|
|
841
|
+
this.prevMonthClick = (event) => {
|
|
842
|
+
this.handleArrowClick(event, this.prevMonthDate);
|
|
845
843
|
};
|
|
846
|
-
this.prevMonthKeydown = (
|
|
847
|
-
const key =
|
|
844
|
+
this.prevMonthKeydown = (event) => {
|
|
845
|
+
const key = event.key;
|
|
848
846
|
if (key === " " || key === "Enter") {
|
|
849
|
-
this.prevMonthClick(
|
|
847
|
+
this.prevMonthClick(event);
|
|
850
848
|
}
|
|
851
849
|
};
|
|
852
|
-
this.nextMonthClick = (
|
|
853
|
-
this.handleArrowClick(
|
|
850
|
+
this.nextMonthClick = (event) => {
|
|
851
|
+
this.handleArrowClick(event, this.nextMonthDate);
|
|
854
852
|
};
|
|
855
|
-
this.nextMonthKeydown = (
|
|
856
|
-
const key =
|
|
853
|
+
this.nextMonthKeydown = (event) => {
|
|
854
|
+
const key = event.key;
|
|
857
855
|
if (key === " " || key === "Enter") {
|
|
858
|
-
this.nextMonthClick(
|
|
856
|
+
this.nextMonthClick(event);
|
|
859
857
|
}
|
|
860
858
|
};
|
|
861
859
|
/*
|
|
862
860
|
* Update active month on clicks of left/right arrows
|
|
863
861
|
*/
|
|
864
|
-
this.handleArrowClick = (
|
|
865
|
-
|
|
866
|
-
|
|
862
|
+
this.handleArrowClick = (event, date) => {
|
|
863
|
+
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
864
|
+
event.stopPropagation();
|
|
867
865
|
this.calciteDatePickerSelect.emit(date);
|
|
868
866
|
};
|
|
869
867
|
}
|