@esri/calcite-components 1.0.0-next.555 → 1.0.0-next.556
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.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-59ca7885.js → p-05fe3ea5.js} +2 -2
- package/dist/calcite/{p-5dc6e439.system.entry.js → p-0865b1c4.system.entry.js} +2 -2
- package/dist/calcite/p-09b4c5d6.system.entry.js +6 -0
- package/dist/calcite/{p-dac3d31f.system.js → p-0a755cdf.system.js} +1 -1
- package/dist/calcite/{p-aea77395.js → p-0ad78e61.js} +1 -1
- package/dist/calcite/{p-92315cbf.system.entry.js → p-0d82783f.system.entry.js} +2 -2
- package/dist/calcite/{p-c887f742.system.entry.js → p-0e9102ac.system.entry.js} +2 -2
- package/dist/calcite/{p-a213dd26.js → p-1238a41c.js} +2 -2
- package/dist/calcite/p-16e5f591.entry.js +6 -0
- package/dist/calcite/{p-6a5d4ccf.entry.js → p-1886398f.entry.js} +2 -2
- package/dist/calcite/{p-e084e045.system.entry.js → p-18fb7ebc.system.entry.js} +2 -2
- package/dist/calcite/{p-38442b01.js → p-19248611.js} +1 -1
- package/dist/calcite/{p-b885b760.entry.js → p-19ef2670.entry.js} +2 -2
- package/dist/calcite/{p-ba3069e3.system.entry.js → p-1a4731f1.system.entry.js} +2 -2
- package/dist/calcite/{p-6739b6a3.entry.js → p-1b0db26c.entry.js} +2 -2
- package/dist/calcite/{p-b70f5356.system.entry.js → p-1b916f76.system.entry.js} +2 -2
- package/dist/calcite/{p-1b1ad5eb.system.entry.js → p-1c2e0daa.system.entry.js} +2 -2
- package/dist/calcite/{p-be6a504f.system.entry.js → p-1d699c3b.system.entry.js} +2 -2
- package/dist/calcite/{p-42bae2a8.system.entry.js → p-1e259c2b.system.entry.js} +2 -2
- package/dist/calcite/{p-98913c1f.entry.js → p-237f6388.entry.js} +2 -2
- package/dist/calcite/{p-2c217ec5.entry.js → p-24b189a7.entry.js} +2 -2
- package/dist/calcite/{p-ab5f5702.system.entry.js → p-272a7973.system.entry.js} +2 -2
- package/dist/calcite/{p-14237bb7.entry.js → p-27f691c6.entry.js} +2 -2
- package/dist/calcite/{p-857f367d.entry.js → p-28aec55e.entry.js} +2 -2
- package/dist/calcite/{p-9a61e33b.system.entry.js → p-2a13ccd7.system.entry.js} +2 -2
- package/dist/calcite/{p-86d97e22.entry.js → p-2a7bd887.entry.js} +2 -2
- package/dist/calcite/p-2e449f8b.js +6 -0
- package/dist/calcite/p-2f28e6c6.entry.js +6 -0
- package/dist/calcite/{p-e7ed1888.system.js → p-3116eb16.system.js} +3 -3
- package/dist/calcite/{p-b13196ac.system.entry.js → p-318d4e47.system.entry.js} +2 -2
- package/dist/calcite/{p-58d33448.system.entry.js → p-31b57443.system.entry.js} +2 -2
- package/dist/calcite/{p-51256bf8.system.js → p-326d61e7.system.js} +1 -1
- package/dist/calcite/p-337de307.system.entry.js +6 -0
- package/dist/calcite/{p-ae93e565.system.js → p-33a3bf9f.system.js} +1 -1
- package/dist/calcite/p-35736b65.entry.js +6 -0
- package/dist/calcite/{p-ea2b2c74.entry.js → p-374a14fa.entry.js} +2 -2
- package/dist/calcite/{p-af508381.js → p-3cd92e8b.js} +1 -1
- package/dist/calcite/p-3d1a3386.system.entry.js +6 -0
- package/dist/calcite/{p-e6a10287.js → p-3e4fc663.js} +2 -2
- package/dist/calcite/{p-2b34ab26.entry.js → p-41f603c6.entry.js} +2 -2
- package/dist/calcite/p-443e7cd5.js +6 -0
- package/dist/calcite/p-452dc9cd.entry.js +6 -0
- package/dist/calcite/{p-1ca0ad6e.system.js → p-48f5a675.system.js} +1 -1
- package/dist/calcite/{p-1d459237.system.entry.js → p-499b4d7f.system.entry.js} +2 -2
- package/dist/calcite/{p-a9072e62.entry.js → p-4b1acc25.entry.js} +2 -2
- package/dist/calcite/{p-ed8e7d94.system.entry.js → p-4c59c464.system.entry.js} +2 -2
- package/dist/calcite/{p-146ed0dd.system.js → p-4e299082.system.js} +2 -2
- package/dist/calcite/{p-322c560f.entry.js → p-4f381b22.entry.js} +2 -2
- package/dist/calcite/{p-dc44672a.system.entry.js → p-4fef9785.system.entry.js} +2 -2
- package/dist/calcite/{p-bccf0c9c.js → p-5002689a.js} +1 -1
- package/dist/calcite/{p-52f7f724.system.entry.js → p-50a678e9.system.entry.js} +2 -2
- package/dist/calcite/{p-4783ebf1.entry.js → p-51686f87.entry.js} +2 -2
- package/dist/calcite/{p-40bbc319.system.js → p-51e58ac3.system.js} +1 -1
- package/dist/calcite/{p-24e38bcc.entry.js → p-5277787a.entry.js} +2 -2
- package/dist/calcite/{p-5d472921.system.entry.js → p-54f1b900.system.entry.js} +2 -2
- package/dist/calcite/p-558eb439.entry.js +6 -0
- package/dist/calcite/p-573b7727.entry.js +6 -0
- package/dist/calcite/{p-77c81298.js → p-576a68ad.js} +1 -1
- package/dist/calcite/p-593dd378.system.entry.js +6 -0
- package/dist/calcite/{p-227a252e.system.js → p-5d6bb522.system.js} +2 -2
- package/dist/calcite/{p-decbe7ed.js → p-5e728d5f.js} +1 -1
- package/dist/calcite/{p-4f290f4e.system.entry.js → p-5f4e9358.system.entry.js} +2 -2
- package/dist/calcite/{p-56d3d91c.entry.js → p-60e29c28.entry.js} +2 -2
- package/dist/calcite/{p-8fa6560a.entry.js → p-6124422d.entry.js} +2 -2
- package/dist/calcite/{p-36726890.entry.js → p-614577b3.entry.js} +2 -2
- package/dist/calcite/p-63e68260.entry.js +6 -0
- package/dist/calcite/{p-0dabbf0f.system.js → p-66b8488f.system.js} +1 -1
- package/dist/calcite/{p-5b34148e.entry.js → p-6daf675b.entry.js} +2 -2
- package/dist/calcite/{p-5ee8ef60.system.entry.js → p-6eced7b5.system.entry.js} +2 -2
- package/dist/calcite/{p-ce591076.system.js → p-70152b55.system.js} +1 -1
- package/dist/calcite/{p-7b64493a.system.entry.js → p-709f45ca.system.entry.js} +2 -2
- package/dist/calcite/{p-dddf9e4d.js → p-7369776f.js} +2 -2
- package/dist/calcite/{p-2ccdad29.entry.js → p-7560b5cb.entry.js} +2 -2
- package/dist/calcite/{p-0b11a5a1.system.js → p-7766ddc2.system.js} +1 -1
- package/dist/calcite/{p-fc03ab91.entry.js → p-78773123.entry.js} +2 -2
- package/dist/calcite/{p-0d18b215.entry.js → p-787df3d9.entry.js} +2 -2
- package/dist/calcite/{p-2d842d9a.system.js → p-79359620.system.js} +1 -1
- package/dist/calcite/{p-e188228d.system.entry.js → p-7a8dc196.system.entry.js} +2 -2
- package/dist/calcite/{p-db697c19.entry.js → p-7d0ab794.entry.js} +2 -2
- package/dist/calcite/p-807dbeff.entry.js +6 -0
- package/dist/calcite/{p-c94563be.system.entry.js → p-85f55348.system.entry.js} +2 -2
- package/dist/calcite/{p-8ef36d3f.system.entry.js → p-8726c076.system.entry.js} +2 -2
- package/dist/calcite/{p-2c9079c6.entry.js → p-899506b7.entry.js} +2 -2
- package/dist/calcite/{p-9f0372c9.system.js → p-8afb9e1c.system.js} +1 -1
- package/dist/calcite/{p-773dc64c.system.entry.js → p-8b09e41f.system.entry.js} +2 -2
- package/dist/calcite/{p-ad8b9a54.system.js → p-8b5a056d.system.js} +1 -1
- package/dist/calcite/{p-1b948cf3.entry.js → p-8c074397.entry.js} +2 -2
- package/dist/calcite/{p-4bd3b2f2.entry.js → p-8cca323e.entry.js} +2 -2
- package/dist/calcite/p-8dd41a41.system.entry.js +6 -0
- package/dist/calcite/{p-935abcb9.system.entry.js → p-8e4bc86a.system.entry.js} +2 -2
- package/dist/calcite/{p-5c8b3ff4.system.entry.js → p-8f9cd7c2.system.entry.js} +2 -2
- package/dist/calcite/{p-4bac732f.entry.js → p-923cc8f7.entry.js} +2 -2
- package/dist/calcite/{p-3d70ba59.entry.js → p-9404368d.entry.js} +2 -2
- package/dist/calcite/{p-722b0b81.js → p-993dc453.js} +2 -2
- package/dist/calcite/{p-00c5f906.js → p-997a3daa.js} +1 -1
- package/dist/calcite/{p-0d158c9f.system.js → p-9b3f7af5.system.js} +2 -2
- package/dist/calcite/p-9ec5ed46.entry.js +6 -0
- package/dist/calcite/{p-35c7b500.system.entry.js → p-9ff0ebb3.system.entry.js} +2 -2
- package/dist/calcite/{p-6196f2dd.js → p-a0cad5d7.js} +1 -1
- package/dist/calcite/{p-680d47d8.entry.js → p-a20caf86.entry.js} +2 -2
- package/dist/calcite/{p-8ba6b1e9.entry.js → p-a27c7171.entry.js} +2 -2
- package/dist/calcite/{p-bee574f5.entry.js → p-a2e892e5.entry.js} +2 -2
- package/dist/calcite/{p-32c1ce43.system.js → p-a530e53f.system.js} +1 -1
- package/dist/calcite/{p-51cc1fb5.system.js → p-a5ef90f9.system.js} +2 -2
- package/dist/calcite/{p-c6df95fa.js → p-a683a9bb.js} +2 -2
- package/dist/calcite/p-a6ad3821.entry.js +6 -0
- package/dist/calcite/{p-a4282f1a.system.js → p-a86406ed.system.js} +2 -2
- package/dist/calcite/{p-de9c10d5.js → p-aacb2155.js} +2 -2
- package/dist/calcite/{p-76b94fbb.js → p-af62631d.js} +1 -1
- package/dist/calcite/{p-b0a49830.system.entry.js → p-b08b2ad9.system.entry.js} +2 -2
- package/dist/calcite/{p-1a140bf4.system.entry.js → p-b0a6c09b.system.entry.js} +2 -2
- package/dist/calcite/{p-869468f0.system.js → p-b19f561c.system.js} +1 -1
- package/dist/calcite/{p-1d79f363.entry.js → p-b1a0f06b.entry.js} +2 -2
- package/dist/calcite/p-b25dd020.system.entry.js +6 -0
- package/dist/calcite/{p-1a5ea6da.system.js → p-b5103bd6.system.js} +2 -2
- package/dist/calcite/{p-d11255b1.entry.js → p-b8fb2780.entry.js} +2 -2
- package/dist/calcite/{p-16c2985a.system.entry.js → p-ba9601c8.system.entry.js} +2 -2
- package/dist/calcite/{p-27e2f0f4.system.js → p-bbaad92f.system.js} +2 -2
- package/dist/calcite/{p-74f4cb8e.entry.js → p-bbc42dac.entry.js} +2 -2
- package/dist/calcite/{p-c3ab76fc.system.entry.js → p-bc2dc6af.system.entry.js} +2 -2
- package/dist/calcite/{p-cc0da6be.js → p-be74a343.js} +2 -2
- package/dist/calcite/{p-f25495f0.system.entry.js → p-bebb3777.system.entry.js} +2 -2
- package/dist/calcite/p-bfb4cbdc.entry.js +6 -0
- package/dist/calcite/{p-3a1a580f.system.entry.js → p-c26f3841.system.entry.js} +2 -2
- package/dist/calcite/{p-9586f6bb.system.entry.js → p-c5166dab.system.entry.js} +2 -2
- package/dist/calcite/{p-f6a58746.system.entry.js → p-c8a07e77.system.entry.js} +2 -2
- package/dist/calcite/{p-f8c4c14b.system.entry.js → p-cb4235cd.system.entry.js} +2 -2
- package/dist/calcite/{p-b68c3e91.system.entry.js → p-cd5c0d53.system.entry.js} +2 -2
- package/dist/calcite/{p-e58f3069.system.entry.js → p-cd76ddd3.system.entry.js} +2 -2
- package/dist/calcite/{p-56370690.entry.js → p-cdaa1968.entry.js} +2 -2
- package/dist/calcite/{p-b961207d.system.entry.js → p-cdd2f5f3.system.entry.js} +2 -2
- package/dist/calcite/{p-6d51bc7e.system.js → p-cef9685e.system.js} +2 -2
- package/dist/calcite/{p-6652cc68.system.js → p-d2102cf0.system.js} +1 -1
- package/dist/calcite/{p-c1e9a3a4.entry.js → p-d3126106.entry.js} +2 -2
- package/dist/calcite/{p-816aa9c2.entry.js → p-d3bd8e42.entry.js} +2 -2
- package/dist/calcite/{p-925a1f1e.system.js → p-d579af0f.system.js} +2 -2
- package/dist/calcite/p-d64ad5b8.entry.js +6 -0
- package/dist/calcite/{p-d9a46e7a.system.entry.js → p-d7ac85d7.system.entry.js} +2 -2
- package/dist/calcite/{p-baa453d2.entry.js → p-da0d407c.entry.js} +2 -2
- package/dist/calcite/p-da190323.system.entry.js +6 -0
- package/dist/calcite/{p-b36d6254.entry.js → p-da602e55.entry.js} +2 -2
- package/dist/calcite/{p-7a166b72.js → p-da9458eb.js} +1 -1
- package/dist/calcite/{p-9adfa6e4.system.entry.js → p-dafa6b14.system.entry.js} +2 -2
- package/dist/calcite/p-db716c4d.entry.js +6 -0
- package/dist/calcite/{p-b27ec36f.entry.js → p-dce7bd73.entry.js} +2 -2
- package/dist/calcite/{p-397d796b.system.js → p-dd371621.system.js} +2 -2
- package/dist/calcite/{p-bc7efd76.js → p-dd735a43.js} +1 -1
- package/dist/calcite/p-de18336c.system.entry.js +6 -0
- package/dist/calcite/{p-2dcf1cd2.js → p-e0f120b1.js} +1 -1
- package/dist/calcite/{p-01012ed9.system.entry.js → p-e17fe6f2.system.entry.js} +2 -2
- package/dist/calcite/{p-011cf492.system.entry.js → p-e31a759f.system.entry.js} +2 -2
- package/dist/calcite/{p-a2fed2e5.js → p-e35ac74b.js} +2 -2
- package/dist/calcite/{p-8c528406.system.entry.js → p-e37d3fd0.system.entry.js} +2 -2
- package/dist/calcite/{p-30828f96.system.entry.js → p-e629fa5b.system.entry.js} +2 -2
- package/dist/calcite/{p-8578e964.entry.js → p-e89b1604.entry.js} +2 -2
- package/dist/calcite/{p-2f020c2d.system.entry.js → p-eb1fa8a7.system.entry.js} +2 -2
- package/dist/calcite/{p-bb557bb0.system.entry.js → p-ee43e34c.system.entry.js} +2 -2
- package/dist/calcite/{p-195189ef.js → p-eea677b9.js} +1 -1
- package/dist/calcite/{p-c0f25bd3.entry.js → p-eedbbe06.entry.js} +2 -2
- package/dist/calcite/{p-c5662068.entry.js → p-eef36edb.entry.js} +2 -2
- package/dist/calcite/{p-44886675.entry.js → p-f0ff8d83.entry.js} +2 -2
- package/dist/calcite/{p-75d626ef.system.entry.js → p-f285278c.system.entry.js} +2 -2
- package/dist/calcite/{p-5f63aa1a.entry.js → p-f37111f3.entry.js} +2 -2
- package/dist/calcite/{p-31dd32bb.system.js → p-f540b806.system.js} +2 -2
- package/dist/calcite/{p-af5f39c0.system.entry.js → p-f5d88620.system.entry.js} +2 -2
- package/dist/calcite/{p-76460fff.entry.js → p-f6fae0da.entry.js} +2 -2
- package/dist/calcite/{p-437442cd.entry.js → p-f79661f0.entry.js} +2 -2
- package/dist/calcite/{p-12d5e438.system.entry.js → p-f8995cf2.system.entry.js} +2 -2
- package/dist/calcite/{p-14e6315a.js → p-fc12f99e.js} +1 -1
- package/dist/calcite/{p-f0fcc82a.system.js → p-fd4f16b4.system.js} +1 -1
- package/dist/cjs/{ExpandToggle-a148ca3a.js → ExpandToggle-b50957be.js} +5 -5
- package/dist/cjs/{Heading-f5821e3b.js → Heading-1b066533.js} +2 -2
- package/dist/cjs/{array-ce68f4cd.js → array-5ca2f088.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +6 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -9
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -13
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-text.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +14 -18
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +10 -9
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +16 -16
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +2 -2
- package/dist/cjs/{conditionalSlot-9af3512f.js → conditionalSlot-c9e8a19a.js} +3 -3
- package/dist/cjs/{debounce-b7489443.js → debounce-f9c5fb44.js} +1 -1
- package/dist/cjs/{dom-d6b74aa3.js → dom-70b983a2.js} +2 -2
- package/dist/cjs/{filter-c245e6df.js → filter-328c7b8b.js} +2 -2
- package/dist/cjs/{floating-ui-f9976acd.js → floating-ui-8a544187.js} +2 -2
- package/dist/cjs/{form-7c9f751c.js → form-7e91825a.js} +3 -3
- package/dist/cjs/{guid-4a4f363a.js → guid-bb58e051.js} +1 -1
- package/dist/cjs/{index-a63e0c6e.js → index-fd388681.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-3049b1d7.js → interactive-93b0bea2.js} +1 -1
- package/dist/cjs/{interfaces-6d2c9b90.js → interfaces-8051a72f.js} +1 -1
- package/dist/cjs/{key-62b8adda.js → key-a8b30c50.js} +1 -1
- package/dist/cjs/{label-6ebcd769.js → label-4c18233e.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-0df5a0db.js → locale-b7df0b1f.js} +2 -2
- package/dist/cjs/{math-90fee1c0.js → math-a3254e0c.js} +1 -1
- package/dist/cjs/{observers-f8b22aed.js → observers-ec5cb025.js} +1 -1
- package/dist/cjs/{openCloseComponent-b069a5fb.js → openCloseComponent-03671cb7.js} +1 -1
- package/dist/cjs/{resources-86c37e47.js → resources-0fa70b4c.js} +5 -5
- package/dist/cjs/{resources-7195d5f1.js → resources-5c096e0b.js} +3 -3
- package/dist/cjs/{resources-0c58f706.js → resources-de0d48aa.js} +1 -1
- package/dist/cjs/{resources-d5c7882f.js → resources-efcf402f.js} +1 -1
- package/dist/cjs/{sortable.esm-f742b318.js → sortable.esm-00e9d640.js} +1 -1
- package/dist/cjs/{utils-3d436716.js → utils-e1a09f13.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +2 -2
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -2
- 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.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.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -2
- package/dist/collection/components/chip/chip.js +1 -1
- 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.js +6 -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.js +2 -2
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- 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.js +1 -1
- 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.js +4 -3
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +6 -5
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- 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.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- 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.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.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- 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 +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +3 -2
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +20 -20
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +13 -13
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +19 -19
- package/dist/collection/components/radio-group-item/radio-group-item.js +9 -9
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +1 -1
- package/dist/collection/components/rating/rating.js +21 -21
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +4 -3
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +4 -3
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +4 -0
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- 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.js +6 -10
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +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.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +3 -2
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- 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 +6 -5
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +6 -6
- package/dist/components/calcite-radio-button.js +9 -9
- package/dist/components/calcite-radio-group-item.js +4 -4
- package/dist/components/calcite-radio-group.js +9 -9
- package/dist/components/calcite-rating.js +9 -9
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +4 -3
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +4 -3
- package/dist/components/date-picker-month-header.js +6 -5
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +2 -2
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- 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 +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +3 -2
- package/dist/components/progress.js +1 -1
- 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 +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +4 -3
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +6 -10
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +59 -63
- package/dist/esm/{ExpandToggle-97163e28.js → ExpandToggle-dd6a0dd8.js} +5 -5
- package/dist/esm/{Heading-b360e930.js → Heading-4c268816.js} +2 -2
- package/dist/esm/{array-73ce298b.js → array-68e32723.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +7 -7
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +6 -6
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +10 -9
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +9 -8
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +14 -13
- package/dist/esm/calcite-combobox_3.entry.js +13 -13
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +9 -9
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +12 -11
- package/dist/esm/calcite-handle.entry.js +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +12 -12
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-text.entry.js +8 -8
- package/dist/esm/calcite-input-time-picker_2.entry.js +14 -18
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +7 -7
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +10 -9
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +16 -16
- package/dist/esm/calcite-radio-group_2.entry.js +18 -18
- package/dist/esm/calcite-rating.entry.js +16 -16
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +10 -9
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +2 -2
- package/dist/esm/{conditionalSlot-68e70981.js → conditionalSlot-40a54fd0.js} +3 -3
- package/dist/esm/{debounce-a98ec801.js → debounce-b0f31c11.js} +1 -1
- package/dist/esm/{dom-857f52aa.js → dom-1f4b2c5c.js} +2 -2
- package/dist/esm/{filter-752f4716.js → filter-e37bac63.js} +2 -2
- package/dist/esm/{floating-ui-4945e4cf.js → floating-ui-0c89f0e1.js} +2 -2
- package/dist/esm/{form-f701eca6.js → form-def7282e.js} +3 -3
- package/dist/esm/{guid-9fa1232c.js → guid-43243f0d.js} +1 -1
- package/dist/esm/{index-0574569e.js → index-5a5db037.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-dbfd10e0.js → interactive-0304df8e.js} +1 -1
- package/dist/esm/{interfaces-ca06ad36.js → interfaces-2d8b2aa3.js} +1 -1
- package/dist/esm/{key-919e156a.js → key-8d8e902e.js} +1 -1
- package/dist/esm/{label-771af339.js → label-d68e7f0f.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{locale-90025a6e.js → locale-93a2218c.js} +2 -2
- package/dist/esm/{math-1c325da4.js → math-23d942ef.js} +1 -1
- package/dist/esm/{observers-f804dccd.js → observers-64f4a7e9.js} +1 -1
- package/dist/esm/{openCloseComponent-71b8504c.js → openCloseComponent-fbf6ad68.js} +1 -1
- package/dist/esm/{resources-69f1bf66.js → resources-05894aef.js} +1 -1
- package/dist/esm/{resources-54afc41e.js → resources-10717072.js} +5 -5
- package/dist/esm/{resources-9b0091a8.js → resources-9c6ccc78.js} +1 -1
- package/dist/esm/{resources-e8a5c846.js → resources-a67dcc05.js} +3 -3
- package/dist/esm/{sortable.esm-09992f6b.js → sortable.esm-5a040bf9.js} +1 -1
- package/dist/esm/{utils-4ca0b110.js → utils-fa55d6c6.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-97163e28.js → ExpandToggle-dd6a0dd8.js} +2 -2
- package/dist/esm-es5/Heading-4c268816.js +6 -0
- package/dist/esm-es5/{array-73ce298b.js → array-68e32723.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 +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- 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 +3 -3
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- 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 +3 -3
- package/dist/esm-es5/calcite-input-text.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- 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 +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-68e70981.js → conditionalSlot-40a54fd0.js} +2 -2
- package/dist/esm-es5/{debounce-a98ec801.js → debounce-b0f31c11.js} +1 -1
- package/dist/esm-es5/{dom-857f52aa.js → dom-1f4b2c5c.js} +2 -2
- package/dist/esm-es5/{filter-752f4716.js → filter-e37bac63.js} +2 -2
- package/dist/esm-es5/{floating-ui-4945e4cf.js → floating-ui-0c89f0e1.js} +2 -2
- package/dist/esm-es5/{form-f701eca6.js → form-def7282e.js} +2 -2
- package/dist/esm-es5/{guid-9fa1232c.js → guid-43243f0d.js} +1 -1
- package/dist/esm-es5/{index-0574569e.js → index-5a5db037.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-dbfd10e0.js → interactive-0304df8e.js} +1 -1
- package/dist/esm-es5/{interfaces-ca06ad36.js → interfaces-2d8b2aa3.js} +1 -1
- package/dist/esm-es5/{key-919e156a.js → key-8d8e902e.js} +1 -1
- package/dist/esm-es5/{label-771af339.js → label-d68e7f0f.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-90025a6e.js → locale-93a2218c.js} +2 -2
- package/dist/esm-es5/{math-1c325da4.js → math-23d942ef.js} +1 -1
- package/dist/esm-es5/{observers-f804dccd.js → observers-64f4a7e9.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-71b8504c.js → openCloseComponent-fbf6ad68.js} +1 -1
- package/dist/esm-es5/{resources-69f1bf66.js → resources-05894aef.js} +1 -1
- package/dist/esm-es5/{resources-54afc41e.js → resources-10717072.js} +2 -2
- package/dist/esm-es5/{resources-9b0091a8.js → resources-9c6ccc78.js} +1 -1
- package/dist/esm-es5/{resources-e8a5c846.js → resources-a67dcc05.js} +2 -2
- package/dist/esm-es5/{sortable.esm-09992f6b.js → sortable.esm-5a040bf9.js} +1 -1
- package/dist/esm-es5/{utils-4ca0b110.js → utils-fa55d6c6.js} +1 -1
- package/dist/extras/docs-json.json +42 -42
- 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/radio-button/radio-button.d.ts +11 -11
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +7 -7
- package/dist/types/components/radio-group/radio-group.d.ts +10 -10
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +5 -5
- package/dist/types/components/rating/rating.d.ts +12 -12
- package/dist/types/components.d.ts +82 -82
- package/hydrate/index.js +59 -63
- package/package.json +2 -2
- package/dist/calcite/p-01473985.entry.js +0 -6
- package/dist/calcite/p-0a96aef2.entry.js +0 -6
- package/dist/calcite/p-0b439e6f.system.entry.js +0 -6
- package/dist/calcite/p-0fb15543.system.entry.js +0 -6
- package/dist/calcite/p-1501b176.system.entry.js +0 -6
- package/dist/calcite/p-154b77af.entry.js +0 -6
- package/dist/calcite/p-260e6a14.entry.js +0 -6
- package/dist/calcite/p-2871e3ae.system.entry.js +0 -6
- package/dist/calcite/p-287c704c.system.entry.js +0 -6
- package/dist/calcite/p-2f0da36b.entry.js +0 -6
- package/dist/calcite/p-43ff85ce.entry.js +0 -6
- package/dist/calcite/p-72ed246e.system.entry.js +0 -6
- package/dist/calcite/p-811ca56e.js +0 -6
- package/dist/calcite/p-8cc4a869.js +0 -6
- package/dist/calcite/p-9c0854b8.system.entry.js +0 -6
- package/dist/calcite/p-aff50424.entry.js +0 -6
- package/dist/calcite/p-b07a89da.entry.js +0 -6
- package/dist/calcite/p-bacbe7c9.entry.js +0 -6
- package/dist/calcite/p-be506ed2.entry.js +0 -6
- package/dist/calcite/p-d178bc57.entry.js +0 -6
- package/dist/calcite/p-ecd11b87.entry.js +0 -6
- package/dist/calcite/p-f3f38baf.system.entry.js +0 -6
- package/dist/calcite/p-fe633404.entry.js +0 -6
- package/dist/esm-es5/Heading-b360e930.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.556
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -5801,7 +5801,7 @@ class Accordion {
|
|
|
5801
5801
|
const item = event.detail.item;
|
|
5802
5802
|
const parent = event.detail.parent;
|
|
5803
5803
|
if (this.el === parent) {
|
|
5804
|
-
const key = item
|
|
5804
|
+
const { key } = item;
|
|
5805
5805
|
const itemToFocus = event.target;
|
|
5806
5806
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
5807
5807
|
const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
|
|
@@ -9493,7 +9493,7 @@ class BlockSection {
|
|
|
9493
9493
|
//
|
|
9494
9494
|
// --------------------------------------------------------------------------
|
|
9495
9495
|
this.handleHeaderKeyDown = (event) => {
|
|
9496
|
-
if (event.key
|
|
9496
|
+
if (isActivationKey(event.key)) {
|
|
9497
9497
|
this.toggleSection();
|
|
9498
9498
|
event.preventDefault();
|
|
9499
9499
|
event.stopPropagation();
|
|
@@ -10310,7 +10310,7 @@ class Checkbox {
|
|
|
10310
10310
|
}
|
|
10311
10311
|
};
|
|
10312
10312
|
this.keyDownHandler = (event) => {
|
|
10313
|
-
if (event.key
|
|
10313
|
+
if (isActivationKey(event.key)) {
|
|
10314
10314
|
this.toggle();
|
|
10315
10315
|
event.preventDefault();
|
|
10316
10316
|
}
|
|
@@ -12953,7 +12953,7 @@ class ColorPicker {
|
|
|
12953
12953
|
this.updateChannelsFromColor(this.color);
|
|
12954
12954
|
};
|
|
12955
12955
|
this.handleColorFieldScopeKeyDown = (event) => {
|
|
12956
|
-
const key = event
|
|
12956
|
+
const { key } = event;
|
|
12957
12957
|
const arrowKeyToXYOffset = {
|
|
12958
12958
|
ArrowUp: { x: 0, y: -10 },
|
|
12959
12959
|
ArrowRight: { x: 10, y: 0 },
|
|
@@ -12968,7 +12968,7 @@ class ColorPicker {
|
|
|
12968
12968
|
};
|
|
12969
12969
|
this.handleHueScopeKeyDown = (event) => {
|
|
12970
12970
|
const modifier = event.shiftKey ? 10 : 1;
|
|
12971
|
-
const key = event
|
|
12971
|
+
const { key } = event;
|
|
12972
12972
|
const arrowKeyToXOffset = {
|
|
12973
12973
|
ArrowUp: 1,
|
|
12974
12974
|
ArrowRight: 1,
|
|
@@ -13034,7 +13034,7 @@ class ColorPicker {
|
|
|
13034
13034
|
this.updateColorFromChannels(channels);
|
|
13035
13035
|
};
|
|
13036
13036
|
this.handleSavedColorKeyDown = (event) => {
|
|
13037
|
-
if (event.key
|
|
13037
|
+
if (isActivationKey(event.key)) {
|
|
13038
13038
|
event.preventDefault();
|
|
13039
13039
|
event.stopPropagation();
|
|
13040
13040
|
this.handleSavedColorSelect(event);
|
|
@@ -13303,7 +13303,7 @@ class ColorPicker {
|
|
|
13303
13303
|
// using @Listen as a workaround for VDOM listener not firing
|
|
13304
13304
|
handleChannelKeyUpOrDown(event) {
|
|
13305
13305
|
this.shiftKeyChannelAdjustment = 0;
|
|
13306
|
-
const key = event
|
|
13306
|
+
const { key } = event;
|
|
13307
13307
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
13308
13308
|
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$I.channel); })) {
|
|
13309
13309
|
return;
|
|
@@ -13730,7 +13730,7 @@ class ColorPickerHexInput {
|
|
|
13730
13730
|
onInputKeyDown(event) {
|
|
13731
13731
|
const { altKey, ctrlKey, metaKey, shiftKey } = event;
|
|
13732
13732
|
const { internalColor, value } = this;
|
|
13733
|
-
const key = event
|
|
13733
|
+
const { key } = event;
|
|
13734
13734
|
if (key === "Tab" || key === "Enter") {
|
|
13735
13735
|
this.onInputChange();
|
|
13736
13736
|
return;
|
|
@@ -17495,8 +17495,8 @@ class DatePickerDay {
|
|
|
17495
17495
|
!this.disabled && this.calciteDaySelect.emit();
|
|
17496
17496
|
};
|
|
17497
17497
|
this.keyDownHandler = (event) => {
|
|
17498
|
-
const key = event
|
|
17499
|
-
if (key
|
|
17498
|
+
const { key } = event;
|
|
17499
|
+
if (isActivationKey(key)) {
|
|
17500
17500
|
!this.disabled && this.calciteDaySelect.emit();
|
|
17501
17501
|
}
|
|
17502
17502
|
};
|
|
@@ -17913,8 +17913,8 @@ class DatePickerMonthHeader {
|
|
|
17913
17913
|
this.handleArrowClick(event, this.prevMonthDate);
|
|
17914
17914
|
};
|
|
17915
17915
|
this.prevMonthKeydown = (event) => {
|
|
17916
|
-
const key = event
|
|
17917
|
-
if (key
|
|
17916
|
+
const { key } = event;
|
|
17917
|
+
if (isActivationKey(key)) {
|
|
17918
17918
|
this.prevMonthClick(event);
|
|
17919
17919
|
}
|
|
17920
17920
|
};
|
|
@@ -17922,8 +17922,8 @@ class DatePickerMonthHeader {
|
|
|
17922
17922
|
this.handleArrowClick(event, this.nextMonthDate);
|
|
17923
17923
|
};
|
|
17924
17924
|
this.nextMonthKeydown = (event) => {
|
|
17925
|
-
const key = event
|
|
17926
|
-
if (key
|
|
17925
|
+
const { key } = event;
|
|
17926
|
+
if (isActivationKey(key)) {
|
|
17927
17927
|
this.nextMonthClick(event);
|
|
17928
17928
|
}
|
|
17929
17929
|
};
|
|
@@ -18202,7 +18202,7 @@ class Dropdown {
|
|
|
18202
18202
|
if (target !== this.referenceEl) {
|
|
18203
18203
|
return;
|
|
18204
18204
|
}
|
|
18205
|
-
const key = event
|
|
18205
|
+
const { key } = event;
|
|
18206
18206
|
if (this.open && (key === "Escape" || (event.shiftKey && key === "Tab"))) {
|
|
18207
18207
|
this.closeCalciteDropdown();
|
|
18208
18208
|
return;
|
|
@@ -25140,7 +25140,7 @@ class PopoverManager$1 {
|
|
|
25140
25140
|
.forEach((popover) => popover.toggle(false));
|
|
25141
25141
|
};
|
|
25142
25142
|
this.keyHandler = (event) => {
|
|
25143
|
-
if (event.key
|
|
25143
|
+
if (!isActivationKey(event.key)) {
|
|
25144
25144
|
return;
|
|
25145
25145
|
}
|
|
25146
25146
|
this.togglePopovers(event);
|
|
@@ -25653,27 +25653,27 @@ class RadioButton {
|
|
|
25653
25653
|
// Properties
|
|
25654
25654
|
//
|
|
25655
25655
|
//--------------------------------------------------------------------------
|
|
25656
|
-
/**
|
|
25656
|
+
/** When true, the component is checked. */
|
|
25657
25657
|
this.checked = false;
|
|
25658
|
-
/**
|
|
25658
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
25659
25659
|
this.disabled = false;
|
|
25660
25660
|
/**
|
|
25661
|
-
* The focused state of the
|
|
25661
|
+
* The focused state of the component.
|
|
25662
25662
|
*
|
|
25663
25663
|
* @internal
|
|
25664
25664
|
*/
|
|
25665
25665
|
this.focused = false;
|
|
25666
|
-
/**
|
|
25666
|
+
/** When true, the component is not displayed and is not focusable or checkable. */
|
|
25667
25667
|
this.hidden = false;
|
|
25668
25668
|
/**
|
|
25669
|
-
* The hovered state of the
|
|
25669
|
+
* The hovered state of the component.
|
|
25670
25670
|
*
|
|
25671
25671
|
* @internal
|
|
25672
25672
|
*/
|
|
25673
25673
|
this.hovered = false;
|
|
25674
|
-
/**
|
|
25674
|
+
/** When true, the component must have a value selected from the `calcite-radio-button-group` on form submission. */
|
|
25675
25675
|
this.required = false;
|
|
25676
|
-
/**
|
|
25676
|
+
/** Specifies the size of the component inherited from the `calcite-radio-button-group`. */
|
|
25677
25677
|
this.scale = "m";
|
|
25678
25678
|
//--------------------------------------------------------------------------
|
|
25679
25679
|
//
|
|
@@ -25708,7 +25708,7 @@ class RadioButton {
|
|
|
25708
25708
|
};
|
|
25709
25709
|
this.handleKeyDown = (event) => {
|
|
25710
25710
|
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
|
25711
|
-
const key = event
|
|
25711
|
+
const { key } = event;
|
|
25712
25712
|
const { el } = this;
|
|
25713
25713
|
if (keys.indexOf(key) === -1) {
|
|
25714
25714
|
return;
|
|
@@ -25928,15 +25928,15 @@ class RadioButtonGroup {
|
|
|
25928
25928
|
// Properties
|
|
25929
25929
|
//
|
|
25930
25930
|
//--------------------------------------------------------------------------
|
|
25931
|
-
/**
|
|
25931
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
25932
25932
|
this.disabled = false;
|
|
25933
|
-
/**
|
|
25933
|
+
/** When true, the component is not displayed and its `calcite-radio-button`s are not focusable or checkable. */
|
|
25934
25934
|
this.hidden = false;
|
|
25935
|
-
/**
|
|
25935
|
+
/** Defines the layout of the component. */
|
|
25936
25936
|
this.layout = "horizontal";
|
|
25937
|
-
/**
|
|
25937
|
+
/** When true, the component must have a value on form submission. */
|
|
25938
25938
|
this.required = false;
|
|
25939
|
-
/**
|
|
25939
|
+
/** Specifies the size of the component. */
|
|
25940
25940
|
this.scale = "m";
|
|
25941
25941
|
// --------------------------------------------------------------------------
|
|
25942
25942
|
//
|
|
@@ -26043,23 +26043,23 @@ class RadioGroup {
|
|
|
26043
26043
|
// Properties
|
|
26044
26044
|
//
|
|
26045
26045
|
//--------------------------------------------------------------------------
|
|
26046
|
-
/**
|
|
26046
|
+
/** Specifies the appearance style of the component. */
|
|
26047
26047
|
this.appearance = "solid";
|
|
26048
|
-
/** is the
|
|
26048
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
26049
26049
|
this.disabled = false;
|
|
26050
26050
|
/**
|
|
26051
|
-
* When true,
|
|
26051
|
+
* When true, the component must have a value on form submission.
|
|
26052
26052
|
*
|
|
26053
26053
|
* @internal
|
|
26054
26054
|
*/
|
|
26055
26055
|
this.required = false;
|
|
26056
|
-
/**
|
|
26056
|
+
/** Defines the layout of the component. */
|
|
26057
26057
|
this.layout = "horizontal";
|
|
26058
|
-
/**
|
|
26058
|
+
/** Specifies the size of the component. */
|
|
26059
26059
|
this.scale = "m";
|
|
26060
|
-
/** The
|
|
26060
|
+
/** The component's "selectedItem" value. */
|
|
26061
26061
|
this.value = null;
|
|
26062
|
-
/**
|
|
26062
|
+
/** Specifies the width of the component. */
|
|
26063
26063
|
this.width = "auto";
|
|
26064
26064
|
//--------------------------------------------------------------------------
|
|
26065
26065
|
//
|
|
@@ -26133,7 +26133,7 @@ class RadioGroup {
|
|
|
26133
26133
|
}
|
|
26134
26134
|
handleKeyDown(event) {
|
|
26135
26135
|
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
|
26136
|
-
const key = event
|
|
26136
|
+
const { key } = event;
|
|
26137
26137
|
const { el, selectedItem } = this;
|
|
26138
26138
|
if (keys.indexOf(key) === -1) {
|
|
26139
26139
|
return;
|
|
@@ -26262,11 +26262,11 @@ class RadioGroupItem {
|
|
|
26262
26262
|
// Properties
|
|
26263
26263
|
//
|
|
26264
26264
|
//--------------------------------------------------------------------------
|
|
26265
|
-
/**
|
|
26265
|
+
/** When true, the component is checked. */
|
|
26266
26266
|
this.checked = false;
|
|
26267
|
-
/**
|
|
26267
|
+
/** When true, the icon will be flipped when the element direction is right-to-left ("rtl"). */
|
|
26268
26268
|
this.iconFlipRtl = false;
|
|
26269
|
-
/**
|
|
26269
|
+
/** When used with "icon", specifies its position. */
|
|
26270
26270
|
this.iconPosition = "start";
|
|
26271
26271
|
}
|
|
26272
26272
|
handleCheckedChange() {
|
|
@@ -26323,30 +26323,30 @@ class Rating {
|
|
|
26323
26323
|
// Properties
|
|
26324
26324
|
//
|
|
26325
26325
|
// --------------------------------------------------------------------------
|
|
26326
|
-
/**
|
|
26326
|
+
/** Specifies the size of the component. */
|
|
26327
26327
|
this.scale = "m";
|
|
26328
|
-
/**
|
|
26328
|
+
/** The component's value. */
|
|
26329
26329
|
this.value = 0;
|
|
26330
|
-
/**
|
|
26330
|
+
/** When true, the component's value can be read, but cannot be modified. */
|
|
26331
26331
|
this.readOnly = false;
|
|
26332
|
-
/** is the
|
|
26332
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
26333
26333
|
this.disabled = false;
|
|
26334
|
-
/**
|
|
26334
|
+
/** When true, and if available, displays the "average" and/or "count" data summary in a `calcite-chip`. */
|
|
26335
26335
|
this.showChip = false;
|
|
26336
26336
|
/**
|
|
26337
|
-
*
|
|
26337
|
+
* Accessible name for the component.
|
|
26338
26338
|
*
|
|
26339
26339
|
* @default "Rating"
|
|
26340
26340
|
*/
|
|
26341
26341
|
this.intlRating = TEXT$5.rating;
|
|
26342
26342
|
/**
|
|
26343
|
-
*
|
|
26343
|
+
* Accessible name for each star. The `${num}` in the string will be replaced by the number.
|
|
26344
26344
|
*
|
|
26345
26345
|
* @default "Stars: ${num}"
|
|
26346
26346
|
*/
|
|
26347
26347
|
this.intlStars = TEXT$5.stars;
|
|
26348
26348
|
/**
|
|
26349
|
-
* When true,
|
|
26349
|
+
* When true, the component must have a value on form submission.
|
|
26350
26350
|
*
|
|
26351
26351
|
* @internal
|
|
26352
26352
|
*/
|
|
@@ -27535,8 +27535,8 @@ class Slider {
|
|
|
27535
27535
|
const mirror = this.shouldMirror();
|
|
27536
27536
|
const { activeProp, max, min, pageStep, step } = this;
|
|
27537
27537
|
const value = this[activeProp];
|
|
27538
|
-
const key = event
|
|
27539
|
-
if (key
|
|
27538
|
+
const { key } = event;
|
|
27539
|
+
if (isActivationKey(key)) {
|
|
27540
27540
|
event.preventDefault();
|
|
27541
27541
|
return;
|
|
27542
27542
|
}
|
|
@@ -31762,8 +31762,8 @@ class Switch {
|
|
|
31762
31762
|
//
|
|
31763
31763
|
//--------------------------------------------------------------------------
|
|
31764
31764
|
this.keyDownHandler = (event) => {
|
|
31765
|
-
const key = event
|
|
31766
|
-
if (!this.disabled && (key
|
|
31765
|
+
const { key } = event;
|
|
31766
|
+
if (!this.disabled && isActivationKey(key)) {
|
|
31767
31767
|
this.toggle();
|
|
31768
31768
|
event.preventDefault();
|
|
31769
31769
|
}
|
|
@@ -31987,7 +31987,7 @@ class Tab {
|
|
|
31987
31987
|
}; }
|
|
31988
31988
|
}
|
|
31989
31989
|
|
|
31990
|
-
const tabNavCss = "@-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*/.sc-calcite-tab-nav: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*/.calcite-animate.sc-calcite-tab-nav{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*/.calcite-animate__in.sc-calcite-tab-nav{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab-nav{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab-nav{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab-nav{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tab-nav:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tab-nav-h{display:none !important}/*!@:host*/.sc-calcite-tab-nav-h{position:relative;display:-ms-flexbox;display:flex}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-nav-h{min-block-size:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tab-nav-h{min-block-size:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-nav-h{min-block-size:2.75rem}/*!@.tab-nav*/.tab-nav.sc-calcite-tab-nav{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}/*!@.tab-nav-active-indicator-container*/.tab-nav-active-indicator-container.sc-calcite-tab-nav{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-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-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}/*!@:host([position=below]) .tab-nav-active-indicator*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=bottom]) .tab-nav-active-indicator*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=below]) .tab-nav-active-indicator-container*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-start:0px;inset-block-end:unset}/*!@:host([position=bottom]) .tab-nav-active-indicator-container*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([bordered]) .tab-nav-active-indicator-container*/[bordered].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset}/*!@:host([bordered][position=below]) .tab-nav-active-indicator-container*/[bordered][position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}/*!@:host([bordered][position=bottom]) .tab-nav-active-indicator-container*/[bordered][position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{background-color:highlight}}";
|
|
31990
|
+
const tabNavCss = "@-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*/.sc-calcite-tab-nav: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*/.calcite-animate.sc-calcite-tab-nav{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*/.calcite-animate__in.sc-calcite-tab-nav{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab-nav{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab-nav{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab-nav{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tab-nav:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tab-nav-h{display:none !important}/*!@:host*/.sc-calcite-tab-nav-h{position:relative;display:-ms-flexbox;display:flex}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-nav-h{min-block-size:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tab-nav-h{min-block-size:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-nav-h{min-block-size:2.75rem}/*!@.tab-nav*/.tab-nav.sc-calcite-tab-nav{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}/*!@:host([layout=center]) .tab-nav*/[layout=center].sc-calcite-tab-nav-h .tab-nav.sc-calcite-tab-nav{-ms-flex-pack:center;justify-content:center}/*!@.tab-nav-active-indicator-container*/.tab-nav-active-indicator-container.sc-calcite-tab-nav{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-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-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}/*!@:host([position=below]) .tab-nav-active-indicator*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=bottom]) .tab-nav-active-indicator*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=below]) .tab-nav-active-indicator-container*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-start:0px;inset-block-end:unset}/*!@:host([position=bottom]) .tab-nav-active-indicator-container*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([bordered]) .tab-nav-active-indicator-container*/[bordered].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset}/*!@:host([bordered][position=below]) .tab-nav-active-indicator-container*/[bordered][position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}/*!@:host([bordered][position=bottom]) .tab-nav-active-indicator-container*/[bordered][position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{background-color:highlight}}";
|
|
31991
31991
|
|
|
31992
31992
|
/**
|
|
31993
31993
|
* @slot - A slot for adding `calcite-tab-title`s.
|
|
@@ -33158,7 +33158,7 @@ class TimePicker {
|
|
|
33158
33158
|
}
|
|
33159
33159
|
};
|
|
33160
33160
|
this.hourKeyDownHandler = (event) => {
|
|
33161
|
-
const key = event
|
|
33161
|
+
const { key } = event;
|
|
33162
33162
|
if (numberKeys.includes(key)) {
|
|
33163
33163
|
const keyAsNumber = parseInt(key);
|
|
33164
33164
|
let newHour;
|
|
@@ -33203,7 +33203,6 @@ class TimePicker {
|
|
|
33203
33203
|
this.incrementHour();
|
|
33204
33204
|
break;
|
|
33205
33205
|
case " ":
|
|
33206
|
-
case "Spacebar":
|
|
33207
33206
|
event.preventDefault();
|
|
33208
33207
|
break;
|
|
33209
33208
|
}
|
|
@@ -33266,7 +33265,6 @@ class TimePicker {
|
|
|
33266
33265
|
this.decrementMeridiem();
|
|
33267
33266
|
break;
|
|
33268
33267
|
case " ":
|
|
33269
|
-
case "Spacebar":
|
|
33270
33268
|
event.preventDefault();
|
|
33271
33269
|
break;
|
|
33272
33270
|
}
|
|
@@ -33282,7 +33280,7 @@ class TimePicker {
|
|
|
33282
33280
|
}
|
|
33283
33281
|
};
|
|
33284
33282
|
this.minuteKeyDownHandler = (event) => {
|
|
33285
|
-
const key = event
|
|
33283
|
+
const { key } = event;
|
|
33286
33284
|
if (numberKeys.includes(key)) {
|
|
33287
33285
|
const keyAsNumber = parseInt(key);
|
|
33288
33286
|
let newMinute;
|
|
@@ -33313,7 +33311,6 @@ class TimePicker {
|
|
|
33313
33311
|
this.incrementMinute();
|
|
33314
33312
|
break;
|
|
33315
33313
|
case " ":
|
|
33316
|
-
case "Spacebar":
|
|
33317
33314
|
event.preventDefault();
|
|
33318
33315
|
break;
|
|
33319
33316
|
}
|
|
@@ -33330,7 +33327,7 @@ class TimePicker {
|
|
|
33330
33327
|
}
|
|
33331
33328
|
};
|
|
33332
33329
|
this.secondKeyDownHandler = (event) => {
|
|
33333
|
-
const key = event
|
|
33330
|
+
const { key } = event;
|
|
33334
33331
|
if (numberKeys.includes(key)) {
|
|
33335
33332
|
const keyAsNumber = parseInt(key);
|
|
33336
33333
|
let newSecond;
|
|
@@ -33361,7 +33358,6 @@ class TimePicker {
|
|
|
33361
33358
|
this.incrementSecond();
|
|
33362
33359
|
break;
|
|
33363
33360
|
case " ":
|
|
33364
|
-
case "Spacebar":
|
|
33365
33361
|
event.preventDefault();
|
|
33366
33362
|
break;
|
|
33367
33363
|
}
|
|
@@ -33473,7 +33469,7 @@ class TimePicker {
|
|
|
33473
33469
|
this.calciteInternalTimePickerFocus.emit();
|
|
33474
33470
|
}
|
|
33475
33471
|
keyDownHandler(event) {
|
|
33476
|
-
const key = event
|
|
33472
|
+
const { key } = event;
|
|
33477
33473
|
switch (this.activeEl) {
|
|
33478
33474
|
case this.hourEl:
|
|
33479
33475
|
if (key === "ArrowRight") {
|
|
@@ -33541,7 +33537,7 @@ class TimePicker {
|
|
|
33541
33537
|
//
|
|
33542
33538
|
// --------------------------------------------------------------------------
|
|
33543
33539
|
buttonActivated(event) {
|
|
33544
|
-
const key = event
|
|
33540
|
+
const { key } = event;
|
|
33545
33541
|
if (key === " ") {
|
|
33546
33542
|
event.preventDefault();
|
|
33547
33543
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.556",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@stencil/sass": "1.5.2",
|
|
84
84
|
"@stencil/state-tunnel": "^1.0.1",
|
|
85
85
|
"@storybook/addon-a11y": "6.5.10",
|
|
86
|
-
"@storybook/addon-docs": "6.5.
|
|
86
|
+
"@storybook/addon-docs": "6.5.10",
|
|
87
87
|
"@storybook/addon-knobs": "6.4.0",
|
|
88
88
|
"@storybook/html": "6.5.10",
|
|
89
89
|
"@storybook/storybook-deployer": "2.8.12",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.555
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,H as e,g as n}from"./p-af508381.js";import{f as r,t as o}from"./p-722b0b81.js";import{c as s,d as c,g as l}from"./p-cc0da6be.js";import{c as m,d,H as b}from"./p-a213dd26.js";import{u as h}from"./p-2dcf1cd2.js";import"./p-00c5f906.js";const p=class{constructor(a){t(this,a),this.calciteSwitchChange=i(this,"calciteSwitchChange",6),this.disabled=!1,this.scale="m",this.switched=!1,this.checked=!1,this.keyDownHandler=t=>{const i=t.key;this.disabled||" "!==i&&"Enter"!==i||(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.toggle()},this.setSwitchEl=t=>{this.switchEl=t}}switchedWatcher(t){this.checked=t}async setFocus(){r(this.switchEl)}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit({switched:this.checked})}connectedCallback(){const t=this.checked||this.switched;t&&(this.switched=this.checked=t),s(this),m(this)}disconnectedCallback(){c(this),d(this)}componentDidRender(){h(this)}render(){return a(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},a("div",{"aria-checked":o(this.checked),"aria-label":l(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},a("div",{class:"track"},a("div",{class:"handle"})),a(b,{component:this})))}get el(){return n(this)}static get watchers(){return{switched:["switchedWatcher"]}}};p.style="@-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 !important}: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([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{inline-size:auto;outline-color:transparent}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{p as calcite_switch}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.555
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as a,H as i,g as r,F as o}from"./p-af508381.js";import{T as n,c as s,d as c,a as l,b as h,g as d,H as u,s as p,i as f,e as m,n as g,f as w,l as v,h as b}from"./p-dddf9e4d.js";import{a as x,C as y}from"./p-722b0b81.js";import{u as k}from"./p-2dcf1cd2.js";import{H as D}from"./p-8cc4a869.js";import"./p-c6df95fa.js";import"./p-6196f2dd.js";import"./p-00c5f906.js";const z=class{constructor(a){t(this,a),this.calciteDatePickerChange=e(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=e(this,"calciteDatePickerRangeChange",6),this.intlPrevMonth=n.prevMonth,this.intlNextMonth=n.nextMonth,this.intlYear=n.year,this.locale=document.documentElement.lang||"en",this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.keyDownHandler=t=>{"Escape"===t.key&&this.reset()},this.monthHeaderSelectChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthActiveDateChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthHoverChange=t=>{if(!this.startAsDate)return void(this.hoverRange=void 0);const e=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:this.startAsDate,end:this.endAsDate},this.proximitySelectionDisabled)this.endAsDate?this.hoverRange=void 0:e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end");else if(this.endAsDate){const t=s(e,this.startAsDate),a=s(e,this.endAsDate);a>0?(this.hoverRange.end=e,this.hoverRange.focused="end"):t<0||t>a?(this.hoverRange.start=e,this.hoverRange.focused="start"):(this.hoverRange.end=e,this.hoverRange.focused="end")}else e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end");t.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.reset=()=>{var t,e,a,i,r,o;!Array.isArray(this.valueAsDate)&&this.valueAsDate&&(null===(t=this.valueAsDate)||void 0===t?void 0:t.getTime())!==(null===(e=this.activeDate)||void 0===e?void 0:e.getTime())&&(this.activeDate=new Date(this.valueAsDate)),this.startAsDate&&(null===(a=this.startAsDate)||void 0===a?void 0:a.getTime())!==(null===(i=this.activeStartDate)||void 0===i?void 0:i.getTime())&&(this.activeStartDate=new Date(this.startAsDate)),this.endAsDate&&(null===(r=this.endAsDate)||void 0===r?void 0:r.getTime())!==(null===(o=this.activeEndDate)||void 0===o?void 0:o.getTime())&&(this.activeEndDate=new Date(this.endAsDate))},this.monthDateChange=t=>{const e=new Date(t.detail);if(!this.range)return this.value=e?c(e):"",this.valueAsDate=e||null,this.activeDate=e||null,void this.calciteDatePickerChange.emit(e);if(!this.startAsDate||!this.endAsDate&&e<this.startAsDate)this.startAsDate&&this.setEndDate(new Date(this.startAsDate)),"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else if(this.endAsDate)if(this.proximitySelectionDisabled)this.setStartDate(e),this.endAsDate=this.activeEndDate=this.end=void 0;else if(this.activeRange)"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else{const t=s(e,this.startAsDate),a=s(e,this.endAsDate);0===a||t<0?this.setStartDate(e):0===t||a<0?this.setEndDate(e):t<a?this.setStartDate(e):this.setEndDate(e)}else this.setEndDate(e);this.calciteDatePickerChange.emit(e)}}handleValueAsDate(t){!Array.isArray(t)&&t&&t!==this.activeDate&&(this.activeDate=t)}handleRangeChange(){const{startAsDate:t,endAsDate:e}=this;this.activeEndDate=e,this.activeStartDate=t}onMinChanged(t){t&&(this.minAsDate=l(t))}onMaxChanged(t){t&&(this.maxAsDate=l(t))}connectedCallback(){Array.isArray(this.value)?(this.valueAsDate=this.value.map((t=>l(t))),this.start=this.value[0],this.end=this.value[1]):this.value&&(this.valueAsDate=l(this.value)),this.start&&this.setStartAsDate(l(this.start)),this.end&&this.setEndAsDate(l(this.end)),this.min&&(this.minAsDate=l(this.min)),this.max&&(this.maxAsDate=l(this.max))}async componentWillLoad(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}render(){var t;const e=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);let r=this.range?this.getActiveStartDate(e,this.minAsDate,this.maxAsDate):this.getActiveDate(e,this.minAsDate,this.maxAsDate);const o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null,n=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)||this.proximitySelectionDisabled&&!o)||!n||(r=n),this.range&&this.mostRecentRangeValue&&(r=this.mostRecentRangeValue),a(i,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(r,this.range&&this.activeRange&&"start"===this.activeRange&&o||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:e||this.minAsDate:this.minAsDate,e,o))}valueHandler(t){Array.isArray(t)?(this.valueAsDate=t.map((t=>l(t))),this.start=t[0],this.end=t[1]):t&&(this.valueAsDate=l(t),this.start="",this.end="")}startWatcher(t){this.setStartAsDate(l(t))}endWatcher(t){this.setEndAsDate(l(t))}async loadLocaleData(){const{locale:t}=this;this.localeData=await d(t)}renderCalendar(t,e,i,r,o){return this.localeData&&[a("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||u,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:e,min:i,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?o:r||new Date}),a("calcite-date-picker-month",{activeDate:t,endDate:this.range?o:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:e,min:i,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:"end"===this.activeRange?o:r,startDate:this.range?r:void 0})]}setStartAsDate(t,e){this.startAsDate=t,this.mostRecentRangeValue=this.startAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:t,endDate:this.endAsDate})}setEndAsDate(t,e){this.endAsDate=t,this.mostRecentRangeValue=this.endAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:t})}setEndDate(t){this.end=t?c(t):"",this.setEndAsDate(t,!0),this.activeEndDate=t||null}setStartDate(t){this.start=t?c(t):"",this.setStartAsDate(t,!0),this.activeStartDate=t||null}getActiveDate(t,e,a){return h(this.activeDate,e,a)||t||h(new Date,e,a)}getActiveStartDate(t,e,a){return h(this.activeStartDate,e,a)||t||h(new Date,e,a)}getActiveEndDate(t,e,a){return h(this.activeEndDate,e,a)||t||h(new Date,e,a)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};z.style="@-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 !important}: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}";const _=class{constructor(a){t(this,a),this.calciteDaySelect=e(this,"calciteDaySelect",6),this.calciteInternalDayHover=e(this,"calciteInternalDayHover",6),this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.onClick=()=>{!this.disabled&&this.calciteDaySelect.emit()},this.keyDownHandler=t=>{const e=t.key;" "!==e&&"Enter"!==e||!this.disabled&&this.calciteDaySelect.emit()}}mouseoverHandler(){this.calciteInternalDayHover.emit()}render(){const t=String(this.day).split("").map((t=>this.localeData.numerals[t])).join(""),e=x(this.el);return a(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},a("div",{class:{"day-v-wrapper":!0,[y.rtl]:"rtl"===e}},a("div",{class:"day-wrapper"},a("span",{class:"day"},a("span",{class:"text"},t)))))}componentDidRender(){k(this,this.isTabbable)}isTabbable(){return this.active}get el(){return r(this)}};_.style="@-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 !important}: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}: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}: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}: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}}";const C=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",6),this.calciteInternalDatePickerHover=e(this,"calciteInternalDatePickerHover",6),this.calciteDatePickerActiveDateChange=e(this,"calciteDatePickerActiveDateChange",6),this.calciteInternalDatePickerMouseOut=e(this,"calciteInternalDatePickerMouseOut",6),this.activeDate=new Date,this.keyDownHandler=t=>{const e="rtl"===this.el.dir;switch(t.key){case"ArrowUp":t.preventDefault(),this.addDays(-7);break;case"ArrowRight":t.preventDefault(),this.addDays(e?-1:1);break;case"ArrowDown":t.preventDefault(),this.addDays(7);break;case"ArrowLeft":t.preventDefault(),this.addDays(e?1:-1);break;case"PageUp":t.preventDefault(),this.addMonths(-1);break;case"PageDown":t.preventDefault(),this.addMonths(1);break;case"Home":t.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":t.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":t.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=t=>{const e=t.target;e.disabled?this.calciteInternalDatePickerMouseOut.emit():this.calciteInternalDatePickerHover.emit(e.value),t.stopPropagation()},this.daySelect=t=>{this.calciteDatePickerSelect.emit(t.target.value)}}mouseoutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const t=this.activeDate.getMonth(),e=this.activeDate.getFullYear(),r=this.localeData.weekStart%7,{abbreviated:o,short:n,narrow:s}=this.localeData.days,c="s"===this.scale?s||n||o:n||o||s,l=[...c.slice(r,7),...c.slice(0,r)],h=this.getCurrentMonthDays(t,e),d=this.getPrevMonthdays(t,e,r),u=this.getNextMonthDays(t,e,r),f=[...d.map((a=>{const i=new Date(e,t-1,a);return this.renderDateDay(!1,a,i)})),...h.map((a=>{const i=new Date(e,t,a),r=p(i,this.activeDate);return this.renderDateDay(r,a,i,!0,!0)})),...u.map((a=>{const i=new Date(e,t+1,a);return this.renderDateDay(!1,a,i)}))],m=[];for(let t=0;t<f.length;t+=7)m.push(f.slice(t,t+7));return a(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calender",role:"grid"},a("div",{class:"week-headers",role:"row"},l.map((t=>a("span",{class:"week-header",role:"columnheader"},t)))),m.map((t=>a("div",{class:"week-days",role:"row"},t)))))}addMonths(t){const e=new Date(this.activeDate);e.setMonth(this.activeDate.getMonth()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}addDays(t=0){const e=new Date(this.activeDate);e.setDate(this.activeDate.getDate()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}getPrevMonthdays(t,e,a){const i=new Date(e,t,0),r=i.getDate(),o=[];if(i.getDay()-6===a)return o;for(let t=Math.abs(i.getDay()-a);t>=0;t--)o.push(r-t);return o}getCurrentMonthDays(t,e){const a=new Date(e,t+1,0).getDate(),i=[];for(let t=0;t<a;t++)i.push(t+1);return i}getNextMonthDays(t,e,a){const i=new Date(e,t+1,0).getDay(),r=[];if(i===(a+6)%7)return r;for(let t=0;t<(6-(i-a))%7;t++)r.push(t+1);return r}betweenSelectedRange(t){return!(!(this.startDate&&this.endDate&&t>this.startDate&&t<this.endDate)||this.isRangeHover(t))}isSelected(t){return!!(p(t,this.selectedDate)||this.startDate&&p(t,this.startDate)||this.endDate&&p(t,this.endDate))}isStartOfRange(t){return!(!this.startDate||p(this.startDate,this.endDate)||!p(this.startDate,t)||this.isEndOfRange(t))}isEndOfRange(t){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,t)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(t,this.hoverRange.end))}renderDateDay(t,e,i,r,o){var n;const s=this.isFocusedOnStart(),c=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p(null===(n=this.hoverRange)||void 0===n?void 0:n.end,this.startDate);return a("calcite-date-picker-day",{active:t,class:{"hover--inside-range":this.startDate&&c,"hover--outside-range":this.startDate&&!c,"focused--start":s,"focused--end":!s},currentMonth:r,day:e,disabled:!f(i,this.min,this.max),endOfRange:this.isEndOfRange(i),highlighted:this.betweenSelectedRange(i),key:i.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!p(this.startDate,this.endDate),rangeHover:this.isRangeHover(i),ref:e=>{o&&t&&this.activeFocus&&(null==e||e.focus())},scale:this.scale,selected:this.isSelected(i),startOfRange:this.isStartOfRange(i),value:i})}isFocusedOnStart(){var t;return"start"===(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)}isHoverInRange(){if(!this.hoverRange)return!1;const{start:t,end:e}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||e<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)}isRangeHover(t){if(!this.hoverRange)return!1;const{start:e,end:a}=this.hoverRange,i=this.isFocusedOnStart(),r=this.isHoverInRange(),o=r&&(!i&&t>this.startDate&&(t<a||p(t,a))||i&&t<this.endDate&&(t>e||p(t,e))),n=!r&&(!i&&t>=this.endDate&&(t<a||p(t,a))||i&&(t<this.startDate||this.endDate&&p(t,this.startDate))&&(t>e||p(t,e)));return o||n}get el(){return r(this)}};C.style="@-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 !important}.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}";const A=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",6),this.onYearKey=t=>{const e=this.parseCalendarYear(t.target.value);switch(t.key){case"ArrowDown":t.preventDefault(),this.setYear({localizedYear:e,offset:-1});break;case"ArrowUp":t.preventDefault(),this.setYear({localizedYear:e,offset:1})}},this.onYearChange=t=>{this.setYear({localizedYear:this.parseCalendarYear(t.target.value)})},this.onYearInput=t=>{this.setYear({localizedYear:this.parseCalendarYear(t.target.value),commit:!1})},this.prevMonthClick=t=>{this.handleArrowClick(t,this.prevMonthDate)},this.prevMonthKeydown=t=>{const e=t.key;" "!==e&&"Enter"!==e||this.prevMonthClick(t)},this.nextMonthClick=t=>{this.handleArrowClick(t,this.nextMonthDate)},this.nextMonthKeydown=t=>{const e=t.key;" "!==e&&"Enter"!==e||this.nextMonthClick(t)},this.handleArrowClick=(t,e)=>{null==t||t.preventDefault(),t.stopPropagation(),this.calciteDatePickerSelect.emit(e)}}connectedCallback(){this.setNextPrevMonthDates()}render(){return a("div",{class:"header"},this.renderContent())}renderContent(){var t;if(!this.activeDate||!this.localeData)return null;const e=this.activeDate.getMonth(),{months:i,unitOrder:r}=this.localeData,n=(i.wide||i.narrow||i.abbreviated)[e],s=this.formatCalendarYear(this.activeDate.getFullYear().toString()),c="l"===this.scale?"m":"s",l=m(r),h=l.indexOf("y")<l.indexOf("m"),d=null===(t=this.localeData.year)||void 0===t?void 0:t.suffix;return a(o,null,a("a",{"aria-disabled":(this.prevMonthDate.getMonth()===e).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===e?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-left",scale:c})),a("div",{class:{text:!0,"text--reverse":h}},a(D,{class:"month",level:this.headingLevel},n),a("span",{class:"year-wrap"},a("input",{"aria-label":this.intlYear,class:{year:!0,"year--suffix":!!d},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:t=>this.yearInput=t,type:"text",value:s}),d&&a("span",{class:"suffix"},a("span",{"aria-hidden":"true",class:"suffix__invisible"},s)," "+d))),a("a",{"aria-disabled":(this.nextMonthDate.getMonth()===e).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===e?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-right",scale:c})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=h(g(this.activeDate),this.min,this.max),this.prevMonthDate=h(w(this.activeDate),this.min,this.max))}formatCalendarYear(t){const{localeData:e}=this,a="buddhist"===e["default-calendar"]?543:0;return v(b(t,e)+a,e)}parseCalendarYear(t){const{localeData:e}=this,a="buddhist"===e["default-calendar"]?543:0;return v(b(t,e)-a,e)}getInRangeDate({localizedYear:t,offset:e=0}){const{min:a,max:i,activeDate:r,localeData:o}=this,n=b(t,o),s=n.toString().length,c=!isNaN(n)&&n+e,l=c&&(!a||a.getFullYear()<=c)&&(!i||i.getFullYear()>=c);if(c&&l&&s===t.length){const t=new Date(r);return t.setFullYear(c),h(t,a,i)}}setYear({localizedYear:t,commit:e=!0,offset:a=0}){const{yearInput:i,activeDate:r}=this,o=this.getInRangeDate({localizedYear:t,offset:a});o&&this.calciteDatePickerSelect.emit(o),e&&(i.value=this.formatCalendarYear((o||r).getFullYear().toString()))}get el(){return r(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};A.style="@-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 !important}: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}.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}";export{z as calcite_date_picker,_ as calcite_date_picker_day,C as calcite_date_picker_month,A as calcite_date_picker_month_header}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.555
|
|
5
|
-
*/
|
|
6
|
-
System.register(["./p-0dabbf0f.system.js","./p-0d158c9f.system.js","./p-227a252e.system.js","./p-31dd32bb.system.js","./p-40bbc319.system.js","./p-6652cc68.system.js","./p-2d842d9a.system.js"],(function(t){"use strict";var e,i,a,n,r,o,l,c,s,d,m,g,p;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;r=t.g},function(t){o=t.g;l=t.t;c=t.a},function(t){s=t.H},function(t){d=t.c;m=t.d},function(t){g=t.u},function(t){p=t.g},function(){}],execute:function(){var u={article:"article",content:"content",headerContainer:"header-container",icon:"icon",statusIcon:"status-icon",toggle:"toggle",toggleIcon:"toggle-icon",title:"title",heading:"heading",header:"header",button:"button",summary:"summary",description:"description",controlContainer:"control-container",valid:"valid",invalid:"invalid",loading:"loading"};var f={collapse:"Collapse",expand:"Expand",loading:"Loading",options:"Options"};var b={icon:"icon",control:"control",headerMenuActions:"header-menu-actions"};var h={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"};var v=4;var k='@-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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}: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;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;-webkit-transition-property:margin;transition-property:margin;-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-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);-ms-flex-preferred-size:auto;flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem;-webkit-margin-end:0px;margin-inline-end:0px;margin-block:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;-ms-flex-item-align:center;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:auto;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{position:relative}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out}.content--spaced{padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:-ms-flexbox;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}';var w=t("calcite_block",function(){function t(t){var a=this;e(this,t);this.calciteBlockToggle=i(this,"calciteBlockToggle",6);this.collapsible=false;this.disabled=false;this.dragHandle=false;this.intlCollapse=f.collapse;this.intlExpand=f.expand;this.intlLoading=f.loading;this.intlOptions=f.options;this.loading=false;this.open=false;this.disablePadding=false;this.guid=p();this.onHeaderClick=function(){a.open=!a.open;a.calciteBlockToggle.emit()}}t.prototype.componentDidRender=function(){g(this)};t.prototype.connectedCallback=function(){d(this)};t.prototype.disconnectedCallback=function(){m(this)};t.prototype.renderScrim=function(){var t=this.loading;var e=a("slot",null);return[t?a("calcite-scrim",{loading:t}):null,e]};t.prototype.renderIcon=function(){var t;var e=this,i=e.el,n=e.status;var r=this.loading&&!this.open;var l=r?h.refresh:h[n];var c=o(i,b.icon)||l;var s=!l?a("slot",{key:"icon-slot",name:b.icon}):a("calcite-icon",{class:(t={},t[u.statusIcon]=true,t[u.valid]=n=="valid",t[u.invalid]=n=="invalid",t[u.loading]=r,t),icon:l,scale:"m"});return c?a("div",{class:u.icon},s):null};t.prototype.renderTitle=function(){var t=this,e=t.heading,i=t.headingLevel,n=t.summary,r=t.description;return e||n||r?a("div",{class:u.title},a(s,{class:u.heading,level:i||v},e),n||r?a("div",{class:u.description},n||r):null):null};t.prototype.render=function(){var t;var e=this,i=e.collapsible,r=e.el,c=e.intlCollapse,s=e.intlExpand,d=e.loading,m=e.open,g=e.intlLoading;var p=m?c||f.collapse:s||f.expand;var v=a("header",{class:u.header},this.renderIcon(),this.renderTitle());var k=!!o(r,b.control);var w=!!o(r,b.headerMenuActions);var x=m?h.opened:h.closed;var y=this.guid;var D="".concat(y,"-region");var z="".concat(y,"-button");var _=a("div",{class:u.headerContainer},this.dragHandle?a("calcite-handle",null):null,i?a("button",{"aria-controls":D,"aria-expanded":i?l(m):null,"aria-label":p,class:u.toggle,id:z,onClick:this.onHeaderClick,title:p},v,!k&&!w?a("calcite-icon",{"aria-hidden":"true",class:u.toggleIcon,icon:x,scale:"s"}):null):v,d?a("calcite-loader",{inline:true,"is-active":true,label:g}):k?a("div",{class:u.controlContainer},a("slot",{name:b.control})):null,w?a("calcite-action-menu",{label:this.intlOptions||f.options},a("slot",{name:b.headerMenuActions})):null);return a(n,null,a("article",{"aria-busy":l(d),class:(t={},t[u.article]=true,t)},_,a("section",{"aria-expanded":l(m),"aria-labelledby":z,class:{content:true,"content--spaced":!this.disablePadding},hidden:!m,id:D},this.renderScrim())))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());w.style=k;var x={content:"content",invalid:"invalid",toggle:"toggle",toggleSwitch:"toggle--switch",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",valid:"valid"};var y={collapse:"Collapse",expand:"Expand"};var D={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};var z="@-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 !important}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;-ms-flex:1 1 auto;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.toggle--switch .status-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";var _=t("calcite_block_section",function(){function t(t){var a=this;e(this,t);this.calciteBlockSectionToggle=i(this,"calciteBlockSectionToggle",6);this.open=false;this.toggleDisplay="button";this.guid=p();this.handleHeaderKeyDown=function(t){if(t.key===" "||t.key==="Enter"){a.toggleSection();t.preventDefault();t.stopPropagation()}};this.toggleSection=function(){a.open=!a.open;a.calciteBlockSectionToggle.emit()}}t.prototype.renderStatusIcon=function(){var t;var e;var i=this.status;var n=(e=D[i])!==null&&e!==void 0?e:false;var r=(t={},t[x.statusIcon]=true,t[x.valid]=i=="valid",t[x.invalid]=i=="invalid",t);return!!n?a("calcite-icon",{class:r,icon:n,scale:"s"}):null};t.prototype.render=function(){var t,e;var i=this,r=i.el,o=i.intlCollapse,s=i.intlExpand,d=i.open,m=i.text,g=i.toggleDisplay;var p=c(r);var u=d?D.menuOpen:p==="rtl"?D.menuClosedLeft:D.menuClosedRight;var f=d?o||y.collapse:s||y.expand;var b=this.guid;var h="".concat(b,"-region");var v="".concat(b,"-button");var k=g==="switch"?a("div",{"aria-controls":h,"aria-label":f,class:(t={},t[x.toggle]=true,t[x.toggleSwitch]=true,t),id:v,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:f},a("div",{class:x.toggleSwitchContent},a("span",{class:x.toggleSwitchText},m)),a("calcite-switch",{checked:d,label:f,scale:"s",tabIndex:-1}),this.renderStatusIcon()):a("button",{"aria-controls":h,"aria-label":f,class:(e={},e[x.sectionHeader]=true,e[x.toggle]=true,e),id:v,name:f,onClick:this.toggleSection},a("calcite-icon",{icon:u,scale:"s"}),a("span",{class:x.sectionHeaderText},m),this.renderStatusIcon());return a(n,null,k,a("section",{"aria-expanded":l(d),"aria-labelledby":v,class:x.content,hidden:!d,id:h},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());_.style=z}}}));
|