@esri/calcite-components 1.4.1 → 1.4.2
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-c4e0424c.entry.js → p-00790455.entry.js} +2 -2
- package/dist/calcite/{p-abffec14.js → p-00a8dd9d.js} +2 -2
- package/dist/calcite/{p-9697eb10.entry.js → p-013b2d4a.entry.js} +2 -2
- package/dist/calcite/{p-d5fe6380.js → p-0308041b.js} +2 -2
- package/dist/calcite/{p-b284ef4b.entry.js → p-03138b81.entry.js} +2 -2
- package/dist/calcite/{p-43ac5401.entry.js → p-069ea8a2.entry.js} +2 -2
- package/dist/calcite/{p-a5c82b2e.entry.js → p-06f37213.entry.js} +2 -2
- package/dist/calcite/p-0e0a2367.entry.js +6 -0
- package/dist/calcite/{p-01e874c1.entry.js → p-0f63bd53.entry.js} +2 -2
- package/dist/calcite/{p-839758a8.entry.js → p-101195c2.entry.js} +2 -2
- package/dist/calcite/p-115c0227.js +6 -0
- package/dist/calcite/{p-61eda196.entry.js → p-11a286b8.entry.js} +2 -2
- package/dist/calcite/{p-fac22eee.entry.js → p-12fefa52.entry.js} +2 -2
- package/dist/calcite/{p-0c6d91c9.js → p-133ca439.js} +2 -2
- package/dist/calcite/{p-e912f111.js → p-172326d0.js} +2 -2
- package/dist/calcite/{p-8b8f7b1d.js → p-1b3b6582.js} +2 -2
- package/dist/calcite/{p-e7e90607.entry.js → p-1c1655c5.entry.js} +2 -2
- package/dist/calcite/{p-e2d5753c.js → p-1e9071ba.js} +2 -2
- package/dist/calcite/p-2080826e.js +6 -0
- package/dist/calcite/{p-6e25e2ea.js → p-2177e9ac.js} +2 -2
- package/dist/calcite/{p-fde2d644.js → p-22a9a74e.js} +1 -1
- package/dist/calcite/{p-bfdac4a2.js → p-237e44aa.js} +2 -2
- package/dist/calcite/{p-37970b0e.entry.js → p-247b1466.entry.js} +2 -2
- package/dist/calcite/{p-0d894a19.js → p-24cd5b7f.js} +2 -2
- package/dist/calcite/{p-749ac469.js → p-27342981.js} +2 -2
- package/dist/calcite/{p-4cdba9df.js → p-285fbba6.js} +1 -1
- package/dist/calcite/{p-a1cbd1a9.js → p-2d071145.js} +1 -1
- package/dist/calcite/p-2e116d32.entry.js +6 -0
- package/dist/calcite/{p-594bab45.entry.js → p-2e88e68d.entry.js} +2 -2
- package/dist/calcite/{p-70c7db0e.entry.js → p-2ef58571.entry.js} +2 -2
- package/dist/calcite/{p-984c334b.js → p-2eff1e51.js} +2 -2
- package/dist/calcite/{p-ae1a4122.js → p-33ea8d93.js} +2 -2
- package/dist/calcite/{p-37ba4dd8.entry.js → p-354e4ef4.entry.js} +2 -2
- package/dist/calcite/{p-25fcfc85.entry.js → p-367d3808.entry.js} +2 -2
- package/dist/calcite/{p-ec3ed824.js → p-389386f6.js} +1 -1
- package/dist/calcite/{p-92191a81.js → p-39977b4d.js} +1 -1
- package/dist/calcite/{p-e6381186.entry.js → p-3a6b7efe.entry.js} +2 -2
- package/dist/calcite/{p-2702c758.entry.js → p-3debcf20.entry.js} +2 -2
- package/dist/calcite/{p-a2154647.entry.js → p-3ee0cb1b.entry.js} +2 -2
- package/dist/calcite/{p-678f2914.js → p-3f66b439.js} +2 -2
- package/dist/calcite/{p-2c4b0244.js → p-40c57458.js} +2 -2
- package/dist/calcite/{p-a18fc908.entry.js → p-4278d027.entry.js} +2 -2
- package/dist/calcite/{p-380240f0.entry.js → p-44f12a81.entry.js} +2 -2
- package/dist/calcite/{p-071bdc56.entry.js → p-4605c846.entry.js} +2 -2
- package/dist/calcite/{p-e23fd6e1.entry.js → p-4b6391df.entry.js} +2 -2
- package/dist/calcite/{p-9e142e50.entry.js → p-4cc3115e.entry.js} +2 -2
- package/dist/calcite/{p-845f75f1.js → p-4d2731b3.js} +1 -1
- package/dist/calcite/{p-e554a646.js → p-501153dd.js} +2 -2
- package/dist/calcite/{p-84981eac.entry.js → p-543597ee.entry.js} +2 -2
- package/dist/calcite/{p-0a297962.js → p-554e5da4.js} +2 -2
- package/dist/calcite/{p-812144f3.entry.js → p-572c509b.entry.js} +2 -2
- package/dist/calcite/{p-d1216e09.entry.js → p-57c66172.entry.js} +2 -2
- package/dist/calcite/{p-dc45eaba.entry.js → p-59416f00.entry.js} +2 -2
- package/dist/calcite/{p-8fbd202f.entry.js → p-59c98d58.entry.js} +2 -2
- package/dist/calcite/{p-d0b215af.js → p-5be142ca.js} +2 -2
- package/dist/calcite/p-5ea53b92.js +6 -0
- package/dist/calcite/{p-f2ff3023.js → p-5f7f7ca1.js} +2 -2
- package/dist/calcite/{p-1fe13796.entry.js → p-609052a8.entry.js} +2 -2
- package/dist/calcite/{p-c2f90370.entry.js → p-60f84f41.entry.js} +2 -2
- package/dist/calcite/{p-c3c77b0d.entry.js → p-634f5bf4.entry.js} +2 -2
- package/dist/calcite/{p-89b987ba.entry.js → p-64f07210.entry.js} +2 -2
- package/dist/calcite/{p-e9b356f3.js → p-673799a9.js} +2 -2
- package/dist/calcite/{p-50718dd6.js → p-68e49790.js} +2 -2
- package/dist/calcite/{p-cdc21752.entry.js → p-69d32c7b.entry.js} +2 -2
- package/dist/calcite/{p-0c95b457.js → p-6a3c6f39.js} +2 -2
- package/dist/calcite/{p-f348cf0a.entry.js → p-72f361b8.entry.js} +2 -2
- package/dist/calcite/{p-5b3da5de.js → p-74001bcd.js} +2 -2
- package/dist/calcite/{p-95cb2fac.js → p-74575ef2.js} +2 -2
- package/dist/calcite/{p-afe4df24.js → p-763965a3.js} +2 -2
- package/dist/calcite/{p-9e46c1ab.js → p-779ecabd.js} +2 -2
- package/dist/calcite/{p-88acc543.js → p-78011571.js} +1 -1
- package/dist/calcite/{p-308d5da6.js → p-78c9777b.js} +2 -2
- package/dist/calcite/{p-6e1ee7e1.js → p-799c0045.js} +2 -2
- package/dist/calcite/{p-0d4f8112.js → p-7dad74fd.js} +2 -2
- package/dist/calcite/{p-4caac9db.js → p-7e535127.js} +2 -2
- package/dist/calcite/{p-56658c4f.js → p-7e72a511.js} +2 -2
- package/dist/calcite/{p-5a22d9cf.js → p-83f6634c.js} +2 -2
- package/dist/calcite/{p-d649df6a.js → p-945fb3ae.js} +2 -2
- package/dist/calcite/{p-d60423c5.js → p-94de6271.js} +2 -2
- package/dist/calcite/{p-06c13db2.js → p-98e1c783.js} +1 -1
- package/dist/calcite/{p-31c920cb.js → p-9a5417d3.js} +2 -2
- package/dist/calcite/{p-b654a36b.js → p-a0089908.js} +2 -2
- package/dist/calcite/{p-d1378815.js → p-a03ec15b.js} +1 -1
- package/dist/calcite/{p-3fa7af60.entry.js → p-a040948e.entry.js} +2 -2
- package/dist/calcite/{p-e7d68310.js → p-a1955c59.js} +1 -1
- package/dist/calcite/{p-3d42178f.entry.js → p-a202b9ee.entry.js} +2 -2
- package/dist/calcite/{p-d55cb4c0.entry.js → p-a24cd246.entry.js} +2 -2
- package/dist/calcite/{p-b0c83e62.entry.js → p-a2808561.entry.js} +2 -2
- package/dist/calcite/{p-54c5dfb6.js → p-a4c9b8fd.js} +1 -1
- package/dist/calcite/{p-31c9dfb6.entry.js → p-ae51b48b.entry.js} +2 -2
- package/dist/calcite/{p-19409051.entry.js → p-b01690ca.entry.js} +2 -2
- package/dist/calcite/{p-4e029101.js → p-b3c2ab53.js} +2 -2
- package/dist/calcite/{p-181d2e3f.entry.js → p-b627ad2a.entry.js} +2 -2
- package/dist/calcite/{p-5d6cce6b.entry.js → p-b92bbd4a.entry.js} +2 -2
- package/dist/calcite/p-bc6b3bb8.js +6 -0
- package/dist/calcite/{p-bbcbc0f8.entry.js → p-bd5f077b.entry.js} +2 -2
- package/dist/calcite/{p-4d1af87a.entry.js → p-be0513cd.entry.js} +2 -2
- package/dist/calcite/{p-1b8ed62c.entry.js → p-be41db37.entry.js} +2 -2
- package/dist/calcite/{p-2ccd6a6d.js → p-be9fd2c2.js} +2 -2
- package/dist/calcite/{p-ebb6fdfb.entry.js → p-bfe9bfab.entry.js} +2 -2
- package/dist/calcite/{p-9f89b78c.entry.js → p-c18723cf.entry.js} +2 -2
- package/dist/calcite/{p-559da6d6.js → p-c253619c.js} +1 -1
- package/dist/calcite/p-c3031ca2.entry.js +6 -0
- package/dist/calcite/{p-bfa7ffde.js → p-c35be38d.js} +2 -2
- package/dist/calcite/{p-b3447af4.js → p-c4c24573.js} +2 -2
- package/dist/calcite/{p-b769ba30.entry.js → p-c4e7dfca.entry.js} +2 -2
- package/dist/calcite/{p-ae53c8de.js → p-c56798dd.js} +2 -2
- package/dist/calcite/{p-10b17683.js → p-c569464b.js} +1 -1
- package/dist/calcite/{p-de152602.js → p-c8d5a2a3.js} +2 -2
- package/dist/calcite/{p-bd52011a.js → p-c9f80e6a.js} +2 -2
- package/dist/calcite/{p-2864055e.js → p-cd00e8f2.js} +2 -2
- package/dist/calcite/{p-11c401cf.js → p-d22212fe.js} +2 -2
- package/dist/calcite/{p-562e4782.js → p-d29d43d3.js} +1 -1
- package/dist/calcite/{p-ac308629.entry.js → p-d3be21af.entry.js} +2 -2
- package/dist/calcite/{p-e3d07a64.js → p-d3c3e371.js} +2 -2
- package/dist/calcite/{p-c4ed755d.js → p-d5e57022.js} +2 -2
- package/dist/calcite/{p-cb2c0c03.entry.js → p-d6109c6c.entry.js} +2 -2
- package/dist/calcite/{p-668d2439.js → p-d945f703.js} +2 -2
- package/dist/calcite/{p-2bd86c99.entry.js → p-dabdade2.entry.js} +2 -2
- package/dist/calcite/{p-e3a9746f.js → p-daee4d92.js} +2 -2
- package/dist/calcite/{p-4a4abf97.js → p-dc053777.js} +2 -2
- package/dist/calcite/{p-e652b346.js → p-dc94e15c.js} +2 -2
- package/dist/calcite/{p-1b4aa0cc.entry.js → p-dcb3c519.entry.js} +2 -2
- package/dist/calcite/{p-08e2fd51.entry.js → p-ddaa751a.entry.js} +2 -2
- package/dist/calcite/p-ddedfc6d.entry.js +6 -0
- package/dist/calcite/{p-7a9cf80b.entry.js → p-df4b4088.entry.js} +2 -2
- package/dist/calcite/{p-54b8951d.entry.js → p-df67905f.entry.js} +2 -2
- package/dist/calcite/p-e069041f.entry.js +6 -0
- package/dist/calcite/{p-819ba7bb.js → p-e0f15d2c.js} +2 -2
- package/dist/calcite/{p-d3733c8f.js → p-e158178b.js} +2 -2
- package/dist/calcite/{p-5831e19c.entry.js → p-e419ab47.entry.js} +2 -2
- package/dist/calcite/{p-b2b631fd.js → p-e55caad6.js} +2 -2
- package/dist/calcite/{p-d8b89fda.js → p-e6f9457f.js} +2 -2
- package/dist/calcite/{p-544ff286.js → p-e998e935.js} +2 -2
- package/dist/calcite/{p-57be5b5e.entry.js → p-e99c9e2c.entry.js} +2 -2
- package/dist/calcite/p-e99e65f9.js +6 -0
- package/dist/calcite/{p-9c182fda.entry.js → p-ea41bef8.entry.js} +2 -2
- package/dist/calcite/{p-a9fa2600.js → p-eaffbd1a.js} +2 -2
- package/dist/calcite/{p-032f5190.js → p-eb73cef9.js} +2 -2
- package/dist/calcite/{p-0b397f9f.js → p-ebb4786a.js} +1 -1
- package/dist/calcite/{p-722d93a4.js → p-ede9768e.js} +2 -2
- package/dist/calcite/{p-365e0f8d.js → p-eee70ca5.js} +2 -2
- package/dist/calcite/{p-4bdbcff5.entry.js → p-f1f1cd3b.entry.js} +2 -2
- package/dist/calcite/{p-c71201b0.js → p-f277f2bc.js} +1 -1
- package/dist/calcite/{p-35628b12.entry.js → p-f29e5d4f.entry.js} +2 -2
- package/dist/calcite/{p-32bec44b.js → p-f69a3dec.js} +2 -2
- package/dist/calcite/{p-2e3b17cc.js → p-f83b2594.js} +2 -2
- package/dist/calcite/p-f8e22aa2.js +6 -0
- package/dist/calcite/{p-79885e38.js → p-fb260dcd.js} +2 -2
- package/dist/cjs/{ExpandToggle-931c80ec.js → ExpandToggle-7230edbd.js} +5 -5
- package/dist/cjs/{FloatingArrow-f38b77cd.js → FloatingArrow-23795f0b.js} +2 -2
- package/dist/cjs/{Heading-3e972af9.js → Heading-1b3ab283.js} +2 -2
- package/dist/cjs/{app-globals-2b6a3b87.js → app-globals-c1d77778.js} +2 -2
- package/dist/cjs/{ar-4a985779.js → ar-f16b47f4.js} +15 -15
- package/dist/cjs/{array-4e16cc42.js → array-91e93660.js} +1 -1
- package/dist/cjs/{bg-b5424c77.js → bg-d8902ad6.js} +15 -15
- package/dist/cjs/{bs-772761b8.js → bs-95fc59bd.js} +15 -15
- package/dist/cjs/{ca-d6d22273.js → ca-50cd05bf.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 +12 -12
- 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 +3 -3
- 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 +18 -18
- 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-431c9906.js → calcite-input-time-picker.calcite-time-picker-81969075.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- 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 +15 -15
- 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-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 +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- 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 +5 -5
- 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 +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{composed-offset-position.esm-d4133940.js → composed-offset-position.esm-d4c4158c.js} +1 -1
- package/dist/cjs/{conditionalSlot-5cbc1594.js → conditionalSlot-2bb8a996.js} +3 -3
- package/dist/cjs/{cs-11d99784.js → cs-577ded74.js} +15 -15
- package/dist/cjs/{da-602a9c0a.js → da-a298646c.js} +15 -15
- package/dist/cjs/{de-a1331ffa.js → de-a034c348.js} +15 -15
- package/dist/cjs/{de-at-480f2c7a.js → de-at-424bf1a8.js} +15 -15
- package/dist/cjs/{de-ch-4e5fc15c.js → de-ch-48f68b00.js} +15 -15
- package/dist/cjs/{debounce-beb71c57.js → debounce-13143535.js} +1 -1
- package/dist/cjs/{dom-1d9b860f.js → dom-5b0be476.js} +3 -3
- package/dist/cjs/{el-168fba5d.js → el-35317c9e.js} +15 -15
- package/dist/cjs/{en-au-177f6a3f.js → en-au-e17c6a5f.js} +15 -15
- package/dist/cjs/{en-ca-310764df.js → en-ca-45d6e618.js} +15 -15
- package/dist/cjs/{en-gb-7aa60f42.js → en-gb-670380a9.js} +15 -15
- package/dist/cjs/{es-81b95063.js → es-acaf0f3c.js} +15 -15
- package/dist/cjs/{es-mx-80fd375d.js → es-mx-89f7a818.js} +15 -15
- package/dist/cjs/{et-a4a53122.js → et-242bd8b1.js} +15 -15
- package/dist/cjs/{fi-20c72ec0.js → fi-63ade6a4.js} +15 -15
- package/dist/cjs/{filter-2013b286.js → filter-30705db0.js} +2 -2
- package/dist/cjs/{floating-ui-00b49795.js → floating-ui-4eab4126.js} +48 -63
- package/dist/cjs/{focusTrapComponent-0ecf7c4c.js → focusTrapComponent-1d043639.js} +2 -2
- package/dist/cjs/{form-9e8633a7.js → form-4933ac67.js} +3 -3
- package/dist/cjs/{fr-ch-1383d0c7.js → fr-ch-f255f7bb.js} +15 -15
- package/dist/cjs/{fr-08535232.js → fr-deefa4ca.js} +15 -15
- package/dist/cjs/{guid-168a724d.js → guid-af32f178.js} +1 -1
- package/dist/cjs/{he-0e3c72b5.js → he-458dd28b.js} +15 -15
- package/dist/cjs/{hi-39417067.js → hi-233e03e9.js} +15 -15
- package/dist/cjs/{hr-f4ecbd63.js → hr-65f8037e.js} +15 -15
- package/dist/cjs/{hu-f9d47a10.js → hu-51a15a0c.js} +15 -15
- package/dist/cjs/{id-39ca2293.js → id-3b383fa2.js} +15 -15
- package/dist/cjs/{index-6345f949.js → index-38b3b9a5.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-df61ff4f.js → interactive-10d27594.js} +1 -1
- package/dist/cjs/{it-ch-24254741.js → it-ch-ccb7a2f8.js} +15 -15
- package/dist/cjs/{it-f58490a3.js → it-f2e99aa4.js} +15 -15
- package/dist/cjs/{ja-0db25c2a.js → ja-28727e29.js} +15 -15
- package/dist/cjs/{key-99e2f91f.js → key-a1e2e9ee.js} +1 -1
- package/dist/cjs/{ko-4a6a25aa.js → ko-11cd494f.js} +15 -15
- package/dist/cjs/{label-7b9957e8.js → label-a6d03ca8.js} +2 -2
- package/dist/cjs/{loadable-87553cd9.js → loadable-25ae9904.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-69a5df38.js → locale-354affa5.js} +4 -4
- package/dist/cjs/{lt-c1b74a32.js → lt-6ce32014.js} +15 -15
- package/dist/cjs/{lv-ba7a2b64.js → lv-51e23672.js} +15 -15
- package/dist/cjs/{math-289211a2.js → math-6ff1b0ee.js} +1 -1
- package/dist/cjs/{mk-dbaa13d0.js → mk-06272a84.js} +15 -15
- package/dist/cjs/{nb-dd997b60.js → nb-1b819225.js} +15 -15
- package/dist/cjs/{nl-12c61698.js → nl-099acd8d.js} +15 -15
- package/dist/cjs/{observers-a4ca228e.js → observers-c2862e25.js} +1 -1
- package/dist/cjs/{openCloseComponent-02365088.js → openCloseComponent-553f8395.js} +2 -2
- package/dist/cjs/{pl-e7215f65.js → pl-de7aaa0c.js} +15 -15
- package/dist/cjs/{pt-81611704.js → pt-25fa2bf6.js} +15 -15
- package/dist/cjs/{pt-br-564f85a9.js → pt-br-c0279ad6.js} +15 -15
- package/dist/cjs/{resources-5f251e8c.js → resources-1659631d.js} +1 -1
- package/dist/cjs/{resources-3823fb74.js → resources-6fd6c9e3.js} +1 -1
- package/dist/cjs/{resources-300d7893.js → resources-74962238.js} +1 -1
- package/dist/cjs/{resources-31f07021.js → resources-be2c16b5.js} +5 -5
- package/dist/cjs/{resources-8528354d.js → resources-c49f9b98.js} +1 -1
- package/dist/cjs/{resources-f9bb9393.js → resources-db3a731b.js} +1 -1
- package/dist/cjs/{ro-c8035085.js → ro-1d778e56.js} +15 -15
- package/dist/cjs/{ru-8b6abbf1.js → ru-e3a18259.js} +15 -15
- package/dist/cjs/{sk-78317acd.js → sk-cfc92441.js} +15 -15
- package/dist/cjs/{sl-8d201335.js → sl-9d10af25.js} +15 -15
- package/dist/cjs/{sortableComponent-8351b089.js → sortableComponent-61936314.js} +2 -2
- package/dist/cjs/{sr-ed003eb0.js → sr-966293ba.js} +15 -15
- package/dist/cjs/{sv-39a15b8c.js → sv-d0d93192.js} +15 -15
- package/dist/cjs/{t9n-8425d53f.js → t9n-a70c0d80.js} +3 -3
- package/dist/cjs/{th-29f91e74.js → th-3b085031.js} +15 -15
- package/dist/cjs/{throttle-536828be.js → throttle-4e70d754.js} +2 -2
- package/dist/cjs/{tr-e9c2a7c8.js → tr-96c0013a.js} +15 -15
- package/dist/cjs/{uk-059c822d.js → uk-1a3a1206.js} +15 -15
- package/dist/cjs/{utils-98fdbc74.js → utils-a9b215d0.js} +3 -3
- package/dist/cjs/{utils-69077d5c.js → utils-b1ad467c.js} +1 -1
- package/dist/cjs/{vi-9723bbd5.js → vi-cc45ce50.js} +15 -15
- package/dist/cjs/{zh-cn-2d84e78b.js → zh-cn-404def55.js} +15 -15
- package/dist/cjs/{zh-hk-96ab90d3.js → zh-hk-500515ad.js} +15 -15
- package/dist/cjs/{zh-tw-e9f41573.js → zh-tw-0931d67d.js} +15 -15
- 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 +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.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 +4 -4
- 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/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/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 +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +4 -4
- 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-modal.js +1 -1
- 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 +1 -1
- 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/composed-offset-position.esm.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 +1 -1
- 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 +45 -60
- 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.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.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/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/tooltip.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-e578af07.js → ExpandToggle-b2d209dd.js} +5 -5
- package/dist/esm/{FloatingArrow-85adaefe.js → FloatingArrow-41635ee8.js} +2 -2
- package/dist/esm/{Heading-17739c23.js → Heading-cc52352f.js} +2 -2
- package/dist/esm/{app-globals-bbf9da5d.js → app-globals-2875ebad.js} +2 -2
- package/dist/esm/{ar-715e67f1.js → ar-09f32ebb.js} +15 -15
- package/dist/esm/{array-a84d1c38.js → array-e86a0605.js} +1 -1
- package/dist/esm/{bg-5b2432d6.js → bg-1dfc492a.js} +15 -15
- package/dist/esm/{bs-3db3f38f.js → bs-fb689a58.js} +15 -15
- package/dist/esm/{ca-ee1a8563.js → ca-730b41bc.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 +12 -12
- 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 +3 -3
- 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 +18 -18
- 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-38ae878f.js → calcite-input-time-picker.calcite-time-picker-8e720ee4.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- 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 +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- 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 +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- 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 +5 -5
- 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 +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{composed-offset-position.esm-5f4aa8a4.js → composed-offset-position.esm-bbcebb75.js} +1 -1
- package/dist/esm/{conditionalSlot-54a56c44.js → conditionalSlot-02722e44.js} +3 -3
- package/dist/esm/{cs-f0a5545c.js → cs-b0a44568.js} +15 -15
- package/dist/esm/{da-ee71cda4.js → da-1dca1960.js} +15 -15
- package/dist/esm/{de-at-7527c390.js → de-at-d1976a17.js} +15 -15
- package/dist/esm/{de-ch-568712bd.js → de-ch-cbcecccc.js} +15 -15
- package/dist/esm/{de-07c54a0b.js → de-fc323096.js} +15 -15
- package/dist/esm/{debounce-732c86e5.js → debounce-b9072422.js} +1 -1
- package/dist/esm/{dom-7a5ae0d9.js → dom-f74a09b7.js} +3 -3
- package/dist/esm/{el-ef841575.js → el-f8bf6fd0.js} +15 -15
- package/dist/esm/{en-au-abbb1098.js → en-au-39a66c21.js} +15 -15
- package/dist/esm/{en-ca-bc7c860e.js → en-ca-49c97e94.js} +15 -15
- package/dist/esm/{en-gb-783b5531.js → en-gb-83bf0bde.js} +15 -15
- package/dist/esm/{es-a72ce246.js → es-ceddecc8.js} +15 -15
- package/dist/esm/{es-mx-91211068.js → es-mx-861b3de1.js} +15 -15
- package/dist/esm/{et-cece873a.js → et-c6d3ed56.js} +15 -15
- package/dist/esm/{fi-07f7172b.js → fi-6fa6c857.js} +15 -15
- package/dist/esm/{filter-27e57f2a.js → filter-dc379cc3.js} +2 -2
- package/dist/esm/{floating-ui-7f2d16cf.js → floating-ui-1033e8bb.js} +48 -63
- package/dist/esm/{focusTrapComponent-7341319e.js → focusTrapComponent-b3a29d9c.js} +2 -2
- package/dist/esm/{form-b66ad81e.js → form-44530001.js} +3 -3
- package/dist/esm/{fr-ch-aa14bf36.js → fr-ch-f9209299.js} +15 -15
- package/dist/esm/{fr-603dd50f.js → fr-e291c87c.js} +15 -15
- package/dist/esm/{guid-d2c1a79b.js → guid-d5943b83.js} +1 -1
- package/dist/esm/{he-46ea0c27.js → he-3bf0d39f.js} +15 -15
- package/dist/esm/{hi-8035b402.js → hi-a5fe5ca9.js} +15 -15
- package/dist/esm/{hr-77328174.js → hr-19be5a96.js} +15 -15
- package/dist/esm/{hu-0cfdf360.js → hu-ebd2c8dd.js} +15 -15
- package/dist/esm/{id-1a1dbe54.js → id-aae89438.js} +15 -15
- package/dist/esm/{index-be0733f8.js → index-a6760286.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-f8b36f17.js → interactive-82e547ed.js} +1 -1
- package/dist/esm/{it-b26e9165.js → it-b2d048ca.js} +15 -15
- package/dist/esm/{it-ch-6627a853.js → it-ch-8250cf6a.js} +15 -15
- package/dist/esm/{ja-112eadb6.js → ja-4dd1e27b.js} +15 -15
- package/dist/esm/{key-bdffae1b.js → key-3389d870.js} +1 -1
- package/dist/esm/{ko-0a004dd9.js → ko-aaf0a0e0.js} +15 -15
- package/dist/esm/{label-2f96f8fd.js → label-59c9d472.js} +2 -2
- package/dist/esm/{loadable-2c44ebe1.js → loadable-af146fd5.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-be646669.js → locale-b3c44dda.js} +4 -4
- package/dist/esm/{lt-a50aba45.js → lt-3ad4f061.js} +15 -15
- package/dist/esm/{lv-8933c087.js → lv-175e99a5.js} +15 -15
- package/dist/esm/{math-457f8c3e.js → math-e6aff5b3.js} +1 -1
- package/dist/esm/{mk-c362e51f.js → mk-0a1f53b2.js} +15 -15
- package/dist/esm/{nb-8dcff501.js → nb-4557db6c.js} +15 -15
- package/dist/esm/{nl-9ac94e11.js → nl-109e7897.js} +15 -15
- package/dist/esm/{observers-bb0352f5.js → observers-c20ec2dd.js} +1 -1
- package/dist/esm/{openCloseComponent-0fa80b84.js → openCloseComponent-a26b009f.js} +2 -2
- package/dist/esm/{pl-3e89ac64.js → pl-572e0b8e.js} +15 -15
- package/dist/esm/{pt-d0e341d4.js → pt-59688494.js} +15 -15
- package/dist/esm/{pt-br-1047e666.js → pt-br-b4a9b3a7.js} +15 -15
- package/dist/esm/{resources-0afaa64e.js → resources-0e9af9d0.js} +1 -1
- package/dist/esm/{resources-1f7f6f83.js → resources-2cb98f22.js} +1 -1
- package/dist/esm/{resources-0691c85c.js → resources-b24eb444.js} +1 -1
- package/dist/esm/{resources-56d84d73.js → resources-c0bc41e5.js} +1 -1
- package/dist/esm/{resources-7577f7ea.js → resources-d08a6737.js} +1 -1
- package/dist/esm/{resources-f464fe19.js → resources-d76cb660.js} +5 -5
- package/dist/esm/{ro-8bbeb4c4.js → ro-6b06f731.js} +15 -15
- package/dist/esm/{ru-dd2d9808.js → ru-f1892e20.js} +15 -15
- package/dist/esm/{sk-658d244c.js → sk-ecabc8fb.js} +15 -15
- package/dist/esm/{sl-06b4b1bc.js → sl-5de9e72e.js} +15 -15
- package/dist/esm/{sortableComponent-94400275.js → sortableComponent-f10c9cf3.js} +2 -2
- package/dist/esm/{sr-550d43ec.js → sr-5fe44f8f.js} +15 -15
- package/dist/esm/{sv-d7daad56.js → sv-00d04b1d.js} +15 -15
- package/dist/esm/{t9n-c55ddbe6.js → t9n-a3e12422.js} +3 -3
- package/dist/esm/{th-401b189e.js → th-0cc8ecd3.js} +15 -15
- package/dist/esm/{throttle-3365a40f.js → throttle-d688fe13.js} +2 -2
- package/dist/esm/{tr-84e3c6fb.js → tr-817bdba8.js} +15 -15
- package/dist/esm/{uk-64cc1f08.js → uk-67c7242c.js} +15 -15
- package/dist/esm/{utils-77ac1534.js → utils-00851404.js} +3 -3
- package/dist/esm/{utils-ede07864.js → utils-ddd03fe1.js} +1 -1
- package/dist/esm/{vi-44966436.js → vi-256749df.js} +15 -15
- package/dist/esm/{zh-cn-0ec55154.js → zh-cn-f5161c11.js} +15 -15
- package/dist/esm/{zh-hk-041ab7c1.js → zh-hk-7cbfe66f.js} +15 -15
- package/dist/esm/{zh-tw-5baa4f94.js → zh-tw-c56b90fe.js} +15 -15
- package/dist/extras/docs-json.json +1 -1
- package/dist/extras/vscode-data.json +6728 -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/hydrate/index.js +540 -555
- package/package.json +3 -3
- package/readme.md +2 -2
- package/dist/calcite/p-18ff0ba7.js +0 -6
- package/dist/calcite/p-6356f16b.js +0 -6
- package/dist/calcite/p-665911a6.entry.js +0 -6
- package/dist/calcite/p-7fc2c786.entry.js +0 -6
- package/dist/calcite/p-86556132.entry.js +0 -6
- package/dist/calcite/p-91dbeea7.entry.js +0 -6
- package/dist/calcite/p-95bbc31b.entry.js +0 -6
- package/dist/calcite/p-962afff6.js +0 -6
- package/dist/calcite/p-bbc8dee6.js +0 -6
- package/dist/calcite/p-d95f2c05.js +0 -6
- package/dist/calcite/p-e91773ab.js +0 -6
- package/dist/types/components/textarea/assets/textarea/t9n/index.d.ts +0 -4
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.
|
|
4
|
+
* v1.4.2
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6919,7 +6919,7 @@ const SLOTS$x = {
|
|
|
6919
6919
|
actionsStart: "actions-start",
|
|
6920
6920
|
actionsEnd: "actions-end"
|
|
6921
6921
|
};
|
|
6922
|
-
const CSS$
|
|
6922
|
+
const CSS$16 = {
|
|
6923
6923
|
icon: "icon",
|
|
6924
6924
|
header: "header",
|
|
6925
6925
|
headerContent: "header-content",
|
|
@@ -6990,28 +6990,28 @@ class AccordionItem {
|
|
|
6990
6990
|
// --------------------------------------------------------------------------
|
|
6991
6991
|
renderActionsStart() {
|
|
6992
6992
|
const { el } = this;
|
|
6993
|
-
return getSlotted(el, SLOTS$x.actionsStart) ? (hAsync("div", { class: CSS$
|
|
6993
|
+
return getSlotted(el, SLOTS$x.actionsStart) ? (hAsync("div", { class: CSS$16.actionsStart }, hAsync("slot", { name: SLOTS$x.actionsStart }))) : null;
|
|
6994
6994
|
}
|
|
6995
6995
|
renderActionsEnd() {
|
|
6996
6996
|
const { el } = this;
|
|
6997
|
-
return getSlotted(el, SLOTS$x.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
6997
|
+
return getSlotted(el, SLOTS$x.actionsEnd) ? (hAsync("div", { class: CSS$16.actionsEnd }, hAsync("slot", { name: SLOTS$x.actionsEnd }))) : null;
|
|
6998
6998
|
}
|
|
6999
6999
|
render() {
|
|
7000
7000
|
const { iconFlipRtl } = this;
|
|
7001
7001
|
const dir = getElementDir(this.el);
|
|
7002
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
7003
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
7002
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$16.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7003
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$16.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7004
7004
|
const { description } = this;
|
|
7005
7005
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
7006
7006
|
[`icon-position--${this.iconPosition}`]: true,
|
|
7007
7007
|
[`icon-type--${this.iconType}`]: true
|
|
7008
|
-
} }, hAsync("div", { class: { [CSS$
|
|
7008
|
+
} }, hAsync("div", { class: { [CSS$16.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$16.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$16.headerContainer }, iconStartEl, hAsync("div", { class: CSS$16.headerText }, hAsync("span", { class: CSS$16.heading }, this.heading), description ? hAsync("span", { class: CSS$16.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$16.expandIcon, icon: this.iconType === "chevron"
|
|
7009
7009
|
? "chevronDown"
|
|
7010
7010
|
: this.iconType === "caret"
|
|
7011
7011
|
? "caretDown"
|
|
7012
7012
|
: this.expanded
|
|
7013
7013
|
? "minus"
|
|
7014
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
7014
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$16.content }, hAsync("slot", null)))));
|
|
7015
7015
|
}
|
|
7016
7016
|
//--------------------------------------------------------------------------
|
|
7017
7017
|
//
|
|
@@ -7784,7 +7784,7 @@ function defaultOnMessagesChange() {
|
|
|
7784
7784
|
mergeMessages(this);
|
|
7785
7785
|
}
|
|
7786
7786
|
|
|
7787
|
-
const CSS$
|
|
7787
|
+
const CSS$15 = {
|
|
7788
7788
|
button: "button",
|
|
7789
7789
|
buttonTextVisible: "button--text-visible",
|
|
7790
7790
|
buttonCompact: "button--compact",
|
|
@@ -7893,14 +7893,14 @@ class Action {
|
|
|
7893
7893
|
renderTextContainer() {
|
|
7894
7894
|
const { text, textEnabled } = this;
|
|
7895
7895
|
const textContainerClasses = {
|
|
7896
|
-
[CSS$
|
|
7897
|
-
[CSS$
|
|
7896
|
+
[CSS$15.textContainer]: true,
|
|
7897
|
+
[CSS$15.textContainerVisible]: textEnabled
|
|
7898
7898
|
};
|
|
7899
7899
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
7900
7900
|
}
|
|
7901
7901
|
renderIndicatorText() {
|
|
7902
7902
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
7903
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
7903
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$15.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
7904
7904
|
}
|
|
7905
7905
|
renderIconContainer() {
|
|
7906
7906
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -7911,18 +7911,18 @@ class Action {
|
|
|
7911
7911
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
7912
7912
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
7913
7913
|
const slotContainerNode = (hAsync("div", { class: {
|
|
7914
|
-
[CSS$
|
|
7915
|
-
[CSS$
|
|
7914
|
+
[CSS$15.slotContainer]: true,
|
|
7915
|
+
[CSS$15.slotContainerHidden]: loading
|
|
7916
7916
|
} }, hAsync("slot", null)));
|
|
7917
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
7917
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$15.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
7918
7918
|
}
|
|
7919
7919
|
render() {
|
|
7920
7920
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages } = this;
|
|
7921
7921
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
7922
7922
|
const buttonClasses = {
|
|
7923
|
-
[CSS$
|
|
7924
|
-
[CSS$
|
|
7925
|
-
[CSS$
|
|
7923
|
+
[CSS$15.button]: true,
|
|
7924
|
+
[CSS$15.buttonTextVisible]: textEnabled,
|
|
7925
|
+
[CSS$15.buttonCompact]: compact
|
|
7926
7926
|
};
|
|
7927
7927
|
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,
|
|
7928
7928
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -9235,7 +9235,7 @@ const ICONS$j = {
|
|
|
9235
9235
|
menu: "ellipsis"
|
|
9236
9236
|
};
|
|
9237
9237
|
|
|
9238
|
-
const CSS$
|
|
9238
|
+
const CSS$14 = {
|
|
9239
9239
|
menu: "menu",
|
|
9240
9240
|
defaultTrigger: "default-trigger"
|
|
9241
9241
|
};
|
|
@@ -9337,7 +9337,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
9337
9337
|
return actionNode;
|
|
9338
9338
|
};
|
|
9339
9339
|
|
|
9340
|
-
const CSS$
|
|
9340
|
+
const CSS$13 = {
|
|
9341
9341
|
actionGroupBottom: "action-group--bottom"
|
|
9342
9342
|
};
|
|
9343
9343
|
const SLOTS$t = {
|
|
@@ -9525,7 +9525,7 @@ class ActionBar {
|
|
|
9525
9525
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
9526
9526
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9527
9527
|
ref: this.setExpandToggleRef })) : null;
|
|
9528
|
-
return getSlotted(el, SLOTS$t.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
9528
|
+
return getSlotted(el, SLOTS$t.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$13.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$t.bottomActions }), hAsync("slot", { name: SLOTS$t.expandTooltip }), expandToggleNode)) : null;
|
|
9529
9529
|
}
|
|
9530
9530
|
render() {
|
|
9531
9531
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9931,7 +9931,7 @@ class ActionMenu {
|
|
|
9931
9931
|
}
|
|
9932
9932
|
renderMenuButton() {
|
|
9933
9933
|
const { label, scale, expanded } = this;
|
|
9934
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$u.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
9934
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$u.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$14.defaultTrigger, icon: ICONS$i.menu, scale: scale, text: label, textEnabled: expanded,
|
|
9935
9935
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9936
9936
|
ref: this.setDefaultMenuButtonEl })));
|
|
9937
9937
|
return menuButtonSlot;
|
|
@@ -9940,7 +9940,7 @@ class ActionMenu {
|
|
|
9940
9940
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
9941
9941
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
9942
9942
|
const activeDescendantId = activeAction?.id || null;
|
|
9943
|
-
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$
|
|
9943
|
+
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$14.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
9944
9944
|
}
|
|
9945
9945
|
render() {
|
|
9946
9946
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$u.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -9976,7 +9976,7 @@ class ActionMenu {
|
|
|
9976
9976
|
}; }
|
|
9977
9977
|
}
|
|
9978
9978
|
|
|
9979
|
-
const CSS$
|
|
9979
|
+
const CSS$12 = {
|
|
9980
9980
|
actionGroupBottom: "action-group--bottom",
|
|
9981
9981
|
container: "container"
|
|
9982
9982
|
};
|
|
@@ -10096,10 +10096,10 @@ class ActionPad {
|
|
|
10096
10096
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
10097
10097
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10098
10098
|
ref: this.setExpandToggleRef })) : null;
|
|
10099
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
10099
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$12.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$s.expandTooltip }), expandToggleNode)) : null;
|
|
10100
10100
|
}
|
|
10101
10101
|
render() {
|
|
10102
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
10102
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$12.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
10103
10103
|
}
|
|
10104
10104
|
static get delegatesFocus() { return true; }
|
|
10105
10105
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10235,7 +10235,7 @@ const SLOTS$r = {
|
|
|
10235
10235
|
message: "message",
|
|
10236
10236
|
link: "link"
|
|
10237
10237
|
};
|
|
10238
|
-
const CSS$
|
|
10238
|
+
const CSS$11 = {
|
|
10239
10239
|
actionsEnd: "actions-end",
|
|
10240
10240
|
container: "container",
|
|
10241
10241
|
close: "alert-close",
|
|
@@ -10393,10 +10393,10 @@ class Alert {
|
|
|
10393
10393
|
container: true,
|
|
10394
10394
|
queued,
|
|
10395
10395
|
[placement]: true,
|
|
10396
|
-
[CSS$
|
|
10396
|
+
[CSS$11.slottedInShell]: this.slottedInShell
|
|
10397
10397
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10398
10398
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10399
|
-
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$r.title }), hAsync("slot", { name: SLOTS$r.message }), hAsync("slot", { name: SLOTS$r.link })), hAsync("div", { class: CSS$
|
|
10399
|
+
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$r.title }), hAsync("slot", { name: SLOTS$r.message }), hAsync("slot", { name: SLOTS$r.link })), hAsync("div", { class: CSS$11.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10400
10400
|
}
|
|
10401
10401
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10402
10402
|
alertSync(event) {
|
|
@@ -10854,7 +10854,7 @@ const Heading = (props, children) => {
|
|
|
10854
10854
|
return hAsync(HeadingTag, { ...props }, children);
|
|
10855
10855
|
};
|
|
10856
10856
|
|
|
10857
|
-
const CSS
|
|
10857
|
+
const CSS$10 = {
|
|
10858
10858
|
container: "container",
|
|
10859
10859
|
content: "content",
|
|
10860
10860
|
headerContainer: "header-container",
|
|
@@ -10965,31 +10965,31 @@ class Block {
|
|
|
10965
10965
|
const statusIcon = showingLoadingStatus ? ICONS$g.refresh : ICONS$g[status];
|
|
10966
10966
|
const hasIcon = getSlotted(el, SLOTS$q.icon) || statusIcon;
|
|
10967
10967
|
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$q.icon })) : (hAsync("calcite-icon", { class: {
|
|
10968
|
-
[CSS
|
|
10969
|
-
[CSS
|
|
10970
|
-
[CSS
|
|
10971
|
-
[CSS
|
|
10968
|
+
[CSS$10.statusIcon]: true,
|
|
10969
|
+
[CSS$10.valid]: status == "valid",
|
|
10970
|
+
[CSS$10.invalid]: status == "invalid",
|
|
10971
|
+
[CSS$10.loading]: showingLoadingStatus
|
|
10972
10972
|
}, icon: statusIcon, scale: "m" }));
|
|
10973
|
-
return hasIcon ? hAsync("div", { class: CSS
|
|
10973
|
+
return hasIcon ? hAsync("div", { class: CSS$10.icon }, iconEl) : null;
|
|
10974
10974
|
}
|
|
10975
10975
|
renderTitle() {
|
|
10976
10976
|
const { heading, headingLevel, description } = this;
|
|
10977
|
-
return heading || description ? (hAsync("div", { class: CSS
|
|
10977
|
+
return heading || description ? (hAsync("div", { class: CSS$10.title }, hAsync(Heading, { class: CSS$10.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$10.description }, description) : null)) : null;
|
|
10978
10978
|
}
|
|
10979
10979
|
render() {
|
|
10980
10980
|
const { collapsible, el, loading, open, messages } = this;
|
|
10981
10981
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
10982
|
-
const headerContent = (hAsync("header", { class: CSS
|
|
10982
|
+
const headerContent = (hAsync("header", { class: CSS$10.header }, this.renderIcon(), this.renderTitle()));
|
|
10983
10983
|
const hasControl = !!getSlotted(el, SLOTS$q.control);
|
|
10984
10984
|
const hasMenuActions = !!getSlotted(el, SLOTS$q.headerMenuActions);
|
|
10985
10985
|
const collapseIcon = open ? ICONS$g.opened : ICONS$g.closed;
|
|
10986
10986
|
const { guid } = this;
|
|
10987
10987
|
const regionId = `${guid}-region`;
|
|
10988
10988
|
const buttonId = `${guid}-button`;
|
|
10989
|
-
const headerNode = (hAsync("div", { class: CSS
|
|
10989
|
+
const headerNode = (hAsync("div", { class: CSS$10.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$10.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$10.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, label: messages.loading })) : hasControl ? (hAsync("div", { class: CSS$10.controlContainer }, hAsync("slot", { name: SLOTS$q.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$q.headerMenuActions }))) : null));
|
|
10990
10990
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
10991
|
-
[CSS
|
|
10992
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS
|
|
10991
|
+
[CSS$10.container]: true
|
|
10992
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$10.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
10993
10993
|
}
|
|
10994
10994
|
static get assetsDirs() { return ["assets"]; }
|
|
10995
10995
|
get el() { return getElement(this); }
|
|
@@ -11022,7 +11022,7 @@ class Block {
|
|
|
11022
11022
|
}; }
|
|
11023
11023
|
}
|
|
11024
11024
|
|
|
11025
|
-
const CSS
|
|
11025
|
+
const CSS$$ = {
|
|
11026
11026
|
content: "content",
|
|
11027
11027
|
invalid: "invalid",
|
|
11028
11028
|
toggle: "toggle",
|
|
@@ -11108,9 +11108,9 @@ class BlockSection {
|
|
|
11108
11108
|
const { status } = this;
|
|
11109
11109
|
const statusIcon = ICONS$f[status] ?? false;
|
|
11110
11110
|
const statusIconClasses = {
|
|
11111
|
-
[CSS
|
|
11112
|
-
[CSS
|
|
11113
|
-
[CSS
|
|
11111
|
+
[CSS$$.statusIcon]: true,
|
|
11112
|
+
[CSS$$.valid]: status == "valid",
|
|
11113
|
+
[CSS$$.invalid]: status == "invalid"
|
|
11114
11114
|
};
|
|
11115
11115
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
11116
11116
|
}
|
|
@@ -11127,13 +11127,13 @@ class BlockSection {
|
|
|
11127
11127
|
const regionId = `${guid}-region`;
|
|
11128
11128
|
const buttonId = `${guid}-button`;
|
|
11129
11129
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11130
|
-
[CSS
|
|
11131
|
-
[CSS
|
|
11132
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS
|
|
11133
|
-
[CSS
|
|
11134
|
-
[CSS
|
|
11135
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS
|
|
11136
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS
|
|
11130
|
+
[CSS$$.toggle]: true,
|
|
11131
|
+
[CSS$$.toggleSwitch]: true
|
|
11132
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$$.toggleSwitchContent }, hAsync("span", { class: CSS$$.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
11133
|
+
[CSS$$.sectionHeader]: true,
|
|
11134
|
+
[CSS$$.toggle]: true
|
|
11135
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$$.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
11136
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$$.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
11137
11137
|
}
|
|
11138
11138
|
static get assetsDirs() { return ["assets"]; }
|
|
11139
11139
|
get el() { return getElement(this); }
|
|
@@ -11544,7 +11544,7 @@ function onLabelDisconnected() {
|
|
|
11544
11544
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11545
11545
|
}
|
|
11546
11546
|
|
|
11547
|
-
const CSS$
|
|
11547
|
+
const CSS$_ = {
|
|
11548
11548
|
buttonLoader: "calcite-button--loader",
|
|
11549
11549
|
content: "content",
|
|
11550
11550
|
contentSlotted: "content--slotted",
|
|
@@ -11670,17 +11670,17 @@ class Button {
|
|
|
11670
11670
|
render() {
|
|
11671
11671
|
const childElType = this.href ? "a" : "button";
|
|
11672
11672
|
const Tag = childElType;
|
|
11673
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
11673
|
+
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;
|
|
11674
11674
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11675
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11676
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11677
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
11675
|
+
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" }));
|
|
11676
|
+
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" }));
|
|
11677
|
+
const contentEl = (hAsync("span", { class: CSS$_.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11678
11678
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
11679
|
-
[CSS$
|
|
11680
|
-
[CSS$
|
|
11681
|
-
[CSS$
|
|
11682
|
-
[CSS$
|
|
11683
|
-
[CSS$
|
|
11679
|
+
[CSS$_.buttonPadding]: noStartEndIcons,
|
|
11680
|
+
[CSS$_.buttonPaddingShrunk]: !noStartEndIcons,
|
|
11681
|
+
[CSS$_.contentSlotted]: this.hasContent,
|
|
11682
|
+
[CSS$_.iconStartEmpty]: !this.iconStart,
|
|
11683
|
+
[CSS$_.iconEndEmpty]: !this.iconEnd
|
|
11684
11684
|
}, 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));
|
|
11685
11685
|
}
|
|
11686
11686
|
//--------------------------------------------------------------------------
|
|
@@ -11995,7 +11995,7 @@ class CalciteMenu {
|
|
|
11995
11995
|
}; }
|
|
11996
11996
|
}
|
|
11997
11997
|
|
|
11998
|
-
const CSS$
|
|
11998
|
+
const CSS$Z = {
|
|
11999
11999
|
container: "container",
|
|
12000
12000
|
content: "content",
|
|
12001
12001
|
dropdownVertical: "dropdown--vertical",
|
|
@@ -12199,52 +12199,52 @@ class CalciteMenuItem {
|
|
|
12199
12199
|
//
|
|
12200
12200
|
//--------------------------------------------------------------------------
|
|
12201
12201
|
renderIconStart() {
|
|
12202
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12202
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$Z.iconStart, scale: "s" }));
|
|
12203
12203
|
}
|
|
12204
12204
|
renderIconEnd() {
|
|
12205
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12205
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$Z.iconEnd, scale: "s" }));
|
|
12206
12206
|
}
|
|
12207
12207
|
renderBreadcrumbIcon(dir) {
|
|
12208
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12208
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$Z.iconBreadcrumb, scale: "s" }));
|
|
12209
12209
|
}
|
|
12210
12210
|
renderDropdownIcon(dir) {
|
|
12211
12211
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12212
|
-
return (hAsync("calcite-icon", { class: `${CSS$
|
|
12212
|
+
return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12213
12213
|
? this.open
|
|
12214
12214
|
? "chevron-up"
|
|
12215
12215
|
: "chevron-down"
|
|
12216
|
-
: dirChevron, key: CSS$
|
|
12216
|
+
: dirChevron, key: CSS$Z.iconDropdown, scale: "s" }));
|
|
12217
12217
|
}
|
|
12218
12218
|
renderDropdownAction(dir) {
|
|
12219
12219
|
const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
12220
|
-
return (hAsync("calcite-action", { class: CSS$
|
|
12220
|
+
return (hAsync("calcite-action", { class: CSS$Z.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
|
|
12221
12221
|
? this.open
|
|
12222
12222
|
? "chevron-up"
|
|
12223
12223
|
: "chevron-down"
|
|
12224
|
-
: dirChevron, key: CSS$
|
|
12224
|
+
: dirChevron, key: CSS$Z.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12225
12225
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12226
12226
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12227
12227
|
}
|
|
12228
12228
|
renderSubmenuItems(dir) {
|
|
12229
12229
|
return (hAsync("calcite-menu", { class: {
|
|
12230
|
-
[CSS$
|
|
12231
|
-
[CSS$
|
|
12232
|
-
[CSS$
|
|
12230
|
+
[CSS$Z.dropdownMenuItems]: true,
|
|
12231
|
+
[CSS$Z.open]: this.open,
|
|
12232
|
+
[CSS$Z.nested]: !this.isTopLevelItem,
|
|
12233
12233
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
12234
|
-
[CSS$
|
|
12234
|
+
[CSS$Z.dropdownVertical]: this.topLevelMenuLayout === "vertical"
|
|
12235
12235
|
}, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
|
|
12236
12236
|
}
|
|
12237
12237
|
renderItemContent(dir) {
|
|
12238
|
-
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$
|
|
12238
|
+
return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$Z.textContainer }, hAsync("span", null, this.text)), !this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null, this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null, this.iconEnd && this.renderIconEnd()));
|
|
12239
12239
|
}
|
|
12240
12240
|
render() {
|
|
12241
12241
|
const dir = getElementDir(this.el);
|
|
12242
12242
|
return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
|
|
12243
|
-
[CSS$
|
|
12244
|
-
[CSS$
|
|
12245
|
-
}, role: "none" }, hAsync("div", { class: CSS$
|
|
12243
|
+
[CSS$Z.container]: true,
|
|
12244
|
+
[CSS$Z.isParentVertical]: this.topLevelMenuLayout === "vertical"
|
|
12245
|
+
}, role: "none" }, hAsync("div", { class: CSS$Z.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$Z.layoutVertical]: this.layout === "vertical", [CSS$Z.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12246
12246
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12247
|
-
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir), this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem) ? (hAsync("calcite-icon", { class: CSS$
|
|
12247
|
+
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir), this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem) ? (hAsync("calcite-icon", { class: CSS$Z.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", scale: "s" })) : null), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12248
12248
|
}
|
|
12249
12249
|
static get assetsDirs() { return ["assets"]; }
|
|
12250
12250
|
get el() { return getElement(this); }
|
|
@@ -12285,7 +12285,7 @@ class CalciteMenuItem {
|
|
|
12285
12285
|
}; }
|
|
12286
12286
|
}
|
|
12287
12287
|
|
|
12288
|
-
const CSS$
|
|
12288
|
+
const CSS$Y = {
|
|
12289
12289
|
container: "container",
|
|
12290
12290
|
containerContent: "container-content",
|
|
12291
12291
|
hasProgress: "progress-bar",
|
|
@@ -12434,11 +12434,11 @@ class CalciteNavigation {
|
|
|
12434
12434
|
this.navigationAction;
|
|
12435
12435
|
const slotName = this.el.slot;
|
|
12436
12436
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
12437
|
-
[CSS$
|
|
12438
|
-
[CSS$
|
|
12439
|
-
[CSS$
|
|
12440
|
-
[CSS$
|
|
12441
|
-
} }, hAsync("div", { class: { [CSS$
|
|
12437
|
+
[CSS$Y.container]: true,
|
|
12438
|
+
[CSS$Y.secondary]: slotName === SLOTS$p.navSecondary,
|
|
12439
|
+
[CSS$Y.tertiary]: slotName === SLOTS$p.navTertiary,
|
|
12440
|
+
[CSS$Y.primary]: primaryLevelHasElements
|
|
12441
|
+
} }, hAsync("div", { class: { [CSS$Y.hide]: !this.progressSlotHasElement, [SLOTS$p.progress]: true } }, hAsync("slot", { name: SLOTS$p.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$Y.containerContent]: true, [CSS$Y.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$Y.hide]: !this.logoSlotHasElements, [SLOTS$p.logo]: true } }, hAsync("slot", { name: SLOTS$p.logo, onSlotchange: this.handleLogoSlotChange })), hAsync("slot", { name: SLOTS$p.contentStart, onSlotchange: this.handleContentStartSlotChange }), hAsync("slot", { name: SLOTS$p.contentCenter, onSlotchange: this.handleContentCenterSlotChange }), hAsync("slot", { name: SLOTS$p.contentEnd, onSlotchange: this.handleContentEndSlotChange }), hAsync("div", { class: { [CSS$Y.hide]: !this.userSlotHasElements, [SLOTS$p.user]: true } }, hAsync("slot", { name: SLOTS$p.user, onSlotchange: this.handleUserSlotChange })))), hAsync(Fragment, null, hAsync("slot", { name: SLOTS$p.navSecondary, onSlotchange: this.handleSecondarySlotChange }), hAsync("slot", { name: SLOTS$p.navTertiary, onSlotchange: this.handleTertiarySlotChange }))));
|
|
12442
12442
|
}
|
|
12443
12443
|
get el() { return getElement(this); }
|
|
12444
12444
|
static get style() { return navigationCss; }
|
|
@@ -12465,7 +12465,7 @@ class CalciteNavigation {
|
|
|
12465
12465
|
}; }
|
|
12466
12466
|
}
|
|
12467
12467
|
|
|
12468
|
-
const CSS$
|
|
12468
|
+
const CSS$X = {
|
|
12469
12469
|
container: "container",
|
|
12470
12470
|
heading: "heading",
|
|
12471
12471
|
description: "description",
|
|
@@ -12517,7 +12517,7 @@ class CalciteNavigationLogo {
|
|
|
12517
12517
|
// --------------------------------------------------------------------------
|
|
12518
12518
|
render() {
|
|
12519
12519
|
const { heading, description, thumbnail } = this;
|
|
12520
|
-
return (hAsync(Host, null, hAsync("a", { class: CSS$
|
|
12520
|
+
return (hAsync(Host, null, hAsync("a", { class: CSS$X.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$X.image, src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$X.container }, heading && (hAsync("span", { "aria-label": this.heading, class: CSS$X.heading, key: CSS$X.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$X.description, key: CSS$X.description }, description)))))));
|
|
12521
12521
|
}
|
|
12522
12522
|
static get delegatesFocus() { return true; }
|
|
12523
12523
|
get el() { return getElement(this); }
|
|
@@ -12542,7 +12542,7 @@ class CalciteNavigationLogo {
|
|
|
12542
12542
|
}; }
|
|
12543
12543
|
}
|
|
12544
12544
|
|
|
12545
|
-
const CSS$
|
|
12545
|
+
const CSS$W = {
|
|
12546
12546
|
textContainer: "text-container",
|
|
12547
12547
|
fullName: "full-name",
|
|
12548
12548
|
username: "username",
|
|
@@ -12589,7 +12589,7 @@ class CalciteNavigationUser {
|
|
|
12589
12589
|
//
|
|
12590
12590
|
// --------------------------------------------------------------------------
|
|
12591
12591
|
render() {
|
|
12592
|
-
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$
|
|
12592
|
+
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$W.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$W.textContainer }, this.fullName && (hAsync("span", { class: CSS$W.fullName, key: CSS$W.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$W.username, key: CSS$W.username }, this.username)))))));
|
|
12593
12593
|
}
|
|
12594
12594
|
static get delegatesFocus() { return true; }
|
|
12595
12595
|
get el() { return getElement(this); }
|
|
@@ -12613,7 +12613,7 @@ class CalciteNavigationUser {
|
|
|
12613
12613
|
}; }
|
|
12614
12614
|
}
|
|
12615
12615
|
|
|
12616
|
-
const CSS$
|
|
12616
|
+
const CSS$V = {
|
|
12617
12617
|
container: "container",
|
|
12618
12618
|
header: "header",
|
|
12619
12619
|
footer: "footer",
|
|
@@ -12698,7 +12698,7 @@ class Card {
|
|
|
12698
12698
|
render() {
|
|
12699
12699
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
12700
12700
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
12701
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { 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$
|
|
12701
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { 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$V.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
12702
12702
|
}
|
|
12703
12703
|
effectiveLocaleChange() {
|
|
12704
12704
|
updateMessages(this);
|
|
@@ -12708,24 +12708,24 @@ class Card {
|
|
|
12708
12708
|
this.calciteCardSelect.emit();
|
|
12709
12709
|
}
|
|
12710
12710
|
renderThumbnail() {
|
|
12711
|
-
return getSlotted(this.el, SLOTS$o.thumbnail) ? (hAsync("section", { class: CSS$
|
|
12711
|
+
return getSlotted(this.el, SLOTS$o.thumbnail) ? (hAsync("section", { class: CSS$V.thumbnailWrapper }, hAsync("slot", { name: SLOTS$o.thumbnail }))) : null;
|
|
12712
12712
|
}
|
|
12713
12713
|
renderCheckbox() {
|
|
12714
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
12714
|
+
return (hAsync("calcite-label", { class: CSS$V.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
12715
12715
|
}
|
|
12716
12716
|
renderHeader() {
|
|
12717
12717
|
const { el } = this;
|
|
12718
12718
|
const title = getSlotted(el, SLOTS$o.title);
|
|
12719
12719
|
const subtitle = getSlotted(el, SLOTS$o.subtitle);
|
|
12720
12720
|
const hasHeader = title || subtitle;
|
|
12721
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
12721
|
+
return hasHeader ? (hAsync("header", { class: CSS$V.header }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.subtitle }))) : null;
|
|
12722
12722
|
}
|
|
12723
12723
|
renderFooter() {
|
|
12724
12724
|
const { el } = this;
|
|
12725
12725
|
const startFooter = getSlotted(el, SLOTS$o.footerStart);
|
|
12726
12726
|
const endFooter = getSlotted(el, SLOTS$o.footerEnd);
|
|
12727
12727
|
const hasFooter = startFooter || endFooter;
|
|
12728
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
12728
|
+
return hasFooter ? (hAsync("footer", { class: CSS$V.footer }, hAsync("slot", { name: SLOTS$o.footerStart }), hAsync("slot", { name: SLOTS$o.footerEnd }))) : null;
|
|
12729
12729
|
}
|
|
12730
12730
|
static get assetsDirs() { return ["assets"]; }
|
|
12731
12731
|
get el() { return getElement(this); }
|
|
@@ -12891,7 +12891,7 @@ class Checkbox {
|
|
|
12891
12891
|
}; }
|
|
12892
12892
|
}
|
|
12893
12893
|
|
|
12894
|
-
const CSS$
|
|
12894
|
+
const CSS$U = {
|
|
12895
12895
|
title: "title",
|
|
12896
12896
|
close: "close",
|
|
12897
12897
|
imageContainer: "image-container",
|
|
@@ -13060,7 +13060,7 @@ class Chip {
|
|
|
13060
13060
|
//
|
|
13061
13061
|
//--------------------------------------------------------------------------
|
|
13062
13062
|
renderChipImage() {
|
|
13063
|
-
return (hAsync("div", { class: CSS$
|
|
13063
|
+
return (hAsync("div", { class: CSS$U.imageContainer }, hAsync("slot", { name: SLOTS$n.image, onSlotchange: this.handleSlotImageChange })));
|
|
13064
13064
|
}
|
|
13065
13065
|
renderSelectionIcon() {
|
|
13066
13066
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -13071,17 +13071,17 @@ class Chip {
|
|
|
13071
13071
|
? ICONS$d.checkedSingle
|
|
13072
13072
|
: undefined;
|
|
13073
13073
|
return (hAsync("div", { class: {
|
|
13074
|
-
[CSS$
|
|
13075
|
-
[CSS$
|
|
13074
|
+
[CSS$U.selectIcon]: true,
|
|
13075
|
+
[CSS$U.selectIconActive]: this.selectionMode === "multiple" || this.selected
|
|
13076
13076
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
13077
13077
|
}
|
|
13078
13078
|
renderCloseButton() {
|
|
13079
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
13079
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$U.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
13080
13080
|
// eslint-disable-next-line react/jsx-sort-props
|
|
13081
13081
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$d.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
13082
13082
|
}
|
|
13083
13083
|
renderIcon() {
|
|
13084
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
13084
|
+
return (hAsync("calcite-icon", { class: CSS$U.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
13085
13085
|
}
|
|
13086
13086
|
render() {
|
|
13087
13087
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -13095,21 +13095,21 @@ class Chip {
|
|
|
13095
13095
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
13096
13096
|
? toAriaBoolean(this.selected)
|
|
13097
13097
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
13098
|
-
[CSS$
|
|
13099
|
-
[CSS$
|
|
13100
|
-
[CSS$
|
|
13101
|
-
[CSS$
|
|
13102
|
-
[CSS$
|
|
13103
|
-
[CSS$
|
|
13104
|
-
[CSS$
|
|
13105
|
-
[CSS$
|
|
13098
|
+
[CSS$U.container]: true,
|
|
13099
|
+
[CSS$U.textSlotted]: this.hasText,
|
|
13100
|
+
[CSS$U.imageSlotted]: this.hasImage,
|
|
13101
|
+
[CSS$U.selectable]: this.selectionMode !== "none",
|
|
13102
|
+
[CSS$U.multiple]: this.selectionMode === "multiple",
|
|
13103
|
+
[CSS$U.closable]: this.closable,
|
|
13104
|
+
[CSS$U.nonInteractive]: !this.interactive,
|
|
13105
|
+
[CSS$U.isCircle]: !this.closable &&
|
|
13106
13106
|
!this.hasText &&
|
|
13107
13107
|
(!this.icon || !this.hasImage) &&
|
|
13108
13108
|
(this.selectionMode === "none" ||
|
|
13109
13109
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected))
|
|
13110
13110
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
13111
13111
|
// eslint-disable-next-line react/jsx-sort-props
|
|
13112
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
13112
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$U.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
13113
13113
|
}
|
|
13114
13114
|
static get assetsDirs() { return ["assets"]; }
|
|
13115
13115
|
get el() { return getElement(this); }
|
|
@@ -15434,7 +15434,7 @@ function zeroArray(array, length) {
|
|
|
15434
15434
|
|
|
15435
15435
|
var color = Color;
|
|
15436
15436
|
|
|
15437
|
-
const CSS$
|
|
15437
|
+
const CSS$T = {
|
|
15438
15438
|
channel: "channel",
|
|
15439
15439
|
channels: "channels",
|
|
15440
15440
|
colorField: "color-field",
|
|
@@ -15754,7 +15754,7 @@ class ColorPicker {
|
|
|
15754
15754
|
const { channelMode: activeChannelMode, messages } = this;
|
|
15755
15755
|
const selected = channelMode === activeChannelMode;
|
|
15756
15756
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
15757
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
15757
|
+
return (hAsync("calcite-tab-title", { class: CSS$T.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
15758
15758
|
};
|
|
15759
15759
|
this.renderChannelsTab = (channelMode) => {
|
|
15760
15760
|
const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
|
|
@@ -15765,7 +15765,7 @@ class ColorPicker {
|
|
|
15765
15765
|
: [messages.hue, messages.saturation, messages.value];
|
|
15766
15766
|
const direction = getElementDir(this.el);
|
|
15767
15767
|
const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
|
|
15768
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
15768
|
+
return (hAsync("calcite-tab", { class: CSS$T.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$T.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
|
|
15769
15769
|
const isAlphaChannel = index === 3;
|
|
15770
15770
|
if (isAlphaChannel) {
|
|
15771
15771
|
channelValue =
|
|
@@ -15776,7 +15776,7 @@ class ColorPicker {
|
|
|
15776
15776
|
}))));
|
|
15777
15777
|
};
|
|
15778
15778
|
this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
|
|
15779
|
-
return (hAsync("calcite-input", { class: CSS$
|
|
15779
|
+
return (hAsync("calcite-input", { class: CSS$T.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, scale: this.scale === "l" ? "m" : "s",
|
|
15780
15780
|
// workaround to ensure input borders overlap as desired
|
|
15781
15781
|
// this is because the build transforms margin-left to its
|
|
15782
15782
|
// logical-prop, which is undesired as channels are always ltr
|
|
@@ -15961,7 +15961,7 @@ class ColorPicker {
|
|
|
15961
15961
|
this.shiftKeyChannelAdjustment = 0;
|
|
15962
15962
|
const { key } = event;
|
|
15963
15963
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
15964
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
15964
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$T.channel))) {
|
|
15965
15965
|
return;
|
|
15966
15966
|
}
|
|
15967
15967
|
const { shiftKey } = event;
|
|
@@ -16048,26 +16048,26 @@ class ColorPicker {
|
|
|
16048
16048
|
const noHex = hexDisabled || hideHex;
|
|
16049
16049
|
const noChannels = channelsDisabled || hideChannels;
|
|
16050
16050
|
const noSaved = savedDisabled || hideSaved;
|
|
16051
|
-
return (hAsync("div", { class: CSS$
|
|
16051
|
+
return (hAsync("div", { class: CSS$T.container }, hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: CSS$T.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16052
16052
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16053
|
-
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$
|
|
16053
|
+
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$T.scope]: true, [CSS$T.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0",
|
|
16054
16054
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16055
|
-
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$
|
|
16055
|
+
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$T.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$T.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$T.sliders }, hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: { [CSS$T.slider]: true, [CSS$T.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
16056
16056
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16057
|
-
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$
|
|
16057
|
+
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$T.scope]: true, [CSS$T.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0",
|
|
16058
16058
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16059
|
-
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$
|
|
16059
|
+
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: { [CSS$T.slider]: true, [CSS$T.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
16060
16060
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16061
|
-
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$
|
|
16061
|
+
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$T.scope]: true, [CSS$T.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: { top: `${opacityTop}px`, left: `${opacityLeft}px` }, tabindex: "0",
|
|
16062
16062
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16063
16063
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
16064
|
-
[CSS$
|
|
16065
|
-
[CSS$
|
|
16066
|
-
} }, hAsync("div", { class: CSS$
|
|
16067
|
-
[CSS$
|
|
16068
|
-
[CSS$
|
|
16069
|
-
}, 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$
|
|
16070
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$
|
|
16064
|
+
[CSS$T.controlSection]: true,
|
|
16065
|
+
[CSS$T.section]: true
|
|
16066
|
+
} }, hAsync("div", { class: CSS$T.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$T.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$T.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
16067
|
+
[CSS$T.colorModeContainer]: true,
|
|
16068
|
+
[CSS$T.splitSection]: true
|
|
16069
|
+
}, 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$T.savedColorsSection]: true, [CSS$T.section]: true } }, hAsync("div", { class: CSS$T.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$T.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$T.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$T.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$T.savedColors }, [
|
|
16070
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$T.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
16071
16071
|
])) : null))));
|
|
16072
16072
|
}
|
|
16073
16073
|
// --------------------------------------------------------------------------
|
|
@@ -16418,7 +16418,7 @@ class ColorPicker {
|
|
|
16418
16418
|
}; }
|
|
16419
16419
|
}
|
|
16420
16420
|
|
|
16421
|
-
const CSS$
|
|
16421
|
+
const CSS$S = {
|
|
16422
16422
|
container: "container",
|
|
16423
16423
|
hexInput: "hex-input",
|
|
16424
16424
|
opacityInput: "opacity-input"
|
|
@@ -16587,9 +16587,9 @@ class ColorPickerHexInput {
|
|
|
16587
16587
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
16588
16588
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16589
16589
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16590
|
-
return (hAsync("div", { class: CSS$
|
|
16590
|
+
return (hAsync("div", { class: CSS$S.container }, hAsync("calcite-input", { class: CSS$S.hexInput, label: messages?.hex || hexLabel, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onHexInputChange, onCalciteInternalInputBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
16591
16591
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16592
|
-
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$
|
|
16592
|
+
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$S.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,
|
|
16593
16593
|
// eslint-disable-next-line react/jsx-sort-props
|
|
16594
16594
|
ref: this.storeOpacityInputRef })) : null));
|
|
16595
16595
|
}
|
|
@@ -16685,7 +16685,7 @@ class ColorPickerHexInput {
|
|
|
16685
16685
|
}; }
|
|
16686
16686
|
}
|
|
16687
16687
|
|
|
16688
|
-
const CSS$
|
|
16688
|
+
const CSS$R = {
|
|
16689
16689
|
swatch: "swatch",
|
|
16690
16690
|
noColorSwatch: "swatch--no-color",
|
|
16691
16691
|
checker: "checker"
|
|
@@ -16723,8 +16723,8 @@ class ColorPickerSwatch {
|
|
|
16723
16723
|
render() {
|
|
16724
16724
|
const isEmpty = !this.internalColor;
|
|
16725
16725
|
const classes = {
|
|
16726
|
-
[CSS$
|
|
16727
|
-
[CSS$
|
|
16726
|
+
[CSS$R.swatch]: true,
|
|
16727
|
+
[CSS$R.noColorSwatch]: isEmpty
|
|
16728
16728
|
};
|
|
16729
16729
|
return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
|
|
16730
16730
|
}
|
|
@@ -16750,7 +16750,7 @@ class ColorPickerSwatch {
|
|
|
16750
16750
|
const alpha = internalColor.alpha();
|
|
16751
16751
|
const hex = hexify(internalColor);
|
|
16752
16752
|
const hexa = hexify(internalColor, alpha < 1);
|
|
16753
|
-
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$
|
|
16753
|
+
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$R.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$R.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: {
|
|
16754
16754
|
"clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`
|
|
16755
16755
|
}, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
|
|
16756
16756
|
}
|
|
@@ -17660,19 +17660,6 @@ function getNodeName(node) {
|
|
|
17660
17660
|
return isNode(node) ? (node.nodeName || '').toLowerCase() : '';
|
|
17661
17661
|
}
|
|
17662
17662
|
|
|
17663
|
-
let uaString;
|
|
17664
|
-
function getUAString() {
|
|
17665
|
-
if (uaString) {
|
|
17666
|
-
return uaString;
|
|
17667
|
-
}
|
|
17668
|
-
const uaData = navigator.userAgentData;
|
|
17669
|
-
if (uaData && Array.isArray(uaData.brands)) {
|
|
17670
|
-
uaString = uaData.brands.map(item => item.brand + "/" + item.version).join(' ');
|
|
17671
|
-
return uaString;
|
|
17672
|
-
}
|
|
17673
|
-
return navigator.userAgent;
|
|
17674
|
-
}
|
|
17675
|
-
|
|
17676
17663
|
function isHTMLElement(value) {
|
|
17677
17664
|
return value instanceof getWindow(value).HTMLElement;
|
|
17678
17665
|
}
|
|
@@ -17700,36 +17687,15 @@ function isTableElement(element) {
|
|
|
17700
17687
|
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
17701
17688
|
}
|
|
17702
17689
|
function isContainingBlock(element) {
|
|
17703
|
-
|
|
17704
|
-
const isFirefox = /firefox/i.test(getUAString());
|
|
17690
|
+
const safari = isSafari();
|
|
17705
17691
|
const css = getComputedStyle$1(element);
|
|
17706
|
-
const backdropFilter = css.backdropFilter || css.WebkitBackdropFilter;
|
|
17707
17692
|
|
|
17708
|
-
// This is non-exhaustive but covers the most common CSS properties that
|
|
17709
|
-
// create a containing block.
|
|
17710
17693
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
17711
|
-
return css.transform !== 'none' || css.perspective !== 'none' || (backdropFilter ? backdropFilter !== 'none' : false) ||
|
|
17712
|
-
// Add type check for old browsers.
|
|
17713
|
-
const contain = css.contain;
|
|
17714
|
-
return contain != null ? contain.includes(value) : false;
|
|
17715
|
-
});
|
|
17694
|
+
return css.transform !== 'none' || css.perspective !== 'none' || !safari && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !safari && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
17716
17695
|
}
|
|
17717
|
-
|
|
17718
|
-
|
|
17719
|
-
|
|
17720
|
-
* viewport offsets. In Safari, the `x`/`y` offsets are values relative to the
|
|
17721
|
-
* visual viewport, while in other engines, they are values relative to the
|
|
17722
|
-
* layout viewport.
|
|
17723
|
-
*/
|
|
17724
|
-
function isClientRectVisualViewportBased() {
|
|
17725
|
-
// TODO: Try to use feature detection here instead. Feature detection for
|
|
17726
|
-
// this can fail in various ways, making the userAgent check the most
|
|
17727
|
-
// reliable:
|
|
17728
|
-
// • Always-visible scrollbar or not
|
|
17729
|
-
// • Width of <html>
|
|
17730
|
-
|
|
17731
|
-
// Is Safari.
|
|
17732
|
-
return /^((?!chrome|android).)*safari/i.test(getUAString());
|
|
17696
|
+
function isSafari() {
|
|
17697
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
17698
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
17733
17699
|
}
|
|
17734
17700
|
function isLastTraversableNode(node) {
|
|
17735
17701
|
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
@@ -17741,8 +17707,10 @@ const round = Math.round;
|
|
|
17741
17707
|
|
|
17742
17708
|
function getCssDimensions(element) {
|
|
17743
17709
|
const css = getComputedStyle$1(element);
|
|
17744
|
-
|
|
17745
|
-
|
|
17710
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
17711
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
17712
|
+
let width = parseFloat(css.width) || 0;
|
|
17713
|
+
let height = parseFloat(css.height) || 0;
|
|
17746
17714
|
const hasOffset = isHTMLElement(element);
|
|
17747
17715
|
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
17748
17716
|
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
@@ -17794,8 +17762,29 @@ function getScale(element) {
|
|
|
17794
17762
|
};
|
|
17795
17763
|
}
|
|
17796
17764
|
|
|
17797
|
-
|
|
17765
|
+
const noOffsets = {
|
|
17766
|
+
x: 0,
|
|
17767
|
+
y: 0
|
|
17768
|
+
};
|
|
17769
|
+
function getVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
17798
17770
|
var _win$visualViewport, _win$visualViewport2;
|
|
17771
|
+
if (isFixed === void 0) {
|
|
17772
|
+
isFixed = true;
|
|
17773
|
+
}
|
|
17774
|
+
if (!isSafari()) {
|
|
17775
|
+
return noOffsets;
|
|
17776
|
+
}
|
|
17777
|
+
const win = element ? getWindow(element) : window;
|
|
17778
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== win) {
|
|
17779
|
+
return noOffsets;
|
|
17780
|
+
}
|
|
17781
|
+
return {
|
|
17782
|
+
x: ((_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) || 0,
|
|
17783
|
+
y: ((_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) || 0
|
|
17784
|
+
};
|
|
17785
|
+
}
|
|
17786
|
+
|
|
17787
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
17799
17788
|
if (includeScale === void 0) {
|
|
17800
17789
|
includeScale = false;
|
|
17801
17790
|
}
|
|
@@ -17814,10 +17803,9 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
17814
17803
|
scale = getScale(element);
|
|
17815
17804
|
}
|
|
17816
17805
|
}
|
|
17817
|
-
const
|
|
17818
|
-
|
|
17819
|
-
let
|
|
17820
|
-
let y = (clientRect.top + (addVisualOffsets ? ((_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) || 0 : 0)) / scale.y;
|
|
17806
|
+
const visualOffsets = getVisualOffsets(domElement, isFixedStrategy, offsetParent);
|
|
17807
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
17808
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
17821
17809
|
let width = clientRect.width / scale.x;
|
|
17822
17810
|
let height = clientRect.height / scale.y;
|
|
17823
17811
|
if (domElement) {
|
|
@@ -17987,7 +17975,7 @@ function getViewportRect(element, strategy) {
|
|
|
17987
17975
|
if (visualViewport) {
|
|
17988
17976
|
width = visualViewport.width;
|
|
17989
17977
|
height = visualViewport.height;
|
|
17990
|
-
const visualViewportBased =
|
|
17978
|
+
const visualViewportBased = isSafari();
|
|
17991
17979
|
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
17992
17980
|
x = visualViewport.offsetLeft;
|
|
17993
17981
|
y = visualViewport.offsetTop;
|
|
@@ -18030,16 +18018,12 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
|
|
|
18030
18018
|
} else if (isElement(clippingAncestor)) {
|
|
18031
18019
|
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
18032
18020
|
} else {
|
|
18033
|
-
const
|
|
18034
|
-
|
|
18021
|
+
const visualOffsets = getVisualOffsets(element);
|
|
18022
|
+
rect = {
|
|
18023
|
+
...clippingAncestor,
|
|
18024
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
18025
|
+
y: clippingAncestor.y - visualOffsets.y
|
|
18035
18026
|
};
|
|
18036
|
-
if (isClientRectVisualViewportBased()) {
|
|
18037
|
-
var _win$visualViewport, _win$visualViewport2;
|
|
18038
|
-
const win = getWindow(element);
|
|
18039
|
-
mutableRect.x -= ((_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) || 0;
|
|
18040
|
-
mutableRect.y -= ((_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) || 0;
|
|
18041
|
-
}
|
|
18042
|
-
rect = mutableRect;
|
|
18043
18027
|
}
|
|
18044
18028
|
return rectToClientRect(rect);
|
|
18045
18029
|
}
|
|
@@ -18158,7 +18142,8 @@ function getOffsetParent(element, polyfill) {
|
|
|
18158
18142
|
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
18159
18143
|
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
18160
18144
|
const documentElement = getDocumentElement(offsetParent);
|
|
18161
|
-
const
|
|
18145
|
+
const isFixed = strategy === 'fixed';
|
|
18146
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
18162
18147
|
let scroll = {
|
|
18163
18148
|
scrollLeft: 0,
|
|
18164
18149
|
scrollTop: 0
|
|
@@ -18167,12 +18152,12 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
18167
18152
|
x: 0,
|
|
18168
18153
|
y: 0
|
|
18169
18154
|
};
|
|
18170
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement &&
|
|
18155
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
18171
18156
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
18172
18157
|
scroll = getNodeScroll(offsetParent);
|
|
18173
18158
|
}
|
|
18174
18159
|
if (isHTMLElement(offsetParent)) {
|
|
18175
|
-
const offsetRect = getBoundingClientRect(offsetParent, true);
|
|
18160
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
18176
18161
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
18177
18162
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
18178
18163
|
} else if (documentElement) {
|
|
@@ -18505,7 +18490,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
18505
18490
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
18506
18491
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
18507
18492
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
18508
|
-
const CSS$
|
|
18493
|
+
const CSS$Q = {
|
|
18509
18494
|
listContainer: "list-container"
|
|
18510
18495
|
};
|
|
18511
18496
|
|
|
@@ -18530,11 +18515,11 @@ function getDepth$1(element) {
|
|
|
18530
18515
|
}
|
|
18531
18516
|
}
|
|
18532
18517
|
|
|
18533
|
-
const CSS$
|
|
18518
|
+
const CSS$P = {
|
|
18534
18519
|
button: "x-button"
|
|
18535
18520
|
};
|
|
18536
18521
|
function XButton({ disabled, key, label, onClick, ref, scale }) {
|
|
18537
|
-
return (hAsync("button", { "aria-label": label, class: CSS$
|
|
18522
|
+
return (hAsync("button", { "aria-label": label, class: CSS$P.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18538
18523
|
// eslint-disable-next-line react/jsx-sort-props
|
|
18539
18524
|
ref: ref },
|
|
18540
18525
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
@@ -18735,7 +18720,7 @@ class Combobox {
|
|
|
18735
18720
|
event.preventDefault();
|
|
18736
18721
|
return;
|
|
18737
18722
|
}
|
|
18738
|
-
if (composedPath.some((node) => node.classList?.contains(CSS$
|
|
18723
|
+
if (composedPath.some((node) => node.classList?.contains(CSS$P.button))) {
|
|
18739
18724
|
this.clearValue();
|
|
18740
18725
|
event.preventDefault();
|
|
18741
18726
|
return;
|
|
@@ -19331,7 +19316,7 @@ class Combobox {
|
|
|
19331
19316
|
renderFloatingUIContainer() {
|
|
19332
19317
|
const { setFloatingEl, setContainerEl, open } = this;
|
|
19333
19318
|
const classes = {
|
|
19334
|
-
[CSS$
|
|
19319
|
+
[CSS$Q.listContainer]: true,
|
|
19335
19320
|
[FloatingCSS.animation]: true,
|
|
19336
19321
|
[FloatingCSS.animationActive]: open
|
|
19337
19322
|
};
|
|
@@ -19428,7 +19413,7 @@ class Combobox {
|
|
|
19428
19413
|
}; }
|
|
19429
19414
|
}
|
|
19430
19415
|
|
|
19431
|
-
const CSS$
|
|
19416
|
+
const CSS$O = {
|
|
19432
19417
|
icon: "icon",
|
|
19433
19418
|
iconActive: "icon--active",
|
|
19434
19419
|
iconIndent: "icon--indent",
|
|
@@ -19505,20 +19490,20 @@ class ComboboxItem {
|
|
|
19505
19490
|
// --------------------------------------------------------------------------
|
|
19506
19491
|
renderIcon(iconPath) {
|
|
19507
19492
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
19508
|
-
[CSS$
|
|
19509
|
-
[CSS$
|
|
19510
|
-
[CSS$
|
|
19493
|
+
[CSS$O.custom]: !!this.icon,
|
|
19494
|
+
[CSS$O.iconActive]: this.icon && this.selected,
|
|
19495
|
+
[CSS$O.iconIndent]: true
|
|
19511
19496
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
19512
19497
|
}
|
|
19513
19498
|
renderSelectIndicator(showDot, iconPath) {
|
|
19514
19499
|
return showDot ? (hAsync("span", { class: {
|
|
19515
|
-
[CSS$
|
|
19516
|
-
[CSS$
|
|
19517
|
-
[CSS$
|
|
19500
|
+
[CSS$O.icon]: true,
|
|
19501
|
+
[CSS$O.dot]: true,
|
|
19502
|
+
[CSS$O.iconIndent]: true
|
|
19518
19503
|
} })) : (hAsync("calcite-icon", { class: {
|
|
19519
|
-
[CSS$
|
|
19520
|
-
[CSS$
|
|
19521
|
-
[CSS$
|
|
19504
|
+
[CSS$O.icon]: true,
|
|
19505
|
+
[CSS$O.iconActive]: this.selected,
|
|
19506
|
+
[CSS$O.iconIndent]: true
|
|
19522
19507
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
19523
19508
|
}
|
|
19524
19509
|
renderChildren() {
|
|
@@ -19533,10 +19518,10 @@ class ComboboxItem {
|
|
|
19533
19518
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19534
19519
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
19535
19520
|
const classes = {
|
|
19536
|
-
[CSS$
|
|
19537
|
-
[CSS$
|
|
19538
|
-
[CSS$
|
|
19539
|
-
[CSS$
|
|
19521
|
+
[CSS$O.label]: true,
|
|
19522
|
+
[CSS$O.selected]: this.selected,
|
|
19523
|
+
[CSS$O.active]: this.active,
|
|
19524
|
+
[CSS$O.single]: isSingleSelect
|
|
19540
19525
|
};
|
|
19541
19526
|
const depth = getDepth$1();
|
|
19542
19527
|
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())));
|
|
@@ -19567,7 +19552,7 @@ class ComboboxItem {
|
|
|
19567
19552
|
}; }
|
|
19568
19553
|
}
|
|
19569
19554
|
|
|
19570
|
-
const CSS$
|
|
19555
|
+
const CSS$N = {
|
|
19571
19556
|
list: "list",
|
|
19572
19557
|
label: "label",
|
|
19573
19558
|
title: "title"
|
|
@@ -19603,7 +19588,7 @@ class ComboboxItemGroup {
|
|
|
19603
19588
|
render() {
|
|
19604
19589
|
const { el, scale } = this;
|
|
19605
19590
|
const depth = getDepth$1();
|
|
19606
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
19591
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$N.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$N.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$N.title }, this.label)), hAsync("slot", null)));
|
|
19607
19592
|
}
|
|
19608
19593
|
get el() { return getElement(this); }
|
|
19609
19594
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -20770,7 +20755,7 @@ class DatePickerMonth {
|
|
|
20770
20755
|
}; }
|
|
20771
20756
|
}
|
|
20772
20757
|
|
|
20773
|
-
const CSS$
|
|
20758
|
+
const CSS$M = {
|
|
20774
20759
|
header: "header",
|
|
20775
20760
|
month: "month",
|
|
20776
20761
|
chevron: "chevron",
|
|
@@ -20870,7 +20855,7 @@ class DatePickerMonthHeader {
|
|
|
20870
20855
|
this.setNextPrevMonthDates();
|
|
20871
20856
|
}
|
|
20872
20857
|
render() {
|
|
20873
|
-
return hAsync("div", { class: CSS$
|
|
20858
|
+
return hAsync("div", { class: CSS$M.header }, this.renderContent());
|
|
20874
20859
|
}
|
|
20875
20860
|
renderContent() {
|
|
20876
20861
|
const { messages, localeData, activeDate } = this;
|
|
@@ -20893,12 +20878,12 @@ class DatePickerMonthHeader {
|
|
|
20893
20878
|
const order = getOrder(unitOrder);
|
|
20894
20879
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
20895
20880
|
const suffix = localeData.year?.suffix;
|
|
20896
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
20881
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$M.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$M.textReverse]: reverse } }, hAsync(Heading, { class: CSS$M.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$M.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
20897
20882
|
year: true,
|
|
20898
|
-
[CSS$
|
|
20883
|
+
[CSS$M.yearSuffix]: !!suffix
|
|
20899
20884
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
20900
20885
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20901
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
20886
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$M.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$M.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 }))));
|
|
20902
20887
|
}
|
|
20903
20888
|
setNextPrevMonthDates() {
|
|
20904
20889
|
if (!this.activeDate) {
|
|
@@ -21393,7 +21378,7 @@ class Dropdown {
|
|
|
21393
21378
|
}; }
|
|
21394
21379
|
}
|
|
21395
21380
|
|
|
21396
|
-
const CSS$
|
|
21381
|
+
const CSS$L = {
|
|
21397
21382
|
containerSmall: "container--s",
|
|
21398
21383
|
containerMedium: "container--m",
|
|
21399
21384
|
containerLarge: "container--l"
|
|
@@ -21426,9 +21411,9 @@ class DropdownGroup {
|
|
|
21426
21411
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
21427
21412
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
21428
21413
|
container: true,
|
|
21429
|
-
[CSS$
|
|
21430
|
-
[CSS$
|
|
21431
|
-
[CSS$
|
|
21414
|
+
[CSS$L.containerSmall]: scale === "s",
|
|
21415
|
+
[CSS$L.containerMedium]: scale === "m",
|
|
21416
|
+
[CSS$L.containerLarge]: scale === "l"
|
|
21432
21417
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
21433
21418
|
}
|
|
21434
21419
|
//--------------------------------------------------------------------------
|
|
@@ -21469,7 +21454,7 @@ class DropdownGroup {
|
|
|
21469
21454
|
}; }
|
|
21470
21455
|
}
|
|
21471
21456
|
|
|
21472
|
-
const CSS$
|
|
21457
|
+
const CSS$K = {
|
|
21473
21458
|
containerLink: "container--link",
|
|
21474
21459
|
containerSmall: "container--s",
|
|
21475
21460
|
containerMedium: "container--m",
|
|
@@ -21534,9 +21519,9 @@ class DropdownItem {
|
|
|
21534
21519
|
}
|
|
21535
21520
|
render() {
|
|
21536
21521
|
const scale = getElementProp(this.el, "scale", this.scale);
|
|
21537
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
21538
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
21539
|
-
const iconEndEl = (hAsync("calcite-icon", { class: CSS$
|
|
21522
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$K.iconStart, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
21523
|
+
const contentNode = (hAsync("span", { class: CSS$K.itemContent }, hAsync("slot", null)));
|
|
21524
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$K.iconEnd, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
21540
21525
|
const slottedContent = this.iconStart && this.iconEnd
|
|
21541
21526
|
? [iconStartEl, contentNode, iconEndEl]
|
|
21542
21527
|
: this.iconStart
|
|
@@ -21544,7 +21529,7 @@ class DropdownItem {
|
|
|
21544
21529
|
: this.iconEnd
|
|
21545
21530
|
? [contentNode, iconEndEl]
|
|
21546
21531
|
: contentNode;
|
|
21547
|
-
const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: CSS$
|
|
21532
|
+
const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: CSS$K.link, href: this.href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
21548
21533
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21549
21534
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
21550
21535
|
const itemRole = this.href
|
|
@@ -21557,14 +21542,14 @@ class DropdownItem {
|
|
|
21557
21542
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
21558
21543
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
21559
21544
|
container: true,
|
|
21560
|
-
[CSS$
|
|
21561
|
-
[CSS$
|
|
21562
|
-
[CSS$
|
|
21563
|
-
[CSS$
|
|
21564
|
-
[CSS$
|
|
21565
|
-
[CSS$
|
|
21566
|
-
[CSS$
|
|
21567
|
-
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$
|
|
21545
|
+
[CSS$K.containerLink]: !!this.href,
|
|
21546
|
+
[CSS$K.containerSmall]: scale === "s",
|
|
21547
|
+
[CSS$K.containerMedium]: scale === "m",
|
|
21548
|
+
[CSS$K.containerLarge]: scale === "l",
|
|
21549
|
+
[CSS$K.containerMulti]: this.selectionMode === "multiple",
|
|
21550
|
+
[CSS$K.containerSingle]: this.selectionMode === "single",
|
|
21551
|
+
[CSS$K.containerNone]: this.selectionMode === "none"
|
|
21552
|
+
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$K.icon, icon: this.selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
|
|
21568
21553
|
}
|
|
21569
21554
|
//--------------------------------------------------------------------------
|
|
21570
21555
|
//
|
|
@@ -21670,7 +21655,7 @@ class DropdownItem {
|
|
|
21670
21655
|
}; }
|
|
21671
21656
|
}
|
|
21672
21657
|
|
|
21673
|
-
const CSS$
|
|
21658
|
+
const CSS$J = {
|
|
21674
21659
|
button: "button"
|
|
21675
21660
|
};
|
|
21676
21661
|
const ICONS$c = {
|
|
@@ -21725,7 +21710,7 @@ class Fab {
|
|
|
21725
21710
|
render() {
|
|
21726
21711
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl } = this;
|
|
21727
21712
|
const title = !textEnabled ? label || text || null : null;
|
|
21728
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
21713
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$J.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",
|
|
21729
21714
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21730
21715
|
ref: (buttonEl) => {
|
|
21731
21716
|
this.buttonEl = buttonEl;
|
|
@@ -21755,7 +21740,7 @@ class Fab {
|
|
|
21755
21740
|
}; }
|
|
21756
21741
|
}
|
|
21757
21742
|
|
|
21758
|
-
const CSS$
|
|
21743
|
+
const CSS$I = {
|
|
21759
21744
|
container: "container",
|
|
21760
21745
|
searchIcon: "search-icon"
|
|
21761
21746
|
};
|
|
@@ -21867,7 +21852,7 @@ class Filter {
|
|
|
21867
21852
|
// --------------------------------------------------------------------------
|
|
21868
21853
|
render() {
|
|
21869
21854
|
const { disabled, scale } = this;
|
|
21870
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
21855
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$I.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,
|
|
21871
21856
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21872
21857
|
ref: (el) => {
|
|
21873
21858
|
this.textInput = el;
|
|
@@ -21905,7 +21890,7 @@ class Filter {
|
|
|
21905
21890
|
}; }
|
|
21906
21891
|
}
|
|
21907
21892
|
|
|
21908
|
-
const CSS$
|
|
21893
|
+
const CSS$H = {
|
|
21909
21894
|
frame: "frame",
|
|
21910
21895
|
frameAdvancing: "frame--advancing",
|
|
21911
21896
|
frameRetreating: "frame--retreating"
|
|
@@ -22005,9 +21990,9 @@ class Flow {
|
|
|
22005
21990
|
render() {
|
|
22006
21991
|
const { flowDirection } = this;
|
|
22007
21992
|
const frameDirectionClasses = {
|
|
22008
|
-
[CSS$
|
|
22009
|
-
[CSS$
|
|
22010
|
-
[CSS$
|
|
21993
|
+
[CSS$H.frame]: true,
|
|
21994
|
+
[CSS$H.frameAdvancing]: flowDirection === "advancing",
|
|
21995
|
+
[CSS$H.frameRetreating]: flowDirection === "retreating"
|
|
22011
21996
|
};
|
|
22012
21997
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
22013
21998
|
}
|
|
@@ -22028,7 +22013,7 @@ class Flow {
|
|
|
22028
22013
|
}; }
|
|
22029
22014
|
}
|
|
22030
22015
|
|
|
22031
|
-
const CSS$
|
|
22016
|
+
const CSS$G = {
|
|
22032
22017
|
actionBarContainer: "action-bar-container",
|
|
22033
22018
|
backButton: "back-button",
|
|
22034
22019
|
container: "container",
|
|
@@ -22063,7 +22048,7 @@ const SLOTS$l = {
|
|
|
22063
22048
|
footerActions: "footer-actions"
|
|
22064
22049
|
};
|
|
22065
22050
|
|
|
22066
|
-
const CSS$
|
|
22051
|
+
const CSS$F = {
|
|
22067
22052
|
backButton: "back-button"
|
|
22068
22053
|
};
|
|
22069
22054
|
const ICONS$9 = {
|
|
@@ -22209,7 +22194,7 @@ class FlowItem {
|
|
|
22209
22194
|
const { showBackButton, backButtonClick, messages } = this;
|
|
22210
22195
|
const label = messages.back;
|
|
22211
22196
|
const icon = rtl ? ICONS$9.backRight : ICONS$9.backLeft;
|
|
22212
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
22197
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$F.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label,
|
|
22213
22198
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22214
22199
|
ref: this.setBackRef })) : null;
|
|
22215
22200
|
}
|
|
@@ -22480,7 +22465,7 @@ class Graph {
|
|
|
22480
22465
|
}; }
|
|
22481
22466
|
}
|
|
22482
22467
|
|
|
22483
|
-
const CSS$
|
|
22468
|
+
const CSS$E = {
|
|
22484
22469
|
handle: "handle",
|
|
22485
22470
|
handleActivated: "handle--activated"
|
|
22486
22471
|
};
|
|
@@ -22575,7 +22560,7 @@ class Handle {
|
|
|
22575
22560
|
render() {
|
|
22576
22561
|
return (
|
|
22577
22562
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
22578
|
-
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
22563
|
+
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$E.handle]: true, [CSS$E.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages.dragHandle,
|
|
22579
22564
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22580
22565
|
ref: (el) => {
|
|
22581
22566
|
this.handleButton = el;
|
|
@@ -22606,7 +22591,7 @@ class Handle {
|
|
|
22606
22591
|
}; }
|
|
22607
22592
|
}
|
|
22608
22593
|
|
|
22609
|
-
const CSS$
|
|
22594
|
+
const CSS$D = {
|
|
22610
22595
|
icon: "icon",
|
|
22611
22596
|
flipRtl: "flip-rtl"
|
|
22612
22597
|
};
|
|
@@ -22654,7 +22639,7 @@ class Icon {
|
|
|
22654
22639
|
const semantic = !!textLabel;
|
|
22655
22640
|
const paths = [].concat(pathData || "");
|
|
22656
22641
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
22657
|
-
[CSS$
|
|
22642
|
+
[CSS$D.flipRtl]: dir === "rtl" && flipRtl,
|
|
22658
22643
|
svg: true
|
|
22659
22644
|
}, 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 }))))));
|
|
22660
22645
|
}
|
|
@@ -22700,7 +22685,7 @@ class Icon {
|
|
|
22700
22685
|
}; }
|
|
22701
22686
|
}
|
|
22702
22687
|
|
|
22703
|
-
const CSS$
|
|
22688
|
+
const CSS$C = {
|
|
22704
22689
|
wrapper: "wrapper",
|
|
22705
22690
|
confirmChangesButton: "confirm-changes-button",
|
|
22706
22691
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -22848,16 +22833,16 @@ class InlineEditable {
|
|
|
22848
22833
|
updateHostInteraction(this);
|
|
22849
22834
|
}
|
|
22850
22835
|
render() {
|
|
22851
|
-
return (hAsync("div", { class: CSS$
|
|
22836
|
+
return (hAsync("div", { class: CSS$C.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$C.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$C.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$C.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
|
|
22852
22837
|
opacity: this.editingEnabled ? "0" : "1",
|
|
22853
22838
|
width: this.editingEnabled ? "0" : "inherit"
|
|
22854
22839
|
}, type: "button",
|
|
22855
22840
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22856
22841
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
22857
|
-
hAsync("div", { class: CSS$
|
|
22842
|
+
hAsync("div", { class: CSS$C.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$C.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
|
|
22858
22843
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22859
22844
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
22860
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
22845
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$C.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
|
|
22861
22846
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22862
22847
|
ref: (el) => (this.confirmEditingButton = el) })
|
|
22863
22848
|
])));
|
|
@@ -22943,7 +22928,7 @@ class InlineEditable {
|
|
|
22943
22928
|
}; }
|
|
22944
22929
|
}
|
|
22945
22930
|
|
|
22946
|
-
const CSS$
|
|
22931
|
+
const CSS$B = {
|
|
22947
22932
|
loader: "loader",
|
|
22948
22933
|
clearButton: "clear-button",
|
|
22949
22934
|
editingEnabled: "editing-enabled",
|
|
@@ -23532,38 +23517,38 @@ class Input {
|
|
|
23532
23517
|
// --------------------------------------------------------------------------
|
|
23533
23518
|
render() {
|
|
23534
23519
|
const dir = getElementDir(this.el);
|
|
23535
|
-
const loader = (hAsync("div", { class: CSS$
|
|
23536
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
23537
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
23520
|
+
const loader = (hAsync("div", { class: CSS$B.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
23521
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$B.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
23522
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$B.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
23538
23523
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
23539
23524
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
23540
|
-
[CSS$
|
|
23541
|
-
[CSS$
|
|
23525
|
+
[CSS$B.numberButtonItem]: true,
|
|
23526
|
+
[CSS$B.buttonItemHorizontal]: isHorizontalNumberButton
|
|
23542
23527
|
}, "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" })));
|
|
23543
23528
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
23544
|
-
[CSS$
|
|
23545
|
-
[CSS$
|
|
23529
|
+
[CSS$B.numberButtonItem]: true,
|
|
23530
|
+
[CSS$B.buttonItemHorizontal]: isHorizontalNumberButton
|
|
23546
23531
|
}, "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" })));
|
|
23547
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
23548
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
23549
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
23532
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$B.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
23533
|
+
const prefixText = hAsync("div", { class: CSS$B.prefix }, this.prefixText);
|
|
23534
|
+
const suffixText = hAsync("div", { class: CSS$B.suffix }, this.suffixText);
|
|
23550
23535
|
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,
|
|
23551
23536
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23552
23537
|
ref: this.setChildNumberElRef })) : null;
|
|
23553
23538
|
const childEl = this.type !== "number"
|
|
23554
23539
|
? [
|
|
23555
23540
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
23556
|
-
[CSS$
|
|
23557
|
-
[CSS$
|
|
23541
|
+
[CSS$B.editingEnabled]: this.editingEnabled,
|
|
23542
|
+
[CSS$B.inlineChild]: !!this.inlineEditableEl
|
|
23558
23543
|
}, 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,
|
|
23559
23544
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23560
23545
|
ref: this.setChildElRef }),
|
|
23561
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
23546
|
+
this.isTextarea ? (hAsync("div", { class: CSS$B.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null
|
|
23562
23547
|
]
|
|
23563
23548
|
: null;
|
|
23564
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
23549
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$B.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
23565
23550
|
? numberButtonsHorizontalDown
|
|
23566
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
23551
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$B.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$B.actionWrapper }, hAsync("slot", { name: SLOTS$j.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
23567
23552
|
? numberButtonsVertical
|
|
23568
23553
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
23569
23554
|
? numberButtonsHorizontalUp
|
|
@@ -23639,7 +23624,7 @@ class Input {
|
|
|
23639
23624
|
}; }
|
|
23640
23625
|
}
|
|
23641
23626
|
|
|
23642
|
-
const CSS$
|
|
23627
|
+
const CSS$A = {
|
|
23643
23628
|
menu: "menu-container",
|
|
23644
23629
|
menuActive: "menu-container--active",
|
|
23645
23630
|
toggleIcon: "toggle-icon"
|
|
@@ -24875,8 +24860,8 @@ class InputDatePicker {
|
|
|
24875
24860
|
ref: this.setStartWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
24876
24861
|
// eslint-disable-next-line react/jsx-sort-props
|
|
24877
24862
|
ref: this.setStartInput }), this.renderToggleIcon(this.open && this.focusedInput === "start")), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
24878
|
-
[CSS$
|
|
24879
|
-
[CSS$
|
|
24863
|
+
[CSS$A.menu]: true,
|
|
24864
|
+
[CSS$A.menuActive]: this.open
|
|
24880
24865
|
}, id: this.dialogId, role: "dialog",
|
|
24881
24866
|
// eslint-disable-next-line react/jsx-sort-props
|
|
24882
24867
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -24898,7 +24883,7 @@ class InputDatePicker {
|
|
|
24898
24883
|
ref: this.setEndInput }), this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
24899
24884
|
}
|
|
24900
24885
|
renderToggleIcon(open) {
|
|
24901
|
-
return (hAsync("span", { class: CSS$
|
|
24886
|
+
return (hAsync("span", { class: CSS$A.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
24902
24887
|
}
|
|
24903
24888
|
setReferenceEl() {
|
|
24904
24889
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -25145,7 +25130,7 @@ class InputMessage {
|
|
|
25145
25130
|
}; }
|
|
25146
25131
|
}
|
|
25147
25132
|
|
|
25148
|
-
const CSS$
|
|
25133
|
+
const CSS$z = {
|
|
25149
25134
|
loader: "loader",
|
|
25150
25135
|
clearButton: "clear-button",
|
|
25151
25136
|
editingEnabled: "editing-enabled",
|
|
@@ -25647,27 +25632,27 @@ class InputNumber {
|
|
|
25647
25632
|
// --------------------------------------------------------------------------
|
|
25648
25633
|
render() {
|
|
25649
25634
|
const dir = getElementDir(this.el);
|
|
25650
|
-
const loader = (hAsync("div", { class: CSS$
|
|
25651
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
25652
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
25635
|
+
const loader = (hAsync("div", { class: CSS$z.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
25636
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$z.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
25637
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$z.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
25653
25638
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
25654
25639
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
25655
|
-
[CSS$
|
|
25656
|
-
[CSS$
|
|
25640
|
+
[CSS$z.numberButtonItem]: true,
|
|
25641
|
+
[CSS$z.buttonItemHorizontal]: isHorizontalNumberButton
|
|
25657
25642
|
}, "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" })));
|
|
25658
25643
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
25659
|
-
[CSS$
|
|
25660
|
-
[CSS$
|
|
25644
|
+
[CSS$z.numberButtonItem]: true,
|
|
25645
|
+
[CSS$z.buttonItemHorizontal]: isHorizontalNumberButton
|
|
25661
25646
|
}, "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" })));
|
|
25662
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
25663
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
25664
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
25647
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$z.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
25648
|
+
const prefixText = hAsync("div", { class: CSS$z.prefix }, this.prefixText);
|
|
25649
|
+
const suffixText = hAsync("div", { class: CSS$z.suffix }, this.suffixText);
|
|
25665
25650
|
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,
|
|
25666
25651
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25667
25652
|
ref: this.setChildNumberElRef }));
|
|
25668
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
25653
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$z.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
25669
25654
|
? numberButtonsHorizontalDown
|
|
25670
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
25655
|
+
: null, 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.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
25671
25656
|
? numberButtonsHorizontalUp
|
|
25672
25657
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
25673
25658
|
}
|
|
@@ -25734,7 +25719,7 @@ class InputNumber {
|
|
|
25734
25719
|
}; }
|
|
25735
25720
|
}
|
|
25736
25721
|
|
|
25737
|
-
const CSS$
|
|
25722
|
+
const CSS$y = {
|
|
25738
25723
|
loader: "loader",
|
|
25739
25724
|
clearButton: "clear-button",
|
|
25740
25725
|
editingEnabled: "editing-enabled",
|
|
@@ -26032,18 +26017,18 @@ class InputText {
|
|
|
26032
26017
|
// --------------------------------------------------------------------------
|
|
26033
26018
|
render() {
|
|
26034
26019
|
const dir = getElementDir(this.el);
|
|
26035
|
-
const loader = (hAsync("div", { class: CSS$
|
|
26036
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
26037
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
26038
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
26039
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
26020
|
+
const loader = (hAsync("div", { class: CSS$y.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
26021
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$y.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26022
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$y.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
26023
|
+
const prefixText = hAsync("div", { class: CSS$y.prefix }, this.prefixText);
|
|
26024
|
+
const suffixText = hAsync("div", { class: CSS$y.suffix }, this.suffixText);
|
|
26040
26025
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
26041
|
-
[CSS$
|
|
26042
|
-
[CSS$
|
|
26026
|
+
[CSS$y.editingEnabled]: this.editingEnabled,
|
|
26027
|
+
[CSS$y.inlineChild]: !!this.inlineEditableEl
|
|
26043
26028
|
}, 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,
|
|
26044
26029
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26045
26030
|
ref: this.setChildElRef }));
|
|
26046
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
26031
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$y.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$y.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$y.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26047
26032
|
}
|
|
26048
26033
|
static get assetsDirs() { return ["assets"]; }
|
|
26049
26034
|
get el() { return getElement(this); }
|
|
@@ -26281,7 +26266,7 @@ function toISOTimeString(value, includeSeconds = true) {
|
|
|
26281
26266
|
return isoTimeString;
|
|
26282
26267
|
}
|
|
26283
26268
|
|
|
26284
|
-
const CSS$
|
|
26269
|
+
const CSS$x = {
|
|
26285
26270
|
toggleIcon: "toggle-icon"
|
|
26286
26271
|
};
|
|
26287
26272
|
|
|
@@ -27857,7 +27842,7 @@ class InputTimePicker {
|
|
|
27857
27842
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
27858
27843
|
}
|
|
27859
27844
|
renderToggleIcon(open) {
|
|
27860
|
-
return (hAsync("span", { class: CSS$
|
|
27845
|
+
return (hAsync("span", { class: CSS$x.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
27861
27846
|
}
|
|
27862
27847
|
static get delegatesFocus() { return true; }
|
|
27863
27848
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -27904,7 +27889,7 @@ class InputTimePicker {
|
|
|
27904
27889
|
}; }
|
|
27905
27890
|
}
|
|
27906
27891
|
|
|
27907
|
-
const CSS$
|
|
27892
|
+
const CSS$w = {
|
|
27908
27893
|
container: "container"
|
|
27909
27894
|
};
|
|
27910
27895
|
|
|
@@ -27944,7 +27929,7 @@ class Label {
|
|
|
27944
27929
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
27945
27930
|
}
|
|
27946
27931
|
render() {
|
|
27947
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
27932
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$w.container }, hAsync("slot", null))));
|
|
27948
27933
|
}
|
|
27949
27934
|
get el() { return getElement(this); }
|
|
27950
27935
|
static get style() { return labelCss; }
|
|
@@ -28073,7 +28058,7 @@ class Link {
|
|
|
28073
28058
|
}; }
|
|
28074
28059
|
}
|
|
28075
28060
|
|
|
28076
|
-
const CSS$
|
|
28061
|
+
const CSS$v = {
|
|
28077
28062
|
container: "container",
|
|
28078
28063
|
containerBorderSelected: "container--border-selected",
|
|
28079
28064
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -28134,7 +28119,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
28134
28119
|
}
|
|
28135
28120
|
}
|
|
28136
28121
|
|
|
28137
|
-
const CSS$
|
|
28122
|
+
const CSS$u = {
|
|
28138
28123
|
container: "container",
|
|
28139
28124
|
table: "table",
|
|
28140
28125
|
scrim: "scrim",
|
|
@@ -28378,9 +28363,9 @@ class List$1 {
|
|
|
28378
28363
|
// --------------------------------------------------------------------------
|
|
28379
28364
|
render() {
|
|
28380
28365
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
|
|
28381
|
-
return (hAsync("div", { class: CSS$
|
|
28366
|
+
return (hAsync("div", { class: CSS$u.container }, loading ? hAsync("calcite-scrim", { class: CSS$u.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$u.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$u.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilter, placeholder: filterPlaceholder, value: filterText,
|
|
28382
28367
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28383
|
-
ref: (el) => (this.filterEl = el) }))))) : null, hAsync("tbody", { class: CSS$
|
|
28368
|
+
ref: (el) => (this.filterEl = el) }))))) : null, hAsync("tbody", { class: CSS$u.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
28384
28369
|
}
|
|
28385
28370
|
filterElements({ el, filteredItems, visibleParents }) {
|
|
28386
28371
|
const hidden = !visibleParents.has(el) && !filteredItems.includes(el);
|
|
@@ -28499,7 +28484,7 @@ class ListItem {
|
|
|
28499
28484
|
};
|
|
28500
28485
|
this.toggleSelected = () => {
|
|
28501
28486
|
const { selectionMode, selected } = this;
|
|
28502
|
-
if (this.disabled
|
|
28487
|
+
if (this.disabled) {
|
|
28503
28488
|
return;
|
|
28504
28489
|
}
|
|
28505
28490
|
if (selectionMode === "multiple" || selectionMode === "single") {
|
|
@@ -28516,10 +28501,10 @@ class ListItem {
|
|
|
28516
28501
|
}
|
|
28517
28502
|
const { key } = event;
|
|
28518
28503
|
const composedPath = event.composedPath();
|
|
28519
|
-
const { containerEl, contentEl, actionsStartEl, actionsEndEl, open, openable
|
|
28504
|
+
const { containerEl, contentEl, actionsStartEl, actionsEndEl, open, openable } = this;
|
|
28520
28505
|
const cells = [actionsStartEl, contentEl, actionsEndEl].filter(Boolean);
|
|
28521
28506
|
const currentIndex = cells.findIndex((cell) => composedPath.includes(cell));
|
|
28522
|
-
if (key === "Enter"
|
|
28507
|
+
if (key === "Enter") {
|
|
28523
28508
|
event.preventDefault();
|
|
28524
28509
|
this.toggleSelected();
|
|
28525
28510
|
}
|
|
@@ -28679,7 +28664,7 @@ class ListItem {
|
|
|
28679
28664
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
28680
28665
|
return null;
|
|
28681
28666
|
}
|
|
28682
|
-
return (hAsync("td", { class: CSS$
|
|
28667
|
+
return (hAsync("td", { class: CSS$v.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
28683
28668
|
? selectionMode === "multiple"
|
|
28684
28669
|
? ICONS$7.selectedMultiple
|
|
28685
28670
|
: ICONS$7.selectedSingle
|
|
@@ -28688,35 +28673,35 @@ class ListItem {
|
|
|
28688
28673
|
renderOpen() {
|
|
28689
28674
|
const { el, open, openable, parentListEl } = this;
|
|
28690
28675
|
const dir = getElementDir(el);
|
|
28691
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
28676
|
+
return openable ? (hAsync("td", { class: CSS$v.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$v.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$7.blank, scale: "s" }))) : null;
|
|
28692
28677
|
}
|
|
28693
28678
|
renderActionsStart() {
|
|
28694
28679
|
const { label, hasActionsStart } = this;
|
|
28695
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
28680
|
+
return (hAsync("td", { "aria-label": label, class: CSS$v.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
28696
28681
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28697
28682
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$g.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
28698
28683
|
}
|
|
28699
28684
|
renderActionsEnd() {
|
|
28700
28685
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
28701
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
28686
|
+
return (hAsync("td", { "aria-label": label, class: CSS$v.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
28702
28687
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28703
28688
|
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$g.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));
|
|
28704
28689
|
}
|
|
28705
28690
|
renderContentStart() {
|
|
28706
28691
|
const { hasContentStart } = this;
|
|
28707
|
-
return (hAsync("div", { class: CSS$
|
|
28692
|
+
return (hAsync("div", { class: CSS$v.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$g.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
28708
28693
|
}
|
|
28709
28694
|
renderCustomContent() {
|
|
28710
28695
|
const { hasCustomContent } = this;
|
|
28711
|
-
return (hAsync("div", { class: CSS$
|
|
28696
|
+
return (hAsync("div", { class: CSS$v.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$g.content, onSlotchange: this.handleContentSlotChange })));
|
|
28712
28697
|
}
|
|
28713
28698
|
renderContentEnd() {
|
|
28714
28699
|
const { hasContentEnd } = this;
|
|
28715
|
-
return (hAsync("div", { class: CSS$
|
|
28700
|
+
return (hAsync("div", { class: CSS$v.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$g.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
28716
28701
|
}
|
|
28717
28702
|
renderContentProperties() {
|
|
28718
28703
|
const { label, description, hasCustomContent } = this;
|
|
28719
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
28704
|
+
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$v.content, key: "content" }, label ? (hAsync("div", { class: CSS$v.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$v.description, key: "description" }, description)) : null)) : null;
|
|
28720
28705
|
}
|
|
28721
28706
|
renderContentContainer() {
|
|
28722
28707
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -28728,9 +28713,9 @@ class ListItem {
|
|
|
28728
28713
|
this.renderContentEnd()
|
|
28729
28714
|
];
|
|
28730
28715
|
return (hAsync("td", { "aria-label": label, class: {
|
|
28731
|
-
[CSS$
|
|
28732
|
-
[CSS$
|
|
28733
|
-
[CSS$
|
|
28716
|
+
[CSS$v.contentContainer]: true,
|
|
28717
|
+
[CSS$v.contentContainerSelectable]: selectionMode !== "none",
|
|
28718
|
+
[CSS$v.contentContainerHasCenterContent]: hasCenterContent
|
|
28734
28719
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
28735
28720
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28736
28721
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -28741,14 +28726,14 @@ class ListItem {
|
|
|
28741
28726
|
const borderSelected = showBorder && selected;
|
|
28742
28727
|
const borderUnselected = showBorder && !selected;
|
|
28743
28728
|
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: {
|
|
28744
|
-
[CSS$
|
|
28745
|
-
[CSS$
|
|
28746
|
-
[CSS$
|
|
28729
|
+
[CSS$v.container]: true,
|
|
28730
|
+
[CSS$v.containerBorderSelected]: borderSelected,
|
|
28731
|
+
[CSS$v.containerBorderUnselected]: borderUnselected
|
|
28747
28732
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
28748
28733
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28749
28734
|
ref: (el) => (this.containerEl = el) }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
28750
|
-
[CSS$
|
|
28751
|
-
[CSS$
|
|
28735
|
+
[CSS$v.nestedContainer]: true,
|
|
28736
|
+
[CSS$v.nestedContainerHidden]: openable && !open
|
|
28752
28737
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
28753
28738
|
}
|
|
28754
28739
|
setSelectionDefaults() {
|
|
@@ -28811,7 +28796,7 @@ class ListItem {
|
|
|
28811
28796
|
}; }
|
|
28812
28797
|
}
|
|
28813
28798
|
|
|
28814
|
-
const CSS$
|
|
28799
|
+
const CSS$t = {
|
|
28815
28800
|
container: "container",
|
|
28816
28801
|
heading: "heading"
|
|
28817
28802
|
};
|
|
@@ -28847,7 +28832,7 @@ class ListItemGroup {
|
|
|
28847
28832
|
// --------------------------------------------------------------------------
|
|
28848
28833
|
render() {
|
|
28849
28834
|
const { heading, visualLevel } = this;
|
|
28850
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
28835
|
+
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", null)));
|
|
28851
28836
|
}
|
|
28852
28837
|
get el() { return getElement(this); }
|
|
28853
28838
|
static get style() { return listItemGroupCss; }
|
|
@@ -28947,7 +28932,7 @@ class Loader {
|
|
|
28947
28932
|
}; }
|
|
28948
28933
|
}
|
|
28949
28934
|
|
|
28950
|
-
const CSS$
|
|
28935
|
+
const CSS$s = {
|
|
28951
28936
|
modal: "modal",
|
|
28952
28937
|
title: "title",
|
|
28953
28938
|
header: "header",
|
|
@@ -29120,50 +29105,50 @@ class Modal {
|
|
|
29120
29105
|
}
|
|
29121
29106
|
render() {
|
|
29122
29107
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
29123
|
-
[CSS$
|
|
29124
|
-
[CSS$
|
|
29125
|
-
[CSS$
|
|
29126
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
29127
|
-
[CSS$
|
|
29108
|
+
[CSS$s.container]: true,
|
|
29109
|
+
[CSS$s.containerOpen]: this.isOpen,
|
|
29110
|
+
[CSS$s.slottedInShell]: this.slottedInShell
|
|
29111
|
+
} }, hAsync("calcite-scrim", { class: CSS$s.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
29112
|
+
[CSS$s.modal]: true
|
|
29128
29113
|
},
|
|
29129
29114
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29130
|
-
ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
29131
|
-
[CSS$
|
|
29132
|
-
[CSS$
|
|
29115
|
+
ref: this.setTransitionEl }, hAsync("div", { class: CSS$s.header }, this.renderCloseButton(), hAsync("header", { class: CSS$s.title }, hAsync("slot", { name: CSS$s.header }))), this.renderContentTop(), hAsync("div", { class: {
|
|
29116
|
+
[CSS$s.content]: true,
|
|
29117
|
+
[CSS$s.contentNoFooter]: !this.hasFooter
|
|
29133
29118
|
},
|
|
29134
29119
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29135
29120
|
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$f.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
29136
29121
|
}
|
|
29137
29122
|
renderFooter() {
|
|
29138
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
29123
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$s.footer, key: "footer" }, hAsync("span", { class: CSS$s.back }, hAsync("slot", { name: SLOTS$f.back })), hAsync("span", { class: CSS$s.secondary }, hAsync("slot", { name: SLOTS$f.secondary })), hAsync("span", { class: CSS$s.primary }, hAsync("slot", { name: SLOTS$f.primary })))) : null;
|
|
29139
29124
|
}
|
|
29140
29125
|
renderContentTop() {
|
|
29141
|
-
return (hAsync("div", { class: CSS$
|
|
29126
|
+
return (hAsync("div", { class: CSS$s.contentTop, hidden: !this.hasContentTop }, hAsync("slot", { name: SLOTS$f.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
|
|
29142
29127
|
}
|
|
29143
29128
|
renderContentBottom() {
|
|
29144
|
-
return (hAsync("div", { class: CSS$
|
|
29129
|
+
return (hAsync("div", { class: CSS$s.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$f.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
|
|
29145
29130
|
}
|
|
29146
29131
|
renderCloseButton() {
|
|
29147
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
29132
|
+
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$s.close, key: "button", onClick: this.close, title: this.messages.close,
|
|
29148
29133
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29149
29134
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
29150
29135
|
}
|
|
29151
29136
|
renderStyle() {
|
|
29152
29137
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
29153
|
-
return (hAsync("style", null, `.${CSS$
|
|
29138
|
+
return (hAsync("style", null, `.${CSS$s.container} {
|
|
29154
29139
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
29155
29140
|
}
|
|
29156
|
-
.${CSS$
|
|
29141
|
+
.${CSS$s.modal} {
|
|
29157
29142
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
29158
29143
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
29159
29144
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
29160
29145
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
29161
29146
|
}
|
|
29162
29147
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
29163
|
-
.${CSS$
|
|
29148
|
+
.${CSS$s.container} {
|
|
29164
29149
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
29165
29150
|
}
|
|
29166
|
-
.${CSS$
|
|
29151
|
+
.${CSS$s.modal} {
|
|
29167
29152
|
max-block-size: 100% !important;
|
|
29168
29153
|
inline-size: 100% !important;
|
|
29169
29154
|
max-inline-size: 100% !important;
|
|
@@ -29230,31 +29215,31 @@ class Modal {
|
|
|
29230
29215
|
}
|
|
29231
29216
|
}
|
|
29232
29217
|
onBeforeOpen() {
|
|
29233
|
-
this.transitionEl.classList.add(CSS$
|
|
29218
|
+
this.transitionEl.classList.add(CSS$s.openingActive);
|
|
29234
29219
|
this.calciteModalBeforeOpen.emit();
|
|
29235
29220
|
}
|
|
29236
29221
|
onOpen() {
|
|
29237
|
-
this.transitionEl.classList.remove(CSS$
|
|
29222
|
+
this.transitionEl.classList.remove(CSS$s.openingIdle, CSS$s.openingActive);
|
|
29238
29223
|
this.calciteModalOpen.emit();
|
|
29239
29224
|
activateFocusTrap(this);
|
|
29240
29225
|
}
|
|
29241
29226
|
onBeforeClose() {
|
|
29242
|
-
this.transitionEl.classList.add(CSS$
|
|
29227
|
+
this.transitionEl.classList.add(CSS$s.closingActive);
|
|
29243
29228
|
this.calciteModalBeforeClose.emit();
|
|
29244
29229
|
}
|
|
29245
29230
|
onClose() {
|
|
29246
|
-
this.transitionEl.classList.remove(CSS$
|
|
29231
|
+
this.transitionEl.classList.remove(CSS$s.closingIdle, CSS$s.closingActive);
|
|
29247
29232
|
this.calciteModalClose.emit();
|
|
29248
29233
|
deactivateFocusTrap(this);
|
|
29249
29234
|
}
|
|
29250
29235
|
async toggleModal(value) {
|
|
29251
29236
|
onToggleOpenCloseComponent(this);
|
|
29252
29237
|
if (value) {
|
|
29253
|
-
this.transitionEl?.classList.add(CSS$
|
|
29238
|
+
this.transitionEl?.classList.add(CSS$s.openingIdle);
|
|
29254
29239
|
this.openModal();
|
|
29255
29240
|
}
|
|
29256
29241
|
else {
|
|
29257
|
-
this.transitionEl?.classList.add(CSS$
|
|
29242
|
+
this.transitionEl?.classList.add(CSS$s.closingIdle);
|
|
29258
29243
|
this.close();
|
|
29259
29244
|
}
|
|
29260
29245
|
}
|
|
@@ -29268,11 +29253,11 @@ class Modal {
|
|
|
29268
29253
|
this.titleId = ensureId(titleEl);
|
|
29269
29254
|
this.contentId = ensureId(contentEl);
|
|
29270
29255
|
if (!this.slottedInShell) {
|
|
29271
|
-
document.documentElement.classList.add(CSS$
|
|
29256
|
+
document.documentElement.classList.add(CSS$s.overflowHidden);
|
|
29272
29257
|
}
|
|
29273
29258
|
}
|
|
29274
29259
|
removeOverflowHiddenClass() {
|
|
29275
|
-
document.documentElement.classList.remove(CSS$
|
|
29260
|
+
document.documentElement.classList.remove(CSS$s.overflowHidden);
|
|
29276
29261
|
}
|
|
29277
29262
|
static get assetsDirs() { return ["assets"]; }
|
|
29278
29263
|
get el() { return getElement(this); }
|
|
@@ -29325,7 +29310,7 @@ const SLOTS$e = {
|
|
|
29325
29310
|
link: "link",
|
|
29326
29311
|
actionsEnd: "actions-end"
|
|
29327
29312
|
};
|
|
29328
|
-
const CSS$
|
|
29313
|
+
const CSS$r = {
|
|
29329
29314
|
actionsEnd: "actions-end",
|
|
29330
29315
|
close: "notice-close",
|
|
29331
29316
|
container: "container",
|
|
@@ -29404,11 +29389,11 @@ class Notice {
|
|
|
29404
29389
|
}
|
|
29405
29390
|
render() {
|
|
29406
29391
|
const { el } = this;
|
|
29407
|
-
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
29392
|
+
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$r.close, onClick: this.close,
|
|
29408
29393
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29409
29394
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
29410
29395
|
const hasActionEnd = getSlotted(el, SLOTS$e.actionsEnd);
|
|
29411
|
-
return (hAsync("div", { class: CSS$
|
|
29396
|
+
return (hAsync("div", { class: CSS$r.container }, this.requestedIcon ? (hAsync("div", { class: CSS$r.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$r.content }, hAsync("slot", { name: SLOTS$e.title }), hAsync("slot", { name: SLOTS$e.message }), hAsync("slot", { name: SLOTS$e.link })), hasActionEnd ? (hAsync("div", { class: CSS$r.actionsEnd }, hAsync("slot", { name: SLOTS$e.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
29412
29397
|
}
|
|
29413
29398
|
//--------------------------------------------------------------------------
|
|
29414
29399
|
//
|
|
@@ -29587,7 +29572,7 @@ class OptionGroup {
|
|
|
29587
29572
|
}; }
|
|
29588
29573
|
}
|
|
29589
29574
|
|
|
29590
|
-
const CSS$
|
|
29575
|
+
const CSS$q = {
|
|
29591
29576
|
page: "page",
|
|
29592
29577
|
selected: "is-selected",
|
|
29593
29578
|
previous: "previous",
|
|
@@ -29745,8 +29730,8 @@ class Pagination {
|
|
|
29745
29730
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
29746
29731
|
const selected = start === this.startItem;
|
|
29747
29732
|
return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
|
|
29748
|
-
[CSS$
|
|
29749
|
-
[CSS$
|
|
29733
|
+
[CSS$q.page]: true,
|
|
29734
|
+
[CSS$q.selected]: selected
|
|
29750
29735
|
}, onClick: () => {
|
|
29751
29736
|
this.startItem = start;
|
|
29752
29737
|
this.emitUpdate();
|
|
@@ -29754,12 +29739,12 @@ class Pagination {
|
|
|
29754
29739
|
}
|
|
29755
29740
|
renderLeftEllipsis() {
|
|
29756
29741
|
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
29757
|
-
return hAsync("span", { class: `${CSS$
|
|
29742
|
+
return hAsync("span", { class: `${CSS$q.ellipsis} ${CSS$q.ellipsisStart}` }, "\u2026");
|
|
29758
29743
|
}
|
|
29759
29744
|
}
|
|
29760
29745
|
renderRightEllipsis() {
|
|
29761
29746
|
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
29762
|
-
return hAsync("span", { class: `${CSS$
|
|
29747
|
+
return hAsync("span", { class: `${CSS$q.ellipsis} ${CSS$q.ellipsisEnd}` }, "\u2026");
|
|
29763
29748
|
}
|
|
29764
29749
|
}
|
|
29765
29750
|
render() {
|
|
@@ -29767,11 +29752,11 @@ class Pagination {
|
|
|
29767
29752
|
const prevDisabled = pageSize === 1 ? startItem <= pageSize : startItem < pageSize;
|
|
29768
29753
|
const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
|
|
29769
29754
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.messages.previous, class: {
|
|
29770
|
-
[CSS$
|
|
29771
|
-
[CSS$
|
|
29755
|
+
[CSS$q.previous]: true,
|
|
29756
|
+
[CSS$q.disabled]: prevDisabled
|
|
29772
29757
|
}, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: this.scale === "l" ? "m" : "s" })), totalItems > pageSize ? this.renderPage(1) : null, this.renderLeftEllipsis(), this.renderPages(), this.renderRightEllipsis(), this.renderPage(this.getLastStart()), hAsync("button", { "aria-label": this.messages.next, class: {
|
|
29773
|
-
[CSS$
|
|
29774
|
-
[CSS$
|
|
29758
|
+
[CSS$q.next]: true,
|
|
29759
|
+
[CSS$q.disabled]: nextDisabled
|
|
29775
29760
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: this.scale === "l" ? "m" : "s" }))));
|
|
29776
29761
|
}
|
|
29777
29762
|
static get delegatesFocus() { return true; }
|
|
@@ -30000,22 +29985,22 @@ class Panel {
|
|
|
30000
29985
|
// --------------------------------------------------------------------------
|
|
30001
29986
|
renderHeaderContent() {
|
|
30002
29987
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
30003
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
30004
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
30005
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
29988
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$G.heading, level: headingLevel }, heading)) : null;
|
|
29989
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$G.description }, description) : null;
|
|
29990
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$G.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
30006
29991
|
}
|
|
30007
29992
|
renderActionBar() {
|
|
30008
|
-
return (hAsync("div", { class: CSS$
|
|
29993
|
+
return (hAsync("div", { class: CSS$G.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$l.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
30009
29994
|
}
|
|
30010
29995
|
/**
|
|
30011
29996
|
* Allows user to override the entire header-content node.
|
|
30012
29997
|
*/
|
|
30013
29998
|
renderHeaderSlottedContent() {
|
|
30014
|
-
return (hAsync("div", { class: CSS$
|
|
29999
|
+
return (hAsync("div", { class: CSS$G.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$l.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
30015
30000
|
}
|
|
30016
30001
|
renderHeaderStartActions() {
|
|
30017
30002
|
const { hasStartActions } = this;
|
|
30018
|
-
return (hAsync("div", { class: { [CSS$
|
|
30003
|
+
return (hAsync("div", { class: { [CSS$G.headerActionsStart]: true, [CSS$G.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$l.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
30019
30004
|
}
|
|
30020
30005
|
renderHeaderActionsEnd() {
|
|
30021
30006
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -30025,7 +30010,7 @@ class Panel {
|
|
|
30025
30010
|
ref: this.setCloseRef })) : null;
|
|
30026
30011
|
const slotNode = (hAsync("slot", { name: SLOTS$l.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
30027
30012
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
30028
|
-
return (hAsync("div", { class: { [CSS$
|
|
30013
|
+
return (hAsync("div", { class: { [CSS$G.headerActionsEnd]: true, [CSS$G.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
30029
30014
|
}
|
|
30030
30015
|
renderMenu() {
|
|
30031
30016
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -30040,31 +30025,31 @@ class Panel {
|
|
|
30040
30025
|
hasEndActions ||
|
|
30041
30026
|
closable ||
|
|
30042
30027
|
hasMenuItems;
|
|
30043
|
-
return (hAsync("header", { class: CSS$
|
|
30028
|
+
return (hAsync("header", { class: CSS$G.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()));
|
|
30044
30029
|
}
|
|
30045
30030
|
renderFooterNode() {
|
|
30046
30031
|
const { hasFooterContent, hasFooterActions } = this;
|
|
30047
30032
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
30048
|
-
return (hAsync("footer", { class: CSS$
|
|
30033
|
+
return (hAsync("footer", { class: CSS$G.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$l.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$l.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
30049
30034
|
}
|
|
30050
30035
|
renderContent() {
|
|
30051
30036
|
const { hasFab } = this;
|
|
30052
30037
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
30053
|
-
const containerNode = hasFab ? (hAsync("section", { class: CSS$
|
|
30038
|
+
const containerNode = hasFab ? (hAsync("section", { class: CSS$G.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
30054
30039
|
return (hAsync("div", { class: {
|
|
30055
|
-
[CSS$
|
|
30056
|
-
[CSS$
|
|
30057
|
-
[CSS$
|
|
30040
|
+
[CSS$G.contentWrapper]: true,
|
|
30041
|
+
[CSS$G.contentContainer]: !hasFab,
|
|
30042
|
+
[CSS$G.contentHeight]: hasFab
|
|
30058
30043
|
}, onScroll: this.panelScrollHandler,
|
|
30059
30044
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30060
30045
|
ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
30061
30046
|
}
|
|
30062
30047
|
renderFab() {
|
|
30063
|
-
return (hAsync("div", { class: CSS$
|
|
30048
|
+
return (hAsync("div", { class: CSS$G.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$l.fab, onSlotchange: this.handleFabSlotChange })));
|
|
30064
30049
|
}
|
|
30065
30050
|
render() {
|
|
30066
30051
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
30067
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
30052
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$G.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
30068
30053
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30069
30054
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderActionBar(), this.renderContent(), this.renderFooterNode()));
|
|
30070
30055
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -30109,7 +30094,7 @@ class Panel {
|
|
|
30109
30094
|
}; }
|
|
30110
30095
|
}
|
|
30111
30096
|
|
|
30112
|
-
const CSS$
|
|
30097
|
+
const CSS$p = {
|
|
30113
30098
|
sticky: "sticky-pos"
|
|
30114
30099
|
};
|
|
30115
30100
|
var ICON_TYPES$1;
|
|
@@ -30122,7 +30107,7 @@ const SLOTS$d = {
|
|
|
30122
30107
|
menuActions: "menu-actions"
|
|
30123
30108
|
};
|
|
30124
30109
|
|
|
30125
|
-
const CSS$
|
|
30110
|
+
const CSS$o = {
|
|
30126
30111
|
heading: "heading",
|
|
30127
30112
|
container: "container",
|
|
30128
30113
|
indented: "container--indented"
|
|
@@ -30448,7 +30433,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
30448
30433
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
30449
30434
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30450
30435
|
ref: storeAssistiveEl })) : null,
|
|
30451
|
-
hAsync("header", { class: { [CSS$
|
|
30436
|
+
hAsync("header", { class: { [CSS$p.sticky]: true } },
|
|
30452
30437
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
30453
30438
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30454
30439
|
ref: setFilterEl })) : null,
|
|
@@ -30637,14 +30622,14 @@ class PickListGroup {
|
|
|
30637
30622
|
const { el, groupTitle, headingLevel } = this;
|
|
30638
30623
|
const hasParentItem = getSlotted(el, SLOTS$c.parentItem) !== null;
|
|
30639
30624
|
const sectionClasses = {
|
|
30640
|
-
[CSS$
|
|
30641
|
-
[CSS$
|
|
30625
|
+
[CSS$o.container]: true,
|
|
30626
|
+
[CSS$o.indented]: hasParentItem
|
|
30642
30627
|
};
|
|
30643
30628
|
const title = groupTitle;
|
|
30644
30629
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
30645
30630
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
30646
30631
|
const level = headingLevel || relativeLevel;
|
|
30647
|
-
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$
|
|
30632
|
+
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$o.heading, level: level }, title)) : null, hAsync("slot", { name: SLOTS$c.parentItem }), hAsync("section", { class: sectionClasses }, hAsync("slot", null))));
|
|
30648
30633
|
}
|
|
30649
30634
|
get el() { return getElement(this); }
|
|
30650
30635
|
static get style() { return pickListGroupCss; }
|
|
@@ -30661,7 +30646,7 @@ class PickListGroup {
|
|
|
30661
30646
|
}; }
|
|
30662
30647
|
}
|
|
30663
30648
|
|
|
30664
|
-
const CSS$
|
|
30649
|
+
const CSS$n = {
|
|
30665
30650
|
actions: "actions",
|
|
30666
30651
|
actionsEnd: "actions--end",
|
|
30667
30652
|
actionsStart: "actions--start",
|
|
@@ -30821,28 +30806,28 @@ class PickListItem {
|
|
|
30821
30806
|
return null;
|
|
30822
30807
|
}
|
|
30823
30808
|
return (hAsync("span", { class: {
|
|
30824
|
-
[CSS$
|
|
30825
|
-
[CSS$
|
|
30809
|
+
[CSS$n.icon]: true,
|
|
30810
|
+
[CSS$n.iconDot]: icon === ICON_TYPES$1.circle
|
|
30826
30811
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$5.checked, scale: "s" })) : null));
|
|
30827
30812
|
}
|
|
30828
30813
|
renderRemoveAction() {
|
|
30829
|
-
return this.removable ? (hAsync("calcite-action", { class: CSS$
|
|
30814
|
+
return this.removable ? (hAsync("calcite-action", { class: CSS$n.remove, icon: ICONS$5.remove, onClick: this.removeClickHandler, slot: SLOTS$b.actionsEnd, text: this.messages.remove })) : null;
|
|
30830
30815
|
}
|
|
30831
30816
|
renderActionsStart() {
|
|
30832
30817
|
const { el } = this;
|
|
30833
30818
|
const hasActionsStart = getSlotted(el, SLOTS$b.actionsStart);
|
|
30834
|
-
return hasActionsStart ? (hAsync("div", { class: { [CSS$
|
|
30819
|
+
return hasActionsStart ? (hAsync("div", { class: { [CSS$n.actions]: true, [CSS$n.actionsStart]: true } }, hAsync("slot", { name: SLOTS$b.actionsStart }))) : null;
|
|
30835
30820
|
}
|
|
30836
30821
|
renderActionsEnd() {
|
|
30837
30822
|
const { el, removable } = this;
|
|
30838
30823
|
const hasActionsEnd = getSlotted(el, SLOTS$b.actionsEnd);
|
|
30839
|
-
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$
|
|
30824
|
+
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$n.actions]: true, [CSS$n.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$b.actionsEnd }), this.renderRemoveAction())) : null;
|
|
30840
30825
|
}
|
|
30841
30826
|
render() {
|
|
30842
30827
|
const { description, label } = this;
|
|
30843
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$
|
|
30828
|
+
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$n.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, tabIndex: 0,
|
|
30844
30829
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30845
|
-
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$
|
|
30830
|
+
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$n.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$n.title }, label), description ? hAsync("span", { class: CSS$n.description }, description) : null)), this.renderActionsEnd()));
|
|
30846
30831
|
}
|
|
30847
30832
|
static get assetsDirs() { return ["assets"]; }
|
|
30848
30833
|
get el() { return getElement(this); }
|
|
@@ -30885,7 +30870,7 @@ class PickListItem {
|
|
|
30885
30870
|
}; }
|
|
30886
30871
|
}
|
|
30887
30872
|
|
|
30888
|
-
const CSS$
|
|
30873
|
+
const CSS$m = {
|
|
30889
30874
|
container: "container",
|
|
30890
30875
|
imageContainer: "image-container",
|
|
30891
30876
|
closeButtonContainer: "close-button-container",
|
|
@@ -30979,7 +30964,7 @@ class PopoverManager {
|
|
|
30979
30964
|
}
|
|
30980
30965
|
}
|
|
30981
30966
|
|
|
30982
|
-
const CSS$
|
|
30967
|
+
const CSS$l = {
|
|
30983
30968
|
arrow: "calcite-floating-ui-arrow",
|
|
30984
30969
|
arrowStroke: "calcite-floating-ui-arrow__stroke"
|
|
30985
30970
|
};
|
|
@@ -31009,8 +30994,8 @@ const FloatingArrow = ({ floatingLayout, key, ref }) => {
|
|
|
31009
30994
|
` L${width - svgX},${height}` +
|
|
31010
30995
|
` Q${svgX},${height} ${svgX},${height}` +
|
|
31011
30996
|
" Z";
|
|
31012
|
-
return (hAsync("svg", { "aria-hidden": "true", class: CSS$
|
|
31013
|
-
strokeWidth > 0 && (hAsync("path", { class: CSS$
|
|
30997
|
+
return (hAsync("svg", { "aria-hidden": "true", class: CSS$l.arrow, height: width, key: key, ref: ref, viewBox: `0 0 ${width} ${width + (!isVertical ? strokeWidth : 0)}`, width: width + (isVertical ? strokeWidth : 0) },
|
|
30998
|
+
strokeWidth > 0 && (hAsync("path", { class: CSS$l.arrowStroke, d: dValue, fill: "none", "stroke-width": strokeWidth + 1 })),
|
|
31014
30999
|
hAsync("path", { d: dValue, stroke: "none" })));
|
|
31015
31000
|
};
|
|
31016
31001
|
|
|
@@ -31266,14 +31251,14 @@ class Popover {
|
|
|
31266
31251
|
// --------------------------------------------------------------------------
|
|
31267
31252
|
renderCloseButton() {
|
|
31268
31253
|
const { messages, closable } = this;
|
|
31269
|
-
return closable ? (hAsync("div", { class: CSS$
|
|
31254
|
+
return closable ? (hAsync("div", { class: CSS$m.closeButtonContainer, key: CSS$m.closeButtonContainer }, hAsync("calcite-action", { appearance: "transparent", class: CSS$m.closeButton, onClick: this.hide, scale: this.scale, text: messages.close,
|
|
31270
31255
|
// eslint-disable-next-line react/jsx-sort-props
|
|
31271
31256
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
31272
31257
|
}
|
|
31273
31258
|
renderHeader() {
|
|
31274
31259
|
const { heading, headingLevel } = this;
|
|
31275
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
31276
|
-
return headingNode ? (hAsync("div", { class: CSS$
|
|
31260
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$m.heading, level: headingLevel }, heading)) : null;
|
|
31261
|
+
return headingNode ? (hAsync("div", { class: CSS$m.header, key: CSS$m.header }, headingNode, this.renderCloseButton())) : null;
|
|
31277
31262
|
}
|
|
31278
31263
|
render() {
|
|
31279
31264
|
const { effectiveReferenceElement, heading, label, open, pointerDisabled, floatingLayout } = this;
|
|
@@ -31288,9 +31273,9 @@ class Popover {
|
|
|
31288
31273
|
},
|
|
31289
31274
|
// eslint-disable-next-line react/jsx-sort-props
|
|
31290
31275
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
31291
|
-
[CSS$
|
|
31292
|
-
[CSS$
|
|
31293
|
-
} }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
31276
|
+
[CSS$m.hasHeader]: !!heading,
|
|
31277
|
+
[CSS$m.container]: true
|
|
31278
|
+
} }, this.renderHeader(), hAsync("div", { class: CSS$m.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
31294
31279
|
}
|
|
31295
31280
|
static get assetsDirs() { return ["assets"]; }
|
|
31296
31281
|
get el() { return getElement(this); }
|
|
@@ -31382,7 +31367,7 @@ class Progress {
|
|
|
31382
31367
|
}; }
|
|
31383
31368
|
}
|
|
31384
31369
|
|
|
31385
|
-
const CSS$
|
|
31370
|
+
const CSS$k = {
|
|
31386
31371
|
container: "container"
|
|
31387
31372
|
};
|
|
31388
31373
|
|
|
@@ -31632,7 +31617,7 @@ class RadioButton {
|
|
|
31632
31617
|
// --------------------------------------------------------------------------
|
|
31633
31618
|
render() {
|
|
31634
31619
|
const tabIndex = this.getTabIndex();
|
|
31635
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$
|
|
31620
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$k.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, role: "radio", tabIndex: tabIndex,
|
|
31636
31621
|
// eslint-disable-next-line react/jsx-sort-props
|
|
31637
31622
|
ref: this.setContainerEl }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
31638
31623
|
}
|
|
@@ -32042,7 +32027,7 @@ class Rating {
|
|
|
32042
32027
|
}; }
|
|
32043
32028
|
}
|
|
32044
32029
|
|
|
32045
|
-
const CSS$
|
|
32030
|
+
const CSS$j = {
|
|
32046
32031
|
scrim: "scrim",
|
|
32047
32032
|
content: "content"
|
|
32048
32033
|
};
|
|
@@ -32092,8 +32077,8 @@ class Scrim {
|
|
|
32092
32077
|
const { el, loading, messages } = this;
|
|
32093
32078
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
32094
32079
|
const loaderNode = loading ? hAsync("calcite-loader", { label: messages.loading }) : null;
|
|
32095
|
-
const contentNode = hasContent ? (hAsync("div", { class: CSS$
|
|
32096
|
-
return (hAsync("div", { class: CSS$
|
|
32080
|
+
const contentNode = hasContent ? (hAsync("div", { class: CSS$j.content }, hAsync("slot", null))) : null;
|
|
32081
|
+
return (hAsync("div", { class: CSS$j.scrim }, loaderNode, contentNode));
|
|
32097
32082
|
}
|
|
32098
32083
|
static get assetsDirs() { return ["assets"]; }
|
|
32099
32084
|
get el() { return getElement(this); }
|
|
@@ -32325,7 +32310,7 @@ class SegmentedControl {
|
|
|
32325
32310
|
const SLOTS$a = {
|
|
32326
32311
|
input: "input"
|
|
32327
32312
|
};
|
|
32328
|
-
const CSS$
|
|
32313
|
+
const CSS$i = {
|
|
32329
32314
|
segmentedControlItemIcon: "segmented-control-item-icon"
|
|
32330
32315
|
};
|
|
32331
32316
|
|
|
@@ -32349,8 +32334,8 @@ class SegmentedControlItem {
|
|
|
32349
32334
|
const scale = getElementProp(this.el, "scale", "m");
|
|
32350
32335
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
32351
32336
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
32352
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
32353
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
32337
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$i.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
32338
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$i.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
32354
32339
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
32355
32340
|
"label--scale-s": scale === "s",
|
|
32356
32341
|
"label--scale-m": scale === "m",
|
|
@@ -32381,7 +32366,7 @@ class SegmentedControlItem {
|
|
|
32381
32366
|
}; }
|
|
32382
32367
|
}
|
|
32383
32368
|
|
|
32384
|
-
const CSS$
|
|
32369
|
+
const CSS$h = {
|
|
32385
32370
|
icon: "icon",
|
|
32386
32371
|
iconContainer: "icon-container",
|
|
32387
32372
|
select: "select"
|
|
@@ -32566,10 +32551,10 @@ class Select {
|
|
|
32566
32551
|
//
|
|
32567
32552
|
//--------------------------------------------------------------------------
|
|
32568
32553
|
renderChevron() {
|
|
32569
|
-
return (hAsync("div", { class: CSS$
|
|
32554
|
+
return (hAsync("div", { class: CSS$h.iconContainer }, hAsync("calcite-icon", { class: CSS$h.icon, icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
32570
32555
|
}
|
|
32571
32556
|
render() {
|
|
32572
|
-
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$
|
|
32557
|
+
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$h.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
|
|
32573
32558
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32574
32559
|
ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
32575
32560
|
}
|
|
@@ -32600,7 +32585,7 @@ class Select {
|
|
|
32600
32585
|
}; }
|
|
32601
32586
|
}
|
|
32602
32587
|
|
|
32603
|
-
const CSS$
|
|
32588
|
+
const CSS$g = {
|
|
32604
32589
|
main: "main",
|
|
32605
32590
|
content: "content",
|
|
32606
32591
|
contentBehind: "content--behind",
|
|
@@ -32691,7 +32676,7 @@ class Shell {
|
|
|
32691
32676
|
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$9.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
32692
32677
|
}
|
|
32693
32678
|
renderFooter() {
|
|
32694
|
-
return (hAsync("div", { class: CSS$
|
|
32679
|
+
return (hAsync("div", { class: CSS$g.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$9.footer, onSlotchange: this.handleFooterSlotChange })));
|
|
32695
32680
|
}
|
|
32696
32681
|
renderAlerts() {
|
|
32697
32682
|
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$9.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
@@ -32708,21 +32693,21 @@ class Shell {
|
|
|
32708
32693
|
const content = !!this.contentBehind
|
|
32709
32694
|
? [
|
|
32710
32695
|
hAsync("div", { class: {
|
|
32711
|
-
[CSS$
|
|
32712
|
-
[CSS$
|
|
32696
|
+
[CSS$g.content]: true,
|
|
32697
|
+
[CSS$g.contentBehind]: true
|
|
32713
32698
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
32714
|
-
hAsync("div", { class: CSS$
|
|
32699
|
+
hAsync("div", { class: CSS$g.contentBehindCenterContent }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode)
|
|
32715
32700
|
]
|
|
32716
32701
|
: [
|
|
32717
|
-
hAsync("div", { class: CSS$
|
|
32702
|
+
hAsync("div", { class: CSS$g.content, key: contentContainerKey }, panelTopSlotNode, defaultSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode)
|
|
32718
32703
|
];
|
|
32719
32704
|
return content;
|
|
32720
32705
|
}
|
|
32721
32706
|
renderMain() {
|
|
32722
|
-
return (hAsync("div", { class: CSS$
|
|
32707
|
+
return (hAsync("div", { class: CSS$g.main }, hAsync("slot", { name: SLOTS$9.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$9.panelEnd })));
|
|
32723
32708
|
}
|
|
32724
32709
|
renderPositionedSlots() {
|
|
32725
|
-
return (hAsync("div", { class: CSS$
|
|
32710
|
+
return (hAsync("div", { class: CSS$g.positionedSlotWrapper }, this.renderAlerts(), this.renderModals()));
|
|
32726
32711
|
}
|
|
32727
32712
|
render() {
|
|
32728
32713
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -32745,7 +32730,7 @@ class Shell {
|
|
|
32745
32730
|
}; }
|
|
32746
32731
|
}
|
|
32747
32732
|
|
|
32748
|
-
const CSS$
|
|
32733
|
+
const CSS$f = {
|
|
32749
32734
|
actionBarContainer: "action-bar-container",
|
|
32750
32735
|
content: "content"
|
|
32751
32736
|
};
|
|
@@ -32784,9 +32769,9 @@ class ShellCenterRow {
|
|
|
32784
32769
|
// --------------------------------------------------------------------------
|
|
32785
32770
|
render() {
|
|
32786
32771
|
const { el } = this;
|
|
32787
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
32772
|
+
const contentNode = (hAsync("div", { class: CSS$f.content }, hAsync("slot", null)));
|
|
32788
32773
|
const actionBar = getSlotted(el, SLOTS$8.actionBar);
|
|
32789
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$
|
|
32774
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$f.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$8.actionBar }))) : null;
|
|
32790
32775
|
const children = [actionBarNode, contentNode];
|
|
32791
32776
|
if (actionBar?.position === "end") {
|
|
32792
32777
|
children.reverse();
|
|
@@ -32809,7 +32794,7 @@ class ShellCenterRow {
|
|
|
32809
32794
|
}; }
|
|
32810
32795
|
}
|
|
32811
32796
|
|
|
32812
|
-
const CSS$
|
|
32797
|
+
const CSS$e = {
|
|
32813
32798
|
container: "container",
|
|
32814
32799
|
content: "content",
|
|
32815
32800
|
contentHeader: "content__header",
|
|
@@ -33070,7 +33055,7 @@ class ShellPanel {
|
|
|
33070
33055
|
renderHeader() {
|
|
33071
33056
|
const { el } = this;
|
|
33072
33057
|
const hasHeader = getSlotted(el, SLOTS$7.header);
|
|
33073
|
-
return hasHeader ? (hAsync("div", { class: CSS$
|
|
33058
|
+
return hasHeader ? (hAsync("div", { class: CSS$e.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$7.header }))) : null;
|
|
33074
33059
|
}
|
|
33075
33060
|
render() {
|
|
33076
33061
|
const { collapsed, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout, displayMode } = this;
|
|
@@ -33087,7 +33072,7 @@ class ShellPanel {
|
|
|
33087
33072
|
: null;
|
|
33088
33073
|
const separatorNode = !collapsed && allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": layout === "horizontal" ? "vertical" : "horizontal", "aria-valuemax": layout == "horizontal" ? contentHeightMax : contentWidthMax, "aria-valuemin": layout == "horizontal" ? contentHeightMin : contentWidthMin, "aria-valuenow": layout == "horizontal"
|
|
33089
33074
|
? contentHeight ?? initialContentHeight
|
|
33090
|
-
: contentWidth ?? initialContentWidth, class: CSS$
|
|
33075
|
+
: contentWidth ?? initialContentWidth, class: CSS$e.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
33091
33076
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33092
33077
|
ref: this.connectSeparator })) : null;
|
|
33093
33078
|
const getAnimationDir = () => {
|
|
@@ -33103,20 +33088,20 @@ class ShellPanel {
|
|
|
33103
33088
|
};
|
|
33104
33089
|
const contentNode = (hAsync("div", { class: {
|
|
33105
33090
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
33106
|
-
[CSS$
|
|
33107
|
-
[CSS$
|
|
33108
|
-
[CSS$
|
|
33091
|
+
[CSS$e.content]: true,
|
|
33092
|
+
[CSS$e.contentOverlay]: displayMode === "overlay",
|
|
33093
|
+
[CSS$e.contentFloat]: displayMode === "float",
|
|
33109
33094
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
33110
33095
|
[getAnimationDir()]: displayMode === "overlay"
|
|
33111
33096
|
}, hidden: collapsed, key: "content", style: style,
|
|
33112
33097
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33113
|
-
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
33098
|
+
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$e.contentBody }, hAsync("slot", null)), separatorNode));
|
|
33114
33099
|
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$7.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
33115
33100
|
const mainNodes = [actionBarNode, contentNode];
|
|
33116
33101
|
if (position === "end") {
|
|
33117
33102
|
mainNodes.reverse();
|
|
33118
33103
|
}
|
|
33119
|
-
return hAsync("div", { class: { [CSS$
|
|
33104
|
+
return hAsync("div", { class: { [CSS$e.container]: true } }, mainNodes);
|
|
33120
33105
|
}
|
|
33121
33106
|
// --------------------------------------------------------------------------
|
|
33122
33107
|
//
|
|
@@ -33216,7 +33201,7 @@ class ShellPanel {
|
|
|
33216
33201
|
}; }
|
|
33217
33202
|
}
|
|
33218
33203
|
|
|
33219
|
-
const CSS$
|
|
33204
|
+
const CSS$d = {
|
|
33220
33205
|
handleLabel: "handle__label",
|
|
33221
33206
|
handleLabelMinValue: "handle__label--minValue",
|
|
33222
33207
|
handleLabelValue: "handle__label--value",
|
|
@@ -33414,8 +33399,8 @@ class Slider {
|
|
|
33414
33399
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
33415
33400
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
33416
33401
|
const valueIsRange = isRange(this.value);
|
|
33417
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
33418
|
-
const handleLabelValueClasses = `${CSS$
|
|
33402
|
+
const handleLabelMinValueClasses = `${CSS$d.handleLabel} ${CSS$d.handleLabelMinValue}`;
|
|
33403
|
+
const handleLabelValueClasses = `${CSS$d.handleLabel} ${CSS$d.handleLabelValue}`;
|
|
33419
33404
|
const handle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
33420
33405
|
thumb: true,
|
|
33421
33406
|
"thumb--value": true,
|
|
@@ -33551,8 +33536,8 @@ class Slider {
|
|
|
33551
33536
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
33552
33537
|
const tickLabel = (hAsync("span", { class: {
|
|
33553
33538
|
tick__label: true,
|
|
33554
|
-
[CSS$
|
|
33555
|
-
[CSS$
|
|
33539
|
+
[CSS$d.tickMin]: isMinTickLabel,
|
|
33540
|
+
[CSS$d.tickMax]: isMaxTickLabel
|
|
33556
33541
|
} }, displayedTickValue));
|
|
33557
33542
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
33558
33543
|
return tickLabel;
|
|
@@ -34096,7 +34081,7 @@ class Slider {
|
|
|
34096
34081
|
}; }
|
|
34097
34082
|
}
|
|
34098
34083
|
|
|
34099
|
-
const CSS$
|
|
34084
|
+
const CSS$c = {
|
|
34100
34085
|
sortItem: "sort-item",
|
|
34101
34086
|
container: "container",
|
|
34102
34087
|
containerHorizontal: "container--horizontal",
|
|
@@ -37299,9 +37284,9 @@ class SortableList {
|
|
|
37299
37284
|
const { layout } = this;
|
|
37300
37285
|
const horizontal = layout === "horizontal" || false;
|
|
37301
37286
|
return (hAsync("div", { class: {
|
|
37302
|
-
[CSS$
|
|
37303
|
-
[CSS$
|
|
37304
|
-
[CSS$
|
|
37287
|
+
[CSS$c.container]: true,
|
|
37288
|
+
[CSS$c.containerVertical]: !horizontal,
|
|
37289
|
+
[CSS$c.containerHorizontal]: horizontal
|
|
37305
37290
|
} }, hAsync("slot", null)));
|
|
37306
37291
|
}
|
|
37307
37292
|
get el() { return getElement(this); }
|
|
@@ -37323,7 +37308,7 @@ class SortableList {
|
|
|
37323
37308
|
}; }
|
|
37324
37309
|
}
|
|
37325
37310
|
|
|
37326
|
-
const CSS$
|
|
37311
|
+
const CSS$b = {
|
|
37327
37312
|
container: "split-button__container",
|
|
37328
37313
|
dividerContainer: "split-button__divider-container",
|
|
37329
37314
|
divider: "split-button__divider",
|
|
@@ -37396,13 +37381,13 @@ class SplitButton {
|
|
|
37396
37381
|
}
|
|
37397
37382
|
render() {
|
|
37398
37383
|
const widthClasses = {
|
|
37399
|
-
[CSS$
|
|
37400
|
-
[CSS$
|
|
37401
|
-
[CSS$
|
|
37402
|
-
[CSS$
|
|
37384
|
+
[CSS$b.container]: true,
|
|
37385
|
+
[CSS$b.widthAuto]: this.width === "auto",
|
|
37386
|
+
[CSS$b.widthHalf]: this.width === "half",
|
|
37387
|
+
[CSS$b.widthFull]: this.width === "full"
|
|
37403
37388
|
};
|
|
37404
37389
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
37405
|
-
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$
|
|
37390
|
+
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$b.dividerContainer }, hAsync("div", { class: CSS$b.divider })), hAsync("calcite-dropdown", { disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, open: this.active, overlayPositioning: this.overlayPositioning, placement: "bottom-end", scale: this.scale, width: this.scale }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-start": this.dropdownIcon, kind: this.kind, label: this.dropdownLabel, scale: this.scale, slot: "trigger", splitChild: "secondary", type: "button" }), hAsync("slot", null))));
|
|
37406
37391
|
}
|
|
37407
37392
|
get dropdownIcon() {
|
|
37408
37393
|
return this.dropdownIconType === "chevron"
|
|
@@ -37447,7 +37432,7 @@ class SplitButton {
|
|
|
37447
37432
|
}; }
|
|
37448
37433
|
}
|
|
37449
37434
|
|
|
37450
|
-
const CSS$
|
|
37435
|
+
const CSS$a = {
|
|
37451
37436
|
container: "container",
|
|
37452
37437
|
actionsStart: "actions-start",
|
|
37453
37438
|
contentStart: "content-start",
|
|
@@ -37504,25 +37489,25 @@ class Stack {
|
|
|
37504
37489
|
// --------------------------------------------------------------------------
|
|
37505
37490
|
renderActionsStart() {
|
|
37506
37491
|
const { hasActionsStart } = this;
|
|
37507
|
-
return (hAsync("div", { class: CSS$
|
|
37492
|
+
return (hAsync("div", { class: CSS$a.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$6.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
37508
37493
|
}
|
|
37509
37494
|
renderActionsEnd() {
|
|
37510
37495
|
const { hasActionsEnd } = this;
|
|
37511
|
-
return (hAsync("div", { class: CSS$
|
|
37496
|
+
return (hAsync("div", { class: CSS$a.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$6.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
37512
37497
|
}
|
|
37513
37498
|
renderContentStart() {
|
|
37514
37499
|
const { hasContentStart } = this;
|
|
37515
|
-
return (hAsync("div", { class: CSS$
|
|
37500
|
+
return (hAsync("div", { class: CSS$a.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$6.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
37516
37501
|
}
|
|
37517
37502
|
renderDefaultContent() {
|
|
37518
|
-
return (hAsync("div", { class: CSS$
|
|
37503
|
+
return (hAsync("div", { class: CSS$a.content }, hAsync("slot", null)));
|
|
37519
37504
|
}
|
|
37520
37505
|
renderContentEnd() {
|
|
37521
37506
|
const { hasContentEnd } = this;
|
|
37522
|
-
return (hAsync("div", { class: CSS$
|
|
37507
|
+
return (hAsync("div", { class: CSS$a.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$6.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
37523
37508
|
}
|
|
37524
37509
|
render() {
|
|
37525
|
-
return (hAsync(Host, null, hAsync("div", { class: CSS$
|
|
37510
|
+
return (hAsync(Host, null, hAsync("div", { class: CSS$a.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
|
|
37526
37511
|
}
|
|
37527
37512
|
static get style() { return stackCss; }
|
|
37528
37513
|
static get cmpMeta() { return {
|
|
@@ -38421,7 +38406,7 @@ class TabNav {
|
|
|
38421
38406
|
}; }
|
|
38422
38407
|
}
|
|
38423
38408
|
|
|
38424
|
-
const CSS$
|
|
38409
|
+
const CSS$9 = {
|
|
38425
38410
|
closeButton: "close-button",
|
|
38426
38411
|
container: "container",
|
|
38427
38412
|
content: "content",
|
|
@@ -38544,18 +38529,18 @@ class TabTitle {
|
|
|
38544
38529
|
render() {
|
|
38545
38530
|
const { el, closed } = this;
|
|
38546
38531
|
const id = el.id || this.guid;
|
|
38547
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
38548
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
38532
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$9.titleIcon]: true, [CSS$9.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
38533
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$9.titleIcon]: true, [CSS$9.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
38549
38534
|
return (hAsync(Host, { "aria-controls": this.controls, "aria-selected": toAriaBoolean(this.selected), id: id, role: "tab", tabIndex: this.selected ? 0 : -1 }, hAsync("div", { class: {
|
|
38550
38535
|
container: true,
|
|
38551
|
-
[CSS$
|
|
38536
|
+
[CSS$9.iconPresent]: !!this.iconStart || !!this.iconEnd
|
|
38552
38537
|
}, hidden: closed,
|
|
38553
38538
|
// eslint-disable-next-line react/jsx-sort-props
|
|
38554
|
-
ref: (el) => this.resizeObserver?.observe(el) }, hAsync("div", { class: { [CSS$
|
|
38539
|
+
ref: (el) => this.resizeObserver?.observe(el) }, hAsync("div", { class: { [CSS$9.content]: true, [CSS$9.contentHasText]: this.hasText } }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null), this.renderCloseButton())));
|
|
38555
38540
|
}
|
|
38556
38541
|
renderCloseButton() {
|
|
38557
38542
|
const { closable, messages } = this;
|
|
38558
|
-
return closable ? (hAsync("button", { "aria-label": messages.close, class: CSS$
|
|
38543
|
+
return closable ? (hAsync("button", { "aria-label": messages.close, class: CSS$9.closeButton, disabled: false, key: CSS$9.closeButton, onClick: this.closeClickHandler, title: messages.close, type: "button",
|
|
38559
38544
|
// eslint-disable-next-line react/jsx-sort-props
|
|
38560
38545
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$4.close, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
38561
38546
|
}
|
|
@@ -38856,7 +38841,7 @@ class Tabs {
|
|
|
38856
38841
|
}; }
|
|
38857
38842
|
}
|
|
38858
38843
|
|
|
38859
|
-
const CSS$
|
|
38844
|
+
const CSS$8 = {
|
|
38860
38845
|
characterLimit: "character-limit",
|
|
38861
38846
|
content: "content",
|
|
38862
38847
|
container: "container",
|
|
@@ -38909,7 +38894,7 @@ class TextArea {
|
|
|
38909
38894
|
}
|
|
38910
38895
|
};
|
|
38911
38896
|
this.renderCharacterLimit = () => {
|
|
38912
|
-
return this.maxLength ? (hAsync("span", { class: CSS$
|
|
38897
|
+
return this.maxLength ? (hAsync("span", { class: CSS$8.characterLimit }, hAsync("span", { class: { [CSS$8.characterOverLimit]: this.value?.length > this.maxLength } }, this.getLocalizedCharacterLength()), "/", numberStringFormatter.localize(this.maxLength.toString()))) : null;
|
|
38913
38898
|
};
|
|
38914
38899
|
this.resizeObserver = createObserver();
|
|
38915
38900
|
// height and width are set to auto here to avoid overlapping on to neighboring elements in the layout when user starts resizing.
|
|
@@ -38985,20 +38970,20 @@ class TextArea {
|
|
|
38985
38970
|
render() {
|
|
38986
38971
|
const hasFooter = this.startSlotHasElements || this.endSlotHasElements || !!this.maxLength;
|
|
38987
38972
|
return (hAsync(Host, null, hAsync("textarea", { "aria-invalid": toAriaBoolean(this.value?.length > this.maxLength), "aria-label": getLabelText(this), autofocus: this.autofocus, class: {
|
|
38988
|
-
[CSS$
|
|
38989
|
-
[CSS$
|
|
38990
|
-
[CSS$
|
|
38991
|
-
[CSS$
|
|
38992
|
-
[CSS$
|
|
38973
|
+
[CSS$8.readOnly]: this.readOnly,
|
|
38974
|
+
[CSS$8.textAreaInvalid]: this.value?.length > this.maxLength,
|
|
38975
|
+
[CSS$8.footerSlotted]: this.endSlotHasElements && this.startSlotHasElements,
|
|
38976
|
+
[CSS$8.blockSizeFull]: !hasFooter,
|
|
38977
|
+
[CSS$8.borderColor]: !hasFooter
|
|
38993
38978
|
}, cols: this.columns, disabled: this.disabled, name: this.name, onChange: this.handleChange, onInput: this.handleInput, placeholder: this.placeholder, readonly: this.readOnly, required: this.required, rows: this.rows, value: this.value, wrap: this.wrap,
|
|
38994
38979
|
// eslint-disable-next-line react/jsx-sort-props
|
|
38995
|
-
ref: this.setTextAreaEl }), hAsync("span", { class: { [CSS$
|
|
38996
|
-
[CSS$
|
|
38997
|
-
[CSS$
|
|
38998
|
-
[CSS$
|
|
38980
|
+
ref: this.setTextAreaEl }), hAsync("span", { class: { [CSS$8.content]: true } }, hAsync("slot", { onSlotchange: this.contentSlotChangeHandler })), hAsync("footer", { class: {
|
|
38981
|
+
[CSS$8.footer]: true,
|
|
38982
|
+
[CSS$8.readOnly]: this.readOnly,
|
|
38983
|
+
[CSS$8.hide]: !hasFooter
|
|
38999
38984
|
}, ref: (el) => (this.footerEl = el) }, hAsync("div", { class: {
|
|
39000
|
-
[CSS$
|
|
39001
|
-
[CSS$
|
|
38985
|
+
[CSS$8.container]: true,
|
|
38986
|
+
[CSS$8.footerEndSlotOnly]: !this.startSlotHasElements && this.endSlotHasElements
|
|
39002
38987
|
} }, hAsync("slot", { name: SLOTS$4.footerStart, onSlotchange: (event) => (this.startSlotHasElements = slotChangeHasAssignedElement(event)) }), hAsync("slot", { name: SLOTS$4.footerEnd, onSlotchange: (event) => (this.endSlotHasElements = slotChangeHasAssignedElement(event)) })), this.renderCharacterLimit()), hAsync(HiddenFormInputSlot, { component: this })));
|
|
39003
38988
|
}
|
|
39004
38989
|
//--------------------------------------------------------------------------
|
|
@@ -39188,7 +39173,7 @@ class Tile {
|
|
|
39188
39173
|
}; }
|
|
39189
39174
|
}
|
|
39190
39175
|
|
|
39191
|
-
const CSS$
|
|
39176
|
+
const CSS$7 = {
|
|
39192
39177
|
checked: "checked",
|
|
39193
39178
|
description: "description",
|
|
39194
39179
|
descriptionOnly: "description-only",
|
|
@@ -39361,20 +39346,20 @@ class TileSelect {
|
|
|
39361
39346
|
return (hAsync("div", { class: {
|
|
39362
39347
|
checked,
|
|
39363
39348
|
container: true,
|
|
39364
|
-
[CSS$
|
|
39365
|
-
[CSS$
|
|
39349
|
+
[CSS$7.description]: Boolean(description),
|
|
39350
|
+
[CSS$7.descriptionOnly]: Boolean(!heading && !icon && description),
|
|
39366
39351
|
disabled,
|
|
39367
39352
|
focused,
|
|
39368
|
-
[CSS$
|
|
39369
|
-
[CSS$
|
|
39370
|
-
[CSS$
|
|
39371
|
-
[CSS$
|
|
39372
|
-
[CSS$
|
|
39373
|
-
[CSS$
|
|
39374
|
-
[CSS$
|
|
39375
|
-
[CSS$
|
|
39376
|
-
[CSS$
|
|
39377
|
-
[CSS$
|
|
39353
|
+
[CSS$7.heading]: Boolean(heading),
|
|
39354
|
+
[CSS$7.headingOnly]: heading && !icon && !description,
|
|
39355
|
+
[CSS$7.icon]: Boolean(icon),
|
|
39356
|
+
[CSS$7.iconOnly]: !heading && icon && !description,
|
|
39357
|
+
[CSS$7.inputAlignmentEnd]: inputAlignment === "end",
|
|
39358
|
+
[CSS$7.inputAlignmentStart]: inputAlignment === "start",
|
|
39359
|
+
[CSS$7.inputEnabled]: inputEnabled,
|
|
39360
|
+
[CSS$7.largeVisual]: heading && icon && !description,
|
|
39361
|
+
[CSS$7.widthAuto]: width === "auto",
|
|
39362
|
+
[CSS$7.widthFull]: width === "full"
|
|
39378
39363
|
} }, hAsync("calcite-tile", { active: checked, description: description, embed: true, heading: heading, icon: icon, iconFlipRtl: iconFlipRtl }), hAsync("slot", null)));
|
|
39379
39364
|
}
|
|
39380
39365
|
get el() { return getElement(this); }
|
|
@@ -39446,7 +39431,7 @@ class TileSelectGroup {
|
|
|
39446
39431
|
}; }
|
|
39447
39432
|
}
|
|
39448
39433
|
|
|
39449
|
-
const CSS$
|
|
39434
|
+
const CSS$6 = {
|
|
39450
39435
|
button: "button",
|
|
39451
39436
|
buttonBottomLeft: "button--bottom-left",
|
|
39452
39437
|
buttonBottomRight: "button--bottom-right",
|
|
@@ -40018,61 +40003,61 @@ class TimePicker {
|
|
|
40018
40003
|
const secondIsNumber = isValidNumber(this.second);
|
|
40019
40004
|
const showMeridiem = this.hourCycle === "12";
|
|
40020
40005
|
return (hAsync("div", { class: {
|
|
40021
|
-
[CSS$
|
|
40022
|
-
[CSS$
|
|
40023
|
-
[CSS$
|
|
40024
|
-
[CSS$
|
|
40025
|
-
}, dir: "ltr" }, hAsync("div", { class: CSS$
|
|
40026
|
-
[CSS$
|
|
40027
|
-
[CSS$
|
|
40028
|
-
[CSS$
|
|
40006
|
+
[CSS$6.timePicker]: true,
|
|
40007
|
+
[CSS$6.showMeridiem]: showMeridiem,
|
|
40008
|
+
[CSS$6.showSecond]: this.showSecond,
|
|
40009
|
+
[CSS$6[`scale-${this.scale}`]]: true
|
|
40010
|
+
}, dir: "ltr" }, hAsync("div", { class: CSS$6.column, role: "group" }, hAsync("span", { "aria-label": this.messages.hourUp, class: {
|
|
40011
|
+
[CSS$6.button]: true,
|
|
40012
|
+
[CSS$6.buttonHourUp]: true,
|
|
40013
|
+
[CSS$6.buttonTopLeft]: true
|
|
40029
40014
|
}, onClick: this.incrementHour, onKeyDown: this.hourUpButtonKeyDownHandler, role: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: iconScale })), hAsync("span", { "aria-label": this.messages.hour, "aria-valuemax": "23", "aria-valuemin": "1", "aria-valuenow": (hourIsNumber && parseInt(this.hour)) || "0", "aria-valuetext": this.hour, class: {
|
|
40030
|
-
[CSS$
|
|
40031
|
-
[CSS$
|
|
40015
|
+
[CSS$6.input]: true,
|
|
40016
|
+
[CSS$6.hour]: true
|
|
40032
40017
|
}, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
40033
40018
|
// eslint-disable-next-line react/jsx-sort-props
|
|
40034
40019
|
ref: this.setHourEl }, this.localizedHour || "--"), hAsync("span", { "aria-label": this.messages.hourDown, class: {
|
|
40035
|
-
[CSS$
|
|
40036
|
-
[CSS$
|
|
40037
|
-
[CSS$
|
|
40038
|
-
}, onClick: this.decrementHour, onKeyDown: this.hourDownButtonKeyDownHandler, role: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: iconScale }))), hAsync("span", { class: CSS$
|
|
40039
|
-
[CSS$
|
|
40040
|
-
[CSS$
|
|
40020
|
+
[CSS$6.button]: true,
|
|
40021
|
+
[CSS$6.buttonHourDown]: true,
|
|
40022
|
+
[CSS$6.buttonBottomLeft]: true
|
|
40023
|
+
}, onClick: this.decrementHour, onKeyDown: this.hourDownButtonKeyDownHandler, role: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: iconScale }))), hAsync("span", { class: CSS$6.delimiter }, this.localizedHourSuffix), hAsync("div", { class: CSS$6.column, role: "group" }, hAsync("span", { "aria-label": this.messages.minuteUp, class: {
|
|
40024
|
+
[CSS$6.button]: true,
|
|
40025
|
+
[CSS$6.buttonMinuteUp]: true
|
|
40041
40026
|
}, onClick: this.incrementMinute, onKeyDown: this.minuteUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, hAsync("calcite-icon", { icon: "chevron-up", scale: iconScale })), hAsync("span", { "aria-label": this.messages.minute, "aria-valuemax": "12", "aria-valuemin": "1", "aria-valuenow": (minuteIsNumber && parseInt(this.minute)) || "0", "aria-valuetext": this.minute, class: {
|
|
40042
|
-
[CSS$
|
|
40043
|
-
[CSS$
|
|
40027
|
+
[CSS$6.input]: true,
|
|
40028
|
+
[CSS$6.minute]: true
|
|
40044
40029
|
}, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
40045
40030
|
// eslint-disable-next-line react/jsx-sort-props
|
|
40046
40031
|
ref: this.setMinuteEl }, this.localizedMinute || "--"), hAsync("span", { "aria-label": this.messages.minuteDown, class: {
|
|
40047
|
-
[CSS$
|
|
40048
|
-
[CSS$
|
|
40049
|
-
}, onClick: this.decrementMinute, onKeyDown: this.minuteDownButtonKeyDownHandler, role: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: iconScale }))), this.showSecond && hAsync("span", { class: CSS$
|
|
40050
|
-
[CSS$
|
|
40051
|
-
[CSS$
|
|
40032
|
+
[CSS$6.button]: true,
|
|
40033
|
+
[CSS$6.buttonMinuteDown]: true
|
|
40034
|
+
}, onClick: this.decrementMinute, onKeyDown: this.minuteDownButtonKeyDownHandler, role: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: iconScale }))), this.showSecond && hAsync("span", { class: CSS$6.delimiter }, this.localizedMinuteSuffix), this.showSecond && (hAsync("div", { class: CSS$6.column, role: "group" }, hAsync("span", { "aria-label": this.messages.secondUp, class: {
|
|
40035
|
+
[CSS$6.button]: true,
|
|
40036
|
+
[CSS$6.buttonSecondUp]: true
|
|
40052
40037
|
}, onClick: this.incrementSecond, onKeyDown: this.secondUpButtonKeyDownHandler, role: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: iconScale })), hAsync("span", { "aria-label": this.messages.second, "aria-valuemax": "59", "aria-valuemin": "0", "aria-valuenow": (secondIsNumber && parseInt(this.second)) || "0", "aria-valuetext": this.second, class: {
|
|
40053
|
-
[CSS$
|
|
40054
|
-
[CSS$
|
|
40038
|
+
[CSS$6.input]: true,
|
|
40039
|
+
[CSS$6.second]: true
|
|
40055
40040
|
}, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
40056
40041
|
// eslint-disable-next-line react/jsx-sort-props
|
|
40057
40042
|
ref: this.setSecondEl }, this.localizedSecond || "--"), hAsync("span", { "aria-label": this.messages.secondDown, class: {
|
|
40058
|
-
[CSS$
|
|
40059
|
-
[CSS$
|
|
40060
|
-
}, onClick: this.decrementSecond, onKeyDown: this.secondDownButtonKeyDownHandler, role: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.localizedSecondSuffix && (hAsync("span", { class: CSS$
|
|
40061
|
-
[CSS$
|
|
40062
|
-
[CSS$
|
|
40043
|
+
[CSS$6.button]: true,
|
|
40044
|
+
[CSS$6.buttonSecondDown]: true
|
|
40045
|
+
}, onClick: this.decrementSecond, onKeyDown: this.secondDownButtonKeyDownHandler, role: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.localizedSecondSuffix && (hAsync("span", { class: CSS$6.delimiter }, this.localizedSecondSuffix)), showMeridiem && (hAsync("div", { class: {
|
|
40046
|
+
[CSS$6.column]: true,
|
|
40047
|
+
[CSS$6.meridiemStart]: this.meridiemOrder === 0
|
|
40063
40048
|
}, role: "group" }, hAsync("span", { "aria-label": this.messages.meridiemUp, class: {
|
|
40064
|
-
[CSS$
|
|
40065
|
-
[CSS$
|
|
40066
|
-
[CSS$
|
|
40049
|
+
[CSS$6.button]: true,
|
|
40050
|
+
[CSS$6.buttonMeridiemUp]: true,
|
|
40051
|
+
[CSS$6.buttonTopRight]: true
|
|
40067
40052
|
}, onClick: this.incrementMeridiem, onKeyDown: this.meridiemUpButtonKeyDownHandler, role: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: iconScale })), hAsync("span", { "aria-label": this.messages.meridiem, "aria-valuemax": "2", "aria-valuemin": "1", "aria-valuenow": (this.meridiem === "PM" && "2") || "1", "aria-valuetext": this.meridiem, class: {
|
|
40068
|
-
[CSS$
|
|
40069
|
-
[CSS$
|
|
40053
|
+
[CSS$6.input]: true,
|
|
40054
|
+
[CSS$6.meridiem]: true
|
|
40070
40055
|
}, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
40071
40056
|
// eslint-disable-next-line react/jsx-sort-props
|
|
40072
40057
|
ref: this.setMeridiemEl }, this.localizedMeridiem || "--"), hAsync("span", { "aria-label": this.messages.meridiemDown, class: {
|
|
40073
|
-
[CSS$
|
|
40074
|
-
[CSS$
|
|
40075
|
-
[CSS$
|
|
40058
|
+
[CSS$6.button]: true,
|
|
40059
|
+
[CSS$6.buttonMeridiemDown]: true,
|
|
40060
|
+
[CSS$6.buttonBottomRight]: true
|
|
40076
40061
|
}, onClick: this.decrementMeridiem, onKeyDown: this.meridiemDownButtonKeyDownHandler, role: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: iconScale }))))));
|
|
40077
40062
|
}
|
|
40078
40063
|
static get delegatesFocus() { return true; }
|
|
@@ -40118,7 +40103,7 @@ class TimePicker {
|
|
|
40118
40103
|
}; }
|
|
40119
40104
|
}
|
|
40120
40105
|
|
|
40121
|
-
const CSS$
|
|
40106
|
+
const CSS$5 = {
|
|
40122
40107
|
container: "container",
|
|
40123
40108
|
header: "header",
|
|
40124
40109
|
heading: "heading",
|
|
@@ -40197,24 +40182,24 @@ class Tip {
|
|
|
40197
40182
|
const parentLevel = el.closest("calcite-tip-manager")?.headingLevel;
|
|
40198
40183
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
40199
40184
|
const level = headingLevel || relativeLevel;
|
|
40200
|
-
return heading ? (hAsync("header", { class: CSS$
|
|
40185
|
+
return heading ? (hAsync("header", { class: CSS$5.header }, hAsync(Heading, { class: CSS$5.heading, level: level }, heading))) : null;
|
|
40201
40186
|
}
|
|
40202
40187
|
renderDismissButton() {
|
|
40203
40188
|
const { closeDisabled, hideTip } = this;
|
|
40204
|
-
return !closeDisabled ? (hAsync("calcite-action", { class: CSS$
|
|
40189
|
+
return !closeDisabled ? (hAsync("calcite-action", { class: CSS$5.close, icon: ICONS$3.close, onClick: hideTip, scale: "l", text: this.messages.close })) : null;
|
|
40205
40190
|
}
|
|
40206
40191
|
renderImageFrame() {
|
|
40207
40192
|
const { el } = this;
|
|
40208
|
-
return getSlotted(el, SLOTS$2.thumbnail) ? (hAsync("div", { class: CSS$
|
|
40193
|
+
return getSlotted(el, SLOTS$2.thumbnail) ? (hAsync("div", { class: CSS$5.imageFrame, key: "thumbnail" }, hAsync("slot", { name: SLOTS$2.thumbnail }))) : null;
|
|
40209
40194
|
}
|
|
40210
40195
|
renderInfoNode() {
|
|
40211
|
-
return (hAsync("div", { class: CSS$
|
|
40196
|
+
return (hAsync("div", { class: CSS$5.info }, hAsync("slot", null)));
|
|
40212
40197
|
}
|
|
40213
40198
|
renderContent() {
|
|
40214
|
-
return (hAsync("div", { class: CSS$
|
|
40199
|
+
return (hAsync("div", { class: CSS$5.content }, this.renderImageFrame(), this.renderInfoNode()));
|
|
40215
40200
|
}
|
|
40216
40201
|
render() {
|
|
40217
|
-
return (hAsync(Fragment, null, hAsync("article", { class: CSS$
|
|
40202
|
+
return (hAsync(Fragment, null, hAsync("article", { class: CSS$5.container }, this.renderHeader(), this.renderContent()), this.renderDismissButton()));
|
|
40218
40203
|
}
|
|
40219
40204
|
static get assetsDirs() { return ["assets"]; }
|
|
40220
40205
|
get el() { return getElement(this); }
|
|
@@ -40269,7 +40254,7 @@ class TipGroup {
|
|
|
40269
40254
|
}; }
|
|
40270
40255
|
}
|
|
40271
40256
|
|
|
40272
|
-
const CSS$
|
|
40257
|
+
const CSS$4 = {
|
|
40273
40258
|
header: "header",
|
|
40274
40259
|
heading: "heading",
|
|
40275
40260
|
close: "close",
|
|
@@ -40441,7 +40426,7 @@ class TipManager {
|
|
|
40441
40426
|
const nextLabel = messages.next;
|
|
40442
40427
|
const previousLabel = messages.previous;
|
|
40443
40428
|
const paginationLabel = messages.defaultPaginationLabel;
|
|
40444
|
-
return tips.length > 1 ? (hAsync("footer", { class: CSS$
|
|
40429
|
+
return tips.length > 1 ? (hAsync("footer", { class: CSS$4.pagination }, hAsync("calcite-action", { class: CSS$4.pagePrevious, icon: dir === "ltr" ? ICONS$2.chevronLeft : ICONS$2.chevronRight, onClick: this.previousClicked, scale: "m", text: previousLabel }), hAsync("span", { class: CSS$4.pagePosition }, `${paginationLabel} ${selectedIndex + 1}/${total}`), hAsync("calcite-action", { class: CSS$4.pageNext, icon: dir === "ltr" ? ICONS$2.chevronRight : ICONS$2.chevronLeft, onClick: this.nextClicked, scale: "m", text: nextLabel }))) : null;
|
|
40445
40430
|
}
|
|
40446
40431
|
render() {
|
|
40447
40432
|
const { closed, direction, headingLevel, groupTitle, selectedIndex, messages, total } = this;
|
|
@@ -40449,12 +40434,12 @@ class TipManager {
|
|
|
40449
40434
|
if (total === 0) {
|
|
40450
40435
|
return null;
|
|
40451
40436
|
}
|
|
40452
|
-
return (hAsync("section", { "aria-hidden": toAriaBoolean(closed), class: CSS$
|
|
40437
|
+
return (hAsync("section", { "aria-hidden": toAriaBoolean(closed), class: CSS$4.container, hidden: closed, onKeyDown: this.tipManagerKeyDownHandler, tabIndex: 0,
|
|
40453
40438
|
// eslint-disable-next-line react/jsx-sort-props
|
|
40454
|
-
ref: this.storeContainerRef }, hAsync("header", { class: CSS$
|
|
40455
|
-
[CSS$
|
|
40456
|
-
[CSS$
|
|
40457
|
-
[CSS$
|
|
40439
|
+
ref: this.storeContainerRef }, hAsync("header", { class: CSS$4.header }, hAsync(Heading, { class: CSS$4.heading, level: headingLevel }, groupTitle), hAsync("calcite-action", { class: CSS$4.close, onClick: this.hideTipManager, scale: "m", text: closeLabel }, hAsync("calcite-icon", { icon: ICONS$2.close, scale: "m" }))), hAsync("div", { class: {
|
|
40440
|
+
[CSS$4.tipContainer]: true,
|
|
40441
|
+
[CSS$4.tipContainerAdvancing]: !closed && direction === "advancing",
|
|
40442
|
+
[CSS$4.tipContainerRetreating]: !closed && direction === "retreating"
|
|
40458
40443
|
}, key: selectedIndex, tabIndex: 0 }, hAsync("slot", null)), this.renderPagination()));
|
|
40459
40444
|
}
|
|
40460
40445
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -40490,7 +40475,7 @@ class TipManager {
|
|
|
40490
40475
|
}; }
|
|
40491
40476
|
}
|
|
40492
40477
|
|
|
40493
|
-
const CSS$
|
|
40478
|
+
const CSS$3 = {
|
|
40494
40479
|
container: "container"
|
|
40495
40480
|
};
|
|
40496
40481
|
const TOOLTIP_DELAY_MS = 500;
|
|
@@ -40858,7 +40843,7 @@ class Tooltip {
|
|
|
40858
40843
|
// eslint-disable-next-line react/jsx-sort-props
|
|
40859
40844
|
ref: this.setTransitionEl }, hAsync(FloatingArrow, { floatingLayout: floatingLayout,
|
|
40860
40845
|
// eslint-disable-next-line react/jsx-sort-props
|
|
40861
|
-
ref: (arrowEl) => (this.arrowEl = arrowEl) }), hAsync("div", { class: CSS$
|
|
40846
|
+
ref: (arrowEl) => (this.arrowEl = arrowEl) }), hAsync("div", { class: CSS$3.container }, hAsync("slot", null)))));
|
|
40862
40847
|
}
|
|
40863
40848
|
get el() { return getElement(this); }
|
|
40864
40849
|
static get watchers() { return {
|
|
@@ -41186,7 +41171,7 @@ class Tree {
|
|
|
41186
41171
|
}; }
|
|
41187
41172
|
}
|
|
41188
41173
|
|
|
41189
|
-
const CSS$
|
|
41174
|
+
const CSS$2 = {
|
|
41190
41175
|
actionsEnd: "actions-end",
|
|
41191
41176
|
checkboxLabel: "checkbox-label",
|
|
41192
41177
|
checkbox: "checkbox",
|
|
@@ -41341,11 +41326,11 @@ class TreeItem {
|
|
|
41341
41326
|
const showCheckmark = this.selectionMode === "multiple" || this.selectionMode === "multichildren";
|
|
41342
41327
|
const showBlank = this.selectionMode === "none" && !this.hasChildren;
|
|
41343
41328
|
const chevron = this.hasChildren ? (hAsync("calcite-icon", { class: {
|
|
41344
|
-
[CSS$
|
|
41329
|
+
[CSS$2.chevron]: true,
|
|
41345
41330
|
[CSS_UTILITY.rtl]: rtl
|
|
41346
41331
|
}, "data-test-id": "icon", icon: ICONS$1.chevronRight, onClick: this.iconClickHandler, scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
41347
41332
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
41348
|
-
const checkbox = this.selectionMode === "ancestors" ? (hAsync("label", { class: CSS$
|
|
41333
|
+
const checkbox = this.selectionMode === "ancestors" ? (hAsync("label", { class: CSS$2.checkboxLabel, key: "checkbox-label" }, hAsync("calcite-checkbox", { checked: this.selected, class: CSS$2.checkbox, "data-test-id": "checkbox", indeterminate: this.hasChildren && this.indeterminate, scale: this.scale, tabIndex: -1 }), defaultSlotNode)) : null;
|
|
41349
41334
|
const selectedIcon = showBulletPoint
|
|
41350
41335
|
? ICONS$1.bulletPoint
|
|
41351
41336
|
: showCheckmark
|
|
@@ -41354,22 +41339,22 @@ class TreeItem {
|
|
|
41354
41339
|
? ICONS$1.blank
|
|
41355
41340
|
: null;
|
|
41356
41341
|
const itemIndicator = selectedIcon ? (hAsync("calcite-icon", { class: {
|
|
41357
|
-
[CSS$
|
|
41358
|
-
[CSS$
|
|
41342
|
+
[CSS$2.bulletPointIcon]: selectedIcon === ICONS$1.bulletPoint,
|
|
41343
|
+
[CSS$2.checkmarkIcon]: selectedIcon === ICONS$1.checkmark,
|
|
41359
41344
|
[CSS_UTILITY.rtl]: rtl
|
|
41360
41345
|
}, icon: selectedIcon, scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
41361
41346
|
const hidden = !(this.parentExpanded || this.depth === 1);
|
|
41362
41347
|
const isExpanded = this.updateAfterInitialRender && this.expanded;
|
|
41363
41348
|
const { hasEndActions } = this;
|
|
41364
41349
|
const slotNode = (hAsync("slot", { key: "actionsEndSlot", name: SLOTS$1.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler }));
|
|
41365
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
41366
|
-
return (hAsync(Host, { "aria-expanded": this.hasChildren ? toAriaBoolean(isExpanded) : undefined, "aria-hidden": toAriaBoolean(hidden), "aria-selected": this.selected ? "true" : showCheckmark ? "false" : undefined, "calcite-hydrated-hidden": hidden, role: "treeitem" }, hAsync("div", { class: { [CSS$
|
|
41367
|
-
[CSS$
|
|
41350
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$2.iconStart, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
41351
|
+
return (hAsync(Host, { "aria-expanded": this.hasChildren ? toAriaBoolean(isExpanded) : undefined, "aria-hidden": toAriaBoolean(hidden), "aria-selected": this.selected ? "true" : showCheckmark ? "false" : undefined, "calcite-hydrated-hidden": hidden, role: "treeitem" }, hAsync("div", { class: { [CSS$2.itemExpanded]: isExpanded } }, hAsync("div", { class: CSS$2.nodeAndActionsContainer }, hAsync("div", { class: {
|
|
41352
|
+
[CSS$2.nodeContainer]: true,
|
|
41368
41353
|
[CSS_UTILITY.rtl]: rtl
|
|
41369
41354
|
}, "data-selection-mode": this.selectionMode,
|
|
41370
41355
|
// eslint-disable-next-line react/jsx-sort-props
|
|
41371
|
-
ref: (el) => (this.defaultSlotWrapper = el) }, chevron, itemIndicator, this.iconStart ? iconStartEl : null, checkbox ? checkbox : defaultSlotNode), hAsync("div", { class: CSS$
|
|
41372
|
-
[CSS$
|
|
41356
|
+
ref: (el) => (this.defaultSlotWrapper = el) }, chevron, itemIndicator, this.iconStart ? iconStartEl : null, checkbox ? checkbox : defaultSlotNode), hAsync("div", { class: CSS$2.actionsEnd, hidden: !hasEndActions, ref: (el) => (this.actionSlotWrapper = el) }, slotNode)), hAsync("div", { class: {
|
|
41357
|
+
[CSS$2.childrenContainer]: true,
|
|
41373
41358
|
[CSS_UTILITY.rtl]: rtl
|
|
41374
41359
|
}, "data-test-id": "calcite-tree-children", onClick: this.childrenClickHandler, role: this.hasChildren ? "group" : undefined,
|
|
41375
41360
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -41518,7 +41503,7 @@ class TreeItem {
|
|
|
41518
41503
|
}; }
|
|
41519
41504
|
}
|
|
41520
41505
|
|
|
41521
|
-
const CSS = {
|
|
41506
|
+
const CSS$1 = {
|
|
41522
41507
|
container: "container",
|
|
41523
41508
|
handle: "handle"
|
|
41524
41509
|
};
|
|
@@ -41724,7 +41709,7 @@ class ValueList {
|
|
|
41724
41709
|
connectSortableComponent(this, {
|
|
41725
41710
|
dataIdAttr: "id",
|
|
41726
41711
|
group,
|
|
41727
|
-
handle: `.${CSS.handle}`,
|
|
41712
|
+
handle: `.${CSS$1.handle}`,
|
|
41728
41713
|
draggable: "calcite-value-list-item",
|
|
41729
41714
|
onStart: () => {
|
|
41730
41715
|
cleanUpObserver.call(this);
|
|
@@ -41945,8 +41930,8 @@ class ValueListItem {
|
|
|
41945
41930
|
const { icon, iconFlipRtl } = this;
|
|
41946
41931
|
if (icon === ICON_TYPES$1.grip) {
|
|
41947
41932
|
return (hAsync("span", { class: {
|
|
41948
|
-
[CSS$
|
|
41949
|
-
[CSS$
|
|
41933
|
+
[CSS$n.handle]: true,
|
|
41934
|
+
[CSS$n.handleActivated]: this.handleActivated
|
|
41950
41935
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => (this.handleEl = el), role: "button", tabindex: "0" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS.drag, scale: "s" })));
|
|
41951
41936
|
}
|
|
41952
41937
|
}
|