@esri/calcite-components 2.9.0-next.2 → 2.9.0-next.20
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/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/assets/icon/binary16.json +1 -0
- package/dist/calcite/assets/icon/binary24.json +1 -0
- package/dist/calcite/assets/icon/binary32.json +1 -0
- package/dist/calcite/assets/icon/brackets16.json +1 -0
- package/dist/calcite/assets/icon/brackets24.json +1 -0
- package/dist/calcite/assets/icon/brackets32.json +1 -0
- package/dist/calcite/assets/icon/developerCredentials16.json +1 -0
- package/dist/calcite/assets/icon/developerCredentials24.json +1 -0
- package/dist/calcite/assets/icon/developerCredentials32.json +1 -0
- package/dist/calcite/assets/icon/modifyAssociations16.json +1 -0
- package/dist/calcite/assets/icon/modifyAssociations24.json +1 -0
- package/dist/calcite/assets/icon/modifyAssociations32.json +1 -0
- package/dist/calcite/assets/icon/pasteWithAttribute16.json +1 -0
- package/dist/calcite/assets/icon/pasteWithAttribute24.json +1 -0
- package/dist/calcite/assets/icon/pasteWithAttribute32.json +1 -0
- package/dist/calcite/assets/icon/pasteWithoutAttribute16.json +1 -0
- package/dist/calcite/assets/icon/pasteWithoutAttribute24.json +1 -0
- package/dist/calcite/assets/icon/pasteWithoutAttribute32.json +1 -0
- package/dist/calcite/assets/icon/subFields16.json +1 -0
- package/dist/calcite/assets/icon/subFields24.json +1 -0
- package/dist/calcite/assets/icon/subFields32.json +1 -0
- package/dist/calcite/assets/icon/utilityNetwork16.json +1 -0
- package/dist/calcite/assets/icon/utilityNetwork24.json +1 -0
- package/dist/calcite/assets/icon/utilityNetwork32.json +1 -0
- package/dist/calcite/assets/icon/validateUtilityNetworkTopology16.json +1 -0
- package/dist/calcite/assets/icon/validateUtilityNetworkTopology24.json +1 -0
- package/dist/calcite/assets/icon/validateUtilityNetworkTopology32.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00fb4b18.js +7 -0
- package/dist/calcite/p-01a0ded2.entry.js +7 -0
- package/dist/calcite/p-01a0ded2.entry.js.map +1 -0
- package/dist/calcite/p-02f20832.js +7 -0
- package/dist/calcite/p-03e7828b.js +7 -0
- package/dist/calcite/p-045f7080.entry.js +7 -0
- package/dist/calcite/p-04827dbc.entry.js +7 -0
- package/dist/calcite/p-04827dbc.entry.js.map +1 -0
- package/dist/calcite/p-0524c890.entry.js +7 -0
- package/dist/calcite/p-0524c890.entry.js.map +1 -0
- package/dist/calcite/p-0592bb74.js +7 -0
- package/dist/calcite/p-06264a70.js +7 -0
- package/dist/calcite/p-0675423d.entry.js +7 -0
- package/dist/calcite/p-068f8baa.js +7 -0
- package/dist/calcite/p-068f8baa.js.map +1 -0
- package/dist/calcite/p-0af75a98.js +7 -0
- package/dist/calcite/p-0af75a98.js.map +1 -0
- package/dist/calcite/p-0b321c90.entry.js +7 -0
- package/dist/calcite/p-0b321c90.entry.js.map +1 -0
- package/dist/calcite/p-0b425650.entry.js +7 -0
- package/dist/calcite/p-0cb0ffad.entry.js +7 -0
- package/dist/calcite/p-0cb0ffad.entry.js.map +1 -0
- package/dist/calcite/p-0d38002d.js +7 -0
- package/dist/calcite/p-0e14f6ba.js +7 -0
- package/dist/calcite/p-0fbdc961.entry.js +7 -0
- package/dist/calcite/p-0fbdc961.entry.js.map +1 -0
- package/dist/calcite/p-0ff6396a.entry.js +7 -0
- package/dist/calcite/p-0ff6396a.entry.js.map +1 -0
- package/dist/calcite/p-1135c383.entry.js +7 -0
- package/dist/calcite/p-1135c383.entry.js.map +1 -0
- package/dist/calcite/p-137cb2d8.js +7 -0
- package/dist/calcite/p-14d42338.entry.js +7 -0
- package/dist/calcite/p-154f3f26.entry.js +7 -0
- package/dist/calcite/p-154f3f26.entry.js.map +1 -0
- package/dist/calcite/p-17b10f97.entry.js +7 -0
- package/dist/calcite/p-17b10f97.entry.js.map +1 -0
- package/dist/calcite/p-1a5a3816.js +7 -0
- package/dist/calcite/p-1b66a670.js +7 -0
- package/dist/calcite/p-1befc448.entry.js +7 -0
- package/dist/calcite/p-216d3475.js +7 -0
- package/dist/calcite/p-23562709.js +13 -0
- package/dist/calcite/p-23e6adeb.entry.js +7 -0
- package/dist/calcite/p-27b469a5.js +7 -0
- package/dist/calcite/p-27e6101c.entry.js +7 -0
- package/dist/calcite/p-28d72f23.js +7 -0
- package/dist/calcite/p-2cf00d1c.entry.js +7 -0
- package/dist/calcite/p-2e65afe6.js +7 -0
- package/dist/calcite/p-2ed6a191.entry.js +7 -0
- package/dist/calcite/p-2ed6a191.entry.js.map +1 -0
- package/dist/calcite/p-2fec90cc.js +7 -0
- package/dist/calcite/p-300037e0.js +7 -0
- package/dist/calcite/p-30d8205f.entry.js +7 -0
- package/dist/calcite/p-30d8205f.entry.js.map +1 -0
- package/dist/calcite/p-323499c6.js +7 -0
- package/dist/calcite/p-33936156.entry.js +7 -0
- package/dist/calcite/p-33987720.js +7 -0
- package/dist/calcite/p-34b88712.js +7 -0
- package/dist/calcite/p-387e481e.entry.js +7 -0
- package/dist/calcite/p-387e481e.entry.js.map +1 -0
- package/dist/calcite/p-3a3babb1.entry.js +7 -0
- package/dist/calcite/p-3a3babb1.entry.js.map +1 -0
- package/dist/calcite/p-3c7de4a4.js +7 -0
- package/dist/calcite/p-3dcfa03c.entry.js +7 -0
- package/dist/calcite/p-3dcfa03c.entry.js.map +1 -0
- package/dist/calcite/p-3df50746.entry.js +7 -0
- package/dist/calcite/p-3df50746.entry.js.map +1 -0
- package/dist/calcite/p-3e6a898c.entry.js +7 -0
- package/dist/calcite/p-3e6a898c.entry.js.map +1 -0
- package/dist/calcite/p-430070a0.entry.js +7 -0
- package/dist/calcite/p-430070a0.entry.js.map +1 -0
- package/dist/calcite/p-44bcb296.js +7 -0
- package/dist/calcite/p-471cd147.entry.js +7 -0
- package/dist/calcite/p-489ab4db.js +7 -0
- package/dist/calcite/p-4ce7ed41.js +7 -0
- package/dist/calcite/p-4d984389.js +7 -0
- package/dist/calcite/p-512fc7f4.entry.js +7 -0
- package/dist/calcite/p-512fc7f4.entry.js.map +1 -0
- package/dist/calcite/p-53206461.js +7 -0
- package/dist/calcite/p-537bd8ad.js +7 -0
- package/dist/calcite/p-56c5a9db.js +7 -0
- package/dist/calcite/p-57e21d44.js +7 -0
- package/dist/calcite/p-5a2e88a5.js +7 -0
- package/dist/calcite/p-5ed38cb9.js +7 -0
- package/dist/calcite/p-601d8185.js +7 -0
- package/dist/calcite/p-61ca3fb5.js +7 -0
- package/dist/calcite/p-64a13b2b.js +7 -0
- package/dist/calcite/p-65993850.entry.js +7 -0
- package/dist/calcite/p-65993850.entry.js.map +1 -0
- package/dist/calcite/p-6692e3d8.entry.js +7 -0
- package/dist/calcite/p-6692e3d8.entry.js.map +1 -0
- package/dist/calcite/p-692ed798.js +7 -0
- package/dist/calcite/p-6be4c997.js +7 -0
- package/dist/calcite/p-6d735fc5.js +7 -0
- package/dist/calcite/p-6d7ea488.js +7 -0
- package/dist/calcite/p-6efb98d1.entry.js +7 -0
- package/dist/calcite/p-6efb98d1.entry.js.map +1 -0
- package/dist/calcite/p-70c530fa.js +7 -0
- package/dist/calcite/p-721693d5.entry.js +7 -0
- package/dist/calcite/p-722485f5.js +7 -0
- package/dist/calcite/p-731c80e1.entry.js +7 -0
- package/dist/calcite/p-73fb5bf5.entry.js +7 -0
- package/dist/calcite/p-73fb5bf5.entry.js.map +1 -0
- package/dist/calcite/p-751f67e1.entry.js +7 -0
- package/dist/calcite/p-751f67e1.entry.js.map +1 -0
- package/dist/calcite/p-753b8e41.entry.js +7 -0
- package/dist/calcite/p-753b8e41.entry.js.map +1 -0
- package/dist/calcite/p-76a05023.js +7 -0
- package/dist/calcite/p-7808f2ea.js +7 -0
- package/dist/calcite/p-7929e123.js +7 -0
- package/dist/calcite/p-7d9caf84.entry.js +7 -0
- package/dist/calcite/p-8056b9f5.js +7 -0
- package/dist/calcite/p-80c8be6a.entry.js +7 -0
- package/dist/calcite/p-80c8be6a.entry.js.map +1 -0
- package/dist/calcite/p-8214890d.js +7 -0
- package/dist/calcite/p-82acae3a.entry.js +7 -0
- package/dist/calcite/p-831ada63.entry.js +7 -0
- package/dist/calcite/p-831ada63.entry.js.map +1 -0
- package/dist/calcite/p-8356a697.js +7 -0
- package/dist/calcite/p-8582076d.entry.js +7 -0
- package/dist/calcite/p-859f14a3.entry.js +7 -0
- package/dist/calcite/p-859f14a3.entry.js.map +1 -0
- package/dist/calcite/p-87e00193.js +7 -0
- package/dist/calcite/p-8a489084.js +7 -0
- package/dist/calcite/p-8a5e2f30.js +7 -0
- package/dist/calcite/p-8a92a3ce.js +7 -0
- package/dist/calcite/p-8a92a3ce.js.map +1 -0
- package/dist/calcite/p-8b0bb670.entry.js +7 -0
- package/dist/calcite/p-8b0bb670.entry.js.map +1 -0
- package/dist/calcite/p-8e3a4720.js +7 -0
- package/dist/calcite/p-9229616c.js +7 -0
- package/dist/calcite/p-93814eea.js +7 -0
- package/dist/calcite/p-94138947.js +11 -0
- package/dist/calcite/p-94231d36.js +7 -0
- package/dist/calcite/p-94ac8f9c.entry.js +7 -0
- package/dist/calcite/p-94ac8f9c.entry.js.map +1 -0
- package/dist/calcite/p-99726b90.js +12 -0
- package/dist/calcite/p-99726b90.js.map +1 -0
- package/dist/calcite/p-9afafa31.js +7 -0
- package/dist/calcite/p-9de6957a.entry.js +7 -0
- package/dist/calcite/p-9de6957a.entry.js.map +1 -0
- package/dist/calcite/p-9e5dd305.js +7 -0
- package/dist/calcite/p-9e5dd305.js.map +1 -0
- package/dist/calcite/p-a1729828.js +7 -0
- package/dist/calcite/p-a241e050.js +7 -0
- package/dist/calcite/p-a5a0d3d9.entry.js +7 -0
- package/dist/calcite/p-a5a0d3d9.entry.js.map +1 -0
- package/dist/calcite/p-a79a0ef2.entry.js +7 -0
- package/dist/calcite/p-a79a0ef2.entry.js.map +1 -0
- package/dist/calcite/p-aa1f3bb0.js +7 -0
- package/dist/calcite/p-aa308524.entry.js +7 -0
- package/dist/calcite/p-aa308524.entry.js.map +1 -0
- package/dist/calcite/p-ac40db38.js +7 -0
- package/dist/calcite/p-ad00867d.js +7 -0
- package/dist/calcite/p-adf2e09b.entry.js +7 -0
- package/dist/calcite/p-ae04d854.js +7 -0
- package/dist/calcite/p-ae81e665.js +7 -0
- package/dist/calcite/p-ae81e665.js.map +1 -0
- package/dist/calcite/p-afaa8bd6.js +7 -0
- package/dist/calcite/p-b29c10c7.entry.js +7 -0
- package/dist/calcite/p-b52b38a9.entry.js +7 -0
- package/dist/calcite/p-b52b38a9.entry.js.map +1 -0
- package/dist/calcite/p-b5e1810c.js +7 -0
- package/dist/calcite/p-b7961c5a.entry.js +7 -0
- package/dist/calcite/p-b7961c5a.entry.js.map +1 -0
- package/dist/calcite/p-b8ccf070.js +7 -0
- package/dist/calcite/p-b8ccf070.js.map +1 -0
- package/dist/calcite/p-b8e56d6d.js +7 -0
- package/dist/calcite/p-b9975309.js +7 -0
- package/dist/calcite/p-bd448edf.entry.js +7 -0
- package/dist/calcite/p-bd448edf.entry.js.map +1 -0
- package/dist/calcite/p-bd71120b.js +7 -0
- package/dist/calcite/p-bf0746a3.js +7 -0
- package/dist/calcite/p-bf0746a3.js.map +1 -0
- package/dist/calcite/p-bf2e69be.entry.js +7 -0
- package/dist/calcite/p-bf2e69be.entry.js.map +1 -0
- package/dist/calcite/p-bf46ae45.js +7 -0
- package/dist/calcite/p-c15f09d4.js +7 -0
- package/dist/calcite/p-c24b409e.entry.js +7 -0
- package/dist/calcite/p-c24b409e.entry.js.map +1 -0
- package/dist/calcite/p-c26dde6d.js +7 -0
- package/dist/calcite/p-c51bb7a7.entry.js +7 -0
- package/dist/calcite/p-c51bb7a7.entry.js.map +1 -0
- package/dist/calcite/p-c5480e93.js +7 -0
- package/dist/calcite/p-c5966b3e.js +7 -0
- package/dist/calcite/p-c648d437.js +7 -0
- package/dist/calcite/p-c6f9db24.js +7 -0
- package/dist/calcite/p-c826795e.entry.js +7 -0
- package/dist/calcite/p-cfaec1e1.js +7 -0
- package/dist/calcite/p-cfd060b6.entry.js +7 -0
- package/dist/calcite/p-d1fb0d16.entry.js +7 -0
- package/dist/calcite/p-d1fb0d16.entry.js.map +1 -0
- package/dist/calcite/p-d2fbfca1.entry.js +7 -0
- package/dist/calcite/p-d4786ef7.js +7 -0
- package/dist/calcite/p-d689065d.js +7 -0
- package/dist/calcite/p-d9901236.entry.js +7 -0
- package/dist/calcite/p-d9901236.entry.js.map +1 -0
- package/dist/calcite/p-d9fc942d.entry.js +7 -0
- package/dist/calcite/p-d9fc942d.entry.js.map +1 -0
- package/dist/calcite/p-db0eb43a.entry.js +7 -0
- package/dist/calcite/p-db0eb43a.entry.js.map +1 -0
- package/dist/calcite/p-dc15734f.js +7 -0
- package/dist/calcite/p-dcdf72f0.entry.js +7 -0
- package/dist/calcite/p-dd1ec8aa.js +7 -0
- package/dist/calcite/p-dd1ec8aa.js.map +1 -0
- package/dist/calcite/p-e0aee19b.entry.js +7 -0
- package/dist/calcite/p-e48d006d.js +8 -0
- package/dist/calcite/p-e8aee604.entry.js +7 -0
- package/dist/calcite/p-e944ffce.entry.js +7 -0
- package/dist/calcite/p-e944ffce.entry.js.map +1 -0
- package/dist/calcite/p-e990b472.js +7 -0
- package/dist/calcite/p-effbb31d.js +7 -0
- package/dist/calcite/p-effbb31d.js.map +1 -0
- package/dist/calcite/p-f0c109de.entry.js +7 -0
- package/dist/calcite/p-f0c109de.entry.js.map +1 -0
- package/dist/calcite/p-f246c231.js +7 -0
- package/dist/calcite/p-f3ebaf96.entry.js +7 -0
- package/dist/calcite/p-f9bb2b7b.js +7 -0
- package/dist/calcite/p-fba41ecf.entry.js +7 -0
- package/dist/calcite/p-fba41ecf.entry.js.map +1 -0
- package/dist/calcite/p-fbb63962.entry.js +7 -0
- package/dist/calcite/p-fcf783fe.entry.js +7 -0
- package/dist/calcite/p-fcf783fe.entry.js.map +1 -0
- package/dist/calcite/p-fe77f56d.entry.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-0f8422a7.js +108 -0
- package/dist/cjs/ExpandToggle-0f8422a7.js.map +1 -0
- package/dist/cjs/FloatingArrow-360b5517.js +47 -0
- package/dist/cjs/FloatingArrow-360b5517.js.map +1 -0
- package/dist/cjs/Heading-bcb8b114.js +22 -0
- package/dist/cjs/Heading-bcb8b114.js.map +1 -0
- package/dist/cjs/Validation-b1edd79e.js +18 -0
- package/dist/cjs/Validation-b1edd79e.js.map +1 -0
- package/dist/cjs/app-globals-fb7330bc.js +61 -0
- package/dist/cjs/app-globals-fb7330bc.js.map +1 -0
- package/dist/cjs/ar-3ddf6e08.js +106 -0
- package/dist/cjs/ar-3ddf6e08.js.map +1 -0
- package/dist/cjs/array-919a0af3.js +14 -0
- package/dist/cjs/array-919a0af3.js.map +1 -0
- package/dist/cjs/bg-6d6ea727.js +84 -0
- package/dist/cjs/bg-6d6ea727.js.map +1 -0
- package/dist/cjs/browser-d83e81a6.js +22 -0
- package/dist/cjs/browser-d83e81a6.js.map +1 -0
- package/dist/cjs/bs-cfa2f629.js +53 -0
- package/dist/cjs/bs-cfa2f629.js.map +1 -0
- package/dist/cjs/ca-2c07e972.js +73 -0
- package/dist/cjs/ca-2c07e972.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +24 -11
- package/dist/cjs/calcite-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -15
- package/dist/cjs/calcite-action-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -13
- package/dist/cjs/calcite-action-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -14
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +48 -32
- package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-card-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +13 -12
- package/dist/cjs/calcite-card.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +38 -19
- package/dist/cjs/calcite-carousel_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +23 -14
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-chip-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -16
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +27 -30
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +32 -35
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +9 -8
- package/dist/cjs/calcite-fab.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +15 -14
- package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow-item.cjs.entry.js +17 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow.cjs.entry.js +5 -4
- package/dist/cjs/calcite-flow.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +15 -14
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -26
- package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number.cjs.entry.js +30 -30
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +24 -24
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-509d7cb4.js +2917 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-509d7cb4.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input.cjs.entry.js +30 -30
- package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-label.cjs.entry.js +8 -8
- package/dist/cjs/calcite-link.cjs.entry.js +13 -12
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +20 -19
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-meter.cjs.entry.js +12 -11
- package/dist/cjs/calcite-meter.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +18 -18
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-navigation_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +16 -16
- package/dist/cjs/calcite-option_3.cjs.entry.js +25 -18
- package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +26 -18
- package/dist/cjs/calcite-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -20
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-popover.cjs.entry.js +20 -20
- package/dist/cjs/calcite-progress.cjs.entry.js +6 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-rating.cjs.entry.js +17 -17
- package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +58 -26
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -9
- package/dist/cjs/calcite-sheet.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-shell_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +7 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +26 -23
- package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +20 -14
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +17 -13
- package/dist/cjs/calcite-table.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-text-area.cjs.entry.js +20 -20
- package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +10 -9
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +10 -9
- package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-62e55d43.js +52 -0
- package/dist/cjs/component-62e55d43.js.map +1 -0
- package/dist/cjs/conditionalSlot-b71cd4f5.js +51 -0
- package/dist/cjs/conditionalSlot-b71cd4f5.js.map +1 -0
- package/dist/cjs/core-e8a9eefe.js +22 -0
- package/dist/cjs/core-e8a9eefe.js.map +1 -0
- package/dist/cjs/cs-7c3c0af0.js +149 -0
- package/dist/cjs/cs-7c3c0af0.js.map +1 -0
- package/dist/cjs/da-3f278784.js +68 -0
- package/dist/cjs/da-3f278784.js.map +1 -0
- package/dist/cjs/de-64624257.js +93 -0
- package/dist/cjs/de-64624257.js.map +1 -0
- package/dist/cjs/de-at-1a8b8475.js +92 -0
- package/dist/cjs/de-at-1a8b8475.js.map +1 -0
- package/dist/cjs/de-ch-7549cde4.js +92 -0
- package/dist/cjs/de-ch-7549cde4.js.map +1 -0
- package/dist/cjs/debounce-8594d56b.js +506 -0
- package/dist/cjs/debounce-8594d56b.js.map +1 -0
- package/dist/cjs/dom-4f3978e9.js +1144 -0
- package/dist/cjs/dom-4f3978e9.js.map +1 -0
- package/dist/cjs/el-aaffee9d.js +68 -0
- package/dist/cjs/el-aaffee9d.js.map +1 -0
- package/dist/cjs/en-au-434c9210.js +68 -0
- package/dist/cjs/en-au-434c9210.js.map +1 -0
- package/dist/cjs/en-ca-a06e9e56.js +67 -0
- package/dist/cjs/en-ca-a06e9e56.js.map +1 -0
- package/dist/cjs/en-gb-438d1413.js +71 -0
- package/dist/cjs/en-gb-438d1413.js.map +1 -0
- package/dist/cjs/es-0458133a.js +68 -0
- package/dist/cjs/es-0458133a.js.map +1 -0
- package/dist/cjs/es-mx-4bc1a3ca.js +67 -0
- package/dist/cjs/es-mx-4bc1a3ca.js.map +1 -0
- package/dist/cjs/et-3a7132c8.js +94 -0
- package/dist/cjs/et-3a7132c8.js.map +1 -0
- package/dist/cjs/fi-727a4807.js +117 -0
- package/dist/cjs/fi-727a4807.js.map +1 -0
- package/dist/cjs/filter-d8b68281.js +774 -0
- package/dist/cjs/filter-d8b68281.js.map +1 -0
- package/dist/cjs/floating-ui-d4a2ecab.js +2305 -0
- package/dist/cjs/floating-ui-d4a2ecab.js.map +1 -0
- package/dist/cjs/focusTrapComponent-357c2193.js +1020 -0
- package/dist/cjs/focusTrapComponent-357c2193.js.map +1 -0
- package/dist/cjs/form-228b04bd.js +378 -0
- package/dist/cjs/form-228b04bd.js.map +1 -0
- package/dist/cjs/fr-ch-4fd1e0df.js +68 -0
- package/dist/cjs/fr-ch-4fd1e0df.js.map +1 -0
- package/dist/cjs/fr-e368ffc2.js +70 -0
- package/dist/cjs/fr-e368ffc2.js.map +1 -0
- package/dist/cjs/guid-70d8b321.js +23 -0
- package/dist/cjs/guid-70d8b321.js.map +1 -0
- package/dist/cjs/he-0ae1abd3.js +107 -0
- package/dist/cjs/he-0ae1abd3.js.map +1 -0
- package/dist/cjs/hi-5b478f2b.js +67 -0
- package/dist/cjs/hi-5b478f2b.js.map +1 -0
- package/dist/cjs/hr-1f850dbd.js +82 -0
- package/dist/cjs/hr-1f850dbd.js.map +1 -0
- package/dist/cjs/hu-42d857ca.js +90 -0
- package/dist/cjs/hu-42d857ca.js.map +1 -0
- package/dist/cjs/id-534cae05.js +68 -0
- package/dist/cjs/id-534cae05.js.map +1 -0
- package/dist/cjs/index-9c92c56e.js +208 -0
- package/dist/cjs/index-9c92c56e.js.map +1 -0
- package/dist/cjs/index-ca9c5738.js +1934 -0
- package/dist/cjs/index-ca9c5738.js.map +1 -0
- package/dist/cjs/index-e1045e3d.js +75 -0
- package/dist/cjs/index-e1045e3d.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-5385ae4f.js +57 -0
- package/dist/cjs/input-5385ae4f.js.map +1 -0
- package/dist/cjs/interactive-46826d66.js +151 -0
- package/dist/cjs/interactive-46826d66.js.map +1 -0
- package/dist/cjs/it-41520cf9.js +68 -0
- package/dist/cjs/it-41520cf9.js.map +1 -0
- package/dist/cjs/it-ch-e30195a3.js +68 -0
- package/dist/cjs/it-ch-e30195a3.js.map +1 -0
- package/dist/cjs/ja-a23ffcf7.js +74 -0
- package/dist/cjs/ja-a23ffcf7.js.map +1 -0
- package/dist/cjs/key-987bfdfb.js +16 -0
- package/dist/cjs/key-987bfdfb.js.map +1 -0
- package/dist/cjs/ko-88245a3e.js +74 -0
- package/dist/cjs/ko-88245a3e.js.map +1 -0
- package/dist/cjs/label-0eaf6fab.js +183 -0
- package/dist/cjs/label-0eaf6fab.js.map +1 -0
- package/dist/cjs/loadable-485b5ca8.js +97 -0
- package/dist/cjs/loadable-485b5ca8.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-22e50901.js +576 -0
- package/dist/cjs/locale-22e50901.js.map +1 -0
- package/dist/cjs/lt-127ed086.js +99 -0
- package/dist/cjs/lt-127ed086.js.map +1 -0
- package/dist/cjs/lv-704c65ff.js +68 -0
- package/dist/cjs/lv-704c65ff.js.map +1 -0
- package/dist/cjs/math-dac59516.js +57 -0
- package/dist/cjs/math-dac59516.js.map +1 -0
- package/dist/cjs/mk-14dfa897.js +68 -0
- package/dist/cjs/mk-14dfa897.js.map +1 -0
- package/dist/cjs/nb-32283587.js +69 -0
- package/dist/cjs/nb-32283587.js.map +1 -0
- package/dist/cjs/nl-04976d71.js +69 -0
- package/dist/cjs/nl-04976d71.js.map +1 -0
- package/dist/cjs/observers-64d0e318.js +52 -0
- package/dist/cjs/observers-64d0e318.js.map +1 -0
- package/dist/cjs/openCloseComponent-9808d3ab.js +90 -0
- package/dist/cjs/openCloseComponent-9808d3ab.js.map +1 -0
- package/dist/cjs/pl-97c0c2ac.js +116 -0
- package/dist/cjs/pl-97c0c2ac.js.map +1 -0
- package/dist/cjs/pt-9d234ef6.js +69 -0
- package/dist/cjs/pt-9d234ef6.js.map +1 -0
- package/dist/cjs/pt-br-2fbbd2df.js +67 -0
- package/dist/cjs/pt-br-2fbbd2df.js.map +1 -0
- package/dist/cjs/resources-4a829183.js +26 -0
- package/dist/cjs/resources-4a829183.js.map +1 -0
- package/dist/cjs/resources-4e7c272c.js +18 -0
- package/dist/cjs/resources-4e7c272c.js.map +1 -0
- package/dist/cjs/resources-61962911.js +410 -0
- package/dist/cjs/resources-61962911.js.map +1 -0
- package/dist/cjs/resources-82cb9341.js +23 -0
- package/dist/cjs/resources-82cb9341.js.map +1 -0
- package/dist/cjs/resources-834b5f1f.js +26 -0
- package/dist/cjs/resources-834b5f1f.js.map +1 -0
- package/dist/cjs/resources-e6acc4bc.js +53 -0
- package/dist/cjs/resources-e6acc4bc.js.map +1 -0
- package/dist/cjs/resources-ea1d0de4.js +29 -0
- package/dist/cjs/resources-ea1d0de4.js.map +1 -0
- package/dist/cjs/ro-929007ac.js +68 -0
- package/dist/cjs/ro-929007ac.js.map +1 -0
- package/dist/cjs/ru-81b9528c.js +128 -0
- package/dist/cjs/ru-81b9528c.js.map +1 -0
- package/dist/cjs/sk-bf76e905.js +150 -0
- package/dist/cjs/sk-bf76e905.js.map +1 -0
- package/dist/cjs/sl-f8cdbf05.js +170 -0
- package/dist/cjs/sl-f8cdbf05.js.map +1 -0
- package/dist/cjs/sortableComponent-e2be036e.js +2744 -0
- package/dist/cjs/sortableComponent-e2be036e.js.map +1 -0
- package/dist/cjs/sr-9ecbe292.js +103 -0
- package/dist/cjs/sr-9ecbe292.js.map +1 -0
- package/dist/cjs/sv-1d96f7e3.js +73 -0
- package/dist/cjs/sv-1d96f7e3.js.map +1 -0
- package/dist/cjs/t9n-a2235c64.js +101 -0
- package/dist/cjs/t9n-a2235c64.js.map +1 -0
- package/dist/cjs/th-accd8e02.js +67 -0
- package/dist/cjs/th-accd8e02.js.map +1 -0
- package/dist/cjs/throttle-ea0e2dfa.js +77 -0
- package/dist/cjs/throttle-ea0e2dfa.js.map +1 -0
- package/dist/cjs/tr-34982295.js +68 -0
- package/dist/cjs/tr-34982295.js.map +1 -0
- package/dist/cjs/uk-a6d98415.js +106 -0
- package/dist/cjs/uk-a6d98415.js.map +1 -0
- package/dist/cjs/utils-74b2d3a5.js +307 -0
- package/dist/cjs/utils-74b2d3a5.js.map +1 -0
- package/dist/cjs/utils-bdeb091b.js +218 -0
- package/dist/cjs/utils-bdeb091b.js.map +1 -0
- package/dist/cjs/vi-9c1ee9a8.js +72 -0
- package/dist/cjs/vi-9c1ee9a8.js.map +1 -0
- package/dist/cjs/zh-cn-96d32f41.js +96 -0
- package/dist/cjs/zh-cn-96d32f41.js.map +1 -0
- package/dist/cjs/zh-hk-5942557a.js +73 -0
- package/dist/cjs/zh-hk-5942557a.js.map +1 -0
- package/dist/cjs/zh-tw-a3c7b3fa.js +94 -0
- package/dist/cjs/zh-tw-a3c7b3fa.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +5 -2
- package/dist/collection/components/accordion-item/accordion-item.e2e.js.map +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +39 -4
- package/dist/collection/components/accordion-item/accordion-item.js.map +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -5
- package/dist/collection/components/action/action.e2e.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.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.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.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.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.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +2 -2
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.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.css +5 -5
- package/dist/collection/components/alert/alert.e2e.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.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/resources.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +7 -7
- package/dist/collection/components/block/block.e2e.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.css +37 -24
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +85 -14
- package/dist/collection/components/block-section/block-section.js.map +1 -1
- package/dist/collection/components/block-section/resources.js +9 -5
- package/dist/collection/components/block-section/resources.js.map +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.e2e.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.css +5 -5
- package/dist/collection/components/card/card.e2e.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/card-group/card-group.css +5 -5
- package/dist/collection/components/card-group/card-group.e2e.js +1 -1
- package/dist/collection/components/card-group/card-group.js +1 -1
- package/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/collection/components/carousel/carousel.e2e.js +39 -1
- package/dist/collection/components/carousel/carousel.e2e.js.map +1 -1
- package/dist/collection/components/carousel/carousel.js +28 -8
- package/dist/collection/components/carousel/carousel.js.map +1 -1
- package/dist/collection/components/carousel/resources.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/collection/components/carousel-item/carousel-item.e2e.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.js +1 -1
- package/dist/collection/components/carousel-item/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +15 -7
- package/dist/collection/components/checkbox/checkbox.e2e.js +27 -63
- package/dist/collection/components/checkbox/checkbox.e2e.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.js +9 -3
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/resources.js +10 -0
- package/dist/collection/components/checkbox/resources.js.map +1 -0
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.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.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.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/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.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.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.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.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +11 -2
- package/dist/collection/components/combobox/combobox.e2e.js.map +1 -1
- package/dist/collection/components/combobox/combobox.js +8 -11
- package/dist/collection/components/combobox/combobox.js.map +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.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.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/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.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.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +9 -9
- package/dist/collection/components/dropdown/dropdown.e2e.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +8 -3
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +35 -35
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +4 -5
- package/dist/collection/components/dropdown-group/dropdown-group.js.map +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +72 -145
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +7 -11
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/collection/components/dropdown-item/resources.js +3 -6
- package/dist/collection/components/dropdown-item/resources.js.map +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.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.css +5 -5
- package/dist/collection/components/filter/filter.e2e.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.css +5 -5
- package/dist/collection/components/flow/flow.e2e.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.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +4 -2
- package/dist/collection/components/flow-item/flow-item.js.map +1 -1
- package/dist/collection/components/flow-item/resources.js +3 -1
- package/dist/collection/components/flow-item/resources.js.map +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/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +3 -3
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/binary16.json +1 -0
- package/dist/collection/components/icon/assets/icon/binary24.json +1 -0
- package/dist/collection/components/icon/assets/icon/binary32.json +1 -0
- package/dist/collection/components/icon/assets/icon/brackets16.json +1 -0
- package/dist/collection/components/icon/assets/icon/brackets24.json +1 -0
- package/dist/collection/components/icon/assets/icon/brackets32.json +1 -0
- package/dist/collection/components/icon/assets/icon/developerCredentials16.json +1 -0
- package/dist/collection/components/icon/assets/icon/developerCredentials24.json +1 -0
- package/dist/collection/components/icon/assets/icon/developerCredentials32.json +1 -0
- package/dist/collection/components/icon/assets/icon/modifyAssociations16.json +1 -0
- package/dist/collection/components/icon/assets/icon/modifyAssociations24.json +1 -0
- package/dist/collection/components/icon/assets/icon/modifyAssociations32.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithAttribute16.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithAttribute24.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithAttribute32.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithoutAttribute16.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithoutAttribute24.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithoutAttribute32.json +1 -0
- package/dist/collection/components/icon/assets/icon/subFields16.json +1 -0
- package/dist/collection/components/icon/assets/icon/subFields24.json +1 -0
- package/dist/collection/components/icon/assets/icon/subFields32.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetwork16.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetwork24.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetwork32.json +1 -0
- package/dist/collection/components/icon/assets/icon/validateUtilityNetworkTopology16.json +1 -0
- package/dist/collection/components/icon/assets/icon/validateUtilityNetworkTopology24.json +1 -0
- package/dist/collection/components/icon/assets/icon/validateUtilityNetworkTopology32.json +1 -0
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +2 -2
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +4 -4
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/input.js +1 -1
- package/dist/collection/components/input/common/input.spec.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +15 -15
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +6 -6
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +2 -2
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +15 -15
- package/dist/collection/components/input-number/input-number.js.map +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +9 -9
- package/dist/collection/components/input-text/input-text.js.map +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +3 -3
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +3 -3
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +5 -5
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +1 -1
- package/dist/collection/components/list/list.js +2 -2
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +3 -3
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +2 -2
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +2 -2
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +3 -3
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +2 -2
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +5 -5
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +3 -3
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +2 -2
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +2 -2
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +3 -3
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +2 -2
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +2 -2
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +14 -9
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +12 -3
- package/dist/collection/components/panel/panel.js.map +1 -1
- package/dist/collection/components/panel/resources.js +3 -1
- package/dist/collection/components/panel/resources.js.map +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +3 -3
- package/dist/collection/components/pick-list/pick-list.js.map +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/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +3 -3
- package/dist/collection/components/pick-list-group/pick-list-group.js.map +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +3 -3
- package/dist/collection/components/pick-list-item/pick-list-item.js.map +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.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +5 -5
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +2 -2
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +2 -2
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +2 -2
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +3 -3
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +2 -2
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +2 -2
- package/dist/collection/components/segmented-control-item/resources.js +8 -2
- package/dist/collection/components/segmented-control-item/resources.js.map +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +26 -19
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +4 -9
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js.map +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +43 -12
- package/dist/collection/components/segmented-control-item/segmented-control-item.js.map +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.e2e.js +13 -2
- package/dist/collection/components/select/select.e2e.js.map +1 -1
- package/dist/collection/components/select/select.js +11 -4
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +7 -7
- package/dist/collection/components/shell/shell.js.map +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.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.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.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.css +5 -5
- package/dist/collection/components/slider/slider.e2e.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.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.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.css +17 -23
- package/dist/collection/components/split-button/split-button.e2e.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.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +32 -21
- package/dist/collection/components/stepper/stepper.e2e.js.map +1 -1
- package/dist/collection/components/stepper/stepper.js +30 -8
- package/dist/collection/components/stepper/stepper.js.map +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +18 -2
- package/dist/collection/components/stepper-item/stepper-item.e2e.js.map +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +17 -29
- package/dist/collection/components/stepper-item/stepper-item.js.map +1 -1
- package/dist/collection/components/switch/resources.js +11 -0
- package/dist/collection/components/switch/resources.js.map +1 -0
- package/dist/collection/components/switch/switch.css +7 -12
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +3 -2
- package/dist/collection/components/switch/switch.js.map +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.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.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/interfaces.js.map +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +31 -4
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.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.css +5 -10
- package/dist/collection/components/text-area/text-area.e2e.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.css +9 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.e2e.js +1 -1
- package/dist/collection/components/tile-group/tile-group.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +4 -3
- package/dist/collection/components/tile-select/tile-select.js.map +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +3 -2
- package/dist/collection/components/tile-select-group/tile-select-group.js.map +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.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.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +3 -2
- package/dist/collection/components/tip/tip.js.map +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +3 -2
- package/dist/collection/components/tip-group/tip-group.js.map +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +2 -1
- package/dist/collection/components/tip-manager/tip-manager.js.map +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.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.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +39 -8
- package/dist/collection/components/tree/tree.e2e.js.map +1 -1
- package/dist/collection/components/tree/tree.js +2 -2
- package/dist/collection/components/tree/tree.js.map +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.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.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +3 -3
- package/dist/collection/components/value-list/value-list.js.map +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +3 -3
- package/dist/collection/components/value-list-item/value-list-item.js.map +1 -1
- package/dist/collection/demos/_assets/images/placeholder.svg +5 -0
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests/accessible.js +1 -1
- package/dist/collection/tests/commonTests/defaults.js +1 -1
- package/dist/collection/tests/commonTests/disabled.js +1 -1
- package/dist/collection/tests/commonTests/floatingUI.js +1 -1
- package/dist/collection/tests/commonTests/focusable.js +1 -1
- package/dist/collection/tests/commonTests/formAssociated.js +1 -1
- package/dist/collection/tests/commonTests/hidden.js +1 -1
- package/dist/collection/tests/commonTests/index.js +1 -1
- package/dist/collection/tests/commonTests/labelable.js +1 -1
- package/dist/collection/tests/commonTests/openClose.js +1 -1
- package/dist/collection/tests/commonTests/reflects.js +1 -1
- package/dist/collection/tests/commonTests/renders.js +1 -1
- package/dist/collection/tests/commonTests/slots.js +1 -1
- package/dist/collection/tests/commonTests/t9n.js +17 -1
- package/dist/collection/tests/commonTests/t9n.js.map +1 -1
- package/dist/collection/tests/commonTests/utils.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +35 -1
- package/dist/collection/utils/component.js.map +1 -1
- package/dist/collection/utils/component.spec.js +37 -3
- package/dist/collection/utils/component.spec.js.map +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +47 -1
- package/dist/collection/utils/dom.js.map +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +12 -9
- package/dist/collection/utils/loadable.js.map +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -49
- package/dist/collection/utils/openCloseComponent.js.map +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +6 -2
- package/dist/collection/utils/t9n.js.map +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.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/Validation.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 +20 -6
- package/dist/components/calcite-accordion-item.js.map +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 +36 -18
- package/dist/components/calcite-block-section.js.map +1 -1
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-block.js.map +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card-group.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +27 -8
- package/dist/components/calcite-carousel.js.map +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 +2 -2
- 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 +5 -6
- package/dist/components/calcite-dropdown-group.js.map +1 -1
- package/dist/components/calcite-dropdown-item.js +8 -12
- package/dist/components/calcite-dropdown-item.js.map +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 +4 -2
- package/dist/components/calcite-flow-item.js.map +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 +4 -4
- package/dist/components/calcite-input-date-picker.js +6 -6
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input-time-zone.js +3 -3
- 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 +2 -2
- package/dist/components/calcite-list-item.js +4 -4
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +3 -3
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +3 -3
- package/dist/components/calcite-modal.js +7 -7
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation.js +3 -3
- package/dist/components/calcite-notice.js +3 -3
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-group.js.map +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-pick-list.js.map +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 +2 -2
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +3 -3
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +48 -15
- package/dist/components/calcite-segmented-control-item.js.map +1 -1
- package/dist/components/calcite-segmented-control.js +2 -2
- package/dist/components/calcite-select.js +11 -4
- package/dist/components/calcite-select.js.map +1 -1
- package/dist/components/calcite-sheet.js +2 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-shell.js.map +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-split-button.js.map +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +5 -8
- package/dist/components/calcite-stepper-item.js.map +1 -1
- package/dist/components/calcite-stepper.js +11 -6
- package/dist/components/calcite-stepper.js.map +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-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +7 -3
- package/dist/components/calcite-table.js.map +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +2 -2
- package/dist/components/calcite-text-area.js.map +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select-group.js.map +1 -1
- package/dist/components/calcite-tile-select.js +3 -3
- package/dist/components/calcite-tile-select.js.map +1 -1
- package/dist/components/calcite-tile.js +2 -2
- package/dist/components/calcite-tile.js.map +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-group.js.map +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip-manager.js.map +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tip.js.map +1 -1
- package/dist/components/calcite-tooltip.js +2 -2
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +3 -3
- package/dist/components/calcite-tree.js.map +1 -1
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list-item.js.map +1 -1
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/calcite-value-list.js.map +1 -1
- package/dist/components/checkbox.js +14 -4
- package/dist/components/checkbox.js.map +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 +8 -11
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +37 -2
- package/dist/components/component.js.map +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/core.js +2 -2
- package/dist/components/core.js.map +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 +48 -2
- package/dist/components/dom.js.map +1 -1
- package/dist/components/dropdown.js +8 -3
- package/dist/components/dropdown.js.map +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 +25 -14
- package/dist/components/floating-ui.js.map +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 +3 -3
- 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 +2 -2
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +2 -2
- package/dist/components/input-number.js +15 -15
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +8 -8
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +15 -15
- package/dist/components/input2.js.map +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 +2 -2
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +5 -5
- package/dist/components/loadable.js +12 -9
- package/dist/components/loadable.js.map +1 -1
- package/dist/components/loader.js +2 -2
- 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 +2 -2
- 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/openCloseComponent.js.map +1 -1
- package/dist/components/pagination.js +3 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +14 -4
- package/dist/components/panel.js.map +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/pick-list-item.js.map +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +4 -4
- package/dist/components/progress.js +2 -2
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +2 -2
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +3 -6
- package/dist/components/resources3.js.map +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +9 -3
- package/dist/components/switch.js.map +1 -1
- package/dist/components/t9n.js +6 -2
- package/dist/components/t9n.js.map +1 -1
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.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/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-bc8742ff.js +100 -0
- package/dist/esm/ExpandToggle-bc8742ff.js.map +1 -0
- package/dist/esm/FloatingArrow-b309f787.js +45 -0
- package/dist/esm/FloatingArrow-b309f787.js.map +1 -0
- package/dist/esm/Heading-6a28ad35.js +19 -0
- package/dist/esm/Heading-6a28ad35.js.map +1 -0
- package/dist/esm/Validation-1f714881.js +16 -0
- package/dist/esm/Validation-1f714881.js.map +1 -0
- package/dist/esm/app-globals-bcb14f7e.js +59 -0
- package/dist/esm/app-globals-bcb14f7e.js.map +1 -0
- package/dist/esm/ar-a59f24bc.js +104 -0
- package/dist/esm/ar-a59f24bc.js.map +1 -0
- package/dist/esm/array-a3b19217.js +12 -0
- package/dist/esm/array-a3b19217.js.map +1 -0
- package/dist/esm/bg-5b28c804.js +82 -0
- package/dist/esm/bg-5b28c804.js.map +1 -0
- package/dist/esm/browser-096308d4.js +20 -0
- package/dist/esm/browser-096308d4.js.map +1 -0
- package/dist/esm/bs-f1d0607b.js +51 -0
- package/dist/esm/bs-f1d0607b.js.map +1 -0
- package/dist/esm/ca-3e515549.js +71 -0
- package/dist/esm/ca-3e515549.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +24 -11
- package/dist/esm/calcite-accordion_2.entry.js.map +1 -1
- package/dist/esm/calcite-action-bar.entry.js +16 -15
- package/dist/esm/calcite-action-bar.entry.js.map +1 -1
- package/dist/esm/calcite-action-group.entry.js +14 -13
- package/dist/esm/calcite-action-group.entry.js.map +1 -1
- package/dist/esm/calcite-action-menu.entry.js +10 -9
- package/dist/esm/calcite-action-menu.entry.js.map +1 -1
- package/dist/esm/calcite-action-pad.entry.js +15 -14
- package/dist/esm/calcite-action-pad.entry.js.map +1 -1
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +48 -32
- package/dist/esm/calcite-block_2.entry.js.map +1 -1
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card-group.entry.js +9 -8
- package/dist/esm/calcite-card-group.entry.js.map +1 -1
- package/dist/esm/calcite-card.entry.js +13 -12
- package/dist/esm/calcite-card.entry.js.map +1 -1
- package/dist/esm/calcite-carousel_2.entry.js +38 -19
- package/dist/esm/calcite-carousel_2.entry.js.map +1 -1
- package/dist/esm/calcite-checkbox.entry.js +23 -14
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -8
- package/dist/esm/calcite-chip-group.entry.js.map +1 -1
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +17 -16
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +27 -30
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +32 -35
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +9 -8
- package/dist/esm/calcite-fab.entry.js.map +1 -1
- package/dist/esm/calcite-filter.entry.js +15 -14
- package/dist/esm/calcite-filter.entry.js.map +1 -1
- package/dist/esm/calcite-flow-item.entry.js +17 -14
- package/dist/esm/calcite-flow-item.entry.js.map +1 -1
- package/dist/esm/calcite-flow.entry.js +5 -4
- package/dist/esm/calcite-flow.entry.js.map +1 -1
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +15 -14
- package/dist/esm/calcite-handle.entry.js.map +1 -1
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +17 -17
- package/dist/esm/calcite-input-date-picker.entry.js +26 -26
- package/dist/esm/calcite-input-message.entry.js +6 -6
- package/dist/esm/calcite-input-number.entry.js +30 -30
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +24 -24
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-ad87fe6e.js +2913 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-ad87fe6e.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +19 -19
- package/dist/esm/calcite-input.entry.js +30 -30
- package/dist/esm/calcite-input.entry.js.map +1 -1
- package/dist/esm/calcite-label.entry.js +8 -8
- package/dist/esm/calcite-link.entry.js +13 -12
- package/dist/esm/calcite-link.entry.js.map +1 -1
- package/dist/esm/calcite-list_3.entry.js +20 -19
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-menu_2.entry.js +14 -13
- package/dist/esm/calcite-menu_2.entry.js.map +1 -1
- package/dist/esm/calcite-meter.entry.js +12 -11
- package/dist/esm/calcite-meter.entry.js.map +1 -1
- package/dist/esm/calcite-modal.entry.js +18 -18
- package/dist/esm/calcite-navigation_3.entry.js +12 -11
- package/dist/esm/calcite-navigation_3.entry.js.map +1 -1
- package/dist/esm/calcite-notice.entry.js +16 -16
- package/dist/esm/calcite-option_3.entry.js +25 -18
- package/dist/esm/calcite-option_3.entry.js.map +1 -1
- package/dist/esm/calcite-pagination.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +26 -18
- package/dist/esm/calcite-panel.entry.js.map +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +21 -20
- package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-popover.entry.js +20 -20
- package/dist/esm/calcite-progress.entry.js +6 -6
- package/dist/esm/calcite-radio-button-group.entry.js +7 -6
- package/dist/esm/calcite-radio-button-group.entry.js.map +1 -1
- package/dist/esm/calcite-radio-button.entry.js +13 -13
- package/dist/esm/calcite-rating.entry.js +17 -17
- package/dist/esm/calcite-scrim.entry.js +10 -10
- package/dist/esm/calcite-segmented-control_2.entry.js +58 -26
- package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
- package/dist/esm/calcite-sheet.entry.js +10 -9
- package/dist/esm/calcite-sheet.entry.js.map +1 -1
- package/dist/esm/calcite-shell_3.entry.js +12 -12
- package/dist/esm/calcite-shell_3.entry.js.map +1 -1
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +7 -6
- package/dist/esm/calcite-split-button.entry.js.map +1 -1
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +26 -23
- package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
- package/dist/esm/calcite-switch.entry.js +20 -14
- package/dist/esm/calcite-switch.entry.js.map +1 -1
- package/dist/esm/calcite-tab_4.entry.js +13 -13
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +17 -13
- package/dist/esm/calcite-table.entry.js.map +1 -1
- package/dist/esm/calcite-text-area.entry.js +20 -20
- package/dist/esm/calcite-text-area.entry.js.map +1 -1
- package/dist/esm/calcite-tile-group.entry.js +8 -8
- package/dist/esm/calcite-tile-select_2.entry.js +10 -9
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +10 -9
- package/dist/esm/calcite-tile.entry.js.map +1 -1
- package/dist/esm/calcite-tip_3.entry.js +13 -13
- package/dist/esm/calcite-tip_3.entry.js.map +1 -1
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +20 -19
- package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-e47bd838.js +48 -0
- package/dist/esm/component-e47bd838.js.map +1 -0
- package/dist/esm/conditionalSlot-833481dd.js +48 -0
- package/dist/esm/conditionalSlot-833481dd.js.map +1 -0
- package/dist/esm/core-c175e3a4.js +17 -0
- package/dist/esm/core-c175e3a4.js.map +1 -0
- package/dist/esm/cs-4a731218.js +147 -0
- package/dist/esm/cs-4a731218.js.map +1 -0
- package/dist/esm/da-8f489ec7.js +66 -0
- package/dist/esm/da-8f489ec7.js.map +1 -0
- package/dist/esm/de-at-33ac0664.js +90 -0
- package/dist/esm/de-at-33ac0664.js.map +1 -0
- package/dist/esm/de-ch-6ed4d839.js +90 -0
- package/dist/esm/de-ch-6ed4d839.js.map +1 -0
- package/dist/esm/de-dbc1a740.js +91 -0
- package/dist/esm/de-dbc1a740.js.map +1 -0
- package/dist/esm/debounce-1ec97930.js +497 -0
- package/dist/esm/debounce-1ec97930.js.map +1 -0
- package/dist/esm/dom-ca168555.js +1111 -0
- package/dist/esm/dom-ca168555.js.map +1 -0
- package/dist/esm/el-cffb644a.js +66 -0
- package/dist/esm/el-cffb644a.js.map +1 -0
- package/dist/esm/en-au-f93f73bd.js +66 -0
- package/dist/esm/en-au-f93f73bd.js.map +1 -0
- package/dist/esm/en-ca-6b3ac819.js +65 -0
- package/dist/esm/en-ca-6b3ac819.js.map +1 -0
- package/dist/esm/en-gb-0982a9f2.js +69 -0
- package/dist/esm/en-gb-0982a9f2.js.map +1 -0
- package/dist/esm/es-dc4b8b0c.js +66 -0
- package/dist/esm/es-dc4b8b0c.js.map +1 -0
- package/dist/esm/es-mx-61489a48.js +65 -0
- package/dist/esm/es-mx-61489a48.js.map +1 -0
- package/dist/esm/et-686444a5.js +92 -0
- package/dist/esm/et-686444a5.js.map +1 -0
- package/dist/esm/fi-0742552a.js +115 -0
- package/dist/esm/fi-0742552a.js.map +1 -0
- package/dist/esm/filter-479f63cc.js +772 -0
- package/dist/esm/filter-479f63cc.js.map +1 -0
- package/dist/esm/floating-ui-89885388.js +2297 -0
- package/dist/esm/floating-ui-89885388.js.map +1 -0
- package/dist/esm/focusTrapComponent-f435139e.js +1015 -0
- package/dist/esm/focusTrapComponent-f435139e.js.map +1 -0
- package/dist/esm/form-24a98bc8.js +369 -0
- package/dist/esm/form-24a98bc8.js.map +1 -0
- package/dist/esm/fr-ch-08f028e5.js +66 -0
- package/dist/esm/fr-ch-08f028e5.js.map +1 -0
- package/dist/esm/fr-d121231e.js +68 -0
- package/dist/esm/fr-d121231e.js.map +1 -0
- package/dist/esm/guid-95f744cf.js +21 -0
- package/dist/esm/guid-95f744cf.js.map +1 -0
- package/dist/esm/he-5d7bd16c.js +105 -0
- package/dist/esm/he-5d7bd16c.js.map +1 -0
- package/dist/esm/hi-db1eec8f.js +65 -0
- package/dist/esm/hi-db1eec8f.js.map +1 -0
- package/dist/esm/hr-375aa137.js +80 -0
- package/dist/esm/hr-375aa137.js.map +1 -0
- package/dist/esm/hu-9f73a048.js +88 -0
- package/dist/esm/hu-9f73a048.js.map +1 -0
- package/dist/esm/id-ba66642e.js +66 -0
- package/dist/esm/id-ba66642e.js.map +1 -0
- package/dist/esm/index-6356d89d.js +1899 -0
- package/dist/esm/index-6356d89d.js.map +1 -0
- package/dist/esm/index-a25d1de8.js +206 -0
- package/dist/esm/index-a25d1de8.js.map +1 -0
- package/dist/esm/index-ab9e8ee5.js +73 -0
- package/dist/esm/index-ab9e8ee5.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-2cddb2fa.js +55 -0
- package/dist/esm/input-2cddb2fa.js.map +1 -0
- package/dist/esm/interactive-0082d873.js +146 -0
- package/dist/esm/interactive-0082d873.js.map +1 -0
- package/dist/esm/it-59571962.js +66 -0
- package/dist/esm/it-59571962.js.map +1 -0
- package/dist/esm/it-ch-3eed42c4.js +66 -0
- package/dist/esm/it-ch-3eed42c4.js.map +1 -0
- package/dist/esm/ja-27405b4a.js +72 -0
- package/dist/esm/ja-27405b4a.js.map +1 -0
- package/dist/esm/key-8328efaf.js +13 -0
- package/dist/esm/key-8328efaf.js.map +1 -0
- package/dist/esm/ko-4162efdf.js +72 -0
- package/dist/esm/ko-4162efdf.js.map +1 -0
- package/dist/esm/label-00e8f205.js +176 -0
- package/dist/esm/label-00e8f205.js.map +1 -0
- package/dist/esm/loadable-6fb95cc3.js +92 -0
- package/dist/esm/loadable-6fb95cc3.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-6c2f9fbe.js +563 -0
- package/dist/esm/locale-6c2f9fbe.js.map +1 -0
- package/dist/esm/lt-953d6342.js +97 -0
- package/dist/esm/lt-953d6342.js.map +1 -0
- package/dist/esm/lv-f8c9acd2.js +66 -0
- package/dist/esm/lv-f8c9acd2.js.map +1 -0
- package/dist/esm/math-4fb516a3.js +51 -0
- package/dist/esm/math-4fb516a3.js.map +1 -0
- package/dist/esm/mk-5841b720.js +66 -0
- package/dist/esm/mk-5841b720.js.map +1 -0
- package/dist/esm/nb-674d17ea.js +67 -0
- package/dist/esm/nb-674d17ea.js.map +1 -0
- package/dist/esm/nl-76d4ee20.js +67 -0
- package/dist/esm/nl-76d4ee20.js.map +1 -0
- package/dist/esm/observers-39d61a28.js +50 -0
- package/dist/esm/observers-39d61a28.js.map +1 -0
- package/dist/esm/openCloseComponent-4f48d45a.js +88 -0
- package/dist/esm/openCloseComponent-4f48d45a.js.map +1 -0
- package/dist/esm/pl-e99a3c15.js +114 -0
- package/dist/esm/pl-e99a3c15.js.map +1 -0
- package/dist/esm/pt-be28ad4d.js +67 -0
- package/dist/esm/pt-be28ad4d.js.map +1 -0
- package/dist/esm/pt-br-8087ef55.js +65 -0
- package/dist/esm/pt-br-8087ef55.js.map +1 -0
- package/dist/esm/resources-3eddbc13.js +21 -0
- package/dist/esm/resources-3eddbc13.js.map +1 -0
- package/dist/esm/resources-4f552ccf.js +16 -0
- package/dist/esm/resources-4f552ccf.js.map +1 -0
- package/dist/esm/resources-70a96dcf.js +49 -0
- package/dist/esm/resources-70a96dcf.js.map +1 -0
- package/dist/esm/resources-a24f17b0.js +25 -0
- package/dist/esm/resources-a24f17b0.js.map +1 -0
- package/dist/esm/resources-b40fed1f.js +382 -0
- package/dist/esm/resources-b40fed1f.js.map +1 -0
- package/dist/esm/resources-bb5e0a3c.js +19 -0
- package/dist/esm/resources-bb5e0a3c.js.map +1 -0
- package/dist/esm/resources-d40f6e99.js +23 -0
- package/dist/esm/resources-d40f6e99.js.map +1 -0
- package/dist/esm/ro-9490e8b9.js +66 -0
- package/dist/esm/ro-9490e8b9.js.map +1 -0
- package/dist/esm/ru-b98aa2d8.js +126 -0
- package/dist/esm/ru-b98aa2d8.js.map +1 -0
- package/dist/esm/sk-37f240ff.js +148 -0
- package/dist/esm/sk-37f240ff.js.map +1 -0
- package/dist/esm/sl-19b698b2.js +168 -0
- package/dist/esm/sl-19b698b2.js.map +1 -0
- package/dist/esm/sortableComponent-2c9b82ec.js +2740 -0
- package/dist/esm/sortableComponent-2c9b82ec.js.map +1 -0
- package/dist/esm/sr-40d7de43.js +101 -0
- package/dist/esm/sr-40d7de43.js.map +1 -0
- package/dist/esm/sv-8e1217f2.js +71 -0
- package/dist/esm/sv-8e1217f2.js.map +1 -0
- package/dist/esm/t9n-e7f9e515.js +96 -0
- package/dist/esm/t9n-e7f9e515.js.map +1 -0
- package/dist/esm/th-66a7a299.js +65 -0
- package/dist/esm/th-66a7a299.js.map +1 -0
- package/dist/esm/throttle-a175a508.js +75 -0
- package/dist/esm/throttle-a175a508.js.map +1 -0
- package/dist/esm/tr-e20fc8fa.js +66 -0
- package/dist/esm/tr-e20fc8fa.js.map +1 -0
- package/dist/esm/uk-24ff3736.js +104 -0
- package/dist/esm/uk-24ff3736.js.map +1 -0
- package/dist/esm/utils-9a35b1cf.js +200 -0
- package/dist/esm/utils-9a35b1cf.js.map +1 -0
- package/dist/esm/utils-d98d7c16.js +289 -0
- package/dist/esm/utils-d98d7c16.js.map +1 -0
- package/dist/esm/vi-4f6a3958.js +70 -0
- package/dist/esm/vi-4f6a3958.js.map +1 -0
- package/dist/esm/zh-cn-e496126a.js +94 -0
- package/dist/esm/zh-cn-e496126a.js.map +1 -0
- package/dist/esm/zh-hk-1752a754.js +71 -0
- package/dist/esm/zh-hk-1752a754.js.map +1 -0
- package/dist/esm/zh-tw-b80b9f6a.js +92 -0
- package/dist/esm/zh-tw-b80b9f6a.js.map +1 -0
- package/dist/extras/docs-json.json +374 -70
- 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/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/accordion-item/accordion-item.d.ts +4 -0
- package/dist/types/components/block-section/block-section.d.ts +10 -0
- package/dist/types/components/block-section/resources.d.ts +7 -3
- package/dist/types/components/carousel/carousel.d.ts +4 -1
- package/dist/types/components/checkbox/resources.d.ts +4 -0
- package/dist/types/components/combobox/combobox.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +1 -0
- package/dist/types/components/dropdown-item/resources.d.ts +0 -3
- package/dist/types/components/flow-item/flow-item.d.ts +2 -0
- package/dist/types/components/flow-item/resources.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components/input-number/input-number.d.ts +1 -1
- package/dist/types/components/input-text/input-text.d.ts +1 -1
- package/dist/types/components/panel/panel.d.ts +4 -0
- package/dist/types/components/panel/resources.d.ts +2 -0
- package/dist/types/components/pick-list/pick-list.d.ts +1 -1
- package/dist/types/components/pick-list-group/pick-list-group.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +1 -1
- package/dist/types/components/segmented-control-item/resources.d.ts +8 -1
- package/dist/types/components/segmented-control-item/segmented-control-item.d.ts +4 -0
- package/dist/types/components/select/select.d.ts +1 -0
- package/dist/types/components/shell/shell.d.ts +5 -5
- package/dist/types/components/stepper/stepper.d.ts +8 -1
- package/dist/types/components/stepper-item/stepper-item.d.ts +3 -3
- package/dist/types/components/switch/resources.d.ts +5 -0
- package/dist/types/components/table/interfaces.d.ts +1 -0
- package/dist/types/components/table/table.d.ts +4 -2
- package/dist/types/components/tile-select/tile-select.d.ts +1 -0
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +1 -0
- package/dist/types/components/tip/tip.d.ts +1 -0
- package/dist/types/components/tip-group/tip-group.d.ts +1 -0
- package/dist/types/components/tip-manager/tip-manager.d.ts +1 -0
- package/dist/types/components/value-list/value-list.d.ts +1 -1
- package/dist/types/components/value-list-item/value-list-item.d.ts +1 -1
- package/dist/types/components.d.ts +149 -23
- package/dist/types/preact.d.ts +4 -3
- package/dist/types/utils/component.d.ts +23 -0
- package/dist/types/utils/dom.d.ts +7 -0
- package/dist/types/utils/loadable.d.ts +17 -3
- package/dist/types/utils/openCloseComponent.d.ts +0 -16
- package/hydrate/index.js +895 -683
- package/package.json +5 -4
- package/readme.md +2 -2
- package/dist/calcite/p-0055e511.js +0 -7
- package/dist/calcite/p-0162b05a.js +0 -7
- package/dist/calcite/p-017ff109.js +0 -7
- package/dist/calcite/p-041a8de6.entry.js +0 -7
- package/dist/calcite/p-055b2783.js +0 -7
- package/dist/calcite/p-0d049305.js +0 -7
- package/dist/calcite/p-0d9ac7a1.entry.js +0 -7
- package/dist/calcite/p-0ded9ae1.js +0 -7
- package/dist/calcite/p-0f2befc5.js +0 -7
- package/dist/calcite/p-12fa3747.entry.js +0 -7
- package/dist/calcite/p-12fa3747.entry.js.map +0 -1
- package/dist/calcite/p-13a91ca4.js +0 -7
- package/dist/calcite/p-13e864aa.js +0 -7
- package/dist/calcite/p-1a91451c.js +0 -7
- package/dist/calcite/p-1ab69d9d.js +0 -7
- package/dist/calcite/p-1e838207.js +0 -7
- package/dist/calcite/p-1fba7c50.entry.js +0 -7
- package/dist/calcite/p-1fba7c50.entry.js.map +0 -1
- package/dist/calcite/p-24808000.js +0 -7
- package/dist/calcite/p-2481fa80.js +0 -7
- package/dist/calcite/p-2632edf0.js +0 -7
- package/dist/calcite/p-2778f6f5.js +0 -7
- package/dist/calcite/p-28d5a868.js +0 -7
- package/dist/calcite/p-2977ec54.js +0 -7
- package/dist/calcite/p-2af9047a.entry.js +0 -7
- package/dist/calcite/p-2af9047a.entry.js.map +0 -1
- package/dist/calcite/p-2b53fea4.entry.js +0 -7
- package/dist/calcite/p-2b53fea4.entry.js.map +0 -1
- package/dist/calcite/p-2b65ed63.entry.js +0 -7
- package/dist/calcite/p-2d87d7c4.entry.js +0 -7
- package/dist/calcite/p-2d87d7c4.entry.js.map +0 -1
- package/dist/calcite/p-2dc1c1a0.js +0 -7
- package/dist/calcite/p-2f78ad4e.js +0 -7
- package/dist/calcite/p-30803e77.js +0 -7
- package/dist/calcite/p-30f3683f.entry.js +0 -7
- package/dist/calcite/p-30f3683f.entry.js.map +0 -1
- package/dist/calcite/p-31c4b5a1.js +0 -7
- package/dist/calcite/p-321ff864.entry.js +0 -7
- package/dist/calcite/p-321ff864.entry.js.map +0 -1
- package/dist/calcite/p-33b0174c.entry.js +0 -7
- package/dist/calcite/p-36f05a81.js +0 -7
- package/dist/calcite/p-374515dd.entry.js +0 -7
- package/dist/calcite/p-380a84aa.js +0 -7
- package/dist/calcite/p-380a84aa.js.map +0 -1
- package/dist/calcite/p-39b918b9.entry.js +0 -7
- package/dist/calcite/p-39b918b9.entry.js.map +0 -1
- package/dist/calcite/p-3a4e7427.js +0 -7
- package/dist/calcite/p-3ba82f86.entry.js +0 -7
- package/dist/calcite/p-3ba82f86.entry.js.map +0 -1
- package/dist/calcite/p-3d302e7a.js +0 -7
- package/dist/calcite/p-3d642bb5.entry.js +0 -7
- package/dist/calcite/p-3e484ff9.entry.js +0 -7
- package/dist/calcite/p-3e484ff9.entry.js.map +0 -1
- package/dist/calcite/p-43a14472.entry.js +0 -7
- package/dist/calcite/p-43a14472.entry.js.map +0 -1
- package/dist/calcite/p-4a7f9f77.js +0 -7
- package/dist/calcite/p-4a887929.entry.js +0 -7
- package/dist/calcite/p-50c67596.entry.js +0 -7
- package/dist/calcite/p-50c67596.entry.js.map +0 -1
- package/dist/calcite/p-51f324d8.js +0 -7
- package/dist/calcite/p-521dd844.js +0 -12
- package/dist/calcite/p-521dd844.js.map +0 -1
- package/dist/calcite/p-55c7839c.entry.js +0 -7
- package/dist/calcite/p-55c7839c.entry.js.map +0 -1
- package/dist/calcite/p-570b8543.entry.js +0 -7
- package/dist/calcite/p-570b8543.entry.js.map +0 -1
- package/dist/calcite/p-57d2f130.entry.js +0 -7
- package/dist/calcite/p-59472336.js +0 -7
- package/dist/calcite/p-5a0aa304.js +0 -7
- package/dist/calcite/p-5b021a42.js +0 -7
- package/dist/calcite/p-5b021a42.js.map +0 -1
- package/dist/calcite/p-5deb8612.entry.js +0 -7
- package/dist/calcite/p-5ea51123.js +0 -7
- package/dist/calcite/p-5ea51123.js.map +0 -1
- package/dist/calcite/p-607f6ebc.js +0 -7
- package/dist/calcite/p-609056d6.entry.js +0 -7
- package/dist/calcite/p-609056d6.entry.js.map +0 -1
- package/dist/calcite/p-6387e69e.entry.js +0 -7
- package/dist/calcite/p-6422db1f.js +0 -7
- package/dist/calcite/p-64e9ead9.entry.js +0 -7
- package/dist/calcite/p-64e9ead9.entry.js.map +0 -1
- package/dist/calcite/p-64eee6a2.js +0 -7
- package/dist/calcite/p-6a7c29f8.entry.js +0 -7
- package/dist/calcite/p-6a7c29f8.entry.js.map +0 -1
- package/dist/calcite/p-6abba7df.js +0 -7
- package/dist/calcite/p-6cfc0cf7.js +0 -7
- package/dist/calcite/p-6f21b8ef.entry.js +0 -7
- package/dist/calcite/p-6f21b8ef.entry.js.map +0 -1
- package/dist/calcite/p-70f6a000.js +0 -7
- package/dist/calcite/p-71f850ce.js +0 -7
- package/dist/calcite/p-7369809e.js +0 -7
- package/dist/calcite/p-7753672a.js +0 -7
- package/dist/calcite/p-77f9f089.js +0 -7
- package/dist/calcite/p-77f9f089.js.map +0 -1
- package/dist/calcite/p-793f94a2.js +0 -7
- package/dist/calcite/p-79b796c1.entry.js +0 -7
- package/dist/calcite/p-7a8f0e68.js +0 -7
- package/dist/calcite/p-7a8f0e68.js.map +0 -1
- package/dist/calcite/p-7b81ad5b.entry.js +0 -7
- package/dist/calcite/p-7bdd370e.entry.js +0 -7
- package/dist/calcite/p-7bdd370e.entry.js.map +0 -1
- package/dist/calcite/p-7c589f7f.js +0 -7
- package/dist/calcite/p-7e4a0c23.entry.js +0 -7
- package/dist/calcite/p-7f81bafc.entry.js +0 -7
- package/dist/calcite/p-7f81bafc.entry.js.map +0 -1
- package/dist/calcite/p-7f9ac7b4.js +0 -7
- package/dist/calcite/p-84214ae3.js +0 -7
- package/dist/calcite/p-8454d4f3.js +0 -7
- package/dist/calcite/p-85ac6a8b.js +0 -7
- package/dist/calcite/p-8775218c.entry.js +0 -7
- package/dist/calcite/p-89df96fa.entry.js +0 -7
- package/dist/calcite/p-8bf084c6.js +0 -7
- package/dist/calcite/p-9009b70b.js +0 -7
- package/dist/calcite/p-92ee57bc.js +0 -7
- package/dist/calcite/p-92ee57bc.js.map +0 -1
- package/dist/calcite/p-934455cd.js +0 -7
- package/dist/calcite/p-95a87661.js +0 -7
- package/dist/calcite/p-97ce6307.entry.js +0 -7
- package/dist/calcite/p-97ce6307.entry.js.map +0 -1
- package/dist/calcite/p-99d36c74.entry.js +0 -7
- package/dist/calcite/p-99d36c74.entry.js.map +0 -1
- package/dist/calcite/p-9a02cac5.entry.js +0 -7
- package/dist/calcite/p-9a23cef9.entry.js +0 -7
- package/dist/calcite/p-9a23cef9.entry.js.map +0 -1
- package/dist/calcite/p-9a5fdab8.js +0 -7
- package/dist/calcite/p-9c70c319.js +0 -7
- package/dist/calcite/p-a0cb4dc2.entry.js +0 -7
- package/dist/calcite/p-a10eff50.entry.js +0 -7
- package/dist/calcite/p-a138e60f.js +0 -7
- package/dist/calcite/p-a1399801.js +0 -7
- package/dist/calcite/p-a1710506.entry.js +0 -7
- package/dist/calcite/p-a1710506.entry.js.map +0 -1
- package/dist/calcite/p-a679215f.entry.js +0 -7
- package/dist/calcite/p-a679215f.entry.js.map +0 -1
- package/dist/calcite/p-a774b568.entry.js +0 -7
- package/dist/calcite/p-aa41f398.entry.js +0 -7
- package/dist/calcite/p-aa41f398.entry.js.map +0 -1
- package/dist/calcite/p-aebef5d6.entry.js +0 -7
- package/dist/calcite/p-aebef5d6.entry.js.map +0 -1
- package/dist/calcite/p-afb5e688.entry.js +0 -7
- package/dist/calcite/p-b3a9b574.js +0 -7
- package/dist/calcite/p-b3ec31eb.js +0 -7
- package/dist/calcite/p-b4152d8c.js +0 -7
- package/dist/calcite/p-b5643608.entry.js +0 -7
- package/dist/calcite/p-b5643608.entry.js.map +0 -1
- package/dist/calcite/p-b8248e75.js +0 -7
- package/dist/calcite/p-b833204d.js +0 -7
- package/dist/calcite/p-b8a710c9.js +0 -7
- package/dist/calcite/p-bf44c80a.js +0 -11
- package/dist/calcite/p-bfe64bf4.js +0 -7
- package/dist/calcite/p-bfe64bf4.js.map +0 -1
- package/dist/calcite/p-c0add2c7.entry.js +0 -7
- package/dist/calcite/p-c0add2c7.entry.js.map +0 -1
- package/dist/calcite/p-c1f0fad9.js +0 -7
- package/dist/calcite/p-c4c76533.entry.js +0 -7
- package/dist/calcite/p-c4c76533.entry.js.map +0 -1
- package/dist/calcite/p-c4f30c75.js +0 -7
- package/dist/calcite/p-c565f1e5.entry.js +0 -7
- package/dist/calcite/p-c565f1e5.entry.js.map +0 -1
- package/dist/calcite/p-c66c7e0f.entry.js +0 -7
- package/dist/calcite/p-c66c7e0f.entry.js.map +0 -1
- package/dist/calcite/p-c6857d4c.js +0 -7
- package/dist/calcite/p-c8b2ef0a.js +0 -7
- package/dist/calcite/p-c90dab6f.js +0 -7
- package/dist/calcite/p-c96daab9.entry.js +0 -7
- package/dist/calcite/p-ca4e10e6.entry.js +0 -7
- package/dist/calcite/p-ca4e10e6.entry.js.map +0 -1
- package/dist/calcite/p-cbc9fec3.entry.js +0 -7
- package/dist/calcite/p-cbc9fec3.entry.js.map +0 -1
- package/dist/calcite/p-ccfa3881.entry.js +0 -7
- package/dist/calcite/p-ccfa3881.entry.js.map +0 -1
- package/dist/calcite/p-cf740d3e.entry.js +0 -7
- package/dist/calcite/p-cf740d3e.entry.js.map +0 -1
- package/dist/calcite/p-d1a95180.js +0 -7
- package/dist/calcite/p-d41eda90.js +0 -7
- package/dist/calcite/p-d425e9b0.js +0 -7
- package/dist/calcite/p-d4870da3.js +0 -7
- package/dist/calcite/p-d4e9817c.entry.js +0 -7
- package/dist/calcite/p-d513360f.js +0 -7
- package/dist/calcite/p-d513360f.js.map +0 -1
- package/dist/calcite/p-d5fb1def.js +0 -8
- package/dist/calcite/p-d66f1056.entry.js +0 -7
- package/dist/calcite/p-d863b9a0.entry.js +0 -7
- package/dist/calcite/p-d863b9a0.entry.js.map +0 -1
- package/dist/calcite/p-d8d70bf3.js +0 -7
- package/dist/calcite/p-db4c54d8.entry.js +0 -7
- package/dist/calcite/p-dbd035fd.js +0 -13
- package/dist/calcite/p-dc82d439.entry.js +0 -7
- package/dist/calcite/p-dc82d439.entry.js.map +0 -1
- package/dist/calcite/p-dc8ea27c.js +0 -7
- package/dist/calcite/p-dd082821.entry.js +0 -7
- package/dist/calcite/p-dd082821.entry.js.map +0 -1
- package/dist/calcite/p-dd122c48.js +0 -7
- package/dist/calcite/p-df575d84.js +0 -7
- package/dist/calcite/p-e1b53a93.entry.js +0 -7
- package/dist/calcite/p-e1b53a93.entry.js.map +0 -1
- package/dist/calcite/p-e36a4b9a.entry.js +0 -7
- package/dist/calcite/p-e36a4b9a.entry.js.map +0 -1
- package/dist/calcite/p-e437ff18.entry.js +0 -7
- package/dist/calcite/p-e437ff18.entry.js.map +0 -1
- package/dist/calcite/p-e48a93b5.entry.js +0 -7
- package/dist/calcite/p-e48a93b5.entry.js.map +0 -1
- package/dist/calcite/p-e866b896.js +0 -7
- package/dist/calcite/p-e9278ce0.entry.js +0 -7
- package/dist/calcite/p-e9278ce0.entry.js.map +0 -1
- package/dist/calcite/p-ea0ed496.entry.js +0 -7
- package/dist/calcite/p-ea0ed496.entry.js.map +0 -1
- package/dist/calcite/p-eb55c27b.js +0 -7
- package/dist/calcite/p-ec23e58b.entry.js +0 -7
- package/dist/calcite/p-ec23e58b.entry.js.map +0 -1
- package/dist/calcite/p-ec696440.entry.js +0 -7
- package/dist/calcite/p-ed35c6d8.js +0 -7
- package/dist/calcite/p-efc4d265.js +0 -7
- package/dist/calcite/p-f1a01e9f.entry.js +0 -7
- package/dist/calcite/p-f2fb83bd.js +0 -7
- package/dist/calcite/p-f2fb83bd.js.map +0 -1
- package/dist/calcite/p-f52e7011.entry.js +0 -7
- package/dist/calcite/p-f52e7011.entry.js.map +0 -1
- package/dist/calcite/p-f60fce32.entry.js +0 -7
- package/dist/calcite/p-f60fce32.entry.js.map +0 -1
- package/dist/calcite/p-f75f0a6d.js +0 -7
- package/dist/calcite/p-ff961e08.js +0 -7
- package/dist/calcite/p-ffbee4c4.js +0 -7
- package/dist/cjs/ExpandToggle-d6b89e22.js +0 -108
- package/dist/cjs/ExpandToggle-d6b89e22.js.map +0 -1
- package/dist/cjs/FloatingArrow-237f3d59.js +0 -47
- package/dist/cjs/FloatingArrow-237f3d59.js.map +0 -1
- package/dist/cjs/Heading-4294a0cc.js +0 -22
- package/dist/cjs/Heading-4294a0cc.js.map +0 -1
- package/dist/cjs/Validation-a9559083.js +0 -18
- package/dist/cjs/Validation-a9559083.js.map +0 -1
- package/dist/cjs/app-globals-7fe5dc84.js +0 -61
- package/dist/cjs/app-globals-7fe5dc84.js.map +0 -1
- package/dist/cjs/ar-c7af6685.js +0 -106
- package/dist/cjs/ar-c7af6685.js.map +0 -1
- package/dist/cjs/array-ad10eca6.js +0 -14
- package/dist/cjs/array-ad10eca6.js.map +0 -1
- package/dist/cjs/bg-356ee9ad.js +0 -84
- package/dist/cjs/bg-356ee9ad.js.map +0 -1
- package/dist/cjs/browser-1a5f23a5.js +0 -22
- package/dist/cjs/browser-1a5f23a5.js.map +0 -1
- package/dist/cjs/bs-8c58e79c.js +0 -53
- package/dist/cjs/bs-8c58e79c.js.map +0 -1
- package/dist/cjs/ca-f1321b4c.js +0 -73
- package/dist/cjs/ca-f1321b4c.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-f83edba6.js +0 -2917
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-f83edba6.js.map +0 -1
- package/dist/cjs/component-4791014e.js +0 -30
- package/dist/cjs/component-4791014e.js.map +0 -1
- package/dist/cjs/conditionalSlot-68aa6404.js +0 -51
- package/dist/cjs/conditionalSlot-68aa6404.js.map +0 -1
- package/dist/cjs/core-6a73ccfd.js +0 -22
- package/dist/cjs/core-6a73ccfd.js.map +0 -1
- package/dist/cjs/cs-a53ae054.js +0 -149
- package/dist/cjs/cs-a53ae054.js.map +0 -1
- package/dist/cjs/da-deb0d91d.js +0 -68
- package/dist/cjs/da-deb0d91d.js.map +0 -1
- package/dist/cjs/de-aaf477fa.js +0 -93
- package/dist/cjs/de-aaf477fa.js.map +0 -1
- package/dist/cjs/de-at-89c994c5.js +0 -92
- package/dist/cjs/de-at-89c994c5.js.map +0 -1
- package/dist/cjs/de-ch-e0544be4.js +0 -92
- package/dist/cjs/de-ch-e0544be4.js.map +0 -1
- package/dist/cjs/debounce-348db285.js +0 -506
- package/dist/cjs/debounce-348db285.js.map +0 -1
- package/dist/cjs/dom-b3b692c7.js +0 -1097
- package/dist/cjs/dom-b3b692c7.js.map +0 -1
- package/dist/cjs/el-7fcb61d0.js +0 -68
- package/dist/cjs/el-7fcb61d0.js.map +0 -1
- package/dist/cjs/en-au-04f0e262.js +0 -68
- package/dist/cjs/en-au-04f0e262.js.map +0 -1
- package/dist/cjs/en-ca-978e0678.js +0 -67
- package/dist/cjs/en-ca-978e0678.js.map +0 -1
- package/dist/cjs/en-gb-37e64f67.js +0 -71
- package/dist/cjs/en-gb-37e64f67.js.map +0 -1
- package/dist/cjs/es-67a66f3c.js +0 -68
- package/dist/cjs/es-67a66f3c.js.map +0 -1
- package/dist/cjs/es-mx-cc894831.js +0 -67
- package/dist/cjs/es-mx-cc894831.js.map +0 -1
- package/dist/cjs/et-2b4ee2e2.js +0 -94
- package/dist/cjs/et-2b4ee2e2.js.map +0 -1
- package/dist/cjs/fi-82772bd5.js +0 -117
- package/dist/cjs/fi-82772bd5.js.map +0 -1
- package/dist/cjs/filter-545ae2ca.js +0 -774
- package/dist/cjs/filter-545ae2ca.js.map +0 -1
- package/dist/cjs/floating-ui-eb71a064.js +0 -2294
- package/dist/cjs/floating-ui-eb71a064.js.map +0 -1
- package/dist/cjs/focusTrapComponent-40da5be2.js +0 -1020
- package/dist/cjs/focusTrapComponent-40da5be2.js.map +0 -1
- package/dist/cjs/form-2f0ce4f5.js +0 -378
- package/dist/cjs/form-2f0ce4f5.js.map +0 -1
- package/dist/cjs/fr-3531da74.js +0 -70
- package/dist/cjs/fr-3531da74.js.map +0 -1
- package/dist/cjs/fr-ch-cac817f1.js +0 -68
- package/dist/cjs/fr-ch-cac817f1.js.map +0 -1
- package/dist/cjs/guid-8153c924.js +0 -23
- package/dist/cjs/guid-8153c924.js.map +0 -1
- package/dist/cjs/he-0db499ce.js +0 -107
- package/dist/cjs/he-0db499ce.js.map +0 -1
- package/dist/cjs/hi-793ee546.js +0 -67
- package/dist/cjs/hi-793ee546.js.map +0 -1
- package/dist/cjs/hr-f146e479.js +0 -82
- package/dist/cjs/hr-f146e479.js.map +0 -1
- package/dist/cjs/hu-65d53848.js +0 -90
- package/dist/cjs/hu-65d53848.js.map +0 -1
- package/dist/cjs/id-0bffe679.js +0 -68
- package/dist/cjs/id-0bffe679.js.map +0 -1
- package/dist/cjs/index-1cc708ad.js +0 -75
- package/dist/cjs/index-1cc708ad.js.map +0 -1
- package/dist/cjs/index-1e410f3b.js +0 -208
- package/dist/cjs/index-1e410f3b.js.map +0 -1
- package/dist/cjs/index-816b2235.js +0 -1934
- package/dist/cjs/index-816b2235.js.map +0 -1
- package/dist/cjs/input-59075b7d.js +0 -57
- package/dist/cjs/input-59075b7d.js.map +0 -1
- package/dist/cjs/interactive-a21fc529.js +0 -151
- package/dist/cjs/interactive-a21fc529.js.map +0 -1
- package/dist/cjs/it-afeba28f.js +0 -68
- package/dist/cjs/it-afeba28f.js.map +0 -1
- package/dist/cjs/it-ch-412f7c38.js +0 -68
- package/dist/cjs/it-ch-412f7c38.js.map +0 -1
- package/dist/cjs/ja-b49e57df.js +0 -74
- package/dist/cjs/ja-b49e57df.js.map +0 -1
- package/dist/cjs/key-b4561c75.js +0 -16
- package/dist/cjs/key-b4561c75.js.map +0 -1
- package/dist/cjs/ko-1e50d193.js +0 -74
- package/dist/cjs/ko-1e50d193.js.map +0 -1
- package/dist/cjs/label-1bfab83c.js +0 -183
- package/dist/cjs/label-1bfab83c.js.map +0 -1
- package/dist/cjs/loadable-8502181b.js +0 -91
- package/dist/cjs/loadable-8502181b.js.map +0 -1
- package/dist/cjs/locale-3c14df15.js +0 -576
- package/dist/cjs/locale-3c14df15.js.map +0 -1
- package/dist/cjs/lt-dc5d1109.js +0 -99
- package/dist/cjs/lt-dc5d1109.js.map +0 -1
- package/dist/cjs/lv-ee3d9325.js +0 -68
- package/dist/cjs/lv-ee3d9325.js.map +0 -1
- package/dist/cjs/math-8823ec49.js +0 -57
- package/dist/cjs/math-8823ec49.js.map +0 -1
- package/dist/cjs/mk-4f1dbd16.js +0 -68
- package/dist/cjs/mk-4f1dbd16.js.map +0 -1
- package/dist/cjs/nb-d0d5285e.js +0 -69
- package/dist/cjs/nb-d0d5285e.js.map +0 -1
- package/dist/cjs/nl-463eef46.js +0 -69
- package/dist/cjs/nl-463eef46.js.map +0 -1
- package/dist/cjs/observers-9d4b94fa.js +0 -52
- package/dist/cjs/observers-9d4b94fa.js.map +0 -1
- package/dist/cjs/openCloseComponent-e274d148.js +0 -90
- package/dist/cjs/openCloseComponent-e274d148.js.map +0 -1
- package/dist/cjs/pl-61ceec23.js +0 -116
- package/dist/cjs/pl-61ceec23.js.map +0 -1
- package/dist/cjs/pt-1b26b8ff.js +0 -69
- package/dist/cjs/pt-1b26b8ff.js.map +0 -1
- package/dist/cjs/pt-br-ae2854a9.js +0 -67
- package/dist/cjs/pt-br-ae2854a9.js.map +0 -1
- package/dist/cjs/resources-2cc41c87.js +0 -29
- package/dist/cjs/resources-2cc41c87.js.map +0 -1
- package/dist/cjs/resources-b8705ec7.js +0 -51
- package/dist/cjs/resources-b8705ec7.js.map +0 -1
- package/dist/cjs/resources-bb337ee2.js +0 -26
- package/dist/cjs/resources-bb337ee2.js.map +0 -1
- package/dist/cjs/resources-ccf664a4.js +0 -18
- package/dist/cjs/resources-ccf664a4.js.map +0 -1
- package/dist/cjs/resources-da727d05.js +0 -23
- package/dist/cjs/resources-da727d05.js.map +0 -1
- package/dist/cjs/resources-ed5a4439.js +0 -410
- package/dist/cjs/resources-ed5a4439.js.map +0 -1
- package/dist/cjs/resources-f633e7ab.js +0 -26
- package/dist/cjs/resources-f633e7ab.js.map +0 -1
- package/dist/cjs/ro-00ccda3f.js +0 -68
- package/dist/cjs/ro-00ccda3f.js.map +0 -1
- package/dist/cjs/ru-ad8a83aa.js +0 -128
- package/dist/cjs/ru-ad8a83aa.js.map +0 -1
- package/dist/cjs/sk-f15908b0.js +0 -150
- package/dist/cjs/sk-f15908b0.js.map +0 -1
- package/dist/cjs/sl-32e2271d.js +0 -170
- package/dist/cjs/sl-32e2271d.js.map +0 -1
- package/dist/cjs/sortableComponent-702ee46e.js +0 -2744
- package/dist/cjs/sortableComponent-702ee46e.js.map +0 -1
- package/dist/cjs/sr-621cdc2b.js +0 -103
- package/dist/cjs/sr-621cdc2b.js.map +0 -1
- package/dist/cjs/sv-6a35a539.js +0 -73
- package/dist/cjs/sv-6a35a539.js.map +0 -1
- package/dist/cjs/t9n-d22d6156.js +0 -97
- package/dist/cjs/t9n-d22d6156.js.map +0 -1
- package/dist/cjs/th-c0576282.js +0 -67
- package/dist/cjs/th-c0576282.js.map +0 -1
- package/dist/cjs/throttle-8063c792.js +0 -77
- package/dist/cjs/throttle-8063c792.js.map +0 -1
- package/dist/cjs/tr-9a10fc25.js +0 -68
- package/dist/cjs/tr-9a10fc25.js.map +0 -1
- package/dist/cjs/uk-1b77b5a9.js +0 -106
- package/dist/cjs/uk-1b77b5a9.js.map +0 -1
- package/dist/cjs/utils-5a755d42.js +0 -218
- package/dist/cjs/utils-5a755d42.js.map +0 -1
- package/dist/cjs/utils-7340366a.js +0 -307
- package/dist/cjs/utils-7340366a.js.map +0 -1
- package/dist/cjs/vi-e4911550.js +0 -72
- package/dist/cjs/vi-e4911550.js.map +0 -1
- package/dist/cjs/zh-cn-8352862f.js +0 -96
- package/dist/cjs/zh-cn-8352862f.js.map +0 -1
- package/dist/cjs/zh-hk-85c5b141.js +0 -73
- package/dist/cjs/zh-hk-85c5b141.js.map +0 -1
- package/dist/cjs/zh-tw-ad6172c7.js +0 -94
- package/dist/cjs/zh-tw-ad6172c7.js.map +0 -1
- package/dist/esm/ExpandToggle-ea12da4c.js +0 -100
- package/dist/esm/ExpandToggle-ea12da4c.js.map +0 -1
- package/dist/esm/FloatingArrow-6640c999.js +0 -45
- package/dist/esm/FloatingArrow-6640c999.js.map +0 -1
- package/dist/esm/Heading-77af0c89.js +0 -19
- package/dist/esm/Heading-77af0c89.js.map +0 -1
- package/dist/esm/Validation-dc411a73.js +0 -16
- package/dist/esm/Validation-dc411a73.js.map +0 -1
- package/dist/esm/app-globals-edd9007f.js +0 -59
- package/dist/esm/app-globals-edd9007f.js.map +0 -1
- package/dist/esm/ar-4a60c565.js +0 -104
- package/dist/esm/ar-4a60c565.js.map +0 -1
- package/dist/esm/array-0193d0fc.js +0 -12
- package/dist/esm/array-0193d0fc.js.map +0 -1
- package/dist/esm/bg-b9a93685.js +0 -82
- package/dist/esm/bg-b9a93685.js.map +0 -1
- package/dist/esm/browser-08b65933.js +0 -20
- package/dist/esm/browser-08b65933.js.map +0 -1
- package/dist/esm/bs-847afd51.js +0 -51
- package/dist/esm/bs-847afd51.js.map +0 -1
- package/dist/esm/ca-517cbe4d.js +0 -71
- package/dist/esm/ca-517cbe4d.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-483240f9.js +0 -2913
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-483240f9.js.map +0 -1
- package/dist/esm/component-7869d8fb.js +0 -27
- package/dist/esm/component-7869d8fb.js.map +0 -1
- package/dist/esm/conditionalSlot-d80ac9d1.js +0 -48
- package/dist/esm/conditionalSlot-d80ac9d1.js.map +0 -1
- package/dist/esm/core-41b1c01b.js +0 -17
- package/dist/esm/core-41b1c01b.js.map +0 -1
- package/dist/esm/cs-7c14f702.js +0 -147
- package/dist/esm/cs-7c14f702.js.map +0 -1
- package/dist/esm/da-fc814530.js +0 -66
- package/dist/esm/da-fc814530.js.map +0 -1
- package/dist/esm/de-at-d6b39687.js +0 -90
- package/dist/esm/de-at-d6b39687.js.map +0 -1
- package/dist/esm/de-ch-31d8d267.js +0 -90
- package/dist/esm/de-ch-31d8d267.js.map +0 -1
- package/dist/esm/de-ef8315e1.js +0 -91
- package/dist/esm/de-ef8315e1.js.map +0 -1
- package/dist/esm/debounce-012012be.js +0 -497
- package/dist/esm/debounce-012012be.js.map +0 -1
- package/dist/esm/dom-63b96658.js +0 -1065
- package/dist/esm/dom-63b96658.js.map +0 -1
- package/dist/esm/el-2c165829.js +0 -66
- package/dist/esm/el-2c165829.js.map +0 -1
- package/dist/esm/en-au-97adccf2.js +0 -66
- package/dist/esm/en-au-97adccf2.js.map +0 -1
- package/dist/esm/en-ca-e7c2aaf2.js +0 -65
- package/dist/esm/en-ca-e7c2aaf2.js.map +0 -1
- package/dist/esm/en-gb-99163618.js +0 -69
- package/dist/esm/en-gb-99163618.js.map +0 -1
- package/dist/esm/es-ca83d88f.js +0 -66
- package/dist/esm/es-ca83d88f.js.map +0 -1
- package/dist/esm/es-mx-6bdf255f.js +0 -65
- package/dist/esm/es-mx-6bdf255f.js.map +0 -1
- package/dist/esm/et-784b9bf6.js +0 -92
- package/dist/esm/et-784b9bf6.js.map +0 -1
- package/dist/esm/fi-c1498db1.js +0 -115
- package/dist/esm/fi-c1498db1.js.map +0 -1
- package/dist/esm/filter-12c5a24c.js +0 -772
- package/dist/esm/filter-12c5a24c.js.map +0 -1
- package/dist/esm/floating-ui-bb60db3e.js +0 -2286
- package/dist/esm/floating-ui-bb60db3e.js.map +0 -1
- package/dist/esm/focusTrapComponent-c63f6b29.js +0 -1015
- package/dist/esm/focusTrapComponent-c63f6b29.js.map +0 -1
- package/dist/esm/form-15b23645.js +0 -369
- package/dist/esm/form-15b23645.js.map +0 -1
- package/dist/esm/fr-5f1729ca.js +0 -68
- package/dist/esm/fr-5f1729ca.js.map +0 -1
- package/dist/esm/fr-ch-f3209244.js +0 -66
- package/dist/esm/fr-ch-f3209244.js.map +0 -1
- package/dist/esm/guid-e88236cd.js +0 -21
- package/dist/esm/guid-e88236cd.js.map +0 -1
- package/dist/esm/he-c3d2921e.js +0 -105
- package/dist/esm/he-c3d2921e.js.map +0 -1
- package/dist/esm/hi-83ec6ae0.js +0 -65
- package/dist/esm/hi-83ec6ae0.js.map +0 -1
- package/dist/esm/hr-d3823235.js +0 -80
- package/dist/esm/hr-d3823235.js.map +0 -1
- package/dist/esm/hu-b0de226a.js +0 -88
- package/dist/esm/hu-b0de226a.js.map +0 -1
- package/dist/esm/id-e06f61a1.js +0 -66
- package/dist/esm/id-e06f61a1.js.map +0 -1
- package/dist/esm/index-13d6569f.js +0 -73
- package/dist/esm/index-13d6569f.js.map +0 -1
- package/dist/esm/index-83937316.js +0 -1899
- package/dist/esm/index-83937316.js.map +0 -1
- package/dist/esm/index-ca806346.js +0 -206
- package/dist/esm/index-ca806346.js.map +0 -1
- package/dist/esm/input-2b4050bb.js +0 -55
- package/dist/esm/input-2b4050bb.js.map +0 -1
- package/dist/esm/interactive-9e5e40e3.js +0 -146
- package/dist/esm/interactive-9e5e40e3.js.map +0 -1
- package/dist/esm/it-a4d6a18a.js +0 -66
- package/dist/esm/it-a4d6a18a.js.map +0 -1
- package/dist/esm/it-ch-7d051cbb.js +0 -66
- package/dist/esm/it-ch-7d051cbb.js.map +0 -1
- package/dist/esm/ja-0150deb6.js +0 -72
- package/dist/esm/ja-0150deb6.js.map +0 -1
- package/dist/esm/key-b5c2cd7d.js +0 -13
- package/dist/esm/key-b5c2cd7d.js.map +0 -1
- package/dist/esm/ko-b55b3fd9.js +0 -72
- package/dist/esm/ko-b55b3fd9.js.map +0 -1
- package/dist/esm/label-0a6fa80e.js +0 -176
- package/dist/esm/label-0a6fa80e.js.map +0 -1
- package/dist/esm/loadable-38c7a128.js +0 -86
- package/dist/esm/loadable-38c7a128.js.map +0 -1
- package/dist/esm/locale-98b6e661.js +0 -563
- package/dist/esm/locale-98b6e661.js.map +0 -1
- package/dist/esm/lt-a97c8f39.js +0 -97
- package/dist/esm/lt-a97c8f39.js.map +0 -1
- package/dist/esm/lv-69de396f.js +0 -66
- package/dist/esm/lv-69de396f.js.map +0 -1
- package/dist/esm/math-1ffb5216.js +0 -51
- package/dist/esm/math-1ffb5216.js.map +0 -1
- package/dist/esm/mk-b027047b.js +0 -66
- package/dist/esm/mk-b027047b.js.map +0 -1
- package/dist/esm/nb-2c2f5110.js +0 -67
- package/dist/esm/nb-2c2f5110.js.map +0 -1
- package/dist/esm/nl-bcb1fef5.js +0 -67
- package/dist/esm/nl-bcb1fef5.js.map +0 -1
- package/dist/esm/observers-b1ddc634.js +0 -50
- package/dist/esm/observers-b1ddc634.js.map +0 -1
- package/dist/esm/openCloseComponent-221c7895.js +0 -88
- package/dist/esm/openCloseComponent-221c7895.js.map +0 -1
- package/dist/esm/pl-d7b738d5.js +0 -114
- package/dist/esm/pl-d7b738d5.js.map +0 -1
- package/dist/esm/pt-8d862776.js +0 -67
- package/dist/esm/pt-8d862776.js.map +0 -1
- package/dist/esm/pt-br-9cced7c3.js +0 -65
- package/dist/esm/pt-br-9cced7c3.js.map +0 -1
- package/dist/esm/resources-06afaa96.js +0 -21
- package/dist/esm/resources-06afaa96.js.map +0 -1
- package/dist/esm/resources-1c4729cf.js +0 -47
- package/dist/esm/resources-1c4729cf.js.map +0 -1
- package/dist/esm/resources-3625820f.js +0 -25
- package/dist/esm/resources-3625820f.js.map +0 -1
- package/dist/esm/resources-6f878962.js +0 -382
- package/dist/esm/resources-6f878962.js.map +0 -1
- package/dist/esm/resources-77de6f53.js +0 -23
- package/dist/esm/resources-77de6f53.js.map +0 -1
- package/dist/esm/resources-87521d97.js +0 -19
- package/dist/esm/resources-87521d97.js.map +0 -1
- package/dist/esm/resources-c8a9ab73.js +0 -16
- package/dist/esm/resources-c8a9ab73.js.map +0 -1
- package/dist/esm/ro-64696343.js +0 -66
- package/dist/esm/ro-64696343.js.map +0 -1
- package/dist/esm/ru-7d2bcecb.js +0 -126
- package/dist/esm/ru-7d2bcecb.js.map +0 -1
- package/dist/esm/sk-696727a5.js +0 -148
- package/dist/esm/sk-696727a5.js.map +0 -1
- package/dist/esm/sl-d6786356.js +0 -168
- package/dist/esm/sl-d6786356.js.map +0 -1
- package/dist/esm/sortableComponent-d6d6073a.js +0 -2740
- package/dist/esm/sortableComponent-d6d6073a.js.map +0 -1
- package/dist/esm/sr-49902b21.js +0 -101
- package/dist/esm/sr-49902b21.js.map +0 -1
- package/dist/esm/sv-42352adb.js +0 -71
- package/dist/esm/sv-42352adb.js.map +0 -1
- package/dist/esm/t9n-743d8f1f.js +0 -92
- package/dist/esm/t9n-743d8f1f.js.map +0 -1
- package/dist/esm/th-b38889af.js +0 -65
- package/dist/esm/th-b38889af.js.map +0 -1
- package/dist/esm/throttle-f010e4ec.js +0 -75
- package/dist/esm/throttle-f010e4ec.js.map +0 -1
- package/dist/esm/tr-45b364a6.js +0 -66
- package/dist/esm/tr-45b364a6.js.map +0 -1
- package/dist/esm/uk-139dd5db.js +0 -104
- package/dist/esm/uk-139dd5db.js.map +0 -1
- package/dist/esm/utils-8a9f83d2.js +0 -200
- package/dist/esm/utils-8a9f83d2.js.map +0 -1
- package/dist/esm/utils-b5c2b8ad.js +0 -289
- package/dist/esm/utils-b5c2b8ad.js.map +0 -1
- package/dist/esm/vi-7ad65eda.js +0 -70
- package/dist/esm/vi-7ad65eda.js.map +0 -1
- package/dist/esm/zh-cn-3b50595c.js +0 -94
- package/dist/esm/zh-cn-3b50595c.js.map +0 -1
- package/dist/esm/zh-hk-5c21fdfd.js +0 -71
- package/dist/esm/zh-hk-5c21fdfd.js.map +0 -1
- package/dist/esm/zh-tw-6b722e99.js +0 -92
- package/dist/esm/zh-tw-6b722e99.js.map +0 -1
- /package/dist/calcite/{p-13e864aa.js.map → p-00fb4b18.js.map} +0 -0
- /package/dist/calcite/{p-2632edf0.js.map → p-02f20832.js.map} +0 -0
- /package/dist/calcite/{p-b4152d8c.js.map → p-03e7828b.js.map} +0 -0
- /package/dist/calcite/{p-89df96fa.entry.js.map → p-045f7080.entry.js.map} +0 -0
- /package/dist/calcite/{p-f75f0a6d.js.map → p-0592bb74.js.map} +0 -0
- /package/dist/calcite/{p-d1a95180.js.map → p-06264a70.js.map} +0 -0
- /package/dist/calcite/{p-5deb8612.entry.js.map → p-0675423d.entry.js.map} +0 -0
- /package/dist/calcite/{p-ec696440.entry.js.map → p-0b425650.entry.js.map} +0 -0
- /package/dist/calcite/{p-5a0aa304.js.map → p-0d38002d.js.map} +0 -0
- /package/dist/calcite/{p-ffbee4c4.js.map → p-0e14f6ba.js.map} +0 -0
- /package/dist/calcite/{p-28d5a868.js.map → p-137cb2d8.js.map} +0 -0
- /package/dist/calcite/{p-f1a01e9f.entry.js.map → p-14d42338.entry.js.map} +0 -0
- /package/dist/calcite/{p-017ff109.js.map → p-1a5a3816.js.map} +0 -0
- /package/dist/calcite/{p-3d302e7a.js.map → p-1b66a670.js.map} +0 -0
- /package/dist/calcite/{p-db4c54d8.entry.js.map → p-1befc448.entry.js.map} +0 -0
- /package/dist/calcite/{p-eb55c27b.js.map → p-216d3475.js.map} +0 -0
- /package/dist/calcite/{p-dbd035fd.js.map → p-23562709.js.map} +0 -0
- /package/dist/calcite/{p-a10eff50.entry.js.map → p-23e6adeb.entry.js.map} +0 -0
- /package/dist/calcite/{p-6abba7df.js.map → p-27b469a5.js.map} +0 -0
- /package/dist/calcite/{p-374515dd.entry.js.map → p-27e6101c.entry.js.map} +0 -0
- /package/dist/calcite/{p-1ab69d9d.js.map → p-28d72f23.js.map} +0 -0
- /package/dist/calcite/{p-041a8de6.entry.js.map → p-2cf00d1c.entry.js.map} +0 -0
- /package/dist/calcite/{p-8bf084c6.js.map → p-2e65afe6.js.map} +0 -0
- /package/dist/calcite/{p-7369809e.js.map → p-2fec90cc.js.map} +0 -0
- /package/dist/calcite/{p-c1f0fad9.js.map → p-300037e0.js.map} +0 -0
- /package/dist/calcite/{p-d425e9b0.js.map → p-323499c6.js.map} +0 -0
- /package/dist/calcite/{p-7e4a0c23.entry.js.map → p-33936156.entry.js.map} +0 -0
- /package/dist/calcite/{p-3a4e7427.js.map → p-33987720.js.map} +0 -0
- /package/dist/calcite/{p-1e838207.js.map → p-34b88712.js.map} +0 -0
- /package/dist/calcite/{p-c8b2ef0a.js.map → p-3c7de4a4.js.map} +0 -0
- /package/dist/calcite/{p-2f78ad4e.js.map → p-44bcb296.js.map} +0 -0
- /package/dist/calcite/{p-a774b568.entry.js.map → p-471cd147.entry.js.map} +0 -0
- /package/dist/calcite/{p-dc8ea27c.js.map → p-489ab4db.js.map} +0 -0
- /package/dist/calcite/{p-c6857d4c.js.map → p-4ce7ed41.js.map} +0 -0
- /package/dist/calcite/{p-7753672a.js.map → p-4d984389.js.map} +0 -0
- /package/dist/calcite/{p-6cfc0cf7.js.map → p-53206461.js.map} +0 -0
- /package/dist/calcite/{p-71f850ce.js.map → p-537bd8ad.js.map} +0 -0
- /package/dist/calcite/{p-b8248e75.js.map → p-56c5a9db.js.map} +0 -0
- /package/dist/calcite/{p-4a7f9f77.js.map → p-57e21d44.js.map} +0 -0
- /package/dist/calcite/{p-9c70c319.js.map → p-5a2e88a5.js.map} +0 -0
- /package/dist/calcite/{p-a1399801.js.map → p-5ed38cb9.js.map} +0 -0
- /package/dist/calcite/{p-95a87661.js.map → p-601d8185.js.map} +0 -0
- /package/dist/calcite/{p-0d049305.js.map → p-61ca3fb5.js.map} +0 -0
- /package/dist/calcite/{p-6422db1f.js.map → p-64a13b2b.js.map} +0 -0
- /package/dist/calcite/{p-8454d4f3.js.map → p-692ed798.js.map} +0 -0
- /package/dist/calcite/{p-c90dab6f.js.map → p-6be4c997.js.map} +0 -0
- /package/dist/calcite/{p-2778f6f5.js.map → p-6d735fc5.js.map} +0 -0
- /package/dist/calcite/{p-13a91ca4.js.map → p-6d7ea488.js.map} +0 -0
- /package/dist/calcite/{p-0055e511.js.map → p-70c530fa.js.map} +0 -0
- /package/dist/calcite/{p-79b796c1.entry.js.map → p-721693d5.entry.js.map} +0 -0
- /package/dist/calcite/{p-b3a9b574.js.map → p-722485f5.js.map} +0 -0
- /package/dist/calcite/{p-2b65ed63.entry.js.map → p-731c80e1.entry.js.map} +0 -0
- /package/dist/calcite/{p-793f94a2.js.map → p-76a05023.js.map} +0 -0
- /package/dist/calcite/{p-e866b896.js.map → p-7808f2ea.js.map} +0 -0
- /package/dist/calcite/{p-df575d84.js.map → p-7929e123.js.map} +0 -0
- /package/dist/calcite/{p-a0cb4dc2.entry.js.map → p-7d9caf84.entry.js.map} +0 -0
- /package/dist/calcite/{p-30803e77.js.map → p-8056b9f5.js.map} +0 -0
- /package/dist/calcite/{p-2dc1c1a0.js.map → p-8214890d.js.map} +0 -0
- /package/dist/calcite/{p-3d642bb5.entry.js.map → p-82acae3a.entry.js.map} +0 -0
- /package/dist/calcite/{p-607f6ebc.js.map → p-8356a697.js.map} +0 -0
- /package/dist/calcite/{p-4a887929.entry.js.map → p-8582076d.entry.js.map} +0 -0
- /package/dist/calcite/{p-b3ec31eb.js.map → p-87e00193.js.map} +0 -0
- /package/dist/calcite/{p-0f2befc5.js.map → p-8a489084.js.map} +0 -0
- /package/dist/calcite/{p-85ac6a8b.js.map → p-8a5e2f30.js.map} +0 -0
- /package/dist/calcite/{p-d41eda90.js.map → p-8e3a4720.js.map} +0 -0
- /package/dist/calcite/{p-b8a710c9.js.map → p-9229616c.js.map} +0 -0
- /package/dist/calcite/{p-70f6a000.js.map → p-93814eea.js.map} +0 -0
- /package/dist/calcite/{p-bf44c80a.js.map → p-94138947.js.map} +0 -0
- /package/dist/calcite/{p-a138e60f.js.map → p-94231d36.js.map} +0 -0
- /package/dist/calcite/{p-7c589f7f.js.map → p-9afafa31.js.map} +0 -0
- /package/dist/calcite/{p-055b2783.js.map → p-a1729828.js.map} +0 -0
- /package/dist/calcite/{p-d8d70bf3.js.map → p-a241e050.js.map} +0 -0
- /package/dist/calcite/{p-2481fa80.js.map → p-aa1f3bb0.js.map} +0 -0
- /package/dist/calcite/{p-0ded9ae1.js.map → p-ac40db38.js.map} +0 -0
- /package/dist/calcite/{p-efc4d265.js.map → p-ad00867d.js.map} +0 -0
- /package/dist/calcite/{p-7b81ad5b.entry.js.map → p-adf2e09b.entry.js.map} +0 -0
- /package/dist/calcite/{p-dd122c48.js.map → p-ae04d854.js.map} +0 -0
- /package/dist/calcite/{p-36f05a81.js.map → p-afaa8bd6.js.map} +0 -0
- /package/dist/calcite/{p-afb5e688.entry.js.map → p-b29c10c7.entry.js.map} +0 -0
- /package/dist/calcite/{p-0162b05a.js.map → p-b5e1810c.js.map} +0 -0
- /package/dist/calcite/{p-24808000.js.map → p-b8e56d6d.js.map} +0 -0
- /package/dist/calcite/{p-ed35c6d8.js.map → p-b9975309.js.map} +0 -0
- /package/dist/calcite/{p-b833204d.js.map → p-bd71120b.js.map} +0 -0
- /package/dist/calcite/{p-ff961e08.js.map → p-bf46ae45.js.map} +0 -0
- /package/dist/calcite/{p-59472336.js.map → p-c15f09d4.js.map} +0 -0
- /package/dist/calcite/{p-1a91451c.js.map → p-c26dde6d.js.map} +0 -0
- /package/dist/calcite/{p-9a5fdab8.js.map → p-c5480e93.js.map} +0 -0
- /package/dist/calcite/{p-64eee6a2.js.map → p-c5966b3e.js.map} +0 -0
- /package/dist/calcite/{p-2977ec54.js.map → p-c648d437.js.map} +0 -0
- /package/dist/calcite/{p-934455cd.js.map → p-c6f9db24.js.map} +0 -0
- /package/dist/calcite/{p-57d2f130.entry.js.map → p-c826795e.entry.js.map} +0 -0
- /package/dist/calcite/{p-31c4b5a1.js.map → p-cfaec1e1.js.map} +0 -0
- /package/dist/calcite/{p-d66f1056.entry.js.map → p-cfd060b6.entry.js.map} +0 -0
- /package/dist/calcite/{p-9a02cac5.entry.js.map → p-d2fbfca1.entry.js.map} +0 -0
- /package/dist/calcite/{p-84214ae3.js.map → p-d4786ef7.js.map} +0 -0
- /package/dist/calcite/{p-7f9ac7b4.js.map → p-d689065d.js.map} +0 -0
- /package/dist/calcite/{p-c4f30c75.js.map → p-dc15734f.js.map} +0 -0
- /package/dist/calcite/{p-33b0174c.entry.js.map → p-dcdf72f0.entry.js.map} +0 -0
- /package/dist/calcite/{p-d4e9817c.entry.js.map → p-e0aee19b.entry.js.map} +0 -0
- /package/dist/calcite/{p-d5fb1def.js.map → p-e48d006d.js.map} +0 -0
- /package/dist/calcite/{p-0d9ac7a1.entry.js.map → p-e8aee604.entry.js.map} +0 -0
- /package/dist/calcite/{p-d4870da3.js.map → p-e990b472.js.map} +0 -0
- /package/dist/calcite/{p-9009b70b.js.map → p-f246c231.js.map} +0 -0
- /package/dist/calcite/{p-6387e69e.entry.js.map → p-f3ebaf96.entry.js.map} +0 -0
- /package/dist/calcite/{p-51f324d8.js.map → p-f9bb2b7b.js.map} +0 -0
- /package/dist/calcite/{p-c96daab9.entry.js.map → p-fbb63962.entry.js.map} +0 -0
- /package/dist/calcite/{p-8775218c.entry.js.map → p-fe77f56d.entry.js.map} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["menuCss","CalciteMenuStyle0","CalciteMenu","this","menuItems","handleMenuSlotChange","event","slotChangeGetAssignedElements","setMenuItemLayout","layout","handleGlobalAttributesChanged","forceUpdate","handleLayoutChange","value","onMessagesChange","effectiveLocaleChange","updateMessages","effectiveLocale","connectedCallback","connectLocalized","connectMessages","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","setComponentLoaded","disconnectedCallback","disconnectLocalized","disconnectMessages","setFocus","componentFocusable","el","focus","calciteInternalNavMenuItemKeyEvent","target","submenuItems","detail","children","key","stopPropagation","focusElementInGroup","isSubmenuOpen","length","focusParentElement","preventDefault","parentEl","parentElement","focusElement","open","items","forEach","item","getEffectiveRole","isTopLevelItem","topLevelMenuLayout","getAttribute","render","h","Host","label","role","onSlotchange","CSS","container","content","dropdownVertical","dropdownMenuItems","dropdownAction","layoutVertical","hoverHrefIcon","icon","iconBreadcrumb","iconDropdown","iconEnd","iconStart","isParentVertical","itemContent","nested","textContainer","menuItemCss","CalciteMenuItemStyle0","CalciteMenuItem","clickHandler","href","dropdownActionEl","hasSubmenu","selectMenuItem","handleMenuItemSlotChange","keyDownHandler","async","targetIsDropdown","defaultPrevented","calciteInternalMenuItemKeyEvent","emit","anchorEl","handleClickOut","composedPath","includes","handleFocusOut","contains","relatedTarget","blurHandler","isFocused","focusHandler","calciteMenuItemSelect","renderIconStart","class","flipRtl","iconFlipRtl","scale","renderIconEnd","renderBreadcrumbIcon","dir","renderDropdownIcon","dirChevron","renderDropdownAction","onClick","onKeyDown","ref","text","messages","renderSubmenuItems","CSS_UTILITY","rtl","submenu","name","renderHrefIcon","renderItemContent","hasHref","Fragment","breadcrumb","getElementDir","onBlur","onFocus","rel","tabIndex"],"sources":["src/components/menu/menu.scss?tag=calcite-menu&encapsulation=shadow","src/components/menu/menu.tsx","src/components/menu-item/resources.ts","src/components/menu-item/menu-item.scss?tag=calcite-menu-item&encapsulation=shadow","src/components/menu-item/menu-item.tsx"],"sourcesContent":[":host {\n @apply flex;\n}\n\nul {\n @apply inline-flex items-center h-full m-0 p-0;\n}\n\n:host([layout=\"vertical\"]) ul {\n @apply flex flex-col w-full;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n Method,\n VNode,\n forceUpdate,\n} from \"@stencil/core\";\nimport { focusElement, focusElementInGroup, slotChangeGetAssignedElements } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { MenuMessages } from \"./assets/menu/t9n\";\n\ntype Layout = \"horizontal\" | \"vertical\";\n\n@Component({\n tag: \"calcite-menu\",\n styleUrl: \"menu.scss\",\n shadow: {\n delegatesFocus: true,\n },\n assetsDirs: [\"assets\"],\n})\nexport class CalciteMenu implements LocalizedComponent, T9nComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Global attributes\n //\n //--------------------------------------------------------------------------\n\n @Watch(\"role\")\n handleGlobalAttributesChanged(): void {\n forceUpdate(this);\n this.setMenuItemLayout(this.menuItems, this.layout);\n }\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * Accessible name for the component.\n */\n @Prop() label!: string;\n\n /**\n * Specifies the layout of the component.\n */\n @Prop({ reflect: true }) layout: Layout = \"horizontal\";\n\n @Watch(\"layout\")\n handleLayoutChange(value: Layout): void {\n this.setMenuItemLayout(this.menuItems, value);\n }\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<MenuMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * Made into a prop for testing purposes only.\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: MenuMessages;\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteMenuElement;\n\n @State() defaultMessages: MenuMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n menuItems: HTMLCalciteMenuItemElement[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.el.focus();\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalMenuItemKeyEvent\")\n calciteInternalNavMenuItemKeyEvent(event: CustomEvent): void {\n const target = event.target as HTMLCalciteMenuItemElement;\n const submenuItems = event.detail.children;\n const key = event.detail.event.key;\n event.stopPropagation();\n\n if (key === \"ArrowDown\") {\n if (target.layout === \"vertical\") {\n focusElementInGroup(this.menuItems, target, \"next\", false);\n } else {\n if (event.detail.isSubmenuOpen) {\n submenuItems[0].setFocus();\n }\n }\n } else if (key === \"ArrowUp\") {\n if (this.layout === \"vertical\") {\n focusElementInGroup(this.menuItems, target, \"previous\", false);\n } else {\n if (event.detail.isSubmenuOpen) {\n submenuItems[submenuItems.length - 1].setFocus();\n }\n }\n } else if (key === \"ArrowRight\") {\n if (this.layout === \"horizontal\") {\n focusElementInGroup(this.menuItems, target, \"next\", false);\n } else {\n if (event.detail.isSubmenuOpen) {\n submenuItems[0].setFocus();\n }\n }\n } else if (key === \"ArrowLeft\") {\n if (this.layout === \"horizontal\") {\n focusElementInGroup(this.menuItems, target, \"previous\", false);\n } else {\n if (event.detail.isSubmenuOpen) {\n this.focusParentElement(event.target as HTMLCalciteMenuItemElement);\n }\n }\n } else if (key === \"Escape\") {\n this.focusParentElement(event.target as HTMLCalciteMenuItemElement);\n }\n event.preventDefault();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n handleMenuSlotChange = (event: Event): void => {\n this.menuItems = slotChangeGetAssignedElements(event) as HTMLCalciteMenuItemElement[];\n this.setMenuItemLayout(this.menuItems, this.layout);\n };\n\n focusParentElement(el: HTMLCalciteMenuItemElement): void {\n const parentEl = el.parentElement as HTMLCalciteMenuItemElement;\n if (parentEl) {\n focusElement(parentEl);\n parentEl.open = false;\n }\n }\n\n setMenuItemLayout(items: HTMLCalciteMenuItemElement[], layout: Layout): void {\n items.forEach((item) => {\n item.layout = layout;\n if (this.getEffectiveRole() === \"menubar\") {\n item.isTopLevelItem = true;\n item.topLevelMenuLayout = this.layout;\n }\n });\n }\n\n private getEffectiveRole(): string {\n return this.el.getAttribute(\"role\") || \"menubar\";\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host>\n <ul aria-label={this.label} role={this.getEffectiveRole()}>\n <slot onSlotchange={this.handleMenuSlotChange} />\n </ul>\n </Host>\n );\n }\n}\n","export const CSS = {\n container: \"container\",\n content: \"content\",\n dropdownVertical: \"dropdown--vertical\",\n dropdownMenuItems: \"dropdown-menu-items\",\n dropdownAction: \"dropdown-action\",\n layoutVertical: \"layout--vertical\",\n hoverHrefIcon: \"hover-href-icon\",\n icon: \"icon\",\n iconBreadcrumb: \"icon--breadcrumb\",\n iconDropdown: \"icon--dropdown\",\n iconEnd: \"icon--end\",\n iconStart: \"icon--start\",\n isParentVertical: \"parent--vertical\",\n itemContent: \"item-content\",\n open: \"open\",\n nested: \"nested\",\n textContainer: \"text-container\",\n};\n",":host {\n @apply flex\n items-center\n relative\n box-border;\n flex-shrink: 0;\n & .container,\n & .item-content,\n & .content {\n min-block-size: theme(\"spacing.12\");\n }\n}\n\n:host([layout=\"vertical\"]) {\n @apply w-full;\n}\n\n:host(:not([layout=\"vertical\"])) {\n @apply h-full;\n}\n\n.container,\n.item-content {\n @apply flex flex-row w-full h-full items-stretch;\n}\n\n.content {\n @apply flex\n items-center\n relative\n justify-center\n cursor-pointer\n outline-none\n text-0\n text-color-2\n box-border\n bg-foreground-1\n px-4\n h-full\n w-full;\n text-decoration: none;\n border-block-end: theme(\"spacing[0.5]\") solid transparent;\n padding-block-start: theme(\"spacing[0.5]\");\n &:hover {\n @apply bg-foreground-2 text-color-2;\n }\n &:focus {\n @apply bg-foreground-2 text-color-2 focus-inset;\n }\n &:active {\n @apply bg-foreground-3 text-color-1;\n }\n & span {\n display: inline-flex;\n }\n &.layout--vertical {\n @apply flex w-full justify-start;\n padding-block: 1rem;\n border-block-end: 0;\n border-inline-end: theme(\"spacing.1\") solid transparent;\n }\n}\n\n:host([active]) .content {\n @apply text-color-1;\n border-color: var(--calcite-color-brand);\n .icon {\n --calcite-ui-icon-color: var(--calcite-color-brand);\n }\n}\n:host([layout=\"vertical\"]) .content {\n @apply px-3;\n}\n\n.icon--start {\n @apply me-3;\n}\n\n.icon--end {\n @apply ms-3;\n}\n\n:host([layout=\"vertical\"]) .icon--end {\n @apply ms-auto ps-3;\n}\n\n.icon--dropdown {\n @apply ms-auto me-0 ps-2 relative;\n --calcite-ui-icon-color: var(--calcite-color-text-3);\n}\n\n:host([layout=\"vertical\"]) .icon--end ~ .icon--dropdown {\n @apply ms-3;\n}\n\n:host([layout=\"vertical\"]) .hover-href-icon {\n @apply ps-2;\n}\n:host([layout=\"vertical\"]) .hover-href-icon ~ .icon--end {\n @apply ms-2;\n}\n\n:host([layout=\"vertical\"]) .hover-href-icon ~ .icon--breadcrumb {\n @apply ms-3;\n}\n\n.icon--breadcrumb {\n @apply ps-2 me-0;\n --calcite-ui-icon-color: var(--calcite-color-text-3);\n}\n\n:host([layout=\"vertical\"]) .icon--breadcrumb {\n @apply ms-auto;\n}\n\n:host([layout=\"vertical\"]) .icon--breadcrumb ~ .icon--dropdown {\n @apply ms-2;\n}\n\n:host([layout=\"vertical\"]) .icon--end ~ .icon--breadcrumb {\n @apply ms-2;\n}\n\n:host([breadcrumb]) .content {\n @apply pe-3;\n}\n\ncalcite-action {\n @apply relative h-auto;\n border-inline-start: 1px solid var(--calcite-color-foreground-1);\n &:after {\n @apply block w-px absolute -start-px;\n content: \"\";\n inset-block: theme(\"spacing.3\");\n background-color: var(--calcite-color-border-3);\n }\n &:hover:after {\n @apply h-full;\n inset-block: 0;\n }\n}\n\n.content:focus ~ calcite-action,\n.content:hover ~ calcite-action {\n @apply text-color-1;\n border-inline-start: 1px solid var(--calcite-color-border-3);\n}\n\n.container:hover .dropdown-action {\n @apply bg-foreground-2;\n}\n\n.dropdown-menu-items {\n @apply absolute h-auto flex-col hidden overflow-visible min-w-full;\n border: 1px solid var(--calcite-color-border-3);\n background: var(--calcite-color-foreground-1);\n inset-block-start: 100%;\n z-index: theme(\"zIndex.dropdown\");\n &.open {\n @apply block;\n }\n &.nested {\n @apply absolute;\n inset-block-start: -1px;\n transform: translateX(calc(100% - 2px));\n }\n}\n\n.parent--vertical {\n @apply flex-col;\n}\n\n.dropdown--vertical.dropdown-menu-items {\n @apply relative rounded-none;\n box-shadow: none;\n inset-block-start: 0;\n transform: none;\n &:last-of-type {\n border-inline: 0;\n }\n}\n\n:host([layout=\"vertical\"]:last-of-type) .dropdown-menu-items {\n border-block-end: 0;\n}\n\n:host([slot=\"submenu-item\"]) .parent--vertical {\n @apply ps-6;\n}\n\n.dropdown-menu-items.nested.calcite--rtl {\n transform: translateX(calc(-100% + 2px));\n}\n\n.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl {\n transform: none;\n}\n\n.hover-href-icon {\n @apply ms-auto relative end-1 opacity-0;\n transition: all var(--calcite-internal-animation-timing-medium) ease-in-out;\n}\n\n.content:focus .hover-href-icon,\n.content:hover .hover-href-icon {\n @apply opacity-100 -end-1;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { FlipContext } from \"../interfaces\";\nimport { Direction, getElementDir, slotChangeGetAssignedElements } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { LocalizedComponent, connectLocalized, disconnectLocalized } from \"../../utils/locale\";\nimport { CSS } from \"./resources\";\nimport { MenuItemCustomEvent } from \"./interfaces\";\nimport { MenuItemMessages } from \"./assets/menu-item/t9n\";\n\ntype Layout = \"horizontal\" | \"vertical\";\n\n/**\n * @slot submenu-item - A slot for adding `calcite-menu-item`s in a submenu.\n */\n@Component({\n tag: \"calcite-menu-item\",\n styleUrl: \"menu-item.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class CalciteMenuItem implements LoadableComponent, T9nComponent, LocalizedComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted. */\n @Prop({ reflect: true }) active: boolean;\n\n /** When `true`, the component displays a breadcrumb trail for use as a navigational aid. */\n @Prop({ reflect: true }) breadcrumb: boolean;\n\n /** Specifies the URL destination of the component, which can be set as an absolute or relative path.*/\n @Prop() href: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: string;\n\n /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /**\n * @internal\n */\n @Prop() isTopLevelItem = false;\n\n /** Accessible name for the component.*/\n @Prop() label!: string;\n\n /**\n * @internal\n */\n @Prop({ reflect: true }) layout: Layout;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<MenuItemMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * Made into a prop for testing purposes only.\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: MenuItemMessages;\n\n /** When `true`, the component will display any slotted `calcite-menu-item` in an open overflow menu.*/\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * Defines the relationship between the `href` value and the current document.\n *\n * @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)\n */\n @Prop({ reflect: true }) rel: string;\n\n /**\n * Specifies where to open the linked document defined in the `href` property.\n *\n * @mdn [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)\n */\n @Prop({ reflect: true }) target: string;\n\n /** Specifies the text to display.*/\n @Prop() text: string;\n\n /**\n * @internal\n */\n @Prop() topLevelMenuLayout: Layout;\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteMenuItemElement;\n\n @State() defaultMessages: MenuItemMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() hasSubmenu = false;\n\n @State() submenuItems: HTMLCalciteMenuItemElement[];\n\n anchorEl: HTMLAnchorElement;\n\n dropdownActionEl: HTMLCalciteActionElement;\n\n isFocused: boolean;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.anchorEl.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n /** @internal */\n @Event({ cancelable: true }) calciteInternalMenuItemKeyEvent: EventEmitter<MenuItemCustomEvent>;\n\n /** Emits when the component is selected.*/\n @Event() calciteMenuItemSelect: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n @Listen(\"click\", { target: \"window\" })\n handleClickOut(event: Event): void {\n if (\n this.topLevelMenuLayout !== \"vertical\" &&\n this.hasSubmenu &&\n this.open &&\n !event.composedPath().includes(this.el)\n ) {\n this.open = false;\n }\n }\n\n @Listen(\"focusout\")\n handleFocusOut(event: FocusEvent): void {\n if (\n this.topLevelMenuLayout !== \"vertical\" &&\n !this.el.contains(event.relatedTarget as Element)\n ) {\n this.open = false;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private blurHandler(): void {\n this.isFocused = false;\n }\n\n private clickHandler = (event: MouseEvent): void => {\n if ((this.href && event.target === this.dropdownActionEl) || (!this.href && this.hasSubmenu)) {\n this.open = !this.open;\n }\n this.selectMenuItem(event);\n };\n\n private focusHandler(event: FocusEvent): void {\n const target = event.target as HTMLCalciteMenuItemElement;\n this.isFocused = true;\n if (target.open && !this.open) {\n target.open = false;\n }\n }\n\n private handleMenuItemSlotChange = (event: Event): void => {\n this.submenuItems = slotChangeGetAssignedElements(event) as HTMLCalciteMenuItemElement[];\n this.submenuItems.forEach((item) => {\n if (!item.topLevelMenuLayout) {\n item.topLevelMenuLayout = this.topLevelMenuLayout;\n }\n });\n this.hasSubmenu = this.submenuItems.length > 0;\n };\n\n private keyDownHandler = async (event: KeyboardEvent): Promise<void> => {\n const { hasSubmenu, href, layout, open, submenuItems } = this;\n const key = event.key;\n const targetIsDropdown = event.target === this.dropdownActionEl;\n\n if (event.defaultPrevented) {\n return;\n }\n\n if (key === \" \" || key === \"Enter\") {\n if (hasSubmenu && (!href || (href && targetIsDropdown))) {\n this.open = !open;\n }\n if (!(href && targetIsDropdown) && key !== \"Enter\") {\n this.selectMenuItem(event);\n }\n if (key === \" \" || (href && targetIsDropdown)) {\n event.preventDefault();\n }\n } else if (key === \"Escape\") {\n if (open) {\n this.open = false;\n return;\n }\n this.calciteInternalMenuItemKeyEvent.emit({ event });\n event.preventDefault();\n } else if (key === \"ArrowDown\" || key === \"ArrowUp\") {\n event.preventDefault();\n if ((targetIsDropdown || !href) && hasSubmenu && !open && layout === \"horizontal\") {\n this.open = true;\n return;\n }\n this.calciteInternalMenuItemKeyEvent.emit({\n event,\n children: submenuItems,\n isSubmenuOpen: open && hasSubmenu,\n });\n } else if (key === \"ArrowLeft\") {\n event.preventDefault();\n this.calciteInternalMenuItemKeyEvent.emit({\n event,\n children: submenuItems,\n isSubmenuOpen: true,\n });\n } else if (key === \"ArrowRight\") {\n event.preventDefault();\n if ((targetIsDropdown || !href) && hasSubmenu && !open && layout === \"vertical\") {\n this.open = true;\n return;\n }\n this.calciteInternalMenuItemKeyEvent.emit({\n event,\n children: submenuItems,\n isSubmenuOpen: open && hasSubmenu,\n });\n }\n };\n\n private selectMenuItem(event: MouseEvent | KeyboardEvent): void {\n if (event.target !== this.dropdownActionEl) {\n this.calciteMenuItemSelect.emit();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderIconStart(): VNode {\n return (\n <calcite-icon\n class={`${CSS.icon} ${CSS.iconStart}`}\n flipRtl={this.iconFlipRtl === \"start\" || this.iconFlipRtl === \"both\"}\n icon={this.iconStart}\n key={CSS.iconStart}\n scale=\"s\"\n />\n );\n }\n\n renderIconEnd(): VNode {\n return (\n <calcite-icon\n class={`${CSS.icon} ${CSS.iconEnd}`}\n flipRtl={this.iconFlipRtl === \"end\" || this.iconFlipRtl === \"both\"}\n icon={this.iconEnd}\n key={CSS.iconEnd}\n scale=\"s\"\n />\n );\n }\n\n renderBreadcrumbIcon(dir: Direction): VNode {\n return (\n <calcite-icon\n class={`${CSS.icon} ${CSS.iconBreadcrumb}`}\n icon={dir === \"rtl\" ? \"chevron-left\" : \"chevron-right\"}\n key={CSS.iconBreadcrumb}\n scale=\"s\"\n />\n );\n }\n\n renderDropdownIcon(dir: Direction): VNode {\n const dirChevron = dir === \"rtl\" ? \"chevron-left\" : \"chevron-right\";\n return (\n <calcite-icon\n class={`${CSS.icon} ${CSS.iconDropdown}`}\n icon={\n this.topLevelMenuLayout === \"vertical\" || this.isTopLevelItem\n ? this.open\n ? \"chevron-up\"\n : \"chevron-down\"\n : dirChevron\n }\n key={CSS.iconDropdown}\n scale=\"s\"\n />\n );\n }\n\n renderDropdownAction(dir: Direction): VNode {\n const dirChevron = dir === \"rtl\" ? \"chevron-left\" : \"chevron-right\";\n return (\n <calcite-action\n class={CSS.dropdownAction}\n icon={\n this.topLevelMenuLayout === \"vertical\" || this.isTopLevelItem\n ? this.open\n ? \"chevron-up\"\n : \"chevron-down\"\n : dirChevron\n }\n key={CSS.dropdownAction}\n onClick={this.clickHandler}\n onKeyDown={this.keyDownHandler}\n ref={(el) => (this.dropdownActionEl = el)}\n text={this.messages.open}\n />\n );\n }\n\n renderSubmenuItems(dir: Direction): VNode {\n return (\n <calcite-menu\n class={{\n [CSS.dropdownMenuItems]: true,\n [CSS.open]: this.open,\n [CSS.nested]: !this.isTopLevelItem,\n [CSS_UTILITY.rtl]: dir === \"rtl\",\n [CSS.dropdownVertical]: this.topLevelMenuLayout === \"vertical\",\n }}\n label={this.messages.submenu}\n layout=\"vertical\"\n role=\"menu\"\n >\n <slot name=\"submenu-item\" onSlotchange={this.handleMenuItemSlotChange} />\n </calcite-menu>\n );\n }\n\n renderHrefIcon(dir: Direction): VNode {\n return (\n <calcite-icon\n class={CSS.hoverHrefIcon}\n icon={dir === \"rtl\" ? \"arrow-left\" : \"arrow-right\"}\n key={CSS.hoverHrefIcon}\n scale=\"s\"\n />\n );\n }\n\n renderItemContent(dir: Direction): VNode {\n const hasHref = this.href && (this.topLevelMenuLayout === \"vertical\" || !this.isTopLevelItem);\n return (\n <Fragment>\n {this.iconStart && this.renderIconStart()}\n <div class={CSS.textContainer}>\n <span>{this.text}</span>\n </div>\n {hasHref && this.renderHrefIcon(dir)}\n {this.iconEnd && this.renderIconEnd()}\n {this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null}\n {!this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null}\n </Fragment>\n );\n }\n\n render() {\n const dir = getElementDir(this.el);\n return (\n <Host onBlur={this.blurHandler} onFocus={this.focusHandler}>\n <li\n class={{\n [CSS.container]: true,\n [CSS.isParentVertical]: this.topLevelMenuLayout === \"vertical\",\n }}\n role=\"none\"\n >\n <div class={CSS.itemContent}>\n <a\n aria-current={this.isFocused ? \"page\" : false}\n aria-expanded={this.open}\n aria-haspopup={this.hasSubmenu}\n aria-label={this.label}\n class={{ [CSS.layoutVertical]: this.layout === \"vertical\", [CSS.content]: true }}\n href={this.href}\n onClick={this.clickHandler}\n onKeyDown={this.keyDownHandler}\n ref={(el) => (this.anchorEl = el)}\n rel={this.rel}\n role=\"menuitem\"\n tabIndex={this.isTopLevelItem ? 0 : -1}\n target={this.target}\n >\n {this.renderItemContent(dir)}\n </a>\n {this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null}\n </div>\n {this.renderSubmenuItems(dir)}\n </li>\n </Host>\n );\n }\n}\n"],"mappings":";;;;;yYAAA,MAAMA,EAAU,0OAChB,MAAAC,EAAeD,E,MCuCFE,EAAW,M,yBAsEtBC,KAAAC,UAA0C,GAgG1CD,KAAAE,qBAAwBC,IACtBH,KAAKC,UAAYG,EAA8BD,GAC/CH,KAAKK,kBAAkBL,KAAKC,UAAWD,KAAKM,OAAO,E,iCA7IX,a,4GAoCf,E,CAvD3B,6BAAAC,GACEC,EAAYR,MACZA,KAAKK,kBAAkBL,KAAKC,UAAWD,KAAKM,O,CAoB9C,kBAAAG,CAAmBC,GACjBV,KAAKK,kBAAkBL,KAAKC,UAAWS,E,CAUzC,gBAAAC,G,CAyBA,qBAAAC,GACEC,EAAeb,KAAMA,KAAKc,gB,CAW5B,iBAAAC,GACEC,EAAiBhB,MACjBiB,EAAgBjB,K,CAGlB,uBAAMkB,GACJC,EAAuBnB,YACjBoB,EAAcpB,K,CAGtB,gBAAAqB,GACEC,EAAmBtB,K,CAGrB,oBAAAuB,GACEC,EAAoBxB,MACpByB,EAAmBzB,K,CAWrB,cAAM0B,SACEC,EAAmB3B,M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All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{a as t,r as i,h as s,H as n,g as e}from"./p-d5fb1def.js";import{g as c,t as o}from"./p-521dd844.js";import{c as a}from"./p-7369809e.js";import"./p-1a91451c.js";import"./p-4a7f9f77.js";const l={icon:"icon",flipRtl:"flip-rtl"};const r={};const h={};const f={s:16,m:24,l:32};function p({icon:t,scale:i}){const s=f[i];const n=b(t);const e=n.charAt(n.length-1)==="F";const c=e?n.substring(0,n.length-1):n;return`${c}${s}${e?"F":""}`}async function u(i){const s=p(i);const n=m(s);if(n){return n}if(!h[s]){h[s]=fetch(t(`./assets/icon/${s}.json`)).then((t=>t.json())).catch((()=>{console.error(`"${s}" is not a valid calcite-ui-icon name`);return""}))}const e=await h[s];r[s]=e;return e}function d(t){return m(p(t))}function m(t){return r[t]}function b(t){const i=!isNaN(Number(t.charAt(0)));const s=t.split("-");const n=s.length>0;if(n){const i=/[a-z]/i;t=s.map(((t,s)=>t.replace(i,(function t(i,n){const e=s===0&&n===0;if(e){return i}return i.toUpperCase()})))).join("")}return i?`i${t}`:t}const x=":host{display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}";const g=x;const z=class{constructor(t){i(this,t);this.icon=null;this.flipRtl=false;this.scale="m";this.textLabel=undefined;this.pathData=undefined;this.visible=false}connectedCallback(){if(!this.visible){this.waitUntilVisible((()=>{this.visible=true;this.loadIconPathData()}))}}disconnectedCallback(){this.intersectionObserver?.disconnect();this.intersectionObserver=null}render(){const{el:t,flipRtl:i,pathData:e,scale:a,textLabel:r}=this;const h=c(t);const p=f[a];const u=!!r;const d=[].concat(e||"");return s(n,{key:"0c60b0a95752e214f7846583e31a8e803c8b4d0d","aria-hidden":o(!u),"aria-label":u?r:null,role:u?"img":null},s("svg",{key:"1b95324870ee42ef72a05e4fc06133bf3711bd78","aria-hidden":"true",class:{[l.flipRtl]:h==="rtl"&&i,svg:true},fill:"currentColor",height:"100%",viewBox:`0 0 ${p} ${p}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},d.map((t=>typeof t==="string"?s("path",{d:t}):s("path",{d:t.d,opacity:"opacity"in t?t.opacity:1})))))}async loadIconPathData(){const{icon:t,scale:i,visible:s}=this;if(!t||!s){return}const n={icon:t,scale:i};const e=d(n)||await u(n);if(t!==this.icon){return}this.pathData=e}waitUntilVisible(t){this.intersectionObserver=a("intersection",(i=>{i.forEach((i=>{if(i.isIntersecting){this.intersectionObserver.disconnect();this.intersectionObserver=null;t()}}))}),{rootMargin:"50px"});if(!this.intersectionObserver){t();return}this.intersectionObserver.observe(this.el)}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};z.style=g;export{z as calcite_icon};
|
|
7
|
-
//# sourceMappingURL=p-ec696440.entry.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{d as e}from"./p-b8a710c9.js";import"./p-d5fb1def.js";import"./p-607f6ebc.js";import"./p-521dd844.js";import"./p-1a91451c.js";import"./p-4a7f9f77.js";import"./p-dd122c48.js";import"./p-64eee6a2.js";import"./p-0055e511.js";import"./p-92ee57bc.js";import"./p-5b021a42.js";import"./p-77f9f089.js";import"./p-d41eda90.js";import"./p-7369809e.js";import"./p-bf44c80a.js";import"./p-f75f0a6d.js";import"./p-f2fb83bd.js";import"./p-bfe64bf4.js";import"./p-934455cd.js";var a={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function e(a){return a+"."}};e.locale(a,null,true);export{a as default};
|
|
7
|
-
//# sourceMappingURL=p-ed35c6d8.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
var n=typeof global=="object"&&global&&global.Object===Object&&global;const e=n;var r=typeof self=="object"&&self&&self.Object===Object&&self;var t=e||r||Function("return this")();const u=t;var i=u.Symbol;const f=i;var a=Object.prototype;var o=a.hasOwnProperty;var c=a.toString;var v=f?f.toStringTag:undefined;function d(n){var e=o.call(n,v),r=n[v];try{n[v]=undefined;var t=true}catch(n){}var u=c.call(n);if(t){if(e){n[v]=r}else{delete n[v]}}return u}var l=Object.prototype;var s=l.toString;function b(n){return s.call(n)}var p="[object Null]",y="[object Undefined]";var j=f?f.toStringTag:undefined;function m(n){if(n==null){return n===undefined?y:p}return j&&j in Object(n)?d(n):b(n)}function h(n){return n!=null&&typeof n=="object"}var T="[object Symbol]";function g(n){return typeof n=="symbol"||h(n)&&m(n)==T}var O=/\s/;function x(n){var e=n.length;while(e--&&O.test(n.charAt(e))){}return e}var w=/^\s+/;function $(n){return n?n.slice(0,x(n)+1).replace(w,""):n}function E(n){var e=typeof n;return n!=null&&(e=="object"||e=="function")}var M=0/0;var S=/^[-+]0x[0-9a-f]+$/i;var F=/^0b[01]+$/i;var I=/^0o[0-7]+$/i;var N=parseInt;function U(n){if(typeof n=="number"){return n}if(g(n)){return M}if(E(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=E(e)?e+"":e}if(typeof n!="string"){return n===0?n:+n}n=$(n);var r=F.test(n);return r||I.test(n)?N(n.slice(2),r?2:8):S.test(n)?M:+n}var W=function(){return u.Date.now()};const k=W;var q="Expected a function";var z=Math.max,A=Math.min;function B(n,e,r){var t,u,i,f,a,o,c=0,v=false,d=false,l=true;if(typeof n!="function"){throw new TypeError(q)}e=U(e)||0;if(E(r)){v=!!r.leading;d="maxWait"in r;i=d?z(U(r.maxWait)||0,e):i;l="trailing"in r?!!r.trailing:l}function s(e){var r=t,i=u;t=u=undefined;c=e;f=n.apply(i,r);return f}function b(n){c=n;a=setTimeout(j,e);return v?s(n):f}function p(n){var r=n-o,t=n-c,u=e-r;return d?A(u,i-t):u}function y(n){var r=n-o,t=n-c;return o===undefined||r>=e||r<0||d&&t>=i}function j(){var n=k();if(y(n)){return m(n)}a=setTimeout(j,p(n))}function m(n){a=undefined;if(l&&t){return s(n)}t=u=undefined;return f}function h(){if(a!==undefined){clearTimeout(a)}c=0;t=o=u=a=undefined}function T(){return a===undefined?f:m(k())}function g(){var n=k(),r=y(n);t=arguments;u=this;o=n;if(r){if(a===undefined){return b(o)}if(d){clearTimeout(a);a=setTimeout(j,e);return s(o)}}if(a===undefined){a=setTimeout(j,e)}return f}g.cancel=h;g.flush=T;return g}export{f as S,g as a,m as b,h as c,B as d,e as f,E as i,u as r};
|
|
7
|
-
//# sourceMappingURL=p-efc4d265.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,H as s,g as o}from"./p-d5fb1def.js";import{q as n,z as r,t as a}from"./p-521dd844.js";import{c,b as l,a as h,r as f,F as d}from"./p-7a8f0e68.js";import{g as u}from"./p-1a91451c.js";import{o as p}from"./p-bfe64bf4.js";import{F as m}from"./p-51f324d8.js";import"./p-4a7f9f77.js";import"./p-efc4d265.js";const g={container:"container"};const w=300;const b=500;const v="aria-describedby";function y(t){const{referenceElement:e}=t;return(typeof e==="string"?n(t,{id:e}):e)||null}class k{constructor(){this.registeredElements=new WeakMap;this.registeredShadowRootCounts=new WeakMap;this.hoverOpenTimeout=null;this.hoverCloseTimeout=null;this.hoveredTooltip=null;this.clickedTooltip=null;this.activeTooltip=null;this.registeredElementCount=0;this.queryTooltip=t=>{const{registeredElements:e}=this;const i=t.find((t=>e.has(t)));return e.get(i)};this.keyDownHandler=t=>{if(t.key==="Escape"&&!t.defaultPrevented){const{activeTooltip:e}=this;if(e?.open){this.clearHoverTimeout();this.closeActiveTooltip();const i=y(e);if(i instanceof Element&&i.contains(t.target)){t.preventDefault()}}}};this.pointerMoveHandler=t=>{const e=t.composedPath();const{activeTooltip:i}=this;const s=i?.open&&e.includes(i);if(s){this.clearHoverTimeout();return}const o=this.queryTooltip(e);this.hoveredTooltip=o;if(this.isClosableClickedTooltip(o)){return}this.clickedTooltip=null;if(o){this.openHoveredTooltip(o)}else if(i){this.closeHoveredTooltip()}};this.clickHandler=t=>{const e=this.queryTooltip(t.composedPath());this.clickedTooltip=e;if(e?.closeOnClick){this.toggleTooltip(e,false);this.clearHoverTimeout()}};this.focusInHandler=t=>{this.queryFocusedTooltip(t,true)};this.focusOutHandler=t=>{this.queryFocusedTooltip(t,false)};this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{if(this.hoverOpenTimeout===null){return}this.clearHoverCloseTimeout();if(this.activeTooltip===this.hoveredTooltip){return}this.closeActiveTooltip();if(t!==this.hoveredTooltip){return}this.toggleTooltip(t,true)}),this.activeTooltip?0:w)};this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{if(this.hoverCloseTimeout===null){return}this.closeActiveTooltip()}),b)}}registerElement(t,e){this.registeredElementCount++;this.registeredElements.set(t,e);const i=this.getReferenceElShadowRootNode(t);if(i){this.registerShadowRoot(i)}if(this.registeredElementCount===1){this.addListeners()}}unregisterElement(t){const e=this.getReferenceElShadowRootNode(t);if(e){this.unregisterShadowRoot(e)}if(this.registeredElements.delete(t)){this.registeredElementCount--}if(this.registeredElementCount===0){this.removeListeners()}}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:true});t.addEventListener("focusout",this.focusOutHandler,{capture:true})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:true});t.removeEventListener("focusout",this.focusOutHandler,{capture:true})}addListeners(){window.addEventListener("keydown",this.keyDownHandler,{capture:true});window.addEventListener("pointermove",this.pointerMoveHandler,{capture:true});window.addEventListener("click",this.clickHandler,{capture:true});window.addEventListener("focusin",this.focusInHandler,{capture:true});window.addEventListener("focusout",this.focusOutHandler,{capture:true})}removeListeners(){window.removeEventListener("keydown",this.keyDownHandler,{capture:true});window.removeEventListener("pointermove",this.pointerMoveHandler,{capture:true});window.removeEventListener("click",this.clickHandler,{capture:true});window.removeEventListener("focusin",this.focusInHandler,{capture:true});window.removeEventListener("focusout",this.focusOutHandler,{capture:true})}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout);this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout);this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout();this.clearHoverCloseTimeout()}closeActiveTooltip(){const{activeTooltip:t}=this;if(t?.open){this.toggleTooltip(t,false)}}toggleFocusedTooltip(t,e){this.closeActiveTooltip();if(e){this.clearHoverTimeout()}this.toggleTooltip(t,e)}toggleTooltip(t,e){t.open=e;this.activeTooltip=e?t:null}queryFocusedTooltip(t,e){const i=this.queryTooltip(t.composedPath());if(!i||this.isClosableClickedTooltip(i)){return}this.toggleFocusedTooltip(i,e)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}registerShadowRoot(t){const{registeredShadowRootCounts:e}=this;const i=(e.get(t)??0)+1;if(i===1){this.addShadowListeners(t)}e.set(t,i)}unregisterShadowRoot(t){const{registeredShadowRootCounts:e}=this;const i=e.get(t)-1;if(i===0){this.removeShadowListeners(t)}e.set(t,i)}getReferenceElShadowRootNode(t){return t instanceof Element?r(t):null}}const x=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1)}.arrow::before{outline:1px solid var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const E=x;const H=new k;const T=class{constructor(i){t(this,i);this.calciteTooltipBeforeClose=e(this,"calciteTooltipBeforeClose",6);this.calciteTooltipClose=e(this,"calciteTooltipClose",6);this.calciteTooltipBeforeOpen=e(this,"calciteTooltipBeforeOpen",6);this.calciteTooltipOpen=e(this,"calciteTooltipOpen",6);this.guid=`calcite-tooltip-${u()}`;this.hasLoaded=false;this.openTransitionProp="opacity";this.setTransitionEl=t=>{this.transitionEl=t};this.setUpReferenceElement=(t=true)=>{this.removeReferences();this.effectiveReferenceElement=y(this.el);c(this,this.effectiveReferenceElement,this.el);const{el:e,referenceElement:i,effectiveReferenceElement:s}=this;if(t&&i&&!s){console.warn(`${e.tagName}: reference-element id "${i}" was not found.`,{el:e})}this.addReferences()};this.getId=()=>this.el.id||this.guid;this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t){return}const e=this.getId();if("setAttribute"in t){t.setAttribute(v,e)}H.registerElement(t,this.el)};this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t){return}if("removeAttribute"in t){t.removeAttribute(v)}H.unregisterElement(t)};this.closeOnClick=false;this.label=undefined;this.offsetDistance=l;this.offsetSkidding=0;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.referenceElement=undefined;this.effectiveReferenceElement=undefined;this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(true)}offsetSkiddingHandler(){this.reposition(true)}openHandler(){p(this);this.reposition(true)}overlayPositioningHandler(){this.reposition(true)}placementHandler(){this.reposition(true)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(this.hasLoaded);if(this.open){p(this)}c(this,this.effectiveReferenceElement,this.el)}async componentWillLoad(){if(this.open){p(this)}}componentDidLoad(){if(this.referenceElement&&!this.effectiveReferenceElement){this.setUpReferenceElement()}c(this,this.effectiveReferenceElement,this.el);this.hasLoaded=true}disconnectedCallback(){this.removeReferences();h(this,this.effectiveReferenceElement,this.el)}async reposition(t=false){const{el:e,effectiveReferenceElement:i,placement:s,overlayPositioning:o,offsetDistance:n,offsetSkidding:r,arrowEl:a}=this;return f(this,{floatingEl:e,referenceEl:i,overlayPositioning:o,placement:s,offsetDistance:n,offsetSkidding:r,arrowEl:a,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:e,open:o,floatingLayout:n}=this;const r=t&&o;const c=!r;return i(s,{key:"e34d0071ff64ee773ee5bbe5a677c739b8326818","aria-hidden":a(c),"aria-label":e,"aria-live":"polite","calcite-hydrated-hidden":c,id:this.getId(),role:"tooltip"},i("div",{key:"3a0cdfb0a46b0d3ab40a90ac5499fb645abb06b4",class:{[d.animation]:true,[d.animationActive]:r},ref:this.setTransitionEl},i(m,{key:"ddef72e74b21eb2e42552766d28eff1370c0a398",floatingLayout:n,ref:t=>this.arrowEl=t}),i("div",{key:"086e80cd63944a06ce494be709d038a4c6d345c2",class:g.container},i("slot",{key:"367d65af44f4d218111ff369e806ef3bedfd7233"}))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};T.style=E;export{T as calcite_tooltip};
|
|
7
|
-
//# sourceMappingURL=p-f1a01e9f.entry.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{a as n}from"./p-d5fb1def.js";import{g as t}from"./p-d41eda90.js";const s={};async function o(t,o){const e=`${o}_${t}`;if(s[e]){return s[e]}s[e]=fetch(n(`./assets/${o}/t9n/messages_${t}.json`)).then((n=>{if(!n.ok){c()}return n.json()})).catch((()=>c()));return s[e]}function c(){throw new Error("could not fetch component message bundle")}function e(n){n.messages={...n.defaultMessages,...n.messageOverrides}}async function a(n){n.defaultMessages=await f(n,n.effectiveLocale);e(n)}async function f(n,s){const{el:c}=n;const e=c.tagName.toLowerCase();const a=e.replace("calcite-","");return o(t(s,"t9n"),a)}async function i(n,t){n.defaultMessages=await f(n,t);e(n)}function r(n){n.onMessagesChange=d}function u(n){n.onMessagesChange=undefined}function d(){e(this)}export{r as c,u as d,a as s,i as u};
|
|
7
|
-
//# sourceMappingURL=p-f2fb83bd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["componentLangToMessageBundleCache","async","getMessageBundle","lang","component","key","fetch","getAssetPath","then","resp","ok","throwMessageFetchError","json","catch","Error","mergeMessages","messages","defaultMessages","messageOverrides","setUpMessages","fetchMessages","effectiveLocale","el","tag","tagName","toLowerCase","componentName","replace","getSupportedLocale","updateMessages","connectMessages","onMessagesChange","defaultOnMessagesChange","disconnectMessages","undefined","this"],"sources":["src/utils/t9n.ts"],"sourcesContent":["import { Build, getAssetPath } from \"@stencil/core\";\nimport { getSupportedLocale, LocalizedComponent } from \"./locale\";\n\nexport type MessageBundle = Record<string, string>;\n\nexport const componentLangToMessageBundleCache: Record<string, Promise<MessageBundle>> = {};\n\nasync function getMessageBundle(lang: string, component: string): Promise<MessageBundle> {\n const key = `${component}_${lang}`;\n\n if (componentLangToMessageBundleCache[key]) {\n return componentLangToMessageBundleCache[key];\n }\n\n componentLangToMessageBundleCache[key] = fetch(getAssetPath(`./assets/${component}/t9n/messages_${lang}.json`))\n .then((resp) => {\n if (!resp.ok) {\n throwMessageFetchError();\n }\n return resp.json();\n })\n .catch(() => throwMessageFetchError());\n\n return componentLangToMessageBundleCache[key];\n}\n\nfunction throwMessageFetchError(): never {\n throw new Error(\"could not fetch component message bundle\");\n}\n\nfunction mergeMessages(component: T9nComponent): void {\n component.messages = {\n ...component.defaultMessages,\n ...component.messageOverrides,\n };\n}\n\n/**\n * This utility sets up the messages used by the component. It should be awaited in the `componentWillLoad` lifecycle hook.\n *\n * @param component\n */\nexport async function setUpMessages(component: T9nComponent): Promise<void> {\n component.defaultMessages = await fetchMessages(component, component.effectiveLocale);\n mergeMessages(component);\n}\n\nasync function fetchMessages(component: T9nComponent, lang: string): Promise<MessageBundle> {\n if (!Build.isBrowser) {\n return {};\n }\n\n const { el } = component;\n const tag = el.tagName.toLowerCase();\n const componentName = tag.replace(\"calcite-\", \"\");\n\n return getMessageBundle(getSupportedLocale(lang, \"t9n\"), componentName);\n}\n\n/**\n * This utility must be set up for the component to update its default message bundle if the locale changes.\n *\n * It can be set up in **either** of the following ways:\n *\n * 1. called from `LocalizedComponent`'s `onLocaleChange` method or\n * 2. called from a watcher configured to watch `LocalizedComponent`'s `effectiveLocale` prop\n *\n * @param component\n * @param lang\n */\nexport async function updateMessages(component: T9nComponent, lang: string): Promise<void> {\n component.defaultMessages = await fetchMessages(component, lang);\n mergeMessages(component);\n}\n\n/**\n * This utility sets up internals for messages support.\n *\n * It needs to be called in `connectedCallback`\n *\n * **Note**: this must be called after `LocalizedComponent`'s `connectLocalized` method.\n *\n * @param component\n */\nexport function connectMessages(component: T9nComponent): void {\n component.onMessagesChange = defaultOnMessagesChange;\n}\n\n/**\n * This utility tears down internals for messages support.\n *\n * It needs to be called in `disconnectedCallback`\n *\n * @param component\n */\nexport function disconnectMessages(component: T9nComponent): void {\n component.onMessagesChange = undefined;\n}\n\n/**\n * This interface enables components to support built-in translation strings.\n *\n * **Notes**:\n *\n * This requires `LocalizedComponent` to be implemented.\n * To avoid unnecessary lookups, composite components should set `lang` on internal t9n components.\n */\nexport interface T9nComponent extends LocalizedComponent {\n el: HTMLElement;\n\n /**\n * This property holds all messages used by the component's rendering.\n *\n * This prop should use the `@Prop` decorator. It uses `@Prop` decorator for testing purpose only.\n */\n messages: MessageBundle;\n\n /**\n * This property holds the component's default messages.\n */\n defaultMessages: MessageBundle;\n\n /**\n * This property holds all user message overrides.\n *\n * This prop should use the `@Prop` decorator.\n */\n messageOverrides: Partial<MessageBundle>;\n\n /**\n * This private method ensures messages are kept in sync.\n *\n * This method should be empty and configured to watch for changes on `messageOverrides` property.\n *\n * @Watch(\"messageOverrides\")\n * onMessagesChange(): void {\n * \\/* wired up by t9n util *\\/\n * }\n */\n onMessagesChange(): void;\n}\n\nfunction defaultOnMessagesChange(this: T9nComponent): void {\n mergeMessages(this);\n}\n"],"mappings":";;;;;wEAKO,MAAMA,EAA4E,GAEzFC,eAAeC,EAAiBC,EAAcC,GAC5C,MAAMC,EAAM,GAAGD,KAAaD,IAE5B,GAAIH,EAAkCK,GAAM,CAC1C,OAAOL,EAAkCK,E,CAG3CL,EAAkCK,GAAOC,MAAMC,EAAa,YAAYH,kBAA0BD,WAC/FK,MAAMC,IACL,IAAKA,EAAKC,GAAI,CACZC,G,CAEF,OAAOF,EAAKG,MAAM,IAEnBC,OAAM,IAAMF,MAEf,OAAOX,EAAkCK,EAC3C,CAEA,SAASM,IACP,MAAM,IAAIG,MAAM,2CAClB,CAEA,SAASC,EAAcX,GACrBA,EAAUY,SAAW,IAChBZ,EAAUa,mBACVb,EAAUc,iBAEjB,CAOOjB,eAAekB,EAAcf,GAClCA,EAAUa,sBAAwBG,EAAchB,EAAWA,EAAUiB,iBACrEN,EAAcX,EAChB,CAEAH,eAAemB,EAAchB,EAAyBD,GAKpD,MAAMmB,GAAEA,GAAOlB,EACf,MAAMmB,EAAMD,EAAGE,QAAQC,cACvB,MAAMC,EAAgBH,EAAII,QAAQ,WAAY,IAE9C,OAAOzB,EAAiB0B,EAAmBzB,EAAM,OAAQuB,EAC3D,CAaOzB,eAAe4B,EAAezB,EAAyBD,GAC5DC,EAAUa,sBAAwBG,EAAchB,EAAWD,GAC3DY,EAAcX,EAChB,C,SAWgB0B,EAAgB1B,GAC9BA,EAAU2B,iBAAmBC,CAC/B,C,SASgBC,EAAmB7B,GACjCA,EAAU2B,iBAAmBG,SAC/B,CA6CA,SAASF,IACPjB,EAAcoB,KAChB,Q"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,c as t,h as i,H as a,g as n}from"./p-d5fb1def.js";import{c as o,d as c}from"./p-5ea51123.js";import{f as s,e as r,t as l,g as d}from"./p-521dd844.js";import{c as h,d as g,u,I as f}from"./p-dd122c48.js";import{c as p,d as m}from"./p-d41eda90.js";import{u as b,c as v,d as x,s as k}from"./p-f2fb83bd.js";import{H as y}from"./p-c90dab6f.js";import{c as w,s as C,a as z}from"./p-77f9f089.js";import{o as j}from"./p-bfe64bf4.js";import{i as _}from"./p-0055e511.js";import"./p-7369809e.js";import"./p-1a91451c.js";import"./p-4a7f9f77.js";import"./p-64eee6a2.js";const L={content:"content",toggle:"toggle",header:"header"};const B={button:"button",container:"container",content:"content",controlContainer:"control-container",description:"description",header:"header",headerContainer:"header-container",heading:"heading",icon:"icon",invalid:"invalid",statusIcon:"status-icon",summary:"summary",title:"title",toggle:"toggle",toggleIcon:"toggle-icon",valid:"valid"};const I={icon:"icon",control:"control",headerMenuActions:"header-menu-actions"};const D={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"};const O=':host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:var(--calcite-font-family);outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-color-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-color-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex;margin-inline-start:0.75rem;margin-inline-end:0px}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-color-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:0.75rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-color-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-color-text-1)}:host([hidden]){display:none}[hidden]{display:none}';const S=O;const H=class{constructor(i){e(this,i);this.calciteBlockBeforeClose=t(this,"calciteBlockBeforeClose",6);this.calciteBlockBeforeOpen=t(this,"calciteBlockBeforeOpen",6);this.calciteBlockClose=t(this,"calciteBlockClose",6);this.calciteBlockOpen=t(this,"calciteBlockOpen",6);this.calciteBlockToggle=t(this,"calciteBlockToggle",6);this.openTransitionProp="opacity";this.onHeaderClick=()=>{this.open=!this.open;this.calciteBlockToggle.emit()};this.setTransitionEl=e=>{this.transitionEl=e};this.collapsible=false;this.disabled=false;this.dragHandle=false;this.heading=undefined;this.headingLevel=undefined;this.loading=false;this.open=false;this.status=undefined;this.description=undefined;this.messages=undefined;this.messageOverrides=undefined;this.overlayPositioning="absolute";this.effectiveLocale=undefined;this.defaultMessages=undefined}openHandler(){j(this)}onMessagesChange(){}async setFocus(){await w(this);s(this.el)}onBeforeOpen(){this.calciteBlockBeforeOpen.emit()}onOpen(){this.calciteBlockOpen.emit()}onBeforeClose(){this.calciteBlockBeforeClose.emit()}onClose(){this.calciteBlockClose.emit()}effectiveLocaleChange(){b(this,this.effectiveLocale)}connectedCallback(){o(this);h(this);p(this);v(this)}disconnectedCallback(){g(this);m(this);x(this);c(this)}async componentWillLoad(){await k(this);C(this);if(this.open){j(this)}}componentDidLoad(){z(this)}componentDidRender(){u(this)}renderScrim(){const{loading:e}=this;const t=i("slot",null);return[e?i("calcite-scrim",{loading:e}):null,t]}renderIcon(){const{loading:e,messages:t,status:a}=this;const n=!!r(this.el,I.icon);return e?i("div",{class:B.icon,key:"loader"},i("calcite-loader",{inline:true,label:t.loading})):a?i("div",{class:B.icon,key:"status-icon"},i("calcite-icon",{class:{[B.statusIcon]:true,[B.valid]:a=="valid",[B.invalid]:a=="invalid"},icon:D[a],scale:"s"})):n?i("div",{class:B.icon,key:"icon-slot"},i("slot",{key:"icon-slot",name:I.icon})):null}renderTitle(){const{heading:e,headingLevel:t,description:a}=this;return e||a?i("div",{class:B.title},i(y,{class:B.heading,level:t},e),a?i("div",{class:B.description},a):null):null}render(){const{collapsible:e,el:t,loading:n,open:o,heading:c,messages:s}=this;const d=o?s.collapse:s.expand;const h=i("header",{key:"89ca745bb149243a8a16bd9a1fb06bb6caf0dcde",class:B.header,id:L.header},this.renderIcon(),this.renderTitle());const g=!!r(t,I.control);const u=!!r(t,I.headerMenuActions);const p=o?D.opened:D.closed;const m=i("div",{key:"3c7722b8d21cfe2a96611a27436327f0e01a1c13",class:B.headerContainer},this.dragHandle?i("calcite-handle",{label:c}):null,e?i("button",{"aria-controls":L.content,"aria-describedby":L.header,"aria-expanded":e?l(o):null,class:B.toggle,id:L.toggle,onClick:this.onHeaderClick,title:d},h,i("calcite-icon",{"aria-hidden":"true",class:B.toggleIcon,icon:p,scale:"s"})):h,g?i("div",{class:B.controlContainer},i("slot",{name:I.control})):null,u?i("calcite-action-menu",{label:s.options,overlayPositioning:this.overlayPositioning},i("slot",{name:I.headerMenuActions})):null);return i(a,{key:"2b4bc16c96ad283fc0cb7fdc962d45f9047d2025"},i(f,{key:"3d846b4884a822a8e4d1550324c1e60d02567622",disabled:this.disabled},i("article",{key:"aba63d45e2c228f297abb31963c63f1e4bc980c9","aria-busy":l(n),class:{[B.container]:true}},m,i("section",{key:"a83029c21f41ea740a1a5e11e42a0613d5fd77cc","aria-labelledby":L.toggle,class:B.content,hidden:!o,id:L.content,ref:this.setTransitionEl},this.renderScrim()))))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};H.style=S;const M={content:"content",toggle:"toggle"};const T={content:"content",focusGuard:"focus-guard",invalid:"invalid",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",toggle:"toggle",toggleSwitch:"toggle--switch",toggleSwitchContainer:"toggle--switch-container",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",valid:"valid"};const q={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};const F=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-color-border-3)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}.toggle--switch .status-icon{margin-inline-start:0.5rem}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.toggle--switch:hover,.section-header:hover{color:var(--calcite-color-text-1)}.section-header .status-icon{align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch-container{position:relative;display:flex;inline-size:100%;align-items:center;background-color:transparent;word-break:break-word}.toggle--switch-container .focus-guard{--calcite-label-margin-bottom:0;pointer-events:none;position:absolute;inset-inline-end:0;margin-inline-start:0.25rem}.toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}:host([toggle-display=switch]) .toggle .toggle--switch__content{margin-inline-end:1.75rem}:host([hidden]){display:none}[hidden]{display:none}";const R=F;const W=class{constructor(i){e(this,i);this.calciteBlockSectionToggle=t(this,"calciteBlockSectionToggle",6);this.handleHeaderKeyDown=e=>{if(_(e.key)){this.toggleSection();e.preventDefault();e.stopPropagation()}};this.toggleSection=()=>{this.open=!this.open;this.calciteBlockSectionToggle.emit()};this.open=false;this.status=undefined;this.text=undefined;this.toggleDisplay="button";this.messages=undefined;this.messageOverrides=undefined;this.effectiveLocale=undefined;this.defaultMessages=undefined}onMessagesChange(){}async setFocus(){await w(this);s(this.el)}effectiveLocaleChange(){b(this,this.effectiveLocale)}connectedCallback(){p(this);v(this)}async componentWillLoad(){await k(this);C(this)}componentDidLoad(){z(this)}disconnectedCallback(){m(this);x(this)}renderStatusIcon(){const{status:e}=this;const t=q[e]??false;const a={[T.statusIcon]:true,[T.valid]:e=="valid",[T.invalid]:e=="invalid"};return t?i("calcite-icon",{class:a,icon:t,scale:"s"}):null}render(){const{el:e,messages:t,open:n,text:o,toggleDisplay:c}=this;const s=d(e);const r=n?q.menuOpen:s==="rtl"?q.menuClosedLeft:q.menuClosedRight;const h=n?t.collapse:t.expand;const g=c==="switch"?i("div",{class:{[T.toggleSwitchContainer]:true}},i("div",{"aria-controls":M.content,"aria-expanded":l(n),class:{[T.toggle]:true,[T.toggleSwitch]:true},id:M.toggle,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,role:"button",tabIndex:0,title:h},i("div",{class:T.toggleSwitchContent},i("span",{class:T.toggleSwitchText},o)),this.renderStatusIcon()),i("calcite-label",{class:T.focusGuard,layout:"inline",tabIndex:-1},i("calcite-switch",{checked:n,label:h,scale:"s"}))):i("button",{"aria-controls":M.content,"aria-expanded":l(n),class:{[T.sectionHeader]:true,[T.toggle]:true},id:M.toggle,onClick:this.toggleSection},i("calcite-icon",{icon:r,scale:"s"}),i("span",{class:T.sectionHeaderText},o),this.renderStatusIcon());return i(a,{key:"406d2d033d6334874d0b818cc695c3125d3ddc8e"},g,i("section",{key:"1ac5b3a310a9e24008f4be8110c7746464e621a3","aria-labelledby":M.toggle,class:T.content,hidden:!n,id:M.content},i("slot",{key:"a1e782c30edb5bd2957535d9c52056580eb6732d"})))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};W.style=R;export{H as calcite_block,W as calcite_block_section};
|
|
7
|
-
//# sourceMappingURL=p-f52e7011.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["IDS","content","toggle","header","CSS","button","container","controlContainer","description","headerContainer","heading","icon","invalid","statusIcon","summary","title","toggleIcon","valid","SLOTS","control","headerMenuActions","ICONS","opened","closed","blockCss","CalciteBlockStyle0","Block","this","openTransitionProp","onHeaderClick","open","calciteBlockToggle","emit","setTransitionEl","el","transitionEl","openHandler","onToggleOpenCloseComponent","onMessagesChange","setFocus","componentFocusable","focusFirstTabbable","onBeforeOpen","calciteBlockBeforeOpen","onOpen","calciteBlockOpen","onBeforeClose","calciteBlockBeforeClose","onClose","calciteBlockClose","effectiveLocaleChange","updateMessages","effectiveLocale","connectedCallback","connectConditionalSlotComponent","connectInteractive","connectLocalized","connectMessages","disconnectedCallback","disconnectInteractive","disconnectLocalized","disconnectMessages","disconnectConditionalSlotComponent","componentWillLoad","setUpMessages","setUpLoadableComponent","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","renderScrim","loading","defaultSlot","h","renderIcon","messages","status","hasSlottedIcon","getSlotted","class","key","inline","label","scale","name","renderTitle","headingLevel","Heading","level","render","collapsible","toggleLabel","collapse","expand","headerContent","id","hasControl","hasMenuActions","collapseIcon","headerNode","dragHandle","toAriaBoolean","onClick","options","overlayPositioning","Host","InteractiveContainer","disabled","hidden","ref","focusGuard","sectionHeader","sectionHeaderText","toggleSwitch","toggleSwitchContainer","toggleSwitchContent","toggleSwitchText","menuOpen","menuClosedLeft","menuClosedRight","blockSectionCss","CalciteBlockSectionStyle0","BlockSection","handleHeaderKeyDown","event","isActivationKey","toggleSection","preventDefault","stopPropagation","calciteBlockSectionToggle","renderStatusIcon","statusIconClasses","text","toggleDisplay","dir","getElementDir","arrowIcon","onKeyDown","role","tabIndex","layout","checked"],"sources":["src/components/block/resources.ts","src/components/block/block.scss?tag=calcite-block&encapsulation=shadow","src/components/block/block.tsx","src/components/block-section/resources.ts","src/components/block-section/block-section.scss?tag=calcite-block-section&encapsulation=shadow","src/components/block-section/block-section.tsx"],"sourcesContent":["export const IDS = {\n content: \"content\",\n toggle: \"toggle\",\n header: \"header\",\n};\n\nexport const CSS = {\n button: \"button\",\n container: \"container\",\n content: \"content\",\n controlContainer: \"control-container\",\n description: \"description\",\n header: \"header\",\n headerContainer: \"header-container\",\n heading: \"heading\",\n icon: \"icon\",\n invalid: \"invalid\",\n statusIcon: \"status-icon\",\n summary: \"summary\",\n title: \"title\",\n toggle: \"toggle\",\n toggleIcon: \"toggle-icon\",\n valid: \"valid\",\n};\n\nexport const SLOTS = {\n icon: \"icon\",\n control: \"control\",\n headerMenuActions: \"header-menu-actions\",\n};\n\nexport const ICONS = {\n opened: \"chevron-up\",\n closed: \"chevron-down\",\n valid: \"check-circle\",\n invalid: \"exclamation-mark-triangle\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-block-padding: Specifies the padding of the block `default` slot.\n */\n\n:host {\n @extend %component-host;\n @extend %component-spacing;\n @apply transition-margin ease-cubic border-color-3 flex flex-shrink-0 flex-grow-0\n flex-col border-0 border-b border-solid p-0 duration-150;\n flex-basis: auto;\n}\n\n@include disabled();\n\n@import \"../../assets/styles/animation\";\n@import \"../../assets/styles/header\";\n\n.header {\n @apply justify-start p-0;\n}\n\n.header,\n.toggle {\n grid-area: header;\n}\n\n.header-container {\n @apply grid items-stretch;\n grid-template: auto / auto 1fr auto auto;\n grid-template-areas: \"handle header control menu\";\n grid-column: header-start / menu-end;\n grid-row: 1 / 2;\n}\n\n.toggle {\n @apply font-sans\n focus-base\n m-0\n flex\n cursor-pointer\n flex-nowrap\n items-center\n justify-between\n border-none\n p-0;\n text-align: initial;\n\n background-color: transparent;\n &:hover {\n @apply bg-foreground-2;\n }\n &:focus {\n @apply focus-inset;\n }\n}\n\ncalcite-loader[inline] {\n grid-area: control;\n @apply self-center;\n}\n\ncalcite-handle {\n grid-area: handle;\n}\n\n.title {\n @apply m-0;\n padding: theme(\"spacing.3\");\n}\n\n.header .title .heading {\n @apply text-n1\n text-color-2\n word-break\n transition-color\n p-0\n font-medium\n leading-tight\n duration-150\n ease-in-out;\n}\n\n.description {\n @apply text-n2-wrap\n text-color-3\n word-break\n mt-0.5\n p-0;\n}\n\n.icon {\n display: flex;\n margin-inline-start: theme(\"spacing.3\");\n margin-inline-end: 0px;\n}\n\n.status-icon.valid {\n color: theme(\"colors.success\");\n}\n\n.status-icon.invalid {\n color: theme(\"colors.danger\");\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.toggle-icon {\n @apply text-color-3\n transition-color\n my-3\n self-center\n justify-self-end\n duration-150\n ease-in-out;\n margin-inline-end: theme(\"spacing.3\");\n margin-inline-start: auto;\n}\n\n.toggle:hover .toggle-icon {\n @apply text-color-1;\n}\n\n.container {\n @apply flex flex-col h-full relative;\n}\n\n.content {\n @apply animate-in flex-1 relative min-h-0;\n padding-block: var(--calcite-block-padding, theme(\"spacing.2\"));\n padding-inline: var(--calcite-block-padding, theme(\"spacing[2.5]\"));\n}\n\n.control-container {\n @apply m-0 flex;\n grid-area: control;\n}\n\ncalcite-action-menu {\n grid-area: menu;\n}\n\n:host([open]) {\n @apply my-2;\n\n .header .title .heading {\n @apply text-color-1;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { focusFirstTabbable, getSlotted, toAriaBoolean } from \"../../utils/dom\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Heading, HeadingLevel } from \"../functional/Heading\";\nimport { Status } from \"../interfaces\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { OverlayPositioning } from \"../../utils/floating-ui\";\nimport { CSS, ICONS, IDS, SLOTS } from \"./resources\";\nimport { BlockMessages } from \"./assets/block/t9n\";\n\n/**\n * @slot - A slot for adding custom content.\n * @slot icon - A slot for adding a leading header icon with `calcite-icon`.\n * @slot control - A slot for adding a single HTML input element in a header.\n * @slot header-menu-actions - A slot for adding an overflow menu with `calcite-action`s inside a dropdown menu.\n */\n@Component({\n tag: \"calcite-block\",\n styleUrl: \"block.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Block\n implements\n ConditionalSlotComponent,\n InteractiveComponent,\n LocalizedComponent,\n T9nComponent,\n LoadableComponent,\n OpenCloseComponent\n{\n // --------------------------------------------------------------------------\n //\n // Public Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, the component is collapsible.\n */\n @Prop({ reflect: true }) collapsible = false;\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * When `true`, displays a drag handle in the header.\n */\n @Prop({ reflect: true }) dragHandle = false;\n\n /**\n * The component header text.\n */\n @Prop() heading!: string;\n\n /**\n * Specifies the heading level of the component's `heading` for proper document structure, without affecting visual styling.\n */\n @Prop({ reflect: true }) headingLevel: HeadingLevel;\n\n /**\n * When `true`, a busy indicator is displayed.\n */\n @Prop({ reflect: true }) loading = false;\n\n /**\n * When `true`, expands the component and its contents.\n */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n }\n\n /**\n * Displays a status-related indicator icon.\n */\n @Prop({ reflect: true }) status: Status;\n\n /**\n * A description for the component, which displays below the heading.\n */\n @Prop() description: string;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: BlockMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<BlockMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Sets focus on the component's first tabbable element.\n *\n */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n focusFirstTabbable(this.el);\n }\n\n onBeforeOpen(): void {\n this.calciteBlockBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.calciteBlockOpen.emit();\n }\n\n onBeforeClose(): void {\n this.calciteBlockBeforeClose.emit();\n }\n\n onClose(): void {\n this.calciteBlockClose.emit();\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteBlockElement;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: BlockMessages;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLElement;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n disconnectConditionalSlotComponent(this);\n }\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n setUpLoadableComponent(this);\n\n if (this.open) {\n onToggleOpenCloseComponent(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteBlockBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteBlockBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteBlockClose: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteBlockOpen: EventEmitter<void>;\n\n /**\n * Fires when the component's header is clicked.\n *\n * @deprecated Use `openClose` events such as `calciteBlockOpen`, `calciteBlockClose`, `calciteBlockBeforeOpen`, and `calciteBlockBeforeClose` instead.\n */\n @Event({ cancelable: false }) calciteBlockToggle: EventEmitter<void>;\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n onHeaderClick = (): void => {\n this.open = !this.open;\n this.calciteBlockToggle.emit();\n };\n\n private setTransitionEl = (el: HTMLElement): void => {\n this.transitionEl = el;\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderScrim(): VNode[] {\n const { loading } = this;\n const defaultSlot = <slot />;\n\n return [loading ? <calcite-scrim loading={loading} /> : null, defaultSlot];\n }\n\n renderIcon(): VNode[] {\n const { loading, messages, status } = this;\n\n const hasSlottedIcon = !!getSlotted(this.el, SLOTS.icon);\n\n return loading ? (\n <div class={CSS.icon} key=\"loader\">\n <calcite-loader inline label={messages.loading} />\n </div>\n ) : status ? (\n <div class={CSS.icon} key=\"status-icon\">\n <calcite-icon\n class={{\n [CSS.statusIcon]: true,\n [CSS.valid]: status == \"valid\",\n [CSS.invalid]: status == \"invalid\",\n }}\n icon={ICONS[status]}\n scale=\"s\"\n />\n </div>\n ) : hasSlottedIcon ? (\n <div class={CSS.icon} key=\"icon-slot\">\n <slot key=\"icon-slot\" name={SLOTS.icon} />\n </div>\n ) : null;\n }\n\n renderTitle(): VNode {\n const { heading, headingLevel, description } = this;\n return heading || description ? (\n <div class={CSS.title}>\n <Heading class={CSS.heading} level={headingLevel}>\n {heading}\n </Heading>\n {description ? <div class={CSS.description}>{description}</div> : null}\n </div>\n ) : null;\n }\n\n render(): VNode {\n const { collapsible, el, loading, open, heading, messages } = this;\n\n const toggleLabel = open ? messages.collapse : messages.expand;\n\n const headerContent = (\n <header class={CSS.header} id={IDS.header}>\n {this.renderIcon()}\n {this.renderTitle()}\n </header>\n );\n\n const hasControl = !!getSlotted(el, SLOTS.control);\n const hasMenuActions = !!getSlotted(el, SLOTS.headerMenuActions);\n const collapseIcon = open ? ICONS.opened : ICONS.closed;\n\n const headerNode = (\n <div class={CSS.headerContainer}>\n {this.dragHandle ? <calcite-handle label={heading} /> : null}\n {collapsible ? (\n <button\n aria-controls={IDS.content}\n aria-describedby={IDS.header}\n aria-expanded={collapsible ? toAriaBoolean(open) : null}\n class={CSS.toggle}\n id={IDS.toggle}\n onClick={this.onHeaderClick}\n title={toggleLabel}\n >\n {headerContent}\n <calcite-icon aria-hidden=\"true\" class={CSS.toggleIcon} icon={collapseIcon} scale=\"s\" />\n </button>\n ) : (\n headerContent\n )}\n {hasControl ? (\n <div class={CSS.controlContainer}>\n <slot name={SLOTS.control} />\n </div>\n ) : null}\n {hasMenuActions ? (\n <calcite-action-menu\n label={messages.options}\n overlayPositioning={this.overlayPositioning}\n >\n <slot name={SLOTS.headerMenuActions} />\n </calcite-action-menu>\n ) : null}\n </div>\n );\n\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <article\n aria-busy={toAriaBoolean(loading)}\n class={{\n [CSS.container]: true,\n }}\n >\n {headerNode}\n <section\n aria-labelledby={IDS.toggle}\n class={CSS.content}\n hidden={!open}\n id={IDS.content}\n ref={this.setTransitionEl}\n >\n {this.renderScrim()}\n </section>\n </article>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n","export const IDS = {\n content: \"content\",\n toggle: \"toggle\",\n};\n\nexport const CSS = {\n content: \"content\",\n focusGuard: \"focus-guard\",\n invalid: \"invalid\",\n sectionHeader: \"section-header\",\n sectionHeaderText: \"section-header__text\",\n statusIcon: \"status-icon\",\n toggle: \"toggle\",\n toggleSwitch: \"toggle--switch\",\n toggleSwitchContainer: \"toggle--switch-container\",\n toggleSwitchContent: \"toggle--switch__content\",\n toggleSwitchText: \"toggle--switch__text\",\n valid: \"valid\",\n};\n\nexport const ICONS = {\n menuOpen: \"chevron-down\",\n menuClosedLeft: \"chevron-left\",\n menuClosedRight: \"chevron-right\",\n valid: \"check-circle\",\n invalid: \"exclamation-mark-triangle\",\n};\n",":host {\n @apply bg-foreground-1\n text-color-2\n text-n1\n box-border\n block;\n}\n\n:host([open]) {\n @apply border-b-color-3\n border-0\n border-b\n border-solid;\n}\n\n:host(:last-child) {\n @apply border-b-0;\n}\n\n.toggle {\n @apply font-sans\n text-color-2\n w-full\n border-0\n bg-transparent\n font-medium;\n}\n\n.toggle--switch {\n .status-icon {\n margin-inline-start: theme(\"margin.2\");\n }\n}\n\n.toggle--switch,\n.section-header {\n @apply text-n1\n focus-base\n mx-0\n my-1\n flex\n cursor-pointer\n select-none\n items-center\n px-0\n py-2;\n\n &:focus {\n @apply focus-outset;\n }\n &:hover {\n @apply text-color-1;\n }\n}\n\n.section-header .status-icon {\n @apply self-end;\n}\n\n.section-header__text {\n @apply mx-3\n my-0\n flex-auto;\n\n text-align: initial;\n word-wrap: anywhere;\n}\n\n.toggle--switch-container {\n @apply flex items-center relative bg-transparent w-full;\n word-break: break-word;\n\n .focus-guard {\n --calcite-label-margin-bottom: 0;\n @apply absolute pointer-events-none;\n inset-inline-end: 0;\n margin-inline-start: theme(\"margin.1\");\n }\n}\n\n.toggle--switch__content {\n @apply flex flex-auto items-center;\n}\n\n.status-icon.valid {\n color: theme(\"colors.success\");\n}\n\n.status-icon.invalid {\n color: theme(\"colors.danger\");\n}\n\n:host([toggle-display=\"switch\"]) .toggle {\n .toggle--switch__content {\n @apply me-7;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { focusFirstTabbable, getElementDir, toAriaBoolean } from \"../../utils/dom\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Status } from \"../interfaces\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { BlockSectionMessages } from \"./assets/block-section/t9n\";\nimport { BlockSectionToggleDisplay } from \"./interfaces\";\nimport { CSS, ICONS, IDS } from \"./resources\";\n\n/**\n * @slot - A slot for adding custom content.\n */\n@Component({\n tag: \"calcite-block-section\",\n styleUrl: \"block-section.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class BlockSection implements LocalizedComponent, T9nComponent, LoadableComponent {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, expands the component and its contents.\n */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n /**\n * Displays a status-related indicator icon.\n */\n @Prop({ reflect: true }) status: Status;\n\n /**\n * The component header text.\n */\n @Prop() text: string;\n\n /**\n * Specifies how the component's toggle is displayed, where:\n *\n * `\"button\"` sets the toggle to a selectable header, and\n *\n * `\"switch\"` sets the toggle to a switch.\n */\n @Prop({ reflect: true }) toggleDisplay: BlockSectionToggleDisplay = \"button\";\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: BlockSectionMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<BlockSectionMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Sets focus on the component's first tabbable element.\n *\n */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n focusFirstTabbable(this.el);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteBlockSectionElement;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: BlockSectionMessages;\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the header has been clicked.\n */\n @Event({ cancelable: false }) calciteBlockSectionToggle: EventEmitter<void>;\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n handleHeaderKeyDown = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n this.toggleSection();\n event.preventDefault();\n event.stopPropagation();\n }\n };\n\n toggleSection = (): void => {\n this.open = !this.open;\n this.calciteBlockSectionToggle.emit();\n };\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderStatusIcon(): VNode[] {\n const { status } = this;\n const statusIcon = ICONS[status] ?? false;\n const statusIconClasses = {\n [CSS.statusIcon]: true,\n [CSS.valid]: status == \"valid\",\n [CSS.invalid]: status == \"invalid\",\n };\n\n return statusIcon ? (\n <calcite-icon class={statusIconClasses} icon={statusIcon} scale=\"s\" />\n ) : null;\n }\n\n render(): VNode {\n const { el, messages, open, text, toggleDisplay } = this;\n const dir = getElementDir(el);\n const arrowIcon = open\n ? ICONS.menuOpen\n : dir === \"rtl\"\n ? ICONS.menuClosedLeft\n : ICONS.menuClosedRight;\n\n const toggleLabel = open ? messages.collapse : messages.expand;\n\n const headerNode =\n toggleDisplay === \"switch\" ? (\n <div\n class={{\n [CSS.toggleSwitchContainer]: true,\n }}\n >\n <div\n aria-controls={IDS.content}\n aria-expanded={toAriaBoolean(open)}\n class={{\n [CSS.toggle]: true,\n [CSS.toggleSwitch]: true,\n }}\n id={IDS.toggle}\n onClick={this.toggleSection}\n onKeyDown={this.handleHeaderKeyDown}\n role=\"button\"\n tabIndex={0}\n title={toggleLabel}\n >\n <div class={CSS.toggleSwitchContent}>\n <span class={CSS.toggleSwitchText}>{text}</span>\n </div>\n {this.renderStatusIcon()}\n </div>\n {/* we use calcite-label to use a simple component that will allow us to prevent keyboard focus by setting tabindex=\"-1\" on the host */}\n <calcite-label class={CSS.focusGuard} layout=\"inline\" tabIndex={-1}>\n <calcite-switch checked={open} label={toggleLabel} scale=\"s\" />\n </calcite-label>\n </div>\n ) : (\n <button\n aria-controls={IDS.content}\n aria-expanded={toAriaBoolean(open)}\n class={{\n [CSS.sectionHeader]: true,\n [CSS.toggle]: true,\n }}\n id={IDS.toggle}\n onClick={this.toggleSection}\n >\n <calcite-icon icon={arrowIcon} scale=\"s\" />\n <span class={CSS.sectionHeaderText}>{text}</span>\n {this.renderStatusIcon()}\n </button>\n );\n\n return (\n <Host>\n {headerNode}\n <section aria-labelledby={IDS.toggle} class={CSS.content} hidden={!open} id={IDS.content}>\n <slot />\n </section>\n </Host>\n );\n }\n}\n"],"mappings":";;;;;0jBAAO,MAAMA,EAAM,CACjBC,QAAS,UACTC,OAAQ,SACRC,OAAQ,UAGH,MAAMC,EAAM,CACjBC,OAAQ,SACRC,UAAW,YACXL,QAAS,UACTM,iBAAkB,oBAClBC,YAAa,cACbL,OAAQ,SACRM,gBAAiB,mBACjBC,QAAS,UACTC,KAAM,OACNC,QAAS,UACTC,WAAY,cACZC,QAAS,UACTC,MAAO,QACPb,OAAQ,SACRc,WAAY,cACZC,MAAO,SAGF,MAAMC,EAAQ,CACnBP,KAAM,OACNQ,QAAS,UACTC,kBAAmB,uBAGd,MAAMC,EAAQ,CACnBC,OAAQ,aACRC,OAAQ,eACRN,MAAO,eACPL,QAAS,6BCnCX,MAAMY,EAAW,kwIACjB,MAAAC,EAAeD,E,MC0DFE,EAAK,M,wTA+IhBC,KAAAC,mBAAqB,UAwErBD,KAAAE,cAAgB,KACdF,KAAKG,MAAQH,KAAKG,KAClBH,KAAKI,mBAAmBC,MAAM,EAGxBL,KAAAM,gBAAmBC,IACzBP,KAAKQ,aAAeD,CAAE,E,iBA3Me,M,cAKH,M,gBAKE,M,gEAeH,M,UAKY,M,iIA4CmB,W,8DAzClE,WAAAE,GACEC,EAA2BV,K,CA4B7B,gBAAAW,G,CAyBA,cAAMC,SACEC,EAAmBb,MACzBc,EAAmBd,KAAKO,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BAAgBoE,QAAS/G,EAAMoD,MAAOS,EAAaR,MAAM,QAI7DV,EAAA,0BACiBzE,EAAIC,QAAO,gBACXoG,EAAcvE,GAC7BiD,MAAO,CACL,CAAC3E,EAAI2G,eAAgB,KACrB,CAAC3G,EAAIF,QAAS,MAEhB6F,GAAI/F,EAAIE,OACRoG,QAAS3E,KAAKmG,eAEdrD,EAAA,gBAAc9D,KAAM6H,EAAWrD,MAAM,MACrCV,EAAA,QAAMM,MAAO3E,EAAI4G,mBAAoBoB,GACpCzG,KAAKuG,oBAIZ,OACEzD,EAACgC,EAAI,CAAAzB,IAAA,4CACFmB,EACD1B,EAAA,WAAAO,IAAA,6DAA0BhF,EAAIE,OAAQ6E,MAAO3E,EAAIH,QAAS2G,QAAS9E,EAAMiE,GAAI/F,EAAIC,SAC/EwE,EAAA,QAAAO,IAAA,8C"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,c as t,h as i,H as s,g as a}from"./p-d5fb1def.js";import{k as n}from"./p-521dd844.js";import{i as l}from"./p-0055e511.js";import{c as o,u as c,d as r,I as h}from"./p-dd122c48.js";import{g as d}from"./p-5b021a42.js";import"./p-1a91451c.js";import"./p-4a7f9f77.js";import"./p-64eee6a2.js";const b={lastVisibleRow:"last-visible-row"};const f=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{--calcite-internal-table-row-background:var(--calcite-table-row-background, var(--calcite-color-foreground-1));--calcite-internal-table-row-border-color:var(--calcite-table-row-border-color, transparent);display:contents}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) tr{pointer-events:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}tr{border-block-end:1px solid var(--calcite-internal-table-row-border-color);background-color:var(--calcite-internal-table-row-background)}tr.last-visible-row{border-block-end:0}";const u=f;const p=class{constructor(i){e(this,i);this.calciteTableRowSelect=t(this,"calciteTableRowSelect",6);this.calciteInternalTableRowFocusRequest=t(this,"calciteInternalTableRowFocusRequest",6);this.rowCells=[];this.keyDownHandler=e=>{if(this.interactionMode!=="interactive"){return}const t=e.target;const i=e.key;const s=e.ctrlKey;const a=this.rowCells;if(t.matches("calcite-table-cell")||t.matches("calcite-table-header")){switch(i){case"ArrowUp":this.emitTableRowFocusRequest(t.positionInRow,this.positionAll,"previous");e.preventDefault();break;case"ArrowDown":this.emitTableRowFocusRequest(t.positionInRow,this.positionAll,"next");e.preventDefault();break;case"PageUp":this.emitTableRowFocusRequest(t.positionInRow,this.positionAll,"first");e.preventDefault();break;case"PageDown":this.emitTableRowFocusRequest(t.positionInRow,this.positionAll,"last");e.preventDefault();break;case"ArrowLeft":n(a,t,"previous",false);e.preventDefault();break;case"ArrowRight":n(a,t,"next",false);e.preventDefault();break;case"Home":if(s){this.emitTableRowFocusRequest(1,this.positionAll,"first");e.preventDefault()}else{n(a,t,"first",false);e.preventDefault()}break;case"End":if(s){this.emitTableRowFocusRequest(this.rowCells?.length,this.positionAll,"last",true);e.preventDefault()}else{n(a,t,"last",false);e.preventDefault()}break}}};this.emitTableRowFocusRequest=(e,t,i,s)=>{this.calciteInternalTableRowFocusRequest.emit({cellPosition:e,rowPosition:t,destination:i,lastCell:s})};this.updateCells=()=>{const e=this.alignment?this.alignment:this.rowType!=="head"?"center":"start";const t=this.tableRowSlotEl?.assignedElements({flatten:true})?.filter((e=>e.matches("calcite-table-cell")||e.matches("calcite-table-header")));const i=Array.from(this.tableRowEl?.querySelectorAll("calcite-table-header, calcite-table-cell"))?.filter((e=>e.numberCell||e.selectionCell));const s=i?i.concat(t):t;if(s.length>0){s?.forEach(((t,i)=>{t.interactionMode=this.interactionMode;t.lastCell=i===s.length-1;t.parentRowAlignment=e;t.parentRowIsSelected=this.selected;t.parentRowType=this.rowType;t.positionInRow=i+1;t.scale=this.scale;if(t.nodeName==="CALCITE-TABLE-CELL"){t.readCellContentsToAT=this.readCellContentsToAT;t.disabled=this.disabled}}))}this.rowCells=s||[];this.cellCount=s?.length};this.handleSelectionOfRow=()=>{this.calciteTableRowSelect.emit()};this.handleKeyboardSelection=e=>{if(l(e.key)){if(e.key===" "){e.preventDefault()}this.handleSelectionOfRow()}};this.alignment=undefined;this.disabled=false;this.selected=false;this.cellCount=undefined;this.interactionMode="interactive";this.lastVisibleRow=undefined;this.rowType=undefined;this.numbered=false;this.positionSection=undefined;this.positionSectionLocalized=undefined;this.positionAll=undefined;this.readCellContentsToAT=undefined;this.scale=undefined;this.selectionMode="none";this.selectedRowCount=undefined;this.selectedRowCountLocalized=undefined;this.bodyRowCount=undefined;this.effectiveLocale=""}handleCellChanges(){if(this.tableRowEl&&this.rowCells.length>0){this.updateCells()}}handleDelayedCellChanges(){if(this.tableRowEl&&this.rowCells.length>0){requestAnimationFrame((()=>this.updateCells()))}}componentDidLoad(){if(this.tableRowEl&&this.rowCells.length>0){this.updateCells()}}connectedCallback(){o(this)}componentDidRender(){c(this)}disconnectedCallback(){r(this)}calciteInternalTableRowFocusChangeHandler(e){if(e.target.contains(this.el)){const t=e.detail.cellPosition;const i=e.detail.rowPosition;const s=e.detail.destination;const a=e.detail.lastCell;if(i===this.positionAll){if(this.disabled){const e=s==="last"?"previous":s==="first"?"next":s;this.emitTableRowFocusRequest(t,this.positionAll,e);return}const e=a?this.rowCells[this.rowCells.length-1]:this.rowCells?.find(((e,i)=>i+1===t));if(e){e.setFocus()}}}}renderSelectionIcon(){const e=this.selectionMode==="multiple"&&this.selected?"check-square-f":this.selectionMode==="multiple"?"square":this.selected?"circle-f":"circle";return i("calcite-icon",{icon:e,scale:d(this.scale)})}renderSelectableCell(){return this.rowType==="head"?i("calcite-table-header",{alignment:"center",bodyRowCount:this.bodyRowCount,key:"selection-head",onClick:this.selectionMode==="multiple"&&this.handleSelectionOfRow,onKeyDown:this.selectionMode==="multiple"&&this.handleKeyboardSelection,parentRowAlignment:this.alignment,selectedRowCount:this.selectedRowCount,selectedRowCountLocalized:this.selectedRowCountLocalized,selectionCell:true,selectionMode:this.selectionMode}):this.rowType==="body"?i("calcite-table-cell",{alignment:"center",key:"selection-body",onClick:this.handleSelectionOfRow,onKeyDown:this.handleKeyboardSelection,parentRowAlignment:this.alignment,parentRowIsSelected:this.selected,parentRowPositionLocalized:this.positionSectionLocalized,selectionCell:true},this.renderSelectionIcon()):i("calcite-table-cell",{alignment:"center",key:"selection-foot",parentRowAlignment:this.alignment,selectionCell:true})}renderNumberedCell(){return this.rowType==="head"?i("calcite-table-header",{alignment:"center",key:"numbered-head",numberCell:true,parentRowAlignment:this.alignment}):this.rowType==="body"?i("calcite-table-cell",{alignment:"center",key:"numbered-body",numberCell:true,parentRowAlignment:this.alignment},this.positionSectionLocalized):i("calcite-table-cell",{alignment:"center",key:"numbered-foot",numberCell:true,parentRowAlignment:this.alignment})}render(){return i(s,{key:"1d51f5351ce604d34d7b5a8c6ff241d1f1bb7121"},i(h,{key:"67d835df1a6a91ebddd1742f76bdf45407bce5e5",disabled:this.disabled},i("tr",{key:"008cd752567987e27df6468f21e4baf71ddca901","aria-disabled":this.disabled,"aria-rowindex":this.positionAll+1,"aria-selected":this.selected,class:{[b.lastVisibleRow]:this.lastVisibleRow},onKeyDown:this.keyDownHandler,ref:e=>this.tableRowEl=e},this.numbered&&this.renderNumberedCell(),this.selectionMode!=="none"&&this.renderSelectableCell(),i("slot",{key:"0f79c326202a63c358ecf4e6231b96123c2bedb2",onSlotchange:this.updateCells,ref:e=>this.tableRowSlotEl=e}))))}get el(){return a(this)}static get watchers(){return{bodyRowCount:["handleCellChanges"],scale:["handleCellChanges"],selected:["handleCellChanges"],selectedRowCount:["handleCellChanges"],interactionMode:["handleCellChanges"],numbered:["handleDelayedCellChanges"],selectionMode:["handleDelayedCellChanges"]}}};p.style=u;export{p as calcite_table_row};
|
|
7
|
-
//# sourceMappingURL=p-f60fce32.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["CSS","lastVisibleRow","tableRowCss","CalciteTableRowStyle0","TableRow","this","rowCells","keyDownHandler","event","interactionMode","el","target","key","isControl","ctrlKey","cells","matches","emitTableRowFocusRequest","positionInRow","positionAll","preventDefault","focusElementInGroup","length","cellPosition","rowPosition","destination","lastCell","calciteInternalTableRowFocusRequest","emit","updateCells","alignment","rowType","slottedCells","tableRowSlotEl","assignedElements","flatten","filter","renderedCells","Array","from","tableRowEl","querySelectorAll","numberCell","selectionCell","concat","forEach","cell","index","parentRowAlignment","parentRowIsSelected","selected","parentRowType","scale","nodeName","readCellContentsToAT","disabled","cellCount","handleSelectionOfRow","calciteTableRowSelect","handleKeyboardSelection","isActivationKey","handleCellChanges","handleDelayedCellChanges","requestAnimationFrame","componentDidLoad","connectedCallback","connectInteractive","componentDidRender","updateHostInteraction","disconnectedCallback","disconnectInteractive","calciteInternalTableRowFocusChangeHandler","contains","position","detail","deflectDirection","find","_","setFocus","renderSelectionIcon","icon","selectionMode","h","getIconScale","renderSelectableCell","bodyRowCount","onClick","onKeyDown","selectedRowCount","selectedRowCountLocalized","parentRowPositionLocalized","positionSectionLocalized","renderNumberedCell","render","Host","InteractiveContainer","class","ref","numbered","onSlotchange"],"sources":["src/components/table-row/resources.ts","src/components/table-row/table-row.scss?tag=calcite-table-row&encapsulation=shadow","src/components/table-row/table-row.tsx"],"sourcesContent":["export const CSS = {\n lastVisibleRow: \"last-visible-row\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-table-row-background: Specifies the background color of the component.\n * @prop --calcite-table-row-border-color: Specifies the border color of the component.\n */\n\n:host {\n --calcite-internal-table-row-background: var(--calcite-table-row-background, var(--calcite-color-foreground-1));\n --calcite-internal-table-row-border-color: var(--calcite-table-row-border-color, transparent);\n @apply contents;\n}\n\n@include base-component();\n\n@include disabled() {\n tr {\n @apply opacity-disabled pointer-events-none;\n }\n}\n\ntr {\n border-block-end: 1px solid var(--calcite-internal-table-row-border-color);\n background-color: var(--calcite-internal-table-row-background);\n}\n\ntr.last-visible-row {\n border-block-end: 0;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { LocalizedComponent } from \"../../utils/locale\";\nimport { Alignment, Scale, SelectionMode } from \"../interfaces\";\nimport { focusElementInGroup, FocusElementInGroupDestination } from \"../../utils/dom\";\nimport { RowType, TableInteractionMode, TableRowFocusEvent } from \"../table/interfaces\";\nimport { isActivationKey } from \"../../utils/key\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { getIconScale } from \"../../utils/component\";\nimport { CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-table-cell` or `calcite-table-header` elements.\n */\n\n@Component({\n tag: \"calcite-table-row\",\n styleUrl: \"table-row.scss\",\n shadow: true,\n})\nexport class TableRow implements InteractiveComponent, LocalizedComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /** Specifies the alignment of the component. */\n @Prop({ reflect: true }) alignment: Alignment;\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true }) selected = false;\n\n /** @internal */\n @Prop({ mutable: true }) cellCount: number;\n\n /** @internal */\n @Prop() interactionMode: TableInteractionMode = \"interactive\";\n\n /** @internal */\n @Prop() lastVisibleRow: boolean;\n\n /** @internal */\n @Prop() rowType: RowType;\n\n /** @internal */\n @Prop() numbered = false;\n\n /** @internal */\n @Prop() positionSection: number;\n\n /** @internal */\n @Prop() positionSectionLocalized: string;\n\n /** @internal */\n @Prop() positionAll: number;\n\n /** @internal */\n @Prop() readCellContentsToAT: boolean;\n\n /** @internal */\n @Prop() scale: Scale;\n\n /** @internal */\n @Prop() selectionMode: Extract<\"multiple\" | \"single\" | \"none\", SelectionMode> = \"none\";\n\n /** @internal */\n @Prop() selectedRowCount: number;\n\n /** @internal */\n @Prop() selectedRowCountLocalized: string;\n\n /** @internal */\n @Prop() bodyRowCount: number;\n\n @Watch(\"bodyRowCount\")\n @Watch(\"scale\")\n @Watch(\"selected\")\n @Watch(\"selectedRowCount\")\n @Watch(\"interactionMode\")\n handleCellChanges(): void {\n if (this.tableRowEl && this.rowCells.length > 0) {\n this.updateCells();\n }\n }\n\n @Watch(\"numbered\")\n @Watch(\"selectionMode\")\n handleDelayedCellChanges(): void {\n if (this.tableRowEl && this.rowCells.length > 0) {\n requestAnimationFrame(() => this.updateCells());\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentDidLoad(): void {\n if (this.tableRowEl && this.rowCells.length > 0) {\n this.updateCells();\n }\n }\n\n connectedCallback(): void {\n connectInteractive(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteTableRowElement;\n\n private rowCells: (HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement)[] = [];\n\n private tableRowEl: HTMLTableRowElement;\n\n private tableRowSlotEl: HTMLSlotElement;\n\n @State() effectiveLocale = \"\";\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the selected state of the component changes.\n */\n @Event({ cancelable: false }) calciteTableRowSelect: EventEmitter<void>;\n\n /** @internal */\n @Event({ cancelable: false })\n calciteInternalTableRowFocusRequest: EventEmitter<TableRowFocusEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalTableRowFocusChange\", { target: \"document\" })\n calciteInternalTableRowFocusChangeHandler(event: CustomEvent): void {\n if ((event.target as Element).contains(this.el)) {\n const position = event.detail.cellPosition;\n const rowPosition = event.detail.rowPosition;\n const destination = event.detail.destination;\n const lastCell = event.detail.lastCell;\n\n if (rowPosition === this.positionAll) {\n if (this.disabled) {\n const deflectDirection =\n destination === \"last\" ? \"previous\" : destination === \"first\" ? \"next\" : destination;\n this.emitTableRowFocusRequest(position, this.positionAll, deflectDirection);\n return;\n }\n const cellPosition = lastCell\n ? this.rowCells[this.rowCells.length - 1]\n : this.rowCells?.find((_, index) => index + 1 === position);\n\n if (cellPosition) {\n cellPosition.setFocus();\n }\n }\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (this.interactionMode !== \"interactive\") {\n return;\n }\n const el = event.target as HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement;\n const key = event.key;\n const isControl = event.ctrlKey;\n const cells = this.rowCells;\n if (el.matches(\"calcite-table-cell\") || el.matches(\"calcite-table-header\")) {\n switch (key) {\n case \"ArrowUp\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"previous\");\n event.preventDefault();\n break;\n case \"ArrowDown\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"next\");\n event.preventDefault();\n break;\n case \"PageUp\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"first\");\n event.preventDefault();\n break;\n case \"PageDown\":\n this.emitTableRowFocusRequest(el.positionInRow, this.positionAll, \"last\");\n event.preventDefault();\n break;\n case \"ArrowLeft\":\n focusElementInGroup(cells, el, \"previous\", false);\n event.preventDefault();\n break;\n case \"ArrowRight\":\n focusElementInGroup(cells, el, \"next\", false);\n event.preventDefault();\n break;\n case \"Home\":\n if (isControl) {\n this.emitTableRowFocusRequest(1, this.positionAll, \"first\");\n event.preventDefault();\n } else {\n focusElementInGroup(cells, el, \"first\", false);\n event.preventDefault();\n }\n break;\n case \"End\":\n if (isControl) {\n this.emitTableRowFocusRequest(this.rowCells?.length, this.positionAll, \"last\", true);\n event.preventDefault();\n } else {\n focusElementInGroup(cells, el, \"last\", false);\n event.preventDefault();\n }\n break;\n }\n }\n };\n\n private emitTableRowFocusRequest = (\n cellPosition: number,\n rowPosition: number,\n destination: FocusElementInGroupDestination,\n lastCell?: boolean,\n ): void => {\n this.calciteInternalTableRowFocusRequest.emit({\n cellPosition,\n rowPosition,\n destination,\n lastCell,\n });\n };\n\n private updateCells = (): void => {\n const alignment = this.alignment\n ? this.alignment\n : this.rowType !== \"head\"\n ? \"center\"\n : \"start\";\n const slottedCells = this.tableRowSlotEl\n ?.assignedElements({ flatten: true })\n ?.filter(\n (el: HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement) =>\n el.matches(\"calcite-table-cell\") || el.matches(\"calcite-table-header\"),\n );\n\n const renderedCells = Array.from(\n this.tableRowEl?.querySelectorAll(\"calcite-table-header, calcite-table-cell\"),\n )?.filter(\n (el: HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement) =>\n el.numberCell || el.selectionCell,\n );\n\n const cells = renderedCells ? renderedCells.concat(slottedCells) : slottedCells;\n\n if (cells.length > 0) {\n cells?.forEach((cell: HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement, index) => {\n cell.interactionMode = this.interactionMode;\n cell.lastCell = index === cells.length - 1;\n cell.parentRowAlignment = alignment;\n cell.parentRowIsSelected = this.selected;\n cell.parentRowType = this.rowType;\n cell.positionInRow = index + 1;\n cell.scale = this.scale;\n\n if (cell.nodeName === \"CALCITE-TABLE-CELL\") {\n (cell as HTMLCalciteTableCellElement).readCellContentsToAT = this.readCellContentsToAT;\n (cell as HTMLCalciteTableCellElement).disabled = this.disabled;\n }\n });\n }\n\n this.rowCells =\n (cells as (HTMLCalciteTableCellElement | HTMLCalciteTableHeaderElement)[]) || [];\n this.cellCount = cells?.length;\n };\n\n private handleSelectionOfRow = (): void => {\n this.calciteTableRowSelect.emit();\n };\n\n private handleKeyboardSelection = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n if (event.key === \" \") {\n event.preventDefault();\n }\n this.handleSelectionOfRow();\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderSelectionIcon(): VNode {\n const icon =\n this.selectionMode === \"multiple\" && this.selected\n ? \"check-square-f\"\n : this.selectionMode === \"multiple\"\n ? \"square\"\n : this.selected\n ? \"circle-f\"\n : \"circle\";\n\n return <calcite-icon icon={icon} scale={getIconScale(this.scale)} />;\n }\n\n renderSelectableCell(): VNode {\n return this.rowType === \"head\" ? (\n <calcite-table-header\n alignment=\"center\"\n bodyRowCount={this.bodyRowCount}\n key=\"selection-head\"\n onClick={this.selectionMode === \"multiple\" && this.handleSelectionOfRow}\n onKeyDown={this.selectionMode === \"multiple\" && this.handleKeyboardSelection}\n parentRowAlignment={this.alignment}\n selectedRowCount={this.selectedRowCount}\n selectedRowCountLocalized={this.selectedRowCountLocalized}\n selectionCell={true}\n selectionMode={this.selectionMode}\n />\n ) : this.rowType === \"body\" ? (\n <calcite-table-cell\n alignment=\"center\"\n key=\"selection-body\"\n onClick={this.handleSelectionOfRow}\n onKeyDown={this.handleKeyboardSelection}\n parentRowAlignment={this.alignment}\n parentRowIsSelected={this.selected}\n parentRowPositionLocalized={this.positionSectionLocalized}\n selectionCell={true}\n >\n {this.renderSelectionIcon()}\n </calcite-table-cell>\n ) : (\n <calcite-table-cell\n alignment=\"center\"\n key=\"selection-foot\"\n parentRowAlignment={this.alignment}\n selectionCell={true}\n />\n );\n }\n\n renderNumberedCell(): VNode {\n return this.rowType === \"head\" ? (\n <calcite-table-header\n alignment=\"center\"\n key=\"numbered-head\"\n numberCell={true}\n parentRowAlignment={this.alignment}\n />\n ) : this.rowType === \"body\" ? (\n <calcite-table-cell\n alignment=\"center\"\n key=\"numbered-body\"\n numberCell={true}\n parentRowAlignment={this.alignment}\n >\n {this.positionSectionLocalized}\n </calcite-table-cell>\n ) : (\n <calcite-table-cell\n alignment=\"center\"\n key=\"numbered-foot\"\n numberCell={true}\n parentRowAlignment={this.alignment}\n />\n );\n }\n\n render(): VNode {\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <tr\n aria-disabled={this.disabled}\n aria-rowindex={this.positionAll + 1}\n aria-selected={this.selected}\n class={{ [CSS.lastVisibleRow]: this.lastVisibleRow }}\n onKeyDown={this.keyDownHandler}\n ref={(el) => (this.tableRowEl = el)}\n >\n {this.numbered && this.renderNumberedCell()}\n {this.selectionMode !== \"none\" && this.renderSelectableCell()}\n <slot\n onSlotchange={this.updateCells}\n ref={(el) => (this.tableRowSlotEl = el as HTMLSlotElement)}\n />\n </tr>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"mappings":";;;;;6SAAO,MAAMA,EAAM,CACjBC,eAAgB,oBCDlB,MAAMC,EAAc,i3BACpB,MAAAC,EAAeD,E,MCoCFE,EAAQ,M,+KA4GXC,KAAAC,SAA4E,GA6D5ED,KAAAE,eAAkBC,IACxB,GAAIH,KAAKI,kBAAoB,cAAe,CAC1C,M,CAEF,MAAMC,EAAKF,EAAMG,OACjB,MAAMC,EAAMJ,EAAMI,IAClB,MAAMC,EAAYL,EAAMM,QACxB,MAAMC,EAAQV,KAAKC,SACnB,GAAII,EAAGM,QAAQ,uBAAyBN,EAAGM,QAAQ,wBAAyB,CAC1E,OAAQJ,GACN,IAAK,UACHP,KAAKY,yBAAyBP,EAAGQ,cAAeb,KAAKc,YAAa,YAClEX,EAAMY,iBACN,MACF,IAAK,YACHf,KAAKY,yBAAyBP,EAAGQ,cAAeb,KAAKc,YAAa,QAClEX,EAAMY,iBACN,MACF,IAAK,SACHf,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3C,KAAKyB,UACzBa,cAAe,M,CAKrB,kBAAAiD,GACE,OAAOvF,KAAK0B,UAAY,OACtBmD,EAAA,wBACEpD,UAAU,SACVlB,IAAI,gBACJ8B,WAAY,KACZM,mBAAoB3C,KAAKyB,YAEzBzB,KAAK0B,UAAY,OACnBmD,EAAA,sBACEpD,UAAU,SACVlB,IAAI,gBACJ8B,WAAY,KACZM,mBAAoB3C,KAAKyB,WAExBzB,KAAKsF,0BAGRT,EAAA,sBACEpD,UAAU,SACVlB,IAAI,gBACJ8B,WAAY,KACZM,mBAAoB3C,KAAKyB,W,CAK/B,MAAA+D,GACE,OACEX,EAACY,EAAI,CAAAlF,IAAA,4CACHsE,EAACa,EAAoB,CAAAnF,IAAA,2CAAC2C,SAAUlD,KAAKkD,UACnC2B,EAAA,MAAAtE,IAAA,2DACiBP,KAAKkD,SAAQ,gBACblD,KAAKc,YAAc,EAAC,gBACpBd,KAAK6C,SACpB8C,MAAO,CAAE,CAAChG,EAAIC,gBAAiBI,KAAKJ,gBACpCsF,UAAWlF,KAAKE,eAChB0F,IAAMvF,GAAQL,KAAKmC,WAAa9B,GAE/BL,KAAK6F,UAAY7F,KAAKuF,qBACtBvF,KAAK4E,gBAAkB,QAAU5E,KAAK+E,uBACvCF,EAAA,QAAAtE,IAAA,2CACEuF,aAAc9F,KAAKwB,YACnBoE,IAAMvF,GAAQL,KAAK4B,eAAiBvB,M"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
const t=(t,n,r)=>Math.max(n,Math.min(t,r));const n=new RegExp(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);const r=t=>{const r=(""+t).match(n);if(!r||parseInt(r[1])===0){return 0}return Math.max(0,(r[1]?r[1].length:0)-(r[2]?+r[2]:0))};function a(t){if(r(t)>0&&t>0){return parseFloat(`0.${t.toString().split(".")[1]}`)}return t}function e(t,n,r,a,e){return(t-n)*(e-a)/(r-n)+a}function s(t,n,r){return t<r?-1:t>n-r?1:0}export{s as a,t as c,r as d,a as g,e as r};
|
|
7
|
-
//# sourceMappingURL=p-f75f0a6d.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
import{d as e}from"./p-b8a710c9.js";import"./p-d5fb1def.js";import"./p-607f6ebc.js";import"./p-521dd844.js";import"./p-1a91451c.js";import"./p-4a7f9f77.js";import"./p-dd122c48.js";import"./p-64eee6a2.js";import"./p-0055e511.js";import"./p-92ee57bc.js";import"./p-5b021a42.js";import"./p-77f9f089.js";import"./p-d41eda90.js";import"./p-7369809e.js";import"./p-bf44c80a.js";import"./p-f75f0a6d.js";import"./p-f2fb83bd.js";import"./p-bfe64bf4.js";import"./p-934455cd.js";function r(e){return e>1&&e<5&&~~(e/10)!==1}function t(e,t,n,s){var m=e+" ";switch(n){case"s":return t||s?"pár sekund":"pár sekundami";case"m":return t?"minuta":s?"minutu":"minutou";case"mm":if(t||s){return m+(r(e)?"minuty":"minut")}return m+"minutami";case"h":return t?"hodina":s?"hodinu":"hodinou";case"hh":if(t||s){return m+(r(e)?"hodiny":"hodin")}return m+"hodinami";case"d":return t||s?"den":"dnem";case"dd":if(t||s){return m+(r(e)?"dny":"dní")}return m+"dny";case"M":return t||s?"měsíc":"měsícem";case"MM":if(t||s){return m+(r(e)?"měsíce":"měsíců")}return m+"měsíci";case"y":return t||s?"rok":"rokem";case"yy":if(t||s){return m+(r(e)?"roky":"let")}return m+"lety"}}var n={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function e(r){return r+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(n,null,true);export{n as default};
|
|
7
|
-
//# sourceMappingURL=p-ff961e08.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
const n={menuActions:"menu-actions",menuTooltip:"menu-tooltip"};const o={menu:"ellipsis"};const t={container:"container"};export{t as C,o as I,n as S};
|
|
7
|
-
//# sourceMappingURL=p-ffbee4c4.js.map
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.2
|
|
5
|
-
*/
|
|
6
|
-
'use strict';
|
|
7
|
-
|
|
8
|
-
const index = require('./index-816b2235.js');
|
|
9
|
-
const dom = require('./dom-b3b692c7.js');
|
|
10
|
-
const resources$1 = require('./resources-da727d05.js');
|
|
11
|
-
const resources = require('./resources-bb337ee2.js');
|
|
12
|
-
|
|
13
|
-
const overflowActionsDebounceInMs = 150;
|
|
14
|
-
const groupBufferPx = 2;
|
|
15
|
-
const getAverage = (arr) => arr.reduce((p, c) => p + c, 0) / arr.length;
|
|
16
|
-
const geActionDimensions = (actions) => {
|
|
17
|
-
const actionsNotSlotted = actions.filter((action) => action.slot !== resources$1.SLOTS.menuActions);
|
|
18
|
-
const actionLen = actionsNotSlotted?.length;
|
|
19
|
-
return {
|
|
20
|
-
actionWidth: actionLen ? getAverage(actionsNotSlotted.map((action) => action.clientWidth || 0)) : 0,
|
|
21
|
-
actionHeight: actionLen ? getAverage(actionsNotSlotted.map((action) => action.clientHeight || 0)) : 0,
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
const getMaxActionCount = ({ width, actionWidth, layout, height, actionHeight, groupCount, }) => {
|
|
25
|
-
const maxContainerPx = layout === "horizontal" ? width : height;
|
|
26
|
-
const avgItemPx = layout === "horizontal" ? actionWidth : actionHeight;
|
|
27
|
-
return Math.floor((maxContainerPx - groupCount * groupBufferPx) / avgItemPx);
|
|
28
|
-
};
|
|
29
|
-
const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeight, height, groupCount, }) => {
|
|
30
|
-
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
31
|
-
};
|
|
32
|
-
const queryActions = (el) => {
|
|
33
|
-
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === resources.SLOTS.trigger : true);
|
|
34
|
-
};
|
|
35
|
-
const overflowActions = ({ actionGroups, expanded, overflowCount, }) => {
|
|
36
|
-
let needToSlotCount = overflowCount;
|
|
37
|
-
actionGroups.reverse().forEach((group) => {
|
|
38
|
-
let slottedWithinGroupCount = 0;
|
|
39
|
-
const groupActions = queryActions(group).reverse();
|
|
40
|
-
groupActions.forEach((groupAction) => {
|
|
41
|
-
if (groupAction.slot === resources$1.SLOTS.menuActions) {
|
|
42
|
-
groupAction.removeAttribute("slot");
|
|
43
|
-
groupAction.textEnabled = expanded;
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
if (needToSlotCount > 0) {
|
|
47
|
-
groupActions.some((groupAction) => {
|
|
48
|
-
const unslottedActions = groupActions.filter((action) => !action.slot);
|
|
49
|
-
if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
|
|
50
|
-
groupAction.textEnabled = true;
|
|
51
|
-
groupAction.setAttribute("slot", resources$1.SLOTS.menuActions);
|
|
52
|
-
slottedWithinGroupCount++;
|
|
53
|
-
if (slottedWithinGroupCount > 1) {
|
|
54
|
-
needToSlotCount--;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
return needToSlotCount < 1;
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
index.forceUpdate(group);
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
const ICONS = {
|
|
65
|
-
chevronsLeft: "chevrons-left",
|
|
66
|
-
chevronsRight: "chevrons-right",
|
|
67
|
-
};
|
|
68
|
-
function getCalcitePosition(position, el) {
|
|
69
|
-
return position || el.closest("calcite-shell-panel")?.position || "start";
|
|
70
|
-
}
|
|
71
|
-
function toggleChildActionText({ el, expanded, }) {
|
|
72
|
-
queryActions(el)
|
|
73
|
-
.filter((el) => el.slot !== resources$1.SLOTS.menuActions)
|
|
74
|
-
.forEach((action) => (action.textEnabled = expanded));
|
|
75
|
-
el.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((el) => (el.expanded = expanded));
|
|
76
|
-
}
|
|
77
|
-
const setTooltipReference = ({ tooltip, referenceElement, expanded, ref, }) => {
|
|
78
|
-
if (tooltip) {
|
|
79
|
-
tooltip.referenceElement = !expanded && referenceElement ? referenceElement : null;
|
|
80
|
-
}
|
|
81
|
-
if (ref) {
|
|
82
|
-
ref(referenceElement);
|
|
83
|
-
}
|
|
84
|
-
return referenceElement;
|
|
85
|
-
};
|
|
86
|
-
const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position, tooltip, ref, scale, }) => {
|
|
87
|
-
const rtl = dom.getElementDir(el) === "rtl";
|
|
88
|
-
const text = expanded ? collapseText : expandText;
|
|
89
|
-
const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];
|
|
90
|
-
if (rtl) {
|
|
91
|
-
icons.reverse();
|
|
92
|
-
}
|
|
93
|
-
const end = getCalcitePosition(position, el) === "end";
|
|
94
|
-
const expandIcon = end ? icons[1] : icons[0];
|
|
95
|
-
const collapseIcon = end ? icons[0] : icons[1];
|
|
96
|
-
const actionNode = (index.h("calcite-action", { icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: text, textEnabled: expanded, title: !expanded && !tooltip ? text : null }));
|
|
97
|
-
return actionNode;
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
exports.ExpandToggle = ExpandToggle;
|
|
101
|
-
exports.geActionDimensions = geActionDimensions;
|
|
102
|
-
exports.getOverflowCount = getOverflowCount;
|
|
103
|
-
exports.overflowActions = overflowActions;
|
|
104
|
-
exports.overflowActionsDebounceInMs = overflowActionsDebounceInMs;
|
|
105
|
-
exports.queryActions = queryActions;
|
|
106
|
-
exports.toggleChildActionText = toggleChildActionText;
|
|
107
|
-
|
|
108
|
-
//# sourceMappingURL=ExpandToggle-d6b89e22.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"ExpandToggle-d6b89e22.js","mappings":";;;;;;;;;;;;MAKa,2BAA2B,GAAG,IAAI;AAC/C,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB,MAAM,UAAU,GAAG,CAAC,GAAa,KAAK,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC;MAErE,kBAAkB,GAAG,CAChC,OAAmC;IAEnC,MAAM,iB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M,GAAG,GAAGG,iBAAa,CAAC,EAAE,CAAC,KAAK,KAAK,CAAC;IAExC,MAAM,IAAI,GAAG,QAAQ,GAAG,YAAY,GAAG,UAAU,CAAC;IAClD,MAAM,KAAK,GAAG,CAAC,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAExD,IAAI,GAAG,EAAE;QACP,KAAK,CAAC,OAAO,EAAE,CAAC;KACjB;IAED,MAAM,GAAG,GAAG,kBAAkB,CAAC,QAAQ,EAAE,EAAE,CAAC,KAAK,KAAK,CAAC;IACvD,MAAM,UAAU,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC7C,MAAM,YAAY,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAE/C,MAAM,UAAU,IACdC,4BACE,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,YAAY,EAC1C,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,CAAC,gBAAgB,KACpB,mBAAmB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,EAEnE,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,QAAQ,EACrB,KAAK,EAAE,CAAC,QAAQ,IAAI,CAAC,OAAO,GAAG,IAAI,GAAG,IAAI,GAC1C,CACH,CAAC;IAEF,OAAO,UAAU,CAAC;AACpB;;;;;;;;;;","names":["ACTION_GROUP_SLOTS","ACTION_MENU_SLOTS","forceUpdate","getElementDir","h"],"sources":["src/components/action-bar/utils.ts","src/components/functional/ExpandToggle.tsx"],"sourcesContent":["import { forceUpdate } from \"@stencil/core\";\nimport { SLOTS as ACTION_GROUP_SLOTS } from \"../action-group/resources\";\nimport { SLOTS as ACTION_MENU_SLOTS } from \"../action-menu/resources\";\nimport { Layout } from \"../interfaces\";\n\nexport const overflowActionsDebounceInMs = 150;\nconst groupBufferPx = 2;\n\nconst getAverage = (arr: number[]) => arr.reduce((p, c) => p + c, 0) / arr.length;\n\nexport const geActionDimensions = (\n actions: HTMLCalciteActionElement[],\n): { actionWidth: number; actionHeight: number } => {\n const actionsNotSlotted = actions.filter((action) => action.slot !== ACTION_GROUP_SLOTS.menuActions);\n const actionLen = actionsNotSlotted?.length;\n return {\n actionWidth: actionLen ? getAverage(actionsNotSlotted.map((action) => action.clientWidth || 0)) : 0,\n actionHeight: actionLen ? getAverage(actionsNotSlotted.map((action) => action.clientHeight || 0)) : 0,\n };\n};\n\nconst getMaxActionCount = ({\n width,\n actionWidth,\n layout,\n height,\n actionHeight,\n groupCount,\n}: {\n layout: Extract<\"horizontal\" | \"vertical\", Layout>;\n height: number;\n actionWidth: number;\n width: number;\n actionHeight: number;\n groupCount: number;\n}): number => {\n const maxContainerPx = layout === \"horizontal\" ? width : height;\n const avgItemPx = layout === \"horizontal\" ? actionWidth : actionHeight;\n return Math.floor((maxContainerPx - groupCount * groupBufferPx) / avgItemPx);\n};\n\nexport const getOverflowCount = ({\n layout,\n actionCount,\n actionWidth,\n width,\n actionHeight,\n height,\n groupCount,\n}: {\n layout: Extract<\"horizontal\" | \"vertical\", Layout>;\n actionCount: number;\n actionWidth: number;\n width: number;\n actionHeight: number;\n height: number;\n groupCount: number;\n}): number => {\n return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);\n};\n\nexport const queryActions = (el: HTMLElement): HTMLCalciteActionElement[] => {\n return Array.from(el.querySelectorAll(\"calcite-action\")).filter((action) =>\n action.closest(\"calcite-action-menu\") ? action.slot === ACTION_MENU_SLOTS.trigger : true,\n );\n};\n\nexport const overflowActions = ({\n actionGroups,\n expanded,\n overflowCount,\n}: {\n actionGroups: HTMLCalciteActionGroupElement[];\n expanded: boolean;\n overflowCount: number;\n}): void => {\n let needToSlotCount = overflowCount;\n actionGroups.reverse().forEach((group) => {\n let slottedWithinGroupCount = 0;\n\n const groupActions = queryActions(group).reverse();\n\n groupActions.forEach((groupAction) => {\n if (groupAction.slot === ACTION_GROUP_SLOTS.menuActions) {\n groupAction.removeAttribute(\"slot\");\n groupAction.textEnabled = expanded;\n }\n });\n\n if (needToSlotCount > 0) {\n groupActions.some((groupAction) => {\n const unslottedActions = groupActions.filter((action) => !action.slot);\n\n if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest(\"calcite-action-menu\")) {\n groupAction.textEnabled = true;\n groupAction.setAttribute(\"slot\", ACTION_GROUP_SLOTS.menuActions);\n slottedWithinGroupCount++;\n\n if (slottedWithinGroupCount > 1) {\n needToSlotCount--;\n }\n }\n\n return needToSlotCount < 1;\n });\n }\n\n forceUpdate(group);\n });\n};\n","import { FunctionalComponent, h } from \"@stencil/core\";\nimport { getElementDir } from \"../../utils/dom\";\nimport { queryActions } from \"../action-bar/utils\";\nimport { SLOTS as ACTION_GROUP_SLOTS } from \"../action-group/resources\";\nimport { Position, Scale } from \"../interfaces\";\n\ninterface ExpandToggleProps {\n expanded: boolean;\n expandText: string;\n collapseText: string;\n el: HTMLElement;\n position: Position;\n tooltip?: HTMLCalciteTooltipElement;\n toggle: () => void;\n ref?: (el: HTMLElement) => void;\n scale?: Scale;\n}\n\nconst ICONS = {\n chevronsLeft: \"chevrons-left\",\n chevronsRight: \"chevrons-right\",\n};\n\nfunction getCalcitePosition(position: Position, el: HTMLElement): Position {\n return position || el.closest(\"calcite-shell-panel\")?.position || \"start\";\n}\n\nexport function toggleChildActionText({\n el,\n expanded,\n}: {\n el: HTMLElement;\n expanded: boolean;\n}): void {\n queryActions(el)\n .filter((el) => el.slot !== ACTION_GROUP_SLOTS.menuActions)\n .forEach((action) => (action.textEnabled = expanded));\n el.querySelectorAll(\"calcite-action-group, calcite-action-menu\").forEach(\n (el: HTMLCalciteActionMenuElement | HTMLCalciteActionGroupElement) => (el.expanded = expanded),\n );\n}\n\nconst setTooltipReference = ({\n tooltip,\n referenceElement,\n expanded,\n ref,\n}: {\n tooltip: HTMLCalciteTooltipElement;\n referenceElement: HTMLCalciteActionElement;\n expanded: boolean;\n ref?: (el: HTMLElement) => void;\n}): HTMLCalciteActionElement => {\n if (tooltip) {\n tooltip.referenceElement = !expanded && referenceElement ? referenceElement : null;\n }\n\n if (ref) {\n ref(referenceElement);\n }\n\n return referenceElement;\n};\n\nexport const ExpandToggle: FunctionalComponent<ExpandToggleProps> = ({\n expanded,\n expandText,\n collapseText,\n toggle,\n el,\n position,\n tooltip,\n ref,\n scale,\n}) => {\n const rtl = getElementDir(el) === \"rtl\";\n\n const text = expanded ? collapseText : expandText;\n const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];\n\n if (rtl) {\n icons.reverse();\n }\n\n const end = getCalcitePosition(position, el) === \"end\";\n const expandIcon = end ? icons[1] : icons[0];\n const collapseIcon = end ? icons[0] : icons[1];\n\n const actionNode = (\n <calcite-action\n icon={expanded ? expandIcon : collapseIcon}\n onClick={toggle}\n ref={(referenceElement): HTMLCalciteActionElement =>\n setTooltipReference({ tooltip, referenceElement, expanded, ref })\n }\n scale={scale}\n text={text}\n textEnabled={expanded}\n title={!expanded && !tooltip ? text : null}\n />\n );\n\n return actionNode;\n};\n"],"version":3}
|