@esri/calcite-components 1.6.2-next.0 → 1.7.0-next.0
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/index.esm.js +2 -2
- package/dist/calcite/{p-90c6a502.entry.js → p-0244ee00.entry.js} +2 -2
- package/dist/calcite/{p-7bd12f15.js → p-090db21d.js} +2 -2
- package/dist/calcite/p-09b5a979.entry.js +6 -0
- package/dist/calcite/{p-f97a6630.entry.js → p-0a46144e.entry.js} +2 -2
- package/dist/calcite/{p-af8605fd.entry.js → p-0bd7dc6c.entry.js} +2 -2
- package/dist/calcite/{p-cac3a85e.js → p-0dfda7d1.js} +2 -2
- package/dist/calcite/{p-a8dcbd66.js → p-0f4c920c.js} +2 -2
- package/dist/calcite/{p-7f4aa843.js → p-10535875.js} +1 -1
- package/dist/calcite/{p-8902e3ea.entry.js → p-116eccd8.entry.js} +2 -2
- package/dist/calcite/{p-3bbad895.entry.js → p-12965674.entry.js} +2 -2
- package/dist/calcite/{p-2eecb43d.js → p-12a06006.js} +2 -2
- package/dist/calcite/{p-5d2d75bb.entry.js → p-1306ef16.entry.js} +2 -2
- package/dist/calcite/{p-c0d0246c.entry.js → p-130bc299.entry.js} +2 -2
- package/dist/calcite/{p-893a6887.entry.js → p-13346f15.entry.js} +2 -2
- package/dist/calcite/{p-46dde12f.js → p-13630964.js} +2 -2
- package/dist/calcite/{p-7a20ea0d.entry.js → p-13754b2b.entry.js} +2 -2
- package/dist/calcite/{p-867bc6af.entry.js → p-13fa7cf8.entry.js} +2 -2
- package/dist/calcite/{p-847c2d46.js → p-144622f1.js} +2 -2
- package/dist/calcite/{p-4f97c0c8.entry.js → p-20cf49d4.entry.js} +2 -2
- package/dist/calcite/p-22182ac9.entry.js +6 -0
- package/dist/calcite/p-22f829cd.entry.js +6 -0
- package/dist/calcite/{p-d201ace0.js → p-2310fd7d.js} +2 -2
- package/dist/calcite/{p-2caab922.js → p-29e51bd5.js} +2 -2
- package/dist/calcite/{p-23431ee2.entry.js → p-2b2b5a54.entry.js} +2 -2
- package/dist/calcite/{p-2e817f9d.js → p-2f887196.js} +2 -2
- package/dist/calcite/{p-ce824670.entry.js → p-317625a6.entry.js} +2 -2
- package/dist/calcite/{p-df8e68e9.entry.js → p-324bc47e.entry.js} +2 -2
- package/dist/calcite/{p-eb658004.js → p-372add5a.js} +2 -2
- package/dist/calcite/{p-9ebebf5d.js → p-37e8ce69.js} +2 -2
- package/dist/calcite/p-3970be35.js +6 -0
- package/dist/calcite/{p-f3e40279.entry.js → p-3c095467.entry.js} +2 -2
- package/dist/calcite/p-3ec15730.entry.js +6 -0
- package/dist/calcite/p-3ed4574a.entry.js +6 -0
- package/dist/calcite/{p-45f1daa8.entry.js → p-3ff87910.entry.js} +2 -2
- package/dist/calcite/{p-ea863b8b.js → p-401f9b1e.js} +1 -1
- package/dist/calcite/{p-eec217d3.js → p-41006447.js} +2 -2
- package/dist/calcite/{p-84b63196.entry.js → p-419ff0ed.entry.js} +2 -2
- package/dist/calcite/{p-1a3f0934.js → p-42b57311.js} +1 -1
- package/dist/calcite/{p-39f74548.js → p-436d9051.js} +2 -2
- package/dist/calcite/p-4961a34b.entry.js +6 -0
- package/dist/calcite/{p-f3c09cb8.entry.js → p-496b5b01.entry.js} +2 -2
- package/dist/calcite/p-4a05e52b.js +6 -0
- package/dist/calcite/p-4af1defc.js +6 -0
- package/dist/calcite/{p-28657397.js → p-4d6b430f.js} +2 -2
- package/dist/calcite/{p-f8093a0c.js → p-550e16fd.js} +2 -2
- package/dist/calcite/{p-cbae65f6.entry.js → p-57ddf59d.entry.js} +2 -2
- package/dist/calcite/{p-9e988cbd.js → p-58c29f12.js} +2 -2
- package/dist/calcite/{p-4031e8e9.entry.js → p-5d9e5fc1.entry.js} +2 -2
- package/dist/calcite/{p-dfeab2c8.entry.js → p-5e80e984.entry.js} +2 -2
- package/dist/calcite/{p-a9b059a2.entry.js → p-5ee96b40.entry.js} +2 -2
- package/dist/calcite/{p-38afe9eb.js → p-5f0b8ad1.js} +2 -2
- package/dist/calcite/{p-2589ae31.js → p-5f3a3518.js} +2 -2
- package/dist/calcite/{p-00148236.js → p-63d36731.js} +2 -2
- package/dist/calcite/{p-80bf19e6.js → p-6465dae9.js} +1 -1
- package/dist/calcite/{p-b448ac5c.entry.js → p-67a85001.entry.js} +2 -2
- package/dist/calcite/{p-d4335479.js → p-67b2bb57.js} +2 -2
- package/dist/calcite/{p-7226b3b3.entry.js → p-6849a082.entry.js} +2 -2
- package/dist/calcite/p-6a8e1258.entry.js +6 -0
- package/dist/calcite/p-6aad914d.entry.js +6 -0
- package/dist/calcite/{p-18adca0d.js → p-6d93785a.js} +2 -2
- package/dist/calcite/{p-d6b916a0.js → p-6e872dc1.js} +1 -1
- package/dist/calcite/{p-61320537.entry.js → p-6f5912df.entry.js} +2 -2
- package/dist/calcite/{p-eec33184.js → p-719a4e0f.js} +2 -2
- package/dist/calcite/{p-9b408bb7.entry.js → p-74e44080.entry.js} +2 -2
- package/dist/calcite/{p-42a3d669.js → p-78e2c580.js} +2 -2
- package/dist/calcite/{p-8fe781a6.js → p-78e68659.js} +2 -2
- package/dist/calcite/{p-04d1017e.js → p-8b2f756a.js} +2 -2
- package/dist/calcite/{p-2f0bb278.js → p-8b5bf3f9.js} +2 -2
- package/dist/calcite/{p-a1200981.entry.js → p-8bd91224.entry.js} +2 -2
- package/dist/calcite/{p-3803b233.entry.js → p-8c83c0a4.entry.js} +2 -2
- package/dist/calcite/{p-a7c75f80.js → p-8d2a30a0.js} +1 -1
- package/dist/calcite/{p-7bd54330.entry.js → p-8d3d979d.entry.js} +2 -2
- package/dist/calcite/{p-41f207a7.js → p-939028cc.js} +2 -2
- package/dist/calcite/{p-d1fe8b1a.js → p-966d9131.js} +2 -2
- package/dist/calcite/{p-d1fb0280.js → p-97182350.js} +2 -2
- package/dist/calcite/{p-4c59e352.js → p-971bc7c3.js} +1 -1
- package/dist/calcite/{p-99ed1def.entry.js → p-98c03090.entry.js} +2 -2
- package/dist/calcite/{p-75c0cf2f.entry.js → p-9ae24cf2.entry.js} +2 -2
- package/dist/calcite/{p-bbe1bbb3.js → p-9b0f9e9a.js} +2 -2
- package/dist/calcite/p-9b5a4aa5.entry.js +6 -0
- package/dist/calcite/p-9bcbba19.js +6 -0
- package/dist/calcite/{p-dcc131f8.js → p-9dd53691.js} +2 -2
- package/dist/calcite/{p-9110dfc7.entry.js → p-9edd6fe7.entry.js} +2 -2
- package/dist/calcite/{p-bbcfc7cc.js → p-a0177c5d.js} +3 -3
- package/dist/calcite/{p-f6b0e456.js → p-a07f4344.js} +2 -2
- package/dist/calcite/{p-a9aa7303.js → p-a22f4515.js} +2 -2
- package/dist/calcite/{p-8340ccc5.entry.js → p-a265a2e9.entry.js} +2 -2
- package/dist/calcite/{p-f0420547.js → p-a2931b1a.js} +1 -1
- package/dist/calcite/{p-46b219f1.entry.js → p-a2f36e1b.entry.js} +2 -2
- package/dist/calcite/{p-0f89443b.entry.js → p-a31327f7.entry.js} +2 -2
- package/dist/calcite/{p-9fd5348d.entry.js → p-a39e910c.entry.js} +2 -2
- package/dist/calcite/{p-a0bf3b0e.entry.js → p-a3ce4f5e.entry.js} +2 -2
- package/dist/calcite/{p-ac429d3d.js → p-a5921d07.js} +2 -2
- package/dist/calcite/{p-9b3a08f1.js → p-a6860910.js} +2 -2
- package/dist/calcite/p-a69e018f.entry.js +6 -0
- package/dist/calcite/{p-8ab087a4.entry.js → p-a8ad6ac5.entry.js} +2 -2
- package/dist/calcite/{p-56e84d1b.entry.js → p-aa000dfe.entry.js} +2 -2
- package/dist/calcite/{p-d66dd2ba.entry.js → p-aaddfd57.entry.js} +2 -2
- package/dist/calcite/{p-591918fd.js → p-abaf3b60.js} +2 -2
- package/dist/calcite/p-ac32f668.entry.js +6 -0
- package/dist/calcite/{p-bc4a03fd.js → p-acea2728.js} +2 -2
- package/dist/calcite/{p-c457d252.js → p-ae47c8f7.js} +1 -1
- package/dist/calcite/{p-a4a4d78e.js → p-ae85c99f.js} +2 -2
- package/dist/calcite/p-af01ab15.entry.js +6 -0
- package/dist/calcite/{p-ffde2686.js → p-af1fc64b.js} +1 -1
- package/dist/calcite/{p-87d4e90f.js → p-b0a9755b.js} +2 -2
- package/dist/calcite/{p-b6993f4f.js → p-b26245f8.js} +2 -2
- package/dist/calcite/{p-80b8361b.js → p-b75783fd.js} +2 -2
- package/dist/calcite/{p-2ced8f13.js → p-ba62d69a.js} +2 -2
- package/dist/calcite/{p-b582404d.js → p-bac88d5b.js} +2 -2
- package/dist/calcite/{p-45691c1b.js → p-bd88b323.js} +2 -2
- package/dist/calcite/{p-971bd1c3.entry.js → p-bf9fc36c.entry.js} +2 -2
- package/dist/calcite/{p-81b29cbb.entry.js → p-c1fd17c2.entry.js} +2 -2
- package/dist/calcite/{p-91732a07.js → p-c367ff09.js} +2 -2
- package/dist/calcite/{p-b41c68a6.js → p-c3ad9a11.js} +2 -2
- package/dist/calcite/{p-e8cfc41b.js → p-c47baee6.js} +1 -1
- package/dist/calcite/{p-53aa8e4b.js → p-c49b065a.js} +2 -2
- package/dist/calcite/{p-d803de0c.entry.js → p-c5482a38.entry.js} +2 -2
- package/dist/calcite/{p-2aebbda7.js → p-d00fc3a7.js} +2 -2
- package/dist/calcite/{p-ca18f36a.entry.js → p-d34edddb.entry.js} +2 -2
- package/dist/calcite/{p-d5246a45.js → p-d44094d7.js} +2 -2
- package/dist/calcite/{p-408f7aff.js → p-d5d644d6.js} +2 -2
- package/dist/calcite/{p-f2bd176f.entry.js → p-d6112f39.entry.js} +2 -2
- package/dist/calcite/{p-dce6ac44.entry.js → p-d678e465.entry.js} +2 -2
- package/dist/calcite/p-d7c399c4.js +6 -0
- package/dist/calcite/{p-027a89a0.entry.js → p-d7da9585.entry.js} +2 -2
- package/dist/calcite/{p-66579782.js → p-d92b4577.js} +2 -2
- package/dist/calcite/{p-2074383c.js → p-d9b2c3a5.js} +1 -1
- package/dist/calcite/{p-aa0a6016.js → p-daddbf26.js} +2 -2
- package/dist/calcite/{p-7bedb5b8.js → p-dcbd9eee.js} +2 -2
- package/dist/calcite/{p-43c5765c.js → p-de6cc57d.js} +2 -2
- package/dist/calcite/{p-3767ecb6.entry.js → p-debfcab3.entry.js} +2 -2
- package/dist/calcite/{p-4d164134.js → p-df28eb66.js} +2 -2
- package/dist/calcite/{p-f5973d21.js → p-e05221c2.js} +2 -2
- package/dist/calcite/{p-d24d1bbc.entry.js → p-e6b4d85f.entry.js} +2 -2
- package/dist/calcite/{p-50293bee.js → p-e8bd2e99.js} +2 -2
- package/dist/calcite/p-e949f0c4.entry.js +6 -0
- package/dist/calcite/{p-8dc11bd6.js → p-ea103254.js} +2 -2
- package/dist/calcite/{p-1b6be0f6.entry.js → p-eb397699.entry.js} +2 -2
- package/dist/calcite/{p-235a5220.js → p-eccc6544.js} +2 -2
- package/dist/calcite/{p-3cba835d.js → p-f0184ce0.js} +1 -1
- package/dist/calcite/{p-3c6f360f.js → p-f1026a92.js} +2 -2
- package/dist/calcite/{p-b07ea072.entry.js → p-f1d28107.entry.js} +2 -2
- package/dist/calcite/p-f2209a15.entry.js +6 -0
- package/dist/calcite/{p-cb74bbc9.js → p-f2699c0c.js} +2 -2
- package/dist/calcite/{p-cf30259f.js → p-f6238201.js} +1 -1
- package/dist/calcite/p-f8104f1e.entry.js +6 -0
- package/dist/calcite/{p-2548ca2f.js → p-fd5ce410.js} +2 -2
- package/dist/calcite/{p-017991a5.entry.js → p-fd7e2063.entry.js} +2 -2
- package/dist/calcite/{p-6e5c93ba.js → p-fd98a4f2.js} +2 -2
- package/dist/calcite/{p-30ede885.js → p-ff8def52.js} +1 -1
- package/dist/cjs/{ExpandToggle-79e7c0f6.js → ExpandToggle-4da4cde1.js} +5 -5
- package/dist/cjs/{FloatingArrow-e61a7a9a.js → FloatingArrow-94b266a9.js} +2 -2
- package/dist/cjs/{Heading-fbcdb762.js → Heading-bae30ace.js} +2 -2
- package/dist/cjs/{app-globals-7446fce5.js → app-globals-a4d5ca81.js} +2 -2
- package/dist/cjs/{ar-7c096a99.js → ar-4f3de50f.js} +15 -15
- package/dist/cjs/{array-0503db41.js → array-c0f4b914.js} +1 -1
- package/dist/cjs/{bg-85dbfbde.js → bg-ccda59bb.js} +15 -15
- package/dist/cjs/{bs-5433db70.js → bs-b1d6fe63.js} +15 -15
- package/dist/cjs/{ca-0e0c4ef4.js → ca-6de7dcd6.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-2062d521.js → calcite-input-time-picker.calcite-time-picker-9d77f340.js} +61 -61
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +329 -0
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-033d4cd5.js → conditionalSlot-0b2eec9f.js} +3 -3
- package/dist/cjs/{cs-47a6ea5b.js → cs-cea3b0ee.js} +15 -15
- package/dist/cjs/{da-9d9e7c6f.js → da-17725eaa.js} +15 -15
- package/dist/cjs/{de-9c0b214f.js → de-39e15b86.js} +15 -15
- package/dist/cjs/{de-at-22f35b65.js → de-at-6761fb0d.js} +15 -15
- package/dist/cjs/{de-ch-e1027dd8.js → de-ch-745fb377.js} +15 -15
- package/dist/cjs/{debounce-280984bc.js → debounce-ba742625.js} +1 -1
- package/dist/cjs/{dom-01dcd7b3.js → dom-882e8adf.js} +3 -3
- package/dist/cjs/{el-bcf3342d.js → el-bf61cc1f.js} +15 -15
- package/dist/cjs/{en-au-7d917c68.js → en-au-f5c3ce9d.js} +15 -15
- package/dist/cjs/{en-ca-84de489f.js → en-ca-dda16274.js} +15 -15
- package/dist/cjs/{en-gb-d886b806.js → en-gb-0d465e08.js} +15 -15
- package/dist/cjs/{es-0f485832.js → es-b866d145.js} +15 -15
- package/dist/cjs/{es-mx-2dcd7d9a.js → es-mx-9011eeb8.js} +15 -15
- package/dist/cjs/{et-2e335e34.js → et-82b68369.js} +15 -15
- package/dist/cjs/{fi-49e9a9bb.js → fi-7217192a.js} +15 -15
- package/dist/cjs/{filter-30658380.js → filter-d178922e.js} +2 -2
- package/dist/cjs/{floating-ui-51b8ab14.js → floating-ui-05afc335.js} +3 -3
- package/dist/cjs/{focusTrapComponent-bdd6620e.js → focusTrapComponent-1c50a7e7.js} +2 -2
- package/dist/cjs/{form-5fdd9b54.js → form-7ec8012f.js} +3 -3
- package/dist/cjs/{fr-b5a57069.js → fr-bfc091a2.js} +15 -15
- package/dist/cjs/{fr-ch-10b18dfc.js → fr-ch-445e68b9.js} +15 -15
- package/dist/cjs/{guid-b3cfaabb.js → guid-26de9cda.js} +1 -1
- package/dist/cjs/{he-c0b4c49f.js → he-e2c5e787.js} +15 -15
- package/dist/cjs/{hi-f2ee1a94.js → hi-01410766.js} +15 -15
- package/dist/cjs/{hr-544f0c78.js → hr-f6f84162.js} +15 -15
- package/dist/cjs/{hu-cfd847bc.js → hu-269b67e7.js} +15 -15
- package/dist/cjs/{id-5beb11d5.js → id-8c2bbc95.js} +15 -15
- package/dist/cjs/{index-1a08e5e7.js → index-170040b3.js} +5 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-c17fc496.js → interactive-f7aec39c.js} +1 -1
- package/dist/cjs/{it-ch-bc615ef3.js → it-ch-3439fde4.js} +15 -15
- package/dist/cjs/{it-5239d991.js → it-d13a9f04.js} +15 -15
- package/dist/cjs/{ja-abc68dac.js → ja-0ca7d254.js} +15 -15
- package/dist/cjs/{key-72cd2215.js → key-8df4992e.js} +1 -1
- package/dist/cjs/{ko-8375a63e.js → ko-f2113549.js} +15 -15
- package/dist/cjs/{label-015a543d.js → label-1abe1847.js} +2 -2
- package/dist/cjs/{loadable-4601b702.js → loadable-8ad0def8.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-45d66234.js → locale-b39d68ba.js} +4 -4
- package/dist/cjs/{lt-41395ae9.js → lt-5c2c91c0.js} +15 -15
- package/dist/cjs/{lv-11203ee9.js → lv-9f5be352.js} +15 -15
- package/dist/cjs/{math-893bc07b.js → math-ce6a2ddf.js} +1 -1
- package/dist/cjs/{mk-b9f01b6e.js → mk-379f2113.js} +15 -15
- package/dist/cjs/{nb-a1820879.js → nb-795fd9a1.js} +15 -15
- package/dist/cjs/{nl-f30fba94.js → nl-418df115.js} +15 -15
- package/dist/cjs/{observers-0f5207f9.js → observers-e391d71f.js} +1 -1
- package/dist/cjs/{openCloseComponent-80f170a6.js → openCloseComponent-6424e4e3.js} +2 -2
- package/dist/cjs/{pl-87382176.js → pl-2eb4ce40.js} +15 -15
- package/dist/cjs/{pt-80d7c7f6.js → pt-14cfe278.js} +15 -15
- package/dist/cjs/{pt-br-3f547afa.js → pt-br-2505fe92.js} +15 -15
- package/dist/cjs/{resources-4e410381.js → resources-592c7704.js} +1 -1
- package/dist/cjs/{resources-6ed778fa.js → resources-8a58d0d6.js} +1 -1
- package/dist/cjs/{resources-c13ab169.js → resources-9f59c659.js} +1 -1
- package/dist/cjs/{resources-2f3ae697.js → resources-b824e0eb.js} +1 -1
- package/dist/cjs/{resources-2400bd6b.js → resources-bb7b7ffd.js} +5 -5
- package/dist/cjs/{resources-a4ff1c80.js → resources-ceda9e99.js} +1 -1
- package/dist/cjs/{resources-3dea30ff.js → resources-e4c8601b.js} +1 -1
- package/dist/cjs/{ro-59099b01.js → ro-64f4a925.js} +15 -15
- package/dist/cjs/{ru-8199a7f3.js → ru-4ffeab42.js} +15 -15
- package/dist/cjs/{sk-ec1d0c22.js → sk-f8a11b96.js} +15 -15
- package/dist/cjs/{sl-c6549f85.js → sl-40e05d38.js} +15 -15
- package/dist/cjs/{sortableComponent-c95f8cfd.js → sortableComponent-d6d49e58.js} +2 -2
- package/dist/cjs/{sr-86dccf68.js → sr-9688d21f.js} +15 -15
- package/dist/cjs/{sv-e8a6d2c7.js → sv-68b3b1ce.js} +15 -15
- package/dist/cjs/{t9n-cd514c62.js → t9n-51db37e2.js} +3 -3
- package/dist/cjs/{th-2760db00.js → th-dcf75e4e.js} +15 -15
- package/dist/cjs/{throttle-7d3046fd.js → throttle-366faeab.js} +2 -2
- package/dist/cjs/{tr-042d00f6.js → tr-8991a83d.js} +15 -15
- package/dist/cjs/{uk-d72474ed.js → uk-8fa9b747.js} +15 -15
- package/dist/cjs/{utils-8a638196.js → utils-c41dca81.js} +3 -3
- package/dist/cjs/{utils-6f2b9b60.js → utils-ede1e9c6.js} +1 -1
- package/dist/cjs/{vi-4aec4003.js → vi-cc65e958.js} +15 -15
- package/dist/cjs/{zh-cn-c842a982.js → zh-cn-e977fd48.js} +15 -15
- package/dist/cjs/{zh-hk-a4a5931e.js → zh-hk-5e4e266e.js} +15 -15
- package/dist/cjs/{zh-tw-c85b21d2.js → zh-tw-740394b9.js} +15 -15
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.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/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 +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/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 +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.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 +1 -1
- 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/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/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 +1 -1
- 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 +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.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/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/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.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/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +3 -3
- 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/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 +2 -2
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.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/utils.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/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/interfaces.js +1 -0
- package/dist/collection/components/meter/meter.css +162 -0
- package/dist/collection/components/meter/meter.js +710 -0
- package/dist/collection/components/meter/resources.js +20 -0
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/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 +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/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/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.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/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- 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/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.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 +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.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/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.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/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.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 +1 -1
- 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/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.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/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/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +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/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.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/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.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/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- 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 +1 -1
- 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-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- 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-item.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 +3 -3
- 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 +2 -2
- package/dist/components/calcite-input-time-zone.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-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.d.ts +11 -0
- package/dist/components/calcite-meter.js +367 -0
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.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.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.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 +2 -2
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.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-text-area.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.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 +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- 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/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.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/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- 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/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-46b6a0aa.js → ExpandToggle-930a2b24.js} +5 -5
- package/dist/esm/{FloatingArrow-7b7ef36c.js → FloatingArrow-1ae168c2.js} +2 -2
- package/dist/esm/{Heading-e6d20360.js → Heading-c99f50d0.js} +2 -2
- package/dist/esm/{app-globals-31ebb1cf.js → app-globals-55e7f68a.js} +2 -2
- package/dist/esm/{ar-55fc8525.js → ar-be02c795.js} +15 -15
- package/dist/esm/{array-b5b83782.js → array-67afda9b.js} +1 -1
- package/dist/esm/{bg-838a3c02.js → bg-e8eccaac.js} +15 -15
- package/dist/esm/{bs-ac19f488.js → bs-b5ea5d4a.js} +15 -15
- package/dist/esm/{ca-320a8297.js → ca-96e849a8.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +13 -13
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +20 -20
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-95fb1612.js → calcite-input-time-picker.calcite-time-picker-6102e880.js} +61 -61
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +14 -14
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +325 -0
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-ad4b3601.js → conditionalSlot-6f84118e.js} +3 -3
- package/dist/esm/{cs-9d3616e7.js → cs-e1c3af40.js} +15 -15
- package/dist/esm/{da-e1b9750f.js → da-5378d206.js} +15 -15
- package/dist/esm/{de-b49f82db.js → de-1bff1feb.js} +15 -15
- package/dist/esm/{de-at-fbae033b.js → de-at-13cfe8cd.js} +15 -15
- package/dist/esm/{de-ch-20023021.js → de-ch-7c9869ce.js} +15 -15
- package/dist/esm/{debounce-74c01a99.js → debounce-fee8e3c3.js} +1 -1
- package/dist/esm/{dom-bb448bfb.js → dom-a9670cdd.js} +4 -4
- package/dist/esm/{el-20ee1fa0.js → el-ccd29511.js} +15 -15
- package/dist/esm/{en-au-e12b9a8a.js → en-au-ab5c0d13.js} +15 -15
- package/dist/esm/{en-ca-800c5dd0.js → en-ca-cae40b3c.js} +15 -15
- package/dist/esm/{en-gb-a66c35c0.js → en-gb-72939828.js} +15 -15
- package/dist/esm/{es-50f0027a.js → es-b9d087e9.js} +15 -15
- package/dist/esm/{es-mx-7b4ff5bc.js → es-mx-0a6c1828.js} +15 -15
- package/dist/esm/{et-3821fcf6.js → et-d86367ed.js} +15 -15
- package/dist/esm/{fi-1884f4de.js → fi-68d91c2c.js} +15 -15
- package/dist/esm/{filter-5cde62d4.js → filter-c8e3a6aa.js} +2 -2
- package/dist/esm/{floating-ui-711be5e7.js → floating-ui-a2eb27ec.js} +3 -3
- package/dist/esm/{focusTrapComponent-539e47f5.js → focusTrapComponent-3be3180a.js} +2 -2
- package/dist/esm/{form-d20f0fae.js → form-4c9b91ab.js} +3 -3
- package/dist/esm/{fr-ed066fe1.js → fr-92812f54.js} +15 -15
- package/dist/esm/{fr-ch-2bb8c1ab.js → fr-ch-d3014591.js} +15 -15
- package/dist/esm/{guid-973b13a1.js → guid-434088a0.js} +1 -1
- package/dist/esm/{he-a0b42ef5.js → he-3c9ec5c4.js} +15 -15
- package/dist/esm/{hi-2b82ba4e.js → hi-5290cec4.js} +15 -15
- package/dist/esm/{hr-53b36670.js → hr-59448348.js} +15 -15
- package/dist/esm/{hu-e18a264d.js → hu-a98d0659.js} +15 -15
- package/dist/esm/{id-cfe42db7.js → id-9551d33d.js} +15 -15
- package/dist/esm/{index-104569bc.js → index-93cd2078.js} +5 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-98c33bc7.js → interactive-4a9e1385.js} +1 -1
- package/dist/esm/{it-ch-82f38f9a.js → it-ch-2a5aa4ca.js} +15 -15
- package/dist/esm/{it-7b44da9c.js → it-e80ea9bd.js} +15 -15
- package/dist/esm/{ja-c7515b83.js → ja-5b926db7.js} +15 -15
- package/dist/esm/{key-1fce2600.js → key-3a20e503.js} +1 -1
- package/dist/esm/{ko-5a79c999.js → ko-b79bb59f.js} +15 -15
- package/dist/esm/{label-a8caa296.js → label-38bb96bc.js} +2 -2
- package/dist/esm/{loadable-614280a6.js → loadable-2ab8ae79.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-0620fd54.js → locale-5212f2b3.js} +4 -4
- package/dist/esm/{lt-d8cf6cbc.js → lt-6205dfce.js} +15 -15
- package/dist/esm/{lv-6de65d3d.js → lv-d2ba5866.js} +15 -15
- package/dist/esm/{math-1289503b.js → math-bd5f791c.js} +1 -1
- package/dist/esm/{mk-196db4a4.js → mk-3525f8ad.js} +15 -15
- package/dist/esm/{nb-d7a9bc24.js → nb-b3934cfe.js} +15 -15
- package/dist/esm/{nl-4fa22cd0.js → nl-3951feee.js} +15 -15
- package/dist/esm/{observers-c3f0e455.js → observers-cab14e54.js} +1 -1
- package/dist/esm/{openCloseComponent-590dfde3.js → openCloseComponent-4e57aa6b.js} +2 -2
- package/dist/esm/{pl-b93f2127.js → pl-a24472a9.js} +15 -15
- package/dist/esm/{pt-399742bf.js → pt-12e286b2.js} +15 -15
- package/dist/esm/{pt-br-1bb33467.js → pt-br-d05cc269.js} +15 -15
- package/dist/esm/{resources-3118b16d.js → resources-422bdc2e.js} +1 -1
- package/dist/esm/{resources-ce0ee144.js → resources-467f8115.js} +5 -5
- package/dist/esm/{resources-23290045.js → resources-4cd41c97.js} +1 -1
- package/dist/esm/{resources-cd96b364.js → resources-58344d41.js} +1 -1
- package/dist/esm/{resources-3684cf86.js → resources-6fb9bced.js} +1 -1
- package/dist/esm/{resources-fc0770f6.js → resources-deff01ca.js} +1 -1
- package/dist/esm/{resources-52e20ff4.js → resources-e6b07fff.js} +1 -1
- package/dist/esm/{ro-89c7136f.js → ro-0ff5d382.js} +15 -15
- package/dist/esm/{ru-0e7f4140.js → ru-958398d5.js} +15 -15
- package/dist/esm/{sk-2c5510d0.js → sk-569156ba.js} +15 -15
- package/dist/esm/{sl-4d659b70.js → sl-4458bfe8.js} +15 -15
- package/dist/esm/{sortableComponent-a2bb432e.js → sortableComponent-c3a0fd15.js} +2 -2
- package/dist/esm/{sr-7d58407d.js → sr-b85fa61f.js} +15 -15
- package/dist/esm/{sv-caa01062.js → sv-8b020ccd.js} +15 -15
- package/dist/esm/{t9n-c331c7c0.js → t9n-08715f71.js} +3 -3
- package/dist/esm/{th-e1195da7.js → th-892eb431.js} +15 -15
- package/dist/esm/{throttle-da9c9be3.js → throttle-d4b5accb.js} +2 -2
- package/dist/esm/{tr-be2d6ba7.js → tr-c2095429.js} +15 -15
- package/dist/esm/{uk-f8c63048.js → uk-abff2b69.js} +15 -15
- package/dist/esm/{utils-d7e4ff05.js → utils-4d5b05ba.js} +3 -3
- package/dist/esm/{utils-5e0e9460.js → utils-e7cb3640.js} +1 -1
- package/dist/esm/{vi-a96da8db.js → vi-36e55919.js} +15 -15
- package/dist/esm/{zh-cn-a94beed5.js → zh-cn-d414f67b.js} +15 -15
- package/dist/esm/{zh-hk-fa6dc548.js → zh-hk-39f0ef93.js} +15 -15
- package/dist/esm/{zh-tw-e8a936a1.js → zh-tw-b14e1615.js} +15 -15
- package/dist/extras/docs-json.json +458 -1
- package/dist/extras/vscode-data.json +199 -0
- 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/meter/interfaces.d.ts +1 -0
- package/dist/types/components/meter/meter.d.ts +98 -0
- package/dist/types/components/meter/resources.d.ts +15 -0
- package/dist/types/components.d.ts +166 -0
- package/dist/types/preact.d.ts +2 -0
- package/hydrate/index.js +634 -290
- package/package.json +2 -2
- package/dist/calcite/p-03813859.entry.js +0 -6
- package/dist/calcite/p-0b7ad7bd.entry.js +0 -6
- package/dist/calcite/p-12f7ea43.js +0 -6
- package/dist/calcite/p-18399275.entry.js +0 -6
- package/dist/calcite/p-22f38561.js +0 -6
- package/dist/calcite/p-246892e6.js +0 -6
- package/dist/calcite/p-45ae1e4e.js +0 -6
- package/dist/calcite/p-539d1e27.entry.js +0 -6
- package/dist/calcite/p-617477e3.entry.js +0 -6
- package/dist/calcite/p-683e7af3.entry.js +0 -6
- package/dist/calcite/p-6bfb43a2.entry.js +0 -6
- package/dist/calcite/p-7cb34f36.entry.js +0 -6
- package/dist/calcite/p-89f172fc.entry.js +0 -6
- package/dist/calcite/p-8c29b1ed.entry.js +0 -6
- package/dist/calcite/p-b1c33a0b.js +0 -6
- package/dist/calcite/p-ba616ad9.entry.js +0 -6
- package/dist/calcite/p-c789f8ca.entry.js +0 -6
- package/dist/calcite/p-ed5dd1da.entry.js +0 -6
- package/dist/calcite/p-fa6cb6ba.entry.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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.
|
|
4
|
+
* v1.7.0-next.0
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -7022,7 +7022,7 @@ const SLOTS$y = {
|
|
|
7022
7022
|
actionsStart: "actions-start",
|
|
7023
7023
|
actionsEnd: "actions-end",
|
|
7024
7024
|
};
|
|
7025
|
-
const CSS$
|
|
7025
|
+
const CSS$17 = {
|
|
7026
7026
|
icon: "icon",
|
|
7027
7027
|
header: "header",
|
|
7028
7028
|
headerContent: "header-content",
|
|
@@ -7086,28 +7086,28 @@ class AccordionItem {
|
|
|
7086
7086
|
// --------------------------------------------------------------------------
|
|
7087
7087
|
renderActionsStart() {
|
|
7088
7088
|
const { el } = this;
|
|
7089
|
-
return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$
|
|
7089
|
+
return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$17.actionsStart }, hAsync("slot", { name: SLOTS$y.actionsStart }))) : null;
|
|
7090
7090
|
}
|
|
7091
7091
|
renderActionsEnd() {
|
|
7092
7092
|
const { el } = this;
|
|
7093
|
-
return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
7093
|
+
return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$17.actionsEnd }, hAsync("slot", { name: SLOTS$y.actionsEnd }))) : null;
|
|
7094
7094
|
}
|
|
7095
7095
|
render() {
|
|
7096
7096
|
const { iconFlipRtl } = this;
|
|
7097
7097
|
const dir = getElementDir(this.el);
|
|
7098
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
7099
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
7098
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$17.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7099
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$17.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7100
7100
|
const { description } = this;
|
|
7101
7101
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
7102
7102
|
[`icon-position--${this.iconPosition}`]: true,
|
|
7103
7103
|
[`icon-type--${this.iconType}`]: true,
|
|
7104
|
-
} }, hAsync("div", { class: { [CSS$
|
|
7104
|
+
} }, hAsync("div", { class: { [CSS$17.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$17.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$17.headerContainer }, iconStartEl, hAsync("div", { class: CSS$17.headerText }, hAsync("span", { class: CSS$17.heading }, this.heading), description ? hAsync("span", { class: CSS$17.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$17.expandIcon, icon: this.iconType === "chevron"
|
|
7105
7105
|
? "chevronDown"
|
|
7106
7106
|
: this.iconType === "caret"
|
|
7107
7107
|
? "caretDown"
|
|
7108
7108
|
: this.expanded
|
|
7109
7109
|
? "minus"
|
|
7110
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
7110
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$17.content }, hAsync("slot", null)))));
|
|
7111
7111
|
}
|
|
7112
7112
|
//--------------------------------------------------------------------------
|
|
7113
7113
|
//
|
|
@@ -8027,7 +8027,7 @@ function defaultOnMessagesChange() {
|
|
|
8027
8027
|
mergeMessages(this);
|
|
8028
8028
|
}
|
|
8029
8029
|
|
|
8030
|
-
const CSS$
|
|
8030
|
+
const CSS$16 = {
|
|
8031
8031
|
button: "button",
|
|
8032
8032
|
buttonTextVisible: "button--text-visible",
|
|
8033
8033
|
buttonCompact: "button--compact",
|
|
@@ -8138,14 +8138,14 @@ class Action {
|
|
|
8138
8138
|
renderTextContainer() {
|
|
8139
8139
|
const { text, textEnabled } = this;
|
|
8140
8140
|
const textContainerClasses = {
|
|
8141
|
-
[CSS$
|
|
8142
|
-
[CSS$
|
|
8141
|
+
[CSS$16.textContainer]: true,
|
|
8142
|
+
[CSS$16.textContainerVisible]: textEnabled,
|
|
8143
8143
|
};
|
|
8144
8144
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
8145
8145
|
}
|
|
8146
8146
|
renderIndicatorText() {
|
|
8147
8147
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
8148
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
8148
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$16.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
8149
8149
|
}
|
|
8150
8150
|
renderIconContainer() {
|
|
8151
8151
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -8156,18 +8156,18 @@ class Action {
|
|
|
8156
8156
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
8157
8157
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
8158
8158
|
const slotContainerNode = (hAsync("div", { class: {
|
|
8159
|
-
[CSS$
|
|
8160
|
-
[CSS$
|
|
8159
|
+
[CSS$16.slotContainer]: true,
|
|
8160
|
+
[CSS$16.slotContainerHidden]: loading,
|
|
8161
8161
|
} }, hAsync("slot", null)));
|
|
8162
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
8162
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$16.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
8163
8163
|
}
|
|
8164
8164
|
render() {
|
|
8165
8165
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages, } = this;
|
|
8166
8166
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
8167
8167
|
const buttonClasses = {
|
|
8168
|
-
[CSS$
|
|
8169
|
-
[CSS$
|
|
8170
|
-
[CSS$
|
|
8168
|
+
[CSS$16.button]: true,
|
|
8169
|
+
[CSS$16.buttonTextVisible]: textEnabled,
|
|
8170
|
+
[CSS$16.buttonCompact]: compact,
|
|
8171
8171
|
};
|
|
8172
8172
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
|
|
8173
8173
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -9480,7 +9480,7 @@ const ICONS$j = {
|
|
|
9480
9480
|
menu: "ellipsis",
|
|
9481
9481
|
};
|
|
9482
9482
|
|
|
9483
|
-
const CSS$
|
|
9483
|
+
const CSS$15 = {
|
|
9484
9484
|
menu: "menu",
|
|
9485
9485
|
defaultTrigger: "default-trigger",
|
|
9486
9486
|
};
|
|
@@ -9580,7 +9580,7 @@ const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position
|
|
|
9580
9580
|
return actionNode;
|
|
9581
9581
|
};
|
|
9582
9582
|
|
|
9583
|
-
const CSS$
|
|
9583
|
+
const CSS$14 = {
|
|
9584
9584
|
actionGroupEnd: "action-group--end",
|
|
9585
9585
|
};
|
|
9586
9586
|
const SLOTS$u = {
|
|
@@ -9782,7 +9782,7 @@ class ActionBar {
|
|
|
9782
9782
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
9783
9783
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9784
9784
|
ref: this.setExpandToggleRef })) : null;
|
|
9785
|
-
return (hAsync("calcite-action-group", { class: CSS$
|
|
9785
|
+
return (hAsync("calcite-action-group", { class: CSS$14.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$u.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
|
9786
9786
|
}
|
|
9787
9787
|
render() {
|
|
9788
9788
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -10191,7 +10191,7 @@ class ActionMenu {
|
|
|
10191
10191
|
}
|
|
10192
10192
|
renderMenuButton() {
|
|
10193
10193
|
const { label, scale, expanded } = this;
|
|
10194
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$v.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
10194
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$v.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$15.defaultTrigger, icon: ICONS$i.menu, scale: scale, text: label, textEnabled: expanded,
|
|
10195
10195
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10196
10196
|
ref: this.setDefaultMenuButtonEl })));
|
|
10197
10197
|
return menuButtonSlot;
|
|
@@ -10200,7 +10200,7 @@ class ActionMenu {
|
|
|
10200
10200
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements, } = this;
|
|
10201
10201
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
10202
10202
|
const activeDescendantId = activeAction?.id || null;
|
|
10203
|
-
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$
|
|
10203
|
+
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$15.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
10204
10204
|
}
|
|
10205
10205
|
render() {
|
|
10206
10206
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$v.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -10236,7 +10236,7 @@ class ActionMenu {
|
|
|
10236
10236
|
}; }
|
|
10237
10237
|
}
|
|
10238
10238
|
|
|
10239
|
-
const CSS$
|
|
10239
|
+
const CSS$13 = {
|
|
10240
10240
|
actionGroupEnd: "action-group--end",
|
|
10241
10241
|
container: "container",
|
|
10242
10242
|
};
|
|
@@ -10360,10 +10360,10 @@ class ActionPad {
|
|
|
10360
10360
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
10361
10361
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10362
10362
|
ref: this.setExpandToggleRef })) : null;
|
|
10363
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10363
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$13.actionGroupEnd, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$t.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
|
|
10364
10364
|
}
|
|
10365
10365
|
render() {
|
|
10366
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10366
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$13.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10367
10367
|
}
|
|
10368
10368
|
static get delegatesFocus() { return true; }
|
|
10369
10369
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10491,7 +10491,7 @@ const SLOTS$s = {
|
|
|
10491
10491
|
message: "message",
|
|
10492
10492
|
link: "link",
|
|
10493
10493
|
};
|
|
10494
|
-
const CSS$
|
|
10494
|
+
const CSS$12 = {
|
|
10495
10495
|
actionsEnd: "actions-end",
|
|
10496
10496
|
container: "container",
|
|
10497
10497
|
close: "alert-close",
|
|
@@ -10651,10 +10651,10 @@ class Alert {
|
|
|
10651
10651
|
container: true,
|
|
10652
10652
|
queued,
|
|
10653
10653
|
[placement]: true,
|
|
10654
|
-
[CSS$
|
|
10654
|
+
[CSS$12.slottedInShell]: this.slottedInShell,
|
|
10655
10655
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10656
10656
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10657
|
-
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$s.title }), hAsync("slot", { name: SLOTS$s.message }), hAsync("slot", { name: SLOTS$s.link })), hAsync("div", { class: CSS$
|
|
10657
|
+
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$s.title }), hAsync("slot", { name: SLOTS$s.message }), hAsync("slot", { name: SLOTS$s.link })), hAsync("div", { class: CSS$12.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10658
10658
|
}
|
|
10659
10659
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10660
10660
|
alertSync(event) {
|
|
@@ -11123,7 +11123,7 @@ const Heading = (props, children) => {
|
|
|
11123
11123
|
return hAsync(HeadingTag, { ...props }, children);
|
|
11124
11124
|
};
|
|
11125
11125
|
|
|
11126
|
-
const CSS$
|
|
11126
|
+
const CSS$11 = {
|
|
11127
11127
|
container: "container",
|
|
11128
11128
|
content: "content",
|
|
11129
11129
|
headerContainer: "header-container",
|
|
@@ -11248,30 +11248,30 @@ class Block {
|
|
|
11248
11248
|
renderIcon() {
|
|
11249
11249
|
const { loading, messages, status } = this;
|
|
11250
11250
|
const hasSlottedIcon = !!getSlotted(this.el, SLOTS$r.icon);
|
|
11251
|
-
return loading ? (hAsync("div", { class: CSS$
|
|
11252
|
-
[CSS$
|
|
11253
|
-
[CSS$
|
|
11254
|
-
[CSS$
|
|
11255
|
-
}, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$
|
|
11251
|
+
return loading ? (hAsync("div", { class: CSS$11.icon, key: "loader" }, hAsync("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (hAsync("div", { class: CSS$11.icon, key: "status-icon" }, hAsync("calcite-icon", { class: {
|
|
11252
|
+
[CSS$11.statusIcon]: true,
|
|
11253
|
+
[CSS$11.valid]: status == "valid",
|
|
11254
|
+
[CSS$11.invalid]: status == "invalid",
|
|
11255
|
+
}, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$11.icon, key: "icon-slot" }, hAsync("slot", { key: "icon-slot", name: SLOTS$r.icon }))) : null;
|
|
11256
11256
|
}
|
|
11257
11257
|
renderTitle() {
|
|
11258
11258
|
const { heading, headingLevel, description } = this;
|
|
11259
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
11259
|
+
return heading || description ? (hAsync("div", { class: CSS$11.title }, hAsync(Heading, { class: CSS$11.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$11.description }, description) : null)) : null;
|
|
11260
11260
|
}
|
|
11261
11261
|
render() {
|
|
11262
11262
|
const { collapsible, el, loading, open, messages } = this;
|
|
11263
11263
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
11264
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
11264
|
+
const headerContent = (hAsync("header", { class: CSS$11.header }, this.renderIcon(), this.renderTitle()));
|
|
11265
11265
|
const hasControl = !!getSlotted(el, SLOTS$r.control);
|
|
11266
11266
|
const hasMenuActions = !!getSlotted(el, SLOTS$r.headerMenuActions);
|
|
11267
11267
|
const collapseIcon = open ? ICONS$g.opened : ICONS$g.closed;
|
|
11268
11268
|
const { guid } = this;
|
|
11269
11269
|
const regionId = `${guid}-region`;
|
|
11270
11270
|
const buttonId = `${guid}-button`;
|
|
11271
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
11271
|
+
const headerNode = (hAsync("div", { class: CSS$11.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$11.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$11.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), hasControl ? (hAsync("div", { class: CSS$11.controlContainer }, hAsync("slot", { name: SLOTS$r.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$r.headerMenuActions }))) : null));
|
|
11272
11272
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
11273
|
-
[CSS$
|
|
11274
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
11273
|
+
[CSS$11.container]: true,
|
|
11274
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$11.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
11275
11275
|
}
|
|
11276
11276
|
static get assetsDirs() { return ["assets"]; }
|
|
11277
11277
|
get el() { return getElement(this); }
|
|
@@ -11305,7 +11305,7 @@ class Block {
|
|
|
11305
11305
|
}; }
|
|
11306
11306
|
}
|
|
11307
11307
|
|
|
11308
|
-
const CSS
|
|
11308
|
+
const CSS$10 = {
|
|
11309
11309
|
content: "content",
|
|
11310
11310
|
invalid: "invalid",
|
|
11311
11311
|
toggle: "toggle",
|
|
@@ -11408,9 +11408,9 @@ class BlockSection {
|
|
|
11408
11408
|
const { status } = this;
|
|
11409
11409
|
const statusIcon = ICONS$f[status] ?? false;
|
|
11410
11410
|
const statusIconClasses = {
|
|
11411
|
-
[CSS
|
|
11412
|
-
[CSS
|
|
11413
|
-
[CSS
|
|
11411
|
+
[CSS$10.statusIcon]: true,
|
|
11412
|
+
[CSS$10.valid]: status == "valid",
|
|
11413
|
+
[CSS$10.invalid]: status == "invalid",
|
|
11414
11414
|
};
|
|
11415
11415
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11416
11416
|
}
|
|
@@ -11427,13 +11427,13 @@ class BlockSection {
|
|
|
11427
11427
|
const regionId = `${guid}-region`;
|
|
11428
11428
|
const buttonId = `${guid}-button`;
|
|
11429
11429
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11430
|
-
[CSS
|
|
11431
|
-
[CSS
|
|
11432
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS
|
|
11433
|
-
[CSS
|
|
11434
|
-
[CSS
|
|
11435
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS
|
|
11436
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS
|
|
11430
|
+
[CSS$10.toggle]: true,
|
|
11431
|
+
[CSS$10.toggleSwitch]: true,
|
|
11432
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$10.toggleSwitchContent }, hAsync("span", { class: CSS$10.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11433
|
+
[CSS$10.sectionHeader]: true,
|
|
11434
|
+
[CSS$10.toggle]: true,
|
|
11435
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$10.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11436
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$10.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
11437
11437
|
}
|
|
11438
11438
|
static get assetsDirs() { return ["assets"]; }
|
|
11439
11439
|
get el() { return getElement(this); }
|
|
@@ -11863,7 +11863,7 @@ function onLabelDisconnected() {
|
|
|
11863
11863
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11864
11864
|
}
|
|
11865
11865
|
|
|
11866
|
-
const CSS
|
|
11866
|
+
const CSS$$ = {
|
|
11867
11867
|
buttonLoader: "calcite-button--loader",
|
|
11868
11868
|
content: "content",
|
|
11869
11869
|
contentSlotted: "content--slotted",
|
|
@@ -11991,17 +11991,17 @@ class Button {
|
|
|
11991
11991
|
render() {
|
|
11992
11992
|
const childElType = this.href ? "a" : "button";
|
|
11993
11993
|
const Tag = childElType;
|
|
11994
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS
|
|
11994
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$$.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$$.loadingIn : CSS$$.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
11995
11995
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11996
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS
|
|
11997
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS
|
|
11998
|
-
const contentEl = (hAsync("span", { class: CSS
|
|
11996
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$$.icon]: true, [CSS$$.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
11997
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$$.icon]: true, [CSS$$.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
11998
|
+
const contentEl = (hAsync("span", { class: CSS$$.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11999
11999
|
return (hAsync(Tag, { "aria-label": !this.loading ? getLabelText(this) : this.messages.loading, "aria-live": "polite", class: {
|
|
12000
|
-
[CSS
|
|
12001
|
-
[CSS
|
|
12002
|
-
[CSS
|
|
12003
|
-
[CSS
|
|
12004
|
-
[CSS
|
|
12000
|
+
[CSS$$.buttonPadding]: noStartEndIcons,
|
|
12001
|
+
[CSS$$.buttonPaddingShrunk]: !noStartEndIcons,
|
|
12002
|
+
[CSS$$.contentSlotted]: this.hasContent,
|
|
12003
|
+
[CSS$$.iconStartEmpty]: !this.iconStart,
|
|
12004
|
+
[CSS$$.iconEndEmpty]: !this.iconEnd,
|
|
12005
12005
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: this.setChildEl, rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, title: this.tooltipText, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
12006
12006
|
}
|
|
12007
12007
|
//--------------------------------------------------------------------------
|
|
@@ -12316,7 +12316,7 @@ class CalciteMenu {
|
|
|
12316
12316
|
}; }
|
|
12317
12317
|
}
|
|
12318
12318
|
|
|
12319
|
-
const CSS$
|
|
12319
|
+
const CSS$_ = {
|
|
12320
12320
|
container: "container",
|
|
12321
12321
|
content: "content",
|
|
12322
12322
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12520,54 +12520,54 @@ class CalciteMenuItem {
|
|
|
12520
12520
|
//
|
|
12521
12521
|
//--------------------------------------------------------------------------
|
|
12522
12522
|
renderIconStart() {
|
|
12523
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12523
|
+
return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$_.iconStart, scale: "s" }));
|
|
12524
12524
|
}
|
|
12525
12525
|
renderIconEnd() {
|
|
12526
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12526
|
+
return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$_.iconEnd, scale: "s" }));
|
|
12527
12527
|
}
|
|
12528
12528
|
renderBreadcrumbIcon(dir) {
|
|
12529
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12529
|
+
return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$_.iconBreadcrumb, scale: "s" }));
|
|
12530
12530
|
}
|
|
12531
12531
|
renderDropdownIcon(dir) {
|
|
12532
12532
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12533
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12533
|
+
return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12534
12534
|
? this.open
|
|
12535
12535
|
? "chevron-up"
|
|
12536
12536
|
: "chevron-down"
|
|
12537
|
-
: dirChevron, key: CSS$
|
|
12537
|
+
: dirChevron, key: CSS$_.iconDropdown, scale: "s" }));
|
|
12538
12538
|
}
|
|
12539
12539
|
renderDropdownAction(dir) {
|
|
12540
12540
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12541
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12541
|
+
return (hAsync("calcite-action", { class: CSS$_.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12542
12542
|
? this.open
|
|
12543
12543
|
? "chevron-up"
|
|
12544
12544
|
: "chevron-down"
|
|
12545
|
-
: dirChevron, key: CSS$
|
|
12545
|
+
: dirChevron, key: CSS$_.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12546
12546
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12547
12547
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12548
12548
|
}
|
|
12549
12549
|
renderSubmenuItems(dir) {
|
|
12550
12550
|
return (hAsync("calcite-menu", { class: {
|
|
12551
|
-
[CSS$
|
|
12552
|
-
[CSS$
|
|
12553
|
-
[CSS$
|
|
12551
|
+
[CSS$_.dropdownMenuItems]: true,
|
|
12552
|
+
[CSS$_.open]: this.open,
|
|
12553
|
+
[CSS$_.nested]: !this.isTopLevelItem,
|
|
12554
12554
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12555
|
-
[CSS$
|
|
12555
|
+
[CSS$_.dropdownVertical]: this.topLevelMenuLayout === "vertical",
|
|
12556
12556
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12557
12557
|
}
|
|
12558
12558
|
renderHrefIcon(dir) {
|
|
12559
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12559
|
+
return (hAsync("calcite-icon", { class: CSS$_.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", key: CSS$_.hoverHrefIcon, scale: "s" }));
|
|
12560
12560
|
}
|
|
12561
12561
|
renderItemContent(dir) {
|
|
12562
12562
|
const hasHref = this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem);
|
|
12563
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12563
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$_.textContainer }, hAsync("span", null, this.text)), hasHref && this.renderHrefIcon(dir), this.iconEnd && this.renderIconEnd(), this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null, !this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null));
|
|
12564
12564
|
}
|
|
12565
12565
|
render() {
|
|
12566
12566
|
const dir = getElementDir(this.el);
|
|
12567
12567
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12568
|
-
[CSS$
|
|
12569
|
-
[CSS$
|
|
12570
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12568
|
+
[CSS$_.container]: true,
|
|
12569
|
+
[CSS$_.isParentVertical]: this.topLevelMenuLayout === "vertical",
|
|
12570
|
+
}, role: "none" }, hAsync("div", { class: CSS$_.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$_.layoutVertical]: this.layout === "vertical", [CSS$_.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12571
12571
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12572
12572
|
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir)), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12573
12573
|
}
|
|
@@ -12610,7 +12610,7 @@ class CalciteMenuItem {
|
|
|
12610
12610
|
}; }
|
|
12611
12611
|
}
|
|
12612
12612
|
|
|
12613
|
-
const CSS$
|
|
12613
|
+
const CSS$Z = {
|
|
12614
12614
|
container: "container",
|
|
12615
12615
|
containerContent: "container-content",
|
|
12616
12616
|
hasProgress: "progress-bar",
|
|
@@ -12759,11 +12759,11 @@ class CalciteNavigation {
|
|
|
12759
12759
|
this.navigationAction;
|
|
12760
12760
|
const slotName = this.el.slot;
|
|
12761
12761
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
12762
|
-
[CSS$
|
|
12763
|
-
[CSS$
|
|
12764
|
-
[CSS$
|
|
12765
|
-
[CSS$
|
|
12766
|
-
} }, hAsync("div", { class: { [CSS$
|
|
12762
|
+
[CSS$Z.container]: true,
|
|
12763
|
+
[CSS$Z.secondary]: slotName === SLOTS$q.navSecondary,
|
|
12764
|
+
[CSS$Z.tertiary]: slotName === SLOTS$q.navTertiary,
|
|
12765
|
+
[CSS$Z.primary]: primaryLevelHasElements,
|
|
12766
|
+
} }, hAsync("div", { class: { [CSS$Z.hide]: !this.progressSlotHasElement, [SLOTS$q.progress]: true } }, hAsync("slot", { name: SLOTS$q.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$Z.containerContent]: true, [CSS$Z.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$Z.hide]: !this.logoSlotHasElements, [SLOTS$q.logo]: true } }, hAsync("slot", { name: SLOTS$q.logo, onSlotchange: this.handleLogoSlotChange })), hAsync("slot", { name: SLOTS$q.contentStart, onSlotchange: this.handleContentStartSlotChange }), hAsync("slot", { name: SLOTS$q.contentCenter, onSlotchange: this.handleContentCenterSlotChange }), hAsync("slot", { name: SLOTS$q.contentEnd, onSlotchange: this.handleContentEndSlotChange }), hAsync("div", { class: { [CSS$Z.hide]: !this.userSlotHasElements, [SLOTS$q.user]: true } }, hAsync("slot", { name: SLOTS$q.user, onSlotchange: this.handleUserSlotChange })))), hAsync(Fragment, null, hAsync("slot", { name: SLOTS$q.navSecondary, onSlotchange: this.handleSecondarySlotChange }), hAsync("slot", { name: SLOTS$q.navTertiary, onSlotchange: this.handleTertiarySlotChange }))));
|
|
12767
12767
|
}
|
|
12768
12768
|
get el() { return getElement(this); }
|
|
12769
12769
|
static get style() { return navigationCss; }
|
|
@@ -12790,7 +12790,7 @@ class CalciteNavigation {
|
|
|
12790
12790
|
}; }
|
|
12791
12791
|
}
|
|
12792
12792
|
|
|
12793
|
-
const CSS$
|
|
12793
|
+
const CSS$Y = {
|
|
12794
12794
|
container: "container",
|
|
12795
12795
|
heading: "heading",
|
|
12796
12796
|
description: "description",
|
|
@@ -12843,10 +12843,10 @@ class CalciteNavigationLogo {
|
|
|
12843
12843
|
// --------------------------------------------------------------------------
|
|
12844
12844
|
render() {
|
|
12845
12845
|
const { heading, description, thumbnail } = this;
|
|
12846
|
-
return (hAsync(Host, null, hAsync("a", { class: CSS$
|
|
12847
|
-
[CSS$
|
|
12848
|
-
[CSS$
|
|
12849
|
-
}, key: CSS$
|
|
12846
|
+
return (hAsync(Host, null, hAsync("a", { class: CSS$Y.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$Y.image, src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$Y.container }, heading && (hAsync("span", { "aria-label": this.heading, class: {
|
|
12847
|
+
[CSS$Y.heading]: true,
|
|
12848
|
+
[CSS$Y.standalone]: !this.description,
|
|
12849
|
+
}, key: CSS$Y.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$Y.description, key: CSS$Y.description }, description)))))));
|
|
12850
12850
|
}
|
|
12851
12851
|
static get delegatesFocus() { return true; }
|
|
12852
12852
|
get el() { return getElement(this); }
|
|
@@ -12871,7 +12871,7 @@ class CalciteNavigationLogo {
|
|
|
12871
12871
|
}; }
|
|
12872
12872
|
}
|
|
12873
12873
|
|
|
12874
|
-
const CSS$
|
|
12874
|
+
const CSS$X = {
|
|
12875
12875
|
textContainer: "text-container",
|
|
12876
12876
|
fullName: "full-name",
|
|
12877
12877
|
username: "username",
|
|
@@ -12918,7 +12918,7 @@ class CalciteNavigationUser {
|
|
|
12918
12918
|
//
|
|
12919
12919
|
// --------------------------------------------------------------------------
|
|
12920
12920
|
render() {
|
|
12921
|
-
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$
|
|
12921
|
+
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$X.button }, hAsync("calcite-avatar", { "full-name": this.fullName, label: this.label, thumbnail: this.thumbnail, "user-id": this.userId, username: this.username }), (this.fullName || this.username) && !this.textDisabled && (hAsync("div", { class: CSS$X.textContainer }, this.fullName && (hAsync("span", { class: CSS$X.fullName, key: CSS$X.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$X.username, key: CSS$X.username }, this.username)))))));
|
|
12922
12922
|
}
|
|
12923
12923
|
static get delegatesFocus() { return true; }
|
|
12924
12924
|
get el() { return getElement(this); }
|
|
@@ -12942,7 +12942,7 @@ class CalciteNavigationUser {
|
|
|
12942
12942
|
}; }
|
|
12943
12943
|
}
|
|
12944
12944
|
|
|
12945
|
-
const CSS$
|
|
12945
|
+
const CSS$W = {
|
|
12946
12946
|
container: "container",
|
|
12947
12947
|
header: "header",
|
|
12948
12948
|
footer: "footer",
|
|
@@ -13027,7 +13027,7 @@ class Card {
|
|
|
13027
13027
|
render() {
|
|
13028
13028
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
13029
13029
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
13030
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
13030
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$W.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
13031
13031
|
}
|
|
13032
13032
|
effectiveLocaleChange() {
|
|
13033
13033
|
updateMessages(this);
|
|
@@ -13037,24 +13037,24 @@ class Card {
|
|
|
13037
13037
|
this.calciteCardSelect.emit();
|
|
13038
13038
|
}
|
|
13039
13039
|
renderThumbnail() {
|
|
13040
|
-
return getSlotted(this.el, SLOTS$p.thumbnail) ? (hAsync("section", { class: CSS$
|
|
13040
|
+
return getSlotted(this.el, SLOTS$p.thumbnail) ? (hAsync("section", { class: CSS$W.thumbnailWrapper }, hAsync("slot", { name: SLOTS$p.thumbnail }))) : null;
|
|
13041
13041
|
}
|
|
13042
13042
|
renderCheckbox() {
|
|
13043
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
13043
|
+
return (hAsync("calcite-label", { class: CSS$W.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
13044
13044
|
}
|
|
13045
13045
|
renderHeader() {
|
|
13046
13046
|
const { el } = this;
|
|
13047
13047
|
const title = getSlotted(el, SLOTS$p.title);
|
|
13048
13048
|
const subtitle = getSlotted(el, SLOTS$p.subtitle);
|
|
13049
13049
|
const hasHeader = title || subtitle;
|
|
13050
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
13050
|
+
return hasHeader ? (hAsync("header", { class: CSS$W.header }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.subtitle }))) : null;
|
|
13051
13051
|
}
|
|
13052
13052
|
renderFooter() {
|
|
13053
13053
|
const { el } = this;
|
|
13054
13054
|
const startFooter = getSlotted(el, SLOTS$p.footerStart);
|
|
13055
13055
|
const endFooter = getSlotted(el, SLOTS$p.footerEnd);
|
|
13056
13056
|
const hasFooter = startFooter || endFooter;
|
|
13057
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
13057
|
+
return hasFooter ? (hAsync("footer", { class: CSS$W.footer }, hAsync("slot", { name: SLOTS$p.footerStart }), hAsync("slot", { name: SLOTS$p.footerEnd }))) : null;
|
|
13058
13058
|
}
|
|
13059
13059
|
static get assetsDirs() { return ["assets"]; }
|
|
13060
13060
|
get el() { return getElement(this); }
|
|
@@ -13217,7 +13217,7 @@ class Checkbox {
|
|
|
13217
13217
|
}; }
|
|
13218
13218
|
}
|
|
13219
13219
|
|
|
13220
|
-
const CSS$
|
|
13220
|
+
const CSS$V = {
|
|
13221
13221
|
title: "title",
|
|
13222
13222
|
close: "close",
|
|
13223
13223
|
imageContainer: "image-container",
|
|
@@ -13386,7 +13386,7 @@ class Chip {
|
|
|
13386
13386
|
//
|
|
13387
13387
|
//--------------------------------------------------------------------------
|
|
13388
13388
|
renderChipImage() {
|
|
13389
|
-
return (hAsync("div", { class: CSS$
|
|
13389
|
+
return (hAsync("div", { class: CSS$V.imageContainer }, hAsync("slot", { name: SLOTS$o.image, onSlotchange: this.handleSlotImageChange })));
|
|
13390
13390
|
}
|
|
13391
13391
|
renderSelectionIcon() {
|
|
13392
13392
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -13397,17 +13397,17 @@ class Chip {
|
|
|
13397
13397
|
? ICONS$d.checkedSingle
|
|
13398
13398
|
: undefined;
|
|
13399
13399
|
return (hAsync("div", { class: {
|
|
13400
|
-
[CSS$
|
|
13401
|
-
[CSS$
|
|
13400
|
+
[CSS$V.selectIcon]: true,
|
|
13401
|
+
[CSS$V.selectIconActive]: this.selectionMode === "multiple" || this.selected,
|
|
13402
13402
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
13403
13403
|
}
|
|
13404
13404
|
renderCloseButton() {
|
|
13405
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
13405
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$V.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
13406
13406
|
// eslint-disable-next-line react/jsx-sort-props
|
|
13407
13407
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$d.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
13408
13408
|
}
|
|
13409
13409
|
renderIcon() {
|
|
13410
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
13410
|
+
return (hAsync("calcite-icon", { class: CSS$V.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
13411
13411
|
}
|
|
13412
13412
|
render() {
|
|
13413
13413
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -13421,21 +13421,21 @@ class Chip {
|
|
|
13421
13421
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
13422
13422
|
? toAriaBoolean(this.selected)
|
|
13423
13423
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
13424
|
-
[CSS$
|
|
13425
|
-
[CSS$
|
|
13426
|
-
[CSS$
|
|
13427
|
-
[CSS$
|
|
13428
|
-
[CSS$
|
|
13429
|
-
[CSS$
|
|
13430
|
-
[CSS$
|
|
13431
|
-
[CSS$
|
|
13424
|
+
[CSS$V.container]: true,
|
|
13425
|
+
[CSS$V.textSlotted]: this.hasText,
|
|
13426
|
+
[CSS$V.imageSlotted]: this.hasImage,
|
|
13427
|
+
[CSS$V.selectable]: this.selectionMode !== "none",
|
|
13428
|
+
[CSS$V.multiple]: this.selectionMode === "multiple",
|
|
13429
|
+
[CSS$V.closable]: this.closable,
|
|
13430
|
+
[CSS$V.nonInteractive]: !this.interactive,
|
|
13431
|
+
[CSS$V.isCircle]: !this.closable &&
|
|
13432
13432
|
!this.hasText &&
|
|
13433
13433
|
(!this.icon || !this.hasImage) &&
|
|
13434
13434
|
(this.selectionMode === "none" ||
|
|
13435
13435
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)),
|
|
13436
13436
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
13437
13437
|
// eslint-disable-next-line react/jsx-sort-props
|
|
13438
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
13438
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$V.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
13439
13439
|
}
|
|
13440
13440
|
static get assetsDirs() { return ["assets"]; }
|
|
13441
13441
|
get el() { return getElement(this); }
|
|
@@ -15757,7 +15757,7 @@ function zeroArray(array, length) {
|
|
|
15757
15757
|
|
|
15758
15758
|
var color = Color;
|
|
15759
15759
|
|
|
15760
|
-
const CSS$
|
|
15760
|
+
const CSS$U = {
|
|
15761
15761
|
channel: "channel",
|
|
15762
15762
|
channels: "channels",
|
|
15763
15763
|
colorField: "color-field",
|
|
@@ -16091,7 +16091,7 @@ class ColorPicker {
|
|
|
16091
16091
|
const { channelMode: activeChannelMode, messages } = this;
|
|
16092
16092
|
const selected = channelMode === activeChannelMode;
|
|
16093
16093
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
16094
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
16094
|
+
return (hAsync("calcite-tab-title", { class: CSS$U.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
16095
16095
|
};
|
|
16096
16096
|
this.renderChannelsTab = (channelMode) => {
|
|
16097
16097
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -16102,7 +16102,7 @@ class ColorPicker {
|
|
|
16102
16102
|
: [messages.hue, messages.saturation, messages.value];
|
|
16103
16103
|
const direction = getElementDir(this.el);
|
|
16104
16104
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
16105
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
16105
|
+
return (hAsync("calcite-tab", { class: CSS$U.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$U.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
|
|
16106
16106
|
const isAlphaChannel = index === 3;
|
|
16107
16107
|
if (isAlphaChannel) {
|
|
16108
16108
|
channelValue =
|
|
@@ -16113,7 +16113,7 @@ class ColorPicker {
|
|
|
16113
16113
|
}))));
|
|
16114
16114
|
};
|
|
16115
16115
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
16116
|
-
return (hAsync("calcite-input-number", { class: CSS$
|
|
16116
|
+
return (hAsync("calcite-input-number", { class: CSS$U.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.handleChannelChange, onCalciteInputNumberInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, scale: this.scale === "l" ? "m" : "s",
|
|
16117
16117
|
// workaround to ensure input borders overlap as desired
|
|
16118
16118
|
// this is because the build transforms margin-left to its
|
|
16119
16119
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -16303,7 +16303,7 @@ class ColorPicker {
|
|
|
16303
16303
|
this.shiftKeyChannelAdjustment = 0;
|
|
16304
16304
|
const { key } = event;
|
|
16305
16305
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
16306
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
16306
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$U.channel))) {
|
|
16307
16307
|
return;
|
|
16308
16308
|
}
|
|
16309
16309
|
const { shiftKey } = event;
|
|
@@ -16395,35 +16395,35 @@ class ColorPicker {
|
|
|
16395
16395
|
const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(colorFieldScopeLeft, colorFieldScopeTop);
|
|
16396
16396
|
const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
|
|
16397
16397
|
const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
|
|
16398
|
-
return (hAsync("div", { class: CSS$
|
|
16398
|
+
return (hAsync("div", { class: CSS$U.container }, hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: CSS$U.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16399
16399
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16400
|
-
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$
|
|
16400
|
+
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$U.scope]: true, [CSS$U.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
|
|
16401
16401
|
top: `${adjustedColorFieldScopeTop || 0}px`,
|
|
16402
16402
|
left: `${adjustedColorFieldScopeLeft || 0}px`,
|
|
16403
16403
|
}, tabindex: "0",
|
|
16404
16404
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16405
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$
|
|
16405
|
+
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$U.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$U.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$U.sliders }, hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: { [CSS$U.slider]: true, [CSS$U.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
16406
16406
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16407
|
-
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$
|
|
16407
|
+
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$U.scope]: true, [CSS$U.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
|
|
16408
16408
|
top: `${adjustedHueScopeTop}px`,
|
|
16409
16409
|
left: `${adjustedHueScopeLeft}px`,
|
|
16410
16410
|
}, tabindex: "0",
|
|
16411
16411
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16412
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$
|
|
16412
|
+
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: { [CSS$U.slider]: true, [CSS$U.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
16413
16413
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16414
|
-
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$
|
|
16414
|
+
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$U.scope]: true, [CSS$U.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
|
|
16415
16415
|
top: `${adjustedOpacityScopeTop}px`,
|
|
16416
16416
|
left: `${adjustedOpacityScopeLeft}px`,
|
|
16417
16417
|
}, tabindex: "0",
|
|
16418
16418
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16419
16419
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
16420
|
-
[CSS$
|
|
16421
|
-
[CSS$
|
|
16422
|
-
} }, hAsync("div", { class: CSS$
|
|
16423
|
-
[CSS$
|
|
16424
|
-
[CSS$
|
|
16425
|
-
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$
|
|
16426
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$
|
|
16420
|
+
[CSS$U.controlSection]: true,
|
|
16421
|
+
[CSS$U.section]: true,
|
|
16422
|
+
} }, hAsync("div", { class: CSS$U.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$U.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$U.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
16423
|
+
[CSS$U.colorModeContainer]: true,
|
|
16424
|
+
[CSS$U.splitSection]: true,
|
|
16425
|
+
}, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$U.savedColorsSection]: true, [CSS$U.section]: true } }, hAsync("div", { class: CSS$U.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$U.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$U.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$U.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$U.savedColors }, [
|
|
16426
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$U.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
|
|
16427
16427
|
])) : null))));
|
|
16428
16428
|
}
|
|
16429
16429
|
// --------------------------------------------------------------------------
|
|
@@ -16794,7 +16794,7 @@ class ColorPicker {
|
|
|
16794
16794
|
}; }
|
|
16795
16795
|
}
|
|
16796
16796
|
|
|
16797
|
-
const CSS$
|
|
16797
|
+
const CSS$T = {
|
|
16798
16798
|
container: "container",
|
|
16799
16799
|
hexInput: "hex-input",
|
|
16800
16800
|
opacityInput: "opacity-input",
|
|
@@ -16962,9 +16962,9 @@ class ColorPickerHexInput {
|
|
|
16962
16962
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
16963
16963
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16964
16964
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16965
|
-
return (hAsync("div", { class: CSS$
|
|
16965
|
+
return (hAsync("div", { class: CSS$T.container }, hAsync("calcite-input-text", { class: CSS$T.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
16966
16966
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16967
|
-
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$
|
|
16967
|
+
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$T.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
|
|
16968
16968
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16969
16969
|
ref: this.storeOpacityInputRef })) : null));
|
|
16970
16970
|
}
|
|
@@ -17060,7 +17060,7 @@ class ColorPickerHexInput {
|
|
|
17060
17060
|
}; }
|
|
17061
17061
|
}
|
|
17062
17062
|
|
|
17063
|
-
const CSS$
|
|
17063
|
+
const CSS$S = {
|
|
17064
17064
|
swatch: "swatch",
|
|
17065
17065
|
noColorSwatch: "swatch--no-color",
|
|
17066
17066
|
checker: "checker",
|
|
@@ -17098,8 +17098,8 @@ class ColorPickerSwatch {
|
|
|
17098
17098
|
render() {
|
|
17099
17099
|
const isEmpty = !this.internalColor;
|
|
17100
17100
|
const classes = {
|
|
17101
|
-
[CSS$
|
|
17102
|
-
[CSS$
|
|
17101
|
+
[CSS$S.swatch]: true,
|
|
17102
|
+
[CSS$S.noColorSwatch]: isEmpty,
|
|
17103
17103
|
};
|
|
17104
17104
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
17105
17105
|
}
|
|
@@ -17125,7 +17125,7 @@ class ColorPickerSwatch {
|
|
|
17125
17125
|
const alpha = internalColor.alpha();
|
|
17126
17126
|
const hex = hexify(internalColor);
|
|
17127
17127
|
const hexa = hexify(internalColor, alpha < 1);
|
|
17128
|
-
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$
|
|
17128
|
+
return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$S.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$S.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: CHECKER_DIMENSIONS.squareSize, y: CHECKER_DIMENSIONS.squareSize }))), hAsync("rect", { fill: "url(#checker)", height: "100%", rx: borderRadius, width: "100%" }), hAsync("rect", { fill: hex, style: {
|
|
17129
17129
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
17130
17130
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
17131
17131
|
}
|
|
@@ -18854,7 +18854,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18854
18854
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18855
18855
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18856
18856
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
18857
|
-
const CSS$
|
|
18857
|
+
const CSS$R = {
|
|
18858
18858
|
listContainer: "list-container",
|
|
18859
18859
|
};
|
|
18860
18860
|
|
|
@@ -18879,11 +18879,11 @@ function getDepth$1(element) {
|
|
|
18879
18879
|
}
|
|
18880
18880
|
}
|
|
18881
18881
|
|
|
18882
|
-
const CSS$
|
|
18882
|
+
const CSS$Q = {
|
|
18883
18883
|
button: "x-button",
|
|
18884
18884
|
};
|
|
18885
18885
|
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
18886
|
-
return (hAsync("button", { "aria-label": label, class: CSS$
|
|
18886
|
+
return (hAsync("button", { "aria-label": label, class: CSS$Q.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18887
18887
|
// eslint-disable-next-line react/jsx-sort-props
|
|
18888
18888
|
ref: ref },
|
|
18889
18889
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
@@ -19081,7 +19081,7 @@ class Combobox {
|
|
|
19081
19081
|
event.preventDefault();
|
|
19082
19082
|
return;
|
|
19083
19083
|
}
|
|
19084
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
19084
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$Q.button))) {
|
|
19085
19085
|
this.clearValue();
|
|
19086
19086
|
event.preventDefault();
|
|
19087
19087
|
return;
|
|
@@ -19687,7 +19687,7 @@ class Combobox {
|
|
|
19687
19687
|
renderFloatingUIContainer() {
|
|
19688
19688
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19689
19689
|
const classes = {
|
|
19690
|
-
[CSS$
|
|
19690
|
+
[CSS$R.listContainer]: true,
|
|
19691
19691
|
[FloatingCSS.animation]: true,
|
|
19692
19692
|
[FloatingCSS.animationActive]: open,
|
|
19693
19693
|
};
|
|
@@ -19784,7 +19784,7 @@ class Combobox {
|
|
|
19784
19784
|
}; }
|
|
19785
19785
|
}
|
|
19786
19786
|
|
|
19787
|
-
const CSS$
|
|
19787
|
+
const CSS$P = {
|
|
19788
19788
|
icon: "icon",
|
|
19789
19789
|
iconActive: "icon--active",
|
|
19790
19790
|
iconIndent: "icon--indent",
|
|
@@ -19863,20 +19863,20 @@ class ComboboxItem {
|
|
|
19863
19863
|
// --------------------------------------------------------------------------
|
|
19864
19864
|
renderIcon(iconPath) {
|
|
19865
19865
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
19866
|
-
[CSS$
|
|
19867
|
-
[CSS$
|
|
19868
|
-
[CSS$
|
|
19866
|
+
[CSS$P.custom]: !!this.icon,
|
|
19867
|
+
[CSS$P.iconActive]: this.icon && this.selected,
|
|
19868
|
+
[CSS$P.iconIndent]: true,
|
|
19869
19869
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
19870
19870
|
}
|
|
19871
19871
|
renderSelectIndicator(showDot, iconPath) {
|
|
19872
19872
|
return showDot ? (hAsync("span", { class: {
|
|
19873
|
-
[CSS$
|
|
19874
|
-
[CSS$
|
|
19875
|
-
[CSS$
|
|
19873
|
+
[CSS$P.icon]: true,
|
|
19874
|
+
[CSS$P.dot]: true,
|
|
19875
|
+
[CSS$P.iconIndent]: true,
|
|
19876
19876
|
} })) : (hAsync("calcite-icon", { class: {
|
|
19877
|
-
[CSS$
|
|
19878
|
-
[CSS$
|
|
19879
|
-
[CSS$
|
|
19877
|
+
[CSS$P.icon]: true,
|
|
19878
|
+
[CSS$P.iconActive]: this.selected,
|
|
19879
|
+
[CSS$P.iconIndent]: true,
|
|
19880
19880
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
19881
19881
|
}
|
|
19882
19882
|
renderChildren() {
|
|
@@ -19891,10 +19891,10 @@ class ComboboxItem {
|
|
|
19891
19891
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19892
19892
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
19893
19893
|
const classes = {
|
|
19894
|
-
[CSS$
|
|
19895
|
-
[CSS$
|
|
19896
|
-
[CSS$
|
|
19897
|
-
[CSS$
|
|
19894
|
+
[CSS$P.label]: true,
|
|
19895
|
+
[CSS$P.selected]: this.selected,
|
|
19896
|
+
[CSS$P.active]: this.active,
|
|
19897
|
+
[CSS$P.single]: isSingleSelect,
|
|
19898
19898
|
};
|
|
19899
19899
|
const depth = getDepth$1();
|
|
19900
19900
|
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderSelectIndicator(showDot, iconPath), this.renderIcon(iconPath), hAsync("span", { class: "title" }, this.textLabel)), this.renderChildren())));
|
|
@@ -19925,7 +19925,7 @@ class ComboboxItem {
|
|
|
19925
19925
|
}; }
|
|
19926
19926
|
}
|
|
19927
19927
|
|
|
19928
|
-
const CSS$
|
|
19928
|
+
const CSS$O = {
|
|
19929
19929
|
list: "list",
|
|
19930
19930
|
label: "label",
|
|
19931
19931
|
title: "title",
|
|
@@ -19962,7 +19962,7 @@ class ComboboxItemGroup {
|
|
|
19962
19962
|
render() {
|
|
19963
19963
|
const { el, scale } = this;
|
|
19964
19964
|
const depth = getDepth$1();
|
|
19965
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
19965
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$O.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$O.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$O.title }, this.label)), hAsync("slot", null)));
|
|
19966
19966
|
}
|
|
19967
19967
|
get el() { return getElement(this); }
|
|
19968
19968
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -21138,7 +21138,7 @@ class DatePickerMonth {
|
|
|
21138
21138
|
}; }
|
|
21139
21139
|
}
|
|
21140
21140
|
|
|
21141
|
-
const CSS$
|
|
21141
|
+
const CSS$N = {
|
|
21142
21142
|
header: "header",
|
|
21143
21143
|
month: "month",
|
|
21144
21144
|
chevron: "chevron",
|
|
@@ -21238,7 +21238,7 @@ class DatePickerMonthHeader {
|
|
|
21238
21238
|
this.setNextPrevMonthDates();
|
|
21239
21239
|
}
|
|
21240
21240
|
render() {
|
|
21241
|
-
return hAsync("div", { class: CSS$
|
|
21241
|
+
return hAsync("div", { class: CSS$N.header }, this.renderContent());
|
|
21242
21242
|
}
|
|
21243
21243
|
renderContent() {
|
|
21244
21244
|
const { messages, localeData, activeDate } = this;
|
|
@@ -21261,12 +21261,12 @@ class DatePickerMonthHeader {
|
|
|
21261
21261
|
const order = getOrder(unitOrder);
|
|
21262
21262
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
21263
21263
|
const suffix = localeData.year?.suffix;
|
|
21264
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
21264
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$N.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$N.textReverse]: reverse } }, hAsync(Heading, { class: CSS$N.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$N.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
21265
21265
|
year: true,
|
|
21266
|
-
[CSS$
|
|
21266
|
+
[CSS$N.yearSuffix]: !!suffix,
|
|
21267
21267
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21268
21268
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21269
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
21269
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$N.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$N.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
|
|
21270
21270
|
}
|
|
21271
21271
|
setNextPrevMonthDates() {
|
|
21272
21272
|
if (!this.activeDate) {
|
|
@@ -21762,7 +21762,7 @@ class Dropdown {
|
|
|
21762
21762
|
}; }
|
|
21763
21763
|
}
|
|
21764
21764
|
|
|
21765
|
-
const CSS$
|
|
21765
|
+
const CSS$M = {
|
|
21766
21766
|
containerSmall: "container--s",
|
|
21767
21767
|
containerMedium: "container--m",
|
|
21768
21768
|
containerLarge: "container--l",
|
|
@@ -21795,9 +21795,9 @@ class DropdownGroup {
|
|
|
21795
21795
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21796
21796
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21797
21797
|
container: true,
|
|
21798
|
-
[CSS$
|
|
21799
|
-
[CSS$
|
|
21800
|
-
[CSS$
|
|
21798
|
+
[CSS$M.containerSmall]: scale === "s",
|
|
21799
|
+
[CSS$M.containerMedium]: scale === "m",
|
|
21800
|
+
[CSS$M.containerLarge]: scale === "l",
|
|
21801
21801
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21802
21802
|
}
|
|
21803
21803
|
//--------------------------------------------------------------------------
|
|
@@ -21838,7 +21838,7 @@ class DropdownGroup {
|
|
|
21838
21838
|
}; }
|
|
21839
21839
|
}
|
|
21840
21840
|
|
|
21841
|
-
const CSS$
|
|
21841
|
+
const CSS$L = {
|
|
21842
21842
|
containerLink: "container--link",
|
|
21843
21843
|
containerSmall: "container--s",
|
|
21844
21844
|
containerMedium: "container--m",
|
|
@@ -21904,9 +21904,9 @@ class DropdownItem {
|
|
|
21904
21904
|
render() {
|
|
21905
21905
|
const scale = getElementProp(this.el, "scale", this.scale);
|
|
21906
21906
|
const { href, selectionMode, label, iconFlipRtl } = this;
|
|
21907
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
21908
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
21909
|
-
const iconEndEl = (hAsync("calcite-icon", { class: CSS$
|
|
21907
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$L.iconStart, flipRtl: iconFlipRtl === "start" || iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
21908
|
+
const contentNode = (hAsync("span", { class: CSS$L.itemContent }, hAsync("slot", null)));
|
|
21909
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$L.iconEnd, flipRtl: iconFlipRtl === "end" || iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
21910
21910
|
const slottedContent = this.iconStart && this.iconEnd
|
|
21911
21911
|
? [iconStartEl, contentNode, iconEndEl]
|
|
21912
21912
|
: this.iconStart
|
|
@@ -21914,7 +21914,7 @@ class DropdownItem {
|
|
|
21914
21914
|
: this.iconEnd
|
|
21915
21915
|
? [contentNode, iconEndEl]
|
|
21916
21916
|
: contentNode;
|
|
21917
|
-
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$
|
|
21917
|
+
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$L.link, href: href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
21918
21918
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21919
21919
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
21920
21920
|
const itemRole = href
|
|
@@ -21927,14 +21927,14 @@ class DropdownItem {
|
|
|
21927
21927
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
21928
21928
|
return (hAsync(Host, { "aria-checked": itemAria, "aria-label": !href ? label : "", role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
21929
21929
|
container: true,
|
|
21930
|
-
[CSS$
|
|
21931
|
-
[CSS$
|
|
21932
|
-
[CSS$
|
|
21933
|
-
[CSS$
|
|
21934
|
-
[CSS$
|
|
21935
|
-
[CSS$
|
|
21936
|
-
[CSS$
|
|
21937
|
-
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$
|
|
21930
|
+
[CSS$L.containerLink]: !!href,
|
|
21931
|
+
[CSS$L.containerSmall]: scale === "s",
|
|
21932
|
+
[CSS$L.containerMedium]: scale === "m",
|
|
21933
|
+
[CSS$L.containerLarge]: scale === "l",
|
|
21934
|
+
[CSS$L.containerMulti]: selectionMode === "multiple",
|
|
21935
|
+
[CSS$L.containerSingle]: selectionMode === "single",
|
|
21936
|
+
[CSS$L.containerNone]: selectionMode === "none",
|
|
21937
|
+
} }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$L.icon, icon: selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
|
|
21938
21938
|
}
|
|
21939
21939
|
//--------------------------------------------------------------------------
|
|
21940
21940
|
//
|
|
@@ -22040,7 +22040,7 @@ class DropdownItem {
|
|
|
22040
22040
|
}; }
|
|
22041
22041
|
}
|
|
22042
22042
|
|
|
22043
|
-
const CSS$
|
|
22043
|
+
const CSS$K = {
|
|
22044
22044
|
button: "button",
|
|
22045
22045
|
};
|
|
22046
22046
|
const ICONS$c = {
|
|
@@ -22101,7 +22101,7 @@ class Fab {
|
|
|
22101
22101
|
render() {
|
|
22102
22102
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl, } = this;
|
|
22103
22103
|
const title = !textEnabled ? label || text || null : null;
|
|
22104
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
22104
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$K.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, round: true, scale: scale, title: title, type: "button", width: "auto",
|
|
22105
22105
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22106
22106
|
ref: (buttonEl) => {
|
|
22107
22107
|
this.buttonEl = buttonEl;
|
|
@@ -22131,7 +22131,7 @@ class Fab {
|
|
|
22131
22131
|
}; }
|
|
22132
22132
|
}
|
|
22133
22133
|
|
|
22134
|
-
const CSS$
|
|
22134
|
+
const CSS$J = {
|
|
22135
22135
|
container: "container",
|
|
22136
22136
|
searchIcon: "search-icon",
|
|
22137
22137
|
};
|
|
@@ -22260,7 +22260,7 @@ class Filter {
|
|
|
22260
22260
|
// --------------------------------------------------------------------------
|
|
22261
22261
|
render() {
|
|
22262
22262
|
const { disabled, scale } = this;
|
|
22263
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
22263
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$J.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$b.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
|
|
22264
22264
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22265
22265
|
ref: (el) => {
|
|
22266
22266
|
this.textInput = el;
|
|
@@ -22299,7 +22299,7 @@ class Filter {
|
|
|
22299
22299
|
}; }
|
|
22300
22300
|
}
|
|
22301
22301
|
|
|
22302
|
-
const CSS$
|
|
22302
|
+
const CSS$I = {
|
|
22303
22303
|
frame: "frame",
|
|
22304
22304
|
frameAdvancing: "frame--advancing",
|
|
22305
22305
|
frameRetreating: "frame--retreating",
|
|
@@ -22414,9 +22414,9 @@ class Flow {
|
|
|
22414
22414
|
render() {
|
|
22415
22415
|
const { flowDirection } = this;
|
|
22416
22416
|
const frameDirectionClasses = {
|
|
22417
|
-
[CSS$
|
|
22418
|
-
[CSS$
|
|
22419
|
-
[CSS$
|
|
22417
|
+
[CSS$I.frame]: true,
|
|
22418
|
+
[CSS$I.frameAdvancing]: flowDirection === "advancing",
|
|
22419
|
+
[CSS$I.frameRetreating]: flowDirection === "retreating",
|
|
22420
22420
|
};
|
|
22421
22421
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
22422
22422
|
}
|
|
@@ -22438,7 +22438,7 @@ class Flow {
|
|
|
22438
22438
|
}; }
|
|
22439
22439
|
}
|
|
22440
22440
|
|
|
22441
|
-
const CSS$
|
|
22441
|
+
const CSS$H = {
|
|
22442
22442
|
actionBarContainer: "action-bar-container",
|
|
22443
22443
|
backButton: "back-button",
|
|
22444
22444
|
container: "container",
|
|
@@ -22473,7 +22473,7 @@ const SLOTS$m = {
|
|
|
22473
22473
|
footerActions: "footer-actions",
|
|
22474
22474
|
};
|
|
22475
22475
|
|
|
22476
|
-
const CSS$
|
|
22476
|
+
const CSS$G = {
|
|
22477
22477
|
backButton: "back-button",
|
|
22478
22478
|
};
|
|
22479
22479
|
const ICONS$9 = {
|
|
@@ -22621,7 +22621,7 @@ class FlowItem {
|
|
|
22621
22621
|
const { showBackButton, backButtonClick, messages } = this;
|
|
22622
22622
|
const label = messages.back;
|
|
22623
22623
|
const icon = rtl ? ICONS$9.backRight : ICONS$9.backLeft;
|
|
22624
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
22624
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$G.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label, title: label,
|
|
22625
22625
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22626
22626
|
ref: this.setBackRef })) : null;
|
|
22627
22627
|
}
|
|
@@ -22885,7 +22885,7 @@ class Graph {
|
|
|
22885
22885
|
}; }
|
|
22886
22886
|
}
|
|
22887
22887
|
|
|
22888
|
-
const CSS$
|
|
22888
|
+
const CSS$F = {
|
|
22889
22889
|
handle: "handle",
|
|
22890
22890
|
handleActivated: "handle--activated",
|
|
22891
22891
|
};
|
|
@@ -23008,7 +23008,7 @@ class Handle {
|
|
|
23008
23008
|
render() {
|
|
23009
23009
|
return (
|
|
23010
23010
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
23011
|
-
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
23011
|
+
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$F.handle]: true, [CSS$F.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages?.dragHandle,
|
|
23012
23012
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23013
23013
|
ref: (el) => {
|
|
23014
23014
|
this.handleButton = el;
|
|
@@ -23047,7 +23047,7 @@ class Handle {
|
|
|
23047
23047
|
}; }
|
|
23048
23048
|
}
|
|
23049
23049
|
|
|
23050
|
-
const CSS$
|
|
23050
|
+
const CSS$E = {
|
|
23051
23051
|
icon: "icon",
|
|
23052
23052
|
flipRtl: "flip-rtl",
|
|
23053
23053
|
};
|
|
@@ -23095,7 +23095,7 @@ class Icon {
|
|
|
23095
23095
|
const semantic = !!textLabel;
|
|
23096
23096
|
const paths = [].concat(pathData || "");
|
|
23097
23097
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
23098
|
-
[CSS$
|
|
23098
|
+
[CSS$E.flipRtl]: dir === "rtl" && flipRtl,
|
|
23099
23099
|
svg: true,
|
|
23100
23100
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
23101
23101
|
}
|
|
@@ -23141,7 +23141,7 @@ class Icon {
|
|
|
23141
23141
|
}; }
|
|
23142
23142
|
}
|
|
23143
23143
|
|
|
23144
|
-
const CSS$
|
|
23144
|
+
const CSS$D = {
|
|
23145
23145
|
wrapper: "wrapper",
|
|
23146
23146
|
confirmChangesButton: "confirm-changes-button",
|
|
23147
23147
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -23291,16 +23291,16 @@ class InlineEditable {
|
|
|
23291
23291
|
updateHostInteraction(this);
|
|
23292
23292
|
}
|
|
23293
23293
|
render() {
|
|
23294
|
-
return (hAsync("div", { class: CSS$
|
|
23294
|
+
return (hAsync("div", { class: CSS$D.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$D.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$D.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$D.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
|
|
23295
23295
|
opacity: this.editingEnabled ? "0" : "1",
|
|
23296
23296
|
width: this.editingEnabled ? "0" : "inherit",
|
|
23297
23297
|
}, type: "button",
|
|
23298
23298
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23299
23299
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
23300
|
-
hAsync("div", { class: CSS$
|
|
23300
|
+
hAsync("div", { class: CSS$D.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$D.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
|
|
23301
23301
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23302
23302
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
23303
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
23303
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$D.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
|
|
23304
23304
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23305
23305
|
ref: (el) => (this.confirmEditingButton = el) }),
|
|
23306
23306
|
])));
|
|
@@ -23386,7 +23386,7 @@ class InlineEditable {
|
|
|
23386
23386
|
}; }
|
|
23387
23387
|
}
|
|
23388
23388
|
|
|
23389
|
-
const CSS$
|
|
23389
|
+
const CSS$C = {
|
|
23390
23390
|
loader: "loader",
|
|
23391
23391
|
clearButton: "clear-button",
|
|
23392
23392
|
editingEnabled: "editing-enabled",
|
|
@@ -23970,38 +23970,38 @@ class Input {
|
|
|
23970
23970
|
// --------------------------------------------------------------------------
|
|
23971
23971
|
render() {
|
|
23972
23972
|
const dir = getElementDir(this.el);
|
|
23973
|
-
const loader = (hAsync("div", { class: CSS$
|
|
23974
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
23975
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
23973
|
+
const loader = (hAsync("div", { class: CSS$C.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
23974
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$C.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
23975
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$C.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
23976
23976
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
23977
23977
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
23978
|
-
[CSS$
|
|
23979
|
-
[CSS$
|
|
23978
|
+
[CSS$C.numberButtonItem]: true,
|
|
23979
|
+
[CSS$C.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
23980
23980
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
23981
23981
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
23982
|
-
[CSS$
|
|
23983
|
-
[CSS$
|
|
23982
|
+
[CSS$C.numberButtonItem]: true,
|
|
23983
|
+
[CSS$C.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
23984
23984
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
23985
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
23986
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
23987
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
23985
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$C.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
23986
|
+
const prefixText = hAsync("div", { class: CSS$C.prefix }, this.prefixText);
|
|
23987
|
+
const suffixText = hAsync("div", { class: CSS$C.suffix }, this.suffixText);
|
|
23988
23988
|
const localeNumberInput = this.type === "number" ? (hAsync("input", { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, multiple: this.multiple, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
23989
23989
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23990
23990
|
ref: this.setChildNumberElRef })) : null;
|
|
23991
23991
|
const childEl = this.type !== "number"
|
|
23992
23992
|
? [
|
|
23993
23993
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
23994
|
-
[CSS$
|
|
23995
|
-
[CSS$
|
|
23994
|
+
[CSS$C.editingEnabled]: this.editingEnabled,
|
|
23995
|
+
[CSS$C.inlineChild]: !!this.inlineEditableEl,
|
|
23996
23996
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, multiple: this.multiple, name: this.name, onBlur: this.inputBlurHandler, onChange: this.inputChangeHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value,
|
|
23997
23997
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23998
23998
|
ref: this.setChildElRef }),
|
|
23999
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
23999
|
+
this.isTextarea ? (hAsync("div", { class: CSS$C.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null,
|
|
24000
24000
|
]
|
|
24001
24001
|
: null;
|
|
24002
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
24002
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$C.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24003
24003
|
? numberButtonsHorizontalDown
|
|
24004
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
24004
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$C.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$C.actionWrapper }, hAsync("slot", { name: SLOTS$k.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
24005
24005
|
? numberButtonsVertical
|
|
24006
24006
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
24007
24007
|
? numberButtonsHorizontalUp
|
|
@@ -24076,7 +24076,7 @@ class Input {
|
|
|
24076
24076
|
}; }
|
|
24077
24077
|
}
|
|
24078
24078
|
|
|
24079
|
-
const CSS$
|
|
24079
|
+
const CSS$B = {
|
|
24080
24080
|
assistiveText: "assistive-text",
|
|
24081
24081
|
menu: "menu-container",
|
|
24082
24082
|
menuActive: "menu-container--active",
|
|
@@ -25511,9 +25511,9 @@ class InputDatePicker {
|
|
|
25511
25511
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25512
25512
|
ref: this.setStartWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-describedby": this.placeholderTextId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
25513
25513
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25514
|
-
ref: this.setStartInput }), this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$
|
|
25515
|
-
[CSS$
|
|
25516
|
-
[CSS$
|
|
25514
|
+
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$B.assistiveText, id: this.placeholderTextId }, "Date Format: ", this.localeData?.placeholder)), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
25515
|
+
[CSS$B.menu]: true,
|
|
25516
|
+
[CSS$B.menuActive]: this.open,
|
|
25517
25517
|
}, id: this.dialogId, role: "dialog",
|
|
25518
25518
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25519
25519
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -25532,10 +25532,10 @@ class InputDatePicker {
|
|
|
25532
25532
|
"border-top-color-one": this.layout === "vertical" && this.range,
|
|
25533
25533
|
}, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
25534
25534
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25535
|
-
ref: this.setEndInput }), this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25535
|
+
ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25536
25536
|
}
|
|
25537
25537
|
renderToggleIcon(open) {
|
|
25538
|
-
return (hAsync("span", { class: CSS$
|
|
25538
|
+
return (hAsync("span", { class: CSS$B.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
25539
25539
|
}
|
|
25540
25540
|
setReferenceEl() {
|
|
25541
25541
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -25783,7 +25783,7 @@ class InputMessage {
|
|
|
25783
25783
|
}; }
|
|
25784
25784
|
}
|
|
25785
25785
|
|
|
25786
|
-
const CSS$
|
|
25786
|
+
const CSS$A = {
|
|
25787
25787
|
loader: "loader",
|
|
25788
25788
|
clearButton: "clear-button",
|
|
25789
25789
|
editingEnabled: "editing-enabled",
|
|
@@ -26292,27 +26292,27 @@ class InputNumber {
|
|
|
26292
26292
|
// --------------------------------------------------------------------------
|
|
26293
26293
|
render() {
|
|
26294
26294
|
const dir = getElementDir(this.el);
|
|
26295
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26296
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26297
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26295
|
+
const loader = (hAsync("div", { class: CSS$A.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26296
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$A.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26297
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$A.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26298
26298
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
26299
26299
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26300
|
-
[CSS$
|
|
26301
|
-
[CSS$
|
|
26300
|
+
[CSS$A.numberButtonItem]: true,
|
|
26301
|
+
[CSS$A.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26302
26302
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
26303
26303
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
26304
|
-
[CSS$
|
|
26305
|
-
[CSS$
|
|
26304
|
+
[CSS$A.numberButtonItem]: true,
|
|
26305
|
+
[CSS$A.buttonItemHorizontal]: isHorizontalNumberButton,
|
|
26306
26306
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
26307
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
26308
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26309
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26307
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$A.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
26308
|
+
const prefixText = hAsync("div", { class: CSS$A.prefix }, this.prefixText);
|
|
26309
|
+
const suffixText = hAsync("div", { class: CSS$A.suffix }, this.suffixText);
|
|
26310
26310
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
26311
26311
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26312
26312
|
ref: this.setChildNumberElRef }));
|
|
26313
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26313
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$A.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26314
26314
|
? numberButtonsHorizontalDown
|
|
26315
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
26315
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$A.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$A.actionWrapper }, hAsync("slot", { name: SLOTS$j.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26316
26316
|
? numberButtonsHorizontalUp
|
|
26317
26317
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26318
26318
|
}
|
|
@@ -26379,7 +26379,7 @@ class InputNumber {
|
|
|
26379
26379
|
}; }
|
|
26380
26380
|
}
|
|
26381
26381
|
|
|
26382
|
-
const CSS$
|
|
26382
|
+
const CSS$z = {
|
|
26383
26383
|
loader: "loader",
|
|
26384
26384
|
clearButton: "clear-button",
|
|
26385
26385
|
editingEnabled: "editing-enabled",
|
|
@@ -26679,18 +26679,18 @@ class InputText {
|
|
|
26679
26679
|
// --------------------------------------------------------------------------
|
|
26680
26680
|
render() {
|
|
26681
26681
|
const dir = getElementDir(this.el);
|
|
26682
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26683
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26684
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26685
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26686
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26682
|
+
const loader = (hAsync("div", { class: CSS$z.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26683
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$z.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26684
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$z.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26685
|
+
const prefixText = hAsync("div", { class: CSS$z.prefix }, this.prefixText);
|
|
26686
|
+
const suffixText = hAsync("div", { class: CSS$z.suffix }, this.suffixText);
|
|
26687
26687
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
26688
|
-
[CSS$
|
|
26689
|
-
[CSS$
|
|
26688
|
+
[CSS$z.editingEnabled]: this.editingEnabled,
|
|
26689
|
+
[CSS$z.inlineChild]: !!this.inlineEditableEl,
|
|
26690
26690
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value,
|
|
26691
26691
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26692
26692
|
ref: this.setChildElRef }));
|
|
26693
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26693
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$z.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$z.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$z.actionWrapper }, hAsync("slot", { name: SLOTS$i.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26694
26694
|
}
|
|
26695
26695
|
static get assetsDirs() { return ["assets"]; }
|
|
26696
26696
|
get el() { return getElement(this); }
|
|
@@ -26928,7 +26928,7 @@ function toISOTimeString(value, includeSeconds = true) {
|
|
|
26928
26928
|
return isoTimeString;
|
|
26929
26929
|
}
|
|
26930
26930
|
|
|
26931
|
-
const CSS$
|
|
26931
|
+
const CSS$y = {
|
|
26932
26932
|
toggleIcon: "toggle-icon",
|
|
26933
26933
|
};
|
|
26934
26934
|
|
|
@@ -28593,14 +28593,14 @@ class InputTimePicker {
|
|
|
28593
28593
|
const { disabled, messages, readOnly, dialogId } = this;
|
|
28594
28594
|
return (hAsync(Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
|
|
28595
28595
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28596
|
-
ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
28596
|
+
ref: this.setCalciteInputEl }), !this.readOnly && this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
28597
28597
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28598
28598
|
ref: this.setCalcitePopoverEl }, hAsync("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
|
|
28599
28599
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28600
28600
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
28601
28601
|
}
|
|
28602
28602
|
renderToggleIcon(open) {
|
|
28603
|
-
return (hAsync("span", { class: CSS$
|
|
28603
|
+
return (hAsync("span", { class: CSS$y.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
28604
28604
|
}
|
|
28605
28605
|
static get delegatesFocus() { return true; }
|
|
28606
28606
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -28844,7 +28844,7 @@ class InputTimeZone {
|
|
|
28844
28844
|
}; }
|
|
28845
28845
|
}
|
|
28846
28846
|
|
|
28847
|
-
const CSS$
|
|
28847
|
+
const CSS$x = {
|
|
28848
28848
|
container: "container",
|
|
28849
28849
|
};
|
|
28850
28850
|
|
|
@@ -28884,7 +28884,7 @@ class Label {
|
|
|
28884
28884
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
28885
28885
|
}
|
|
28886
28886
|
render() {
|
|
28887
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
28887
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$x.container }, hAsync("slot", null))));
|
|
28888
28888
|
}
|
|
28889
28889
|
get el() { return getElement(this); }
|
|
28890
28890
|
static get style() { return labelCss; }
|
|
@@ -29019,7 +29019,7 @@ class Link {
|
|
|
29019
29019
|
}; }
|
|
29020
29020
|
}
|
|
29021
29021
|
|
|
29022
|
-
const CSS$
|
|
29022
|
+
const CSS$w = {
|
|
29023
29023
|
container: "container",
|
|
29024
29024
|
containerBorderSelected: "container--border-selected",
|
|
29025
29025
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -29086,7 +29086,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
29086
29086
|
}
|
|
29087
29087
|
}
|
|
29088
29088
|
|
|
29089
|
-
const CSS$
|
|
29089
|
+
const CSS$v = {
|
|
29090
29090
|
container: "container",
|
|
29091
29091
|
table: "table",
|
|
29092
29092
|
scrim: "scrim",
|
|
@@ -32197,7 +32197,7 @@ function onSortingEnd(activeComponent) {
|
|
|
32197
32197
|
getNestedSortableComponents(activeComponent).forEach((component) => inactiveSortableComponentSet.delete(component));
|
|
32198
32198
|
}
|
|
32199
32199
|
|
|
32200
|
-
const CSS$
|
|
32200
|
+
const CSS$u = {
|
|
32201
32201
|
container: "container",
|
|
32202
32202
|
actionsStart: "actions-start",
|
|
32203
32203
|
contentStart: "content-start",
|
|
@@ -32516,9 +32516,9 @@ class List$1 {
|
|
|
32516
32516
|
// --------------------------------------------------------------------------
|
|
32517
32517
|
render() {
|
|
32518
32518
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
|
|
32519
|
-
return (hAsync("div", { class: CSS$
|
|
32519
|
+
return (hAsync("div", { class: CSS$v.container }, this.dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: CSS$v.assistiveText }, this.assistiveText)) : null, loading ? hAsync("calcite-scrim", { class: CSS$v.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$v.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$v.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-stack", { class: CSS$v.stack }, hAsync("slot", { name: SLOTS$g.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: SLOTS$f.actionsStart }), hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilterChange, placeholder: filterPlaceholder, value: filterText,
|
|
32520
32520
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32521
|
-
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$g.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$f.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$
|
|
32521
|
+
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$g.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$f.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$v.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
32522
32522
|
}
|
|
32523
32523
|
// --------------------------------------------------------------------------
|
|
32524
32524
|
//
|
|
@@ -32933,47 +32933,47 @@ class ListItem {
|
|
|
32933
32933
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
32934
32934
|
return null;
|
|
32935
32935
|
}
|
|
32936
|
-
return (hAsync("td", { class: CSS$
|
|
32936
|
+
return (hAsync("td", { class: CSS$w.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
32937
32937
|
? selectionMode === "multiple"
|
|
32938
32938
|
? ICONS$7.selectedMultiple
|
|
32939
32939
|
: ICONS$7.selectedSingle
|
|
32940
32940
|
: ICONS$7.unselected, scale: "s" })));
|
|
32941
32941
|
}
|
|
32942
32942
|
renderDragHandle() {
|
|
32943
|
-
return this.dragHandle ? (hAsync("td", { class: CSS$
|
|
32943
|
+
return this.dragHandle ? (hAsync("td", { class: CSS$w.dragContainer, key: "drag-handle-container" }, hAsync("calcite-handle", { label: this.label, setPosition: this.setPosition, setSize: this.setSize }))) : null;
|
|
32944
32944
|
}
|
|
32945
32945
|
renderOpen() {
|
|
32946
32946
|
const { el, open, openable, parentListEl } = this;
|
|
32947
32947
|
const dir = getElementDir(el);
|
|
32948
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
32948
|
+
return openable ? (hAsync("td", { class: CSS$w.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$7.open : dir === "rtl" ? ICONS$7.closedRTL : ICONS$7.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$w.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$7.blank, scale: "s" }))) : null;
|
|
32949
32949
|
}
|
|
32950
32950
|
renderActionsStart() {
|
|
32951
32951
|
const { label, hasActionsStart } = this;
|
|
32952
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
32952
|
+
return (hAsync("td", { "aria-label": label, class: CSS$w.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
32953
32953
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32954
32954
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$h.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
32955
32955
|
}
|
|
32956
32956
|
renderActionsEnd() {
|
|
32957
32957
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
32958
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
32958
|
+
return (hAsync("td", { "aria-label": label, class: CSS$w.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
32959
32959
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32960
32960
|
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$h.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$7.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
|
32961
32961
|
}
|
|
32962
32962
|
renderContentStart() {
|
|
32963
32963
|
const { hasContentStart } = this;
|
|
32964
|
-
return (hAsync("div", { class: CSS$
|
|
32964
|
+
return (hAsync("div", { class: CSS$w.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$h.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
32965
32965
|
}
|
|
32966
32966
|
renderCustomContent() {
|
|
32967
32967
|
const { hasCustomContent } = this;
|
|
32968
|
-
return (hAsync("div", { class: CSS$
|
|
32968
|
+
return (hAsync("div", { class: CSS$w.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$h.content, onSlotchange: this.handleContentSlotChange })));
|
|
32969
32969
|
}
|
|
32970
32970
|
renderContentEnd() {
|
|
32971
32971
|
const { hasContentEnd } = this;
|
|
32972
|
-
return (hAsync("div", { class: CSS$
|
|
32972
|
+
return (hAsync("div", { class: CSS$w.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$h.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
32973
32973
|
}
|
|
32974
32974
|
renderContentProperties() {
|
|
32975
32975
|
const { label, description, hasCustomContent } = this;
|
|
32976
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
32976
|
+
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$w.content, key: "content" }, label ? (hAsync("div", { class: CSS$w.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$w.description, key: "description" }, description)) : null)) : null;
|
|
32977
32977
|
}
|
|
32978
32978
|
renderContentContainer() {
|
|
32979
32979
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -32985,9 +32985,9 @@ class ListItem {
|
|
|
32985
32985
|
this.renderContentEnd(),
|
|
32986
32986
|
];
|
|
32987
32987
|
return (hAsync("td", { "aria-label": label, class: {
|
|
32988
|
-
[CSS$
|
|
32989
|
-
[CSS$
|
|
32990
|
-
[CSS$
|
|
32988
|
+
[CSS$w.contentContainer]: true,
|
|
32989
|
+
[CSS$w.contentContainerSelectable]: selectionMode !== "none",
|
|
32990
|
+
[CSS$w.contentContainerHasCenterContent]: hasCenterContent,
|
|
32991
32991
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
32992
32992
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32993
32993
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -32998,14 +32998,14 @@ class ListItem {
|
|
|
32998
32998
|
const borderSelected = showBorder && selected;
|
|
32999
32999
|
const borderUnselected = showBorder && !selected;
|
|
33000
33000
|
return (hAsync(Host, null, hAsync("tr", { "aria-expanded": openable ? toAriaBoolean(open) : null, "aria-label": label, "aria-level": level, "aria-posinset": setPosition, "aria-selected": toAriaBoolean(selected), "aria-setsize": setSize, class: {
|
|
33001
|
-
[CSS$
|
|
33002
|
-
[CSS$
|
|
33003
|
-
[CSS$
|
|
33001
|
+
[CSS$w.container]: true,
|
|
33002
|
+
[CSS$w.containerBorderSelected]: borderSelected,
|
|
33003
|
+
[CSS$w.containerBorderUnselected]: borderUnselected,
|
|
33004
33004
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
33005
33005
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33006
33006
|
ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
33007
|
-
[CSS$
|
|
33008
|
-
[CSS$
|
|
33007
|
+
[CSS$w.nestedContainer]: true,
|
|
33008
|
+
[CSS$w.nestedContainerHidden]: openable && !open,
|
|
33009
33009
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (el) => (this.defaultSlotEl = el) }))));
|
|
33010
33010
|
}
|
|
33011
33011
|
// --------------------------------------------------------------------------
|
|
@@ -33095,7 +33095,7 @@ class ListItem {
|
|
|
33095
33095
|
}; }
|
|
33096
33096
|
}
|
|
33097
33097
|
|
|
33098
|
-
const CSS$
|
|
33098
|
+
const CSS$t = {
|
|
33099
33099
|
container: "container",
|
|
33100
33100
|
heading: "heading",
|
|
33101
33101
|
};
|
|
@@ -33144,7 +33144,7 @@ class ListItemGroup {
|
|
|
33144
33144
|
// --------------------------------------------------------------------------
|
|
33145
33145
|
render() {
|
|
33146
33146
|
const { heading, visualLevel } = this;
|
|
33147
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
33147
|
+
return (hAsync(Host, null, hAsync("tr", { class: CSS$t.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$t.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })));
|
|
33148
33148
|
}
|
|
33149
33149
|
get el() { return getElement(this); }
|
|
33150
33150
|
static get style() { return listItemGroupCss; }
|
|
@@ -33244,6 +33244,349 @@ class Loader {
|
|
|
33244
33244
|
}; }
|
|
33245
33245
|
}
|
|
33246
33246
|
|
|
33247
|
+
const CSS$s = {
|
|
33248
|
+
container: "container",
|
|
33249
|
+
fill: "fill",
|
|
33250
|
+
stepLine: "step-line",
|
|
33251
|
+
label: "label",
|
|
33252
|
+
labelHidden: "label-hidden",
|
|
33253
|
+
labelRange: "label-range",
|
|
33254
|
+
labelValue: "label-value",
|
|
33255
|
+
unitLabel: "unit-label",
|
|
33256
|
+
stepsVisible: "steps-visible",
|
|
33257
|
+
valueVisible: "value-visible",
|
|
33258
|
+
success: "fill-success",
|
|
33259
|
+
warning: "fill-warning",
|
|
33260
|
+
danger: "fill-danger",
|
|
33261
|
+
};
|
|
33262
|
+
|
|
33263
|
+
const meterCss = "/*!@:host([disabled])*/[disabled].sc-calcite-meter-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-meter-h *.sc-calcite-meter,.sc-calcite-meter-h[disabled] .sc-calcite-meter-s>*{pointer-events:none}/*!@:host([hidden])*/[hidden].sc-calcite-meter-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-meter{display:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-meter-h[disabled] .sc-calcite-meter-s>[calcite-hydrated][disabled],[disabled].sc-calcite-meter-h [calcite-hydrated][disabled].sc-calcite-meter{opacity:1}/*!@:host*/.sc-calcite-meter-h{display:flex;--calcite-meter-space-internal:0.125rem;--calcite-meter-height-internal:1rem;--calcite-meter-font-size-internal:var(--calcite-font-size--1)}/*!@:host([scale=s])*/[scale=s].sc-calcite-meter-h{--calcite-meter-height-internal:0.75rem;--calcite-meter-font-size-internal:var(--calcite-font-size--2)}/*!@:host([scale=l])*/[scale=l].sc-calcite-meter-h{--calcite-meter-height-internal:1.5rem;--calcite-meter-font-size-internal:var(--calcite-font-size-0)}/*!@.container*/.container.sc-calcite-meter{position:relative;margin:0px;display:flex;inline-size:100%;align-items:center;block-size:var(--calcite-meter-height-internal);background-color:var(--calcite-ui-foreground-2);border:1px solid var(--calcite-ui-border-3);border-radius:var(--calcite-meter-height-internal)}/*!@.solid*/.solid.sc-calcite-meter{border:1px solid var(--calcite-ui-foreground-3);background-color:var(--calcite-ui-foreground-3)}/*!@.outline*/.outline.sc-calcite-meter{background-color:transparent}/*!@.value-visible*/.value-visible.sc-calcite-meter{margin-block-start:1.5rem}/*!@.steps-visible*/.steps-visible.sc-calcite-meter{margin-block-end:1.5rem}/*!@.step-line*/.step-line.sc-calcite-meter{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-meter-space-internal);background-color:var(--calcite-ui-border-3)}/*!@.label*/.label.sc-calcite-meter{position:absolute;font-size:var(--calcite-meter-font-size-internal)}/*!@.label-hidden*/.label-hidden.sc-calcite-meter{visibility:hidden;opacity:0}/*!@.label-value*/.label-value.sc-calcite-meter{inset-block-end:calc(100% + 0.5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}/*!@.label-range*/.label-range.sc-calcite-meter{color:var(--calcite-ui-text-3);inset-block-start:calc(100% + 0.5em)}/*!@.unit-label*/.unit-label.sc-calcite-meter{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3)}/*!@.label-value .unit-label*/.label-value.sc-calcite-meter .unit-label.sc-calcite-meter{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.fill*/.fill.sc-calcite-meter{position:absolute;z-index:var(--calcite-app-z-index);display:block;background-color:var(--calcite-ui-brand);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-inline-start:var(--calcite-meter-space-internal);inset-block:var(--calcite-meter-space-internal);border-radius:var(--calcite-meter-height-internal);max-inline-size:calc(100% - var(--calcite-meter-space-internal) * 2);min-inline-size:calc(var(--calcite-meter-height-internal) - var(--calcite-meter-space-internal) * 2);transition-property:inline-size, background-color, box-shadow}/*!@.fill-danger*/.fill-danger.sc-calcite-meter{background-color:var(--calcite-ui-danger)}/*!@.fill-success*/.fill-success.sc-calcite-meter{background-color:var(--calcite-ui-success)}/*!@.fill-warning*/.fill-warning.sc-calcite-meter{background-color:var(--calcite-ui-warning)}/*!@.solid .fill*/.solid.sc-calcite-meter .fill.sc-calcite-meter{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-meter-height-internal));box-shadow:0 0 0 1px var(--calcite-ui-brand)}/*!@.solid .fill-danger*/.solid.sc-calcite-meter .fill-danger.sc-calcite-meter{box-shadow:0 0 0 1px var(--calcite-ui-danger)}/*!@.solid .fill-success*/.solid.sc-calcite-meter .fill-success.sc-calcite-meter{box-shadow:0 0 0 1px var(--calcite-ui-success)}/*!@.solid .fill-warning*/.solid.sc-calcite-meter .fill-warning.sc-calcite-meter{box-shadow:0 0 0 1px var(--calcite-ui-warning)}";
|
|
33264
|
+
|
|
33265
|
+
class Meter {
|
|
33266
|
+
constructor(hostRef) {
|
|
33267
|
+
registerInstance(this, hostRef);
|
|
33268
|
+
this.labelFlipMax = 0.8;
|
|
33269
|
+
this.labelFlipProximity = 0.15;
|
|
33270
|
+
this.maxPercent = 100;
|
|
33271
|
+
this.minPercent = 0;
|
|
33272
|
+
this.resizeObserver = createObserver();
|
|
33273
|
+
this.formatLabel = (value, labelType) => {
|
|
33274
|
+
if (labelType === "percent") {
|
|
33275
|
+
if (!this.percentFormatting) {
|
|
33276
|
+
const locale = getSupportedLocale(this.effectiveLocale);
|
|
33277
|
+
const formatter = new Intl.NumberFormat(locale, {
|
|
33278
|
+
useGrouping: this.groupSeparator,
|
|
33279
|
+
style: "percent",
|
|
33280
|
+
});
|
|
33281
|
+
this.percentFormatting = { formatter, locale };
|
|
33282
|
+
}
|
|
33283
|
+
return this.percentFormatting.formatter.format(value);
|
|
33284
|
+
}
|
|
33285
|
+
else {
|
|
33286
|
+
numberStringFormatter.numberFormatOptions = {
|
|
33287
|
+
locale: this.effectiveLocale,
|
|
33288
|
+
numberingSystem: this.numberingSystem,
|
|
33289
|
+
useGrouping: this.groupSeparator,
|
|
33290
|
+
};
|
|
33291
|
+
return numberStringFormatter.localize(value.toString());
|
|
33292
|
+
}
|
|
33293
|
+
};
|
|
33294
|
+
this.appearance = "outline-fill";
|
|
33295
|
+
this.disabled = false;
|
|
33296
|
+
this.fillType = "range";
|
|
33297
|
+
this.form = undefined;
|
|
33298
|
+
this.groupSeparator = false;
|
|
33299
|
+
this.high = undefined;
|
|
33300
|
+
this.label = undefined;
|
|
33301
|
+
this.low = undefined;
|
|
33302
|
+
this.max = 100;
|
|
33303
|
+
this.min = 0;
|
|
33304
|
+
this.name = undefined;
|
|
33305
|
+
this.numberingSystem = undefined;
|
|
33306
|
+
this.rangeLabels = false;
|
|
33307
|
+
this.rangeLabelType = "percent";
|
|
33308
|
+
this.scale = "m";
|
|
33309
|
+
this.unitLabel = "";
|
|
33310
|
+
this.value = undefined;
|
|
33311
|
+
this.valueLabel = false;
|
|
33312
|
+
this.valueLabelType = "percent";
|
|
33313
|
+
this.currentPercent = undefined;
|
|
33314
|
+
this.effectiveLocale = undefined;
|
|
33315
|
+
this.highActive = undefined;
|
|
33316
|
+
this.highPercent = undefined;
|
|
33317
|
+
this.lowActive = undefined;
|
|
33318
|
+
this.lowPercent = undefined;
|
|
33319
|
+
}
|
|
33320
|
+
handleRangeChange() {
|
|
33321
|
+
this.calculateValues();
|
|
33322
|
+
this.updateLabels();
|
|
33323
|
+
}
|
|
33324
|
+
handleLabelChange() {
|
|
33325
|
+
this.updateLabels();
|
|
33326
|
+
}
|
|
33327
|
+
//--------------------------------------------------------------------------
|
|
33328
|
+
//
|
|
33329
|
+
// Lifecycle
|
|
33330
|
+
//
|
|
33331
|
+
//--------------------------------------------------------------------------
|
|
33332
|
+
async componentWillLoad() {
|
|
33333
|
+
setUpLoadableComponent(this);
|
|
33334
|
+
this.calculateValues();
|
|
33335
|
+
afterConnectDefaultValueSet(this, this.value);
|
|
33336
|
+
}
|
|
33337
|
+
componentDidLoad() {
|
|
33338
|
+
setComponentLoaded(this);
|
|
33339
|
+
this.updateLabels();
|
|
33340
|
+
}
|
|
33341
|
+
connectedCallback() {
|
|
33342
|
+
connectLocalized(this);
|
|
33343
|
+
connectForm(this);
|
|
33344
|
+
this.resizeObserver?.observe(this.el);
|
|
33345
|
+
}
|
|
33346
|
+
disconnectedCallback() {
|
|
33347
|
+
disconnectLocalized(this);
|
|
33348
|
+
disconnectForm(this);
|
|
33349
|
+
this.resizeObserver?.disconnect();
|
|
33350
|
+
}
|
|
33351
|
+
//--------------------------------------------------------------------------
|
|
33352
|
+
//
|
|
33353
|
+
// Private Methods
|
|
33354
|
+
//
|
|
33355
|
+
//--------------------------------------------------------------------------
|
|
33356
|
+
resizeHandler() {
|
|
33357
|
+
this.updateLabels();
|
|
33358
|
+
}
|
|
33359
|
+
updateLabels() {
|
|
33360
|
+
if (this.valueLabelEl) {
|
|
33361
|
+
this.determineValueLabelPosition();
|
|
33362
|
+
}
|
|
33363
|
+
if (this.rangeLabels) {
|
|
33364
|
+
this.determineVisibleLabels();
|
|
33365
|
+
}
|
|
33366
|
+
}
|
|
33367
|
+
calculateValues() {
|
|
33368
|
+
const { min, max, low, high, value } = this;
|
|
33369
|
+
const lowPercent = (100 * (low - min)) / (max - min);
|
|
33370
|
+
const highPercent = (100 * (high - min)) / (max - min);
|
|
33371
|
+
const currentPercent = (100 * (value - min)) / (max - min);
|
|
33372
|
+
if (!low || low < min || low > high || low > max) {
|
|
33373
|
+
this.low = min;
|
|
33374
|
+
}
|
|
33375
|
+
if (!high || high > max || high < low || high < min) {
|
|
33376
|
+
this.high = max;
|
|
33377
|
+
}
|
|
33378
|
+
if (!value) {
|
|
33379
|
+
this.value = min;
|
|
33380
|
+
}
|
|
33381
|
+
this.lowPercent = lowPercent;
|
|
33382
|
+
this.highPercent = highPercent;
|
|
33383
|
+
this.currentPercent = value ? currentPercent : 0;
|
|
33384
|
+
this.lowActive = !!low && low > min && (!value || low > value) && (!high || low < high);
|
|
33385
|
+
this.highActive =
|
|
33386
|
+
!!high && min <= high && high < max && (!value || high > value) && (!low || high > low);
|
|
33387
|
+
}
|
|
33388
|
+
getMeterKindCssClass() {
|
|
33389
|
+
const { low, high, min, max, value } = this;
|
|
33390
|
+
const lowest = low ? low : min;
|
|
33391
|
+
const highest = high ? high : max;
|
|
33392
|
+
const aboveLowest = value >= lowest;
|
|
33393
|
+
const belowLowest = value < lowest;
|
|
33394
|
+
const aboveHighest = value >= highest;
|
|
33395
|
+
const belowHighest = value < highest;
|
|
33396
|
+
if (!value || (!low && belowHighest) || belowLowest) {
|
|
33397
|
+
return CSS$s.success;
|
|
33398
|
+
}
|
|
33399
|
+
else if (aboveLowest && belowHighest) {
|
|
33400
|
+
return CSS$s.warning;
|
|
33401
|
+
}
|
|
33402
|
+
else if (aboveHighest) {
|
|
33403
|
+
return CSS$s.danger;
|
|
33404
|
+
}
|
|
33405
|
+
else {
|
|
33406
|
+
return CSS$s.success;
|
|
33407
|
+
}
|
|
33408
|
+
}
|
|
33409
|
+
intersects(el1, el2) {
|
|
33410
|
+
return el1 && el2 && intersects(el1.getBoundingClientRect(), el2.getBoundingClientRect());
|
|
33411
|
+
}
|
|
33412
|
+
determineVisibleLabels() {
|
|
33413
|
+
const { minLabelEl, lowLabelEl, highLabelEl, maxLabelEl } = this;
|
|
33414
|
+
const highMaxOverlap = this.intersects(highLabelEl, maxLabelEl);
|
|
33415
|
+
const lowHighOverlap = this.intersects(lowLabelEl, highLabelEl);
|
|
33416
|
+
const lowMaxOverlap = this.intersects(lowLabelEl, maxLabelEl);
|
|
33417
|
+
const minHighOverlap = this.intersects(minLabelEl, highLabelEl);
|
|
33418
|
+
const minLowOverlap = this.intersects(minLabelEl, lowLabelEl);
|
|
33419
|
+
const minMaxOverlap = this.intersects(minLabelEl, maxLabelEl);
|
|
33420
|
+
const hiddenClass = CSS$s.labelHidden;
|
|
33421
|
+
if (lowLabelEl) {
|
|
33422
|
+
if (minLowOverlap || lowMaxOverlap || lowHighOverlap) {
|
|
33423
|
+
lowLabelEl.classList.add(hiddenClass);
|
|
33424
|
+
}
|
|
33425
|
+
else {
|
|
33426
|
+
lowLabelEl.classList.remove(hiddenClass);
|
|
33427
|
+
}
|
|
33428
|
+
}
|
|
33429
|
+
if (highLabelEl) {
|
|
33430
|
+
if (minHighOverlap || lowMaxOverlap || highMaxOverlap) {
|
|
33431
|
+
highLabelEl.classList.add(hiddenClass);
|
|
33432
|
+
}
|
|
33433
|
+
else {
|
|
33434
|
+
highLabelEl.classList.remove(hiddenClass);
|
|
33435
|
+
}
|
|
33436
|
+
}
|
|
33437
|
+
if (minLabelEl && maxLabelEl) {
|
|
33438
|
+
if (minMaxOverlap) {
|
|
33439
|
+
maxLabelEl.classList.add(hiddenClass);
|
|
33440
|
+
}
|
|
33441
|
+
else {
|
|
33442
|
+
maxLabelEl.classList.remove(hiddenClass);
|
|
33443
|
+
}
|
|
33444
|
+
}
|
|
33445
|
+
}
|
|
33446
|
+
determineValueLabelPosition() {
|
|
33447
|
+
const { valueLabelEl, meterContainerEl, currentPercent } = this;
|
|
33448
|
+
const valuePosition = currentPercent > 100 ? 100 : currentPercent > 0 ? currentPercent : 0;
|
|
33449
|
+
const valueLabelWidth = valueLabelEl.getBoundingClientRect().width;
|
|
33450
|
+
const containerWidth = meterContainerEl.getBoundingClientRect().width;
|
|
33451
|
+
const labelWidthPercent = (100 * (valueLabelWidth - 0)) / (containerWidth - 0);
|
|
33452
|
+
if (valuePosition + labelWidthPercent >= 100) {
|
|
33453
|
+
valueLabelEl.style.insetInlineEnd = "0%";
|
|
33454
|
+
valueLabelEl.style.removeProperty("inset-inline-start");
|
|
33455
|
+
}
|
|
33456
|
+
else {
|
|
33457
|
+
valueLabelEl.style.insetInlineStart = `${valuePosition}% `;
|
|
33458
|
+
valueLabelEl.style.removeProperty("inset-inline-end");
|
|
33459
|
+
}
|
|
33460
|
+
}
|
|
33461
|
+
//--------------------------------------------------------------------------
|
|
33462
|
+
//
|
|
33463
|
+
// Render Methods
|
|
33464
|
+
//
|
|
33465
|
+
//--------------------------------------------------------------------------
|
|
33466
|
+
renderMeterFill() {
|
|
33467
|
+
const { currentPercent, fillType } = this;
|
|
33468
|
+
const kindClass = this.getMeterKindCssClass();
|
|
33469
|
+
return (hAsync("div", { class: { [CSS$s.fill]: true, [kindClass]: fillType !== "single" }, style: { width: `${currentPercent}%` } }));
|
|
33470
|
+
}
|
|
33471
|
+
renderRangeLine(position) {
|
|
33472
|
+
const style = { insetInlineStart: `${position}%` };
|
|
33473
|
+
return hAsync("div", { class: CSS$s.stepLine, style: style });
|
|
33474
|
+
}
|
|
33475
|
+
renderValueLabel() {
|
|
33476
|
+
const { currentPercent, valueLabelType, unitLabel, value } = this;
|
|
33477
|
+
const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
|
|
33478
|
+
return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelValue]: true }, key: "low-label-line",
|
|
33479
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33480
|
+
ref: (el) => (this.valueLabelEl = el) }, label, unitLabel && valueLabelType !== "percent" && (hAsync("span", { class: CSS$s.unitLabel }, "\u00A0", unitLabel))));
|
|
33481
|
+
}
|
|
33482
|
+
renderMinLabel() {
|
|
33483
|
+
const { rangeLabelType, min, minPercent, unitLabel } = this;
|
|
33484
|
+
const style = { insetInlineStart: `${minPercent}%` };
|
|
33485
|
+
const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
|
|
33486
|
+
return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "min-label-line", style: style,
|
|
33487
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33488
|
+
ref: (el) => (this.minLabelEl = el) }, labelMin, unitLabel && rangeLabelType !== "percent" && (hAsync("span", { class: CSS$s.unitLabel }, "\u00A0", unitLabel))));
|
|
33489
|
+
}
|
|
33490
|
+
renderLowLabel() {
|
|
33491
|
+
const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
|
|
33492
|
+
const label = low
|
|
33493
|
+
? this.formatLabel(rangeLabelType === "percent" ? lowPercent / 100 : low, rangeLabelType)
|
|
33494
|
+
: "";
|
|
33495
|
+
const styleDefault = { insetInlineStart: `${lowPercent}%` };
|
|
33496
|
+
const styleFlipped = { insetInlineEnd: `${100 - lowPercent}%` };
|
|
33497
|
+
const style = (highPercent - lowPercent) / 100 < labelFlipProximity ? styleFlipped : styleDefault;
|
|
33498
|
+
return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "low-label-line", style: style,
|
|
33499
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33500
|
+
ref: (el) => (this.lowLabelEl = el) }, label));
|
|
33501
|
+
}
|
|
33502
|
+
renderHighLabel() {
|
|
33503
|
+
const { rangeLabelType, high, highPercent, labelFlipMax } = this;
|
|
33504
|
+
const label = high
|
|
33505
|
+
? this.formatLabel(rangeLabelType === "percent" ? highPercent / 100 : high, rangeLabelType)
|
|
33506
|
+
: "";
|
|
33507
|
+
const styleDefault = { insetInlineStart: `${highPercent}%` };
|
|
33508
|
+
const styleFlipped = { insetInlineEnd: `${100 - highPercent}%` };
|
|
33509
|
+
const style = highPercent / 100 >= labelFlipMax ? styleFlipped : styleDefault;
|
|
33510
|
+
return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "high-label-line", style: style,
|
|
33511
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33512
|
+
ref: (el) => (this.highLabelEl = el) }, label));
|
|
33513
|
+
}
|
|
33514
|
+
renderMaxLabel() {
|
|
33515
|
+
const { rangeLabelType, max, maxPercent } = this;
|
|
33516
|
+
const style = { insetInlineEnd: `${100 - maxPercent}%` };
|
|
33517
|
+
const labelMax = this.formatLabel(rangeLabelType === "percent" ? maxPercent / 100 : max, rangeLabelType);
|
|
33518
|
+
return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "max-label-line", style: style,
|
|
33519
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33520
|
+
ref: (el) => (this.maxLabelEl = el) }, labelMax));
|
|
33521
|
+
}
|
|
33522
|
+
render() {
|
|
33523
|
+
const { appearance, currentPercent, highActive, highPercent, label, lowActive, lowPercent, max, maxPercent, min, minPercent, rangeLabels, rangeLabelType, unitLabel, value, valueLabel, valueLabelType, } = this;
|
|
33524
|
+
const textPercentLabelWithPercent = this.formatLabel(currentPercent / 100, "percent");
|
|
33525
|
+
const textUnitLabel = `${value} ${unitLabel}`;
|
|
33526
|
+
const valueText = valueLabelType === "percent"
|
|
33527
|
+
? textPercentLabelWithPercent
|
|
33528
|
+
: unitLabel
|
|
33529
|
+
? textUnitLabel
|
|
33530
|
+
: undefined;
|
|
33531
|
+
return (hAsync(Host, null, hAsync("div", { "aria-label": label, "aria-valuemax": rangeLabelType === "percent" ? maxPercent : max, "aria-valuemin": rangeLabelType === "percent" ? minPercent : min, "aria-valuenow": valueLabelType === "percent" ? currentPercent : value, "aria-valuetext": valueText, class: {
|
|
33532
|
+
[CSS$s.container]: true,
|
|
33533
|
+
[CSS$s.stepsVisible]: rangeLabels,
|
|
33534
|
+
[CSS$s.valueVisible]: valueLabel,
|
|
33535
|
+
[appearance]: appearance !== "outline-fill",
|
|
33536
|
+
}, role: "meter",
|
|
33537
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
33538
|
+
ref: (el) => (this.meterContainerEl = el) }, this.renderMeterFill(), valueLabel && this.renderValueLabel(), lowActive && this.renderRangeLine(lowPercent), highActive && this.renderRangeLine(highPercent), rangeLabels && this.renderMinLabel(), rangeLabels && lowActive && this.renderLowLabel(), rangeLabels && highActive && this.renderHighLabel(), rangeLabels && this.renderMaxLabel())));
|
|
33539
|
+
}
|
|
33540
|
+
get el() { return getElement(this); }
|
|
33541
|
+
static get watchers() { return {
|
|
33542
|
+
"min": ["handleRangeChange"],
|
|
33543
|
+
"max": ["handleRangeChange"],
|
|
33544
|
+
"low": ["handleRangeChange"],
|
|
33545
|
+
"high": ["handleRangeChange"],
|
|
33546
|
+
"value": ["handleRangeChange"],
|
|
33547
|
+
"rangeLabels": ["handleLabelChange"],
|
|
33548
|
+
"rangeLabelType": ["handleLabelChange"],
|
|
33549
|
+
"unitLabel": ["handleLabelChange"],
|
|
33550
|
+
"valueLabel": ["handleLabelChange"],
|
|
33551
|
+
"valueLabelType": ["handleLabelChange"]
|
|
33552
|
+
}; }
|
|
33553
|
+
static get style() { return meterCss; }
|
|
33554
|
+
static get cmpMeta() { return {
|
|
33555
|
+
"$flags$": 9,
|
|
33556
|
+
"$tagName$": "calcite-meter",
|
|
33557
|
+
"$members$": {
|
|
33558
|
+
"appearance": [513],
|
|
33559
|
+
"disabled": [516],
|
|
33560
|
+
"fillType": [513, "fill-type"],
|
|
33561
|
+
"form": [513],
|
|
33562
|
+
"groupSeparator": [516, "group-separator"],
|
|
33563
|
+
"high": [1538],
|
|
33564
|
+
"label": [1],
|
|
33565
|
+
"low": [1538],
|
|
33566
|
+
"max": [514],
|
|
33567
|
+
"min": [514],
|
|
33568
|
+
"name": [513],
|
|
33569
|
+
"numberingSystem": [1, "numbering-system"],
|
|
33570
|
+
"rangeLabels": [516, "range-labels"],
|
|
33571
|
+
"rangeLabelType": [513, "range-label-type"],
|
|
33572
|
+
"scale": [513],
|
|
33573
|
+
"unitLabel": [1, "unit-label"],
|
|
33574
|
+
"value": [1026],
|
|
33575
|
+
"valueLabel": [516, "value-label"],
|
|
33576
|
+
"valueLabelType": [513, "value-label-type"],
|
|
33577
|
+
"currentPercent": [32],
|
|
33578
|
+
"effectiveLocale": [32],
|
|
33579
|
+
"highActive": [32],
|
|
33580
|
+
"highPercent": [32],
|
|
33581
|
+
"lowActive": [32],
|
|
33582
|
+
"lowPercent": [32]
|
|
33583
|
+
},
|
|
33584
|
+
"$listeners$": undefined,
|
|
33585
|
+
"$lazyBundleId$": "-",
|
|
33586
|
+
"$attrsToReflect$": [["appearance", "appearance"], ["disabled", "disabled"], ["fillType", "fill-type"], ["form", "form"], ["groupSeparator", "group-separator"], ["high", "high"], ["low", "low"], ["max", "max"], ["min", "min"], ["name", "name"], ["rangeLabels", "range-labels"], ["rangeLabelType", "range-label-type"], ["scale", "scale"], ["valueLabel", "value-label"], ["valueLabelType", "value-label-type"]]
|
|
33587
|
+
}; }
|
|
33588
|
+
}
|
|
33589
|
+
|
|
33247
33590
|
const CSS$r = {
|
|
33248
33591
|
modal: "modal",
|
|
33249
33592
|
title: "title",
|
|
@@ -34280,22 +34623,22 @@ class Panel {
|
|
|
34280
34623
|
// --------------------------------------------------------------------------
|
|
34281
34624
|
renderHeaderContent() {
|
|
34282
34625
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
34283
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
34284
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
34285
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
34626
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$H.heading, level: headingLevel }, heading)) : null;
|
|
34627
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$H.description }, description) : null;
|
|
34628
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$H.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
34286
34629
|
}
|
|
34287
34630
|
renderActionBar() {
|
|
34288
|
-
return (hAsync("div", { class: CSS$
|
|
34631
|
+
return (hAsync("div", { class: CSS$H.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$m.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
34289
34632
|
}
|
|
34290
34633
|
/**
|
|
34291
34634
|
* Allows user to override the entire header-content node.
|
|
34292
34635
|
*/
|
|
34293
34636
|
renderHeaderSlottedContent() {
|
|
34294
|
-
return (hAsync("div", { class: CSS$
|
|
34637
|
+
return (hAsync("div", { class: CSS$H.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$m.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
34295
34638
|
}
|
|
34296
34639
|
renderHeaderStartActions() {
|
|
34297
34640
|
const { hasStartActions } = this;
|
|
34298
|
-
return (hAsync("div", { class: { [CSS$
|
|
34641
|
+
return (hAsync("div", { class: { [CSS$H.headerActionsStart]: true, [CSS$H.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$m.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
34299
34642
|
}
|
|
34300
34643
|
renderHeaderActionsEnd() {
|
|
34301
34644
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -34305,7 +34648,7 @@ class Panel {
|
|
|
34305
34648
|
ref: this.setCloseRef })) : null;
|
|
34306
34649
|
const slotNode = (hAsync("slot", { name: SLOTS$m.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
34307
34650
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
34308
|
-
return (hAsync("div", { class: { [CSS$
|
|
34651
|
+
return (hAsync("div", { class: { [CSS$H.headerActionsEnd]: true, [CSS$H.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
34309
34652
|
}
|
|
34310
34653
|
renderMenu() {
|
|
34311
34654
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -34321,24 +34664,24 @@ class Panel {
|
|
|
34321
34664
|
closable ||
|
|
34322
34665
|
hasMenuItems;
|
|
34323
34666
|
this.showHeaderContent = showHeaderContent;
|
|
34324
|
-
return (hAsync("header", { class: CSS$
|
|
34667
|
+
return (hAsync("header", { class: CSS$H.header, hidden: !(showHeaderContent || hasActionBar) }, hAsync("div", { class: { [CSS$H.headerContainer]: true, [CSS$H.headerContainerBorderEnd]: hasActionBar }, hidden: !showHeaderContent }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()), this.renderActionBar()));
|
|
34325
34668
|
}
|
|
34326
34669
|
renderFooterNode() {
|
|
34327
34670
|
const { hasFooterContent, hasFooterActions } = this;
|
|
34328
34671
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
34329
|
-
return (hAsync("footer", { class: CSS$
|
|
34672
|
+
return (hAsync("footer", { class: CSS$H.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$m.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$m.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
34330
34673
|
}
|
|
34331
34674
|
renderContent() {
|
|
34332
|
-
return (hAsync("div", { class: CSS$
|
|
34675
|
+
return (hAsync("div", { class: CSS$H.contentWrapper, onScroll: this.panelScrollHandler,
|
|
34333
34676
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34334
34677
|
ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
|
|
34335
34678
|
}
|
|
34336
34679
|
renderFab() {
|
|
34337
|
-
return (hAsync("div", { class: CSS$
|
|
34680
|
+
return (hAsync("div", { class: CSS$H.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$m.fab, onSlotchange: this.handleFabSlotChange })));
|
|
34338
34681
|
}
|
|
34339
34682
|
render() {
|
|
34340
34683
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
34341
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
34684
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$H.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
34342
34685
|
// eslint-disable-next-line react/jsx-sort-props
|
|
34343
34686
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
34344
34687
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -38813,25 +39156,25 @@ class Stack {
|
|
|
38813
39156
|
// --------------------------------------------------------------------------
|
|
38814
39157
|
renderActionsStart() {
|
|
38815
39158
|
const { hasActionsStart } = this;
|
|
38816
|
-
return (hAsync("div", { class: CSS$
|
|
39159
|
+
return (hAsync("div", { class: CSS$u.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$f.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
38817
39160
|
}
|
|
38818
39161
|
renderActionsEnd() {
|
|
38819
39162
|
const { hasActionsEnd } = this;
|
|
38820
|
-
return (hAsync("div", { class: CSS$
|
|
39163
|
+
return (hAsync("div", { class: CSS$u.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$f.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
38821
39164
|
}
|
|
38822
39165
|
renderContentStart() {
|
|
38823
39166
|
const { hasContentStart } = this;
|
|
38824
|
-
return (hAsync("div", { class: CSS$
|
|
39167
|
+
return (hAsync("div", { class: CSS$u.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$f.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
38825
39168
|
}
|
|
38826
39169
|
renderDefaultContent() {
|
|
38827
|
-
return (hAsync("div", { class: CSS$
|
|
39170
|
+
return (hAsync("div", { class: CSS$u.content }, hAsync("slot", null)));
|
|
38828
39171
|
}
|
|
38829
39172
|
renderContentEnd() {
|
|
38830
39173
|
const { hasContentEnd } = this;
|
|
38831
|
-
return (hAsync("div", { class: CSS$
|
|
39174
|
+
return (hAsync("div", { class: CSS$u.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$f.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
38832
39175
|
}
|
|
38833
39176
|
render() {
|
|
38834
|
-
return (hAsync(Host, null, hAsync("div", { class: CSS$
|
|
39177
|
+
return (hAsync(Host, null, hAsync("div", { class: CSS$u.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
|
|
38835
39178
|
}
|
|
38836
39179
|
static get style() { return stackCss; }
|
|
38837
39180
|
static get cmpMeta() { return {
|
|
@@ -43375,6 +43718,7 @@ registerComponents([
|
|
|
43375
43718
|
ListItem,
|
|
43376
43719
|
ListItemGroup,
|
|
43377
43720
|
Loader,
|
|
43721
|
+
Meter,
|
|
43378
43722
|
Modal,
|
|
43379
43723
|
Notice,
|
|
43380
43724
|
Option,
|