@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["actionGroupCss","CalciteActionGroupStyle0","ActionGroup","this","setMenuOpen","event","menuOpen","target","open","handleMenuActionsSlotChange","hasMenuActions","slotChangeHasAssignedElement","expandedHandler","onMessagesChange","effectiveLocaleChange","updateMessages","effectiveLocale","setFocus","componentFocusable","el","focus","connectedCallback","connectLocalized","connectMessages","connectConditionalSlotComponent","disconnectedCallback","disconnectLocalized","disconnectMessages","disconnectConditionalSlotComponent","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","setComponentLoaded","renderMenu","expanded","scale","layout","messages","overlayPositioning","h","flipPlacements","hidden","label","more","onCalciteActionMenuOpen","placement","icon","ICONS","menu","slot","ACTION_MENU_SLOTS","trigger","text","textEnabled","name","SLOTS","menuActions","onSlotchange","menuTooltip","tooltip","render","key","class","CSS","container","role"],"sources":["src/components/action-group/action-group.scss?tag=calcite-action-group&encapsulation=shadow","src/components/action-group/action-group.tsx"],"sourcesContent":["/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-action-group-columns: Sets number of grid-template-columns when the `layout` property is `\"grid\"`.\n * @prop --calcite-action-group-gap: Sets the gap (gutters) between rows and columns when the `layout` property is `\"grid\"`.\n * @prop --calcite-action-group-padding: Sets the padding when the `layout` property is `\"grid\"`.\n */\n\n:host {\n @extend %component-host;\n\n @apply flex\n flex-col\n p-0;\n\n --calcite-action-group-columns: 3;\n --calcite-action-group-gap: theme(\"gap.px\");\n --calcite-action-group-padding: theme(\"padding.px\");\n}\n\n.container {\n @apply flex flex-col flex-grow;\n}\n\n:host([columns=\"1\"]) {\n --calcite-action-group-columns: 1;\n}\n:host([columns=\"2\"]) {\n --calcite-action-group-columns: 2;\n}\n:host([columns=\"3\"]) {\n --calcite-action-group-columns: 3;\n}\n:host([columns=\"4\"]) {\n --calcite-action-group-columns: 4;\n}\n:host([columns=\"5\"]) {\n --calcite-action-group-columns: 5;\n}\n:host([columns=\"6\"]) {\n --calcite-action-group-columns: 6;\n}\n\n:host(:first-child) {\n @apply pt-0;\n}\n\n:host([layout=\"horizontal\"]),\n:host([layout=\"horizontal\"]) .container {\n @apply flex-row;\n}\n\n:host([layout=\"grid\"]) {\n @apply grid;\n}\n\n:host([layout=\"grid\"]) .container {\n @apply bg-background\n grid\n place-content-stretch;\n gap: var(--calcite-action-group-gap);\n padding: var(--calcite-action-group-gap);\n grid-template-columns: repeat(var(--calcite-action-group-columns), auto);\n}\n\n@include base-component();\n","import { Component, Element, h, Method, Prop, State, VNode, Watch } from \"@stencil/core\";\nimport { CalciteActionMenuCustomEvent } from \"../../components\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\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 { SLOTS as ACTION_MENU_SLOTS } from \"../action-menu/resources\";\nimport { Columns, Layout, Scale } from \"../interfaces\";\nimport { OverlayPositioning } from \"../../utils/floating-ui\";\nimport { slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport { ActionGroupMessages } from \"./assets/action-group/t9n\";\nimport { ICONS, SLOTS, CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding a group of `calcite-action`s.\n * @slot menu-actions - A slot for adding an overflow menu with `calcite-action`s inside a `calcite-dropdown`.\n * @slot menu-tooltip - A slot for adding a `calcite-tooltip` for the menu.\n */\n@Component({\n tag: \"calcite-action-group\",\n styleUrl: \"action-group.scss\",\n shadow: {\n delegatesFocus: true,\n },\n assetsDirs: [\"assets\"],\n})\nexport class ActionGroup\n implements ConditionalSlotComponent, LoadableComponent, LocalizedComponent, T9nComponent\n{\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, the component is expanded.\n */\n @Prop({ reflect: true }) expanded = false;\n\n @Watch(\"expanded\")\n expandedHandler(): void {\n this.menuOpen = false;\n }\n\n /**\n * Accessible name for the component.\n */\n @Prop() label: string;\n\n /**\n * Indicates the layout of the component.\n *\n * @deprecated Use the `layout` property on the component's parent instead.\n */\n @Prop({ reflect: true }) layout: Layout = \"vertical\";\n\n /**\n * Indicates number of columns.\n */\n @Prop({ reflect: true }) columns: Columns;\n\n /**\n * When `true`, the `calcite-action-menu` is open.\n */\n @Prop({ reflect: true, mutable: true }) menuOpen = false;\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 * `\"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 * Specifies the size of the `calcite-action-menu`.\n */\n @Prop({ reflect: true }) scale: Scale;\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: ActionGroupMessages;\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<ActionGroupMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n @Element() el: HTMLCalciteActionGroupElement;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ActionGroupMessages;\n\n @State() hasMenuActions = false;\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 // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n connectConditionalSlotComponent(this);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectMessages(this);\n disconnectConditionalSlotComponent(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 // --------------------------------------------------------------------------\n //\n // Component Methods\n //\n // --------------------------------------------------------------------------\n\n renderMenu(): VNode {\n const { expanded, menuOpen, scale, layout, messages, overlayPositioning, hasMenuActions } =\n this;\n\n return (\n <calcite-action-menu\n expanded={expanded}\n flipPlacements={[\"left\", \"right\"]}\n hidden={!hasMenuActions}\n label={messages.more}\n onCalciteActionMenuOpen={this.setMenuOpen}\n open={menuOpen}\n overlayPositioning={overlayPositioning}\n placement={layout === \"horizontal\" ? \"bottom-start\" : \"leading-start\"}\n scale={scale}\n >\n <calcite-action\n icon={ICONS.menu}\n scale={scale}\n slot={ACTION_MENU_SLOTS.trigger}\n text={messages.more}\n textEnabled={expanded}\n />\n <slot name={SLOTS.menuActions} onSlotchange={this.handleMenuActionsSlotChange} />\n <slot name={SLOTS.menuTooltip} slot={ACTION_MENU_SLOTS.tooltip} />\n </calcite-action-menu>\n );\n }\n\n render(): VNode {\n return (\n <div aria-label={this.label} class={CSS.container} role=\"group\">\n <slot />\n {this.renderMenu()}\n </div>\n );\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n setMenuOpen = (event: CalciteActionMenuCustomEvent<void>): void => {\n this.menuOpen = !!(event.target as HTMLCalciteActionMenuElement).open;\n };\n\n handleMenuActionsSlotChange = (event: Event): void => {\n this.hasMenuActions = slotChangeHasAssignedElement(event);\n };\n}\n"],"mappings":";;;;;qeAAA,MAAMA,EAAiB,2qCACvB,MAAAC,EAAeD,E,MCwCFE,EAAW,M,yBAqLtBC,KAAAC,YAAeC,IACbF,KAAKG,WAAcD,EAAME,OAAwCC,IAAI,EAGvEL,KAAAM,4BAA+BJ,IAC7BF,KAAKO,eAAiBC,EAA6BN,EAAM,E,cA9KvB,M,iCAiBM,W,qCAUS,M,wBASe,W,kGAiCvC,G,mDASD,K,CA3E1B,eAAAO,GACET,KAAKG,SAAW,K,CAsDlB,gBAAAO,G,CAcA,qBAAAC,GACEC,EAAeZ,KAAMA,KAAKa,gB,CAe5B,cAAMC,SACEC,EAAmBf,MACzBA,KAAKgB,GAAGC,O,CAQV,iBAAAC,GACEC,EAAiBnB,MACjBoB,EAAgBpB,MAChBqB,EAAgCrB,K,CAGlC,oBAAAsB,GACEC,EAAoBvB,MACpBwB,EAAmBxB,MACnByB,EAAmCzB,K,CAGrC,uBAAM0B,GACJC,EAAuB3B,YACjB4B,EAAc5B,K,CAGtB,gBAAA6B,GACEC,EAAmB9B,K,CASrB,UAAA+B,GACE,MAAMC,SAAEA,EAAQ7B,SAAEA,EAAQ8B,MAAEA,EAAKC,OAAEA,EAAMC,SAAEA,EAAQC,mBAAEA,EAAkB7B,eAAEA,GACvEP,KAEF,OACEqC,EAAA,uBACEL,SAAUA,EACVM,eAAgB,CAAC,OAAQ,SACzBC,QAAShC,EACTiC,MAAOL,EAASM,KAChBC,wBAAyB1C,KAAKC,YAC9BI,KAAMF,EACNiC,mBAAoBA,EACpBO,UAAWT,IAAW,aAAe,eAAiB,gBACtDD,MAAOA,GAEPI,EAAA,kBACEO,KAAMC,EAAMC,KACZb,MAAOA,EACPc,KAAMC,EAAkBC,QACxBC,KAAMf,EAASM,KACfU,YAAanB,IAEfK,EAAA,QAAMe,KAAMC,EAAMC,YAAaC,aAAcvD,KAAKM,8BAClD+B,EAAA,QAAMe,KAAMC,EAAMG,YAAaT,KAAMC,EAAkBS,U,CAK7D,MAAAC,GACE,OACErB,EAAA,OAAAsB,IAAA,wDAAiB3D,KAAKwC,MAAOoB,MAAOC,EAAIC,UAAWC,KAAK,SACtD1B,EAAA,QAAAsB,IAAA,6CACC3D,KAAK+B,a"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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.20
|
|
5
|
+
*/
|
|
6
|
+
import{d as t}from"./p-9229616c.js";import"./p-e48d006d.js";import"./p-8356a697.js";import"./p-99726b90.js";import"./p-c26dde6d.js";import"./p-57e21d44.js";import"./p-ae04d854.js";import"./p-c5966b3e.js";import"./p-70c530fa.js";import"./p-9e5dd305.js";import"./p-ae81e665.js";import"./p-bf0746a3.js";import"./p-8e3a4720.js";import"./p-2fec90cc.js";import"./p-94138947.js";import"./p-0592bb74.js";import"./p-dd1ec8aa.js";import"./p-effbb31d.js";import"./p-c6f9db24.js";var m={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function t(m){return m},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}};t.locale(m,null,true);export{m as default};
|
|
7
|
+
//# sourceMappingURL=p-e990b472.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
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.20
|
|
5
|
+
*/
|
|
6
|
+
import{e as t}from"./p-e48d006d.js";function n(t){return"opened"in t?t.opened:t.open}function i(t,i=false){(i?t[t.transitionProp]:n(t))?t.onBeforeOpen():t.onBeforeClose();(i?t[t.transitionProp]:n(t))?t.onOpen():t.onClose()}function o(o,r=false){t((()=>{if(!o.transitionEl){return}const{transitionDuration:t,transitionProperty:s}=getComputedStyle(o.transitionEl);const e=t.split(",");const a=s.split(",");const c=a.indexOf(o.openTransitionProp);const f=e[c]??e[0];if(f==="0s"){i(o,r);return}const u=setTimeout((()=>{o.transitionEl.removeEventListener("transitionstart",l);o.transitionEl.removeEventListener("transitionend",d);o.transitionEl.removeEventListener("transitioncancel",d);i(o,r)}),parseFloat(f)*1e3);o.transitionEl.addEventListener("transitionstart",l);o.transitionEl.addEventListener("transitionend",d);o.transitionEl.addEventListener("transitioncancel",d);function l(t){if(t.propertyName===o.openTransitionProp&&t.target===o.transitionEl){clearTimeout(u);o.transitionEl.removeEventListener("transitionstart",l);(r?o[o.transitionProp]:n(o))?o.onBeforeOpen():o.onBeforeClose()}}function d(t){if(t.propertyName===o.openTransitionProp&&t.target===o.transitionEl){(r?o[o.transitionProp]:n(o))?o.onOpen():o.onClose();o.transitionEl.removeEventListener("transitionend",d);o.transitionEl.removeEventListener("transitioncancel",d)}}}))}export{o};
|
|
7
|
+
//# sourceMappingURL=p-effbb31d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["isOpen","component","opened","open","emitImmediately","nonOpenCloseComponent","transitionProp","onBeforeOpen","onBeforeClose","onOpen","onClose","onToggleOpenCloseComponent","readTask","transitionEl","transitionDuration","allDurations","transitionProperty","allProps","getComputedStyle","allTransitionDurationsArray","split","allTransitionPropsArray","openTransitionPropIndex","indexOf","openTransitionProp","fallbackTimeoutId","setTimeout","removeEventListener","onStart","onEndOrCancel","parseFloat","addEventListener","event","propertyName","target","clearTimeout"],"sources":["src/utils/openCloseComponent.ts"],"sourcesContent":["import { readTask } from \"@stencil/core\";\n/**\n * Defines interface for components with open/close public emitter.\n * All implementations of this interface must handle the following events: `beforeOpen`, `open`, `beforeClose`, `close`.\n */\nexport interface OpenCloseComponent {\n /**\n * The host element.\n */\n readonly el: HTMLElement;\n\n /**\n * When true, the component opens.\n */\n open?: boolean;\n\n /**\n * When true, the component is open.\n */\n opened?: boolean;\n\n /**\n * Specifies the name of transitionProp.\n */\n transitionProp?: string;\n\n /**\n * Specifies property on which active transition is watched for.\n */\n openTransitionProp: string;\n\n /**\n * Specifies element that the transition is allowed to emit on.\n */\n transitionEl: HTMLElement;\n\n /**\n * Defines method for `beforeOpen` event handler.\n */\n onBeforeOpen: () => void;\n\n /**\n * Defines method for `open` event handler:\n */\n onOpen: () => void;\n\n /**\n * Defines method for `beforeClose` event handler:\n */\n onBeforeClose: () => void;\n\n /**\n * Defines method for `close` event handler:\n */\n onClose: () => void;\n}\n\nfunction isOpen(component: OpenCloseComponent): boolean {\n return \"opened\" in component ? component.opened : component.open;\n}\n\nfunction emitImmediately(component: OpenCloseComponent, nonOpenCloseComponent = false): void {\n (nonOpenCloseComponent ? component[component.transitionProp] : isOpen(component))\n ? component.onBeforeOpen()\n : component.onBeforeClose();\n (nonOpenCloseComponent ? component[component.transitionProp] : isOpen(component))\n ? component.onOpen()\n : component.onClose();\n}\n\n/**\n * Helper to determine globally set transition duration on the given openTransitionProp, which is imported and set in the @Watch(\"open\").\n * Used to emit (before)open/close events both for when the opacity transition is present and when there is none (transition-duration is set to 0).\n *\n * @example\n * import { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\n *\n * async componentWillLoad() {\n * // When component initially renders, if `open` was set we need to trigger on load as watcher doesn't fire.\n * if (this.open) {\n * onToggleOpenCloseComponent(this);\n * }\n * @Watch(\"open\")\n * async toggleModal(value: boolean): Promise<void> {\n * onToggleOpenCloseComponent(this);\n * }\n *\n * @param component - OpenCloseComponent uses `open` prop to emit (before)open/close.\n * @param nonOpenCloseComponent - OpenCloseComponent uses `expanded` prop to emit (before)open/close.\n */\nexport function onToggleOpenCloseComponent(component: OpenCloseComponent, nonOpenCloseComponent = false): void {\n readTask((): void => {\n if (!component.transitionEl) {\n return;\n }\n\n const { transitionDuration: allDurations, transitionProperty: allProps } = getComputedStyle(component.transitionEl);\n const allTransitionDurationsArray = allDurations.split(\",\");\n const allTransitionPropsArray = allProps.split(\",\");\n const openTransitionPropIndex = allTransitionPropsArray.indexOf(component.openTransitionProp);\n const transitionDuration =\n allTransitionDurationsArray[openTransitionPropIndex] ??\n /* Safari will have a single transition value if multiple props share it,\n so we fall back to it if there's no matching prop duration */\n allTransitionDurationsArray[0];\n if (transitionDuration === \"0s\") {\n emitImmediately(component, nonOpenCloseComponent);\n return;\n }\n const fallbackTimeoutId = setTimeout(\n (): void => {\n component.transitionEl.removeEventListener(\"transitionstart\", onStart);\n component.transitionEl.removeEventListener(\"transitionend\", onEndOrCancel);\n component.transitionEl.removeEventListener(\"transitioncancel\", onEndOrCancel);\n emitImmediately(component, nonOpenCloseComponent);\n },\n parseFloat(transitionDuration) * 1000,\n );\n component.transitionEl.addEventListener(\"transitionstart\", onStart);\n component.transitionEl.addEventListener(\"transitionend\", onEndOrCancel);\n component.transitionEl.addEventListener(\"transitioncancel\", onEndOrCancel);\n\n function onStart(event: TransitionEvent): void {\n if (event.propertyName === component.openTransitionProp && event.target === component.transitionEl) {\n clearTimeout(fallbackTimeoutId);\n component.transitionEl.removeEventListener(\"transitionstart\", onStart);\n (nonOpenCloseComponent ? component[component.transitionProp] : isOpen(component))\n ? component.onBeforeOpen()\n : component.onBeforeClose();\n }\n }\n\n function onEndOrCancel(event: TransitionEvent): void {\n if (event.propertyName === component.openTransitionProp && event.target === component.transitionEl) {\n (nonOpenCloseComponent ? component[component.transitionProp] : isOpen(component))\n ? component.onOpen()\n : component.onClose();\n\n component.transitionEl.removeEventListener(\"transitionend\", onEndOrCancel);\n component.transitionEl.removeEventListener(\"transitioncancel\", onEndOrCancel);\n }\n }\n });\n}\n"],"mappings":";;;;;oCAyDA,SAASA,EAAOC,GACd,MAAO,WAAYA,EAAYA,EAAUC,OAASD,EAAUE,IAC9D,CAEA,SAASC,EAAgBH,EAA+BI,EAAwB,QAC7EA,EAAwBJ,EAAUA,EAAUK,gBAAkBN,EAAOC,IAClEA,EAAUM,eACVN,EAAUO,iBACbH,EAAwBJ,EAAUA,EAAUK,gBAAkBN,EAAOC,IAClEA,EAAUQ,SACVR,EAAUS,SAChB,C,SAsBgBC,EAA2BV,EAA+BI,EAAwB,OAChGO,GAAS,KACP,IAAKX,EAAUY,aAAc,CAC3B,M,CAGF,MAAQC,mBAAoBC,EAAcC,mBAAoBC,GAAaC,iBAAiBjB,EAAUY,cACtG,MAAMM,EAA8BJ,EAAaK,MAAM,KACvD,MAAMC,EAA0BJ,EAASG,MAAM,KAC/C,MAAME,EAA0BD,EAAwBE,QAAQtB,EAAUuB,oBAC1E,MAAMV,EACJK,EAA4BG,IAG5BH,EAA4B,GAC9B,GAAIL,IAAuB,KAAM,CAC/BV,EAAgBH,EAAWI,GAC3B,M,CAEF,MAAMoB,EAAoBC,YACxB,KACEzB,EAAUY,aAAac,oBAAoB,kBAAmBC,GAC9D3B,EAAUY,aAAac,oBAAoB,gBAAiBE,GAC5D5B,EAAUY,aAAac,oBAAoB,mBAAoBE,GAC/DzB,EAAgBH,EAAWI,EAAsB,GAEnDyB,WAAWhB,GAAsB,KAEnCb,EAAUY,aAAakB,iBAAiB,kBAAmBH,GAC3D3B,EAAUY,aAAakB,iBAAiB,gBAAiBF,GACzD5B,EAAUY,aAAakB,iBAAiB,mBAAoBF,GAE5D,SAASD,EAAQI,GACf,GAAIA,EAAMC,eAAiBhC,EAAUuB,oBAAsBQ,EAAME,SAAWjC,EAAUY,aAAc,CAClGsB,aAAaV,GACbxB,EAAUY,aAAac,oBAAoB,kBAAmBC,IAC7DvB,EAAwBJ,EAAUA,EAAUK,gBAAkBN,EAAOC,IAClEA,EAAUM,eACVN,EAAUO,e,EAIlB,SAASqB,EAAcG,GACrB,GAAIA,EAAMC,eAAiBhC,EAAUuB,oBAAsBQ,EAAME,SAAWjC,EAAUY,aAAc,EACjGR,EAAwBJ,EAAUA,EAAUK,gBAAkBN,EAAOC,IAClEA,EAAUQ,SACVR,EAAUS,UAEdT,EAAUY,aAAac,oBAAoB,gBAAiBE,GAC5D5B,EAAUY,aAAac,oBAAoB,mBAAoBE,E,KAIvE,Q"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,c as t,h as n,F as i,H as o,g as a}from"./p-e48d006d.js";import{b as s}from"./p-99726b90.js";import{c,s as r,a as l}from"./p-bf0746a3.js";import{H as d}from"./p-6be4c997.js";import"./p-c26dde6d.js";import"./p-57e21d44.js";import"./p-ae81e665.js";const h={container:"container",containerContent:"container-content",hasProgress:"progress-bar",hide:"hide",primary:"primary",secondary:"secondary",tertiary:"tertiary"};const f={logo:"logo",user:"user",progress:"progress",navigationAction:"navigation-action",contentStart:"content-start",contentEnd:"content-end",contentCenter:"content-center",navSecondary:"navigation-secondary",navTertiary:"navigation-tertiary"};const u={hamburger:"hamburger"};const b=":host([hidden]){display:none}[hidden]{display:none}.container{margin-inline:auto;display:flex;inline-size:100%;flex-direction:column;margin-block:0;margin-inline:auto;background-color:var(--calcite-navigation-background, var(--calcite-color-foreground-1))}.container.primary,.container.secondary,.container.tertiary{border-block-end:1px solid;border-block-end-color:var(--calcite-navigation-border-color, var(--calcite-color-border-3))}.user,.logo{display:flex}.hide{display:none}.primary{block-size:4rem}.secondary{block-size:3rem}.tertiary{block-size:3rem}.container-content{margin-inline:auto;display:flex;block-size:100%;inline-size:100%;margin-block:0;inline-size:var(--calcite-navigation-width, 100%);max-inline-size:100%}.container-content.progress-bar{margin-block-start:0.125rem}slot[name]{display:flex;flex-direction:row}slot[name=navigation-secondary]::slotted(calcite-navigation),slot[name=navigation-tertiary]::slotted(calcite-navigation){inline-size:100%}slot[name=content-start]::slotted(*),slot[name=content-center]::slotted(*),slot[name=content-end]::slotted(*){display:flex;flex-direction:row;align-items:center}slot[name=progress],slot[name=progress] calcite-progress{inset-block-start:0;inset-inline:0}slot[name=content-end]{margin-inline-start:auto}slot[name=content-start]{margin-inline-end:auto}slot[name=content-end],slot[name=logo]~slot[name=user],slot[name=user]:only-child{margin-inline-start:auto}slot[name=content-center]{margin-inline-start:auto;margin-inline-end:auto}slot[name=content-start]~slot[name=content-center]{margin-inline-start:0px}slot[name=content-start]~slot[name=content-end],slot[name=content-center]~slot[name=content-end],slot[name=content-center]~slot[name=user],slot[name=content-end]~slot[name=user]{margin:0px}";const m=b;const g=class{constructor(n){e(this,n);this.calciteNavigationActionSelect=t(this,"calciteNavigationActionSelect",6);this.actionClickHandler=()=>{this.calciteNavigationActionSelect.emit()};this.handleUserSlotChange=e=>{if(this.isPrimaryLevel()){this.userSlotHasElements=s(e)}};this.handleLogoSlotChange=e=>{if(this.isPrimaryLevel()){this.logoSlotHasElements=s(e)}};this.handleContentStartSlotChange=e=>{if(this.isPrimaryLevel()){this.primaryContentStartSlotHasElements=s(e)}};this.handleContentEndSlotChange=e=>{if(this.isPrimaryLevel()){this.primaryContentEndSlotHasElements=s(e)}};this.handleContentCenterSlotChange=e=>{if(this.isPrimaryLevel()){this.primaryContentCenterSlotHasElements=s(e)}};this.handleSecondarySlotChange=e=>{this.secondarySlotHasElements=s(e)};this.handleTertiarySlotChange=e=>{this.tertiarySlotHasElements=s(e)};this.handleMenuActionSlotChange=e=>{if(this.isPrimaryLevel()){this.navigationActionSlotHasElements=s(e);if(this.navigationActionSlotHasElements){this.navigationAction=false}}};this.handleProgressSlotChange=e=>{if(this.isPrimaryLevel()){this.progressSlotHasElement=s(e)}};this.label=undefined;this.navigationAction=false;this.logoSlotHasElements=undefined;this.navigationActionSlotHasElements=undefined;this.primaryContentCenterSlotHasElements=undefined;this.primaryContentEndSlotHasElements=undefined;this.primaryContentStartSlotHasElements=undefined;this.progressSlotHasElement=undefined;this.secondarySlotHasElements=undefined;this.tertiarySlotHasElements=undefined;this.userSlotHasElements=undefined}async setFocus(){await c(this);return this.navigationActionEl?.setFocus()}componentWillLoad(){r(this)}componentDidLoad(){l(this)}isPrimaryLevel(){return this.el.slot!==f.navSecondary&&this.el.slot!==f.navTertiary}renderMenuAction(){return n("slot",{name:f.navigationAction,onSlotchange:this.handleMenuActionSlotChange},this.navigationAction&&n("calcite-action",{icon:u.hamburger,onClick:this.actionClickHandler,ref:e=>this.navigationActionEl=e,text:this.label}))}render(){const e=this.logoSlotHasElements||this.userSlotHasElements||this.navigationActionSlotHasElements||this.primaryContentCenterSlotHasElements||this.primaryContentEndSlotHasElements||this.primaryContentStartSlotHasElements||this.navigationAction;const t=this.el.slot;return n(o,{key:"b4c35bfe15e1439284aab5a5d3d4eb4e5be404b1"},n("div",{key:"ff5fa9d21e0a19b6c043cb217e32a01d9dd3d0c6",class:{[h.container]:true,[h.secondary]:t===f.navSecondary,[h.tertiary]:t===f.navTertiary,[h.primary]:e}},n("div",{key:"3ae3dd317076fb252efbe2b0b2df8c70a7dcefe0",class:{[h.hide]:!this.progressSlotHasElement,[f.progress]:true}},n("slot",{key:"258d031e32a97461a78ec803f9b47f8f9338d55d",name:f.progress,onSlotchange:this.handleProgressSlotChange})),n("div",{key:"3c0e8c665e0660a0e6ea93c16ea727576ada4424",class:{[h.containerContent]:true,[h.hasProgress]:this.progressSlotHasElement}},this.renderMenuAction(),n("div",{key:"115383a9909defc5a1c8aa8fe5935abed25f962d",class:{[h.hide]:!this.logoSlotHasElements,[f.logo]:true}},n("slot",{key:"051bc85c39967782becc2943c7e33921538ad7b5",name:f.logo,onSlotchange:this.handleLogoSlotChange})),n("slot",{key:"ca8fa0e1d6a56149014156498a1be0188d8f323e",name:f.contentStart,onSlotchange:this.handleContentStartSlotChange}),n("slot",{key:"76ba1ff39316dc161a030e6ae35670d6e31bd900",name:f.contentCenter,onSlotchange:this.handleContentCenterSlotChange}),n("slot",{key:"d1b50758088dababaaf081372727abc47e7bbba0",name:f.contentEnd,onSlotchange:this.handleContentEndSlotChange}),n("div",{key:"c2596de9f2cab1ae5d777cc19fea4c20959c9e2b",class:{[h.hide]:!this.userSlotHasElements,[f.user]:true}},n("slot",{key:"4dfbc12e180d9020159ea0be9e972f8c9cebc154",name:f.user,onSlotchange:this.handleUserSlotChange})))),n(i,{key:"faa12811d8d1c6c4e215107b678e4cb0e866dfbb"},n("slot",{key:"3ed55e50c9cbb3bb873690e709a3b85801166aa8",name:f.navSecondary,onSlotchange:this.handleSecondarySlotChange}),n("slot",{key:"8c247dd53acfdb02556a087c59f8d011112b41f6",name:f.navTertiary,onSlotchange:this.handleTertiarySlotChange})))}get el(){return a(this)}};g.style=m;const p={container:"container",heading:"heading",description:"description",anchor:"anchor",image:"image",standalone:"standalone",icon:"icon"};const v=":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}.anchor{margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;text-decoration-line:none;outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:inherit;border-block-end:2px solid transparent}.anchor:hover,.anchor:focus{background-color:var(--calcite-color-foreground-2)}.anchor: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 )}.anchor:active{background-color:var(--calcite-color-foreground-3)}.image,.icon{margin:0px;display:flex;block-size:1.75rem;padding-inline:1rem}.image~.icon{padding-inline-start:0px}.image~.container,.icon~.container{padding-inline-start:0px}:host(:active) .anchor{color:var(--calcite-color-text-1)}:host([active]) .anchor{color:var(--calcite-color-text-1);border-color:var(--calcite-color-brand);--calcite-ui-icon-color:var(--calcite-color-brand)}.container{margin-block-start:0.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}.heading{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.standalone{font-size:var(--calcite-font-size-1)}.description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";const y=v;const x=class{constructor(t){e(this,t);this.active=undefined;this.href=undefined;this.icon=undefined;this.iconFlipRtl=false;this.label=undefined;this.rel=undefined;this.description=undefined;this.target=undefined;this.heading=undefined;this.thumbnail=undefined;this.headingLevel=undefined}async setFocus(){await c(this);if(this.href){this.el.focus()}}componentWillLoad(){r(this)}componentDidLoad(){l(this)}renderIcon(){return n("calcite-icon",{class:p.icon,flipRtl:this.iconFlipRtl,icon:this.icon,scale:"l"})}renderHeaderContent(){const{heading:e,headingLevel:t,description:i}=this;const o=e?n(d,{class:{[p.heading]:true,[p.standalone]:!this.description},key:p.heading,level:t},e):null;const a=i?n("span",{class:p.description,key:p.description},i):null;return o||a?n("div",{class:p.container,key:p.container},o,a):null}render(){const{thumbnail:e}=this;return n(o,{key:"1731672dced8604741302aad95374e7ce48cfadb"},n("a",{key:"f1b449a3a2b46c1be2c6910801c4e0536e62cf86",class:p.anchor,href:this.href,rel:this.rel,target:this.target},e&&n("img",{key:"f9bbdb365aab019314c59c62ac915c37f4f05782",alt:this.label||"",class:p.image,src:e}),this.icon&&this.renderIcon(),this.renderHeaderContent()))}static get delegatesFocus(){return true}get el(){return a(this)}};x.style=y;const k={textContainer:"text-container",fullName:"full-name",username:"username",button:"button"};const z=":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}:host .button{background-color:transparent;border:none;margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-font-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}:host(:hover) .button,:host(:focus) .button{background-color:var(--calcite-color-foreground-2)}:host(:focus) .button{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 )}:host(:active) .button{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}:host([active]) .button{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1);--calcite-ui-icon-color:var(--calcite-color-brand)}.text-container{margin-block-start:0.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}calcite-avatar{padding-inline:1rem}calcite-avatar~.text-container{padding-inline-start:0px}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.username{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";const w=z;const S=class{constructor(t){e(this,t);this.active=undefined;this.fullName=undefined;this.label=undefined;this.textDisabled=false;this.thumbnail=undefined;this.userId=undefined;this.username=undefined}async setFocus(){await c(this);this.el.focus()}componentWillLoad(){r(this)}componentDidLoad(){l(this)}render(){return n(o,{key:"0a297a43be0898d70e100ca342f3aeb82f98bfa0"},n("button",{key:"094a7ac4df90a0bfcbc0de0276117915d9bbc5f0","aria-label":this.label,class:k.button},n("calcite-avatar",{key:"cc31ec156e9781635a7f256095a5790b6e4487fc","full-name":this.fullName,label:this.label,thumbnail:this.thumbnail,"user-id":this.userId,username:this.username}),(this.fullName||this.username)&&!this.textDisabled&&n("div",{key:"e2fab2944dd91fe6d31a29235458d4e837f4873b",class:k.textContainer},this.fullName&&n("span",{class:k.fullName,key:k.fullName},this.fullName),this.username&&n("span",{class:k.username,key:k.username},this.username))))}static get delegatesFocus(){return true}get el(){return a(this)}};S.style=w;export{g as calcite_navigation,x as calcite_navigation_logo,S as calcite_navigation_user};
|
|
7
|
+
//# sourceMappingURL=p-f0c109de.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CSS","container","containerContent","hasProgress","hide","primary","secondary","tertiary","SLOTS","logo","user","progress","navigationAction","contentStart","contentEnd","contentCenter","navSecondary","navTertiary","ICONS","hamburger","navigationCss","CalciteNavigationStyle0","CalciteNavigation","this","actionClickHandler","calciteNavigationActionSelect","emit","handleUserSlotChange","event","isPrimaryLevel","userSlotHasElements","slotChangeHasAssignedElement","handleLogoSlotChange","logoSlotHasElements","handleContentStartSlotChange","primaryContentStartSlotHasElements","handleContentEndSlotChange","primaryContentEndSlotHasElements","handleContentCenterSlotChange","primaryContentCenterSlotHasElements","handleSecondarySlotChange","secondarySlotHasElements","handleTertiarySlotChange","tertiarySlotHasElements","handleMenuActionSlotChange","navigationActionSlotHasElements","handleProgressSlotChange","progressSlotHasElement","setFocus","componentFocusable","navigationActionEl","componentWillLoad","setUpLoadableComponent","componentDidLoad","setComponentLoaded","el","slot","renderMenuAction","h","name","onSlotchange","icon","onClick","ref","text","label","render","primaryLevelHasElements","slotName","Host","key","class","Fragment","heading","description","anchor","image","standalone","navigationLogoCss","CalciteNavigationLogoStyle0","CalciteNavigationLogo","href","focus","renderIcon","flipRtl","iconFlipRtl","scale","renderHeaderContent","headingLevel","headingNode","Heading","level","descriptionNode","thumbnail","rel","target","alt","src","textContainer","fullName","username","button","navigationUserCss","CalciteNavigationUserStyle0","CalciteNavigationUser","userId","textDisabled"],"sources":["src/components/navigation/resources.ts","src/components/navigation/navigation.scss?tag=calcite-navigation&encapsulation=shadow","src/components/navigation/navigation.tsx","src/components/navigation-logo/resources.ts","src/components/navigation-logo/navigation-logo.scss?tag=calcite-navigation-logo&encapsulation=shadow","src/components/navigation-logo/navigation-logo.tsx","src/components/navigation-user/resources.ts","src/components/navigation-user/navigation-user.scss?tag=calcite-navigation-user&encapsulation=shadow","src/components/navigation-user/navigation-user.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n containerContent: \"container-content\",\n hasProgress: \"progress-bar\",\n hide: \"hide\",\n primary: \"primary\",\n secondary: \"secondary\",\n tertiary: \"tertiary\",\n};\n\nexport const SLOTS = {\n logo: \"logo\",\n user: \"user\",\n progress: \"progress\",\n navigationAction: \"navigation-action\",\n contentStart: \"content-start\",\n contentEnd: \"content-end\",\n contentCenter: \"content-center\",\n navSecondary: \"navigation-secondary\",\n navTertiary: \"navigation-tertiary\",\n};\n\nexport const ICONS = {\n hamburger: \"hamburger\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-navigation-width: Specifies the width of the component's content area.\n * @prop --calcite-navigation-background: Specifies the background color of the component.\n * @prop --calcite-navigation-border-color: Specifies the border color of the component.\n */\n\n@include base-component();\n\n.container {\n @apply flex\n flex-col\n mx-auto\n w-full;\n margin-block: 0;\n margin-inline: auto;\n background-color: var(--calcite-navigation-background, var(--calcite-color-foreground-1));\n &.primary,\n &.secondary,\n &.tertiary {\n border-block-end: 1px solid;\n border-block-end-color: var(--calcite-navigation-border-color, var(--calcite-color-border-3));\n }\n}\n\n.user,\n.logo {\n @apply flex;\n}\n\n.hide {\n @apply hidden;\n}\n\n.primary {\n @apply h-16;\n}\n\n.secondary {\n @apply h-12;\n}\n\n.tertiary {\n @apply h-12;\n}\n\n.container-content {\n @apply flex\n w-full\n h-full\n mx-auto;\n margin-block: 0;\n inline-size: var(--calcite-navigation-width, 100%);\n max-inline-size: 100%;\n &.progress-bar {\n margin-block-start: 0.125rem;\n }\n}\n\nslot[name] {\n @apply flex flex-row;\n}\n\nslot[name=\"navigation-secondary\"]::slotted(calcite-navigation),\nslot[name=\"navigation-tertiary\"]::slotted(calcite-navigation) {\n @apply w-full;\n}\n\nslot[name=\"content-start\"]::slotted(*),\nslot[name=\"content-center\"]::slotted(*),\nslot[name=\"content-end\"]::slotted(*) {\n @apply flex flex-row items-center;\n}\n\nslot[name=\"progress\"],\nslot[name=\"progress\"] calcite-progress {\n inset-block-start: 0;\n inset-inline: 0;\n}\nslot[name=\"content-end\"] {\n @apply ms-auto;\n}\n\nslot[name=\"content-start\"] {\n @apply me-auto;\n}\n\nslot[name=\"content-end\"],\nslot[name=\"logo\"] ~ slot[name=\"user\"],\nslot[name=\"user\"]:only-child {\n @apply ms-auto;\n}\n\nslot[name=\"content-center\"] {\n @apply ms-auto me-auto;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-center\"] {\n @apply ms-0;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"user\"],\nslot[name=\"content-end\"] ~ slot[name=\"user\"] {\n @apply m-0;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n State,\n VNode,\n Method,\n} from \"@stencil/core\";\nimport { slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\n\n/**\n * @slot logo - A slot for adding a `calcite-logo` component to the primary navigation level.\n * @slot user - A slot for adding a `calcite-user` component to the primary navigation level.\n * @slot progress - A slot for adding a `calcite-progress` component to the primary navigation level.\n * @slot navigation-action - A slot for adding a `calcite-action` component to the primary navigation level.\n * @slot content-start - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the start position of any navigation level.\n * @slot content-center - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the center position of the primary navigation level.\n * @slot content-end - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the end position of any navigation level.\n * @slot navigation-secondary - A slot for adding a `calcite-navigation` component in the secondary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n * @slot navigation-tertiary - A slot for adding a `calcite-navigation` component in the tertiary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n */\n@Component({\n tag: \"calcite-navigation\",\n styleUrl: \"navigation.scss\",\n shadow: true,\n})\nexport class CalciteNavigation implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `navigationAction` is `true`, specifies the label of the `calcite-action`.\n */\n @Prop() label: string;\n\n /**\n * When `true`, displays a `calcite-action` and emits a `calciteNavActionSelect` event on selection change.\n */\n @Prop({ reflect: true }) navigationAction = false;\n\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationElement;\n\n @State() logoSlotHasElements: boolean;\n\n @State() navigationActionSlotHasElements: boolean;\n\n @State() primaryContentCenterSlotHasElements: boolean;\n\n @State() primaryContentEndSlotHasElements: boolean;\n\n @State() primaryContentStartSlotHasElements: boolean;\n\n @State() progressSlotHasElement: boolean;\n\n @State() secondarySlotHasElements: boolean;\n\n @State() tertiarySlotHasElements: boolean;\n\n @State() userSlotHasElements: boolean;\n\n navigationActionEl: HTMLCalciteActionElement;\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, emits when the displayed action selection changes. */\n @Event({ cancelable: false }) calciteNavigationActionSelect: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, sets focus on the component's action element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n return this.navigationActionEl?.setFocus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private actionClickHandler = () => {\n this.calciteNavigationActionSelect.emit();\n };\n\n private handleUserSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.userSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleLogoSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.logoSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentStartSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentStartSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentEndSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentEndSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentCenterSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentCenterSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleSecondarySlotChange = (event: Event): void => {\n this.secondarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleTertiarySlotChange = (event: Event): void => {\n this.tertiarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleMenuActionSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.navigationActionSlotHasElements = slotChangeHasAssignedElement(event);\n if (this.navigationActionSlotHasElements) {\n this.navigationAction = false;\n }\n }\n };\n\n private handleProgressSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.progressSlotHasElement = slotChangeHasAssignedElement(event);\n }\n };\n\n private isPrimaryLevel(): boolean {\n return this.el.slot !== SLOTS.navSecondary && this.el.slot !== SLOTS.navTertiary;\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderMenuAction(): VNode {\n return (\n <slot name={SLOTS.navigationAction} onSlotchange={this.handleMenuActionSlotChange}>\n {this.navigationAction && (\n <calcite-action\n icon={ICONS.hamburger}\n onClick={this.actionClickHandler}\n ref={(el: HTMLCalciteActionElement) => (this.navigationActionEl = el)}\n text={this.label}\n />\n )}\n </slot>\n );\n }\n\n render(): VNode {\n const primaryLevelHasElements =\n this.logoSlotHasElements ||\n this.userSlotHasElements ||\n this.navigationActionSlotHasElements ||\n this.primaryContentCenterSlotHasElements ||\n this.primaryContentEndSlotHasElements ||\n this.primaryContentStartSlotHasElements ||\n this.navigationAction;\n const slotName = this.el.slot;\n return (\n <Host>\n <div\n class={{\n [CSS.container]: true,\n [CSS.secondary]: slotName === SLOTS.navSecondary,\n [CSS.tertiary]: slotName === SLOTS.navTertiary,\n [CSS.primary]: primaryLevelHasElements,\n }}\n >\n <div class={{ [CSS.hide]: !this.progressSlotHasElement, [SLOTS.progress]: true }}>\n <slot name={SLOTS.progress} onSlotchange={this.handleProgressSlotChange} />\n </div>\n <div\n class={{ [CSS.containerContent]: true, [CSS.hasProgress]: this.progressSlotHasElement }}\n >\n {this.renderMenuAction()}\n <div class={{ [CSS.hide]: !this.logoSlotHasElements, [SLOTS.logo]: true }}>\n <slot name={SLOTS.logo} onSlotchange={this.handleLogoSlotChange} />\n </div>\n <slot name={SLOTS.contentStart} onSlotchange={this.handleContentStartSlotChange} />\n <slot name={SLOTS.contentCenter} onSlotchange={this.handleContentCenterSlotChange} />\n <slot name={SLOTS.contentEnd} onSlotchange={this.handleContentEndSlotChange} />\n <div class={{ [CSS.hide]: !this.userSlotHasElements, [SLOTS.user]: true }}>\n <slot name={SLOTS.user} onSlotchange={this.handleUserSlotChange} />\n </div>\n </div>\n </div>\n\n <Fragment>\n <slot name={SLOTS.navSecondary} onSlotchange={this.handleSecondarySlotChange} />\n <slot name={SLOTS.navTertiary} onSlotchange={this.handleTertiarySlotChange} />\n </Fragment>\n </Host>\n );\n }\n}\n","export const CSS = {\n container: \"container\",\n heading: \"heading\",\n description: \"description\",\n anchor: \"anchor\",\n image: \"image\",\n standalone: \"standalone\",\n icon: \"icon\",\n};\n",":host {\n @apply inline-flex outline-none;\n}\n\n.anchor {\n @apply flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n no-underline\n text-0h;\n color: inherit;\n border-block-end: 2px solid transparent;\n}\n\n.anchor:hover,\n.anchor:focus {\n @apply bg-foreground-2;\n}\n.anchor:focus {\n @apply focus-inset;\n}\n\n.anchor:active {\n @apply bg-foreground-3;\n}\n\n.image,\n.icon {\n @apply flex h-7 m-0 px-4;\n}\n\n.image ~ .icon {\n @apply ps-0;\n}\n\n.image ~ .container,\n.icon ~ .container {\n @apply ps-0;\n}\n\n:host(:active) .anchor {\n @apply text-color-1;\n}\n\n:host([active]) .anchor {\n @apply text-color-1;\n border-color: var(--calcite-color-brand);\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.container {\n @apply flex\n flex-col\n truncate\n text-start\n px-4\n mt-0.5;\n}\n\n.heading {\n @apply text-0\n ms-0\n truncate\n text-color-1\n font-medium;\n}\n\n.standalone {\n @apply text-1;\n}\n\n.description {\n @apply text-color-2 truncate;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { Heading, HeadingLevel } from \"../functional/Heading\";\nimport { CSS } from \"./resources\";\n\n@Component({\n tag: \"calcite-navigation-logo\",\n styleUrl: \"navigation-logo.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationLogo implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted. */\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the URL destination of the component, which can be set as an absolute or relative path.*/\n @Prop({ reflect: true }) href: string;\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Describes the appearance or function of the `thumbnail`. If no label is provided, context will not be provided to assistive technologies. */\n @Prop() label: string;\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 /** A description for the component, which displays below the `heading`.*/\n @Prop() description: 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 heading text for the component, such as a product or organization name.*/\n @Prop() heading: string;\n\n /** Specifies the `src` to an image. */\n @Prop() thumbnail: 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 //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n if (this.href) {\n this.el.focus();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationLogoElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n private renderIcon(): VNode {\n /** Icon scale is not variable as the component does not have a scale property */\n return <calcite-icon class={CSS.icon} flipRtl={this.iconFlipRtl} icon={this.icon} scale=\"l\" />;\n }\n\n renderHeaderContent(): VNode {\n const { heading, headingLevel, description } = this;\n const headingNode = heading ? (\n <Heading\n class={{\n [CSS.heading]: true,\n [CSS.standalone]: !this.description,\n }}\n key={CSS.heading}\n level={headingLevel}\n >\n {heading}\n </Heading>\n ) : null;\n\n const descriptionNode = description ? (\n <span class={CSS.description} key={CSS.description}>\n {description}\n </span>\n ) : null;\n\n return headingNode || descriptionNode ? (\n <div class={CSS.container} key={CSS.container}>\n {headingNode}\n {descriptionNode}\n </div>\n ) : null;\n }\n\n render(): VNode {\n const { thumbnail } = this;\n return (\n <Host>\n <a class={CSS.anchor} href={this.href} rel={this.rel} target={this.target}>\n {thumbnail && <img alt={this.label || \"\"} class={CSS.image} src={thumbnail} />}\n {this.icon && this.renderIcon()}\n {this.renderHeaderContent()}\n </a>\n </Host>\n );\n }\n}\n","export const CSS = {\n textContainer: \"text-container\",\n fullName: \"full-name\",\n username: \"username\",\n button: \"button\",\n};\n",":host {\n @apply inline-flex outline-none;\n & .button {\n background-color: transparent;\n border: none;\n @apply font-sans\n flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n text-0h;\n border-block-end: 2px solid transparent;\n }\n}\n\n:host(:hover) .button,\n:host(:focus) .button {\n @apply bg-foreground-2;\n}\n\n:host(:focus) .button {\n @apply focus-inset;\n}\n\n:host(:active) .button {\n @apply bg-foreground-3 text-color-1;\n}\n\n:host([active]) .button {\n @apply text-color-1 border-color-brand;\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.text-container {\n @apply flex\n flex-col\n text-start\n px-4\n mt-0.5;\n}\n\ncalcite-avatar {\n @apply px-4;\n}\n\ncalcite-avatar ~ .text-container {\n @apply ps-0;\n}\n\n.full-name {\n @apply text-0\n ms-0\n text-color-1\n font-medium;\n}\n\n.username {\n @apply text-color-2;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { CSS } from \"./resources\";\n\n@Component({\n tag: \"calcite-navigation-user\",\n styleUrl: \"navigation-user.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationUser implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted.*/\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the full name of the user.*/\n @Prop() fullName: string;\n\n /** Describes the appearance of the avatar. If no label is provided, context will not be provided to assistive technologies.*/\n @Prop() label: string;\n\n /** When `true`, hides the `fullName` and `username` contents.*/\n @Prop({ reflect: true }) textDisabled = false;\n\n /** Specifies the `src` to an image (remember to add a token if the user is private).*/\n @Prop() thumbnail: string;\n\n /** Specifies the unique id of the user.*/\n @Prop() userId: string;\n\n /** Specifies the username of the user.*/\n @Prop() username: string;\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.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationUserElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host>\n <button aria-label={this.label} class={CSS.button}>\n <calcite-avatar\n full-name={this.fullName}\n label={this.label}\n thumbnail={this.thumbnail}\n user-id={this.userId}\n username={this.username}\n />\n {(this.fullName || this.username) && !this.textDisabled && (\n <div class={CSS.textContainer}>\n {this.fullName && (\n <span class={CSS.fullName} key={CSS.fullName}>\n {this.fullName}\n </span>\n )}\n {this.username && (\n <span class={CSS.username} key={CSS.username}>\n {this.username}\n </span>\n )}\n </div>\n )}\n </button>\n </Host>\n );\n }\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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.20
|
|
5
|
+
*/
|
|
6
|
+
import{a as r,S as t,i as e,b as n,c as o,r as u,f as a}from"./p-ad00867d.js";function c(r,t){var e=-1,n=r==null?0:r.length,o=Array(n);while(++e<n){o[e]=t(r[e],e,r)}return o}var f=Array.isArray;const i=f;var b=1/0;var v=t?t.prototype:undefined,l=v?v.toString:undefined;function s(t){if(typeof t=="string"){return t}if(i(t)){return c(t,s)+""}if(r(t)){return l?l.call(t):""}var e=t+"";return e=="0"&&1/t==-b?"-0":e}function j(r){return r}var y="[object AsyncFunction]",p="[object Function]",d="[object GeneratorFunction]",m="[object Proxy]";function A(r){if(!e(r)){return false}var t=n(r);return t==p||t==d||t==y||t==m}var x=9007199254740991;var g=/^(?:0|[1-9]\d*)$/;function h(r,t){var e=typeof r;t=t==null?x:t;return!!t&&(e=="number"||e!="symbol"&&g.test(r))&&(r>-1&&r%1==0&&r<t)}var O=9007199254740991;function w(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=O}function F(r){return r!=null&&w(r.length)&&!A(r)}var E=Object.prototype;function S(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||E;return r===e}function U(r,t){var e=-1,n=Array(r);while(++e<r){n[e]=t(e)}return n}var I="[object Arguments]";function R(r){return o(r)&&n(r)==I}var $=Object.prototype;var k=$.hasOwnProperty;var B=$.propertyIsEnumerable;var D=R(function(){return arguments}())?R:function(r){return o(r)&&k.call(r,"callee")&&!B.call(r,"callee")};const M=D;function N(){return false}var C=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var G=C&&typeof module=="object"&&module&&!module.nodeType&&module;var L=G&&G.exports===C;var P=L?u.Buffer:undefined;var T=P?P.isBuffer:undefined;var V=T||N;const W=V;var q="[object Arguments]",z="[object Array]",H="[object Boolean]",J="[object Date]",K="[object Error]",Q="[object Function]",X="[object Map]",Y="[object Number]",Z="[object Object]",_="[object RegExp]",rr="[object Set]",tr="[object String]",er="[object WeakMap]";var nr="[object ArrayBuffer]",or="[object DataView]",ur="[object Float32Array]",ar="[object Float64Array]",cr="[object Int8Array]",fr="[object Int16Array]",ir="[object Int32Array]",br="[object Uint8Array]",vr="[object Uint8ClampedArray]",lr="[object Uint16Array]",sr="[object Uint32Array]";var jr={};jr[ur]=jr[ar]=jr[cr]=jr[fr]=jr[ir]=jr[br]=jr[vr]=jr[lr]=jr[sr]=true;jr[q]=jr[z]=jr[nr]=jr[H]=jr[or]=jr[J]=jr[K]=jr[Q]=jr[X]=jr[Y]=jr[Z]=jr[_]=jr[rr]=jr[tr]=jr[er]=false;function yr(r){return o(r)&&w(r.length)&&!!jr[n(r)]}function pr(r){return function(t){return r(t)}}var dr=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var mr=dr&&typeof module=="object"&&module&&!module.nodeType&&module;var Ar=mr&&mr.exports===dr;var xr=Ar&&a.process;var gr=function(){try{var r=mr&&mr.require&&mr.require("util").types;if(r){return r}return xr&&xr.binding&&xr.binding("util")}catch(r){}}();const hr=gr;var Or=hr&&hr.isTypedArray;var wr=Or?pr(Or):yr;const Fr=wr;var Er=Object.prototype;var Sr=Er.hasOwnProperty;function Ur(r,t){var e=i(r),n=!e&&M(r),o=!e&&!n&&W(r),u=!e&&!n&&!o&&Fr(r),a=e||n||o||u,c=a?U(r.length,String):[],f=c.length;for(var b in r){if((t||Sr.call(r,b))&&!(a&&(b=="length"||o&&(b=="offset"||b=="parent")||u&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||h(b,f)))){c.push(b)}}return c}function Ir(r){var t=[];if(r!=null){for(var e in Object(r)){t.push(e)}}return t}var Rr=Object.prototype;var $r=Rr.hasOwnProperty;function kr(r){if(!e(r)){return Ir(r)}var t=S(r),n=[];for(var o in r){if(!(o=="constructor"&&(t||!$r.call(r,o)))){n.push(o)}}return n}function Br(r){return F(r)?Ur(r,true):kr(r)}function Dr(r){return r==null?"":s(r)}function Mr(r){return function(t,e,n){var o=-1,u=Object(t),a=n(t),c=a.length;while(c--){var f=a[r?c:++o];if(e(u[f],f,u)===false){break}}return t}}var Nr=Mr();const Cr=Nr;function Gr(r){return typeof r=="function"?r:j}var Lr=/[\\^$.*+?()[\]{}|]/g,Pr=RegExp(Lr.source);function Tr(r){r=Dr(r);return r&&Pr.test(r)?r.replace(Lr,"\\$&"):r}function Vr(r,t){return r==null?r:Cr(r,Gr(t),Br)}const Wr=(r,t)=>{const e=Tr(t);const n=new RegExp(e,"i");if(r.length===0){console.warn(`No data was passed to the filter function.\n The data argument should be an array of objects`)}const o=(r,t)=>{if(r?.constant||r?.filterDisabled){return true}let e=false;Vr(r,(r=>{if(typeof r==="function"||r==null){return}if(Array.isArray(r)||typeof r==="object"&&r!==null){if(o(r,t)){e=true}}else if(t.test(r)){e=true}}));return e};const u=r.filter((r=>o(r,n)));return u};export{Wr as f};
|
|
7
|
+
//# sourceMappingURL=p-f246c231.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
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.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,c as t,h as s,H as i,g as a,F as r}from"./p-e48d006d.js";import{j as n,c as o,e as h,g as c,h as d,f as l,s as f,k as p,i as u,l as g,n as v,p as y,m as b,o as m}from"./p-137cb2d8.js";import{c as w,s as x,a as k}from"./p-bf0746a3.js";import{c as D,d as z,n as C,e as A}from"./p-8e3a4720.js";import{c as I,d as S,s as j,u as M}from"./p-dd1ec8aa.js";import{a as P,t as H}from"./p-99726b90.js";import{I as R,c as L,u as W,d as _}from"./p-ae04d854.js";import{i as O}from"./p-70c530fa.js";import{H as Y}from"./p-6be4c997.js";import{g as E}from"./p-ae81e665.js";import"./p-2fec90cc.js";import"./p-c26dde6d.js";import"./p-57e21d44.js";import"./p-c5966b3e.js";const N=2;const F={dateStyle:"full"};const K=":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{display:inline-block;inline-size:auto;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);vertical-align:top}:host([scale=s]){inline-size:234px;min-inline-size:216px;max-inline-size:380px}:host([scale=m]){inline-size:304px;min-inline-size:272px;max-inline-size:480px}:host([scale=l]){inline-size:370px;min-inline-size:320px;max-inline-size:600px}:host([hidden]){display:none}[hidden]{display:none}";const T=K;const $=class{constructor(s){e(this,s);this.calciteDatePickerChange=t(this,"calciteDatePickerChange",6);this.calciteDatePickerRangeChange=t(this,"calciteDatePickerRangeChange",6);this.keyDownHandler=e=>{if(e.key==="Escape"){this.resetActiveDates()}};this.monthHeaderSelectChange=e=>{const t=new Date(e.detail);if(!this.range){this.activeDate=t}else{if(this.activeRange==="end"){this.activeEndDate=t}else{this.activeStartDate=t}this.mostRecentRangeValue=t}};this.monthActiveDateChange=e=>{const t=new Date(e.detail);if(!this.range){this.activeDate=t}else{if(this.activeRange==="end"){this.activeEndDate=t}else{this.activeStartDate=t}this.mostRecentRangeValue=t}};this.monthHoverChange=e=>{if(!this.range){this.hoverRange=undefined;return}const{valueAsDate:t}=this;const s=Array.isArray(t)&&t[0];const i=Array.isArray(t)&&t[1];const a=new Date(e.detail);this.hoverRange={focused:this.activeRange||"start",start:s,end:i};if(this.proximitySelectionDisabled){if(i&&s||!i&&a>=s){this.hoverRange.focused="end";this.hoverRange.end=a}else if(!i&&a<s){this.hoverRange={focused:"start",start:a,end:s}}else{this.hoverRange=undefined}}else{if(s&&i){const e=n(a,s);const t=n(a,i);if(t>0){this.hoverRange.end=a;this.hoverRange.focused="end"}else if(e<0){this.hoverRange.start=a;this.hoverRange.focused="start"}else if(e>t){this.hoverRange.start=a;this.hoverRange.focused="start"}else{this.hoverRange.end=a;this.hoverRange.focused="end"}}else{if(s){if(a<s){this.hoverRange={focused:"start",start:a,end:s}}else{this.hoverRange.end=a;this.hoverRange.focused="end"}}}}e.stopPropagation()};this.monthMouseOutChange=()=>{if(this.hoverRange){this.hoverRange=undefined}};this.resetActiveDates=()=>{const{valueAsDate:e}=this;if(!Array.isArray(e)&&e&&e!==this.activeDate){this.activeDate=new Date(e)}if(Array.isArray(e)){if(e[0]&&e[0]!==this.activeStartDate){this.activeStartDate=new Date(e[0])}if(e[1]&&e[1]!==this.activeEndDate){this.activeEndDate=new Date(e[1])}}};this.monthDateChange=e=>{const t=new Date(e.detail);const s=o(t);if(!this.range&&s===o(this.valueAsDate)){return}if(!this.range){this.value=s||"";this.valueAsDate=t||null;this.activeDate=t||null;this.calciteDatePickerChange.emit();return}const i=this.getStartDate();const a=this.getEndDate();if(!i||!a&&t<i){if(i){this.setEndDate(new Date(i))}if(this.activeRange=="end"){this.setEndDate(t)}else{this.setStartDate(t)}}else if(!a){this.setEndDate(t)}else{if(this.proximitySelectionDisabled){this.setStartDate(t);this.setEndDate(null)}else{if(this.activeRange){if(this.activeRange=="end"){this.setEndDate(t)}else{this.setStartDate(t)}}else{const e=n(t,i);const s=n(t,a);if(s===0||e<0){this.setStartDate(t)}else if(e===0||s<0){this.setEndDate(t)}else if(e<s){this.setStartDate(t)}else{this.setEndDate(t)}}}}this.calciteDatePickerChange.emit()};this.activeDate=undefined;this.activeRange=undefined;this.value=undefined;this.headingLevel=undefined;this.valueAsDate=undefined;this.minAsDate=undefined;this.maxAsDate=undefined;this.min=undefined;this.max=undefined;this.numberingSystem=undefined;this.scale="m";this.range=false;this.proximitySelectionDisabled=false;this.messageOverrides=undefined;this.messages=undefined;this.activeEndDate=undefined;this.activeStartDate=undefined;this.dateTimeFormat=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.endAsDate=undefined;this.hoverRange=undefined;this.localeData=undefined;this.mostRecentRangeValue=undefined;this.startAsDate=undefined}activeDateWatcher(e){if(this.activeRange==="end"){this.activeEndDate=e}}valueAsDateWatcher(e){if(this.range&&Array.isArray(e)){const{activeStartDate:t,activeEndDate:s}=this;const i=e[0];const a=e[1];this.activeStartDate=t!==i&&i;this.activeEndDate=s!==a&&a}else if(e&&e!==this.activeDate){this.activeDate=e}}onMinChanged(e){if(e){this.minAsDate=h(e)}}onMaxChanged(e){if(e){this.maxAsDate=h(e)}}onMessagesChange(){}async setFocus(){await w(this);this.el.focus()}async reset(){this.resetActiveDates();this.mostRecentRangeValue=undefined}connectedCallback(){D(this);I(this);if(Array.isArray(this.value)){this.valueAsDate=c(this.value)}else if(this.value){this.valueAsDate=h(this.value)}if(this.min){this.minAsDate=h(this.min)}if(this.max){this.maxAsDate=h(this.max)}}disconnectedCallback(){z(this);S(this)}async componentWillLoad(){x(this);await this.loadLocaleData();this.onMinChanged(this.min);this.onMaxChanged(this.max);await j(this)}componentDidLoad(){k(this)}render(){const e=d(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate);let t=this.getActiveDate(e,this.minAsDate,this.maxAsDate);const a=this.range&&Array.isArray(this.valueAsDate)?d(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null;const r=this.getActiveEndDate(a,this.minAsDate,this.maxAsDate);if((this.activeRange==="end"||this.hoverRange?.focused==="end"&&(!this.proximitySelectionDisabled||a))&&r){t=r}if(this.range&&this.mostRecentRangeValue){t=this.mostRecentRangeValue}const n=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:e||this.minAsDate:this.minAsDate;const o=this.range&&this.activeRange?this.activeRange==="start"?a||this.maxAsDate:this.maxAsDate:this.maxAsDate;return s(i,{key:"af94b669a3045e53c100cb5850381e9f77423133",onBlur:this.resetActiveDates,onKeyDown:this.keyDownHandler},this.renderCalendar(t,o,n,e,a))}effectiveLocaleChange(){M(this,this.effectiveLocale)}valueHandler(e){if(Array.isArray(e)){this.valueAsDate=c(e)}else if(e){this.valueAsDate=h(e)}}async loadLocaleData(){C.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:false};this.localeData=await l(this.effectiveLocale);this.dateTimeFormat=A(this.effectiveLocale,F)}renderCalendar(e,t,i,a,r){return this.localeData&&[s("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||N,localeData:this.localeData,max:t,messages:this.messages,min:i,onCalciteInternalDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:this.activeRange==="end"?r:a||new Date}),s("calcite-date-picker-month",{activeDate:e,dateTimeFormat:this.dateTimeFormat,endDate:this.range?r:undefined,hoverRange:this.hoverRange,localeData:this.localeData,max:t,min:i,onCalciteInternalDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,onCalciteInternalDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:this.activeRange==="end"?r:a,startDate:this.range?a:undefined})]}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||undefined}setEndDate(e){const t=this.getStartDate();const s=e?f(e):e;this.value=[o(t),o(e)];this.valueAsDate=[t,e];this.mostRecentRangeValue=s;this.calciteDatePickerRangeChange.emit();this.activeEndDate=e||null}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(e){const t=this.getEndDate();this.value=[o(e),o(t)];this.valueAsDate=[e,t];this.mostRecentRangeValue=e;this.calciteDatePickerRangeChange.emit();this.activeStartDate=e||null}getActiveDate(e,t,s){return d(this.activeDate,t,s)||e||d(new Date,t,s)}getActiveEndDate(e,t,s){return d(this.activeEndDate,t,s)||e||d(new Date,t,s)}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{activeDate:["activeDateWatcher"],valueAsDate:["valueAsDateWatcher"],min:["onMinChanged"],max:["onMaxChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","loadLocaleData"],value:["valueHandler"]}}};$.style=T;const G=':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{position:relative;display:flex;cursor:pointer;color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.day-v-wrapper{flex:1 1 auto}.day-wrapper{position:relative;display:flex;flex-direction:column;align-items:center}:host([range]) .day-wrapper:before,:host([range]) .day-wrapper:after,:host([range-hover]) .day-wrapper:before,:host([range-hover]) .day-wrapper:after{pointer-events:none;position:absolute;inset-block:0;content:"";block-size:var(--calcite-internal-day-size);inline-size:var(--calcite-internal-day-size)}.day{z-index:var(--calcite-z-index);display:flex;align-items:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;box-shadow:0 0 0 2px transparent;block-size:var(--calcite-internal-day-size);inline-size:var(--calcite-internal-day-size)}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]){--calcite-internal-day-size:27px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-day-size:33px}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding:0px}:host([scale=m]) .day{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-day-size:43px}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{font-size:var(--calcite-font-size-0)}:host(:not([current-month])) .day{opacity:var(--calcite-opacity-disabled)}:host(:hover:not([disabled]):not([selected])) .day,:host([active]:not([range]):not([selected])) .day{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{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 )}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-color-brand);color:var(--calcite-color-foreground-1)}:host(:focus:not([disabled])) .day,:host([start-of-range]:not(:focus)) .day,:host([end-of-range]:not(:focus)) .day{box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}:host([range-hover]:not([selected])) .day-wrapper:before,:host([highlighted]:not([selected])) .day-wrapper:before{inset-inline-end:50%;border-radius:0}:host([range-hover]:not([selected])) .day-wrapper:after,:host([highlighted]:not([selected])) .day-wrapper:after{inset-inline-start:50%;border-radius:0}:host([range-hover]:not([selected])) .day,:host([highlighted]:not([selected])) .day{color:var(--calcite-color-text-1)}:host([highlighted]) .day-wrapper:before,:host([highlighted]) .day-wrapper:after,:host([selected]:not(.hover--outside-range)) .day-wrapper:before,:host([selected]:not(.hover--outside-range)) .day-wrapper:after{background-color:var(--calcite-color-foreground-current)}:host([range-hover]:not([selected])) .day-wrapper:before,:host([range-hover]:not([selected])) .day-wrapper:after{background-color:var(--calcite-color-foreground-2)}:host(:hover[range-hover]:not([selected]).focused--end) .day-wrapper:before,:host([highlighted][end-of-range]) .day-wrapper:before,:host([highlighted][range-edge=end]) .day-wrapper:before,:host([range-hover][range-edge=end]) .day-wrapper:before,:host(:hover[range-hover].focused--end.hover--outside-range) .day-wrapper:before{inset-inline-end:50%}:host(:hover[range-hover]:not([selected]).focused--end) .day-wrapper:after,:host([highlighted][end-of-range]) .day-wrapper:after,:host([highlighted][range-edge=end]) .day-wrapper:after,:host([range-hover][range-edge=end]) .day-wrapper:after,:host(:hover[range-hover].focused--end.hover--outside-range) .day-wrapper:after{inset-inline-start:50%;border-start-end-radius:var(--calcite-internal-day-size);border-end-end-radius:var(--calcite-internal-day-size);inline-size:calc(var(--calcite-internal-day-size) / 2)}:host([highlighted][start-of-range]) .day-wrapper:before,:host([highlighted][range-edge=start]) .day-wrapper:before,:host([range-hover][range-edge=start]) .day-wrapper:before,:host(:hover[range-hover]:not([selected]).focused--start) .day-wrapper:before,:host([start-of-range].hover--inside-range) .day-wrapper:before,:host(:hover[range-hover].focused--start.hover--outside-range) .day-wrapper:before{inset-inline-end:50%;border-start-start-radius:var(--calcite-internal-day-size);border-end-start-radius:var(--calcite-internal-day-size);inline-size:calc(var(--calcite-internal-day-size) / 2)}:host([highlighted][start-of-range]) .day-wrapper:after,:host([highlighted][range-edge=start]) .day-wrapper:after,:host([range-hover][range-edge=start]) .day-wrapper:after,:host(:hover[range-hover]:not([selected]).focused--start) .day-wrapper:after,:host([start-of-range].hover--inside-range) .day-wrapper:after,:host(:hover[range-hover].focused--start.hover--outside-range) .day-wrapper:after{inset-inline-start:50%}:host([range-hover][start-of-range][range-edge=end]) .day-wrapper:after,:host([range-hover][start-of-range][range-edge=end]) .day-wrapper:before,:host([range-hover][end-of-range][range-edge=start]) .day-wrapper:after,:host([range-hover][end-of-range][range-edge=start]) .day-wrapper:before,:host([start-of-range][range-edge=end].hover--inside-range) .day-wrapper:after,:host([start-of-range][range-edge=end].hover--inside-range) .day-wrapper:before,:host([end-of-range]) .day-wrapper:after,:host([end-of-range]) .day-wrapper:before{content:unset}:host(:hover[range-hover]:not([selected]).focused--start) .day,:host(:hover[range-hover]:not([selected]).focused--end) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .day{box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){.day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host(:hover:not([selected])) .day{border-radius:50%}:host([range][selected]) .day-wrapper:before,:host([range][selected]) .day-wrapper:after,:host([highlighted]) .day-wrapper:before,:host([highlighted]) .day-wrapper:after,:host([range-hover]:not([selected])) .day-wrapper:before,:host([range-hover]:not([selected])) .day-wrapper:after{background-color:highlight}:host([range-hover]) .day-wrapper:before,:host([range-hover]) .day-wrapper:after,:host([range][selected][start-of-range]) .day-wrapper:before,:host([range][selected][start-of-range]) .day-wrapper:after,:host([range][selected][end-of-range]) .day-wrapper:before,:host([range][selected][end-of-range]) .day-wrapper:after{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}';const U=G;const B=class{constructor(s){e(this,s);this.calciteDaySelect=t(this,"calciteDaySelect",6);this.calciteInternalDayHover=t(this,"calciteInternalDayHover",6);this.onClick=()=>{if(this.disabled){return}this.calciteDaySelect.emit()};this.keyDownHandler=e=>{if(O(e.key)){!this.disabled&&this.calciteDaySelect.emit();e.preventDefault()}};this.day=undefined;this.dateTimeFormat=undefined;this.disabled=false;this.currentMonth=false;this.selected=false;this.highlighted=false;this.range=false;this.rangeEdge=undefined;this.startOfRange=false;this.endOfRange=false;this.rangeHover=false;this.active=false;this.scale=undefined;this.value=undefined}pointerOverHandler(){if(this.disabled){return}this.calciteInternalDayHover.emit()}async componentWillLoad(){x(this);this.parentDatePickerEl=P(this.el,"calcite-date-picker")}componentDidLoad(){k(this)}async setFocus(){await w(this);this.el.focus()}render(){const e=o(this.value).replaceAll("-","");if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;C.numberFormatOptions={useGrouping:false,...e&&{numberingSystem:e},...t&&{locale:t}}}const t=C.localize(String(this.day));const a=this.dateTimeFormat.format(this.value);return s(i,{key:"8de3dbeb652bfeb5ea9e9a490c3cec6a3663aeea","aria-disabled":H(this.disabled),"aria-label":a,"aria-selected":H(this.active),id:e,onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"button",tabIndex:this.active&&!this.disabled?0:-1},s(R,{key:"edb52f389027ea4f48067e2c0a4c6a28251bc4ab",disabled:this.disabled},s("div",{key:"fd75d2ebcd2e6ca21afdefb3f4e6f02089b43609","aria-hidden":"true",class:{"day-v-wrapper":true}},s("div",{key:"d4ac04c544b7f26c1e1992f4b8046c608c6174cd",class:"day-wrapper"},s("span",{key:"8453fd6dd54fa642f1779b99e2f1012a2277cfda",class:"day"},s("span",{key:"fb704e33e0d0af0ce76988983b530e640a361299",class:"text"},t))))))}connectedCallback(){L(this)}componentDidRender(){W(this)}disconnectedCallback(){_(this)}get el(){return a(this)}};B.style=U;const q=":host([hidden]){display:none}[hidden]{display:none}.calendar{margin-block-end:0.25rem}.week-headers{display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-3);inline-size:14.2857142857%}.day{display:flex;min-inline-size:0px;justify-content:center;inline-size:100%}.day calcite-date-picker-day{inline-size:100%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:grid;grid-template-columns:repeat(7, 1fr);grid-auto-rows:1fr;padding-block:0;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";const J=q;const Q=7;const V=6;const X=class{constructor(s){e(this,s);this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6);this.calciteInternalDatePickerHover=t(this,"calciteInternalDatePickerHover",6);this.calciteInternalDatePickerActiveDateChange=t(this,"calciteInternalDatePickerActiveDateChange",6);this.calciteInternalDatePickerMouseOut=t(this,"calciteInternalDatePickerMouseOut",6);this.keyDownHandler=e=>{if(e.defaultPrevented){return}const t=this.el.dir==="rtl";switch(e.key){case"ArrowUp":e.preventDefault();this.addDays(-7);break;case"ArrowRight":e.preventDefault();this.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault();this.addDays(7);break;case"ArrowLeft":e.preventDefault();this.addDays(t?1:-1);break;case"PageUp":e.preventDefault();this.addMonths(-1);break;case"PageDown":e.preventDefault();this.addMonths(1);break;case"Home":e.preventDefault();this.activeDate.setDate(1);this.addDays();break;case"End":e.preventDefault();this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate());this.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=false}};this.disableActiveFocus=()=>{this.activeFocus=false};this.dayHover=e=>{const t=e.target;if(t.disabled){this.calciteInternalDatePickerMouseOut.emit()}else{this.calciteInternalDatePickerHover.emit(t.value)}e.stopPropagation()};this.daySelect=e=>{const t=e.target;this.calciteInternalDatePickerSelect.emit(t.value)};this.dateTimeFormat=undefined;this.selectedDate=undefined;this.activeDate=new Date;this.startDate=undefined;this.endDate=undefined;this.min=undefined;this.max=undefined;this.scale=undefined;this.localeData=undefined;this.hoverRange=undefined}pointerOutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const e=this.activeDate.getMonth();const t=this.activeDate.getFullYear();const a=this.localeData.weekStart%7;const{abbreviated:r,short:n,narrow:o}=this.localeData.days;const h=this.scale==="s"?o||n||r:n||r||o;const c=[...h.slice(a,7),...h.slice(0,a)];const d=this.getCurrentMonthDays(e,t);const l=this.getPreviousMonthDays(e,t,a);const f=this.getNextMonthDays(e,t,a);let u=0;const g=()=>u++%7;const v=[...l.map((s=>({active:false,day:s,dayInWeek:g(),date:new Date(t,e-1,s)}))),...d.map((s=>{const i=new Date(t,e,s);const a=p(i,this.activeDate);return{active:a,currentMonth:true,day:s,dayInWeek:g(),date:i,ref:true}})),...f.map((s=>({active:false,day:s,dayInWeek:g(),date:new Date(t,e+1,s)})))];return s(i,{onFocusout:this.disableActiveFocus,onKeyDown:this.keyDownHandler},s("div",{class:"calendar",role:"grid"},s("div",{class:"week-headers",role:"row"},c.map((e=>s("span",{class:"week-header",role:"columnheader"},e)))),s("div",{class:"week-days",role:"row"},v.map(((e,t)=>this.renderDateDay(e,t))))))}addMonths(e){const t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e);this.calciteInternalDatePickerActiveDateChange.emit(d(t,this.min,this.max));this.activeFocus=true}addDays(e=0){const t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e);this.calciteInternalDatePickerActiveDateChange.emit(d(t,this.min,this.max));this.activeFocus=true}getPreviousMonthDays(e,t,s){const i=new Date(t,e,0);const a=i.getDate();const r=i.getDay();const n=[];if(r===(s+V)%Q){return n}if(r===s){return[a]}for(let e=(Q+r-s)%Q;e>=0;e--){n.push(a-e)}return n}getCurrentMonthDays(e,t){const s=new Date(t,e+1,0).getDate();const i=[];for(let e=0;e<s;e++){i.push(e+1)}return i}getNextMonthDays(e,t,s){const i=new Date(t,e+1,0).getDay();const a=[];if(i===(s+V)%Q){return a}for(let e=0;e<(V-(i-s))%Q;e++){a.push(e+1)}return a}betweenSelectedRange(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))}isSelected(e){return!!(p(e,this.selectedDate)||this.startDate&&p(e,this.startDate)||this.endDate&&p(e,this.endDate))}isStartOfRange(e){return!!(this.startDate&&!p(this.startDate,this.endDate)&&p(this.startDate,e)&&!this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,e)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(e,this.hoverRange.end))}renderDateDay({active:e,currentMonth:t,date:i,day:a,dayInWeek:r,ref:n},o){const h=this.isFocusedOnStart();const c=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p(this.hoverRange?.end,this.startDate);return s("div",{class:"day",key:o,role:"gridcell"},s("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&c,"hover--outside-range":this.startDate&&!c,"focused--start":h,"focused--end":!h},currentMonth:t,dateTimeFormat:this.dateTimeFormat,day:a,disabled:!u(i,this.min,this.max),endOfRange:this.isEndOfRange(i),highlighted:this.betweenSelectedRange(i),onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!p(this.startDate,this.endDate),rangeEdge:r===0?"start":r===6?"end":undefined,rangeHover:this.isRangeHover(i),ref:t=>{if(n&&e&&this.activeFocus){t?.setFocus()}},scale:this.scale,selected:this.isSelected(i),startOfRange:this.isStartOfRange(i),value:i}))}isFocusedOnStart(){return this.hoverRange?.focused==="start"}isHoverInRange(){if(!this.hoverRange){return false}const{start:e,end:t}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||t<this.endDate)||this.isFocusedOnStart()&&this.startDate&&e>this.startDate)}isRangeHover(e){if(!this.hoverRange){return false}const{start:t,end:s}=this.hoverRange;const i=this.isFocusedOnStart();const a=this.isHoverInRange();const r=a&&(!i&&e>this.startDate&&(e<s||p(e,s))||i&&e<this.endDate&&(e>t||p(e,t)));const n=!a&&(!i&&e>=this.endDate&&(e<s||p(e,s))||i&&(this.startDate&&e<this.startDate||this.endDate&&p(e,this.startDate))&&(t&&e>t||p(e,t)));return r||n}get el(){return a(this)}};X.style=J;const Z={header:"header",month:"month",chevron:"chevron",suffix:"suffix",yearSuffix:"year--suffix",yearWrap:"year-wrap",textReverse:"text--reverse"};const ee={chevronLeft:"chevron-left",chevronRight:"chevron-right"};const te=":host{display:block}.header{display:flex;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;box-sizing:content-box;display:flex;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;background-color:var(--calcite-color-foreground-1);padding-inline:0.25rem;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron: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 )}.chevron:hover,.chevron:focus{background-color:var(--calcite-color-foreground-2);fill:var(--calcite-color-text-1);color:var(--calcite-color-text-1)}.chevron:active{background-color:var(--calcite-color-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;display:flex;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:center;text-align:center;line-height:1}.text--reverse{flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-color-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-color-text-1);font-size:inherit}.year{position:relative;inline-size:2.5rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent}.year:hover{transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:outline-color;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}.year: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 )}.year--suffix{text-align:start}.year-wrap{position:relative}.suffix{inset-block-start:0px;white-space:nowrap;text-align:start;inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}";const se=te;const ie=class{constructor(s){e(this,s);this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6);this.onYearKey=e=>{const t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault();this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault();this.setYear({localizedYear:t,offset:1});break}};this.onYearChange=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})};this.onYearInput=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:false})};this.prevMonthClick=e=>{this.handleArrowClick(e,this.prevMonthDate)};this.prevMonthKeydown=e=>{if(O(e.key)){this.prevMonthClick(e)}};this.nextMonthClick=e=>{this.handleArrowClick(e,this.nextMonthDate)};this.nextMonthKeydown=e=>{if(O(e.key)){this.nextMonthClick(e)}};this.handleArrowClick=(e,t)=>{e.preventDefault();this.calciteInternalDatePickerSelect.emit(t)};this.selectedDate=undefined;this.activeDate=undefined;this.headingLevel=undefined;this.min=undefined;this.max=undefined;this.scale=undefined;this.localeData=undefined;this.messages=undefined;this.nextMonthDate=undefined;this.prevMonthDate=undefined}componentWillLoad(){this.parentDatePickerEl=P(this.el,"calcite-date-picker")}connectedCallback(){this.setNextPrevMonthDates()}render(){return s("div",{key:"9e392da76cbe365de812b6219b3ee7ada90a09e6",class:Z.header},this.renderContent())}renderContent(){const{messages:e,localeData:t,activeDate:i}=this;if(!i||!t){return null}if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;C.numberFormatOptions={useGrouping:false,...e&&{numberingSystem:e},...t&&{locale:t}}}const a=i.getMonth();const{months:n,unitOrder:o}=t;const h=(n.wide||n.narrow||n.abbreviated)[a];const c=this.formatCalendarYear(i.getFullYear());const d=g(o);const l=d.indexOf("y")<d.indexOf("m");const f=t.year?.suffix;return s(r,null,s("a",{"aria-disabled":`${this.prevMonthDate.getMonth()===a}`,"aria-label":e.prevMonth,class:Z.chevron,href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===a?-1:0},s("calcite-icon",{"flip-rtl":true,icon:ee.chevronLeft,scale:E(this.scale)})),s("div",{class:{text:true,[Z.textReverse]:l}},s(Y,{class:Z.month,level:this.headingLevel},h),s("span",{class:Z.yearWrap},s("input",{"aria-label":e.year,class:{year:true,[Z.yearSuffix]:!!f},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:e=>this.yearInput=e,type:"text",value:c}),f&&s("span",{class:Z.suffix},f))),s("a",{"aria-disabled":`${this.nextMonthDate.getMonth()===a}`,"aria-label":e.nextMonth,class:Z.chevron,href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===a?-1:0},s("calcite-icon",{"flip-rtl":true,icon:ee.chevronRight,scale:E(this.scale)})))}setNextPrevMonthDates(){if(!this.activeDate){return}this.nextMonthDate=d(v(this.activeDate),this.min,this.max);this.prevMonthDate=d(y(this.activeDate),this.min,this.max)}formatCalendarYear(e){return C.localize(`${b(e,this.localeData)}`)}parseCalendarYear(e){return C.localize(`${m(Number(C.delocalize(e)),this.localeData)}`)}getInRangeDate({localizedYear:e,offset:t=0}){const{min:s,max:i,activeDate:a}=this;const r=Number(C.delocalize(e));const n=r.toString().length;const o=isNaN(r)?false:r+t;const h=o&&(!s||s.getFullYear()<=o)&&(!i||i.getFullYear()>=o);if(o&&h&&n===e.length){const e=new Date(a);e.setFullYear(o);return d(e,s,i)}}setYear({localizedYear:e,commit:t=true,offset:s=0}){const{yearInput:i,activeDate:a}=this;const r=this.getInRangeDate({localizedYear:e,offset:s});if(r){this.calciteInternalDatePickerSelect.emit(r)}if(t){i.value=this.formatCalendarYear((r||a).getFullYear())}}get el(){return a(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};ie.style=se;export{$ as calcite_date_picker,B as calcite_date_picker_day,X as calcite_date_picker_month,ie as calcite_date_picker_month_header};
|
|
7
|
+
//# sourceMappingURL=p-f3ebaf96.entry.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
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.20
|
|
5
|
+
*/
|
|
6
|
+
import{h as t}from"./p-e48d006d.js";const o={arrow:"calcite-floating-ui-arrow",arrowStroke:"calcite-floating-ui-arrow__stroke"};const e={width:12,height:6,strokeWidth:1};const r=({floatingLayout:r,key:i,ref:s})=>{const{width:a,height:n,strokeWidth:h}=e;const c=a/2;const d=r==="vertical";const l="M0,0"+` H${a}`+` L${a-c},${n}`+` Q${c},${n} ${c},${n}`+" Z";return t("svg",{"aria-hidden":"true",class:o.arrow,height:a,key:i,ref:s,viewBox:`0 0 ${a} ${a+(!d?h:0)}`,width:a+(d?h:0)},h>0&&t("path",{class:o.arrowStroke,d:l,fill:"none","stroke-width":h+1}),t("path",{d:l,stroke:"none"}))};export{r as F};
|
|
7
|
+
//# sourceMappingURL=p-f9bb2b7b.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
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.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as s,F as i,g as a}from"./p-e48d006d.js";import{s as n,a as o,c as r}from"./p-bf0746a3.js";import{n as l,c,d as h}from"./p-8e3a4720.js";import{u as d,c as m,s as p,d as u}from"./p-dd1ec8aa.js";import{c as g}from"./p-2fec90cc.js";import{g as f}from"./p-ae81e665.js";import"./p-99726b90.js";import"./p-c26dde6d.js";import"./p-57e21d44.js";import"./p-70c530fa.js";const b={min:"0",max:"320px"};const v={min:"321px",max:"476px"};const x={min:"477px",max:"768px"};const k={min:"769px",max:"1152px"};const y={min:"1153px",max:"1440px"};const z={width:{large:I(y.max),medium:I(k.max),small:I(x.max),xsmall:I(v.max),xxsmall:I(b.max)}};function I(t){return parseInt(t)}const C={page:"page",selected:"selected",chevron:"chevron",disabled:"disabled",ellipsis:"ellipsis"};const S={next:"chevron-right",previous:"chevron-left",first:"chevron-start",last:"chevron-end"};const w=":host{display:flex;writing-mode:horizontal-tb}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline:0.625rem}:host([scale=l]) .page,:host([scale=l]) .ellipsis{padding-inline:0.75rem}:host button{outline-color:transparent}:host button: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 )}.chevron,.page,.ellipsis{margin:0px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity:0;background-color:transparent;padding:0px;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-3)}.chevron,.page{cursor:pointer;border-block:2px solid transparent}.chevron:hover,.page:hover{color:var(--calcite-color-text-1);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-color-border-2)}.page.selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);border-block-end-color:var(--calcite-color-brand)}.chevron:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-brand)}.chevron:active{background-color:var(--calcite-color-foreground-3)}.chevron.disabled{pointer-events:none;background-color:transparent}.chevron.disabled>calcite-icon{opacity:var(--calcite-opacity-disabled)}:host([hidden]){display:none}[hidden]{display:none}";const L=w;const j=2;const P=2;const X={large:11,medium:9,small:7,xsmall:5,xxsmall:1};const M=class{constructor(s){t(this,s);this.calcitePaginationChange=e(this,"calcitePaginationChange",6);this.resizeObserver=g("resize",(t=>t.forEach(this.resizeHandler)));this.resizeHandler=({contentRect:{width:t}})=>this.setMaxItemsToBreakpoint(t);this.firstClicked=()=>{this.startItem=1;this.emitUpdate()};this.lastClicked=()=>{this.startItem=this.lastStartItem;this.emitUpdate()};this.previousClicked=async()=>{await this.previousPage();this.emitUpdate()};this.nextClicked=async()=>{await this.nextPage();this.emitUpdate()};this.handlePageClick=t=>{const e=t.target;this.startItem=parseInt(e.value,10);this.emitUpdate()};this.groupSeparator=false;this.messages=undefined;this.messageOverrides=undefined;this.numberingSystem=undefined;this.pageSize=20;this.scale="m";this.startItem=1;this.totalItems=0;this.defaultMessages=undefined;this.effectiveLocale="";this.maxItems=X.xxsmall;this.totalPages=undefined;this.lastStartItem=undefined;this.isXXSmall=undefined}onMessagesChange(){}handleTotalPages(){if(this.pageSize<1){this.pageSize=1}this.totalPages=this.totalItems/this.pageSize}effectiveLocaleChange(){d(this,this.effectiveLocale)}effectiveLocaleWatcher(){l.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}handleLastStartItemChange(){const{totalItems:t,pageSize:e,totalPages:s}=this;this.lastStartItem=(t%e===0?t-e:Math.floor(s)*e)+1}handleIsXXSmall(){this.isXXSmall=this.maxItems===X.xxsmall}connectedCallback(){c(this);m(this);this.resizeObserver?.observe(this.el)}async componentWillLoad(){await p(this);n(this);this.handleTotalPages();this.handleLastStartItemChange();this.handleIsXXSmall()}componentDidLoad(){o(this);this.setMaxItemsToBreakpoint(this.el.clientWidth)}disconnectedCallback(){h(this);u(this);this.resizeObserver?.disconnect()}async setFocus(){await r(this);this.el.focus()}async nextPage(){this.startItem=Math.min(this.lastStartItem,this.startItem+this.pageSize)}async previousPage(){this.startItem=Math.max(1,this.startItem-this.pageSize)}async goTo(t){switch(t){case"start":this.startItem=1;break;case"end":this.startItem=this.lastStartItem;break;default:{if(t>=Math.ceil(this.totalPages)){this.startItem=this.lastStartItem}else if(t<=0){this.startItem=1}else{this.startItem=(t-1)*this.pageSize+1}}}}setMaxItemsToBreakpoint(t){if(!z||!t){return}if(t>=z.width.medium){this.maxItems=X.large;return}if(t>=z.width.small){this.maxItems=X.medium;return}if(t>=z.width.xsmall){this.maxItems=X.small;return}if(t>=z.width.xxsmall){this.maxItems=X.xsmall;return}this.maxItems=X.xxsmall}showStartEllipsis(){return this.totalPages>this.maxItems&&Math.floor(this.startItem/this.pageSize)>this.maxItems-j-P}showEndEllipsis(){return this.totalPages>this.maxItems&&(this.totalItems-this.startItem)/this.pageSize>this.maxItems-j-(P-1)}emitUpdate(){this.calcitePaginationChange.emit()}renderEllipsis(t){return s("span",{class:C.ellipsis,"data-test-ellipsis":t,key:t},"…")}renderItems(){const{totalItems:t,pageSize:e,startItem:s,maxItems:i,totalPages:a,lastStartItem:n,isXXSmall:o}=this;const r=[];if(o){r.push(this.renderPage(s));return r}const l=t>e;const c=this.showStartEllipsis();const h=this.showEndEllipsis();if(l){r.push(this.renderPage(1))}if(c){r.push(this.renderEllipsis("start"))}const d=i-j-(h?1:0)-(c?1:0);let m;let p;if(a-1<=d){p=1+e;m=n-e}else{if(s/e<d){p=1+e;m=1+d*e}else{if(s+d*e>=t){p=n-d*e;m=n-e}else{p=s-e*((d-1)/2);m=s+e*((d-1)/2)}}}for(let t=0;t<d&&p<=m;t++){r.push(this.renderPage(p));p=p+e}if(h){r.push(this.renderEllipsis("end"))}r.push(this.renderPage(n));return r}renderPage(t){const{pageSize:e}=this;const i=Math.floor(t/e)+(e===1?0:1);l.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const a=l.localize(i.toString());const n=t===this.startItem;return s("button",{"aria-current":n?"page":"false",class:{[C.page]:true,[C.selected]:n},onClick:this.handlePageClick,value:t},a)}renderPreviousChevron(){const{pageSize:t,startItem:e,messages:i}=this;const a=t===1?e<=t:e<t;return s("button",{"aria-label":i.previous,class:{[C.chevron]:true,[C.disabled]:a},"data-test-chevron":"previous",disabled:a,key:"previous",onClick:this.previousClicked},s("calcite-icon",{flipRtl:true,icon:S.previous,scale:f(this.scale)}))}renderNextChevron(){const{totalItems:t,pageSize:e,startItem:i,messages:a}=this;const n=e===1?i+e>t:i+e>t;return s("button",{"aria-label":a.next,class:{[C.chevron]:true,[C.disabled]:n},"data-test-chevron":"next",disabled:n,key:"next-button",onClick:this.nextClicked},s("calcite-icon",{flipRtl:true,icon:S.next,scale:f(this.scale)}))}renderFirstChevron(){const{messages:t,startItem:e,isXXSmall:i}=this;const a=e===1;return i?s("button",{"aria-label":t.first,class:{[C.chevron]:true,[C.disabled]:a},disabled:a,key:"first-button",onClick:this.firstClicked},s("calcite-icon",{flipRtl:true,icon:S.first,scale:f(this.scale)})):null}renderLastChevron(){const{messages:t,startItem:e,isXXSmall:i,lastStartItem:a}=this;const n=e===a;return i?s("button",{"aria-label":t.last,class:{[C.chevron]:true,[C.disabled]:n},disabled:n,key:"last-button",onClick:this.lastClicked},s("calcite-icon",{flipRtl:true,icon:S.last,scale:f(this.scale)})):null}render(){return s(i,{key:"c233933985a4aae69d22322db1d3aa9c70d49a6c"},this.renderFirstChevron(),this.renderPreviousChevron(),this.renderItems(),this.renderNextChevron(),this.renderLastChevron())}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],totalItems:["handleTotalPages","handleLastStartItemChange"],pageSize:["handleTotalPages","handleLastStartItemChange"],effectiveLocale:["effectiveLocaleChange","effectiveLocaleWatcher"],totalPages:["handleLastStartItemChange"],maxItems:["handleIsXXSmall"]}}};M.style=L;export{M as calcite_pagination};
|
|
7
|
+
//# sourceMappingURL=p-fba41ecf.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["calciteContainerSizeWidthXxs","min","max","calciteContainerSizeWidthXs","calciteContainerSizeWidthSm","calciteContainerSizeWidthMd","calciteContainerSizeWidthLg","breakpoints","width","large","cssLengthToNumber","medium","small","xsmall","xxsmall","length","parseInt","CSS","page","selected","chevron","disabled","ellipsis","ICONS","next","previous","first","last","paginationCss","CalcitePaginationStyle0","firstAndLastPageCount","ellipsisCount","maxItemBreakpoints","Pagination","this","resizeObserver","createObserver","entries","forEach","resizeHandler","contentRect","setMaxItemsToBreakpoint","firstClicked","startItem","emitUpdate","lastClicked","lastStartItem","previousClicked","async","previousPage","nextClicked","nextPage","handlePageClick","event","target","value","onMessagesChange","handleTotalPages","pageSize","totalPages","totalItems","effectiveLocaleChange","updateMessages","effectiveLocale","effectiveLocaleWatcher","numberStringFormatter","numberFormatOptions","locale","numberingSystem","useGrouping","groupSeparator","handleLastStartItemChange","Math","floor","handleIsXXSmall","isXXSmall","maxItems","connectedCallback","connectLocalized","connectMessages","observe","el","componentWillLoad","setUpMessages","setUpLoadableComponent","componentDidLoad","setComponentLoaded","clientWidth","disconnectedCallback","disconnectLocalized","disconnectMessages","disconnect","setFocus","componentFocusable","focus","goTo","ceil","showStartEllipsis","showEndEllipsis","calcitePaginationChange","emit","renderEllipsis","type","h","class","key","renderItems","items","push","renderPage","renderFirstPage","renderStartEllipsis","renderEndEllipsis","remainingItems","end","nextStart","i","start","displayedPage","localize","toString","onClick","renderPreviousChevron","messages","flipRtl","icon","scale","getIconScale","renderNextChevron","renderFirstChevron","renderLastChevron","render","Fragment"],"sources":["../calcite-design-tokens/dist/es6/global.js","src/utils/responsive.ts","src/components/pagination/resources.ts","src/components/pagination/pagination.scss?tag=calcite-pagination&encapsulation=shadow","src/components/pagination/pagination.tsx"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Thu, 23 May 2024 20:33:03 GMT\n */\n\nexport const calciteBorderWidthNone = \"0\";\nexport const calciteBorderWidthSm = \"1px\";\nexport const calciteBorderWidthMd = \"2px\";\nexport const calciteBorderWidthLg = \"4px\";\nexport const calciteColorBackground = {\"light\":\"#f8f8f8\",\"dark\":\"#353535\"};\nexport const calciteColorBackgroundNone = \"rgba(255, 255, 255, 0)\";\nexport const calciteColorForeground1 = {\"light\":\"#ffffff\",\"dark\":\"#2b2b2b\"};\nexport const calciteColorForeground2 = {\"light\":\"#f3f3f3\",\"dark\":\"#202020\"};\nexport const calciteColorForeground3 = {\"light\":\"#eaeaea\",\"dark\":\"#151515\"};\nexport const calciteColorForegroundCurrent = {\"light\":\"#c7eaff\",\"dark\":\"#214155\"};\nexport const calciteColorTransparent = {\"light\":\"rgba(0, 0, 0, 0)\",\"dark\":\"rgba(255, 255, 255, 0)\"};\nexport const calciteColorTransparentHover = {\"light\":\"rgba(0, 0, 0, 0.04)\",\"dark\":\"rgba(255, 255, 255, 0.04)\"};\nexport const calciteColorTransparentPress = {\"light\":\"rgba(0, 0, 0, 0.08)\",\"dark\":\"rgba(255, 255, 255, 0.08)\"};\nexport const calciteColorTransparentScrim = {\"light\":\"rgba(255, 255, 255, 0.85)\",\"dark\":\"rgba(0, 0, 0, 0.85)\"};\nexport const calciteColorTransparentTint = {\"light\":\"rgba(255, 255, 255, 0.8)\",\"dark\":\"rgba(43, 43, 43, 0.8)\"};\nexport const calciteColorBrand = {\"light\":\"#007ac2\",\"dark\":\"#009af2\"};\nexport const calciteColorBrandHover = {\"light\":\"#00619b\",\"dark\":\"#007ac2\"};\nexport const calciteColorBrandPress = {\"light\":\"#004874\",\"dark\":\"#00619b\"};\nexport const calciteColorBrandUnderline = {\"light\":\"rgba(0, 97, 155, 0.4)\",\"dark\":\"rgba(0, 160, 255, 0.4)\"};\nexport const calciteColorStatusInfo = {\"light\":\"#00619b\",\"dark\":\"#00a0ff\"};\nexport const calciteColorStatusInfoHover = {\"light\":\"#004874\",\"dark\":\"#3db8ff\"};\nexport const calciteColorStatusInfoPress = {\"light\":\"#00304d\",\"dark\":\"#009af2\"};\nexport const calciteColorStatusSuccess = {\"light\":\"#35ac46\",\"dark\":\"#36da43\"};\nexport const calciteColorStatusSuccessHover = {\"light\":\"#288835\",\"dark\":\"#3bed52\"};\nexport const calciteColorStatusSuccessPress = {\"light\":\"#1a6324\",\"dark\":\"#00b81b\"};\nexport const calciteColorStatusWarning = {\"light\":\"#edd317\",\"dark\":\"#ffc900\"};\nexport const calciteColorStatusWarningHover = {\"light\":\"#d9bc00\",\"dark\":\"#ffee33\"};\nexport const calciteColorStatusWarningPress = {\"light\":\"#bfa200\",\"dark\":\"#f5d000\"};\nexport const calciteColorStatusDanger = {\"light\":\"#d83020\",\"dark\":\"#fe583e\"};\nexport const calciteColorStatusDangerHover = {\"light\":\"#a82b1e\",\"dark\":\"#ff0015\"};\nexport const calciteColorStatusDangerPress = {\"light\":\"#7c1d13\",\"dark\":\"#d90012\"};\nexport const calciteColorInverse = {\"light\":\"#353535\",\"dark\":\"#f8f8f8\"};\nexport const calciteColorInverseHover = {\"light\":\"#2b2b2b\",\"dark\":\"#ffffff\"};\nexport const calciteColorInversePress = {\"light\":\"#202020\",\"dark\":\"#f3f3f3\"};\nexport const calciteColorText1 = {\"light\":\"#151515\",\"dark\":\"#ffffff\"};\nexport const calciteColorText2 = {\"light\":\"#4a4a4a\",\"dark\":\"#bfbfbf\"};\nexport const calciteColorText3 = {\"light\":\"#6a6a6a\",\"dark\":\"#9f9f9f\"};\nexport const calciteColorTextInverse = {\"light\":\"#ffffff\",\"dark\":\"#151515\"};\nexport const calciteColorTextLink = {\"light\":\"#00619b\",\"dark\":\"#00a0ff\"};\nexport const calciteColorBorder1 = {\"light\":\"#cacaca\",\"dark\":\"#555555\"};\nexport const calciteColorBorder2 = {\"light\":\"#d4d4d4\",\"dark\":\"#4a4a4a\"};\nexport const calciteColorBorder3 = {\"light\":\"#dfdfdf\",\"dark\":\"#404040\"};\nexport const calciteColorBorderInput = {\"light\":\"#949494\",\"dark\":\"#757575\"};\nexport const calciteColorBorderGhost = {\"light\":\"rgba(0, 0, 0, 0.3)\",\"dark\":\"rgba(117, 117, 117, 0.3)\"};\nexport const calciteColorBorderWhite = {\"light\":\"#ffffff\",\"dark\":\"#f8f8f8\"};\nexport const calciteContainerSizeHeightXxs = {\"min\":\"0\",\"max\":\"154px\"}; // Small handheld devices and mini-windows\nexport const calciteContainerSizeHeightXs = {\"min\":\"155px\",\"max\":\"328px\"}; // Handheld devices\nexport const calciteContainerSizeHeightSm = {\"min\":\"329px\",\"max\":\"504px\"}; // Small tablets\nexport const calciteContainerSizeHeightMd = {\"min\":\"505px\",\"max\":\"678px\"}; // Small laptops\nexport const calciteContainerSizeHeightLg = {\"min\":\"679px\",\"max\":\"854px\"}; // Large laptops and desktop computers\nexport const calciteContainerSizeHeightXl = {\"min\":\"855px\"}; // Projectors and televisions\nexport const calciteContainerSizeWidthXxs = {\"min\":\"0\",\"max\":\"320px\"}; // Small handheld devices and mini-windows\nexport const calciteContainerSizeWidthXs = {\"min\":\"321px\",\"max\":\"476px\"}; // Handheld devices\nexport const calciteContainerSizeWidthSm = {\"min\":\"477px\",\"max\":\"768px\"}; // Small tablets\nexport const calciteContainerSizeWidthMd = {\"min\":\"769px\",\"max\":\"1152px\"}; // Small laptops\nexport const calciteContainerSizeWidthLg = {\"min\":\"1153px\",\"max\":\"1440px\"}; // Large laptops and desktop computers\nexport const calciteContainerSizeWidthXl = {\"min\":\"1441px\"}; // Projectors and televisions\nexport const calciteContainerSizeMargin = \"24px\";\nexport const calciteContainerSizeGutter = \"16px\";\nexport const calciteContainerSizeContentFluid = \"100%\"; // for fluid grid widths\nexport const calciteContainerSizeContentFixed = \"1440px\"; // only for lg breakpoint fixed grid width\nexport const calciteCornerRadius = \"0\";\nexport const calciteCornerRadiusSharp = \"0\";\nexport const calciteCornerRadiusRound = \"4px\";\nexport const calciteCornerRadiusPill = \"100%\";\nexport const calciteFontFamily = [\"Avenir Next\",\"Avenir\",\"Helvetica Neue\",\"sans-serif\"]; // Primary font with fallbacks\nexport const calciteFontFamilyCode = [\"Monaco\",\"Consolas\",\"Andale Mono\",\"Lucida Console\",\"monospace\"]; // Font family for code with fallbacks\nexport const calciteFontWeightLight = \"300\"; // For Avenir Next World (secondary font family)\nexport const calciteFontWeightNormal = \"400\"; // For backwards compatibility only. This token will be removed from the published tokens in the next major in favor of the more descriptive word \"regular\"\nexport const calciteFontWeightRegular = \"400\";\nexport const calciteFontWeightMedium = \"500\";\nexport const calciteFontWeightSemibold = \"600\";\nexport const calciteFontWeightBold = \"700\";\nexport const calciteFontSizeXs = \"10px\";\nexport const calciteFontSizeSm = \"12px\";\nexport const calciteFontSize = \"14px\";\nexport const calciteFontSizeMd = \"16px\";\nexport const calciteFontSizeLg = \"18px\";\nexport const calciteFontSizeXl = \"20px\";\nexport const calciteFontSizeXxl = \"24px\";\nexport const calciteFontStyleEmphasis = \"italic\"; // used in ratings\nexport const calciteFontLineHeightFixedSm = \"12px\";\nexport const calciteFontLineHeightFixedBase = \"16px\";\nexport const calciteFontLineHeightFixedLg = \"20px\";\nexport const calciteFontLineHeightFixedXl = \"24px\";\nexport const calciteFontLineHeightRelative = \"auto\"; // 1\nexport const calciteFontLineHeightRelativeTight = \"125%\"; // 1.25\nexport const calciteFontLineHeightRelativeSnug = \"137.5%\"; // 1.375\nexport const calciteFontLineHeightRelativeNormal = \"150%\"; // 1.5\nexport const calciteFontLineHeightRelativeRelaxed = \"162.5%\"; // 1.625\nexport const calciteFontLineHeightRelativeLoose = \"200%\"; // 2\nexport const calciteFontLetterSpacingTight = \"-0.4\";\nexport const calciteFontLetterSpacingNormal = \"0\";\nexport const calciteFontLetterSpacingWide = \"0.4\";\nexport const calciteFontParagraphSpacingNormal = \"4px\";\nexport const calciteFontTextDecorationNone = \"none\";\nexport const calciteFontTextDecorationUnderline = \"underline\";\nexport const calciteFontTextCaseNone = \"none\";\nexport const calciteFontTextCaseUppercase = \"uppercase\";\nexport const calciteFontTextCaseLowercase = \"lowercase\";\nexport const calciteFontTextCaseCapitalize = \"capitalize\";\nexport const calciteOpacityLight = \"0.4\";\nexport const calciteOpacityHalf = \"0.5\";\nexport const calciteOpacityDark = \"0.85\";\nexport const calciteOpacityFull = \"1\";\nexport const calciteOpacityDisabled = \"0.5\";\nexport const calciteShadowNone = {\"x\":\"0\",\"y\":\"0\",\"blur\":\"0\",\"spread\":\"0\",\"color\":\"rgba(#000000, 0)\"};\nexport const calciteShadowSm = [{\"x\":\"0\",\"y\":\"2\",\"blur\":\"8\",\"spread\":\"0\",\"color\":\"rgba(#000000, 0.04)\"},{\"x\":\"0\",\"y\":\"4\",\"blur\":\"16\",\"spread\":\"0\",\"color\":\"rgba(#000000, 0.08)\"}];\nexport const calciteShadowMd = [{\"x\":\"0\",\"y\":\"4\",\"blur\":\"20\",\"spread\":\"0\",\"color\":\"rgba(#000000, 0.08)\"},{\"x\":\"0\",\"y\":\"12\",\"blur\":\"32\",\"spread\":\"-2\",\"color\":\"rgba(#000000, 0.1)\"}];\nexport const calciteSizePx = \"1px\";\nexport const calciteSizeXxxs = \"2px\";\nexport const calciteSizeXxs = \"4px\";\nexport const calciteSizeXs = \"6px\";\nexport const calciteSizeSm = \"8px\";\nexport const calciteSizeSmPlus = \"10px\";\nexport const calciteSizeMd = \"12px\";\nexport const calciteSizeMdPlus = \"14px\";\nexport const calciteSizeLg = \"16px\";\nexport const calciteSizeXl = \"20px\";\nexport const calciteSizeXxl = \"24px\";\nexport const calciteSizeXxxl = \"32px\";\nexport const calciteSpacingPx = \"1px\";\nexport const calciteSpacingBase = \"2px\";\nexport const calciteSpacingXxs = \"4px\";\nexport const calciteSpacingXs = \"6px\";\nexport const calciteSpacingSm = \"8px\";\nexport const calciteSpacingMd = \"12px\";\nexport const calciteSpacingLg = \"14px\";\nexport const calciteSpacingXl = \"16px\";\nexport const calciteSpacingXxl = \"20px\";\nexport const calciteSpacingXxxl = \"32px\";\nexport const calciteTypography = {\"fontFamily\":[\"Avenir Next\",\"Avenir\",\"Helvetica Neue\",\"sans-serif\"],\"fontSize\":\"14px\",\"fontWeight\":\"400\",\"letterSpacing\":\"0\",\"lineHeight\":\"16px\",\"paragraphSpacing\":\"4px\",\"textCase\":\"none\",\"textDecoration\":\"none\"};\nexport const calciteTypographyLightMinus3h = {\"fontSize\":\"10px\",\"fontWeight\":\"300\",\"lineHeight\":\"12px\"};\nexport const calciteTypographyLightMinus2h = {\"fontSize\":\"12px\",\"fontWeight\":\"300\"};\nexport const calciteTypographyLightMinus1h = {\"fontWeight\":\"300\"};\nexport const calciteTypographyLight0h = {\"fontSize\":\"16px\",\"fontWeight\":\"300\",\"lineHeight\":\"20px\"};\nexport const calciteTypographyLight1h = {\"fontSize\":\"18px\",\"fontWeight\":\"300\",\"lineHeight\":\"24px\"};\nexport const calciteTypographyRegularMinus3h = {\"lineHeight\":\"12px\",\"fontSize\":\"10px\"};\nexport const calciteTypographyRegularMinus2h = {\"fontSize\":\"12px\"};\nexport const calciteTypographyRegularMinus1h = {\"fontFamily\":[\"Avenir Next\",\"Avenir\",\"Helvetica Neue\",\"sans-serif\"],\"fontSize\":\"14px\",\"fontWeight\":\"400\",\"letterSpacing\":\"0\",\"lineHeight\":\"16px\",\"paragraphSpacing\":\"4px\",\"textCase\":\"none\",\"textDecoration\":\"none\"};\nexport const calciteTypographyRegular0h = {\"lineHeight\":\"20px\",\"fontSize\":\"16px\"};\nexport const calciteTypographyRegular1h = {\"lineHeight\":\"24px\",\"fontSize\":\"18px\"};\nexport const calciteTypographyMediumMinus3h = {\"fontWeight\":\"500\",\"lineHeight\":\"12px\",\"fontSize\":\"10px\"};\nexport const calciteTypographyMediumMinus2h = {\"fontWeight\":\"500\",\"fontSize\":\"12px\"};\nexport const calciteTypographyMediumMinus1h = {\"fontWeight\":\"500\"};\nexport const calciteTypographyMedium0h = {\"fontWeight\":\"500\",\"lineHeight\":\"20px\",\"fontSize\":\"16px\"};\nexport const calciteTypographyMedium1h = {\"fontWeight\":\"500\",\"lineHeight\":\"24px\",\"fontSize\":\"18px\"};\nexport const calciteTypographyBoldMinus3h = {\"fontWeight\":\"600\",\"lineHeight\":\"12px\",\"fontSize\":\"10px\"};\nexport const calciteTypographyBoldMinus2h = {\"fontWeight\":\"600\",\"fontSize\":\"12px\"};\nexport const calciteTypographyBoldMinus1h = {\"fontWeight\":\"600\"};\nexport const calciteTypographyBold0h = {\"fontWeight\":\"600\",\"lineHeight\":\"20px\",\"fontSize\":\"16px\"};\nexport const calciteTypographyBold1h = {\"fontWeight\":\"600\",\"lineHeight\":\"24px\",\"fontSize\":\"18px\"};\nexport const calciteTypographyWrapLight0 = {\"fontWeight\":\"300\",\"lineHeight\":\"137.5%\",\"fontSize\":\"16px\"};\nexport const calciteTypographyWrapLight1 = {\"fontWeight\":\"300\",\"lineHeight\":\"137.5%\",\"fontSize\":\"18px\"};\nexport const calciteTypographyWrapLight2 = {\"fontWeight\":\"300\",\"lineHeight\":\"137.5%\",\"fontSize\":\"20px\"};\nexport const calciteTypographyWrapLight3 = {\"fontWeight\":\"300\",\"lineHeight\":\"125%\",\"fontSize\":\"24px\"};\nexport const calciteTypographyWrapLightMinus2 = {\"fontWeight\":\"300\",\"lineHeight\":\"137.5%\",\"fontSize\":\"12px\"};\nexport const calciteTypographyWrapLightMinus1 = {\"fontWeight\":\"300\",\"lineHeight\":\"137.5%\"};\nexport const calciteTypographyWrapRegular0 = {\"lineHeight\":\"137.5%\",\"fontSize\":\"16px\"};\nexport const calciteTypographyWrapRegular1 = {\"lineHeight\":\"137.5%\",\"fontSize\":\"18px\"};\nexport const calciteTypographyWrapRegular2 = {\"lineHeight\":\"137.5%\",\"fontSize\":\"20px\"};\nexport const calciteTypographyWrapRegular3 = {\"lineHeight\":\"137.5%\",\"fontSize\":\"24px\"};\nexport const calciteTypographyWrapRegularMinus2 = {\"lineHeight\":\"137.5%\",\"fontSize\":\"12px\"};\nexport const calciteTypographyWrapRegularMinus1 = {\"lineHeight\":\"137.5%\"};\nexport const calciteTypographyWrapMedium0 = {\"fontWeight\":\"500\",\"lineHeight\":\"137.5%\",\"fontSize\":\"16px\"};\nexport const calciteTypographyWrapMedium1 = {\"fontWeight\":\"500\",\"lineHeight\":\"137.5%\",\"fontSize\":\"18px\"};\nexport const calciteTypographyWrapMedium2 = {\"fontWeight\":\"500\",\"lineHeight\":\"137.5%\",\"fontSize\":\"20px\"};\nexport const calciteTypographyWrapMedium3 = {\"fontWeight\":\"500\",\"lineHeight\":\"137.5%\",\"fontSize\":\"24px\"};\nexport const calciteTypographyWrapMediumMinus2 = {\"fontWeight\":\"500\",\"lineHeight\":\"137.5%\",\"fontSize\":\"12px\"};\nexport const calciteTypographyWrapMediumMinus1 = {\"fontWeight\":\"500\",\"lineHeight\":\"137.5%\"};\nexport const calciteTypographyWrapBold0 = {\"fontWeight\":\"600\",\"lineHeight\":\"137.5%\",\"fontSize\":\"16px\"};\nexport const calciteTypographyWrapBold1 = {\"fontWeight\":\"600\",\"lineHeight\":\"137.5%\",\"fontSize\":\"18px\"};\nexport const calciteTypographyWrapBold2 = {\"fontWeight\":\"600\",\"lineHeight\":\"137.5%\",\"fontSize\":\"20px\"};\nexport const calciteTypographyWrapBold3 = {\"fontWeight\":\"600\",\"lineHeight\":\"137.5%\",\"fontSize\":\"24px\"};\nexport const calciteTypographyWrapBoldMinus2 = {\"fontWeight\":\"600\",\"lineHeight\":\"137.5%\",\"fontSize\":\"12px\"};\nexport const calciteTypographyWrapBoldMinus1 = {\"fontWeight\":\"600\",\"lineHeight\":\"137.5%\"};\nexport const calciteTypographyHierarchyDisplay1 = {\"fontWeight\":\"600\",\"lineHeight\":\"137.5%\",\"fontSize\":\"24px\"};\nexport const calciteTypographyHierarchyDisplay2 = {\"fontWeight\":\"600\",\"lineHeight\":\"137.5%\",\"fontSize\":\"20px\"};\nexport const calciteTypographyHierarchyHeading1 = {\"fontWeight\":\"500\",\"lineHeight\":\"137.5%\",\"fontSize\":\"24px\"};\nexport const calciteTypographyHierarchyHeading2 = {\"fontWeight\":\"500\",\"lineHeight\":\"137.5%\",\"fontSize\":\"20px\"};\nexport const calciteTypographyHierarchyHeading3 = {\"fontWeight\":\"500\",\"lineHeight\":\"137.5%\",\"fontSize\":\"18px\"};\nexport const calciteTypographyHierarchyHeading4 = {\"fontWeight\":\"500\",\"lineHeight\":\"137.5%\",\"fontSize\":\"16px\"};\nexport const calciteTypographyHierarchyHeading5 = {\"fontWeight\":\"500\",\"lineHeight\":\"137.5%\"};\nexport const calciteTypographyHierarchyBodySnug = {\"lineHeight\":\"137.5%\"};\nexport const calciteTypographyHierarchyBody = {\"fontFamily\":[\"Avenir Next\",\"Avenir\",\"Helvetica Neue\",\"sans-serif\"],\"fontSize\":\"14px\",\"fontWeight\":\"400\",\"letterSpacing\":\"0\",\"lineHeight\":\"16px\",\"paragraphSpacing\":\"4px\",\"textCase\":\"none\",\"textDecoration\":\"none\"};\nexport const calciteTypographyHierarchyOverline = {\"lineHeight\":\"12px\",\"textCase\":\"uppercase\",\"fontWeight\":\"700\"};\nexport const calciteTypographyHierarchyCaption = {\"lineHeight\":\"137.5%\",\"fontSize\":\"12px\"};\nexport const calciteZIndexDeep = \"-999999\";\nexport const calciteZIndex = \"1\";\nexport const calciteZIndexSticky = \"300\";\nexport const calciteZIndexHeader = \"400\";\nexport const calciteZIndexToast = \"500\";\nexport const calciteZIndexDropdown = \"600\";\nexport const calciteZIndexOverlay = \"700\";\nexport const calciteZIndexModal = \"800\";\nexport const calciteZIndexPopup = \"900\";\nexport const calciteZIndexTooltip = \"901\";\n","import {\n calciteContainerSizeWidthLg,\n calciteContainerSizeWidthMd,\n calciteContainerSizeWidthSm,\n calciteContainerSizeWidthXs,\n calciteContainerSizeWidthXxs,\n} from \"@esri/calcite-design-tokens/dist/es6/global\";\n\nexport interface Breakpoints {\n width: {\n large: number;\n medium: number;\n small: number;\n xsmall: number;\n xxsmall: number;\n };\n}\n\n/**\n * A breakpoints lookup object.\n */\nexport const breakpoints: Breakpoints = {\n width: {\n large: cssLengthToNumber(calciteContainerSizeWidthLg.max),\n medium: cssLengthToNumber(calciteContainerSizeWidthMd.max),\n small: cssLengthToNumber(calciteContainerSizeWidthSm.max),\n xsmall: cssLengthToNumber(calciteContainerSizeWidthXs.max),\n xxsmall: cssLengthToNumber(calciteContainerSizeWidthXxs.max),\n },\n};\n\nfunction cssLengthToNumber(length: string): number {\n return parseInt(length);\n}\n","export const CSS = {\n page: \"page\",\n selected: \"selected\",\n chevron: \"chevron\",\n disabled: \"disabled\",\n ellipsis: \"ellipsis\",\n};\n\nexport const ICONS = {\n next: \"chevron-right\",\n previous: \"chevron-left\",\n first: \"chevron-start\",\n last: \"chevron-end\",\n};\n",":host {\n @apply flex;\n writing-mode: horizontal-tb;\n}\n\n:host([scale=\"s\"]) {\n & .chevron,\n & .page,\n & .ellipsis {\n @apply text-n2h h-6 px-1;\n min-inline-size: theme(\"width.6\");\n }\n}\n\n:host([scale=\"m\"]) {\n & .chevron,\n & .page,\n & .ellipsis {\n @apply text-n1h h-8 px-2;\n min-inline-size: theme(\"width.8\");\n }\n}\n\n:host([scale=\"l\"]) {\n & .chevron,\n & .page,\n & .ellipsis {\n @apply text-0h h-11;\n min-inline-size: theme(\"width.11\");\n }\n\n & .chevron {\n @apply px-2.5;\n }\n\n & .page,\n & .ellipsis {\n @apply px-3;\n }\n}\n\n// focus styles\n:host button {\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\n}\n\n.chevron,\n.page,\n.ellipsis {\n @apply p-0\n m-0\n text-0h\n text-color-3\n font-inherit\n box-border\n flex\n items-center\n border-none\n border-opacity-0\n justify-center\n align-baseline\n bg-transparent;\n}\n\n.chevron,\n.page {\n @apply cursor-pointer;\n border-block: 2px solid transparent;\n\n &:hover {\n @apply text-color-1 transition-default;\n }\n}\n\n.page {\n &:hover {\n @apply border-b-color-2;\n }\n &.selected {\n @apply text-color-1 border-b-color-brand font-medium;\n }\n}\n\n.chevron {\n &:hover {\n @apply bg-foreground-2;\n color: theme(\"backgroundColor.brand\");\n }\n &:active {\n @apply bg-foreground-3;\n }\n &.disabled {\n @apply pointer-events-none bg-transparent;\n & > calcite-icon {\n @apply opacity-disabled;\n }\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n connectLocalized,\n disconnectLocalized,\n LocalizedComponent,\n NumberingSystem,\n numberStringFormatter,\n} from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Scale } from \"../interfaces\";\nimport { createObserver } from \"../../utils/observers\";\nimport { breakpoints } from \"../../utils/responsive\";\nimport { getIconScale } from \"../../utils/component\";\nimport { CSS, ICONS } from \"./resources\";\nimport { PaginationMessages } from \"./assets/pagination/t9n\";\n\nexport interface PaginationDetail {\n start: number;\n totalItems: number;\n startItem: number;\n}\n\nconst firstAndLastPageCount = 2;\nconst ellipsisCount = 2;\n\nconst maxItemBreakpoints = {\n large: 11,\n medium: 9,\n small: 7,\n xsmall: 5,\n xxsmall: 1,\n};\n\n@Component({\n tag: \"calcite-pagination\",\n styleUrl: \"pagination.scss\",\n shadow: {\n delegatesFocus: true,\n },\n assetsDirs: [\"assets\"],\n})\nexport class Pagination\n implements LocalizedComponent, LocalizedComponent, LoadableComponent, T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, number values are displayed with a group separator corresponding to the language and country format.\n */\n @Prop({ reflect: true }) groupSeparator = false;\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: PaginationMessages;\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<PaginationMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * Specifies the Unicode numeral system used by the component for localization.\n */\n @Prop() numberingSystem: NumberingSystem;\n\n /** Specifies the number of items per page. */\n @Prop({ mutable: true, reflect: true }) pageSize = 20;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the starting item number. */\n @Prop({ mutable: true, reflect: true }) startItem = 1;\n\n /** Specifies the total number of items. */\n @Prop({ reflect: true }) totalItems = 0;\n\n @Watch(\"totalItems\")\n @Watch(\"pageSize\")\n handleTotalPages(): void {\n if (this.pageSize < 1) {\n this.pageSize = 1;\n }\n this.totalPages = this.totalItems / this.pageSize;\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalcitePaginationElement;\n\n @State() defaultMessages: PaginationMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleWatcher(): void {\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator,\n };\n }\n\n @State() maxItems = maxItemBreakpoints.xxsmall;\n\n @State() totalPages: number;\n\n @State() lastStartItem: number;\n\n @Watch(\"totalItems\")\n @Watch(\"pageSize\")\n @Watch(\"totalPages\")\n handleLastStartItemChange(): void {\n const { totalItems, pageSize, totalPages } = this;\n\n this.lastStartItem =\n (totalItems % pageSize === 0 ? totalItems - pageSize : Math.floor(totalPages) * pageSize) + 1;\n }\n\n @State() isXXSmall: boolean;\n\n @Watch(\"maxItems\")\n handleIsXXSmall(): void {\n this.isXXSmall = this.maxItems === maxItemBreakpoints.xxsmall;\n }\n\n private resizeObserver = createObserver(\"resize\", (entries) =>\n entries.forEach(this.resizeHandler),\n );\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Emits when the selected page changes.\n */\n @Event({ cancelable: false }) calcitePaginationChange: EventEmitter<void>;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n this.resizeObserver?.observe(this.el);\n }\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n setUpLoadableComponent(this);\n this.handleTotalPages();\n this.handleLastStartItemChange();\n this.handleIsXXSmall();\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n this.setMaxItemsToBreakpoint(this.el.clientWidth);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectMessages(this);\n this.resizeObserver?.disconnect();\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 /** Go to the next page of results. */\n @Method()\n async nextPage(): Promise<void> {\n this.startItem = Math.min(this.lastStartItem, this.startItem + this.pageSize);\n }\n\n /** Go to the previous page of results. */\n @Method()\n async previousPage(): Promise<void> {\n this.startItem = Math.max(1, this.startItem - this.pageSize);\n }\n\n /**\n * Set a specified page as active.\n *\n * @param page\n */\n @Method()\n async goTo(page: number | \"start\" | \"end\"): Promise<void> {\n switch (page) {\n case \"start\":\n this.startItem = 1;\n break;\n case \"end\":\n this.startItem = this.lastStartItem;\n break;\n default: {\n if (page >= Math.ceil(this.totalPages)) {\n this.startItem = this.lastStartItem;\n } else if (page <= 0) {\n this.startItem = 1;\n } else {\n this.startItem = (page - 1) * this.pageSize + 1;\n }\n }\n }\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private setMaxItemsToBreakpoint(width: number): void {\n if (!breakpoints || !width) {\n return;\n }\n\n if (width >= breakpoints.width.medium) {\n this.maxItems = maxItemBreakpoints.large;\n return;\n }\n\n if (width >= breakpoints.width.small) {\n this.maxItems = maxItemBreakpoints.medium;\n return;\n }\n\n if (width >= breakpoints.width.xsmall) {\n this.maxItems = maxItemBreakpoints.small;\n return;\n }\n\n if (width >= breakpoints.width.xxsmall) {\n this.maxItems = maxItemBreakpoints.xsmall;\n return;\n }\n\n this.maxItems = maxItemBreakpoints.xxsmall;\n }\n\n private resizeHandler = ({ contentRect: { width } }: ResizeObserverEntry): void =>\n this.setMaxItemsToBreakpoint(width);\n\n private firstClicked = (): void => {\n this.startItem = 1;\n this.emitUpdate();\n };\n\n private lastClicked = (): void => {\n this.startItem = this.lastStartItem;\n this.emitUpdate();\n };\n\n private previousClicked = async (): Promise<void> => {\n await this.previousPage();\n this.emitUpdate();\n };\n\n private nextClicked = async (): Promise<void> => {\n await this.nextPage();\n this.emitUpdate();\n };\n\n private showStartEllipsis() {\n return (\n this.totalPages > this.maxItems &&\n Math.floor(this.startItem / this.pageSize) >\n this.maxItems - firstAndLastPageCount - ellipsisCount\n );\n }\n\n private showEndEllipsis() {\n return (\n this.totalPages > this.maxItems &&\n (this.totalItems - this.startItem) / this.pageSize >\n this.maxItems - firstAndLastPageCount - (ellipsisCount - 1)\n );\n }\n\n private emitUpdate() {\n this.calcitePaginationChange.emit();\n }\n\n private handlePageClick = (event: Event) => {\n const target = event.target as HTMLButtonElement;\n this.startItem = parseInt(target.value, 10);\n this.emitUpdate();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderEllipsis(type: \"start\" | \"end\"): VNode {\n return (\n <span class={CSS.ellipsis} data-test-ellipsis={type} key={type}>\n …\n </span>\n );\n }\n\n renderItems(): VNode[] {\n const { totalItems, pageSize, startItem, maxItems, totalPages, lastStartItem, isXXSmall } =\n this;\n\n const items: VNode[] = [];\n\n if (isXXSmall) {\n items.push(this.renderPage(startItem));\n return items;\n }\n\n const renderFirstPage = totalItems > pageSize;\n const renderStartEllipsis = this.showStartEllipsis();\n const renderEndEllipsis = this.showEndEllipsis();\n\n if (renderFirstPage) {\n items.push(this.renderPage(1));\n }\n\n if (renderStartEllipsis) {\n items.push(this.renderEllipsis(\"start\"));\n }\n\n const remainingItems =\n maxItems -\n firstAndLastPageCount -\n (renderEndEllipsis ? 1 : 0) -\n (renderStartEllipsis ? 1 : 0);\n\n let end: number;\n let nextStart: number;\n\n // if we don't need ellipses render the whole set\n if (totalPages - 1 <= remainingItems) {\n nextStart = 1 + pageSize;\n end = lastStartItem - pageSize;\n } else {\n // if we're within max pages of page 1\n if (startItem / pageSize < remainingItems) {\n nextStart = 1 + pageSize;\n end = 1 + remainingItems * pageSize;\n } else {\n // if we're within max pages of last page\n if (startItem + remainingItems * pageSize >= totalItems) {\n nextStart = lastStartItem - remainingItems * pageSize;\n end = lastStartItem - pageSize;\n } else {\n // if we're within the center pages\n nextStart = startItem - pageSize * ((remainingItems - 1) / 2);\n end = startItem + pageSize * ((remainingItems - 1) / 2);\n }\n }\n }\n\n for (let i = 0; i < remainingItems && nextStart <= end; i++) {\n items.push(this.renderPage(nextStart));\n nextStart = nextStart + pageSize;\n }\n\n if (renderEndEllipsis) {\n items.push(this.renderEllipsis(\"end\"));\n }\n\n items.push(this.renderPage(lastStartItem));\n\n return items;\n }\n\n renderPage(start: number): VNode {\n const { pageSize } = this;\n const page = Math.floor(start / pageSize) + (pageSize === 1 ? 0 : 1);\n\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator,\n };\n\n const displayedPage = numberStringFormatter.localize(page.toString());\n const selected = start === this.startItem;\n\n return (\n <button\n aria-current={selected ? \"page\" : \"false\"}\n class={{\n [CSS.page]: true,\n [CSS.selected]: selected,\n }}\n onClick={this.handlePageClick}\n value={start}\n >\n {displayedPage}\n </button>\n );\n }\n\n renderPreviousChevron(): VNode {\n const { pageSize, startItem, messages } = this;\n\n const disabled = pageSize === 1 ? startItem <= pageSize : startItem < pageSize;\n\n return (\n <button\n aria-label={messages.previous}\n class={{\n [CSS.chevron]: true,\n [CSS.disabled]: disabled,\n }}\n data-test-chevron=\"previous\"\n disabled={disabled}\n key=\"previous\"\n onClick={this.previousClicked}\n >\n <calcite-icon flipRtl icon={ICONS.previous} scale={getIconScale(this.scale)} />\n </button>\n );\n }\n\n renderNextChevron(): VNode {\n const { totalItems, pageSize, startItem, messages } = this;\n\n const disabled =\n pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;\n\n return (\n <button\n aria-label={messages.next}\n class={{\n [CSS.chevron]: true,\n [CSS.disabled]: disabled,\n }}\n data-test-chevron=\"next\"\n disabled={disabled}\n key=\"next-button\"\n onClick={this.nextClicked}\n >\n <calcite-icon flipRtl icon={ICONS.next} scale={getIconScale(this.scale)} />\n </button>\n );\n }\n\n renderFirstChevron(): VNode {\n const { messages, startItem, isXXSmall } = this;\n\n const disabled = startItem === 1;\n\n return isXXSmall ? (\n <button\n aria-label={messages.first}\n class={{\n [CSS.chevron]: true,\n [CSS.disabled]: disabled,\n }}\n disabled={disabled}\n key=\"first-button\"\n onClick={this.firstClicked}\n >\n <calcite-icon flipRtl icon={ICONS.first} scale={getIconScale(this.scale)} />\n </button>\n ) : null;\n }\n\n renderLastChevron(): VNode {\n const { messages, startItem, isXXSmall, lastStartItem } = this;\n\n const disabled = startItem === lastStartItem;\n\n return isXXSmall ? (\n <button\n aria-label={messages.last}\n class={{\n [CSS.chevron]: true,\n [CSS.disabled]: disabled,\n }}\n disabled={disabled}\n key=\"last-button\"\n onClick={this.lastClicked}\n >\n <calcite-icon flipRtl icon={ICONS.last} scale={getIconScale(this.scale)} />\n </button>\n ) : null;\n }\n\n render(): VNode {\n return (\n <Fragment>\n {this.renderFirstChevron()}\n {this.renderPreviousChevron()}\n {this.renderItems()}\n {this.renderNextChevron()}\n {this.renderLastChevron()}\n </Fragment>\n );\n }\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,c as t,h as i,g as s}from"./p-e48d006d.js";import{c as a,u as c,d as n,I as o}from"./p-ae04d854.js";import{c as r}from"./p-2fec90cc.js";import{k as l}from"./p-99726b90.js";import"./p-c5966b3e.js";import"./p-c26dde6d.js";import"./p-57e21d44.js";const h={container:"container"};const d=":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{box-sizing:border-box;display:inline-block}:host ::slotted(calcite-tile){margin-block-end:var(--calcite-spacing-px);margin-inline-end:var(--calcite-spacing-px)}.container{display:grid;grid-auto-rows:minmax(auto, 1fr)}:host([scale=s]) .container{grid-template-columns:repeat(auto-fit, minmax(100px, 1fr))}:host([scale=m]) .container{grid-template-columns:repeat(auto-fit, minmax(140px, 1fr))}:host([scale=l]) .container{grid-template-columns:repeat(auto-fit, minmax(160px, 1fr))}:host([layout=vertical]) .container{display:flex;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const p=d;const f=class{constructor(i){e(this,i);this.calciteTileGroupSelect=t(this,"calciteTileGroupSelect",6);this.items=[];this.getSlottedTiles=()=>this.slotEl?.assignedElements({flatten:true}).filter((e=>e?.matches("calcite-tile")));this.mutationObserver=r("mutation",(()=>this.updateTiles()));this.selectItem=e=>{if(!e){return}this.items?.forEach((t=>{const i=e===t;switch(this.selectionMode){case"multiple":if(i){t.selected=!t.selected}break;case"single":t.selected=i&&!t.selected;break;case"single-persist":t.selected=!!i;break}}));this.updateSelectedItems();this.calciteTileGroupSelect.emit()};this.setSlotEl=e=>{this.slotEl=e};this.updateSelectedItems=()=>{const e=this.items?.filter((e=>e.selected));if((this.selectionMode==="single"||this.selectionMode==="single-persist")&&e?.length>1){this.selectedItems=[e.pop()];this.items?.forEach((e=>{if(this.selectedItems.indexOf(e)===-1){e.selected=false}}))}else{this.selectedItems=e??[]}};this.updateTiles=()=>{this.items=this.getSlottedTiles();this.items?.forEach((e=>{e.alignment=this.alignment;e.interactive=true;e.layout=this.layout;e.scale=this.scale;e.selectionAppearance=this.selectionAppearance;e.selectionMode=this.selectionMode}));this.updateSelectedItems()};this.alignment="start";this.disabled=false;this.label=undefined;this.layout="horizontal";this.scale="m";this.selectedItems=[];this.selectionAppearance="icon";this.selectionMode="none"}scaleWatcher(){this.updateTiles()}handleSelectionModeOrAppearanceChange(){this.updateTiles()}connectedCallback(){a(this);this.mutationObserver?.observe(this.el,{childList:true});this.updateTiles()}componentDidRender(){c(this)}disconnectedCallback(){n(this);this.mutationObserver?.disconnect()}calciteInternalTileKeyEventListener(e){if(e.composedPath().includes(this.el)){e.preventDefault();e.stopPropagation();const t=this.items?.filter((e=>!e.disabled));switch(e.detail.key){case"ArrowDown":case"ArrowRight":l(t,e.detail.target,"next");break;case"ArrowUp":case"ArrowLeft":l(t,e.detail.target,"previous");break;case"Home":l(t,e.detail.target,"first");break;case"End":l(t,e.detail.target,"last");break}}}calciteTileSelectHandler(e){if(e.composedPath().includes(this.el)){this.selectItem(e.target)}}render(){const e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return i(o,{key:"75c2bdc0d4eedf5ff3b6af4881c6a688c71d71a7",disabled:this.disabled},i("div",{key:"6980b132d7e813def95c9f5e2be8b9d6bc7f3320","aria-label":this.label,class:h.container,role:e},i("slot",{key:"a18f2bde015d09f44ae86973dd2622796655da67",onSlotchange:this.updateTiles,ref:this.setSlotEl})))}get el(){return s(this)}static get watchers(){return{scale:["scaleWatcher"],selectionMode:["handleSelectionModeOrAppearanceChange"],selectionAppearance:["handleSelectionModeOrAppearanceChange"]}}};f.style=p;export{f as calcite_tile_group};
|
|
7
|
+
//# sourceMappingURL=p-fbb63962.entry.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
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.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,c as t,h as s,g as i}from"./p-e48d006d.js";import{s as a,k as c,t as n}from"./p-99726b90.js";import{c as h,d as o,u as r,I as l}from"./p-ae04d854.js";import{a as d,s as p,c as f}from"./p-bf0746a3.js";import"./p-c26dde6d.js";import"./p-57e21d44.js";import"./p-c5966b3e.js";import"./p-ae81e665.js";const b=":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}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:0.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:0.25rem}:host([scale=l]) .container{gap:0.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const u=b;const m=class{constructor(s){e(this,s);this.calciteChipGroupSelect=t(this,"calciteChipGroupSelect",6);this.items=[];this.updateItems=e=>{const t=this.slotRefEl?.assignedElements({flatten:true}).filter((e=>e?.matches("calcite-chip")));this.items=!e?t:a(e);if(this.items?.length<1){return}this.items?.forEach((e=>{e.interactive=true;e.scale=this.scale;e.selectionMode=this.selectionMode;e.parentChipGroup=this.el}));this.setSelectedItems(false)};this.updateSelectedItems=()=>{this.selectedItems=this.items?.filter((e=>e.selected))};this.setSelectedItems=(e,t)=>{if(t){this.items?.forEach((e=>{const s=t===e;switch(this.selectionMode){case"multiple":if(s){e.selected=!e.selected}break;case"single":e.selected=s?!e.selected:false;break;case"single-persist":e.selected=!!s;break}}))}this.updateSelectedItems();if(e){this.calciteChipGroupSelect.emit()}};this.disabled=false;this.label=undefined;this.scale="m";this.selectionMode="none";this.selectedItems=[]}onSelectionModeChange(){this.updateItems()}connectedCallback(){h(this)}componentDidRender(){o(this);r(this)}componentDidLoad(){d(this)}async componentWillLoad(){p(this)}calciteInternalChipKeyEventListener(e){if(e.composedPath().includes(this.el)){const t=this.items?.filter((e=>!e.disabled));switch(e.detail.key){case"ArrowRight":c(t,e.detail.target,"next");break;case"ArrowLeft":c(t,e.detail.target,"previous");break;case"Home":c(t,e.detail.target,"first");break;case"End":c(t,e.detail.target,"last");break}}e.stopPropagation()}calciteChipCloseListener(e){const t=e.target;if(this.items?.includes(t)){if(this.items?.indexOf(t)>0){c(this.items,t,"previous")}else if(this.items?.indexOf(t)===0){c(this.items,t,"next")}else{c(this.items,t,"first")}}this.items=this.items?.filter((e=>e!==t));e.stopPropagation()}calciteChipSelectListener(e){if(e.composedPath().includes(this.el)){this.setSelectedItems(true,e.target)}e.stopPropagation()}calciteInternalChipSelectListener(e){if(e.composedPath().includes(this.el)){this.setSelectedItems(false,e.target)}e.stopPropagation()}calciteInternalSyncSelectedChips(e){if(e.composedPath().includes(this.el)){this.updateSelectedItems();if(this.selectionMode==="single"&&this.selectedItems.length>1){this.setSelectedItems(false,e.target)}}e.stopPropagation()}async setFocus(){await f(this);if(!this.disabled){return(this.selectedItems[0]||this.items[0])?.setFocus()}}render(){const e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";const{disabled:t}=this;return s(l,{key:"341dd9e8f25d4d358ea6e33740d8b851a5fa0e9d",disabled:t},s("div",{key:"66c9eaa00b7ca0c602f94a017f5b6ef6afc3bd93","aria-disabled":n(t),"aria-label":this.label,class:"container",role:e},s("slot",{key:"d62c336c6cdca0bbd5c6673975ae4a25bc8ef9df",onSlotchange:this.updateItems,ref:e=>this.slotRefEl=e})))}get el(){return i(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};m.style=u;export{m as calcite_chip_group};
|
|
7
|
+
//# sourceMappingURL=p-fcf783fe.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["chipGroupCss","CalciteChipGroupStyle0","ChipGroup","this","items","updateItems","event","itemsFromSlot","slotRefEl","assignedElements","flatten","filter","el","matches","slotChangeGetAssignedElements","length","forEach","interactive","scale","selectionMode","parentChipGroup","setSelectedItems","updateSelectedItems","selectedItems","selected","emit","elToMatch","matchingEl","calciteChipGroupSelect","onSelectionModeChange","connectedCallback","connectInteractive","componentDidRender","disconnectInteractive","updateHostInteraction","componentDidLoad","setComponentLoaded","componentWillLoad","setUpLoadableComponent","calciteInternalChipKeyEventListener","composedPath","includes","interactiveItems","disabled","detail","key","focusElementInGroup","target","stopPropagation","calciteChipCloseListener","item","indexOf","calciteChipSelectListener","calciteInternalChipSelectListener","calciteInternalSyncSelectedChips","setFocus","componentFocusable","render","role","h","InteractiveContainer","toAriaBoolean","label","class","onSlotchange","ref"],"sources":["src/components/chip-group/chip-group.scss?tag=calcite-chip-group&encapsulation=shadow","src/components/chip-group/chip-group.tsx"],"sourcesContent":[":host {\n display: flex;\n}\n\n.container {\n display: flex;\n inline-size: 100%;\n flex-wrap: wrap;\n gap: theme(\"spacing.2\");\n}\n\n::slotted(calcite-chip) {\n flex: none;\n}\n\n:host([scale=\"s\"]) .container {\n gap: theme(\"spacing.1\");\n}\n\n:host([scale=\"l\"]) .container {\n gap: theme(\"spacing.3\");\n}\n\n@include disabled();\n@include base-component();\n","import {\n Component,\n h,\n VNode,\n Prop,\n Element,\n Listen,\n EventEmitter,\n Event,\n Method,\n Watch,\n} from \"@stencil/core\";\nimport { focusElementInGroup, slotChangeGetAssignedElements, toAriaBoolean } from \"../../utils/dom\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport {\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n/**\n * @slot - A slot for adding one or more `calcite-chip`s.\n */\n@Component({\n tag: \"calcite-chip-group\",\n styleUrl: \"chip-group.scss\",\n shadow: true,\n})\nexport class ChipGroup implements InteractiveComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Accessible name for the component. */\n @Prop() label!: string;\n\n /** Specifies the size of the component. Child `calcite-chip`s inherit the component's value. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /**\n * Specifies the selection mode of the component, where:\n *\n * `\"multiple\"` allows any number of selections,\n *\n * `\"single\"` allows only one selection,\n *\n * `\"single-persist\"` allows one selection and prevents de-selection, and\n *\n * `\"none\"` does not allow any selections.\n */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"multiple\" | \"single\" | \"single-persist\" | \"none\",\n SelectionMode\n > = \"none\";\n\n @Watch(\"selectionMode\")\n onSelectionModeChange(): void {\n this.updateItems();\n }\n\n /**\n * Specifies the component's selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteChipElement[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteChipGroupElement;\n\n private items: HTMLCalciteChipElement[] = [];\n\n private slotRefEl: HTMLSlotElement;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component's selection changes. */\n @Event({ cancelable: false }) calciteChipGroupSelect: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n }\n\n componentDidRender(): void {\n disconnectInteractive(this);\n updateHostInteraction(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalChipKeyEvent\")\n calciteInternalChipKeyEventListener(event: CustomEvent): void {\n if (event.composedPath().includes(this.el)) {\n const interactiveItems = this.items?.filter((el) => !el.disabled);\n switch (event.detail.key) {\n case \"ArrowRight\":\n focusElementInGroup(interactiveItems, event.detail.target, \"next\");\n break;\n case \"ArrowLeft\":\n focusElementInGroup(interactiveItems, event.detail.target, \"previous\");\n break;\n case \"Home\":\n focusElementInGroup(interactiveItems, event.detail.target, \"first\");\n break;\n case \"End\":\n focusElementInGroup(interactiveItems, event.detail.target, \"last\");\n break;\n }\n }\n event.stopPropagation();\n }\n\n @Listen(\"calciteChipClose\")\n calciteChipCloseListener(event: CustomEvent): void {\n const item = event.target as HTMLCalciteChipElement;\n if (this.items?.includes(item)) {\n if (this.items?.indexOf(item) > 0) {\n focusElementInGroup(this.items, item as HTMLCalciteChipElement, \"previous\");\n } else if (this.items?.indexOf(item) === 0) {\n focusElementInGroup(this.items, item as HTMLCalciteChipElement, \"next\");\n } else {\n focusElementInGroup(this.items, item as HTMLCalciteChipElement, \"first\");\n }\n }\n this.items = this.items?.filter((el) => el !== item);\n event.stopPropagation();\n }\n\n @Listen(\"calciteChipSelect\")\n calciteChipSelectListener(event: CustomEvent): void {\n if (event.composedPath().includes(this.el)) {\n this.setSelectedItems(true, event.target as HTMLCalciteChipElement);\n }\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalChipSelect\")\n calciteInternalChipSelectListener(event: CustomEvent): void {\n if (event.composedPath().includes(this.el)) {\n this.setSelectedItems(false, event.target as HTMLCalciteChipElement);\n }\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalSyncSelectedChips\")\n calciteInternalSyncSelectedChips(event: CustomEvent): void {\n if (event.composedPath().includes(this.el)) {\n this.updateSelectedItems();\n if (this.selectionMode === \"single\" && this.selectedItems.length > 1) {\n this.setSelectedItems(false, event.target as HTMLCalciteChipElement);\n }\n }\n event.stopPropagation();\n }\n\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n\n /**\n * Sets focus on the component's first focusable element.\n */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n if (!this.disabled) {\n return (this.selectedItems[0] || this.items[0])?.setFocus();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private updateItems = (event?: Event): void => {\n const itemsFromSlot = this.slotRefEl\n ?.assignedElements({ flatten: true })\n .filter((el) => el?.matches(\"calcite-chip\")) as HTMLCalciteChipElement[];\n\n this.items = !event\n ? itemsFromSlot\n : (slotChangeGetAssignedElements(event) as HTMLCalciteChipElement[]);\n\n if (this.items?.length < 1) {\n return;\n }\n\n this.items?.forEach((el) => {\n el.interactive = true;\n el.scale = this.scale;\n el.selectionMode = this.selectionMode;\n el.parentChipGroup = this.el;\n });\n\n this.setSelectedItems(false);\n };\n\n private updateSelectedItems = (): void => {\n this.selectedItems = this.items?.filter((el) => el.selected);\n };\n\n private setSelectedItems = (emit: boolean, elToMatch?: HTMLCalciteChipElement): void => {\n if (elToMatch) {\n this.items?.forEach((el) => {\n const matchingEl = elToMatch === el;\n switch (this.selectionMode) {\n case \"multiple\":\n if (matchingEl) {\n el.selected = !el.selected;\n }\n break;\n\n case \"single\":\n el.selected = matchingEl ? !el.selected : false;\n break;\n\n case \"single-persist\":\n el.selected = !!matchingEl;\n break;\n }\n });\n }\n\n this.updateSelectedItems();\n\n if (emit) {\n this.calciteChipGroupSelect.emit();\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n const role =\n this.selectionMode === \"none\" || this.selectionMode === \"multiple\" ? \"group\" : \"radiogroup\";\n const { disabled } = this;\n\n return (\n <InteractiveContainer disabled={disabled}>\n <div\n aria-disabled={toAriaBoolean(disabled)}\n aria-label={this.label}\n class=\"container\"\n role={role}\n >\n <slot\n onSlotchange={this.updateItems}\n ref={(el) => (this.slotRefEl = el as HTMLSlotElement)}\n />\n </div>\n </InteractiveContainer>\n );\n }\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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.20
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,h as e,H as n}from"./p-e48d006d.js";import{b as s}from"./p-99726b90.js";import{S as i,C as c}from"./p-a1729828.js";import"./p-c26dde6d.js";import"./p-57e21d44.js";const o=":host([disabled]) .content{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, 0.75rem);padding-block:var(--calcite-stack-padding-block, 0.5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}";const a=o;const l=class{constructor(e){t(this,e);this.handleActionsStartSlotChange=t=>{this.hasActionsStart=s(t)};this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=s(t)};this.handleContentStartSlotChange=t=>{this.hasContentStart=s(t)};this.handleContentEndSlotChange=t=>{this.hasContentEnd=s(t)};this.disabled=false;this.hasActionsStart=false;this.hasActionsEnd=false;this.hasContentStart=false;this.hasContentEnd=false}renderActionsStart(){const{hasActionsStart:t}=this;return e("div",{class:c.actionsStart,hidden:!t,key:"actions-start-container"},e("slot",{name:i.actionsStart,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{hasActionsEnd:t}=this;return e("div",{class:c.actionsEnd,hidden:!t,key:"actions-end-container"},e("slot",{name:i.actionsEnd,onSlotchange:this.handleActionsEndSlotChange}))}renderContentStart(){const{hasContentStart:t}=this;return e("div",{class:c.contentStart,hidden:!t},e("slot",{name:i.contentStart,onSlotchange:this.handleContentStartSlotChange}))}renderDefaultContent(){return e("div",{class:c.content},e("slot",null))}renderContentEnd(){const{hasContentEnd:t}=this;return e("div",{class:c.contentEnd,hidden:!t},e("slot",{name:i.contentEnd,onSlotchange:this.handleContentEndSlotChange}))}render(){return e(n,{key:"f8d423aff1f3991e45cf591bd0480537cc09f846"},e("div",{key:"6c8e70bc5cced152dde2592c2b6f1f28695de681",class:c.container},this.renderActionsStart(),this.renderContentStart(),this.renderDefaultContent(),this.renderContentEnd(),this.renderActionsEnd()))}};l.style=a;export{l as calcite_stack};
|
|
7
|
+
//# sourceMappingURL=p-fe77f56d.entry.js.map
|
package/dist/calcite-preset.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
5
|
*/
|
|
6
6
|
import flattenColorPalette from "tailwindcss/lib/util/flattenColorPalette";
|
|
7
7
|
import plugin from "tailwindcss/plugin";
|