@esri/calcite-components 2.9.0-next.2 → 2.9.0-next.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/assets/icon/binary16.json +1 -0
- package/dist/calcite/assets/icon/binary24.json +1 -0
- package/dist/calcite/assets/icon/binary32.json +1 -0
- package/dist/calcite/assets/icon/brackets16.json +1 -0
- package/dist/calcite/assets/icon/brackets24.json +1 -0
- package/dist/calcite/assets/icon/brackets32.json +1 -0
- package/dist/calcite/assets/icon/developerCredentials16.json +1 -0
- package/dist/calcite/assets/icon/developerCredentials24.json +1 -0
- package/dist/calcite/assets/icon/developerCredentials32.json +1 -0
- package/dist/calcite/assets/icon/modifyAssociations16.json +1 -0
- package/dist/calcite/assets/icon/modifyAssociations24.json +1 -0
- package/dist/calcite/assets/icon/modifyAssociations32.json +1 -0
- package/dist/calcite/assets/icon/pasteWithAttribute16.json +1 -0
- package/dist/calcite/assets/icon/pasteWithAttribute24.json +1 -0
- package/dist/calcite/assets/icon/pasteWithAttribute32.json +1 -0
- package/dist/calcite/assets/icon/pasteWithoutAttribute16.json +1 -0
- package/dist/calcite/assets/icon/pasteWithoutAttribute24.json +1 -0
- package/dist/calcite/assets/icon/pasteWithoutAttribute32.json +1 -0
- package/dist/calcite/assets/icon/subFields16.json +1 -0
- package/dist/calcite/assets/icon/subFields24.json +1 -0
- package/dist/calcite/assets/icon/subFields32.json +1 -0
- package/dist/calcite/assets/icon/utilityNetwork16.json +1 -0
- package/dist/calcite/assets/icon/utilityNetwork24.json +1 -0
- package/dist/calcite/assets/icon/utilityNetwork32.json +1 -0
- package/dist/calcite/assets/icon/validateUtilityNetworkTopology16.json +1 -0
- package/dist/calcite/assets/icon/validateUtilityNetworkTopology24.json +1 -0
- package/dist/calcite/assets/icon/validateUtilityNetworkTopology32.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00fb4b18.js +7 -0
- package/dist/calcite/p-01a0ded2.entry.js +7 -0
- package/dist/calcite/p-01a0ded2.entry.js.map +1 -0
- package/dist/calcite/p-02f20832.js +7 -0
- package/dist/calcite/p-03e7828b.js +7 -0
- package/dist/calcite/p-045f7080.entry.js +7 -0
- package/dist/calcite/p-04827dbc.entry.js +7 -0
- package/dist/calcite/p-04827dbc.entry.js.map +1 -0
- package/dist/calcite/p-0524c890.entry.js +7 -0
- package/dist/calcite/p-0524c890.entry.js.map +1 -0
- package/dist/calcite/p-0592bb74.js +7 -0
- package/dist/calcite/p-06264a70.js +7 -0
- package/dist/calcite/p-0675423d.entry.js +7 -0
- package/dist/calcite/p-068f8baa.js +7 -0
- package/dist/calcite/p-068f8baa.js.map +1 -0
- package/dist/calcite/p-0af75a98.js +7 -0
- package/dist/calcite/p-0af75a98.js.map +1 -0
- package/dist/calcite/p-0b321c90.entry.js +7 -0
- package/dist/calcite/p-0b321c90.entry.js.map +1 -0
- package/dist/calcite/p-0b425650.entry.js +7 -0
- package/dist/calcite/p-0cb0ffad.entry.js +7 -0
- package/dist/calcite/p-0cb0ffad.entry.js.map +1 -0
- package/dist/calcite/p-0d38002d.js +7 -0
- package/dist/calcite/p-0e14f6ba.js +7 -0
- package/dist/calcite/p-0fbdc961.entry.js +7 -0
- package/dist/calcite/p-0fbdc961.entry.js.map +1 -0
- package/dist/calcite/p-0ff6396a.entry.js +7 -0
- package/dist/calcite/p-0ff6396a.entry.js.map +1 -0
- package/dist/calcite/p-1135c383.entry.js +7 -0
- package/dist/calcite/p-1135c383.entry.js.map +1 -0
- package/dist/calcite/p-137cb2d8.js +7 -0
- package/dist/calcite/p-14d42338.entry.js +7 -0
- package/dist/calcite/p-154f3f26.entry.js +7 -0
- package/dist/calcite/p-154f3f26.entry.js.map +1 -0
- package/dist/calcite/p-17b10f97.entry.js +7 -0
- package/dist/calcite/p-17b10f97.entry.js.map +1 -0
- package/dist/calcite/p-1a5a3816.js +7 -0
- package/dist/calcite/p-1b66a670.js +7 -0
- package/dist/calcite/p-1befc448.entry.js +7 -0
- package/dist/calcite/p-216d3475.js +7 -0
- package/dist/calcite/p-23562709.js +13 -0
- package/dist/calcite/p-23e6adeb.entry.js +7 -0
- package/dist/calcite/p-27b469a5.js +7 -0
- package/dist/calcite/p-27e6101c.entry.js +7 -0
- package/dist/calcite/p-28d72f23.js +7 -0
- package/dist/calcite/p-2cf00d1c.entry.js +7 -0
- package/dist/calcite/p-2e65afe6.js +7 -0
- package/dist/calcite/p-2ed6a191.entry.js +7 -0
- package/dist/calcite/p-2ed6a191.entry.js.map +1 -0
- package/dist/calcite/p-2fec90cc.js +7 -0
- package/dist/calcite/p-300037e0.js +7 -0
- package/dist/calcite/p-30d8205f.entry.js +7 -0
- package/dist/calcite/p-30d8205f.entry.js.map +1 -0
- package/dist/calcite/p-323499c6.js +7 -0
- package/dist/calcite/p-33936156.entry.js +7 -0
- package/dist/calcite/p-33987720.js +7 -0
- package/dist/calcite/p-34b88712.js +7 -0
- package/dist/calcite/p-387e481e.entry.js +7 -0
- package/dist/calcite/p-387e481e.entry.js.map +1 -0
- package/dist/calcite/p-3a3babb1.entry.js +7 -0
- package/dist/calcite/p-3a3babb1.entry.js.map +1 -0
- package/dist/calcite/p-3c7de4a4.js +7 -0
- package/dist/calcite/p-3dcfa03c.entry.js +7 -0
- package/dist/calcite/p-3dcfa03c.entry.js.map +1 -0
- package/dist/calcite/p-3df50746.entry.js +7 -0
- package/dist/calcite/p-3df50746.entry.js.map +1 -0
- package/dist/calcite/p-3e6a898c.entry.js +7 -0
- package/dist/calcite/p-3e6a898c.entry.js.map +1 -0
- package/dist/calcite/p-430070a0.entry.js +7 -0
- package/dist/calcite/p-430070a0.entry.js.map +1 -0
- package/dist/calcite/p-44bcb296.js +7 -0
- package/dist/calcite/p-471cd147.entry.js +7 -0
- package/dist/calcite/p-489ab4db.js +7 -0
- package/dist/calcite/p-4ce7ed41.js +7 -0
- package/dist/calcite/p-4d984389.js +7 -0
- package/dist/calcite/p-512fc7f4.entry.js +7 -0
- package/dist/calcite/p-512fc7f4.entry.js.map +1 -0
- package/dist/calcite/p-53206461.js +7 -0
- package/dist/calcite/p-537bd8ad.js +7 -0
- package/dist/calcite/p-56c5a9db.js +7 -0
- package/dist/calcite/p-57e21d44.js +7 -0
- package/dist/calcite/p-5a2e88a5.js +7 -0
- package/dist/calcite/p-5ed38cb9.js +7 -0
- package/dist/calcite/p-601d8185.js +7 -0
- package/dist/calcite/p-61ca3fb5.js +7 -0
- package/dist/calcite/p-64a13b2b.js +7 -0
- package/dist/calcite/p-65993850.entry.js +7 -0
- package/dist/calcite/p-65993850.entry.js.map +1 -0
- package/dist/calcite/p-6692e3d8.entry.js +7 -0
- package/dist/calcite/p-6692e3d8.entry.js.map +1 -0
- package/dist/calcite/p-692ed798.js +7 -0
- package/dist/calcite/p-6be4c997.js +7 -0
- package/dist/calcite/p-6d735fc5.js +7 -0
- package/dist/calcite/p-6d7ea488.js +7 -0
- package/dist/calcite/p-6efb98d1.entry.js +7 -0
- package/dist/calcite/p-6efb98d1.entry.js.map +1 -0
- package/dist/calcite/p-70c530fa.js +7 -0
- package/dist/calcite/p-721693d5.entry.js +7 -0
- package/dist/calcite/p-722485f5.js +7 -0
- package/dist/calcite/p-731c80e1.entry.js +7 -0
- package/dist/calcite/p-73fb5bf5.entry.js +7 -0
- package/dist/calcite/p-73fb5bf5.entry.js.map +1 -0
- package/dist/calcite/p-751f67e1.entry.js +7 -0
- package/dist/calcite/p-751f67e1.entry.js.map +1 -0
- package/dist/calcite/p-753b8e41.entry.js +7 -0
- package/dist/calcite/p-753b8e41.entry.js.map +1 -0
- package/dist/calcite/p-76a05023.js +7 -0
- package/dist/calcite/p-7808f2ea.js +7 -0
- package/dist/calcite/p-7929e123.js +7 -0
- package/dist/calcite/p-7d9caf84.entry.js +7 -0
- package/dist/calcite/p-8056b9f5.js +7 -0
- package/dist/calcite/p-80c8be6a.entry.js +7 -0
- package/dist/calcite/p-80c8be6a.entry.js.map +1 -0
- package/dist/calcite/p-8214890d.js +7 -0
- package/dist/calcite/p-82acae3a.entry.js +7 -0
- package/dist/calcite/p-831ada63.entry.js +7 -0
- package/dist/calcite/p-831ada63.entry.js.map +1 -0
- package/dist/calcite/p-8356a697.js +7 -0
- package/dist/calcite/p-8582076d.entry.js +7 -0
- package/dist/calcite/p-859f14a3.entry.js +7 -0
- package/dist/calcite/p-859f14a3.entry.js.map +1 -0
- package/dist/calcite/p-87e00193.js +7 -0
- package/dist/calcite/p-8a489084.js +7 -0
- package/dist/calcite/p-8a5e2f30.js +7 -0
- package/dist/calcite/p-8a92a3ce.js +7 -0
- package/dist/calcite/p-8a92a3ce.js.map +1 -0
- package/dist/calcite/p-8b0bb670.entry.js +7 -0
- package/dist/calcite/p-8b0bb670.entry.js.map +1 -0
- package/dist/calcite/p-8e3a4720.js +7 -0
- package/dist/calcite/p-9229616c.js +7 -0
- package/dist/calcite/p-93814eea.js +7 -0
- package/dist/calcite/p-94138947.js +11 -0
- package/dist/calcite/p-94231d36.js +7 -0
- package/dist/calcite/p-94ac8f9c.entry.js +7 -0
- package/dist/calcite/p-94ac8f9c.entry.js.map +1 -0
- package/dist/calcite/p-99726b90.js +12 -0
- package/dist/calcite/p-99726b90.js.map +1 -0
- package/dist/calcite/p-9afafa31.js +7 -0
- package/dist/calcite/p-9de6957a.entry.js +7 -0
- package/dist/calcite/p-9de6957a.entry.js.map +1 -0
- package/dist/calcite/p-9e5dd305.js +7 -0
- package/dist/calcite/p-9e5dd305.js.map +1 -0
- package/dist/calcite/p-a1729828.js +7 -0
- package/dist/calcite/p-a241e050.js +7 -0
- package/dist/calcite/p-a5a0d3d9.entry.js +7 -0
- package/dist/calcite/p-a5a0d3d9.entry.js.map +1 -0
- package/dist/calcite/p-a79a0ef2.entry.js +7 -0
- package/dist/calcite/p-a79a0ef2.entry.js.map +1 -0
- package/dist/calcite/p-aa1f3bb0.js +7 -0
- package/dist/calcite/p-aa308524.entry.js +7 -0
- package/dist/calcite/p-aa308524.entry.js.map +1 -0
- package/dist/calcite/p-ac40db38.js +7 -0
- package/dist/calcite/p-ad00867d.js +7 -0
- package/dist/calcite/p-adf2e09b.entry.js +7 -0
- package/dist/calcite/p-ae04d854.js +7 -0
- package/dist/calcite/p-ae81e665.js +7 -0
- package/dist/calcite/p-ae81e665.js.map +1 -0
- package/dist/calcite/p-afaa8bd6.js +7 -0
- package/dist/calcite/p-b29c10c7.entry.js +7 -0
- package/dist/calcite/p-b52b38a9.entry.js +7 -0
- package/dist/calcite/p-b52b38a9.entry.js.map +1 -0
- package/dist/calcite/p-b5e1810c.js +7 -0
- package/dist/calcite/p-b7961c5a.entry.js +7 -0
- package/dist/calcite/p-b7961c5a.entry.js.map +1 -0
- package/dist/calcite/p-b8ccf070.js +7 -0
- package/dist/calcite/p-b8ccf070.js.map +1 -0
- package/dist/calcite/p-b8e56d6d.js +7 -0
- package/dist/calcite/p-b9975309.js +7 -0
- package/dist/calcite/p-bd448edf.entry.js +7 -0
- package/dist/calcite/p-bd448edf.entry.js.map +1 -0
- package/dist/calcite/p-bd71120b.js +7 -0
- package/dist/calcite/p-bf0746a3.js +7 -0
- package/dist/calcite/p-bf0746a3.js.map +1 -0
- package/dist/calcite/p-bf2e69be.entry.js +7 -0
- package/dist/calcite/p-bf2e69be.entry.js.map +1 -0
- package/dist/calcite/p-bf46ae45.js +7 -0
- package/dist/calcite/p-c15f09d4.js +7 -0
- package/dist/calcite/p-c24b409e.entry.js +7 -0
- package/dist/calcite/p-c24b409e.entry.js.map +1 -0
- package/dist/calcite/p-c26dde6d.js +7 -0
- package/dist/calcite/p-c51bb7a7.entry.js +7 -0
- package/dist/calcite/p-c51bb7a7.entry.js.map +1 -0
- package/dist/calcite/p-c5480e93.js +7 -0
- package/dist/calcite/p-c5966b3e.js +7 -0
- package/dist/calcite/p-c648d437.js +7 -0
- package/dist/calcite/p-c6f9db24.js +7 -0
- package/dist/calcite/p-c826795e.entry.js +7 -0
- package/dist/calcite/p-cfaec1e1.js +7 -0
- package/dist/calcite/p-cfd060b6.entry.js +7 -0
- package/dist/calcite/p-d1fb0d16.entry.js +7 -0
- package/dist/calcite/p-d1fb0d16.entry.js.map +1 -0
- package/dist/calcite/p-d2fbfca1.entry.js +7 -0
- package/dist/calcite/p-d4786ef7.js +7 -0
- package/dist/calcite/p-d689065d.js +7 -0
- package/dist/calcite/p-d9901236.entry.js +7 -0
- package/dist/calcite/p-d9901236.entry.js.map +1 -0
- package/dist/calcite/p-d9fc942d.entry.js +7 -0
- package/dist/calcite/p-d9fc942d.entry.js.map +1 -0
- package/dist/calcite/p-db0eb43a.entry.js +7 -0
- package/dist/calcite/p-db0eb43a.entry.js.map +1 -0
- package/dist/calcite/p-dc15734f.js +7 -0
- package/dist/calcite/p-dcdf72f0.entry.js +7 -0
- package/dist/calcite/p-dd1ec8aa.js +7 -0
- package/dist/calcite/p-dd1ec8aa.js.map +1 -0
- package/dist/calcite/p-e0aee19b.entry.js +7 -0
- package/dist/calcite/p-e48d006d.js +8 -0
- package/dist/calcite/p-e8aee604.entry.js +7 -0
- package/dist/calcite/p-e944ffce.entry.js +7 -0
- package/dist/calcite/p-e944ffce.entry.js.map +1 -0
- package/dist/calcite/p-e990b472.js +7 -0
- package/dist/calcite/p-effbb31d.js +7 -0
- package/dist/calcite/p-effbb31d.js.map +1 -0
- package/dist/calcite/p-f0c109de.entry.js +7 -0
- package/dist/calcite/p-f0c109de.entry.js.map +1 -0
- package/dist/calcite/p-f246c231.js +7 -0
- package/dist/calcite/p-f3ebaf96.entry.js +7 -0
- package/dist/calcite/p-f9bb2b7b.js +7 -0
- package/dist/calcite/p-fba41ecf.entry.js +7 -0
- package/dist/calcite/p-fba41ecf.entry.js.map +1 -0
- package/dist/calcite/p-fbb63962.entry.js +7 -0
- package/dist/calcite/p-fcf783fe.entry.js +7 -0
- package/dist/calcite/p-fcf783fe.entry.js.map +1 -0
- package/dist/calcite/p-fe77f56d.entry.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-0f8422a7.js +108 -0
- package/dist/cjs/ExpandToggle-0f8422a7.js.map +1 -0
- package/dist/cjs/FloatingArrow-360b5517.js +47 -0
- package/dist/cjs/FloatingArrow-360b5517.js.map +1 -0
- package/dist/cjs/Heading-bcb8b114.js +22 -0
- package/dist/cjs/Heading-bcb8b114.js.map +1 -0
- package/dist/cjs/Validation-b1edd79e.js +18 -0
- package/dist/cjs/Validation-b1edd79e.js.map +1 -0
- package/dist/cjs/app-globals-fb7330bc.js +61 -0
- package/dist/cjs/app-globals-fb7330bc.js.map +1 -0
- package/dist/cjs/ar-3ddf6e08.js +106 -0
- package/dist/cjs/ar-3ddf6e08.js.map +1 -0
- package/dist/cjs/array-919a0af3.js +14 -0
- package/dist/cjs/array-919a0af3.js.map +1 -0
- package/dist/cjs/bg-6d6ea727.js +84 -0
- package/dist/cjs/bg-6d6ea727.js.map +1 -0
- package/dist/cjs/browser-d83e81a6.js +22 -0
- package/dist/cjs/browser-d83e81a6.js.map +1 -0
- package/dist/cjs/bs-cfa2f629.js +53 -0
- package/dist/cjs/bs-cfa2f629.js.map +1 -0
- package/dist/cjs/ca-2c07e972.js +73 -0
- package/dist/cjs/ca-2c07e972.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +24 -11
- package/dist/cjs/calcite-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -15
- package/dist/cjs/calcite-action-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -13
- package/dist/cjs/calcite-action-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -14
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +48 -32
- package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-card-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +13 -12
- package/dist/cjs/calcite-card.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +38 -19
- package/dist/cjs/calcite-carousel_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +23 -14
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-chip-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -16
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +27 -30
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +32 -35
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +9 -8
- package/dist/cjs/calcite-fab.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +15 -14
- package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow-item.cjs.entry.js +17 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow.cjs.entry.js +5 -4
- package/dist/cjs/calcite-flow.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +15 -14
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -26
- package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number.cjs.entry.js +30 -30
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +24 -24
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-509d7cb4.js +2917 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-509d7cb4.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input.cjs.entry.js +30 -30
- package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-label.cjs.entry.js +8 -8
- package/dist/cjs/calcite-link.cjs.entry.js +13 -12
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +20 -19
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-meter.cjs.entry.js +12 -11
- package/dist/cjs/calcite-meter.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +18 -18
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-navigation_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +16 -16
- package/dist/cjs/calcite-option_3.cjs.entry.js +25 -18
- package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +26 -18
- package/dist/cjs/calcite-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -20
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-popover.cjs.entry.js +20 -20
- package/dist/cjs/calcite-progress.cjs.entry.js +6 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-rating.cjs.entry.js +17 -17
- package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +58 -26
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -9
- package/dist/cjs/calcite-sheet.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-shell_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +7 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +26 -23
- package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +20 -14
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +17 -13
- package/dist/cjs/calcite-table.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-text-area.cjs.entry.js +20 -20
- package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +10 -9
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +10 -9
- package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-62e55d43.js +52 -0
- package/dist/cjs/component-62e55d43.js.map +1 -0
- package/dist/cjs/conditionalSlot-b71cd4f5.js +51 -0
- package/dist/cjs/conditionalSlot-b71cd4f5.js.map +1 -0
- package/dist/cjs/core-e8a9eefe.js +22 -0
- package/dist/cjs/core-e8a9eefe.js.map +1 -0
- package/dist/cjs/cs-7c3c0af0.js +149 -0
- package/dist/cjs/cs-7c3c0af0.js.map +1 -0
- package/dist/cjs/da-3f278784.js +68 -0
- package/dist/cjs/da-3f278784.js.map +1 -0
- package/dist/cjs/de-64624257.js +93 -0
- package/dist/cjs/de-64624257.js.map +1 -0
- package/dist/cjs/de-at-1a8b8475.js +92 -0
- package/dist/cjs/de-at-1a8b8475.js.map +1 -0
- package/dist/cjs/de-ch-7549cde4.js +92 -0
- package/dist/cjs/de-ch-7549cde4.js.map +1 -0
- package/dist/cjs/debounce-8594d56b.js +506 -0
- package/dist/cjs/debounce-8594d56b.js.map +1 -0
- package/dist/cjs/dom-4f3978e9.js +1144 -0
- package/dist/cjs/dom-4f3978e9.js.map +1 -0
- package/dist/cjs/el-aaffee9d.js +68 -0
- package/dist/cjs/el-aaffee9d.js.map +1 -0
- package/dist/cjs/en-au-434c9210.js +68 -0
- package/dist/cjs/en-au-434c9210.js.map +1 -0
- package/dist/cjs/en-ca-a06e9e56.js +67 -0
- package/dist/cjs/en-ca-a06e9e56.js.map +1 -0
- package/dist/cjs/en-gb-438d1413.js +71 -0
- package/dist/cjs/en-gb-438d1413.js.map +1 -0
- package/dist/cjs/es-0458133a.js +68 -0
- package/dist/cjs/es-0458133a.js.map +1 -0
- package/dist/cjs/es-mx-4bc1a3ca.js +67 -0
- package/dist/cjs/es-mx-4bc1a3ca.js.map +1 -0
- package/dist/cjs/et-3a7132c8.js +94 -0
- package/dist/cjs/et-3a7132c8.js.map +1 -0
- package/dist/cjs/fi-727a4807.js +117 -0
- package/dist/cjs/fi-727a4807.js.map +1 -0
- package/dist/cjs/filter-d8b68281.js +774 -0
- package/dist/cjs/filter-d8b68281.js.map +1 -0
- package/dist/cjs/floating-ui-d4a2ecab.js +2305 -0
- package/dist/cjs/floating-ui-d4a2ecab.js.map +1 -0
- package/dist/cjs/focusTrapComponent-357c2193.js +1020 -0
- package/dist/cjs/focusTrapComponent-357c2193.js.map +1 -0
- package/dist/cjs/form-228b04bd.js +378 -0
- package/dist/cjs/form-228b04bd.js.map +1 -0
- package/dist/cjs/fr-ch-4fd1e0df.js +68 -0
- package/dist/cjs/fr-ch-4fd1e0df.js.map +1 -0
- package/dist/cjs/fr-e368ffc2.js +70 -0
- package/dist/cjs/fr-e368ffc2.js.map +1 -0
- package/dist/cjs/guid-70d8b321.js +23 -0
- package/dist/cjs/guid-70d8b321.js.map +1 -0
- package/dist/cjs/he-0ae1abd3.js +107 -0
- package/dist/cjs/he-0ae1abd3.js.map +1 -0
- package/dist/cjs/hi-5b478f2b.js +67 -0
- package/dist/cjs/hi-5b478f2b.js.map +1 -0
- package/dist/cjs/hr-1f850dbd.js +82 -0
- package/dist/cjs/hr-1f850dbd.js.map +1 -0
- package/dist/cjs/hu-42d857ca.js +90 -0
- package/dist/cjs/hu-42d857ca.js.map +1 -0
- package/dist/cjs/id-534cae05.js +68 -0
- package/dist/cjs/id-534cae05.js.map +1 -0
- package/dist/cjs/index-9c92c56e.js +208 -0
- package/dist/cjs/index-9c92c56e.js.map +1 -0
- package/dist/cjs/index-ca9c5738.js +1934 -0
- package/dist/cjs/index-ca9c5738.js.map +1 -0
- package/dist/cjs/index-e1045e3d.js +75 -0
- package/dist/cjs/index-e1045e3d.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-5385ae4f.js +57 -0
- package/dist/cjs/input-5385ae4f.js.map +1 -0
- package/dist/cjs/interactive-46826d66.js +151 -0
- package/dist/cjs/interactive-46826d66.js.map +1 -0
- package/dist/cjs/it-41520cf9.js +68 -0
- package/dist/cjs/it-41520cf9.js.map +1 -0
- package/dist/cjs/it-ch-e30195a3.js +68 -0
- package/dist/cjs/it-ch-e30195a3.js.map +1 -0
- package/dist/cjs/ja-a23ffcf7.js +74 -0
- package/dist/cjs/ja-a23ffcf7.js.map +1 -0
- package/dist/cjs/key-987bfdfb.js +16 -0
- package/dist/cjs/key-987bfdfb.js.map +1 -0
- package/dist/cjs/ko-88245a3e.js +74 -0
- package/dist/cjs/ko-88245a3e.js.map +1 -0
- package/dist/cjs/label-0eaf6fab.js +183 -0
- package/dist/cjs/label-0eaf6fab.js.map +1 -0
- package/dist/cjs/loadable-485b5ca8.js +97 -0
- package/dist/cjs/loadable-485b5ca8.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-22e50901.js +576 -0
- package/dist/cjs/locale-22e50901.js.map +1 -0
- package/dist/cjs/lt-127ed086.js +99 -0
- package/dist/cjs/lt-127ed086.js.map +1 -0
- package/dist/cjs/lv-704c65ff.js +68 -0
- package/dist/cjs/lv-704c65ff.js.map +1 -0
- package/dist/cjs/math-dac59516.js +57 -0
- package/dist/cjs/math-dac59516.js.map +1 -0
- package/dist/cjs/mk-14dfa897.js +68 -0
- package/dist/cjs/mk-14dfa897.js.map +1 -0
- package/dist/cjs/nb-32283587.js +69 -0
- package/dist/cjs/nb-32283587.js.map +1 -0
- package/dist/cjs/nl-04976d71.js +69 -0
- package/dist/cjs/nl-04976d71.js.map +1 -0
- package/dist/cjs/observers-64d0e318.js +52 -0
- package/dist/cjs/observers-64d0e318.js.map +1 -0
- package/dist/cjs/openCloseComponent-9808d3ab.js +90 -0
- package/dist/cjs/openCloseComponent-9808d3ab.js.map +1 -0
- package/dist/cjs/pl-97c0c2ac.js +116 -0
- package/dist/cjs/pl-97c0c2ac.js.map +1 -0
- package/dist/cjs/pt-9d234ef6.js +69 -0
- package/dist/cjs/pt-9d234ef6.js.map +1 -0
- package/dist/cjs/pt-br-2fbbd2df.js +67 -0
- package/dist/cjs/pt-br-2fbbd2df.js.map +1 -0
- package/dist/cjs/resources-4a829183.js +26 -0
- package/dist/cjs/resources-4a829183.js.map +1 -0
- package/dist/cjs/resources-4e7c272c.js +18 -0
- package/dist/cjs/resources-4e7c272c.js.map +1 -0
- package/dist/cjs/resources-61962911.js +410 -0
- package/dist/cjs/resources-61962911.js.map +1 -0
- package/dist/cjs/resources-82cb9341.js +23 -0
- package/dist/cjs/resources-82cb9341.js.map +1 -0
- package/dist/cjs/resources-834b5f1f.js +26 -0
- package/dist/cjs/resources-834b5f1f.js.map +1 -0
- package/dist/cjs/resources-e6acc4bc.js +53 -0
- package/dist/cjs/resources-e6acc4bc.js.map +1 -0
- package/dist/cjs/resources-ea1d0de4.js +29 -0
- package/dist/cjs/resources-ea1d0de4.js.map +1 -0
- package/dist/cjs/ro-929007ac.js +68 -0
- package/dist/cjs/ro-929007ac.js.map +1 -0
- package/dist/cjs/ru-81b9528c.js +128 -0
- package/dist/cjs/ru-81b9528c.js.map +1 -0
- package/dist/cjs/sk-bf76e905.js +150 -0
- package/dist/cjs/sk-bf76e905.js.map +1 -0
- package/dist/cjs/sl-f8cdbf05.js +170 -0
- package/dist/cjs/sl-f8cdbf05.js.map +1 -0
- package/dist/cjs/sortableComponent-e2be036e.js +2744 -0
- package/dist/cjs/sortableComponent-e2be036e.js.map +1 -0
- package/dist/cjs/sr-9ecbe292.js +103 -0
- package/dist/cjs/sr-9ecbe292.js.map +1 -0
- package/dist/cjs/sv-1d96f7e3.js +73 -0
- package/dist/cjs/sv-1d96f7e3.js.map +1 -0
- package/dist/cjs/t9n-a2235c64.js +101 -0
- package/dist/cjs/t9n-a2235c64.js.map +1 -0
- package/dist/cjs/th-accd8e02.js +67 -0
- package/dist/cjs/th-accd8e02.js.map +1 -0
- package/dist/cjs/throttle-ea0e2dfa.js +77 -0
- package/dist/cjs/throttle-ea0e2dfa.js.map +1 -0
- package/dist/cjs/tr-34982295.js +68 -0
- package/dist/cjs/tr-34982295.js.map +1 -0
- package/dist/cjs/uk-a6d98415.js +106 -0
- package/dist/cjs/uk-a6d98415.js.map +1 -0
- package/dist/cjs/utils-74b2d3a5.js +307 -0
- package/dist/cjs/utils-74b2d3a5.js.map +1 -0
- package/dist/cjs/utils-bdeb091b.js +218 -0
- package/dist/cjs/utils-bdeb091b.js.map +1 -0
- package/dist/cjs/vi-9c1ee9a8.js +72 -0
- package/dist/cjs/vi-9c1ee9a8.js.map +1 -0
- package/dist/cjs/zh-cn-96d32f41.js +96 -0
- package/dist/cjs/zh-cn-96d32f41.js.map +1 -0
- package/dist/cjs/zh-hk-5942557a.js +73 -0
- package/dist/cjs/zh-hk-5942557a.js.map +1 -0
- package/dist/cjs/zh-tw-a3c7b3fa.js +94 -0
- package/dist/cjs/zh-tw-a3c7b3fa.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +5 -2
- package/dist/collection/components/accordion-item/accordion-item.e2e.js.map +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +39 -4
- package/dist/collection/components/accordion-item/accordion-item.js.map +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -5
- package/dist/collection/components/action/action.e2e.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +2 -2
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/resources.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +7 -7
- package/dist/collection/components/block/block.e2e.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +37 -24
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +85 -14
- package/dist/collection/components/block-section/block-section.js.map +1 -1
- package/dist/collection/components/block-section/resources.js +9 -5
- package/dist/collection/components/block-section/resources.js.map +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.e2e.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.e2e.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/collection/components/card-group/card-group.e2e.js +1 -1
- package/dist/collection/components/card-group/card-group.js +1 -1
- package/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/collection/components/carousel/carousel.e2e.js +39 -1
- package/dist/collection/components/carousel/carousel.e2e.js.map +1 -1
- package/dist/collection/components/carousel/carousel.js +28 -8
- package/dist/collection/components/carousel/carousel.js.map +1 -1
- package/dist/collection/components/carousel/resources.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/collection/components/carousel-item/carousel-item.e2e.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.js +1 -1
- package/dist/collection/components/carousel-item/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +15 -7
- package/dist/collection/components/checkbox/checkbox.e2e.js +27 -63
- package/dist/collection/components/checkbox/checkbox.e2e.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.js +9 -3
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/resources.js +10 -0
- package/dist/collection/components/checkbox/resources.js.map +1 -0
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +11 -2
- package/dist/collection/components/combobox/combobox.e2e.js.map +1 -1
- package/dist/collection/components/combobox/combobox.js +8 -11
- package/dist/collection/components/combobox/combobox.js.map +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +9 -9
- package/dist/collection/components/dropdown/dropdown.e2e.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +8 -3
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +35 -35
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +4 -5
- package/dist/collection/components/dropdown-group/dropdown-group.js.map +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +72 -145
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +7 -11
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/collection/components/dropdown-item/resources.js +3 -6
- package/dist/collection/components/dropdown-item/resources.js.map +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +4 -2
- package/dist/collection/components/flow-item/flow-item.js.map +1 -1
- package/dist/collection/components/flow-item/resources.js +3 -1
- package/dist/collection/components/flow-item/resources.js.map +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +3 -3
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/binary16.json +1 -0
- package/dist/collection/components/icon/assets/icon/binary24.json +1 -0
- package/dist/collection/components/icon/assets/icon/binary32.json +1 -0
- package/dist/collection/components/icon/assets/icon/brackets16.json +1 -0
- package/dist/collection/components/icon/assets/icon/brackets24.json +1 -0
- package/dist/collection/components/icon/assets/icon/brackets32.json +1 -0
- package/dist/collection/components/icon/assets/icon/developerCredentials16.json +1 -0
- package/dist/collection/components/icon/assets/icon/developerCredentials24.json +1 -0
- package/dist/collection/components/icon/assets/icon/developerCredentials32.json +1 -0
- package/dist/collection/components/icon/assets/icon/modifyAssociations16.json +1 -0
- package/dist/collection/components/icon/assets/icon/modifyAssociations24.json +1 -0
- package/dist/collection/components/icon/assets/icon/modifyAssociations32.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithAttribute16.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithAttribute24.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithAttribute32.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithoutAttribute16.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithoutAttribute24.json +1 -0
- package/dist/collection/components/icon/assets/icon/pasteWithoutAttribute32.json +1 -0
- package/dist/collection/components/icon/assets/icon/subFields16.json +1 -0
- package/dist/collection/components/icon/assets/icon/subFields24.json +1 -0
- package/dist/collection/components/icon/assets/icon/subFields32.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetwork16.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetwork24.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetwork32.json +1 -0
- package/dist/collection/components/icon/assets/icon/validateUtilityNetworkTopology16.json +1 -0
- package/dist/collection/components/icon/assets/icon/validateUtilityNetworkTopology24.json +1 -0
- package/dist/collection/components/icon/assets/icon/validateUtilityNetworkTopology32.json +1 -0
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +2 -2
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +4 -4
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/input.js +1 -1
- package/dist/collection/components/input/common/input.spec.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +15 -15
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +6 -6
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +2 -2
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +15 -15
- package/dist/collection/components/input-number/input-number.js.map +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +9 -9
- package/dist/collection/components/input-text/input-text.js.map +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +3 -3
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +3 -3
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +5 -5
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +1 -1
- package/dist/collection/components/list/list.js +2 -2
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +3 -3
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +2 -2
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +2 -2
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +3 -3
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +2 -2
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +5 -5
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +3 -3
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +2 -2
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +2 -2
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +3 -3
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +2 -2
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +2 -2
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +14 -9
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +12 -3
- package/dist/collection/components/panel/panel.js.map +1 -1
- package/dist/collection/components/panel/resources.js +3 -1
- package/dist/collection/components/panel/resources.js.map +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +3 -3
- package/dist/collection/components/pick-list/pick-list.js.map +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +3 -3
- package/dist/collection/components/pick-list-group/pick-list-group.js.map +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +3 -3
- package/dist/collection/components/pick-list-item/pick-list-item.js.map +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +5 -5
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +2 -2
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +2 -2
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +2 -2
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +3 -3
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +2 -2
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +2 -2
- package/dist/collection/components/segmented-control-item/resources.js +8 -2
- package/dist/collection/components/segmented-control-item/resources.js.map +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +26 -19
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +4 -9
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js.map +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +43 -12
- package/dist/collection/components/segmented-control-item/segmented-control-item.js.map +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.e2e.js +13 -2
- package/dist/collection/components/select/select.e2e.js.map +1 -1
- package/dist/collection/components/select/select.js +11 -4
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +7 -7
- package/dist/collection/components/shell/shell.js.map +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +17 -23
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +32 -21
- package/dist/collection/components/stepper/stepper.e2e.js.map +1 -1
- package/dist/collection/components/stepper/stepper.js +30 -8
- package/dist/collection/components/stepper/stepper.js.map +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +18 -2
- package/dist/collection/components/stepper-item/stepper-item.e2e.js.map +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +17 -29
- package/dist/collection/components/stepper-item/stepper-item.js.map +1 -1
- package/dist/collection/components/switch/resources.js +11 -0
- package/dist/collection/components/switch/resources.js.map +1 -0
- package/dist/collection/components/switch/switch.css +7 -12
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +3 -2
- package/dist/collection/components/switch/switch.js.map +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/interfaces.js.map +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +31 -4
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -10
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +9 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.e2e.js +1 -1
- package/dist/collection/components/tile-group/tile-group.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +4 -3
- package/dist/collection/components/tile-select/tile-select.js.map +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +3 -2
- package/dist/collection/components/tile-select-group/tile-select-group.js.map +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +3 -2
- package/dist/collection/components/tip/tip.js.map +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +3 -2
- package/dist/collection/components/tip-group/tip-group.js.map +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +2 -1
- package/dist/collection/components/tip-manager/tip-manager.js.map +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +39 -8
- package/dist/collection/components/tree/tree.e2e.js.map +1 -1
- package/dist/collection/components/tree/tree.js +2 -2
- package/dist/collection/components/tree/tree.js.map +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +3 -3
- package/dist/collection/components/value-list/value-list.js.map +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +3 -3
- package/dist/collection/components/value-list-item/value-list-item.js.map +1 -1
- package/dist/collection/demos/_assets/images/placeholder.svg +5 -0
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests/accessible.js +1 -1
- package/dist/collection/tests/commonTests/defaults.js +1 -1
- package/dist/collection/tests/commonTests/disabled.js +1 -1
- package/dist/collection/tests/commonTests/floatingUI.js +1 -1
- package/dist/collection/tests/commonTests/focusable.js +1 -1
- package/dist/collection/tests/commonTests/formAssociated.js +1 -1
- package/dist/collection/tests/commonTests/hidden.js +1 -1
- package/dist/collection/tests/commonTests/index.js +1 -1
- package/dist/collection/tests/commonTests/labelable.js +1 -1
- package/dist/collection/tests/commonTests/openClose.js +1 -1
- package/dist/collection/tests/commonTests/reflects.js +1 -1
- package/dist/collection/tests/commonTests/renders.js +1 -1
- package/dist/collection/tests/commonTests/slots.js +1 -1
- package/dist/collection/tests/commonTests/t9n.js +17 -1
- package/dist/collection/tests/commonTests/t9n.js.map +1 -1
- package/dist/collection/tests/commonTests/utils.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +35 -1
- package/dist/collection/utils/component.js.map +1 -1
- package/dist/collection/utils/component.spec.js +37 -3
- package/dist/collection/utils/component.spec.js.map +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +47 -1
- package/dist/collection/utils/dom.js.map +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +12 -9
- package/dist/collection/utils/loadable.js.map +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -49
- package/dist/collection/utils/openCloseComponent.js.map +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +6 -2
- package/dist/collection/utils/t9n.js.map +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +20 -6
- package/dist/components/calcite-accordion-item.js.map +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +36 -18
- package/dist/components/calcite-block-section.js.map +1 -1
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-block.js.map +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card-group.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +27 -8
- package/dist/components/calcite-carousel.js.map +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +2 -2
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +5 -6
- package/dist/components/calcite-dropdown-group.js.map +1 -1
- package/dist/components/calcite-dropdown-item.js +8 -12
- package/dist/components/calcite-dropdown-item.js.map +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +4 -2
- package/dist/components/calcite-flow-item.js.map +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +4 -4
- package/dist/components/calcite-input-date-picker.js +6 -6
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input-time-zone.js +3 -3
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +4 -4
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +3 -3
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +3 -3
- package/dist/components/calcite-modal.js +7 -7
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation.js +3 -3
- package/dist/components/calcite-notice.js +3 -3
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-group.js.map +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-pick-list.js.map +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +3 -3
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +48 -15
- package/dist/components/calcite-segmented-control-item.js.map +1 -1
- package/dist/components/calcite-segmented-control.js +2 -2
- package/dist/components/calcite-select.js +11 -4
- package/dist/components/calcite-select.js.map +1 -1
- package/dist/components/calcite-sheet.js +2 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-shell.js.map +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-split-button.js.map +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +5 -8
- package/dist/components/calcite-stepper-item.js.map +1 -1
- package/dist/components/calcite-stepper.js +11 -6
- package/dist/components/calcite-stepper.js.map +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +7 -3
- package/dist/components/calcite-table.js.map +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +2 -2
- package/dist/components/calcite-text-area.js.map +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select-group.js.map +1 -1
- package/dist/components/calcite-tile-select.js +3 -3
- package/dist/components/calcite-tile-select.js.map +1 -1
- package/dist/components/calcite-tile.js +2 -2
- package/dist/components/calcite-tile.js.map +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-group.js.map +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip-manager.js.map +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tip.js.map +1 -1
- package/dist/components/calcite-tooltip.js +2 -2
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +3 -3
- package/dist/components/calcite-tree.js.map +1 -1
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list-item.js.map +1 -1
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/calcite-value-list.js.map +1 -1
- package/dist/components/checkbox.js +14 -4
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +8 -11
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +37 -2
- package/dist/components/component.js.map +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/core.js +2 -2
- package/dist/components/core.js.map +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +48 -2
- package/dist/components/dom.js.map +1 -1
- package/dist/components/dropdown.js +8 -3
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +25 -14
- package/dist/components/floating-ui.js.map +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -3
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +2 -2
- package/dist/components/input-number.js +15 -15
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +8 -8
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +15 -15
- package/dist/components/input2.js.map +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +2 -2
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +5 -5
- package/dist/components/loadable.js +12 -9
- package/dist/components/loadable.js.map +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +2 -2
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/openCloseComponent.js.map +1 -1
- package/dist/components/pagination.js +3 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +14 -4
- package/dist/components/panel.js.map +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/pick-list-item.js.map +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +4 -4
- package/dist/components/progress.js +2 -2
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +2 -2
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +3 -6
- package/dist/components/resources3.js.map +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +9 -3
- package/dist/components/switch.js.map +1 -1
- package/dist/components/t9n.js +6 -2
- package/dist/components/t9n.js.map +1 -1
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-bc8742ff.js +100 -0
- package/dist/esm/ExpandToggle-bc8742ff.js.map +1 -0
- package/dist/esm/FloatingArrow-b309f787.js +45 -0
- package/dist/esm/FloatingArrow-b309f787.js.map +1 -0
- package/dist/esm/Heading-6a28ad35.js +19 -0
- package/dist/esm/Heading-6a28ad35.js.map +1 -0
- package/dist/esm/Validation-1f714881.js +16 -0
- package/dist/esm/Validation-1f714881.js.map +1 -0
- package/dist/esm/app-globals-bcb14f7e.js +59 -0
- package/dist/esm/app-globals-bcb14f7e.js.map +1 -0
- package/dist/esm/ar-a59f24bc.js +104 -0
- package/dist/esm/ar-a59f24bc.js.map +1 -0
- package/dist/esm/array-a3b19217.js +12 -0
- package/dist/esm/array-a3b19217.js.map +1 -0
- package/dist/esm/bg-5b28c804.js +82 -0
- package/dist/esm/bg-5b28c804.js.map +1 -0
- package/dist/esm/browser-096308d4.js +20 -0
- package/dist/esm/browser-096308d4.js.map +1 -0
- package/dist/esm/bs-f1d0607b.js +51 -0
- package/dist/esm/bs-f1d0607b.js.map +1 -0
- package/dist/esm/ca-3e515549.js +71 -0
- package/dist/esm/ca-3e515549.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +24 -11
- package/dist/esm/calcite-accordion_2.entry.js.map +1 -1
- package/dist/esm/calcite-action-bar.entry.js +16 -15
- package/dist/esm/calcite-action-bar.entry.js.map +1 -1
- package/dist/esm/calcite-action-group.entry.js +14 -13
- package/dist/esm/calcite-action-group.entry.js.map +1 -1
- package/dist/esm/calcite-action-menu.entry.js +10 -9
- package/dist/esm/calcite-action-menu.entry.js.map +1 -1
- package/dist/esm/calcite-action-pad.entry.js +15 -14
- package/dist/esm/calcite-action-pad.entry.js.map +1 -1
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +48 -32
- package/dist/esm/calcite-block_2.entry.js.map +1 -1
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card-group.entry.js +9 -8
- package/dist/esm/calcite-card-group.entry.js.map +1 -1
- package/dist/esm/calcite-card.entry.js +13 -12
- package/dist/esm/calcite-card.entry.js.map +1 -1
- package/dist/esm/calcite-carousel_2.entry.js +38 -19
- package/dist/esm/calcite-carousel_2.entry.js.map +1 -1
- package/dist/esm/calcite-checkbox.entry.js +23 -14
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -8
- package/dist/esm/calcite-chip-group.entry.js.map +1 -1
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +17 -16
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +27 -30
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +32 -35
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +9 -8
- package/dist/esm/calcite-fab.entry.js.map +1 -1
- package/dist/esm/calcite-filter.entry.js +15 -14
- package/dist/esm/calcite-filter.entry.js.map +1 -1
- package/dist/esm/calcite-flow-item.entry.js +17 -14
- package/dist/esm/calcite-flow-item.entry.js.map +1 -1
- package/dist/esm/calcite-flow.entry.js +5 -4
- package/dist/esm/calcite-flow.entry.js.map +1 -1
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +15 -14
- package/dist/esm/calcite-handle.entry.js.map +1 -1
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +17 -17
- package/dist/esm/calcite-input-date-picker.entry.js +26 -26
- package/dist/esm/calcite-input-message.entry.js +6 -6
- package/dist/esm/calcite-input-number.entry.js +30 -30
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +24 -24
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-ad87fe6e.js +2913 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-ad87fe6e.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +19 -19
- package/dist/esm/calcite-input.entry.js +30 -30
- package/dist/esm/calcite-input.entry.js.map +1 -1
- package/dist/esm/calcite-label.entry.js +8 -8
- package/dist/esm/calcite-link.entry.js +13 -12
- package/dist/esm/calcite-link.entry.js.map +1 -1
- package/dist/esm/calcite-list_3.entry.js +20 -19
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-menu_2.entry.js +14 -13
- package/dist/esm/calcite-menu_2.entry.js.map +1 -1
- package/dist/esm/calcite-meter.entry.js +12 -11
- package/dist/esm/calcite-meter.entry.js.map +1 -1
- package/dist/esm/calcite-modal.entry.js +18 -18
- package/dist/esm/calcite-navigation_3.entry.js +12 -11
- package/dist/esm/calcite-navigation_3.entry.js.map +1 -1
- package/dist/esm/calcite-notice.entry.js +16 -16
- package/dist/esm/calcite-option_3.entry.js +25 -18
- package/dist/esm/calcite-option_3.entry.js.map +1 -1
- package/dist/esm/calcite-pagination.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +26 -18
- package/dist/esm/calcite-panel.entry.js.map +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +21 -20
- package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-popover.entry.js +20 -20
- package/dist/esm/calcite-progress.entry.js +6 -6
- package/dist/esm/calcite-radio-button-group.entry.js +7 -6
- package/dist/esm/calcite-radio-button-group.entry.js.map +1 -1
- package/dist/esm/calcite-radio-button.entry.js +13 -13
- package/dist/esm/calcite-rating.entry.js +17 -17
- package/dist/esm/calcite-scrim.entry.js +10 -10
- package/dist/esm/calcite-segmented-control_2.entry.js +58 -26
- package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
- package/dist/esm/calcite-sheet.entry.js +10 -9
- package/dist/esm/calcite-sheet.entry.js.map +1 -1
- package/dist/esm/calcite-shell_3.entry.js +12 -12
- package/dist/esm/calcite-shell_3.entry.js.map +1 -1
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +7 -6
- package/dist/esm/calcite-split-button.entry.js.map +1 -1
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +26 -23
- package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
- package/dist/esm/calcite-switch.entry.js +20 -14
- package/dist/esm/calcite-switch.entry.js.map +1 -1
- package/dist/esm/calcite-tab_4.entry.js +13 -13
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +17 -13
- package/dist/esm/calcite-table.entry.js.map +1 -1
- package/dist/esm/calcite-text-area.entry.js +20 -20
- package/dist/esm/calcite-text-area.entry.js.map +1 -1
- package/dist/esm/calcite-tile-group.entry.js +8 -8
- package/dist/esm/calcite-tile-select_2.entry.js +10 -9
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +10 -9
- package/dist/esm/calcite-tile.entry.js.map +1 -1
- package/dist/esm/calcite-tip_3.entry.js +13 -13
- package/dist/esm/calcite-tip_3.entry.js.map +1 -1
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +20 -19
- package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-e47bd838.js +48 -0
- package/dist/esm/component-e47bd838.js.map +1 -0
- package/dist/esm/conditionalSlot-833481dd.js +48 -0
- package/dist/esm/conditionalSlot-833481dd.js.map +1 -0
- package/dist/esm/core-c175e3a4.js +17 -0
- package/dist/esm/core-c175e3a4.js.map +1 -0
- package/dist/esm/cs-4a731218.js +147 -0
- package/dist/esm/cs-4a731218.js.map +1 -0
- package/dist/esm/da-8f489ec7.js +66 -0
- package/dist/esm/da-8f489ec7.js.map +1 -0
- package/dist/esm/de-at-33ac0664.js +90 -0
- package/dist/esm/de-at-33ac0664.js.map +1 -0
- package/dist/esm/de-ch-6ed4d839.js +90 -0
- package/dist/esm/de-ch-6ed4d839.js.map +1 -0
- package/dist/esm/de-dbc1a740.js +91 -0
- package/dist/esm/de-dbc1a740.js.map +1 -0
- package/dist/esm/debounce-1ec97930.js +497 -0
- package/dist/esm/debounce-1ec97930.js.map +1 -0
- package/dist/esm/dom-ca168555.js +1111 -0
- package/dist/esm/dom-ca168555.js.map +1 -0
- package/dist/esm/el-cffb644a.js +66 -0
- package/dist/esm/el-cffb644a.js.map +1 -0
- package/dist/esm/en-au-f93f73bd.js +66 -0
- package/dist/esm/en-au-f93f73bd.js.map +1 -0
- package/dist/esm/en-ca-6b3ac819.js +65 -0
- package/dist/esm/en-ca-6b3ac819.js.map +1 -0
- package/dist/esm/en-gb-0982a9f2.js +69 -0
- package/dist/esm/en-gb-0982a9f2.js.map +1 -0
- package/dist/esm/es-dc4b8b0c.js +66 -0
- package/dist/esm/es-dc4b8b0c.js.map +1 -0
- package/dist/esm/es-mx-61489a48.js +65 -0
- package/dist/esm/es-mx-61489a48.js.map +1 -0
- package/dist/esm/et-686444a5.js +92 -0
- package/dist/esm/et-686444a5.js.map +1 -0
- package/dist/esm/fi-0742552a.js +115 -0
- package/dist/esm/fi-0742552a.js.map +1 -0
- package/dist/esm/filter-479f63cc.js +772 -0
- package/dist/esm/filter-479f63cc.js.map +1 -0
- package/dist/esm/floating-ui-89885388.js +2297 -0
- package/dist/esm/floating-ui-89885388.js.map +1 -0
- package/dist/esm/focusTrapComponent-f435139e.js +1015 -0
- package/dist/esm/focusTrapComponent-f435139e.js.map +1 -0
- package/dist/esm/form-24a98bc8.js +369 -0
- package/dist/esm/form-24a98bc8.js.map +1 -0
- package/dist/esm/fr-ch-08f028e5.js +66 -0
- package/dist/esm/fr-ch-08f028e5.js.map +1 -0
- package/dist/esm/fr-d121231e.js +68 -0
- package/dist/esm/fr-d121231e.js.map +1 -0
- package/dist/esm/guid-95f744cf.js +21 -0
- package/dist/esm/guid-95f744cf.js.map +1 -0
- package/dist/esm/he-5d7bd16c.js +105 -0
- package/dist/esm/he-5d7bd16c.js.map +1 -0
- package/dist/esm/hi-db1eec8f.js +65 -0
- package/dist/esm/hi-db1eec8f.js.map +1 -0
- package/dist/esm/hr-375aa137.js +80 -0
- package/dist/esm/hr-375aa137.js.map +1 -0
- package/dist/esm/hu-9f73a048.js +88 -0
- package/dist/esm/hu-9f73a048.js.map +1 -0
- package/dist/esm/id-ba66642e.js +66 -0
- package/dist/esm/id-ba66642e.js.map +1 -0
- package/dist/esm/index-6356d89d.js +1899 -0
- package/dist/esm/index-6356d89d.js.map +1 -0
- package/dist/esm/index-a25d1de8.js +206 -0
- package/dist/esm/index-a25d1de8.js.map +1 -0
- package/dist/esm/index-ab9e8ee5.js +73 -0
- package/dist/esm/index-ab9e8ee5.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-2cddb2fa.js +55 -0
- package/dist/esm/input-2cddb2fa.js.map +1 -0
- package/dist/esm/interactive-0082d873.js +146 -0
- package/dist/esm/interactive-0082d873.js.map +1 -0
- package/dist/esm/it-59571962.js +66 -0
- package/dist/esm/it-59571962.js.map +1 -0
- package/dist/esm/it-ch-3eed42c4.js +66 -0
- package/dist/esm/it-ch-3eed42c4.js.map +1 -0
- package/dist/esm/ja-27405b4a.js +72 -0
- package/dist/esm/ja-27405b4a.js.map +1 -0
- package/dist/esm/key-8328efaf.js +13 -0
- package/dist/esm/key-8328efaf.js.map +1 -0
- package/dist/esm/ko-4162efdf.js +72 -0
- package/dist/esm/ko-4162efdf.js.map +1 -0
- package/dist/esm/label-00e8f205.js +176 -0
- package/dist/esm/label-00e8f205.js.map +1 -0
- package/dist/esm/loadable-6fb95cc3.js +92 -0
- package/dist/esm/loadable-6fb95cc3.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-6c2f9fbe.js +563 -0
- package/dist/esm/locale-6c2f9fbe.js.map +1 -0
- package/dist/esm/lt-953d6342.js +97 -0
- package/dist/esm/lt-953d6342.js.map +1 -0
- package/dist/esm/lv-f8c9acd2.js +66 -0
- package/dist/esm/lv-f8c9acd2.js.map +1 -0
- package/dist/esm/math-4fb516a3.js +51 -0
- package/dist/esm/math-4fb516a3.js.map +1 -0
- package/dist/esm/mk-5841b720.js +66 -0
- package/dist/esm/mk-5841b720.js.map +1 -0
- package/dist/esm/nb-674d17ea.js +67 -0
- package/dist/esm/nb-674d17ea.js.map +1 -0
- package/dist/esm/nl-76d4ee20.js +67 -0
- package/dist/esm/nl-76d4ee20.js.map +1 -0
- package/dist/esm/observers-39d61a28.js +50 -0
- package/dist/esm/observers-39d61a28.js.map +1 -0
- package/dist/esm/openCloseComponent-4f48d45a.js +88 -0
- package/dist/esm/openCloseComponent-4f48d45a.js.map +1 -0
- package/dist/esm/pl-e99a3c15.js +114 -0
- package/dist/esm/pl-e99a3c15.js.map +1 -0
- package/dist/esm/pt-be28ad4d.js +67 -0
- package/dist/esm/pt-be28ad4d.js.map +1 -0
- package/dist/esm/pt-br-8087ef55.js +65 -0
- package/dist/esm/pt-br-8087ef55.js.map +1 -0
- package/dist/esm/resources-3eddbc13.js +21 -0
- package/dist/esm/resources-3eddbc13.js.map +1 -0
- package/dist/esm/resources-4f552ccf.js +16 -0
- package/dist/esm/resources-4f552ccf.js.map +1 -0
- package/dist/esm/resources-70a96dcf.js +49 -0
- package/dist/esm/resources-70a96dcf.js.map +1 -0
- package/dist/esm/resources-a24f17b0.js +25 -0
- package/dist/esm/resources-a24f17b0.js.map +1 -0
- package/dist/esm/resources-b40fed1f.js +382 -0
- package/dist/esm/resources-b40fed1f.js.map +1 -0
- package/dist/esm/resources-bb5e0a3c.js +19 -0
- package/dist/esm/resources-bb5e0a3c.js.map +1 -0
- package/dist/esm/resources-d40f6e99.js +23 -0
- package/dist/esm/resources-d40f6e99.js.map +1 -0
- package/dist/esm/ro-9490e8b9.js +66 -0
- package/dist/esm/ro-9490e8b9.js.map +1 -0
- package/dist/esm/ru-b98aa2d8.js +126 -0
- package/dist/esm/ru-b98aa2d8.js.map +1 -0
- package/dist/esm/sk-37f240ff.js +148 -0
- package/dist/esm/sk-37f240ff.js.map +1 -0
- package/dist/esm/sl-19b698b2.js +168 -0
- package/dist/esm/sl-19b698b2.js.map +1 -0
- package/dist/esm/sortableComponent-2c9b82ec.js +2740 -0
- package/dist/esm/sortableComponent-2c9b82ec.js.map +1 -0
- package/dist/esm/sr-40d7de43.js +101 -0
- package/dist/esm/sr-40d7de43.js.map +1 -0
- package/dist/esm/sv-8e1217f2.js +71 -0
- package/dist/esm/sv-8e1217f2.js.map +1 -0
- package/dist/esm/t9n-e7f9e515.js +96 -0
- package/dist/esm/t9n-e7f9e515.js.map +1 -0
- package/dist/esm/th-66a7a299.js +65 -0
- package/dist/esm/th-66a7a299.js.map +1 -0
- package/dist/esm/throttle-a175a508.js +75 -0
- package/dist/esm/throttle-a175a508.js.map +1 -0
- package/dist/esm/tr-e20fc8fa.js +66 -0
- package/dist/esm/tr-e20fc8fa.js.map +1 -0
- package/dist/esm/uk-24ff3736.js +104 -0
- package/dist/esm/uk-24ff3736.js.map +1 -0
- package/dist/esm/utils-9a35b1cf.js +200 -0
- package/dist/esm/utils-9a35b1cf.js.map +1 -0
- package/dist/esm/utils-d98d7c16.js +289 -0
- package/dist/esm/utils-d98d7c16.js.map +1 -0
- package/dist/esm/vi-4f6a3958.js +70 -0
- package/dist/esm/vi-4f6a3958.js.map +1 -0
- package/dist/esm/zh-cn-e496126a.js +94 -0
- package/dist/esm/zh-cn-e496126a.js.map +1 -0
- package/dist/esm/zh-hk-1752a754.js +71 -0
- package/dist/esm/zh-hk-1752a754.js.map +1 -0
- package/dist/esm/zh-tw-b80b9f6a.js +92 -0
- package/dist/esm/zh-tw-b80b9f6a.js.map +1 -0
- package/dist/extras/docs-json.json +374 -70
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/accordion-item/accordion-item.d.ts +4 -0
- package/dist/types/components/block-section/block-section.d.ts +10 -0
- package/dist/types/components/block-section/resources.d.ts +7 -3
- package/dist/types/components/carousel/carousel.d.ts +4 -1
- package/dist/types/components/checkbox/resources.d.ts +4 -0
- package/dist/types/components/combobox/combobox.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +1 -0
- package/dist/types/components/dropdown-item/resources.d.ts +0 -3
- package/dist/types/components/flow-item/flow-item.d.ts +2 -0
- package/dist/types/components/flow-item/resources.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components/input-number/input-number.d.ts +1 -1
- package/dist/types/components/input-text/input-text.d.ts +1 -1
- package/dist/types/components/panel/panel.d.ts +4 -0
- package/dist/types/components/panel/resources.d.ts +2 -0
- package/dist/types/components/pick-list/pick-list.d.ts +1 -1
- package/dist/types/components/pick-list-group/pick-list-group.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +1 -1
- package/dist/types/components/segmented-control-item/resources.d.ts +8 -1
- package/dist/types/components/segmented-control-item/segmented-control-item.d.ts +4 -0
- package/dist/types/components/select/select.d.ts +1 -0
- package/dist/types/components/shell/shell.d.ts +5 -5
- package/dist/types/components/stepper/stepper.d.ts +8 -1
- package/dist/types/components/stepper-item/stepper-item.d.ts +3 -3
- package/dist/types/components/switch/resources.d.ts +5 -0
- package/dist/types/components/table/interfaces.d.ts +1 -0
- package/dist/types/components/table/table.d.ts +4 -2
- package/dist/types/components/tile-select/tile-select.d.ts +1 -0
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +1 -0
- package/dist/types/components/tip/tip.d.ts +1 -0
- package/dist/types/components/tip-group/tip-group.d.ts +1 -0
- package/dist/types/components/tip-manager/tip-manager.d.ts +1 -0
- package/dist/types/components/value-list/value-list.d.ts +1 -1
- package/dist/types/components/value-list-item/value-list-item.d.ts +1 -1
- package/dist/types/components.d.ts +149 -23
- package/dist/types/preact.d.ts +4 -3
- package/dist/types/utils/component.d.ts +23 -0
- package/dist/types/utils/dom.d.ts +7 -0
- package/dist/types/utils/loadable.d.ts +17 -3
- package/dist/types/utils/openCloseComponent.d.ts +0 -16
- package/hydrate/index.js +895 -683
- package/package.json +5 -4
- package/readme.md +2 -2
- package/dist/calcite/p-0055e511.js +0 -7
- package/dist/calcite/p-0162b05a.js +0 -7
- package/dist/calcite/p-017ff109.js +0 -7
- package/dist/calcite/p-041a8de6.entry.js +0 -7
- package/dist/calcite/p-055b2783.js +0 -7
- package/dist/calcite/p-0d049305.js +0 -7
- package/dist/calcite/p-0d9ac7a1.entry.js +0 -7
- package/dist/calcite/p-0ded9ae1.js +0 -7
- package/dist/calcite/p-0f2befc5.js +0 -7
- package/dist/calcite/p-12fa3747.entry.js +0 -7
- package/dist/calcite/p-12fa3747.entry.js.map +0 -1
- package/dist/calcite/p-13a91ca4.js +0 -7
- package/dist/calcite/p-13e864aa.js +0 -7
- package/dist/calcite/p-1a91451c.js +0 -7
- package/dist/calcite/p-1ab69d9d.js +0 -7
- package/dist/calcite/p-1e838207.js +0 -7
- package/dist/calcite/p-1fba7c50.entry.js +0 -7
- package/dist/calcite/p-1fba7c50.entry.js.map +0 -1
- package/dist/calcite/p-24808000.js +0 -7
- package/dist/calcite/p-2481fa80.js +0 -7
- package/dist/calcite/p-2632edf0.js +0 -7
- package/dist/calcite/p-2778f6f5.js +0 -7
- package/dist/calcite/p-28d5a868.js +0 -7
- package/dist/calcite/p-2977ec54.js +0 -7
- package/dist/calcite/p-2af9047a.entry.js +0 -7
- package/dist/calcite/p-2af9047a.entry.js.map +0 -1
- package/dist/calcite/p-2b53fea4.entry.js +0 -7
- package/dist/calcite/p-2b53fea4.entry.js.map +0 -1
- package/dist/calcite/p-2b65ed63.entry.js +0 -7
- package/dist/calcite/p-2d87d7c4.entry.js +0 -7
- package/dist/calcite/p-2d87d7c4.entry.js.map +0 -1
- package/dist/calcite/p-2dc1c1a0.js +0 -7
- package/dist/calcite/p-2f78ad4e.js +0 -7
- package/dist/calcite/p-30803e77.js +0 -7
- package/dist/calcite/p-30f3683f.entry.js +0 -7
- package/dist/calcite/p-30f3683f.entry.js.map +0 -1
- package/dist/calcite/p-31c4b5a1.js +0 -7
- package/dist/calcite/p-321ff864.entry.js +0 -7
- package/dist/calcite/p-321ff864.entry.js.map +0 -1
- package/dist/calcite/p-33b0174c.entry.js +0 -7
- package/dist/calcite/p-36f05a81.js +0 -7
- package/dist/calcite/p-374515dd.entry.js +0 -7
- package/dist/calcite/p-380a84aa.js +0 -7
- package/dist/calcite/p-380a84aa.js.map +0 -1
- package/dist/calcite/p-39b918b9.entry.js +0 -7
- package/dist/calcite/p-39b918b9.entry.js.map +0 -1
- package/dist/calcite/p-3a4e7427.js +0 -7
- package/dist/calcite/p-3ba82f86.entry.js +0 -7
- package/dist/calcite/p-3ba82f86.entry.js.map +0 -1
- package/dist/calcite/p-3d302e7a.js +0 -7
- package/dist/calcite/p-3d642bb5.entry.js +0 -7
- package/dist/calcite/p-3e484ff9.entry.js +0 -7
- package/dist/calcite/p-3e484ff9.entry.js.map +0 -1
- package/dist/calcite/p-43a14472.entry.js +0 -7
- package/dist/calcite/p-43a14472.entry.js.map +0 -1
- package/dist/calcite/p-4a7f9f77.js +0 -7
- package/dist/calcite/p-4a887929.entry.js +0 -7
- package/dist/calcite/p-50c67596.entry.js +0 -7
- package/dist/calcite/p-50c67596.entry.js.map +0 -1
- package/dist/calcite/p-51f324d8.js +0 -7
- package/dist/calcite/p-521dd844.js +0 -12
- package/dist/calcite/p-521dd844.js.map +0 -1
- package/dist/calcite/p-55c7839c.entry.js +0 -7
- package/dist/calcite/p-55c7839c.entry.js.map +0 -1
- package/dist/calcite/p-570b8543.entry.js +0 -7
- package/dist/calcite/p-570b8543.entry.js.map +0 -1
- package/dist/calcite/p-57d2f130.entry.js +0 -7
- package/dist/calcite/p-59472336.js +0 -7
- package/dist/calcite/p-5a0aa304.js +0 -7
- package/dist/calcite/p-5b021a42.js +0 -7
- package/dist/calcite/p-5b021a42.js.map +0 -1
- package/dist/calcite/p-5deb8612.entry.js +0 -7
- package/dist/calcite/p-5ea51123.js +0 -7
- package/dist/calcite/p-5ea51123.js.map +0 -1
- package/dist/calcite/p-607f6ebc.js +0 -7
- package/dist/calcite/p-609056d6.entry.js +0 -7
- package/dist/calcite/p-609056d6.entry.js.map +0 -1
- package/dist/calcite/p-6387e69e.entry.js +0 -7
- package/dist/calcite/p-6422db1f.js +0 -7
- package/dist/calcite/p-64e9ead9.entry.js +0 -7
- package/dist/calcite/p-64e9ead9.entry.js.map +0 -1
- package/dist/calcite/p-64eee6a2.js +0 -7
- package/dist/calcite/p-6a7c29f8.entry.js +0 -7
- package/dist/calcite/p-6a7c29f8.entry.js.map +0 -1
- package/dist/calcite/p-6abba7df.js +0 -7
- package/dist/calcite/p-6cfc0cf7.js +0 -7
- package/dist/calcite/p-6f21b8ef.entry.js +0 -7
- package/dist/calcite/p-6f21b8ef.entry.js.map +0 -1
- package/dist/calcite/p-70f6a000.js +0 -7
- package/dist/calcite/p-71f850ce.js +0 -7
- package/dist/calcite/p-7369809e.js +0 -7
- package/dist/calcite/p-7753672a.js +0 -7
- package/dist/calcite/p-77f9f089.js +0 -7
- package/dist/calcite/p-77f9f089.js.map +0 -1
- package/dist/calcite/p-793f94a2.js +0 -7
- package/dist/calcite/p-79b796c1.entry.js +0 -7
- package/dist/calcite/p-7a8f0e68.js +0 -7
- package/dist/calcite/p-7a8f0e68.js.map +0 -1
- package/dist/calcite/p-7b81ad5b.entry.js +0 -7
- package/dist/calcite/p-7bdd370e.entry.js +0 -7
- package/dist/calcite/p-7bdd370e.entry.js.map +0 -1
- package/dist/calcite/p-7c589f7f.js +0 -7
- package/dist/calcite/p-7e4a0c23.entry.js +0 -7
- package/dist/calcite/p-7f81bafc.entry.js +0 -7
- package/dist/calcite/p-7f81bafc.entry.js.map +0 -1
- package/dist/calcite/p-7f9ac7b4.js +0 -7
- package/dist/calcite/p-84214ae3.js +0 -7
- package/dist/calcite/p-8454d4f3.js +0 -7
- package/dist/calcite/p-85ac6a8b.js +0 -7
- package/dist/calcite/p-8775218c.entry.js +0 -7
- package/dist/calcite/p-89df96fa.entry.js +0 -7
- package/dist/calcite/p-8bf084c6.js +0 -7
- package/dist/calcite/p-9009b70b.js +0 -7
- package/dist/calcite/p-92ee57bc.js +0 -7
- package/dist/calcite/p-92ee57bc.js.map +0 -1
- package/dist/calcite/p-934455cd.js +0 -7
- package/dist/calcite/p-95a87661.js +0 -7
- package/dist/calcite/p-97ce6307.entry.js +0 -7
- package/dist/calcite/p-97ce6307.entry.js.map +0 -1
- package/dist/calcite/p-99d36c74.entry.js +0 -7
- package/dist/calcite/p-99d36c74.entry.js.map +0 -1
- package/dist/calcite/p-9a02cac5.entry.js +0 -7
- package/dist/calcite/p-9a23cef9.entry.js +0 -7
- package/dist/calcite/p-9a23cef9.entry.js.map +0 -1
- package/dist/calcite/p-9a5fdab8.js +0 -7
- package/dist/calcite/p-9c70c319.js +0 -7
- package/dist/calcite/p-a0cb4dc2.entry.js +0 -7
- package/dist/calcite/p-a10eff50.entry.js +0 -7
- package/dist/calcite/p-a138e60f.js +0 -7
- package/dist/calcite/p-a1399801.js +0 -7
- package/dist/calcite/p-a1710506.entry.js +0 -7
- package/dist/calcite/p-a1710506.entry.js.map +0 -1
- package/dist/calcite/p-a679215f.entry.js +0 -7
- package/dist/calcite/p-a679215f.entry.js.map +0 -1
- package/dist/calcite/p-a774b568.entry.js +0 -7
- package/dist/calcite/p-aa41f398.entry.js +0 -7
- package/dist/calcite/p-aa41f398.entry.js.map +0 -1
- package/dist/calcite/p-aebef5d6.entry.js +0 -7
- package/dist/calcite/p-aebef5d6.entry.js.map +0 -1
- package/dist/calcite/p-afb5e688.entry.js +0 -7
- package/dist/calcite/p-b3a9b574.js +0 -7
- package/dist/calcite/p-b3ec31eb.js +0 -7
- package/dist/calcite/p-b4152d8c.js +0 -7
- package/dist/calcite/p-b5643608.entry.js +0 -7
- package/dist/calcite/p-b5643608.entry.js.map +0 -1
- package/dist/calcite/p-b8248e75.js +0 -7
- package/dist/calcite/p-b833204d.js +0 -7
- package/dist/calcite/p-b8a710c9.js +0 -7
- package/dist/calcite/p-bf44c80a.js +0 -11
- package/dist/calcite/p-bfe64bf4.js +0 -7
- package/dist/calcite/p-bfe64bf4.js.map +0 -1
- package/dist/calcite/p-c0add2c7.entry.js +0 -7
- package/dist/calcite/p-c0add2c7.entry.js.map +0 -1
- package/dist/calcite/p-c1f0fad9.js +0 -7
- package/dist/calcite/p-c4c76533.entry.js +0 -7
- package/dist/calcite/p-c4c76533.entry.js.map +0 -1
- package/dist/calcite/p-c4f30c75.js +0 -7
- package/dist/calcite/p-c565f1e5.entry.js +0 -7
- package/dist/calcite/p-c565f1e5.entry.js.map +0 -1
- package/dist/calcite/p-c66c7e0f.entry.js +0 -7
- package/dist/calcite/p-c66c7e0f.entry.js.map +0 -1
- package/dist/calcite/p-c6857d4c.js +0 -7
- package/dist/calcite/p-c8b2ef0a.js +0 -7
- package/dist/calcite/p-c90dab6f.js +0 -7
- package/dist/calcite/p-c96daab9.entry.js +0 -7
- package/dist/calcite/p-ca4e10e6.entry.js +0 -7
- package/dist/calcite/p-ca4e10e6.entry.js.map +0 -1
- package/dist/calcite/p-cbc9fec3.entry.js +0 -7
- package/dist/calcite/p-cbc9fec3.entry.js.map +0 -1
- package/dist/calcite/p-ccfa3881.entry.js +0 -7
- package/dist/calcite/p-ccfa3881.entry.js.map +0 -1
- package/dist/calcite/p-cf740d3e.entry.js +0 -7
- package/dist/calcite/p-cf740d3e.entry.js.map +0 -1
- package/dist/calcite/p-d1a95180.js +0 -7
- package/dist/calcite/p-d41eda90.js +0 -7
- package/dist/calcite/p-d425e9b0.js +0 -7
- package/dist/calcite/p-d4870da3.js +0 -7
- package/dist/calcite/p-d4e9817c.entry.js +0 -7
- package/dist/calcite/p-d513360f.js +0 -7
- package/dist/calcite/p-d513360f.js.map +0 -1
- package/dist/calcite/p-d5fb1def.js +0 -8
- package/dist/calcite/p-d66f1056.entry.js +0 -7
- package/dist/calcite/p-d863b9a0.entry.js +0 -7
- package/dist/calcite/p-d863b9a0.entry.js.map +0 -1
- package/dist/calcite/p-d8d70bf3.js +0 -7
- package/dist/calcite/p-db4c54d8.entry.js +0 -7
- package/dist/calcite/p-dbd035fd.js +0 -13
- package/dist/calcite/p-dc82d439.entry.js +0 -7
- package/dist/calcite/p-dc82d439.entry.js.map +0 -1
- package/dist/calcite/p-dc8ea27c.js +0 -7
- package/dist/calcite/p-dd082821.entry.js +0 -7
- package/dist/calcite/p-dd082821.entry.js.map +0 -1
- package/dist/calcite/p-dd122c48.js +0 -7
- package/dist/calcite/p-df575d84.js +0 -7
- package/dist/calcite/p-e1b53a93.entry.js +0 -7
- package/dist/calcite/p-e1b53a93.entry.js.map +0 -1
- package/dist/calcite/p-e36a4b9a.entry.js +0 -7
- package/dist/calcite/p-e36a4b9a.entry.js.map +0 -1
- package/dist/calcite/p-e437ff18.entry.js +0 -7
- package/dist/calcite/p-e437ff18.entry.js.map +0 -1
- package/dist/calcite/p-e48a93b5.entry.js +0 -7
- package/dist/calcite/p-e48a93b5.entry.js.map +0 -1
- package/dist/calcite/p-e866b896.js +0 -7
- package/dist/calcite/p-e9278ce0.entry.js +0 -7
- package/dist/calcite/p-e9278ce0.entry.js.map +0 -1
- package/dist/calcite/p-ea0ed496.entry.js +0 -7
- package/dist/calcite/p-ea0ed496.entry.js.map +0 -1
- package/dist/calcite/p-eb55c27b.js +0 -7
- package/dist/calcite/p-ec23e58b.entry.js +0 -7
- package/dist/calcite/p-ec23e58b.entry.js.map +0 -1
- package/dist/calcite/p-ec696440.entry.js +0 -7
- package/dist/calcite/p-ed35c6d8.js +0 -7
- package/dist/calcite/p-efc4d265.js +0 -7
- package/dist/calcite/p-f1a01e9f.entry.js +0 -7
- package/dist/calcite/p-f2fb83bd.js +0 -7
- package/dist/calcite/p-f2fb83bd.js.map +0 -1
- package/dist/calcite/p-f52e7011.entry.js +0 -7
- package/dist/calcite/p-f52e7011.entry.js.map +0 -1
- package/dist/calcite/p-f60fce32.entry.js +0 -7
- package/dist/calcite/p-f60fce32.entry.js.map +0 -1
- package/dist/calcite/p-f75f0a6d.js +0 -7
- package/dist/calcite/p-ff961e08.js +0 -7
- package/dist/calcite/p-ffbee4c4.js +0 -7
- package/dist/cjs/ExpandToggle-d6b89e22.js +0 -108
- package/dist/cjs/ExpandToggle-d6b89e22.js.map +0 -1
- package/dist/cjs/FloatingArrow-237f3d59.js +0 -47
- package/dist/cjs/FloatingArrow-237f3d59.js.map +0 -1
- package/dist/cjs/Heading-4294a0cc.js +0 -22
- package/dist/cjs/Heading-4294a0cc.js.map +0 -1
- package/dist/cjs/Validation-a9559083.js +0 -18
- package/dist/cjs/Validation-a9559083.js.map +0 -1
- package/dist/cjs/app-globals-7fe5dc84.js +0 -61
- package/dist/cjs/app-globals-7fe5dc84.js.map +0 -1
- package/dist/cjs/ar-c7af6685.js +0 -106
- package/dist/cjs/ar-c7af6685.js.map +0 -1
- package/dist/cjs/array-ad10eca6.js +0 -14
- package/dist/cjs/array-ad10eca6.js.map +0 -1
- package/dist/cjs/bg-356ee9ad.js +0 -84
- package/dist/cjs/bg-356ee9ad.js.map +0 -1
- package/dist/cjs/browser-1a5f23a5.js +0 -22
- package/dist/cjs/browser-1a5f23a5.js.map +0 -1
- package/dist/cjs/bs-8c58e79c.js +0 -53
- package/dist/cjs/bs-8c58e79c.js.map +0 -1
- package/dist/cjs/ca-f1321b4c.js +0 -73
- package/dist/cjs/ca-f1321b4c.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-f83edba6.js +0 -2917
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-f83edba6.js.map +0 -1
- package/dist/cjs/component-4791014e.js +0 -30
- package/dist/cjs/component-4791014e.js.map +0 -1
- package/dist/cjs/conditionalSlot-68aa6404.js +0 -51
- package/dist/cjs/conditionalSlot-68aa6404.js.map +0 -1
- package/dist/cjs/core-6a73ccfd.js +0 -22
- package/dist/cjs/core-6a73ccfd.js.map +0 -1
- package/dist/cjs/cs-a53ae054.js +0 -149
- package/dist/cjs/cs-a53ae054.js.map +0 -1
- package/dist/cjs/da-deb0d91d.js +0 -68
- package/dist/cjs/da-deb0d91d.js.map +0 -1
- package/dist/cjs/de-aaf477fa.js +0 -93
- package/dist/cjs/de-aaf477fa.js.map +0 -1
- package/dist/cjs/de-at-89c994c5.js +0 -92
- package/dist/cjs/de-at-89c994c5.js.map +0 -1
- package/dist/cjs/de-ch-e0544be4.js +0 -92
- package/dist/cjs/de-ch-e0544be4.js.map +0 -1
- package/dist/cjs/debounce-348db285.js +0 -506
- package/dist/cjs/debounce-348db285.js.map +0 -1
- package/dist/cjs/dom-b3b692c7.js +0 -1097
- package/dist/cjs/dom-b3b692c7.js.map +0 -1
- package/dist/cjs/el-7fcb61d0.js +0 -68
- package/dist/cjs/el-7fcb61d0.js.map +0 -1
- package/dist/cjs/en-au-04f0e262.js +0 -68
- package/dist/cjs/en-au-04f0e262.js.map +0 -1
- package/dist/cjs/en-ca-978e0678.js +0 -67
- package/dist/cjs/en-ca-978e0678.js.map +0 -1
- package/dist/cjs/en-gb-37e64f67.js +0 -71
- package/dist/cjs/en-gb-37e64f67.js.map +0 -1
- package/dist/cjs/es-67a66f3c.js +0 -68
- package/dist/cjs/es-67a66f3c.js.map +0 -1
- package/dist/cjs/es-mx-cc894831.js +0 -67
- package/dist/cjs/es-mx-cc894831.js.map +0 -1
- package/dist/cjs/et-2b4ee2e2.js +0 -94
- package/dist/cjs/et-2b4ee2e2.js.map +0 -1
- package/dist/cjs/fi-82772bd5.js +0 -117
- package/dist/cjs/fi-82772bd5.js.map +0 -1
- package/dist/cjs/filter-545ae2ca.js +0 -774
- package/dist/cjs/filter-545ae2ca.js.map +0 -1
- package/dist/cjs/floating-ui-eb71a064.js +0 -2294
- package/dist/cjs/floating-ui-eb71a064.js.map +0 -1
- package/dist/cjs/focusTrapComponent-40da5be2.js +0 -1020
- package/dist/cjs/focusTrapComponent-40da5be2.js.map +0 -1
- package/dist/cjs/form-2f0ce4f5.js +0 -378
- package/dist/cjs/form-2f0ce4f5.js.map +0 -1
- package/dist/cjs/fr-3531da74.js +0 -70
- package/dist/cjs/fr-3531da74.js.map +0 -1
- package/dist/cjs/fr-ch-cac817f1.js +0 -68
- package/dist/cjs/fr-ch-cac817f1.js.map +0 -1
- package/dist/cjs/guid-8153c924.js +0 -23
- package/dist/cjs/guid-8153c924.js.map +0 -1
- package/dist/cjs/he-0db499ce.js +0 -107
- package/dist/cjs/he-0db499ce.js.map +0 -1
- package/dist/cjs/hi-793ee546.js +0 -67
- package/dist/cjs/hi-793ee546.js.map +0 -1
- package/dist/cjs/hr-f146e479.js +0 -82
- package/dist/cjs/hr-f146e479.js.map +0 -1
- package/dist/cjs/hu-65d53848.js +0 -90
- package/dist/cjs/hu-65d53848.js.map +0 -1
- package/dist/cjs/id-0bffe679.js +0 -68
- package/dist/cjs/id-0bffe679.js.map +0 -1
- package/dist/cjs/index-1cc708ad.js +0 -75
- package/dist/cjs/index-1cc708ad.js.map +0 -1
- package/dist/cjs/index-1e410f3b.js +0 -208
- package/dist/cjs/index-1e410f3b.js.map +0 -1
- package/dist/cjs/index-816b2235.js +0 -1934
- package/dist/cjs/index-816b2235.js.map +0 -1
- package/dist/cjs/input-59075b7d.js +0 -57
- package/dist/cjs/input-59075b7d.js.map +0 -1
- package/dist/cjs/interactive-a21fc529.js +0 -151
- package/dist/cjs/interactive-a21fc529.js.map +0 -1
- package/dist/cjs/it-afeba28f.js +0 -68
- package/dist/cjs/it-afeba28f.js.map +0 -1
- package/dist/cjs/it-ch-412f7c38.js +0 -68
- package/dist/cjs/it-ch-412f7c38.js.map +0 -1
- package/dist/cjs/ja-b49e57df.js +0 -74
- package/dist/cjs/ja-b49e57df.js.map +0 -1
- package/dist/cjs/key-b4561c75.js +0 -16
- package/dist/cjs/key-b4561c75.js.map +0 -1
- package/dist/cjs/ko-1e50d193.js +0 -74
- package/dist/cjs/ko-1e50d193.js.map +0 -1
- package/dist/cjs/label-1bfab83c.js +0 -183
- package/dist/cjs/label-1bfab83c.js.map +0 -1
- package/dist/cjs/loadable-8502181b.js +0 -91
- package/dist/cjs/loadable-8502181b.js.map +0 -1
- package/dist/cjs/locale-3c14df15.js +0 -576
- package/dist/cjs/locale-3c14df15.js.map +0 -1
- package/dist/cjs/lt-dc5d1109.js +0 -99
- package/dist/cjs/lt-dc5d1109.js.map +0 -1
- package/dist/cjs/lv-ee3d9325.js +0 -68
- package/dist/cjs/lv-ee3d9325.js.map +0 -1
- package/dist/cjs/math-8823ec49.js +0 -57
- package/dist/cjs/math-8823ec49.js.map +0 -1
- package/dist/cjs/mk-4f1dbd16.js +0 -68
- package/dist/cjs/mk-4f1dbd16.js.map +0 -1
- package/dist/cjs/nb-d0d5285e.js +0 -69
- package/dist/cjs/nb-d0d5285e.js.map +0 -1
- package/dist/cjs/nl-463eef46.js +0 -69
- package/dist/cjs/nl-463eef46.js.map +0 -1
- package/dist/cjs/observers-9d4b94fa.js +0 -52
- package/dist/cjs/observers-9d4b94fa.js.map +0 -1
- package/dist/cjs/openCloseComponent-e274d148.js +0 -90
- package/dist/cjs/openCloseComponent-e274d148.js.map +0 -1
- package/dist/cjs/pl-61ceec23.js +0 -116
- package/dist/cjs/pl-61ceec23.js.map +0 -1
- package/dist/cjs/pt-1b26b8ff.js +0 -69
- package/dist/cjs/pt-1b26b8ff.js.map +0 -1
- package/dist/cjs/pt-br-ae2854a9.js +0 -67
- package/dist/cjs/pt-br-ae2854a9.js.map +0 -1
- package/dist/cjs/resources-2cc41c87.js +0 -29
- package/dist/cjs/resources-2cc41c87.js.map +0 -1
- package/dist/cjs/resources-b8705ec7.js +0 -51
- package/dist/cjs/resources-b8705ec7.js.map +0 -1
- package/dist/cjs/resources-bb337ee2.js +0 -26
- package/dist/cjs/resources-bb337ee2.js.map +0 -1
- package/dist/cjs/resources-ccf664a4.js +0 -18
- package/dist/cjs/resources-ccf664a4.js.map +0 -1
- package/dist/cjs/resources-da727d05.js +0 -23
- package/dist/cjs/resources-da727d05.js.map +0 -1
- package/dist/cjs/resources-ed5a4439.js +0 -410
- package/dist/cjs/resources-ed5a4439.js.map +0 -1
- package/dist/cjs/resources-f633e7ab.js +0 -26
- package/dist/cjs/resources-f633e7ab.js.map +0 -1
- package/dist/cjs/ro-00ccda3f.js +0 -68
- package/dist/cjs/ro-00ccda3f.js.map +0 -1
- package/dist/cjs/ru-ad8a83aa.js +0 -128
- package/dist/cjs/ru-ad8a83aa.js.map +0 -1
- package/dist/cjs/sk-f15908b0.js +0 -150
- package/dist/cjs/sk-f15908b0.js.map +0 -1
- package/dist/cjs/sl-32e2271d.js +0 -170
- package/dist/cjs/sl-32e2271d.js.map +0 -1
- package/dist/cjs/sortableComponent-702ee46e.js +0 -2744
- package/dist/cjs/sortableComponent-702ee46e.js.map +0 -1
- package/dist/cjs/sr-621cdc2b.js +0 -103
- package/dist/cjs/sr-621cdc2b.js.map +0 -1
- package/dist/cjs/sv-6a35a539.js +0 -73
- package/dist/cjs/sv-6a35a539.js.map +0 -1
- package/dist/cjs/t9n-d22d6156.js +0 -97
- package/dist/cjs/t9n-d22d6156.js.map +0 -1
- package/dist/cjs/th-c0576282.js +0 -67
- package/dist/cjs/th-c0576282.js.map +0 -1
- package/dist/cjs/throttle-8063c792.js +0 -77
- package/dist/cjs/throttle-8063c792.js.map +0 -1
- package/dist/cjs/tr-9a10fc25.js +0 -68
- package/dist/cjs/tr-9a10fc25.js.map +0 -1
- package/dist/cjs/uk-1b77b5a9.js +0 -106
- package/dist/cjs/uk-1b77b5a9.js.map +0 -1
- package/dist/cjs/utils-5a755d42.js +0 -218
- package/dist/cjs/utils-5a755d42.js.map +0 -1
- package/dist/cjs/utils-7340366a.js +0 -307
- package/dist/cjs/utils-7340366a.js.map +0 -1
- package/dist/cjs/vi-e4911550.js +0 -72
- package/dist/cjs/vi-e4911550.js.map +0 -1
- package/dist/cjs/zh-cn-8352862f.js +0 -96
- package/dist/cjs/zh-cn-8352862f.js.map +0 -1
- package/dist/cjs/zh-hk-85c5b141.js +0 -73
- package/dist/cjs/zh-hk-85c5b141.js.map +0 -1
- package/dist/cjs/zh-tw-ad6172c7.js +0 -94
- package/dist/cjs/zh-tw-ad6172c7.js.map +0 -1
- package/dist/esm/ExpandToggle-ea12da4c.js +0 -100
- package/dist/esm/ExpandToggle-ea12da4c.js.map +0 -1
- package/dist/esm/FloatingArrow-6640c999.js +0 -45
- package/dist/esm/FloatingArrow-6640c999.js.map +0 -1
- package/dist/esm/Heading-77af0c89.js +0 -19
- package/dist/esm/Heading-77af0c89.js.map +0 -1
- package/dist/esm/Validation-dc411a73.js +0 -16
- package/dist/esm/Validation-dc411a73.js.map +0 -1
- package/dist/esm/app-globals-edd9007f.js +0 -59
- package/dist/esm/app-globals-edd9007f.js.map +0 -1
- package/dist/esm/ar-4a60c565.js +0 -104
- package/dist/esm/ar-4a60c565.js.map +0 -1
- package/dist/esm/array-0193d0fc.js +0 -12
- package/dist/esm/array-0193d0fc.js.map +0 -1
- package/dist/esm/bg-b9a93685.js +0 -82
- package/dist/esm/bg-b9a93685.js.map +0 -1
- package/dist/esm/browser-08b65933.js +0 -20
- package/dist/esm/browser-08b65933.js.map +0 -1
- package/dist/esm/bs-847afd51.js +0 -51
- package/dist/esm/bs-847afd51.js.map +0 -1
- package/dist/esm/ca-517cbe4d.js +0 -71
- package/dist/esm/ca-517cbe4d.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-483240f9.js +0 -2913
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-483240f9.js.map +0 -1
- package/dist/esm/component-7869d8fb.js +0 -27
- package/dist/esm/component-7869d8fb.js.map +0 -1
- package/dist/esm/conditionalSlot-d80ac9d1.js +0 -48
- package/dist/esm/conditionalSlot-d80ac9d1.js.map +0 -1
- package/dist/esm/core-41b1c01b.js +0 -17
- package/dist/esm/core-41b1c01b.js.map +0 -1
- package/dist/esm/cs-7c14f702.js +0 -147
- package/dist/esm/cs-7c14f702.js.map +0 -1
- package/dist/esm/da-fc814530.js +0 -66
- package/dist/esm/da-fc814530.js.map +0 -1
- package/dist/esm/de-at-d6b39687.js +0 -90
- package/dist/esm/de-at-d6b39687.js.map +0 -1
- package/dist/esm/de-ch-31d8d267.js +0 -90
- package/dist/esm/de-ch-31d8d267.js.map +0 -1
- package/dist/esm/de-ef8315e1.js +0 -91
- package/dist/esm/de-ef8315e1.js.map +0 -1
- package/dist/esm/debounce-012012be.js +0 -497
- package/dist/esm/debounce-012012be.js.map +0 -1
- package/dist/esm/dom-63b96658.js +0 -1065
- package/dist/esm/dom-63b96658.js.map +0 -1
- package/dist/esm/el-2c165829.js +0 -66
- package/dist/esm/el-2c165829.js.map +0 -1
- package/dist/esm/en-au-97adccf2.js +0 -66
- package/dist/esm/en-au-97adccf2.js.map +0 -1
- package/dist/esm/en-ca-e7c2aaf2.js +0 -65
- package/dist/esm/en-ca-e7c2aaf2.js.map +0 -1
- package/dist/esm/en-gb-99163618.js +0 -69
- package/dist/esm/en-gb-99163618.js.map +0 -1
- package/dist/esm/es-ca83d88f.js +0 -66
- package/dist/esm/es-ca83d88f.js.map +0 -1
- package/dist/esm/es-mx-6bdf255f.js +0 -65
- package/dist/esm/es-mx-6bdf255f.js.map +0 -1
- package/dist/esm/et-784b9bf6.js +0 -92
- package/dist/esm/et-784b9bf6.js.map +0 -1
- package/dist/esm/fi-c1498db1.js +0 -115
- package/dist/esm/fi-c1498db1.js.map +0 -1
- package/dist/esm/filter-12c5a24c.js +0 -772
- package/dist/esm/filter-12c5a24c.js.map +0 -1
- package/dist/esm/floating-ui-bb60db3e.js +0 -2286
- package/dist/esm/floating-ui-bb60db3e.js.map +0 -1
- package/dist/esm/focusTrapComponent-c63f6b29.js +0 -1015
- package/dist/esm/focusTrapComponent-c63f6b29.js.map +0 -1
- package/dist/esm/form-15b23645.js +0 -369
- package/dist/esm/form-15b23645.js.map +0 -1
- package/dist/esm/fr-5f1729ca.js +0 -68
- package/dist/esm/fr-5f1729ca.js.map +0 -1
- package/dist/esm/fr-ch-f3209244.js +0 -66
- package/dist/esm/fr-ch-f3209244.js.map +0 -1
- package/dist/esm/guid-e88236cd.js +0 -21
- package/dist/esm/guid-e88236cd.js.map +0 -1
- package/dist/esm/he-c3d2921e.js +0 -105
- package/dist/esm/he-c3d2921e.js.map +0 -1
- package/dist/esm/hi-83ec6ae0.js +0 -65
- package/dist/esm/hi-83ec6ae0.js.map +0 -1
- package/dist/esm/hr-d3823235.js +0 -80
- package/dist/esm/hr-d3823235.js.map +0 -1
- package/dist/esm/hu-b0de226a.js +0 -88
- package/dist/esm/hu-b0de226a.js.map +0 -1
- package/dist/esm/id-e06f61a1.js +0 -66
- package/dist/esm/id-e06f61a1.js.map +0 -1
- package/dist/esm/index-13d6569f.js +0 -73
- package/dist/esm/index-13d6569f.js.map +0 -1
- package/dist/esm/index-83937316.js +0 -1899
- package/dist/esm/index-83937316.js.map +0 -1
- package/dist/esm/index-ca806346.js +0 -206
- package/dist/esm/index-ca806346.js.map +0 -1
- package/dist/esm/input-2b4050bb.js +0 -55
- package/dist/esm/input-2b4050bb.js.map +0 -1
- package/dist/esm/interactive-9e5e40e3.js +0 -146
- package/dist/esm/interactive-9e5e40e3.js.map +0 -1
- package/dist/esm/it-a4d6a18a.js +0 -66
- package/dist/esm/it-a4d6a18a.js.map +0 -1
- package/dist/esm/it-ch-7d051cbb.js +0 -66
- package/dist/esm/it-ch-7d051cbb.js.map +0 -1
- package/dist/esm/ja-0150deb6.js +0 -72
- package/dist/esm/ja-0150deb6.js.map +0 -1
- package/dist/esm/key-b5c2cd7d.js +0 -13
- package/dist/esm/key-b5c2cd7d.js.map +0 -1
- package/dist/esm/ko-b55b3fd9.js +0 -72
- package/dist/esm/ko-b55b3fd9.js.map +0 -1
- package/dist/esm/label-0a6fa80e.js +0 -176
- package/dist/esm/label-0a6fa80e.js.map +0 -1
- package/dist/esm/loadable-38c7a128.js +0 -86
- package/dist/esm/loadable-38c7a128.js.map +0 -1
- package/dist/esm/locale-98b6e661.js +0 -563
- package/dist/esm/locale-98b6e661.js.map +0 -1
- package/dist/esm/lt-a97c8f39.js +0 -97
- package/dist/esm/lt-a97c8f39.js.map +0 -1
- package/dist/esm/lv-69de396f.js +0 -66
- package/dist/esm/lv-69de396f.js.map +0 -1
- package/dist/esm/math-1ffb5216.js +0 -51
- package/dist/esm/math-1ffb5216.js.map +0 -1
- package/dist/esm/mk-b027047b.js +0 -66
- package/dist/esm/mk-b027047b.js.map +0 -1
- package/dist/esm/nb-2c2f5110.js +0 -67
- package/dist/esm/nb-2c2f5110.js.map +0 -1
- package/dist/esm/nl-bcb1fef5.js +0 -67
- package/dist/esm/nl-bcb1fef5.js.map +0 -1
- package/dist/esm/observers-b1ddc634.js +0 -50
- package/dist/esm/observers-b1ddc634.js.map +0 -1
- package/dist/esm/openCloseComponent-221c7895.js +0 -88
- package/dist/esm/openCloseComponent-221c7895.js.map +0 -1
- package/dist/esm/pl-d7b738d5.js +0 -114
- package/dist/esm/pl-d7b738d5.js.map +0 -1
- package/dist/esm/pt-8d862776.js +0 -67
- package/dist/esm/pt-8d862776.js.map +0 -1
- package/dist/esm/pt-br-9cced7c3.js +0 -65
- package/dist/esm/pt-br-9cced7c3.js.map +0 -1
- package/dist/esm/resources-06afaa96.js +0 -21
- package/dist/esm/resources-06afaa96.js.map +0 -1
- package/dist/esm/resources-1c4729cf.js +0 -47
- package/dist/esm/resources-1c4729cf.js.map +0 -1
- package/dist/esm/resources-3625820f.js +0 -25
- package/dist/esm/resources-3625820f.js.map +0 -1
- package/dist/esm/resources-6f878962.js +0 -382
- package/dist/esm/resources-6f878962.js.map +0 -1
- package/dist/esm/resources-77de6f53.js +0 -23
- package/dist/esm/resources-77de6f53.js.map +0 -1
- package/dist/esm/resources-87521d97.js +0 -19
- package/dist/esm/resources-87521d97.js.map +0 -1
- package/dist/esm/resources-c8a9ab73.js +0 -16
- package/dist/esm/resources-c8a9ab73.js.map +0 -1
- package/dist/esm/ro-64696343.js +0 -66
- package/dist/esm/ro-64696343.js.map +0 -1
- package/dist/esm/ru-7d2bcecb.js +0 -126
- package/dist/esm/ru-7d2bcecb.js.map +0 -1
- package/dist/esm/sk-696727a5.js +0 -148
- package/dist/esm/sk-696727a5.js.map +0 -1
- package/dist/esm/sl-d6786356.js +0 -168
- package/dist/esm/sl-d6786356.js.map +0 -1
- package/dist/esm/sortableComponent-d6d6073a.js +0 -2740
- package/dist/esm/sortableComponent-d6d6073a.js.map +0 -1
- package/dist/esm/sr-49902b21.js +0 -101
- package/dist/esm/sr-49902b21.js.map +0 -1
- package/dist/esm/sv-42352adb.js +0 -71
- package/dist/esm/sv-42352adb.js.map +0 -1
- package/dist/esm/t9n-743d8f1f.js +0 -92
- package/dist/esm/t9n-743d8f1f.js.map +0 -1
- package/dist/esm/th-b38889af.js +0 -65
- package/dist/esm/th-b38889af.js.map +0 -1
- package/dist/esm/throttle-f010e4ec.js +0 -75
- package/dist/esm/throttle-f010e4ec.js.map +0 -1
- package/dist/esm/tr-45b364a6.js +0 -66
- package/dist/esm/tr-45b364a6.js.map +0 -1
- package/dist/esm/uk-139dd5db.js +0 -104
- package/dist/esm/uk-139dd5db.js.map +0 -1
- package/dist/esm/utils-8a9f83d2.js +0 -200
- package/dist/esm/utils-8a9f83d2.js.map +0 -1
- package/dist/esm/utils-b5c2b8ad.js +0 -289
- package/dist/esm/utils-b5c2b8ad.js.map +0 -1
- package/dist/esm/vi-7ad65eda.js +0 -70
- package/dist/esm/vi-7ad65eda.js.map +0 -1
- package/dist/esm/zh-cn-3b50595c.js +0 -94
- package/dist/esm/zh-cn-3b50595c.js.map +0 -1
- package/dist/esm/zh-hk-5c21fdfd.js +0 -71
- package/dist/esm/zh-hk-5c21fdfd.js.map +0 -1
- package/dist/esm/zh-tw-6b722e99.js +0 -92
- package/dist/esm/zh-tw-6b722e99.js.map +0 -1
- /package/dist/calcite/{p-13e864aa.js.map → p-00fb4b18.js.map} +0 -0
- /package/dist/calcite/{p-2632edf0.js.map → p-02f20832.js.map} +0 -0
- /package/dist/calcite/{p-b4152d8c.js.map → p-03e7828b.js.map} +0 -0
- /package/dist/calcite/{p-89df96fa.entry.js.map → p-045f7080.entry.js.map} +0 -0
- /package/dist/calcite/{p-f75f0a6d.js.map → p-0592bb74.js.map} +0 -0
- /package/dist/calcite/{p-d1a95180.js.map → p-06264a70.js.map} +0 -0
- /package/dist/calcite/{p-5deb8612.entry.js.map → p-0675423d.entry.js.map} +0 -0
- /package/dist/calcite/{p-ec696440.entry.js.map → p-0b425650.entry.js.map} +0 -0
- /package/dist/calcite/{p-5a0aa304.js.map → p-0d38002d.js.map} +0 -0
- /package/dist/calcite/{p-ffbee4c4.js.map → p-0e14f6ba.js.map} +0 -0
- /package/dist/calcite/{p-28d5a868.js.map → p-137cb2d8.js.map} +0 -0
- /package/dist/calcite/{p-f1a01e9f.entry.js.map → p-14d42338.entry.js.map} +0 -0
- /package/dist/calcite/{p-017ff109.js.map → p-1a5a3816.js.map} +0 -0
- /package/dist/calcite/{p-3d302e7a.js.map → p-1b66a670.js.map} +0 -0
- /package/dist/calcite/{p-db4c54d8.entry.js.map → p-1befc448.entry.js.map} +0 -0
- /package/dist/calcite/{p-eb55c27b.js.map → p-216d3475.js.map} +0 -0
- /package/dist/calcite/{p-dbd035fd.js.map → p-23562709.js.map} +0 -0
- /package/dist/calcite/{p-a10eff50.entry.js.map → p-23e6adeb.entry.js.map} +0 -0
- /package/dist/calcite/{p-6abba7df.js.map → p-27b469a5.js.map} +0 -0
- /package/dist/calcite/{p-374515dd.entry.js.map → p-27e6101c.entry.js.map} +0 -0
- /package/dist/calcite/{p-1ab69d9d.js.map → p-28d72f23.js.map} +0 -0
- /package/dist/calcite/{p-041a8de6.entry.js.map → p-2cf00d1c.entry.js.map} +0 -0
- /package/dist/calcite/{p-8bf084c6.js.map → p-2e65afe6.js.map} +0 -0
- /package/dist/calcite/{p-7369809e.js.map → p-2fec90cc.js.map} +0 -0
- /package/dist/calcite/{p-c1f0fad9.js.map → p-300037e0.js.map} +0 -0
- /package/dist/calcite/{p-d425e9b0.js.map → p-323499c6.js.map} +0 -0
- /package/dist/calcite/{p-7e4a0c23.entry.js.map → p-33936156.entry.js.map} +0 -0
- /package/dist/calcite/{p-3a4e7427.js.map → p-33987720.js.map} +0 -0
- /package/dist/calcite/{p-1e838207.js.map → p-34b88712.js.map} +0 -0
- /package/dist/calcite/{p-c8b2ef0a.js.map → p-3c7de4a4.js.map} +0 -0
- /package/dist/calcite/{p-2f78ad4e.js.map → p-44bcb296.js.map} +0 -0
- /package/dist/calcite/{p-a774b568.entry.js.map → p-471cd147.entry.js.map} +0 -0
- /package/dist/calcite/{p-dc8ea27c.js.map → p-489ab4db.js.map} +0 -0
- /package/dist/calcite/{p-c6857d4c.js.map → p-4ce7ed41.js.map} +0 -0
- /package/dist/calcite/{p-7753672a.js.map → p-4d984389.js.map} +0 -0
- /package/dist/calcite/{p-6cfc0cf7.js.map → p-53206461.js.map} +0 -0
- /package/dist/calcite/{p-71f850ce.js.map → p-537bd8ad.js.map} +0 -0
- /package/dist/calcite/{p-b8248e75.js.map → p-56c5a9db.js.map} +0 -0
- /package/dist/calcite/{p-4a7f9f77.js.map → p-57e21d44.js.map} +0 -0
- /package/dist/calcite/{p-9c70c319.js.map → p-5a2e88a5.js.map} +0 -0
- /package/dist/calcite/{p-a1399801.js.map → p-5ed38cb9.js.map} +0 -0
- /package/dist/calcite/{p-95a87661.js.map → p-601d8185.js.map} +0 -0
- /package/dist/calcite/{p-0d049305.js.map → p-61ca3fb5.js.map} +0 -0
- /package/dist/calcite/{p-6422db1f.js.map → p-64a13b2b.js.map} +0 -0
- /package/dist/calcite/{p-8454d4f3.js.map → p-692ed798.js.map} +0 -0
- /package/dist/calcite/{p-c90dab6f.js.map → p-6be4c997.js.map} +0 -0
- /package/dist/calcite/{p-2778f6f5.js.map → p-6d735fc5.js.map} +0 -0
- /package/dist/calcite/{p-13a91ca4.js.map → p-6d7ea488.js.map} +0 -0
- /package/dist/calcite/{p-0055e511.js.map → p-70c530fa.js.map} +0 -0
- /package/dist/calcite/{p-79b796c1.entry.js.map → p-721693d5.entry.js.map} +0 -0
- /package/dist/calcite/{p-b3a9b574.js.map → p-722485f5.js.map} +0 -0
- /package/dist/calcite/{p-2b65ed63.entry.js.map → p-731c80e1.entry.js.map} +0 -0
- /package/dist/calcite/{p-793f94a2.js.map → p-76a05023.js.map} +0 -0
- /package/dist/calcite/{p-e866b896.js.map → p-7808f2ea.js.map} +0 -0
- /package/dist/calcite/{p-df575d84.js.map → p-7929e123.js.map} +0 -0
- /package/dist/calcite/{p-a0cb4dc2.entry.js.map → p-7d9caf84.entry.js.map} +0 -0
- /package/dist/calcite/{p-30803e77.js.map → p-8056b9f5.js.map} +0 -0
- /package/dist/calcite/{p-2dc1c1a0.js.map → p-8214890d.js.map} +0 -0
- /package/dist/calcite/{p-3d642bb5.entry.js.map → p-82acae3a.entry.js.map} +0 -0
- /package/dist/calcite/{p-607f6ebc.js.map → p-8356a697.js.map} +0 -0
- /package/dist/calcite/{p-4a887929.entry.js.map → p-8582076d.entry.js.map} +0 -0
- /package/dist/calcite/{p-b3ec31eb.js.map → p-87e00193.js.map} +0 -0
- /package/dist/calcite/{p-0f2befc5.js.map → p-8a489084.js.map} +0 -0
- /package/dist/calcite/{p-85ac6a8b.js.map → p-8a5e2f30.js.map} +0 -0
- /package/dist/calcite/{p-d41eda90.js.map → p-8e3a4720.js.map} +0 -0
- /package/dist/calcite/{p-b8a710c9.js.map → p-9229616c.js.map} +0 -0
- /package/dist/calcite/{p-70f6a000.js.map → p-93814eea.js.map} +0 -0
- /package/dist/calcite/{p-bf44c80a.js.map → p-94138947.js.map} +0 -0
- /package/dist/calcite/{p-a138e60f.js.map → p-94231d36.js.map} +0 -0
- /package/dist/calcite/{p-7c589f7f.js.map → p-9afafa31.js.map} +0 -0
- /package/dist/calcite/{p-055b2783.js.map → p-a1729828.js.map} +0 -0
- /package/dist/calcite/{p-d8d70bf3.js.map → p-a241e050.js.map} +0 -0
- /package/dist/calcite/{p-2481fa80.js.map → p-aa1f3bb0.js.map} +0 -0
- /package/dist/calcite/{p-0ded9ae1.js.map → p-ac40db38.js.map} +0 -0
- /package/dist/calcite/{p-efc4d265.js.map → p-ad00867d.js.map} +0 -0
- /package/dist/calcite/{p-7b81ad5b.entry.js.map → p-adf2e09b.entry.js.map} +0 -0
- /package/dist/calcite/{p-dd122c48.js.map → p-ae04d854.js.map} +0 -0
- /package/dist/calcite/{p-36f05a81.js.map → p-afaa8bd6.js.map} +0 -0
- /package/dist/calcite/{p-afb5e688.entry.js.map → p-b29c10c7.entry.js.map} +0 -0
- /package/dist/calcite/{p-0162b05a.js.map → p-b5e1810c.js.map} +0 -0
- /package/dist/calcite/{p-24808000.js.map → p-b8e56d6d.js.map} +0 -0
- /package/dist/calcite/{p-ed35c6d8.js.map → p-b9975309.js.map} +0 -0
- /package/dist/calcite/{p-b833204d.js.map → p-bd71120b.js.map} +0 -0
- /package/dist/calcite/{p-ff961e08.js.map → p-bf46ae45.js.map} +0 -0
- /package/dist/calcite/{p-59472336.js.map → p-c15f09d4.js.map} +0 -0
- /package/dist/calcite/{p-1a91451c.js.map → p-c26dde6d.js.map} +0 -0
- /package/dist/calcite/{p-9a5fdab8.js.map → p-c5480e93.js.map} +0 -0
- /package/dist/calcite/{p-64eee6a2.js.map → p-c5966b3e.js.map} +0 -0
- /package/dist/calcite/{p-2977ec54.js.map → p-c648d437.js.map} +0 -0
- /package/dist/calcite/{p-934455cd.js.map → p-c6f9db24.js.map} +0 -0
- /package/dist/calcite/{p-57d2f130.entry.js.map → p-c826795e.entry.js.map} +0 -0
- /package/dist/calcite/{p-31c4b5a1.js.map → p-cfaec1e1.js.map} +0 -0
- /package/dist/calcite/{p-d66f1056.entry.js.map → p-cfd060b6.entry.js.map} +0 -0
- /package/dist/calcite/{p-9a02cac5.entry.js.map → p-d2fbfca1.entry.js.map} +0 -0
- /package/dist/calcite/{p-84214ae3.js.map → p-d4786ef7.js.map} +0 -0
- /package/dist/calcite/{p-7f9ac7b4.js.map → p-d689065d.js.map} +0 -0
- /package/dist/calcite/{p-c4f30c75.js.map → p-dc15734f.js.map} +0 -0
- /package/dist/calcite/{p-33b0174c.entry.js.map → p-dcdf72f0.entry.js.map} +0 -0
- /package/dist/calcite/{p-d4e9817c.entry.js.map → p-e0aee19b.entry.js.map} +0 -0
- /package/dist/calcite/{p-d5fb1def.js.map → p-e48d006d.js.map} +0 -0
- /package/dist/calcite/{p-0d9ac7a1.entry.js.map → p-e8aee604.entry.js.map} +0 -0
- /package/dist/calcite/{p-d4870da3.js.map → p-e990b472.js.map} +0 -0
- /package/dist/calcite/{p-9009b70b.js.map → p-f246c231.js.map} +0 -0
- /package/dist/calcite/{p-6387e69e.entry.js.map → p-f3ebaf96.entry.js.map} +0 -0
- /package/dist/calcite/{p-51f324d8.js.map → p-f9bb2b7b.js.map} +0 -0
- /package/dist/calcite/{p-c96daab9.entry.js.map → p-fbb63962.entry.js.map} +0 -0
- /package/dist/calcite/{p-8775218c.entry.js.map → p-fe77f56d.entry.js.map} +0 -0
|
@@ -1,20 +1,26 @@
|
|
|
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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
|
-
import { t as toAriaBoolean } from './dom.js';
|
|
7
|
+
import { r as slotChangeHasContent, t as toAriaBoolean } from './dom.js';
|
|
8
8
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
9
9
|
|
|
10
10
|
const SLOTS = {
|
|
11
11
|
input: "input",
|
|
12
12
|
};
|
|
13
13
|
const CSS = {
|
|
14
|
-
|
|
14
|
+
label: "label",
|
|
15
|
+
labelScale: (scale) => `label--scale-${scale}`,
|
|
16
|
+
labelHorizontal: "label--horizontal",
|
|
17
|
+
labelOutline: "label--outline",
|
|
18
|
+
labelOutlineFill: "label--outline-fill",
|
|
19
|
+
icon: "icon",
|
|
20
|
+
iconSolo: "icon--solo",
|
|
15
21
|
};
|
|
16
22
|
|
|
17
|
-
const segmentedControlItemCss = ":host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-color-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(: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 );outline-offset:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:active) label{background-color:var(--calcite-color-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-color-brand);background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-color-brand);color:var(--calcite-color-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .
|
|
23
|
+
const segmentedControlItemCss = ":host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-color-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(: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 );outline-offset:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:active) label{background-color:var(--calcite-color-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-color-brand);background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-color-brand);color:var(--calcite-color-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .icon{color:highlightText}}.icon{position:relative;margin:0px;display:inline-flex;line-height:inherit;margin-inline-start:var(--calcite-internal-segmented-control-icon-margin-start);margin-inline-end:var(--calcite-internal-segmented-control-icon-margin-end)}:host([icon-start]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-end:0.5rem}:host([icon-end]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-start:0.5rem}:host([icon-start]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-end:0.75rem}:host([icon-end]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-start:0.75rem}:host([icon-start]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-end:1rem}:host([icon-end]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-start:1rem}.label .icon--solo{--calcite-internal-segmented-control-icon-margin-start:0;--calcite-internal-segmented-control-icon-margin-end:0}:host([hidden]){display:none}[hidden]{display:none}";
|
|
18
24
|
const CalciteSegmentedControlItemStyle0 = segmentedControlItemCss;
|
|
19
25
|
|
|
20
26
|
const SegmentedControlItem = /*@__PURE__*/ proxyCustomElement(class SegmentedControlItem extends HTMLElement {
|
|
@@ -23,6 +29,14 @@ const SegmentedControlItem = /*@__PURE__*/ proxyCustomElement(class SegmentedCon
|
|
|
23
29
|
this.__registerHost();
|
|
24
30
|
this.__attachShadow();
|
|
25
31
|
this.calciteInternalSegmentedControlItemChange = createEvent(this, "calciteInternalSegmentedControlItemChange", 6);
|
|
32
|
+
//--------------------------------------------------------------------------
|
|
33
|
+
//
|
|
34
|
+
// Private Methods
|
|
35
|
+
//
|
|
36
|
+
//--------------------------------------------------------------------------
|
|
37
|
+
this.handleSlotChange = (event) => {
|
|
38
|
+
this.hasSlottedContent = slotChangeHasContent(event);
|
|
39
|
+
};
|
|
26
40
|
this.checked = false;
|
|
27
41
|
this.iconFlipRtl = false;
|
|
28
42
|
this.iconStart = undefined;
|
|
@@ -31,6 +45,7 @@ const SegmentedControlItem = /*@__PURE__*/ proxyCustomElement(class SegmentedCon
|
|
|
31
45
|
this.appearance = "solid";
|
|
32
46
|
this.layout = "horizontal";
|
|
33
47
|
this.scale = "m";
|
|
48
|
+
this.hasSlottedContent = false;
|
|
34
49
|
}
|
|
35
50
|
handleCheckedChange() {
|
|
36
51
|
this.calciteInternalSegmentedControlItemChange.emit();
|
|
@@ -40,18 +55,35 @@ const SegmentedControlItem = /*@__PURE__*/ proxyCustomElement(class SegmentedCon
|
|
|
40
55
|
// Lifecycle
|
|
41
56
|
//
|
|
42
57
|
//--------------------------------------------------------------------------
|
|
58
|
+
renderIcon(icon, solo = false) {
|
|
59
|
+
return icon ? (h("calcite-icon", { class: {
|
|
60
|
+
[CSS.icon]: true,
|
|
61
|
+
[CSS.iconSolo]: solo,
|
|
62
|
+
}, flipRtl: this.iconFlipRtl, icon: icon, scale: "s" })) : null;
|
|
63
|
+
}
|
|
43
64
|
render() {
|
|
44
65
|
const { appearance, checked, layout, scale, value } = this;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
66
|
+
return (h(Host, { key: 'cccfab9b2bafbd943d4130299f9e2c1bff945a94', "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, h("label", { key: 'f406eac31751d139fb4b51ba42dbe907d6560a7a', class: {
|
|
67
|
+
[CSS.label]: true,
|
|
68
|
+
[CSS.labelScale(scale)]: true,
|
|
69
|
+
[CSS.labelHorizontal]: layout === "horizontal",
|
|
70
|
+
[CSS.labelOutline]: appearance === "outline",
|
|
71
|
+
[CSS.labelOutlineFill]: appearance === "outline-fill",
|
|
72
|
+
} }, this.renderContent())));
|
|
73
|
+
}
|
|
74
|
+
renderContent() {
|
|
75
|
+
const { hasSlottedContent, iconEnd, iconStart } = this;
|
|
76
|
+
const effectiveIcon = iconStart || iconEnd;
|
|
77
|
+
const canRenderIconOnly = !hasSlottedContent && effectiveIcon;
|
|
78
|
+
if (canRenderIconOnly) {
|
|
79
|
+
return [this.renderIcon(effectiveIcon, true), h("slot", { onSlotchange: this.handleSlotChange })];
|
|
80
|
+
}
|
|
81
|
+
return [
|
|
82
|
+
this.renderIcon(iconStart),
|
|
83
|
+
h("slot", { onSlotchange: this.handleSlotChange }),
|
|
84
|
+
h("slot", { name: SLOTS.input }),
|
|
85
|
+
this.renderIcon(iconEnd),
|
|
86
|
+
];
|
|
55
87
|
}
|
|
56
88
|
get el() { return this; }
|
|
57
89
|
static get watchers() { return {
|
|
@@ -66,7 +98,8 @@ const SegmentedControlItem = /*@__PURE__*/ proxyCustomElement(class SegmentedCon
|
|
|
66
98
|
"value": [1032],
|
|
67
99
|
"appearance": [1],
|
|
68
100
|
"layout": [1],
|
|
69
|
-
"scale": [1]
|
|
101
|
+
"scale": [1],
|
|
102
|
+
"hasSlottedContent": [32]
|
|
70
103
|
}, undefined, {
|
|
71
104
|
"checked": ["handleCheckedChange"]
|
|
72
105
|
}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-segmented-control-item.js","mappings":";;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;CACf,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,wBAAwB,EAAE,6BAA6B;CACxD;;ACND,MAAM,uBAAuB,GAAG,q/FAAq/F,CAAC;AACthG,0CAAe,uBAAuB;;MCmBzB,oBAAoB;;;;;;uBASmB,KAAK;2BAQhB,KAAK;;;;0BAoBoC,OAAO;sBAO9D,YAAY;qBAOd,GAAG;;IAvChB,mBAAmB;QAC3B,IAAI,CAAC,yCAAyC,CAAC,IAAI,EAAE,CAAC;KACvD;;;;;;IA6CD,MAAM;QACJ,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QAE3D,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,IAChC,oBACE,KAAK,EAAE,GAAG,CAAC,wBAAwB,EACnC,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,EACpB,GAAG,EAAC,YAAY,EAChB,KAAK,EAAC,GAAG,GACT,IACA,IAAI,CAAC;QAET,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,IAC5B,oBACE,KAAK,EAAE,GAAG,CAAC,wBAAwB,EACnC,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,IAAI,EAAE,IAAI,CAAC,OAAO,EAClB,GAAG,EAAC,UAAU,EACd,KAAK,EAAC,GAAG,GACT,IACA,IAAI,CAAC;QAET,QACE,EAAC,IAAI,qEAAe,aAAa,CAAC,OAAO,CAAC,gBAAc,KAAK,EAAE,IAAI,EAAC,OAAO,IACzE,8DACE,KAAK,EAAE;gBACL,gBAAgB,EAAE,KAAK,KAAK,GAAG;gBAC/B,gBAAgB,EAAE,KAAK,KAAK,GAAG;gBAC/B,gBAAgB,EAAE,KAAK,KAAK,GAAG;gBAC/B,mBAAmB,EAAE,MAAM,KAAK,YAAY;gBAC5C,gBAAgB,EAAE,UAAU,KAAK,SAAS;gBAC1C,qBAAqB,EAAE,UAAU,KAAK,cAAc;aACrD,IAEA,IAAI,CAAC,SAAS,GAAG,WAAW,GAAG,IAAI,EACpC,+DAAO,KAAK,CAAQ,EACpB,6DAAM,IAAI,EAAE,KAAK,CAAC,KAAK,GAAI,EAC1B,IAAI,CAAC,OAAO,GAAG,SAAS,GAAG,IAAI,CAC1B,CACH,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/segmented-control-item/resources.ts","src/components/segmented-control-item/segmented-control-item.scss?tag=calcite-segmented-control-item&encapsulation=shadow","src/components/segmented-control-item/segmented-control-item.tsx"],"sourcesContent":["export const SLOTS = {\n input: \"input\",\n};\n\nexport const CSS = {\n segmentedControlItemIcon: \"segmented-control-item-icon\",\n};\n",":host {\n @apply flex\n cursor-pointer\n self-stretch\n font-normal;\n transition:\n background-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n border-color var(--calcite-animation-timing) ease-in-out;\n}\n\n:host label {\n @apply text-color-3\n pointer-events-none\n m-0.5\n box-border\n flex\n flex-1\n items-center;\n transition:\n background-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n border-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n color var(--calcite-internal-animation-timing-fast) ease-in-out;\n}\n\n.label--horizontal {\n @apply justify-center;\n}\n\n// focus styles\n:host {\n @apply focus-base;\n}\n:host(:focus) {\n @apply focus-inset;\n outline-offset: -1px;\n}\n\n.label--scale-s {\n @apply text-n2h px-2;\n padding-block: 0.125rem;\n}\n\n.label--scale-m {\n @apply text-n1h px-3;\n padding-block: 0.375rem;\n}\n\n.label--scale-l {\n @apply text-0h px-4 py-2.5;\n}\n\n:host(:hover) label {\n @apply bg-foreground-2 text-color-1;\n}\n\n:host(:active) label {\n @apply bg-foreground-3;\n}\n\n:host([checked]) label {\n @apply bg-brand border-color-brand cursor-default text-color-inverse;\n}\n\n:host([checked]) .label--outline,\n:host([checked]) .label--outline-fill {\n @apply bg-foreground-1 border-color-brand;\n box-shadow: inset 0 0 0 1px theme(\"backgroundColor.brand\");\n color: theme(\"backgroundColor.brand\");\n}\n\n:host([checked]) .label--outline {\n @apply bg-transparent;\n}\n\n::slotted(input) {\n @apply hidden;\n}\n\n@media (forced-colors: active) {\n :host([checked]) label {\n background-color: highlight;\n }\n :host([checked]) .label--outline,\n :host([checked]) .label--outline-fill {\n @apply outline-none;\n }\n :host([checked]) label:not([class~=\"label--outline\"]) .segmented-control-item-icon {\n color: highlightText;\n }\n}\n\n// icon\n.segmented-control-item-icon {\n @apply relative\n m-0\n inline-flex;\n line-height: inherit;\n}\n\n:host([icon-start]) .label--scale-s .segmented-control-item-icon {\n margin-inline-end: theme(\"margin.2\");\n}\n\n:host([icon-end]) .label--scale-s .segmented-control-item-icon {\n margin-inline-start: theme(\"margin.2\");\n}\n\n:host([icon-start]) .label--scale-m .segmented-control-item-icon {\n margin-inline-end: theme(\"margin.3\");\n}\n\n:host([icon-end]) .label--scale-m .segmented-control-item-icon {\n margin-inline-start: theme(\"margin.3\");\n}\n\n:host([icon-start]) .label--scale-l .segmented-control-item-icon {\n margin-inline-end: theme(\"margin.4\");\n}\n:host([icon-end]) .label--scale-l .segmented-control-item-icon {\n margin-inline-start: theme(\"margin.4\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport { Appearance, Layout, Scale } from \"../interfaces\";\nimport { CSS, SLOTS } from \"./resources\";\n\n@Component({\n tag: \"calcite-segmented-control-item\",\n styleUrl: \"segmented-control-item.scss\",\n shadow: true,\n})\nexport class SegmentedControlItem {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is checked. */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by form module\n @Prop({ reflect: true, mutable: true }) checked = false;\n\n @Watch(\"checked\")\n protected handleCheckedChange(): void {\n this.calciteInternalSegmentedControlItemChange.emit();\n }\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 /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: string;\n\n /**\n * The component's value.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by form module\n @Prop({ mutable: true })\n value: any | null;\n\n /**\n * Specifies the appearance style of the component inherited from parent `calcite-segmented-control`, defaults to `solid`.\n *\n * @internal\n */\n @Prop() appearance: Extract<\"outline\" | \"outline-fill\" | \"solid\", Appearance> = \"solid\";\n\n /**\n * Defines the layout of the component inherited from parent `calcite-segmented-control`, defaults to `horizontal`.\n *\n * @internal\n */\n @Prop() layout: Layout = \"horizontal\";\n\n /**\n * Specifies the size of the component inherited from the `calcite-segmented-control`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n const { appearance, checked, layout, scale, value } = this;\n\n const iconStartEl = this.iconStart ? (\n <calcite-icon\n class={CSS.segmentedControlItemIcon}\n flipRtl={this.iconFlipRtl}\n icon={this.iconStart}\n key=\"icon-start\"\n scale=\"s\"\n />\n ) : null;\n\n const iconEndEl = this.iconEnd ? (\n <calcite-icon\n class={CSS.segmentedControlItemIcon}\n flipRtl={this.iconFlipRtl}\n icon={this.iconEnd}\n key=\"icon-end\"\n scale=\"s\"\n />\n ) : null;\n\n return (\n <Host aria-checked={toAriaBoolean(checked)} aria-label={value} role=\"radio\">\n <label\n class={{\n \"label--scale-s\": scale === \"s\",\n \"label--scale-m\": scale === \"m\",\n \"label--scale-l\": scale === \"l\",\n \"label--horizontal\": layout === \"horizontal\",\n \"label--outline\": appearance === \"outline\",\n \"label--outline-fill\": appearance === \"outline-fill\",\n }}\n >\n {this.iconStart ? iconStartEl : null}\n <slot>{value}</slot>\n <slot name={SLOTS.input} />\n {this.iconEnd ? iconEndEl : null}\n </label>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSegmentedControlItemElement;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the item has been selected.\n *\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalSegmentedControlItemChange: EventEmitter<void>;\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-segmented-control-item.js","mappings":";;;;;;;;;AAEO,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;CACf,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,CAAC,KAAY,KAAK,gBAAgB,KAAK,EAAW;IAC9D,eAAe,EAAE,mBAAmB;IACpC,YAAY,EAAE,gBAAgB;IAC9B,gBAAgB,EAAE,qBAAqB;IACvC,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,YAAY;CACvB;;ACdD,MAAM,uBAAuB,GAAG,0wGAA0wG,CA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O,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;QACvD,MAAM,aAAa,GAAG,SAAS,IAAI,OAAO,CAAC;QAC3C,MAAM,iBAAiB,GAAG,CAAC,iBAAiB,IAAI,aAAa,CAAC;QAE9D,IAAI,iBAAiB,EAAE;YACrB,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC,EAAE,YAAM,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAI,CAAC,CAAC;SAC9F;QAED,OAAO;YACL,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC;YAC1B,YAAM,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAI;YAC7C,YAAM,IAAI,EAAE,KAAK,CAAC,KAAK,GAAI;YAC3B,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;SACzB,CAAC;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/segmented-control-item/resources.ts","src/components/segmented-control-item/segmented-control-item.scss?tag=calcite-segmented-control-item&encapsulation=shadow","src/components/segmented-control-item/segmented-control-item.tsx"],"sourcesContent":["import { Scale } from \"../interfaces\";\n\nexport const SLOTS = {\n input: \"input\",\n};\n\nexport const CSS = {\n label: \"label\",\n labelScale: (scale: Scale) => `label--scale-${scale}` as const,\n labelHorizontal: \"label--horizontal\",\n labelOutline: \"label--outline\",\n labelOutlineFill: \"label--outline-fill\",\n icon: \"icon\",\n iconSolo: \"icon--solo\",\n};\n",":host {\n @apply flex\n cursor-pointer\n self-stretch\n font-normal;\n transition:\n background-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n border-color var(--calcite-animation-timing) ease-in-out;\n}\n\n:host label {\n @apply text-color-3\n pointer-events-none\n m-0.5\n box-border\n flex\n flex-1\n items-center;\n transition:\n background-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n border-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n color var(--calcite-internal-animation-timing-fast) ease-in-out;\n}\n\n.label--horizontal {\n @apply justify-center;\n}\n\n// focus styles\n:host {\n @apply focus-base;\n}\n:host(:focus) {\n @apply focus-inset;\n outline-offset: -1px;\n}\n\n.label--scale-s {\n @apply text-n2h px-2;\n padding-block: 0.125rem;\n}\n\n.label--scale-m {\n @apply text-n1h px-3;\n padding-block: 0.375rem;\n}\n\n.label--scale-l {\n @apply text-0h px-4 py-2.5;\n}\n\n:host(:hover) label {\n @apply bg-foreground-2 text-color-1;\n}\n\n:host(:active) label {\n @apply bg-foreground-3;\n}\n\n:host([checked]) label {\n @apply bg-brand border-color-brand cursor-default text-color-inverse;\n}\n\n:host([checked]) .label--outline,\n:host([checked]) .label--outline-fill {\n @apply bg-foreground-1 border-color-brand;\n box-shadow: inset 0 0 0 1px theme(\"backgroundColor.brand\");\n color: theme(\"backgroundColor.brand\");\n}\n\n:host([checked]) .label--outline {\n @apply bg-transparent;\n}\n\n::slotted(input) {\n @apply hidden;\n}\n\n@media (forced-colors: active) {\n :host([checked]) label {\n background-color: highlight;\n }\n :host([checked]) .label--outline,\n :host([checked]) .label--outline-fill {\n @apply outline-none;\n }\n :host([checked]) label:not([class~=\"label--outline\"]) .icon {\n color: highlightText;\n }\n}\n\n.icon {\n @apply relative\n m-0\n inline-flex;\n line-height: inherit;\n\n margin-inline-start: var(--calcite-internal-segmented-control-icon-margin-start);\n margin-inline-end: var(--calcite-internal-segmented-control-icon-margin-end);\n}\n\n:host([icon-start]) .label--scale-s {\n --calcite-internal-segmented-control-icon-margin-end: theme(\"margin.2\");\n}\n\n:host([icon-end]) .label--scale-s {\n --calcite-internal-segmented-control-icon-margin-start: theme(\"margin.2\");\n}\n\n:host([icon-start]) .label--scale-m {\n --calcite-internal-segmented-control-icon-margin-end: theme(\"margin.3\");\n}\n\n:host([icon-end]) .label--scale-m {\n --calcite-internal-segmented-control-icon-margin-start: theme(\"margin.3\");\n}\n\n:host([icon-start]) .label--scale-l {\n --calcite-internal-segmented-control-icon-margin-end: theme(\"margin.4\");\n}\n\n:host([icon-end]) .label--scale-l {\n --calcite-internal-segmented-control-icon-margin-start: theme(\"margin.4\");\n}\n\n.label .icon--solo {\n --calcite-internal-segmented-control-icon-margin-start: 0;\n --calcite-internal-segmented-control-icon-margin-end: 0;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { slotChangeHasContent, toAriaBoolean } from \"../../utils/dom\";\nimport { Appearance, Layout, Scale } from \"../interfaces\";\nimport { CSS, SLOTS } from \"./resources\";\n\n@Component({\n tag: \"calcite-segmented-control-item\",\n styleUrl: \"segmented-control-item.scss\",\n shadow: true,\n})\nexport class SegmentedControlItem {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is checked. */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by form module\n @Prop({ reflect: true, mutable: true }) checked = false;\n\n @Watch(\"checked\")\n protected handleCheckedChange(): void {\n this.calciteInternalSegmentedControlItemChange.emit();\n }\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 /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: string;\n\n /**\n * The component's value.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by form module\n @Prop({ mutable: true }) value: any | null;\n\n /**\n * Specifies the appearance style of the component inherited from parent `calcite-segmented-control`, defaults to `solid`.\n *\n * @internal\n */\n @Prop() appearance: Extract<\"outline\" | \"outline-fill\" | \"solid\", Appearance> = \"solid\";\n\n /**\n * Defines the layout of the component inherited from parent `calcite-segmented-control`, defaults to `horizontal`.\n *\n * @internal\n */\n @Prop() layout: Layout = \"horizontal\";\n\n /**\n * Specifies the size of the component inherited from the `calcite-segmented-control`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n private renderIcon(icon: string, solo: boolean = false): VNode {\n return icon ? (\n <calcite-icon\n class={{\n [CSS.icon]: true,\n [CSS.iconSolo]: solo,\n }}\n flipRtl={this.iconFlipRtl}\n icon={icon}\n scale=\"s\"\n />\n ) : null;\n }\n\n render(): VNode {\n const { appearance, checked, layout, scale, value } = this;\n\n return (\n <Host aria-checked={toAriaBoolean(checked)} aria-label={value} role=\"radio\">\n <label\n class={{\n [CSS.label]: true,\n [CSS.labelScale(scale)]: true,\n [CSS.labelHorizontal]: layout === \"horizontal\",\n [CSS.labelOutline]: appearance === \"outline\",\n [CSS.labelOutlineFill]: appearance === \"outline-fill\",\n }}\n >\n {this.renderContent()}\n </label>\n </Host>\n );\n }\n\n private renderContent(): VNode | VNode[] {\n const { hasSlottedContent, iconEnd, iconStart } = this;\n const effectiveIcon = iconStart || iconEnd;\n const canRenderIconOnly = !hasSlottedContent && effectiveIcon;\n\n if (canRenderIconOnly) {\n return [this.renderIcon(effectiveIcon, true), <slot onSlotchange={this.handleSlotChange} />];\n }\n\n return [\n this.renderIcon(iconStart),\n <slot onSlotchange={this.handleSlotChange} />,\n <slot name={SLOTS.input} />,\n this.renderIcon(iconEnd),\n ];\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private handleSlotChange = (event: Event): void => {\n this.hasSlottedContent = slotChangeHasContent(event);\n };\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSegmentedControlItemElement;\n\n @State() hasSlottedContent = false;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the item has been selected.\n *\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalSegmentedControlItemChange: EventEmitter<void>;\n}\n"],"version":3}
|
|
@@ -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 { proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { a as getElementDir } from './dom.js';
|
|
@@ -119,7 +119,7 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class SegmentedControl
|
|
|
119
119
|
updateHostInteraction(this);
|
|
120
120
|
}
|
|
121
121
|
render() {
|
|
122
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: '50faa0d049d2f0bcae98d8736280e995fc176b0f', onClick: this.handleClick, role: "radiogroup" }, h("div", { key: '070e333887507f0b1ceaee80f670ad858322a217', class: CSS.itemWrapper }, h(InteractiveContainer, { key: '580f183a1e8e53e09067806abd5b0bfde52a4f3b', disabled: this.disabled }, h("slot", { key: '8f02a31ad01304b3fbd970a1801721102607d280' }), h(HiddenFormInputSlot, { key: '5e4a2dea48865c02308ada4acfd1e89972e5a78b', component: this }))), this.validationMessage && this.status === "invalid" ? (h(Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null));
|
|
123
123
|
}
|
|
124
124
|
handleSelected(event) {
|
|
125
125
|
event.preventDefault();
|
|
@@ -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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { e as focusElement } from './dom.js';
|
|
@@ -85,8 +85,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
85
85
|
this.width = "auto";
|
|
86
86
|
}
|
|
87
87
|
valueHandler(value) {
|
|
88
|
-
|
|
89
|
-
items.forEach((item) => (item.selected = item.value === value));
|
|
88
|
+
this.updateItemsFromValue(value);
|
|
90
89
|
}
|
|
91
90
|
selectedOptionHandler(selectedOption) {
|
|
92
91
|
this.value = selectedOption?.value;
|
|
@@ -114,6 +113,9 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
114
113
|
}
|
|
115
114
|
componentWillLoad() {
|
|
116
115
|
setUpLoadableComponent(this);
|
|
116
|
+
if (typeof this.value === "string") {
|
|
117
|
+
this.updateItemsFromValue(this.value);
|
|
118
|
+
}
|
|
117
119
|
}
|
|
118
120
|
componentDidLoad() {
|
|
119
121
|
setComponentLoaded(this);
|
|
@@ -153,6 +155,11 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
153
155
|
onLabelClick() {
|
|
154
156
|
this.setFocus();
|
|
155
157
|
}
|
|
158
|
+
updateItemsFromValue(value) {
|
|
159
|
+
this.el
|
|
160
|
+
.querySelectorAll("calcite-option")
|
|
161
|
+
.forEach((item) => (item.selected = item.value === value));
|
|
162
|
+
}
|
|
156
163
|
updateNativeElement(optionOrGroup, nativeOptionOrGroup) {
|
|
157
164
|
nativeOptionOrGroup.disabled = optionOrGroup.disabled;
|
|
158
165
|
nativeOptionOrGroup.label = optionOrGroup.label;
|
|
@@ -223,7 +230,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
223
230
|
}
|
|
224
231
|
render() {
|
|
225
232
|
const { disabled } = this;
|
|
226
|
-
return (h(Host, { key: '
|
|
233
|
+
return (h(Host, { key: '7ad7273616547303b16b4acb5a0a7e74e6b70103' }, h(InteractiveContainer, { key: 'd4f38f4ee1836e7d2ef63b0ee6eb94e00ca363a5', disabled: disabled }, h("div", { key: '8e07dfd9a1ae6a76336229c6111999c1722af48a', class: CSS.wrapper }, h("select", { key: 'bb09bb53c0a6fdfd1cf81fcc901e470e4822be1d', "aria-label": getLabelText(this), class: CSS.select, disabled: disabled, onChange: this.handleInternalSelectChange, ref: this.storeSelectRef }, h("slot", { key: '3efcacc3bdb058e36d10c86bb87da89a1fd93994' })), this.renderChevron(), h(HiddenFormInputSlot, { key: '02af04d02f83b3542c46601f08a45cac63b3eecd', component: this })), this.validationMessage && this.status === "invalid" ? (h(Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null)));
|
|
227
234
|
}
|
|
228
235
|
get el() { return this; }
|
|
229
236
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-select.js","mappings":";;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACnB;;ACLD,MAAM,SAAS,GAAG,4hIAA4hI,CAAC;AAC/iI,4BAAe,SAAS;;AC4CxB,SAAS,QAAQ,CAAC,aAA4B;IAC5C,OAAO,aAAa,CAAC,OAAO,KAAK,gBAAgB,CAAC;AACpD,CAAC;AAED,SAAS,aAAa,CACpB,aAA4B;IAE5B,OAAO,aAAa,CAAC,OAAO,KAAK,sBAAsB,CAAC;AAC1D,CAAC;MAUY,MAAM;;;;;;QAgHT,wBAAmB,GAAG,IAAI,GAAG,EAAsC,CAAC;QAEpE,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAAC;QAoEnF,+BAA0B,GAAG;YACnC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;YAClD,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/select/resources.ts","src/components/select/select.scss?tag=calcite-select&encapsulation=shadow","src/components/select/select.tsx"],"sourcesContent":["export const CSS = {\n icon: \"icon\",\n iconContainer: \"icon-container\",\n select: \"select\",\n wrapper: \"wrapper\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-select-font-size: The font size of `calcite-option`s in the component.\n * @prop --calcite-select-spacing: The padding around the selected option text.\n */\n\n:host {\n @extend %component-spacing;\n @apply flex flex-col;\n}\n\n.wrapper {\n @apply relative flex items-stretch;\n inline-size: var(--select-width);\n\n &:focus-within,\n &:active,\n &:hover {\n .icon {\n color: var(--calcite-color-text-1);\n }\n }\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n --calcite-select-font-size: theme(\"fontSize.n2h\");\n --calcite-select-spacing-inline: theme(\"spacing.2\") theme(\"spacing.8\");\n\n .wrapper {\n @apply h-6;\n }\n\n .icon-container {\n @apply px-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-select-font-size: theme(\"fontSize.n1h\");\n --calcite-select-spacing-inline: theme(\"spacing.3\") theme(\"spacing.10\");\n\n .wrapper {\n @apply h-8;\n }\n\n .icon-container {\n @apply px-3;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-select-font-size: theme(\"fontSize.0h\");\n --calcite-select-spacing-inline: theme(\"spacing.4\") theme(\"spacing.12\");\n\n .wrapper {\n block-size: 44px;\n }\n\n .icon-container {\n @apply px-4;\n }\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-1/2;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n.select {\n @apply bg-foreground-1 border-color-input text-color-2 font-inherit focus-base m-0 box-border w-full cursor-pointer appearance-none truncate rounded-none border border-solid;\n font-size: var(--calcite-select-font-size);\n padding-inline: var(--calcite-select-spacing-inline);\n border-inline-end-width: theme(\"borderWidth.0\");\n\n &:focus {\n @apply focus-inset;\n }\n}\n\n// override user agent stylesheet disabled styling\nselect:disabled {\n @apply border-color-input bg-opacity-100;\n}\n\n.icon-container {\n @apply border-color-input text-color-2 pointer-events-none absolute inset-y-0 flex items-center border-0 border-solid bg-transparent;\n inset-inline-end: theme(\"inset.0\");\n border-inline-width: theme(\"borderWidth.0\") theme(\"borderWidth.DEFAULT\");\n\n .icon {\n color: var(--calcite-color-text-3);\n }\n}\n\n:host([status=\"invalid\"]) {\n select,\n .icon-container {\n @apply border-color-danger;\n }\n\n select:focus,\n .icon-container:focus {\n @apply focus-inset-danger;\n }\n}\n\n.select:focus ~ .icon-container {\n @apply border-color-transparent;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { focusElement } from \"../../utils/dom\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n MutableValidityState,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent, getLabelText } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { Scale, Status, Width } from \"../interfaces\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\nimport { CSS } from \"./resources\";\n\ntype OptionOrGroup = HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement;\ntype NativeOptionOrGroup = HTMLOptionElement | HTMLOptGroupElement;\n\nfunction isOption(optionOrGroup: OptionOrGroup): optionOrGroup is HTMLCalciteOptionElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION\";\n}\n\nfunction isOptionGroup(\n optionOrGroup: OptionOrGroup,\n): optionOrGroup is HTMLCalciteOptionGroupElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION-GROUP\";\n}\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-select\",\n styleUrl: \"select.scss\",\n shadow: true,\n})\nexport class Select\n implements LabelableComponent, FormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * Accessible name for the component.\n *\n */\n @Prop() label!: string;\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop({ reflect: true }) validationIcon: string | boolean;\n\n /**\n * The current validation state of the component.\n *\n * @readonly\n * @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated in form util when syncing hidden input\n @Prop({ mutable: true }) validity: MutableValidityState = {\n valid: false,\n badInput: false,\n customError: false,\n patternMismatch: false,\n rangeOverflow: false,\n rangeUnderflow: false,\n stepMismatch: false,\n tooLong: false,\n tooShort: false,\n typeMismatch: false,\n valueMissing: false,\n };\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's `selectedOption` value. */\n @Prop({ mutable: true }) value: string = null;\n\n @Watch(\"value\")\n valueHandler(value: string): void {\n const items = this.el.querySelectorAll(\"calcite-option\");\n items.forEach((item) => (item.selected = item.value === value));\n }\n\n /**\n * The component's selected option `HTMLElement`.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedOption: HTMLCalciteOptionElement;\n\n @Watch(\"selectedOption\")\n selectedOptionHandler(selectedOption: HTMLCalciteOptionElement): void {\n this.value = selectedOption?.value;\n }\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSelectElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Select[\"value\"];\n\n private componentToNativeEl = new Map<OptionOrGroup, NativeOptionOrGroup>();\n\n private mutationObserver = createObserver(\"mutation\", () => this.populateInternalSelect());\n\n private selectEl: HTMLSelectElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { el } = this;\n\n this.mutationObserver?.observe(el, {\n subtree: true,\n childList: true,\n });\n\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n afterConnectDefaultValueSet(this, this.selectedOption?.value ?? \"\");\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\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\n focusElement(this.selectEl);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the `selectedOption` changes.\n */\n @Event({ cancelable: false }) calciteSelectChange: EventEmitter<void>;\n\n private handleInternalSelectChange = (): void => {\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n requestAnimationFrame(() => this.emitChangeEvent());\n };\n\n @Listen(\"calciteInternalOptionChange\")\n @Listen(\"calciteInternalOptionGroupChange\")\n protected handleOptionOrGroupChange(event: CustomEvent): void {\n event.stopPropagation();\n\n const optionOrGroup = event.target as OptionOrGroup;\n const nativeEl = this.componentToNativeEl.get(optionOrGroup);\n\n if (!nativeEl) {\n return;\n }\n\n this.updateNativeElement(optionOrGroup, nativeEl);\n\n if (isOption(optionOrGroup) && optionOrGroup.selected) {\n this.deselectAllExcept(optionOrGroup);\n this.selectedOption = optionOrGroup;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private updateNativeElement(\n optionOrGroup: OptionOrGroup,\n nativeOptionOrGroup: NativeOptionOrGroup,\n ): void {\n nativeOptionOrGroup.disabled = optionOrGroup.disabled;\n nativeOptionOrGroup.label = optionOrGroup.label;\n\n if (isOption(optionOrGroup)) {\n const option = nativeOptionOrGroup as HTMLOptionElement;\n option.selected = optionOrGroup.selected;\n option.value = optionOrGroup.value;\n\n // need to set innerText for mobile\n // see https://stackoverflow.com/questions/35021620/ios-safari-not-showing-all-options-for-select-menu/41749701\n option.innerText = optionOrGroup.label;\n }\n }\n\n private populateInternalSelect = (): void => {\n const optionsAndGroups = Array.from(\n this.el.children as HTMLCollectionOf<OptionOrGroup | HTMLSlotElement>,\n ).filter(\n (child) => child.tagName === \"CALCITE-OPTION\" || child.tagName === \"CALCITE-OPTION-GROUP\",\n ) as OptionOrGroup[];\n\n this.clearInternalSelect();\n\n optionsAndGroups.forEach((optionOrGroup) =>\n this.selectEl?.append(this.toNativeElement(optionOrGroup)),\n );\n };\n\n private clearInternalSelect(): void {\n this.componentToNativeEl.forEach((value) => value.remove());\n this.componentToNativeEl.clear();\n }\n\n private storeSelectRef = (node: HTMLSelectElement): void => {\n this.selectEl = node;\n this.populateInternalSelect();\n\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n };\n\n private selectFromNativeOption(nativeOption: HTMLOptionElement): void {\n if (!nativeOption) {\n return;\n }\n\n let futureSelected: HTMLCalciteOptionElement;\n\n this.componentToNativeEl.forEach((nativeOptionOrGroup, optionOrGroup) => {\n if (isOption(optionOrGroup) && nativeOptionOrGroup === nativeOption) {\n optionOrGroup.selected = true;\n futureSelected = optionOrGroup;\n this.deselectAllExcept(optionOrGroup as HTMLCalciteOptionElement);\n }\n });\n\n if (futureSelected) {\n this.selectedOption = futureSelected;\n }\n }\n\n private toNativeElement(\n optionOrGroup: HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement,\n ): NativeOptionOrGroup {\n if (isOption(optionOrGroup)) {\n const option = document.createElement(\"option\");\n this.updateNativeElement(optionOrGroup, option);\n this.componentToNativeEl.set(optionOrGroup, option);\n\n return option;\n }\n\n if (isOptionGroup(optionOrGroup)) {\n const group = document.createElement(\"optgroup\");\n this.updateNativeElement(optionOrGroup, group);\n\n Array.from(optionOrGroup.children as HTMLCollectionOf<HTMLCalciteOptionElement>).forEach(\n (option) => {\n const nativeOption = this.toNativeElement(option);\n group.append(nativeOption);\n this.componentToNativeEl.set(optionOrGroup, nativeOption);\n },\n );\n\n this.componentToNativeEl.set(optionOrGroup, group);\n\n return group;\n }\n\n throw new Error(\"unsupported element child provided\");\n }\n\n private deselectAllExcept(except: HTMLCalciteOptionElement): void {\n this.el.querySelectorAll<HTMLCalciteOptionElement>(\"calcite-option\").forEach((option) => {\n if (option === except) {\n return;\n }\n\n option.selected = false;\n });\n }\n\n private emitChangeEvent = (): void => {\n this.calciteSelectChange.emit();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChevron(): VNode {\n return (\n <div class={CSS.iconContainer}>\n <calcite-icon class={CSS.icon} icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </div>\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div class={CSS.wrapper}>\n <select\n aria-label={getLabelText(this)}\n class={CSS.select}\n disabled={disabled}\n onChange={this.handleInternalSelectChange}\n ref={this.storeSelectRef}\n >\n <slot />\n </select>\n {this.renderChevron()}\n <HiddenFormInputSlot component={this} />\n </div>\n {this.validationMessage && this.status === \"invalid\" ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-select.js","mappings":";;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACnB;;ACLD,MAAM,SAAS,GAAG,4hIAA4hI,CAAC;AAC/iI,4BAAe,SAAS;;AC4CxB,SAAS,QAAQ,CAAC,aAA4B;IAC5C,OAAO,aAAa,CAAC,OAAO,KAAK,gBAAgB,CAAC;AACpD,CAAC;AAED,SAAS,aAAa,CACpB,aAA4B;IAE5B,OAAO,aAAa,CAAC,OAAO,KAAK,sBAAsB,CAAC;AAC1D,CAAC;MAUY,MAAM;;;;;;QA+GT,wBAAmB,GAAG,IAAI,GAAG,EAAsC,CAAC;QAEpE,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAAC;QAwEnF,+BAA0B,GAAG;YACnC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;YAClD,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC;YACtC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AAI,CAAC,iBAAiB,EAC/B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,GACnB,IACA,IAAI,CACa,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/select/resources.ts","src/components/select/select.scss?tag=calcite-select&encapsulation=shadow","src/components/select/select.tsx"],"sourcesContent":["export const CSS = {\n icon: \"icon\",\n iconContainer: \"icon-container\",\n select: \"select\",\n wrapper: \"wrapper\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-select-font-size: The font size of `calcite-option`s in the component.\n * @prop --calcite-select-spacing: The padding around the selected option text.\n */\n\n:host {\n @extend %component-spacing;\n @apply flex flex-col;\n}\n\n.wrapper {\n @apply relative flex items-stretch;\n inline-size: var(--select-width);\n\n &:focus-within,\n &:active,\n &:hover {\n .icon {\n color: var(--calcite-color-text-1);\n }\n }\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n --calcite-select-font-size: theme(\"fontSize.n2h\");\n --calcite-select-spacing-inline: theme(\"spacing.2\") theme(\"spacing.8\");\n\n .wrapper {\n @apply h-6;\n }\n\n .icon-container {\n @apply px-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-select-font-size: theme(\"fontSize.n1h\");\n --calcite-select-spacing-inline: theme(\"spacing.3\") theme(\"spacing.10\");\n\n .wrapper {\n @apply h-8;\n }\n\n .icon-container {\n @apply px-3;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-select-font-size: theme(\"fontSize.0h\");\n --calcite-select-spacing-inline: theme(\"spacing.4\") theme(\"spacing.12\");\n\n .wrapper {\n block-size: 44px;\n }\n\n .icon-container {\n @apply px-4;\n }\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-1/2;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n.select {\n @apply bg-foreground-1 border-color-input text-color-2 font-inherit focus-base m-0 box-border w-full cursor-pointer appearance-none truncate rounded-none border border-solid;\n font-size: var(--calcite-select-font-size);\n padding-inline: var(--calcite-select-spacing-inline);\n border-inline-end-width: theme(\"borderWidth.0\");\n\n &:focus {\n @apply focus-inset;\n }\n}\n\n// override user agent stylesheet disabled styling\nselect:disabled {\n @apply border-color-input bg-opacity-100;\n}\n\n.icon-container {\n @apply border-color-input text-color-2 pointer-events-none absolute inset-y-0 flex items-center border-0 border-solid bg-transparent;\n inset-inline-end: theme(\"inset.0\");\n border-inline-width: theme(\"borderWidth.0\") theme(\"borderWidth.DEFAULT\");\n\n .icon {\n color: var(--calcite-color-text-3);\n }\n}\n\n:host([status=\"invalid\"]) {\n select,\n .icon-container {\n @apply border-color-danger;\n }\n\n select:focus,\n .icon-container:focus {\n @apply focus-inset-danger;\n }\n}\n\n.select:focus ~ .icon-container {\n @apply border-color-transparent;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { focusElement } from \"../../utils/dom\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n MutableValidityState,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { Scale, Status, Width } from \"../interfaces\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\nimport { CSS } from \"./resources\";\n\ntype OptionOrGroup = HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement;\ntype NativeOptionOrGroup = HTMLOptionElement | HTMLOptGroupElement;\n\nfunction isOption(optionOrGroup: OptionOrGroup): optionOrGroup is HTMLCalciteOptionElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION\";\n}\n\nfunction isOptionGroup(\n optionOrGroup: OptionOrGroup,\n): optionOrGroup is HTMLCalciteOptionGroupElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION-GROUP\";\n}\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-select\",\n styleUrl: \"select.scss\",\n shadow: true,\n})\nexport class Select\n implements LabelableComponent, FormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * Accessible name for the component.\n *\n */\n @Prop() label!: string;\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop({ reflect: true }) validationIcon: string | boolean;\n\n /**\n * The current validation state of the component.\n *\n * @readonly\n * @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated in form util when syncing hidden input\n @Prop({ mutable: true }) validity: MutableValidityState = {\n valid: false,\n badInput: false,\n customError: false,\n patternMismatch: false,\n rangeOverflow: false,\n rangeUnderflow: false,\n stepMismatch: false,\n tooLong: false,\n tooShort: false,\n typeMismatch: false,\n valueMissing: false,\n };\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's `selectedOption` value. */\n @Prop({ mutable: true }) value: string = null;\n\n @Watch(\"value\")\n valueHandler(value: string): void {\n this.updateItemsFromValue(value);\n }\n\n /**\n * The component's selected option `HTMLElement`.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedOption: HTMLCalciteOptionElement;\n\n @Watch(\"selectedOption\")\n selectedOptionHandler(selectedOption: HTMLCalciteOptionElement): void {\n this.value = selectedOption?.value;\n }\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSelectElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Select[\"value\"];\n\n private componentToNativeEl = new Map<OptionOrGroup, NativeOptionOrGroup>();\n\n private mutationObserver = createObserver(\"mutation\", () => this.populateInternalSelect());\n\n private selectEl: HTMLSelectElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { el } = this;\n\n this.mutationObserver?.observe(el, {\n subtree: true,\n childList: true,\n });\n\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n\n if (typeof this.value === \"string\") {\n this.updateItemsFromValue(this.value);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n afterConnectDefaultValueSet(this, this.selectedOption?.value ?? \"\");\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\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\n focusElement(this.selectEl);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the `selectedOption` changes.\n */\n @Event({ cancelable: false }) calciteSelectChange: EventEmitter<void>;\n\n private handleInternalSelectChange = (): void => {\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n requestAnimationFrame(() => this.emitChangeEvent());\n };\n\n @Listen(\"calciteInternalOptionChange\")\n @Listen(\"calciteInternalOptionGroupChange\")\n protected handleOptionOrGroupChange(event: CustomEvent): void {\n event.stopPropagation();\n\n const optionOrGroup = event.target as OptionOrGroup;\n const nativeEl = this.componentToNativeEl.get(optionOrGroup);\n\n if (!nativeEl) {\n return;\n }\n\n this.updateNativeElement(optionOrGroup, nativeEl);\n\n if (isOption(optionOrGroup) && optionOrGroup.selected) {\n this.deselectAllExcept(optionOrGroup);\n this.selectedOption = optionOrGroup;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private updateItemsFromValue(value: string): void {\n this.el\n .querySelectorAll(\"calcite-option\")\n .forEach((item) => (item.selected = item.value === value));\n }\n\n private updateNativeElement(\n optionOrGroup: OptionOrGroup,\n nativeOptionOrGroup: NativeOptionOrGroup,\n ): void {\n nativeOptionOrGroup.disabled = optionOrGroup.disabled;\n nativeOptionOrGroup.label = optionOrGroup.label;\n\n if (isOption(optionOrGroup)) {\n const option = nativeOptionOrGroup as HTMLOptionElement;\n option.selected = optionOrGroup.selected;\n option.value = optionOrGroup.value;\n\n // need to set innerText for mobile\n // see https://stackoverflow.com/questions/35021620/ios-safari-not-showing-all-options-for-select-menu/41749701\n option.innerText = optionOrGroup.label;\n }\n }\n\n private populateInternalSelect = (): void => {\n const optionsAndGroups = Array.from(\n this.el.children as HTMLCollectionOf<OptionOrGroup | HTMLSlotElement>,\n ).filter(\n (child) => child.tagName === \"CALCITE-OPTION\" || child.tagName === \"CALCITE-OPTION-GROUP\",\n ) as OptionOrGroup[];\n\n this.clearInternalSelect();\n\n optionsAndGroups.forEach((optionOrGroup) =>\n this.selectEl?.append(this.toNativeElement(optionOrGroup)),\n );\n };\n\n private clearInternalSelect(): void {\n this.componentToNativeEl.forEach((value) => value.remove());\n this.componentToNativeEl.clear();\n }\n\n private storeSelectRef = (node: HTMLSelectElement): void => {\n this.selectEl = node;\n this.populateInternalSelect();\n\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n };\n\n private selectFromNativeOption(nativeOption: HTMLOptionElement): void {\n if (!nativeOption) {\n return;\n }\n\n let futureSelected: HTMLCalciteOptionElement;\n\n this.componentToNativeEl.forEach((nativeOptionOrGroup, optionOrGroup) => {\n if (isOption(optionOrGroup) && nativeOptionOrGroup === nativeOption) {\n optionOrGroup.selected = true;\n futureSelected = optionOrGroup;\n this.deselectAllExcept(optionOrGroup as HTMLCalciteOptionElement);\n }\n });\n\n if (futureSelected) {\n this.selectedOption = futureSelected;\n }\n }\n\n private toNativeElement(\n optionOrGroup: HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement,\n ): NativeOptionOrGroup {\n if (isOption(optionOrGroup)) {\n const option = document.createElement(\"option\");\n this.updateNativeElement(optionOrGroup, option);\n this.componentToNativeEl.set(optionOrGroup, option);\n\n return option;\n }\n\n if (isOptionGroup(optionOrGroup)) {\n const group = document.createElement(\"optgroup\");\n this.updateNativeElement(optionOrGroup, group);\n\n Array.from(optionOrGroup.children as HTMLCollectionOf<HTMLCalciteOptionElement>).forEach(\n (option) => {\n const nativeOption = this.toNativeElement(option);\n group.append(nativeOption);\n this.componentToNativeEl.set(optionOrGroup, nativeOption);\n },\n );\n\n this.componentToNativeEl.set(optionOrGroup, group);\n\n return group;\n }\n\n throw new Error(\"unsupported element child provided\");\n }\n\n private deselectAllExcept(except: HTMLCalciteOptionElement): void {\n this.el.querySelectorAll<HTMLCalciteOptionElement>(\"calcite-option\").forEach((option) => {\n if (option === except) {\n return;\n }\n\n option.selected = false;\n });\n }\n\n private emitChangeEvent = (): void => {\n this.calciteSelectChange.emit();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChevron(): VNode {\n return (\n <div class={CSS.iconContainer}>\n <calcite-icon class={CSS.icon} icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </div>\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div class={CSS.wrapper}>\n <select\n aria-label={getLabelText(this)}\n class={CSS.select}\n disabled={disabled}\n onChange={this.handleInternalSelectChange}\n ref={this.storeSelectRef}\n >\n <slot />\n </select>\n {this.renderChevron()}\n <HiddenFormInputSlot component={this} />\n </div>\n {this.validationMessage && this.status === \"invalid\" ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.9.0-next.
|
|
4
|
+
* v2.9.0-next.20
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
|
-
import {
|
|
7
|
+
import { E as ensureId, a as getElementDir, f as focusFirstTabbable } from './dom.js';
|
|
8
8
|
import { d as deactivateFocusTrap, a as activateFocusTrap, c as connectFocusTrap, u as updateFocusTrapElements } from './focusTrapComponent.js';
|
|
9
9
|
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable.js';
|
|
10
10
|
import { c as createObserver } from './observers.js';
|
|
@@ -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 { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { proxyCustomElement, HTMLElement, createEvent, h, forceUpdate } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
8
|
-
import { a as getElementDir,
|
|
8
|
+
import { a as getElementDir, x as isPrimaryPointerButton, s as slotChangeGetAssignedElements, d as slotChangeHasAssignedElement } from './dom.js';
|
|
9
9
|
import { c as connectLocalized, d as disconnectLocalized } from './locale.js';
|
|
10
10
|
import { c as clamp } from './math.js';
|
|
11
11
|
import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n.js';
|
|
@@ -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 { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -153,7 +153,7 @@ const Shell = /*@__PURE__*/ proxyCustomElement(class Shell extends HTMLElement {
|
|
|
153
153
|
return (h("div", { class: CSS.positionedSlotWrapper }, this.renderAlerts(), this.renderModals(), this.renderSheets()));
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
|
-
return (h(Fragment, { key: '
|
|
156
|
+
return (h(Fragment, { key: 'dec1862d2e9bfd53e523ad05089d443decbc8b4e' }, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
157
157
|
}
|
|
158
158
|
get el() { return this; }
|
|
159
159
|
static get style() { return CalciteShellStyle0; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-shell.js","mappings":";;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,iBAAiB;IAChC,qBAAqB,EAAE,0BAA0B;IACjD,MAAM,EAAE,QAAQ;IAChB,qBAAqB,EAAE,yBAAyB;IAChD,SAAS,EAAE,WAAW;IACtB,0BAA0B,EAAE,gBAAgB;CAC7C,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,cAAc;IAC3B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACjB;;ACtBD,MAAM,QAAQ,GAAG,04FAA04F,CAAC;AAC55F,2BAAe,QAAQ;;MC2BV,KAAK;;;;;;;;;;QAsEhB,2BAAsB,GAAG,CAAC,KA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E,GAAG,CAAC,IAAI,IAClB,YAAM,IAAI,EAAE,KAAK,CAAC,UAAU,GAAI,EAC/B,IAAI,CAAC,aAAa,EAAE,EACrB,YAAM,IAAI,EAAE,KAAK,CAAC,QAAQ,GAAI,CAC1B,EACN;KACH;IAED,qBAAqB;QACnB,QACE,WAAK,KAAK,EAAE,GAAG,CAAC,qBAAqB,IAClC,IAAI,CAAC,YAAY,EAAE,EACnB,IAAI,CAAC,YAAY,EAAE,EACnB,IAAI,CAAC,YAAY,EAAE,CAChB,EACN;KACH;IAED,MAAM;QACJ,QACE,EAAC,QAAQ,uDACN,IAAI,CAAC,YAAY,EAAE,EACnB,IAAI,CAAC,UAAU,EAAE,EACjB,IAAI,CAAC,YAAY,EAAE,EACnB,IAAI,CAAC,qBAAqB,EAAE,CACpB,EACX;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/shell/resources.ts","src/components/shell/shell.scss?tag=calcite-shell&encapsulation=shadow","src/components/shell/shell.tsx"],"sourcesContent":["export const CSS = {\n main: \"main\",\n content: \"content\",\n contentBehind: \"content--behind\",\n contentNonInteractive: \"content--non-interactive\",\n footer: \"footer\",\n positionedSlotWrapper: \"positioned-slot-wrapper\",\n container: \"container\",\n contentBehindCenterContent: \"center-content\",\n};\n\nexport const SLOTS = {\n centerRow: \"center-row\",\n panelStart: \"panel-start\",\n panelEnd: \"panel-end\",\n panelTop: \"panel-top\",\n panelBottom: \"panel-bottom\",\n header: \"header\",\n footer: \"footer\",\n alerts: \"alerts\",\n sheets: \"sheets\",\n modals: \"modals\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-shell-tip-spacing: The left and right spacing of the `calcite-tip-manager` when slotted in the component.\n */\n\n:host {\n @extend %component-host;\n @apply absolute\n inset-0\n flex\n h-full\n w-full\n flex-col\n overflow-hidden;\n --calcite-shell-tip-spacing: 26vw;\n}\n\n.main {\n @apply relative\n flex\n h-full\n w-full\n flex-auto\n flex-row\n justify-between\n overflow-hidden;\n}\n\n.content,\n.content--non-interactive {\n @apply flex\n h-full\n w-full\n flex-col\n flex-nowrap;\n}\n\n.content {\n @apply overflow-auto;\n}\n\n.content ::slotted(calcite-shell-center-row),\n.content ::slotted(calcite-panel),\n.content ::slotted(calcite-flow) {\n @apply flex-auto self-stretch;\n max-block-size: unset;\n}\n\n.content--behind {\n @apply absolute\n inset-0\n border-0;\n z-index: calc(theme(\"zIndex.default\") - 1);\n display: initial;\n}\n\n.content--non-interactive {\n @apply pointer-events-none;\n}\n\n::slotted(calcite-shell-center-row) {\n inline-size: unset;\n}\n\n::slotted(.header .heading) {\n @apply text-n2-wrap font-normal;\n}\n\nslot[name=\"panel-end\"]::slotted(calcite-shell-panel) {\n margin-inline-start: auto;\n}\n\n::slotted(calcite-panel),\n::slotted(calcite-flow) {\n @apply border-color-3\n border\n border-l-0\n border-r-0\n border-solid;\n}\n\nslot[name=\"center-row\"]::slotted(calcite-shell-center-row:not([detached])),\nslot[name=\"panel-top\"]::slotted(calcite-shell-center-row:not([detached])),\nslot[name=\"panel-bottom\"]::slotted(calcite-shell-center-row:not([detached])) {\n @apply border-color-3 border-l border-r;\n}\n\n.center-content {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n block-size: 100%;\n inline-size: 100%;\n min-inline-size: 0;\n}\n\n::slotted(calcite-shell-center-row) {\n flex: none;\n align-self: stretch;\n}\n\n::slotted(calcite-tip-manager) {\n @apply shadow-2\n animate-in-up\n absolute\n box-border\n rounded\n z-toast;\n inset-block-end: theme(\"spacing.2\");\n inset-inline: var(--calcite-shell-tip-spacing);\n}\n\nslot[name=\"center-row\"]::slotted(calcite-shell-center-row),\nslot[name=\"panel-bottom\"]::slotted(calcite-shell-center-row) {\n margin-block-start: auto;\n}\n\nslot[name=\"panel-top\"]::slotted(calcite-shell-center-row) {\n margin-block-end: auto;\n}\n\n// positioning logic for expected slotted components\n.position-wrapper {\n position: absolute;\n pointer-events: none;\n inset: 0;\n}\n\n@include base-component();\n","import { Component, Element, Fragment, h, Listen, Prop, State, VNode } from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { slotChangeGetAssignedElements, slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport { CSS, SLOTS } from \"./resources\";\n\n/**\n * @slot - A slot for adding custom content. This content will appear between any leading and trailing panels added to the component, such as a map.\n * @slot header - A slot for adding header content. This content will be positioned at the top of the component.\n * @slot footer - A slot for adding footer content. This content will be positioned at the bottom of the component.\n * @slot panel-start - A slot for adding the starting `calcite-shell-panel`.\n * @slot panel-end - A slot for adding the ending `calcite-shell-panel`.\n * @slot panel-top - A slot for adding the top `calcite-shell-center-row`.\n * @slot panel-bottom - A slot for adding the bottom `calcite-shell-center-row`.\n * @slot center-row - [Deprecated] Use the `\"panel-bottom\"` slot instead. A slot for adding the bottom `calcite-shell-center-row`.\n * @slot modals - A slot for adding `calcite-modal` components. When placed in this slot, the modal position will be constrained to the extent of the shell.\n * @slot alerts - A slot for adding `calcite-alert` components. When placed in this slot, the alert position will be constrained to the extent of the shell.\n * @slot sheets - A slot for adding `calcite-sheet` components. When placed in this slot, the sheet position will be constrained to the extent of the shell.\n */\n\n@Component({\n tag: \"calcite-shell\",\n styleUrl: \"shell.scss\",\n shadow: true,\n})\nexport class Shell implements ConditionalSlotComponent {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * Positions the center content behind any `calcite-shell-panel`s.\n */\n @Prop({ reflect: true }) contentBehind = false;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalShellPanelResizeStart\")\n handleCalciteInternalShellPanelResizeStart(event: CustomEvent<void>): void {\n this.panelIsResizing = true;\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalShellPanelResizeEnd\")\n handleCalciteInternalShellPanelResizeEnd(event: CustomEvent<void>): void {\n this.panelIsResizing = false;\n event.stopPropagation();\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteShellElement;\n\n @State() hasHeader = false;\n\n @State() hasFooter = false;\n\n @State() hasAlerts = false;\n\n @State() hasModals = false;\n\n @State() hasSheets = false;\n\n @State() panelIsResizing = false;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n handleHeaderSlotChange = (event: Event): void => {\n this.hasHeader = !!slotChangeHasAssignedElement(event);\n };\n\n handleFooterSlotChange = (event: Event): void => {\n this.hasFooter = !!slotChangeHasAssignedElement(event);\n };\n\n handleAlertsSlotChange = (event: Event): void => {\n this.hasAlerts = !!slotChangeHasAssignedElement(event);\n slotChangeGetAssignedElements(event)?.map((el) => {\n if (el.nodeName === \"CALCITE-ALERT\") {\n (el as HTMLCalciteAlertElement).slottedInShell = true;\n }\n });\n };\n\n handleSheetsSlotChange = (event: Event): void => {\n this.hasSheets = !!slotChangeHasAssignedElement(event);\n slotChangeGetAssignedElements(event)?.map((el) => {\n if (el.nodeName === \"CALCITE-SHEET\") {\n (el as HTMLCalciteSheetElement).slottedInShell = true;\n }\n });\n };\n\n handleModalsSlotChange = (event: Event): void => {\n this.hasModals = !!slotChangeHasAssignedElement(event);\n slotChangeGetAssignedElements(event)?.map((el) => {\n if (el.nodeName === \"CALCITE-MODAL\") {\n (el as HTMLCalciteModalElement).slottedInShell = true;\n }\n });\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderHeader(): VNode {\n return (\n <div hidden={!this.hasHeader}>\n <slot key=\"header\" name={SLOTS.header} onSlotchange={this.handleHeaderSlotChange} />\n </div>\n );\n }\n\n renderFooter(): VNode {\n return (\n <div class={CSS.footer} hidden={!this.hasFooter} key=\"footer\">\n <slot name={SLOTS.footer} onSlotchange={this.handleFooterSlotChange} />\n </div>\n );\n }\n\n renderAlerts(): VNode {\n return (\n <div hidden={!this.hasAlerts}>\n <slot key=\"alerts\" name={SLOTS.alerts} onSlotchange={this.handleAlertsSlotChange} />\n </div>\n );\n }\n\n renderSheets(): VNode {\n return (\n <div hidden={!this.hasSheets}>\n <slot key=\"sheets\" name={SLOTS.sheets} onSlotchange={this.handleSheetsSlotChange} />\n </div>\n );\n }\n\n renderModals(): VNode {\n return (\n <div hidden={!this.hasModals}>\n <slot key=\"modals\" name={SLOTS.modals} onSlotchange={this.handleModalsSlotChange} />\n </div>\n );\n }\n\n renderContent(): VNode[] {\n const { panelIsResizing } = this;\n const defaultSlotNode: VNode = <slot key=\"default-slot\" />;\n const defaultSlotContainerNode = panelIsResizing ? (\n <div class={CSS.contentNonInteractive}>{defaultSlotNode}</div>\n ) : (\n defaultSlotNode\n );\n const deprecatedCenterRowSlotNode: VNode = (\n <slot key=\"center-row-slot\" name={SLOTS.centerRow} />\n );\n const panelBottomSlotNode: VNode = <slot key=\"panel-bottom-slot\" name={SLOTS.panelBottom} />;\n const panelTopSlotNode: VNode = <slot key=\"panel-top-slot\" name={SLOTS.panelTop} />;\n\n const contentContainerKey = \"content-container\";\n\n const content = this.contentBehind\n ? [\n <div\n class={{\n [CSS.content]: true,\n [CSS.contentBehind]: true,\n }}\n key={contentContainerKey}\n >\n {defaultSlotContainerNode}\n </div>,\n <div class={CSS.contentBehindCenterContent}>\n {panelTopSlotNode}\n {panelBottomSlotNode}\n {deprecatedCenterRowSlotNode}\n </div>,\n ]\n : [\n <div class={CSS.content} key={contentContainerKey}>\n {panelTopSlotNode}\n {defaultSlotContainerNode}\n {panelBottomSlotNode}\n {deprecatedCenterRowSlotNode}\n </div>,\n ];\n\n return content;\n }\n\n renderMain(): VNode {\n return (\n <div class={CSS.main}>\n <slot name={SLOTS.panelStart} />\n {this.renderContent()}\n <slot name={SLOTS.panelEnd} />\n </div>\n );\n }\n\n renderPositionedSlots(): VNode {\n return (\n <div class={CSS.positionedSlotWrapper}>\n {this.renderAlerts()}\n {this.renderModals()}\n {this.renderSheets()}\n </div>\n );\n }\n\n render(): VNode {\n return (\n <Fragment>\n {this.renderHeader()}\n {this.renderMain()}\n {this.renderFooter()}\n {this.renderPositionedSlots()}\n </Fragment>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-shell.js","mappings":";;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,iBAAiB;IAChC,qBAAqB,EAAE,0BAA0B;IACjD,MAAM,EAAE,QAAQ;IAChB,qBAAqB,EAAE,yBAAyB;IAChD,SAAS,EAAE,WAAW;IACtB,0BAA0B,EAAE,gBAAgB;CAC7C,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,cAAc;IAC3B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACjB;;ACtBD,MAAM,QAAQ,GAAG,04FAA04F,CAAC;AAC55F,2BAAe,QAAQ;;MC2BV,KAAK;;;;;;;;;;QAsEhB,2BAAsB,GAAG,CAAC,KAAY;YACpC,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,4BAA4B,CAAC,KAAK,CAAC,CAAC;SACxD,CAAC;QAEF,2BAAsB,GAAG,CAAC,KAAY;YACpC,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,4BAA4B,CAAC,KAAK,CAAC,CAA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,KAAK,EAAE,GAAG,CAAC,qBAAqB,IAClC,IAAI,CAAC,YAAY,EAAE,EACnB,IAAI,CAAC,YAAY,EAAE,EACnB,IAAI,CAAC,YAAY,EAAE,CAChB,EACN;KACH;IAED,MAAM;QACJ,QACE,EAAC,QAAQ,uDACN,IAAI,CAAC,YAAY,EAAE,EACnB,IAAI,CAAC,UAAU,EAAE,EACjB,IAAI,CAAC,YAAY,EAAE,EACnB,IAAI,CAAC,qBAAqB,EAAE,CACpB,EACX;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/shell/resources.ts","src/components/shell/shell.scss?tag=calcite-shell&encapsulation=shadow","src/components/shell/shell.tsx"],"sourcesContent":["export const CSS = {\n main: \"main\",\n content: \"content\",\n contentBehind: \"content--behind\",\n contentNonInteractive: \"content--non-interactive\",\n footer: \"footer\",\n positionedSlotWrapper: \"positioned-slot-wrapper\",\n container: \"container\",\n contentBehindCenterContent: \"center-content\",\n};\n\nexport const SLOTS = {\n centerRow: \"center-row\",\n panelStart: \"panel-start\",\n panelEnd: \"panel-end\",\n panelTop: \"panel-top\",\n panelBottom: \"panel-bottom\",\n header: \"header\",\n footer: \"footer\",\n alerts: \"alerts\",\n sheets: \"sheets\",\n modals: \"modals\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-shell-tip-spacing: The left and right spacing of the `calcite-tip-manager` when slotted in the component.\n */\n\n:host {\n @extend %component-host;\n @apply absolute\n inset-0\n flex\n h-full\n w-full\n flex-col\n overflow-hidden;\n --calcite-shell-tip-spacing: 26vw;\n}\n\n.main {\n @apply relative\n flex\n h-full\n w-full\n flex-auto\n flex-row\n justify-between\n overflow-hidden;\n}\n\n.content,\n.content--non-interactive {\n @apply flex\n h-full\n w-full\n flex-col\n flex-nowrap;\n}\n\n.content {\n @apply overflow-auto;\n}\n\n.content ::slotted(calcite-shell-center-row),\n.content ::slotted(calcite-panel),\n.content ::slotted(calcite-flow) {\n @apply flex-auto self-stretch;\n max-block-size: unset;\n}\n\n.content--behind {\n @apply absolute\n inset-0\n border-0;\n z-index: calc(theme(\"zIndex.default\") - 1);\n display: initial;\n}\n\n.content--non-interactive {\n @apply pointer-events-none;\n}\n\n::slotted(calcite-shell-center-row) {\n inline-size: unset;\n}\n\n::slotted(.header .heading) {\n @apply text-n2-wrap font-normal;\n}\n\nslot[name=\"panel-end\"]::slotted(calcite-shell-panel) {\n margin-inline-start: auto;\n}\n\n::slotted(calcite-panel),\n::slotted(calcite-flow) {\n @apply border-color-3\n border\n border-l-0\n border-r-0\n border-solid;\n}\n\nslot[name=\"center-row\"]::slotted(calcite-shell-center-row:not([detached])),\nslot[name=\"panel-top\"]::slotted(calcite-shell-center-row:not([detached])),\nslot[name=\"panel-bottom\"]::slotted(calcite-shell-center-row:not([detached])) {\n @apply border-color-3 border-l border-r;\n}\n\n.center-content {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n block-size: 100%;\n inline-size: 100%;\n min-inline-size: 0;\n}\n\n::slotted(calcite-shell-center-row) {\n flex: none;\n align-self: stretch;\n}\n\n::slotted(calcite-tip-manager) {\n @apply shadow-2\n animate-in-up\n absolute\n box-border\n rounded\n z-toast;\n inset-block-end: theme(\"spacing.2\");\n inset-inline: var(--calcite-shell-tip-spacing);\n}\n\nslot[name=\"center-row\"]::slotted(calcite-shell-center-row),\nslot[name=\"panel-bottom\"]::slotted(calcite-shell-center-row) {\n margin-block-start: auto;\n}\n\nslot[name=\"panel-top\"]::slotted(calcite-shell-center-row) {\n margin-block-end: auto;\n}\n\n// positioning logic for expected slotted components\n.position-wrapper {\n position: absolute;\n pointer-events: none;\n inset: 0;\n}\n\n@include base-component();\n","import { Component, Element, Fragment, h, Listen, Prop, State, VNode } from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { slotChangeGetAssignedElements, slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport { CSS, SLOTS } from \"./resources\";\n\n/**\n * @slot - A slot for adding custom content. This content will appear between any leading and trailing panels added to the component, such as a map.\n * @slot header - A slot for adding header content. This content will be positioned at the top of the component.\n * @slot footer - A slot for adding footer content. This content will be positioned at the bottom of the component.\n * @slot panel-start - A slot for adding the starting `calcite-shell-panel`.\n * @slot panel-end - A slot for adding the ending `calcite-shell-panel`.\n * @slot panel-top - A slot for adding the top `calcite-shell-panel`.\n * @slot panel-bottom - A slot for adding the bottom `calcite-shell-panel`.\n * @slot center-row - [Deprecated] Use the `\"panel-bottom\"` slot instead. A slot for adding the bottom `calcite-shell-center-row`.\n * @slot modals - A slot for adding `calcite-modal` components. When placed in this slot, the modal position will be constrained to the extent of the `calcite-shell`.\n * @slot alerts - A slot for adding `calcite-alert` components. When placed in this slot, the alert position will be constrained to the extent of the `calcite-shell`.\n * @slot sheets - A slot for adding `calcite-sheet` components. When placed in this slot, the sheet position will be constrained to the extent of the `calcite-shell`.\n */\n\n@Component({\n tag: \"calcite-shell\",\n styleUrl: \"shell.scss\",\n shadow: true,\n})\nexport class Shell implements ConditionalSlotComponent {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * Positions the center content behind any `calcite-shell-panel`s.\n */\n @Prop({ reflect: true }) contentBehind = false;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalShellPanelResizeStart\")\n handleCalciteInternalShellPanelResizeStart(event: CustomEvent<void>): void {\n this.panelIsResizing = true;\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalShellPanelResizeEnd\")\n handleCalciteInternalShellPanelResizeEnd(event: CustomEvent<void>): void {\n this.panelIsResizing = false;\n event.stopPropagation();\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteShellElement;\n\n @State() hasHeader = false;\n\n @State() hasFooter = false;\n\n @State() hasAlerts = false;\n\n @State() hasModals = false;\n\n @State() hasSheets = false;\n\n @State() panelIsResizing = false;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n handleHeaderSlotChange = (event: Event): void => {\n this.hasHeader = !!slotChangeHasAssignedElement(event);\n };\n\n handleFooterSlotChange = (event: Event): void => {\n this.hasFooter = !!slotChangeHasAssignedElement(event);\n };\n\n handleAlertsSlotChange = (event: Event): void => {\n this.hasAlerts = !!slotChangeHasAssignedElement(event);\n slotChangeGetAssignedElements(event)?.map((el) => {\n if (el.nodeName === \"CALCITE-ALERT\") {\n (el as HTMLCalciteAlertElement).slottedInShell = true;\n }\n });\n };\n\n handleSheetsSlotChange = (event: Event): void => {\n this.hasSheets = !!slotChangeHasAssignedElement(event);\n slotChangeGetAssignedElements(event)?.map((el) => {\n if (el.nodeName === \"CALCITE-SHEET\") {\n (el as HTMLCalciteSheetElement).slottedInShell = true;\n }\n });\n };\n\n handleModalsSlotChange = (event: Event): void => {\n this.hasModals = !!slotChangeHasAssignedElement(event);\n slotChangeGetAssignedElements(event)?.map((el) => {\n if (el.nodeName === \"CALCITE-MODAL\") {\n (el as HTMLCalciteModalElement).slottedInShell = true;\n }\n });\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderHeader(): VNode {\n return (\n <div hidden={!this.hasHeader}>\n <slot key=\"header\" name={SLOTS.header} onSlotchange={this.handleHeaderSlotChange} />\n </div>\n );\n }\n\n renderFooter(): VNode {\n return (\n <div class={CSS.footer} hidden={!this.hasFooter} key=\"footer\">\n <slot name={SLOTS.footer} onSlotchange={this.handleFooterSlotChange} />\n </div>\n );\n }\n\n renderAlerts(): VNode {\n return (\n <div hidden={!this.hasAlerts}>\n <slot key=\"alerts\" name={SLOTS.alerts} onSlotchange={this.handleAlertsSlotChange} />\n </div>\n );\n }\n\n renderSheets(): VNode {\n return (\n <div hidden={!this.hasSheets}>\n <slot key=\"sheets\" name={SLOTS.sheets} onSlotchange={this.handleSheetsSlotChange} />\n </div>\n );\n }\n\n renderModals(): VNode {\n return (\n <div hidden={!this.hasModals}>\n <slot key=\"modals\" name={SLOTS.modals} onSlotchange={this.handleModalsSlotChange} />\n </div>\n );\n }\n\n renderContent(): VNode[] {\n const { panelIsResizing } = this;\n const defaultSlotNode: VNode = <slot key=\"default-slot\" />;\n const defaultSlotContainerNode = panelIsResizing ? (\n <div class={CSS.contentNonInteractive}>{defaultSlotNode}</div>\n ) : (\n defaultSlotNode\n );\n const deprecatedCenterRowSlotNode: VNode = (\n <slot key=\"center-row-slot\" name={SLOTS.centerRow} />\n );\n const panelBottomSlotNode: VNode = <slot key=\"panel-bottom-slot\" name={SLOTS.panelBottom} />;\n const panelTopSlotNode: VNode = <slot key=\"panel-top-slot\" name={SLOTS.panelTop} />;\n\n const contentContainerKey = \"content-container\";\n\n const content = this.contentBehind\n ? [\n <div\n class={{\n [CSS.content]: true,\n [CSS.contentBehind]: true,\n }}\n key={contentContainerKey}\n >\n {defaultSlotContainerNode}\n </div>,\n <div class={CSS.contentBehindCenterContent}>\n {panelTopSlotNode}\n {panelBottomSlotNode}\n {deprecatedCenterRowSlotNode}\n </div>,\n ]\n : [\n <div class={CSS.content} key={contentContainerKey}>\n {panelTopSlotNode}\n {defaultSlotContainerNode}\n {panelBottomSlotNode}\n {deprecatedCenterRowSlotNode}\n </div>,\n ];\n\n return content;\n }\n\n renderMain(): VNode {\n return (\n <div class={CSS.main}>\n <slot name={SLOTS.panelStart} />\n {this.renderContent()}\n <slot name={SLOTS.panelEnd} />\n </div>\n );\n }\n\n renderPositionedSlots(): VNode {\n return (\n <div class={CSS.positionedSlotWrapper}>\n {this.renderAlerts()}\n {this.renderModals()}\n {this.renderSheets()}\n </div>\n );\n }\n\n render(): VNode {\n return (\n <Fragment>\n {this.renderHeader()}\n {this.renderMain()}\n {this.renderFooter()}\n {this.renderPositionedSlots()}\n </Fragment>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
8
|
-
import {
|
|
8
|
+
import { x as isPrimaryPointerButton, D as intersects } from './dom.js';
|
|
9
9
|
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form.js';
|
|
10
10
|
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive.js';
|
|
11
11
|
import { i as isActivationKey } from './key.js';
|
|
@@ -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 { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive.js';
|
|
@@ -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 { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectInteractive, u as updateHostInteraction, d as disconnectInteractive, I as InteractiveContainer } from './interactive.js';
|
|
@@ -20,7 +20,7 @@ const CSS = {
|
|
|
20
20
|
widthFull: "width-full",
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
const splitButtonCss = ":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:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host
|
|
23
|
+
const splitButtonCss = ":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:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-split-button-background:var(--calcite-color-brand);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host([kind=danger]){--calcite-split-button-background:var(--calcite-color-status-danger);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host([kind=neutral]){--calcite-split-button-background:var(--calcite-color-foreground-3);--calcite-split-button-divider:var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-split-button-background:var(--calcite-color-inverse);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=transparent]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-color-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host([appearance=outline]),:host([appearance=outline-fill]){--calcite-split-button-background:transparent}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;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-color:var(--calcite-split-button-background)}.divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";
|
|
24
24
|
const CalciteSplitButtonStyle0 = splitButtonCss;
|
|
25
25
|
|
|
26
26
|
const SplitButton = /*@__PURE__*/ proxyCustomElement(class SplitButton extends HTMLElement {
|