@esri/calcite-components 1.0.0-next.441 → 1.0.0-next.442
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-8c1a0f5a.js → p-018a7a88.js} +2 -2
- package/dist/calcite/{p-11d38baa.system.entry.js → p-01a3f9a2.system.entry.js} +2 -2
- package/dist/calcite/{p-a09254d7.system.entry.js → p-0443feac.system.entry.js} +2 -2
- package/dist/calcite/{p-ed3c2545.entry.js → p-08ac85e4.entry.js} +2 -2
- package/dist/calcite/p-0d1c5707.js +6 -0
- package/dist/calcite/{p-1ef78365.system.entry.js → p-0d2be404.system.entry.js} +2 -2
- package/dist/calcite/{p-028d16ea.entry.js → p-0d821056.entry.js} +2 -2
- package/dist/calcite/{p-98f1d0bc.system.entry.js → p-0de41b26.system.entry.js} +2 -2
- package/dist/calcite/{p-f1267686.js → p-0fd5298e.js} +1 -1
- package/dist/calcite/{p-9b4b3d19.system.js → p-113f98cd.system.js} +1 -1
- package/dist/calcite/{p-f9fd7f8c.entry.js → p-13e09a60.entry.js} +2 -2
- package/dist/calcite/{p-ed5c5f5c.entry.js → p-164c480c.entry.js} +2 -2
- package/dist/calcite/{p-e454f51e.system.entry.js → p-1891170c.system.entry.js} +2 -2
- package/dist/calcite/p-1931fab1.system.js +6 -0
- package/dist/calcite/{p-654ba4f3.system.entry.js → p-199d6edc.system.entry.js} +2 -2
- package/dist/calcite/{p-e5cf0da5.system.entry.js → p-1b93ee1f.system.entry.js} +2 -2
- package/dist/calcite/{p-c197b611.entry.js → p-1c4f0248.entry.js} +2 -2
- package/dist/calcite/{p-f9ad7806.system.js → p-1ee6d0d4.system.js} +1 -1
- package/dist/calcite/{p-52dad12e.entry.js → p-2134e42a.entry.js} +2 -2
- package/dist/calcite/{p-cbe0a3b1.entry.js → p-22527dd8.entry.js} +2 -2
- package/dist/calcite/{p-38346d9e.system.entry.js → p-270c69af.system.entry.js} +2 -2
- package/dist/calcite/{p-3ace9a9b.entry.js → p-2753f19d.entry.js} +2 -2
- package/dist/calcite/{p-2e68c59c.entry.js → p-284dcfd1.entry.js} +2 -2
- package/dist/calcite/{p-f86ee33f.js → p-2b10093d.js} +2 -2
- package/dist/calcite/{p-99675632.entry.js → p-2c4da511.entry.js} +2 -2
- package/dist/calcite/{p-2f984ec9.system.entry.js → p-2e0be8a8.system.entry.js} +2 -2
- package/dist/calcite/{p-8d0cb3eb.system.entry.js → p-30edf4d0.system.entry.js} +2 -2
- package/dist/calcite/{p-58f33dca.entry.js → p-33052713.entry.js} +2 -2
- package/dist/calcite/{p-42a581dc.entry.js → p-341b024c.entry.js} +2 -2
- package/dist/calcite/{p-6bf02db5.entry.js → p-343d5421.entry.js} +2 -2
- package/dist/calcite/{p-10d9ab3b.entry.js → p-38bb1024.entry.js} +2 -2
- package/dist/calcite/{p-05be2bef.entry.js → p-3aa0fc1f.entry.js} +2 -2
- package/dist/calcite/p-3dba6477.js +6 -0
- package/dist/calcite/{p-5fa495d9.entry.js → p-3f028403.entry.js} +2 -2
- package/dist/calcite/p-43db2b70.system.js +6 -0
- package/dist/calcite/{p-32f63f7d.system.entry.js → p-44473ead.system.entry.js} +2 -2
- package/dist/calcite/{p-4ca571ed.system.entry.js → p-46698107.system.entry.js} +2 -2
- package/dist/calcite/{p-c6426e92.system.js → p-4a4e0482.system.js} +2 -2
- package/dist/calcite/{p-ea9c71f6.system.js → p-4d5badd1.system.js} +1 -1
- package/dist/calcite/{p-50c497f0.system.entry.js → p-4df1f8b0.system.entry.js} +2 -2
- package/dist/calcite/{p-d93c9d06.system.js → p-4eeb59cb.system.js} +1 -1
- package/dist/calcite/{p-b75a50e5.entry.js → p-50a8b856.entry.js} +2 -2
- package/dist/calcite/{p-8e98767c.entry.js → p-521b5c5f.entry.js} +2 -2
- package/dist/calcite/{p-e8934f7e.system.entry.js → p-54857871.system.entry.js} +2 -2
- package/dist/calcite/{p-b72e725b.js → p-54ece774.js} +1 -1
- package/dist/calcite/{p-388e627a.system.entry.js → p-577c6140.system.entry.js} +2 -2
- package/dist/calcite/{p-ef26e7e8.entry.js → p-57b016e9.entry.js} +2 -2
- package/dist/calcite/{p-825aa950.system.entry.js → p-5820b406.system.entry.js} +2 -2
- package/dist/calcite/{p-46f71019.entry.js → p-59164e48.entry.js} +2 -2
- package/dist/calcite/{p-4de481b8.entry.js → p-5b46f643.entry.js} +2 -2
- package/dist/calcite/{p-534ead0e.entry.js → p-5b64c3a7.entry.js} +2 -2
- package/dist/calcite/{p-42ee549b.entry.js → p-5d08adeb.entry.js} +2 -2
- package/dist/calcite/{p-2c7e9f82.system.entry.js → p-5d9d078d.system.entry.js} +2 -2
- package/dist/calcite/{p-b080ea82.entry.js → p-5ee7283a.entry.js} +2 -2
- package/dist/calcite/{p-d0501de1.system.js → p-5fe433a2.system.js} +1 -1
- package/dist/calcite/{p-06f5e518.system.entry.js → p-63be73b7.system.entry.js} +2 -2
- package/dist/calcite/{p-7cc76ab6.entry.js → p-643ab994.entry.js} +2 -2
- package/dist/calcite/{p-3f11c3cc.system.entry.js → p-643bc2de.system.entry.js} +2 -2
- package/dist/calcite/{p-ce3a52e7.entry.js → p-65304fd3.entry.js} +2 -2
- package/dist/calcite/{p-318bc8e5.system.entry.js → p-68688c2e.system.entry.js} +2 -2
- package/dist/calcite/{p-1faf9b85.system.entry.js → p-6ad109fa.system.entry.js} +2 -2
- package/dist/calcite/{p-b7819553.system.js → p-6c467929.system.js} +1 -1
- package/dist/calcite/{p-c2a72205.system.entry.js → p-6d264ef2.system.entry.js} +2 -2
- package/dist/calcite/{p-8721f4dd.entry.js → p-6f203345.entry.js} +2 -2
- package/dist/calcite/{p-e2afe2fb.system.js → p-71153bb4.system.js} +1 -1
- package/dist/calcite/p-738cd7bf.js +6 -0
- package/dist/calcite/{p-ad9d0966.entry.js → p-74f44d5c.entry.js} +2 -2
- package/dist/calcite/{p-c93cdf93.js → p-76fad783.js} +1 -1
- package/dist/calcite/{p-2ba6f6a7.system.entry.js → p-7853d93c.system.entry.js} +2 -2
- package/dist/calcite/{p-778443d9.js → p-788d9af6.js} +1 -1
- package/dist/calcite/{p-3b80c1b1.entry.js → p-78e3886c.entry.js} +2 -2
- package/dist/calcite/{p-c12dab15.js → p-7a9ae2ca.js} +2 -2
- package/dist/calcite/{p-ac7808dc.system.entry.js → p-7c3d07cd.system.entry.js} +2 -2
- package/dist/calcite/{p-9e1762a9.entry.js → p-7cb13427.entry.js} +2 -2
- package/dist/calcite/{p-c500e92a.js → p-7ddb381f.js} +2 -2
- package/dist/calcite/{p-d2c3e3c8.js → p-7e2e7425.js} +1 -1
- package/dist/calcite/{p-4e4e0de4.entry.js → p-7f1849d1.entry.js} +2 -2
- package/dist/calcite/{p-c6c57209.system.entry.js → p-7fa4665b.system.entry.js} +2 -2
- package/dist/calcite/{p-bf261be0.entry.js → p-81ffe774.entry.js} +2 -2
- package/dist/calcite/{p-531ecb5a.js → p-82264ba9.js} +1 -1
- package/dist/calcite/{p-188ffd80.entry.js → p-854d1ac1.entry.js} +2 -2
- package/dist/calcite/{p-b52a85b7.js → p-876086da.js} +1 -1
- package/dist/calcite/{p-71616edf.system.entry.js → p-886d0ac9.system.entry.js} +2 -2
- package/dist/calcite/{p-4d0f627a.js → p-8b66caeb.js} +1 -1
- package/dist/calcite/{p-7572f75e.system.entry.js → p-8bb3fb6e.system.entry.js} +2 -2
- package/dist/calcite/{p-52ecacc7.entry.js → p-8d28bdeb.entry.js} +2 -2
- package/dist/calcite/{p-b199a293.entry.js → p-8e33274a.entry.js} +2 -2
- package/dist/calcite/{p-f79fed09.system.js → p-8e7e6bf1.system.js} +2 -2
- package/dist/calcite/{p-84cf2ad7.entry.js → p-9188a778.entry.js} +2 -2
- package/dist/calcite/{p-db515352.entry.js → p-91bf6b14.entry.js} +2 -2
- package/dist/calcite/{p-3206e65e.system.js → p-93a12f34.system.js} +1 -1
- package/dist/calcite/{p-4691c8da.system.entry.js → p-94869dec.system.entry.js} +2 -2
- package/dist/calcite/{p-43f4f940.system.js → p-948eeaf1.system.js} +1 -1
- package/dist/calcite/{p-bc0906eb.js → p-95779802.js} +1 -1
- package/dist/calcite/{p-65b2d4a9.entry.js → p-95f3f34b.entry.js} +2 -2
- package/dist/calcite/{p-41049d6d.system.entry.js → p-967b0d5c.system.entry.js} +2 -2
- package/dist/calcite/{p-c01bae32.system.entry.js → p-9bec437f.system.entry.js} +2 -2
- package/dist/calcite/{p-349c4f19.system.entry.js → p-9cdb2412.system.entry.js} +2 -2
- package/dist/calcite/{p-578f4c92.system.js → p-9e12764a.system.js} +1 -1
- package/dist/calcite/{p-b18c5709.system.js → p-9e58d2f5.system.js} +2 -2
- package/dist/calcite/{p-683535b7.entry.js → p-a67a436b.entry.js} +2 -2
- package/dist/calcite/{p-386b09d5.system.entry.js → p-a692a2b4.system.entry.js} +2 -2
- package/dist/calcite/{p-942168b9.system.entry.js → p-a6f6ea44.system.entry.js} +2 -2
- package/dist/calcite/{p-8def6ca4.entry.js → p-a723b07f.entry.js} +2 -2
- package/dist/calcite/{p-eab2df65.system.js → p-a729f472.system.js} +2 -2
- package/dist/calcite/{p-15f1aeff.system.entry.js → p-a87b026c.system.entry.js} +2 -2
- package/dist/calcite/{p-c16c3871.system.entry.js → p-a9f49aba.system.entry.js} +2 -2
- package/dist/calcite/{p-3242fcaa.system.entry.js → p-ad36023a.system.entry.js} +2 -2
- package/dist/calcite/{p-73719051.js → p-adb9456b.js} +1 -1
- package/dist/calcite/{p-88995f6d.system.js → p-af237d7a.system.js} +2 -2
- package/dist/calcite/{p-cee2b47e.system.js → p-afaded78.system.js} +2 -2
- package/dist/calcite/p-b7a0dc57.entry.js +6 -0
- package/dist/calcite/{p-6c650fd5.entry.js → p-baee9a51.entry.js} +2 -2
- package/dist/calcite/{p-be7eb7bf.system.entry.js → p-c247533e.system.entry.js} +2 -2
- package/dist/calcite/p-c5680ed3.system.js +6 -0
- package/dist/calcite/{p-48c20626.entry.js → p-c6f66549.entry.js} +2 -2
- package/dist/calcite/{p-6204a132.entry.js → p-c79d0614.entry.js} +2 -2
- package/dist/calcite/{p-96b9316a.js → p-c8618e02.js} +1 -1
- package/dist/calcite/{p-32ca2a2c.system.js → p-c8e8cbf8.system.js} +2 -2
- package/dist/calcite/{p-6f3baedd.js → p-cccf7888.js} +1 -1
- package/dist/calcite/{p-c2509272.system.entry.js → p-ce37501d.system.entry.js} +2 -2
- package/dist/calcite/{p-0c92b6c8.system.entry.js → p-cec2c39f.system.entry.js} +2 -2
- package/dist/calcite/{p-8341eaeb.system.entry.js → p-d0710c22.system.entry.js} +2 -2
- package/dist/calcite/{p-1a80ad53.entry.js → p-d40c49db.entry.js} +2 -2
- package/dist/calcite/{p-36a06386.system.entry.js → p-d4d75ba6.system.entry.js} +2 -2
- package/dist/calcite/{p-37950845.js → p-d6da85a7.js} +2 -2
- package/dist/calcite/{p-6a9fef86.system.js → p-d6ed0fa5.system.js} +1 -1
- package/dist/calcite/{p-6736da51.system.entry.js → p-d76c1857.system.entry.js} +2 -2
- package/dist/calcite/{p-f42cd356.entry.js → p-d7dd9ab1.entry.js} +2 -2
- package/dist/calcite/{p-67375a03.system.js → p-d845a221.system.js} +2 -2
- package/dist/calcite/{p-5e767408.system.entry.js → p-d9ca5de6.system.entry.js} +2 -2
- package/dist/calcite/{p-a3961046.system.entry.js → p-daa14b5d.system.entry.js} +2 -2
- package/dist/calcite/{p-42d75434.system.entry.js → p-dae31e5f.system.entry.js} +2 -2
- package/dist/calcite/{p-cdad88c7.entry.js → p-db8ddafb.entry.js} +2 -2
- package/dist/calcite/{p-3276b088.entry.js → p-dcd5fc83.entry.js} +2 -2
- package/dist/calcite/{p-35f4ea3d.system.entry.js → p-dd19dab2.system.entry.js} +2 -2
- package/dist/calcite/p-dd2d3722.js +6 -0
- package/dist/calcite/{p-65c0a989.system.js → p-dd94caa9.system.js} +1 -1
- package/dist/calcite/{p-be581399.system.entry.js → p-dfa1a3db.system.entry.js} +2 -2
- package/dist/calcite/{p-3105c18e.system.entry.js → p-dfc3aa2a.system.entry.js} +2 -2
- package/dist/calcite/{p-cd888f54.system.entry.js → p-e04fc57e.system.entry.js} +3 -3
- package/dist/calcite/{p-12213a47.system.entry.js → p-e0b0486e.system.entry.js} +2 -2
- package/dist/calcite/{p-5389228a.entry.js → p-e0bc8a42.entry.js} +2 -2
- package/dist/calcite/{p-c72aedf9.system.entry.js → p-e1afa707.system.entry.js} +2 -2
- package/dist/calcite/{p-5251d577.system.entry.js → p-e20f6136.system.entry.js} +2 -2
- package/dist/calcite/{p-1a58bdfb.system.entry.js → p-e350bf84.system.entry.js} +2 -2
- package/dist/calcite/{p-fd8a304f.system.entry.js → p-e36fd7f8.system.entry.js} +2 -2
- package/dist/calcite/p-e3ba876d.entry.js +6 -0
- package/dist/calcite/{p-d94c9d4b.entry.js → p-e4a3e626.entry.js} +2 -2
- package/dist/calcite/{p-c7ada682.system.entry.js → p-e54cf4d5.system.entry.js} +2 -2
- package/dist/calcite/{p-576c44f1.system.js → p-e804e1ec.system.js} +1 -1
- package/dist/calcite/{p-d523ba92.system.js → p-eada3f06.system.js} +1 -1
- package/dist/calcite/{p-1d445755.system.entry.js → p-eb343d7c.system.entry.js} +2 -2
- package/dist/calcite/{p-2bef5a57.entry.js → p-ee6e86eb.entry.js} +2 -2
- package/dist/calcite/{p-e2b1bc26.entry.js → p-eeed1462.entry.js} +2 -2
- package/dist/calcite/{p-c1b4f008.js → p-ef71ed4d.js} +1 -1
- package/dist/calcite/{p-074024e5.entry.js → p-f10a9390.entry.js} +2 -2
- package/dist/calcite/p-f4a430e9.js +6 -0
- package/dist/calcite/{p-2ab4677d.entry.js → p-f58f22f5.entry.js} +2 -2
- package/dist/calcite/{p-3d86634b.entry.js → p-f600eeb3.entry.js} +2 -2
- package/dist/calcite/{p-d8ed865c.system.js → p-f78e589a.system.js} +2 -2
- package/dist/calcite/{p-b2adf789.entry.js → p-f7d7bad9.entry.js} +2 -2
- package/dist/calcite/{p-b18a27a5.js → p-fad0ea8b.js} +2 -2
- package/dist/calcite/{p-b5775ddf.system.entry.js → p-fda6176c.system.entry.js} +3 -3
- package/dist/cjs/{ExpandToggle-268465a3.js → ExpandToggle-520a0d2c.js} +5 -5
- package/dist/cjs/{Heading-91900af3.js → Heading-4031b535.js} +2 -2
- package/dist/cjs/{array-3dffa8f2.js → array-97a0d49e.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +4 -4
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +7 -7
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +2 -2
- package/dist/cjs/{conditionalSlot-e1792d8e.js → conditionalSlot-19898f15.js} +3 -3
- package/dist/cjs/{debounce-c3a0f36f.js → debounce-555e4ed9.js} +1 -1
- package/dist/cjs/{dom-be217a15.js → dom-ffb42c1c.js} +2 -2
- package/dist/cjs/{forIn-140e3c62.js → forIn-56621a4f.js} +2 -2
- package/dist/cjs/{form-6bfb0719.js → form-0df8a093.js} +3 -3
- package/dist/cjs/{guid-21b03b4f.js → guid-54059c72.js} +1 -1
- package/dist/cjs/{index-98559b14.js → index-4713f23e.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-9760231e.js → interactive-e72cf638.js} +1 -1
- package/dist/cjs/{interfaces-fcbb6c35.js → interfaces-00ba5ab7.js} +1 -1
- package/dist/cjs/{label-7273ad1c.js → label-e9a5abfd.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-91604756.js → locale-e8cda1ee.js} +22 -31
- package/dist/cjs/{math-c9a68fa0.js → math-bf4c07bb.js} +1 -1
- package/dist/cjs/{number-d3ea17c4.js → number-b4ff4db6.js} +1 -1
- package/dist/cjs/{observers-cf003b0e.js → observers-0fdbbd41.js} +1 -1
- package/dist/cjs/{popper-66b55be9.js → popper-d8549139.js} +2 -2
- package/dist/cjs/{resources-188e5b46.js → resources-8c5beef1.js} +1 -1
- package/dist/cjs/{resources-a60c34af.js → resources-95373e4d.js} +1 -1
- package/dist/cjs/{resources-22c152ad.js → resources-af4d8c96.js} +5 -5
- package/dist/cjs/{resources-4a1fb311.js → resources-febfc928.js} +3 -3
- package/dist/cjs/{sortable.esm-979917eb.js → sortable.esm-284bc36c.js} +1 -1
- package/dist/cjs/{utils-4f6c1296.js → utils-ee711a3e.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +22 -30
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +22 -31
- package/dist/components/math.js +1 -1
- package/dist/components/number.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip-manager.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +21 -30
- package/dist/esm/{ExpandToggle-bf6baa2c.js → ExpandToggle-ff36d4fc.js} +5 -5
- package/dist/esm/{Heading-47fc2908.js → Heading-c533056b.js} +2 -2
- package/dist/esm/{array-51ff8227.js → array-0f0c73df.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +4 -4
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +4 -4
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +7 -7
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +6 -6
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +7 -7
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +2 -2
- package/dist/esm/{conditionalSlot-912b4669.js → conditionalSlot-ed38fca0.js} +3 -3
- package/dist/esm/{debounce-d6e32a3f.js → debounce-53edee6a.js} +1 -1
- package/dist/esm/{dom-3f012371.js → dom-56d2cefe.js} +2 -2
- package/dist/esm/{forIn-785d5cb2.js → forIn-e13f90af.js} +2 -2
- package/dist/esm/{form-4b2b29b5.js → form-e118b118.js} +3 -3
- package/dist/esm/{guid-a53704be.js → guid-11fa23a4.js} +1 -1
- package/dist/esm/{index-73638693.js → index-971981a8.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-d104f01d.js → interactive-3f20f596.js} +1 -1
- package/dist/esm/{interfaces-de185544.js → interfaces-c3dd93ae.js} +1 -1
- package/dist/esm/{label-4ae8f799.js → label-6596400a.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{locale-5d461544.js → locale-3fefdde0.js} +22 -31
- package/dist/esm/{math-7a955d3f.js → math-3a3d00c6.js} +1 -1
- package/dist/esm/{number-c0a5f71a.js → number-bb529b14.js} +1 -1
- package/dist/esm/{observers-7d85a111.js → observers-475be65a.js} +1 -1
- package/dist/esm/{popper-e758780f.js → popper-e39fe9b7.js} +2 -2
- package/dist/esm/{resources-fc1eccb7.js → resources-10754ff5.js} +3 -3
- package/dist/esm/{resources-0bca4be2.js → resources-2b57ce37.js} +5 -5
- package/dist/esm/{resources-db4e4808.js → resources-4d608b62.js} +1 -1
- package/dist/esm/{resources-1996596c.js → resources-fa277bee.js} +1 -1
- package/dist/esm/{sortable.esm-012bd29a.js → sortable.esm-1e94286b.js} +1 -1
- package/dist/esm/{utils-2624e3fb.js → utils-6ce13142.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-bf6baa2c.js → ExpandToggle-ff36d4fc.js} +2 -2
- package/dist/esm-es5/{Heading-47fc2908.js → Heading-c533056b.js} +2 -2
- package/dist/esm-es5/{array-51ff8227.js → array-0f0c73df.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +3 -3
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +3 -3
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-912b4669.js → conditionalSlot-ed38fca0.js} +2 -2
- package/dist/esm-es5/{debounce-d6e32a3f.js → debounce-53edee6a.js} +1 -1
- package/dist/esm-es5/{dom-3f012371.js → dom-56d2cefe.js} +2 -2
- package/dist/esm-es5/{forIn-785d5cb2.js → forIn-e13f90af.js} +2 -2
- package/dist/esm-es5/{form-4b2b29b5.js → form-e118b118.js} +2 -2
- package/dist/esm-es5/{guid-a53704be.js → guid-11fa23a4.js} +1 -1
- package/dist/esm-es5/{index-73638693.js → index-971981a8.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-d104f01d.js → interactive-3f20f596.js} +1 -1
- package/dist/esm-es5/{interfaces-de185544.js → interfaces-c3dd93ae.js} +1 -1
- package/dist/esm-es5/{label-4ae8f799.js → label-6596400a.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/locale-3fefdde0.js +6 -0
- package/dist/esm-es5/{math-7a955d3f.js → math-3a3d00c6.js} +1 -1
- package/dist/esm-es5/{number-c0a5f71a.js → number-bb529b14.js} +1 -1
- package/dist/esm-es5/{observers-7d85a111.js → observers-475be65a.js} +1 -1
- package/dist/esm-es5/{popper-e758780f.js → popper-e39fe9b7.js} +2 -2
- package/dist/esm-es5/{resources-fc1eccb7.js → resources-10754ff5.js} +2 -2
- package/dist/esm-es5/{resources-0bca4be2.js → resources-2b57ce37.js} +2 -2
- package/dist/esm-es5/{resources-db4e4808.js → resources-4d608b62.js} +1 -1
- package/dist/esm-es5/{resources-1996596c.js → resources-fa277bee.js} +1 -1
- package/dist/esm-es5/{sortable.esm-012bd29a.js → sortable.esm-1e94286b.js} +1 -1
- package/dist/esm-es5/{utils-2624e3fb.js → utils-6ce13142.js} +1 -1
- package/dist/extras/docs-json.json +1 -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/hydrate/index.js +21 -30
- package/package.json +10 -10
- package/dist/calcite/p-04f42dbe.system.js +0 -6
- package/dist/calcite/p-26c40eda.js +0 -6
- package/dist/calcite/p-5b1ab7a4.entry.js +0 -6
- package/dist/calcite/p-7dc24af6.js +0 -6
- package/dist/calcite/p-abd0ab3c.js +0 -6
- package/dist/calcite/p-b341469c.js +0 -6
- package/dist/calcite/p-c2a79701.entry.js +0 -6
- package/dist/calcite/p-c3c37033.system.js +0 -6
- package/dist/calcite/p-daeb03d1.system.js +0 -6
- package/dist/calcite/p-e4a79af0.js +0 -6
- package/dist/esm-es5/locale-5d461544.js +0 -6
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted, a as getElementDir } from './dom-
|
|
8
|
-
import { H as Heading, c as constrainHeadingLevel } from './Heading-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import { c as createObserver } from './observers-
|
|
11
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-971981a8.js';
|
|
7
|
+
import { g as getSlotted, a as getElementDir } from './dom-56d2cefe.js';
|
|
8
|
+
import { H as Heading, c as constrainHeadingLevel } from './Heading-c533056b.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-ed38fca0.js';
|
|
10
|
+
import { c as createObserver } from './observers-475be65a.js';
|
|
11
|
+
import './guid-11fa23a4.js';
|
|
12
12
|
|
|
13
13
|
const CSS$1 = {
|
|
14
14
|
header: "header",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { a as defaultOffsetDistance, u as updatePopper, c as createPopper, C as CSS$1 } from './popper-
|
|
9
|
-
import { q as queryElementRoots } from './dom-
|
|
6
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-971981a8.js';
|
|
7
|
+
import { g as guid } from './guid-11fa23a4.js';
|
|
8
|
+
import { a as defaultOffsetDistance, u as updatePopper, c as createPopper, C as CSS$1 } from './popper-e39fe9b7.js';
|
|
9
|
+
import { q as queryElementRoots } from './dom-56d2cefe.js';
|
|
10
10
|
|
|
11
11
|
const CSS = {
|
|
12
12
|
container: "container",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement, n as nodeListToArray, g as getSlotted, a as getElementDir, C as CSS_UTILITY, k as filterDirectChildren } from './dom-
|
|
8
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
9
|
-
import './guid-
|
|
10
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-971981a8.js';
|
|
7
|
+
import { f as focusElement, n as nodeListToArray, g as getSlotted, a as getElementDir, C as CSS_UTILITY, k as filterDirectChildren } from './dom-56d2cefe.js';
|
|
8
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-ed38fca0.js';
|
|
9
|
+
import './guid-11fa23a4.js';
|
|
10
|
+
import './observers-475be65a.js';
|
|
11
11
|
|
|
12
12
|
var TreeSelectionMode;
|
|
13
13
|
(function (TreeSelectionMode) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-
|
|
7
|
-
import { S as Sortable } from './sortable.esm-
|
|
8
|
-
import { m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, g as getItemData, k as keyDownHandler, b as moveItemIndex, i as initialize, c as initializeObserver, e as cleanUpObserver, f as calciteListFocusOutHandler, r as removeItem, j as calciteListItemChangeHandler, l as calciteListItemValueChangeHandler, n as setUpItems, o as setFocus, L as List, I as ICON_TYPES$1, C as CSS$1, S as SLOTS$1 } from './resources-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { g as guid } from './guid-
|
|
12
|
-
import { g as getSlotted } from './dom-
|
|
13
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
14
|
-
import './array-
|
|
15
|
-
import './debounce-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-971981a8.js';
|
|
7
|
+
import { S as Sortable } from './sortable.esm-1e94286b.js';
|
|
8
|
+
import { m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, g as getItemData, k as keyDownHandler, b as moveItemIndex, i as initialize, c as initializeObserver, e as cleanUpObserver, f as calciteListFocusOutHandler, r as removeItem, j as calciteListItemChangeHandler, l as calciteListItemValueChangeHandler, n as setUpItems, o as setFocus, L as List, I as ICON_TYPES$1, C as CSS$1, S as SLOTS$1 } from './resources-2b57ce37.js';
|
|
9
|
+
import { c as createObserver } from './observers-475be65a.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-3f20f596.js';
|
|
11
|
+
import { g as guid } from './guid-11fa23a4.js';
|
|
12
|
+
import { g as getSlotted } from './dom-56d2cefe.js';
|
|
13
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-ed38fca0.js';
|
|
14
|
+
import './array-0f0c73df.js';
|
|
15
|
+
import './debounce-53edee6a.js';
|
|
16
16
|
|
|
17
17
|
const CSS = {
|
|
18
18
|
container: "container",
|
package/dist/esm/calcite.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { d as doc, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-
|
|
6
|
+
import { d as doc, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-971981a8.js';
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Patch Browser v2.15.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { f as forceUpdate } from './index-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
6
|
+
import { f as forceUpdate } from './index-971981a8.js';
|
|
7
|
+
import { c as createObserver } from './observers-475be65a.js';
|
|
8
8
|
|
|
9
9
|
const observed = new Set();
|
|
10
10
|
let mutationObserver;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
|
7
7
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { g as guid } from './guid-
|
|
6
|
+
import { g as guid } from './guid-11fa23a4.js';
|
|
7
7
|
|
|
8
8
|
const autoTheme = "calcite-theme-auto";
|
|
9
9
|
const darkTheme = "calcite-theme-dark";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-
|
|
6
|
+
import { i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-53edee6a.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Checks if `value` is classified as an `Array` object.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { c as closestElementCrossShadowBoundary } from './dom-
|
|
7
|
-
import { h } from './index-
|
|
6
|
+
import { c as closestElementCrossShadowBoundary } from './dom-56d2cefe.js';
|
|
7
|
+
import { h } from './index-971981a8.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Exported for testing purposes.
|
package/dist/esm/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-
|
|
6
|
+
import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-56d2cefe.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Exported for testing purposes only
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
6
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-971981a8.js';
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Patch Esm v2.15.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { a as sanitizeExponentialNumberString, b as sanitizeDecimalString } from './number-
|
|
6
|
+
import { a as sanitizeExponentialNumberString, i as isValidNumber, b as sanitizeDecimalString } from './number-bb529b14.js';
|
|
7
7
|
|
|
8
8
|
const locales = [
|
|
9
9
|
"ar",
|
|
@@ -56,6 +56,9 @@ const locales = [
|
|
|
56
56
|
"zh-HK",
|
|
57
57
|
"zh-TW"
|
|
58
58
|
];
|
|
59
|
+
const allDecimalsExceptLast = new RegExp(`[.](?=.*[.])`, "g");
|
|
60
|
+
const everythingExceptNumbersDecimalsAndMinusSigns = new RegExp("[^0-9-.]", "g");
|
|
61
|
+
const defaultGroupSeparator = new RegExp(",", "g");
|
|
59
62
|
function createLocaleNumberFormatter(locale) {
|
|
60
63
|
return new Intl.NumberFormat(locale, {
|
|
61
64
|
minimumFractionDigits: 0,
|
|
@@ -64,50 +67,36 @@ function createLocaleNumberFormatter(locale) {
|
|
|
64
67
|
}
|
|
65
68
|
function delocalizeNumberString(numberString, locale) {
|
|
66
69
|
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
.map((value, index) => {
|
|
75
|
-
if (value === groupSeparator || (value === decimalSeparator && index !== decimalIndex)) {
|
|
76
|
-
return "";
|
|
77
|
-
}
|
|
78
|
-
return value;
|
|
79
|
-
})
|
|
80
|
-
.reduce((string, part) => string + part)
|
|
81
|
-
.replace(decimalSeparator, ".")
|
|
82
|
-
.replace(minusSign, "-")
|
|
83
|
-
.replace(/[^0-9\-\.]/g, ""); // remove everything except numbers, "-", and "."
|
|
84
|
-
return isNaN(Number(delocalizedNumberString)) ? nonExpoNumString : delocalizedNumberString;
|
|
85
|
-
}
|
|
86
|
-
return nonExpoNumString;
|
|
70
|
+
const delocalizedNumberString = nonExpoNumString
|
|
71
|
+
.replace(getMinusSign(locale), "-")
|
|
72
|
+
.replace(getGroupSeparator(locale), "")
|
|
73
|
+
.replace(getDecimalSeparator(locale), ".")
|
|
74
|
+
.replace(allDecimalsExceptLast, "")
|
|
75
|
+
.replace(everythingExceptNumbersDecimalsAndMinusSigns, "");
|
|
76
|
+
return isValidNumber(delocalizedNumberString) ? delocalizedNumberString : nonExpoNumString;
|
|
87
77
|
});
|
|
88
78
|
}
|
|
89
79
|
function getGroupSeparator(locale) {
|
|
90
80
|
const formatter = createLocaleNumberFormatter(locale);
|
|
91
|
-
const parts = formatter.formatToParts(1234567
|
|
81
|
+
const parts = formatter.formatToParts(1234567);
|
|
92
82
|
const value = parts.find((part) => part.type === "group").value;
|
|
83
|
+
// change whitespace group characters that don't render correctly
|
|
93
84
|
return value.trim().length === 0 ? " " : value;
|
|
94
85
|
}
|
|
95
86
|
function getDecimalSeparator(locale) {
|
|
96
87
|
const formatter = createLocaleNumberFormatter(locale);
|
|
97
|
-
const parts = formatter.formatToParts(
|
|
98
|
-
|
|
99
|
-
return value.trim().length === 0 ? " " : value;
|
|
88
|
+
const parts = formatter.formatToParts(1.1);
|
|
89
|
+
return parts.find((part) => part.type === "decimal").value;
|
|
100
90
|
}
|
|
101
91
|
function getMinusSign(locale) {
|
|
102
92
|
const formatter = createLocaleNumberFormatter(locale);
|
|
103
|
-
const parts = formatter.formatToParts(-
|
|
104
|
-
|
|
105
|
-
return value.trim().length === 0 ? "-" : value;
|
|
93
|
+
const parts = formatter.formatToParts(-9);
|
|
94
|
+
return parts.find((part) => part.type === "minusSign").value;
|
|
106
95
|
}
|
|
107
96
|
function localizeNumberString(numberString, locale, displayGroupSeparator = false) {
|
|
108
97
|
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
109
98
|
if (nonExpoNumString) {
|
|
110
|
-
const number = Number(sanitizeDecimalString(nonExpoNumString));
|
|
99
|
+
const number = Number(sanitizeDecimalString(nonExpoNumString.replace(defaultGroupSeparator, "")));
|
|
111
100
|
if (!isNaN(number)) {
|
|
112
101
|
const formatter = createLocaleNumberFormatter(locale);
|
|
113
102
|
const parts = formatter.formatToParts(number);
|
|
@@ -118,6 +107,8 @@ function localizeNumberString(numberString, locale, displayGroupSeparator = fals
|
|
|
118
107
|
return displayGroupSeparator ? getGroupSeparator(locale) : "";
|
|
119
108
|
case "decimal":
|
|
120
109
|
return getDecimalSeparator(locale);
|
|
110
|
+
case "minusSign":
|
|
111
|
+
return getMinusSign(locale);
|
|
121
112
|
default:
|
|
122
113
|
return value;
|
|
123
114
|
}
|
|
@@ -125,8 +116,8 @@ function localizeNumberString(numberString, locale, displayGroupSeparator = fals
|
|
|
125
116
|
.reduce((string, part) => string + part);
|
|
126
117
|
return localizedNumberString;
|
|
127
118
|
}
|
|
128
|
-
return nonExpoNumString;
|
|
129
119
|
}
|
|
120
|
+
return nonExpoNumString;
|
|
130
121
|
});
|
|
131
122
|
}
|
|
132
123
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
6
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
const decimalPlaces = (value) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
6
|
function isActivationKey(key) {
|
|
7
7
|
return key === "Enter" || key === " ";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* This utility ensures observers are created only for browser contexts.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { a as getElementDir } from './dom-
|
|
6
|
+
import { a as getElementDir } from './dom-56d2cefe.js';
|
|
7
7
|
|
|
8
8
|
var top = 'top';
|
|
9
9
|
var bottom = 'bottom';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { a as getAssetPath } from './index-
|
|
7
|
-
import { a as locales } from './locale-
|
|
6
|
+
import { a as getAssetPath } from './index-971981a8.js';
|
|
7
|
+
import { a as locales } from './locale-3fefdde0.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Get supported locale code from raw user input
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import { f as focusElement, g as getSlotted } from './dom-
|
|
7
|
-
import { g as getRoundRobinIndex } from './array-
|
|
8
|
-
import { d as debounce } from './debounce-
|
|
9
|
-
import { h, H as Host } from './index-
|
|
6
|
+
import { f as focusElement, g as getSlotted } from './dom-56d2cefe.js';
|
|
7
|
+
import { g as getRoundRobinIndex } from './array-0f0c73df.js';
|
|
8
|
+
import { d as debounce } from './debounce-53edee6a.js';
|
|
9
|
+
import { h, H as Host } from './index-971981a8.js';
|
|
10
10
|
|
|
11
11
|
const CSS$2 = {
|
|
12
12
|
heading: "heading",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
6
|
const SLOTS = {
|
|
7
7
|
menuActions: "menu-actions",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
6
|
function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import{f as forceUpdate,h}from"./index-
|
|
6
|
+
import{f as forceUpdate,h}from"./index-971981a8.js";import{a as getElementDir}from"./dom-56d2cefe.js";import{S as SLOTS}from"./resources-4d608b62.js";import{S as SLOTS$1}from"./resources-fa277bee.js";var overflowActionsDebounceInMs=150;var groupBufferHeight=2;var getMaxActionCount=function(e){var t=e.height,o=e.actionHeight,r=e.groupCount;return Math.floor((t-r*groupBufferHeight)/o)};var getOverflowCount=function(e){var t=e.actionCount,o=e.actionHeight,r=e.height,n=e.groupCount;return Math.max(t-getMaxActionCount({height:r,actionHeight:o,groupCount:n}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,o=e.expanded,r=e.overflowCount;var n=r;t.reverse().forEach((function(e){var t=0;var r=queryActions(e).reverse();r.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=o}}));if(n>0){r.some((function(e){var o=r.filter((function(e){return!e.slot}));if(o.length>1&&r.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){n--}}return n<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var o;return e||((o=t.closest("calcite-shell-panel"))===null||o===void 0?void 0:o.position)||"start"}function toggleChildActionText(e){var t=e.parent,o=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=o}));t.querySelectorAll("calcite-action-group").forEach((function(e){return e.expanded=o}))}var setTooltipReference=function(e){var t=e.tooltip,o=e.referenceElement,r=e.expanded,n=e.ref;if(t){t.referenceElement=!r&&o?o:null}if(n){n(o)}return o};var ExpandToggle=function(e){var t=e.expanded,o=e.intlExpand,r=e.intlCollapse,n=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var s=getElementDir(i)==="rtl";var f=t?r:o;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(s){v.reverse()}var g=getCalcitePosition(a,i)==="end";var p=g?v[1]:v[0];var d=g?v[0]:v[1];var m=h("calcite-action",{icon:t?p:d,onClick:n,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:f,textEnabled:t});return c?h("calcite-tooltip-manager",null,m):m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import{h}from"./index-
|
|
6
|
+
import{h}from"./index-971981a8.js";function constrainHeadingLevel(e){return Math.min(Math.max(Math.ceil(e),1),6)}var Heading=function(e,n){var a="h".concat(e.level);delete e.level;return h(a,Object.assign({},e),n)};export{Heading as H,constrainHeadingLevel as c};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
6
|
function getRoundRobinIndex(n,e){return(n+e)%e}export{getRoundRobinIndex as g};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.442
|
|
5
5
|
*/
|
|
6
|
-
import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-73638693.js";import{d as getElementProp,a as getElementDir,C as CSS_UTILITY}from"./dom-3f012371.js";import{g as guid}from"./guid-a53704be.js";var accordionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-width:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-bottom-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteAccordionChange=createEvent(this,"calciteAccordionChange",7);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var a=i.key;var o=t.target;var n=this.itemIndex(o)===0;var c=this.itemIndex(o)===this.items.length-1;switch(a){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(o)}break;case"ArrowUp":if(n){this.focusLastItem()}else{this.focusPrevItem(o)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem})};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var accordionItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-subtitle{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteAccordionItemKeyEvent=createEvent(this,"calciteAccordionItemKeyEvent",7);this.calciteAccordionItemSelect=createEvent(this,"calciteAccordionItemSelect",7);this.calciteAccordionItemClose=createEvent(this,"calciteAccordionItemClose",7);this.calciteAccordionItemRegister=createEvent(this,"calciteAccordionItemRegister",7);this.active=false;this.guid=guid();this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var a=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});var o=this.guid;var n="".concat(o,"-region");var c="".concat(o,"-button");return h(Host,{tabindex:"0"},h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{"aria-controls":n,class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i),id:c,onClick:this.itemHeaderClickHandler,role:"button"},this.icon?a:null,h("div",{class:"accordion-item-header-text"},h("span",{class:"accordion-item-title"},this.itemTitle),this.itemSubtitle?h("span",{class:"accordion-item-subtitle"},this.itemSubtitle):null),h("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.active?"minus":"plus",scale:"s"})),h("div",{"aria-expanded":this.active.toString(),"aria-labelledby":c,class:"accordion-item-content",id:n,role:"region"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active}break;case"single":this.active=this.el===this.requestedAccordionItem?!this.active:false;break;case"single-persist":this.active=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
|
|
6
|
+
import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-971981a8.js";import{d as getElementProp,a as getElementDir,C as CSS_UTILITY}from"./dom-56d2cefe.js";import{g as guid}from"./guid-11fa23a4.js";var accordionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-width:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-bottom-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteAccordionChange=createEvent(this,"calciteAccordionChange",7);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var a=i.key;var o=t.target;var n=this.itemIndex(o)===0;var c=this.itemIndex(o)===this.items.length-1;switch(a){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(o)}break;case"ArrowUp":if(n){this.focusLastItem()}else{this.focusPrevItem(o)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem})};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var accordionItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-subtitle{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteAccordionItemKeyEvent=createEvent(this,"calciteAccordionItemKeyEvent",7);this.calciteAccordionItemSelect=createEvent(this,"calciteAccordionItemSelect",7);this.calciteAccordionItemClose=createEvent(this,"calciteAccordionItemClose",7);this.calciteAccordionItemRegister=createEvent(this,"calciteAccordionItemRegister",7);this.active=false;this.guid=guid();this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var a=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});var o=this.guid;var n="".concat(o,"-region");var c="".concat(o,"-button");return h(Host,{tabindex:"0"},h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{"aria-controls":n,class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i),id:c,onClick:this.itemHeaderClickHandler,role:"button"},this.icon?a:null,h("div",{class:"accordion-item-header-text"},h("span",{class:"accordion-item-title"},this.itemTitle),this.itemSubtitle?h("span",{class:"accordion-item-subtitle"},this.itemSubtitle):null),h("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.active?"minus":"plus",scale:"s"})),h("div",{"aria-expanded":this.active.toString(),"aria-labelledby":c,class:"accordion-item-content",id:n,role:"region"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active}break;case"single":this.active=this.el===this.requestedAccordionItem?!this.active:false;break;case"single-persist":this.active=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
|