@esri/calcite-components 2.8.0-next.1 → 2.8.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-001c6de4.entry.js +7 -0
- package/dist/calcite/p-00859caa.js +7 -0
- package/dist/calcite/p-016f9ebd.js +7 -0
- package/dist/calcite/p-0278cfca.js +7 -0
- package/dist/calcite/p-04d52aa6.entry.js +7 -0
- package/dist/calcite/p-04d52aa6.entry.js.map +1 -0
- package/dist/calcite/p-04de09a5.js +7 -0
- package/dist/calcite/p-05e59e9c.js +7 -0
- package/dist/calcite/p-0642d73f.js +7 -0
- package/dist/calcite/p-07928d27.js +7 -0
- package/dist/calcite/p-07efbe2d.js +7 -0
- package/dist/calcite/p-0d10cbea.entry.js +7 -0
- package/dist/calcite/p-0d18acd2.js +7 -0
- package/dist/calcite/p-0fa6ece4.js +7 -0
- package/dist/calcite/p-10482fef.entry.js +7 -0
- package/dist/calcite/p-131f0eea.entry.js +7 -0
- package/dist/calcite/p-131f0eea.entry.js.map +1 -0
- package/dist/calcite/p-135a0ce8.entry.js +7 -0
- package/dist/calcite/p-135a0ce8.entry.js.map +1 -0
- package/dist/calcite/p-158acc6b.js +7 -0
- package/dist/calcite/p-1715843c.js +13 -0
- package/dist/calcite/p-183f5d27.js +7 -0
- package/dist/calcite/p-1988d545.js +7 -0
- package/dist/calcite/p-1d15ffe1.entry.js +7 -0
- package/dist/calcite/p-217396af.entry.js +7 -0
- package/dist/calcite/p-217396af.entry.js.map +1 -0
- package/dist/calcite/p-2362dc5c.js +7 -0
- package/dist/calcite/p-24c9c7d7.entry.js +7 -0
- package/dist/calcite/p-26225051.js +7 -0
- package/dist/calcite/p-264a18c0.js +7 -0
- package/dist/calcite/p-26849b27.entry.js +7 -0
- package/dist/calcite/p-26849b27.entry.js.map +1 -0
- package/dist/calcite/p-26d27337.js +7 -0
- package/dist/calcite/p-278a3008.js +7 -0
- package/dist/calcite/p-28164ad0.js +12 -0
- package/dist/calcite/p-2a6032f9.js +8 -0
- package/dist/calcite/p-2af87985.js +7 -0
- package/dist/calcite/p-31e059e1.js +7 -0
- package/dist/calcite/p-326d91d9.js +7 -0
- package/dist/calcite/p-32d79bed.entry.js +7 -0
- package/dist/calcite/p-32d79bed.entry.js.map +1 -0
- package/dist/calcite/p-346ed5ad.entry.js +7 -0
- package/dist/calcite/p-346ed5ad.entry.js.map +1 -0
- package/dist/calcite/p-38751d76.js +7 -0
- package/dist/calcite/p-398a0f77.js +7 -0
- package/dist/calcite/p-39e84651.entry.js +7 -0
- package/dist/calcite/p-39e84651.entry.js.map +1 -0
- package/dist/calcite/p-39f09b60.js +7 -0
- package/dist/calcite/p-3d6de6e8.js +7 -0
- package/dist/calcite/p-3d99828d.entry.js +7 -0
- package/dist/calcite/p-3f15357e.entry.js +7 -0
- package/dist/calcite/p-3fdde044.js +7 -0
- package/dist/calcite/p-41f51e2a.js +7 -0
- package/dist/calcite/p-44391a32.entry.js +7 -0
- package/dist/calcite/p-44391a32.entry.js.map +1 -0
- package/dist/calcite/p-44e32c65.js +7 -0
- package/dist/calcite/p-44e32c65.js.map +1 -0
- package/dist/calcite/p-4573653c.entry.js +7 -0
- package/dist/calcite/p-4573653c.entry.js.map +1 -0
- package/dist/calcite/p-46680754.js +7 -0
- package/dist/calcite/p-46c2f3ff.js +7 -0
- package/dist/calcite/p-470ddc1f.js +7 -0
- package/dist/calcite/p-4b431c6f.js +7 -0
- package/dist/calcite/p-4b431c6f.js.map +1 -0
- package/dist/calcite/p-4ba04f9c.js +7 -0
- package/dist/calcite/p-4ee5fa14.entry.js +7 -0
- package/dist/calcite/p-4ee5fa14.entry.js.map +1 -0
- package/dist/calcite/p-4f196fc6.js +7 -0
- package/dist/calcite/p-4ff75762.entry.js +7 -0
- package/dist/calcite/p-5137bec2.js +7 -0
- package/dist/calcite/p-51c4f12f.entry.js +7 -0
- package/dist/calcite/p-55d0f8b1.entry.js +7 -0
- package/dist/calcite/p-57e01b0d.entry.js +7 -0
- package/dist/calcite/p-57e01b0d.entry.js.map +1 -0
- package/dist/calcite/p-58949831.js +7 -0
- package/dist/calcite/p-5a7f70ff.js +7 -0
- package/dist/calcite/p-5b55943f.js +7 -0
- package/dist/calcite/p-62abaad9.entry.js +7 -0
- package/dist/calcite/p-62abaad9.entry.js.map +1 -0
- package/dist/calcite/p-664e9917.js +7 -0
- package/dist/calcite/p-6784e29d.entry.js +7 -0
- package/dist/calcite/p-6784e29d.entry.js.map +1 -0
- package/dist/calcite/p-691b506c.entry.js +7 -0
- package/dist/calcite/p-691b506c.entry.js.map +1 -0
- package/dist/calcite/p-69f33aa2.js +7 -0
- package/dist/calcite/p-6c3ae9b0.js +7 -0
- package/dist/calcite/p-719eb7bc.entry.js +7 -0
- package/dist/calcite/p-7651cfce.entry.js +7 -0
- package/dist/calcite/p-7651cfce.entry.js.map +1 -0
- package/dist/calcite/p-7859d12e.entry.js +7 -0
- package/dist/calcite/p-78c39f87.entry.js +7 -0
- package/dist/calcite/p-78c39f87.entry.js.map +1 -0
- package/dist/calcite/p-79db8b88.js +7 -0
- package/dist/calcite/p-7d1269ea.js +7 -0
- package/dist/calcite/p-7d5d1ccc.js +7 -0
- package/dist/calcite/p-7f343c05.entry.js +7 -0
- package/dist/calcite/p-7fea6a18.js +7 -0
- package/dist/calcite/p-7fea6a18.js.map +1 -0
- package/dist/calcite/p-80580021.entry.js +7 -0
- package/dist/calcite/p-80b27fe4.entry.js +7 -0
- package/dist/calcite/p-80d9a9cf.entry.js +7 -0
- package/dist/calcite/p-80d9a9cf.entry.js.map +1 -0
- package/dist/calcite/p-81d8c3e6.entry.js +7 -0
- package/dist/calcite/p-81d8c3e6.entry.js.map +1 -0
- package/dist/calcite/p-844e9548.entry.js +7 -0
- package/dist/calcite/p-8afea1b7.js +7 -0
- package/dist/calcite/p-8b547e48.js +7 -0
- package/dist/calcite/p-8b55aca4.entry.js +7 -0
- package/dist/calcite/p-8b55aca4.entry.js.map +1 -0
- package/dist/calcite/p-902c92d6.entry.js +7 -0
- package/dist/calcite/p-902c92d6.entry.js.map +1 -0
- package/dist/calcite/p-919d62bb.entry.js +7 -0
- package/dist/calcite/p-92c8cee7.entry.js +7 -0
- package/dist/calcite/p-944095db.entry.js +7 -0
- package/dist/calcite/p-944095db.entry.js.map +1 -0
- package/dist/calcite/p-976c8847.entry.js +7 -0
- package/dist/calcite/p-991815a6.entry.js +7 -0
- package/dist/calcite/p-991815a6.entry.js.map +1 -0
- package/dist/calcite/p-99454d76.entry.js +7 -0
- package/dist/calcite/p-99454d76.entry.js.map +1 -0
- package/dist/calcite/p-9aeae016.entry.js +7 -0
- package/dist/calcite/p-9bf8e96f.js +7 -0
- package/dist/calcite/p-9dd7cf2c.js +7 -0
- package/dist/calcite/p-a07c4e01.js +7 -0
- package/dist/calcite/p-a08c2569.entry.js +7 -0
- package/dist/calcite/p-a5ed05ce.entry.js +7 -0
- package/dist/calcite/p-a5ed05ce.entry.js.map +1 -0
- package/dist/calcite/p-a6ba39e7.entry.js +7 -0
- package/dist/calcite/p-a6ba39e7.entry.js.map +1 -0
- package/dist/calcite/p-a8b2e3ad.entry.js +7 -0
- package/dist/calcite/p-a8b2e3ad.entry.js.map +1 -0
- package/dist/calcite/p-a91b3b05.js +7 -0
- package/dist/calcite/p-a9babe58.entry.js +7 -0
- package/dist/calcite/p-a9babe58.entry.js.map +1 -0
- package/dist/calcite/p-ab4e9d62.entry.js +7 -0
- package/dist/calcite/p-ab4e9d62.entry.js.map +1 -0
- package/dist/calcite/p-aba08c28.js +7 -0
- package/dist/calcite/p-ac2cbb35.js +7 -0
- package/dist/calcite/p-ae0b5a40.js +7 -0
- package/dist/calcite/p-ae940e76.js +7 -0
- package/dist/calcite/p-b0850648.entry.js +7 -0
- package/dist/calcite/p-b0d47116.js +7 -0
- package/dist/calcite/p-b4d68ef1.js +7 -0
- package/dist/calcite/p-b62f625b.entry.js +7 -0
- package/dist/calcite/p-b62f625b.entry.js.map +1 -0
- package/dist/calcite/p-b7004122.entry.js +7 -0
- package/dist/calcite/p-b7004122.entry.js.map +1 -0
- package/dist/calcite/p-b7165ebb.js +7 -0
- package/dist/calcite/p-b942594f.entry.js +7 -0
- package/dist/calcite/p-b94e3c79.entry.js +7 -0
- package/dist/calcite/p-ba8077c0.js +7 -0
- package/dist/calcite/p-be9b760e.js +7 -0
- package/dist/calcite/p-c0740706.js +7 -0
- package/dist/calcite/p-c0d115c8.entry.js +7 -0
- package/dist/calcite/p-c1079ce0.js +7 -0
- package/dist/calcite/p-c23c7d67.js +7 -0
- package/dist/calcite/p-c577b5f7.js +7 -0
- package/dist/calcite/p-c8ad8b5c.js +7 -0
- package/dist/calcite/p-c9091452.entry.js +7 -0
- package/dist/calcite/p-cb5cb74b.js +7 -0
- package/dist/calcite/p-cbfb0b44.js +7 -0
- package/dist/calcite/p-cc4d2c88.js +7 -0
- package/dist/calcite/p-ce11be72.js +7 -0
- package/dist/calcite/p-ce1419b6.entry.js +7 -0
- package/dist/calcite/p-ce1419b6.entry.js.map +1 -0
- package/dist/calcite/p-d0281ace.entry.js +7 -0
- package/dist/calcite/p-d0281ace.entry.js.map +1 -0
- package/dist/calcite/p-d0ca43ff.js +7 -0
- package/dist/calcite/p-d2c27b90.js +7 -0
- package/dist/calcite/p-d482e3cc.entry.js +7 -0
- package/dist/calcite/p-d482e3cc.entry.js.map +1 -0
- package/dist/calcite/p-d702cebf.js +7 -0
- package/dist/calcite/p-d702cebf.js.map +1 -0
- package/dist/calcite/p-d7d08570.js +7 -0
- package/dist/calcite/p-d8853b6e.js +7 -0
- package/dist/calcite/p-d9ef99e4.entry.js +7 -0
- package/dist/calcite/p-da7e55a3.js +7 -0
- package/dist/calcite/p-dbfc26d2.entry.js +7 -0
- package/dist/calcite/p-dbfc26d2.entry.js.map +1 -0
- package/dist/calcite/p-deb0d3fd.js +7 -0
- package/dist/calcite/p-e1cd9d68.entry.js +7 -0
- package/dist/calcite/p-e1cd9d68.entry.js.map +1 -0
- package/dist/calcite/p-e3a80db7.js +7 -0
- package/dist/calcite/p-e3f868cd.js +7 -0
- package/dist/calcite/p-e46a4855.entry.js +7 -0
- package/dist/calcite/p-e524855f.js +7 -0
- package/dist/calcite/p-e7236bd0.entry.js +7 -0
- package/dist/calcite/p-e7236bd0.entry.js.map +1 -0
- package/dist/calcite/p-e8bb5e39.entry.js +7 -0
- package/dist/calcite/p-e8e2426b.entry.js +7 -0
- package/dist/calcite/p-e8e2426b.entry.js.map +1 -0
- package/dist/calcite/p-e94d0d79.entry.js +7 -0
- package/dist/calcite/p-e94d0d79.entry.js.map +1 -0
- package/dist/calcite/p-ed488403.js +7 -0
- package/dist/calcite/p-ee1215b7.entry.js +7 -0
- package/dist/calcite/p-ee1215b7.entry.js.map +1 -0
- package/dist/calcite/p-f0e28720.js +7 -0
- package/dist/calcite/p-f1048bed.js +7 -0
- package/dist/calcite/p-f30d67e1.js +7 -0
- package/dist/calcite/p-f389edfb.entry.js +7 -0
- package/dist/calcite/p-f45be9ad.js +7 -0
- package/dist/calcite/p-f64f4440.entry.js +7 -0
- package/dist/calcite/p-f67ef023.entry.js +7 -0
- package/dist/calcite/p-f6a613d5.js +7 -0
- package/dist/calcite/p-f6ca5964.entry.js +7 -0
- package/dist/calcite/p-fbbf3d0e.js +11 -0
- package/dist/calcite/p-fd3d8db5.js +7 -0
- package/dist/calcite/p-fe3db953.js +7 -0
- package/dist/calcite-preset.js +4 -4
- package/dist/calcite-preset.js.map +1 -1
- package/dist/cjs/ExpandToggle-e9ca1162.js +110 -0
- package/dist/cjs/ExpandToggle-e9ca1162.js.map +1 -0
- package/dist/cjs/FloatingArrow-29b5e5c1.js +49 -0
- package/dist/cjs/FloatingArrow-29b5e5c1.js.map +1 -0
- package/dist/cjs/Heading-fdda80db.js +22 -0
- package/dist/cjs/Heading-fdda80db.js.map +1 -0
- package/dist/cjs/Validation-29e1af65.js +18 -0
- package/dist/cjs/Validation-29e1af65.js.map +1 -0
- package/dist/cjs/app-globals-bf09b7d0.js +61 -0
- package/dist/cjs/app-globals-bf09b7d0.js.map +1 -0
- package/dist/cjs/ar-4d8661df.js +106 -0
- package/dist/cjs/ar-4d8661df.js.map +1 -0
- package/dist/cjs/array-6708291c.js +14 -0
- package/dist/cjs/array-6708291c.js.map +1 -0
- package/dist/cjs/bg-d8aade13.js +84 -0
- package/dist/cjs/bg-d8aade13.js.map +1 -0
- package/dist/cjs/browser-51429bbb.js +20 -0
- package/dist/cjs/browser-51429bbb.js.map +1 -0
- package/dist/cjs/bs-9bee23f4.js +53 -0
- package/dist/cjs/bs-9bee23f4.js.map +1 -0
- package/dist/cjs/ca-da43649d.js +73 -0
- package/dist/cjs/ca-da43649d.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +14 -14
- 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-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +16 -16
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +24 -24
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -17
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-handle.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +10 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-number.cjs.entry.js +43 -35
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +37 -29
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-b5c6a9ff.js +2920 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-b5c6a9ff.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +45 -37
- 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 +9 -9
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +15 -15
- package/dist/cjs/calcite-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-navigation_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-notice.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -14
- 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 +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
- package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -13
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tab_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +34 -26
- package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +22 -23
- package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-3ccc49de.js +30 -0
- package/dist/cjs/component-3ccc49de.js.map +1 -0
- package/dist/cjs/conditionalSlot-17bf4b6c.js +60 -0
- package/dist/cjs/conditionalSlot-17bf4b6c.js.map +1 -0
- package/dist/cjs/core-41367df6.js +22 -0
- package/dist/cjs/core-41367df6.js.map +1 -0
- package/dist/cjs/cs-b2ce9ef6.js +149 -0
- package/dist/cjs/cs-b2ce9ef6.js.map +1 -0
- package/dist/cjs/da-fdd157b6.js +68 -0
- package/dist/cjs/da-fdd157b6.js.map +1 -0
- package/dist/cjs/de-009c9396.js +93 -0
- package/dist/cjs/de-009c9396.js.map +1 -0
- package/dist/cjs/de-at-6351003b.js +92 -0
- package/dist/cjs/de-at-6351003b.js.map +1 -0
- package/dist/cjs/de-ch-2be1b13e.js +92 -0
- package/dist/cjs/de-ch-2be1b13e.js.map +1 -0
- package/dist/cjs/debounce-4cd1c6fa.js +506 -0
- package/dist/cjs/debounce-4cd1c6fa.js.map +1 -0
- package/dist/cjs/dom-bce388db.js +1097 -0
- package/dist/cjs/dom-bce388db.js.map +1 -0
- package/dist/cjs/el-32df5f79.js +68 -0
- package/dist/cjs/el-32df5f79.js.map +1 -0
- package/dist/cjs/en-au-1259ce64.js +68 -0
- package/dist/cjs/en-au-1259ce64.js.map +1 -0
- package/dist/cjs/en-ca-ef5b51cc.js +67 -0
- package/dist/cjs/en-ca-ef5b51cc.js.map +1 -0
- package/dist/cjs/en-gb-4c83da59.js +71 -0
- package/dist/cjs/en-gb-4c83da59.js.map +1 -0
- package/dist/cjs/es-81891e2e.js +68 -0
- package/dist/cjs/es-81891e2e.js.map +1 -0
- package/dist/cjs/es-mx-b5cec366.js +67 -0
- package/dist/cjs/es-mx-b5cec366.js.map +1 -0
- package/dist/cjs/et-663d6aed.js +94 -0
- package/dist/cjs/et-663d6aed.js.map +1 -0
- package/dist/cjs/fi-9752335f.js +117 -0
- package/dist/cjs/fi-9752335f.js.map +1 -0
- package/dist/cjs/filter-c8628b57.js +774 -0
- package/dist/cjs/filter-c8628b57.js.map +1 -0
- package/dist/cjs/floating-ui-3bc0d900.js +2280 -0
- package/dist/cjs/floating-ui-3bc0d900.js.map +1 -0
- package/dist/cjs/focusTrapComponent-83dccc73.js +1020 -0
- package/dist/cjs/focusTrapComponent-83dccc73.js.map +1 -0
- package/dist/cjs/form-1a88aa47.js +333 -0
- package/dist/cjs/form-1a88aa47.js.map +1 -0
- package/dist/cjs/fr-b66d0bb9.js +70 -0
- package/dist/cjs/fr-b66d0bb9.js.map +1 -0
- package/dist/cjs/fr-ch-9a1fd98c.js +68 -0
- package/dist/cjs/fr-ch-9a1fd98c.js.map +1 -0
- package/dist/cjs/guid-158ec463.js +23 -0
- package/dist/cjs/guid-158ec463.js.map +1 -0
- package/dist/cjs/he-67f9493f.js +107 -0
- package/dist/cjs/he-67f9493f.js.map +1 -0
- package/dist/cjs/hi-be2564ee.js +67 -0
- package/dist/cjs/hi-be2564ee.js.map +1 -0
- package/dist/cjs/hr-d75e9453.js +82 -0
- package/dist/cjs/hr-d75e9453.js.map +1 -0
- package/dist/cjs/hu-a98c3792.js +90 -0
- package/dist/cjs/hu-a98c3792.js.map +1 -0
- package/dist/cjs/id-f509b252.js +68 -0
- package/dist/cjs/id-f509b252.js.map +1 -0
- package/dist/cjs/index-336815e8.js +75 -0
- package/dist/cjs/index-336815e8.js.map +1 -0
- package/dist/cjs/index-9ffcd65b.js +2705 -0
- package/dist/cjs/index-9ffcd65b.js.map +1 -0
- package/dist/cjs/index-caab38a7.js +208 -0
- package/dist/cjs/index-caab38a7.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-946e1d24.js +57 -0
- package/dist/cjs/input-946e1d24.js.map +1 -0
- package/dist/cjs/interactive-a214e24a.js +151 -0
- package/dist/cjs/interactive-a214e24a.js.map +1 -0
- package/dist/cjs/it-79272fb7.js +68 -0
- package/dist/cjs/it-79272fb7.js.map +1 -0
- package/dist/cjs/it-ch-117838f0.js +68 -0
- package/dist/cjs/it-ch-117838f0.js.map +1 -0
- package/dist/cjs/ja-7da29005.js +74 -0
- package/dist/cjs/ja-7da29005.js.map +1 -0
- package/dist/cjs/key-a2fb96ef.js +16 -0
- package/dist/cjs/key-a2fb96ef.js.map +1 -0
- package/dist/cjs/ko-6aa72b29.js +74 -0
- package/dist/cjs/ko-6aa72b29.js.map +1 -0
- package/dist/cjs/label-7e2f29f7.js +183 -0
- package/dist/cjs/label-7e2f29f7.js.map +1 -0
- package/dist/cjs/loadable-c3c829fd.js +91 -0
- package/dist/cjs/loadable-c3c829fd.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-813620ea.js +576 -0
- package/dist/cjs/locale-813620ea.js.map +1 -0
- package/dist/cjs/lt-6b5dcd70.js +99 -0
- package/dist/cjs/lt-6b5dcd70.js.map +1 -0
- package/dist/cjs/lv-4e4c8c1b.js +68 -0
- package/dist/cjs/lv-4e4c8c1b.js.map +1 -0
- package/dist/cjs/math-3e2c1ba0.js +57 -0
- package/dist/cjs/math-3e2c1ba0.js.map +1 -0
- package/dist/cjs/mk-ee7ba85f.js +68 -0
- package/dist/cjs/mk-ee7ba85f.js.map +1 -0
- package/dist/cjs/nb-a88e70bf.js +69 -0
- package/dist/cjs/nb-a88e70bf.js.map +1 -0
- package/dist/cjs/nl-298c11f8.js +69 -0
- package/dist/cjs/nl-298c11f8.js.map +1 -0
- package/dist/cjs/observers-f62842f6.js +50 -0
- package/dist/cjs/observers-f62842f6.js.map +1 -0
- package/dist/cjs/openCloseComponent-d6de3bd2.js +89 -0
- package/dist/cjs/openCloseComponent-d6de3bd2.js.map +1 -0
- package/dist/cjs/pl-ea142608.js +116 -0
- package/dist/cjs/pl-ea142608.js.map +1 -0
- package/dist/cjs/pt-025ff6b4.js +69 -0
- package/dist/cjs/pt-025ff6b4.js.map +1 -0
- package/dist/cjs/pt-br-dde71e27.js +67 -0
- package/dist/cjs/pt-br-dde71e27.js.map +1 -0
- package/dist/cjs/resources-50cb60d7.js +26 -0
- package/dist/cjs/resources-50cb60d7.js.map +1 -0
- package/dist/cjs/resources-5251a175.js +23 -0
- package/dist/cjs/resources-5251a175.js.map +1 -0
- package/dist/cjs/resources-77fb1f30.js +26 -0
- package/dist/cjs/resources-77fb1f30.js.map +1 -0
- package/dist/cjs/resources-a2169aa5.js +18 -0
- package/dist/cjs/resources-a2169aa5.js.map +1 -0
- package/dist/cjs/resources-b43a0368.js +414 -0
- package/dist/cjs/resources-b43a0368.js.map +1 -0
- package/dist/cjs/resources-b9b33f0a.js +49 -0
- package/dist/cjs/resources-b9b33f0a.js.map +1 -0
- package/dist/cjs/resources-d97d65eb.js +29 -0
- package/dist/cjs/resources-d97d65eb.js.map +1 -0
- package/dist/cjs/ro-4424a1c9.js +68 -0
- package/dist/cjs/ro-4424a1c9.js.map +1 -0
- package/dist/cjs/ru-9d7f3a94.js +128 -0
- package/dist/cjs/ru-9d7f3a94.js.map +1 -0
- package/dist/cjs/sk-5e8499e4.js +150 -0
- package/dist/cjs/sk-5e8499e4.js.map +1 -0
- package/dist/cjs/sl-5c608487.js +170 -0
- package/dist/cjs/sl-5c608487.js.map +1 -0
- package/dist/cjs/sortableComponent-2b6da7a6.js +2744 -0
- package/dist/cjs/sortableComponent-2b6da7a6.js.map +1 -0
- package/dist/cjs/sr-cdeb57eb.js +103 -0
- package/dist/cjs/sr-cdeb57eb.js.map +1 -0
- package/dist/cjs/sv-44b19f60.js +73 -0
- package/dist/cjs/sv-44b19f60.js.map +1 -0
- package/dist/cjs/t9n-506c50da.js +97 -0
- package/dist/cjs/t9n-506c50da.js.map +1 -0
- package/dist/cjs/th-5c8a3aad.js +67 -0
- package/dist/cjs/th-5c8a3aad.js.map +1 -0
- package/dist/cjs/throttle-984459fb.js +77 -0
- package/dist/cjs/throttle-984459fb.js.map +1 -0
- package/dist/cjs/tr-83dc4f03.js +68 -0
- package/dist/cjs/tr-83dc4f03.js.map +1 -0
- package/dist/cjs/uk-d7382467.js +106 -0
- package/dist/cjs/uk-d7382467.js.map +1 -0
- package/dist/cjs/utils-b33d2b08.js +218 -0
- package/dist/cjs/utils-b33d2b08.js.map +1 -0
- package/dist/cjs/utils-d0d248f9.js +307 -0
- package/dist/cjs/utils-d0d248f9.js.map +1 -0
- package/dist/cjs/vi-13a5b7f5.js +72 -0
- package/dist/cjs/vi-13a5b7f5.js.map +1 -0
- package/dist/cjs/zh-cn-e50c1cb3.js +96 -0
- package/dist/cjs/zh-cn-e50c1cb3.js.map +1 -0
- package/dist/cjs/zh-hk-67dea92d.js +73 -0
- package/dist/cjs/zh-hk-67dea92d.js.map +1 -0
- package/dist/cjs/zh-tw-f32871c3.js +94 -0
- package/dist/cjs/zh-tw-f32871c3.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +6 -6
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
- 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 +7 -7
- package/dist/collection/components/action/action.e2e.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +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.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +6 -6
- package/dist/collection/components/alert/alert.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +6 -6
- package/dist/collection/components/block/block.e2e.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +6 -6
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- 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 +6 -6
- package/dist/collection/components/button/button.e2e.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +6 -6
- package/dist/collection/components/card/card.e2e.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/collection/components/card-group/card-group.e2e.js +1 -1
- package/dist/collection/components/card-group/card-group.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +6 -6
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +7 -7
- package/dist/collection/components/chip/chip.e2e.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +6 -6
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +6 -6
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +6 -6
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +6 -6
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +7 -7
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +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.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +6 -6
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +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/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +6 -6
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +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/input.spec.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +7 -7
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +35 -83
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +6 -7
- package/dist/collection/components/input-message/interfaces.js.map +1 -1
- package/dist/collection/components/input-number/input-number.css +7 -7
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +33 -81
- 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 +7 -7
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +27 -75
- package/dist/collection/components/input-text/input-text.js.map +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +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.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.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.e2e.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +6 -6
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +6 -6
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item/utils.js.map +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +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.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +6 -6
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- 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.e2e.js +1 -1
- 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 +7 -7
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- 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 +6 -6
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- 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 +6 -6
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- 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 +6 -6
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- 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.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +6 -6
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +2 -2
- package/dist/collection/components/pick-list/pick-list.js.map +1 -1
- package/dist/collection/components/pick-list/resources.js +6 -7
- package/dist/collection/components/pick-list/resources.js.map +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +6 -6
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +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.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +6 -6
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +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 +6 -6
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +8 -9
- package/dist/collection/components/resources.js.map +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +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.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +6 -6
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- 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 +6 -6
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +6 -6
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- 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 +7 -7
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +6 -6
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +6 -6
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +7 -7
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +6 -6
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +6 -6
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +6 -6
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +18 -29
- 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.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.e2e.js +1 -1
- package/dist/collection/components/tile-group/tile-group.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +6 -6
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +6 -6
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- 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.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +7 -7
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +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.e2e.js +1 -1
- 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 +7 -7
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/types.js +2 -0
- package/dist/collection/components/types.js.map +1 -0
- package/dist/collection/components/value-list/resources.js +4 -5
- package/dist/collection/components/value-list/resources.js.map +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +2 -2
- 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 +6 -6
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +2 -2
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +2 -2
- 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/bs.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/button.js.map +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion-item.js.map +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-alert.js.map +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block-section.js.map +1 -1
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-block.js.map +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card-group.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-card.js.map +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +2 -2
- package/dist/components/calcite-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-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown-item.js.map +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +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 +1 -1
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list-item.js.map +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +2 -2
- package/dist/components/calcite-menu-item.js.map +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-modal.js.map +1 -1
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-logo.js.map +1 -1
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation-user.js.map +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-notice.js.map +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 +2 -2
- package/dist/components/calcite-pick-list.js.map +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-segmented-control-item.js.map +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- 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 +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-slider.js.map +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +2 -2
- 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 +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 +18 -10
- package/dist/components/calcite-text-area.js.map +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile-select.js.map +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip-manager.js.map +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tip.js.map +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-value-list-item.js.map +1 -1
- package/dist/components/calcite-value-list.js +5 -6
- package/dist/components/calcite-value-list.js.map +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/chip.js +2 -2
- 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.js +2 -2
- package/dist/components/combobox-item.js.map +1 -1
- package/dist/components/combobox.js +2 -2
- 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/core.js +2 -2
- package/dist/components/core.js.map +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-day.js.map +1 -1
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month-header.js.map +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 +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +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 +2 -2
- 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/input-message.js +6 -7
- package/dist/components/input-message.js.map +1 -1
- package/dist/components/input-number.js +31 -23
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +25 -17
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +33 -25
- package/dist/components/input2.js.map +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +2 -2
- 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/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 +3 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/pick-list-item.js.map +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +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 +2 -2
- package/dist/components/radio-button.js.map +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +8 -9
- package/dist/components/resources2.js.map +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +6 -7
- package/dist/components/resources4.js.map +1 -1
- package/dist/components/resources5.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 +2 -2
- 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 +2 -2
- package/dist/components/tab-title.js.map +1 -1
- package/dist/components/tab.js +2 -2
- package/dist/components/tab.js.map +1 -1
- package/dist/components/table-cell.js +2 -2
- package/dist/components/table-cell.js.map +1 -1
- package/dist/components/table-header.js +2 -2
- package/dist/components/table-header.js.map +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/utils3.js.map +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-97d7c2a4.js +102 -0
- package/dist/esm/ExpandToggle-97d7c2a4.js.map +1 -0
- package/dist/esm/FloatingArrow-cf836b02.js +47 -0
- package/dist/esm/FloatingArrow-cf836b02.js.map +1 -0
- package/dist/esm/Heading-340e8250.js +19 -0
- package/dist/esm/Heading-340e8250.js.map +1 -0
- package/dist/esm/Validation-a3e6f6fc.js +16 -0
- package/dist/esm/Validation-a3e6f6fc.js.map +1 -0
- package/dist/esm/app-globals-4a5a81f0.js +59 -0
- package/dist/esm/app-globals-4a5a81f0.js.map +1 -0
- package/dist/esm/ar-2f9683d2.js +104 -0
- package/dist/esm/ar-2f9683d2.js.map +1 -0
- package/dist/esm/array-a30ba1b4.js +12 -0
- package/dist/esm/array-a30ba1b4.js.map +1 -0
- package/dist/esm/bg-1f192cc2.js +82 -0
- package/dist/esm/bg-1f192cc2.js.map +1 -0
- package/dist/esm/browser-6731e452.js +18 -0
- package/dist/esm/browser-6731e452.js.map +1 -0
- package/dist/esm/bs-980b2139.js +51 -0
- package/dist/esm/bs-980b2139.js.map +1 -0
- package/dist/esm/ca-a5e3d1df.js +71 -0
- package/dist/esm/ca-a5e3d1df.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +9 -9
- package/dist/esm/calcite-accordion_2.entry.js.map +1 -1
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js.map +1 -1
- package/dist/esm/calcite-alert.entry.js +14 -14
- package/dist/esm/calcite-alert.entry.js.map +1 -1
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +17 -17
- package/dist/esm/calcite-block_2.entry.js.map +1 -1
- package/dist/esm/calcite-button.entry.js +16 -16
- package/dist/esm/calcite-button.entry.js.map +1 -1
- package/dist/esm/calcite-card-group.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js.map +1 -1
- package/dist/esm/calcite-checkbox.entry.js +13 -13
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-chip.entry.js.map +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +17 -17
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +24 -24
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +17 -17
- package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
- package/dist/esm/calcite-dropdown_3.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +16 -16
- package/dist/esm/calcite-graph_2.entry.js.map +1 -1
- package/dist/esm/calcite-handle.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js.map +1 -1
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +21 -21
- package/dist/esm/calcite-input-message.entry.js +10 -11
- package/dist/esm/calcite-input-message.entry.js.map +1 -1
- package/dist/esm/calcite-input-number.entry.js +43 -35
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +37 -29
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-89968243.js +2916 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-89968243.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +45 -37
- 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 +9 -9
- package/dist/esm/calcite-link.entry.js.map +1 -1
- package/dist/esm/calcite-list_3.entry.js +16 -16
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +11 -11
- package/dist/esm/calcite-menu_2.entry.js.map +1 -1
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +15 -15
- package/dist/esm/calcite-modal.entry.js.map +1 -1
- package/dist/esm/calcite-navigation_3.entry.js +9 -9
- package/dist/esm/calcite-navigation_3.entry.js.map +1 -1
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-notice.entry.js.map +1 -1
- package/dist/esm/calcite-option_3.entry.js +14 -14
- 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 +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +19 -19
- package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +13 -13
- package/dist/esm/calcite-radio-button.entry.js.map +1 -1
- package/dist/esm/calcite-rating.entry.js +16 -16
- package/dist/esm/calcite-rating.entry.js.map +1 -1
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +14 -14
- package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +13 -13
- package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
- package/dist/esm/calcite-switch.entry.js +13 -13
- package/dist/esm/calcite-switch.entry.js.map +1 -1
- package/dist/esm/calcite-tab_4.entry.js +15 -15
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +15 -15
- package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +34 -26
- package/dist/esm/calcite-text-area.entry.js.map +1 -1
- package/dist/esm/calcite-tile-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select_2.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +4 -4
- package/dist/esm/calcite-tip_3.entry.js +13 -13
- package/dist/esm/calcite-tip_3.entry.js.map +1 -1
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +22 -23
- package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-4a5f419e.js +27 -0
- package/dist/esm/component-4a5f419e.js.map +1 -0
- package/dist/esm/conditionalSlot-a33d0b2d.js +57 -0
- package/dist/esm/conditionalSlot-a33d0b2d.js.map +1 -0
- package/dist/esm/core-ef0c8739.js +17 -0
- package/dist/esm/core-ef0c8739.js.map +1 -0
- package/dist/esm/cs-17dbe238.js +147 -0
- package/dist/esm/cs-17dbe238.js.map +1 -0
- package/dist/esm/da-7f12d630.js +66 -0
- package/dist/esm/da-7f12d630.js.map +1 -0
- package/dist/esm/de-4c3c0ac2.js +91 -0
- package/dist/esm/de-4c3c0ac2.js.map +1 -0
- package/dist/esm/de-at-07e82f3a.js +90 -0
- package/dist/esm/de-at-07e82f3a.js.map +1 -0
- package/dist/esm/de-ch-11da3846.js +90 -0
- package/dist/esm/de-ch-11da3846.js.map +1 -0
- package/dist/esm/debounce-9f051032.js +497 -0
- package/dist/esm/debounce-9f051032.js.map +1 -0
- package/dist/esm/dom-ac7b03f1.js +1065 -0
- package/dist/esm/dom-ac7b03f1.js.map +1 -0
- package/dist/esm/el-d3d6b3f9.js +66 -0
- package/dist/esm/el-d3d6b3f9.js.map +1 -0
- package/dist/esm/en-au-42ff9dbf.js +66 -0
- package/dist/esm/en-au-42ff9dbf.js.map +1 -0
- package/dist/esm/en-ca-a18f5f9f.js +65 -0
- package/dist/esm/en-ca-a18f5f9f.js.map +1 -0
- package/dist/esm/en-gb-2d7bdcf7.js +69 -0
- package/dist/esm/en-gb-2d7bdcf7.js.map +1 -0
- package/dist/esm/es-70deac76.js +66 -0
- package/dist/esm/es-70deac76.js.map +1 -0
- package/dist/esm/es-mx-0170f6c8.js +65 -0
- package/dist/esm/es-mx-0170f6c8.js.map +1 -0
- package/dist/esm/et-8b94f064.js +92 -0
- package/dist/esm/et-8b94f064.js.map +1 -0
- package/dist/esm/fi-a6d99a29.js +115 -0
- package/dist/esm/fi-a6d99a29.js.map +1 -0
- package/dist/esm/filter-ffa306d2.js +772 -0
- package/dist/esm/filter-ffa306d2.js.map +1 -0
- package/dist/esm/floating-ui-d3d855f5.js +2272 -0
- package/dist/esm/floating-ui-d3d855f5.js.map +1 -0
- package/dist/esm/focusTrapComponent-ffca59e0.js +1015 -0
- package/dist/esm/focusTrapComponent-ffca59e0.js.map +1 -0
- package/dist/esm/form-9e9a15d9.js +324 -0
- package/dist/esm/form-9e9a15d9.js.map +1 -0
- package/dist/esm/fr-bc92def6.js +68 -0
- package/dist/esm/fr-bc92def6.js.map +1 -0
- package/dist/esm/fr-ch-24e42197.js +66 -0
- package/dist/esm/fr-ch-24e42197.js.map +1 -0
- package/dist/esm/guid-cf5b40ab.js +21 -0
- package/dist/esm/guid-cf5b40ab.js.map +1 -0
- package/dist/esm/he-6faa11c1.js +105 -0
- package/dist/esm/he-6faa11c1.js.map +1 -0
- package/dist/esm/hi-34cf856c.js +65 -0
- package/dist/esm/hi-34cf856c.js.map +1 -0
- package/dist/esm/hr-2d4584b2.js +80 -0
- package/dist/esm/hr-2d4584b2.js.map +1 -0
- package/dist/esm/hu-f5d012ae.js +88 -0
- package/dist/esm/hu-f5d012ae.js.map +1 -0
- package/dist/esm/id-c1b23ae4.js +66 -0
- package/dist/esm/id-c1b23ae4.js.map +1 -0
- package/dist/esm/index-1de02cd5.js +2670 -0
- package/dist/esm/index-1de02cd5.js.map +1 -0
- package/dist/esm/index-679e7eb6.js +206 -0
- package/dist/esm/index-679e7eb6.js.map +1 -0
- package/dist/esm/index-8b19c0fa.js +73 -0
- package/dist/esm/index-8b19c0fa.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-88d42363.js +55 -0
- package/dist/esm/input-88d42363.js.map +1 -0
- package/dist/esm/interactive-e1217b8a.js +146 -0
- package/dist/esm/interactive-e1217b8a.js.map +1 -0
- package/dist/esm/it-90195a0b.js +66 -0
- package/dist/esm/it-90195a0b.js.map +1 -0
- package/dist/esm/it-ch-7d204fb7.js +66 -0
- package/dist/esm/it-ch-7d204fb7.js.map +1 -0
- package/dist/esm/ja-da1f6683.js +72 -0
- package/dist/esm/ja-da1f6683.js.map +1 -0
- package/dist/esm/key-1d16e033.js +13 -0
- package/dist/esm/key-1d16e033.js.map +1 -0
- package/dist/esm/ko-569a262f.js +72 -0
- package/dist/esm/ko-569a262f.js.map +1 -0
- package/dist/esm/label-75766eeb.js +176 -0
- package/dist/esm/label-75766eeb.js.map +1 -0
- package/dist/esm/loadable-5844e162.js +86 -0
- package/dist/esm/loadable-5844e162.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-6432edce.js +563 -0
- package/dist/esm/locale-6432edce.js.map +1 -0
- package/dist/esm/lt-cff89145.js +97 -0
- package/dist/esm/lt-cff89145.js.map +1 -0
- package/dist/esm/lv-1a79a297.js +66 -0
- package/dist/esm/lv-1a79a297.js.map +1 -0
- package/dist/esm/math-f9056ec7.js +51 -0
- package/dist/esm/math-f9056ec7.js.map +1 -0
- package/dist/esm/mk-48e0f95c.js +66 -0
- package/dist/esm/mk-48e0f95c.js.map +1 -0
- package/dist/esm/nb-3e596c85.js +67 -0
- package/dist/esm/nb-3e596c85.js.map +1 -0
- package/dist/esm/nl-b7c373cf.js +67 -0
- package/dist/esm/nl-b7c373cf.js.map +1 -0
- package/dist/esm/observers-42e7a3d3.js +48 -0
- package/dist/esm/observers-42e7a3d3.js.map +1 -0
- package/dist/esm/openCloseComponent-7593a31f.js +87 -0
- package/dist/esm/openCloseComponent-7593a31f.js.map +1 -0
- package/dist/esm/pl-eed55019.js +114 -0
- package/dist/esm/pl-eed55019.js.map +1 -0
- package/dist/esm/pt-br-6d82df04.js +65 -0
- package/dist/esm/pt-br-6d82df04.js.map +1 -0
- package/dist/esm/pt-dd99752c.js +67 -0
- package/dist/esm/pt-dd99752c.js.map +1 -0
- package/dist/esm/resources-0a81787e.js +25 -0
- package/dist/esm/resources-0a81787e.js.map +1 -0
- package/dist/esm/resources-418eab02.js +45 -0
- package/dist/esm/resources-418eab02.js.map +1 -0
- package/dist/esm/resources-4190378a.js +16 -0
- package/dist/esm/resources-4190378a.js.map +1 -0
- package/dist/esm/resources-5892738d.js +386 -0
- package/dist/esm/resources-5892738d.js.map +1 -0
- package/dist/esm/resources-741637ee.js +21 -0
- package/dist/esm/resources-741637ee.js.map +1 -0
- package/dist/esm/resources-a922a513.js +23 -0
- package/dist/esm/resources-a922a513.js.map +1 -0
- package/dist/esm/resources-b9d8a6e3.js +19 -0
- package/dist/esm/resources-b9d8a6e3.js.map +1 -0
- package/dist/esm/ro-b54bf101.js +66 -0
- package/dist/esm/ro-b54bf101.js.map +1 -0
- package/dist/esm/ru-8ef6109a.js +126 -0
- package/dist/esm/ru-8ef6109a.js.map +1 -0
- package/dist/esm/sk-cb96129d.js +148 -0
- package/dist/esm/sk-cb96129d.js.map +1 -0
- package/dist/esm/sl-c929ef3b.js +168 -0
- package/dist/esm/sl-c929ef3b.js.map +1 -0
- package/dist/esm/sortableComponent-39edf3a3.js +2740 -0
- package/dist/esm/sortableComponent-39edf3a3.js.map +1 -0
- package/dist/esm/sr-bef8e0aa.js +101 -0
- package/dist/esm/sr-bef8e0aa.js.map +1 -0
- package/dist/esm/sv-5c76c27a.js +71 -0
- package/dist/esm/sv-5c76c27a.js.map +1 -0
- package/dist/esm/t9n-81302127.js +92 -0
- package/dist/esm/t9n-81302127.js.map +1 -0
- package/dist/esm/th-818d26ae.js +65 -0
- package/dist/esm/th-818d26ae.js.map +1 -0
- package/dist/esm/throttle-08617cdc.js +75 -0
- package/dist/esm/throttle-08617cdc.js.map +1 -0
- package/dist/esm/tr-40d0737d.js +66 -0
- package/dist/esm/tr-40d0737d.js.map +1 -0
- package/dist/esm/uk-9168e2ff.js +104 -0
- package/dist/esm/uk-9168e2ff.js.map +1 -0
- package/dist/esm/utils-c894912a.js +200 -0
- package/dist/esm/utils-c894912a.js.map +1 -0
- package/dist/esm/utils-ecf2903e.js +289 -0
- package/dist/esm/utils-ecf2903e.js.map +1 -0
- package/dist/esm/vi-741e20c8.js +70 -0
- package/dist/esm/vi-741e20c8.js.map +1 -0
- package/dist/esm/zh-cn-a2171387.js +94 -0
- package/dist/esm/zh-cn-a2171387.js.map +1 -0
- package/dist/esm/zh-hk-cbcdf778.js +71 -0
- package/dist/esm/zh-hk-cbcdf778.js.map +1 -0
- package/dist/esm/zh-tw-58393c22.js +92 -0
- package/dist/esm/zh-tw-58393c22.js.map +1 -0
- package/dist/extras/docs-json.json +8 -287
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/input/input.d.ts +1 -20
- package/dist/types/components/input-message/interfaces.d.ts +5 -5
- package/dist/types/components/input-number/input-number.d.ts +1 -20
- package/dist/types/components/input-text/input-text.d.ts +1 -20
- package/dist/types/components/pick-list/pick-list.d.ts +2 -1
- package/dist/types/components/pick-list/resources.d.ts +7 -5
- package/dist/types/components/resources.d.ts +7 -7
- package/dist/types/components/text-area/text-area.d.ts +1 -6
- package/dist/types/components/types.d.ts +4 -0
- package/dist/types/components/value-list/resources.d.ts +5 -3
- package/dist/types/components/value-list/value-list.d.ts +1 -1
- package/dist/types/components.d.ts +0 -100
- package/hydrate/index.js +155 -141
- package/package.json +2 -2
- package/dist/calcite/p-0146170c.entry.js +0 -7
- package/dist/calcite/p-016dde36.js +0 -7
- package/dist/calcite/p-025521bb.entry.js +0 -7
- package/dist/calcite/p-02d62aa4.entry.js +0 -7
- package/dist/calcite/p-05029b60.js +0 -7
- package/dist/calcite/p-06c093bc.entry.js +0 -7
- package/dist/calcite/p-08848e42.js +0 -7
- package/dist/calcite/p-08fca7c0.entry.js +0 -7
- package/dist/calcite/p-095fd239.entry.js +0 -7
- package/dist/calcite/p-095fd239.entry.js.map +0 -1
- package/dist/calcite/p-0d7ca57b.entry.js +0 -7
- package/dist/calcite/p-0d998b81.entry.js +0 -7
- package/dist/calcite/p-0e53a49b.js +0 -7
- package/dist/calcite/p-0ee64a34.js +0 -7
- package/dist/calcite/p-0f24ad8a.js +0 -7
- package/dist/calcite/p-13fc2e57.entry.js +0 -7
- package/dist/calcite/p-13fc2e57.entry.js.map +0 -1
- package/dist/calcite/p-16938678.js +0 -7
- package/dist/calcite/p-197432bd.js +0 -7
- package/dist/calcite/p-1b03b527.js +0 -7
- package/dist/calcite/p-1c8b34ed.entry.js +0 -7
- package/dist/calcite/p-1c8b34ed.entry.js.map +0 -1
- package/dist/calcite/p-1e5b258b.js +0 -7
- package/dist/calcite/p-1e6dcf63.js +0 -7
- package/dist/calcite/p-1e6dcf63.js.map +0 -1
- package/dist/calcite/p-20d61b9d.entry.js +0 -7
- package/dist/calcite/p-20d61b9d.entry.js.map +0 -1
- package/dist/calcite/p-2118466b.entry.js +0 -7
- package/dist/calcite/p-22bc2fdf.js +0 -7
- package/dist/calcite/p-22bc2fdf.js.map +0 -1
- package/dist/calcite/p-2458b0dd.js +0 -7
- package/dist/calcite/p-257f6b8a.js +0 -7
- package/dist/calcite/p-2735bd18.entry.js +0 -7
- package/dist/calcite/p-2735bd18.entry.js.map +0 -1
- package/dist/calcite/p-2761a7f2.js +0 -7
- package/dist/calcite/p-2886f3b7.entry.js +0 -7
- package/dist/calcite/p-2a3dfeaf.js +0 -7
- package/dist/calcite/p-2a3dfeaf.js.map +0 -1
- package/dist/calcite/p-2a4f96a1.entry.js +0 -7
- package/dist/calcite/p-2a4f96a1.entry.js.map +0 -1
- package/dist/calcite/p-2afa6ffa.entry.js +0 -7
- package/dist/calcite/p-2afa6ffa.entry.js.map +0 -1
- package/dist/calcite/p-2b32bd96.js +0 -7
- package/dist/calcite/p-2e222977.entry.js +0 -7
- package/dist/calcite/p-2e222977.entry.js.map +0 -1
- package/dist/calcite/p-2f5471be.js +0 -7
- package/dist/calcite/p-2fad7ec1.js +0 -7
- package/dist/calcite/p-32caab85.entry.js +0 -7
- package/dist/calcite/p-3816af52.js +0 -7
- package/dist/calcite/p-3957d517.js +0 -7
- package/dist/calcite/p-3d0a8ad2.js +0 -7
- package/dist/calcite/p-3d3e0563.entry.js +0 -7
- package/dist/calcite/p-416a6f5f.entry.js +0 -7
- package/dist/calcite/p-4751f58f.js +0 -7
- package/dist/calcite/p-4781876f.js +0 -7
- package/dist/calcite/p-48efc461.js +0 -7
- package/dist/calcite/p-4b5b9800.js +0 -7
- package/dist/calcite/p-4e18a9ca.entry.js +0 -7
- package/dist/calcite/p-4f556291.js +0 -7
- package/dist/calcite/p-4f85fc0e.entry.js +0 -7
- package/dist/calcite/p-518a0b82.entry.js +0 -7
- package/dist/calcite/p-518a0b82.entry.js.map +0 -1
- package/dist/calcite/p-519084ce.js +0 -7
- package/dist/calcite/p-56efe475.entry.js +0 -7
- package/dist/calcite/p-56efe475.entry.js.map +0 -1
- package/dist/calcite/p-57b423bb.entry.js +0 -7
- package/dist/calcite/p-59eccf48.js +0 -7
- package/dist/calcite/p-5d5ab200.entry.js +0 -7
- package/dist/calcite/p-5d5ab200.entry.js.map +0 -1
- package/dist/calcite/p-5dcf1d59.js +0 -7
- package/dist/calcite/p-5e2ba34b.entry.js +0 -7
- package/dist/calcite/p-5e2ba34b.entry.js.map +0 -1
- package/dist/calcite/p-5f6b4498.js +0 -7
- package/dist/calcite/p-60198fdf.js +0 -7
- package/dist/calcite/p-60c275fd.js +0 -7
- package/dist/calcite/p-61beeb57.js +0 -7
- package/dist/calcite/p-65b2fbde.entry.js +0 -7
- package/dist/calcite/p-65b2fbde.entry.js.map +0 -1
- package/dist/calcite/p-66baefd2.entry.js +0 -7
- package/dist/calcite/p-66baefd2.entry.js.map +0 -1
- package/dist/calcite/p-68780402.js +0 -7
- package/dist/calcite/p-68be9703.entry.js +0 -7
- package/dist/calcite/p-68be9703.entry.js.map +0 -1
- package/dist/calcite/p-6a56f22b.js +0 -7
- package/dist/calcite/p-6c8f9df9.js +0 -7
- package/dist/calcite/p-6e251288.entry.js +0 -7
- package/dist/calcite/p-6e251288.entry.js.map +0 -1
- package/dist/calcite/p-6f65c115.js +0 -7
- package/dist/calcite/p-7209caa2.js +0 -7
- package/dist/calcite/p-724cd7a3.js +0 -7
- package/dist/calcite/p-744f5ff2.entry.js +0 -7
- package/dist/calcite/p-75e54722.entry.js +0 -7
- package/dist/calcite/p-76dccaf4.entry.js +0 -7
- package/dist/calcite/p-77fba2ed.js +0 -7
- package/dist/calcite/p-78f9f7ce.entry.js +0 -7
- package/dist/calcite/p-78f9f7ce.entry.js.map +0 -1
- package/dist/calcite/p-79e43315.entry.js +0 -7
- package/dist/calcite/p-79e43315.entry.js.map +0 -1
- package/dist/calcite/p-7cb83332.js +0 -7
- package/dist/calcite/p-8328d29c.js +0 -7
- package/dist/calcite/p-85931c71.js +0 -8
- package/dist/calcite/p-865b858c.js +0 -7
- package/dist/calcite/p-871cb935.js +0 -7
- package/dist/calcite/p-88b28478.js +0 -7
- package/dist/calcite/p-8a21e962.js +0 -7
- package/dist/calcite/p-8a27d5d8.entry.js +0 -7
- package/dist/calcite/p-8cb04b6c.entry.js +0 -7
- package/dist/calcite/p-8cb04b6c.entry.js.map +0 -1
- package/dist/calcite/p-8d951a40.js +0 -7
- package/dist/calcite/p-8eb94fef.entry.js +0 -7
- package/dist/calcite/p-92160eda.entry.js +0 -7
- package/dist/calcite/p-92160eda.entry.js.map +0 -1
- package/dist/calcite/p-95cb0438.js +0 -7
- package/dist/calcite/p-9f3c7e9e.js +0 -7
- package/dist/calcite/p-a2f6c224.entry.js +0 -7
- package/dist/calcite/p-a2f6c224.entry.js.map +0 -1
- package/dist/calcite/p-a43292ae.js +0 -7
- package/dist/calcite/p-a4ab731d.entry.js +0 -7
- package/dist/calcite/p-a6029781.js +0 -7
- package/dist/calcite/p-a7f701e6.entry.js +0 -7
- package/dist/calcite/p-a7f701e6.entry.js.map +0 -1
- package/dist/calcite/p-a93ae81c.js +0 -7
- package/dist/calcite/p-ab57d608.js +0 -7
- package/dist/calcite/p-ab57d608.js.map +0 -1
- package/dist/calcite/p-ab7d327a.entry.js +0 -7
- package/dist/calcite/p-ab7d327a.entry.js.map +0 -1
- package/dist/calcite/p-ad98f13d.entry.js +0 -7
- package/dist/calcite/p-ad98f13d.entry.js.map +0 -1
- package/dist/calcite/p-ad9d8a1d.entry.js +0 -7
- package/dist/calcite/p-ae3fae00.js +0 -7
- package/dist/calcite/p-af8b3876.js +0 -7
- package/dist/calcite/p-b003c9db.js +0 -7
- package/dist/calcite/p-b02fc30f.entry.js +0 -7
- package/dist/calcite/p-b04849c8.js +0 -7
- package/dist/calcite/p-b0a74538.js +0 -7
- package/dist/calcite/p-b5773566.js +0 -7
- package/dist/calcite/p-b5a073f3.js +0 -7
- package/dist/calcite/p-b763008d.entry.js +0 -7
- package/dist/calcite/p-bb01f928.entry.js +0 -7
- package/dist/calcite/p-bb01f928.entry.js.map +0 -1
- package/dist/calcite/p-bcd67b7d.js +0 -7
- package/dist/calcite/p-be664342.js +0 -7
- package/dist/calcite/p-be88c9af.js +0 -7
- package/dist/calcite/p-c0760822.js +0 -7
- package/dist/calcite/p-c1bf5d84.js +0 -7
- package/dist/calcite/p-c3e09101.js +0 -7
- package/dist/calcite/p-c56cce40.js +0 -7
- package/dist/calcite/p-c58ba0e8.entry.js +0 -7
- package/dist/calcite/p-c58ba0e8.entry.js.map +0 -1
- package/dist/calcite/p-c6025db5.js +0 -7
- package/dist/calcite/p-c679815c.js +0 -7
- package/dist/calcite/p-c772959e.entry.js +0 -7
- package/dist/calcite/p-c96d0676.entry.js +0 -7
- package/dist/calcite/p-c96d0676.entry.js.map +0 -1
- package/dist/calcite/p-ca394237.entry.js +0 -7
- package/dist/calcite/p-ca394237.entry.js.map +0 -1
- package/dist/calcite/p-ca63e67d.js +0 -7
- package/dist/calcite/p-cb5b69ed.entry.js +0 -7
- package/dist/calcite/p-cb5b69ed.entry.js.map +0 -1
- package/dist/calcite/p-cbad505c.js +0 -13
- package/dist/calcite/p-cca82470.entry.js +0 -7
- package/dist/calcite/p-cca82470.entry.js.map +0 -1
- package/dist/calcite/p-ccfd416c.entry.js +0 -7
- package/dist/calcite/p-ccfd416c.entry.js.map +0 -1
- package/dist/calcite/p-ce10a309.js +0 -7
- package/dist/calcite/p-cf9eb16d.js +0 -7
- package/dist/calcite/p-cfdc7154.entry.js +0 -7
- package/dist/calcite/p-cfdc7154.entry.js.map +0 -1
- package/dist/calcite/p-d09011d8.js +0 -11
- package/dist/calcite/p-d0df7495.entry.js +0 -7
- package/dist/calcite/p-d0df7495.entry.js.map +0 -1
- package/dist/calcite/p-d217f591.entry.js +0 -7
- package/dist/calcite/p-d24ab49c.entry.js +0 -7
- package/dist/calcite/p-d66143b4.js +0 -7
- package/dist/calcite/p-d8a8273c.js +0 -7
- package/dist/calcite/p-d9a4092f.js +0 -7
- package/dist/calcite/p-de8d5e97.entry.js +0 -7
- package/dist/calcite/p-de8d5e97.entry.js.map +0 -1
- package/dist/calcite/p-df331f65.entry.js +0 -7
- package/dist/calcite/p-df331f65.entry.js.map +0 -1
- package/dist/calcite/p-e0692ae5.entry.js +0 -7
- package/dist/calcite/p-e0692ae5.entry.js.map +0 -1
- package/dist/calcite/p-e094566c.js +0 -7
- package/dist/calcite/p-e1672686.js +0 -7
- package/dist/calcite/p-e41cc59e.js +0 -7
- package/dist/calcite/p-e472fa44.js +0 -7
- package/dist/calcite/p-e96182e0.entry.js +0 -7
- package/dist/calcite/p-e96182e0.entry.js.map +0 -1
- package/dist/calcite/p-e96b61c7.entry.js +0 -7
- package/dist/calcite/p-ec385cf3.entry.js +0 -7
- package/dist/calcite/p-ec385cf3.entry.js.map +0 -1
- package/dist/calcite/p-ed1526d8.js +0 -7
- package/dist/calcite/p-edc237d0.entry.js +0 -7
- package/dist/calcite/p-f126f372.entry.js +0 -7
- package/dist/calcite/p-f2b041a6.entry.js +0 -7
- package/dist/calcite/p-f2b041a6.entry.js.map +0 -1
- package/dist/calcite/p-f37e0c35.js +0 -7
- package/dist/calcite/p-f563c493.js +0 -7
- package/dist/calcite/p-f6023367.entry.js +0 -7
- package/dist/calcite/p-f7ce582e.entry.js +0 -7
- package/dist/calcite/p-f7ce582e.entry.js.map +0 -1
- package/dist/calcite/p-f8a0ca92.js +0 -7
- package/dist/calcite/p-f8e10e2b.js +0 -7
- package/dist/calcite/p-fafa7c4f.entry.js +0 -7
- package/dist/calcite/p-fb848c65.js +0 -12
- package/dist/calcite/p-fe40c84a.js +0 -7
- package/dist/calcite/p-fe6a12f8.entry.js +0 -7
- package/dist/calcite/p-ff641a28.js +0 -7
- package/dist/cjs/ExpandToggle-47a7fa73.js +0 -110
- package/dist/cjs/ExpandToggle-47a7fa73.js.map +0 -1
- package/dist/cjs/FloatingArrow-de57c699.js +0 -49
- package/dist/cjs/FloatingArrow-de57c699.js.map +0 -1
- package/dist/cjs/Heading-b12ce044.js +0 -22
- package/dist/cjs/Heading-b12ce044.js.map +0 -1
- package/dist/cjs/Validation-7433d458.js +0 -18
- package/dist/cjs/Validation-7433d458.js.map +0 -1
- package/dist/cjs/app-globals-9e431e87.js +0 -61
- package/dist/cjs/app-globals-9e431e87.js.map +0 -1
- package/dist/cjs/ar-8f479971.js +0 -106
- package/dist/cjs/ar-8f479971.js.map +0 -1
- package/dist/cjs/array-f6b96327.js +0 -14
- package/dist/cjs/array-f6b96327.js.map +0 -1
- package/dist/cjs/bg-a424aa0b.js +0 -84
- package/dist/cjs/bg-a424aa0b.js.map +0 -1
- package/dist/cjs/browser-e8c4443e.js +0 -20
- package/dist/cjs/browser-e8c4443e.js.map +0 -1
- package/dist/cjs/bs-10502352.js +0 -53
- package/dist/cjs/bs-10502352.js.map +0 -1
- package/dist/cjs/ca-4dd48243.js +0 -73
- package/dist/cjs/ca-4dd48243.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-10b8df0c.js +0 -2920
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-10b8df0c.js.map +0 -1
- package/dist/cjs/component-6fb69a77.js +0 -30
- package/dist/cjs/component-6fb69a77.js.map +0 -1
- package/dist/cjs/conditionalSlot-68417cd3.js +0 -60
- package/dist/cjs/conditionalSlot-68417cd3.js.map +0 -1
- package/dist/cjs/core-b37cdb24.js +0 -22
- package/dist/cjs/core-b37cdb24.js.map +0 -1
- package/dist/cjs/cs-d34f880c.js +0 -149
- package/dist/cjs/cs-d34f880c.js.map +0 -1
- package/dist/cjs/da-a0a9e288.js +0 -68
- package/dist/cjs/da-a0a9e288.js.map +0 -1
- package/dist/cjs/de-at-b38a8c8d.js +0 -92
- package/dist/cjs/de-at-b38a8c8d.js.map +0 -1
- package/dist/cjs/de-ch-62fc5454.js +0 -92
- package/dist/cjs/de-ch-62fc5454.js.map +0 -1
- package/dist/cjs/de-fe4b470f.js +0 -93
- package/dist/cjs/de-fe4b470f.js.map +0 -1
- package/dist/cjs/debounce-00170cea.js +0 -506
- package/dist/cjs/debounce-00170cea.js.map +0 -1
- package/dist/cjs/dom-8ccaafa9.js +0 -1097
- package/dist/cjs/dom-8ccaafa9.js.map +0 -1
- package/dist/cjs/el-8bdcc777.js +0 -68
- package/dist/cjs/el-8bdcc777.js.map +0 -1
- package/dist/cjs/en-au-9b1a35ab.js +0 -68
- package/dist/cjs/en-au-9b1a35ab.js.map +0 -1
- package/dist/cjs/en-ca-7f811761.js +0 -67
- package/dist/cjs/en-ca-7f811761.js.map +0 -1
- package/dist/cjs/en-gb-5d4711af.js +0 -71
- package/dist/cjs/en-gb-5d4711af.js.map +0 -1
- package/dist/cjs/es-11b3b223.js +0 -68
- package/dist/cjs/es-11b3b223.js.map +0 -1
- package/dist/cjs/es-mx-aff42fa5.js +0 -67
- package/dist/cjs/es-mx-aff42fa5.js.map +0 -1
- package/dist/cjs/et-6ab15bee.js +0 -94
- package/dist/cjs/et-6ab15bee.js.map +0 -1
- package/dist/cjs/fi-c7e0c6db.js +0 -117
- package/dist/cjs/fi-c7e0c6db.js.map +0 -1
- package/dist/cjs/filter-dd5fca7e.js +0 -774
- package/dist/cjs/filter-dd5fca7e.js.map +0 -1
- package/dist/cjs/floating-ui-2dae3321.js +0 -2280
- package/dist/cjs/floating-ui-2dae3321.js.map +0 -1
- package/dist/cjs/focusTrapComponent-2ac242ba.js +0 -1020
- package/dist/cjs/focusTrapComponent-2ac242ba.js.map +0 -1
- package/dist/cjs/form-9313d3d8.js +0 -333
- package/dist/cjs/form-9313d3d8.js.map +0 -1
- package/dist/cjs/fr-9d8c6727.js +0 -70
- package/dist/cjs/fr-9d8c6727.js.map +0 -1
- package/dist/cjs/fr-ch-5edd21d8.js +0 -68
- package/dist/cjs/fr-ch-5edd21d8.js.map +0 -1
- package/dist/cjs/guid-4d0780eb.js +0 -23
- package/dist/cjs/guid-4d0780eb.js.map +0 -1
- package/dist/cjs/he-cb692ec3.js +0 -107
- package/dist/cjs/he-cb692ec3.js.map +0 -1
- package/dist/cjs/hi-d4591788.js +0 -67
- package/dist/cjs/hi-d4591788.js.map +0 -1
- package/dist/cjs/hr-508caf8d.js +0 -82
- package/dist/cjs/hr-508caf8d.js.map +0 -1
- package/dist/cjs/hu-ac11e8f2.js +0 -90
- package/dist/cjs/hu-ac11e8f2.js.map +0 -1
- package/dist/cjs/id-2f6decd0.js +0 -68
- package/dist/cjs/id-2f6decd0.js.map +0 -1
- package/dist/cjs/index-07bc7343.js +0 -75
- package/dist/cjs/index-07bc7343.js.map +0 -1
- package/dist/cjs/index-c3e72383.js +0 -208
- package/dist/cjs/index-c3e72383.js.map +0 -1
- package/dist/cjs/index-d68c79f5.js +0 -2705
- package/dist/cjs/index-d68c79f5.js.map +0 -1
- package/dist/cjs/input-607e6485.js +0 -57
- package/dist/cjs/input-607e6485.js.map +0 -1
- package/dist/cjs/interactive-83e91a2b.js +0 -151
- package/dist/cjs/interactive-83e91a2b.js.map +0 -1
- package/dist/cjs/it-ch-4359e55d.js +0 -68
- package/dist/cjs/it-ch-4359e55d.js.map +0 -1
- package/dist/cjs/it-e4fc7e7a.js +0 -68
- package/dist/cjs/it-e4fc7e7a.js.map +0 -1
- package/dist/cjs/ja-5e4a1523.js +0 -74
- package/dist/cjs/ja-5e4a1523.js.map +0 -1
- package/dist/cjs/key-389fc718.js +0 -16
- package/dist/cjs/key-389fc718.js.map +0 -1
- package/dist/cjs/ko-18ede77a.js +0 -74
- package/dist/cjs/ko-18ede77a.js.map +0 -1
- package/dist/cjs/label-3ce9f10e.js +0 -183
- package/dist/cjs/label-3ce9f10e.js.map +0 -1
- package/dist/cjs/loadable-42e5e995.js +0 -91
- package/dist/cjs/loadable-42e5e995.js.map +0 -1
- package/dist/cjs/locale-86cec459.js +0 -576
- package/dist/cjs/locale-86cec459.js.map +0 -1
- package/dist/cjs/lt-31310186.js +0 -99
- package/dist/cjs/lt-31310186.js.map +0 -1
- package/dist/cjs/lv-76646d76.js +0 -68
- package/dist/cjs/lv-76646d76.js.map +0 -1
- package/dist/cjs/math-e6a5d645.js +0 -57
- package/dist/cjs/math-e6a5d645.js.map +0 -1
- package/dist/cjs/mk-03b62273.js +0 -68
- package/dist/cjs/mk-03b62273.js.map +0 -1
- package/dist/cjs/nb-75cac4ff.js +0 -69
- package/dist/cjs/nb-75cac4ff.js.map +0 -1
- package/dist/cjs/nl-44bf0a1c.js +0 -69
- package/dist/cjs/nl-44bf0a1c.js.map +0 -1
- package/dist/cjs/observers-d2fba538.js +0 -50
- package/dist/cjs/observers-d2fba538.js.map +0 -1
- package/dist/cjs/openCloseComponent-5a724efc.js +0 -89
- package/dist/cjs/openCloseComponent-5a724efc.js.map +0 -1
- package/dist/cjs/pl-8d44c855.js +0 -116
- package/dist/cjs/pl-8d44c855.js.map +0 -1
- package/dist/cjs/pt-2bd28894.js +0 -69
- package/dist/cjs/pt-2bd28894.js.map +0 -1
- package/dist/cjs/pt-br-da9d9479.js +0 -67
- package/dist/cjs/pt-br-da9d9479.js.map +0 -1
- package/dist/cjs/resources-05b3570c.js +0 -49
- package/dist/cjs/resources-05b3570c.js.map +0 -1
- package/dist/cjs/resources-3305eeb9.js +0 -26
- package/dist/cjs/resources-3305eeb9.js.map +0 -1
- package/dist/cjs/resources-3af0e73f.js +0 -29
- package/dist/cjs/resources-3af0e73f.js.map +0 -1
- package/dist/cjs/resources-6988241c.js +0 -26
- package/dist/cjs/resources-6988241c.js.map +0 -1
- package/dist/cjs/resources-734ec94b.js +0 -17
- package/dist/cjs/resources-734ec94b.js.map +0 -1
- package/dist/cjs/resources-b3efbd9a.js +0 -414
- package/dist/cjs/resources-b3efbd9a.js.map +0 -1
- package/dist/cjs/resources-e76da966.js +0 -23
- package/dist/cjs/resources-e76da966.js.map +0 -1
- package/dist/cjs/ro-4f3430ff.js +0 -68
- package/dist/cjs/ro-4f3430ff.js.map +0 -1
- package/dist/cjs/ru-bb92c9b7.js +0 -128
- package/dist/cjs/ru-bb92c9b7.js.map +0 -1
- package/dist/cjs/sk-4267068f.js +0 -150
- package/dist/cjs/sk-4267068f.js.map +0 -1
- package/dist/cjs/sl-8db0c2a3.js +0 -170
- package/dist/cjs/sl-8db0c2a3.js.map +0 -1
- package/dist/cjs/sortableComponent-a3ca5faa.js +0 -2744
- package/dist/cjs/sortableComponent-a3ca5faa.js.map +0 -1
- package/dist/cjs/sr-662da790.js +0 -103
- package/dist/cjs/sr-662da790.js.map +0 -1
- package/dist/cjs/sv-9a53e99c.js +0 -73
- package/dist/cjs/sv-9a53e99c.js.map +0 -1
- package/dist/cjs/t9n-faae5d4c.js +0 -97
- package/dist/cjs/t9n-faae5d4c.js.map +0 -1
- package/dist/cjs/th-1b12c1f3.js +0 -67
- package/dist/cjs/th-1b12c1f3.js.map +0 -1
- package/dist/cjs/throttle-f6e5ca8f.js +0 -77
- package/dist/cjs/throttle-f6e5ca8f.js.map +0 -1
- package/dist/cjs/tr-5c9f1ad1.js +0 -68
- package/dist/cjs/tr-5c9f1ad1.js.map +0 -1
- package/dist/cjs/uk-716e890a.js +0 -106
- package/dist/cjs/uk-716e890a.js.map +0 -1
- package/dist/cjs/utils-ad5af7c7.js +0 -218
- package/dist/cjs/utils-ad5af7c7.js.map +0 -1
- package/dist/cjs/utils-df4662c6.js +0 -307
- package/dist/cjs/utils-df4662c6.js.map +0 -1
- package/dist/cjs/vi-b8ebfa07.js +0 -72
- package/dist/cjs/vi-b8ebfa07.js.map +0 -1
- package/dist/cjs/zh-cn-87e83255.js +0 -96
- package/dist/cjs/zh-cn-87e83255.js.map +0 -1
- package/dist/cjs/zh-hk-4c0697b7.js +0 -73
- package/dist/cjs/zh-hk-4c0697b7.js.map +0 -1
- package/dist/cjs/zh-tw-ef37730e.js +0 -94
- package/dist/cjs/zh-tw-ef37730e.js.map +0 -1
- package/dist/esm/ExpandToggle-8175bc53.js +0 -102
- package/dist/esm/ExpandToggle-8175bc53.js.map +0 -1
- package/dist/esm/FloatingArrow-0f2c6ada.js +0 -47
- package/dist/esm/FloatingArrow-0f2c6ada.js.map +0 -1
- package/dist/esm/Heading-71d7c8f8.js +0 -19
- package/dist/esm/Heading-71d7c8f8.js.map +0 -1
- package/dist/esm/Validation-32601d5a.js +0 -16
- package/dist/esm/Validation-32601d5a.js.map +0 -1
- package/dist/esm/app-globals-1bfd8d0c.js +0 -59
- package/dist/esm/app-globals-1bfd8d0c.js.map +0 -1
- package/dist/esm/ar-5b578f6a.js +0 -104
- package/dist/esm/ar-5b578f6a.js.map +0 -1
- package/dist/esm/array-278244c1.js +0 -12
- package/dist/esm/array-278244c1.js.map +0 -1
- package/dist/esm/bg-b00aea18.js +0 -82
- package/dist/esm/bg-b00aea18.js.map +0 -1
- package/dist/esm/browser-3ef1f9cf.js +0 -18
- package/dist/esm/browser-3ef1f9cf.js.map +0 -1
- package/dist/esm/bs-abe1f1e8.js +0 -51
- package/dist/esm/bs-abe1f1e8.js.map +0 -1
- package/dist/esm/ca-2bbc0ddb.js +0 -71
- package/dist/esm/ca-2bbc0ddb.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-2ed2a8f4.js +0 -2916
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-2ed2a8f4.js.map +0 -1
- package/dist/esm/component-5da5e07a.js +0 -27
- package/dist/esm/component-5da5e07a.js.map +0 -1
- package/dist/esm/conditionalSlot-55ff1907.js +0 -57
- package/dist/esm/conditionalSlot-55ff1907.js.map +0 -1
- package/dist/esm/core-e498e51c.js +0 -17
- package/dist/esm/core-e498e51c.js.map +0 -1
- package/dist/esm/cs-521acd0c.js +0 -147
- package/dist/esm/cs-521acd0c.js.map +0 -1
- package/dist/esm/da-8078a793.js +0 -66
- package/dist/esm/da-8078a793.js.map +0 -1
- package/dist/esm/de-0ae463c4.js +0 -91
- package/dist/esm/de-0ae463c4.js.map +0 -1
- package/dist/esm/de-at-f37255e6.js +0 -90
- package/dist/esm/de-at-f37255e6.js.map +0 -1
- package/dist/esm/de-ch-4ef85f37.js +0 -90
- package/dist/esm/de-ch-4ef85f37.js.map +0 -1
- package/dist/esm/debounce-2bbde099.js +0 -497
- package/dist/esm/debounce-2bbde099.js.map +0 -1
- package/dist/esm/dom-95da0206.js +0 -1065
- package/dist/esm/dom-95da0206.js.map +0 -1
- package/dist/esm/el-cb3d03c7.js +0 -66
- package/dist/esm/el-cb3d03c7.js.map +0 -1
- package/dist/esm/en-au-0330142a.js +0 -66
- package/dist/esm/en-au-0330142a.js.map +0 -1
- package/dist/esm/en-ca-ffae902b.js +0 -65
- package/dist/esm/en-ca-ffae902b.js.map +0 -1
- package/dist/esm/en-gb-0e91a0db.js +0 -69
- package/dist/esm/en-gb-0e91a0db.js.map +0 -1
- package/dist/esm/es-197c5c73.js +0 -66
- package/dist/esm/es-197c5c73.js.map +0 -1
- package/dist/esm/es-mx-855ee317.js +0 -65
- package/dist/esm/es-mx-855ee317.js.map +0 -1
- package/dist/esm/et-4c98e976.js +0 -92
- package/dist/esm/et-4c98e976.js.map +0 -1
- package/dist/esm/fi-a683ffc8.js +0 -115
- package/dist/esm/fi-a683ffc8.js.map +0 -1
- package/dist/esm/filter-23ceaf45.js +0 -772
- package/dist/esm/filter-23ceaf45.js.map +0 -1
- package/dist/esm/floating-ui-3cca79d5.js +0 -2272
- package/dist/esm/floating-ui-3cca79d5.js.map +0 -1
- package/dist/esm/focusTrapComponent-a8d42d64.js +0 -1015
- package/dist/esm/focusTrapComponent-a8d42d64.js.map +0 -1
- package/dist/esm/form-7e580ebc.js +0 -324
- package/dist/esm/form-7e580ebc.js.map +0 -1
- package/dist/esm/fr-a65e97bb.js +0 -68
- package/dist/esm/fr-a65e97bb.js.map +0 -1
- package/dist/esm/fr-ch-1e756d91.js +0 -66
- package/dist/esm/fr-ch-1e756d91.js.map +0 -1
- package/dist/esm/guid-a3e6c175.js +0 -21
- package/dist/esm/guid-a3e6c175.js.map +0 -1
- package/dist/esm/he-27fdc080.js +0 -105
- package/dist/esm/he-27fdc080.js.map +0 -1
- package/dist/esm/hi-beea19b2.js +0 -65
- package/dist/esm/hi-beea19b2.js.map +0 -1
- package/dist/esm/hr-09918a13.js +0 -80
- package/dist/esm/hr-09918a13.js.map +0 -1
- package/dist/esm/hu-3138517c.js +0 -88
- package/dist/esm/hu-3138517c.js.map +0 -1
- package/dist/esm/id-7fb605df.js +0 -66
- package/dist/esm/id-7fb605df.js.map +0 -1
- package/dist/esm/index-39f834e9.js +0 -206
- package/dist/esm/index-39f834e9.js.map +0 -1
- package/dist/esm/index-6a83c357.js +0 -2670
- package/dist/esm/index-6a83c357.js.map +0 -1
- package/dist/esm/index-7bc72962.js +0 -73
- package/dist/esm/index-7bc72962.js.map +0 -1
- package/dist/esm/input-971a2786.js +0 -55
- package/dist/esm/input-971a2786.js.map +0 -1
- package/dist/esm/interactive-d80b1e0b.js +0 -146
- package/dist/esm/interactive-d80b1e0b.js.map +0 -1
- package/dist/esm/it-8196dcf5.js +0 -66
- package/dist/esm/it-8196dcf5.js.map +0 -1
- package/dist/esm/it-ch-23a6c853.js +0 -66
- package/dist/esm/it-ch-23a6c853.js.map +0 -1
- package/dist/esm/ja-ad65590b.js +0 -72
- package/dist/esm/ja-ad65590b.js.map +0 -1
- package/dist/esm/key-78ec33cb.js +0 -13
- package/dist/esm/key-78ec33cb.js.map +0 -1
- package/dist/esm/ko-c0a715de.js +0 -72
- package/dist/esm/ko-c0a715de.js.map +0 -1
- package/dist/esm/label-1a8a189e.js +0 -176
- package/dist/esm/label-1a8a189e.js.map +0 -1
- package/dist/esm/loadable-badc4ea8.js +0 -86
- package/dist/esm/loadable-badc4ea8.js.map +0 -1
- package/dist/esm/locale-a633581b.js +0 -563
- package/dist/esm/locale-a633581b.js.map +0 -1
- package/dist/esm/lt-9b37c597.js +0 -97
- package/dist/esm/lt-9b37c597.js.map +0 -1
- package/dist/esm/lv-abb65acd.js +0 -66
- package/dist/esm/lv-abb65acd.js.map +0 -1
- package/dist/esm/math-b33fe269.js +0 -51
- package/dist/esm/math-b33fe269.js.map +0 -1
- package/dist/esm/mk-0b47cf94.js +0 -66
- package/dist/esm/mk-0b47cf94.js.map +0 -1
- package/dist/esm/nb-365bcb84.js +0 -67
- package/dist/esm/nb-365bcb84.js.map +0 -1
- package/dist/esm/nl-e8672910.js +0 -67
- package/dist/esm/nl-e8672910.js.map +0 -1
- package/dist/esm/observers-c10f576a.js +0 -48
- package/dist/esm/observers-c10f576a.js.map +0 -1
- package/dist/esm/openCloseComponent-c2e99255.js +0 -87
- package/dist/esm/openCloseComponent-c2e99255.js.map +0 -1
- package/dist/esm/pl-b4c42347.js +0 -114
- package/dist/esm/pl-b4c42347.js.map +0 -1
- package/dist/esm/pt-br-36db2850.js +0 -65
- package/dist/esm/pt-br-36db2850.js.map +0 -1
- package/dist/esm/pt-c1b70c32.js +0 -67
- package/dist/esm/pt-c1b70c32.js.map +0 -1
- package/dist/esm/resources-257f0fcd.js +0 -21
- package/dist/esm/resources-257f0fcd.js.map +0 -1
- package/dist/esm/resources-3d4a9208.js +0 -23
- package/dist/esm/resources-3d4a9208.js.map +0 -1
- package/dist/esm/resources-409059f8.js +0 -45
- package/dist/esm/resources-409059f8.js.map +0 -1
- package/dist/esm/resources-46d5f485.js +0 -387
- package/dist/esm/resources-46d5f485.js.map +0 -1
- package/dist/esm/resources-4b3fc2ab.js +0 -17
- package/dist/esm/resources-4b3fc2ab.js.map +0 -1
- package/dist/esm/resources-8fe60d91.js +0 -19
- package/dist/esm/resources-8fe60d91.js.map +0 -1
- package/dist/esm/resources-ee9208d7.js +0 -25
- package/dist/esm/resources-ee9208d7.js.map +0 -1
- package/dist/esm/ro-094aef4e.js +0 -66
- package/dist/esm/ro-094aef4e.js.map +0 -1
- package/dist/esm/ru-e984db14.js +0 -126
- package/dist/esm/ru-e984db14.js.map +0 -1
- package/dist/esm/sk-492e5372.js +0 -148
- package/dist/esm/sk-492e5372.js.map +0 -1
- package/dist/esm/sl-d92e3bbc.js +0 -168
- package/dist/esm/sl-d92e3bbc.js.map +0 -1
- package/dist/esm/sortableComponent-c8188796.js +0 -2740
- package/dist/esm/sortableComponent-c8188796.js.map +0 -1
- package/dist/esm/sr-6422fead.js +0 -101
- package/dist/esm/sr-6422fead.js.map +0 -1
- package/dist/esm/sv-ecb923dd.js +0 -71
- package/dist/esm/sv-ecb923dd.js.map +0 -1
- package/dist/esm/t9n-8a22ff31.js +0 -92
- package/dist/esm/t9n-8a22ff31.js.map +0 -1
- package/dist/esm/th-ef87d420.js +0 -65
- package/dist/esm/th-ef87d420.js.map +0 -1
- package/dist/esm/throttle-5d1c5831.js +0 -75
- package/dist/esm/throttle-5d1c5831.js.map +0 -1
- package/dist/esm/tr-0928df83.js +0 -66
- package/dist/esm/tr-0928df83.js.map +0 -1
- package/dist/esm/uk-c9f8d48e.js +0 -104
- package/dist/esm/uk-c9f8d48e.js.map +0 -1
- package/dist/esm/utils-0b3e2be3.js +0 -200
- package/dist/esm/utils-0b3e2be3.js.map +0 -1
- package/dist/esm/utils-f42c8f36.js +0 -289
- package/dist/esm/utils-f42c8f36.js.map +0 -1
- package/dist/esm/vi-dafa57cb.js +0 -70
- package/dist/esm/vi-dafa57cb.js.map +0 -1
- package/dist/esm/zh-cn-87f515ba.js +0 -94
- package/dist/esm/zh-cn-87f515ba.js.map +0 -1
- package/dist/esm/zh-hk-35dc971d.js +0 -71
- package/dist/esm/zh-hk-35dc971d.js.map +0 -1
- package/dist/esm/zh-tw-b7b75249.js +0 -92
- package/dist/esm/zh-tw-b7b75249.js.map +0 -1
- /package/dist/calcite/{p-b02fc30f.entry.js.map → p-001c6de4.entry.js.map} +0 -0
- /package/dist/calcite/{p-c679815c.js.map → p-00859caa.js.map} +0 -0
- /package/dist/calcite/{p-7209caa2.js.map → p-016f9ebd.js.map} +0 -0
- /package/dist/calcite/{p-3d0a8ad2.js.map → p-0278cfca.js.map} +0 -0
- /package/dist/calcite/{p-0ee64a34.js.map → p-04de09a5.js.map} +0 -0
- /package/dist/calcite/{p-2b32bd96.js.map → p-05e59e9c.js.map} +0 -0
- /package/dist/calcite/{p-05029b60.js.map → p-0642d73f.js.map} +0 -0
- /package/dist/calcite/{p-3816af52.js.map → p-07928d27.js.map} +0 -0
- /package/dist/calcite/{p-197432bd.js.map → p-07efbe2d.js.map} +0 -0
- /package/dist/calcite/{p-d217f591.entry.js.map → p-0d10cbea.entry.js.map} +0 -0
- /package/dist/calcite/{p-724cd7a3.js.map → p-0d18acd2.js.map} +0 -0
- /package/dist/calcite/{p-1b03b527.js.map → p-0fa6ece4.js.map} +0 -0
- /package/dist/calcite/{p-06c093bc.entry.js.map → p-10482fef.entry.js.map} +0 -0
- /package/dist/calcite/{p-f8a0ca92.js.map → p-158acc6b.js.map} +0 -0
- /package/dist/calcite/{p-cbad505c.js.map → p-1715843c.js.map} +0 -0
- /package/dist/calcite/{p-4781876f.js.map → p-183f5d27.js.map} +0 -0
- /package/dist/calcite/{p-9f3c7e9e.js.map → p-1988d545.js.map} +0 -0
- /package/dist/calcite/{p-75e54722.entry.js.map → p-1d15ffe1.entry.js.map} +0 -0
- /package/dist/calcite/{p-e41cc59e.js.map → p-2362dc5c.js.map} +0 -0
- /package/dist/calcite/{p-8a27d5d8.entry.js.map → p-24c9c7d7.entry.js.map} +0 -0
- /package/dist/calcite/{p-16938678.js.map → p-26225051.js.map} +0 -0
- /package/dist/calcite/{p-68780402.js.map → p-264a18c0.js.map} +0 -0
- /package/dist/calcite/{p-77fba2ed.js.map → p-26d27337.js.map} +0 -0
- /package/dist/calcite/{p-4f556291.js.map → p-278a3008.js.map} +0 -0
- /package/dist/calcite/{p-fb848c65.js.map → p-28164ad0.js.map} +0 -0
- /package/dist/calcite/{p-85931c71.js.map → p-2a6032f9.js.map} +0 -0
- /package/dist/calcite/{p-61beeb57.js.map → p-2af87985.js.map} +0 -0
- /package/dist/calcite/{p-d66143b4.js.map → p-31e059e1.js.map} +0 -0
- /package/dist/calcite/{p-2f5471be.js.map → p-326d91d9.js.map} +0 -0
- /package/dist/calcite/{p-5f6b4498.js.map → p-38751d76.js.map} +0 -0
- /package/dist/calcite/{p-c1bf5d84.js.map → p-398a0f77.js.map} +0 -0
- /package/dist/calcite/{p-2761a7f2.js.map → p-39f09b60.js.map} +0 -0
- /package/dist/calcite/{p-0f24ad8a.js.map → p-3d6de6e8.js.map} +0 -0
- /package/dist/calcite/{p-32caab85.entry.js.map → p-3d99828d.entry.js.map} +0 -0
- /package/dist/calcite/{p-57b423bb.entry.js.map → p-3f15357e.entry.js.map} +0 -0
- /package/dist/calcite/{p-519084ce.js.map → p-3fdde044.js.map} +0 -0
- /package/dist/calcite/{p-e1672686.js.map → p-41f51e2a.js.map} +0 -0
- /package/dist/calcite/{p-60c275fd.js.map → p-46680754.js.map} +0 -0
- /package/dist/calcite/{p-b003c9db.js.map → p-46c2f3ff.js.map} +0 -0
- /package/dist/calcite/{p-2fad7ec1.js.map → p-470ddc1f.js.map} +0 -0
- /package/dist/calcite/{p-016dde36.js.map → p-4ba04f9c.js.map} +0 -0
- /package/dist/calcite/{p-08848e42.js.map → p-4f196fc6.js.map} +0 -0
- /package/dist/calcite/{p-fafa7c4f.entry.js.map → p-4ff75762.entry.js.map} +0 -0
- /package/dist/calcite/{p-cf9eb16d.js.map → p-5137bec2.js.map} +0 -0
- /package/dist/calcite/{p-3d3e0563.entry.js.map → p-51c4f12f.entry.js.map} +0 -0
- /package/dist/calcite/{p-4f85fc0e.entry.js.map → p-55d0f8b1.entry.js.map} +0 -0
- /package/dist/calcite/{p-b04849c8.js.map → p-58949831.js.map} +0 -0
- /package/dist/calcite/{p-a43292ae.js.map → p-5a7f70ff.js.map} +0 -0
- /package/dist/calcite/{p-ae3fae00.js.map → p-5b55943f.js.map} +0 -0
- /package/dist/calcite/{p-f563c493.js.map → p-664e9917.js.map} +0 -0
- /package/dist/calcite/{p-c56cce40.js.map → p-69f33aa2.js.map} +0 -0
- /package/dist/calcite/{p-7cb83332.js.map → p-6c3ae9b0.js.map} +0 -0
- /package/dist/calcite/{p-8eb94fef.entry.js.map → p-719eb7bc.entry.js.map} +0 -0
- /package/dist/calcite/{p-4e18a9ca.entry.js.map → p-7859d12e.entry.js.map} +0 -0
- /package/dist/calcite/{p-ce10a309.js.map → p-79db8b88.js.map} +0 -0
- /package/dist/calcite/{p-8d951a40.js.map → p-7d1269ea.js.map} +0 -0
- /package/dist/calcite/{p-257f6b8a.js.map → p-7d5d1ccc.js.map} +0 -0
- /package/dist/calcite/{p-e96b61c7.entry.js.map → p-7f343c05.entry.js.map} +0 -0
- /package/dist/calcite/{p-a4ab731d.entry.js.map → p-80580021.entry.js.map} +0 -0
- /package/dist/calcite/{p-2118466b.entry.js.map → p-80b27fe4.entry.js.map} +0 -0
- /package/dist/calcite/{p-08fca7c0.entry.js.map → p-844e9548.entry.js.map} +0 -0
- /package/dist/calcite/{p-59eccf48.js.map → p-8afea1b7.js.map} +0 -0
- /package/dist/calcite/{p-5dcf1d59.js.map → p-8b547e48.js.map} +0 -0
- /package/dist/calcite/{p-fe6a12f8.entry.js.map → p-919d62bb.entry.js.map} +0 -0
- /package/dist/calcite/{p-0d7ca57b.entry.js.map → p-92c8cee7.entry.js.map} +0 -0
- /package/dist/calcite/{p-edc237d0.entry.js.map → p-976c8847.entry.js.map} +0 -0
- /package/dist/calcite/{p-2886f3b7.entry.js.map → p-9aeae016.entry.js.map} +0 -0
- /package/dist/calcite/{p-be88c9af.js.map → p-9bf8e96f.js.map} +0 -0
- /package/dist/calcite/{p-a6029781.js.map → p-9dd7cf2c.js.map} +0 -0
- /package/dist/calcite/{p-4751f58f.js.map → p-a07c4e01.js.map} +0 -0
- /package/dist/calcite/{p-c772959e.entry.js.map → p-a08c2569.entry.js.map} +0 -0
- /package/dist/calcite/{p-af8b3876.js.map → p-a91b3b05.js.map} +0 -0
- /package/dist/calcite/{p-0e53a49b.js.map → p-aba08c28.js.map} +0 -0
- /package/dist/calcite/{p-c6025db5.js.map → p-ac2cbb35.js.map} +0 -0
- /package/dist/calcite/{p-6c8f9df9.js.map → p-ae0b5a40.js.map} +0 -0
- /package/dist/calcite/{p-88b28478.js.map → p-ae940e76.js.map} +0 -0
- /package/dist/calcite/{p-f126f372.entry.js.map → p-b0850648.entry.js.map} +0 -0
- /package/dist/calcite/{p-c3e09101.js.map → p-b0d47116.js.map} +0 -0
- /package/dist/calcite/{p-e094566c.js.map → p-b4d68ef1.js.map} +0 -0
- /package/dist/calcite/{p-f37e0c35.js.map → p-b7165ebb.js.map} +0 -0
- /package/dist/calcite/{p-0146170c.entry.js.map → p-b942594f.entry.js.map} +0 -0
- /package/dist/calcite/{p-744f5ff2.entry.js.map → p-b94e3c79.entry.js.map} +0 -0
- /package/dist/calcite/{p-ff641a28.js.map → p-ba8077c0.js.map} +0 -0
- /package/dist/calcite/{p-6f65c115.js.map → p-be9b760e.js.map} +0 -0
- /package/dist/calcite/{p-d8a8273c.js.map → p-c0740706.js.map} +0 -0
- /package/dist/calcite/{p-d24ab49c.entry.js.map → p-c0d115c8.entry.js.map} +0 -0
- /package/dist/calcite/{p-c0760822.js.map → p-c1079ce0.js.map} +0 -0
- /package/dist/calcite/{p-871cb935.js.map → p-c23c7d67.js.map} +0 -0
- /package/dist/calcite/{p-8a21e962.js.map → p-c577b5f7.js.map} +0 -0
- /package/dist/calcite/{p-3957d517.js.map → p-c8ad8b5c.js.map} +0 -0
- /package/dist/calcite/{p-0d998b81.entry.js.map → p-c9091452.entry.js.map} +0 -0
- /package/dist/calcite/{p-f8e10e2b.js.map → p-cb5cb74b.js.map} +0 -0
- /package/dist/calcite/{p-a93ae81c.js.map → p-cbfb0b44.js.map} +0 -0
- /package/dist/calcite/{p-ed1526d8.js.map → p-cc4d2c88.js.map} +0 -0
- /package/dist/calcite/{p-e472fa44.js.map → p-ce11be72.js.map} +0 -0
- /package/dist/calcite/{p-6a56f22b.js.map → p-d0ca43ff.js.map} +0 -0
- /package/dist/calcite/{p-60198fdf.js.map → p-d2c27b90.js.map} +0 -0
- /package/dist/calcite/{p-d9a4092f.js.map → p-d7d08570.js.map} +0 -0
- /package/dist/calcite/{p-b0a74538.js.map → p-d8853b6e.js.map} +0 -0
- /package/dist/calcite/{p-ad9d8a1d.entry.js.map → p-d9ef99e4.entry.js.map} +0 -0
- /package/dist/calcite/{p-4b5b9800.js.map → p-da7e55a3.js.map} +0 -0
- /package/dist/calcite/{p-be664342.js.map → p-deb0d3fd.js.map} +0 -0
- /package/dist/calcite/{p-865b858c.js.map → p-e3a80db7.js.map} +0 -0
- /package/dist/calcite/{p-95cb0438.js.map → p-e3f868cd.js.map} +0 -0
- /package/dist/calcite/{p-76dccaf4.entry.js.map → p-e46a4855.entry.js.map} +0 -0
- /package/dist/calcite/{p-fe40c84a.js.map → p-e524855f.js.map} +0 -0
- /package/dist/calcite/{p-416a6f5f.entry.js.map → p-e8bb5e39.entry.js.map} +0 -0
- /package/dist/calcite/{p-ca63e67d.js.map → p-ed488403.js.map} +0 -0
- /package/dist/calcite/{p-8328d29c.js.map → p-f0e28720.js.map} +0 -0
- /package/dist/calcite/{p-bcd67b7d.js.map → p-f1048bed.js.map} +0 -0
- /package/dist/calcite/{p-1e5b258b.js.map → p-f30d67e1.js.map} +0 -0
- /package/dist/calcite/{p-02d62aa4.entry.js.map → p-f389edfb.entry.js.map} +0 -0
- /package/dist/calcite/{p-b5a073f3.js.map → p-f45be9ad.js.map} +0 -0
- /package/dist/calcite/{p-b763008d.entry.js.map → p-f64f4440.entry.js.map} +0 -0
- /package/dist/calcite/{p-f6023367.entry.js.map → p-f67ef023.entry.js.map} +0 -0
- /package/dist/calcite/{p-48efc461.js.map → p-f6a613d5.js.map} +0 -0
- /package/dist/calcite/{p-025521bb.entry.js.map → p-f6ca5964.entry.js.map} +0 -0
- /package/dist/calcite/{p-d09011d8.js.map → p-fbbf3d0e.js.map} +0 -0
- /package/dist/calcite/{p-2458b0dd.js.map → p-fd3d8db5.js.map} +0 -0
- /package/dist/calcite/{p-b5773566.js.map → p-fe3db953.js.map} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.8.0-next.
|
|
4
|
+
* v2.8.0-next.2
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, f as forceUpdate, h, g as getElement } from './index-
|
|
7
|
-
import { s as submitForm, r as resetForm, f as findAssociatedForm } from './form-
|
|
8
|
-
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive-
|
|
9
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
10
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-
|
|
11
|
-
import { c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
12
|
-
import { c as createObserver } from './observers-
|
|
13
|
-
import { g as getIconScale } from './component-
|
|
14
|
-
import { c as connectMessages, d as disconnectMessages, s as setUpMessages, u as updateMessages } from './t9n-
|
|
15
|
-
import { t as toAriaBoolean } from './dom-
|
|
16
|
-
import './browser-
|
|
17
|
-
import './key-
|
|
18
|
-
import './guid-
|
|
19
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, f as forceUpdate, h, g as getElement } from './index-1de02cd5.js';
|
|
7
|
+
import { s as submitForm, r as resetForm, f as findAssociatedForm } from './form-9e9a15d9.js';
|
|
8
|
+
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive-e1217b8a.js';
|
|
9
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-75766eeb.js';
|
|
10
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-5844e162.js';
|
|
11
|
+
import { c as connectLocalized, d as disconnectLocalized } from './locale-6432edce.js';
|
|
12
|
+
import { c as createObserver } from './observers-42e7a3d3.js';
|
|
13
|
+
import { g as getIconScale } from './component-4a5f419e.js';
|
|
14
|
+
import { c as connectMessages, d as disconnectMessages, s as setUpMessages, u as updateMessages } from './t9n-81302127.js';
|
|
15
|
+
import { t as toAriaBoolean } from './dom-ac7b03f1.js';
|
|
16
|
+
import './browser-6731e452.js';
|
|
17
|
+
import './key-1d16e033.js';
|
|
18
|
+
import './guid-cf5b40ab.js';
|
|
19
|
+
import './resources-0a81787e.js';
|
|
20
20
|
|
|
21
21
|
const CSS = {
|
|
22
22
|
buttonLoader: "calcite-button--loader",
|
|
@@ -33,7 +33,7 @@ const CSS = {
|
|
|
33
33
|
buttonPaddingShrunk: "button-padding--shrunk",
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
const buttonCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;inline-size:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-color:transparent}:host button:focus,:host a:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host button,:host a{--calcite-button-content-margin-internal:0.5rem;--calcite-button-padding-x-internal:7px;--calcite-button-padding-y-internal:3px;padding-block:var(--calcite-button-padding-y-internal);padding-inline:var(--calcite-button-padding-x-internal);position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host button:hover,:host a:hover{text-decoration-line:none}:host button span,:host a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{margin-inline:var(--calcite-button-content-margin-internal)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin-internal:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin-internal:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-button-content-margin-internal)}.icon{position:relative;margin:0px;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(0.5)}100%{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}100%{inline-size:0;opacity:0;transform:scale(0.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0px;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out}.calcite-button--loader calcite-loader.loading-in{animation-name:loader-in;animation-duration:var(--calcite-internal-animation-timing-slow)}.calcite-button--loader calcite-loader.loading-out{animation-name:loader-out;animation-duration:var(--calcite-internal-animation-timing-slow)}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-button-content-margin-internal)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{border-width:1px;border-style:solid;border-color:transparent}:host([kind=brand]) button,:host([kind=brand]) a{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([kind=brand]) button:hover,:host([kind=brand]) button:focus,:host([kind=brand]) a:hover,:host([kind=brand]) a:focus{background-color:var(--calcite-color-brand-hover)}:host([kind=brand]) button:active,:host([kind=brand]) a:active{background-color:var(--calcite-color-brand-press)}:host([kind=brand]) button calcite-loader,:host([kind=brand]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([kind=danger]) button,:host([kind=danger]) a{background-color:var(--calcite-color-status-danger);color:var(--calcite-color-text-inverse)}:host([kind=danger]) button:hover,:host([kind=danger]) button:focus,:host([kind=danger]) a:hover,:host([kind=danger]) a:focus{background-color:var(--calcite-color-status-danger-hover)}:host([kind=danger]) button:active,:host([kind=danger]) a:active{background-color:var(--calcite-color-status-danger-press)}:host([kind=danger]) button calcite-loader,:host([kind=danger]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([kind=neutral]) button,:host([kind=neutral]) a{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}:host([kind=neutral]) button:hover,:host([kind=neutral]) button:focus,:host([kind=neutral]) a:hover,:host([kind=neutral]) a:focus{background-color:var(--calcite-color-foreground-2)}:host([kind=neutral]) button:active,:host([kind=neutral]) a:active{background-color:var(--calcite-color-foreground-1)}:host([kind=neutral]) button calcite-loader,:host([kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([kind=inverse]) button,:host([kind=inverse]) a{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse)}:host([kind=inverse]) button:hover,:host([kind=inverse]) button:focus,:host([kind=inverse]) a:hover,:host([kind=inverse]) a:focus{background-color:var(--calcite-color-inverse-hover)}:host([kind=inverse]) button:active,:host([kind=inverse]) a:active{background-color:var(--calcite-color-inverse-press)}:host([kind=inverse]) button calcite-loader,:host([kind=inverse]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{border-width:1px;border-style:solid;background-color:var(--calcite-color-foreground-1);box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{border-color:var(--calcite-color-brand-hover);color:var(--calcite-color-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-brand);box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{border-color:var(--calcite-color-brand-press);color:var(--calcite-color-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{border-color:var(--calcite-color-status-danger);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{border-color:var(--calcite-color-status-danger-hover);color:var(--calcite-color-status-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{border-color:var(--calcite-color-status-danger);color:var(--calcite-color-status-danger);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{border-color:var(--calcite-color-status-danger-press);color:var(--calcite-color-status-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);border-color:var(--calcite-color-border-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button calcite-loader,:host([appearance=outline-fill][kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);border-color:var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{border-color:var(--calcite-color-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{border-color:var(--calcite-color-inverse);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{border-color:var(--calcite-color-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse-press)}:host([appearance=outline-fill][kind=inverse]) button calcite-loader,:host([appearance=outline-fill][kind=inverse]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-width:1px;border-style:solid;background-color:transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{border-color:var(--calcite-color-brand);background-color:transparent;color:var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{border-color:var(--calcite-color-brand-hover);color:var(--calcite-color-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-brand);box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{border-color:var(--calcite-color-brand-press);color:var(--calcite-color-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{border-color:var(--calcite-color-status-danger);background-color:transparent;color:var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{border-color:var(--calcite-color-status-danger-hover);color:var(--calcite-color-status-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{border-color:var(--calcite-color-status-danger);color:var(--calcite-color-status-danger);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{border-color:var(--calcite-color-status-danger-press);color:var(--calcite-color-status-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{background-color:transparent;color:var(--calcite-color-text-1);border-color:var(--calcite-color-border-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button calcite-loader,:host([appearance=outline][kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{background-color:transparent;color:var(--calcite-color-text-1);border-color:var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{border-color:var(--calcite-color-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{border-color:var(--calcite-color-inverse);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{border-color:var(--calcite-color-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse-press)}:host([appearance=outline][kind=inverse]) button calcite-loader,:host([appearance=outline][kind=inverse]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{color:var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{color:var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{color:var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{color:var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-color-text-3);border-block-start-color:var(--calcite-color-border-input);border-block-end-color:var(--calcite-color-border-input);border-block-style:solid}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y-internal:0}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{color:var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]) button,:host([appearance=transparent][kind=inverse]) a,:host([appearance=transparent][kind=inverse]) calcite-loader{color:var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x-internal:0.5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-button-padding-y-internal:3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x-internal:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-padding-y-internal:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x-internal:0.75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x-internal:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-button-padding-x-internal:1rem;--calcite-button-padding-y-internal:11px}:host([scale=l]) .button-padding--shrunk{--calcite-button-padding-y-internal:9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y-internal:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:2.75rem}:host([hidden]){display:none}[hidden]{display:none}";
|
|
36
|
+
const buttonCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;inline-size:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-color:transparent}:host button:focus,:host a: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 )}:host button,:host a{--calcite-button-content-margin-internal:0.5rem;--calcite-button-padding-x-internal:7px;--calcite-button-padding-y-internal:3px;padding-block:var(--calcite-button-padding-y-internal);padding-inline:var(--calcite-button-padding-x-internal);position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host button:hover,:host a:hover{text-decoration-line:none}:host button span,:host a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{margin-inline:var(--calcite-button-content-margin-internal)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin-internal:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin-internal:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-button-content-margin-internal)}.icon{position:relative;margin:0px;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(0.5)}100%{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}100%{inline-size:0;opacity:0;transform:scale(0.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0px;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out}.calcite-button--loader calcite-loader.loading-in{animation-name:loader-in;animation-duration:var(--calcite-internal-animation-timing-slow)}.calcite-button--loader calcite-loader.loading-out{animation-name:loader-out;animation-duration:var(--calcite-internal-animation-timing-slow)}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-button-content-margin-internal)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{border-width:1px;border-style:solid;border-color:transparent}:host([kind=brand]) button,:host([kind=brand]) a{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([kind=brand]) button:hover,:host([kind=brand]) button:focus,:host([kind=brand]) a:hover,:host([kind=brand]) a:focus{background-color:var(--calcite-color-brand-hover)}:host([kind=brand]) button:active,:host([kind=brand]) a:active{background-color:var(--calcite-color-brand-press)}:host([kind=brand]) button calcite-loader,:host([kind=brand]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([kind=danger]) button,:host([kind=danger]) a{background-color:var(--calcite-color-status-danger);color:var(--calcite-color-text-inverse)}:host([kind=danger]) button:hover,:host([kind=danger]) button:focus,:host([kind=danger]) a:hover,:host([kind=danger]) a:focus{background-color:var(--calcite-color-status-danger-hover)}:host([kind=danger]) button:active,:host([kind=danger]) a:active{background-color:var(--calcite-color-status-danger-press)}:host([kind=danger]) button calcite-loader,:host([kind=danger]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([kind=neutral]) button,:host([kind=neutral]) a{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}:host([kind=neutral]) button:hover,:host([kind=neutral]) button:focus,:host([kind=neutral]) a:hover,:host([kind=neutral]) a:focus{background-color:var(--calcite-color-foreground-2)}:host([kind=neutral]) button:active,:host([kind=neutral]) a:active{background-color:var(--calcite-color-foreground-1)}:host([kind=neutral]) button calcite-loader,:host([kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([kind=inverse]) button,:host([kind=inverse]) a{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse)}:host([kind=inverse]) button:hover,:host([kind=inverse]) button:focus,:host([kind=inverse]) a:hover,:host([kind=inverse]) a:focus{background-color:var(--calcite-color-inverse-hover)}:host([kind=inverse]) button:active,:host([kind=inverse]) a:active{background-color:var(--calcite-color-inverse-press)}:host([kind=inverse]) button calcite-loader,:host([kind=inverse]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{border-width:1px;border-style:solid;background-color:var(--calcite-color-foreground-1);box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{border-color:var(--calcite-color-brand-hover);color:var(--calcite-color-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-brand);box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{border-color:var(--calcite-color-brand-press);color:var(--calcite-color-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{border-color:var(--calcite-color-status-danger);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{border-color:var(--calcite-color-status-danger-hover);color:var(--calcite-color-status-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{border-color:var(--calcite-color-status-danger);color:var(--calcite-color-status-danger);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{border-color:var(--calcite-color-status-danger-press);color:var(--calcite-color-status-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);border-color:var(--calcite-color-border-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button calcite-loader,:host([appearance=outline-fill][kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);border-color:var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{border-color:var(--calcite-color-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{border-color:var(--calcite-color-inverse);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{border-color:var(--calcite-color-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse-press)}:host([appearance=outline-fill][kind=inverse]) button calcite-loader,:host([appearance=outline-fill][kind=inverse]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-width:1px;border-style:solid;background-color:transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{border-color:var(--calcite-color-brand);background-color:transparent;color:var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{border-color:var(--calcite-color-brand-hover);color:var(--calcite-color-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-brand);box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{border-color:var(--calcite-color-brand-press);color:var(--calcite-color-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{border-color:var(--calcite-color-status-danger);background-color:transparent;color:var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{border-color:var(--calcite-color-status-danger-hover);color:var(--calcite-color-status-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{border-color:var(--calcite-color-status-danger);color:var(--calcite-color-status-danger);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{border-color:var(--calcite-color-status-danger-press);color:var(--calcite-color-status-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{background-color:transparent;color:var(--calcite-color-text-1);border-color:var(--calcite-color-border-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button calcite-loader,:host([appearance=outline][kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{background-color:transparent;color:var(--calcite-color-text-1);border-color:var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{border-color:var(--calcite-color-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{border-color:var(--calcite-color-inverse);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{border-color:var(--calcite-color-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse-press)}:host([appearance=outline][kind=inverse]) button calcite-loader,:host([appearance=outline][kind=inverse]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{color:var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{color:var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{color:var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{color:var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-color-text-3);border-block-start-color:var(--calcite-color-border-input);border-block-end-color:var(--calcite-color-border-input);border-block-style:solid}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y-internal:0}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{color:var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]) button,:host([appearance=transparent][kind=inverse]) a,:host([appearance=transparent][kind=inverse]) calcite-loader{color:var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x-internal:0.5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-button-padding-y-internal:3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x-internal:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-padding-y-internal:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x-internal:0.75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x-internal:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-button-padding-x-internal:1rem;--calcite-button-padding-y-internal:11px}:host([scale=l]) .button-padding--shrunk{--calcite-button-padding-y-internal:9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y-internal:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:2.75rem}:host([hidden]){display:none}[hidden]{display:none}";
|
|
37
37
|
const CalciteButtonStyle0 = buttonCss;
|
|
38
38
|
|
|
39
39
|
const Button = class {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-button.entry.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,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C,CAAC,CAAC,EAAE,QAAQ,KAAK,OAAO;kBAC1E,IAAI,CAAC,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC;kBACtC,cAAc,CAAC;KACtB;IAEO,wBAAwB;QAC9B,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;KAC7E;;;;;;IAgBD,YAAY;QACV,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,QAAQ,EAAE,CAAC;KACjB;;;;;;;;;;;;;;","names":[],"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 transition:\n inline-size var(--calcite-internal-animation-timing-slow) ease-in-out,\n opacity var(--calcite-internal-animation-timing-slow) ease-in-out,\n transform var(--calcite-internal-animation-timing-slow) ease-in-out;\n &.loading-in {\n animation-name: loader-in;\n animation-duration: var(--calcite-internal-animation-timing-slow);\n }\n &.loading-out {\n animation-name: loader-out;\n animation-duration: var(--calcite-internal-animation-timing-slow);\n }\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// 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 Build,\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 { 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: string;\n\n /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /**\n * 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(\"loading\")\n loadingChanged(newValue: boolean, oldValue: boolean): void {\n if (!!newValue && !oldValue) {\n this.hasLoader = true;\n }\n if (!newValue && !!oldValue) {\n window.setTimeout(() => {\n this.hasLoader = false;\n }, 300);\n }\n }\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.hasLoader = this.loading;\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 (Build.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.hasLoader ? (\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\n class={CSS.content}\n // eslint-disable-next-line react/jsx-sort-props -- auto-generated by @esri/calcite-components/enforce-ref-last-prop\n ref={(el) => (this.contentEl = el)}\n >\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 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 // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setChildEl}\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 /** determine if loader present for styling purposes */\n @State() private hasLoader = 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.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,kBAAkB;IAClC,YAAY,EAAE,gBAAgB;IAC9B,aAAa,EAAE,gBAAgB;IAC/B,mBAAmB,EAAE,wBAAwB;CAC9C;;ACbD,MAAM,SAAS,GAAG,+xuBAA+xuB,CAAC;AAClzuB,4BAAe,SAAS;;MCoDX,MAAM;;;;QAyST,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC;QAsCrF,mBAAc,GAAG,cAAc,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;;QAc/D,gBAAW,GAAG;YACpB,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;YAEtB,IAAI,IAAI,CAAC,IAAI,EAAE;gBACb,OAAO;aACR;;YAGD,IAAI,IAAI,KAAK,QAAQ,EAAE;gBACrB,UAAU,CAAC,IAAI,CAAC,CAAC;aACl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,IAAI,EAClC,IAAI,CAAC,OAAO,GAAG,SAAS,GAAG,IAAI,CAC5B,CACe,EACvB;KACH;;;;;;;IAUD,MAAM,QAAQ;QACZ,MAAM,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAE/B,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC;KACvB;IA6BD,qBAAqB;QACnB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;KAC5C;IAIO,gBAAgB;QACtB,MAAM,cAAc,GAAG,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC;QAC9F,IAAI,CAAC,UAAU;YACb,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,QAAQ,KAAK,OAAO;kBAC1E,IAAI,CAAC,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC;kBACtC,cAAc,CAAC;KACtB;IAEO,wBAAwB;QAC9B,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;KAC7E;;;;;;IAgBD,YAAY;QACV,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,QAAQ,EAAE,CAAC;KACjB;;;;;;;;;;;;;;","names":[],"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 transition:\n inline-size var(--calcite-internal-animation-timing-slow) ease-in-out,\n opacity var(--calcite-internal-animation-timing-slow) ease-in-out,\n transform var(--calcite-internal-animation-timing-slow) ease-in-out;\n &.loading-in {\n animation-name: loader-in;\n animation-duration: var(--calcite-internal-animation-timing-slow);\n }\n &.loading-out {\n animation-name: loader-out;\n animation-duration: var(--calcite-internal-animation-timing-slow);\n }\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// 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 Build,\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 { 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: string;\n\n /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /**\n * 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(\"loading\")\n loadingChanged(newValue: boolean, oldValue: boolean): void {\n if (!!newValue && !oldValue) {\n this.hasLoader = true;\n }\n if (!newValue && !!oldValue) {\n window.setTimeout(() => {\n this.hasLoader = false;\n }, 300);\n }\n }\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.hasLoader = this.loading;\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 (Build.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.hasLoader ? (\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\n class={CSS.content}\n // eslint-disable-next-line react/jsx-sort-props -- auto-generated by @esri/calcite-components/enforce-ref-last-prop\n ref={(el) => (this.contentEl = el)}\n >\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 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 // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setChildEl}\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 /** determine if loader present for styling purposes */\n @State() private hasLoader = 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,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.8.0-next.
|
|
4
|
+
* v2.8.0-next.2
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { k as focusElementInGroup, d as focusElement, t as toAriaBoolean } from './dom-
|
|
8
|
-
import { c as connectInteractive, u as updateHostInteraction, d as disconnectInteractive, I as InteractiveContainer } from './interactive-
|
|
9
|
-
import { a as setComponentLoaded, s as setUpLoadableComponent, b as componentLoaded } from './loadable-
|
|
10
|
-
import './guid-
|
|
11
|
-
import './resources-
|
|
12
|
-
import './browser-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1de02cd5.js';
|
|
7
|
+
import { k as focusElementInGroup, d as focusElement, t as toAriaBoolean } from './dom-ac7b03f1.js';
|
|
8
|
+
import { c as connectInteractive, u as updateHostInteraction, d as disconnectInteractive, I as InteractiveContainer } from './interactive-e1217b8a.js';
|
|
9
|
+
import { a as setComponentLoaded, s as setUpLoadableComponent, b as componentLoaded } from './loadable-5844e162.js';
|
|
10
|
+
import './guid-cf5b40ab.js';
|
|
11
|
+
import './resources-0a81787e.js';
|
|
12
|
+
import './browser-6731e452.js';
|
|
13
13
|
|
|
14
14
|
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{--calcite-card-group-gap:var(--calcite-size-md);display:block}.container{display:flex;flex-wrap:wrap;gap:var(--calcite-card-group-gap)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";
|
|
15
15
|
const CalciteCardGroupStyle0 = cardGroupCss;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.8.0-next.
|
|
4
|
+
* v2.8.0-next.2
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { b as slotChangeHasAssignedElement, e as getSlotted, t as toAriaBoolean } from './dom-
|
|
8
|
-
import { c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
9
|
-
import { c as connectMessages, d as disconnectMessages, s as setUpMessages, u as updateMessages } from './t9n-
|
|
10
|
-
import { c as componentFocusable, a as setComponentLoaded, s as setUpLoadableComponent } from './loadable-
|
|
11
|
-
import { c as connectInteractive, u as updateHostInteraction, d as disconnectInteractive, I as InteractiveContainer } from './interactive-
|
|
12
|
-
import { i as isActivationKey } from './key-
|
|
13
|
-
import './guid-
|
|
14
|
-
import './resources-
|
|
15
|
-
import './observers-
|
|
16
|
-
import './browser-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1de02cd5.js';
|
|
7
|
+
import { b as slotChangeHasAssignedElement, e as getSlotted, t as toAriaBoolean } from './dom-ac7b03f1.js';
|
|
8
|
+
import { c as connectLocalized, d as disconnectLocalized } from './locale-6432edce.js';
|
|
9
|
+
import { c as connectMessages, d as disconnectMessages, s as setUpMessages, u as updateMessages } from './t9n-81302127.js';
|
|
10
|
+
import { c as componentFocusable, a as setComponentLoaded, s as setUpLoadableComponent } from './loadable-5844e162.js';
|
|
11
|
+
import { c as connectInteractive, u as updateHostInteraction, d as disconnectInteractive, I as InteractiveContainer } from './interactive-e1217b8a.js';
|
|
12
|
+
import { i as isActivationKey } from './key-1d16e033.js';
|
|
13
|
+
import './guid-cf5b40ab.js';
|
|
14
|
+
import './resources-0a81787e.js';
|
|
15
|
+
import './observers-42e7a3d3.js';
|
|
16
|
+
import './browser-6731e452.js';
|
|
17
17
|
|
|
18
18
|
const CSS = {
|
|
19
19
|
container: "container",
|
|
@@ -45,7 +45,7 @@ const ICONS = {
|
|
|
45
45
|
unselectedSingle: "circle",
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
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%;--calcite-card-corner-radius:var(--calcite-corner-radius-sharp);--calcite-card-background-color:var(--calcite-color-foreground-1);--calcite-card-border-color:var(--calcite-color-border-3);--calcite-card-shadow:var(--calcite-shadow-none);--calcite-card-accent-color-selected:var(--calcite-color-brand);--calcite-card-selection-background-color:transparent;--calcite-card-selection-background-color-hover:var(--calcite-color-transparent-hover);--calcite-card-selection-background-color-active:var(--calcite-color-transparent-press);--calcite-card-selection-background-color-selected:transparent;--calcite-card-selection-icon-color:var(--calcite-color-text-3);--calcite-card-selection-icon-color-hover:var(--calcite-color-text-2);--calcite-card-selection-icon-color-selected:var(--calcite-color-brand)}.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);border-radius:var(--calcite-card-corner-radius);background-color:var(--calcite-card-background-color);box-shadow:var(--calcite-card-shadow);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
|
|
48
|
+
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%;--calcite-card-corner-radius:var(--calcite-corner-radius-sharp);--calcite-card-background-color:var(--calcite-color-foreground-1);--calcite-card-border-color:var(--calcite-color-border-3);--calcite-card-shadow:var(--calcite-shadow-none);--calcite-card-accent-color-selected:var(--calcite-color-brand);--calcite-card-selection-background-color:transparent;--calcite-card-selection-background-color-hover:var(--calcite-color-transparent-hover);--calcite-card-selection-background-color-active:var(--calcite-color-transparent-press);--calcite-card-selection-background-color-selected:transparent;--calcite-card-selection-icon-color:var(--calcite-color-text-3);--calcite-card-selection-icon-color-hover:var(--calcite-color-text-2);--calcite-card-selection-icon-color-selected:var(--calcite-color-brand)}.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);border-radius:var(--calcite-card-corner-radius);background-color:var(--calcite-card-background-color);box-shadow:var(--calcite-card-shadow);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)}: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}.checkbox-wrapper{pointer-events:auto;margin:0.5rem;cursor:pointer;padding:0.5rem;outline-color:transparent;background-color:var(--calcite-card-selection-background-color);display:flex;align-items:center;justify-items:center;--calcite-ui-icon-color:var(--calcite-card-selection-icon-color)}.checkbox-wrapper:hover{background-color:var(--calcite-card-selection-background-color-hover);--calcite-ui-icon-color:var(--calcite-card-selection-icon-color-hover)}.checkbox-wrapper:active{background-color:var(--calcite-card-selection-background-color-active)}.checkbox-wrapper calcite-icon{pointer-events:none}:host([selected]) .checkbox-wrapper{--calcite-ui-icon-color:var(--calcite-card-selection-icon-color-selected);background-color:var(--calcite-card-selection-background-color-selected)}:host([selected]) .checkbox-wrapper:hover{background-color:var(--calcite-card-selection-background-color-hover)}:host([selected]) .checkbox-wrapper:active{background-color:var(--calcite-card-selection-background-color-active)}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-hover);--calcite-ui-icon-color:var(--calcite-card-selection-icon-color-hover)}:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-active);--calcite-ui-icon-color:var(--calcite-card-selection-icon-color-selected)}.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}";
|
|
49
49
|
const CalciteCardStyle0 = cardCss;
|
|
50
50
|
|
|
51
51
|
const Card = class {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-card.entry.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,EA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AW,GAAG,EAAE,CAAC,IAEnC,IAAI,CAAC,OAAO,IACX,wBAAe,QAAQ,EAAC,KAAK,EAAC,+BAA+B,IAC3D,sBAAgB,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,GAAI,CAC5C,IACJ,IAAI,EACP,cAAc,IAAI,IAAI,CAAC,eAAe,EAAE,EACzC,6EAAoB,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,GAAG,IAAI,EAAE,IAC9E,IAAI,CAAC,YAAY,EAAE,EACpB,4DACE,KAAK,EAAE;gBACL,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI;gBACvB,CAAC,GAAG,CAAC,iBAAiB,GAAG,IAAI,CAAC,UAAU;aACzC,IAED,6DAAM,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":[],"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};\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-ui-icon-color: var(--calcite-card-selection-icon-color);\n &:hover {\n background-color: var(--calcite-card-selection-background-color-hover);\n --calcite-ui-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-ui-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-ui-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-ui-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 } from \"../interfaces\";\nimport { SelectionMode } from \"../interfaces\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\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 =\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 role={role}\n tabIndex={!this.selectable || this.disabled ? 0 : -1}\n // eslint-disable-next-line react/jsx-sort-props\n ref={(el) => (this.containerEl = el)}\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.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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,CAAC,GAAG,CAAC,CAAC;;YAEpD,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,IAEnC,IAAI,CAAC,OAAO,IACX,wBAAe,QAAQ,EAAC,KAAK,EAAC,+BAA+B,IAC3D,sBAAgB,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,GAAI,CAC5C,IACJ,IAAI,EACP,cAAc,IAAI,IAAI,CAAC,eAAe,EAAE,EACzC,6EAAoB,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,GAAG,IAAI,EAAE,IAC9E,IAAI,CAAC,YAAY,EAAE,EACpB,4DACE,KAAK,EAAE;gBACL,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI;gBACvB,CAAC,GAAG,CAAC,iBAAiB,GAAG,IAAI,CAAC,UAAU;aACzC,IAED,6DAAM,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":[],"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};\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-ui-icon-color: var(--calcite-card-selection-icon-color);\n &:hover {\n background-color: var(--calcite-card-selection-background-color-hover);\n --calcite-ui-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-ui-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-ui-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-ui-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 } from \"../interfaces\";\nimport { SelectionMode } from \"../interfaces\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\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 =\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 role={role}\n tabIndex={!this.selectable || this.disabled ? 0 : -1}\n // eslint-disable-next-line react/jsx-sort-props\n ref={(el) => (this.containerEl = el)}\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}
|