@esri/calcite-components 2.12.0 → 2.13.0-next.1
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/index.esm.js +1 -1
- package/dist/calcite/p-014feeab.entry.js +7 -0
- package/dist/calcite/p-02522147.js +7 -0
- package/dist/calcite/p-028278a3.js +7 -0
- package/dist/calcite/p-02d208fd.entry.js +7 -0
- package/dist/calcite/p-0677a447.entry.js +7 -0
- package/dist/calcite/p-07043a58.entry.js +7 -0
- package/dist/calcite/p-07043a58.entry.js.map +1 -0
- package/dist/calcite/p-07411877.entry.js +7 -0
- package/dist/calcite/p-07411877.entry.js.map +1 -0
- package/dist/calcite/p-076d5228.js +7 -0
- package/dist/calcite/p-0950b635.js +11 -0
- package/dist/calcite/p-09ba5be7.js +7 -0
- package/dist/calcite/p-0ae3cd17.entry.js +7 -0
- package/dist/calcite/p-0c86a89d.entry.js +7 -0
- package/dist/calcite/p-0d014579.entry.js +7 -0
- package/dist/calcite/p-0f08d617.entry.js +7 -0
- package/dist/calcite/p-120790ae.entry.js +7 -0
- package/dist/calcite/p-120790ae.entry.js.map +1 -0
- package/dist/calcite/p-14e8aea5.js +7 -0
- package/dist/calcite/p-150efaa4.js +7 -0
- package/dist/calcite/p-1556bef7.js +7 -0
- package/dist/calcite/p-1747ffb9.js +7 -0
- package/dist/calcite/p-17581615.js +8 -0
- package/dist/calcite/p-176e985b.js +7 -0
- package/dist/calcite/p-176e985b.js.map +1 -0
- package/dist/calcite/p-177c7f49.entry.js +7 -0
- package/dist/calcite/p-190c7317.entry.js +7 -0
- package/dist/calcite/p-190c7317.entry.js.map +1 -0
- package/dist/calcite/p-1d6e3a98.entry.js +7 -0
- package/dist/calcite/p-1d6e3a98.entry.js.map +1 -0
- package/dist/calcite/p-1fb3b19d.js +7 -0
- package/dist/calcite/p-21eb95f3.entry.js +7 -0
- package/dist/calcite/p-23ea44e9.js +7 -0
- package/dist/calcite/p-2873d01a.js +7 -0
- package/dist/calcite/p-2ab60da2.js +7 -0
- package/dist/calcite/p-2c7543fb.entry.js +7 -0
- package/dist/calcite/p-2d3f5f11.js +13 -0
- package/dist/calcite/p-2db9acc2.entry.js +7 -0
- package/dist/calcite/p-32322e15.entry.js +7 -0
- package/dist/calcite/p-32322e15.entry.js.map +1 -0
- package/dist/calcite/p-33434e45.js +7 -0
- package/dist/calcite/p-3660bb21.entry.js +7 -0
- package/dist/calcite/p-3660bb21.entry.js.map +1 -0
- package/dist/calcite/p-36ef85c1.js +7 -0
- package/dist/calcite/p-37761a16.js +7 -0
- package/dist/calcite/p-386a42f5.entry.js +7 -0
- package/dist/calcite/p-386a42f5.entry.js.map +1 -0
- package/dist/calcite/p-3927d405.js +7 -0
- package/dist/calcite/p-3a7b1de3.entry.js +7 -0
- package/dist/calcite/p-3a7b1de3.entry.js.map +1 -0
- package/dist/calcite/p-3bffea95.js +7 -0
- package/dist/calcite/p-3cd6ef65.js +7 -0
- package/dist/calcite/p-3cf89117.js +7 -0
- package/dist/calcite/p-3eddc208.js +7 -0
- package/dist/calcite/p-416a1dfa.js +7 -0
- package/dist/calcite/p-42729737.entry.js +7 -0
- package/dist/calcite/p-42729737.entry.js.map +1 -0
- package/dist/calcite/p-42c8bed7.js +7 -0
- package/dist/calcite/p-4310e573.entry.js +7 -0
- package/dist/calcite/p-4310e573.entry.js.map +1 -0
- package/dist/calcite/p-432012f7.js +7 -0
- package/dist/calcite/p-43b5ddd0.js +7 -0
- package/dist/calcite/p-44885066.js +7 -0
- package/dist/calcite/p-44b70c91.entry.js +7 -0
- package/dist/calcite/p-44b70c91.entry.js.map +1 -0
- package/dist/calcite/p-45dd419d.entry.js +7 -0
- package/dist/calcite/p-45dd419d.entry.js.map +1 -0
- package/dist/calcite/p-474b2038.entry.js +7 -0
- package/dist/calcite/p-474b2038.entry.js.map +1 -0
- package/dist/calcite/p-47ee0f17.js +7 -0
- package/dist/calcite/p-48c46ebf.js +7 -0
- package/dist/calcite/p-49fd34a7.js +7 -0
- package/dist/calcite/p-4a654c62.js +7 -0
- package/dist/calcite/p-4d68e650.entry.js +7 -0
- package/dist/calcite/p-4d68e650.entry.js.map +1 -0
- package/dist/calcite/p-4f800b41.js +7 -0
- package/dist/calcite/p-4fe16acc.entry.js +7 -0
- package/dist/calcite/p-4fe16acc.entry.js.map +1 -0
- package/dist/calcite/p-50fa027f.js +7 -0
- package/dist/calcite/p-51536b75.js +7 -0
- package/dist/calcite/p-52a3a1d9.js +7 -0
- package/dist/calcite/p-52d11871.entry.js +7 -0
- package/dist/calcite/p-52d11871.entry.js.map +1 -0
- package/dist/calcite/p-538e4de5.js +7 -0
- package/dist/calcite/p-54e1cc3e.js +7 -0
- package/dist/calcite/p-559d5428.entry.js +7 -0
- package/dist/calcite/p-5610eb3a.js +7 -0
- package/dist/calcite/p-567ec9ce.entry.js +7 -0
- package/dist/calcite/p-567ec9ce.entry.js.map +1 -0
- package/dist/calcite/p-58acfe5c.entry.js +7 -0
- package/dist/calcite/p-58acfe5c.entry.js.map +1 -0
- package/dist/calcite/p-5a798716.js +7 -0
- package/dist/calcite/p-5be8a330.entry.js +7 -0
- package/dist/calcite/p-5bfaa911.js +7 -0
- package/dist/calcite/p-5d583a26.js +7 -0
- package/dist/calcite/p-5d73097e.js +7 -0
- package/dist/calcite/p-5d73097e.js.map +1 -0
- package/dist/calcite/p-5e62f5d8.entry.js +7 -0
- package/dist/calcite/p-5fb11bc5.js +7 -0
- package/dist/calcite/p-605d2697.js +7 -0
- package/dist/calcite/p-62a45517.js +7 -0
- package/dist/calcite/p-658e49d1.js +7 -0
- package/dist/calcite/p-6861beb6.js +7 -0
- package/dist/calcite/p-6b034312.js +7 -0
- package/dist/calcite/p-6b71176c.entry.js +7 -0
- package/dist/calcite/p-6b71176c.entry.js.map +1 -0
- package/dist/calcite/p-6d0763d1.entry.js +7 -0
- package/dist/calcite/p-6f51e3ce.entry.js +7 -0
- package/dist/calcite/p-6f51e3ce.entry.js.map +1 -0
- package/dist/calcite/p-702f5524.js +7 -0
- package/dist/calcite/p-70bc9361.js +7 -0
- package/dist/calcite/p-71846dd7.js +7 -0
- package/dist/calcite/p-71a36eac.js +7 -0
- package/dist/calcite/p-75d13a9a.js +7 -0
- package/dist/calcite/p-75f53b08.js +7 -0
- package/dist/calcite/p-78a12803.js +7 -0
- package/dist/calcite/p-7aabb05b.entry.js +7 -0
- package/dist/calcite/p-7aabb05b.entry.js.map +1 -0
- package/dist/calcite/p-7b1011c9.entry.js +7 -0
- package/dist/calcite/p-7b1011c9.entry.js.map +1 -0
- package/dist/calcite/p-7cba7142.entry.js +7 -0
- package/dist/calcite/p-7f868c0b.entry.js +7 -0
- package/dist/calcite/p-7f868c0b.entry.js.map +1 -0
- package/dist/calcite/p-827c78ae.js +7 -0
- package/dist/calcite/p-83c2d42d.entry.js +7 -0
- package/dist/calcite/p-83c2d42d.entry.js.map +1 -0
- package/dist/calcite/p-85e31bce.entry.js +7 -0
- package/dist/calcite/p-85e31bce.entry.js.map +1 -0
- package/dist/calcite/p-86670483.js +7 -0
- package/dist/calcite/p-8f15a8b8.js +7 -0
- package/dist/calcite/p-9046ce3f.entry.js +7 -0
- package/dist/calcite/p-9172abf0.entry.js +7 -0
- package/dist/calcite/p-92a1d6d7.js +7 -0
- package/dist/calcite/p-92a1d6d7.js.map +1 -0
- package/dist/calcite/p-92e7212f.js +7 -0
- package/dist/calcite/p-9312cf69.js +7 -0
- package/dist/calcite/p-934d8e45.js +7 -0
- package/dist/calcite/p-94fb2301.js +7 -0
- package/dist/calcite/p-96bfb8d9.js +7 -0
- package/dist/calcite/p-97413600.entry.js +7 -0
- package/dist/calcite/p-97413600.entry.js.map +1 -0
- package/dist/calcite/p-99eb2c21.entry.js +7 -0
- package/dist/calcite/p-99eb2c21.entry.js.map +1 -0
- package/dist/calcite/p-9c2b501a.entry.js +7 -0
- package/dist/calcite/p-9c2b501a.entry.js.map +1 -0
- package/dist/calcite/p-a3136988.js +7 -0
- package/dist/calcite/p-a4561448.entry.js +7 -0
- package/dist/calcite/p-a4561448.entry.js.map +1 -0
- package/dist/calcite/p-a4601427.js +7 -0
- package/dist/calcite/p-a49d2b8e.entry.js +7 -0
- package/dist/calcite/p-a49d2b8e.entry.js.map +1 -0
- package/dist/calcite/p-a4f09346.entry.js +7 -0
- package/dist/calcite/p-a4f09346.entry.js.map +1 -0
- package/dist/calcite/p-a56530bf.entry.js +7 -0
- package/dist/calcite/p-aa6c227e.entry.js +7 -0
- package/dist/calcite/p-abb207ee.js +7 -0
- package/dist/calcite/p-ac61143e.js +7 -0
- package/dist/calcite/p-af2ce6e6.js +7 -0
- package/dist/calcite/p-b3f8b7ef.entry.js +7 -0
- package/dist/calcite/p-b466be7f.entry.js +7 -0
- package/dist/calcite/p-b466be7f.entry.js.map +1 -0
- package/dist/calcite/p-b693e6ed.js +7 -0
- package/dist/calcite/p-b6a71674.js +7 -0
- package/dist/calcite/p-b722d250.js +7 -0
- package/dist/calcite/p-b92ebeef.js +7 -0
- package/dist/calcite/p-b96aca55.entry.js +7 -0
- package/dist/calcite/p-b96aca55.entry.js.map +1 -0
- package/dist/calcite/p-ba1afe48.entry.js +7 -0
- package/dist/calcite/p-bac694f0.js +7 -0
- package/dist/calcite/p-bac694f0.js.map +1 -0
- package/dist/calcite/p-bbac8d98.entry.js +7 -0
- package/dist/calcite/p-bbac8d98.entry.js.map +1 -0
- package/dist/calcite/p-bd29fda5.js +7 -0
- package/dist/calcite/p-c49d0c9b.entry.js +7 -0
- package/dist/calcite/p-c49d0c9b.entry.js.map +1 -0
- package/dist/calcite/p-c4f58fae.js +7 -0
- package/dist/calcite/p-c64f7f92.js +7 -0
- package/dist/calcite/p-c7a88fda.entry.js +7 -0
- package/dist/calcite/p-c86e8125.entry.js +7 -0
- package/dist/calcite/p-c86e8125.entry.js.map +1 -0
- package/dist/calcite/p-c96353cc.js +7 -0
- package/dist/calcite/p-cbc54e80.js +12 -0
- package/dist/calcite/p-cc6a06c5.entry.js +7 -0
- package/dist/calcite/p-cc6a06c5.entry.js.map +1 -0
- package/dist/calcite/p-ce35a376.entry.js +7 -0
- package/dist/calcite/p-ce8096fa.entry.js +7 -0
- package/dist/calcite/p-d32e5254.js +7 -0
- package/dist/calcite/p-d3838c95.entry.js +7 -0
- package/dist/calcite/p-d3838c95.entry.js.map +1 -0
- package/dist/calcite/p-d402a243.entry.js +7 -0
- package/dist/calcite/p-d402a243.entry.js.map +1 -0
- package/dist/calcite/p-d5a775c7.js +7 -0
- package/dist/calcite/p-d8dcfc85.entry.js +7 -0
- package/dist/calcite/p-d8dcfc85.entry.js.map +1 -0
- package/dist/calcite/p-d90ec26a.js +7 -0
- package/dist/calcite/p-d95c083d.entry.js +7 -0
- package/dist/calcite/p-de896077.entry.js +7 -0
- package/dist/calcite/p-de896077.entry.js.map +1 -0
- package/dist/calcite/p-e1cb0cf6.js +7 -0
- package/dist/calcite/p-e369ccb4.js +7 -0
- package/dist/calcite/p-e48d8987.js +7 -0
- package/dist/calcite/p-e5c0ef5b.entry.js +7 -0
- package/dist/calcite/p-e5c0ef5b.entry.js.map +1 -0
- package/dist/calcite/p-e7a44987.js +7 -0
- package/dist/calcite/p-e880cc27.js +7 -0
- package/dist/calcite/p-ee30d343.entry.js +7 -0
- package/dist/calcite/p-ee30d343.entry.js.map +1 -0
- package/dist/calcite/p-ee3a83a3.entry.js +7 -0
- package/dist/calcite/p-efe5a7bb.entry.js +7 -0
- package/dist/calcite/p-efe5a7bb.entry.js.map +1 -0
- package/dist/calcite/p-f099b69b.js +7 -0
- package/dist/calcite/p-f19f6b4d.entry.js +7 -0
- package/dist/calcite/p-f19f6b4d.entry.js.map +1 -0
- package/dist/calcite/p-f51a68ab.js +7 -0
- package/dist/calcite/p-f602db57.js +7 -0
- package/dist/calcite/p-f8d7d444.entry.js +7 -0
- package/dist/calcite/p-fa6f9740.js +7 -0
- package/dist/calcite/p-fa8bedac.js +7 -0
- package/dist/calcite/p-fbf41cbc.js +7 -0
- package/dist/calcite/p-feb35427.js +7 -0
- package/dist/calcite/p-febdb64b.js +7 -0
- package/dist/calcite/p-ff633d19.js +7 -0
- package/dist/calcite/p-ffeaebe7.entry.js +7 -0
- package/dist/calcite/p-ffeaebe7.entry.js.map +1 -0
- package/dist/cjs/ExpandToggle-5d1a0e87.js +107 -0
- package/dist/cjs/ExpandToggle-5d1a0e87.js.map +1 -0
- package/dist/cjs/FloatingArrow-06622bb5.js +47 -0
- package/dist/cjs/FloatingArrow-06622bb5.js.map +1 -0
- package/dist/cjs/Heading-c3582328.js +22 -0
- package/dist/cjs/Heading-c3582328.js.map +1 -0
- package/dist/cjs/Validation-93d2dabf.js +18 -0
- package/dist/cjs/Validation-93d2dabf.js.map +1 -0
- package/dist/cjs/app-globals-53df6ff0.js +59 -0
- package/dist/cjs/app-globals-53df6ff0.js.map +1 -0
- package/dist/cjs/ar-5351f38f.js +107 -0
- package/dist/cjs/ar-5351f38f.js.map +1 -0
- package/dist/cjs/array-a9ec0037.js +14 -0
- package/dist/cjs/array-a9ec0037.js.map +1 -0
- package/dist/cjs/bg-23720568.js +85 -0
- package/dist/cjs/bg-23720568.js.map +1 -0
- package/dist/cjs/browser-192fd050.js +32 -0
- package/dist/cjs/browser-192fd050.js.map +1 -0
- package/dist/cjs/bs-d0d85a86.js +54 -0
- package/dist/cjs/bs-d0d85a86.js.map +1 -0
- package/dist/cjs/ca-ccdf8c30.js +74 -0
- package/dist/cjs/ca-ccdf8c30.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action.cjs.entry.js +14 -16
- package/dist/cjs/calcite-action.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +19 -21
- package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +19 -21
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card-group.cjs.entry.js +10 -16
- package/dist/cjs/calcite-card-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +15 -17
- package/dist/cjs/calcite-card.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +16 -18
- package/dist/cjs/calcite-carousel_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -16
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -13
- package/dist/cjs/calcite-chip-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -17
- package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -20
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +26 -30
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +16 -22
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-dialog.cjs.entry.js +16 -16
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +16 -18
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +9 -15
- package/dist/cjs/calcite-fab.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +15 -17
- package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -16
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-flow.cjs.entry.js +5 -5
- package/dist/cjs/calcite-graph_2.cjs.entry.js +18 -20
- package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-handle.cjs.entry.js +14 -16
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -19
- package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +28 -30
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +30 -32
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +24 -26
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-af9a540e.js +2915 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-af9a540e.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input.cjs.entry.js +30 -32
- package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +12 -18
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +18 -28
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +9 -9
- package/dist/cjs/calcite-menu_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-meter.cjs.entry.js +11 -11
- package/dist/cjs/calcite-modal.cjs.entry.js +17 -17
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -16
- package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +17 -19
- package/dist/cjs/calcite-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -25
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-popover.cjs.entry.js +19 -19
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -15
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-rating.cjs.entry.js +17 -19
- package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +14 -16
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sheet.cjs.entry.js +11 -11
- package/dist/cjs/calcite-shell_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-shell_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -13
- package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +6 -12
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +14 -16
- package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -16
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tab_4.cjs.entry.js +17 -19
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -17
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -16
- package/dist/cjs/calcite-table-row.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +23 -25
- package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-group.cjs.entry.js +9 -11
- package/dist/cjs/calcite-tile-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +11 -19
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -15
- package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_2.cjs.entry.js +15 -17
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +21 -25
- package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite.cjs.js +6 -6
- package/dist/cjs/component-96607c76.js +30 -0
- package/dist/cjs/component-96607c76.js.map +1 -0
- package/dist/cjs/conditionalSlot-f4fb0efd.js +51 -0
- package/dist/cjs/conditionalSlot-f4fb0efd.js.map +1 -0
- package/dist/cjs/config-1debb24e.js +40 -0
- package/dist/cjs/config-1debb24e.js.map +1 -0
- package/dist/cjs/continent-64468a2b.js +36 -0
- package/dist/cjs/continent-64468a2b.js.map +1 -0
- package/dist/cjs/core-c9c58064.js +22 -0
- package/dist/cjs/core-c9c58064.js.map +1 -0
- package/dist/cjs/country-ff31f887.js +448 -0
- package/dist/cjs/country-ff31f887.js.map +1 -0
- package/dist/cjs/cs-a230abcc.js +150 -0
- package/dist/cjs/cs-a230abcc.js.map +1 -0
- package/dist/cjs/da-3330eef0.js +70 -0
- package/dist/cjs/da-3330eef0.js.map +1 -0
- package/dist/cjs/de-49e804ff.js +94 -0
- package/dist/cjs/de-49e804ff.js.map +1 -0
- package/dist/cjs/de-at-5c690615.js +93 -0
- package/dist/cjs/de-at-5c690615.js.map +1 -0
- package/dist/cjs/de-ch-95af2386.js +93 -0
- package/dist/cjs/de-ch-95af2386.js.map +1 -0
- package/dist/cjs/debounce-f870378c.js +506 -0
- package/dist/cjs/debounce-f870378c.js.map +1 -0
- package/dist/cjs/dom-1ff7fb61.js +1212 -0
- package/dist/cjs/dom-1ff7fb61.js.map +1 -0
- package/dist/cjs/el-b33cece5.js +69 -0
- package/dist/cjs/el-b33cece5.js.map +1 -0
- package/dist/cjs/en-au-ba517e98.js +69 -0
- package/dist/cjs/en-au-ba517e98.js.map +1 -0
- package/dist/cjs/en-ca-aceb761e.js +68 -0
- package/dist/cjs/en-ca-aceb761e.js.map +1 -0
- package/dist/cjs/en-gb-c0df945f.js +72 -0
- package/dist/cjs/en-gb-c0df945f.js.map +1 -0
- package/dist/cjs/es-8b03b095.js +69 -0
- package/dist/cjs/es-8b03b095.js.map +1 -0
- package/dist/cjs/es-mx-9ba508ec.js +68 -0
- package/dist/cjs/es-mx-9ba508ec.js.map +1 -0
- package/dist/cjs/et-fa2426cf.js +95 -0
- package/dist/cjs/et-fa2426cf.js.map +1 -0
- package/dist/cjs/fi-a70195ce.js +118 -0
- package/dist/cjs/fi-a70195ce.js.map +1 -0
- package/dist/cjs/filter-fe2bc0d4.js +775 -0
- package/dist/cjs/filter-fe2bc0d4.js.map +1 -0
- package/dist/cjs/floating-ui-13425ba6.js +2359 -0
- package/dist/cjs/floating-ui-13425ba6.js.map +1 -0
- package/dist/cjs/focusTrapComponent-bc8728a2.js +1015 -0
- package/dist/cjs/focusTrapComponent-bc8728a2.js.map +1 -0
- package/dist/cjs/form-f86aab9b.js +378 -0
- package/dist/cjs/form-f86aab9b.js.map +1 -0
- package/dist/cjs/fr-134fc548.js +71 -0
- package/dist/cjs/fr-134fc548.js.map +1 -0
- package/dist/cjs/fr-ch-0751ee1b.js +69 -0
- package/dist/cjs/fr-ch-0751ee1b.js.map +1 -0
- package/dist/cjs/guid-47ff9796.js +23 -0
- package/dist/cjs/guid-47ff9796.js.map +1 -0
- package/dist/cjs/he-973b5cd9.js +108 -0
- package/dist/cjs/he-973b5cd9.js.map +1 -0
- package/dist/cjs/hi-ada3d7fc.js +68 -0
- package/dist/cjs/hi-ada3d7fc.js.map +1 -0
- package/dist/cjs/hr-a5bf9882.js +83 -0
- package/dist/cjs/hr-a5bf9882.js.map +1 -0
- package/dist/cjs/hu-f7d95795.js +91 -0
- package/dist/cjs/hu-f7d95795.js.map +1 -0
- package/dist/cjs/id-31c2f3ab.js +69 -0
- package/dist/cjs/id-31c2f3ab.js.map +1 -0
- package/dist/cjs/index-31de06a7.js +16 -0
- package/dist/cjs/index-31de06a7.js.map +1 -0
- package/dist/cjs/index-462ac36f.js +64 -0
- package/dist/cjs/index-462ac36f.js.map +1 -0
- package/dist/cjs/index-4fe70fa3.js +1987 -0
- package/dist/cjs/index-4fe70fa3.js.map +1 -0
- package/dist/cjs/index-7aa46b87.js +75 -0
- package/dist/cjs/index-7aa46b87.js.map +1 -0
- package/dist/cjs/index-e1aa6da8.js +129 -0
- package/dist/cjs/index-e1aa6da8.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-993cf588.js +57 -0
- package/dist/cjs/input-993cf588.js.map +1 -0
- package/dist/cjs/interactive-6e051cdc.js +82 -0
- package/dist/cjs/interactive-6e051cdc.js.map +1 -0
- package/dist/cjs/it-08505d9e.js +69 -0
- package/dist/cjs/it-08505d9e.js.map +1 -0
- package/dist/cjs/it-ch-15ff1daa.js +69 -0
- package/dist/cjs/it-ch-15ff1daa.js.map +1 -0
- package/dist/cjs/ja-cddb4540.js +75 -0
- package/dist/cjs/ja-cddb4540.js.map +1 -0
- package/dist/cjs/key-c3b3fd7e.js +16 -0
- package/dist/cjs/key-c3b3fd7e.js.map +1 -0
- package/dist/cjs/ko-9325369f.js +75 -0
- package/dist/cjs/ko-9325369f.js.map +1 -0
- package/dist/cjs/label-66e041c4.js +183 -0
- package/dist/cjs/label-66e041c4.js.map +1 -0
- package/dist/cjs/loadable-6f2dfe5f.js +95 -0
- package/dist/cjs/loadable-6f2dfe5f.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-38c1927e.js +597 -0
- package/dist/cjs/locale-38c1927e.js.map +1 -0
- package/dist/cjs/logger-89573320.js +58 -0
- package/dist/cjs/logger-89573320.js.map +1 -0
- package/dist/cjs/lt-b2b1dd0d.js +100 -0
- package/dist/cjs/lt-b2b1dd0d.js.map +1 -0
- package/dist/cjs/lv-ba44050a.js +69 -0
- package/dist/cjs/lv-ba44050a.js.map +1 -0
- package/dist/cjs/math-02ee6fc0.js +57 -0
- package/dist/cjs/math-02ee6fc0.js.map +1 -0
- package/dist/cjs/mk-fbaeb9f8.js +69 -0
- package/dist/cjs/mk-fbaeb9f8.js.map +1 -0
- package/dist/cjs/nb-0f360c53.js +70 -0
- package/dist/cjs/nb-0f360c53.js.map +1 -0
- package/dist/cjs/nl-75afda1e.js +70 -0
- package/dist/cjs/nl-75afda1e.js.map +1 -0
- package/dist/cjs/observers-498f2676.js +55 -0
- package/dist/cjs/observers-498f2676.js.map +1 -0
- package/dist/cjs/openCloseComponent-9a39b00a.js +62 -0
- package/dist/cjs/openCloseComponent-9a39b00a.js.map +1 -0
- package/dist/cjs/pl-29730c77.js +117 -0
- package/dist/cjs/pl-29730c77.js.map +1 -0
- package/dist/cjs/pt-5cfe0ceb.js +70 -0
- package/dist/cjs/pt-5cfe0ceb.js.map +1 -0
- package/dist/cjs/pt-br-8894e907.js +68 -0
- package/dist/cjs/pt-br-8894e907.js.map +1 -0
- package/dist/cjs/resources-13441ff6.js +65 -0
- package/dist/cjs/resources-13441ff6.js.map +1 -0
- package/dist/cjs/resources-2042deb0.js +18 -0
- package/dist/cjs/resources-2042deb0.js.map +1 -0
- package/dist/cjs/resources-209a1932.js +23 -0
- package/dist/cjs/resources-209a1932.js.map +1 -0
- package/dist/cjs/resources-86a2da64.js +26 -0
- package/dist/cjs/resources-86a2da64.js.map +1 -0
- package/dist/cjs/resources-b0583636.js +26 -0
- package/dist/cjs/resources-b0583636.js.map +1 -0
- package/dist/cjs/resources-d2d6a16a.js +36 -0
- package/dist/cjs/resources-d2d6a16a.js.map +1 -0
- package/dist/cjs/resources-f73c7292.js +410 -0
- package/dist/cjs/resources-f73c7292.js.map +1 -0
- package/dist/cjs/ro-fcf7bfda.js +69 -0
- package/dist/cjs/ro-fcf7bfda.js.map +1 -0
- package/dist/cjs/ru-294ba57a.js +129 -0
- package/dist/cjs/ru-294ba57a.js.map +1 -0
- package/dist/cjs/sk-2c4943ee.js +151 -0
- package/dist/cjs/sk-2c4943ee.js.map +1 -0
- package/dist/cjs/sl-ac885c68.js +171 -0
- package/dist/cjs/sl-ac885c68.js.map +1 -0
- package/dist/cjs/sortableComponent-b6521d30.js +2745 -0
- package/dist/cjs/sortableComponent-b6521d30.js.map +1 -0
- package/dist/cjs/sr-08bd91ea.js +104 -0
- package/dist/cjs/sr-08bd91ea.js.map +1 -0
- package/dist/cjs/sv-120a24c9.js +74 -0
- package/dist/cjs/sv-120a24c9.js.map +1 -0
- package/dist/cjs/t9n-ab4fd9b6.js +105 -0
- package/dist/cjs/t9n-ab4fd9b6.js.map +1 -0
- package/dist/cjs/th-bc749a8c.js +68 -0
- package/dist/cjs/th-bc749a8c.js.map +1 -0
- package/dist/cjs/throttle-9ef96d10.js +77 -0
- package/dist/cjs/throttle-9ef96d10.js.map +1 -0
- package/dist/cjs/time-zones-cb3dd16d.js +44 -0
- package/dist/cjs/time-zones-cb3dd16d.js.map +1 -0
- package/dist/cjs/tr-f1bb2de9.js +69 -0
- package/dist/cjs/tr-f1bb2de9.js.map +1 -0
- package/dist/cjs/uk-66aef90e.js +107 -0
- package/dist/cjs/uk-66aef90e.js.map +1 -0
- package/dist/cjs/utils-2e078867.js +310 -0
- package/dist/cjs/utils-2e078867.js.map +1 -0
- package/dist/cjs/utils-71f155f2.js +2296 -0
- package/dist/cjs/utils-71f155f2.js.map +1 -0
- package/dist/cjs/vi-85daa1a8.js +73 -0
- package/dist/cjs/vi-85daa1a8.js.map +1 -0
- package/dist/cjs/zh-cn-57adfef2.js +97 -0
- package/dist/cjs/zh-cn-57adfef2.js.map +1 -0
- package/dist/cjs/zh-hk-d49199c8.js +95 -0
- package/dist/cjs/zh-hk-d49199c8.js.map +1 -0
- package/dist/cjs/zh-tw-4d354278.js +95 -0
- package/dist/cjs/zh-tw-4d354278.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/resources.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -5
- package/dist/collection/components/action/action.js +3 -5
- package/dist/collection/components/action/action.js.map +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/AlertManager.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/resources.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.js +6 -8
- package/dist/collection/components/block/block.js.map +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.js +6 -8
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +42 -47
- package/dist/collection/components/card/card.js +4 -6
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/card-group/card-group.css +16 -16
- package/dist/collection/components/card-group/card-group.js +3 -9
- package/dist/collection/components/card-group/card-group.js.map +1 -1
- package/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/collection/components/carousel/carousel.js +5 -7
- package/dist/collection/components/carousel/carousel.js.map +1 -1
- package/dist/collection/components/carousel/resources.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/collection/components/carousel-item/carousel-item.js +1 -1
- package/dist/collection/components/carousel-item/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.js +4 -6
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/resources.js +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.js +4 -6
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.js +3 -7
- package/dist/collection/components/chip-group/chip-group.js.map +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.js +4 -6
- package/dist/collection/components/color-picker/color-picker.js.map +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.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.js +4 -6
- package/dist/collection/components/combobox/combobox.js.map +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.js +4 -6
- package/dist/collection/components/combobox-item/combobox-item.js.map +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.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.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.js +3 -9
- package/dist/collection/components/date-picker-day/date-picker-day.js.map +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dialog/dialog.css +5 -5
- package/dist/collection/components/dialog/dialog.js +1 -1
- package/dist/collection/components/dialog/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.js +4 -6
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/fab/fab.js +3 -9
- package/dist/collection/components/fab/fab.js.map +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.js +3 -5
- package/dist/collection/components/filter/filter.js.map +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.js +3 -5
- package/dist/collection/components/flow-item/flow-item.js.map +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.js +4 -6
- package/dist/collection/components/handle/handle.js.map +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.js +5 -7
- package/dist/collection/components/inline-editable/inline-editable.js.map +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/input.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.js +15 -17
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.js +7 -9
- package/dist/collection/components/input-date-picker/input-date-picker.js.map +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.js +15 -17
- package/dist/collection/components/input-number/input-number.js.map +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.js +9 -11
- package/dist/collection/components/input-text/input-text.js.map +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.js +3 -5
- package/dist/collection/components/input-time-picker/input-time-picker.js.map +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/resources.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.js +6 -12
- package/dist/collection/components/link/link.js.map +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.js +3 -5
- package/dist/collection/components/list/list.js.map +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.js +3 -5
- package/dist/collection/components/list-item/list-item.js.map +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.js +3 -9
- package/dist/collection/components/list-item-group/list-item-group.js.map +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/loader/resources.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +5 -5
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- package/dist/collection/components/panel/panel.js +4 -6
- package/dist/collection/components/panel/panel.js.map +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.js +3 -5
- package/dist/collection/components/pick-list/pick-list.js.map +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.js +3 -5
- package/dist/collection/components/pick-list-item/pick-list-item.js.map +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.js +3 -5
- package/dist/collection/components/radio-button/radio-button.js.map +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.js +4 -6
- package/dist/collection/components/rating/rating.js.map +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.js +3 -5
- package/dist/collection/components/segmented-control/segmented-control.js.map +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.js +3 -5
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +8 -5
- package/dist/collection/components/shell-panel/shell-panel.js +3 -3
- package/dist/collection/components/shell-panel/shell-panel.js.map +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.js +5 -7
- package/dist/collection/components/slider/slider.js.map +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.js +4 -6
- package/dist/collection/components/sortable-list/sortable-list.js.map +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.js +3 -9
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.js +4 -6
- package/dist/collection/components/stepper-item/stepper-item.js.map +1 -1
- package/dist/collection/components/switch/resources.js +1 -1
- package/dist/collection/components/switch/switch.css +7 -7
- package/dist/collection/components/switch/switch.js +3 -5
- package/dist/collection/components/switch/switch.js.map +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.js +6 -8
- package/dist/collection/components/tab-title/tab-title.js.map +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +4 -6
- package/dist/collection/components/table-cell/table-cell.js.map +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +3 -9
- package/dist/collection/components/table-row/table-row.js.map +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.js +6 -8
- package/dist/collection/components/text-area/text-area.js.map +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.js +3 -9
- package/dist/collection/components/tile/tile.js.map +1 -1
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.js +3 -5
- package/dist/collection/components/tile-group/tile-group.js.map +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.js +4 -6
- package/dist/collection/components/tile-select/tile-select.js.map +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.js +3 -9
- package/dist/collection/components/tile-select-group/tile-select-group.js.map +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.js +7 -9
- package/dist/collection/components/tree-item/tree-item.js.map +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.js +3 -5
- package/dist/collection/components/value-list/value-list.js.map +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.js +3 -5
- package/dist/collection/components/value-list-item/value-list-item.js.map +1 -1
- package/dist/collection/custom-theme/accordion-item.js +1 -1
- package/dist/collection/custom-theme/accordion.js +1 -1
- package/dist/collection/custom-theme/action.js +1 -1
- package/dist/collection/custom-theme/button.js +1 -1
- package/dist/collection/custom-theme/card.js +34 -1
- package/dist/collection/custom-theme/card.js.map +1 -1
- package/dist/collection/custom-theme/checkbox.js +1 -1
- package/dist/collection/custom-theme/chips.js +1 -1
- package/dist/collection/custom-theme/date-picker.js +1 -1
- package/dist/collection/custom-theme/dropdown.js +1 -1
- package/dist/collection/custom-theme/icon.js +1 -1
- package/dist/collection/custom-theme/loader.js +1 -1
- package/dist/collection/custom-theme/notice.js +1 -1
- package/dist/collection/custom-theme/pagination.js +1 -1
- package/dist/collection/custom-theme/segmented-control.js +1 -1
- package/dist/collection/custom-theme/slider.js +1 -1
- package/dist/collection/custom-theme/switch.js +1 -1
- package/dist/collection/custom-theme/tabs.js +1 -1
- package/dist/collection/custom-theme/tree.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +2 -82
- package/dist/collection/utils/interactive.js.map +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/logger.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +3 -5
- package/dist/components/action.js.map +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +6 -8
- package/dist/components/button.js.map +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +6 -8
- package/dist/components/calcite-block.js.map +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card-group.js +4 -10
- package/dist/components/calcite-card-group.js.map +1 -1
- package/dist/components/calcite-card.js +5 -7
- package/dist/components/calcite-card.js.map +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +5 -7
- package/dist/components/calcite-carousel.js.map +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +3 -7
- package/dist/components/calcite-chip-group.js.map +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 +4 -6
- package/dist/components/calcite-color-picker.js.map +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-dialog.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 +3 -9
- package/dist/components/calcite-fab.js.map +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -5
- package/dist/components/calcite-flow-item.js.map +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +5 -7
- package/dist/components/calcite-inline-editable.js.map +1 -1
- package/dist/components/calcite-input-date-picker.js +7 -9
- package/dist/components/calcite-input-date-picker.js.map +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +3 -5
- package/dist/components/calcite-input-time-picker.js.map +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +3 -9
- package/dist/components/calcite-list-item-group.js.map +1 -1
- package/dist/components/calcite-list-item.js +3 -5
- package/dist/components/calcite-list-item.js.map +1 -1
- package/dist/components/calcite-list.js +3 -5
- package/dist/components/calcite-list.js.map +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +3 -5
- package/dist/components/calcite-pick-list.js.map +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +4 -6
- package/dist/components/calcite-rating.js.map +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +3 -5
- package/dist/components/calcite-segmented-control.js.map +1 -1
- package/dist/components/calcite-select.js +3 -5
- package/dist/components/calcite-select.js.map +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +4 -4
- package/dist/components/calcite-shell-panel.js.map +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +5 -7
- package/dist/components/calcite-slider.js.map +1 -1
- package/dist/components/calcite-sortable-list.js +4 -6
- package/dist/components/calcite-sortable-list.js.map +1 -1
- package/dist/components/calcite-split-button.js +3 -9
- package/dist/components/calcite-split-button.js.map +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +4 -6
- package/dist/components/calcite-stepper-item.js.map +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-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +3 -9
- package/dist/components/calcite-table-row.js.map +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +6 -8
- package/dist/components/calcite-text-area.js.map +1 -1
- package/dist/components/calcite-tile-group.js +3 -5
- package/dist/components/calcite-tile-group.js.map +1 -1
- package/dist/components/calcite-tile-select-group.js +3 -9
- package/dist/components/calcite-tile-select-group.js.map +1 -1
- package/dist/components/calcite-tile-select.js +4 -6
- package/dist/components/calcite-tile-select.js.map +1 -1
- package/dist/components/calcite-tile.js +3 -9
- package/dist/components/calcite-tile.js.map +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +7 -9
- package/dist/components/calcite-tree-item.js.map +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +3 -5
- package/dist/components/calcite-value-list-item.js.map +1 -1
- package/dist/components/calcite-value-list.js +3 -5
- package/dist/components/calcite-value-list.js.map +1 -1
- package/dist/components/checkbox.js +4 -6
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/chip.js +4 -6
- package/dist/components/chip.js.map +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +1 -1
- package/dist/components/combobox-item.js +4 -6
- package/dist/components/combobox-item.js.map +1 -1
- package/dist/components/combobox.js +4 -6
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +4 -4
- package/dist/components/config.js.map +1 -1
- package/dist/components/continent.js +1 -1
- package/dist/components/core.js +2 -2
- package/dist/components/core.js.map +1 -1
- package/dist/components/country.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +3 -9
- package/dist/components/date-picker-day.js.map +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +4 -6
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +3 -5
- package/dist/components/filter2.js.map +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +4 -6
- package/dist/components/handle.js.map +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index5.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +15 -17
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +9 -11
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +15 -17
- package/dist/components/input2.js.map +1 -1
- package/dist/components/interactive.js +3 -83
- package/dist/components/interactive.js.map +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +6 -12
- package/dist/components/link.js.map +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/logger.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +4 -6
- package/dist/components/panel.js.map +1 -1
- package/dist/components/pick-list-item.js +3 -5
- package/dist/components/pick-list-item.js.map +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +3 -5
- package/dist/components/radio-button.js.map +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/resources6.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +4 -6
- package/dist/components/switch.js.map +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +6 -8
- package/dist/components/tab-title.js.map +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +4 -6
- package/dist/components/table-cell.js.map +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/time-zones.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-7157261f.js +100 -0
- package/dist/esm/ExpandToggle-7157261f.js.map +1 -0
- package/dist/esm/FloatingArrow-46de385c.js +45 -0
- package/dist/esm/FloatingArrow-46de385c.js.map +1 -0
- package/dist/esm/Heading-c9a7b934.js +19 -0
- package/dist/esm/Heading-c9a7b934.js.map +1 -0
- package/dist/esm/Validation-6c8d6c8e.js +16 -0
- package/dist/esm/Validation-6c8d6c8e.js.map +1 -0
- package/dist/esm/app-globals-74880193.js +57 -0
- package/dist/esm/app-globals-74880193.js.map +1 -0
- package/dist/esm/ar-110a0418.js +105 -0
- package/dist/esm/ar-110a0418.js.map +1 -0
- package/dist/esm/array-3e20cd5d.js +12 -0
- package/dist/esm/array-3e20cd5d.js.map +1 -0
- package/dist/esm/bg-b08626f0.js +83 -0
- package/dist/esm/bg-b08626f0.js.map +1 -0
- package/dist/esm/browser-9825271f.js +29 -0
- package/dist/esm/browser-9825271f.js.map +1 -0
- package/dist/esm/bs-f7ffe1ce.js +52 -0
- package/dist/esm/bs-f7ffe1ce.js.map +1 -0
- package/dist/esm/ca-c5d522ab.js +72 -0
- package/dist/esm/ca-c5d522ab.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +10 -10
- package/dist/esm/calcite-action-bar.entry.js +16 -16
- package/dist/esm/calcite-action-group.entry.js +14 -14
- package/dist/esm/calcite-action-menu.entry.js +10 -10
- package/dist/esm/calcite-action-pad.entry.js +15 -15
- package/dist/esm/calcite-action.entry.js +14 -16
- package/dist/esm/calcite-action.entry.js.map +1 -1
- package/dist/esm/calcite-alert.entry.js +14 -14
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +19 -21
- package/dist/esm/calcite-block_2.entry.js.map +1 -1
- package/dist/esm/calcite-button.entry.js +19 -21
- package/dist/esm/calcite-button.entry.js.map +1 -1
- package/dist/esm/calcite-card-group.entry.js +10 -16
- package/dist/esm/calcite-card-group.entry.js.map +1 -1
- package/dist/esm/calcite-card.entry.js +15 -17
- package/dist/esm/calcite-card.entry.js.map +1 -1
- package/dist/esm/calcite-carousel_2.entry.js +16 -18
- package/dist/esm/calcite-carousel_2.entry.js.map +1 -1
- package/dist/esm/calcite-checkbox.entry.js +14 -16
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -13
- package/dist/esm/calcite-chip-group.entry.js.map +1 -1
- package/dist/esm/calcite-chip.entry.js +15 -17
- package/dist/esm/calcite-chip.entry.js.map +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +18 -20
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +26 -30
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +16 -22
- package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
- package/dist/esm/calcite-dialog.entry.js +16 -16
- package/dist/esm/calcite-dropdown_3.entry.js +16 -18
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +9 -15
- package/dist/esm/calcite-fab.entry.js.map +1 -1
- package/dist/esm/calcite-filter.entry.js +15 -17
- package/dist/esm/calcite-filter.entry.js.map +1 -1
- package/dist/esm/calcite-flow-item.entry.js +14 -16
- package/dist/esm/calcite-flow-item.entry.js.map +1 -1
- package/dist/esm/calcite-flow.entry.js +5 -5
- package/dist/esm/calcite-graph_2.entry.js +18 -20
- package/dist/esm/calcite-graph_2.entry.js.map +1 -1
- package/dist/esm/calcite-handle.entry.js +14 -16
- package/dist/esm/calcite-handle.entry.js.map +1 -1
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +17 -19
- package/dist/esm/calcite-inline-editable.entry.js.map +1 -1
- package/dist/esm/calcite-input-date-picker.entry.js +28 -30
- package/dist/esm/calcite-input-date-picker.entry.js.map +1 -1
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +30 -32
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +24 -26
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-be0d8f45.js +2911 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-be0d8f45.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +21 -21
- package/dist/esm/calcite-input-time-zone.entry.js +20 -20
- package/dist/esm/calcite-input.entry.js +30 -32
- package/dist/esm/calcite-input.entry.js.map +1 -1
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +12 -18
- package/dist/esm/calcite-link.entry.js.map +1 -1
- package/dist/esm/calcite-list_3.entry.js +18 -28
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +9 -9
- package/dist/esm/calcite-menu_2.entry.js +11 -11
- package/dist/esm/calcite-meter.entry.js +11 -11
- package/dist/esm/calcite-modal.entry.js +17 -17
- package/dist/esm/calcite-navigation_3.entry.js +8 -8
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-option_3.entry.js +14 -16
- package/dist/esm/calcite-option_3.entry.js.map +1 -1
- package/dist/esm/calcite-pagination.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +17 -19
- package/dist/esm/calcite-panel.entry.js.map +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +21 -25
- package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-popover.entry.js +19 -19
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +9 -9
- package/dist/esm/calcite-radio-button.entry.js +13 -15
- package/dist/esm/calcite-radio-button.entry.js.map +1 -1
- package/dist/esm/calcite-rating.entry.js +17 -19
- package/dist/esm/calcite-rating.entry.js.map +1 -1
- package/dist/esm/calcite-scrim.entry.js +10 -10
- package/dist/esm/calcite-segmented-control_2.entry.js +14 -16
- package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
- package/dist/esm/calcite-sheet.entry.js +11 -11
- package/dist/esm/calcite-shell_3.entry.js +15 -15
- package/dist/esm/calcite-shell_3.entry.js.map +1 -1
- package/dist/esm/calcite-sortable-list.entry.js +11 -13
- package/dist/esm/calcite-sortable-list.entry.js.map +1 -1
- package/dist/esm/calcite-split-button.entry.js +6 -12
- package/dist/esm/calcite-split-button.entry.js.map +1 -1
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +14 -16
- package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
- package/dist/esm/calcite-switch.entry.js +14 -16
- package/dist/esm/calcite-switch.entry.js.map +1 -1
- package/dist/esm/calcite-tab_4.entry.js +17 -19
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +15 -17
- package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
- package/dist/esm/calcite-table-row.entry.js +9 -16
- package/dist/esm/calcite-table-row.entry.js.map +1 -1
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +23 -25
- package/dist/esm/calcite-text-area.entry.js.map +1 -1
- package/dist/esm/calcite-tile-group.entry.js +9 -11
- package/dist/esm/calcite-tile-group.entry.js.map +1 -1
- package/dist/esm/calcite-tile-select_2.entry.js +11 -19
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +9 -15
- package/dist/esm/calcite-tile.entry.js.map +1 -1
- package/dist/esm/calcite-tip_3.entry.js +14 -14
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_2.entry.js +15 -17
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +21 -25
- package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
- package/dist/esm/calcite.js +7 -7
- package/dist/esm/component-56e5ceb0.js +27 -0
- package/dist/esm/component-56e5ceb0.js.map +1 -0
- package/dist/esm/conditionalSlot-5a66da95.js +48 -0
- package/dist/esm/conditionalSlot-5a66da95.js.map +1 -0
- package/dist/esm/config-2e1c1468.js +36 -0
- package/dist/esm/config-2e1c1468.js.map +1 -0
- package/dist/esm/continent-7f70557c.js +33 -0
- package/dist/esm/continent-7f70557c.js.map +1 -0
- package/dist/esm/core-2d1f6357.js +17 -0
- package/dist/esm/core-2d1f6357.js.map +1 -0
- package/dist/esm/country-87cdebde.js +446 -0
- package/dist/esm/country-87cdebde.js.map +1 -0
- package/dist/esm/cs-672bb375.js +148 -0
- package/dist/esm/cs-672bb375.js.map +1 -0
- package/dist/esm/da-fbea2680.js +68 -0
- package/dist/esm/da-fbea2680.js.map +1 -0
- package/dist/esm/de-0232f7e3.js +92 -0
- package/dist/esm/de-0232f7e3.js.map +1 -0
- package/dist/esm/de-at-4ba74e3c.js +91 -0
- package/dist/esm/de-at-4ba74e3c.js.map +1 -0
- package/dist/esm/de-ch-8a267ee4.js +91 -0
- package/dist/esm/de-ch-8a267ee4.js.map +1 -0
- package/dist/esm/debounce-dec610f5.js +497 -0
- package/dist/esm/debounce-dec610f5.js.map +1 -0
- package/dist/esm/dom-f8a9a05b.js +1177 -0
- package/dist/esm/dom-f8a9a05b.js.map +1 -0
- package/dist/esm/el-d5577536.js +67 -0
- package/dist/esm/el-d5577536.js.map +1 -0
- package/dist/esm/en-au-822c2d85.js +67 -0
- package/dist/esm/en-au-822c2d85.js.map +1 -0
- package/dist/esm/en-ca-e131a7fb.js +66 -0
- package/dist/esm/en-ca-e131a7fb.js.map +1 -0
- package/dist/esm/en-gb-2a9a8664.js +70 -0
- package/dist/esm/en-gb-2a9a8664.js.map +1 -0
- package/dist/esm/es-3e5a4301.js +67 -0
- package/dist/esm/es-3e5a4301.js.map +1 -0
- package/dist/esm/es-mx-b5f16f3a.js +66 -0
- package/dist/esm/es-mx-b5f16f3a.js.map +1 -0
- package/dist/esm/et-5d8725e5.js +93 -0
- package/dist/esm/et-5d8725e5.js.map +1 -0
- package/dist/esm/fi-0d6d7518.js +116 -0
- package/dist/esm/fi-0d6d7518.js.map +1 -0
- package/dist/esm/filter-04cbf5bc.js +772 -0
- package/dist/esm/filter-04cbf5bc.js.map +1 -0
- package/dist/esm/floating-ui-fb8cca6f.js +2351 -0
- package/dist/esm/floating-ui-fb8cca6f.js.map +1 -0
- package/dist/esm/focusTrapComponent-305f235d.js +1010 -0
- package/dist/esm/focusTrapComponent-305f235d.js.map +1 -0
- package/dist/esm/form-1c0d49a7.js +369 -0
- package/dist/esm/form-1c0d49a7.js.map +1 -0
- package/dist/esm/fr-ae44097a.js +69 -0
- package/dist/esm/fr-ae44097a.js.map +1 -0
- package/dist/esm/fr-ch-b71baab2.js +67 -0
- package/dist/esm/fr-ch-b71baab2.js.map +1 -0
- package/dist/esm/guid-aa009f8b.js +21 -0
- package/dist/esm/guid-aa009f8b.js.map +1 -0
- package/dist/esm/he-193673b5.js +106 -0
- package/dist/esm/he-193673b5.js.map +1 -0
- package/dist/esm/hi-07e346cb.js +66 -0
- package/dist/esm/hi-07e346cb.js.map +1 -0
- package/dist/esm/hr-89fe23fc.js +81 -0
- package/dist/esm/hr-89fe23fc.js.map +1 -0
- package/dist/esm/hu-5fef45d9.js +89 -0
- package/dist/esm/hu-5fef45d9.js.map +1 -0
- package/dist/esm/id-f384fbe4.js +67 -0
- package/dist/esm/id-f384fbe4.js.map +1 -0
- package/dist/esm/index-03447bb1.js +14 -0
- package/dist/esm/index-03447bb1.js.map +1 -0
- package/dist/esm/index-1a2eaad0.js +127 -0
- package/dist/esm/index-1a2eaad0.js.map +1 -0
- package/dist/esm/index-7dcf4bb1.js +62 -0
- package/dist/esm/index-7dcf4bb1.js.map +1 -0
- package/dist/esm/index-aa12ea72.js +73 -0
- package/dist/esm/index-aa12ea72.js.map +1 -0
- package/dist/esm/index-acdcefa7.js +1952 -0
- package/dist/esm/index-acdcefa7.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-e8ead7b2.js +55 -0
- package/dist/esm/input-e8ead7b2.js.map +1 -0
- package/dist/esm/interactive-415c1964.js +79 -0
- package/dist/esm/interactive-415c1964.js.map +1 -0
- package/dist/esm/it-6405381e.js +67 -0
- package/dist/esm/it-6405381e.js.map +1 -0
- package/dist/esm/it-ch-1fe97e9d.js +67 -0
- package/dist/esm/it-ch-1fe97e9d.js.map +1 -0
- package/dist/esm/ja-7c521857.js +73 -0
- package/dist/esm/ja-7c521857.js.map +1 -0
- package/dist/esm/key-c1fc7d8d.js +13 -0
- package/dist/esm/key-c1fc7d8d.js.map +1 -0
- package/dist/esm/ko-33149293.js +73 -0
- package/dist/esm/ko-33149293.js.map +1 -0
- package/dist/esm/label-14c99573.js +176 -0
- package/dist/esm/label-14c99573.js.map +1 -0
- package/dist/esm/loadable-57f3ee06.js +90 -0
- package/dist/esm/loadable-57f3ee06.js.map +1 -0
- package/dist/esm/loader.js +7 -7
- package/dist/esm/locale-6a8e5573.js +583 -0
- package/dist/esm/locale-6a8e5573.js.map +1 -0
- package/dist/esm/logger-2d1832fb.js +56 -0
- package/dist/esm/logger-2d1832fb.js.map +1 -0
- package/dist/esm/lt-3d822f92.js +98 -0
- package/dist/esm/lt-3d822f92.js.map +1 -0
- package/dist/esm/lv-4dcfd1aa.js +67 -0
- package/dist/esm/lv-4dcfd1aa.js.map +1 -0
- package/dist/esm/math-d624eebe.js +51 -0
- package/dist/esm/math-d624eebe.js.map +1 -0
- package/dist/esm/mk-540b7d76.js +67 -0
- package/dist/esm/mk-540b7d76.js.map +1 -0
- package/dist/esm/nb-021ecddf.js +68 -0
- package/dist/esm/nb-021ecddf.js.map +1 -0
- package/dist/esm/nl-31f80138.js +68 -0
- package/dist/esm/nl-31f80138.js.map +1 -0
- package/dist/esm/observers-d7d4dc40.js +53 -0
- package/dist/esm/observers-d7d4dc40.js.map +1 -0
- package/dist/esm/openCloseComponent-0ca09381.js +60 -0
- package/dist/esm/openCloseComponent-0ca09381.js.map +1 -0
- package/dist/esm/pl-483300a4.js +115 -0
- package/dist/esm/pl-483300a4.js.map +1 -0
- package/dist/esm/pt-af7cba7b.js +68 -0
- package/dist/esm/pt-af7cba7b.js.map +1 -0
- package/dist/esm/pt-br-2df70b7e.js +66 -0
- package/dist/esm/pt-br-2df70b7e.js.map +1 -0
- package/dist/esm/resources-2de24c26.js +31 -0
- package/dist/esm/resources-2de24c26.js.map +1 -0
- package/dist/esm/resources-47e6741d.js +16 -0
- package/dist/esm/resources-47e6741d.js.map +1 -0
- package/dist/esm/resources-7a467deb.js +21 -0
- package/dist/esm/resources-7a467deb.js.map +1 -0
- package/dist/esm/resources-b8338234.js +382 -0
- package/dist/esm/resources-b8338234.js.map +1 -0
- package/dist/esm/resources-ceb8c841.js +60 -0
- package/dist/esm/resources-ceb8c841.js.map +1 -0
- package/dist/esm/resources-d06d5d9d.js +19 -0
- package/dist/esm/resources-d06d5d9d.js.map +1 -0
- package/dist/esm/resources-d47c075f.js +23 -0
- package/dist/esm/resources-d47c075f.js.map +1 -0
- package/dist/esm/ro-f89c36d0.js +67 -0
- package/dist/esm/ro-f89c36d0.js.map +1 -0
- package/dist/esm/ru-62e5e458.js +127 -0
- package/dist/esm/ru-62e5e458.js.map +1 -0
- package/dist/esm/sk-6443f5a9.js +149 -0
- package/dist/esm/sk-6443f5a9.js.map +1 -0
- package/dist/esm/sl-26f6176f.js +169 -0
- package/dist/esm/sl-26f6176f.js.map +1 -0
- package/dist/esm/sortableComponent-c663cc57.js +2742 -0
- package/dist/esm/sortableComponent-c663cc57.js.map +1 -0
- package/dist/esm/sr-cdb1a1b9.js +102 -0
- package/dist/esm/sr-cdb1a1b9.js.map +1 -0
- package/dist/esm/sv-6d67e00c.js +72 -0
- package/dist/esm/sv-6d67e00c.js.map +1 -0
- package/dist/esm/t9n-04e8ac27.js +100 -0
- package/dist/esm/t9n-04e8ac27.js.map +1 -0
- package/dist/esm/th-8af23b65.js +66 -0
- package/dist/esm/th-8af23b65.js.map +1 -0
- package/dist/esm/throttle-9434c3ac.js +75 -0
- package/dist/esm/throttle-9434c3ac.js.map +1 -0
- package/dist/esm/time-zones-ca5ceeb3.js +42 -0
- package/dist/esm/time-zones-ca5ceeb3.js.map +1 -0
- package/dist/esm/tr-f77ec2ed.js +67 -0
- package/dist/esm/tr-f77ec2ed.js.map +1 -0
- package/dist/esm/uk-5c438236.js +105 -0
- package/dist/esm/uk-5c438236.js.map +1 -0
- package/dist/esm/utils-7927b459.js +2266 -0
- package/dist/esm/utils-7927b459.js.map +1 -0
- package/dist/esm/utils-a4c565e4.js +292 -0
- package/dist/esm/utils-a4c565e4.js.map +1 -0
- package/dist/esm/vi-820958cd.js +71 -0
- package/dist/esm/vi-820958cd.js.map +1 -0
- package/dist/esm/zh-cn-3dcc5a47.js +95 -0
- package/dist/esm/zh-cn-3dcc5a47.js.map +1 -0
- package/dist/esm/zh-hk-0439edac.js +93 -0
- package/dist/esm/zh-hk-0439edac.js.map +1 -0
- package/dist/esm/zh-tw-e17f620a.js +93 -0
- package/dist/esm/zh-tw-e17f620a.js.map +1 -0
- package/dist/extras/docs-json.json +28 -8
- 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/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/types/components/card-group/card-group.d.ts +0 -2
- package/dist/types/components/chip-group/chip-group.d.ts +0 -1
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +0 -2
- package/dist/types/components/fab/fab.d.ts +0 -2
- package/dist/types/components/link/link.d.ts +0 -2
- package/dist/types/components/list-item-group/list-item-group.d.ts +0 -2
- package/dist/types/components/split-button/split-button.d.ts +0 -2
- package/dist/types/components/table-row/table-row.d.ts +0 -2
- package/dist/types/components/tile/tile.d.ts +0 -2
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +0 -2
- package/dist/types/custom-theme/card.d.ts +1 -0
- package/dist/types/utils/interactive.d.ts +0 -16
- package/hydrate/index.js +134 -353
- package/hydrate/index.mjs +134 -353
- package/package.json +3 -3
- package/dist/calcite/p-017d0775.entry.js +0 -7
- package/dist/calcite/p-02ad710b.entry.js +0 -7
- package/dist/calcite/p-02ad710b.entry.js.map +0 -1
- package/dist/calcite/p-05734c5c.entry.js +0 -7
- package/dist/calcite/p-05734c5c.entry.js.map +0 -1
- package/dist/calcite/p-0766ef84.entry.js +0 -7
- package/dist/calcite/p-0766ef84.entry.js.map +0 -1
- package/dist/calcite/p-07a83506.entry.js +0 -7
- package/dist/calcite/p-0b687c2f.entry.js +0 -7
- package/dist/calcite/p-0b687c2f.entry.js.map +0 -1
- package/dist/calcite/p-0bbcfa13.js +0 -7
- package/dist/calcite/p-0c0aade7.js +0 -7
- package/dist/calcite/p-0ce7ec28.js +0 -7
- package/dist/calcite/p-104d1d32.entry.js +0 -7
- package/dist/calcite/p-14b9d726.js +0 -13
- package/dist/calcite/p-14e01ed9.entry.js +0 -7
- package/dist/calcite/p-14e01ed9.entry.js.map +0 -1
- package/dist/calcite/p-14ea97ed.entry.js +0 -7
- package/dist/calcite/p-16cb4ab2.entry.js +0 -7
- package/dist/calcite/p-16cb4ab2.entry.js.map +0 -1
- package/dist/calcite/p-17c701ba.js +0 -7
- package/dist/calcite/p-19f43fe6.js +0 -7
- package/dist/calcite/p-1ba0988f.js +0 -7
- package/dist/calcite/p-1bec1ef7.js +0 -7
- package/dist/calcite/p-1d6a8a46.entry.js +0 -7
- package/dist/calcite/p-1ed66145.entry.js +0 -7
- package/dist/calcite/p-1ed66145.entry.js.map +0 -1
- package/dist/calcite/p-20bc22ca.entry.js +0 -7
- package/dist/calcite/p-20d6d814.js +0 -7
- package/dist/calcite/p-258a4ccb.entry.js +0 -7
- package/dist/calcite/p-258a4ccb.entry.js.map +0 -1
- package/dist/calcite/p-27ab49c7.js +0 -12
- package/dist/calcite/p-27b69025.js +0 -7
- package/dist/calcite/p-2829b220.entry.js +0 -7
- package/dist/calcite/p-28ecfae7.js +0 -7
- package/dist/calcite/p-29407c7e.entry.js +0 -7
- package/dist/calcite/p-29407c7e.entry.js.map +0 -1
- package/dist/calcite/p-29c291d1.js +0 -7
- package/dist/calcite/p-29d4f1ed.js +0 -7
- package/dist/calcite/p-2a45cac8.entry.js +0 -7
- package/dist/calcite/p-2a45cac8.entry.js.map +0 -1
- package/dist/calcite/p-2a6464bc.js +0 -7
- package/dist/calcite/p-2bed8053.js +0 -7
- package/dist/calcite/p-2c6f74fe.entry.js +0 -7
- package/dist/calcite/p-2c6f74fe.entry.js.map +0 -1
- package/dist/calcite/p-2d88c083.js +0 -7
- package/dist/calcite/p-2e2e89c0.entry.js +0 -7
- package/dist/calcite/p-2e2e89c0.entry.js.map +0 -1
- package/dist/calcite/p-30789c90.js +0 -7
- package/dist/calcite/p-32d7aa5f.entry.js +0 -7
- package/dist/calcite/p-357db407.js +0 -7
- package/dist/calcite/p-36ecadf9.js +0 -7
- package/dist/calcite/p-3787986b.js +0 -7
- package/dist/calcite/p-3a03cb69.entry.js +0 -7
- package/dist/calcite/p-3a03cb69.entry.js.map +0 -1
- package/dist/calcite/p-3c4fe54e.js +0 -7
- package/dist/calcite/p-3dc78399.js +0 -7
- package/dist/calcite/p-4236247d.entry.js +0 -7
- package/dist/calcite/p-4236247d.entry.js.map +0 -1
- package/dist/calcite/p-42901549.js +0 -7
- package/dist/calcite/p-42ed7d55.js +0 -7
- package/dist/calcite/p-4377c650.js +0 -7
- package/dist/calcite/p-447d61ae.js +0 -7
- package/dist/calcite/p-45ac55e3.js +0 -7
- package/dist/calcite/p-45d13552.js +0 -7
- package/dist/calcite/p-46ee72e7.js +0 -7
- package/dist/calcite/p-4a322c0e.js +0 -7
- package/dist/calcite/p-4e955a72.js +0 -7
- package/dist/calcite/p-4eff860d.entry.js +0 -7
- package/dist/calcite/p-4eff860d.entry.js.map +0 -1
- package/dist/calcite/p-4f53529c.js +0 -7
- package/dist/calcite/p-4f616cbe.js +0 -7
- package/dist/calcite/p-51262907.entry.js +0 -7
- package/dist/calcite/p-51262907.entry.js.map +0 -1
- package/dist/calcite/p-54cee839.entry.js +0 -7
- package/dist/calcite/p-54cee839.entry.js.map +0 -1
- package/dist/calcite/p-56bab01f.js +0 -7
- package/dist/calcite/p-5b45eef3.js +0 -7
- package/dist/calcite/p-5b5ebddf.js +0 -7
- package/dist/calcite/p-5ba99915.js +0 -7
- package/dist/calcite/p-5bee2979.entry.js +0 -7
- package/dist/calcite/p-5cd9e744.entry.js +0 -7
- package/dist/calcite/p-5cd9e744.entry.js.map +0 -1
- package/dist/calcite/p-5daaab7f.js +0 -7
- package/dist/calcite/p-5fe70602.entry.js +0 -7
- package/dist/calcite/p-603d7196.js +0 -7
- package/dist/calcite/p-64329e55.js +0 -7
- package/dist/calcite/p-655f7f65.entry.js +0 -7
- package/dist/calcite/p-656dc8f5.entry.js +0 -7
- package/dist/calcite/p-656dc8f5.entry.js.map +0 -1
- package/dist/calcite/p-67c605e1.entry.js +0 -7
- package/dist/calcite/p-67c605e1.entry.js.map +0 -1
- package/dist/calcite/p-67e6ac12.js +0 -7
- package/dist/calcite/p-68012ee3.entry.js +0 -7
- package/dist/calcite/p-68012ee3.entry.js.map +0 -1
- package/dist/calcite/p-68099e3d.entry.js +0 -7
- package/dist/calcite/p-68099e3d.entry.js.map +0 -1
- package/dist/calcite/p-6de921a8.entry.js +0 -7
- package/dist/calcite/p-6de921a8.entry.js.map +0 -1
- package/dist/calcite/p-6f580f9d.js +0 -7
- package/dist/calcite/p-6ff8e6fb.js +0 -7
- package/dist/calcite/p-6ff8e6fb.js.map +0 -1
- package/dist/calcite/p-72ccdeee.js +0 -7
- package/dist/calcite/p-73278244.entry.js +0 -7
- package/dist/calcite/p-73278244.entry.js.map +0 -1
- package/dist/calcite/p-769c1c82.js +0 -7
- package/dist/calcite/p-76bb7115.js +0 -7
- package/dist/calcite/p-76bb7115.js.map +0 -1
- package/dist/calcite/p-77bb03a6.js +0 -7
- package/dist/calcite/p-78673acb.js +0 -7
- package/dist/calcite/p-7b8ae5f7.entry.js +0 -7
- package/dist/calcite/p-7b8ae5f7.entry.js.map +0 -1
- package/dist/calcite/p-7c8836c8.entry.js +0 -7
- package/dist/calcite/p-7f0164c9.entry.js +0 -7
- package/dist/calcite/p-87901e5b.entry.js +0 -7
- package/dist/calcite/p-88dc3535.entry.js +0 -7
- package/dist/calcite/p-88dc3535.entry.js.map +0 -1
- package/dist/calcite/p-8c7e61d1.js +0 -7
- package/dist/calcite/p-8d7b9480.entry.js +0 -7
- package/dist/calcite/p-8d7b9480.entry.js.map +0 -1
- package/dist/calcite/p-8f8cbbc7.js +0 -7
- package/dist/calcite/p-8f8cbbc7.js.map +0 -1
- package/dist/calcite/p-9626115b.js +0 -7
- package/dist/calcite/p-962cef0f.entry.js +0 -7
- package/dist/calcite/p-967b7e40.entry.js +0 -7
- package/dist/calcite/p-967b7e40.entry.js.map +0 -1
- package/dist/calcite/p-9a2f96d2.js +0 -7
- package/dist/calcite/p-9c191250.js +0 -7
- package/dist/calcite/p-9f2a67d4.js +0 -7
- package/dist/calcite/p-a02ae7a8.entry.js +0 -7
- package/dist/calcite/p-a066ce03.entry.js +0 -7
- package/dist/calcite/p-a066ce03.entry.js.map +0 -1
- package/dist/calcite/p-a2b2076b.entry.js +0 -7
- package/dist/calcite/p-a49b95d8.js +0 -7
- package/dist/calcite/p-a4ac8fc3.js +0 -7
- package/dist/calcite/p-a4ba2c4c.js +0 -11
- package/dist/calcite/p-a9789e0e.js +0 -7
- package/dist/calcite/p-a9cce7b0.js +0 -7
- package/dist/calcite/p-aaea23e1.js +0 -7
- package/dist/calcite/p-adfbff91.js +0 -7
- package/dist/calcite/p-ae31eacb.entry.js +0 -7
- package/dist/calcite/p-ae31eacb.entry.js.map +0 -1
- package/dist/calcite/p-b11d24a6.entry.js +0 -7
- package/dist/calcite/p-b11d24a6.entry.js.map +0 -1
- package/dist/calcite/p-b1c60fc6.entry.js +0 -7
- package/dist/calcite/p-b1c60fc6.entry.js.map +0 -1
- package/dist/calcite/p-b21fae6a.entry.js +0 -7
- package/dist/calcite/p-b21fae6a.entry.js.map +0 -1
- package/dist/calcite/p-b335de89.entry.js +0 -7
- package/dist/calcite/p-b335de89.entry.js.map +0 -1
- package/dist/calcite/p-b4a0d361.js +0 -7
- package/dist/calcite/p-b5defc67.entry.js +0 -7
- package/dist/calcite/p-ba1b1e59.entry.js +0 -7
- package/dist/calcite/p-ba1b1e59.entry.js.map +0 -1
- package/dist/calcite/p-bc4f64c1.js +0 -7
- package/dist/calcite/p-bccffc90.js +0 -7
- package/dist/calcite/p-bcf067ac.js +0 -7
- package/dist/calcite/p-bcf68eb1.entry.js +0 -7
- package/dist/calcite/p-bcf68eb1.entry.js.map +0 -1
- package/dist/calcite/p-be5e7b6d.entry.js +0 -7
- package/dist/calcite/p-be5e7b6d.entry.js.map +0 -1
- package/dist/calcite/p-c2e2ac7c.entry.js +0 -7
- package/dist/calcite/p-c2e2ac7c.entry.js.map +0 -1
- package/dist/calcite/p-c31dfdef.js +0 -7
- package/dist/calcite/p-c473b37c.js +0 -7
- package/dist/calcite/p-c4bad52c.js +0 -7
- package/dist/calcite/p-c60c7e01.js +0 -7
- package/dist/calcite/p-c71281c2.js +0 -7
- package/dist/calcite/p-cbd31ba2.js +0 -7
- package/dist/calcite/p-cbed8c79.js +0 -7
- package/dist/calcite/p-ce533cd8.js +0 -7
- package/dist/calcite/p-ceb1e330.entry.js +0 -7
- package/dist/calcite/p-cee45aed.entry.js +0 -7
- package/dist/calcite/p-d014effb.js +0 -7
- package/dist/calcite/p-d014effb.js.map +0 -1
- package/dist/calcite/p-d3be4e55.js +0 -7
- package/dist/calcite/p-d41b81d5.js +0 -7
- package/dist/calcite/p-d5f63246.entry.js +0 -7
- package/dist/calcite/p-d5f63246.entry.js.map +0 -1
- package/dist/calcite/p-d6a25fe2.js +0 -7
- package/dist/calcite/p-d6aca761.js +0 -7
- package/dist/calcite/p-d6ca33de.entry.js +0 -7
- package/dist/calcite/p-d8284779.entry.js +0 -7
- package/dist/calcite/p-d8284779.entry.js.map +0 -1
- package/dist/calcite/p-d9408c0d.js +0 -7
- package/dist/calcite/p-dc9e6847.js +0 -7
- package/dist/calcite/p-dcecb4a0.js +0 -7
- package/dist/calcite/p-de70fda8.js +0 -7
- package/dist/calcite/p-df52e4bb.entry.js +0 -7
- package/dist/calcite/p-df52e4bb.entry.js.map +0 -1
- package/dist/calcite/p-df5bdc47.js +0 -7
- package/dist/calcite/p-e2fa918e.entry.js +0 -7
- package/dist/calcite/p-e3a13205.js +0 -7
- package/dist/calcite/p-e65edb81.entry.js +0 -7
- package/dist/calcite/p-e7089478.js +0 -7
- package/dist/calcite/p-e7104b8d.js +0 -8
- package/dist/calcite/p-ec26c92e.entry.js +0 -7
- package/dist/calcite/p-ec26c92e.entry.js.map +0 -1
- package/dist/calcite/p-ec71be9a.js +0 -7
- package/dist/calcite/p-eda94ee4.entry.js +0 -7
- package/dist/calcite/p-eda94ee4.entry.js.map +0 -1
- package/dist/calcite/p-ee01924f.js +0 -7
- package/dist/calcite/p-ee3313d3.entry.js +0 -7
- package/dist/calcite/p-ee3313d3.entry.js.map +0 -1
- package/dist/calcite/p-ef33ea6c.entry.js +0 -7
- package/dist/calcite/p-ef33ea6c.entry.js.map +0 -1
- package/dist/calcite/p-f08093d7.js +0 -7
- package/dist/calcite/p-f08edbd2.entry.js +0 -7
- package/dist/calcite/p-f3811cf9.entry.js +0 -7
- package/dist/calcite/p-f438e5e1.js +0 -7
- package/dist/calcite/p-f49181c8.js +0 -7
- package/dist/calcite/p-f6bd8ab0.entry.js +0 -7
- package/dist/calcite/p-f6bd8ab0.entry.js.map +0 -1
- package/dist/calcite/p-fa3de576.entry.js +0 -7
- package/dist/calcite/p-fa4ca863.js +0 -7
- package/dist/calcite/p-fb8915bd.js +0 -7
- package/dist/calcite/p-fb9a1d16.js +0 -7
- package/dist/calcite/p-fd22e26e.js +0 -7
- package/dist/calcite/p-fd34808b.entry.js +0 -7
- package/dist/calcite/p-fd34808b.entry.js.map +0 -1
- package/dist/calcite/p-ff0ed5c9.entry.js +0 -7
- package/dist/calcite/p-ff232f67.js +0 -7
- package/dist/calcite/p-ff423d82.js +0 -7
- package/dist/calcite/p-ffdbdb0a.entry.js +0 -7
- package/dist/cjs/ExpandToggle-622d2a45.js +0 -107
- package/dist/cjs/ExpandToggle-622d2a45.js.map +0 -1
- package/dist/cjs/FloatingArrow-4fdda76f.js +0 -47
- package/dist/cjs/FloatingArrow-4fdda76f.js.map +0 -1
- package/dist/cjs/Heading-de722eac.js +0 -22
- package/dist/cjs/Heading-de722eac.js.map +0 -1
- package/dist/cjs/Validation-65075c83.js +0 -18
- package/dist/cjs/Validation-65075c83.js.map +0 -1
- package/dist/cjs/app-globals-9601b1a5.js +0 -59
- package/dist/cjs/app-globals-9601b1a5.js.map +0 -1
- package/dist/cjs/ar-154ca274.js +0 -107
- package/dist/cjs/ar-154ca274.js.map +0 -1
- package/dist/cjs/array-8c9a10f4.js +0 -14
- package/dist/cjs/array-8c9a10f4.js.map +0 -1
- package/dist/cjs/bg-79b5933c.js +0 -85
- package/dist/cjs/bg-79b5933c.js.map +0 -1
- package/dist/cjs/browser-89880371.js +0 -32
- package/dist/cjs/browser-89880371.js.map +0 -1
- package/dist/cjs/bs-c49da07c.js +0 -54
- package/dist/cjs/bs-c49da07c.js.map +0 -1
- package/dist/cjs/ca-0863baf3.js +0 -74
- package/dist/cjs/ca-0863baf3.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-025b2200.js +0 -2917
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-025b2200.js.map +0 -1
- package/dist/cjs/component-c5bbc3ae.js +0 -30
- package/dist/cjs/component-c5bbc3ae.js.map +0 -1
- package/dist/cjs/conditionalSlot-4e316663.js +0 -51
- package/dist/cjs/conditionalSlot-4e316663.js.map +0 -1
- package/dist/cjs/config-e9f6bd0a.js +0 -40
- package/dist/cjs/config-e9f6bd0a.js.map +0 -1
- package/dist/cjs/continent-155daeb1.js +0 -36
- package/dist/cjs/continent-155daeb1.js.map +0 -1
- package/dist/cjs/core-f694f030.js +0 -22
- package/dist/cjs/core-f694f030.js.map +0 -1
- package/dist/cjs/country-7f32eda2.js +0 -448
- package/dist/cjs/country-7f32eda2.js.map +0 -1
- package/dist/cjs/cs-54e1b5cf.js +0 -150
- package/dist/cjs/cs-54e1b5cf.js.map +0 -1
- package/dist/cjs/da-52e3d718.js +0 -70
- package/dist/cjs/da-52e3d718.js.map +0 -1
- package/dist/cjs/de-at-65acdbc1.js +0 -93
- package/dist/cjs/de-at-65acdbc1.js.map +0 -1
- package/dist/cjs/de-ch-ce8f1a1c.js +0 -93
- package/dist/cjs/de-ch-ce8f1a1c.js.map +0 -1
- package/dist/cjs/de-d89c706d.js +0 -94
- package/dist/cjs/de-d89c706d.js.map +0 -1
- package/dist/cjs/debounce-e2fa4fee.js +0 -506
- package/dist/cjs/debounce-e2fa4fee.js.map +0 -1
- package/dist/cjs/dom-cdce16d7.js +0 -1212
- package/dist/cjs/dom-cdce16d7.js.map +0 -1
- package/dist/cjs/el-57afe2bc.js +0 -69
- package/dist/cjs/el-57afe2bc.js.map +0 -1
- package/dist/cjs/en-au-702ac83c.js +0 -69
- package/dist/cjs/en-au-702ac83c.js.map +0 -1
- package/dist/cjs/en-ca-9140e631.js +0 -68
- package/dist/cjs/en-ca-9140e631.js.map +0 -1
- package/dist/cjs/en-gb-2b223c3e.js +0 -72
- package/dist/cjs/en-gb-2b223c3e.js.map +0 -1
- package/dist/cjs/es-d1ab2cc2.js +0 -69
- package/dist/cjs/es-d1ab2cc2.js.map +0 -1
- package/dist/cjs/es-mx-b9e15828.js +0 -68
- package/dist/cjs/es-mx-b9e15828.js.map +0 -1
- package/dist/cjs/et-510d5549.js +0 -95
- package/dist/cjs/et-510d5549.js.map +0 -1
- package/dist/cjs/fi-e97c7a64.js +0 -118
- package/dist/cjs/fi-e97c7a64.js.map +0 -1
- package/dist/cjs/filter-c06f32cc.js +0 -775
- package/dist/cjs/filter-c06f32cc.js.map +0 -1
- package/dist/cjs/floating-ui-6e06932f.js +0 -2359
- package/dist/cjs/floating-ui-6e06932f.js.map +0 -1
- package/dist/cjs/focusTrapComponent-70446160.js +0 -1015
- package/dist/cjs/focusTrapComponent-70446160.js.map +0 -1
- package/dist/cjs/form-1b8877c5.js +0 -378
- package/dist/cjs/form-1b8877c5.js.map +0 -1
- package/dist/cjs/fr-ch-eb59e179.js +0 -69
- package/dist/cjs/fr-ch-eb59e179.js.map +0 -1
- package/dist/cjs/fr-e79016d2.js +0 -71
- package/dist/cjs/fr-e79016d2.js.map +0 -1
- package/dist/cjs/guid-a0aaca44.js +0 -23
- package/dist/cjs/guid-a0aaca44.js.map +0 -1
- package/dist/cjs/he-fdbf2dd5.js +0 -108
- package/dist/cjs/he-fdbf2dd5.js.map +0 -1
- package/dist/cjs/hi-0e950cce.js +0 -68
- package/dist/cjs/hi-0e950cce.js.map +0 -1
- package/dist/cjs/hr-d9158375.js +0 -83
- package/dist/cjs/hr-d9158375.js.map +0 -1
- package/dist/cjs/hu-124621b2.js +0 -91
- package/dist/cjs/hu-124621b2.js.map +0 -1
- package/dist/cjs/id-9c205875.js +0 -69
- package/dist/cjs/id-9c205875.js.map +0 -1
- package/dist/cjs/index-0dfa5282.js +0 -75
- package/dist/cjs/index-0dfa5282.js.map +0 -1
- package/dist/cjs/index-1cc417af.js +0 -64
- package/dist/cjs/index-1cc417af.js.map +0 -1
- package/dist/cjs/index-53010548.js +0 -129
- package/dist/cjs/index-53010548.js.map +0 -1
- package/dist/cjs/index-ad2770ac.js +0 -16
- package/dist/cjs/index-ad2770ac.js.map +0 -1
- package/dist/cjs/index-fdc628de.js +0 -1987
- package/dist/cjs/index-fdc628de.js.map +0 -1
- package/dist/cjs/input-5c338969.js +0 -57
- package/dist/cjs/input-5c338969.js.map +0 -1
- package/dist/cjs/interactive-9db98a91.js +0 -164
- package/dist/cjs/interactive-9db98a91.js.map +0 -1
- package/dist/cjs/it-620a7b12.js +0 -69
- package/dist/cjs/it-620a7b12.js.map +0 -1
- package/dist/cjs/it-ch-4e65e386.js +0 -69
- package/dist/cjs/it-ch-4e65e386.js.map +0 -1
- package/dist/cjs/ja-9370a387.js +0 -75
- package/dist/cjs/ja-9370a387.js.map +0 -1
- package/dist/cjs/key-5de2d409.js +0 -16
- package/dist/cjs/key-5de2d409.js.map +0 -1
- package/dist/cjs/ko-b94649d5.js +0 -75
- package/dist/cjs/ko-b94649d5.js.map +0 -1
- package/dist/cjs/label-37a32e86.js +0 -183
- package/dist/cjs/label-37a32e86.js.map +0 -1
- package/dist/cjs/loadable-8de43def.js +0 -95
- package/dist/cjs/loadable-8de43def.js.map +0 -1
- package/dist/cjs/locale-987403a2.js +0 -597
- package/dist/cjs/locale-987403a2.js.map +0 -1
- package/dist/cjs/logger-69a1146d.js +0 -58
- package/dist/cjs/logger-69a1146d.js.map +0 -1
- package/dist/cjs/lt-556fa520.js +0 -100
- package/dist/cjs/lt-556fa520.js.map +0 -1
- package/dist/cjs/lv-d914f8d2.js +0 -69
- package/dist/cjs/lv-d914f8d2.js.map +0 -1
- package/dist/cjs/math-a71d1af7.js +0 -57
- package/dist/cjs/math-a71d1af7.js.map +0 -1
- package/dist/cjs/mk-820df166.js +0 -69
- package/dist/cjs/mk-820df166.js.map +0 -1
- package/dist/cjs/nb-4e717082.js +0 -70
- package/dist/cjs/nb-4e717082.js.map +0 -1
- package/dist/cjs/nl-ede07375.js +0 -70
- package/dist/cjs/nl-ede07375.js.map +0 -1
- package/dist/cjs/observers-3a410d9c.js +0 -55
- package/dist/cjs/observers-3a410d9c.js.map +0 -1
- package/dist/cjs/openCloseComponent-8d689ca4.js +0 -62
- package/dist/cjs/openCloseComponent-8d689ca4.js.map +0 -1
- package/dist/cjs/pl-717c2f99.js +0 -117
- package/dist/cjs/pl-717c2f99.js.map +0 -1
- package/dist/cjs/pt-827a9016.js +0 -70
- package/dist/cjs/pt-827a9016.js.map +0 -1
- package/dist/cjs/pt-br-e8379edb.js +0 -68
- package/dist/cjs/pt-br-e8379edb.js.map +0 -1
- package/dist/cjs/resources-2063cefc.js +0 -26
- package/dist/cjs/resources-2063cefc.js.map +0 -1
- package/dist/cjs/resources-88de7c68.js +0 -18
- package/dist/cjs/resources-88de7c68.js.map +0 -1
- package/dist/cjs/resources-8a5c46a3.js +0 -36
- package/dist/cjs/resources-8a5c46a3.js.map +0 -1
- package/dist/cjs/resources-b57f9074.js +0 -23
- package/dist/cjs/resources-b57f9074.js.map +0 -1
- package/dist/cjs/resources-b9ce497e.js +0 -65
- package/dist/cjs/resources-b9ce497e.js.map +0 -1
- package/dist/cjs/resources-be7080cd.js +0 -26
- package/dist/cjs/resources-be7080cd.js.map +0 -1
- package/dist/cjs/resources-d481fc15.js +0 -410
- package/dist/cjs/resources-d481fc15.js.map +0 -1
- package/dist/cjs/ro-ea57c9ce.js +0 -69
- package/dist/cjs/ro-ea57c9ce.js.map +0 -1
- package/dist/cjs/ru-268c61b0.js +0 -129
- package/dist/cjs/ru-268c61b0.js.map +0 -1
- package/dist/cjs/sk-680a8d49.js +0 -151
- package/dist/cjs/sk-680a8d49.js.map +0 -1
- package/dist/cjs/sl-69070dda.js +0 -171
- package/dist/cjs/sl-69070dda.js.map +0 -1
- package/dist/cjs/sortableComponent-5aab28be.js +0 -2745
- package/dist/cjs/sortableComponent-5aab28be.js.map +0 -1
- package/dist/cjs/sr-fce5021e.js +0 -104
- package/dist/cjs/sr-fce5021e.js.map +0 -1
- package/dist/cjs/sv-2a9066ca.js +0 -74
- package/dist/cjs/sv-2a9066ca.js.map +0 -1
- package/dist/cjs/t9n-0ac48eea.js +0 -105
- package/dist/cjs/t9n-0ac48eea.js.map +0 -1
- package/dist/cjs/th-08e7d0b4.js +0 -68
- package/dist/cjs/th-08e7d0b4.js.map +0 -1
- package/dist/cjs/throttle-8f335b6a.js +0 -77
- package/dist/cjs/throttle-8f335b6a.js.map +0 -1
- package/dist/cjs/time-zones-8a4844a7.js +0 -44
- package/dist/cjs/time-zones-8a4844a7.js.map +0 -1
- package/dist/cjs/tr-8a93ae41.js +0 -69
- package/dist/cjs/tr-8a93ae41.js.map +0 -1
- package/dist/cjs/uk-ef1fa06a.js +0 -107
- package/dist/cjs/uk-ef1fa06a.js.map +0 -1
- package/dist/cjs/utils-88a54038.js +0 -2296
- package/dist/cjs/utils-88a54038.js.map +0 -1
- package/dist/cjs/utils-f4b189a4.js +0 -310
- package/dist/cjs/utils-f4b189a4.js.map +0 -1
- package/dist/cjs/vi-3a24a4de.js +0 -73
- package/dist/cjs/vi-3a24a4de.js.map +0 -1
- package/dist/cjs/zh-cn-9b1ca6ce.js +0 -97
- package/dist/cjs/zh-cn-9b1ca6ce.js.map +0 -1
- package/dist/cjs/zh-hk-e786c225.js +0 -95
- package/dist/cjs/zh-hk-e786c225.js.map +0 -1
- package/dist/cjs/zh-tw-4734adb7.js +0 -95
- package/dist/cjs/zh-tw-4734adb7.js.map +0 -1
- package/dist/esm/ExpandToggle-d0df6ce4.js +0 -100
- package/dist/esm/ExpandToggle-d0df6ce4.js.map +0 -1
- package/dist/esm/FloatingArrow-8f69a70d.js +0 -45
- package/dist/esm/FloatingArrow-8f69a70d.js.map +0 -1
- package/dist/esm/Heading-92af9aa3.js +0 -19
- package/dist/esm/Heading-92af9aa3.js.map +0 -1
- package/dist/esm/Validation-4d96ef97.js +0 -16
- package/dist/esm/Validation-4d96ef97.js.map +0 -1
- package/dist/esm/app-globals-93843bf9.js +0 -57
- package/dist/esm/app-globals-93843bf9.js.map +0 -1
- package/dist/esm/ar-309fdf14.js +0 -105
- package/dist/esm/ar-309fdf14.js.map +0 -1
- package/dist/esm/array-5b9b43be.js +0 -12
- package/dist/esm/array-5b9b43be.js.map +0 -1
- package/dist/esm/bg-2e146376.js +0 -83
- package/dist/esm/bg-2e146376.js.map +0 -1
- package/dist/esm/browser-71ae41c0.js +0 -29
- package/dist/esm/browser-71ae41c0.js.map +0 -1
- package/dist/esm/bs-bfb7bc11.js +0 -52
- package/dist/esm/bs-bfb7bc11.js.map +0 -1
- package/dist/esm/ca-c8458529.js +0 -72
- package/dist/esm/ca-c8458529.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-e14a53fa.js +0 -2913
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-e14a53fa.js.map +0 -1
- package/dist/esm/component-3bb9cc9e.js +0 -27
- package/dist/esm/component-3bb9cc9e.js.map +0 -1
- package/dist/esm/conditionalSlot-1885c3b2.js +0 -48
- package/dist/esm/conditionalSlot-1885c3b2.js.map +0 -1
- package/dist/esm/config-8ecb98ae.js +0 -36
- package/dist/esm/config-8ecb98ae.js.map +0 -1
- package/dist/esm/continent-b4796c7b.js +0 -33
- package/dist/esm/continent-b4796c7b.js.map +0 -1
- package/dist/esm/core-b3f69cac.js +0 -17
- package/dist/esm/core-b3f69cac.js.map +0 -1
- package/dist/esm/country-bf1da4d7.js +0 -446
- package/dist/esm/country-bf1da4d7.js.map +0 -1
- package/dist/esm/cs-15cf130a.js +0 -148
- package/dist/esm/cs-15cf130a.js.map +0 -1
- package/dist/esm/da-c7fba524.js +0 -68
- package/dist/esm/da-c7fba524.js.map +0 -1
- package/dist/esm/de-at-8ecb2594.js +0 -91
- package/dist/esm/de-at-8ecb2594.js.map +0 -1
- package/dist/esm/de-ch-348d7323.js +0 -91
- package/dist/esm/de-ch-348d7323.js.map +0 -1
- package/dist/esm/de-e29d7084.js +0 -92
- package/dist/esm/de-e29d7084.js.map +0 -1
- package/dist/esm/debounce-5279931d.js +0 -497
- package/dist/esm/debounce-5279931d.js.map +0 -1
- package/dist/esm/dom-14c76f9f.js +0 -1177
- package/dist/esm/dom-14c76f9f.js.map +0 -1
- package/dist/esm/el-7e3912f7.js +0 -67
- package/dist/esm/el-7e3912f7.js.map +0 -1
- package/dist/esm/en-au-36827a6b.js +0 -67
- package/dist/esm/en-au-36827a6b.js.map +0 -1
- package/dist/esm/en-ca-606fb7e7.js +0 -66
- package/dist/esm/en-ca-606fb7e7.js.map +0 -1
- package/dist/esm/en-gb-5544af02.js +0 -70
- package/dist/esm/en-gb-5544af02.js.map +0 -1
- package/dist/esm/es-734948b2.js +0 -67
- package/dist/esm/es-734948b2.js.map +0 -1
- package/dist/esm/es-mx-8b3b8f73.js +0 -66
- package/dist/esm/es-mx-8b3b8f73.js.map +0 -1
- package/dist/esm/et-b53815f9.js +0 -93
- package/dist/esm/et-b53815f9.js.map +0 -1
- package/dist/esm/fi-27df75a3.js +0 -116
- package/dist/esm/fi-27df75a3.js.map +0 -1
- package/dist/esm/filter-feccea1d.js +0 -772
- package/dist/esm/filter-feccea1d.js.map +0 -1
- package/dist/esm/floating-ui-bd353a44.js +0 -2351
- package/dist/esm/floating-ui-bd353a44.js.map +0 -1
- package/dist/esm/focusTrapComponent-5d4b3f59.js +0 -1010
- package/dist/esm/focusTrapComponent-5d4b3f59.js.map +0 -1
- package/dist/esm/form-00e9ec02.js +0 -369
- package/dist/esm/form-00e9ec02.js.map +0 -1
- package/dist/esm/fr-288b5098.js +0 -69
- package/dist/esm/fr-288b5098.js.map +0 -1
- package/dist/esm/fr-ch-80951468.js +0 -67
- package/dist/esm/fr-ch-80951468.js.map +0 -1
- package/dist/esm/guid-295f272c.js +0 -21
- package/dist/esm/guid-295f272c.js.map +0 -1
- package/dist/esm/he-45dcd1cb.js +0 -106
- package/dist/esm/he-45dcd1cb.js.map +0 -1
- package/dist/esm/hi-c6b71d44.js +0 -66
- package/dist/esm/hi-c6b71d44.js.map +0 -1
- package/dist/esm/hr-0f613eb3.js +0 -81
- package/dist/esm/hr-0f613eb3.js.map +0 -1
- package/dist/esm/hu-f953ce6b.js +0 -89
- package/dist/esm/hu-f953ce6b.js.map +0 -1
- package/dist/esm/id-d9252bf3.js +0 -67
- package/dist/esm/id-d9252bf3.js.map +0 -1
- package/dist/esm/index-42a09246.js +0 -1952
- package/dist/esm/index-42a09246.js.map +0 -1
- package/dist/esm/index-739f8898.js +0 -14
- package/dist/esm/index-739f8898.js.map +0 -1
- package/dist/esm/index-7e006bdc.js +0 -62
- package/dist/esm/index-7e006bdc.js.map +0 -1
- package/dist/esm/index-cdb5657a.js +0 -73
- package/dist/esm/index-cdb5657a.js.map +0 -1
- package/dist/esm/index-ec937086.js +0 -127
- package/dist/esm/index-ec937086.js.map +0 -1
- package/dist/esm/input-e6b6a1fa.js +0 -55
- package/dist/esm/input-e6b6a1fa.js.map +0 -1
- package/dist/esm/interactive-31600299.js +0 -159
- package/dist/esm/interactive-31600299.js.map +0 -1
- package/dist/esm/it-916e51bb.js +0 -67
- package/dist/esm/it-916e51bb.js.map +0 -1
- package/dist/esm/it-ch-e8222b67.js +0 -67
- package/dist/esm/it-ch-e8222b67.js.map +0 -1
- package/dist/esm/ja-83e686ed.js +0 -73
- package/dist/esm/ja-83e686ed.js.map +0 -1
- package/dist/esm/key-a886a13d.js +0 -13
- package/dist/esm/key-a886a13d.js.map +0 -1
- package/dist/esm/ko-636806cf.js +0 -73
- package/dist/esm/ko-636806cf.js.map +0 -1
- package/dist/esm/label-db7df9cd.js +0 -176
- package/dist/esm/label-db7df9cd.js.map +0 -1
- package/dist/esm/loadable-8f8e603e.js +0 -90
- package/dist/esm/loadable-8f8e603e.js.map +0 -1
- package/dist/esm/locale-1fb421c2.js +0 -583
- package/dist/esm/locale-1fb421c2.js.map +0 -1
- package/dist/esm/logger-d4491ace.js +0 -56
- package/dist/esm/logger-d4491ace.js.map +0 -1
- package/dist/esm/lt-06c9c624.js +0 -98
- package/dist/esm/lt-06c9c624.js.map +0 -1
- package/dist/esm/lv-ce977bed.js +0 -67
- package/dist/esm/lv-ce977bed.js.map +0 -1
- package/dist/esm/math-1850b8d7.js +0 -51
- package/dist/esm/math-1850b8d7.js.map +0 -1
- package/dist/esm/mk-bc10b72e.js +0 -67
- package/dist/esm/mk-bc10b72e.js.map +0 -1
- package/dist/esm/nb-1b4e1603.js +0 -68
- package/dist/esm/nb-1b4e1603.js.map +0 -1
- package/dist/esm/nl-5e3de3c4.js +0 -68
- package/dist/esm/nl-5e3de3c4.js.map +0 -1
- package/dist/esm/observers-a1e25392.js +0 -53
- package/dist/esm/observers-a1e25392.js.map +0 -1
- package/dist/esm/openCloseComponent-764c8b02.js +0 -60
- package/dist/esm/openCloseComponent-764c8b02.js.map +0 -1
- package/dist/esm/pl-d7735cdc.js +0 -115
- package/dist/esm/pl-d7735cdc.js.map +0 -1
- package/dist/esm/pt-b6e85915.js +0 -68
- package/dist/esm/pt-b6e85915.js.map +0 -1
- package/dist/esm/pt-br-7e1cf6b9.js +0 -66
- package/dist/esm/pt-br-7e1cf6b9.js.map +0 -1
- package/dist/esm/resources-29b6200e.js +0 -31
- package/dist/esm/resources-29b6200e.js.map +0 -1
- package/dist/esm/resources-2a789fe4.js +0 -23
- package/dist/esm/resources-2a789fe4.js.map +0 -1
- package/dist/esm/resources-35201ea7.js +0 -382
- package/dist/esm/resources-35201ea7.js.map +0 -1
- package/dist/esm/resources-980c8d09.js +0 -16
- package/dist/esm/resources-980c8d09.js.map +0 -1
- package/dist/esm/resources-aaad0e9c.js +0 -21
- package/dist/esm/resources-aaad0e9c.js.map +0 -1
- package/dist/esm/resources-c5786871.js +0 -60
- package/dist/esm/resources-c5786871.js.map +0 -1
- package/dist/esm/resources-dd7b12f1.js +0 -19
- package/dist/esm/resources-dd7b12f1.js.map +0 -1
- package/dist/esm/ro-21667f77.js +0 -67
- package/dist/esm/ro-21667f77.js.map +0 -1
- package/dist/esm/ru-a8c1a65c.js +0 -127
- package/dist/esm/ru-a8c1a65c.js.map +0 -1
- package/dist/esm/sk-5c67bfdb.js +0 -149
- package/dist/esm/sk-5c67bfdb.js.map +0 -1
- package/dist/esm/sl-e6d81fcd.js +0 -169
- package/dist/esm/sl-e6d81fcd.js.map +0 -1
- package/dist/esm/sortableComponent-12f510c7.js +0 -2742
- package/dist/esm/sortableComponent-12f510c7.js.map +0 -1
- package/dist/esm/sr-066ba646.js +0 -102
- package/dist/esm/sr-066ba646.js.map +0 -1
- package/dist/esm/sv-f9a44b3f.js +0 -72
- package/dist/esm/sv-f9a44b3f.js.map +0 -1
- package/dist/esm/t9n-c8bd5ea9.js +0 -100
- package/dist/esm/t9n-c8bd5ea9.js.map +0 -1
- package/dist/esm/th-e4c66a20.js +0 -66
- package/dist/esm/th-e4c66a20.js.map +0 -1
- package/dist/esm/throttle-b901fdcd.js +0 -75
- package/dist/esm/throttle-b901fdcd.js.map +0 -1
- package/dist/esm/time-zones-6ccc534b.js +0 -42
- package/dist/esm/time-zones-6ccc534b.js.map +0 -1
- package/dist/esm/tr-1547c362.js +0 -67
- package/dist/esm/tr-1547c362.js.map +0 -1
- package/dist/esm/uk-31fe7d56.js +0 -105
- package/dist/esm/uk-31fe7d56.js.map +0 -1
- package/dist/esm/utils-9469423c.js +0 -292
- package/dist/esm/utils-9469423c.js.map +0 -1
- package/dist/esm/utils-bb481c58.js +0 -2266
- package/dist/esm/utils-bb481c58.js.map +0 -1
- package/dist/esm/vi-0701bd1b.js +0 -71
- package/dist/esm/vi-0701bd1b.js.map +0 -1
- package/dist/esm/zh-cn-c4c5d36b.js +0 -95
- package/dist/esm/zh-cn-c4c5d36b.js.map +0 -1
- package/dist/esm/zh-hk-c5aef9a4.js +0 -93
- package/dist/esm/zh-hk-c5aef9a4.js.map +0 -1
- package/dist/esm/zh-tw-ac076966.js +0 -93
- package/dist/esm/zh-tw-ac076966.js.map +0 -1
- package/dist/extras/vscode-data.json +0 -7478
- /package/dist/calcite/{p-20bc22ca.entry.js.map → p-014feeab.entry.js.map} +0 -0
- /package/dist/calcite/{p-cbed8c79.js.map → p-02522147.js.map} +0 -0
- /package/dist/calcite/{p-a49b95d8.js.map → p-028278a3.js.map} +0 -0
- /package/dist/calcite/{p-a02ae7a8.entry.js.map → p-02d208fd.entry.js.map} +0 -0
- /package/dist/calcite/{p-f08edbd2.entry.js.map → p-0677a447.entry.js.map} +0 -0
- /package/dist/calcite/{p-5b5ebddf.js.map → p-076d5228.js.map} +0 -0
- /package/dist/calcite/{p-a4ba2c4c.js.map → p-0950b635.js.map} +0 -0
- /package/dist/calcite/{p-bcf067ac.js.map → p-09ba5be7.js.map} +0 -0
- /package/dist/calcite/{p-1d6a8a46.entry.js.map → p-0ae3cd17.entry.js.map} +0 -0
- /package/dist/calcite/{p-a2b2076b.entry.js.map → p-0c86a89d.entry.js.map} +0 -0
- /package/dist/calcite/{p-7f0164c9.entry.js.map → p-0d014579.entry.js.map} +0 -0
- /package/dist/calcite/{p-104d1d32.entry.js.map → p-0f08d617.entry.js.map} +0 -0
- /package/dist/calcite/{p-c31dfdef.js.map → p-14e8aea5.js.map} +0 -0
- /package/dist/calcite/{p-42901549.js.map → p-150efaa4.js.map} +0 -0
- /package/dist/calcite/{p-1ba0988f.js.map → p-1556bef7.js.map} +0 -0
- /package/dist/calcite/{p-fb9a1d16.js.map → p-1747ffb9.js.map} +0 -0
- /package/dist/calcite/{p-e7104b8d.js.map → p-17581615.js.map} +0 -0
- /package/dist/calcite/{p-ceb1e330.entry.js.map → p-177c7f49.entry.js.map} +0 -0
- /package/dist/calcite/{p-2d88c083.js.map → p-1fb3b19d.js.map} +0 -0
- /package/dist/calcite/{p-ff0ed5c9.entry.js.map → p-21eb95f3.entry.js.map} +0 -0
- /package/dist/calcite/{p-27b69025.js.map → p-23ea44e9.js.map} +0 -0
- /package/dist/calcite/{p-357db407.js.map → p-2873d01a.js.map} +0 -0
- /package/dist/calcite/{p-df5bdc47.js.map → p-2ab60da2.js.map} +0 -0
- /package/dist/calcite/{p-fa3de576.entry.js.map → p-2c7543fb.entry.js.map} +0 -0
- /package/dist/calcite/{p-14b9d726.js.map → p-2d3f5f11.js.map} +0 -0
- /package/dist/calcite/{p-e65edb81.entry.js.map → p-2db9acc2.entry.js.map} +0 -0
- /package/dist/calcite/{p-0bbcfa13.js.map → p-33434e45.js.map} +0 -0
- /package/dist/calcite/{p-f08093d7.js.map → p-36ef85c1.js.map} +0 -0
- /package/dist/calcite/{p-b4a0d361.js.map → p-37761a16.js.map} +0 -0
- /package/dist/calcite/{p-72ccdeee.js.map → p-3927d405.js.map} +0 -0
- /package/dist/calcite/{p-ce533cd8.js.map → p-3bffea95.js.map} +0 -0
- /package/dist/calcite/{p-4377c650.js.map → p-3cd6ef65.js.map} +0 -0
- /package/dist/calcite/{p-6f580f9d.js.map → p-3cf89117.js.map} +0 -0
- /package/dist/calcite/{p-4f53529c.js.map → p-3eddc208.js.map} +0 -0
- /package/dist/calcite/{p-ee01924f.js.map → p-416a1dfa.js.map} +0 -0
- /package/dist/calcite/{p-ec71be9a.js.map → p-42c8bed7.js.map} +0 -0
- /package/dist/calcite/{p-46ee72e7.js.map → p-432012f7.js.map} +0 -0
- /package/dist/calcite/{p-a9789e0e.js.map → p-43b5ddd0.js.map} +0 -0
- /package/dist/calcite/{p-ff423d82.js.map → p-44885066.js.map} +0 -0
- /package/dist/calcite/{p-2bed8053.js.map → p-47ee0f17.js.map} +0 -0
- /package/dist/calcite/{p-d6a25fe2.js.map → p-48c46ebf.js.map} +0 -0
- /package/dist/calcite/{p-1bec1ef7.js.map → p-49fd34a7.js.map} +0 -0
- /package/dist/calcite/{p-2a6464bc.js.map → p-4a654c62.js.map} +0 -0
- /package/dist/calcite/{p-dcecb4a0.js.map → p-4f800b41.js.map} +0 -0
- /package/dist/calcite/{p-78673acb.js.map → p-50fa027f.js.map} +0 -0
- /package/dist/calcite/{p-30789c90.js.map → p-51536b75.js.map} +0 -0
- /package/dist/calcite/{p-8c7e61d1.js.map → p-52a3a1d9.js.map} +0 -0
- /package/dist/calcite/{p-fb8915bd.js.map → p-538e4de5.js.map} +0 -0
- /package/dist/calcite/{p-769c1c82.js.map → p-54e1cc3e.js.map} +0 -0
- /package/dist/calcite/{p-017d0775.entry.js.map → p-559d5428.entry.js.map} +0 -0
- /package/dist/calcite/{p-e3a13205.js.map → p-5610eb3a.js.map} +0 -0
- /package/dist/calcite/{p-c71281c2.js.map → p-5a798716.js.map} +0 -0
- /package/dist/calcite/{p-87901e5b.entry.js.map → p-5be8a330.entry.js.map} +0 -0
- /package/dist/calcite/{p-20d6d814.js.map → p-5bfaa911.js.map} +0 -0
- /package/dist/calcite/{p-4f616cbe.js.map → p-5d583a26.js.map} +0 -0
- /package/dist/calcite/{p-32d7aa5f.entry.js.map → p-5e62f5d8.entry.js.map} +0 -0
- /package/dist/calcite/{p-a4ac8fc3.js.map → p-5fb11bc5.js.map} +0 -0
- /package/dist/calcite/{p-f438e5e1.js.map → p-605d2697.js.map} +0 -0
- /package/dist/calcite/{p-c60c7e01.js.map → p-62a45517.js.map} +0 -0
- /package/dist/calcite/{p-36ecadf9.js.map → p-658e49d1.js.map} +0 -0
- /package/dist/calcite/{p-3c4fe54e.js.map → p-6861beb6.js.map} +0 -0
- /package/dist/calcite/{p-45d13552.js.map → p-6b034312.js.map} +0 -0
- /package/dist/calcite/{p-7c8836c8.entry.js.map → p-6d0763d1.entry.js.map} +0 -0
- /package/dist/calcite/{p-4a322c0e.js.map → p-702f5524.js.map} +0 -0
- /package/dist/calcite/{p-9f2a67d4.js.map → p-70bc9361.js.map} +0 -0
- /package/dist/calcite/{p-447d61ae.js.map → p-71846dd7.js.map} +0 -0
- /package/dist/calcite/{p-fd22e26e.js.map → p-71a36eac.js.map} +0 -0
- /package/dist/calcite/{p-de70fda8.js.map → p-75d13a9a.js.map} +0 -0
- /package/dist/calcite/{p-e7089478.js.map → p-75f53b08.js.map} +0 -0
- /package/dist/calcite/{p-9626115b.js.map → p-78a12803.js.map} +0 -0
- /package/dist/calcite/{p-655f7f65.entry.js.map → p-7cba7142.entry.js.map} +0 -0
- /package/dist/calcite/{p-adfbff91.js.map → p-827c78ae.js.map} +0 -0
- /package/dist/calcite/{p-19f43fe6.js.map → p-86670483.js.map} +0 -0
- /package/dist/calcite/{p-0c0aade7.js.map → p-8f15a8b8.js.map} +0 -0
- /package/dist/calcite/{p-07a83506.entry.js.map → p-9046ce3f.entry.js.map} +0 -0
- /package/dist/calcite/{p-d6ca33de.entry.js.map → p-9172abf0.entry.js.map} +0 -0
- /package/dist/calcite/{p-17c701ba.js.map → p-92e7212f.js.map} +0 -0
- /package/dist/calcite/{p-45ac55e3.js.map → p-9312cf69.js.map} +0 -0
- /package/dist/calcite/{p-9c191250.js.map → p-934d8e45.js.map} +0 -0
- /package/dist/calcite/{p-603d7196.js.map → p-94fb2301.js.map} +0 -0
- /package/dist/calcite/{p-f49181c8.js.map → p-96bfb8d9.js.map} +0 -0
- /package/dist/calcite/{p-29c291d1.js.map → p-a3136988.js.map} +0 -0
- /package/dist/calcite/{p-0ce7ec28.js.map → p-a4601427.js.map} +0 -0
- /package/dist/calcite/{p-e2fa918e.entry.js.map → p-a56530bf.entry.js.map} +0 -0
- /package/dist/calcite/{p-b5defc67.entry.js.map → p-aa6c227e.entry.js.map} +0 -0
- /package/dist/calcite/{p-bccffc90.js.map → p-abb207ee.js.map} +0 -0
- /package/dist/calcite/{p-5ba99915.js.map → p-ac61143e.js.map} +0 -0
- /package/dist/calcite/{p-a9cce7b0.js.map → p-af2ce6e6.js.map} +0 -0
- /package/dist/calcite/{p-5bee2979.entry.js.map → p-b3f8b7ef.entry.js.map} +0 -0
- /package/dist/calcite/{p-fa4ca863.js.map → p-b693e6ed.js.map} +0 -0
- /package/dist/calcite/{p-67e6ac12.js.map → p-b6a71674.js.map} +0 -0
- /package/dist/calcite/{p-bc4f64c1.js.map → p-b722d250.js.map} +0 -0
- /package/dist/calcite/{p-c473b37c.js.map → p-b92ebeef.js.map} +0 -0
- /package/dist/calcite/{p-5fe70602.entry.js.map → p-ba1afe48.entry.js.map} +0 -0
- /package/dist/calcite/{p-4e955a72.js.map → p-bd29fda5.js.map} +0 -0
- /package/dist/calcite/{p-77bb03a6.js.map → p-c4f58fae.js.map} +0 -0
- /package/dist/calcite/{p-d9408c0d.js.map → p-c64f7f92.js.map} +0 -0
- /package/dist/calcite/{p-f3811cf9.entry.js.map → p-c7a88fda.entry.js.map} +0 -0
- /package/dist/calcite/{p-aaea23e1.js.map → p-c96353cc.js.map} +0 -0
- /package/dist/calcite/{p-27ab49c7.js.map → p-cbc54e80.js.map} +0 -0
- /package/dist/calcite/{p-14ea97ed.entry.js.map → p-ce35a376.entry.js.map} +0 -0
- /package/dist/calcite/{p-ffdbdb0a.entry.js.map → p-ce8096fa.entry.js.map} +0 -0
- /package/dist/calcite/{p-56bab01f.js.map → p-d32e5254.js.map} +0 -0
- /package/dist/calcite/{p-3dc78399.js.map → p-d5a775c7.js.map} +0 -0
- /package/dist/calcite/{p-5daaab7f.js.map → p-d90ec26a.js.map} +0 -0
- /package/dist/calcite/{p-cee45aed.entry.js.map → p-d95c083d.entry.js.map} +0 -0
- /package/dist/calcite/{p-29d4f1ed.js.map → p-e1cb0cf6.js.map} +0 -0
- /package/dist/calcite/{p-d3be4e55.js.map → p-e369ccb4.js.map} +0 -0
- /package/dist/calcite/{p-c4bad52c.js.map → p-e48d8987.js.map} +0 -0
- /package/dist/calcite/{p-dc9e6847.js.map → p-e7a44987.js.map} +0 -0
- /package/dist/calcite/{p-3787986b.js.map → p-e880cc27.js.map} +0 -0
- /package/dist/calcite/{p-962cef0f.entry.js.map → p-ee3a83a3.entry.js.map} +0 -0
- /package/dist/calcite/{p-64329e55.js.map → p-f099b69b.js.map} +0 -0
- /package/dist/calcite/{p-d6aca761.js.map → p-f51a68ab.js.map} +0 -0
- /package/dist/calcite/{p-ff232f67.js.map → p-f602db57.js.map} +0 -0
- /package/dist/calcite/{p-2829b220.entry.js.map → p-f8d7d444.entry.js.map} +0 -0
- /package/dist/calcite/{p-d41b81d5.js.map → p-fa6f9740.js.map} +0 -0
- /package/dist/calcite/{p-cbd31ba2.js.map → p-fa8bedac.js.map} +0 -0
- /package/dist/calcite/{p-9a2f96d2.js.map → p-fbf41cbc.js.map} +0 -0
- /package/dist/calcite/{p-28ecfae7.js.map → p-feb35427.js.map} +0 -0
- /package/dist/calcite/{p-42ed7d55.js.map → p-febdb64b.js.map} +0 -0
- /package/dist/calcite/{p-5b45eef3.js.map → p-ff633d19.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-button.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,YAAY,EAAE,wBAAwB;IACtC,OAAO,EAAE,SAAS;IAClB,cAAc,EAAE,kBAAkB;IAClC,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,aAAa;IACzB,cAAc,EAAE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Q,EAAE,CAAC;KACjB;;;;;;;;;;;;;","names":["createObserver","submitForm","resetForm","forceUpdate","connectInteractive","connectLocalized","connectMessages","connectLabel","findAssociatedForm","disconnectInteractive","disconnectLabel","disconnectLocalized","disconnectMessages","setUpLoadableComponent","isBrowser","setUpMessages","setComponentLoaded","updateHostInteraction","h","getIconScale","InteractiveContainer","toAriaBoolean","getLabelText","componentFocusable","updateMessages"],"sources":["src/components/button/resources.ts","src/components/button/button.scss?tag=calcite-button&encapsulation=shadow","src/components/button/button.tsx"],"sourcesContent":["export const CSS = {\n buttonLoader: \"calcite-button--loader\",\n content: \"content\",\n contentSlotted: \"content--slotted\",\n icon: \"icon\",\n iconStart: \"icon--start\",\n iconEnd: \"icon--end\",\n loadingIn: \"loading-in\",\n loadingOut: \"loading-out\",\n iconStartEmpty: \"icon-start-empty\",\n iconEndEmpty: \"icon-end-empty\",\n buttonPadding: \"button-padding\",\n buttonPaddingShrunk: \"button-padding--shrunk\",\n};\n",":host {\n @apply inline-block w-auto align-middle;\n}\n\n// fab variants\n:host([round]) {\n border-radius: 50px;\n & a,\n & button {\n border-radius: 50px;\n }\n}\n\n// focus styles\n:host button,\n:host a {\n @apply focus-base;\n &:focus {\n @apply focus-outset;\n }\n}\n// button base\n:host button,\n:host a {\n --calcite-button-content-margin-internal: theme(\"margin.2\");\n --calcite-button-padding-x-internal: 7px;\n --calcite-button-padding-y-internal: 3px;\n padding-block: var(--calcite-button-padding-y-internal);\n padding-inline: var(--calcite-button-padding-x-internal);\n @apply font-inherit\n relative\n box-border\n flex\n h-full\n w-full\n cursor-pointer\n select-none\n appearance-none\n items-center\n justify-center\n rounded-none\n border-none\n text-center\n font-normal\n no-underline;\n // include transition from focus\n transition:\n color var(--calcite-animation-timing) ease-in-out,\n background-color var(--calcite-animation-timing) ease-in-out,\n box-shadow var(--calcite-animation-timing) ease-in-out,\n outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;\n &:hover {\n @apply no-underline;\n }\n & span {\n @apply truncate;\n }\n}\n\n.content {\n margin-inline: var(--calcite-button-content-margin-internal);\n}\n\n.icon-start-empty {\n .content {\n margin-inline-start: unset;\n }\n}\n.icon-end-empty {\n .content {\n margin-inline-end: unset;\n }\n}\n\n:host([scale=\"m\"]) {\n button,\n a {\n --calcite-button-content-margin-internal: theme(\"margin.3\");\n }\n}\n:host([scale=\"l\"]) {\n button,\n a {\n --calcite-button-content-margin-internal: theme(\"margin.4\");\n }\n}\n\n// button width\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-2/4;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n// alignment\n:host([alignment=\"center\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-center;\n }\n}\n:host([alignment=\"start\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-start;\n }\n}\n:host([alignment=\"end\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-end;\n }\n}\n:host([alignment*=\"space-between\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-between;\n }\n}\n:host([alignment=\"icon-start-space-between\"]:not([width=\"auto\"])) {\n .icon--start {\n margin-inline-end: auto;\n }\n a,\n button {\n text-align: unset;\n }\n}\n:host([alignment=\"icon-end-space-between\"]:not([width=\"auto\"])) {\n .icon--end {\n margin-inline-start: auto;\n }\n a,\n button {\n text-align: unset;\n }\n}\n\n// only two icons\n:host([alignment=\"center\"]) {\n a:not(.content--slotted),\n button:not(.content--slotted) {\n .icon--start + .icon--end {\n margin-inline-start: var(--calcite-button-content-margin-internal);\n }\n }\n}\n\n.icon {\n @apply relative\n m-0\n inline-flex\n font-normal;\n line-height: inherit;\n}\n\n@include disabled();\n\n@keyframes loader-in {\n 0% {\n inline-size: 0;\n opacity: 0;\n transform: scale(0.5);\n }\n 100% {\n inline-size: 1em;\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes loader-out {\n 0% {\n inline-size: 1em;\n opacity: 1;\n transform: scale(1);\n }\n 100% {\n inline-size: 0;\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n.calcite-button--loader {\n @apply flex;\n calcite-loader {\n @apply m-0;\n }\n}\n\n:host([loading]) {\n // center loading spinner when button has text\n button.content--slotted,\n a.content--slotted {\n .calcite-button--loader calcite-loader {\n margin-inline-end: var(--calcite-button-content-margin-internal);\n }\n }\n // hide icons when loading with no text\n button:not(.content--slotted),\n a:not(.content--slotted) {\n .icon--start,\n .icon--end {\n @apply hidden;\n }\n }\n}\n\n// button styles\n:host([appearance]) {\n button,\n a {\n @apply border-color-transparent\n border\n border-solid;\n }\n}\n\n:host([kind=\"brand\"]) {\n button,\n a {\n @apply text-color-inverse bg-brand;\n &:hover,\n &:focus {\n @apply bg-brand-hover;\n }\n &:active {\n @apply bg-brand-press;\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n:host([kind=\"danger\"]) {\n button,\n a {\n @apply text-color-inverse bg-danger;\n &:hover,\n &:focus {\n @apply bg-danger-hover;\n }\n &:active {\n @apply bg-danger-press;\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n:host([kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-3;\n &:hover,\n &:focus {\n @apply bg-foreground-2;\n }\n &:active {\n @apply bg-foreground-1;\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-inverse;\n background-color: var(--calcite-color-inverse);\n &:hover,\n &:focus {\n background-color: var(--calcite-color-inverse-hover);\n }\n &:active {\n background-color: var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n// outline\n:host([appearance=\"outline-fill\"]) {\n button,\n a {\n @apply bg-foreground-1 border border-solid;\n box-shadow: inset 0 0 0 1px transparent;\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"brand\"]) {\n button,\n a {\n @apply border-color-brand bg-foreground-1;\n color: theme(\"colors.brand\");\n &:hover {\n @apply border-color-brand-hover;\n color: theme(\"colors.brand-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand-hover);\n }\n &:focus {\n @apply border-color-brand;\n color: theme(\"colors.brand\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n &:active {\n @apply border-color-brand-press;\n color: theme(\"colors.brand-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand-press);\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"danger\"]) {\n button,\n a {\n @apply border-color-danger bg-foreground-1;\n color: theme(\"colors.danger\");\n &:hover {\n @apply border-color-danger-hover;\n color: theme(\"colors.danger-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger-hover);\n }\n &:focus {\n @apply border-color-danger;\n color: theme(\"colors.danger\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger);\n }\n &:active {\n @apply border-color-danger-press;\n color: theme(\"colors.danger-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger-press);\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-1;\n border-color: theme(\"borderColor.color.1\");\n &:hover {\n box-shadow: inset 0 0 0 1px var(--calcite-color-foreground-3);\n }\n &:focus {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n &:active {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-1;\n border-color: var(--calcite-color-inverse);\n &:hover {\n border-color: var(--calcite-color-inverse-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-color-inverse-hover);\n }\n &:focus {\n border-color: var(--calcite-color-inverse);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse);\n }\n &:active {\n border-color: var(--calcite-color-inverse-press);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline\"]) {\n button,\n a {\n @apply border border-solid bg-transparent;\n box-shadow: inset 0 0 0 1px transparent;\n }\n}\n:host([appearance=\"outline\"][kind=\"brand\"]) {\n button,\n a {\n @apply border-color-brand bg-transparent;\n color: theme(\"colors.brand\");\n &:hover {\n @apply border-color-brand-hover;\n color: theme(\"colors.brand-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand-hover);\n }\n &:focus {\n @apply border-color-brand;\n color: theme(\"colors.brand\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n &:active {\n @apply border-color-brand-press;\n color: theme(\"colors.brand-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand-press);\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"danger\"]) {\n button,\n a {\n @apply border-color-danger bg-transparent;\n color: theme(\"colors.danger\");\n &:hover {\n @apply border-color-danger-hover;\n color: theme(\"colors.danger-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger-hover);\n }\n &:focus {\n @apply border-color-danger;\n color: theme(\"colors.danger\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger);\n }\n &:active {\n @apply border-color-danger-press;\n color: theme(\"colors.danger-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger-press);\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-transparent;\n border-color: theme(\"borderColor.color.1\");\n &:hover {\n box-shadow: inset 0 0 0 1px var(--calcite-color-foreground-3);\n }\n &:focus {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n &:active {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-1 bg-transparent;\n border-color: var(--calcite-color-inverse);\n &:hover {\n border-color: var(--calcite-color-inverse-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-color-inverse-hover);\n }\n &:focus {\n border-color: var(--calcite-color-inverse);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse);\n }\n &:active {\n border-color: var(--calcite-color-inverse-press);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n\n:host([appearance=\"outline-fill\"][split-child=\"primary\"]) button,\n:host([appearance=\"outline\"][split-child=\"primary\"]) button {\n border-inline-end-width: 0;\n border-inline-start-width: theme(\"borderWidth.DEFAULT\");\n}\n\n:host([appearance=\"outline-fill\"][split-child=\"secondary\"]) button,\n:host([appearance=\"outline\"][split-child=\"secondary\"]) button {\n border-inline-start-width: 0;\n border-inline-end-width: theme(\"borderWidth.DEFAULT\");\n}\n\n// transparent\n:host([appearance=\"transparent\"]:not(.enable-editing-button)) {\n button,\n a {\n @apply bg-transparent;\n &:hover,\n &:focus {\n background-color: var(--calcite-color-transparent-hover);\n }\n &:active {\n background-color: var(--calcite-color-transparent-press);\n }\n }\n}\n:host([appearance=\"transparent\"][kind=\"brand\"]) {\n button,\n a {\n color: theme(\"colors.brand\");\n &:hover {\n color: theme(\"colors.brand-hover\");\n }\n &:focus {\n color: theme(\"colors.brand\");\n }\n &:active {\n color: theme(\"colors.brand-press\");\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"danger\"]) {\n button,\n a {\n color: theme(\"colors.danger\");\n &:hover {\n color: theme(\"colors.danger-hover\");\n }\n &:focus {\n color: theme(\"colors.danger\");\n }\n &:active {\n color: theme(\"colors.danger-press\");\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"]:not(.cancel-editing-button)) {\n button,\n a,\n calcite-loader {\n @apply text-color-1;\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"].cancel-editing-button) {\n button {\n @apply text-color-3\n border-t-color-input\n border-b-color-input\n border-t\n border-b;\n border-block-style: solid;\n\n &:not(.content--slotted) {\n --calcite-button-padding-y-internal: 0;\n }\n\n &:hover {\n @apply text-color-1;\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"].enable-editing-button) {\n button {\n @apply bg-transparent;\n }\n}\n\n:host(.confirm-changes-button),\n:host(.cancel-editing-button),\n:host(.enable-editing-button) {\n button {\n &:focus {\n outline-offset: -2px; // ensure focus outlines work in Safari\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"inverse\"]) {\n button,\n a,\n calcite-loader {\n @apply text-color-inverse;\n }\n}\n\n// generate button scales (scenario: text exists)\n:host([scale=\"s\"]) button.content--slotted,\n:host([scale=\"s\"]) a.content--slotted {\n @apply text-n2h;\n}\n\n// accommodate for transparent buttons not having borders\n:host([scale=\"s\"][appearance=\"transparent\"]) button.content--slotted,\n:host([scale=\"s\"][appearance=\"transparent\"]) a.content--slotted {\n --calcite-button-padding-x-internal: theme(\"padding.2\");\n}\n\n:host([scale=\"s\"]) button,\n:host([scale=\"s\"]) a {\n --calcite-button-padding-y-internal: 3px;\n}\n\n:host([scale=\"m\"]) button.content--slotted,\n:host([scale=\"m\"]) a.content--slotted {\n --calcite-button-padding-x-internal: 11px;\n @apply text-n1h;\n}\n\n:host([scale=\"m\"]) button,\n:host([scale=\"m\"]) a {\n --calcite-button-padding-y-internal: 7px;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"m\"][appearance=\"transparent\"]) button.content--slotted,\n:host([scale=\"m\"][appearance=\"transparent\"]) a.content--slotted {\n --calcite-button-padding-x-internal: theme(\"padding.3\");\n}\n\n:host([scale=\"l\"]) button.content--slotted,\n:host([scale=\"l\"]) a.content--slotted {\n --calcite-button-padding-x-internal: 15px;\n @apply text-0h;\n}\n\n:host([scale=\"l\"]) {\n .button-padding {\n --calcite-button-padding-x-internal: theme(\"padding.4\");\n --calcite-button-padding-y-internal: 11px;\n }\n //shrink the padding if an icon is present to preserve the height\n .button-padding--shrunk {\n --calcite-button-padding-y-internal: 9px;\n }\n}\n\n// generate fab scales (scenario: 1 icon, ie., should be square)\n:host([scale=\"s\"]) button:not(.content--slotted),\n:host([scale=\"s\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 3px;\n @apply text-0h w-6;\n min-block-size: theme(\"height.6\");\n}\n\n:host([scale=\"m\"]) button:not(.content--slotted),\n:host([scale=\"m\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 7px;\n @apply text-0h w-8;\n min-block-size: theme(\"height.8\");\n}\n:host([scale=\"l\"]) button:not(.content--slotted),\n:host([scale=\"l\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 9px;\n @apply text-0h w-11;\n min-block-size: theme(\"height.11\");\n}\n\n:host(:is([scale=\"s\"], [scale=\"m\"], [scale=\"l\"])[width=\"full\"]) {\n a,\n button {\n &:not(.content--slotted) {\n inline-size: var(--calcite-container-size-content-fluid);\n }\n }\n}\n\n// accommodate for transparent buttons not having borders\n:host([scale=\"l\"][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"l\"][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-y-internal: theme(\"padding[2.5]\");\n}\n\n// generate fab scales (scenario: 2 icons, ie., should not be square)\n:host([scale=\"s\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"s\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 23px;\n @apply text-0h h-6;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"s\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"s\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.6\");\n}\n:host([scale=\"m\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"m\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.8\");\n @apply text-0h h-8;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"m\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"m\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 33px;\n}\n:host([scale=\"l\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"l\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 43px;\n @apply text-0h h-11;\n // add space between when only 2 icons\n .icon--start + .icon--end {\n margin-inline-start: theme(\"margin.4\");\n }\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"l\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"l\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.11\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n forceUpdate,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { findAssociatedForm, FormOwner, resetForm, submitForm } from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { getIconScale } from \"../../utils/component\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Appearance, FlipContext, Kind, Scale, Width } from \"../interfaces\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport { IconNameOrString } from \"../icon/interfaces\";\nimport { isBrowser } from \"../../utils/browser\";\nimport { ButtonMessages } from \"./assets/button/t9n\";\nimport { ButtonAlignment } from \"./interfaces\";\nimport { CSS } from \"./resources\";\n\n/** Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this. */\n/** It is the consumers responsibility to add aria information, rel, target, for links, and any button attributes for form submission */\n\n/** @slot - A slot for adding text. */\n@Component({\n tag: \"calcite-button\",\n styleUrl: \"button.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Button\n implements\n LabelableComponent,\n InteractiveComponent,\n FormOwner,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Global attributes\n //\n //--------------------------------------------------------------------------\n\n @Watch(\"aria-expanded\")\n handleGlobalAttributesChanged(): void {\n forceUpdate(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the alignment of the component's elements. */\n @Prop({ reflect: true }) alignment: ButtonAlignment = \"center\";\n\n /** Specifies the appearance style of the component. */\n @Prop({ reflect: true }) appearance: Extract<\n \"outline\" | \"outline-fill\" | \"solid\" | \"transparent\",\n Appearance\n > = \"solid\";\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /** Specifies the kind of the component, which will apply to the border and background if applicable. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"danger\" | \"inverse\" | \"neutral\", Kind> =\n \"brand\";\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true })\n form: string;\n\n /**\n * Prompts the user to save the linked URL instead of navigating to it. Can be used with or without a value:\n * Without a value, the browser will suggest a filename/extension\n * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download.\n */\n @Prop({ reflect: true }) download: string | boolean = false;\n\n /**\n * Specifies the URL of the linked resource, which can be set as an absolute or relative path.\n */\n @Prop({ reflect: true }) href: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: IconNameOrString;\n\n /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: IconNameOrString;\n\n /**\n * When `true`, a busy indicator is displayed and interaction is disabled.\n */\n @Prop({ reflect: true }) loading = false;\n\n /** Specifies the name of the component on form submission. */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Defines the relationship between the `href` value and the current document.\n *\n * @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)\n */\n @Prop({ reflect: true }) rel: string;\n\n /** When `true`, adds a round style to the component. */\n @Prop({ reflect: true }) round = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies if the component is a child of a `calcite-split-button`. */\n @Prop({ reflect: true }) splitChild: \"primary\" | \"secondary\" | false = false;\n\n /**\n * Specifies where to open the linked document defined in the `href` property.\n *\n * @mdn [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)\n */\n @Prop({ reflect: true }) target: string;\n\n /**\n * Specifies the default behavior of the component.\n *\n * @mdn [type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type)\n */\n @Prop({ reflect: true }) type = \"button\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: ButtonMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<ButtonMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /** referred in t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async connectedCallback(): Promise<void> {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n this.setupTextContentObserver();\n connectLabel(this);\n this.formEl = findAssociatedForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.resizeObserver?.disconnect();\n this.formEl = null;\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n if (isBrowser()) {\n this.updateHasContent();\n await setUpMessages(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n this.setTooltipText();\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n render(): VNode {\n const childElType = this.href ? \"a\" : \"button\";\n const Tag = childElType;\n const loaderNode = this.loading ? (\n <div class={CSS.buttonLoader}>\n <calcite-loader\n class={this.loading ? CSS.loadingIn : CSS.loadingOut}\n inline\n label={this.messages.loading}\n scale={this.scale === \"l\" ? \"m\" : \"s\"}\n />\n </div>\n ) : null;\n const noStartEndIcons = !this.iconStart && !this.iconEnd;\n\n const iconStartEl = (\n <calcite-icon\n class={{ [CSS.icon]: true, [CSS.iconStart]: true }}\n flipRtl={this.iconFlipRtl === \"start\" || this.iconFlipRtl === \"both\"}\n icon={this.iconStart}\n scale={getIconScale(this.scale)}\n />\n );\n\n const iconEndEl = (\n <calcite-icon\n class={{ [CSS.icon]: true, [CSS.iconEnd]: true }}\n flipRtl={this.iconFlipRtl === \"end\" || this.iconFlipRtl === \"both\"}\n icon={this.iconEnd}\n scale={getIconScale(this.scale)}\n />\n );\n\n const contentEl = (\n <span class={CSS.content} ref={(el) => (this.contentEl = el)}>\n <slot />\n </span>\n );\n\n return (\n <InteractiveContainer disabled={this.disabled}>\n <Tag\n aria-disabled={childElType === \"a\" ? toAriaBoolean(this.disabled || this.loading) : null}\n aria-expanded={this.el.getAttribute(\"aria-expanded\")}\n aria-label={!this.loading ? getLabelText(this) : this.messages.loading}\n aria-live=\"polite\"\n class={{\n [CSS.buttonPadding]: noStartEndIcons,\n [CSS.buttonPaddingShrunk]: !noStartEndIcons,\n [CSS.contentSlotted]: this.hasContent,\n [CSS.iconStartEmpty]: !this.iconStart,\n [CSS.iconEndEmpty]: !this.iconEnd,\n }}\n disabled={childElType === \"button\" ? this.disabled || this.loading : null}\n download={\n childElType === \"a\" && (this.download === \"\" || this.download) ? this.download : null\n }\n href={childElType === \"a\" && this.href}\n name={childElType === \"button\" && this.name}\n onClick={this.handleClick}\n ref={this.setChildEl}\n rel={childElType === \"a\" && this.rel}\n tabIndex={this.disabled ? -1 : null}\n target={childElType === \"a\" && this.target}\n title={this.tooltipText}\n type={childElType === \"button\" && this.type}\n >\n {loaderNode}\n {this.iconStart ? iconStartEl : null}\n {this.hasContent ? contentEl : null}\n {this.iconEnd ? iconEndEl : null}\n </Tag>\n </InteractiveContainer>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.childEl?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteButtonElement;\n\n formEl: HTMLFormElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n /** watches for changing text content */\n private mutationObserver = createObserver(\"mutation\", () => this.updateHasContent());\n\n /** the rendered child element */\n private childEl?: HTMLElement;\n\n /** determine if there is slotted content for styling purposes */\n @State() private hasContent = false;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ButtonMessages;\n\n private updateHasContent() {\n const slottedContent = this.el.textContent.trim().length > 0 || this.el.childNodes.length > 0;\n this.hasContent =\n this.el.childNodes.length === 1 && this.el.childNodes[0]?.nodeName === \"#text\"\n ? this.el.textContent?.trim().length > 0\n : slottedContent;\n }\n\n private setupTextContentObserver() {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n }\n\n /** keeps track of the tooltipText */\n @State() tooltipText: string;\n\n /** keep track of the rendered contentEl */\n private contentEl: HTMLSpanElement;\n\n resizeObserver = createObserver(\"resize\", () => this.setTooltipText());\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.handleClick();\n this.setFocus();\n }\n\n // act on a requested or nearby form based on type\n private handleClick = (): void => {\n const { type } = this;\n\n if (this.href) {\n return;\n }\n\n // this.type refers to type attribute, not child element type\n if (type === \"submit\") {\n submitForm(this);\n } else if (type === \"reset\") {\n resetForm(this);\n }\n };\n\n private setTooltipText = (): void => {\n const { contentEl } = this;\n if (contentEl) {\n this.tooltipText =\n contentEl.offsetWidth < contentEl.scrollWidth ? this.el.innerText || null : null;\n }\n };\n\n private setChildEl = (el: HTMLElement): void => {\n this.childEl = el;\n\n if (el) {\n this.resizeObserver?.observe(el);\n }\n };\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-button.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,YAAY,EAAE,wBAAwB;IACtC,OAAO,EAAE,SAAS;IAClB,cAAc,EAAE,kBAAkB;IAClC,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,a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AI,CAAC,QAAQ,EAAE,CAAC;KACjB;;;;;;;;;;;;;","names":["createObserver","submitForm","resetForm","forceUpdate","connectLocalized","connectMessages","connectLabel","findAssociatedForm","disconnectLabel","disconnectLocalized","disconnectMessages","setUpLoadableComponent","isBrowser","setUpMessages","setComponentLoaded","updateHostInteraction","h","getIconScale","InteractiveContainer","toAriaBoolean","getLabelText","componentFocusable","updateMessages"],"sources":["src/components/button/resources.ts","src/components/button/button.scss?tag=calcite-button&encapsulation=shadow","src/components/button/button.tsx"],"sourcesContent":["export const CSS = {\n buttonLoader: \"calcite-button--loader\",\n content: \"content\",\n contentSlotted: \"content--slotted\",\n icon: \"icon\",\n iconStart: \"icon--start\",\n iconEnd: \"icon--end\",\n loadingIn: \"loading-in\",\n loadingOut: \"loading-out\",\n iconStartEmpty: \"icon-start-empty\",\n iconEndEmpty: \"icon-end-empty\",\n buttonPadding: \"button-padding\",\n buttonPaddingShrunk: \"button-padding--shrunk\",\n};\n",":host {\n @apply inline-block w-auto align-middle;\n}\n\n// fab variants\n:host([round]) {\n border-radius: 50px;\n & a,\n & button {\n border-radius: 50px;\n }\n}\n\n// focus styles\n:host button,\n:host a {\n @apply focus-base;\n &:focus {\n @apply focus-outset;\n }\n}\n// button base\n:host button,\n:host a {\n --calcite-button-content-margin-internal: theme(\"margin.2\");\n --calcite-button-padding-x-internal: 7px;\n --calcite-button-padding-y-internal: 3px;\n padding-block: var(--calcite-button-padding-y-internal);\n padding-inline: var(--calcite-button-padding-x-internal);\n @apply font-inherit\n relative\n box-border\n flex\n h-full\n w-full\n cursor-pointer\n select-none\n appearance-none\n items-center\n justify-center\n rounded-none\n border-none\n text-center\n font-normal\n no-underline;\n // include transition from focus\n transition:\n color var(--calcite-animation-timing) ease-in-out,\n background-color var(--calcite-animation-timing) ease-in-out,\n box-shadow var(--calcite-animation-timing) ease-in-out,\n outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;\n &:hover {\n @apply no-underline;\n }\n & span {\n @apply truncate;\n }\n}\n\n.content {\n margin-inline: var(--calcite-button-content-margin-internal);\n}\n\n.icon-start-empty {\n .content {\n margin-inline-start: unset;\n }\n}\n.icon-end-empty {\n .content {\n margin-inline-end: unset;\n }\n}\n\n:host([scale=\"m\"]) {\n button,\n a {\n --calcite-button-content-margin-internal: theme(\"margin.3\");\n }\n}\n:host([scale=\"l\"]) {\n button,\n a {\n --calcite-button-content-margin-internal: theme(\"margin.4\");\n }\n}\n\n// button width\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-2/4;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n// alignment\n:host([alignment=\"center\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-center;\n }\n}\n:host([alignment=\"start\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-start;\n }\n}\n:host([alignment=\"end\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-end;\n }\n}\n:host([alignment*=\"space-between\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-between;\n }\n}\n:host([alignment=\"icon-start-space-between\"]:not([width=\"auto\"])) {\n .icon--start {\n margin-inline-end: auto;\n }\n a,\n button {\n text-align: unset;\n }\n}\n:host([alignment=\"icon-end-space-between\"]:not([width=\"auto\"])) {\n .icon--end {\n margin-inline-start: auto;\n }\n a,\n button {\n text-align: unset;\n }\n}\n\n// only two icons\n:host([alignment=\"center\"]) {\n a:not(.content--slotted),\n button:not(.content--slotted) {\n .icon--start + .icon--end {\n margin-inline-start: var(--calcite-button-content-margin-internal);\n }\n }\n}\n\n.icon {\n @apply relative\n m-0\n inline-flex\n font-normal;\n line-height: inherit;\n}\n\n@include disabled();\n\n@keyframes loader-in {\n 0% {\n inline-size: 0;\n opacity: 0;\n transform: scale(0.5);\n }\n 100% {\n inline-size: 1em;\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes loader-out {\n 0% {\n inline-size: 1em;\n opacity: 1;\n transform: scale(1);\n }\n 100% {\n inline-size: 0;\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n.calcite-button--loader {\n @apply flex;\n calcite-loader {\n @apply m-0;\n }\n}\n\n:host([loading]) {\n // center loading spinner when button has text\n button.content--slotted,\n a.content--slotted {\n .calcite-button--loader calcite-loader {\n margin-inline-end: var(--calcite-button-content-margin-internal);\n }\n }\n // hide icons when loading with no text\n button:not(.content--slotted),\n a:not(.content--slotted) {\n .icon--start,\n .icon--end {\n @apply hidden;\n }\n }\n}\n\n// button styles\n:host([appearance]) {\n button,\n a {\n @apply border-color-transparent\n border\n border-solid;\n }\n}\n\n:host([kind=\"brand\"]) {\n button,\n a {\n @apply text-color-inverse bg-brand;\n &:hover,\n &:focus {\n @apply bg-brand-hover;\n }\n &:active {\n @apply bg-brand-press;\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n:host([kind=\"danger\"]) {\n button,\n a {\n @apply text-color-inverse bg-danger;\n &:hover,\n &:focus {\n @apply bg-danger-hover;\n }\n &:active {\n @apply bg-danger-press;\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n:host([kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-3;\n &:hover,\n &:focus {\n @apply bg-foreground-2;\n }\n &:active {\n @apply bg-foreground-1;\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-inverse;\n background-color: var(--calcite-color-inverse);\n &:hover,\n &:focus {\n background-color: var(--calcite-color-inverse-hover);\n }\n &:active {\n background-color: var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n// outline\n:host([appearance=\"outline-fill\"]) {\n button,\n a {\n @apply bg-foreground-1 border border-solid;\n box-shadow: inset 0 0 0 1px transparent;\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"brand\"]) {\n button,\n a {\n @apply border-color-brand bg-foreground-1;\n color: theme(\"colors.brand\");\n &:hover {\n @apply border-color-brand-hover;\n color: theme(\"colors.brand-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand-hover);\n }\n &:focus {\n @apply border-color-brand;\n color: theme(\"colors.brand\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n &:active {\n @apply border-color-brand-press;\n color: theme(\"colors.brand-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand-press);\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"danger\"]) {\n button,\n a {\n @apply border-color-danger bg-foreground-1;\n color: theme(\"colors.danger\");\n &:hover {\n @apply border-color-danger-hover;\n color: theme(\"colors.danger-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger-hover);\n }\n &:focus {\n @apply border-color-danger;\n color: theme(\"colors.danger\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger);\n }\n &:active {\n @apply border-color-danger-press;\n color: theme(\"colors.danger-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger-press);\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-1;\n border-color: theme(\"borderColor.color.1\");\n &:hover {\n box-shadow: inset 0 0 0 1px var(--calcite-color-foreground-3);\n }\n &:focus {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n &:active {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-1;\n border-color: var(--calcite-color-inverse);\n &:hover {\n border-color: var(--calcite-color-inverse-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-color-inverse-hover);\n }\n &:focus {\n border-color: var(--calcite-color-inverse);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse);\n }\n &:active {\n border-color: var(--calcite-color-inverse-press);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline\"]) {\n button,\n a {\n @apply border border-solid bg-transparent;\n box-shadow: inset 0 0 0 1px transparent;\n }\n}\n:host([appearance=\"outline\"][kind=\"brand\"]) {\n button,\n a {\n @apply border-color-brand bg-transparent;\n color: theme(\"colors.brand\");\n &:hover {\n @apply border-color-brand-hover;\n color: theme(\"colors.brand-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand-hover);\n }\n &:focus {\n @apply border-color-brand;\n color: theme(\"colors.brand\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n &:active {\n @apply border-color-brand-press;\n color: theme(\"colors.brand-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand-press);\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"danger\"]) {\n button,\n a {\n @apply border-color-danger bg-transparent;\n color: theme(\"colors.danger\");\n &:hover {\n @apply border-color-danger-hover;\n color: theme(\"colors.danger-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger-hover);\n }\n &:focus {\n @apply border-color-danger;\n color: theme(\"colors.danger\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger);\n }\n &:active {\n @apply border-color-danger-press;\n color: theme(\"colors.danger-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger-press);\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-transparent;\n border-color: theme(\"borderColor.color.1\");\n &:hover {\n box-shadow: inset 0 0 0 1px var(--calcite-color-foreground-3);\n }\n &:focus {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n &:active {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-1 bg-transparent;\n border-color: var(--calcite-color-inverse);\n &:hover {\n border-color: var(--calcite-color-inverse-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-color-inverse-hover);\n }\n &:focus {\n border-color: var(--calcite-color-inverse);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse);\n }\n &:active {\n border-color: var(--calcite-color-inverse-press);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n\n:host([appearance=\"outline-fill\"][split-child=\"primary\"]) button,\n:host([appearance=\"outline\"][split-child=\"primary\"]) button {\n border-inline-end-width: 0;\n border-inline-start-width: theme(\"borderWidth.DEFAULT\");\n}\n\n:host([appearance=\"outline-fill\"][split-child=\"secondary\"]) button,\n:host([appearance=\"outline\"][split-child=\"secondary\"]) button {\n border-inline-start-width: 0;\n border-inline-end-width: theme(\"borderWidth.DEFAULT\");\n}\n\n// transparent\n:host([appearance=\"transparent\"]:not(.enable-editing-button)) {\n button,\n a {\n @apply bg-transparent;\n &:hover,\n &:focus {\n background-color: var(--calcite-color-transparent-hover);\n }\n &:active {\n background-color: var(--calcite-color-transparent-press);\n }\n }\n}\n:host([appearance=\"transparent\"][kind=\"brand\"]) {\n button,\n a {\n color: theme(\"colors.brand\");\n &:hover {\n color: theme(\"colors.brand-hover\");\n }\n &:focus {\n color: theme(\"colors.brand\");\n }\n &:active {\n color: theme(\"colors.brand-press\");\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"danger\"]) {\n button,\n a {\n color: theme(\"colors.danger\");\n &:hover {\n color: theme(\"colors.danger-hover\");\n }\n &:focus {\n color: theme(\"colors.danger\");\n }\n &:active {\n color: theme(\"colors.danger-press\");\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"]:not(.cancel-editing-button)) {\n button,\n a,\n calcite-loader {\n @apply text-color-1;\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"].cancel-editing-button) {\n button {\n @apply text-color-3\n border-t-color-input\n border-b-color-input\n border-t\n border-b;\n border-block-style: solid;\n\n &:not(.content--slotted) {\n --calcite-button-padding-y-internal: 0;\n }\n\n &:hover {\n @apply text-color-1;\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"].enable-editing-button) {\n button {\n @apply bg-transparent;\n }\n}\n\n:host(.confirm-changes-button),\n:host(.cancel-editing-button),\n:host(.enable-editing-button) {\n button {\n &:focus {\n outline-offset: -2px; // ensure focus outlines work in Safari\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"inverse\"]) {\n button,\n a,\n calcite-loader {\n @apply text-color-inverse;\n }\n}\n\n// generate button scales (scenario: text exists)\n:host([scale=\"s\"]) button.content--slotted,\n:host([scale=\"s\"]) a.content--slotted {\n @apply text-n2h;\n}\n\n// accommodate for transparent buttons not having borders\n:host([scale=\"s\"][appearance=\"transparent\"]) button.content--slotted,\n:host([scale=\"s\"][appearance=\"transparent\"]) a.content--slotted {\n --calcite-button-padding-x-internal: theme(\"padding.2\");\n}\n\n:host([scale=\"s\"]) button,\n:host([scale=\"s\"]) a {\n --calcite-button-padding-y-internal: 3px;\n}\n\n:host([scale=\"m\"]) button.content--slotted,\n:host([scale=\"m\"]) a.content--slotted {\n --calcite-button-padding-x-internal: 11px;\n @apply text-n1h;\n}\n\n:host([scale=\"m\"]) button,\n:host([scale=\"m\"]) a {\n --calcite-button-padding-y-internal: 7px;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"m\"][appearance=\"transparent\"]) button.content--slotted,\n:host([scale=\"m\"][appearance=\"transparent\"]) a.content--slotted {\n --calcite-button-padding-x-internal: theme(\"padding.3\");\n}\n\n:host([scale=\"l\"]) button.content--slotted,\n:host([scale=\"l\"]) a.content--slotted {\n --calcite-button-padding-x-internal: 15px;\n @apply text-0h;\n}\n\n:host([scale=\"l\"]) {\n .button-padding {\n --calcite-button-padding-x-internal: theme(\"padding.4\");\n --calcite-button-padding-y-internal: 11px;\n }\n //shrink the padding if an icon is present to preserve the height\n .button-padding--shrunk {\n --calcite-button-padding-y-internal: 9px;\n }\n}\n\n// generate fab scales (scenario: 1 icon, ie., should be square)\n:host([scale=\"s\"]) button:not(.content--slotted),\n:host([scale=\"s\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 3px;\n @apply text-0h w-6;\n min-block-size: theme(\"height.6\");\n}\n\n:host([scale=\"m\"]) button:not(.content--slotted),\n:host([scale=\"m\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 7px;\n @apply text-0h w-8;\n min-block-size: theme(\"height.8\");\n}\n:host([scale=\"l\"]) button:not(.content--slotted),\n:host([scale=\"l\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 9px;\n @apply text-0h w-11;\n min-block-size: theme(\"height.11\");\n}\n\n:host(:is([scale=\"s\"], [scale=\"m\"], [scale=\"l\"])[width=\"full\"]) {\n a,\n button {\n &:not(.content--slotted) {\n inline-size: var(--calcite-container-size-content-fluid);\n }\n }\n}\n\n// accommodate for transparent buttons not having borders\n:host([scale=\"l\"][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"l\"][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-y-internal: theme(\"padding[2.5]\");\n}\n\n// generate fab scales (scenario: 2 icons, ie., should not be square)\n:host([scale=\"s\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"s\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 23px;\n @apply text-0h h-6;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"s\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"s\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.6\");\n}\n:host([scale=\"m\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"m\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.8\");\n @apply text-0h h-8;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"m\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"m\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 33px;\n}\n:host([scale=\"l\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"l\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 43px;\n @apply text-0h h-11;\n // add space between when only 2 icons\n .icon--start + .icon--end {\n margin-inline-start: theme(\"margin.4\");\n }\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"l\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"l\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.11\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n forceUpdate,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { findAssociatedForm, FormOwner, resetForm, submitForm } from \"../../utils/form\";\nimport {\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { getIconScale } from \"../../utils/component\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Appearance, FlipContext, Kind, Scale, Width } from \"../interfaces\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport { IconNameOrString } from \"../icon/interfaces\";\nimport { isBrowser } from \"../../utils/browser\";\nimport { ButtonMessages } from \"./assets/button/t9n\";\nimport { ButtonAlignment } from \"./interfaces\";\nimport { CSS } from \"./resources\";\n\n/** Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this. */\n/** It is the consumers responsibility to add aria information, rel, target, for links, and any button attributes for form submission */\n\n/** @slot - A slot for adding text. */\n@Component({\n tag: \"calcite-button\",\n styleUrl: \"button.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Button\n implements\n LabelableComponent,\n InteractiveComponent,\n FormOwner,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Global attributes\n //\n //--------------------------------------------------------------------------\n\n @Watch(\"aria-expanded\")\n handleGlobalAttributesChanged(): void {\n forceUpdate(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the alignment of the component's elements. */\n @Prop({ reflect: true }) alignment: ButtonAlignment = \"center\";\n\n /** Specifies the appearance style of the component. */\n @Prop({ reflect: true }) appearance: Extract<\n \"outline\" | \"outline-fill\" | \"solid\" | \"transparent\",\n Appearance\n > = \"solid\";\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /** Specifies the kind of the component, which will apply to the border and background if applicable. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"danger\" | \"inverse\" | \"neutral\", Kind> =\n \"brand\";\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true })\n form: string;\n\n /**\n * Prompts the user to save the linked URL instead of navigating to it. Can be used with or without a value:\n * Without a value, the browser will suggest a filename/extension\n * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download.\n */\n @Prop({ reflect: true }) download: string | boolean = false;\n\n /**\n * Specifies the URL of the linked resource, which can be set as an absolute or relative path.\n */\n @Prop({ reflect: true }) href: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: IconNameOrString;\n\n /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: IconNameOrString;\n\n /**\n * When `true`, a busy indicator is displayed and interaction is disabled.\n */\n @Prop({ reflect: true }) loading = false;\n\n /** Specifies the name of the component on form submission. */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Defines the relationship between the `href` value and the current document.\n *\n * @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)\n */\n @Prop({ reflect: true }) rel: string;\n\n /** When `true`, adds a round style to the component. */\n @Prop({ reflect: true }) round = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies if the component is a child of a `calcite-split-button`. */\n @Prop({ reflect: true }) splitChild: \"primary\" | \"secondary\" | false = false;\n\n /**\n * Specifies where to open the linked document defined in the `href` property.\n *\n * @mdn [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)\n */\n @Prop({ reflect: true }) target: string;\n\n /**\n * Specifies the default behavior of the component.\n *\n * @mdn [type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type)\n */\n @Prop({ reflect: true }) type = \"button\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: ButtonMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<ButtonMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /** referred in t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async connectedCallback(): Promise<void> {\n connectLocalized(this);\n connectMessages(this);\n this.setupTextContentObserver();\n connectLabel(this);\n this.formEl = findAssociatedForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectLabel(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.resizeObserver?.disconnect();\n this.formEl = null;\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n if (isBrowser()) {\n this.updateHasContent();\n await setUpMessages(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n this.setTooltipText();\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n render(): VNode {\n const childElType = this.href ? \"a\" : \"button\";\n const Tag = childElType;\n const loaderNode = this.loading ? (\n <div class={CSS.buttonLoader}>\n <calcite-loader\n class={this.loading ? CSS.loadingIn : CSS.loadingOut}\n inline\n label={this.messages.loading}\n scale={this.scale === \"l\" ? \"m\" : \"s\"}\n />\n </div>\n ) : null;\n const noStartEndIcons = !this.iconStart && !this.iconEnd;\n\n const iconStartEl = (\n <calcite-icon\n class={{ [CSS.icon]: true, [CSS.iconStart]: true }}\n flipRtl={this.iconFlipRtl === \"start\" || this.iconFlipRtl === \"both\"}\n icon={this.iconStart}\n scale={getIconScale(this.scale)}\n />\n );\n\n const iconEndEl = (\n <calcite-icon\n class={{ [CSS.icon]: true, [CSS.iconEnd]: true }}\n flipRtl={this.iconFlipRtl === \"end\" || this.iconFlipRtl === \"both\"}\n icon={this.iconEnd}\n scale={getIconScale(this.scale)}\n />\n );\n\n const contentEl = (\n <span class={CSS.content} ref={(el) => (this.contentEl = el)}>\n <slot />\n </span>\n );\n\n return (\n <InteractiveContainer disabled={this.disabled}>\n <Tag\n aria-disabled={childElType === \"a\" ? toAriaBoolean(this.disabled || this.loading) : null}\n aria-expanded={this.el.getAttribute(\"aria-expanded\")}\n aria-label={!this.loading ? getLabelText(this) : this.messages.loading}\n aria-live=\"polite\"\n class={{\n [CSS.buttonPadding]: noStartEndIcons,\n [CSS.buttonPaddingShrunk]: !noStartEndIcons,\n [CSS.contentSlotted]: this.hasContent,\n [CSS.iconStartEmpty]: !this.iconStart,\n [CSS.iconEndEmpty]: !this.iconEnd,\n }}\n disabled={childElType === \"button\" ? this.disabled || this.loading : null}\n download={\n childElType === \"a\" && (this.download === \"\" || this.download) ? this.download : null\n }\n href={childElType === \"a\" && this.href}\n name={childElType === \"button\" && this.name}\n onClick={this.handleClick}\n ref={this.setChildEl}\n rel={childElType === \"a\" && this.rel}\n tabIndex={this.disabled ? -1 : null}\n target={childElType === \"a\" && this.target}\n title={this.tooltipText}\n type={childElType === \"button\" && this.type}\n >\n {loaderNode}\n {this.iconStart ? iconStartEl : null}\n {this.hasContent ? contentEl : null}\n {this.iconEnd ? iconEndEl : null}\n </Tag>\n </InteractiveContainer>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.childEl?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteButtonElement;\n\n formEl: HTMLFormElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n /** watches for changing text content */\n private mutationObserver = createObserver(\"mutation\", () => this.updateHasContent());\n\n /** the rendered child element */\n private childEl?: HTMLElement;\n\n /** determine if there is slotted content for styling purposes */\n @State() private hasContent = false;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ButtonMessages;\n\n private updateHasContent() {\n const slottedContent = this.el.textContent.trim().length > 0 || this.el.childNodes.length > 0;\n this.hasContent =\n this.el.childNodes.length === 1 && this.el.childNodes[0]?.nodeName === \"#text\"\n ? this.el.textContent?.trim().length > 0\n : slottedContent;\n }\n\n private setupTextContentObserver() {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n }\n\n /** keeps track of the tooltipText */\n @State() tooltipText: string;\n\n /** keep track of the rendered contentEl */\n private contentEl: HTMLSpanElement;\n\n resizeObserver = createObserver(\"resize\", () => this.setTooltipText());\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.handleClick();\n this.setFocus();\n }\n\n // act on a requested or nearby form based on type\n private handleClick = (): void => {\n const { type } = this;\n\n if (this.href) {\n return;\n }\n\n // this.type refers to type attribute, not child element type\n if (type === \"submit\") {\n submitForm(this);\n } else if (type === \"reset\") {\n resetForm(this);\n }\n };\n\n private setTooltipText = (): void => {\n const { contentEl } = this;\n if (contentEl) {\n this.tooltipText =\n contentEl.offsetWidth < contentEl.scrollWidth ? this.el.innerText || null : null;\n }\n };\n\n private setChildEl = (el: HTMLElement): void => {\n this.childEl = el;\n\n if (el) {\n this.resizeObserver?.observe(el);\n }\n };\n}\n"],"version":3}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v2.
|
|
4
|
+
* v2.13.0-next.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const interactive = require('./interactive-
|
|
13
|
-
const loadable = require('./loadable-
|
|
14
|
-
require('./guid-
|
|
15
|
-
require('./resources-
|
|
16
|
-
require('./browser-
|
|
10
|
+
const index = require('./index-4fe70fa3.js');
|
|
11
|
+
const dom = require('./dom-1ff7fb61.js');
|
|
12
|
+
const interactive = require('./interactive-6e051cdc.js');
|
|
13
|
+
const loadable = require('./loadable-6f2dfe5f.js');
|
|
14
|
+
require('./guid-47ff9796.js');
|
|
15
|
+
require('./resources-d2d6a16a.js');
|
|
16
|
+
require('./browser-192fd050.js');
|
|
17
17
|
|
|
18
|
-
const cardGroupCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{
|
|
18
|
+
const cardGroupCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.container{display:flex;flex-wrap:wrap;gap:var(--calcite-card-group-space, var(--calcite-card-group-gap, var(--calcite-size-md)))}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";
|
|
19
19
|
const CalciteCardGroupStyle0 = cardGroupCss;
|
|
20
20
|
|
|
21
21
|
const CardGroup = class {
|
|
@@ -89,18 +89,12 @@ const CardGroup = class {
|
|
|
89
89
|
// Lifecycle
|
|
90
90
|
//
|
|
91
91
|
//--------------------------------------------------------------------------
|
|
92
|
-
connectedCallback() {
|
|
93
|
-
interactive.connectInteractive(this);
|
|
94
|
-
}
|
|
95
92
|
componentDidRender() {
|
|
96
93
|
interactive.updateHostInteraction(this);
|
|
97
94
|
}
|
|
98
95
|
componentDidLoad() {
|
|
99
96
|
loadable.setComponentLoaded(this);
|
|
100
97
|
}
|
|
101
|
-
disconnectedCallback() {
|
|
102
|
-
interactive.disconnectInteractive(this);
|
|
103
|
-
}
|
|
104
98
|
async componentWillLoad() {
|
|
105
99
|
loadable.setUpLoadableComponent(this);
|
|
106
100
|
}
|
|
@@ -155,7 +149,7 @@ const CardGroup = class {
|
|
|
155
149
|
//--------------------------------------------------------------------------
|
|
156
150
|
render() {
|
|
157
151
|
const role = this.selectionMode === "none" || this.selectionMode === "multiple" ? "group" : "radiogroup";
|
|
158
|
-
return (index.h(index.Host, { key: '
|
|
152
|
+
return (index.h(index.Host, { key: 'ba4ffbc827d09b09c6c042519a5f86ce3728d0fe' }, index.h(interactive.InteractiveContainer, { key: '59e07314b287f3703340b99b3ff877a058a59583', disabled: this.disabled }, index.h("div", { key: 'c203fa3c783553a2c8d32e0f8be607b7421674d9', "aria-disabled": dom.toAriaBoolean(this.disabled), "aria-label": this.label, class: "container", role: role }, index.h("slot", { key: 'd58a98005e7d4a45f4b657d260f6af0087cefbde', onSlotchange: this.updateItemsOnSlotChange, ref: (el) => (this.slotRefEl = el) })))));
|
|
159
153
|
}
|
|
160
154
|
get el() { return index.getElement(this); }
|
|
161
155
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-card-group.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;AAAA,MAAM,YAAY,GAAG,uhBAAuhB,CAAC;AAC7iB,+BAAe,YAAY;;MCqCd,SAAS;;;;;;;;;QA6CZ,UAAK,GAA6B,EAAE,CAAC;;;;;;QAkGrC,qCAAgC,GAAG;YACzC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACxC,IAAI,CAAC,mBAAmB,EAAE,CAAC;SAC5B,CAAC;QAEM,4BAAuB,GAAG,CAAC,KAAY;YAC7C,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,MAAyB,CAAC,CAAC;YACzD,IA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,CAAC;oBACtF,MAAM;aACT;SACF;KACF;IAGD,yBAAyB,CAAC,KAAkB;QAC1C,IACE,KAAK,CAAC,YAAY,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;YACtC,CAAE,KAAK,CAAC,MAAiC,CAAC,UAAU,EACpD;YACA,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,KAAK,CAAC,MAAgC,CAAC,CAAC;SACrE;KACF;;;;;;;;;IAYD,MAAM,QAAQ;QACZ,MAAMC,wBAAe,CAAC,IAAI,CAAC,CAAC;QAC5B,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClBC,gBAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SAC7B;KACF;;;;;;IAmED,MAAM;QACJ,MAAM,IAAI,GACR,IAAI,CAAC,aAAa,KAAK,MAAM,IAAI,IAAI,CAAC,aAAa,KAAK,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC;QAE9F,QACEC,QAACC,UAAI,uDACHD,QAACE,gCAAoB,qDAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAC3CF,mFACiBG,iBAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,gBAC/B,IAAI,CAAC,KAAK,EACtB,KAAK,EAAC,WAAW,EACjB,IAAI,EAAE,IAAI,IAEVH,mEACE,YAAY,EAAE,IAAI,CAAC,uBAAuB,EAC1C,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAqB,CAAC,GACrD,CACE,CACe,CAClB,EACP;KACH;;;;;;;;;;","names":["connectInteractive","updateHostInteraction","setComponentLoaded","disconnectInteractive","setUpLoadableComponent","focusElementInGroup","componentLoaded","focusElement","h","Host","InteractiveContainer","toAriaBoolean"],"sources":["src/components/card-group/card-group.scss?tag=calcite-card-group&encapsulation=shadow","src/components/card-group/card-group.tsx"],"sourcesContent":["/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-card-group-gap: Specifies the gap between slotted components.\n */\n\n:host {\n --calcite-card-group-gap: var(--calcite-size-md);\n display: block;\n}\n\n.container {\n display: flex;\n flex-wrap: wrap;\n gap: var(--calcite-card-group-gap);\n}\n\n@include disabled();\n@include base-component();\n","import {\n Component,\n h,\n VNode,\n Prop,\n Element,\n Listen,\n EventEmitter,\n Event,\n Method,\n Watch,\n Host,\n} from \"@stencil/core\";\nimport { focusElement, focusElementInGroup, toAriaBoolean } from \"../../utils/dom\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { SelectionMode } from \"../interfaces\";\nimport {\n LoadableComponent,\n componentLoaded,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\n/**\n * @slot - A slot for adding one or more `calcite-card`s.\n */\n\n@Component({\n tag: \"calcite-card-group\",\n styleUrl: \"card-group.scss\",\n shadow: true,\n})\nexport class CardGroup implements InteractiveComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Element\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteCardGroupElement;\n\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Accessible name for the component. */\n @Prop() label!: string;\n\n /** Specifies the selection mode of the component. */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"multiple\" | \"single\" | \"single-persist\" | \"none\",\n SelectionMode\n > = \"none\";\n\n @Watch(\"selectionMode\")\n onSelectionModeChange(): void {\n this.udpateItemsOnSelectionModeChange();\n }\n\n /**\n * Specifies the component's selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteCardElement[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n private items: HTMLCalciteCardElement[] = [];\n\n private slotRefEl: HTMLSlotElement;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Emits when the component's selection changes and the `selectionMode` is not `none`. */\n @Event({ cancelable: false }) calciteCardGroupSelect: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalCardKeyEvent\")\n calciteInternalCardKeyEventListener(event: KeyboardEvent): void {\n if (event.composedPath().includes(this.el)) {\n const interactiveItems = this.items.filter((el) => !el.disabled);\n switch (event.detail[\"key\"]) {\n case \"ArrowRight\":\n focusElementInGroup(interactiveItems, event.target as HTMLCalciteCardElement, \"next\");\n break;\n case \"ArrowLeft\":\n focusElementInGroup(interactiveItems, event.target as HTMLCalciteCardElement, \"previous\");\n break;\n case \"Home\":\n focusElementInGroup(interactiveItems, event.target as HTMLCalciteCardElement, \"first\");\n break;\n case \"End\":\n focusElementInGroup(interactiveItems, event.target as HTMLCalciteCardElement, \"last\");\n break;\n }\n }\n }\n\n @Listen(\"calciteCardSelect\")\n calciteCardSelectListener(event: CustomEvent): void {\n if (\n event.composedPath().includes(this.el) &&\n !(event.target as HTMLCalciteCardElement).selectable\n ) {\n this.setSelectedItems(true, event.target as HTMLCalciteCardElement);\n }\n }\n\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n\n /**\n * Sets focus on the component's first focusable element.\n */\n @Method()\n async setFocus(): Promise<void> {\n await componentLoaded(this);\n if (!this.disabled) {\n focusElement(this.items[0]);\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private udpateItemsOnSelectionModeChange = (): void => {\n this.updateSlottedItems(this.slotRefEl);\n this.updateSelectedItems();\n };\n\n private updateItemsOnSlotChange = (event: Event): void => {\n this.updateSlottedItems(event.target as HTMLSlotElement);\n this.updateSelectedItems();\n };\n\n private updateSlottedItems = (target: HTMLSlotElement): void => {\n this.items = target\n .assignedElements({ flatten: true })\n .filter((el) => el?.matches(\"calcite-card\")) as HTMLCalciteCardElement[];\n };\n\n private updateSelectedItems = (): void => {\n this.items.forEach((el) => {\n el.selectionMode = this.selectionMode;\n });\n\n this.setSelectedItems(false);\n };\n\n private setSelectedItems = (emit: boolean, elToMatch?: HTMLCalciteCardElement): void => {\n if (elToMatch) {\n this.items.forEach((el) => {\n const matchingEl = elToMatch === el;\n switch (this.selectionMode) {\n case \"multiple\":\n if (matchingEl) {\n el.selected = !el.selected;\n }\n break;\n\n case \"single\":\n el.selected = matchingEl ? !el.selected : false;\n break;\n\n case \"single-persist\":\n el.selected = !!matchingEl;\n break;\n }\n });\n }\n\n this.selectedItems = this.items.filter((el) => el.selected);\n\n if (emit && this.selectionMode !== \"none\" && !this.disabled) {\n this.calciteCardGroupSelect.emit();\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n const role =\n this.selectionMode === \"none\" || this.selectionMode === \"multiple\" ? \"group\" : \"radiogroup\";\n\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-disabled={toAriaBoolean(this.disabled)}\n aria-label={this.label}\n class=\"container\"\n role={role}\n >\n <slot\n onSlotchange={this.updateItemsOnSlotChange}\n ref={(el) => (this.slotRefEl = el as HTMLSlotElement)}\n />\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-card-group.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;AAA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;;;","names":["updateHostInteraction","setComponentLoaded","setUpLoadableComponent","focusElementInGroup","componentLoaded","focusElement","h","Host","InteractiveContainer","toAriaBoolean"],"sources":["src/components/card-group/card-group.scss?tag=calcite-card-group&encapsulation=shadow","src/components/card-group/card-group.tsx"],"sourcesContent":["/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-card-group-gap: [Deprecated] Use --calcite-card-group-space. Specifies the gap between slotted components.\n * @prop --calcite-card-group-space: Specifies the space between slotted components.\n */\n\n:host {\n @apply block;\n}\n\n.container {\n display: flex;\n flex-wrap: wrap;\n gap: var(--calcite-card-group-space, var(--calcite-card-group-gap, var(--calcite-size-md)));\n}\n\n@include base-component();\n@include disabled();\n","import {\n Component,\n h,\n VNode,\n Prop,\n Element,\n Listen,\n EventEmitter,\n Event,\n Method,\n Watch,\n Host,\n} from \"@stencil/core\";\nimport { focusElement, focusElementInGroup, toAriaBoolean } from \"../../utils/dom\";\nimport {\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { SelectionMode } from \"../interfaces\";\nimport {\n LoadableComponent,\n componentLoaded,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\n/**\n * @slot - A slot for adding one or more `calcite-card`s.\n */\n\n@Component({\n tag: \"calcite-card-group\",\n styleUrl: \"card-group.scss\",\n shadow: true,\n})\nexport class CardGroup implements InteractiveComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Element\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteCardGroupElement;\n\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Accessible name for the component. */\n @Prop() label!: string;\n\n /** Specifies the selection mode of the component. */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"multiple\" | \"single\" | \"single-persist\" | \"none\",\n SelectionMode\n > = \"none\";\n\n @Watch(\"selectionMode\")\n onSelectionModeChange(): void {\n this.udpateItemsOnSelectionModeChange();\n }\n\n /**\n * Specifies the component's selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteCardElement[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n private items: HTMLCalciteCardElement[] = [];\n\n private slotRefEl: HTMLSlotElement;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Emits when the component's selection changes and the `selectionMode` is not `none`. */\n @Event({ cancelable: false }) calciteCardGroupSelect: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalCardKeyEvent\")\n calciteInternalCardKeyEventListener(event: KeyboardEvent): void {\n if (event.composedPath().includes(this.el)) {\n const interactiveItems = this.items.filter((el) => !el.disabled);\n switch (event.detail[\"key\"]) {\n case \"ArrowRight\":\n focusElementInGroup(interactiveItems, event.target as HTMLCalciteCardElement, \"next\");\n break;\n case \"ArrowLeft\":\n focusElementInGroup(interactiveItems, event.target as HTMLCalciteCardElement, \"previous\");\n break;\n case \"Home\":\n focusElementInGroup(interactiveItems, event.target as HTMLCalciteCardElement, \"first\");\n break;\n case \"End\":\n focusElementInGroup(interactiveItems, event.target as HTMLCalciteCardElement, \"last\");\n break;\n }\n }\n }\n\n @Listen(\"calciteCardSelect\")\n calciteCardSelectListener(event: CustomEvent): void {\n if (\n event.composedPath().includes(this.el) &&\n !(event.target as HTMLCalciteCardElement).selectable\n ) {\n this.setSelectedItems(true, event.target as HTMLCalciteCardElement);\n }\n }\n\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n\n /**\n * Sets focus on the component's first focusable element.\n */\n @Method()\n async setFocus(): Promise<void> {\n await componentLoaded(this);\n if (!this.disabled) {\n focusElement(this.items[0]);\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private udpateItemsOnSelectionModeChange = (): void => {\n this.updateSlottedItems(this.slotRefEl);\n this.updateSelectedItems();\n };\n\n private updateItemsOnSlotChange = (event: Event): void => {\n this.updateSlottedItems(event.target as HTMLSlotElement);\n this.updateSelectedItems();\n };\n\n private updateSlottedItems = (target: HTMLSlotElement): void => {\n this.items = target\n .assignedElements({ flatten: true })\n .filter((el) => el?.matches(\"calcite-card\")) as HTMLCalciteCardElement[];\n };\n\n private updateSelectedItems = (): void => {\n this.items.forEach((el) => {\n el.selectionMode = this.selectionMode;\n });\n\n this.setSelectedItems(false);\n };\n\n private setSelectedItems = (emit: boolean, elToMatch?: HTMLCalciteCardElement): void => {\n if (elToMatch) {\n this.items.forEach((el) => {\n const matchingEl = elToMatch === el;\n switch (this.selectionMode) {\n case \"multiple\":\n if (matchingEl) {\n el.selected = !el.selected;\n }\n break;\n\n case \"single\":\n el.selected = matchingEl ? !el.selected : false;\n break;\n\n case \"single-persist\":\n el.selected = !!matchingEl;\n break;\n }\n });\n }\n\n this.selectedItems = this.items.filter((el) => el.selected);\n\n if (emit && this.selectionMode !== \"none\" && !this.disabled) {\n this.calciteCardGroupSelect.emit();\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n const role =\n this.selectionMode === \"none\" || this.selectionMode === \"multiple\" ? \"group\" : \"radiogroup\";\n\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-disabled={toAriaBoolean(this.disabled)}\n aria-label={this.label}\n class=\"container\"\n role={role}\n >\n <slot\n onSlotchange={this.updateItemsOnSlotChange}\n ref={(el) => (this.slotRefEl = el as HTMLSlotElement)}\n />\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v2.
|
|
4
|
+
* v2.13.0-next.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const locale = require('./locale-
|
|
13
|
-
const t9n = require('./t9n-
|
|
14
|
-
const loadable = require('./loadable-
|
|
15
|
-
const interactive = require('./interactive-
|
|
16
|
-
const key = require('./key-
|
|
17
|
-
require('./guid-
|
|
18
|
-
require('./resources-
|
|
19
|
-
require('./observers-
|
|
20
|
-
require('./browser-
|
|
10
|
+
const index = require('./index-4fe70fa3.js');
|
|
11
|
+
const dom = require('./dom-1ff7fb61.js');
|
|
12
|
+
const locale = require('./locale-38c1927e.js');
|
|
13
|
+
const t9n = require('./t9n-ab4fd9b6.js');
|
|
14
|
+
const loadable = require('./loadable-6f2dfe5f.js');
|
|
15
|
+
const interactive = require('./interactive-6e051cdc.js');
|
|
16
|
+
const key = require('./key-c3b3fd7e.js');
|
|
17
|
+
require('./guid-47ff9796.js');
|
|
18
|
+
require('./resources-d2d6a16a.js');
|
|
19
|
+
require('./observers-498f2676.js');
|
|
20
|
+
require('./browser-192fd050.js');
|
|
21
21
|
|
|
22
22
|
const CSS = {
|
|
23
23
|
container: "container",
|
|
@@ -49,7 +49,7 @@ const ICONS = {
|
|
|
49
49
|
unselectedSingle: "circle",
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
const cardCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;max-inline-size:100
|
|
52
|
+
const cardCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;max-inline-size:100%}.content-wrapper{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border:var(--calcite-border-width-sm) solid var(--calcite-card-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-card-corner-radius, var(--calcite-corner-radius-sharp));background-color:var(--calcite-card-background-color, var(--calcite-color-foreground-1));box-shadow:var(--calcite-card-shadow, var(--calcite-shadow-none));pointer-events:none}::slotted(*){pointer-events:auto}:host(:not([selectable])) .content-wrapper:not(.non-interactive){outline-color:transparent}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .content-wrapper *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header{display:flex;flex-direction:row;align-items:flex-start}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:var(--calcite-spacing-md);padding-block-start:var(--calcite-spacing-xxs);padding-block-end:var(--calcite-spacing-md)}.header-text-container{display:flex;inline-size:100%;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem}.header-text-container:not(:only-child){padding-inline-end:0.125rem}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{block-size:auto;font-size:var(--calcite-font-size--2);line-height:1.375}.has-slotted-content{padding:0.75rem}:host([selected]) .content-wrapper{box-shadow:inset 0 -4px 0 0 var(--calcite-card-accent-color-selected, var(--calcite-color-brand))}:host([selectable]) .header{padding-inline-end:var(--calcite-spacing-xxxl)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=heading]::slotted(*),*::slotted([slot=heading]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=description]::slotted(*),*::slotted([slot=description]){margin:0px;margin-block-start:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper-deprecated{pointer-events:auto;position:absolute;inset-block-start:var(--calcite-spacing-sm);inset-inline-end:var(--calcite-spacing-sm);margin:0;padding:0;color:var(--calcite-card-selection-color, var(--calcite-color-text-3))}.checkbox-wrapper-deprecated:hover{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}.checkbox-wrapper-deprecated:active{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press))}.checkbox-wrapper{pointer-events:auto;margin:0.5rem;cursor:pointer;padding:0.5rem;outline-color:transparent;display:flex;align-items:center;justify-items:center;color:var(--calcite-card-selection-color, var(--calcite-color-text-3))}.checkbox-wrapper:hover{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}.checkbox-wrapper:active{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press))}.checkbox-wrapper calcite-icon{pointer-events:none}:host([selected]) .checkbox-wrapper-deprecated,:host([selected]) .checkbox-wrapper{color:var(--calcite-card-accent-color-selected, var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand)))}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper-deprecated,:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper-deprecated,:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press));color:var(--calcite-card-accent-color-selected, var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand)))}.thumbnail-wrapper{display:flex}.content-wrapper.inline{flex-direction:row}.content-wrapper.inline>.container{inline-size:60%}.content-wrapper.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.content-wrapper.inline slot[name=thumbnail]::slotted(img),.content-wrapper.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";
|
|
53
53
|
const CalciteCardStyle0 = cardCss;
|
|
54
54
|
|
|
55
55
|
const Card = class {
|
|
@@ -144,7 +144,6 @@ const Card = class {
|
|
|
144
144
|
//
|
|
145
145
|
// --------------------------------------------------------------------------
|
|
146
146
|
connectedCallback() {
|
|
147
|
-
interactive.connectInteractive(this);
|
|
148
147
|
locale.connectLocalized(this);
|
|
149
148
|
t9n.connectMessages(this);
|
|
150
149
|
}
|
|
@@ -155,7 +154,6 @@ const Card = class {
|
|
|
155
154
|
interactive.updateHostInteraction(this);
|
|
156
155
|
}
|
|
157
156
|
disconnectedCallback() {
|
|
158
|
-
interactive.disconnectInteractive(this);
|
|
159
157
|
locale.disconnectLocalized(this);
|
|
160
158
|
t9n.disconnectMessages(this);
|
|
161
159
|
}
|
|
@@ -207,10 +205,10 @@ const Card = class {
|
|
|
207
205
|
: this.selectionMode !== "none"
|
|
208
206
|
? "radio"
|
|
209
207
|
: undefined;
|
|
210
|
-
return (index.h(index.Host, { key: '
|
|
208
|
+
return (index.h(index.Host, { key: 'cc6fb557df0c34c078ff67adb1ae92be52e71293' }, index.h(interactive.InteractiveContainer, { key: '270320cb6e070661fea9bc509ba2c2a2a4f9ab72', disabled: this.disabled }, index.h("div", { key: 'd16bffb557e6aa57a957dc76e95e64575ea69db1', "aria-checked": this.selectionMode !== "none" ? dom.toAriaBoolean(this.selected) : undefined, "aria-disabled": this.disabled, "aria-label": this.label, class: { [CSS.contentWrapper]: true, inline: thumbnailInline }, onClick: this.cardBodyClickHandler, onKeyDown: this.keyDownHandler, ref: (el) => (this.containerEl = el), role: role, tabIndex: !this.selectable || this.disabled ? 0 : -1 }, this.loading ? (index.h("div", { "aria-live": "polite", class: "calcite-card-loader-container" }, index.h("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), index.h("section", { key: 'd9c348b0564a7233f07d6f6f149a5d697c0e5d49', "aria-busy": dom.toAriaBoolean(this.loading), class: { [CSS.container]: true } }, this.renderHeader(), index.h("div", { key: '8b263696e0fd40609fe7dd66b557afaa66ee25ee', class: {
|
|
211
209
|
[CSS.cardContent]: true,
|
|
212
210
|
[CSS.hasSlottedContent]: this.hasContent,
|
|
213
|
-
} }, index.h("slot", { key: '
|
|
211
|
+
} }, index.h("slot", { key: '49314c12404a66c681b93a8f3e7c56669b995498', onSlotchange: this.handleDefaultSlotChange })), this.renderFooter()), !thumbnailStart && this.renderThumbnail()))));
|
|
214
212
|
}
|
|
215
213
|
static get assetsDirs() { return ["assets"]; }
|
|
216
214
|
get el() { return index.getElement(this); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-card.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,iBAAiB;IACjC,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,eAAe,EAAE,kBAAkB;IACnC,yBAAyB,EAAE,6BAA6B;IACxD,gBAAgB,EAAE,mBAAmB;IACrC,mBAAmB,EAAE,uBAAuB;IAC5C,WAAW,EAAE,cAAc;IAC3B,iBAAiB,EAAE,qBAAqB;CACzC,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,YAAY;IACvB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,QAAQ,EAAE,gBAAgB;IAC1B,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,UAAU;IAC1B,gBAAgB,EAAE,QAAQ;CAClB;;AC9BV,MAAM,OAAO,GAAG,ioNAAioN,CAAC;AAClpN,0BAAe,OAAO;;MCyDT,IAAI;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,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,GAAG,IAAI,EAAE,IAC9E,IAAI,CAAC,YAAY,EAAE,EACpBJ,kEACE,KAAK,EAAE;gBACL,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI;gBACvB,CAAC,GAAG,CAAC,iBAAiB,GAAG,IAAI,CAAC,UAAU;aACzC,IAEDA,mEAAM,YAAY,EAAE,IAAI,CAAC,uBAAuB,GAAI,CAChD,EACL,IAAI,CAAC,YAAY,EAAE,CACZ,EACT,CAAC,cAAc,IAAI,IAAI,CAAC,eAAe,EAAE,CACtC,CACe,CAClB,EACP;KACH;;;;;;;;;;;;","names":["slotChangeHasAssignedElement","isActivationKey","componentFocusable","connectInteractive","connectLocalized","connectMessages","setComponentLoaded","updateHostInteraction","disconnectInteractive","disconnectLocalized","disconnectMessages","setUpLoadableComponent","setUpMessages","updateMessages","h","getSlotted","Host","InteractiveContainer","toAriaBoolean"],"sources":["src/components/card/resources.ts","src/components/card/card.scss?tag=calcite-card&encapsulation=shadow","src/components/card/card.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n contentWrapper: \"content-wrapper\",\n header: \"header\",\n footer: \"footer\",\n heading: \"heading\",\n description: \"description\",\n checkboxWrapper: \"checkbox-wrapper\",\n checkboxWrapperDeprecated: \"checkbox-wrapper-deprecated\",\n thumbnailWrapper: \"thumbnail-wrapper\",\n headerTextContainer: \"header-text-container\",\n cardContent: \"card-content\",\n hasSlottedContent: \"has-slotted-content\",\n};\n\nexport const SLOTS = {\n thumbnail: \"thumbnail\",\n heading: \"heading\",\n description: \"description\",\n footerStart: \"footer-start\",\n footerEnd: \"footer-end\",\n title: \"title\",\n subtitle: \"subtitle\",\n};\n\nexport const ICONS = {\n selected: \"check-square-f\",\n unselected: \"square\",\n selectedSingle: \"circle-f\",\n unselectedSingle: \"circle\",\n} as const;\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-card-background-color: Specifies the background color of the component.\n * @prop --calcite-card-border-color: Specifies the border color of the component.\n * @prop --calcite-card-shadow: Specifies the shadow of the component.\n * @prop --calcite-card-corner-radius: Specifies the corner radius of the component.\n * @prop --calcite-card-accent-color-selected: Specifies the accent color of the component when `selected`.\n * @prop --calcite-card-selection-background-color: Specifies the background color of the component's selection element.\n * @prop --calcite-card-selection-background-color-hover: Specifies the background color of the component's selection element when hovered.\n * @prop --calcite-card-selection-background-color-active: Specifies the background color of the component's selection element when active.\n * @prop --calcite-card-selection-background-color-selected: Specifies the icon color of the component's selection element when `selected`.\n * @prop --calcite-card-selection-icon-color: Specifies the icon color of the component's selection element.\n * @prop --calcite-card-selection-icon-color-hover: Specifies the icon color of the component's selection element when hovered.\n * @prop --calcite-card-selection-icon-color-selected: Specifies the icon color of the component's selection element when `selected`.\n *\n */\n\n:host {\n @apply block max-w-full;\n --calcite-card-corner-radius: var(--calcite-corner-radius-sharp);\n --calcite-card-background-color: var(--calcite-color-foreground-1);\n --calcite-card-border-color: var(--calcite-color-border-3);\n --calcite-card-shadow: var(--calcite-shadow-none);\n --calcite-card-accent-color-selected: var(--calcite-color-brand);\n --calcite-card-selection-background-color: transparent;\n --calcite-card-selection-background-color-hover: var(--calcite-color-transparent-hover);\n --calcite-card-selection-background-color-active: var(--calcite-color-transparent-press);\n --calcite-card-selection-background-color-selected: transparent;\n --calcite-card-selection-icon-color: var(--calcite-color-text-3);\n --calcite-card-selection-icon-color-hover: var(--calcite-color-text-2);\n --calcite-card-selection-icon-color-selected: var(--calcite-color-brand);\n}\n\n.content-wrapper {\n @apply relative\n flex\n h-full\n flex-col\n justify-between\n overflow-hidden;\n border: var(--calcite-border-width-sm) solid var(--calcite-card-border-color);\n border-radius: var(--calcite-card-corner-radius);\n background-color: var(--calcite-card-background-color);\n box-shadow: var(--calcite-card-shadow);\n pointer-events: none;\n}\n\n::slotted(*) {\n @apply pointer-events-auto;\n}\n\n:host(:not([selectable])) {\n .content-wrapper {\n &:not(.non-interactive) {\n @apply focus-base;\n }\n &:not(.non-interactive):focus {\n @apply focus-outset;\n }\n }\n}\n\n.container {\n @apply relative flex flex-auto flex-col;\n}\n\n:host([loading]) .content-wrapper *:not(calcite-loader):not(.calcite-card-loader-container) {\n @apply pointer-events-none;\n opacity: $calcite-opacity-0;\n}\n\n:host([loading]) .calcite-card-loader-container {\n @apply absolute inset-0 flex items-center;\n}\n\n.header {\n @apply flex flex-row items-start;\n}\n\n.footer {\n @apply flex mt-auto flex-row content-between justify-between;\n padding-inline: var(--calcite-spacing-md);\n padding-block-start: var(--calcite-spacing-xxs);\n padding-block-end: var(--calcite-spacing-md);\n}\n\n.header-text-container {\n @apply flex flex-col px-3 py-2 w-full justify-center;\n &:not(:only-child) {\n @apply pr-0.5;\n }\n}\n\n.footer {\n @apply mt-auto flex-row content-between\n justify-between\n px-3\n pt-1\n pb-3;\n}\n\n.card-content {\n @apply h-auto text-n2-wrap;\n}\n\n.has-slotted-content {\n @apply p-3;\n}\n\n:host([selected]) .content-wrapper {\n box-shadow: inset 0 -4px 0 0 var(--calcite-card-accent-color-selected);\n}\n\n:host([selectable]) .header {\n padding-inline-end: var(--calcite-spacing-xxxl);\n}\n\n@include slotted(\"title\", \"*\") {\n @apply text-color-1\n text-n1-wrap\n m-0\n font-medium;\n}\n\n@include slotted(\"subtitle\", \"*\") {\n @apply text-color-2\n text-n2-wrap\n m-0 mt-0.5\n font-normal;\n}\n\n@include slotted(\"heading\", \"*\") {\n @apply text-color-1\n text-n1-wrap\n m-0\n font-medium;\n}\n\n@include slotted(\"description\", \"*\") {\n @apply text-color-2\n text-n2-wrap\n m-0 mt-0.5\n font-normal;\n}\n\n@include slotted(\"thumbnail\", \"img\") {\n @apply min-w-full max-w-full;\n}\n\n@include slotted(\"footer-start\", \"*\") {\n @apply text-n2-wrap self-center;\n margin-inline-end: auto;\n}\n\n@include slotted(\"footer-end\", \"*\") {\n @apply text-n2-wrap self-center;\n}\n\n.checkbox-wrapper-deprecated {\n @apply absolute pointer-events-auto;\n inset-block-start: var(--calcite-spacing-sm);\n inset-inline-end: var(--calcite-spacing-sm);\n margin: 0;\n padding: 0;\n}\n\n.checkbox-wrapper {\n @apply m-2 p-2 focus-base cursor-pointer pointer-events-auto;\n background-color: var(--calcite-card-selection-background-color);\n display: flex;\n align-items: center;\n justify-items: center;\n --calcite-icon-color: var(--calcite-card-selection-icon-color);\n &:hover {\n background-color: var(--calcite-card-selection-background-color-hover);\n --calcite-icon-color: var(--calcite-card-selection-icon-color-hover);\n }\n &:active {\n background-color: var(--calcite-card-selection-background-color-active);\n }\n & calcite-icon {\n pointer-events: none;\n }\n}\n\n:host([selected]) .checkbox-wrapper {\n --calcite-icon-color: var(--calcite-card-selection-icon-color-selected);\n background-color: var(--calcite-card-selection-background-color-selected);\n &:hover {\n background-color: var(--calcite-card-selection-background-color-hover);\n }\n &:active {\n background-color: var(--calcite-card-selection-background-color-active);\n }\n}\n\n:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper {\n background-color: var(--calcite-card-selection-background-color-hover);\n --calcite-icon-color: var(--calcite-card-selection-icon-color-hover);\n}\n\n:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper {\n background-color: var(--calcite-card-selection-background-color-active);\n --calcite-icon-color: var(--calcite-card-selection-icon-color-selected);\n}\n\n.thumbnail-wrapper {\n @apply flex;\n}\n\n.content-wrapper.inline {\n @apply flex-row;\n\n & > .container {\n @apply w-3/5;\n }\n & > .thumbnail-wrapper {\n @apply items-start w-2/5;\n }\n\n @include slotted(\"thumbnail\", \"img\") {\n @apply w-full;\n }\n}\n\nslot[name=\"footer-start\"]::slotted(*),\nslot[name=\"footer-end\"]::slotted(*) {\n @apply flex gap-1;\n}\n\n@include base-component();\n@include disabled();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { getSlotted, slotChangeHasAssignedElement, toAriaBoolean } from \"../../utils/dom\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { LogicalFlowPosition, SelectionMode } from \"../interfaces\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { IconNameOrString } from \"../icon/interfaces\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\nimport { CardMessages } from \"./assets/card/t9n\";\n\n/**\n * @slot - A slot for adding content.\n * @slot title - [Deprecated] use `heading` instead. A slot for adding a heading.\n * @slot subtitle - [Deprecated] use `description` instead. A slot for adding a description.\n * @slot thumbnail - A slot for adding a thumbnail.\n * @slot heading - A slot for adding a heading.\n * @slot description - A slot for adding a description.\n * @slot footer-start - A slot for adding a leading footer.\n * @slot footer-end - A slot for adding a trailing footer.\n */\n\n@Component({\n tag: \"calcite-card\",\n styleUrl: \"card.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Card\n implements InteractiveComponent, LoadableComponent, LocalizedComponent, T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, a busy indicator is displayed. */\n @Prop({ reflect: true }) loading = false;\n\n /** Sets the placement of the thumbnail defined in the `thumbnail` slot. */\n @Prop({ reflect: true }) thumbnailPosition: LogicalFlowPosition = \"block-start\";\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /**\n * When `true`, the component is selectable.\n *\n * @deprecated use `selectionMode` property on a parent `calcite-card-group` instead.\n */\n @Prop({ reflect: true }) selectable = false;\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: CardMessages;\n\n /**\n * This internal property, managed by a containing `calcite-card-group`, is\n * conditionally set based on the `selectionMode` of the parent\n *\n * @internal\n */\n @Prop() selectionMode: Extract<\"multiple\" | \"single\" | \"single-persist\" | \"none\", SelectionMode> =\n \"none\";\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<CardMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the deprecated `selectable` is true, or `selectionMode` set on parent `calcite-card-group` is not `none` and the component is selected. */\n @Event({ cancelable: false }) calciteCardSelect: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalCardKeyEvent: EventEmitter<KeyboardEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n if (!this.disabled) {\n this.containerEl?.focus();\n }\n }\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteCardElement;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: CardMessages;\n\n @State() private hasContent = false;\n\n private containerEl: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private handleDefaultSlotChange = (event: Event): void => {\n this.hasContent = slotChangeHasAssignedElement(event);\n };\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (event.target === this.containerEl && !this.selectable && !this.disabled) {\n if (isActivationKey(event.key) && this.selectionMode !== \"none\") {\n this.calciteCardSelect.emit();\n event.preventDefault();\n } else {\n switch (event.key) {\n case \"ArrowRight\":\n case \"ArrowLeft\":\n case \"Home\":\n case \"End\":\n this.calciteInternalCardKeyEvent.emit(event);\n event.preventDefault();\n break;\n }\n }\n }\n };\n\n private cardBodyClickHandler = (event: MouseEvent): void => {\n const isFromScreenReader = event.target === this.containerEl;\n if (isFromScreenReader && !this.selectable && !this.disabled && this.selectionMode !== \"none\") {\n this.calciteCardSelect.emit();\n }\n };\n\n private renderCheckboxDeprecated(): VNode {\n return (\n <calcite-label class={CSS.checkboxWrapperDeprecated}>\n <calcite-checkbox\n checked={this.selected}\n label={this.messages.select}\n onClick={this.selectCardDeprecated}\n onKeyDown={this.cardSelectKeyDownDeprecated}\n />\n </calcite-label>\n );\n }\n\n private cardSelectKeyDownDeprecated = (event: KeyboardEvent): void => {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.selectCardDeprecated();\n event.preventDefault();\n break;\n }\n };\n\n private selectCardDeprecated = (): void => {\n this.selected = !this.selected;\n this.calciteCardSelect.emit();\n };\n\n private cardSelectClick = (event): void => {\n if (!this.disabled) {\n event.preventDefault();\n this.calciteCardSelect.emit();\n this.setFocus();\n }\n };\n\n private renderThumbnail(): VNode {\n return getSlotted(this.el, SLOTS.thumbnail) ? (\n <section class={CSS.thumbnailWrapper}>\n <slot name={SLOTS.thumbnail} />\n </section>\n ) : null;\n }\n\n private renderSelectionIcon(): VNode {\n const icon: IconNameOrString =\n this.selectionMode === \"multiple\" && this.selected\n ? ICONS.selected\n : this.selectionMode === \"multiple\"\n ? ICONS.unselected\n : this.selected\n ? ICONS.selectedSingle\n : ICONS.unselectedSingle;\n\n return (\n <div class={CSS.checkboxWrapper} onPointerDown={this.cardSelectClick} tabIndex={-1}>\n <calcite-icon icon={icon} scale=\"s\" />\n </div>\n );\n }\n\n private renderHeader(): VNode {\n const { el } = this;\n const heading = getSlotted(el, SLOTS.heading);\n const description = getSlotted(el, SLOTS.description);\n const hasHeader = heading || description;\n const subtitle = getSlotted(el, SLOTS.subtitle);\n const title = getSlotted(el, SLOTS.title);\n const hasDeprecatedHeader = subtitle || title;\n return hasHeader || hasDeprecatedHeader ? (\n <header class={CSS.header}>\n {this.selectable ? this.renderCheckboxDeprecated() : null}\n <div class={CSS.headerTextContainer}>\n <slot key=\"heading-slot\" name={SLOTS.heading} />\n <slot key=\"description-slot\" name={SLOTS.description} />\n <slot key=\"deprecated-title-slot\" name={SLOTS.title} />\n <slot key=\"deprecated-subtitle-slot\" name={SLOTS.subtitle} />\n </div>\n {this.selectionMode !== \"none\" && this.renderSelectionIcon()}\n </header>\n ) : null;\n }\n\n private renderFooter(): VNode {\n const { el } = this;\n const startFooter = getSlotted(el, SLOTS.footerStart);\n const endFooter = getSlotted(el, SLOTS.footerEnd);\n\n const hasFooter = startFooter || endFooter;\n return hasFooter ? (\n <footer class={CSS.footer}>\n <slot name={SLOTS.footerStart} />\n <slot name={SLOTS.footerEnd} />\n </footer>\n ) : null;\n }\n\n render(): VNode {\n const thumbnailInline = this.thumbnailPosition.startsWith(\"inline\");\n const thumbnailStart = this.thumbnailPosition.endsWith(\"start\");\n const role =\n this.selectionMode === \"multiple\"\n ? \"checkbox\"\n : this.selectionMode !== \"none\"\n ? \"radio\"\n : undefined;\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-checked={this.selectionMode !== \"none\" ? toAriaBoolean(this.selected) : undefined}\n aria-disabled={this.disabled}\n aria-label={this.label}\n class={{ [CSS.contentWrapper]: true, inline: thumbnailInline }}\n onClick={this.cardBodyClickHandler}\n onKeyDown={this.keyDownHandler}\n ref={(el) => (this.containerEl = el)}\n role={role}\n tabIndex={!this.selectable || this.disabled ? 0 : -1}\n >\n {this.loading ? (\n <div aria-live=\"polite\" class=\"calcite-card-loader-container\">\n <calcite-loader label={this.messages.loading} />\n </div>\n ) : null}\n {thumbnailStart && this.renderThumbnail()}\n <section aria-busy={toAriaBoolean(this.loading)} class={{ [CSS.container]: true }}>\n {this.renderHeader()}\n <div\n class={{\n [CSS.cardContent]: true,\n [CSS.hasSlottedContent]: this.hasContent,\n }}\n >\n <slot onSlotchange={this.handleDefaultSlotChange} />\n </div>\n {this.renderFooter()}\n </section>\n {!thumbnailStart && this.renderThumbnail()}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-card.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,iBAAiB;IACjC,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,eAAe,EAAE,kBAAkB;IACnC,yBAAyB,EAAE,6BAA6B;IACxD,gBAAgB,EAAE,mBAAmB;IACrC,mBAAmB,EAAE,uBAAuB;IAC5C,WAAW,EAAE,cAAc;IAC3B,iBAAiB,EAAE,qBAAqB;CACzC,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B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AAG,CAAC,CAAC,IAEnD,IAAI,CAAC,OAAO,IACXJ,8BAAe,QAAQ,EAAC,KAAK,EAAC,+BAA+B,IAC3DA,4BAAgB,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,GAAI,CAC5C,IACJ,IAAI,EACP,cAAc,IAAI,IAAI,CAAC,eAAe,EAAE,EACzCA,mFAAoBI,iBAAa,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,GAAG,IAAI,EAAE,IAC9E,IAAI,CAAC,YAAY,EAAE,EACpBJ,kEACE,KAAK,EAAE;gBACL,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI;gBACvB,CAAC,GAAG,CAAC,iBAAiB,GAAG,IAAI,CAAC,UAAU;aACzC,IAEDA,mEAAM,YAAY,EAAE,IAAI,CAAC,uBAAuB,GAAI,CAChD,EACL,IAAI,CAAC,YAAY,EAAE,CACZ,EACT,CAAC,cAAc,IAAI,IAAI,CAAC,eAAe,EAAE,CACtC,CACe,CAClB,EACP;KACH;;;;;;;;;;;;","names":["slotChangeHasAssignedElement","isActivationKey","componentFocusable","connectLocalized","connectMessages","setComponentLoaded","updateHostInteraction","disconnectLocalized","disconnectMessages","setUpLoadableComponent","setUpMessages","updateMessages","h","getSlotted","Host","InteractiveContainer","toAriaBoolean"],"sources":["src/components/card/resources.ts","src/components/card/card.scss?tag=calcite-card&encapsulation=shadow","src/components/card/card.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n contentWrapper: \"content-wrapper\",\n header: \"header\",\n footer: \"footer\",\n heading: \"heading\",\n description: \"description\",\n checkboxWrapper: \"checkbox-wrapper\",\n checkboxWrapperDeprecated: \"checkbox-wrapper-deprecated\",\n thumbnailWrapper: \"thumbnail-wrapper\",\n headerTextContainer: \"header-text-container\",\n cardContent: \"card-content\",\n hasSlottedContent: \"has-slotted-content\",\n};\n\nexport const SLOTS = {\n thumbnail: \"thumbnail\",\n heading: \"heading\",\n description: \"description\",\n footerStart: \"footer-start\",\n footerEnd: \"footer-end\",\n title: \"title\",\n subtitle: \"subtitle\",\n};\n\nexport const ICONS = {\n selected: \"check-square-f\",\n unselected: \"square\",\n selectedSingle: \"circle-f\",\n unselectedSingle: \"circle\",\n} as const;\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-card-accent-color-selected: Specifies the accent color of the component when `selected`.\n * @prop --calcite-card-background-color: Specifies the background color of the component.\n * @prop --calcite-card-border-color: Specifies the border color of the component.\n * @prop --calcite-card-corner-radius: Specifies the corner radius of the component.\n * @prop --calcite-card-selection-background-color-active: [Deprecated] Use --calcite-card-selection-background-color-press. Specifies the background color of the component's selection element when active.\n * @prop --calcite-card-selection-background-color-hover: Specifies the background color of the component's selection element when hovered.\n * @prop --calcite-card-selection-background-color-press: Specifies the background color of the component's selection element when active.\n * @prop --calcite-card-selection-background-color-selected: [Deprecated] Use --calcite-card-background-color. Specifies the icon color of the component's selection element when `selected`.\n * @prop --calcite-card-selection-background-color: [Deprecated] Use --calcite-card-background-color. Specifies the background color of the component's selection element.\n * @prop --calcite-card-selection-color-hover: Specifies the color of the component's selection element when hovered or focused.\n * @prop --calcite-card-selection-color: Specifies the color of the component's selection element.\n * @prop --calcite-card-selection-icon-color-hover: [Deprecated] Use --calcite-card-selection-color-hover. Specifies the icon color of the component's selection element when hovered.\n * @prop --calcite-card-selection-icon-color-selected: [Deprecated] Use --calcite-card-accent-color-selected. Specifies the icon color of the component's selection element when `selected`.\n * @prop --calcite-card-selection-icon-color: [Deprecated] Use --calcite-card-selection-color. Specifies the icon color of the component's selection element.\n * @prop --calcite-card-shadow: Specifies the shadow of the component.\n *\n */\n\n:host {\n @apply block max-w-full;\n}\n\n.content-wrapper {\n @apply relative\n flex\n h-full\n flex-col\n justify-between\n overflow-hidden;\n border: var(--calcite-border-width-sm) solid var(--calcite-card-border-color, var(--calcite-color-border-3));\n border-radius: var(--calcite-card-corner-radius, var(--calcite-corner-radius-sharp));\n background-color: var(--calcite-card-background-color, var(--calcite-color-foreground-1));\n box-shadow: var(--calcite-card-shadow, var(--calcite-shadow-none));\n pointer-events: none;\n}\n\n::slotted(*) {\n @apply pointer-events-auto;\n}\n\n:host(:not([selectable])) {\n .content-wrapper {\n &:not(.non-interactive) {\n @apply focus-base;\n }\n &:not(.non-interactive):focus {\n @apply focus-outset;\n }\n }\n}\n\n.container {\n @apply relative flex flex-auto flex-col;\n}\n\n:host([loading]) .content-wrapper *:not(calcite-loader):not(.calcite-card-loader-container) {\n @apply pointer-events-none;\n opacity: $calcite-opacity-0;\n}\n\n:host([loading]) .calcite-card-loader-container {\n @apply absolute inset-0 flex items-center;\n}\n\n.header {\n @apply flex flex-row items-start;\n}\n\n.footer {\n @apply flex mt-auto flex-row content-between justify-between;\n padding-inline: var(--calcite-spacing-md);\n padding-block-start: var(--calcite-spacing-xxs);\n padding-block-end: var(--calcite-spacing-md);\n}\n\n.header-text-container {\n @apply flex flex-col px-3 py-2 w-full justify-center;\n &:not(:only-child) {\n @apply pr-0.5;\n }\n}\n\n.footer {\n @apply mt-auto flex-row content-between\n justify-between\n px-3\n pt-1\n pb-3;\n}\n\n.card-content {\n @apply h-auto text-n2-wrap;\n}\n\n.has-slotted-content {\n @apply p-3;\n}\n\n:host([selected]) .content-wrapper {\n box-shadow: inset 0 -4px 0 0 var(--calcite-card-accent-color-selected, var(--calcite-color-brand));\n}\n\n:host([selectable]) .header {\n padding-inline-end: var(--calcite-spacing-xxxl);\n}\n\n@include slotted(\"title\", \"*\") {\n @apply text-color-1\n text-n1-wrap\n m-0\n font-medium;\n}\n\n@include slotted(\"subtitle\", \"*\") {\n @apply text-color-2\n text-n2-wrap\n m-0 mt-0.5\n font-normal;\n}\n\n@include slotted(\"heading\", \"*\") {\n @apply text-color-1\n text-n1-wrap\n m-0\n font-medium;\n}\n\n@include slotted(\"description\", \"*\") {\n @apply text-color-2\n text-n2-wrap\n m-0 mt-0.5\n font-normal;\n}\n\n@include slotted(\"thumbnail\", \"img\") {\n @apply min-w-full max-w-full;\n}\n\n@include slotted(\"footer-start\", \"*\") {\n @apply text-n2-wrap self-center;\n margin-inline-end: auto;\n}\n\n@include slotted(\"footer-end\", \"*\") {\n @apply text-n2-wrap self-center;\n}\n\n// deprecated\n.checkbox-wrapper-deprecated {\n @apply absolute pointer-events-auto;\n inset-block-start: var(--calcite-spacing-sm);\n inset-inline-end: var(--calcite-spacing-sm);\n margin: 0;\n padding: 0;\n color: var(--calcite-card-selection-color, var(--calcite-color-text-3));\n\n &:hover {\n background-color: var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));\n color: var(\n --calcite-card-selection-color-hover,\n var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2))\n );\n }\n &:active {\n background-color: var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press));\n }\n}\n\n.checkbox-wrapper {\n @apply m-2 p-2 focus-base cursor-pointer pointer-events-auto;\n display: flex;\n align-items: center;\n justify-items: center;\n color: var(--calcite-card-selection-color, var(--calcite-color-text-3));\n\n &:hover {\n background-color: var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));\n color: var(\n --calcite-card-selection-color-hover,\n var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2))\n );\n }\n &:active {\n background-color: var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press));\n }\n & calcite-icon {\n pointer-events: none;\n }\n}\n\n:host([selected]) {\n .checkbox-wrapper-deprecated,\n .checkbox-wrapper {\n color: var(\n --calcite-card-accent-color-selected,\n var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand))\n );\n }\n}\n\n:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus {\n .checkbox-wrapper-deprecated,\n .checkbox-wrapper {\n background-color: var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));\n color: var(\n --calcite-card-selection-color-hover,\n var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2))\n );\n }\n}\n\n:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus {\n .checkbox-wrapper-deprecated,\n .checkbox-wrapper {\n background-color: var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press));\n color: var(\n --calcite-card-accent-color-selected,\n var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand))\n );\n }\n}\n/* end deprecated */\n\n.thumbnail-wrapper {\n @apply flex;\n}\n\n.content-wrapper.inline {\n @apply flex-row;\n\n & > .container {\n @apply w-3/5;\n }\n & > .thumbnail-wrapper {\n @apply items-start w-2/5;\n }\n\n @include slotted(\"thumbnail\", \"img\") {\n @apply w-full;\n }\n}\n\nslot[name=\"footer-start\"]::slotted(*),\nslot[name=\"footer-end\"]::slotted(*) {\n @apply flex gap-1;\n}\n\n@include base-component();\n@include disabled();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { getSlotted, slotChangeHasAssignedElement, toAriaBoolean } from \"../../utils/dom\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { LogicalFlowPosition, SelectionMode } from \"../interfaces\";\nimport {\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { IconNameOrString } from \"../icon/interfaces\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\nimport { CardMessages } from \"./assets/card/t9n\";\n\n/**\n * @slot - A slot for adding content.\n * @slot title - [Deprecated] use `heading` instead. A slot for adding a heading.\n * @slot subtitle - [Deprecated] use `description` instead. A slot for adding a description.\n * @slot thumbnail - A slot for adding a thumbnail.\n * @slot heading - A slot for adding a heading.\n * @slot description - A slot for adding a description.\n * @slot footer-start - A slot for adding a leading footer.\n * @slot footer-end - A slot for adding a trailing footer.\n */\n\n@Component({\n tag: \"calcite-card\",\n styleUrl: \"card.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Card\n implements InteractiveComponent, LoadableComponent, LocalizedComponent, T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, a busy indicator is displayed. */\n @Prop({ reflect: true }) loading = false;\n\n /** Sets the placement of the thumbnail defined in the `thumbnail` slot. */\n @Prop({ reflect: true }) thumbnailPosition: LogicalFlowPosition = \"block-start\";\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /**\n * When `true`, the component is selectable.\n *\n * @deprecated use `selectionMode` property on a parent `calcite-card-group` instead.\n */\n @Prop({ reflect: true }) selectable = false;\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: CardMessages;\n\n /**\n * This internal property, managed by a containing `calcite-card-group`, is\n * conditionally set based on the `selectionMode` of the parent\n *\n * @internal\n */\n @Prop() selectionMode: Extract<\"multiple\" | \"single\" | \"single-persist\" | \"none\", SelectionMode> =\n \"none\";\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<CardMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the deprecated `selectable` is true, or `selectionMode` set on parent `calcite-card-group` is not `none` and the component is selected. */\n @Event({ cancelable: false }) calciteCardSelect: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalCardKeyEvent: EventEmitter<KeyboardEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n if (!this.disabled) {\n this.containerEl?.focus();\n }\n }\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteCardElement;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: CardMessages;\n\n @State() private hasContent = false;\n\n private containerEl: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private handleDefaultSlotChange = (event: Event): void => {\n this.hasContent = slotChangeHasAssignedElement(event);\n };\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (event.target === this.containerEl && !this.selectable && !this.disabled) {\n if (isActivationKey(event.key) && this.selectionMode !== \"none\") {\n this.calciteCardSelect.emit();\n event.preventDefault();\n } else {\n switch (event.key) {\n case \"ArrowRight\":\n case \"ArrowLeft\":\n case \"Home\":\n case \"End\":\n this.calciteInternalCardKeyEvent.emit(event);\n event.preventDefault();\n break;\n }\n }\n }\n };\n\n private cardBodyClickHandler = (event: MouseEvent): void => {\n const isFromScreenReader = event.target === this.containerEl;\n if (isFromScreenReader && !this.selectable && !this.disabled && this.selectionMode !== \"none\") {\n this.calciteCardSelect.emit();\n }\n };\n\n private renderCheckboxDeprecated(): VNode {\n return (\n <calcite-label class={CSS.checkboxWrapperDeprecated}>\n <calcite-checkbox\n checked={this.selected}\n label={this.messages.select}\n onClick={this.selectCardDeprecated}\n onKeyDown={this.cardSelectKeyDownDeprecated}\n />\n </calcite-label>\n );\n }\n\n private cardSelectKeyDownDeprecated = (event: KeyboardEvent): void => {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.selectCardDeprecated();\n event.preventDefault();\n break;\n }\n };\n\n private selectCardDeprecated = (): void => {\n this.selected = !this.selected;\n this.calciteCardSelect.emit();\n };\n\n private cardSelectClick = (event): void => {\n if (!this.disabled) {\n event.preventDefault();\n this.calciteCardSelect.emit();\n this.setFocus();\n }\n };\n\n private renderThumbnail(): VNode {\n return getSlotted(this.el, SLOTS.thumbnail) ? (\n <section class={CSS.thumbnailWrapper}>\n <slot name={SLOTS.thumbnail} />\n </section>\n ) : null;\n }\n\n private renderSelectionIcon(): VNode {\n const icon: IconNameOrString =\n this.selectionMode === \"multiple\" && this.selected\n ? ICONS.selected\n : this.selectionMode === \"multiple\"\n ? ICONS.unselected\n : this.selected\n ? ICONS.selectedSingle\n : ICONS.unselectedSingle;\n\n return (\n <div class={CSS.checkboxWrapper} onPointerDown={this.cardSelectClick} tabIndex={-1}>\n <calcite-icon icon={icon} scale=\"s\" />\n </div>\n );\n }\n\n private renderHeader(): VNode {\n const { el } = this;\n const heading = getSlotted(el, SLOTS.heading);\n const description = getSlotted(el, SLOTS.description);\n const hasHeader = heading || description;\n const subtitle = getSlotted(el, SLOTS.subtitle);\n const title = getSlotted(el, SLOTS.title);\n const hasDeprecatedHeader = subtitle || title;\n return hasHeader || hasDeprecatedHeader ? (\n <header class={CSS.header}>\n {this.selectable ? this.renderCheckboxDeprecated() : null}\n <div class={CSS.headerTextContainer}>\n <slot key=\"heading-slot\" name={SLOTS.heading} />\n <slot key=\"description-slot\" name={SLOTS.description} />\n <slot key=\"deprecated-title-slot\" name={SLOTS.title} />\n <slot key=\"deprecated-subtitle-slot\" name={SLOTS.subtitle} />\n </div>\n {this.selectionMode !== \"none\" && this.renderSelectionIcon()}\n </header>\n ) : null;\n }\n\n private renderFooter(): VNode {\n const { el } = this;\n const startFooter = getSlotted(el, SLOTS.footerStart);\n const endFooter = getSlotted(el, SLOTS.footerEnd);\n\n const hasFooter = startFooter || endFooter;\n return hasFooter ? (\n <footer class={CSS.footer}>\n <slot name={SLOTS.footerStart} />\n <slot name={SLOTS.footerEnd} />\n </footer>\n ) : null;\n }\n\n render(): VNode {\n const thumbnailInline = this.thumbnailPosition.startsWith(\"inline\");\n const thumbnailStart = this.thumbnailPosition.endsWith(\"start\");\n const role =\n this.selectionMode === \"multiple\"\n ? \"checkbox\"\n : this.selectionMode !== \"none\"\n ? \"radio\"\n : undefined;\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-checked={this.selectionMode !== \"none\" ? toAriaBoolean(this.selected) : undefined}\n aria-disabled={this.disabled}\n aria-label={this.label}\n class={{ [CSS.contentWrapper]: true, inline: thumbnailInline }}\n onClick={this.cardBodyClickHandler}\n onKeyDown={this.keyDownHandler}\n ref={(el) => (this.containerEl = el)}\n role={role}\n tabIndex={!this.selectable || this.disabled ? 0 : -1}\n >\n {this.loading ? (\n <div aria-live=\"polite\" class=\"calcite-card-loader-container\">\n <calcite-loader label={this.messages.loading} />\n </div>\n ) : null}\n {thumbnailStart && this.renderThumbnail()}\n <section aria-busy={toAriaBoolean(this.loading)} class={{ [CSS.container]: true }}>\n {this.renderHeader()}\n <div\n class={{\n [CSS.cardContent]: true,\n [CSS.hasSlottedContent]: this.hasContent,\n }}\n >\n <slot onSlotchange={this.handleDefaultSlotChange} />\n </div>\n {this.renderFooter()}\n </section>\n {!thumbnailStart && this.renderThumbnail()}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|