@esri/calcite-components 1.7.0-next.1 → 1.7.0-next.3
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-e841b8de.js → p-0186ddfc.js} +2 -2
- package/dist/calcite/{p-06dacd86.js → p-05a0d9b3.js} +2 -2
- package/dist/calcite/{p-0617ef2e.js → p-05f19a0a.js} +2 -2
- package/dist/calcite/{p-b9a6af16.entry.js → p-0637efdd.entry.js} +2 -2
- package/dist/calcite/{p-2363de21.js → p-06956973.js} +2 -2
- package/dist/calcite/{p-a6cd85bc.js → p-0713e55b.js} +2 -2
- package/dist/calcite/{p-b60c9d3c.js → p-07190c88.js} +2 -2
- package/dist/calcite/{p-4b02e314.js → p-0979ca78.js} +2 -2
- package/dist/calcite/{p-85c52e32.entry.js → p-0b094072.entry.js} +2 -2
- package/dist/calcite/{p-08fdfbc3.js → p-0f75a67e.js} +1 -1
- package/dist/calcite/{p-ffd00167.entry.js → p-0fbbab9e.entry.js} +2 -2
- package/dist/calcite/{p-d1bbd926.entry.js → p-1448902f.entry.js} +2 -2
- package/dist/calcite/{p-968eafc8.entry.js → p-16733555.entry.js} +2 -2
- package/dist/calcite/{p-45d64c3a.js → p-1729e975.js} +1 -1
- package/dist/calcite/{p-39993eab.entry.js → p-1ed14d56.entry.js} +2 -2
- package/dist/calcite/{p-5eaf5010.entry.js → p-1f711b55.entry.js} +2 -2
- package/dist/calcite/{p-7f725ebc.js → p-1ff86390.js} +2 -2
- package/dist/calcite/{p-4c787639.entry.js → p-290ed78e.entry.js} +2 -2
- package/dist/calcite/{p-0f3d3543.js → p-29881457.js} +2 -2
- package/dist/calcite/p-2deda2cd.entry.js +6 -0
- package/dist/calcite/{p-25d0d9f0.js → p-3c3201fa.js} +2 -2
- package/dist/calcite/p-3d0c3b81.entry.js +6 -0
- package/dist/calcite/{p-88d3bfd6.js → p-4099a2a6.js} +2 -2
- package/dist/calcite/{p-98ca783b.js → p-44e49f5f.js} +2 -2
- package/dist/calcite/{p-c52afb13.js → p-4be8334c.js} +2 -2
- package/dist/calcite/{p-26e614b7.js → p-4c2508db.js} +2 -2
- package/dist/calcite/{p-d66da5fc.js → p-4d479d5f.js} +2 -2
- package/dist/calcite/{p-f2ede9d6.js → p-4e2ce0c4.js} +2 -2
- package/dist/calcite/{p-57549029.js → p-4fbd0784.js} +2 -2
- package/dist/calcite/{p-e8a2f2b1.js → p-4fef55db.js} +2 -2
- package/dist/calcite/{p-6ad6fd05.js → p-51e0d0c3.js} +1 -1
- package/dist/calcite/{p-fa369a8d.js → p-523f05e9.js} +2 -2
- package/dist/calcite/{p-f96ca0e0.js → p-54c01603.js} +2 -2
- package/dist/calcite/{p-a4efea69.entry.js → p-54ce4654.entry.js} +2 -2
- package/dist/calcite/{p-94c29059.js → p-55bd6a73.js} +2 -2
- package/dist/calcite/{p-b5dcca75.entry.js → p-57076046.entry.js} +2 -2
- package/dist/calcite/p-581ad453.entry.js +6 -0
- package/dist/calcite/{p-52ec78b8.entry.js → p-587e708c.entry.js} +2 -2
- package/dist/calcite/{p-df87a1ee.entry.js → p-5e2b10ef.entry.js} +2 -2
- package/dist/calcite/{p-2e453e32.js → p-61ff6fb3.js} +1 -1
- package/dist/calcite/{p-b563c2b7.js → p-64748f2b.js} +1 -1
- package/dist/calcite/{p-a22dcd94.js → p-64de1c49.js} +2 -2
- package/dist/calcite/{p-8be53c0a.js → p-6514ad26.js} +2 -2
- package/dist/calcite/p-6788ad4a.entry.js +6 -0
- package/dist/calcite/p-685021cb.entry.js +6 -0
- package/dist/calcite/{p-9e16fdd9.js → p-69de1292.js} +1 -1
- package/dist/calcite/{p-318d475b.js → p-6bc6d209.js} +2 -2
- package/dist/calcite/p-6c3028aa.entry.js +6 -0
- package/dist/calcite/{p-05bf2762.entry.js → p-6d3ccf71.entry.js} +2 -2
- package/dist/calcite/{p-e1b781c4.js → p-6fc8d791.js} +2 -2
- package/dist/calcite/{p-499ec0e2.js → p-70e2b43b.js} +2 -2
- package/dist/calcite/{p-b405d46f.js → p-70e9c630.js} +2 -2
- package/dist/calcite/{p-19a239f5.js → p-7aed46bc.js} +2 -2
- package/dist/calcite/{p-1a829f83.entry.js → p-7cc39c3a.entry.js} +2 -2
- package/dist/calcite/{p-e295f116.js → p-7d7cf353.js} +2 -2
- package/dist/calcite/{p-1e6bccdb.js → p-7f47acb9.js} +1 -1
- package/dist/calcite/{p-0fd24b92.js → p-7f4817f8.js} +2 -2
- package/dist/calcite/{p-2f974696.entry.js → p-7fe2eadc.entry.js} +2 -2
- package/dist/calcite/{p-bc0c6309.entry.js → p-80a6f9f3.entry.js} +2 -2
- package/dist/calcite/{p-ca99419c.js → p-80f0cc56.js} +2 -2
- package/dist/calcite/p-827f465f.js +6 -0
- package/dist/calcite/{p-caf68581.entry.js → p-82a44336.entry.js} +2 -2
- package/dist/calcite/p-8443cc87.entry.js +6 -0
- package/dist/calcite/{p-a9f32c9a.js → p-888fd972.js} +2 -2
- package/dist/calcite/{p-76c68997.entry.js → p-88f5df38.entry.js} +2 -2
- package/dist/calcite/{p-446030be.js → p-8b43569a.js} +2 -2
- package/dist/calcite/p-8b9e5765.entry.js +6 -0
- package/dist/calcite/{p-bd6e3e4b.entry.js → p-8c984842.entry.js} +2 -2
- package/dist/calcite/{p-5f7d9612.entry.js → p-8d57602c.entry.js} +2 -2
- package/dist/calcite/{p-e9549c43.js → p-8dff3750.js} +1 -1
- package/dist/calcite/{p-8e1d793e.js → p-8e3f1590.js} +2 -2
- package/dist/calcite/p-8e6f67a5.js +6 -0
- package/dist/calcite/{p-1fdd975e.js → p-8ec0af72.js} +1 -1
- package/dist/calcite/{p-bad1bed2.entry.js → p-933bb86e.entry.js} +2 -2
- package/dist/calcite/{p-5034fe06.js → p-93e50371.js} +2 -2
- package/dist/calcite/{p-1dcce77c.entry.js → p-93e9b22c.entry.js} +2 -2
- package/dist/calcite/{p-c5483999.js → p-9586156c.js} +2 -2
- package/dist/calcite/{p-7e1db1e0.js → p-970e174e.js} +2 -2
- package/dist/calcite/p-977dacf1.entry.js +6 -0
- package/dist/calcite/{p-027d8d24.entry.js → p-979ff3d7.entry.js} +2 -2
- package/dist/calcite/p-987ea0ee.js +6 -0
- package/dist/calcite/{p-a744c146.js → p-99969dbc.js} +2 -2
- package/dist/calcite/{p-37f55b39.js → p-9b51127d.js} +2 -2
- package/dist/calcite/p-9bdf6b9f.entry.js +6 -0
- package/dist/calcite/{p-fa531620.js → p-a143f879.js} +2 -2
- package/dist/calcite/{p-4d79e4bd.js → p-a4218715.js} +2 -2
- package/dist/calcite/{p-5cc00f13.entry.js → p-a4344a92.entry.js} +2 -2
- package/dist/calcite/{p-4b6a3d84.js → p-a472c224.js} +2 -2
- package/dist/calcite/{p-1a501d5a.entry.js → p-a530fccb.entry.js} +2 -2
- package/dist/calcite/{p-c47d99db.entry.js → p-a6ab1b6c.entry.js} +2 -2
- package/dist/calcite/{p-a2399bc4.entry.js → p-a6aedb28.entry.js} +2 -2
- package/dist/calcite/{p-337aa3da.entry.js → p-a747ffab.entry.js} +2 -2
- package/dist/calcite/{p-9bc6e682.js → p-a7bfc324.js} +1 -1
- package/dist/calcite/{p-39c1239f.js → p-abafde9d.js} +2 -2
- package/dist/calcite/{p-aca5edde.js → p-acb36fa6.js} +2 -2
- package/dist/calcite/{p-58ba10d4.js → p-add3d995.js} +2 -2
- package/dist/calcite/{p-beda5a17.js → p-afb17023.js} +1 -1
- package/dist/calcite/{p-4c8ab27d.entry.js → p-afec7b5d.entry.js} +2 -2
- package/dist/calcite/{p-da80bc8e.js → p-b07a16a1.js} +2 -2
- package/dist/calcite/{p-98d74b37.js → p-b239984a.js} +2 -2
- package/dist/calcite/{p-73df0c73.entry.js → p-b6215ec2.entry.js} +2 -2
- package/dist/calcite/{p-8f3f29de.js → p-b6689444.js} +2 -2
- package/dist/calcite/{p-e8868ce7.entry.js → p-b8333f93.entry.js} +2 -2
- package/dist/calcite/p-b9301c44.js +6 -0
- package/dist/calcite/{p-268b6dda.js → p-bb2b8146.js} +2 -2
- package/dist/calcite/{p-1f3eaf93.entry.js → p-bbe8c9ef.entry.js} +2 -2
- package/dist/calcite/{p-f26d9ca9.entry.js → p-bfd89f7a.entry.js} +2 -2
- package/dist/calcite/{p-ae344427.entry.js → p-c30f010d.entry.js} +2 -2
- package/dist/calcite/{p-05f135b6.entry.js → p-c40645eb.entry.js} +2 -2
- package/dist/calcite/{p-0f0104ed.entry.js → p-c431bada.entry.js} +2 -2
- package/dist/calcite/{p-fb4a7d90.js → p-c577d35a.js} +2 -2
- package/dist/calcite/{p-bc4d6c19.js → p-c631fdf1.js} +1 -1
- package/dist/calcite/{p-4fc22bfe.entry.js → p-c9ee7bc6.entry.js} +2 -2
- package/dist/calcite/{p-d40a1567.entry.js → p-cbe93bc9.entry.js} +2 -2
- package/dist/calcite/{p-e3777deb.js → p-cc7bec2c.js} +2 -2
- package/dist/calcite/{p-0bf1965e.entry.js → p-cc8c1a85.entry.js} +2 -2
- package/dist/calcite/p-ccf73338.entry.js +6 -0
- package/dist/calcite/{p-10a9ed6f.entry.js → p-cdb1d756.entry.js} +2 -2
- package/dist/calcite/{p-dcfb4b4f.js → p-d0d90e6e.js} +2 -2
- package/dist/calcite/{p-d8af8497.js → p-d0e815b0.js} +2 -2
- package/dist/calcite/{p-aa3edd9c.entry.js → p-d1b8f287.entry.js} +2 -2
- package/dist/calcite/{p-5ed30681.js → p-d2dc2cfd.js} +2 -2
- package/dist/calcite/{p-bd8f1cc0.entry.js → p-d3034b96.entry.js} +2 -2
- package/dist/calcite/{p-5ccaab39.js → p-d4896db5.js} +2 -2
- package/dist/calcite/{p-ba8fdc16.js → p-d553d47d.js} +2 -2
- package/dist/calcite/{p-6a3b9b99.js → p-d5f19fff.js} +2 -2
- package/dist/calcite/{p-3dc10ee3.entry.js → p-dd5a2238.entry.js} +2 -2
- package/dist/calcite/p-dd8207af.entry.js +6 -0
- package/dist/calcite/{p-864a1151.entry.js → p-df16021e.entry.js} +2 -2
- package/dist/calcite/{p-c51bfd8b.entry.js → p-e0da64ae.entry.js} +2 -2
- package/dist/calcite/{p-ef28f094.entry.js → p-e1030180.entry.js} +2 -2
- package/dist/calcite/{p-95a5217a.js → p-e27d9ed7.js} +2 -2
- package/dist/calcite/{p-797299f7.entry.js → p-e3b74a7e.entry.js} +2 -2
- package/dist/calcite/{p-c1a2b858.js → p-e63e00d8.js} +2 -2
- package/dist/calcite/p-e7684406.js +6 -0
- package/dist/calcite/{p-0f0a08cd.entry.js → p-e7d2f2e3.entry.js} +2 -2
- package/dist/calcite/{p-8421e849.js → p-e7d935fb.js} +2 -2
- package/dist/calcite/{p-7be96b14.js → p-e8c3fa0c.js} +2 -2
- package/dist/calcite/{p-2935c6e3.js → p-e9d3a0f5.js} +2 -2
- package/dist/calcite/{p-37b4e104.entry.js → p-ec236495.entry.js} +2 -2
- package/dist/calcite/{p-01e18e30.entry.js → p-ef93c600.entry.js} +2 -2
- package/dist/calcite/{p-9480fe3f.js → p-f01f3f67.js} +2 -2
- package/dist/calcite/p-f144924f.js +6 -0
- package/dist/calcite/{p-d387ab78.js → p-f1f4f0c3.js} +1 -1
- package/dist/calcite/{p-ccc0c441.entry.js → p-f2360535.entry.js} +2 -2
- package/dist/calcite/{p-d1da5baf.js → p-f3885797.js} +1 -1
- package/dist/calcite/{p-564f52f2.entry.js → p-f446d930.entry.js} +2 -2
- package/dist/calcite/{p-2c8fb3c6.js → p-f4bb2b0d.js} +2 -2
- package/dist/calcite/{p-0cc0ce6c.entry.js → p-fa4b8701.entry.js} +2 -2
- package/dist/calcite/{p-9dc8323d.entry.js → p-fc8f1858.entry.js} +2 -2
- package/dist/calcite/p-fe169201.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-8265a6df.js → ExpandToggle-d6d00655.js} +6 -6
- package/dist/cjs/{FloatingArrow-b5ca6077.js → FloatingArrow-fc82cdf4.js} +2 -2
- package/dist/cjs/{Heading-022a7a25.js → Heading-fc93f3fb.js} +2 -2
- package/dist/cjs/{app-globals-33eb529a.js → app-globals-6983470d.js} +2 -2
- package/dist/cjs/{ar-49434d95.js → ar-6a478c9b.js} +15 -15
- package/dist/cjs/{array-5848270e.js → array-695bd187.js} +1 -1
- package/dist/cjs/{bg-5d252039.js → bg-279515d6.js} +15 -15
- package/dist/cjs/{bs-9db17f5a.js → bs-c3c2eeae.js} +15 -15
- package/dist/cjs/{ca-a662d810.js → ca-13e1dfed.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +19 -18
- package/dist/cjs/calcite-action-group.cjs.entry.js +16 -15
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-pad.cjs.entry.js +18 -17
- package/dist/cjs/calcite-action.cjs.entry.js +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +15 -15
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +23 -23
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +39 -31
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +26 -26
- package/dist/cjs/calcite-handle.cjs.entry.js +11 -11
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +25 -25
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-78addba7.js → calcite-input-time-picker.calcite-time-picker-1d455bfe.js} +67 -67
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input.cjs.entry.js +15 -15
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +48 -31
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +19 -19
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- 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 +13 -13
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- 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 +12 -12
- package/dist/cjs/calcite-tooltip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-92ae3728.js → conditionalSlot-ca909f94.js} +3 -3
- package/dist/cjs/{cs-7e9b3c2f.js → cs-7b5301fc.js} +15 -15
- package/dist/cjs/{da-8335577e.js → da-4dc19186.js} +15 -15
- package/dist/cjs/{de-425433c1.js → de-1c35d049.js} +15 -15
- package/dist/cjs/{de-at-48c4256e.js → de-at-2f8cfe0f.js} +15 -15
- package/dist/cjs/{de-ch-41c43781.js → de-ch-5559a192.js} +15 -15
- package/dist/cjs/{debounce-7d77cb87.js → debounce-aa96b89c.js} +1 -1
- package/dist/cjs/{dom-7487acd7.js → dom-b5793106.js} +3 -3
- package/dist/cjs/{el-10c44be5.js → el-099e59e9.js} +15 -15
- package/dist/cjs/{en-au-226cb400.js → en-au-a6bd4183.js} +15 -15
- package/dist/cjs/{en-ca-1e9edcd9.js → en-ca-3aba0966.js} +15 -15
- package/dist/cjs/{en-gb-dffa7b85.js → en-gb-567e720c.js} +15 -15
- package/dist/cjs/{es-aafb79e8.js → es-99580fe3.js} +15 -15
- package/dist/cjs/{es-mx-44e3e2a9.js → es-mx-8ba95e19.js} +15 -15
- package/dist/cjs/{et-e0f4c3ca.js → et-ef45868f.js} +15 -15
- package/dist/cjs/{fi-dfbaec2f.js → fi-d1019b3f.js} +15 -15
- package/dist/cjs/{filter-102072d8.js → filter-49c94625.js} +2 -2
- package/dist/cjs/{floating-ui-8799f01a.js → floating-ui-a94ad8ac.js} +3 -3
- package/dist/cjs/{focusTrapComponent-328576cf.js → focusTrapComponent-f2cc3634.js} +2 -2
- package/dist/cjs/{form-509b1671.js → form-9a3822c0.js} +3 -3
- package/dist/cjs/{fr-a86ec363.js → fr-09e417ea.js} +15 -15
- package/dist/cjs/{fr-ch-ed4c9432.js → fr-ch-a1d866b9.js} +15 -15
- package/dist/cjs/{guid-bc4ef7e8.js → guid-65ced50e.js} +1 -1
- package/dist/cjs/{he-e893a27b.js → he-0f88763d.js} +15 -15
- package/dist/cjs/{hi-ed4d25ca.js → hi-d26f74d7.js} +15 -15
- package/dist/cjs/{hr-90d9e1c6.js → hr-6e924b2e.js} +15 -15
- package/dist/cjs/{hu-a6c55f07.js → hu-b531e3e4.js} +15 -15
- package/dist/cjs/{id-2c74ab10.js → id-75dd76b6.js} +15 -15
- package/dist/cjs/{index-142998d3.js → index-16812491.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-3295de88.js → interactive-459ae50e.js} +1 -1
- package/dist/cjs/{it-33905686.js → it-1232ef58.js} +15 -15
- package/dist/cjs/{it-ch-a4263ead.js → it-ch-120def55.js} +15 -15
- package/dist/cjs/{ja-f27b3274.js → ja-96773016.js} +15 -15
- package/dist/cjs/{key-dc499418.js → key-3cac6f80.js} +1 -1
- package/dist/cjs/{ko-3b5b39ca.js → ko-53f081b2.js} +15 -15
- package/dist/cjs/{label-39f9c585.js → label-cf3ab010.js} +2 -2
- package/dist/cjs/{loadable-cb368fce.js → loadable-a09039f5.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-99d6b752.js → locale-71950e9e.js} +4 -4
- package/dist/cjs/{lt-8b22e646.js → lt-194e8d77.js} +15 -15
- package/dist/cjs/{lv-9b9b8357.js → lv-e1060552.js} +15 -15
- package/dist/cjs/{math-21614d14.js → math-56dcfacc.js} +1 -1
- package/dist/cjs/{mk-ae45b7cb.js → mk-c16fa555.js} +15 -15
- package/dist/cjs/{nb-538c6d63.js → nb-413fbf04.js} +15 -15
- package/dist/cjs/{nl-0e7d71bd.js → nl-45265782.js} +15 -15
- package/dist/cjs/{observers-f62a2e0a.js → observers-e914c09b.js} +1 -1
- package/dist/cjs/{openCloseComponent-12d9e8d8.js → openCloseComponent-6fa7efe9.js} +2 -2
- package/dist/cjs/{pl-ae3d37d9.js → pl-3341a087.js} +15 -15
- package/dist/cjs/{pt-br-d6483c61.js → pt-br-64ce0da6.js} +15 -15
- package/dist/cjs/{pt-e1224383.js → pt-e9abecfd.js} +15 -15
- package/dist/cjs/{resources-5c003e2b.js → resources-0d4509b8.js} +5 -1
- package/dist/cjs/{resources-bb31ff4c.js → resources-1e507818.js} +7 -7
- package/dist/cjs/{resources-932fa5dc.js → resources-3409ca27.js} +1 -1
- package/dist/cjs/{resources-118dc727.js → resources-aaca6c3a.js} +1 -1
- package/dist/cjs/{resources-d7dcc7aa.js → resources-c6667f63.js} +1 -1
- package/dist/cjs/{resources-73b59433.js → resources-db7b5a58.js} +1 -1
- package/dist/cjs/{resources-ab8cb2da.js → resources-ff8ff36f.js} +1 -1
- package/dist/cjs/{ro-6f49a712.js → ro-8cbbe534.js} +15 -15
- package/dist/cjs/{ru-e535cc78.js → ru-7d428690.js} +15 -15
- package/dist/cjs/{sk-4e280c98.js → sk-60c6a390.js} +15 -15
- package/dist/cjs/{sl-ac107091.js → sl-de4f1d28.js} +15 -15
- package/dist/cjs/{sortableComponent-acf1b739.js → sortableComponent-0f63bcc3.js} +2 -2
- package/dist/cjs/{sr-f78dcd56.js → sr-bbafa085.js} +15 -15
- package/dist/cjs/{sv-6b758740.js → sv-eb753086.js} +15 -15
- package/dist/cjs/{t9n-42d79fa0.js → t9n-015ae7bc.js} +3 -3
- package/dist/cjs/{th-0ee86bbe.js → th-ab528808.js} +15 -15
- package/dist/cjs/{throttle-792f064c.js → throttle-1f8e0d41.js} +2 -2
- package/dist/cjs/{tr-8bd79461.js → tr-16017564.js} +15 -15
- package/dist/cjs/{uk-6d6ea7ab.js → uk-0ae928f7.js} +15 -15
- package/dist/cjs/{utils-93f5e22a.js → utils-e13c2160.js} +1 -1
- package/dist/cjs/{utils-246589f7.js → utils-e240bcd0.js} +3 -3
- package/dist/cjs/{vi-1b9e468d.js → vi-749e18b0.js} +15 -15
- package/dist/cjs/{zh-cn-b1d6e1ad.js → zh-cn-ebcc898e.js} +15 -15
- package/dist/cjs/{zh-hk-3ac0265c.js → zh-hk-cfca0fc4.js} +15 -15
- package/dist/cjs/{zh-tw-323d6eb0.js → zh-tw-1f4bcbc6.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 +2 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +22 -4
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +11 -1
- package/dist/collection/components/action-group/action-group.js +22 -4
- package/dist/collection/components/action-group/resources.js +4 -1
- package/dist/collection/components/action-menu/action-menu.js +2 -2
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +22 -4
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +3 -3
- 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 +2 -2
- package/dist/collection/components/chip/chip.js +3 -3
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +8 -8
- package/dist/collection/components/color-picker/color-picker.js +7 -7
- 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 +3 -3
- 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 +22 -8
- 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 +60 -6
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +28 -4
- 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 +2 -2
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +2 -2
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +4 -4
- 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 +2 -2
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +2 -2
- 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 +3 -3
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +4 -4
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +3 -3
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +8 -8
- 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 +2 -2
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +2 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +4 -4
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +2 -2
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/list/list.js +2 -2
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +5 -5
- 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 +3 -3
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +5 -5
- package/dist/collection/components/modal/modal.js +60 -24
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +2 -2
- 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 +2 -2
- 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 +4 -4
- 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 +3 -3
- 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 +2 -2
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +4 -4
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +14 -14
- 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 +2 -2
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +4 -4
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +3 -3
- 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 +2 -2
- 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 +5 -5
- 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 +2 -2
- 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 +3 -3
- 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.css +7 -5
- package/dist/collection/components/tree-item/tree-item.js +2 -2
- 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 +2 -2
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +9 -4
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +2 -2
- 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 +6 -4
- 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 +6 -4
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +3 -3
- 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 +8 -8
- 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 +7 -7
- package/dist/components/calcite-combobox-item-group.js +4 -5
- 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 +2 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -3
- 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 +4 -4
- package/dist/components/calcite-input-date-picker.js +8 -8
- 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 +4 -4
- package/dist/components/calcite-input-time-zone.js +2 -2
- 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 +5 -5
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +3 -3
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +37 -20
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +2 -2
- package/dist/components/calcite-notice.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-rating.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +3 -3
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +14 -14
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +3 -3
- package/dist/components/calcite-tree-item.js +3 -3
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +3 -3
- package/dist/components/color-picker-hex-input.js +3 -3
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +8 -7
- package/dist/components/combobox.js +18 -8
- 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 +2 -2
- package/dist/components/date-picker-month.js +2 -2
- 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 +4 -4
- 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 +2 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- 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 +2 -2
- package/dist/components/input-text.js +2 -2
- package/dist/components/input.js +3 -3
- 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 +2 -2
- 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 +4 -4
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +4 -4
- 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 +3 -3
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +4 -4
- package/dist/components/tab-title.js +3 -3
- 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 +5 -5
- 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-fce2a522.js → ExpandToggle-d5f512ca.js} +6 -6
- package/dist/esm/{FloatingArrow-d22a3d68.js → FloatingArrow-4032bf42.js} +2 -2
- package/dist/esm/{Heading-322edf26.js → Heading-57b488c1.js} +2 -2
- package/dist/esm/{app-globals-dd93423e.js → app-globals-18b7ff06.js} +2 -2
- package/dist/esm/{ar-4fb21f4a.js → ar-9919ba73.js} +15 -15
- package/dist/esm/{array-e7542aea.js → array-c0a5cf17.js} +1 -1
- package/dist/esm/{bg-07ee5c5e.js → bg-02e5dca6.js} +15 -15
- package/dist/esm/{bs-906447a4.js → bs-102368d9.js} +15 -15
- package/dist/esm/{ca-9359e6a6.js → ca-167548bc.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +19 -18
- package/dist/esm/calcite-action-group.entry.js +16 -15
- package/dist/esm/calcite-action-menu.entry.js +10 -10
- package/dist/esm/calcite-action-pad.entry.js +18 -17
- package/dist/esm/calcite-action.entry.js +12 -12
- package/dist/esm/calcite-alert.entry.js +14 -14
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +13 -13
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +15 -15
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +23 -23
- package/dist/esm/calcite-combobox_3.entry.js +39 -31
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +16 -16
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +14 -14
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +26 -26
- package/dist/esm/calcite-handle.entry.js +11 -11
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +15 -15
- package/dist/esm/calcite-input-date-picker.entry.js +25 -25
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-69d8a448.js → calcite-input-time-picker.calcite-time-picker-58a9b3b7.js} +67 -67
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +14 -14
- package/dist/esm/calcite-input.entry.js +15 -15
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +19 -19
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +12 -12
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +48 -31
- package/dist/esm/calcite-navigation_3.entry.js +7 -7
- package/dist/esm/calcite-notice.entry.js +13 -13
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +17 -17
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +19 -19
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- 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 +13 -13
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +11 -11
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +15 -15
- package/dist/esm/calcite-text-area.entry.js +16 -16
- 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 +12 -12
- package/dist/esm/calcite-tooltip.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-5cc4cc84.js → conditionalSlot-66e7c0ff.js} +3 -3
- package/dist/esm/{cs-0c66a269.js → cs-b58c8a8f.js} +15 -15
- package/dist/esm/{da-c29a773f.js → da-7d917f99.js} +15 -15
- package/dist/esm/{de-13162f74.js → de-48df4989.js} +15 -15
- package/dist/esm/{de-at-20abace8.js → de-at-f9c53107.js} +15 -15
- package/dist/esm/{de-ch-23dd6b50.js → de-ch-3372d5cd.js} +15 -15
- package/dist/esm/{debounce-95474f0d.js → debounce-d8552ac3.js} +1 -1
- package/dist/esm/{dom-257fb429.js → dom-3322efa0.js} +3 -3
- package/dist/esm/{el-c4f2dbc9.js → el-95880f17.js} +15 -15
- package/dist/esm/{en-au-5de53e98.js → en-au-c115a822.js} +15 -15
- package/dist/esm/{en-ca-dfc67c86.js → en-ca-9b46c6a7.js} +15 -15
- package/dist/esm/{en-gb-c6dd41e2.js → en-gb-172fd41b.js} +15 -15
- package/dist/esm/{es-64bf9b9b.js → es-bb811a90.js} +15 -15
- package/dist/esm/{es-mx-a8425199.js → es-mx-8557cb18.js} +15 -15
- package/dist/esm/{et-ccbdf960.js → et-0ff48514.js} +15 -15
- package/dist/esm/{fi-34eb9c8c.js → fi-4e682987.js} +15 -15
- package/dist/esm/{filter-96875580.js → filter-27fd6fd2.js} +2 -2
- package/dist/esm/{floating-ui-39a53610.js → floating-ui-fceaf7c1.js} +3 -3
- package/dist/esm/{focusTrapComponent-9889bfeb.js → focusTrapComponent-0a4c6792.js} +2 -2
- package/dist/esm/{form-f849dd0a.js → form-f2480f8d.js} +3 -3
- package/dist/esm/{fr-cd866644.js → fr-650eaef9.js} +15 -15
- package/dist/esm/{fr-ch-c1e6425a.js → fr-ch-cbe2efe5.js} +15 -15
- package/dist/esm/{guid-4b604798.js → guid-31592e79.js} +1 -1
- package/dist/esm/{he-d5a944c0.js → he-5b6cc892.js} +15 -15
- package/dist/esm/{hi-d0c824aa.js → hi-2b35f572.js} +15 -15
- package/dist/esm/{hr-9ae17a89.js → hr-cdbeb82d.js} +15 -15
- package/dist/esm/{hu-9b60c3e2.js → hu-3f36d56f.js} +15 -15
- package/dist/esm/{id-93300f8e.js → id-b8c74db2.js} +15 -15
- package/dist/esm/{index-12f96d86.js → index-48fee311.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-999431b3.js → interactive-61b7adf7.js} +1 -1
- package/dist/esm/{it-063dace2.js → it-1319743e.js} +15 -15
- package/dist/esm/{it-ch-7a2acdc9.js → it-ch-b90dea1d.js} +15 -15
- package/dist/esm/{ja-180fb96b.js → ja-75aee6d0.js} +15 -15
- package/dist/esm/{key-c4381172.js → key-170477d8.js} +1 -1
- package/dist/esm/{ko-14d3c687.js → ko-6b6c254a.js} +15 -15
- package/dist/esm/{label-6c5eadac.js → label-34a8dd0e.js} +2 -2
- package/dist/esm/{loadable-871af43e.js → loadable-86f381c2.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-5cade090.js → locale-d3a92d28.js} +4 -4
- package/dist/esm/{lt-e6b3fe40.js → lt-aad8bb9a.js} +15 -15
- package/dist/esm/{lv-fc4ec840.js → lv-1390916d.js} +15 -15
- package/dist/esm/{math-22a2f19c.js → math-c8d2ad31.js} +1 -1
- package/dist/esm/{mk-dd0c48fd.js → mk-e42a13e7.js} +15 -15
- package/dist/esm/{nb-2e35809b.js → nb-e81c7347.js} +15 -15
- package/dist/esm/{nl-e5a1400e.js → nl-189d5f4f.js} +15 -15
- package/dist/esm/{observers-39183e56.js → observers-f036448e.js} +1 -1
- package/dist/esm/{openCloseComponent-3f0f20c5.js → openCloseComponent-81e7682b.js} +2 -2
- package/dist/esm/{pl-dea1e606.js → pl-60fb39bb.js} +15 -15
- package/dist/esm/{pt-80735ebf.js → pt-9921ccbf.js} +15 -15
- package/dist/esm/{pt-br-2df4a571.js → pt-br-4f99b795.js} +15 -15
- package/dist/esm/{resources-eb94cf37.js → resources-323c5ef4.js} +7 -7
- package/dist/esm/{resources-3387c71e.js → resources-4348103c.js} +1 -1
- package/dist/esm/{resources-0138967d.js → resources-50f7cbc9.js} +1 -1
- package/dist/esm/{resources-a72ddc26.js → resources-5c6cbb61.js} +1 -1
- package/dist/esm/{resources-4fafdc57.js → resources-8fd28b86.js} +1 -1
- package/dist/esm/{resources-084474bf.js → resources-b762bf79.js} +1 -1
- package/dist/esm/{resources-91af063c.js → resources-da4c00eb.js} +5 -2
- package/dist/esm/{ro-807a4190.js → ro-66094e74.js} +15 -15
- package/dist/esm/{ru-548b0f95.js → ru-5f50184e.js} +15 -15
- package/dist/esm/{sk-8883423d.js → sk-77436d8a.js} +15 -15
- package/dist/esm/{sl-ee0e4fd3.js → sl-dad00459.js} +15 -15
- package/dist/esm/{sortableComponent-971c73fe.js → sortableComponent-a31575a7.js} +2 -2
- package/dist/esm/{sr-b530aa38.js → sr-e0bf0fb0.js} +15 -15
- package/dist/esm/{sv-417d98fa.js → sv-9330bcb9.js} +15 -15
- package/dist/esm/{t9n-fda07909.js → t9n-431f088b.js} +3 -3
- package/dist/esm/{th-9c8b350c.js → th-582f800e.js} +15 -15
- package/dist/esm/{throttle-f29720f7.js → throttle-b7940d8d.js} +2 -2
- package/dist/esm/{tr-554bf5c6.js → tr-bd6b817b.js} +15 -15
- package/dist/esm/{uk-92fec74c.js → uk-da3f983b.js} +15 -15
- package/dist/esm/{utils-bf7d553a.js → utils-3d92b96f.js} +3 -3
- package/dist/esm/{utils-95483418.js → utils-b5a3d9e8.js} +1 -1
- package/dist/esm/{vi-fd5b52e6.js → vi-d096d063.js} +15 -15
- package/dist/esm/{zh-cn-32301258.js → zh-cn-a4bcecb5.js} +15 -15
- package/dist/esm/{zh-hk-ee992b29.js → zh-hk-cb3dd161.js} +15 -15
- package/dist/esm/{zh-tw-a9f0360a.js → zh-tw-0b56bfeb.js} +15 -15
- package/dist/extras/docs-json.json +55 -8
- package/dist/extras/vscode-data.json +13 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/action-bar/action-bar.d.ts +4 -0
- package/dist/types/components/action-group/action-group.d.ts +4 -0
- package/dist/types/components/action-group/resources.d.ts +3 -0
- package/dist/types/components/action-pad/action-pad.d.ts +4 -0
- package/dist/types/components/combobox/combobox.d.ts +6 -5
- package/dist/types/components/combobox-item/combobox-item.d.ts +16 -3
- package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +6 -1
- package/dist/types/components/modal/modal.d.ts +10 -9
- package/dist/types/components.d.ts +47 -4
- package/hydrate/index.js +206 -169
- package/package.json +2 -2
- package/dist/calcite/p-11498a8e.entry.js +0 -6
- package/dist/calcite/p-16c6fee5.entry.js +0 -6
- package/dist/calcite/p-2f863c7c.entry.js +0 -6
- package/dist/calcite/p-30ed49c9.entry.js +0 -6
- package/dist/calcite/p-5779712d.entry.js +0 -6
- package/dist/calcite/p-7e5aebd4.js +0 -6
- package/dist/calcite/p-815aba9a.js +0 -6
- package/dist/calcite/p-8769fade.js +0 -6
- package/dist/calcite/p-955131d9.js +0 -6
- package/dist/calcite/p-9816964b.entry.js +0 -6
- package/dist/calcite/p-a9ae3be0.js +0 -6
- package/dist/calcite/p-b3414fbe.entry.js +0 -6
- package/dist/calcite/p-bbf680d8.entry.js +0 -6
- package/dist/calcite/p-bca1f78c.entry.js +0 -6
- package/dist/calcite/p-bf441fe1.js +0 -6
- package/dist/calcite/p-e79f7624.entry.js +0 -6
- package/dist/calcite/p-ef223b87.entry.js +0 -6
- package/dist/calcite/p-f105d1cd.entry.js +0 -6
- package/dist/calcite/p-fdc98e4c.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -7022,7 +7022,7 @@ const SLOTS$y = {
|
|
|
7022
7022
|
actionsStart: "actions-start",
|
|
7023
7023
|
actionsEnd: "actions-end",
|
|
7024
7024
|
};
|
|
7025
|
-
const CSS$
|
|
7025
|
+
const CSS$18 = {
|
|
7026
7026
|
icon: "icon",
|
|
7027
7027
|
header: "header",
|
|
7028
7028
|
headerContent: "header-content",
|
|
@@ -7086,28 +7086,28 @@ class AccordionItem {
|
|
|
7086
7086
|
// --------------------------------------------------------------------------
|
|
7087
7087
|
renderActionsStart() {
|
|
7088
7088
|
const { el } = this;
|
|
7089
|
-
return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$
|
|
7089
|
+
return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$18.actionsStart }, hAsync("slot", { name: SLOTS$y.actionsStart }))) : null;
|
|
7090
7090
|
}
|
|
7091
7091
|
renderActionsEnd() {
|
|
7092
7092
|
const { el } = this;
|
|
7093
|
-
return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
7093
|
+
return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$18.actionsEnd }, hAsync("slot", { name: SLOTS$y.actionsEnd }))) : null;
|
|
7094
7094
|
}
|
|
7095
7095
|
render() {
|
|
7096
7096
|
const { iconFlipRtl } = this;
|
|
7097
7097
|
const dir = getElementDir(this.el);
|
|
7098
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
7099
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
7098
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$18.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7099
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$18.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
7100
7100
|
const { description } = this;
|
|
7101
7101
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
7102
7102
|
[`icon-position--${this.iconPosition}`]: true,
|
|
7103
7103
|
[`icon-type--${this.iconType}`]: true,
|
|
7104
|
-
} }, hAsync("div", { class: { [CSS$
|
|
7104
|
+
} }, hAsync("div", { class: { [CSS$18.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$18.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$18.headerContainer }, iconStartEl, hAsync("div", { class: CSS$18.headerText }, hAsync("span", { class: CSS$18.heading }, this.heading), description ? hAsync("span", { class: CSS$18.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$18.expandIcon, icon: this.iconType === "chevron"
|
|
7105
7105
|
? "chevronDown"
|
|
7106
7106
|
: this.iconType === "caret"
|
|
7107
7107
|
? "caretDown"
|
|
7108
7108
|
: this.expanded
|
|
7109
7109
|
? "minus"
|
|
7110
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
7110
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$18.content }, hAsync("slot", null)))));
|
|
7111
7111
|
}
|
|
7112
7112
|
//--------------------------------------------------------------------------
|
|
7113
7113
|
//
|
|
@@ -8027,7 +8027,7 @@ function defaultOnMessagesChange() {
|
|
|
8027
8027
|
mergeMessages(this);
|
|
8028
8028
|
}
|
|
8029
8029
|
|
|
8030
|
-
const CSS$
|
|
8030
|
+
const CSS$17 = {
|
|
8031
8031
|
button: "button",
|
|
8032
8032
|
buttonTextVisible: "button--text-visible",
|
|
8033
8033
|
buttonCompact: "button--compact",
|
|
@@ -8138,14 +8138,14 @@ class Action {
|
|
|
8138
8138
|
renderTextContainer() {
|
|
8139
8139
|
const { text, textEnabled } = this;
|
|
8140
8140
|
const textContainerClasses = {
|
|
8141
|
-
[CSS$
|
|
8142
|
-
[CSS$
|
|
8141
|
+
[CSS$17.textContainer]: true,
|
|
8142
|
+
[CSS$17.textContainerVisible]: textEnabled,
|
|
8143
8143
|
};
|
|
8144
8144
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
8145
8145
|
}
|
|
8146
8146
|
renderIndicatorText() {
|
|
8147
8147
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
8148
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
8148
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$17.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
8149
8149
|
}
|
|
8150
8150
|
renderIconContainer() {
|
|
8151
8151
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -8156,21 +8156,21 @@ class Action {
|
|
|
8156
8156
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
8157
8157
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
8158
8158
|
const slotContainerNode = (hAsync("div", { class: {
|
|
8159
|
-
[CSS$
|
|
8160
|
-
[CSS$
|
|
8159
|
+
[CSS$17.slotContainer]: true,
|
|
8160
|
+
[CSS$17.slotContainerHidden]: loading,
|
|
8161
8161
|
} }, hAsync("slot", null)));
|
|
8162
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
8162
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$17.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
8163
8163
|
}
|
|
8164
8164
|
render() {
|
|
8165
8165
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages, } = this;
|
|
8166
8166
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
8167
8167
|
const buttonClasses = {
|
|
8168
|
-
[CSS$
|
|
8169
|
-
[CSS$
|
|
8170
|
-
[CSS$
|
|
8168
|
+
[CSS$17.button]: true,
|
|
8169
|
+
[CSS$17.buttonTextVisible]: textEnabled,
|
|
8170
|
+
[CSS$17.buttonCompact]: compact,
|
|
8171
8171
|
};
|
|
8172
8172
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
|
|
8173
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
8173
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
8174
8174
|
ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer()), hAsync("slot", { name: SLOTS$x.tooltip, onSlotchange: this.handleTooltipSlotChange }), this.renderIndicatorText()));
|
|
8175
8175
|
}
|
|
8176
8176
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -9479,6 +9479,9 @@ const SLOTS$w = {
|
|
|
9479
9479
|
const ICONS$j = {
|
|
9480
9480
|
menu: "ellipsis",
|
|
9481
9481
|
};
|
|
9482
|
+
const CSS$16 = {
|
|
9483
|
+
container: "container",
|
|
9484
|
+
};
|
|
9482
9485
|
|
|
9483
9486
|
const CSS$15 = {
|
|
9484
9487
|
menu: "menu",
|
|
@@ -9575,7 +9578,7 @@ const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position
|
|
|
9575
9578
|
const expandIcon = end ? icons[1] : icons[0];
|
|
9576
9579
|
const collapseIcon = end ? icons[0] : icons[1];
|
|
9577
9580
|
const actionNode = (hAsync("calcite-action", { icon: expanded ? expandIcon : collapseIcon, onClick: toggle, scale: scale, text: text, textEnabled: expanded, title: !expanded && !tooltip ? text : null,
|
|
9578
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
9581
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
9579
9582
|
ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }) }));
|
|
9580
9583
|
return actionNode;
|
|
9581
9584
|
};
|
|
@@ -9676,6 +9679,7 @@ class ActionBar {
|
|
|
9676
9679
|
const tooltips = slotChangeGetAssignedElements(event).filter((el) => el?.matches("calcite-tooltip"));
|
|
9677
9680
|
this.expandTooltip = tooltips[0];
|
|
9678
9681
|
};
|
|
9682
|
+
this.actionsEndGroupLabel = undefined;
|
|
9679
9683
|
this.expandDisabled = false;
|
|
9680
9684
|
this.expanded = false;
|
|
9681
9685
|
this.layout = "vertical";
|
|
@@ -9778,11 +9782,11 @@ class ActionBar {
|
|
|
9778
9782
|
//
|
|
9779
9783
|
// --------------------------------------------------------------------------
|
|
9780
9784
|
renderBottomActionGroup() {
|
|
9781
|
-
const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages } = this;
|
|
9785
|
+
const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages, actionsEndGroupLabel, } = this;
|
|
9782
9786
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
9783
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
9787
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
9784
9788
|
ref: this.setExpandToggleRef })) : null;
|
|
9785
|
-
return (hAsync("calcite-action-group", { class: CSS$14.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$u.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
|
9789
|
+
return (hAsync("calcite-action-group", { class: CSS$14.actionGroupEnd, label: actionsEndGroupLabel, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$u.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
|
9786
9790
|
}
|
|
9787
9791
|
render() {
|
|
9788
9792
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9802,6 +9806,7 @@ class ActionBar {
|
|
|
9802
9806
|
"$flags$": 9,
|
|
9803
9807
|
"$tagName$": "calcite-action-bar",
|
|
9804
9808
|
"$members$": {
|
|
9809
|
+
"actionsEndGroupLabel": [1, "actions-end-group-label"],
|
|
9805
9810
|
"expandDisabled": [516, "expand-disabled"],
|
|
9806
9811
|
"expanded": [1540],
|
|
9807
9812
|
"layout": [513],
|
|
@@ -9824,7 +9829,7 @@ class ActionBar {
|
|
|
9824
9829
|
}; }
|
|
9825
9830
|
}
|
|
9826
9831
|
|
|
9827
|
-
const actionGroupCss = "/*!@:host*/.sc-calcite-action-group-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-group-h *.sc-calcite-action-group{box-sizing:border-box}/*!@:host*/.sc-calcite-action-group-h{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}/*!@:host([columns=\"1\"])*/[columns=\"1\"].sc-calcite-action-group-h{--calcite-action-group-columns:1}/*!@:host([columns=\"2\"])*/[columns=\"2\"].sc-calcite-action-group-h{--calcite-action-group-columns:2}/*!@:host([columns=\"3\"])*/[columns=\"3\"].sc-calcite-action-group-h{--calcite-action-group-columns:3}/*!@:host([columns=\"4\"])*/[columns=\"4\"].sc-calcite-action-group-h{--calcite-action-group-columns:4}/*!@:host([columns=\"5\"])*/[columns=\"5\"].sc-calcite-action-group-h{--calcite-action-group-columns:5}/*!@:host([columns=\"6\"])*/[columns=\"6\"].sc-calcite-action-group-h{--calcite-action-group-columns:6}/*!@:host(:first-child)*/.sc-calcite-action-group-h:first-child{padding-block-start:0px}/*!@:host([layout=horizontal])*/[layout=horizontal].sc-calcite-action-group-h{flex-direction:row}/*!@:host([layout=grid])*/[layout=grid].sc-calcite-action-group-h{display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}/*!@:host([hidden])*/[hidden].sc-calcite-action-group-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-action-group{display:none}";
|
|
9832
|
+
const actionGroupCss = "/*!@:host*/.sc-calcite-action-group-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-group-h *.sc-calcite-action-group{box-sizing:border-box}/*!@:host*/.sc-calcite-action-group-h{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}/*!@.container*/.container.sc-calcite-action-group{display:flex;flex-direction:column}/*!@:host([columns=\"1\"])*/[columns=\"1\"].sc-calcite-action-group-h{--calcite-action-group-columns:1}/*!@:host([columns=\"2\"])*/[columns=\"2\"].sc-calcite-action-group-h{--calcite-action-group-columns:2}/*!@:host([columns=\"3\"])*/[columns=\"3\"].sc-calcite-action-group-h{--calcite-action-group-columns:3}/*!@:host([columns=\"4\"])*/[columns=\"4\"].sc-calcite-action-group-h{--calcite-action-group-columns:4}/*!@:host([columns=\"5\"])*/[columns=\"5\"].sc-calcite-action-group-h{--calcite-action-group-columns:5}/*!@:host([columns=\"6\"])*/[columns=\"6\"].sc-calcite-action-group-h{--calcite-action-group-columns:6}/*!@:host(:first-child)*/.sc-calcite-action-group-h:first-child{padding-block-start:0px}/*!@:host([layout=horizontal]),\n:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-action-group-h,[layout=horizontal].sc-calcite-action-group-h .container.sc-calcite-action-group{flex-direction:row}/*!@:host([layout=grid])*/[layout=grid].sc-calcite-action-group-h{display:grid}/*!@:host([layout=grid]) .container*/[layout=grid].sc-calcite-action-group-h .container.sc-calcite-action-group{display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}/*!@:host([hidden])*/[hidden].sc-calcite-action-group-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-action-group{display:none}";
|
|
9828
9833
|
|
|
9829
9834
|
/**
|
|
9830
9835
|
* @slot - A slot for adding a group of `calcite-action`s.
|
|
@@ -9846,6 +9851,7 @@ class ActionGroup {
|
|
|
9846
9851
|
this.hasMenuActions = slotChangeHasAssignedElement(event);
|
|
9847
9852
|
};
|
|
9848
9853
|
this.expanded = false;
|
|
9854
|
+
this.label = undefined;
|
|
9849
9855
|
this.layout = "vertical";
|
|
9850
9856
|
this.columns = undefined;
|
|
9851
9857
|
this.menuOpen = false;
|
|
@@ -9908,7 +9914,7 @@ class ActionGroup {
|
|
|
9908
9914
|
return (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], hidden: !hasMenuActions, label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, overlayPositioning: overlayPositioning, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$j.menu, scale: scale, slot: SLOTS$v.trigger, text: messages.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$w.menuActions, onSlotchange: this.handleMenuActionsSlotChange }), hAsync("slot", { name: SLOTS$w.menuTooltip, slot: SLOTS$v.tooltip })));
|
|
9909
9915
|
}
|
|
9910
9916
|
render() {
|
|
9911
|
-
return (hAsync(
|
|
9917
|
+
return (hAsync("div", { "aria-label": this.label, class: CSS$16.container, role: "group" }, hAsync("slot", null), this.renderMenu()));
|
|
9912
9918
|
}
|
|
9913
9919
|
static get delegatesFocus() { return true; }
|
|
9914
9920
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -9924,6 +9930,7 @@ class ActionGroup {
|
|
|
9924
9930
|
"$tagName$": "calcite-action-group",
|
|
9925
9931
|
"$members$": {
|
|
9926
9932
|
"expanded": [516],
|
|
9933
|
+
"label": [1],
|
|
9927
9934
|
"layout": [513],
|
|
9928
9935
|
"columns": [514],
|
|
9929
9936
|
"menuOpen": [1540, "menu-open"],
|
|
@@ -10192,7 +10199,7 @@ class ActionMenu {
|
|
|
10192
10199
|
renderMenuButton() {
|
|
10193
10200
|
const { label, scale, expanded } = this;
|
|
10194
10201
|
const menuButtonSlot = (hAsync("slot", { name: SLOTS$v.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$15.defaultTrigger, icon: ICONS$i.menu, scale: scale, text: label, textEnabled: expanded,
|
|
10195
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
10202
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10196
10203
|
ref: this.setDefaultMenuButtonEl })));
|
|
10197
10204
|
return menuButtonSlot;
|
|
10198
10205
|
}
|
|
@@ -10285,6 +10292,7 @@ class ActionPad {
|
|
|
10285
10292
|
const tooltips = slotChangeGetAssignedElements(event).filter((el) => el?.matches("calcite-tooltip"));
|
|
10286
10293
|
this.expandTooltip = tooltips[0];
|
|
10287
10294
|
};
|
|
10295
|
+
this.actionsEndGroupLabel = undefined;
|
|
10288
10296
|
this.expandDisabled = false;
|
|
10289
10297
|
this.expanded = false;
|
|
10290
10298
|
this.layout = "vertical";
|
|
@@ -10356,11 +10364,11 @@ class ActionPad {
|
|
|
10356
10364
|
//
|
|
10357
10365
|
// --------------------------------------------------------------------------
|
|
10358
10366
|
renderBottomActionGroup() {
|
|
10359
|
-
const { expanded, expandDisabled, messages, el, position, toggleExpand, scale, layout } = this;
|
|
10367
|
+
const { expanded, expandDisabled, messages, el, position, toggleExpand, scale, layout, actionsEndGroupLabel, } = this;
|
|
10360
10368
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
|
10361
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
10369
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10362
10370
|
ref: this.setExpandToggleRef })) : null;
|
|
10363
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$13.actionGroupEnd, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$t.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
|
|
10371
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$13.actionGroupEnd, label: actionsEndGroupLabel, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$t.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
|
|
10364
10372
|
}
|
|
10365
10373
|
render() {
|
|
10366
10374
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$13.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
@@ -10379,6 +10387,7 @@ class ActionPad {
|
|
|
10379
10387
|
"$flags$": 25,
|
|
10380
10388
|
"$tagName$": "calcite-action-pad",
|
|
10381
10389
|
"$members$": {
|
|
10390
|
+
"actionsEndGroupLabel": [1, "actions-end-group-label"],
|
|
10382
10391
|
"expandDisabled": [516, "expand-disabled"],
|
|
10383
10392
|
"expanded": [1540],
|
|
10384
10393
|
"layout": [513],
|
|
@@ -10633,7 +10642,7 @@ class Alert {
|
|
|
10633
10642
|
render() {
|
|
10634
10643
|
const { hasEndActions } = this;
|
|
10635
10644
|
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: "alert-close", onClick: this.closeAlert, type: "button",
|
|
10636
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
10645
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10637
10646
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
10638
10647
|
numberStringFormatter.numberFormatOptions = {
|
|
10639
10648
|
locale: this.effectiveLocale,
|
|
@@ -10653,7 +10662,7 @@ class Alert {
|
|
|
10653
10662
|
[placement]: true,
|
|
10654
10663
|
[CSS$12.slottedInShell]: this.slottedInShell,
|
|
10655
10664
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10656
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
10665
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
10657
10666
|
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$s.title }), hAsync("slot", { name: SLOTS$s.message }), hAsync("slot", { name: SLOTS$s.link })), hAsync("div", { class: CSS$12.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10658
10667
|
}
|
|
10659
10668
|
// when an alert is opened or closed, update queue and determine active alert
|
|
@@ -12543,7 +12552,7 @@ class CalciteMenuItem {
|
|
|
12543
12552
|
? "chevron-up"
|
|
12544
12553
|
: "chevron-down"
|
|
12545
12554
|
: dirChevron, key: CSS$_.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
|
|
12546
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
12555
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12547
12556
|
ref: (el) => (this.dropdownActionEl = el) }));
|
|
12548
12557
|
}
|
|
12549
12558
|
renderSubmenuItems(dir) {
|
|
@@ -12568,7 +12577,7 @@ class CalciteMenuItem {
|
|
|
12568
12577
|
[CSS$_.container]: true,
|
|
12569
12578
|
[CSS$_.isParentVertical]: this.topLevelMenuLayout === "vertical",
|
|
12570
12579
|
}, role: "none" }, hAsync("div", { class: CSS$_.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$_.layoutVertical]: this.layout === "vertical", [CSS$_.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
|
|
12571
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
12580
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12572
12581
|
ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir)), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
|
|
12573
12582
|
}
|
|
12574
12583
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -12746,7 +12755,7 @@ class CalciteNavigation {
|
|
|
12746
12755
|
//--------------------------------------------------------------------------
|
|
12747
12756
|
renderMenuAction() {
|
|
12748
12757
|
return (hAsync("slot", { name: SLOTS$q.navigationAction, onSlotchange: this.handleMenuActionSlotChange }, this.navigationAction && (hAsync("calcite-action", { icon: ICONS$e.hamburger, onClick: this.actionClickHandler, text: this.label,
|
|
12749
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
12758
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
12750
12759
|
ref: (el) => (this.navigationActionEl = el) }))));
|
|
12751
12760
|
}
|
|
12752
12761
|
render() {
|
|
@@ -13189,7 +13198,7 @@ class Checkbox {
|
|
|
13189
13198
|
// --------------------------------------------------------------------------
|
|
13190
13199
|
render() {
|
|
13191
13200
|
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: "toggle", onBlur: this.onToggleBlur, onFocus: this.onToggleFocus, role: "checkbox", tabIndex: this.disabled ? undefined : 0,
|
|
13192
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
13201
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
13193
13202
|
ref: (toggleEl) => (this.toggleEl = toggleEl) }, hAsync("svg", { "aria-hidden": "true", class: "check-svg", viewBox: "0 0 16 16" }, hAsync("path", { d: this.getPath() })), hAsync("slot", null)), hAsync(HiddenFormInputSlot, { component: this })));
|
|
13194
13203
|
}
|
|
13195
13204
|
get el() { return getElement(this); }
|
|
@@ -13403,7 +13412,7 @@ class Chip {
|
|
|
13403
13412
|
}
|
|
13404
13413
|
renderCloseButton() {
|
|
13405
13414
|
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$V.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
13406
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
13415
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
13407
13416
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$d.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
13408
13417
|
}
|
|
13409
13418
|
renderIcon() {
|
|
@@ -13434,7 +13443,7 @@ class Chip {
|
|
|
13434
13443
|
(this.selectionMode === "none" ||
|
|
13435
13444
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)),
|
|
13436
13445
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
13437
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
13446
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
13438
13447
|
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$V.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
13439
13448
|
}
|
|
13440
13449
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -13505,7 +13514,7 @@ class ChipGroup {
|
|
|
13505
13514
|
};
|
|
13506
13515
|
this.setSelectedItems = (emit, elToMatch) => {
|
|
13507
13516
|
if (elToMatch) {
|
|
13508
|
-
this.items
|
|
13517
|
+
this.items?.forEach((el) => {
|
|
13509
13518
|
const matchingEl = elToMatch === el;
|
|
13510
13519
|
switch (this.selectionMode) {
|
|
13511
13520
|
case "multiple":
|
|
@@ -13522,7 +13531,7 @@ class ChipGroup {
|
|
|
13522
13531
|
}
|
|
13523
13532
|
});
|
|
13524
13533
|
}
|
|
13525
|
-
this.selectedItems = this.items
|
|
13534
|
+
this.selectedItems = this.items?.filter((el) => el.selected);
|
|
13526
13535
|
if (emit) {
|
|
13527
13536
|
this.calciteChipGroupSelect.emit();
|
|
13528
13537
|
}
|
|
@@ -13565,7 +13574,7 @@ class ChipGroup {
|
|
|
13565
13574
|
//--------------------------------------------------------------------------
|
|
13566
13575
|
calciteInternalChipKeyEventListener(event) {
|
|
13567
13576
|
if (event.composedPath().includes(this.el)) {
|
|
13568
|
-
const interactiveItems = this.items
|
|
13577
|
+
const interactiveItems = this.items?.filter((el) => !el.disabled);
|
|
13569
13578
|
switch (event.detail.key) {
|
|
13570
13579
|
case "ArrowRight":
|
|
13571
13580
|
focusElementInGroup(interactiveItems, event.detail.target, "next");
|
|
@@ -13584,18 +13593,18 @@ class ChipGroup {
|
|
|
13584
13593
|
}
|
|
13585
13594
|
calciteChipCloseListener(event) {
|
|
13586
13595
|
const item = event.target;
|
|
13587
|
-
if (this.items
|
|
13588
|
-
if (this.items
|
|
13596
|
+
if (this.items?.includes(item)) {
|
|
13597
|
+
if (this.items?.indexOf(item) > 0) {
|
|
13589
13598
|
focusElementInGroup(this.items, item, "previous");
|
|
13590
13599
|
}
|
|
13591
|
-
else if (this.items
|
|
13600
|
+
else if (this.items?.indexOf(item) === 0) {
|
|
13592
13601
|
focusElementInGroup(this.items, item, "next");
|
|
13593
13602
|
}
|
|
13594
13603
|
else {
|
|
13595
13604
|
focusElementInGroup(this.items, item, "first");
|
|
13596
13605
|
}
|
|
13597
13606
|
}
|
|
13598
|
-
this.items = this.items
|
|
13607
|
+
this.items = this.items?.filter((el) => el !== item);
|
|
13599
13608
|
}
|
|
13600
13609
|
calciteChipSelectListener(event) {
|
|
13601
13610
|
if (event.composedPath().includes(this.el)) {
|
|
@@ -16396,26 +16405,26 @@ class ColorPicker {
|
|
|
16396
16405
|
const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
|
|
16397
16406
|
const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
|
|
16398
16407
|
return (hAsync("div", { class: CSS$U.container }, hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: CSS$U.colorField, onPointerDown: this.handleColorFieldPointerDown,
|
|
16399
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
16408
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16400
16409
|
ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$U.scope]: true, [CSS$U.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
|
|
16401
16410
|
top: `${adjustedColorFieldScopeTop || 0}px`,
|
|
16402
16411
|
left: `${adjustedColorFieldScopeLeft || 0}px`,
|
|
16403
16412
|
}, tabindex: "0",
|
|
16404
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
16413
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16405
16414
|
ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$U.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$U.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$U.sliders }, hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: { [CSS$U.slider]: true, [CSS$U.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
|
|
16406
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
16415
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16407
16416
|
ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$U.scope]: true, [CSS$U.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
|
|
16408
16417
|
top: `${adjustedHueScopeTop}px`,
|
|
16409
16418
|
left: `${adjustedHueScopeLeft}px`,
|
|
16410
16419
|
}, tabindex: "0",
|
|
16411
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
16420
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16412
16421
|
ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: { [CSS$U.slider]: true, [CSS$U.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
|
|
16413
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
16422
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16414
16423
|
ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$U.scope]: true, [CSS$U.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
|
|
16415
16424
|
top: `${adjustedOpacityScopeTop}px`,
|
|
16416
16425
|
left: `${adjustedOpacityScopeLeft}px`,
|
|
16417
16426
|
}, tabindex: "0",
|
|
16418
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
16427
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16419
16428
|
ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
|
|
16420
16429
|
[CSS$U.controlSection]: true,
|
|
16421
16430
|
[CSS$U.section]: true,
|
|
@@ -16963,9 +16972,9 @@ class ColorPickerHexInput {
|
|
|
16963
16972
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
16964
16973
|
const inputScale = scale === "l" ? "m" : "s";
|
|
16965
16974
|
return (hAsync("div", { class: CSS$T.container }, hAsync("calcite-input-text", { class: CSS$T.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
|
|
16966
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
16975
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16967
16976
|
ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$T.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
|
|
16968
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
16977
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
16969
16978
|
ref: this.storeOpacityInputRef })) : null));
|
|
16970
16979
|
}
|
|
16971
16980
|
//--------------------------------------------------------------------------
|
|
@@ -18884,7 +18893,7 @@ const CSS$Q = {
|
|
|
18884
18893
|
};
|
|
18885
18894
|
function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
18886
18895
|
return (hAsync("button", { "aria-label": label, class: CSS$Q.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
|
|
18887
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
18896
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
18888
18897
|
ref: ref },
|
|
18889
18898
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
18890
18899
|
}
|
|
@@ -19168,6 +19177,10 @@ class Combobox {
|
|
|
19168
19177
|
this.selectedItems = this.getSelectedItems();
|
|
19169
19178
|
this.filteredItems = this.getFilteredItems();
|
|
19170
19179
|
this.needsIcon = this.getNeedsIcon();
|
|
19180
|
+
this.items.forEach((item) => {
|
|
19181
|
+
item.selectionMode = this.selectionMode;
|
|
19182
|
+
item.scale = this.scale;
|
|
19183
|
+
});
|
|
19171
19184
|
if (!this.allowCustomValues) {
|
|
19172
19185
|
this.setMaxScrollerHeight();
|
|
19173
19186
|
}
|
|
@@ -19254,6 +19267,9 @@ class Combobox {
|
|
|
19254
19267
|
overlayPositioningHandler() {
|
|
19255
19268
|
this.reposition(true);
|
|
19256
19269
|
}
|
|
19270
|
+
handlePropsChange() {
|
|
19271
|
+
this.updateItems();
|
|
19272
|
+
}
|
|
19257
19273
|
valueHandler(value) {
|
|
19258
19274
|
if (!this.internalValueChangeFlag) {
|
|
19259
19275
|
const items = this.getItems();
|
|
@@ -19338,12 +19354,13 @@ class Combobox {
|
|
|
19338
19354
|
connectInteractive(this);
|
|
19339
19355
|
connectLocalized(this);
|
|
19340
19356
|
connectMessages(this);
|
|
19357
|
+
connectLabel(this);
|
|
19358
|
+
connectForm(this);
|
|
19341
19359
|
this.internalValueChangeFlag = true;
|
|
19342
19360
|
this.value = this.getValue();
|
|
19343
19361
|
this.internalValueChangeFlag = false;
|
|
19344
19362
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
19345
|
-
|
|
19346
|
-
connectForm(this);
|
|
19363
|
+
this.updateItems();
|
|
19347
19364
|
this.setFilteredPlacements();
|
|
19348
19365
|
this.reposition(true);
|
|
19349
19366
|
if (this.open) {
|
|
@@ -19678,7 +19695,7 @@ class Combobox {
|
|
|
19678
19695
|
"input--hidden": showLabel,
|
|
19679
19696
|
"input--icon": !!this.placeholderIcon,
|
|
19680
19697
|
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, type: "text",
|
|
19681
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
19698
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
19682
19699
|
ref: (el) => (this.textInput = el) })));
|
|
19683
19700
|
}
|
|
19684
19701
|
renderListBoxOptions() {
|
|
@@ -19695,9 +19712,9 @@ class Combobox {
|
|
|
19695
19712
|
"floating-ui-container": true,
|
|
19696
19713
|
"floating-ui-container--active": open,
|
|
19697
19714
|
},
|
|
19698
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
19715
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
19699
19716
|
ref: setFloatingEl }, hAsync("div", { class: classes,
|
|
19700
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
19717
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
19701
19718
|
ref: setContainerEl }, hAsync("ul", { class: { list: true, "list--hide": !open } }, hAsync("slot", null)))));
|
|
19702
19719
|
}
|
|
19703
19720
|
renderIconStart() {
|
|
@@ -19723,7 +19740,7 @@ class Combobox {
|
|
|
19723
19740
|
"wrapper--single": single || !this.selectedItems.length,
|
|
19724
19741
|
"wrapper--active": open,
|
|
19725
19742
|
}, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, role: "combobox",
|
|
19726
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
19743
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
19727
19744
|
ref: this.setReferenceEl }, hAsync("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), hAsync("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), isClearable ? (hAsync(XButton, { disabled: this.disabled, key: "close-button", label: this.messages.clear, scale: this.scale })) : null, this.renderIconEnd()), hAsync("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderFloatingUIContainer(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
19728
19745
|
}
|
|
19729
19746
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -19733,6 +19750,8 @@ class Combobox {
|
|
|
19733
19750
|
"disabled": ["handleDisabledChange"],
|
|
19734
19751
|
"maxItems": ["maxItemsHandler"],
|
|
19735
19752
|
"overlayPositioning": ["overlayPositioningHandler"],
|
|
19753
|
+
"selectionMode": ["handlePropsChange"],
|
|
19754
|
+
"scale": ["handlePropsChange"],
|
|
19736
19755
|
"value": ["valueHandler"],
|
|
19737
19756
|
"messageOverrides": ["onMessagesChange"],
|
|
19738
19757
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
@@ -19807,8 +19826,6 @@ class ComboboxItem {
|
|
|
19807
19826
|
constructor(hostRef) {
|
|
19808
19827
|
registerInstance(this, hostRef);
|
|
19809
19828
|
this.calciteComboboxItemChange = createEvent(this, "calciteComboboxItemChange", 6);
|
|
19810
|
-
/** Specifies the scale of the combobox-item controlled by parent, defaults to m */
|
|
19811
|
-
this.scale = "m";
|
|
19812
19829
|
this.itemClickHandler = (event) => {
|
|
19813
19830
|
event.preventDefault();
|
|
19814
19831
|
this.toggleSelected();
|
|
@@ -19823,6 +19840,8 @@ class ComboboxItem {
|
|
|
19823
19840
|
this.textLabel = undefined;
|
|
19824
19841
|
this.value = undefined;
|
|
19825
19842
|
this.filterDisabled = undefined;
|
|
19843
|
+
this.selectionMode = "multiple";
|
|
19844
|
+
this.scale = "m";
|
|
19826
19845
|
}
|
|
19827
19846
|
selectedWatchHandler() {
|
|
19828
19847
|
this.calciteComboboxItemChange.emit();
|
|
@@ -19834,7 +19853,6 @@ class ComboboxItem {
|
|
|
19834
19853
|
// --------------------------------------------------------------------------
|
|
19835
19854
|
connectedCallback() {
|
|
19836
19855
|
this.ancestors = getAncestors(this.el);
|
|
19837
|
-
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
19838
19856
|
connectConditionalSlotComponent(this);
|
|
19839
19857
|
connectInteractive(this);
|
|
19840
19858
|
}
|
|
@@ -19886,7 +19904,7 @@ class ComboboxItem {
|
|
|
19886
19904
|
return null;
|
|
19887
19905
|
}
|
|
19888
19906
|
render() {
|
|
19889
|
-
const isSingleSelect =
|
|
19907
|
+
const isSingleSelect = this.selectionMode === "single";
|
|
19890
19908
|
const showDot = isSingleSelect && !this.disabled;
|
|
19891
19909
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
19892
19910
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
@@ -19917,11 +19935,13 @@ class ComboboxItem {
|
|
|
19917
19935
|
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
19918
19936
|
"textLabel": [513, "text-label"],
|
|
19919
19937
|
"value": [8],
|
|
19920
|
-
"filterDisabled": [516, "filter-disabled"]
|
|
19938
|
+
"filterDisabled": [516, "filter-disabled"],
|
|
19939
|
+
"selectionMode": [513, "selection-mode"],
|
|
19940
|
+
"scale": [1]
|
|
19921
19941
|
},
|
|
19922
19942
|
"$listeners$": undefined,
|
|
19923
19943
|
"$lazyBundleId$": "-",
|
|
19924
|
-
"$attrsToReflect$": [["disabled", "disabled"], ["selected", "selected"], ["active", "active"], ["guid", "guid"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["textLabel", "text-label"], ["filterDisabled", "filter-disabled"]]
|
|
19944
|
+
"$attrsToReflect$": [["disabled", "disabled"], ["selected", "selected"], ["active", "active"], ["guid", "guid"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["textLabel", "text-label"], ["filterDisabled", "filter-disabled"], ["selectionMode", "selection-mode"]]
|
|
19925
19945
|
}; }
|
|
19926
19946
|
}
|
|
19927
19947
|
|
|
@@ -19940,10 +19960,10 @@ class ComboboxItemGroup {
|
|
|
19940
19960
|
constructor(hostRef) {
|
|
19941
19961
|
registerInstance(this, hostRef);
|
|
19942
19962
|
this.guid = guid();
|
|
19943
|
-
this.scale = "m";
|
|
19944
19963
|
this.afterEmptyGroup = false;
|
|
19945
19964
|
this.ancestors = undefined;
|
|
19946
19965
|
this.label = undefined;
|
|
19966
|
+
this.scale = "m";
|
|
19947
19967
|
}
|
|
19948
19968
|
// --------------------------------------------------------------------------
|
|
19949
19969
|
//
|
|
@@ -19952,7 +19972,6 @@ class ComboboxItemGroup {
|
|
|
19952
19972
|
// --------------------------------------------------------------------------
|
|
19953
19973
|
connectedCallback() {
|
|
19954
19974
|
this.ancestors = getAncestors(this.el);
|
|
19955
|
-
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
19956
19975
|
}
|
|
19957
19976
|
// --------------------------------------------------------------------------
|
|
19958
19977
|
//
|
|
@@ -19972,7 +19991,8 @@ class ComboboxItemGroup {
|
|
|
19972
19991
|
"$members$": {
|
|
19973
19992
|
"afterEmptyGroup": [516, "after-empty-group"],
|
|
19974
19993
|
"ancestors": [1040],
|
|
19975
|
-
"label": [1]
|
|
19994
|
+
"label": [1],
|
|
19995
|
+
"scale": [1]
|
|
19976
19996
|
},
|
|
19977
19997
|
"$listeners$": undefined,
|
|
19978
19998
|
"$lazyBundleId$": "-",
|
|
@@ -21078,7 +21098,7 @@ class DatePickerMonth {
|
|
|
21078
21098
|
"focused--start": isFocusedOnStart,
|
|
21079
21099
|
"focused--end": !isFocusedOnStart,
|
|
21080
21100
|
}, currentMonth: currentMonth, dateTimeFormat: this.dateTimeFormat, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), onCalciteDaySelect: this.daySelect, onCalciteInternalDayHover: this.dayHover, range: !!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate), rangeEdge: dayInWeek === 0 ? "start" : dayInWeek === 6 ? "end" : undefined, rangeHover: this.isRangeHover(date), scale: this.scale, selected: this.isSelected(date), startOfRange: this.isStartOfRange(date), value: date,
|
|
21081
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
21101
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
21082
21102
|
ref: (el) => {
|
|
21083
21103
|
// when moving via keyboard, focus must be updated on active date
|
|
21084
21104
|
if (ref && active && this.activeFocus) {
|
|
@@ -21265,7 +21285,7 @@ class DatePickerMonthHeader {
|
|
|
21265
21285
|
year: true,
|
|
21266
21286
|
[CSS$N.yearSuffix]: !!suffix,
|
|
21267
21287
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
21268
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
21288
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
21269
21289
|
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$N.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$N.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
|
|
21270
21290
|
}
|
|
21271
21291
|
setNextPrevMonthDates() {
|
|
@@ -21574,15 +21594,15 @@ class Dropdown {
|
|
|
21574
21594
|
render() {
|
|
21575
21595
|
const { open, guid } = this;
|
|
21576
21596
|
return (hAsync(Host, null, hAsync("div", { class: "calcite-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler,
|
|
21577
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
21597
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
21578
21598
|
ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$n.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!open), class: "calcite-dropdown-wrapper",
|
|
21579
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
21599
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
21580
21600
|
ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
|
|
21581
21601
|
["calcite-dropdown-content"]: true,
|
|
21582
21602
|
[FloatingCSS.animation]: true,
|
|
21583
21603
|
[FloatingCSS.animationActive]: open,
|
|
21584
21604
|
}, id: `${guid}-menu`, role: "menu",
|
|
21585
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
21605
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
21586
21606
|
ref: this.setScrollerAndTransitionEl }, hAsync("slot", { onSlotchange: this.updateGroups })))));
|
|
21587
21607
|
}
|
|
21588
21608
|
//--------------------------------------------------------------------------
|
|
@@ -21916,7 +21936,7 @@ class DropdownItem {
|
|
|
21916
21936
|
? [contentNode, iconEndEl]
|
|
21917
21937
|
: contentNode;
|
|
21918
21938
|
const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$L.link, href: href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
21919
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
21939
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
21920
21940
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
21921
21941
|
const itemRole = href
|
|
21922
21942
|
? null
|
|
@@ -22103,7 +22123,7 @@ class Fab {
|
|
|
22103
22123
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl, } = this;
|
|
22104
22124
|
const title = !textEnabled ? label || text || null : null;
|
|
22105
22125
|
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$K.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, round: true, scale: scale, title: title, type: "button", width: "auto",
|
|
22106
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
22126
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
22107
22127
|
ref: (buttonEl) => {
|
|
22108
22128
|
this.buttonEl = buttonEl;
|
|
22109
22129
|
} }, this.textEnabled ? this.text : null));
|
|
@@ -22262,7 +22282,7 @@ class Filter {
|
|
|
22262
22282
|
render() {
|
|
22263
22283
|
const { disabled, scale } = this;
|
|
22264
22284
|
return (hAsync(Fragment, null, hAsync("div", { class: CSS$J.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$b.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
|
|
22265
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
22285
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
22266
22286
|
ref: (el) => {
|
|
22267
22287
|
this.textInput = el;
|
|
22268
22288
|
} })))));
|
|
@@ -22623,13 +22643,13 @@ class FlowItem {
|
|
|
22623
22643
|
const label = messages.back;
|
|
22624
22644
|
const icon = rtl ? ICONS$9.backRight : ICONS$9.backLeft;
|
|
22625
22645
|
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$G.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label, title: label,
|
|
22626
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
22646
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
22627
22647
|
ref: this.setBackRef })) : null;
|
|
22628
22648
|
}
|
|
22629
22649
|
render() {
|
|
22630
22650
|
const { closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, } = this;
|
|
22631
22651
|
return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, loading: loading, menuOpen: menuOpen, messageOverrides: messages, onCalcitePanelClose: this.handlePanelClose, onCalcitePanelScroll: this.handlePanelScroll,
|
|
22632
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
22652
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
22633
22653
|
ref: this.setContainerRef }, this.renderBackButton(), hAsync("slot", { name: SLOTS$l.actionBar, slot: SLOTS$m.actionBar }), hAsync("slot", { name: SLOTS$l.headerActionsStart, slot: SLOTS$m.headerActionsStart }), hAsync("slot", { name: SLOTS$l.headerActionsEnd, slot: SLOTS$m.headerActionsEnd }), hAsync("slot", { name: SLOTS$l.headerContent, slot: SLOTS$m.headerContent }), hAsync("slot", { name: SLOTS$l.headerMenuActions, slot: SLOTS$m.headerMenuActions }), hAsync("slot", { name: SLOTS$l.fab, slot: SLOTS$m.fab }), hAsync("slot", { name: SLOTS$l.footerActions, slot: SLOTS$m.footerActions }), hAsync("slot", { name: SLOTS$l.footer, slot: SLOTS$m.footer }), hAsync("slot", null))));
|
|
22634
22654
|
}
|
|
22635
22655
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -23010,7 +23030,7 @@ class Handle {
|
|
|
23010
23030
|
return (
|
|
23011
23031
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
23012
23032
|
hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$F.handle]: true, [CSS$F.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages?.dragHandle,
|
|
23013
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
23033
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23014
23034
|
ref: (el) => {
|
|
23015
23035
|
this.handleButton = el;
|
|
23016
23036
|
} }, hAsync("calcite-icon", { icon: ICONS$8.drag, scale: "s" })));
|
|
@@ -23296,13 +23316,13 @@ class InlineEditable {
|
|
|
23296
23316
|
opacity: this.editingEnabled ? "0" : "1",
|
|
23297
23317
|
width: this.editingEnabled ? "0" : "inherit",
|
|
23298
23318
|
}, type: "button",
|
|
23299
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
23319
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23300
23320
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
23301
23321
|
hAsync("div", { class: CSS$D.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$D.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
|
|
23302
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
23322
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23303
23323
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
23304
23324
|
hAsync("calcite-button", { appearance: "solid", class: CSS$D.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
|
|
23305
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
23325
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23306
23326
|
ref: (el) => (this.confirmEditingButton = el) }),
|
|
23307
23327
|
])));
|
|
23308
23328
|
}
|
|
@@ -23987,7 +24007,7 @@ class Input {
|
|
|
23987
24007
|
const prefixText = hAsync("div", { class: CSS$C.prefix }, this.prefixText);
|
|
23988
24008
|
const suffixText = hAsync("div", { class: CSS$C.suffix }, this.suffixText);
|
|
23989
24009
|
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,
|
|
23990
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
24010
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23991
24011
|
ref: this.setChildNumberElRef })) : null;
|
|
23992
24012
|
const childEl = this.type !== "number"
|
|
23993
24013
|
? [
|
|
@@ -23995,7 +24015,7 @@ class Input {
|
|
|
23995
24015
|
[CSS$C.editingEnabled]: this.editingEnabled,
|
|
23996
24016
|
[CSS$C.inlineChild]: !!this.inlineEditableEl,
|
|
23997
24017
|
}, 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,
|
|
23998
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
24018
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
23999
24019
|
ref: this.setChildElRef }),
|
|
24000
24020
|
this.isTextarea ? (hAsync("div", { class: CSS$C.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null,
|
|
24001
24021
|
]
|
|
@@ -25509,30 +25529,30 @@ class InputDatePicker {
|
|
|
25509
25529
|
useGrouping: false,
|
|
25510
25530
|
};
|
|
25511
25531
|
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler }, this.localeData && (hAsync("div", { class: "input-container" }, hAsync("div", { class: "input-wrapper", onClick: this.onInputWrapperClick,
|
|
25512
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
25532
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25513
25533
|
ref: this.setStartWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-describedby": this.placeholderTextId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
25514
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
25534
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25515
25535
|
ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$B.assistiveText, id: this.placeholderTextId }, "Date Format: ", this.localeData?.placeholder)), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
25516
25536
|
[CSS$B.menu]: true,
|
|
25517
25537
|
[CSS$B.menuActive]: this.open,
|
|
25518
25538
|
}, id: this.dialogId, role: "dialog",
|
|
25519
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
25539
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25520
25540
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
25521
25541
|
["calendar-picker-wrapper"]: true,
|
|
25522
25542
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
25523
25543
|
[FloatingCSS.animation]: true,
|
|
25524
25544
|
[FloatingCSS.animationActive]: this.open,
|
|
25525
25545
|
},
|
|
25526
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
25546
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25527
25547
|
ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, tabIndex: this.open ? undefined : -1, valueAsDate: this.valueAsDate,
|
|
25528
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
25548
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25529
25549
|
ref: this.setDatePickerRef }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: this.scale === "l" ? "m" : "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: this.scale === "l" ? "m" : "s" }))), this.range && (hAsync("div", { class: "input-wrapper", onClick: this.onInputWrapperClick,
|
|
25530
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
25550
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25531
25551
|
ref: this.setEndWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
|
|
25532
25552
|
input: true,
|
|
25533
25553
|
"border-top-color-one": this.layout === "vertical" && this.range,
|
|
25534
25554
|
}, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
25535
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
25555
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
25536
25556
|
ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25537
25557
|
}
|
|
25538
25558
|
renderToggleIcon(open) {
|
|
@@ -26309,7 +26329,7 @@ class InputNumber {
|
|
|
26309
26329
|
const prefixText = hAsync("div", { class: CSS$A.prefix }, this.prefixText);
|
|
26310
26330
|
const suffixText = hAsync("div", { class: CSS$A.suffix }, this.suffixText);
|
|
26311
26331
|
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,
|
|
26312
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
26332
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
26313
26333
|
ref: this.setChildNumberElRef }));
|
|
26314
26334
|
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$A.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
26315
26335
|
? numberButtonsHorizontalDown
|
|
@@ -26689,7 +26709,7 @@ class InputText {
|
|
|
26689
26709
|
[CSS$z.editingEnabled]: this.editingEnabled,
|
|
26690
26710
|
[CSS$z.inlineChild]: !!this.inlineEditableEl,
|
|
26691
26711
|
}, 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,
|
|
26692
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
26712
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
26693
26713
|
ref: this.setChildElRef }));
|
|
26694
26714
|
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$z.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$z.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$z.actionWrapper }, hAsync("slot", { name: SLOTS$i.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26695
26715
|
}
|
|
@@ -28593,11 +28613,11 @@ class InputTimePicker {
|
|
|
28593
28613
|
render() {
|
|
28594
28614
|
const { disabled, messages, readOnly, dialogId } = this;
|
|
28595
28615
|
return (hAsync(Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
|
|
28596
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
28616
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
28597
28617
|
ref: this.setCalciteInputEl }), !this.readOnly && this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
28598
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
28618
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
28599
28619
|
ref: this.setCalcitePopoverEl }, hAsync("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
|
|
28600
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
28620
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
28601
28621
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
28602
28622
|
}
|
|
28603
28623
|
renderToggleIcon(open) {
|
|
@@ -28804,7 +28824,7 @@ class InputTimeZone {
|
|
|
28804
28824
|
}
|
|
28805
28825
|
render() {
|
|
28806
28826
|
return (hAsync(Host, null, hAsync("calcite-combobox", { clearDisabled: true, disabled: this.disabled, label: this.messages.chooseTimeZone, lang: this.effectiveLocale, onCalciteComboboxBeforeClose: this.onComboboxBeforeClose, onCalciteComboboxBeforeOpen: this.onComboboxBeforeOpen, onCalciteComboboxChange: this.onComboboxChange, onCalciteComboboxClose: this.onComboboxClose, onCalciteComboboxOpen: this.onComboboxOpen, open: this.open, overlayPositioning: this.overlayPositioning, scale: this.scale, selectionMode: "single",
|
|
28807
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
28827
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
28808
28828
|
ref: this.setComboboxRef }, this.timeZoneGroups.map((group) => {
|
|
28809
28829
|
const selected = this.selectedTimeZoneGroup === group;
|
|
28810
28830
|
const label = group.offsetLabel;
|
|
@@ -28971,7 +28991,7 @@ class Link {
|
|
|
28971
28991
|
This works around that issue for now.
|
|
28972
28992
|
*/
|
|
28973
28993
|
download: Tag === "a" && (download === "" || download) ? download : null, href: Tag === "a" && this.href, onClick: this.childElClickHandler, rel: Tag === "a" && this.rel, role: role, tabIndex: tabIndex, target: Tag === "a" && this.target,
|
|
28974
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
28994
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
28975
28995
|
ref: this.storeTagRef }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
28976
28996
|
}
|
|
28977
28997
|
//--------------------------------------------------------------------------
|
|
@@ -32518,7 +32538,7 @@ class List$1 {
|
|
|
32518
32538
|
render() {
|
|
32519
32539
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
|
|
32520
32540
|
return (hAsync("div", { class: CSS$v.container }, this.dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: CSS$v.assistiveText }, this.assistiveText)) : null, loading ? hAsync("calcite-scrim", { class: CSS$v.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$v.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$v.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-stack", { class: CSS$v.stack }, hAsync("slot", { name: SLOTS$g.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: SLOTS$f.actionsStart }), hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilterChange, placeholder: filterPlaceholder, value: filterText,
|
|
32521
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
32541
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
32522
32542
|
ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$g.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$f.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$v.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
32523
32543
|
}
|
|
32524
32544
|
// --------------------------------------------------------------------------
|
|
@@ -32951,13 +32971,13 @@ class ListItem {
|
|
|
32951
32971
|
renderActionsStart() {
|
|
32952
32972
|
const { label, hasActionsStart } = this;
|
|
32953
32973
|
return (hAsync("td", { "aria-label": label, class: CSS$w.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
32954
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
32974
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
32955
32975
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$h.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
32956
32976
|
}
|
|
32957
32977
|
renderActionsEnd() {
|
|
32958
32978
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
32959
32979
|
return (hAsync("td", { "aria-label": label, class: CSS$w.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
32960
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
32980
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
32961
32981
|
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$h.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$7.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
|
32962
32982
|
}
|
|
32963
32983
|
renderContentStart() {
|
|
@@ -32990,7 +33010,7 @@ class ListItem {
|
|
|
32990
33010
|
[CSS$w.contentContainerSelectable]: selectionMode !== "none",
|
|
32991
33011
|
[CSS$w.contentContainerHasCenterContent]: hasCenterContent,
|
|
32992
33012
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
32993
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
33013
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
32994
33014
|
ref: (el) => (this.contentEl = el) }, content));
|
|
32995
33015
|
}
|
|
32996
33016
|
render() {
|
|
@@ -33003,7 +33023,7 @@ class ListItem {
|
|
|
33003
33023
|
[CSS$w.containerBorderSelected]: borderSelected,
|
|
33004
33024
|
[CSS$w.containerBorderUnselected]: borderUnselected,
|
|
33005
33025
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
33006
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
33026
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33007
33027
|
ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
33008
33028
|
[CSS$w.nestedContainer]: true,
|
|
33009
33029
|
[CSS$w.nestedContainerHidden]: openable && !open,
|
|
@@ -33625,7 +33645,7 @@ const SLOTS$e = {
|
|
|
33625
33645
|
primary: "primary",
|
|
33626
33646
|
};
|
|
33627
33647
|
|
|
33628
|
-
const modalCss = "/*!@:host*/.sc-calcite-modal-h{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}/*!@.content-top[hidden],\n.content-bottom[hidden]*/.content-top[hidden].sc-calcite-modal,.content-bottom[hidden].sc-calcite-modal{display:none}/*!@.container*/.container.sc-calcite-modal{position:fixed;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}/*!@:host([scale=s])*/[scale=s].sc-calcite-modal-h{--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}/*!@:host([scale=m])*/[scale=m].sc-calcite-modal-h{--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}/*!@:host([scale=l])*/[scale=l].sc-calcite-modal-h{--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}/*!@.scrim*/.scrim.sc-calcite-modal{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}/*!@.modal*/.modal.sc-calcite-modal{pointer-events:none;z-index:var(--calcite-app-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}/*!@.modal--opening-idle*/.modal--opening-idle.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@.modal--opening-active*/.modal--opening-active.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-idle*/.modal--closing-idle.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-active*/.modal--closing-active.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@:host([open])*/[open].sc-calcite-modal-h{opacity:1;visibility:visible !important;transition-delay:0ms}/*!@.container--open*/.container--open.sc-calcite-modal{opacity:1;visibility:visible !important;transition-delay:0ms}/*!@.container--open .modal*/.container--open.sc-calcite-modal .modal.sc-calcite-modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}/*!@.header*/.header.sc-calcite-modal{z-index:var(--calcite-app-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}/*!@.close*/.close.sc-calcite-modal{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}/*!@.close calcite-icon*/.close.sc-calcite-modal calcite-icon.sc-calcite-modal{pointer-events:none;vertical-align:-2px}/*!@.close:focus*/.close.sc-calcite-modal:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.close:hover, .close:focus, .close:active*/.close.sc-calcite-modal:hover,.close.sc-calcite-modal:focus,.close.sc-calcite-modal:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.title*/.title.sc-calcite-modal{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}/*!@slot[name=header]::slotted(*),\n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}/*!@.content*/.content.sc-calcite-modal{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}/*!@.content-top,\n.content-bottom*/.content-top.sc-calcite-modal,.content-bottom.sc-calcite-modal{z-index:var(--calcite-app-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}/*!@.content-top*/.content-top.sc-calcite-modal{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}/*!@.content-bottom*/.content-bottom.sc-calcite-modal{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}/*!@.content-top:not(.header ~ .content-top)*/.content-top.sc-calcite-modal:not(.header~.content-top).sc-calcite-modal{border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}/*!@.content-bottom:not(.content-bottom ~ .footer),\n.content--no-footer*/.content-bottom.sc-calcite-modal:not(.content-bottom~.footer).sc-calcite-modal,.content--no-footer.sc-calcite-modal{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}/*!@slot[name=content]::slotted(*),\n*::slotted([slot=content])*/slot[name=content].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=content]{font-size:var(--calcite-modal-context-text-internal)}/*!@.footer*/.footer.sc-calcite-modal{z-index:var(--calcite-app-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}/*!@.footer--hide-back .back,\n.footer--hide-secondary .secondary*/.footer--hide-back.sc-calcite-modal .back.sc-calcite-modal,.footer--hide-secondary.sc-calcite-modal .secondary.sc-calcite-modal{display:none}/*!@.back*/.back.sc-calcite-modal{display:block;margin-inline-end:auto}/*!@.secondary*/.secondary.sc-calcite-modal{margin-inline:0.25rem;display:block}/*!@slot[name=primary]*/slot[name=primary].sc-calcite-modal{display:block}/*!@:host([width=small]) .modal*/[width=small].sc-calcite-modal-h .modal.sc-calcite-modal{inline-size:auto}/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}/*!@:host([width=s]) .content*/[width=s].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=s][docked]) .container*/[width=s][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}/*!@:host([width=m]) .content*/[width=m].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=m][docked]) .container*/[width=m][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}/*!@:host([width=l]) .content*/[width=l].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=l][docked]) .container*/[width=l][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([fullscreen]) .modal*/[fullscreen].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}/*!@:host([fullscreen]) .content*/[fullscreen].sc-calcite-modal-h .content.sc-calcite-modal{max-block-size:100%;flex:1 1 auto}/*!@:host([open][fullscreen]) .header,\n:host([open][fullscreen]) .footer,\n:host([open][fullscreen]) .content-top,\n:host([open][fullscreen]) .content-bottom*/[open][fullscreen].sc-calcite-modal-h .header.sc-calcite-modal,[open][fullscreen].sc-calcite-modal-h .footer.sc-calcite-modal,[open][fullscreen].sc-calcite-modal-h .content-top.sc-calcite-modal,[open][fullscreen].sc-calcite-modal-h .content-bottom.sc-calcite-modal{border-radius:0}/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{block-size:var(--calcite-modal-height, auto)}/*!@:host([docked]) .content*/[docked].sc-calcite-modal-h .content.sc-calcite-modal{block-size:auto;flex:1 1 auto}/*!@:host([kind=brand]) .modal*/[kind=brand].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-brand)}/*!@:host([kind=danger]) .modal*/[kind=danger].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-danger)}/*!@:host([kind=info]) .modal*/[kind=info].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-info)}/*!@:host([kind=success]) .modal*/[kind=success].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-success)}/*!@:host([kind=warning]) .modal*/[kind=warning].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-warning)}/*!@:host([kind=brand]) .modal,\n:host([kind=danger]) .modal,\n:host([kind=info]) .modal,\n:host([kind=success]) .modal,\n:host([kind=warning]) .modal*/[kind=brand].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=info].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=success].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .modal.sc-calcite-modal{border-width:0px;border-block-start-width:4px;border-style:solid}/*!@:host([kind=brand]) .header,\n:host([kind=brand]) .content-top,\n:host([kind=danger]) .header,\n:host([kind=danger]) .content-top,\n:host([kind=info]) .header,\n:host([kind=info]) .content-top,\n:host([kind=success]) .header,\n:host([kind=success]) .content-top,\n:host([kind=warning]) .header,\n:host([kind=warning]) .content-top*/[kind=brand].sc-calcite-modal-h .header.sc-calcite-modal,[kind=brand].sc-calcite-modal-h .content-top.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .header.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .content-top.sc-calcite-modal,[kind=info].sc-calcite-modal-h .header.sc-calcite-modal,[kind=info].sc-calcite-modal-h .content-top.sc-calcite-modal,[kind=success].sc-calcite-modal-h .header.sc-calcite-modal,[kind=success].sc-calcite-modal-h .content-top.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .header.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .content-top.sc-calcite-modal{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){/*!@* slot[name=header]::slotted(content-top),\n * content-top::slotted([slot=header])*/* slot[name=header].sc-calcite-modal-s>content-top,* content-top.sc-calcite-modal-s>[slot=header]{font-size:var(--calcite-font-size-1)}/*!@.footer,\n .content-bottom*/.footer.sc-calcite-modal,.content-bottom.sc-calcite-modal{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){/*!@.footer,\n .content-bottom*/.footer.sc-calcite-modal,.content-bottom.sc-calcite-modal{flex-direction:column}/*!@.back,\n .secondary*/.back.sc-calcite-modal,.secondary.sc-calcite-modal{margin:0px;margin-block-end:0.25rem}}/*!@.container.slotted-in-shell*/.container.slotted-in-shell.sc-calcite-modal{position:absolute;pointer-events:auto}/*!@.container.slotted-in-shell calcite-scrim*/.container.slotted-in-shell.sc-calcite-modal calcite-scrim.sc-calcite-modal{position:absolute}/*!@:host([hidden])*/[hidden].sc-calcite-modal-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-modal{display:none}";
|
|
33648
|
+
const modalCss = "/*!@:host*/.sc-calcite-modal-h{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}/*!@.content-top[hidden],\n.content-bottom[hidden]*/.content-top[hidden].sc-calcite-modal,.content-bottom[hidden].sc-calcite-modal{display:none}/*!@.container*/.container.sc-calcite-modal{position:fixed;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}/*!@:host([scale=s])*/[scale=s].sc-calcite-modal-h{--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}/*!@:host([scale=m])*/[scale=m].sc-calcite-modal-h{--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}/*!@:host([scale=l])*/[scale=l].sc-calcite-modal-h{--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}/*!@.scrim*/.scrim.sc-calcite-modal{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}/*!@.modal*/.modal.sc-calcite-modal{pointer-events:none;z-index:var(--calcite-app-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}/*!@.modal--opening-idle*/.modal--opening-idle.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@.modal--opening-active*/.modal--opening-active.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-idle*/.modal--closing-idle.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-active*/.modal--closing-active.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@:host([opened])*/[opened].sc-calcite-modal-h{opacity:1;visibility:visible !important;transition-delay:0ms}/*!@.container--open*/.container--open.sc-calcite-modal{opacity:1;visibility:visible !important;transition-delay:0ms}/*!@.container--open .modal*/.container--open.sc-calcite-modal .modal.sc-calcite-modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}/*!@.header*/.header.sc-calcite-modal{z-index:var(--calcite-app-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}/*!@.close*/.close.sc-calcite-modal{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}/*!@.close calcite-icon*/.close.sc-calcite-modal calcite-icon.sc-calcite-modal{pointer-events:none;vertical-align:-2px}/*!@.close:focus*/.close.sc-calcite-modal:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.close:hover, .close:focus, .close:active*/.close.sc-calcite-modal:hover,.close.sc-calcite-modal:focus,.close.sc-calcite-modal:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.title*/.title.sc-calcite-modal{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}/*!@slot[name=header]::slotted(*),\n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}/*!@.content*/.content.sc-calcite-modal{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}/*!@.content-top,\n.content-bottom*/.content-top.sc-calcite-modal,.content-bottom.sc-calcite-modal{z-index:var(--calcite-app-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}/*!@.content-top*/.content-top.sc-calcite-modal{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}/*!@.content-bottom*/.content-bottom.sc-calcite-modal{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}/*!@.content-top:not(.header ~ .content-top)*/.content-top.sc-calcite-modal:not(.header~.content-top).sc-calcite-modal{border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}/*!@.content-bottom:not(.content-bottom ~ .footer),\n.content--no-footer*/.content-bottom.sc-calcite-modal:not(.content-bottom~.footer).sc-calcite-modal,.content--no-footer.sc-calcite-modal{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}/*!@slot[name=content]::slotted(*),\n*::slotted([slot=content])*/slot[name=content].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=content]{font-size:var(--calcite-modal-context-text-internal)}/*!@.footer*/.footer.sc-calcite-modal{z-index:var(--calcite-app-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}/*!@.footer--hide-back .back,\n.footer--hide-secondary .secondary*/.footer--hide-back.sc-calcite-modal .back.sc-calcite-modal,.footer--hide-secondary.sc-calcite-modal .secondary.sc-calcite-modal{display:none}/*!@.back*/.back.sc-calcite-modal{display:block;margin-inline-end:auto}/*!@.secondary*/.secondary.sc-calcite-modal{margin-inline:0.25rem;display:block}/*!@slot[name=primary]*/slot[name=primary].sc-calcite-modal{display:block}/*!@:host([width=small]) .modal*/[width=small].sc-calcite-modal-h .modal.sc-calcite-modal{inline-size:auto}/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}/*!@:host([width=s]) .content*/[width=s].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=s][docked]) .container*/[width=s][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}/*!@:host([width=m]) .content*/[width=m].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=m][docked]) .container*/[width=m][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}/*!@:host([width=l]) .content*/[width=l].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=l][docked]) .container*/[width=l][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([fullscreen]) .modal*/[fullscreen].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}/*!@:host([fullscreen]) .content*/[fullscreen].sc-calcite-modal-h .content.sc-calcite-modal{max-block-size:100%;flex:1 1 auto}/*!@:host([opened][fullscreen]) .header,\n:host([opened][fullscreen]) .footer,\n:host([opened][fullscreen]) .content-top,\n:host([opened][fullscreen]) .content-bottom*/[opened][fullscreen].sc-calcite-modal-h .header.sc-calcite-modal,[opened][fullscreen].sc-calcite-modal-h .footer.sc-calcite-modal,[opened][fullscreen].sc-calcite-modal-h .content-top.sc-calcite-modal,[opened][fullscreen].sc-calcite-modal-h .content-bottom.sc-calcite-modal{border-radius:0}/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{block-size:var(--calcite-modal-height, auto)}/*!@:host([docked]) .content*/[docked].sc-calcite-modal-h .content.sc-calcite-modal{block-size:auto;flex:1 1 auto}/*!@:host([kind=brand]) .modal*/[kind=brand].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-brand)}/*!@:host([kind=danger]) .modal*/[kind=danger].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-danger)}/*!@:host([kind=info]) .modal*/[kind=info].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-info)}/*!@:host([kind=success]) .modal*/[kind=success].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-success)}/*!@:host([kind=warning]) .modal*/[kind=warning].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-warning)}/*!@:host([kind=brand]) .modal,\n:host([kind=danger]) .modal,\n:host([kind=info]) .modal,\n:host([kind=success]) .modal,\n:host([kind=warning]) .modal*/[kind=brand].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=info].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=success].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .modal.sc-calcite-modal{border-width:0px;border-block-start-width:4px;border-style:solid}/*!@:host([kind=brand]) .header,\n:host([kind=brand]) .content-top,\n:host([kind=danger]) .header,\n:host([kind=danger]) .content-top,\n:host([kind=info]) .header,\n:host([kind=info]) .content-top,\n:host([kind=success]) .header,\n:host([kind=success]) .content-top,\n:host([kind=warning]) .header,\n:host([kind=warning]) .content-top*/[kind=brand].sc-calcite-modal-h .header.sc-calcite-modal,[kind=brand].sc-calcite-modal-h .content-top.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .header.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .content-top.sc-calcite-modal,[kind=info].sc-calcite-modal-h .header.sc-calcite-modal,[kind=info].sc-calcite-modal-h .content-top.sc-calcite-modal,[kind=success].sc-calcite-modal-h .header.sc-calcite-modal,[kind=success].sc-calcite-modal-h .content-top.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .header.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .content-top.sc-calcite-modal{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){/*!@* slot[name=header]::slotted(content-top),\n * content-top::slotted([slot=header])*/* slot[name=header].sc-calcite-modal-s>content-top,* content-top.sc-calcite-modal-s>[slot=header]{font-size:var(--calcite-font-size-1)}/*!@.footer,\n .content-bottom*/.footer.sc-calcite-modal,.content-bottom.sc-calcite-modal{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){/*!@.footer,\n .content-bottom*/.footer.sc-calcite-modal,.content-bottom.sc-calcite-modal{flex-direction:column}/*!@.back,\n .secondary*/.back.sc-calcite-modal,.secondary.sc-calcite-modal{margin:0px;margin-block-end:0.25rem}}/*!@.container.slotted-in-shell*/.container.slotted-in-shell.sc-calcite-modal{position:absolute;pointer-events:auto}/*!@.container.slotted-in-shell calcite-scrim*/.container.slotted-in-shell.sc-calcite-modal calcite-scrim.sc-calcite-modal{position:absolute}/*!@:host([hidden])*/[hidden].sc-calcite-modal-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-modal{display:none}";
|
|
33629
33649
|
|
|
33630
33650
|
/**
|
|
33631
33651
|
* @slot header - A slot for adding header text.
|
|
@@ -33643,6 +33663,12 @@ class Modal {
|
|
|
33643
33663
|
this.calciteModalClose = createEvent(this, "calciteModalClose", 6);
|
|
33644
33664
|
this.calciteModalBeforeOpen = createEvent(this, "calciteModalBeforeOpen", 6);
|
|
33645
33665
|
this.calciteModalOpen = createEvent(this, "calciteModalOpen", 6);
|
|
33666
|
+
//--------------------------------------------------------------------------
|
|
33667
|
+
//
|
|
33668
|
+
// Private Properties/ State
|
|
33669
|
+
//
|
|
33670
|
+
//--------------------------------------------------------------------------
|
|
33671
|
+
this.ignoreOpenChange = false;
|
|
33646
33672
|
this.mutationObserver = createObserver();
|
|
33647
33673
|
this.cssVarObserver = createObserver();
|
|
33648
33674
|
this.openTransitionProp = "opacity";
|
|
@@ -33662,15 +33688,21 @@ class Modal {
|
|
|
33662
33688
|
if (this.outsideCloseDisabled) {
|
|
33663
33689
|
return;
|
|
33664
33690
|
}
|
|
33665
|
-
this.
|
|
33691
|
+
this.closeModal();
|
|
33666
33692
|
};
|
|
33667
33693
|
/** Close the modal, first running the `beforeClose` method */
|
|
33668
|
-
this.
|
|
33669
|
-
|
|
33670
|
-
|
|
33671
|
-
|
|
33672
|
-
|
|
33673
|
-
|
|
33694
|
+
this.closeModal = async () => {
|
|
33695
|
+
if (this.ignoreOpenChange) {
|
|
33696
|
+
return;
|
|
33697
|
+
}
|
|
33698
|
+
if (this.beforeClose) {
|
|
33699
|
+
await this.beforeClose(this.el);
|
|
33700
|
+
}
|
|
33701
|
+
this.ignoreOpenChange = true;
|
|
33702
|
+
this.open = false;
|
|
33703
|
+
this.opened = false;
|
|
33704
|
+
this.removeOverflowHiddenClass();
|
|
33705
|
+
this.ignoreOpenChange = false;
|
|
33674
33706
|
};
|
|
33675
33707
|
this.handleMutationObserver = () => {
|
|
33676
33708
|
this.updateFooterVisibility();
|
|
@@ -33690,7 +33722,8 @@ class Modal {
|
|
|
33690
33722
|
this.hasContentBottom = slotChangeHasAssignedElement(event);
|
|
33691
33723
|
};
|
|
33692
33724
|
this.open = false;
|
|
33693
|
-
this.
|
|
33725
|
+
this.opened = false;
|
|
33726
|
+
this.beforeClose = undefined;
|
|
33694
33727
|
this.closeButtonDisabled = false;
|
|
33695
33728
|
this.focusTrapDisabled = false;
|
|
33696
33729
|
this.outsideCloseDisabled = false;
|
|
@@ -33708,7 +33741,6 @@ class Modal {
|
|
|
33708
33741
|
this.hasFooter = true;
|
|
33709
33742
|
this.hasContentTop = false;
|
|
33710
33743
|
this.hasContentBottom = false;
|
|
33711
|
-
this.isOpen = false;
|
|
33712
33744
|
this.effectiveLocale = undefined;
|
|
33713
33745
|
this.defaultMessages = undefined;
|
|
33714
33746
|
}
|
|
@@ -33761,17 +33793,17 @@ class Modal {
|
|
|
33761
33793
|
render() {
|
|
33762
33794
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
33763
33795
|
[CSS$r.container]: true,
|
|
33764
|
-
[CSS$r.containerOpen]: this.
|
|
33796
|
+
[CSS$r.containerOpen]: this.opened,
|
|
33765
33797
|
[CSS$r.slottedInShell]: this.slottedInShell,
|
|
33766
33798
|
} }, hAsync("calcite-scrim", { class: CSS$r.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
33767
33799
|
[CSS$r.modal]: true,
|
|
33768
33800
|
},
|
|
33769
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
33801
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33770
33802
|
ref: this.setTransitionEl }, hAsync("div", { class: CSS$r.header }, this.renderCloseButton(), hAsync("header", { class: CSS$r.title }, hAsync("slot", { name: CSS$r.header }))), this.renderContentTop(), hAsync("div", { class: {
|
|
33771
33803
|
[CSS$r.content]: true,
|
|
33772
33804
|
[CSS$r.contentNoFooter]: !this.hasFooter,
|
|
33773
33805
|
},
|
|
33774
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
33806
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33775
33807
|
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$e.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
33776
33808
|
}
|
|
33777
33809
|
renderFooter() {
|
|
@@ -33784,8 +33816,8 @@ class Modal {
|
|
|
33784
33816
|
return (hAsync("div", { class: CSS$r.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$e.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
|
|
33785
33817
|
}
|
|
33786
33818
|
renderCloseButton() {
|
|
33787
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$r.close, key: "button", onClick: this.
|
|
33788
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
33819
|
+
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$r.close, key: "button", onClick: this.closeModal, title: this.messages.close,
|
|
33820
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
33789
33821
|
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;
|
|
33790
33822
|
}
|
|
33791
33823
|
renderStyle() {
|
|
@@ -33829,7 +33861,7 @@ class Modal {
|
|
|
33829
33861
|
//--------------------------------------------------------------------------
|
|
33830
33862
|
handleEscape(event) {
|
|
33831
33863
|
if (this.open && !this.escapeDisabled && event.key === "Escape" && !event.defaultPrevented) {
|
|
33832
|
-
this.
|
|
33864
|
+
this.closeModal();
|
|
33833
33865
|
event.preventDefault();
|
|
33834
33866
|
}
|
|
33835
33867
|
}
|
|
@@ -33895,14 +33927,18 @@ class Modal {
|
|
|
33895
33927
|
}
|
|
33896
33928
|
else {
|
|
33897
33929
|
this.transitionEl?.classList.add(CSS$r.closingIdle);
|
|
33898
|
-
this.
|
|
33930
|
+
this.closeModal();
|
|
33899
33931
|
}
|
|
33900
33932
|
}
|
|
33901
33933
|
/** Open the modal */
|
|
33902
33934
|
openModal() {
|
|
33935
|
+
if (this.ignoreOpenChange) {
|
|
33936
|
+
return;
|
|
33937
|
+
}
|
|
33938
|
+
this.ignoreOpenChange = true;
|
|
33903
33939
|
this.el.addEventListener("calciteModalOpen", this.openEnd);
|
|
33904
33940
|
this.open = true;
|
|
33905
|
-
this.
|
|
33941
|
+
this.opened = true;
|
|
33906
33942
|
const titleEl = getSlotted(this.el, SLOTS$e.header);
|
|
33907
33943
|
const contentEl = getSlotted(this.el, SLOTS$e.content);
|
|
33908
33944
|
this.titleId = ensureId(titleEl);
|
|
@@ -33912,6 +33948,7 @@ class Modal {
|
|
|
33912
33948
|
// use an inline style instead of a utility class to avoid global class declarations.
|
|
33913
33949
|
document.documentElement.style.setProperty("overflow", "hidden");
|
|
33914
33950
|
}
|
|
33951
|
+
this.ignoreOpenChange = false;
|
|
33915
33952
|
}
|
|
33916
33953
|
removeOverflowHiddenClass() {
|
|
33917
33954
|
document.documentElement.style.setProperty("overflow", this.initialOverflowCSS);
|
|
@@ -33930,6 +33967,7 @@ class Modal {
|
|
|
33930
33967
|
"$tagName$": "calcite-modal",
|
|
33931
33968
|
"$members$": {
|
|
33932
33969
|
"open": [1540],
|
|
33970
|
+
"opened": [1540],
|
|
33933
33971
|
"beforeClose": [16],
|
|
33934
33972
|
"closeButtonDisabled": [516, "close-button-disabled"],
|
|
33935
33973
|
"focusTrapDisabled": [516, "focus-trap-disabled"],
|
|
@@ -33948,7 +33986,6 @@ class Modal {
|
|
|
33948
33986
|
"hasFooter": [32],
|
|
33949
33987
|
"hasContentTop": [32],
|
|
33950
33988
|
"hasContentBottom": [32],
|
|
33951
|
-
"isOpen": [32],
|
|
33952
33989
|
"effectiveLocale": [32],
|
|
33953
33990
|
"defaultMessages": [32],
|
|
33954
33991
|
"setFocus": [64],
|
|
@@ -33957,7 +33994,7 @@ class Modal {
|
|
|
33957
33994
|
},
|
|
33958
33995
|
"$listeners$": [[8, "keydown", "handleEscape"]],
|
|
33959
33996
|
"$lazyBundleId$": "-",
|
|
33960
|
-
"$attrsToReflect$": [["open", "open"], ["closeButtonDisabled", "close-button-disabled"], ["focusTrapDisabled", "focus-trap-disabled"], ["outsideCloseDisabled", "outside-close-disabled"], ["docked", "docked"], ["escapeDisabled", "escape-disabled"], ["scale", "scale"], ["width", "width"], ["fullscreen", "fullscreen"], ["kind", "kind"]]
|
|
33997
|
+
"$attrsToReflect$": [["open", "open"], ["opened", "opened"], ["closeButtonDisabled", "close-button-disabled"], ["focusTrapDisabled", "focus-trap-disabled"], ["outsideCloseDisabled", "outside-close-disabled"], ["docked", "docked"], ["escapeDisabled", "escape-disabled"], ["scale", "scale"], ["width", "width"], ["fullscreen", "fullscreen"], ["kind", "kind"]]
|
|
33961
33998
|
}; }
|
|
33962
33999
|
}
|
|
33963
34000
|
|
|
@@ -34047,7 +34084,7 @@ class Notice {
|
|
|
34047
34084
|
render() {
|
|
34048
34085
|
const { el } = this;
|
|
34049
34086
|
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$q.close, onClick: this.close,
|
|
34050
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
34087
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34051
34088
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
34052
34089
|
const hasActionEnd = getSlotted(el, SLOTS$d.actionsEnd);
|
|
34053
34090
|
return (hAsync("div", { class: CSS$q.container }, this.requestedIcon ? (hAsync("div", { class: CSS$q.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$q.content }, hAsync("slot", { name: SLOTS$d.title }), hAsync("slot", { name: SLOTS$d.message }), hAsync("slot", { name: SLOTS$d.link })), hasActionEnd ? (hAsync("div", { class: CSS$q.actionsEnd }, hAsync("slot", { name: SLOTS$d.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
@@ -34645,7 +34682,7 @@ class Panel {
|
|
|
34645
34682
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
34646
34683
|
const text = messages.close;
|
|
34647
34684
|
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, "data-test": "close", icon: ICONS$a.close, onClick: close, text: text, title: text,
|
|
34648
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
34685
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34649
34686
|
ref: this.setCloseRef })) : null;
|
|
34650
34687
|
const slotNode = (hAsync("slot", { name: SLOTS$m.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
34651
34688
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
@@ -34674,7 +34711,7 @@ class Panel {
|
|
|
34674
34711
|
}
|
|
34675
34712
|
renderContent() {
|
|
34676
34713
|
return (hAsync("div", { class: CSS$H.contentWrapper, onScroll: this.panelScrollHandler,
|
|
34677
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
34714
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34678
34715
|
ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
|
|
34679
34716
|
}
|
|
34680
34717
|
renderFab() {
|
|
@@ -34683,7 +34720,7 @@ class Panel {
|
|
|
34683
34720
|
render() {
|
|
34684
34721
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
34685
34722
|
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$H.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
34686
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
34723
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34687
34724
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
34688
34725
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
34689
34726
|
}
|
|
@@ -35065,11 +35102,11 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
35065
35102
|
return (hAsync(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
|
|
35066
35103
|
hAsync("section", null,
|
|
35067
35104
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
35068
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
35105
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35069
35106
|
ref: storeAssistiveEl })) : null,
|
|
35070
35107
|
hAsync("header", { class: { [CSS$o.sticky]: true } },
|
|
35071
35108
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
35072
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
35109
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35073
35110
|
ref: setFilterEl })) : null,
|
|
35074
35111
|
hAsync("slot", { name: SLOTS$c.menuActions })),
|
|
35075
35112
|
loading ? hAsync("calcite-scrim", { loading: loading }) : null,
|
|
@@ -35464,7 +35501,7 @@ class PickListItem {
|
|
|
35464
35501
|
render() {
|
|
35465
35502
|
const { description, label } = this;
|
|
35466
35503
|
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$m.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, tabIndex: 0,
|
|
35467
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
35504
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35468
35505
|
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$m.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$m.title }, label), description ? hAsync("span", { class: CSS$m.description }, description) : null)), this.renderActionsEnd()));
|
|
35469
35506
|
}
|
|
35470
35507
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -35886,7 +35923,7 @@ class Popover {
|
|
|
35886
35923
|
renderCloseButton() {
|
|
35887
35924
|
const { messages, closable } = this;
|
|
35888
35925
|
return closable ? (hAsync("div", { class: CSS$l.closeButtonContainer, key: CSS$l.closeButtonContainer }, hAsync("calcite-action", { appearance: "transparent", class: CSS$l.closeButton, onClick: this.hide, scale: this.scale, text: messages.close,
|
|
35889
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
35926
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35890
35927
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
35891
35928
|
}
|
|
35892
35929
|
renderHeader() {
|
|
@@ -35899,13 +35936,13 @@ class Popover {
|
|
|
35899
35936
|
const displayed = effectiveReferenceElement && open;
|
|
35900
35937
|
const hidden = !displayed;
|
|
35901
35938
|
const arrowNode = !pointerDisabled ? (hAsync(FloatingArrow, { floatingLayout: floatingLayout, key: "floating-arrow",
|
|
35902
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
35939
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35903
35940
|
ref: this.storeArrowEl })) : null;
|
|
35904
35941
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, hAsync("div", { class: {
|
|
35905
35942
|
[FloatingCSS.animation]: true,
|
|
35906
35943
|
[FloatingCSS.animationActive]: displayed,
|
|
35907
35944
|
},
|
|
35908
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
35945
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
35909
35946
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
35910
35947
|
[CSS$l.hasHeader]: !!heading,
|
|
35911
35948
|
[CSS$l.container]: true,
|
|
@@ -36281,7 +36318,7 @@ class RadioButton {
|
|
|
36281
36318
|
render() {
|
|
36282
36319
|
const tabIndex = this.getTabIndex();
|
|
36283
36320
|
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$j.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, role: "radio", tabIndex: tabIndex,
|
|
36284
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
36321
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
36285
36322
|
ref: this.setContainerEl }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
36286
36323
|
}
|
|
36287
36324
|
get el() { return getElement(this); }
|
|
@@ -36653,7 +36690,7 @@ class Rating {
|
|
|
36653
36690
|
average,
|
|
36654
36691
|
partial,
|
|
36655
36692
|
}, htmlFor: id, onPointerDown: this.handleLabelPointerDown, onPointerOver: this.handleLabelPointerOver }, hAsync("input", { checked: checked, class: "visually-hidden", disabled: this.disabled || this.readOnly, id: id, name: this.guid, onChange: this.handleInputChange, onKeyDown: this.handleInputKeyDown, type: "radio", value: value,
|
|
36656
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
36693
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
36657
36694
|
ref: (el) => {
|
|
36658
36695
|
this.inputRefs[idx] = el;
|
|
36659
36696
|
return ((value === 1 || value === this.value) &&
|
|
@@ -37287,7 +37324,7 @@ class Select {
|
|
|
37287
37324
|
}
|
|
37288
37325
|
render() {
|
|
37289
37326
|
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$g.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
|
|
37290
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
37327
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
37291
37328
|
ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
37292
37329
|
}
|
|
37293
37330
|
get el() { return getElement(this); }
|
|
@@ -37807,7 +37844,7 @@ class ShellPanel {
|
|
|
37807
37844
|
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"
|
|
37808
37845
|
? contentHeight ?? initialContentHeight
|
|
37809
37846
|
: contentWidth ?? initialContentWidth, class: CSS$d.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
37810
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
37847
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
37811
37848
|
ref: this.connectSeparator })) : null;
|
|
37812
37849
|
const getAnimationDir = () => {
|
|
37813
37850
|
if (layout === "horizontal") {
|
|
@@ -37828,7 +37865,7 @@ class ShellPanel {
|
|
|
37828
37865
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
37829
37866
|
[getAnimationDir()]: displayMode === "overlay",
|
|
37830
37867
|
}, hidden: collapsed, key: "content", style: style,
|
|
37831
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
37868
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
37832
37869
|
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$d.contentBody }, hAsync("slot", null)), separatorNode));
|
|
37833
37870
|
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$6.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
37834
37871
|
const mainNodes = [actionBarNode, contentNode];
|
|
@@ -38142,21 +38179,21 @@ class Slider {
|
|
|
38142
38179
|
"thumb--value": true,
|
|
38143
38180
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
38144
38181
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0,
|
|
38145
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38182
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38146
38183
|
ref: (el) => (this.maxHandle = el) }, hAsync("div", { class: "handle" })));
|
|
38147
38184
|
const labeledHandle = (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: {
|
|
38148
38185
|
thumb: true,
|
|
38149
38186
|
"thumb--value": true,
|
|
38150
38187
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
38151
38188
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0,
|
|
38152
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38189
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38153
38190
|
ref: (el) => (this.maxHandle = el) }, hAsync("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), hAsync("div", { class: "handle" })));
|
|
38154
38191
|
const histogramLabeledHandle = (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: {
|
|
38155
38192
|
thumb: true,
|
|
38156
38193
|
"thumb--value": true,
|
|
38157
38194
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
38158
38195
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0,
|
|
38159
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38196
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38160
38197
|
ref: (el) => (this.maxHandle = el) }, hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
38161
38198
|
const preciseHandle = (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: {
|
|
38162
38199
|
thumb: true,
|
|
@@ -38164,7 +38201,7 @@ class Slider {
|
|
|
38164
38201
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
38165
38202
|
"thumb--precise": true,
|
|
38166
38203
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0,
|
|
38167
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38204
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38168
38205
|
ref: (el) => (this.maxHandle = el) }, hAsync("div", { class: "handle" }), hAsync("div", { class: "handle-extension" })));
|
|
38169
38206
|
const histogramPreciseHandle = (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: {
|
|
38170
38207
|
thumb: true,
|
|
@@ -38172,7 +38209,7 @@ class Slider {
|
|
|
38172
38209
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
38173
38210
|
"thumb--precise": true,
|
|
38174
38211
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0,
|
|
38175
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38212
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38176
38213
|
ref: (el) => (this.maxHandle = el) }, hAsync("div", { class: "handle-extension" }), hAsync("div", { class: "handle" })));
|
|
38177
38214
|
const labeledPreciseHandle = (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: {
|
|
38178
38215
|
thumb: true,
|
|
@@ -38180,7 +38217,7 @@ class Slider {
|
|
|
38180
38217
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
38181
38218
|
"thumb--precise": true,
|
|
38182
38219
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0,
|
|
38183
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38220
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38184
38221
|
ref: (el) => (this.maxHandle = el) }, hAsync("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), hAsync("div", { class: "handle" }), hAsync("div", { class: "handle-extension" })));
|
|
38185
38222
|
const histogramLabeledPreciseHandle = (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: {
|
|
38186
38223
|
thumb: true,
|
|
@@ -38188,28 +38225,28 @@ class Slider {
|
|
|
38188
38225
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
38189
38226
|
"thumb--precise": true,
|
|
38190
38227
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0,
|
|
38191
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38228
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38192
38229
|
ref: (el) => (this.maxHandle = el) }, hAsync("div", { class: "handle-extension" }), hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
38193
38230
|
const minHandle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
38194
38231
|
thumb: true,
|
|
38195
38232
|
"thumb--minValue": true,
|
|
38196
38233
|
"thumb--active": this.dragProp === "minValue",
|
|
38197
38234
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0,
|
|
38198
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38235
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38199
38236
|
ref: (el) => (this.minHandle = el) }, hAsync("div", { class: "handle" })));
|
|
38200
38237
|
const minLabeledHandle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
38201
38238
|
thumb: true,
|
|
38202
38239
|
"thumb--minValue": true,
|
|
38203
38240
|
"thumb--active": this.dragProp === "minValue",
|
|
38204
38241
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0,
|
|
38205
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38242
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38206
38243
|
ref: (el) => (this.minHandle = el) }, hAsync("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue), hAsync("div", { class: "handle" })));
|
|
38207
38244
|
const minHistogramLabeledHandle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
38208
38245
|
thumb: true,
|
|
38209
38246
|
"thumb--minValue": true,
|
|
38210
38247
|
"thumb--active": this.dragProp === "minValue",
|
|
38211
38248
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0,
|
|
38212
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38249
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38213
38250
|
ref: (el) => (this.minHandle = el) }, hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
|
|
38214
38251
|
const minPreciseHandle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
38215
38252
|
thumb: true,
|
|
@@ -38217,7 +38254,7 @@ class Slider {
|
|
|
38217
38254
|
"thumb--active": this.dragProp === "minValue",
|
|
38218
38255
|
"thumb--precise": true,
|
|
38219
38256
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0,
|
|
38220
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38257
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38221
38258
|
ref: (el) => (this.minHandle = el) }, hAsync("div", { class: "handle-extension" }), hAsync("div", { class: "handle" })));
|
|
38222
38259
|
const minLabeledPreciseHandle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
38223
38260
|
thumb: true,
|
|
@@ -38225,14 +38262,14 @@ class Slider {
|
|
|
38225
38262
|
"thumb--active": this.dragProp === "minValue",
|
|
38226
38263
|
"thumb--precise": true,
|
|
38227
38264
|
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0,
|
|
38228
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38265
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38229
38266
|
ref: (el) => (this.minHandle = el) }, hAsync("div", { class: "handle-extension" }), hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
|
|
38230
38267
|
return (hAsync(Host, { id: id, onTouchStart: this.handleTouchStart }, hAsync("div", { "aria-label": getLabelText(this), class: {
|
|
38231
38268
|
["container"]: true,
|
|
38232
38269
|
["container--range"]: valueIsRange,
|
|
38233
38270
|
[`scale--${this.scale}`]: true,
|
|
38234
38271
|
} }, this.renderGraph(), hAsync("div", { class: "track",
|
|
38235
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
38272
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
38236
38273
|
ref: this.storeTrackRef }, hAsync("div", { class: "track__range", onPointerDown: (event) => this.pointerDownDragStart(event, "minMaxValue"), style: {
|
|
38237
38274
|
left: `${mirror ? 100 - maxInterval : minInterval}%`,
|
|
38238
38275
|
right: `${mirror ? minInterval : 100 - maxInterval}%`,
|
|
@@ -39528,7 +39565,7 @@ class StepperItem {
|
|
|
39528
39565
|
return (hAsync(Host, { "aria-expanded": toAriaBoolean(this.selected), onClick: this.handleItemClick, onKeyDown: this.keyDownHandler }, hAsync("div", { class: "container" }, hAsync("div", { class: "stepper-item-header", tabIndex:
|
|
39529
39566
|
/* additional tab index logic needed because of display: contents */
|
|
39530
39567
|
this.layout === "horizontal" && !this.disabled ? 0 : null,
|
|
39531
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
39568
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
39532
39569
|
ref: (el) => (this.headerEl = el) }, this.icon ? this.renderIcon() : null, this.numbered ? hAsync("div", { class: "stepper-item-number" }, this.renderNumbers(), ".") : null, hAsync("div", { class: "stepper-item-header-text" }, hAsync("span", { class: "stepper-item-heading" }, this.heading), hAsync("span", { class: "stepper-item-description" }, this.description))), hAsync("div", { class: "stepper-item-content" }, hAsync("slot", null)))));
|
|
39533
39570
|
}
|
|
39534
39571
|
//--------------------------------------------------------------------------
|
|
@@ -39702,7 +39739,7 @@ class Switch {
|
|
|
39702
39739
|
// --------------------------------------------------------------------------
|
|
39703
39740
|
render() {
|
|
39704
39741
|
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: "container", role: "switch", tabIndex: 0,
|
|
39705
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
39742
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
39706
39743
|
ref: this.setSwitchEl }, hAsync("div", { class: "track" }, hAsync("div", { class: "handle" })), hAsync(HiddenFormInputSlot, { component: this }))));
|
|
39707
39744
|
}
|
|
39708
39745
|
get el() { return getElement(this); }
|
|
@@ -39936,11 +39973,11 @@ class TabNav {
|
|
|
39936
39973
|
const offset = `${this.indicatorOffset}px`;
|
|
39937
39974
|
const indicatorStyle = dir !== "rtl" ? { width, left: offset } : { width, right: offset };
|
|
39938
39975
|
return (hAsync(Host, { role: "tablist" }, hAsync("div", { class: "tab-nav", onScroll: this.handleContainerScroll,
|
|
39939
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
39976
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
39940
39977
|
ref: (el) => (this.tabNavEl = el) }, hAsync("slot", null), hAsync("div", { class: "tab-nav-active-indicator-container",
|
|
39941
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
39978
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
39942
39979
|
ref: (el) => (this.activeIndicatorContainerEl = el) }, hAsync("div", { class: "tab-nav-active-indicator", style: indicatorStyle,
|
|
39943
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
39980
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
39944
39981
|
ref: (el) => (this.activeIndicatorEl = el) })))));
|
|
39945
39982
|
}
|
|
39946
39983
|
//--------------------------------------------------------------------------
|
|
@@ -40199,13 +40236,13 @@ class TabTitle {
|
|
|
40199
40236
|
container: true,
|
|
40200
40237
|
[CSS$9.iconPresent]: !!this.iconStart || !!this.iconEnd,
|
|
40201
40238
|
}, hidden: closed,
|
|
40202
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
40239
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
40203
40240
|
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())));
|
|
40204
40241
|
}
|
|
40205
40242
|
renderCloseButton() {
|
|
40206
40243
|
const { closable, messages } = this;
|
|
40207
40244
|
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",
|
|
40208
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
40245
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
40209
40246
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$4.close, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
40210
40247
|
}
|
|
40211
40248
|
async componentDidLoad() {
|
|
@@ -40649,7 +40686,7 @@ class TextArea {
|
|
|
40649
40686
|
[CSS$8.blockSizeFull]: !hasFooter,
|
|
40650
40687
|
[CSS$8.borderColor]: !hasFooter,
|
|
40651
40688
|
}, 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,
|
|
40652
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
40689
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
40653
40690
|
ref: this.setTextAreaEl }), hAsync("span", { class: { [CSS$8.content]: true } }, hAsync("slot", { onSlotchange: this.contentSlotChangeHandler })), hAsync("footer", { class: {
|
|
40654
40691
|
[CSS$8.footer]: true,
|
|
40655
40692
|
[CSS$8.readOnly]: this.readOnly,
|
|
@@ -41715,7 +41752,7 @@ class TimePicker {
|
|
|
41715
41752
|
[CSS$6.input]: true,
|
|
41716
41753
|
[CSS$6.hour]: true,
|
|
41717
41754
|
}, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
41718
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
41755
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
41719
41756
|
ref: this.setHourEl }, this.localizedHour || "--"), hAsync("span", { "aria-label": this.messages.hourDown, class: {
|
|
41720
41757
|
[CSS$6.button]: true,
|
|
41721
41758
|
[CSS$6.buttonHourDown]: true,
|
|
@@ -41727,7 +41764,7 @@ class TimePicker {
|
|
|
41727
41764
|
[CSS$6.input]: true,
|
|
41728
41765
|
[CSS$6.minute]: true,
|
|
41729
41766
|
}, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
41730
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
41767
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
41731
41768
|
ref: this.setMinuteEl }, this.localizedMinute || "--"), hAsync("span", { "aria-label": this.messages.minuteDown, class: {
|
|
41732
41769
|
[CSS$6.button]: true,
|
|
41733
41770
|
[CSS$6.buttonMinuteDown]: true,
|
|
@@ -41738,7 +41775,7 @@ class TimePicker {
|
|
|
41738
41775
|
[CSS$6.input]: true,
|
|
41739
41776
|
[CSS$6.second]: true,
|
|
41740
41777
|
}, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
41741
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
41778
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
41742
41779
|
ref: this.setSecondEl }, this.localizedSecond || "--"), hAsync("span", { "aria-label": this.messages.secondDown, class: {
|
|
41743
41780
|
[CSS$6.button]: true,
|
|
41744
41781
|
[CSS$6.buttonSecondDown]: true,
|
|
@@ -41753,7 +41790,7 @@ class TimePicker {
|
|
|
41753
41790
|
[CSS$6.input]: true,
|
|
41754
41791
|
[CSS$6.meridiem]: true,
|
|
41755
41792
|
}, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, role: "spinbutton", tabIndex: 0,
|
|
41756
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
41793
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
41757
41794
|
ref: this.setMeridiemEl }, this.localizedMeridiem || "--"), hAsync("span", { "aria-label": this.messages.meridiemDown, class: {
|
|
41758
41795
|
[CSS$6.button]: true,
|
|
41759
41796
|
[CSS$6.buttonMeridiemDown]: true,
|
|
@@ -42135,7 +42172,7 @@ class TipManager {
|
|
|
42135
42172
|
return null;
|
|
42136
42173
|
}
|
|
42137
42174
|
return (hAsync("section", { "aria-hidden": toAriaBoolean(closed), class: CSS$4.container, hidden: closed, onKeyDown: this.tipManagerKeyDownHandler, tabIndex: 0,
|
|
42138
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
42175
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
42139
42176
|
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: {
|
|
42140
42177
|
[CSS$4.tipContainer]: true,
|
|
42141
42178
|
[CSS$4.tipContainerAdvancing]: !closed && direction === "advancing",
|
|
@@ -42566,9 +42603,9 @@ class Tooltip {
|
|
|
42566
42603
|
[FloatingCSS.animation]: true,
|
|
42567
42604
|
[FloatingCSS.animationActive]: displayed,
|
|
42568
42605
|
},
|
|
42569
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
42606
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
42570
42607
|
ref: this.setTransitionEl }, hAsync(FloatingArrow, { floatingLayout: floatingLayout,
|
|
42571
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
42608
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
42572
42609
|
ref: (arrowEl) => (this.arrowEl = arrowEl) }), hAsync("div", { class: CSS$3.container }, hAsync("slot", null)))));
|
|
42573
42610
|
}
|
|
42574
42611
|
get el() { return getElement(this); }
|
|
@@ -42921,7 +42958,7 @@ const ICONS$1 = {
|
|
|
42921
42958
|
blank: "blank",
|
|
42922
42959
|
};
|
|
42923
42960
|
|
|
42924
|
-
const treeItemCss = "/*!@:host([disabled])*/[disabled].sc-calcite-tree-item-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-tree-item-h *.sc-calcite-tree-item,.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>*{pointer-events:none}/*!@:host*/.sc-calcite-tree-item-h{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}/*!@.node-actions-container*/.node-actions-container.sc-calcite-tree-item{display:flex;justify-content:space-between}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tree-item-h{visibility:hidden !important;pointer-events:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tree-item-h [calcite-hydrated][disabled].sc-calcite-tree-item{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .node-actions-container*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:1.5rem}/*!@:host([scale=s]) .node-actions-container .node-container .checkbox,\n:host([scale=s]) .node-actions-container .node-container .chevron,\n:host([scale=s]) .node-actions-container .node-container .checkmark,\n:host([scale=s]) .node-actions-container .node-container .bullet-point*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.25rem}/*!@:host([scale=s]) .node-actions-container .node-container .icon-start*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .node-actions-container*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2rem}/*!@:host([scale=m]) .node-actions-container .node-container .checkbox,\n:host([scale=m]) .node-actions-container .node-container .chevron,\n:host([scale=m]) .node-actions-container .node-container .checkmark,\n:host([scale=m]) .node-actions-container .node-container .bullet-point*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.5rem}/*!@:host([scale=m]) .node-actions-container .node-container .icon-start*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tree-item-h{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .node-actions-container*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .checkbox,\n:host([scale=l]) .node-actions-container .node-container .chevron,\n:host([scale=l]) .node-actions-container .node-container .checkmark,\n:host([scale=l]) .node-actions-container .node-container .bullet-point*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .icon-start*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([lines]) .children-container:after*/[lines].sc-calcite-tree-item-h .children-container.sc-calcite-tree-item:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-app-z-index);inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:\"\";background-color:var(--calcite-ui-border-2)}/*!@:host(:not([lines])) .node-container:after*/.sc-calcite-tree-item-h:not([lines]) .node-container.sc-calcite-tree-item:after{display:none}/*!@::slotted(*)*/.sc-calcite-tree-item-s>*{min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}/*!@::slotted(*):hover*/.sc-calcite-tree-item-s>*:hover{text-decoration:none !important}/*!@::slotted(a)*/.sc-calcite-tree-item-s>a{inline-size:100%;text-decoration-line:none}/*!@:host*/.sc-calcite-tree-item-h{outline-color:transparent}/*!@:host:focus, :host:active*/.sc-calcite-tree-item-h:focus,.sc-calcite-tree-item-h:active{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host(:focus:not([disabled]))*/.sc-calcite-tree-item-h:focus:not([disabled]){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.actions-end*/.actions-end.sc-calcite-tree-item{display:flex;flex-direction:row;align-items:center;align-self:stretch}/*!@.checkbox*/.checkbox.sc-calcite-tree-item{line-height:0}/*!@.checkbox-label*/.checkbox-label.sc-calcite-tree-item{pointer-events:none;display:flex;align-items:center}/*!@.checkbox:focus*/.checkbox.sc-calcite-tree-item:focus{outline:2px solid transparent;outline-offset:2px}/*!@.children-container*/.children-container.sc-calcite-tree-item{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;margin-inline-start:1.25rem;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@.item--expanded > .children-container*/.item--expanded.sc-calcite-tree-item>.children-container.sc-calcite-tree-item{overflow:visible;opacity:1;transform:none;block-size:auto}/*!@.node-container*/.node-container.sc-calcite-tree-item{position:relative;display:flex;min-inline-size:0px;align-items:center}/*!@.node-container .checkmark,\n.node-container .bullet-point*/.node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}/*!@.node-container:hover .checkmark,\n.node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host(:focus:not([disabled])) .node-container .checkmark,\n:host(:focus:not([disabled])) .node-container .bullet-point*/.node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:1}/*!@:host([selected]) .node-container,\n:host([selected]) .node-container:hover*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([selected]) .node-container .bullet-point,\n:host([selected]) .node-container .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item{opacity:1;color:var(--calcite-ui-brand)}/*!@:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container.sc-calcite-tree-item{padding-inline-start:0.5rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container.sc-calcite-tree-item{padding-inline-start:1rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.25rem}/*!@:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.75rem}/*!@:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox*/[has-children].sc-calcite-tree-item-h .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{margin-inline-start:0}/*!@:host([has-children]) .node-container .bullet-point,\n:host([has-children]) .node-container .checkmark*/[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item{display:none}/*!@:host([has-children][expanded]:not([selected]):not([selection-mode=none])) .node-container ::slotted(*)*/.sc-calcite-tree-item-h[has-children][expanded]:not([selected]):not([selection-mode=none]) .node-container .sc-calcite-tree-item-s>*{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([has-children][selected]) .node-container[data-selection-mode=children], :host([has-children][selected]) .node-container[data-selection-mode=multichildren]*/[has-children][selected].sc-calcite-tree-item-h .node-container[data-selection-mode=children].sc-calcite-tree-item,[has-children][selected].sc-calcite-tree-item-h .node-container[data-selection-mode=multichildren].sc-calcite-tree-item{color:var(--calcite-ui-brand)}/*!@.chevron*/.chevron.sc-calcite-tree-item{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}/*!@.calcite--rtl .chevron*/.calcite--rtl.sc-calcite-tree-item .chevron.sc-calcite-tree-item{transform:rotate(180deg)}/*!@.item--expanded .node-container > .chevron*/.item--expanded.sc-calcite-tree-item .node-container.sc-calcite-tree-item>.chevron.sc-calcite-tree-item{transform:rotate(90deg)}/*!@:host([selected]) .checkmark,\n:host([selected]) .bullet-point*/[selected].sc-calcite-tree-item-h .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .bullet-point.sc-calcite-tree-item{color:var(--calcite-ui-brand)}/*!@:host([hidden])*/[hidden].sc-calcite-tree-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-tree-item{display:none}";
|
|
42961
|
+
const treeItemCss = "/*!@:host([disabled])*/[disabled].sc-calcite-tree-item-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-tree-item-h *.sc-calcite-tree-item,.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>*{pointer-events:none}/*!@:host*/.sc-calcite-tree-item-h{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}/*!@.node-actions-container*/.node-actions-container.sc-calcite-tree-item{display:flex}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tree-item-h{visibility:hidden !important;pointer-events:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tree-item-h[disabled] .sc-calcite-tree-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tree-item-h [calcite-hydrated][disabled].sc-calcite-tree-item{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .node-actions-container*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:1.5rem}/*!@:host([scale=s]) .node-actions-container .node-container .checkbox,\n:host([scale=s]) .node-actions-container .node-container .chevron,\n:host([scale=s]) .node-actions-container .node-container .checkmark,\n:host([scale=s]) .node-actions-container .node-container .bullet-point*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.25rem}/*!@:host([scale=s]) .node-actions-container .node-container .icon-start*/[scale=s].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tree-item-h{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .node-actions-container*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2rem}/*!@:host([scale=m]) .node-actions-container .node-container .checkbox,\n:host([scale=m]) .node-actions-container .node-container .chevron,\n:host([scale=m]) .node-actions-container .node-container .checkmark,\n:host([scale=m]) .node-actions-container .node-container .bullet-point*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.5rem}/*!@:host([scale=m]) .node-actions-container .node-container .icon-start*/[scale=m].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tree-item-h{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .node-actions-container*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item{min-block-size:2.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .checkbox,\n:host([scale=l]) .node-actions-container .node-container .chevron,\n:host([scale=l]) .node-actions-container .node-container .checkmark,\n:host([scale=l]) .node-actions-container .node-container .bullet-point*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkbox.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .chevron.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([scale=l]) .node-actions-container .node-container .icon-start*/[scale=l].sc-calcite-tree-item-h .node-actions-container.sc-calcite-tree-item .node-container.sc-calcite-tree-item .icon-start.sc-calcite-tree-item{margin-inline:0.75rem}/*!@:host([lines]) .children-container:after*/[lines].sc-calcite-tree-item-h .children-container.sc-calcite-tree-item:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-app-z-index);inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:\"\";background-color:var(--calcite-ui-border-2)}/*!@:host(:not([lines])) .node-container:after*/.sc-calcite-tree-item-h:not([lines]) .node-container.sc-calcite-tree-item:after{display:none}/*!@::slotted(*)*/.sc-calcite-tree-item-s>*{min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}/*!@::slotted(*):hover*/.sc-calcite-tree-item-s>*:hover{text-decoration:none !important}/*!@::slotted(a)*/.sc-calcite-tree-item-s>a{inline-size:100%;text-decoration-line:none}/*!@:host*/.sc-calcite-tree-item-h{outline:2px solid transparent;outline-offset:2px}/*!@:host .node-container*/.sc-calcite-tree-item-h .node-container.sc-calcite-tree-item{outline-color:transparent}/*!@:host:focus .node-container, :host:active .node-container*/.sc-calcite-tree-item-h:focus .node-container.sc-calcite-tree-item,.sc-calcite-tree-item-h:active .node-container.sc-calcite-tree-item{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@:host(:focus:not([disabled])) .node-container*/.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.actions-end*/.actions-end.sc-calcite-tree-item{display:flex;flex-direction:row;align-items:center;align-self:stretch}/*!@.checkbox*/.checkbox.sc-calcite-tree-item{line-height:0}/*!@.checkbox-label*/.checkbox-label.sc-calcite-tree-item{pointer-events:none;display:flex;align-items:center}/*!@.checkbox:focus*/.checkbox.sc-calcite-tree-item:focus{outline:2px solid transparent;outline-offset:2px}/*!@.children-container*/.children-container.sc-calcite-tree-item{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;margin-inline-start:1.25rem;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@.item--expanded > .children-container*/.item--expanded.sc-calcite-tree-item>.children-container.sc-calcite-tree-item{overflow:visible;opacity:1;transform:none;block-size:auto}/*!@.node-container*/.node-container.sc-calcite-tree-item{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}/*!@.node-container .checkmark,\n.node-container .bullet-point*/.node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}/*!@.node-container:hover .checkmark,\n.node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host(:focus:not([disabled])) .node-container .checkmark,\n:host(:focus:not([disabled])) .node-container .bullet-point*/.node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,.node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,.sc-calcite-tree-item-h:focus:not([disabled]) .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item{opacity:1}/*!@:host([selected]) .node-container,\n:host([selected]) .node-container:hover*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([selected]) .node-container .bullet-point,\n:host([selected]) .node-container .checkmark,\n:host([selected]) .node-container:hover .bullet-point,\n:host([selected]) .node-container:hover .checkmark*/[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .bullet-point.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item:hover .checkmark.sc-calcite-tree-item{opacity:1;color:var(--calcite-ui-brand)}/*!@:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container.sc-calcite-tree-item{padding-inline-start:0.5rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container.sc-calcite-tree-item{padding-inline-start:1rem}/*!@:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container*/[selection-mode=none].sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=s]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.25rem}/*!@:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=m]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.5rem}/*!@:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox*/.sc-calcite-tree-item-h:not([has-children]).sc-calcite-tree-item-h([scale=l]) .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{padding-inline-start:1.75rem}/*!@:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox*/[has-children].sc-calcite-tree-item-h .node-container[data-selection-mode=ancestors].sc-calcite-tree-item .checkbox.sc-calcite-tree-item{margin-inline-start:0}/*!@:host([has-children]) .node-container .bullet-point,\n:host([has-children]) .node-container .checkmark*/[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .bullet-point.sc-calcite-tree-item,[has-children].sc-calcite-tree-item-h .node-container.sc-calcite-tree-item .checkmark.sc-calcite-tree-item{display:none}/*!@:host([has-children][expanded]:not([selected]):not([selection-mode=none])) .node-container ::slotted(*)*/.sc-calcite-tree-item-h[has-children][expanded]:not([selected]):not([selection-mode=none]) .node-container .sc-calcite-tree-item-s>*{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([has-children][selected]) .node-container[data-selection-mode=children], :host([has-children][selected]) .node-container[data-selection-mode=multichildren]*/[has-children][selected].sc-calcite-tree-item-h .node-container[data-selection-mode=children].sc-calcite-tree-item,[has-children][selected].sc-calcite-tree-item-h .node-container[data-selection-mode=multichildren].sc-calcite-tree-item{color:var(--calcite-ui-brand)}/*!@.chevron*/.chevron.sc-calcite-tree-item{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}/*!@.calcite--rtl .chevron*/.calcite--rtl.sc-calcite-tree-item .chevron.sc-calcite-tree-item{transform:rotate(180deg)}/*!@.item--expanded .node-container > .chevron*/.item--expanded.sc-calcite-tree-item .node-container.sc-calcite-tree-item>.chevron.sc-calcite-tree-item{transform:rotate(90deg)}/*!@:host([selected]) .checkmark,\n:host([selected]) .bullet-point*/[selected].sc-calcite-tree-item-h .checkmark.sc-calcite-tree-item,[selected].sc-calcite-tree-item-h .bullet-point.sc-calcite-tree-item{color:var(--calcite-ui-brand)}/*!@:host([hidden])*/[hidden].sc-calcite-tree-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-tree-item{display:none}";
|
|
42925
42962
|
|
|
42926
42963
|
/**
|
|
42927
42964
|
* @slot - A slot for adding text.
|
|
@@ -43050,7 +43087,7 @@ class TreeItem {
|
|
|
43050
43087
|
[CSS$2.nodeContainer]: true,
|
|
43051
43088
|
[CSS_UTILITY.rtl]: rtl,
|
|
43052
43089
|
}, "data-selection-mode": this.selectionMode,
|
|
43053
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
43090
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
43054
43091
|
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: {
|
|
43055
43092
|
[CSS$2.childrenContainer]: true,
|
|
43056
43093
|
[CSS_UTILITY.rtl]: rtl,
|
|
@@ -43633,7 +43670,7 @@ class ValueListItem {
|
|
|
43633
43670
|
}
|
|
43634
43671
|
render() {
|
|
43635
43672
|
return (hAsync(Host, { id: this.el.id || this.guid }, this.renderHandle(), hAsync("calcite-pick-list-item", { description: this.description, deselectDisabled: this.deselectDisabled, disabled: this.disabled, label: this.label, metadata: this.metadata, nonInteractive: this.nonInteractive, onCalciteListItemChange: this.handleSelectChange, removable: this.removable, selected: this.selected, value: this.value,
|
|
43636
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
43673
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
43637
43674
|
ref: this.getPickListRef }, this.renderActionsStart(), this.renderActionsEnd())));
|
|
43638
43675
|
}
|
|
43639
43676
|
get el() { return getElement(this); }
|