@esri/calcite-components 1.5.0-next.32 → 1.5.0-next.33
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/assets/handle/t9n/index.d.ts +4 -0
- package/dist/calcite/assets/handle/t9n/messages.json +5 -1
- package/dist/calcite/assets/handle/t9n/messages_en.json +5 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-f413a934.js → p-00299baa.js} +2 -2
- package/dist/calcite/{p-5183e62f.entry.js → p-0405583e.entry.js} +2 -2
- package/dist/calcite/p-04129ce8.entry.js +6 -0
- package/dist/calcite/{p-1e3acd4c.entry.js → p-044f3dfb.entry.js} +2 -2
- package/dist/calcite/{p-fccaa6ce.js → p-088880eb.js} +1 -1
- package/dist/calcite/{p-d16b994e.entry.js → p-091dbbd7.entry.js} +2 -2
- package/dist/calcite/{p-18d7a826.js → p-0ea99d16.js} +2 -2
- package/dist/calcite/{p-85d8d02b.entry.js → p-1003cb7c.entry.js} +2 -2
- package/dist/calcite/p-151053f8.entry.js +6 -0
- package/dist/calcite/{p-eae30a4c.js → p-182025cc.js} +2 -2
- package/dist/calcite/{p-61d4dc8f.entry.js → p-1b72ab33.entry.js} +2 -2
- package/dist/calcite/{p-610cd9fd.js → p-1cc3ef83.js} +3 -3
- package/dist/calcite/{p-d239c392.js → p-1e2bdf2d.js} +2 -2
- package/dist/calcite/{p-db8db0af.js → p-1fabdd5f.js} +1 -1
- package/dist/calcite/{p-8f70fba0.entry.js → p-200aee9f.entry.js} +2 -2
- package/dist/calcite/{p-830ab0e6.entry.js → p-2066108e.entry.js} +2 -2
- package/dist/calcite/{p-e6b9b4ae.js → p-21bc1a86.js} +2 -2
- package/dist/calcite/{p-b91f7329.js → p-21bf7b5c.js} +2 -2
- package/dist/calcite/{p-9240498a.js → p-22110b54.js} +2 -2
- package/dist/calcite/{p-f984cf86.js → p-22ea6652.js} +2 -2
- package/dist/calcite/{p-d2d0ef99.js → p-231bd78e.js} +2 -2
- package/dist/calcite/{p-8d78fe97.js → p-25029672.js} +1 -1
- package/dist/calcite/{p-8ec52cc5.entry.js → p-27c0f850.entry.js} +2 -2
- package/dist/calcite/{p-45a0a247.js → p-28348a68.js} +2 -2
- package/dist/calcite/{p-189bf79c.js → p-29be3ae1.js} +2 -2
- package/dist/calcite/{p-7b2f20d9.js → p-2b44ac36.js} +2 -2
- package/dist/calcite/{p-76e355c3.js → p-2cd6c221.js} +2 -2
- package/dist/calcite/{p-667365b5.entry.js → p-2da4e900.entry.js} +2 -2
- package/dist/calcite/{p-c1e61dc9.entry.js → p-2de3b240.entry.js} +2 -2
- package/dist/calcite/p-2eb44dc9.js +6 -0
- package/dist/calcite/{p-0c60d518.entry.js → p-31cb398f.entry.js} +2 -2
- package/dist/calcite/{p-5832bc84.js → p-31ef3288.js} +1 -1
- package/dist/calcite/{p-db16f66c.js → p-323e5103.js} +2 -2
- package/dist/calcite/p-37a081c1.entry.js +6 -0
- package/dist/calcite/p-38ac0cd1.entry.js +6 -0
- package/dist/calcite/{p-c738fd05.js → p-38f8ff8f.js} +1 -1
- package/dist/calcite/{p-233fd3e2.entry.js → p-39a0f3b8.entry.js} +2 -2
- package/dist/calcite/{p-5a4a2f89.js → p-3ad8b490.js} +2 -2
- package/dist/calcite/p-3b84612b.entry.js +6 -0
- package/dist/calcite/{p-cdb270d8.entry.js → p-3d98ba90.entry.js} +2 -2
- package/dist/calcite/{p-f1fd139f.entry.js → p-3ee4ba7f.entry.js} +2 -2
- package/dist/calcite/{p-64fe85ac.entry.js → p-3ee89152.entry.js} +2 -2
- package/dist/calcite/{p-369997e0.entry.js → p-4135e1ed.entry.js} +2 -2
- package/dist/calcite/{p-c66528a8.js → p-42bd7473.js} +2 -2
- package/dist/calcite/{p-936f74b3.entry.js → p-436526c4.entry.js} +2 -2
- package/dist/calcite/{p-88535bfc.js → p-45e6727f.js} +2 -2
- package/dist/calcite/{p-7e25349d.js → p-461ad99b.js} +2 -2
- package/dist/calcite/{p-60ab3c53.entry.js → p-463de8c1.entry.js} +2 -2
- package/dist/calcite/{p-e37d8879.js → p-46862432.js} +2 -2
- package/dist/calcite/p-49c2c379.entry.js +6 -0
- package/dist/calcite/{p-31d3d787.entry.js → p-4bd148dc.entry.js} +2 -2
- package/dist/calcite/{p-240875eb.entry.js → p-4d894bbc.entry.js} +2 -2
- package/dist/calcite/{p-77cb857a.entry.js → p-4eb427e8.entry.js} +2 -2
- package/dist/calcite/{p-ef090025.entry.js → p-50c03db4.entry.js} +2 -2
- package/dist/calcite/{p-dd273a68.js → p-5219431b.js} +2 -2
- package/dist/calcite/p-572f57bf.entry.js +6 -0
- package/dist/calcite/{p-a33a8988.js → p-5799e874.js} +1 -1
- package/dist/calcite/{p-300f4b34.entry.js → p-5941044d.entry.js} +2 -2
- package/dist/calcite/{p-70e83d26.js → p-59f7d363.js} +2 -2
- package/dist/calcite/{p-5cf14069.entry.js → p-5a9806bd.entry.js} +2 -2
- package/dist/calcite/{p-4a2ba0ba.js → p-5ac97c69.js} +2 -2
- package/dist/calcite/{p-d29197c9.entry.js → p-5ce232c4.entry.js} +2 -2
- package/dist/calcite/{p-1df2e252.js → p-5d72d15e.js} +1 -1
- package/dist/calcite/{p-57e31cce.entry.js → p-5dc95233.entry.js} +2 -2
- package/dist/calcite/{p-dbf48b8b.entry.js → p-5f572b97.entry.js} +2 -2
- package/dist/calcite/{p-7d33ecb5.entry.js → p-5fe811c1.entry.js} +2 -2
- package/dist/calcite/{p-c0badb73.entry.js → p-625fbc3e.entry.js} +2 -2
- package/dist/calcite/{p-438e4e83.js → p-6369b750.js} +2 -2
- package/dist/calcite/p-637ebe71.js +6 -0
- package/dist/calcite/p-67a87fd0.entry.js +6 -0
- package/dist/calcite/{p-5934382a.js → p-684ef03f.js} +2 -2
- package/dist/calcite/{p-8c511464.js → p-688c037f.js} +2 -2
- package/dist/calcite/{p-082a951d.js → p-68b65249.js} +1 -1
- package/dist/calcite/p-69437163.entry.js +6 -0
- package/dist/calcite/p-6ac97fc5.entry.js +6 -0
- package/dist/calcite/{p-753bc6d8.entry.js → p-6bae5203.entry.js} +2 -2
- package/dist/calcite/{p-dd18b100.js → p-6d3a7a5b.js} +1 -1
- package/dist/calcite/{p-b0da2fa1.js → p-6dd1b8b6.js} +2 -2
- package/dist/calcite/{p-cd2b701c.js → p-6e5f5f22.js} +2 -2
- package/dist/calcite/{p-783fb7f5.entry.js → p-6f73ebe1.entry.js} +2 -2
- package/dist/calcite/{p-207dd72b.js → p-70b7c81b.js} +2 -2
- package/dist/calcite/{p-33f1a1e4.entry.js → p-716e1a77.entry.js} +2 -2
- package/dist/calcite/{p-c5a37bc2.entry.js → p-71c12225.entry.js} +2 -2
- package/dist/calcite/{p-2b314e0c.entry.js → p-71d2f324.entry.js} +2 -2
- package/dist/calcite/{p-37d8e5ec.entry.js → p-7308e7ee.entry.js} +2 -2
- package/dist/calcite/{p-5731b41c.js → p-737aab71.js} +2 -2
- package/dist/calcite/{p-6d8214b8.js → p-74fea7f7.js} +2 -2
- package/dist/calcite/{p-6278b4e2.entry.js → p-7653808a.entry.js} +2 -2
- package/dist/calcite/{p-98cd7022.entry.js → p-78ca925b.entry.js} +2 -2
- package/dist/calcite/{p-92c022b8.js → p-7aa0a673.js} +2 -2
- package/dist/calcite/{p-dc59d92a.js → p-7bb30023.js} +2 -2
- package/dist/calcite/{p-1d5330b7.js → p-829c8ad5.js} +2 -2
- package/dist/calcite/{p-6f6592c9.entry.js → p-844127f2.entry.js} +2 -2
- package/dist/calcite/{p-5915dca7.js → p-847ce3f9.js} +2 -2
- package/dist/calcite/{p-d9887518.entry.js → p-8765a1b9.entry.js} +2 -2
- package/dist/calcite/{p-4f2adb68.js → p-8aa5cd7c.js} +2 -2
- package/dist/calcite/{p-550a46d0.js → p-8ab739af.js} +2 -2
- package/dist/calcite/{p-acb46d81.entry.js → p-8adbf7de.entry.js} +2 -2
- package/dist/calcite/{p-3b59aa05.js → p-8c86c36b.js} +2 -2
- package/dist/calcite/{p-d5fe84ee.js → p-8d92ca31.js} +1 -1
- package/dist/calcite/{p-7f6a3e44.entry.js → p-907b36c2.entry.js} +2 -2
- package/dist/calcite/{p-9217fa79.entry.js → p-934b5de5.entry.js} +2 -2
- package/dist/calcite/{p-604d4227.js → p-94b86699.js} +2 -2
- package/dist/calcite/{p-6491a672.entry.js → p-959d8ae0.entry.js} +2 -2
- package/dist/calcite/{p-2d48c1d1.js → p-98c3b092.js} +2 -2
- package/dist/calcite/{p-cf741a20.js → p-990bc43f.js} +2 -2
- package/dist/calcite/{p-41241d7a.js → p-99e81557.js} +2 -2
- package/dist/calcite/p-9c5257e3.js +6 -0
- package/dist/calcite/p-9dbc23b8.js +6 -0
- package/dist/calcite/{p-63e18d0a.js → p-9deca461.js} +2 -2
- package/dist/calcite/{p-7fe70e7a.js → p-9ee73800.js} +2 -2
- package/dist/calcite/{p-76dc6446.js → p-a0703c57.js} +2 -2
- package/dist/calcite/{p-7d860316.entry.js → p-a12b0fc0.entry.js} +2 -2
- package/dist/calcite/{p-8ea0aa21.js → p-a38fba0a.js} +2 -2
- package/dist/calcite/{p-89f6e155.entry.js → p-a47d4355.entry.js} +2 -2
- package/dist/calcite/{p-a5a36258.js → p-a58bcb13.js} +2 -2
- package/dist/calcite/{p-0ccd5a67.js → p-a8fd9835.js} +2 -2
- package/dist/calcite/p-a9aaa00b.entry.js +6 -0
- package/dist/calcite/{p-464a79af.js → p-b2bf2d2a.js} +1 -1
- package/dist/calcite/{p-e0408a33.js → p-b4532a3a.js} +2 -2
- package/dist/calcite/{p-edc312b4.js → p-b8ba593c.js} +2 -2
- package/dist/calcite/{p-ab7178d8.js → p-b99ea020.js} +2 -2
- package/dist/calcite/{p-96ba2a24.js → p-ba2ef109.js} +2 -2
- package/dist/calcite/p-c684e798.js +6 -0
- package/dist/calcite/{p-e371204f.js → p-ca00463a.js} +1 -1
- package/dist/calcite/{p-efea2646.js → p-ca757637.js} +2 -2
- package/dist/calcite/{p-36e03cdb.js → p-cf87e0e4.js} +2 -2
- package/dist/calcite/{p-91198ca1.js → p-d2b08524.js} +1 -1
- package/dist/calcite/{p-72c1f26a.js → p-d5d09a72.js} +2 -2
- package/dist/calcite/{p-d66d1cec.entry.js → p-dd497372.entry.js} +2 -2
- package/dist/calcite/{p-0981749f.js → p-dd8263be.js} +2 -2
- package/dist/calcite/{p-3f87cf71.js → p-dfc34aa3.js} +2 -2
- package/dist/calcite/{p-2a9b3571.entry.js → p-e068ae4d.entry.js} +2 -2
- package/dist/calcite/{p-76cd4eb7.js → p-e289d257.js} +2 -2
- package/dist/calcite/{p-ea64682b.entry.js → p-e35e2899.entry.js} +2 -2
- package/dist/calcite/{p-5b1a43a6.js → p-e42159e1.js} +2 -2
- package/dist/calcite/{p-d9622317.js → p-e5154823.js} +2 -2
- package/dist/calcite/{p-ca6697fe.js → p-e7563dad.js} +2 -2
- package/dist/calcite/{p-485f58c8.entry.js → p-e7d77202.entry.js} +2 -2
- package/dist/calcite/{p-4ac5aeec.entry.js → p-e9d6f4a7.entry.js} +2 -2
- package/dist/calcite/{p-0ddb1d8a.entry.js → p-ead8a5dc.entry.js} +2 -2
- package/dist/calcite/{p-6a922743.entry.js → p-ec6eb613.entry.js} +2 -2
- package/dist/calcite/{p-184293a0.js → p-ee23da80.js} +2 -2
- package/dist/calcite/{p-e642a4c3.js → p-eed9d444.js} +2 -2
- package/dist/calcite/{p-95627a49.entry.js → p-f1739946.entry.js} +2 -2
- package/dist/calcite/{p-cd72e3b1.js → p-f3e73100.js} +2 -2
- package/dist/calcite/{p-b1a071f5.js → p-f7083ce8.js} +2 -2
- package/dist/calcite/{p-202d3f89.entry.js → p-f7c2271e.entry.js} +2 -2
- package/dist/calcite/{p-a3fbeffb.js → p-fb0d85f5.js} +1 -1
- package/dist/calcite/{p-604aa9e9.entry.js → p-fec87269.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-76e9a40d.js → ExpandToggle-490c82da.js} +5 -5
- package/dist/cjs/{FloatingArrow-73973337.js → FloatingArrow-77dba9d4.js} +2 -2
- package/dist/cjs/{Heading-36b7b674.js → Heading-7e80448c.js} +2 -2
- package/dist/cjs/{app-globals-dd2acf21.js → app-globals-f10e9902.js} +2 -2
- package/dist/cjs/{ar-43e3147d.js → ar-91c541a9.js} +15 -15
- package/dist/cjs/{array-774be10b.js → array-49bc14b4.js} +1 -1
- package/dist/cjs/{bg-6c218669.js → bg-ca57e165.js} +15 -15
- package/dist/cjs/{bs-c7217e31.js → bs-bc49dd0a.js} +15 -15
- package/dist/cjs/{ca-59493ae9.js → ca-0f7055c9.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +49 -16
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-fad634df.js → calcite-input-time-picker.calcite-time-picker-33763337.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +226 -55
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +31 -55
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +22 -30
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +33 -36
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-7a6c2edd.js → conditionalSlot-4728a584.js} +3 -3
- package/dist/cjs/{cs-e8d5bc18.js → cs-da0769f0.js} +15 -15
- package/dist/cjs/{da-98e591d0.js → da-e41fa73a.js} +15 -15
- package/dist/cjs/{de-e76efe70.js → de-5ae1c7ff.js} +15 -15
- package/dist/cjs/{de-at-ee549045.js → de-at-20d7faea.js} +15 -15
- package/dist/cjs/{de-ch-3bbe05dc.js → de-ch-004b8342.js} +15 -15
- package/dist/cjs/{debounce-4a12aded.js → debounce-05f39503.js} +1 -1
- package/dist/cjs/{dom-b608ffcb.js → dom-ebd4da1d.js} +3 -3
- package/dist/cjs/{el-2b2bc7b5.js → el-5f7951d4.js} +15 -15
- package/dist/cjs/{en-au-66e47088.js → en-au-f61cd8c7.js} +15 -15
- package/dist/cjs/{en-ca-3d915400.js → en-ca-ff52af59.js} +15 -15
- package/dist/cjs/{en-gb-ecb68711.js → en-gb-c668a4b2.js} +15 -15
- package/dist/cjs/{es-927b4c81.js → es-8e10f566.js} +15 -15
- package/dist/cjs/{es-mx-b6149a12.js → es-mx-68d2a780.js} +15 -15
- package/dist/cjs/{et-972ec9c3.js → et-9798fe72.js} +15 -15
- package/dist/cjs/{fi-5abd2c34.js → fi-b979b935.js} +15 -15
- package/dist/cjs/{filter-a0510737.js → filter-9a7555fe.js} +2 -2
- package/dist/cjs/{floating-ui-e63860c9.js → floating-ui-dc66e83d.js} +3 -3
- package/dist/cjs/{focusTrapComponent-29ce9575.js → focusTrapComponent-0aa065f8.js} +2 -2
- package/dist/cjs/{form-b957b252.js → form-c2d248bd.js} +3 -3
- package/dist/cjs/{fr-ch-54f0b21f.js → fr-ch-6fabdedc.js} +15 -15
- package/dist/cjs/{fr-cf77323b.js → fr-d41e7326.js} +15 -15
- package/dist/cjs/{guid-d07a8660.js → guid-47a9f7dc.js} +1 -1
- package/dist/cjs/{he-73492cad.js → he-31d9179e.js} +15 -15
- package/dist/cjs/{hi-1f89eeb0.js → hi-8f331430.js} +15 -15
- package/dist/cjs/{hr-388be816.js → hr-c3f405aa.js} +15 -15
- package/dist/cjs/{hu-6e8cc129.js → hu-85a1ae22.js} +15 -15
- package/dist/cjs/{id-3b1eef10.js → id-456e18f2.js} +15 -15
- package/dist/cjs/{index-e7be4408.js → index-3d4cfff8.js} +5 -5
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-a93ebdf0.js → interactive-4a1dd124.js} +1 -1
- package/dist/cjs/{it-a51842ed.js → it-167042ae.js} +15 -15
- package/dist/cjs/{it-ch-a938209d.js → it-ch-2d02713b.js} +15 -15
- package/dist/cjs/{ja-4de9279f.js → ja-34e70be7.js} +15 -15
- package/dist/cjs/{key-f0e4b1e7.js → key-1918e8dd.js} +1 -1
- package/dist/cjs/{ko-e7f67407.js → ko-ffae1870.js} +15 -15
- package/dist/cjs/{label-075a5d07.js → label-fbbed8b8.js} +2 -2
- package/dist/cjs/{loadable-f5c1a2bb.js → loadable-00043f5b.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-a6d880d1.js → locale-709b6c4f.js} +4 -4
- package/dist/cjs/{lt-a6f2f486.js → lt-b092acc5.js} +15 -15
- package/dist/cjs/{lv-d6bf93a0.js → lv-45da38b0.js} +15 -15
- package/dist/cjs/{math-721aa699.js → math-044d06a9.js} +1 -1
- package/dist/cjs/{mk-1615dd18.js → mk-e96ec971.js} +15 -15
- package/dist/cjs/{nb-73860482.js → nb-6f7ce2e1.js} +15 -15
- package/dist/cjs/{nl-cb310a71.js → nl-a8d715b3.js} +15 -15
- package/dist/cjs/{observers-c8c26974.js → observers-d8e7ef2c.js} +1 -1
- package/dist/cjs/{openCloseComponent-c30a6965.js → openCloseComponent-5f5f53a8.js} +2 -2
- package/dist/cjs/{pl-6805f15f.js → pl-7e1cd35d.js} +15 -15
- package/dist/cjs/{pt-8eea7565.js → pt-3342b9c1.js} +15 -15
- package/dist/cjs/{pt-br-1752c9ec.js → pt-br-f79aee99.js} +15 -15
- package/dist/cjs/{resources-8221a8ee.js → resources-107f61da.js} +1 -1
- package/dist/cjs/{resources-304db407.js → resources-1b29ee6f.js} +1 -1
- package/dist/cjs/{resources-714881f3.js → resources-22c04e1b.js} +2 -2
- package/dist/cjs/{resources-9dfdcff6.js → resources-3a67bf59.js} +5 -5
- package/dist/cjs/{resources-82c2d306.js → resources-806b4a0e.js} +1 -1
- package/dist/cjs/{resources-3759e579.js → resources-b0d38576.js} +1 -1
- package/dist/cjs/{resources-05d3e52b.js → resources-b632eeba.js} +1 -1
- package/dist/cjs/{ro-07ec9dbf.js → ro-9c485689.js} +15 -15
- package/dist/cjs/{ru-3456ed69.js → ru-28c0bda2.js} +15 -15
- package/dist/cjs/{sk-b4b990f9.js → sk-ce7f6899.js} +15 -15
- package/dist/cjs/{sl-4967a626.js → sl-4e78cdf7.js} +15 -15
- package/dist/cjs/{sortableComponent-b91bd124.js → sortableComponent-5e989bd5.js} +32 -7
- package/dist/cjs/{sr-1f10b5ee.js → sr-0c3d255b.js} +15 -15
- package/dist/cjs/{sv-4a007b1f.js → sv-1afa6f2a.js} +15 -15
- package/dist/cjs/{t9n-8df0a9c8.js → t9n-8ed7b277.js} +3 -3
- package/dist/cjs/{th-bafe230c.js → th-9b45e052.js} +15 -15
- package/dist/cjs/{throttle-ba771207.js → throttle-2ddebb73.js} +2 -2
- package/dist/cjs/{tr-e09b07d9.js → tr-241c21d8.js} +15 -15
- package/dist/cjs/{uk-42c9b727.js → uk-eed3602e.js} +15 -15
- package/dist/cjs/{utils-e79e9d03.js → utils-2b77d981.js} +1 -1
- package/dist/cjs/{utils-03e07dc2.js → utils-39f93fef.js} +3 -3
- package/dist/cjs/{vi-4bf1e493.js → vi-5df96116.js} +15 -15
- package/dist/cjs/{zh-cn-68c01ea7.js → zh-cn-3de720ad.js} +15 -15
- package/dist/cjs/{zh-hk-95138693.js → zh-hk-dec40f14.js} +15 -15
- package/dist/cjs/{zh-tw-7db8279b.js → zh-tw-a5ee1790.js} +15 -15
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/assets/handle/t9n/index.d.ts +4 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages.json +5 -1
- package/dist/collection/components/handle/assets/handle/t9n/messages_en.json +5 -1
- package/dist/collection/components/handle/handle.js +131 -9
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +12 -0
- package/dist/collection/components/list/list.js +299 -27
- package/dist/collection/components/list/resources.js +2 -1
- package/dist/collection/components/list-item/list-item.css +1 -0
- package/dist/collection/components/list-item/list-item.js +69 -14
- package/dist/collection/components/list-item/resources.js +4 -2
- package/dist/collection/components/list-item/utils.js +8 -4
- package/dist/collection/components/list-item-group/list-item-group.js +33 -3
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +6 -10
- package/dist/collection/components/panel/panel.js +19 -42
- package/dist/collection/components/panel/resources.js +2 -2
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +56 -24
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +59 -22
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/sortableComponent.js +33 -6
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +12 -3
- package/dist/components/calcite-list-item.js +45 -19
- package/dist/components/calcite-list.js +168 -26
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +18 -24
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +21 -22
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +43 -7
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +21 -44
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +32 -5
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +11 -5
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-cb09e309.js → ExpandToggle-632bbbac.js} +5 -5
- package/dist/esm/{FloatingArrow-45ddd867.js → FloatingArrow-46ed94d0.js} +2 -2
- package/dist/esm/{Heading-9a907ce9.js → Heading-008b8cff.js} +2 -2
- package/dist/esm/{app-globals-e2046f4b.js → app-globals-609d95e0.js} +2 -2
- package/dist/esm/{ar-1f432df8.js → ar-7d01fd3a.js} +15 -15
- package/dist/esm/{array-75440667.js → array-a2d56321.js} +1 -1
- package/dist/esm/{bg-5bfade12.js → bg-20ab09c8.js} +15 -15
- package/dist/esm/{bs-0e957ae9.js → bs-1fccd895.js} +15 -15
- package/dist/esm/{ca-b4fc50df.js → ca-49f28913.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +13 -13
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +49 -16
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-2e6576b0.js → calcite-input-time-picker.calcite-time-picker-496bf0a9.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +226 -55
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +31 -55
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +22 -30
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +33 -36
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-ac984b86.js → conditionalSlot-359ad993.js} +3 -3
- package/dist/esm/{cs-a032dc35.js → cs-9022c2ed.js} +15 -15
- package/dist/esm/{da-c3e54cf1.js → da-bfc47a83.js} +15 -15
- package/dist/esm/{de-cd680f71.js → de-75c707bd.js} +15 -15
- package/dist/esm/{de-at-f9233d95.js → de-at-772aeb52.js} +15 -15
- package/dist/esm/{de-ch-3e0ff9f7.js → de-ch-4f68e949.js} +15 -15
- package/dist/esm/{debounce-dd45b238.js → debounce-58db6f9b.js} +1 -1
- package/dist/esm/{dom-0f4af0f5.js → dom-eab58bbf.js} +3 -3
- package/dist/esm/{el-bb371cb8.js → el-edf06b39.js} +15 -15
- package/dist/esm/{en-au-157448cb.js → en-au-bbb86c35.js} +15 -15
- package/dist/esm/{en-ca-82399600.js → en-ca-5718f2c5.js} +15 -15
- package/dist/esm/{en-gb-51cf3ae0.js → en-gb-3d9e3bee.js} +15 -15
- package/dist/esm/{es-edd1d1fa.js → es-0e689c78.js} +15 -15
- package/dist/esm/{es-mx-ad9e8312.js → es-mx-d0352d04.js} +15 -15
- package/dist/esm/{et-5b5c0d4e.js → et-7971e616.js} +15 -15
- package/dist/esm/{fi-57a95fc1.js → fi-972b33f3.js} +15 -15
- package/dist/esm/{filter-34a13d8f.js → filter-8f382d90.js} +2 -2
- package/dist/esm/{floating-ui-356d65b1.js → floating-ui-6fbcd22d.js} +3 -3
- package/dist/esm/{focusTrapComponent-29e591ec.js → focusTrapComponent-76b9ae6b.js} +2 -2
- package/dist/esm/{form-1fdd7e8c.js → form-a945d244.js} +3 -3
- package/dist/esm/{fr-ch-c82ca047.js → fr-ch-a7ffa8c4.js} +15 -15
- package/dist/esm/{fr-3c092d10.js → fr-e74fc417.js} +15 -15
- package/dist/esm/{guid-03e1e1b5.js → guid-3a688a4a.js} +1 -1
- package/dist/esm/{he-7d0f1b85.js → he-367a03bd.js} +15 -15
- package/dist/esm/{hi-f0a8d4aa.js → hi-22e8e3dd.js} +15 -15
- package/dist/esm/{hr-29c9afc6.js → hr-856cfcdb.js} +15 -15
- package/dist/esm/{hu-4d22fd78.js → hu-f6039c54.js} +15 -15
- package/dist/esm/{id-1fd124d3.js → id-f46e149d.js} +15 -15
- package/dist/esm/{index-efa078eb.js → index-a975c980.js} +5 -5
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-944e27cc.js → interactive-c47135fd.js} +1 -1
- package/dist/esm/{it-8b3fe097.js → it-b904d3d2.js} +15 -15
- package/dist/esm/{it-ch-82f2120e.js → it-ch-f0406e91.js} +15 -15
- package/dist/esm/{ja-fb1b156c.js → ja-4cada32c.js} +15 -15
- package/dist/esm/{key-21d6a568.js → key-db46ef41.js} +1 -1
- package/dist/esm/{ko-dddd7d5c.js → ko-c6f4bea5.js} +15 -15
- package/dist/esm/{label-530c1206.js → label-984712c1.js} +2 -2
- package/dist/esm/{loadable-d7fbf766.js → loadable-607f2e38.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-45fcdc75.js → locale-c3103fbc.js} +4 -4
- package/dist/esm/{lt-5f8ccd70.js → lt-7f68c24b.js} +15 -15
- package/dist/esm/{lv-eca4695a.js → lv-ecc28b42.js} +15 -15
- package/dist/esm/{math-dbb3db1d.js → math-e1484585.js} +1 -1
- package/dist/esm/{mk-d2a197c8.js → mk-7fceb488.js} +15 -15
- package/dist/esm/{nb-a4c965a7.js → nb-8828b678.js} +15 -15
- package/dist/esm/{nl-c76145fe.js → nl-a057f518.js} +15 -15
- package/dist/esm/{observers-b7b80a68.js → observers-8f7357b5.js} +1 -1
- package/dist/esm/{openCloseComponent-86810ae0.js → openCloseComponent-d2f88aa0.js} +2 -2
- package/dist/esm/{pl-148c13a0.js → pl-0deaa899.js} +15 -15
- package/dist/esm/{pt-br-821b93e7.js → pt-br-9ee73d91.js} +15 -15
- package/dist/esm/{pt-a638415d.js → pt-d8470805.js} +15 -15
- package/dist/esm/{resources-4f8c8b40.js → resources-25e8828a.js} +1 -1
- package/dist/esm/{resources-ebe668a1.js → resources-5eaea160.js} +1 -1
- package/dist/esm/{resources-be1a3d88.js → resources-64b51703.js} +5 -5
- package/dist/esm/{resources-928032b3.js → resources-6a7b4bcb.js} +1 -1
- package/dist/esm/{resources-0d7e3a2e.js → resources-7200641c.js} +1 -1
- package/dist/esm/{resources-2e186bce.js → resources-9f664e0c.js} +2 -2
- package/dist/esm/{resources-6192c727.js → resources-d1de9382.js} +1 -1
- package/dist/esm/{ro-fc70bdc9.js → ro-a17bc34e.js} +15 -15
- package/dist/esm/{ru-257f8154.js → ru-b81765cf.js} +15 -15
- package/dist/esm/{sk-54a67a97.js → sk-bf51bf75.js} +15 -15
- package/dist/esm/{sl-e77b875e.js → sl-567a89d5.js} +15 -15
- package/dist/esm/{sortableComponent-e4da1e32.js → sortableComponent-8d535dd9.js} +33 -6
- package/dist/esm/{sr-a321225a.js → sr-9f8696d8.js} +15 -15
- package/dist/esm/{sv-b7bd25e4.js → sv-3ea88512.js} +15 -15
- package/dist/esm/{t9n-7ba6c380.js → t9n-0e348819.js} +3 -3
- package/dist/esm/{th-a82519d0.js → th-5672e37a.js} +15 -15
- package/dist/esm/{throttle-29f94901.js → throttle-cd632da3.js} +2 -2
- package/dist/esm/{tr-9967d1fe.js → tr-cc95272a.js} +15 -15
- package/dist/esm/{uk-7e2db9f5.js → uk-47cabfb5.js} +15 -15
- package/dist/esm/{utils-3846b316.js → utils-871f570d.js} +1 -1
- package/dist/esm/{utils-4488cdbc.js → utils-c29b6b34.js} +3 -3
- package/dist/esm/{vi-58a1da65.js → vi-4db761d4.js} +15 -15
- package/dist/esm/{zh-cn-88c4b64d.js → zh-cn-6bef7420.js} +15 -15
- package/dist/esm/{zh-hk-3bc9379d.js → zh-hk-6a8c05af.js} +15 -15
- package/dist/esm/{zh-tw-2b5bbf8a.js → zh-tw-b987aef3.js} +15 -15
- package/dist/extras/docs-json.json +203 -6
- package/dist/extras/translations-json.json +1 -1
- package/dist/extras/vscode-data.json +8 -0
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/handle/assets/handle/t9n/index.d.ts +4 -0
- package/dist/types/components/handle/handle.d.ts +25 -1
- package/dist/types/components/handle/interfaces.d.ts +4 -0
- package/dist/types/components/list/list.d.ts +51 -8
- package/dist/types/components/list/resources.d.ts +1 -0
- package/dist/types/components/list-item/list-item.d.ts +10 -0
- package/dist/types/components/list-item/resources.d.ts +2 -1
- package/dist/types/components/list-item/utils.d.ts +1 -1
- package/dist/types/components/list-item-group/list-item-group.d.ts +6 -1
- package/dist/types/components/panel/panel.d.ts +2 -0
- package/dist/types/components/panel/resources.d.ts +1 -1
- package/dist/types/components/sortable-list/sortable-list.d.ts +13 -1
- package/dist/types/components/value-list/value-list.d.ts +14 -1
- package/dist/types/components.d.ts +93 -1
- package/dist/types/preact.d.ts +8 -3
- package/dist/types/utils/sortableComponent.d.ts +42 -14
- package/hydrate/index.js +8845 -8636
- package/package.json +2 -2
- package/dist/calcite/p-03ed12bb.entry.js +0 -6
- package/dist/calcite/p-1e55047a.entry.js +0 -6
- package/dist/calcite/p-27f5e33f.entry.js +0 -6
- package/dist/calcite/p-3ac4b83f.entry.js +0 -6
- package/dist/calcite/p-3cf0f080.entry.js +0 -6
- package/dist/calcite/p-43a26994.entry.js +0 -6
- package/dist/calcite/p-4ce38cbd.entry.js +0 -6
- package/dist/calcite/p-50867e1b.js +0 -6
- package/dist/calcite/p-58622b0a.entry.js +0 -6
- package/dist/calcite/p-8049284a.entry.js +0 -6
- package/dist/calcite/p-92e42b3c.js +0 -6
- package/dist/calcite/p-9b4e710a.entry.js +0 -6
- package/dist/calcite/p-bcbde390.entry.js +0 -6
- package/dist/calcite/p-e5b1fdaa.js +0 -6
- package/dist/calcite/p-ef42cd45.js +0 -6
- package/dist/calcite/p-fb42abdc.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.33
|
|
5
5
|
*/
|
|
6
6
|
import { h, } from "@stencil/core";
|
|
7
7
|
import { debounce } from "lodash-es";
|
|
@@ -11,8 +11,10 @@ import { createObserver } from "../../utils/observers";
|
|
|
11
11
|
import { MAX_COLUMNS } from "../list-item/resources";
|
|
12
12
|
import { getListItemChildren, updateListItemChildren } from "../list-item/utils";
|
|
13
13
|
import { CSS, debounceTimeout, SLOTS } from "./resources";
|
|
14
|
+
import { connectSortableComponent, disconnectSortableComponent, } from "../../utils/sortableComponent";
|
|
14
15
|
import { SLOTS as STACK_SLOTS } from "../stack/resources";
|
|
15
16
|
const listItemSelector = "calcite-list-item";
|
|
17
|
+
const listItemSelectorDirect = `:scope > calcite-list-item`;
|
|
16
18
|
const parentSelector = "calcite-list-item-group, calcite-list-item";
|
|
17
19
|
import { componentFocusable, setComponentLoaded, setUpLoadableComponent, } from "../../utils/loadable";
|
|
18
20
|
/**
|
|
@@ -24,16 +26,16 @@ import { componentFocusable, setComponentLoaded, setUpLoadableComponent, } from
|
|
|
24
26
|
*/
|
|
25
27
|
export class List {
|
|
26
28
|
constructor() {
|
|
27
|
-
this.
|
|
29
|
+
this.dragSelector = "calcite-list-item";
|
|
28
30
|
this.enabledListItems = [];
|
|
31
|
+
this.handleSelector = "calcite-handle";
|
|
32
|
+
this.listItems = [];
|
|
29
33
|
this.mutationObserver = createObserver("mutation", () => this.updateListItems());
|
|
30
|
-
// --------------------------------------------------------------------------
|
|
31
|
-
//
|
|
32
|
-
// Private Methods
|
|
33
|
-
//
|
|
34
|
-
// --------------------------------------------------------------------------
|
|
35
34
|
this.handleDefaultSlotChange = (event) => {
|
|
36
|
-
updateListItemChildren(getListItemChildren(event));
|
|
35
|
+
updateListItemChildren(getListItemChildren(event.target));
|
|
36
|
+
if (this.parentListEl) {
|
|
37
|
+
this.calciteInternalListDefaultSlotChange.emit();
|
|
38
|
+
}
|
|
37
39
|
};
|
|
38
40
|
this.handleFilterActionsStartSlotChange = (event) => {
|
|
39
41
|
this.hasFilterActionsStart = slotChangeHasAssignedElement(event);
|
|
@@ -86,11 +88,22 @@ export class List {
|
|
|
86
88
|
}));
|
|
87
89
|
};
|
|
88
90
|
this.updateListItems = debounce((emit = false) => {
|
|
89
|
-
const { selectionAppearance, selectionMode } = this;
|
|
91
|
+
const { selectionAppearance, selectionMode, dragEnabled } = this;
|
|
92
|
+
if (!!this.parentListEl) {
|
|
93
|
+
const items = this.queryListItems(true);
|
|
94
|
+
items.forEach((item) => {
|
|
95
|
+
item.selectionAppearance = selectionAppearance;
|
|
96
|
+
item.selectionMode = selectionMode;
|
|
97
|
+
item.dragHandle = dragEnabled;
|
|
98
|
+
});
|
|
99
|
+
this.setUpSorting();
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
90
102
|
const items = this.queryListItems();
|
|
91
103
|
items.forEach((item) => {
|
|
92
104
|
item.selectionAppearance = selectionAppearance;
|
|
93
105
|
item.selectionMode = selectionMode;
|
|
106
|
+
item.dragHandle = dragEnabled;
|
|
94
107
|
});
|
|
95
108
|
this.listItems = items;
|
|
96
109
|
if (this.filterEnabled) {
|
|
@@ -103,9 +116,10 @@ export class List {
|
|
|
103
116
|
this.enabledListItems = this.filteredItems.filter((item) => !item.disabled && !item.closed);
|
|
104
117
|
this.setActiveListItem();
|
|
105
118
|
this.updateSelectedItems(emit);
|
|
119
|
+
this.setUpSorting();
|
|
106
120
|
}, debounceTimeout);
|
|
107
|
-
this.queryListItems = () => {
|
|
108
|
-
return Array.from(this.el.querySelectorAll(listItemSelector));
|
|
121
|
+
this.queryListItems = (direct = false) => {
|
|
122
|
+
return Array.from(this.el.querySelectorAll(direct ? listItemSelectorDirect : listItemSelector));
|
|
109
123
|
};
|
|
110
124
|
this.focusRow = (focusEl) => {
|
|
111
125
|
const { enabledListItems } = this;
|
|
@@ -123,7 +137,7 @@ export class List {
|
|
|
123
137
|
return parentListItemEl.open && this.isNavigable(parentListItemEl);
|
|
124
138
|
};
|
|
125
139
|
this.handleListKeydown = (event) => {
|
|
126
|
-
if (event.defaultPrevented) {
|
|
140
|
+
if (event.defaultPrevented || !!this.parentListEl) {
|
|
127
141
|
return;
|
|
128
142
|
}
|
|
129
143
|
const { key } = event;
|
|
@@ -163,6 +177,10 @@ export class List {
|
|
|
163
177
|
}
|
|
164
178
|
};
|
|
165
179
|
this.disabled = false;
|
|
180
|
+
this.canPull = undefined;
|
|
181
|
+
this.canPut = undefined;
|
|
182
|
+
this.dragEnabled = false;
|
|
183
|
+
this.group = undefined;
|
|
166
184
|
this.filterEnabled = false;
|
|
167
185
|
this.filteredItems = [];
|
|
168
186
|
this.filteredData = [];
|
|
@@ -174,20 +192,21 @@ export class List {
|
|
|
174
192
|
this.selectedItems = [];
|
|
175
193
|
this.selectionMode = "none";
|
|
176
194
|
this.selectionAppearance = "icon";
|
|
195
|
+
this.assistiveText = undefined;
|
|
177
196
|
this.dataForFilter = [];
|
|
178
|
-
this.hasFilterActionsStart = false;
|
|
179
197
|
this.hasFilterActionsEnd = false;
|
|
180
|
-
|
|
181
|
-
handleFilterEnabledChange() {
|
|
182
|
-
this.updateListItems();
|
|
198
|
+
this.hasFilterActionsStart = false;
|
|
183
199
|
}
|
|
184
200
|
async handleFilterTextChange() {
|
|
185
201
|
this.performFilter();
|
|
186
202
|
}
|
|
187
|
-
|
|
203
|
+
handleListItemChange() {
|
|
188
204
|
this.updateListItems();
|
|
189
205
|
}
|
|
190
206
|
handleCalciteInternalFocusPreviousItem(event) {
|
|
207
|
+
if (this.parentListEl) {
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
191
210
|
event.stopPropagation();
|
|
192
211
|
const { enabledListItems } = this;
|
|
193
212
|
const currentIndex = enabledListItems.findIndex((listItem) => listItem.active);
|
|
@@ -197,6 +216,9 @@ export class List {
|
|
|
197
216
|
}
|
|
198
217
|
}
|
|
199
218
|
handleCalciteInternalListItemActive(event) {
|
|
219
|
+
if (!!this.parentListEl) {
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
200
222
|
event.stopPropagation();
|
|
201
223
|
const target = event.target;
|
|
202
224
|
const { listItems } = this;
|
|
@@ -205,9 +227,25 @@ export class List {
|
|
|
205
227
|
});
|
|
206
228
|
}
|
|
207
229
|
handleCalciteListItemSelect() {
|
|
230
|
+
if (!!this.parentListEl) {
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
208
233
|
this.updateSelectedItems(true);
|
|
209
234
|
}
|
|
235
|
+
handleCalciteInternalHandleChange(event) {
|
|
236
|
+
this.assistiveText = event.detail.message;
|
|
237
|
+
event.stopPropagation();
|
|
238
|
+
}
|
|
239
|
+
handleCalciteHandleNudge(event) {
|
|
240
|
+
if (!!this.parentListEl) {
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
this.handleNudgeEvent(event);
|
|
244
|
+
}
|
|
210
245
|
handleCalciteInternalListItemSelect(event) {
|
|
246
|
+
if (!!this.parentListEl) {
|
|
247
|
+
return;
|
|
248
|
+
}
|
|
211
249
|
event.stopPropagation();
|
|
212
250
|
const target = event.target;
|
|
213
251
|
const { listItems, selectionMode } = this;
|
|
@@ -217,21 +255,30 @@ export class List {
|
|
|
217
255
|
this.updateSelectedItems();
|
|
218
256
|
}
|
|
219
257
|
handleCalciteInternalListItemChange(event) {
|
|
258
|
+
if (!!this.parentListEl) {
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
220
261
|
event.stopPropagation();
|
|
221
262
|
this.updateListItems(true);
|
|
222
263
|
}
|
|
264
|
+
handleCalciteInternalListItemGroupDefaultSlotChange(event) {
|
|
265
|
+
event.stopPropagation();
|
|
266
|
+
}
|
|
223
267
|
//--------------------------------------------------------------------------
|
|
224
268
|
//
|
|
225
269
|
// Lifecycle
|
|
226
270
|
//
|
|
227
271
|
//--------------------------------------------------------------------------
|
|
228
272
|
connectedCallback() {
|
|
229
|
-
this.
|
|
273
|
+
this.connectObserver();
|
|
230
274
|
this.updateListItems();
|
|
275
|
+
this.setUpSorting();
|
|
231
276
|
connectInteractive(this);
|
|
277
|
+
this.parentListEl = this.el.parentElement.closest("calcite-list");
|
|
232
278
|
}
|
|
233
279
|
disconnectedCallback() {
|
|
234
|
-
this.
|
|
280
|
+
this.disconnectObserver();
|
|
281
|
+
disconnectSortableComponent(this);
|
|
235
282
|
disconnectInteractive(this);
|
|
236
283
|
}
|
|
237
284
|
componentWillLoad() {
|
|
@@ -263,10 +310,43 @@ export class List {
|
|
|
263
310
|
// --------------------------------------------------------------------------
|
|
264
311
|
render() {
|
|
265
312
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
|
|
266
|
-
return (h("div", { class: CSS.container }, loading ? h("calcite-scrim", { class: CSS.scrim, loading: loading }) : null, h("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (h("thead", null, h("tr", { class: { [CSS.sticky]: true } }, h("th", { colSpan: MAX_COLUMNS }, h("calcite-stack", { class: CSS.stack }, h("slot", { name: SLOTS.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: STACK_SLOTS.actionsStart }), h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilterChange, placeholder: filterPlaceholder, value: filterText,
|
|
313
|
+
return (h("div", { class: CSS.container }, this.dragEnabled ? (h("span", { "aria-live": "assertive", class: CSS.assistiveText }, this.assistiveText)) : null, loading ? h("calcite-scrim", { class: CSS.scrim, loading: loading }) : null, h("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (h("thead", null, h("tr", { class: { [CSS.sticky]: true } }, h("th", { colSpan: MAX_COLUMNS }, h("calcite-stack", { class: CSS.stack }, h("slot", { name: SLOTS.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: STACK_SLOTS.actionsStart }), h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilterChange, placeholder: filterPlaceholder, value: filterText,
|
|
267
314
|
// eslint-disable-next-line react/jsx-sort-props
|
|
268
315
|
ref: this.setFilterEl }), h("slot", { name: SLOTS.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: STACK_SLOTS.actionsEnd })))))) : null, h("tbody", { class: CSS.tableContainer }, h("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
269
316
|
}
|
|
317
|
+
// --------------------------------------------------------------------------
|
|
318
|
+
//
|
|
319
|
+
// Private Methods
|
|
320
|
+
//
|
|
321
|
+
// --------------------------------------------------------------------------
|
|
322
|
+
connectObserver() {
|
|
323
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
324
|
+
}
|
|
325
|
+
disconnectObserver() {
|
|
326
|
+
this.mutationObserver?.disconnect();
|
|
327
|
+
}
|
|
328
|
+
setUpSorting() {
|
|
329
|
+
const { dragEnabled } = this;
|
|
330
|
+
if (!dragEnabled) {
|
|
331
|
+
return;
|
|
332
|
+
}
|
|
333
|
+
connectSortableComponent(this);
|
|
334
|
+
}
|
|
335
|
+
onDragStart() {
|
|
336
|
+
this.disconnectObserver();
|
|
337
|
+
}
|
|
338
|
+
onDragEnd() {
|
|
339
|
+
this.connectObserver();
|
|
340
|
+
}
|
|
341
|
+
onDragSort(event) {
|
|
342
|
+
this.updateListItems();
|
|
343
|
+
const { from, item, to } = event;
|
|
344
|
+
this.calciteListOrderChange.emit({
|
|
345
|
+
dragEl: item,
|
|
346
|
+
fromEl: from,
|
|
347
|
+
toEl: to,
|
|
348
|
+
});
|
|
349
|
+
}
|
|
270
350
|
filterElements({ el, filteredItems, visibleParents, }) {
|
|
271
351
|
const hidden = !visibleParents.has(el) && !filteredItems.includes(el);
|
|
272
352
|
el.hidden = hidden;
|
|
@@ -302,6 +382,58 @@ export class List {
|
|
|
302
382
|
await filterEl.filter(filterText);
|
|
303
383
|
this.updateFilteredData();
|
|
304
384
|
}
|
|
385
|
+
handleNudgeEvent(event) {
|
|
386
|
+
const { direction } = event.detail;
|
|
387
|
+
const composedPath = event.composedPath();
|
|
388
|
+
const handle = composedPath.find((el) => el.tagName === "CALCITE-HANDLE");
|
|
389
|
+
const sortItem = composedPath.find((el) => el.tagName === "CALCITE-LIST-ITEM");
|
|
390
|
+
const parentEl = sortItem?.parentElement;
|
|
391
|
+
if (!parentEl) {
|
|
392
|
+
return;
|
|
393
|
+
}
|
|
394
|
+
const { enabledListItems } = this;
|
|
395
|
+
const sameParentItems = enabledListItems.filter((item) => item.parentElement === parentEl);
|
|
396
|
+
const lastIndex = sameParentItems.length - 1;
|
|
397
|
+
const startingIndex = sameParentItems.indexOf(sortItem);
|
|
398
|
+
let appendInstead = false;
|
|
399
|
+
let buddyIndex;
|
|
400
|
+
if (direction === "up") {
|
|
401
|
+
if (startingIndex === 0) {
|
|
402
|
+
appendInstead = true;
|
|
403
|
+
}
|
|
404
|
+
else {
|
|
405
|
+
buddyIndex = startingIndex - 1;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
else {
|
|
409
|
+
if (startingIndex === lastIndex) {
|
|
410
|
+
buddyIndex = 0;
|
|
411
|
+
}
|
|
412
|
+
else if (startingIndex === lastIndex - 1) {
|
|
413
|
+
appendInstead = true;
|
|
414
|
+
}
|
|
415
|
+
else {
|
|
416
|
+
buddyIndex = startingIndex + 2;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
this.disconnectObserver();
|
|
420
|
+
if (appendInstead) {
|
|
421
|
+
parentEl.appendChild(sortItem);
|
|
422
|
+
}
|
|
423
|
+
else {
|
|
424
|
+
parentEl.insertBefore(sortItem, sameParentItems[buddyIndex]);
|
|
425
|
+
}
|
|
426
|
+
this.updateListItems();
|
|
427
|
+
this.connectObserver();
|
|
428
|
+
this.calciteListOrderChange.emit({
|
|
429
|
+
dragEl: sortItem,
|
|
430
|
+
fromEl: null,
|
|
431
|
+
toEl: null,
|
|
432
|
+
});
|
|
433
|
+
handle.setFocus().then(() => {
|
|
434
|
+
handle.activated = true;
|
|
435
|
+
});
|
|
436
|
+
}
|
|
305
437
|
static get is() { return "calcite-list"; }
|
|
306
438
|
static get encapsulation() { return "shadow"; }
|
|
307
439
|
static get originalStyleUrls() {
|
|
@@ -334,6 +466,81 @@ export class List {
|
|
|
334
466
|
"reflect": true,
|
|
335
467
|
"defaultValue": "false"
|
|
336
468
|
},
|
|
469
|
+
"canPull": {
|
|
470
|
+
"type": "unknown",
|
|
471
|
+
"mutable": false,
|
|
472
|
+
"complexType": {
|
|
473
|
+
"original": "(event: DragEvent) => boolean",
|
|
474
|
+
"resolved": "(event: DragEvent) => boolean",
|
|
475
|
+
"references": {
|
|
476
|
+
"DragEvent": {
|
|
477
|
+
"location": "import",
|
|
478
|
+
"path": "../../utils/sortableComponent"
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"required": false,
|
|
483
|
+
"optional": false,
|
|
484
|
+
"docs": {
|
|
485
|
+
"tags": [],
|
|
486
|
+
"text": "When provided, the method will be called to determine whether the element can move from the list."
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
"canPut": {
|
|
490
|
+
"type": "unknown",
|
|
491
|
+
"mutable": false,
|
|
492
|
+
"complexType": {
|
|
493
|
+
"original": "(event: DragEvent) => boolean",
|
|
494
|
+
"resolved": "(event: DragEvent) => boolean",
|
|
495
|
+
"references": {
|
|
496
|
+
"DragEvent": {
|
|
497
|
+
"location": "import",
|
|
498
|
+
"path": "../../utils/sortableComponent"
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
"required": false,
|
|
503
|
+
"optional": false,
|
|
504
|
+
"docs": {
|
|
505
|
+
"tags": [],
|
|
506
|
+
"text": "When provided, the method will be called to determine whether the element can be added from another list."
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
"dragEnabled": {
|
|
510
|
+
"type": "boolean",
|
|
511
|
+
"mutable": false,
|
|
512
|
+
"complexType": {
|
|
513
|
+
"original": "boolean",
|
|
514
|
+
"resolved": "boolean",
|
|
515
|
+
"references": {}
|
|
516
|
+
},
|
|
517
|
+
"required": false,
|
|
518
|
+
"optional": false,
|
|
519
|
+
"docs": {
|
|
520
|
+
"tags": [],
|
|
521
|
+
"text": "When `true`, `calcite-list-item`s are sortable via a draggable button."
|
|
522
|
+
},
|
|
523
|
+
"attribute": "drag-enabled",
|
|
524
|
+
"reflect": true,
|
|
525
|
+
"defaultValue": "false"
|
|
526
|
+
},
|
|
527
|
+
"group": {
|
|
528
|
+
"type": "string",
|
|
529
|
+
"mutable": false,
|
|
530
|
+
"complexType": {
|
|
531
|
+
"original": "string",
|
|
532
|
+
"resolved": "string",
|
|
533
|
+
"references": {}
|
|
534
|
+
},
|
|
535
|
+
"required": false,
|
|
536
|
+
"optional": true,
|
|
537
|
+
"docs": {
|
|
538
|
+
"tags": [],
|
|
539
|
+
"text": "The list's group identifier.\n\nTo drag elements from one list into another, both lists must have the same group value."
|
|
540
|
+
},
|
|
541
|
+
"attribute": "group",
|
|
542
|
+
"reflect": true
|
|
543
|
+
},
|
|
337
544
|
"filterEnabled": {
|
|
338
545
|
"type": "boolean",
|
|
339
546
|
"mutable": false,
|
|
@@ -565,9 +772,10 @@ export class List {
|
|
|
565
772
|
}
|
|
566
773
|
static get states() {
|
|
567
774
|
return {
|
|
775
|
+
"assistiveText": {},
|
|
568
776
|
"dataForFilter": {},
|
|
569
|
-
"
|
|
570
|
-
"
|
|
777
|
+
"hasFilterActionsEnd": {},
|
|
778
|
+
"hasFilterActionsStart": {}
|
|
571
779
|
};
|
|
572
780
|
}
|
|
573
781
|
static get events() {
|
|
@@ -601,6 +809,46 @@ export class List {
|
|
|
601
809
|
"resolved": "void",
|
|
602
810
|
"references": {}
|
|
603
811
|
}
|
|
812
|
+
}, {
|
|
813
|
+
"method": "calciteListOrderChange",
|
|
814
|
+
"name": "calciteListOrderChange",
|
|
815
|
+
"bubbles": true,
|
|
816
|
+
"cancelable": false,
|
|
817
|
+
"composed": true,
|
|
818
|
+
"docs": {
|
|
819
|
+
"tags": [],
|
|
820
|
+
"text": "Emitted when the order of the list has changed."
|
|
821
|
+
},
|
|
822
|
+
"complexType": {
|
|
823
|
+
"original": "DragEvent",
|
|
824
|
+
"resolved": "DragEvent",
|
|
825
|
+
"references": {
|
|
826
|
+
"DragEvent": {
|
|
827
|
+
"location": "import",
|
|
828
|
+
"path": "../../utils/sortableComponent"
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
}, {
|
|
833
|
+
"method": "calciteInternalListDefaultSlotChange",
|
|
834
|
+
"name": "calciteInternalListDefaultSlotChange",
|
|
835
|
+
"bubbles": true,
|
|
836
|
+
"cancelable": false,
|
|
837
|
+
"composed": true,
|
|
838
|
+
"docs": {
|
|
839
|
+
"tags": [],
|
|
840
|
+
"text": "Emitted when the default slot has changes in order to notify parent lists."
|
|
841
|
+
},
|
|
842
|
+
"complexType": {
|
|
843
|
+
"original": "DragEvent",
|
|
844
|
+
"resolved": "DragEvent",
|
|
845
|
+
"references": {
|
|
846
|
+
"DragEvent": {
|
|
847
|
+
"location": "import",
|
|
848
|
+
"path": "../../utils/sortableComponent"
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
}
|
|
604
852
|
}];
|
|
605
853
|
}
|
|
606
854
|
static get methods() {
|
|
@@ -626,17 +874,23 @@ export class List {
|
|
|
626
874
|
static get elementRef() { return "el"; }
|
|
627
875
|
static get watchers() {
|
|
628
876
|
return [{
|
|
629
|
-
"propName": "filterEnabled",
|
|
630
|
-
"methodName": "handleFilterEnabledChange"
|
|
631
|
-
}, {
|
|
632
877
|
"propName": "filterText",
|
|
633
878
|
"methodName": "handleFilterTextChange"
|
|
879
|
+
}, {
|
|
880
|
+
"propName": "filterEnabled",
|
|
881
|
+
"methodName": "handleListItemChange"
|
|
882
|
+
}, {
|
|
883
|
+
"propName": "group",
|
|
884
|
+
"methodName": "handleListItemChange"
|
|
885
|
+
}, {
|
|
886
|
+
"propName": "dragEnabled",
|
|
887
|
+
"methodName": "handleListItemChange"
|
|
634
888
|
}, {
|
|
635
889
|
"propName": "selectionMode",
|
|
636
|
-
"methodName": "
|
|
890
|
+
"methodName": "handleListItemChange"
|
|
637
891
|
}, {
|
|
638
892
|
"propName": "selectionAppearance",
|
|
639
|
-
"methodName": "
|
|
893
|
+
"methodName": "handleListItemChange"
|
|
640
894
|
}];
|
|
641
895
|
}
|
|
642
896
|
static get listeners() {
|
|
@@ -658,6 +912,18 @@ export class List {
|
|
|
658
912
|
"target": undefined,
|
|
659
913
|
"capture": false,
|
|
660
914
|
"passive": false
|
|
915
|
+
}, {
|
|
916
|
+
"name": "calciteInternalHandleChange",
|
|
917
|
+
"method": "handleCalciteInternalHandleChange",
|
|
918
|
+
"target": undefined,
|
|
919
|
+
"capture": false,
|
|
920
|
+
"passive": false
|
|
921
|
+
}, {
|
|
922
|
+
"name": "calciteHandleNudge",
|
|
923
|
+
"method": "handleCalciteHandleNudge",
|
|
924
|
+
"target": undefined,
|
|
925
|
+
"capture": false,
|
|
926
|
+
"passive": false
|
|
661
927
|
}, {
|
|
662
928
|
"name": "calciteInternalListItemSelect",
|
|
663
929
|
"method": "handleCalciteInternalListItemSelect",
|
|
@@ -670,6 +936,12 @@ export class List {
|
|
|
670
936
|
"target": undefined,
|
|
671
937
|
"capture": false,
|
|
672
938
|
"passive": false
|
|
939
|
+
}, {
|
|
940
|
+
"name": "calciteInternalListItemGroupDefaultSlotChange",
|
|
941
|
+
"method": "handleCalciteInternalListItemGroupDefaultSlotChange",
|
|
942
|
+
"target": undefined,
|
|
943
|
+
"capture": false,
|
|
944
|
+
"passive": false
|
|
673
945
|
}];
|
|
674
946
|
}
|
|
675
947
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.33
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -10,6 +10,7 @@ export const CSS = {
|
|
|
10
10
|
stack: "stack",
|
|
11
11
|
tableContainer: "table-container",
|
|
12
12
|
sticky: "sticky-pos",
|
|
13
|
+
assistiveText: "assistive-text",
|
|
13
14
|
};
|
|
14
15
|
export const debounceTimeout = 0;
|
|
15
16
|
export const SLOTS = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.33
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host, } from "@stencil/core";
|
|
7
7
|
import { getElementDir, slotChangeHasAssignedElement, toAriaBoolean } from "../../utils/dom";
|
|
@@ -43,17 +43,7 @@ export class ListItem {
|
|
|
43
43
|
this.hasContentEnd = slotChangeHasAssignedElement(event);
|
|
44
44
|
};
|
|
45
45
|
this.handleDefaultSlotChange = (event) => {
|
|
46
|
-
|
|
47
|
-
const listItemChildren = getListItemChildren(event);
|
|
48
|
-
updateListItemChildren(listItemChildren);
|
|
49
|
-
const openable = !!listItemChildren.length;
|
|
50
|
-
if (openable && parentListEl && !parentListEl.openable) {
|
|
51
|
-
parentListEl.openable = true;
|
|
52
|
-
}
|
|
53
|
-
this.openable = openable;
|
|
54
|
-
if (!openable) {
|
|
55
|
-
this.open = false;
|
|
56
|
-
}
|
|
46
|
+
this.handleOpenableChange(event.target);
|
|
57
47
|
};
|
|
58
48
|
this.toggleOpen = () => {
|
|
59
49
|
this.open = !this.open;
|
|
@@ -153,6 +143,7 @@ export class ListItem {
|
|
|
153
143
|
this.closed = false;
|
|
154
144
|
this.description = undefined;
|
|
155
145
|
this.disabled = false;
|
|
146
|
+
this.dragHandle = false;
|
|
156
147
|
this.label = undefined;
|
|
157
148
|
this.metadata = undefined;
|
|
158
149
|
this.open = false;
|
|
@@ -193,9 +184,18 @@ export class ListItem {
|
|
|
193
184
|
onMessagesChange() {
|
|
194
185
|
/* wired up by t9n util */
|
|
195
186
|
}
|
|
187
|
+
handleCalciteInternalListDefaultSlotChanges(event) {
|
|
188
|
+
event.stopPropagation();
|
|
189
|
+
this.handleOpenableChange(this.defaultSlotEl);
|
|
190
|
+
}
|
|
196
191
|
effectiveLocaleChange() {
|
|
197
192
|
updateMessages(this, this.effectiveLocale);
|
|
198
193
|
}
|
|
194
|
+
// --------------------------------------------------------------------------
|
|
195
|
+
//
|
|
196
|
+
// Lifecycle
|
|
197
|
+
//
|
|
198
|
+
// --------------------------------------------------------------------------
|
|
199
199
|
connectedCallback() {
|
|
200
200
|
connectInteractive(this);
|
|
201
201
|
connectLocalized(this);
|
|
@@ -259,6 +259,9 @@ export class ListItem {
|
|
|
259
259
|
: ICONS.selectedSingle
|
|
260
260
|
: ICONS.unselected, scale: "s" })));
|
|
261
261
|
}
|
|
262
|
+
renderDragHandle() {
|
|
263
|
+
return this.dragHandle ? (h("td", { class: CSS.dragContainer, key: "drag-handle-container" }, h("calcite-handle", { label: this.label, setPosition: this.setPosition, setSize: this.setSize }))) : null;
|
|
264
|
+
}
|
|
262
265
|
renderOpen() {
|
|
263
266
|
const { el, open, openable, parentListEl } = this;
|
|
264
267
|
const dir = getElementDir(el);
|
|
@@ -320,10 +323,10 @@ export class ListItem {
|
|
|
320
323
|
[CSS.containerBorderUnselected]: borderUnselected,
|
|
321
324
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
322
325
|
// eslint-disable-next-line react/jsx-sort-props
|
|
323
|
-
ref: (el) => (this.containerEl = el) }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), h("div", { class: {
|
|
326
|
+
ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), h("div", { class: {
|
|
324
327
|
[CSS.nestedContainer]: true,
|
|
325
328
|
[CSS.nestedContainerHidden]: openable && !open,
|
|
326
|
-
} }, h("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
329
|
+
} }, h("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (el) => (this.defaultSlotEl = el) }))));
|
|
327
330
|
}
|
|
328
331
|
// --------------------------------------------------------------------------
|
|
329
332
|
//
|
|
@@ -345,6 +348,22 @@ export class ListItem {
|
|
|
345
348
|
this.selectionAppearance = parentListEl.selectionAppearance;
|
|
346
349
|
}
|
|
347
350
|
}
|
|
351
|
+
handleOpenableChange(slotEl) {
|
|
352
|
+
if (!slotEl) {
|
|
353
|
+
return;
|
|
354
|
+
}
|
|
355
|
+
const { parentListEl } = this;
|
|
356
|
+
const listItemChildren = getListItemChildren(slotEl);
|
|
357
|
+
updateListItemChildren(listItemChildren);
|
|
358
|
+
const openable = !!listItemChildren.length;
|
|
359
|
+
if (openable && parentListEl && !parentListEl.openable) {
|
|
360
|
+
parentListEl.openable = true;
|
|
361
|
+
}
|
|
362
|
+
this.openable = openable;
|
|
363
|
+
if (!openable) {
|
|
364
|
+
this.open = false;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
348
367
|
static get is() { return "calcite-list-item"; }
|
|
349
368
|
static get encapsulation() { return "shadow"; }
|
|
350
369
|
static get originalStyleUrls() {
|
|
@@ -452,6 +471,27 @@ export class ListItem {
|
|
|
452
471
|
"reflect": true,
|
|
453
472
|
"defaultValue": "false"
|
|
454
473
|
},
|
|
474
|
+
"dragHandle": {
|
|
475
|
+
"type": "boolean",
|
|
476
|
+
"mutable": false,
|
|
477
|
+
"complexType": {
|
|
478
|
+
"original": "boolean",
|
|
479
|
+
"resolved": "boolean",
|
|
480
|
+
"references": {}
|
|
481
|
+
},
|
|
482
|
+
"required": false,
|
|
483
|
+
"optional": false,
|
|
484
|
+
"docs": {
|
|
485
|
+
"tags": [{
|
|
486
|
+
"name": "internal",
|
|
487
|
+
"text": undefined
|
|
488
|
+
}],
|
|
489
|
+
"text": "When `true`, the component displays a draggable button."
|
|
490
|
+
},
|
|
491
|
+
"attribute": "drag-handle",
|
|
492
|
+
"reflect": false,
|
|
493
|
+
"defaultValue": "false"
|
|
494
|
+
},
|
|
455
495
|
"label": {
|
|
456
496
|
"type": "string",
|
|
457
497
|
"mutable": false,
|
|
@@ -848,4 +888,19 @@ export class ListItem {
|
|
|
848
888
|
"methodName": "effectiveLocaleChange"
|
|
849
889
|
}];
|
|
850
890
|
}
|
|
891
|
+
static get listeners() {
|
|
892
|
+
return [{
|
|
893
|
+
"name": "calciteInternalListItemGroupDefaultSlotChange",
|
|
894
|
+
"method": "handleCalciteInternalListDefaultSlotChanges",
|
|
895
|
+
"target": undefined,
|
|
896
|
+
"capture": false,
|
|
897
|
+
"passive": false
|
|
898
|
+
}, {
|
|
899
|
+
"name": "calciteInternalListDefaultSlotChange",
|
|
900
|
+
"method": "handleCalciteInternalListDefaultSlotChanges",
|
|
901
|
+
"target": undefined,
|
|
902
|
+
"capture": false,
|
|
903
|
+
"passive": false
|
|
904
|
+
}];
|
|
905
|
+
}
|
|
851
906
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.33
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -22,6 +22,7 @@ export const CSS = {
|
|
|
22
22
|
actionsEnd: "actions-end",
|
|
23
23
|
selectionContainer: "selection-container",
|
|
24
24
|
openContainer: "open-container",
|
|
25
|
+
dragContainer: "drag-container",
|
|
25
26
|
};
|
|
26
27
|
export const SLOTS = {
|
|
27
28
|
actionsStart: "actions-start",
|
|
@@ -30,7 +31,8 @@ export const SLOTS = {
|
|
|
30
31
|
contentEnd: "content-end",
|
|
31
32
|
actionsEnd: "actions-end",
|
|
32
33
|
};
|
|
33
|
-
|
|
34
|
+
// Set to zero to extend until the end of the table section.
|
|
35
|
+
export const MAX_COLUMNS = 0;
|
|
34
36
|
export const ICONS = {
|
|
35
37
|
selectedMultiple: "check-circle-f",
|
|
36
38
|
selectedSingle: "circle-f",
|