@esri/calcite-components 1.0.0-next.437 → 1.0.0-next.438
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-829d6388.system.entry.js → p-01cd38a3.system.entry.js} +2 -2
- package/dist/calcite/{p-45deedd8.system.entry.js → p-04567cd4.system.entry.js} +2 -2
- package/dist/calcite/p-051a3063.js +6 -0
- package/dist/calcite/{p-6c38874a.js → p-05ee4355.js} +1 -1
- package/dist/calcite/{p-83ed4496.system.entry.js → p-082888df.system.entry.js} +2 -2
- package/dist/calcite/{p-ed42e990.system.js → p-09b08c9a.system.js} +1 -1
- package/dist/calcite/{p-b363f950.entry.js → p-0a1934f5.entry.js} +2 -2
- package/dist/calcite/{p-2ba0a44e.system.entry.js → p-0c683d26.system.entry.js} +2 -2
- package/dist/calcite/{p-774dfc61.system.entry.js → p-0f1859f3.system.entry.js} +2 -2
- package/dist/calcite/{p-96270114.entry.js → p-0fb57052.entry.js} +2 -2
- package/dist/calcite/{p-9583196f.entry.js → p-13862488.entry.js} +2 -2
- package/dist/calcite/{p-57b20829.js → p-139d4ef6.js} +1 -1
- package/dist/calcite/{p-58e48652.system.entry.js → p-14a765ed.system.entry.js} +2 -2
- package/dist/calcite/{p-f0fb1e92.entry.js → p-1517cb8d.entry.js} +2 -2
- package/dist/calcite/{p-d083946c.entry.js → p-1831e9f5.entry.js} +2 -2
- package/dist/calcite/{p-0e1d6804.entry.js → p-1b47436d.entry.js} +2 -2
- package/dist/calcite/{p-35c4605d.system.entry.js → p-1b9bcc04.system.entry.js} +2 -2
- package/dist/calcite/{p-61f9d300.system.js → p-1ed9d66c.system.js} +2 -2
- package/dist/calcite/{p-68960bd7.entry.js → p-1f7d5f87.entry.js} +2 -2
- package/dist/calcite/p-20b4a6bc.js +6 -0
- package/dist/calcite/p-21d3206b.entry.js +6 -0
- package/dist/calcite/{p-28e45b6d.system.entry.js → p-22ea8117.system.entry.js} +2 -2
- package/dist/calcite/{p-420d9f18.system.entry.js → p-22f7c3f3.system.entry.js} +2 -2
- package/dist/calcite/{p-005357e0.system.js → p-255cbcc1.system.js} +2 -2
- package/dist/calcite/{p-d10b933b.entry.js → p-268c2897.entry.js} +2 -2
- package/dist/calcite/{p-ba35b00e.system.js → p-2693ccc6.system.js} +1 -1
- package/dist/calcite/{p-ea06d373.system.js → p-2970ede3.system.js} +1 -1
- package/dist/calcite/{p-6464b492.system.entry.js → p-2b5357ee.system.entry.js} +2 -2
- package/dist/calcite/{p-6bc924a5.js → p-2b5d239d.js} +1 -1
- package/dist/calcite/{p-9b5e28a0.system.entry.js → p-2dec29c6.system.entry.js} +2 -2
- package/dist/calcite/{p-c464c6ae.system.entry.js → p-308aa00a.system.entry.js} +2 -2
- package/dist/calcite/{p-2e5ce4c1.system.entry.js → p-3209f15a.system.entry.js} +2 -2
- package/dist/calcite/{p-8265d262.entry.js → p-33c0abe6.entry.js} +2 -2
- package/dist/calcite/{p-6412fe4e.entry.js → p-35ebfc21.entry.js} +2 -2
- package/dist/calcite/{p-12e50495.entry.js → p-35edf340.entry.js} +2 -2
- package/dist/calcite/{p-69ed0ae8.js → p-379ee037.js} +2 -2
- package/dist/calcite/{p-5eef675a.entry.js → p-3a780b75.entry.js} +2 -2
- package/dist/calcite/{p-c637689d.system.entry.js → p-3dee03bd.system.entry.js} +2 -2
- package/dist/calcite/{p-29a5b24a.system.entry.js → p-3f71640d.system.entry.js} +2 -2
- package/dist/calcite/{p-14e3cfe2.system.entry.js → p-3f7770ad.system.entry.js} +2 -2
- package/dist/calcite/{p-2f293cc6.entry.js → p-429be915.entry.js} +2 -2
- package/dist/calcite/{p-2817fc45.system.js → p-42a5889c.system.js} +1 -1
- package/dist/calcite/{p-84d323f2.entry.js → p-42fe99ed.entry.js} +2 -2
- package/dist/calcite/p-454ea263.entry.js +6 -0
- package/dist/calcite/{p-e5994dea.system.js → p-4a91a5da.system.js} +2 -2
- package/dist/calcite/{p-167e571d.entry.js → p-4aca26e1.entry.js} +2 -2
- package/dist/calcite/{p-a85271fc.system.entry.js → p-4f1a16a6.system.entry.js} +2 -2
- package/dist/calcite/{p-2340b1e3.js → p-4ff8a733.js} +1 -1
- package/dist/calcite/{p-853f6486.entry.js → p-50a8351c.entry.js} +2 -2
- package/dist/calcite/{p-8793a889.js → p-5146a595.js} +2 -2
- package/dist/calcite/{p-c9f538a3.entry.js → p-542cf729.entry.js} +2 -2
- package/dist/calcite/{p-d59c166c.entry.js → p-5454a4af.entry.js} +2 -2
- package/dist/calcite/{p-0d1c54d3.system.js → p-568deada.system.js} +2 -2
- package/dist/calcite/{p-b604b61d.js → p-591a91d5.js} +2 -2
- package/dist/calcite/{p-92088c37.entry.js → p-5a186fb5.entry.js} +2 -2
- package/dist/calcite/{p-48ba8d79.system.entry.js → p-5e6c130a.system.entry.js} +2 -2
- package/dist/calcite/{p-5656f449.system.entry.js → p-5ee830cc.system.entry.js} +2 -2
- package/dist/calcite/p-63838182.entry.js +6 -0
- package/dist/calcite/p-664b8d25.system.entry.js +6 -0
- package/dist/calcite/{p-9a3a42bd.entry.js → p-68844be7.entry.js} +2 -2
- package/dist/calcite/{p-67185c31.system.entry.js → p-6d63ce19.system.entry.js} +3 -3
- package/dist/calcite/{p-d395ee18.entry.js → p-6de29ef5.entry.js} +2 -2
- package/dist/calcite/{p-e194dfa7.system.js → p-6f8deee7.system.js} +2 -2
- package/dist/calcite/{p-de0c1ebf.system.entry.js → p-702114c1.system.entry.js} +2 -2
- package/dist/calcite/{p-64ca92fc.js → p-70dabefe.js} +2 -2
- package/dist/calcite/{p-4d55500e.js → p-710abe71.js} +1 -1
- package/dist/calcite/{p-f200bdeb.system.entry.js → p-71633b63.system.entry.js} +2 -2
- package/dist/calcite/{p-f36ca9a0.system.entry.js → p-7295d722.system.entry.js} +2 -2
- package/dist/calcite/{p-795363cd.js → p-754d91c8.js} +2 -2
- package/dist/calcite/{p-414f38b9.entry.js → p-75e46850.entry.js} +2 -2
- package/dist/calcite/{p-e88bfc28.js → p-7b242d45.js} +1 -1
- package/dist/calcite/{p-81911da4.system.js → p-7b44fd56.system.js} +1 -1
- package/dist/calcite/{p-e4b21a01.system.js → p-7b592250.system.js} +1 -1
- package/dist/calcite/{p-56b1e9b4.system.entry.js → p-7eaf701c.system.entry.js} +3 -3
- package/dist/calcite/{p-67f710e8.entry.js → p-81cd231f.entry.js} +2 -2
- package/dist/calcite/{p-47486dd4.entry.js → p-82c569c0.entry.js} +2 -2
- package/dist/calcite/{p-52e31789.js → p-82df0c94.js} +2 -2
- package/dist/calcite/{p-e83fbb87.js → p-836b98c4.js} +1 -1
- package/dist/calcite/{p-49da4a5a.system.entry.js → p-84d03472.system.entry.js} +2 -2
- package/dist/calcite/{p-c2abc375.system.entry.js → p-87a45cbb.system.entry.js} +2 -2
- package/dist/calcite/{p-f96156eb.entry.js → p-87a7f1d9.entry.js} +2 -2
- package/dist/calcite/p-891523f5.js +6 -0
- package/dist/calcite/{p-3a1c3831.system.js → p-8b8ad275.system.js} +1 -1
- package/dist/calcite/{p-a8312630.entry.js → p-90b492bc.entry.js} +2 -2
- package/dist/calcite/{p-38f27f82.system.js → p-91aec4f7.system.js} +2 -2
- package/dist/calcite/{p-1c9bc16d.system.entry.js → p-9321f761.system.entry.js} +2 -2
- package/dist/calcite/{p-38b75307.entry.js → p-934eb4dd.entry.js} +2 -2
- package/dist/calcite/{p-a5647d22.system.js → p-94242b2b.system.js} +1 -1
- package/dist/calcite/{p-8a9e75e0.system.entry.js → p-94a7e4b9.system.entry.js} +2 -2
- package/dist/calcite/{p-90310d8d.system.entry.js → p-94c368bb.system.entry.js} +2 -2
- package/dist/calcite/{p-3e4f1158.js → p-94c5183f.js} +1 -1
- package/dist/calcite/{p-e3db9806.system.js → p-9971a635.system.js} +1 -1
- package/dist/calcite/{p-265fdc26.entry.js → p-9ba5f491.entry.js} +2 -2
- package/dist/calcite/{p-df594e1d.system.entry.js → p-9be69906.system.entry.js} +2 -2
- package/dist/calcite/{p-084f2efa.entry.js → p-a0d9d55f.entry.js} +2 -2
- package/dist/calcite/{p-31f44dea.system.js → p-a21256fa.system.js} +1 -1
- package/dist/calcite/{p-1a4a1895.entry.js → p-a4c9ff2a.entry.js} +2 -2
- package/dist/calcite/{p-327854dd.system.entry.js → p-a500a608.system.entry.js} +2 -2
- package/dist/calcite/{p-9888f298.system.entry.js → p-a627740d.system.entry.js} +2 -2
- package/dist/calcite/{p-3a0bb0e3.js → p-aa0963d2.js} +1 -1
- package/dist/calcite/{p-9893d0fb.system.entry.js → p-ac0a5ceb.system.entry.js} +2 -2
- package/dist/calcite/{p-46a410bf.js → p-ac38a3a8.js} +2 -2
- package/dist/calcite/{p-7a434baf.js → p-acba7398.js} +1 -1
- package/dist/calcite/p-af28f847.entry.js +6 -0
- package/dist/calcite/{p-a53a9c94.system.entry.js → p-b1ecab1d.system.entry.js} +2 -2
- package/dist/calcite/{p-1822eb6d.entry.js → p-b5686d49.entry.js} +2 -2
- package/dist/calcite/{p-acb4a9eb.js → p-b835119b.js} +2 -2
- package/dist/calcite/{p-8ba1d0dd.entry.js → p-b8a1e4ba.entry.js} +2 -2
- package/dist/calcite/{p-20138921.entry.js → p-bae6fbc6.entry.js} +2 -2
- package/dist/calcite/{p-d704ca18.system.entry.js → p-be745cd8.system.entry.js} +2 -2
- package/dist/calcite/{p-302210cc.system.entry.js → p-bf8baf73.system.entry.js} +2 -2
- package/dist/calcite/{p-43782197.entry.js → p-bfa89221.entry.js} +2 -2
- package/dist/calcite/{p-bce8d79a.system.entry.js → p-c16a321a.system.entry.js} +2 -2
- package/dist/calcite/{p-f03457a1.system.entry.js → p-c38be517.system.entry.js} +2 -2
- package/dist/calcite/{p-256d02e6.entry.js → p-c62f621f.entry.js} +2 -2
- package/dist/calcite/{p-5b49cc6b.js → p-c69b1916.js} +1 -1
- package/dist/calcite/{p-b5094cd5.system.js → p-c69e333a.system.js} +3 -3
- package/dist/calcite/{p-db7c7067.entry.js → p-c9f2e6e7.entry.js} +2 -2
- package/dist/calcite/p-cab47d60.system.js +6 -0
- package/dist/calcite/{p-7d714ac1.system.entry.js → p-cccb1405.system.entry.js} +2 -2
- package/dist/calcite/{p-78bd49ef.system.entry.js → p-cceadcd7.system.entry.js} +2 -2
- package/dist/calcite/{p-856af4c9.system.js → p-cef1dc44.system.js} +1 -1
- package/dist/calcite/{p-31df74c5.entry.js → p-d0b4b072.entry.js} +2 -2
- package/dist/calcite/{p-c794d933.entry.js → p-d1c406d2.entry.js} +2 -2
- package/dist/calcite/{p-34bc84c5.system.entry.js → p-d37ecf41.system.entry.js} +2 -2
- package/dist/calcite/{p-290bacca.system.entry.js → p-d3d26287.system.entry.js} +2 -2
- package/dist/calcite/{p-4b515d1b.system.entry.js → p-d40fb174.system.entry.js} +2 -2
- package/dist/calcite/{p-373948b5.system.entry.js → p-d41547e3.system.entry.js} +2 -2
- package/dist/calcite/{p-779bb4c8.entry.js → p-d423cee5.entry.js} +2 -2
- package/dist/calcite/{p-5bffcc6f.system.entry.js → p-d5a230f9.system.entry.js} +2 -2
- package/dist/calcite/{p-c69c5e02.system.js → p-d6298967.system.js} +1 -1
- package/dist/calcite/{p-537d8f04.system.entry.js → p-d9354e79.system.entry.js} +2 -2
- package/dist/calcite/{p-532f3d09.entry.js → p-da4b21de.entry.js} +2 -2
- package/dist/calcite/{p-465e11e9.system.js → p-db06e525.system.js} +1 -1
- package/dist/calcite/{p-69fb03a3.entry.js → p-db097b8d.entry.js} +2 -2
- package/dist/calcite/{p-27c53556.entry.js → p-dd5e8f8d.entry.js} +2 -2
- package/dist/calcite/{p-7c278f00.system.entry.js → p-ddf7f72b.system.entry.js} +2 -2
- package/dist/calcite/{p-16f6352e.system.entry.js → p-e0699e61.system.entry.js} +2 -2
- package/dist/calcite/{p-e6620b6a.system.entry.js → p-e074d273.system.entry.js} +2 -2
- package/dist/calcite/{p-3526c73a.system.entry.js → p-e1c6e82b.system.entry.js} +2 -2
- package/dist/calcite/{p-73daaa9b.system.entry.js → p-e2653cac.system.entry.js} +2 -2
- package/dist/calcite/{p-45a41f51.system.entry.js → p-e4e41dcc.system.entry.js} +2 -2
- package/dist/calcite/{p-8c29665f.entry.js → p-e52ecc36.entry.js} +2 -2
- package/dist/calcite/{p-7f07881f.system.js → p-e5abc6a7.system.js} +3 -3
- package/dist/calcite/{p-9412593b.js → p-e63999bf.js} +1 -1
- package/dist/calcite/{p-2263c9ec.system.entry.js → p-e6b597b7.system.entry.js} +2 -2
- package/dist/calcite/{p-446fb0f1.js → p-e9b43338.js} +1 -1
- package/dist/calcite/{p-f31752b7.entry.js → p-ebd0cc92.entry.js} +2 -2
- package/dist/calcite/{p-3cc8c976.entry.js → p-ecbaf925.entry.js} +2 -2
- package/dist/calcite/{p-93e9d7ac.system.js → p-ed07ff66.system.js} +2 -2
- package/dist/calcite/{p-9d7012c9.system.entry.js → p-f0531ad2.system.entry.js} +2 -2
- package/dist/calcite/{p-c3ac70c2.system.js → p-f209169d.system.js} +2 -2
- package/dist/calcite/{p-761cebaa.entry.js → p-f250629e.entry.js} +2 -2
- package/dist/calcite/{p-c6b25491.system.js → p-f4183c84.system.js} +2 -2
- package/dist/calcite/{p-f9a8c24c.system.entry.js → p-f4fb89da.system.entry.js} +2 -2
- package/dist/calcite/{p-6bc7181c.entry.js → p-f5b1ac39.entry.js} +2 -2
- package/dist/calcite/{p-727de4ad.entry.js → p-f7c9fd29.entry.js} +2 -2
- package/dist/calcite/{p-6a7c5f25.system.js → p-f7fe6f14.system.js} +1 -1
- package/dist/calcite/{p-80f4d789.entry.js → p-f813f845.entry.js} +2 -2
- package/dist/calcite/{p-2ff0fd6e.entry.js → p-f820c1f7.entry.js} +2 -2
- package/dist/calcite/p-f9e598a5.system.entry.js +6 -0
- package/dist/calcite/{p-bace486b.entry.js → p-fa9a7c88.entry.js} +2 -2
- package/dist/calcite/{p-fb7a498d.entry.js → p-fd919921.entry.js} +2 -2
- package/dist/calcite/{p-2e8a6522.entry.js → p-ffafd164.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-f4d1b19f.js → ExpandToggle-8d77ed80.js} +5 -5
- package/dist/cjs/{Heading-595eec32.js → Heading-c183b130.js} +2 -2
- package/dist/cjs/{array-da3b1aac.js → array-ff5ecc18.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +4 -4
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +7 -7
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +47 -40
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +33 -22
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-9045ea80.js → conditionalSlot-e54c5ece.js} +3 -3
- package/dist/cjs/{debounce-e4d493a3.js → debounce-44a374d8.js} +1 -1
- package/dist/cjs/{dom-c186f900.js → dom-c14cce52.js} +2 -2
- package/dist/cjs/{forIn-ba13c5e9.js → forIn-f67d03aa.js} +2 -2
- package/dist/cjs/{form-35884dfb.js → form-54213ba8.js} +3 -3
- package/dist/cjs/{guid-917ae671.js → guid-27d14f10.js} +1 -1
- package/dist/cjs/{index-9fbcf022.js → index-2682cc08.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-acd26eca.js → interactive-d07e0f77.js} +1 -1
- package/dist/cjs/{interfaces-0b07da80.js → interfaces-85649141.js} +1 -1
- package/dist/cjs/{label-81a5b777.js → label-8cb293d7.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-a1e7c852.js → locale-99861e29.js} +2 -2
- package/dist/cjs/{math-7751f54b.js → math-d962343a.js} +1 -1
- package/dist/cjs/{number-95a6db8e.js → number-737bdd7b.js} +1 -1
- package/dist/cjs/{observers-7f1aab22.js → observers-dd373ae1.js} +1 -1
- package/dist/cjs/{popper-434527fb.js → popper-fa2d0513.js} +2 -2
- package/dist/cjs/{resources-3bfc0e3f.js → resources-6f57c1bc.js} +3 -3
- package/dist/cjs/{resources-e1cdc400.js → resources-91e16f8f.js} +5 -5
- package/dist/cjs/{resources-ce5fad88.js → resources-9a4adf78.js} +1 -1
- package/dist/cjs/{resources-1e6720b0.js → resources-d916be8e.js} +1 -1
- package/dist/cjs/{sortable.esm-7444a53f.js → sortable.esm-f8ced0ce.js} +1 -1
- package/dist/cjs/{utils-bb4fbb11.js → utils-3395a675.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +4 -4
- package/dist/collection/components/tab-nav/tab-nav.js +44 -10
- package/dist/collection/components/tab-title/tab-title.js +43 -13
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +40 -33
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/number.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +15 -9
- package/dist/components/tab-title.js +15 -10
- package/dist/components/tab.js +3 -3
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip-manager.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +70 -52
- package/dist/esm/{ExpandToggle-e2dffec8.js → ExpandToggle-dead8cc0.js} +5 -5
- package/dist/esm/{Heading-6e61243c.js → Heading-66e4f244.js} +2 -2
- package/dist/esm/{array-88d10ef6.js → array-233a5666.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +4 -4
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +4 -4
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +7 -7
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +47 -40
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +6 -6
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +7 -7
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +33 -22
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-9f13ad46.js → conditionalSlot-22e140ed.js} +3 -3
- package/dist/esm/{debounce-94d36ab4.js → debounce-7841a27d.js} +1 -1
- package/dist/esm/{dom-5ddb719b.js → dom-bf2137c4.js} +2 -2
- package/dist/esm/{forIn-515aa600.js → forIn-66cdd9fa.js} +2 -2
- package/dist/esm/{form-3868ef25.js → form-ad419556.js} +3 -3
- package/dist/esm/{guid-f1df9412.js → guid-07e4437f.js} +1 -1
- package/dist/esm/{index-8b7eaa08.js → index-04070095.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-0a1d5c5e.js → interactive-f2a72107.js} +1 -1
- package/dist/esm/{interfaces-e7b23603.js → interfaces-9074b00a.js} +1 -1
- package/dist/esm/{label-2517687e.js → label-2594da30.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-5f97403f.js → locale-e7679079.js} +2 -2
- package/dist/esm/{math-cbd27ba0.js → math-6ba7bca3.js} +1 -1
- package/dist/esm/{number-0e14de45.js → number-43289dab.js} +1 -1
- package/dist/esm/{observers-3ac68c37.js → observers-eba2b2b9.js} +1 -1
- package/dist/esm/{popper-980438bd.js → popper-e35a6398.js} +2 -2
- package/dist/esm/{resources-8b391eab.js → resources-16f8890a.js} +1 -1
- package/dist/esm/{resources-6c3fb150.js → resources-70e044df.js} +3 -3
- package/dist/esm/{resources-0cf072a8.js → resources-c651aa73.js} +5 -5
- package/dist/esm/{resources-f557d18e.js → resources-d8d86fdc.js} +1 -1
- package/dist/esm/{sortable.esm-7bce5868.js → sortable.esm-a64af163.js} +1 -1
- package/dist/esm/{utils-d947fd14.js → utils-1fcc8110.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-e2dffec8.js → ExpandToggle-dead8cc0.js} +2 -2
- package/dist/esm-es5/{Heading-6e61243c.js → Heading-66e4f244.js} +2 -2
- package/dist/esm-es5/{array-88d10ef6.js → array-233a5666.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +3 -3
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-9f13ad46.js → conditionalSlot-22e140ed.js} +2 -2
- package/dist/esm-es5/{debounce-94d36ab4.js → debounce-7841a27d.js} +1 -1
- package/dist/esm-es5/{dom-5ddb719b.js → dom-bf2137c4.js} +2 -2
- package/dist/esm-es5/{forIn-515aa600.js → forIn-66cdd9fa.js} +2 -2
- package/dist/esm-es5/{form-3868ef25.js → form-ad419556.js} +2 -2
- package/dist/esm-es5/{guid-f1df9412.js → guid-07e4437f.js} +1 -1
- package/dist/esm-es5/{index-8b7eaa08.js → index-04070095.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-0a1d5c5e.js → interactive-f2a72107.js} +1 -1
- package/dist/esm-es5/{interfaces-e7b23603.js → interfaces-9074b00a.js} +1 -1
- package/dist/esm-es5/{label-2517687e.js → label-2594da30.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-5f97403f.js → locale-e7679079.js} +2 -2
- package/dist/esm-es5/{math-cbd27ba0.js → math-6ba7bca3.js} +1 -1
- package/dist/esm-es5/{number-0e14de45.js → number-43289dab.js} +1 -1
- package/dist/esm-es5/{observers-3ac68c37.js → observers-eba2b2b9.js} +1 -1
- package/dist/esm-es5/{popper-980438bd.js → popper-e35a6398.js} +2 -2
- package/dist/esm-es5/{resources-8b391eab.js → resources-16f8890a.js} +1 -1
- package/dist/esm-es5/{resources-6c3fb150.js → resources-70e044df.js} +2 -2
- package/dist/esm-es5/{resources-0cf072a8.js → resources-c651aa73.js} +2 -2
- package/dist/esm-es5/{resources-f557d18e.js → resources-d8d86fdc.js} +1 -1
- package/dist/esm-es5/{sortable.esm-7bce5868.js → sortable.esm-a64af163.js} +1 -1
- package/dist/esm-es5/{utils-d947fd14.js → utils-1fcc8110.js} +1 -1
- package/dist/extras/docs-json.json +9 -4
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/tab/tab.d.ts +1 -1
- package/dist/types/components/tab-nav/tab-nav.d.ts +6 -1
- package/dist/types/components/tab-title/tab-title.d.ts +8 -2
- package/dist/types/preact.d.ts +4 -2
- package/hydrate/index.js +70 -52
- package/package.json +4 -4
- package/dist/calcite/p-1ce25c89.entry.js +0 -6
- package/dist/calcite/p-319dddbf.system.entry.js +0 -6
- package/dist/calcite/p-483e8b0e.entry.js +0 -6
- package/dist/calcite/p-4e3e0933.entry.js +0 -6
- package/dist/calcite/p-a66b6149.system.entry.js +0 -6
- package/dist/calcite/p-ac9f7686.system.js +0 -6
- package/dist/calcite/p-b52f681e.js +0 -6
- package/dist/calcite/p-baecde92.js +0 -6
- package/dist/calcite/p-dbaa0856.entry.js +0 -6
- package/dist/calcite/p-fcdb2b12.js +0 -6
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.438
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
|
@@ -26,7 +26,7 @@ export declare class Tab {
|
|
|
26
26
|
* @internal
|
|
27
27
|
*/
|
|
28
28
|
calciteTabRegister: EventEmitter;
|
|
29
|
-
|
|
29
|
+
internalTabChangeHandler(event: CustomEvent<TabChangeEventDetail>): void;
|
|
30
30
|
/**
|
|
31
31
|
* Return the index of this tab within the tab array
|
|
32
32
|
*/
|
|
@@ -42,17 +42,22 @@ export declare class TabNav {
|
|
|
42
42
|
render(): VNode;
|
|
43
43
|
focusPreviousTabHandler(e: CustomEvent): void;
|
|
44
44
|
focusNextTabHandler(e: CustomEvent): void;
|
|
45
|
+
internalActivateTabHandler(e: CustomEvent<TabChangeEventDetail>): void;
|
|
45
46
|
activateTabHandler(e: CustomEvent<TabChangeEventDetail>): void;
|
|
46
47
|
/**
|
|
47
48
|
* Check for active tabs on register and update selected
|
|
48
49
|
*/
|
|
49
50
|
updateTabTitles(e: CustomEvent<TabID>): void;
|
|
50
|
-
|
|
51
|
+
globalInternalTabChangeHandler(e: CustomEvent<TabChangeEventDetail>): void;
|
|
51
52
|
/**
|
|
52
53
|
* Emitted when the active tab changes
|
|
53
54
|
* @see [TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)
|
|
54
55
|
*/
|
|
55
56
|
calciteTabChange: EventEmitter<TabChangeEventDetail>;
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
calciteInternalTabChange: EventEmitter<TabChangeEventDetail>;
|
|
56
61
|
selectedTab: TabID;
|
|
57
62
|
selectedTabEl: HTMLCalciteTabTitleElement;
|
|
58
63
|
parentTabsEl: HTMLCalciteTabsElement;
|
|
@@ -39,7 +39,7 @@ export declare class TabTitle implements InteractiveComponent {
|
|
|
39
39
|
render(): VNode;
|
|
40
40
|
componentDidLoad(): Promise<void>;
|
|
41
41
|
componentDidRender(): void;
|
|
42
|
-
|
|
42
|
+
internalTabChangeHandler(event: CustomEvent<TabChangeEventDetail>): void;
|
|
43
43
|
onClick(): void;
|
|
44
44
|
keyDownHandler(e: KeyboardEvent): void;
|
|
45
45
|
/**
|
|
@@ -47,6 +47,12 @@ export declare class TabTitle implements InteractiveComponent {
|
|
|
47
47
|
* @see [TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)
|
|
48
48
|
*/
|
|
49
49
|
calciteTabsActivate: EventEmitter<TabChangeEventDetail>;
|
|
50
|
+
/**
|
|
51
|
+
* Fires when a specific tab is activated (`event.details`)
|
|
52
|
+
* @see [TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
calciteInternalTabsActivate: EventEmitter<TabChangeEventDetail>;
|
|
50
56
|
/**
|
|
51
57
|
* @internal
|
|
52
58
|
*/
|
|
@@ -80,6 +86,6 @@ export declare class TabTitle implements InteractiveComponent {
|
|
|
80
86
|
parentTabsEl: HTMLCalciteTabsElement;
|
|
81
87
|
updateHasText(): void;
|
|
82
88
|
setupTextContentObserver(): void;
|
|
83
|
-
emitActiveTab(): void;
|
|
89
|
+
emitActiveTab(userTriggered?: boolean): void;
|
|
84
90
|
guid: string;
|
|
85
91
|
}
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -309,12 +309,14 @@ declare module "preact/src/jsx" {
|
|
|
309
309
|
"oncalciteTabRegister"?: (event: CustomEvent<any>) => void;
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
"calcite-tab-nav": Omit<JSX.CalciteTabNav, "onCalciteTabChange"> & JSXInternal.HTMLAttributes<HTMLCalciteTabNavElement> & {
|
|
312
|
+
"calcite-tab-nav": Omit<JSX.CalciteTabNav, "onCalciteTabChange" | "onCalciteInternalTabChange"> & JSXInternal.HTMLAttributes<HTMLCalciteTabNavElement> & {
|
|
313
313
|
"oncalciteTabChange"?: (event: CustomEvent<any>) => void;
|
|
314
|
+
"oncalciteInternalTabChange"?: (event: CustomEvent<any>) => void;
|
|
314
315
|
}
|
|
315
316
|
|
|
316
|
-
"calcite-tab-title": Omit<JSX.CalciteTabTitle, "onCalciteTabsActivate" | "onCalciteTabsFocusNext" | "onCalciteTabsFocusPrevious" | "onCalciteTabTitleRegister"> & JSXInternal.HTMLAttributes<HTMLCalciteTabTitleElement> & {
|
|
317
|
+
"calcite-tab-title": Omit<JSX.CalciteTabTitle, "onCalciteTabsActivate" | "onCalciteInternalTabsActivate" | "onCalciteTabsFocusNext" | "onCalciteTabsFocusPrevious" | "onCalciteTabTitleRegister"> & JSXInternal.HTMLAttributes<HTMLCalciteTabTitleElement> & {
|
|
317
318
|
"oncalciteTabsActivate"?: (event: CustomEvent<any>) => void;
|
|
319
|
+
"oncalciteInternalTabsActivate"?: (event: CustomEvent<any>) => void;
|
|
318
320
|
"oncalciteTabsFocusNext"?: (event: CustomEvent<any>) => void;
|
|
319
321
|
"oncalciteTabsFocusPrevious"?: (event: CustomEvent<any>) => void;
|
|
320
322
|
"oncalciteTabTitleRegister"?: (event: CustomEvent<any>) => void;
|
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.438
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -11705,7 +11705,6 @@ models.forEach(fromModel => {
|
|
|
11705
11705
|
});
|
|
11706
11706
|
var colorConvert = convert;
|
|
11707
11707
|
|
|
11708
|
-
const _slice = [].slice;
|
|
11709
11708
|
const skippedModels = [// To be honest, I don't really feel like keyword belongs in color convert, but eh.
|
|
11710
11709
|
'keyword', // Gray conflicts with some method names, and has its own method defined.
|
|
11711
11710
|
'gray', // Shouldn't really be in color-convert either...
|
|
@@ -11713,7 +11712,7 @@ const skippedModels = [// To be honest, I don't really feel like keyword belongs
|
|
|
11713
11712
|
const hashedModelKeys = {};
|
|
11714
11713
|
|
|
11715
11714
|
for (const model of Object.keys(colorConvert)) {
|
|
11716
|
-
hashedModelKeys[
|
|
11715
|
+
hashedModelKeys[[...colorConvert[model].labels].sort().join('')] = model;
|
|
11717
11716
|
}
|
|
11718
11717
|
|
|
11719
11718
|
const limiters = {};
|
|
@@ -11741,7 +11740,7 @@ function Color(object, model) {
|
|
|
11741
11740
|
this.valpha = 1;
|
|
11742
11741
|
} else if (object instanceof Color) {
|
|
11743
11742
|
this.model = object.model;
|
|
11744
|
-
this.color = object.color
|
|
11743
|
+
this.color = [...object.color];
|
|
11745
11744
|
this.valpha = object.valpha;
|
|
11746
11745
|
} else if (typeof object === 'string') {
|
|
11747
11746
|
const result = colorString.get(object);
|
|
@@ -11757,9 +11756,7 @@ function Color(object, model) {
|
|
|
11757
11756
|
} else if (object.length > 0) {
|
|
11758
11757
|
this.model = model || 'rgb';
|
|
11759
11758
|
channels = colorConvert[this.model].channels;
|
|
11760
|
-
|
|
11761
|
-
const newArray = _slice.call(object, 0, channels);
|
|
11762
|
-
|
|
11759
|
+
const newArray = Array.prototype.slice.call(object, 0, channels);
|
|
11763
11760
|
this.color = zeroArray(newArray, channels);
|
|
11764
11761
|
this.valpha = typeof object[channels] === 'number' ? object[channels] : 1;
|
|
11765
11762
|
} else if (typeof object === 'number') {
|
|
@@ -11783,7 +11780,9 @@ function Color(object, model) {
|
|
|
11783
11780
|
}
|
|
11784
11781
|
|
|
11785
11782
|
this.model = hashedModelKeys[hashedKeys];
|
|
11786
|
-
const
|
|
11783
|
+
const {
|
|
11784
|
+
labels
|
|
11785
|
+
} = colorConvert[this.model];
|
|
11787
11786
|
const color = [];
|
|
11788
11787
|
|
|
11789
11788
|
for (i = 0; i < labels.length; i++) {
|
|
@@ -11825,24 +11824,28 @@ Color.prototype = {
|
|
|
11825
11824
|
string(places) {
|
|
11826
11825
|
let self = this.model in colorString.to ? this : this.rgb();
|
|
11827
11826
|
self = self.round(typeof places === 'number' ? places : 1);
|
|
11828
|
-
const args = self.valpha === 1 ? self.color : self.color
|
|
11827
|
+
const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
|
|
11829
11828
|
return colorString.to[self.model](args);
|
|
11830
11829
|
},
|
|
11831
11830
|
|
|
11832
11831
|
percentString(places) {
|
|
11833
11832
|
const self = this.rgb().round(typeof places === 'number' ? places : 1);
|
|
11834
|
-
const args = self.valpha === 1 ? self.color : self.color
|
|
11833
|
+
const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
|
|
11835
11834
|
return colorString.to.rgb.percent(args);
|
|
11836
11835
|
},
|
|
11837
11836
|
|
|
11838
11837
|
array() {
|
|
11839
|
-
return this.valpha === 1 ? this.color
|
|
11838
|
+
return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];
|
|
11840
11839
|
},
|
|
11841
11840
|
|
|
11842
11841
|
object() {
|
|
11843
11842
|
const result = {};
|
|
11844
|
-
const
|
|
11845
|
-
|
|
11843
|
+
const {
|
|
11844
|
+
channels
|
|
11845
|
+
} = colorConvert[this.model];
|
|
11846
|
+
const {
|
|
11847
|
+
labels
|
|
11848
|
+
} = colorConvert[this.model];
|
|
11846
11849
|
|
|
11847
11850
|
for (let i = 0; i < channels; i++) {
|
|
11848
11851
|
result[labels[i]] = this.color[i];
|
|
@@ -11883,12 +11886,12 @@ Color.prototype = {
|
|
|
11883
11886
|
|
|
11884
11887
|
round(places) {
|
|
11885
11888
|
places = Math.max(places || 0, 0);
|
|
11886
|
-
return new Color(this.color.map(roundToPlace(places))
|
|
11889
|
+
return new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);
|
|
11887
11890
|
},
|
|
11888
11891
|
|
|
11889
11892
|
alpha(value) {
|
|
11890
|
-
if (
|
|
11891
|
-
return new Color(this.color
|
|
11893
|
+
if (value !== undefined) {
|
|
11894
|
+
return new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);
|
|
11892
11895
|
}
|
|
11893
11896
|
|
|
11894
11897
|
return this.valpha;
|
|
@@ -11911,15 +11914,15 @@ Color.prototype = {
|
|
|
11911
11914
|
magenta: getset('cmyk', 1, maxfn(100)),
|
|
11912
11915
|
yellow: getset('cmyk', 2, maxfn(100)),
|
|
11913
11916
|
black: getset('cmyk', 3, maxfn(100)),
|
|
11914
|
-
x: getset('xyz', 0, maxfn(
|
|
11917
|
+
x: getset('xyz', 0, maxfn(95.047)),
|
|
11915
11918
|
y: getset('xyz', 1, maxfn(100)),
|
|
11916
|
-
z: getset('xyz', 2, maxfn(
|
|
11919
|
+
z: getset('xyz', 2, maxfn(108.833)),
|
|
11917
11920
|
l: getset('lab', 0, maxfn(100)),
|
|
11918
11921
|
a: getset('lab', 1),
|
|
11919
11922
|
b: getset('lab', 2),
|
|
11920
11923
|
|
|
11921
11924
|
keyword(value) {
|
|
11922
|
-
if (
|
|
11925
|
+
if (value !== undefined) {
|
|
11923
11926
|
return new Color(value);
|
|
11924
11927
|
}
|
|
11925
11928
|
|
|
@@ -11927,7 +11930,7 @@ Color.prototype = {
|
|
|
11927
11930
|
},
|
|
11928
11931
|
|
|
11929
11932
|
hex(value) {
|
|
11930
|
-
if (
|
|
11933
|
+
if (value !== undefined) {
|
|
11931
11934
|
return new Color(value);
|
|
11932
11935
|
}
|
|
11933
11936
|
|
|
@@ -11935,7 +11938,7 @@ Color.prototype = {
|
|
|
11935
11938
|
},
|
|
11936
11939
|
|
|
11937
11940
|
hexa(value) {
|
|
11938
|
-
if (
|
|
11941
|
+
if (value !== undefined) {
|
|
11939
11942
|
return new Color(value);
|
|
11940
11943
|
}
|
|
11941
11944
|
|
|
@@ -11961,7 +11964,7 @@ Color.prototype = {
|
|
|
11961
11964
|
|
|
11962
11965
|
for (const [i, element] of rgb.entries()) {
|
|
11963
11966
|
const chan = element / 255;
|
|
11964
|
-
lum[i] = chan <= 0.
|
|
11967
|
+
lum[i] = chan <= 0.04045 ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;
|
|
11965
11968
|
}
|
|
11966
11969
|
|
|
11967
11970
|
return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];
|
|
@@ -11980,9 +11983,10 @@ Color.prototype = {
|
|
|
11980
11983
|
},
|
|
11981
11984
|
|
|
11982
11985
|
level(color2) {
|
|
11986
|
+
// https://www.w3.org/TR/WCAG/#contrast-enhanced
|
|
11983
11987
|
const contrastRatio = this.contrast(color2);
|
|
11984
11988
|
|
|
11985
|
-
if (contrastRatio >= 7
|
|
11989
|
+
if (contrastRatio >= 7) {
|
|
11986
11990
|
return 'AAA';
|
|
11987
11991
|
}
|
|
11988
11992
|
|
|
@@ -11992,7 +11996,7 @@ Color.prototype = {
|
|
|
11992
11996
|
isDark() {
|
|
11993
11997
|
// YIQ equation from http://24ways.org/2010/calculating-color-contrast
|
|
11994
11998
|
const rgb = this.rgb().color;
|
|
11995
|
-
const yiq = (rgb[0] *
|
|
11999
|
+
const yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;
|
|
11996
12000
|
return yiq < 128;
|
|
11997
12001
|
},
|
|
11998
12002
|
|
|
@@ -12094,25 +12098,28 @@ for (const model of Object.keys(colorConvert)) {
|
|
|
12094
12098
|
continue;
|
|
12095
12099
|
}
|
|
12096
12100
|
|
|
12097
|
-
const
|
|
12101
|
+
const {
|
|
12102
|
+
channels
|
|
12103
|
+
} = colorConvert[model]; // Conversion methods
|
|
12098
12104
|
|
|
12099
|
-
Color.prototype[model] = function () {
|
|
12105
|
+
Color.prototype[model] = function (...args) {
|
|
12100
12106
|
if (this.model === model) {
|
|
12101
12107
|
return new Color(this);
|
|
12102
12108
|
}
|
|
12103
12109
|
|
|
12104
|
-
if (
|
|
12105
|
-
return new Color(
|
|
12110
|
+
if (args.length > 0) {
|
|
12111
|
+
return new Color(args, model);
|
|
12106
12112
|
}
|
|
12107
12113
|
|
|
12108
|
-
|
|
12109
|
-
return new Color(assertArray(colorConvert[this.model][model].raw(this.color)).concat(newAlpha), model);
|
|
12114
|
+
return new Color([...assertArray(colorConvert[this.model][model].raw(this.color)), this.valpha], model);
|
|
12110
12115
|
}; // 'static' construction methods
|
|
12111
12116
|
|
|
12112
12117
|
|
|
12113
|
-
Color[model] = function (
|
|
12118
|
+
Color[model] = function (...args) {
|
|
12119
|
+
let color = args[0];
|
|
12120
|
+
|
|
12114
12121
|
if (typeof color === 'number') {
|
|
12115
|
-
color = zeroArray(
|
|
12122
|
+
color = zeroArray(args, channels);
|
|
12116
12123
|
}
|
|
12117
12124
|
|
|
12118
12125
|
return new Color(color, model);
|
|
@@ -12140,7 +12147,7 @@ function getset(model, channel, modifier) {
|
|
|
12140
12147
|
return function (value) {
|
|
12141
12148
|
let result;
|
|
12142
12149
|
|
|
12143
|
-
if (
|
|
12150
|
+
if (value !== undefined) {
|
|
12144
12151
|
if (modifier) {
|
|
12145
12152
|
value = modifier(value);
|
|
12146
12153
|
}
|
|
@@ -29886,7 +29893,7 @@ class Tab {
|
|
|
29886
29893
|
// Event Listeners
|
|
29887
29894
|
//
|
|
29888
29895
|
//--------------------------------------------------------------------------
|
|
29889
|
-
|
|
29896
|
+
internalTabChangeHandler(event) {
|
|
29890
29897
|
const targetTabsEl = event
|
|
29891
29898
|
.composedPath()
|
|
29892
29899
|
.find((el) => el.tagName === "CALCITE-TABS");
|
|
@@ -29940,7 +29947,7 @@ class Tab {
|
|
|
29940
29947
|
"getTabIndex": [64],
|
|
29941
29948
|
"updateAriaInfo": [64]
|
|
29942
29949
|
},
|
|
29943
|
-
"$listeners$": [[16, "
|
|
29950
|
+
"$listeners$": [[16, "calciteInternalTabChange", "internalTabChangeHandler"]],
|
|
29944
29951
|
"$lazyBundleId$": "-",
|
|
29945
29952
|
"$attrsToReflect$": [["tab", "tab"], ["active", "active"], ["scale", "scale"]]
|
|
29946
29953
|
}; }
|
|
@@ -29955,6 +29962,7 @@ class TabNav {
|
|
|
29955
29962
|
constructor(hostRef) {
|
|
29956
29963
|
registerInstance(this, hostRef);
|
|
29957
29964
|
this.calciteTabChange = createEvent(this, "calciteTabChange", 7);
|
|
29965
|
+
this.calciteInternalTabChange = createEvent(this, "calciteInternalTabChange", 7);
|
|
29958
29966
|
/** @internal Parent tabs component scale value */
|
|
29959
29967
|
this.scale = "m";
|
|
29960
29968
|
/** @internal Parent tabs component layout value */
|
|
@@ -29983,7 +29991,7 @@ class TabNav {
|
|
|
29983
29991
|
this.selectedTab !== null) {
|
|
29984
29992
|
localStorage.setItem(`calcite-tab-nav-${this.storageId}`, JSON.stringify(this.selectedTab));
|
|
29985
29993
|
}
|
|
29986
|
-
this.
|
|
29994
|
+
this.calciteInternalTabChange.emit({
|
|
29987
29995
|
tab: this.selectedTab
|
|
29988
29996
|
});
|
|
29989
29997
|
this.selectedTabEl = await this.getTabTitleById(this.selectedTab);
|
|
@@ -30013,9 +30021,6 @@ class TabNav {
|
|
|
30013
30021
|
if (localStorage && this.storageId && localStorage.getItem(storageKey)) {
|
|
30014
30022
|
const storedTab = JSON.parse(localStorage.getItem(storageKey));
|
|
30015
30023
|
this.selectedTab = storedTab;
|
|
30016
|
-
this.calciteTabChange.emit({
|
|
30017
|
-
tab: this.selectedTab
|
|
30018
|
-
});
|
|
30019
30024
|
}
|
|
30020
30025
|
}
|
|
30021
30026
|
componentWillRender() {
|
|
@@ -30035,7 +30040,7 @@ class TabNav {
|
|
|
30035
30040
|
this.tabTitles.every((title) => !title.active) &&
|
|
30036
30041
|
!this.selectedTab) {
|
|
30037
30042
|
this.tabTitles[0].getTabIdentifier().then((tab) => {
|
|
30038
|
-
this.
|
|
30043
|
+
this.calciteInternalTabChange.emit({
|
|
30039
30044
|
tab
|
|
30040
30045
|
});
|
|
30041
30046
|
});
|
|
@@ -30068,13 +30073,20 @@ class TabNav {
|
|
|
30068
30073
|
e.stopPropagation();
|
|
30069
30074
|
e.preventDefault();
|
|
30070
30075
|
}
|
|
30071
|
-
|
|
30076
|
+
internalActivateTabHandler(e) {
|
|
30072
30077
|
this.selectedTab = e.detail.tab
|
|
30073
30078
|
? e.detail.tab
|
|
30074
30079
|
: this.getIndexOfTabTitle(e.target);
|
|
30075
30080
|
e.stopPropagation();
|
|
30076
30081
|
e.preventDefault();
|
|
30077
30082
|
}
|
|
30083
|
+
activateTabHandler(e) {
|
|
30084
|
+
this.calciteTabChange.emit({
|
|
30085
|
+
tab: this.selectedTab
|
|
30086
|
+
});
|
|
30087
|
+
e.stopPropagation();
|
|
30088
|
+
e.preventDefault();
|
|
30089
|
+
}
|
|
30078
30090
|
/**
|
|
30079
30091
|
* Check for active tabs on register and update selected
|
|
30080
30092
|
*/
|
|
@@ -30083,12 +30095,13 @@ class TabNav {
|
|
|
30083
30095
|
this.selectedTab = e.detail;
|
|
30084
30096
|
}
|
|
30085
30097
|
}
|
|
30086
|
-
|
|
30098
|
+
globalInternalTabChangeHandler(e) {
|
|
30087
30099
|
if (this.syncId &&
|
|
30088
30100
|
e.target !== this.el &&
|
|
30089
30101
|
e.target.syncId === this.syncId &&
|
|
30090
30102
|
this.selectedTab !== e.detail.tab) {
|
|
30091
30103
|
this.selectedTab = e.detail.tab;
|
|
30104
|
+
e.stopPropagation();
|
|
30092
30105
|
}
|
|
30093
30106
|
}
|
|
30094
30107
|
updateOffsetPosition() {
|
|
@@ -30142,7 +30155,7 @@ class TabNav {
|
|
|
30142
30155
|
"selectedTab": [32],
|
|
30143
30156
|
"selectedTabEl": [32]
|
|
30144
30157
|
},
|
|
30145
|
-
"$listeners$": [[0, "calciteTabsFocusPrevious", "focusPreviousTabHandler"], [0, "calciteTabsFocusNext", "focusNextTabHandler"], [0, "calciteTabsActivate", "activateTabHandler"], [0, "calciteTabTitleRegister", "updateTabTitles"], [16, "
|
|
30158
|
+
"$listeners$": [[0, "calciteTabsFocusPrevious", "focusPreviousTabHandler"], [0, "calciteTabsFocusNext", "focusNextTabHandler"], [0, "calciteInternalTabsActivate", "internalActivateTabHandler"], [0, "calciteTabsActivate", "activateTabHandler"], [0, "calciteTabTitleRegister", "updateTabTitles"], [16, "calciteInternalTabChange", "globalInternalTabChangeHandler"]],
|
|
30146
30159
|
"$lazyBundleId$": "-",
|
|
30147
30160
|
"$attrsToReflect$": [["scale", "scale"], ["layout", "layout"], ["position", "position"], ["bordered", "bordered"]]
|
|
30148
30161
|
}; }
|
|
@@ -30157,6 +30170,7 @@ class TabTitle {
|
|
|
30157
30170
|
constructor(hostRef) {
|
|
30158
30171
|
registerInstance(this, hostRef);
|
|
30159
30172
|
this.calciteTabsActivate = createEvent(this, "calciteTabsActivate", 7);
|
|
30173
|
+
this.calciteInternalTabsActivate = createEvent(this, "calciteInternalTabsActivate", 7);
|
|
30160
30174
|
this.calciteTabsFocusNext = createEvent(this, "calciteTabsFocusNext", 7);
|
|
30161
30175
|
this.calciteTabsFocusPrevious = createEvent(this, "calciteTabsFocusPrevious", 7);
|
|
30162
30176
|
this.calciteTabTitleRegister = createEvent(this, "calciteTabTitleRegister", 7);
|
|
@@ -30184,7 +30198,7 @@ class TabTitle {
|
|
|
30184
30198
|
}
|
|
30185
30199
|
activeTabChanged() {
|
|
30186
30200
|
if (this.active) {
|
|
30187
|
-
this.emitActiveTab();
|
|
30201
|
+
this.emitActiveTab(false);
|
|
30188
30202
|
}
|
|
30189
30203
|
}
|
|
30190
30204
|
//--------------------------------------------------------------------------
|
|
@@ -30207,7 +30221,7 @@ class TabTitle {
|
|
|
30207
30221
|
}
|
|
30208
30222
|
componentWillLoad() {
|
|
30209
30223
|
if (this.tab && this.active) {
|
|
30210
|
-
this.emitActiveTab();
|
|
30224
|
+
this.emitActiveTab(false);
|
|
30211
30225
|
}
|
|
30212
30226
|
}
|
|
30213
30227
|
componentWillRender() {
|
|
@@ -30244,7 +30258,7 @@ class TabTitle {
|
|
|
30244
30258
|
// Event Listeners
|
|
30245
30259
|
//
|
|
30246
30260
|
//--------------------------------------------------------------------------
|
|
30247
|
-
|
|
30261
|
+
internalTabChangeHandler(event) {
|
|
30248
30262
|
const targetTabsEl = event
|
|
30249
30263
|
.composedPath()
|
|
30250
30264
|
.find((el) => el.tagName === "CALCITE-TABS");
|
|
@@ -30259,6 +30273,7 @@ class TabTitle {
|
|
|
30259
30273
|
this.active = index === event.detail.tab;
|
|
30260
30274
|
});
|
|
30261
30275
|
}
|
|
30276
|
+
event.stopPropagation();
|
|
30262
30277
|
}
|
|
30263
30278
|
onClick() {
|
|
30264
30279
|
this.emitActiveTab();
|
|
@@ -30318,11 +30333,14 @@ class TabTitle {
|
|
|
30318
30333
|
var _a;
|
|
30319
30334
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
30320
30335
|
}
|
|
30321
|
-
emitActiveTab() {
|
|
30322
|
-
if (
|
|
30323
|
-
|
|
30324
|
-
|
|
30325
|
-
|
|
30336
|
+
emitActiveTab(userTriggered = true) {
|
|
30337
|
+
if (this.disabled) {
|
|
30338
|
+
return;
|
|
30339
|
+
}
|
|
30340
|
+
const payload = { tab: this.tab };
|
|
30341
|
+
this.calciteInternalTabsActivate.emit(payload);
|
|
30342
|
+
if (userTriggered) {
|
|
30343
|
+
this.calciteTabsActivate.emit(payload);
|
|
30326
30344
|
}
|
|
30327
30345
|
}
|
|
30328
30346
|
get el() { return getElement(this); }
|
|
@@ -30350,7 +30368,7 @@ class TabTitle {
|
|
|
30350
30368
|
"getTabIdentifier": [64],
|
|
30351
30369
|
"updateAriaInfo": [64]
|
|
30352
30370
|
},
|
|
30353
|
-
"$listeners$": [[16, "
|
|
30371
|
+
"$listeners$": [[16, "calciteInternalTabChange", "internalTabChangeHandler"], [0, "click", "onClick"], [0, "keydown", "keyDownHandler"]],
|
|
30354
30372
|
"$lazyBundleId$": "-",
|
|
30355
30373
|
"$attrsToReflect$": [["active", "active"], ["disabled", "disabled"], ["iconEnd", "icon-end"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["layout", "layout"], ["position", "position"], ["scale", "scale"], ["bordered", "bordered"], ["tab", "tab"]]
|
|
30356
30374
|
}; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.438",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@a11y/focus-trap": "1.0.5",
|
|
62
|
-
"@popperjs/core": "2.11.
|
|
62
|
+
"@popperjs/core": "2.11.5",
|
|
63
63
|
"@stencil/core": "2.15.0",
|
|
64
64
|
"@types/color": "3.0.3",
|
|
65
|
-
"color": "4.2.
|
|
65
|
+
"color": "4.2.3",
|
|
66
66
|
"form-request-submit-polyfill": "2.0.0",
|
|
67
67
|
"lodash-es": "4.17.21",
|
|
68
68
|
"sortablejs": "1.15.0"
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"puppeteer": "10.0.0",
|
|
129
129
|
"rimraf": "3.0.2",
|
|
130
130
|
"screener-storybook": "0.23.0",
|
|
131
|
-
"semver": "7.3.
|
|
131
|
+
"semver": "7.3.6",
|
|
132
132
|
"shell-quote": "1.7.3",
|
|
133
133
|
"standard-version": "9.3.2",
|
|
134
134
|
"stencil-eslint-core": "0.3.1",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.437
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,H as e,g as o}from"./p-e83fbb87.js";import{g as r}from"./p-4d55500e.js";import{a as n,f as s}from"./p-b604b61d.js";import{c,d,g as l}from"./p-8793a889.js";import{c as h,d as m,H as p}from"./p-b52f681e.js";import{g as b}from"./p-3a0bb0e3.js";import{u}from"./p-57b20829.js";const f=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),m(this)}componentDidRender(){u(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};f.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{f as calcite_radio_button}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{c(a.next(t))}catch(t){r(t)}}function s(t){try{c(a["throw"](t))}catch(t){r(t)}}function c(t){t.done?i(t.value):n(t.value).then(o,s)}c((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];n=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var a=0,n=e.length,r;a<n;a++){if(r||!(a in e)){if(!r)r=Array.prototype.slice.call(e,0,a);r[a]=e[a]}}return t.concat(r||Array.prototype.slice.call(e))};
|
|
2
|
-
/*!
|
|
3
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-next.437
|
|
6
|
-
*/System.register(["./p-ba35b00e.system.js","./p-6a7c5f25.system.js","./p-0d1c54d3.system.js","./p-2817fc45.system.js","./p-81911da4.system.js"],(function(t){"use strict";var e,i,a,n,r,o,s,c,l,d,b,p,m;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;r=t.g;o=t.F},function(t){s=t.g},function(t){c=t.n;l=t.a;d=t.k;b=t.d},function(t){p=t.c},function(t){m=t.u}],execute:function(){var f="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([active]) section{display:block}:host{display:none;height:100%;width:100%}:host([active]){display:block;height:100%;width:100%;overflow:auto}section{display:none;height:100%;width:100%}:host([scale=s]){padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}";var u=t("calcite_tab",function(){function t(t){e(this,t);this.calciteTabRegister=i(this,"calciteTabRegister",7);this.active=false;this.scale="m";this.guid="calcite-tab-title-".concat(s())}t.prototype.render=function(){var t=this.el.id||this.guid;return a(n,{"aria-expanded":this.active.toString(),"aria-labelledby":this.labeledBy,id:t,role:"tabpanel"},a("section",null,a("slot",null)))};t.prototype.connectedCallback=function(){this.parentTabsEl=this.el.closest("calcite-tabs")};t.prototype.componentDidLoad=function(){this.calciteTabRegister.emit()};t.prototype.componentWillRender=function(){var t;this.scale=(t=this.parentTabsEl)===null||t===void 0?void 0:t.scale};t.prototype.disconnectedCallback=function(){var t;(t=document.body)===null||t===void 0?void 0:t.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))};t.prototype.tabChangeHandler=function(t){var e=this;var i=t.composedPath().find((function(t){return t.tagName==="CALCITE-TABS"}));if(i!==this.parentTabsEl){return}if(this.tab){this.active=this.tab===t.detail.tab}else{this.getTabIndex().then((function(i){e.active=i===t.detail.tab}))}};t.prototype.getTabIndex=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Array.prototype.indexOf.call(c(this.el.parentElement.children).filter((function(t){return t.matches("calcite-tab")})),this.el)]}))}))};t.prototype.updateAriaInfo=function(t,e){if(t===void 0){t=[]}if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.labeledBy=e[t.indexOf(this.el.id)]||null;return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());u.style=f;var h="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex}:host([scale=s]){min-height:1.5rem}:host([scale=m]){min-height:2rem}:host([scale=l]){min-height:2.75rem}.tab-nav{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}:host([layout=center]) .tab-nav{-ms-flex-pack:center;justify-content:center}.tab-nav-active-indicator-container{position:absolute;left:0px;right:0px;bottom:0px;height:0.125rem;width:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;bottom:0px;display:block;height:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([position=below]) .tab-nav-active-indicator{bottom:unset;top:0px}:host([position=below]) .tab-nav-active-indicator-container{bottom:unset;top:0px}:host([bordered]) .tab-nav-active-indicator-container{bottom:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{bottom:0;top:unset}";var v=t("calcite_tab_nav",function(){function t(t){var a=this;e(this,t);this.calciteTabChange=i(this,"calciteTabChange",7);this.scale="m";this.layout="inline";this.position="below";this.bordered=false;this.animationActiveDuration=.3;this.resizeObserver=p("resize",(function(){a.activeIndicatorEl.style.transitionDuration="0s";a.updateActiveWidth();a.updateOffsetPosition()}));this.handleContainerScroll=function(){a.activeIndicatorEl.style.transitionDuration="0s";a.updateOffsetPosition()}}t.prototype.selectedTabChanged=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(localStorage&&this.storageId&&this.selectedTab!==undefined&&this.selectedTab!==null){localStorage.setItem("calcite-tab-nav-".concat(this.storageId),JSON.stringify(this.selectedTab))}this.calciteTabChange.emit({tab:this.selectedTab});t=this;return[4,this.getTabTitleById(this.selectedTab)];case 1:t.selectedTabEl=e.sent();return[2]}}))}))};t.prototype.selectedTabElChanged=function(){this.updateOffsetPosition();this.updateActiveWidth();this.activeIndicatorEl.style.transitionDuration="".concat(this.animationActiveDuration,"s")};t.prototype.connectedCallback=function(){var t;this.parentTabsEl=this.el.closest("calcite-tabs");(t=this.resizeObserver)===null||t===void 0?void 0:t.observe(this.el)};t.prototype.disconnectedCallback=function(){var t;(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.componentWillLoad=function(){var t="calcite-tab-nav-".concat(this.storageId);if(localStorage&&this.storageId&&localStorage.getItem(t)){var e=JSON.parse(localStorage.getItem(t));this.selectedTab=e;this.calciteTabChange.emit({tab:this.selectedTab})}};t.prototype.componentWillRender=function(){var t=this.parentTabsEl;this.layout=t===null||t===void 0?void 0:t.layout;this.position=t===null||t===void 0?void 0:t.position;this.scale=t===null||t===void 0?void 0:t.scale;this.bordered=t===null||t===void 0?void 0:t.bordered;if(this.selectedTabEl){this.updateOffsetPosition()}};t.prototype.componentDidRender=function(){var t=this;if(this.tabTitles.length&&this.tabTitles.every((function(t){return!t.active}))&&!this.selectedTab){this.tabTitles[0].getTabIdentifier().then((function(e){t.calciteTabChange.emit({tab:e})}))}};t.prototype.render=function(){var t=this;var e=l(this.el);var i="".concat(this.indicatorWidth,"px");var r="".concat(this.indicatorOffset,"px");var o=e!=="rtl"?{width:i,left:r}:{width:i,right:r};return a(n,{role:"tablist"},a("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:function(e){return t.tabNavEl=e}},a("div",{class:"tab-nav-active-indicator-container",ref:function(e){return t.activeIndicatorContainerEl=e}},a("div",{class:"tab-nav-active-indicator",ref:function(e){return t.activeIndicatorEl=e},style:o})),a("slot",null)))};t.prototype.focusPreviousTabHandler=function(t){var e=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);var i=this.enabledTabTitles[e-1]||this.enabledTabTitles[this.enabledTabTitles.length-1];i.focus();t.stopPropagation();t.preventDefault()};t.prototype.focusNextTabHandler=function(t){var e=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);var i=this.enabledTabTitles[e+1]||this.enabledTabTitles[0];i.focus();t.stopPropagation();t.preventDefault()};t.prototype.activateTabHandler=function(t){this.selectedTab=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target);t.stopPropagation();t.preventDefault()};t.prototype.updateTabTitles=function(t){if(t.target.active){this.selectedTab=t.detail}};t.prototype.globalTabChangeHandler=function(t){if(this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTab!==t.detail.tab){this.selectedTab=t.detail.tab}};t.prototype.updateOffsetPosition=function(){var t,e,i,a,n;var r=l(this.el);var o=(t=this.activeIndicatorContainerEl)===null||t===void 0?void 0:t.offsetWidth;var s=(e=this.selectedTabEl)===null||e===void 0?void 0:e.offsetLeft;var c=(i=this.selectedTabEl)===null||i===void 0?void 0:i.offsetWidth;var d=o-(s+c);this.indicatorOffset=r!=="rtl"?s-((a=this.tabNavEl)===null||a===void 0?void 0:a.scrollLeft):d+((n=this.tabNavEl)===null||n===void 0?void 0:n.scrollLeft)};t.prototype.updateActiveWidth=function(){var t;this.indicatorWidth=(t=this.selectedTabEl)===null||t===void 0?void 0:t.offsetWidth};t.prototype.getIndexOfTabTitle=function(t,e){if(e===void 0){e=this.tabTitles}return e.indexOf(t)};t.prototype.getTabTitleById=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){return[2,Promise.all(this.tabTitles.map((function(t){return t.getTabIdentifier()}))).then((function(i){return e.tabTitles[i.indexOf(t)]}))]}))}))};Object.defineProperty(t.prototype,"tabTitles",{get:function(){return d(this.el,"calcite-tab-title")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"enabledTabTitles",{get:function(){return d(this.el,"calcite-tab-title:not([disabled])")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selectedTab:["selectedTabChanged"],selectedTabEl:["selectedTabElChanged"]}},enumerable:false,configurable:true});return t}());v.style=h;var y="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin-right:1.25rem;display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}:host([layout=center]){margin-top:0px;margin-bottom:0px;margin-left:1.25rem;margin-right:1.25rem;text-align:center;-ms-flex-preferred-size:12rem;flex-basis:12rem}:host([position=below]) a{border-bottom-width:0px;border-top-width:2px;border-top-color:transparent;border-top-style:solid}:host a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) a{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([active]) a{border-color:transparent;color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) span,:host([disabled]) a{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){-webkit-margin-end:1rem;margin-inline-end:1rem}:host([scale=s]) a,:host([scale=s]) span{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) a,:host([scale=m]) span{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}:host([scale=l]) a,:host([scale=l]) span{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}a,span{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:2px;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-bottom-color:transparent;border-bottom-style:solid}span{cursor:default}.calcite-tab-title--icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:center;align-self:center}.calcite-tab-title--icon svg{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.container--has-text{padding:0.25rem}.container--has-text .calcite-tab-title--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.container--has-text .calcite-tab-title--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([bordered]){-webkit-margin-end:0;margin-inline-end:0}:host([bordered][active]){-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][active][position=below]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) a,:host([bordered]:focus) a,:host([bordered]:active) a{position:relative}:host([bordered]:hover) a{background-color:var(--calcite-button-transparent-hover);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([bordered]) a{border-bottom-style:unset}:host([bordered][position=below]) a{border-top-style:unset}:host([active][bordered]) a{border-left:1px solid var(--calcite-ui-border-1);border-right:1px solid var(--calcite-ui-border-1)}:host([bordered]) a,:host([bordered]) span{padding-left:0.75rem;padding-right:0.75rem}:host([bordered][scale=s]) a,:host([bordered][scale=s]) span{padding-left:0.5rem;padding-right:0.5rem}:host([bordered][scale=l]) a,:host([bordered][scale=l]) span{padding-left:1rem;padding-right:1rem}";var g=t("calcite_tab_title",function(){function t(t){var a=this;e(this,t);this.calciteTabsActivate=i(this,"calciteTabsActivate",7);this.calciteTabsFocusNext=i(this,"calciteTabsFocusNext",7);this.calciteTabsFocusPrevious=i(this,"calciteTabsFocusPrevious",7);this.calciteTabTitleRegister=i(this,"calciteTabTitleRegister",7);this.active=false;this.disabled=false;this.bordered=false;this.mutationObserver=p("mutation",(function(){return a.updateHasText()}));this.hasText=false;this.guid="calcite-tab-title-".concat(s())}t.prototype.activeTabChanged=function(){if(this.active){this.emitActiveTab()}};t.prototype.connectedCallback=function(){this.setupTextContentObserver();this.parentTabNavEl=this.el.closest("calcite-tab-nav");this.parentTabsEl=this.el.closest("calcite-tabs")};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=document.body)===null||e===void 0?void 0:e.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}))};t.prototype.componentWillLoad=function(){{this.updateHasText()}if(this.tab&&this.active){this.emitActiveTab()}};t.prototype.componentWillRender=function(){if(this.parentTabsEl){this.layout=this.parentTabsEl.layout;this.position=this.parentTabsEl.position;this.scale=this.parentTabsEl.scale;this.bordered=this.parentTabsEl.bordered}if(!this.parentTabsEl&&this.parentTabNavEl){this.position=b(this.parentTabNavEl,"position",this.position);this.scale=b(this.parentTabNavEl,"scale",this.scale)}};t.prototype.render=function(){var t=this.el.id||this.guid;var e=this.bordered&&!this.disabled&&this.layout!=="center";var i=a("calcite-icon",{class:"calcite-tab-title--icon icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var r=a("calcite-icon",{class:"calcite-tab-title--icon icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});return a(n,{"aria-controls":this.controls,"aria-expanded":this.active.toString(),id:t,role:"tab"},a("a",{class:{container:true,"container--has-text":this.hasText},style:e&&{width:"".concat(this.parentTabNavEl.indicatorWidth,"px")}},this.iconStart?i:null,a("slot",null),this.iconEnd?r:null))};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:e=(t=this.calciteTabTitleRegister).emit;return[4,this.getTabIdentifier()];case 1:e.apply(t,[i.sent()]);return[2]}}))}))};t.prototype.componentDidRender=function(){m(this,true)};t.prototype.tabChangeHandler=function(t){var e=this;var i=t.composedPath().find((function(t){return t.tagName==="CALCITE-TABS"}));if(i!==this.parentTabsEl){return}if(this.tab){this.active=this.tab===t.detail.tab}else{this.getTabIndex().then((function(i){e.active=i===t.detail.tab}))}};t.prototype.onClick=function(){this.emitActiveTab()};t.prototype.keyDownHandler=function(t){switch(t.key){case" ":case"Enter":this.emitActiveTab();t.preventDefault();break;case"ArrowRight":if(l(this.el)==="ltr"){this.calciteTabsFocusNext.emit()}else{this.calciteTabsFocusPrevious.emit()}break;case"ArrowLeft":if(l(this.el)==="ltr"){this.calciteTabsFocusPrevious.emit()}else{this.calciteTabsFocusNext.emit()}break}};t.prototype.getTabIndex=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-tab-title"),this.el)]}))}))};t.prototype.getTabIdentifier=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.tab?this.tab:this.getTabIndex()]}))}))};t.prototype.updateAriaInfo=function(t,e){if(t===void 0){t=[]}if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.controls=t[e.indexOf(this.el.id)]||null;return[2]}))}))};t.prototype.updateHasText=function(){this.hasText=this.el.textContent.trim().length>0};t.prototype.setupTextContentObserver=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.emitActiveTab=function(){if(!this.disabled){this.calciteTabsActivate.emit({tab:this.tab})}};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeTabChanged"]}},enumerable:false,configurable:true});return t}());g.style=y;var w={tabNav:"tab-nav"};var k="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){margin-bottom:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){margin-top:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;border-top-width:1px;border-top-color:var(--calcite-ui-border-1);overflow:hidden;border-top-style:solid}:host([position=below]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-top-width:0px;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-1)}:host([position=below]:not([bordered])) section{border-bottom-style:solid}";var x=t("calcite_tabs",function(){function t(t){e(this,t);this.layout="inline";this.position="above";this.scale="m";this.bordered=false;this.titles=[];this.tabs=[]}t.prototype.connectedCallback=function(){if(this.layout==="center"){this.bordered=false}};t.prototype.render=function(){return a(o,null,a("slot",{name:w.tabNav}),a("section",null,a("slot",null)))};t.prototype.calciteTabTitleRegister=function(t){this.titles=__spreadArray(__spreadArray([],this.titles,true),[t.target],false);this.registryHandler();t.stopPropagation()};t.prototype.calciteTabTitleUnregister=function(t){this.titles=this.titles.filter((function(e){return e!==t.detail}));this.registryHandler();t.stopPropagation()};t.prototype.calciteTabRegister=function(t){this.tabs=__spreadArray(__spreadArray([],this.tabs,true),[t.target],false);this.registryHandler();t.stopPropagation()};t.prototype.calciteTabUnregister=function(t){this.tabs=this.tabs.filter((function(e){return e!==t.detail}));this.registryHandler();t.stopPropagation()};t.prototype.registryHandler=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,a;var n=this;return __generator(this,(function(r){switch(r.label){case 0:if(!(this.tabs.some((function(t){return t.tab}))||this.titles.some((function(t){return t.tab}))))return[3,1];t=this.tabs.sort((function(t,e){return t.tab.localeCompare(e.tab)})).map((function(t){return t.id}));e=this.titles.sort((function(t,e){return t.tab.localeCompare(e.tab)})).map((function(t){return t.id}));return[3,4];case 1:return[4,Promise.all(this.tabs.map((function(t){return t.getTabIndex()})))];case 2:i=r.sent();return[4,Promise.all(this.titles.map((function(t){return t.getTabIndex()})))];case 3:a=r.sent();t=i.reduce((function(t,e,i){t[e]=n.tabs[i].id;return t}),[]);e=a.reduce((function(t,e,i){t[e]=n.titles[i].id;return t}),[]);r.label=4;case 4:this.tabs.forEach((function(i){return i.updateAriaInfo(t,e)}));this.titles.forEach((function(i){return i.updateAriaInfo(t,e)}));return[2]}}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());x.style=k}}}));
|