@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,14 +1,14 @@
|
|
|
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, F as Fragment, H as Host, g as getElement } from './index-
|
|
7
|
-
import { b as slotChangeHasAssignedElement } from './dom-
|
|
8
|
-
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
9
|
-
import { H as Heading } from './Heading-
|
|
10
|
-
import './guid-
|
|
11
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-1de02cd5.js';
|
|
7
|
+
import { b as slotChangeHasAssignedElement } from './dom-ac7b03f1.js';
|
|
8
|
+
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-5844e162.js';
|
|
9
|
+
import { H as Heading } from './Heading-340e8250.js';
|
|
10
|
+
import './guid-cf5b40ab.js';
|
|
11
|
+
import './resources-0a81787e.js';
|
|
12
12
|
|
|
13
13
|
const CSS$2 = {
|
|
14
14
|
container: "container",
|
|
@@ -169,7 +169,7 @@ const CSS$1 = {
|
|
|
169
169
|
icon: "icon",
|
|
170
170
|
};
|
|
171
171
|
|
|
172
|
-
const navigationLogoCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}.anchor{margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;text-decoration-line:none;outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:inherit;border-block-end:2px solid transparent}.anchor:hover,.anchor:focus{background-color:var(--calcite-color-foreground-2)}.anchor:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand
|
|
172
|
+
const navigationLogoCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}.anchor{margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;text-decoration-line:none;outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:inherit;border-block-end:2px solid transparent}.anchor:hover,.anchor:focus{background-color:var(--calcite-color-foreground-2)}.anchor:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.anchor:active{background-color:var(--calcite-color-foreground-3)}.image,.icon{margin:0px;display:flex;block-size:1.75rem;padding-inline:1rem}.image~.icon{padding-inline-start:0px}.image~.container,.icon~.container{padding-inline-start:0px}:host(:active) .anchor{color:var(--calcite-color-text-1)}:host([active]) .anchor{color:var(--calcite-color-text-1);border-color:var(--calcite-color-brand);--calcite-ui-icon-color:var(--calcite-color-brand)}.container{margin-block-start:0.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}.heading{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.standalone{font-size:var(--calcite-font-size-1)}.description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
173
173
|
const CalciteNavigationLogoStyle0 = navigationLogoCss;
|
|
174
174
|
|
|
175
175
|
const CalciteNavigationLogo = class {
|
|
@@ -244,7 +244,7 @@ const CSS = {
|
|
|
244
244
|
button: "button",
|
|
245
245
|
};
|
|
246
246
|
|
|
247
|
-
const navigationUserCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}:host .button{background-color:transparent;border:none;margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}:host(:hover) .button,:host(:focus) .button{background-color:var(--calcite-color-foreground-2)}:host(:focus) .button{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand
|
|
247
|
+
const navigationUserCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}:host .button{background-color:transparent;border:none;margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}:host(:hover) .button,:host(:focus) .button{background-color:var(--calcite-color-foreground-2)}:host(:focus) .button{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:active) .button{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}calcite-avatar{padding-inline:1rem}calcite-avatar~.text-container{padding-inline-start:0px}:host([active]) .button{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1);--calcite-ui-icon-color:var(--calcite-color-brand)}.text-container{margin-block-start:0.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.username{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
248
248
|
const CalciteNavigationUserStyle0 = navigationUserCss;
|
|
249
249
|
|
|
250
250
|
const CalciteNavigationUser = class {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-navigation.calcite-navigation-logo.calcite-navigation-user.entry.js","mappings":";;;;;;;;;;;;AAAO,MAAMA,KAAG,GAAG;IACjB,SAAS,EAAE,WAAW;IACtB,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;IAC3B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,gBAAgB,EAAE,mBAAmB;IACrC,YAAY,EAAE,eAAe;IAC7B,UAAU,EAAE,aAAa;IACzB,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,sBAAsB;IACpC,WAAW,EAAE,qBAAqB;CACnC,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,SAAS,EAAE,WAAW;CACvB;;ACxBD,MAAM,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Q,IACzC,IAAI,CAAC,QAAQ,CACT,CACR,CACG,CACP,CACM,CACJ,EACP;KACH;;;;;;;;","names":["CSS"],"sources":["src/components/navigation/resources.ts","src/components/navigation/navigation.scss?tag=calcite-navigation&encapsulation=shadow","src/components/navigation/navigation.tsx","src/components/navigation-logo/resources.ts","src/components/navigation-logo/navigation-logo.scss?tag=calcite-navigation-logo&encapsulation=shadow","src/components/navigation-logo/navigation-logo.tsx","src/components/navigation-user/resources.ts","src/components/navigation-user/navigation-user.scss?tag=calcite-navigation-user&encapsulation=shadow","src/components/navigation-user/navigation-user.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n containerContent: \"container-content\",\n hasProgress: \"progress-bar\",\n hide: \"hide\",\n primary: \"primary\",\n secondary: \"secondary\",\n tertiary: \"tertiary\",\n};\n\nexport const SLOTS = {\n logo: \"logo\",\n user: \"user\",\n progress: \"progress\",\n navigationAction: \"navigation-action\",\n contentStart: \"content-start\",\n contentEnd: \"content-end\",\n contentCenter: \"content-center\",\n navSecondary: \"navigation-secondary\",\n navTertiary: \"navigation-tertiary\",\n};\n\nexport const ICONS = {\n hamburger: \"hamburger\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-navigation-width: Specifies the width of the component's content area.\n * @prop --calcite-navigation-background: Specifies the background color of the component.\n * @prop --calcite-navigation-border-color: Specifies the border color of the component.\n */\n\n@include base-component();\n\n.container {\n @apply flex\n flex-col\n mx-auto\n w-full;\n margin-block: 0;\n margin-inline: auto;\n background-color: var(--calcite-navigation-background, var(--calcite-color-foreground-1));\n &.primary,\n &.secondary,\n &.tertiary {\n border-block-end: 1px solid;\n border-block-end-color: var(--calcite-navigation-border-color, var(--calcite-color-border-3));\n }\n}\n\n.user,\n.logo {\n @apply flex;\n}\n\n.hide {\n @apply hidden;\n}\n\n.primary {\n @apply h-16;\n}\n\n.secondary {\n @apply h-12;\n}\n\n.tertiary {\n @apply h-12;\n}\n\n.container-content {\n @apply flex\n w-full\n h-full\n mx-auto;\n margin-block: 0;\n inline-size: var(--calcite-navigation-width, 100%);\n max-inline-size: 100%;\n &.progress-bar {\n margin-block-start: 0.125rem;\n }\n}\n\nslot[name] {\n @apply flex flex-row;\n}\n\nslot[name=\"navigation-secondary\"]::slotted(calcite-navigation),\nslot[name=\"navigation-tertiary\"]::slotted(calcite-navigation) {\n @apply w-full;\n}\n\nslot[name=\"content-start\"]::slotted(*),\nslot[name=\"content-center\"]::slotted(*),\nslot[name=\"content-end\"]::slotted(*) {\n @apply flex flex-row items-center;\n}\n\nslot[name=\"progress\"],\nslot[name=\"progress\"] calcite-progress {\n inset-block-start: 0;\n inset-inline: 0;\n}\nslot[name=\"content-end\"] {\n @apply ms-auto;\n}\n\nslot[name=\"content-start\"] {\n @apply me-auto;\n}\n\nslot[name=\"content-end\"],\nslot[name=\"logo\"] ~ slot[name=\"user\"],\nslot[name=\"user\"]:only-child {\n @apply ms-auto;\n}\n\nslot[name=\"content-center\"] {\n @apply ms-auto me-auto;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-center\"] {\n @apply ms-0;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"user\"],\nslot[name=\"content-end\"] ~ slot[name=\"user\"] {\n @apply m-0;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n State,\n VNode,\n Method,\n} from \"@stencil/core\";\nimport { slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\n\n/**\n * @slot logo - A slot for adding a `calcite-logo` component to the primary navigation level.\n * @slot user - A slot for adding a `calcite-user` component to the primary navigation level.\n * @slot progress - A slot for adding a `calcite-progress` component to the primary navigation level.\n * @slot navigation-action - A slot for adding a `calcite-action` component to the primary navigation level.\n * @slot content-start - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the start position of any navigation level.\n * @slot content-center - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the center position of the primary navigation level.\n * @slot content-end - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the end position of any navigation level.\n * @slot navigation-secondary - A slot for adding a `calcite-navigation` component in the secondary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n * @slot navigation-tertiary - A slot for adding a `calcite-navigation` component in the tertiary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n */\n@Component({\n tag: \"calcite-navigation\",\n styleUrl: \"navigation.scss\",\n shadow: true,\n})\nexport class CalciteNavigation implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `navigationAction` is `true`, specifies the label of the `calcite-action`.\n */\n @Prop() label: string;\n\n /**\n * When `true`, displays a `calcite-action` and emits a `calciteNavActionSelect` event on selection change.\n */\n @Prop({ reflect: true }) navigationAction = false;\n\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationElement;\n\n @State() logoSlotHasElements: boolean;\n\n @State() navigationActionSlotHasElements: boolean;\n\n @State() primaryContentCenterSlotHasElements: boolean;\n\n @State() primaryContentEndSlotHasElements: boolean;\n\n @State() primaryContentStartSlotHasElements: boolean;\n\n @State() progressSlotHasElement: boolean;\n\n @State() secondarySlotHasElements: boolean;\n\n @State() tertiarySlotHasElements: boolean;\n\n @State() userSlotHasElements: boolean;\n\n navigationActionEl: HTMLCalciteActionElement;\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, emits when the displayed action selection changes. */\n @Event({ cancelable: false }) calciteNavigationActionSelect: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, sets focus on the component's action element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n return this.navigationActionEl?.setFocus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private actionClickHandler = () => {\n this.calciteNavigationActionSelect.emit();\n };\n\n private handleUserSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.userSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleLogoSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.logoSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentStartSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentStartSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentEndSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentEndSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentCenterSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentCenterSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleSecondarySlotChange = (event: Event): void => {\n this.secondarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleTertiarySlotChange = (event: Event): void => {\n this.tertiarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleMenuActionSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.navigationActionSlotHasElements = slotChangeHasAssignedElement(event);\n if (this.navigationActionSlotHasElements) {\n this.navigationAction = false;\n }\n }\n };\n\n private handleProgressSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.progressSlotHasElement = slotChangeHasAssignedElement(event);\n }\n };\n\n private isPrimaryLevel(): boolean {\n return this.el.slot !== SLOTS.navSecondary && this.el.slot !== SLOTS.navTertiary;\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderMenuAction(): VNode {\n return (\n <slot name={SLOTS.navigationAction} onSlotchange={this.handleMenuActionSlotChange}>\n {this.navigationAction && (\n <calcite-action\n icon={ICONS.hamburger}\n onClick={this.actionClickHandler}\n text={this.label}\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={(el: HTMLCalciteActionElement) => (this.navigationActionEl = el)}\n />\n )}\n </slot>\n );\n }\n\n render(): VNode {\n const primaryLevelHasElements =\n this.logoSlotHasElements ||\n this.userSlotHasElements ||\n this.navigationActionSlotHasElements ||\n this.primaryContentCenterSlotHasElements ||\n this.primaryContentEndSlotHasElements ||\n this.primaryContentStartSlotHasElements ||\n this.navigationAction;\n const slotName = this.el.slot;\n return (\n <Host>\n <div\n class={{\n [CSS.container]: true,\n [CSS.secondary]: slotName === SLOTS.navSecondary,\n [CSS.tertiary]: slotName === SLOTS.navTertiary,\n [CSS.primary]: primaryLevelHasElements,\n }}\n >\n <div class={{ [CSS.hide]: !this.progressSlotHasElement, [SLOTS.progress]: true }}>\n <slot name={SLOTS.progress} onSlotchange={this.handleProgressSlotChange} />\n </div>\n <div\n class={{ [CSS.containerContent]: true, [CSS.hasProgress]: this.progressSlotHasElement }}\n >\n {this.renderMenuAction()}\n <div class={{ [CSS.hide]: !this.logoSlotHasElements, [SLOTS.logo]: true }}>\n <slot name={SLOTS.logo} onSlotchange={this.handleLogoSlotChange} />\n </div>\n <slot name={SLOTS.contentStart} onSlotchange={this.handleContentStartSlotChange} />\n <slot name={SLOTS.contentCenter} onSlotchange={this.handleContentCenterSlotChange} />\n <slot name={SLOTS.contentEnd} onSlotchange={this.handleContentEndSlotChange} />\n <div class={{ [CSS.hide]: !this.userSlotHasElements, [SLOTS.user]: true }}>\n <slot name={SLOTS.user} onSlotchange={this.handleUserSlotChange} />\n </div>\n </div>\n </div>\n\n <Fragment>\n <slot name={SLOTS.navSecondary} onSlotchange={this.handleSecondarySlotChange} />\n <slot name={SLOTS.navTertiary} onSlotchange={this.handleTertiarySlotChange} />\n </Fragment>\n </Host>\n );\n }\n}\n","export const CSS = {\n container: \"container\",\n heading: \"heading\",\n description: \"description\",\n anchor: \"anchor\",\n image: \"image\",\n standalone: \"standalone\",\n icon: \"icon\",\n};\n",":host {\n @apply inline-flex outline-none;\n}\n\n.anchor {\n @apply flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n no-underline\n text-0h;\n color: inherit;\n border-block-end: 2px solid transparent;\n}\n\n.anchor:hover,\n.anchor:focus {\n @apply bg-foreground-2;\n}\n.anchor:focus {\n @apply focus-inset;\n}\n\n.anchor:active {\n @apply bg-foreground-3;\n}\n\n.image,\n.icon {\n @apply flex h-7 m-0 px-4;\n}\n\n.image ~ .icon {\n @apply ps-0;\n}\n\n.image ~ .container,\n.icon ~ .container {\n @apply ps-0;\n}\n\n:host(:active) .anchor {\n @apply text-color-1;\n}\n\n:host([active]) .anchor {\n @apply text-color-1;\n border-color: var(--calcite-color-brand);\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.container {\n @apply flex\n flex-col\n truncate\n text-start\n px-4\n mt-0.5;\n}\n\n.heading {\n @apply text-0\n ms-0\n truncate\n text-color-1\n font-medium;\n}\n\n.standalone {\n @apply text-1;\n}\n\n.description {\n @apply text-color-2 truncate;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { Heading, HeadingLevel } from \"../functional/Heading\";\nimport { CSS } from \"./resources\";\n\n@Component({\n tag: \"calcite-navigation-logo\",\n styleUrl: \"navigation-logo.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationLogo implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted. */\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the URL destination of the component, which can be set as an absolute or relative path.*/\n @Prop({ reflect: true }) href: string;\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Describes the appearance or function of the `thumbnail`. If no label is provided, context will not be provided to assistive technologies. */\n @Prop() label: string;\n\n /**\n * Defines the relationship between the `href` value and the current document.\n *\n * @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)\n */\n @Prop({ reflect: true }) rel: string;\n\n /** A description for the component, which displays below the `heading`.*/\n @Prop() description: string;\n\n /**\n * Specifies where to open the linked document defined in the `href` property.\n *\n * @mdn [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)\n */\n @Prop({ reflect: true }) target: string;\n\n /** Specifies heading text for the component, such as a product or organization name.*/\n @Prop() heading: string;\n\n /** Specifies the `src` to an image. */\n @Prop() thumbnail: string;\n\n /**\n * Specifies the heading level of the component's heading for proper document structure, without affecting visual styling.\n */\n @Prop({ reflect: true }) headingLevel: HeadingLevel;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n if (this.href) {\n this.el.focus();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationLogoElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n private renderIcon(): VNode {\n /** Icon scale is not variable as the component does not have a scale property */\n return <calcite-icon class={CSS.icon} flipRtl={this.iconFlipRtl} icon={this.icon} scale=\"l\" />;\n }\n\n renderHeaderContent(): VNode {\n const { heading, headingLevel, description } = this;\n const headingNode = heading ? (\n <Heading\n class={{\n [CSS.heading]: true,\n [CSS.standalone]: !this.description,\n }}\n key={CSS.heading}\n level={headingLevel}\n >\n {heading}\n </Heading>\n ) : null;\n\n const descriptionNode = description ? (\n <span class={CSS.description} key={CSS.description}>\n {description}\n </span>\n ) : null;\n\n return headingNode || descriptionNode ? (\n <div class={CSS.container} key={CSS.container}>\n {headingNode}\n {descriptionNode}\n </div>\n ) : null;\n }\n\n render(): VNode {\n const { thumbnail } = this;\n return (\n <Host>\n <a class={CSS.anchor} href={this.href} rel={this.rel} target={this.target}>\n {thumbnail && <img alt={this.label || \"\"} class={CSS.image} src={thumbnail} />}\n {this.icon && this.renderIcon()}\n {this.renderHeaderContent()}\n </a>\n </Host>\n );\n }\n}\n","export const CSS = {\n textContainer: \"text-container\",\n fullName: \"full-name\",\n username: \"username\",\n button: \"button\",\n};\n",":host {\n @apply inline-flex outline-none;\n & .button {\n background-color: transparent;\n border: none;\n @apply flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n font-sans\n text-0h;\n border-block-end: 2px solid transparent;\n }\n}\n\n:host(:hover) .button,\n:host(:focus) .button {\n @apply bg-foreground-2;\n}\n\n:host(:focus) .button {\n @apply focus-inset;\n}\n\n:host(:active) .button {\n @apply bg-foreground-3 text-color-1;\n}\n\ncalcite-avatar {\n @apply px-4;\n}\n\ncalcite-avatar ~ .text-container {\n @apply ps-0;\n}\n\n:host([active]) .button {\n @apply text-color-1 border-color-brand;\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.text-container {\n @apply flex\n flex-col\n text-start\n px-4\n mt-0.5;\n}\n\n.full-name {\n @apply text-0\n ms-0\n text-color-1\n font-medium;\n}\n\n.username {\n @apply text-color-2;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { CSS } from \"./resources\";\n\n@Component({\n tag: \"calcite-navigation-user\",\n styleUrl: \"navigation-user.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationUser implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted.*/\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the full name of the user.*/\n @Prop() fullName: string;\n\n /** Describes the appearance of the avatar. If no label is provided, context will not be provided to assistive technologies.*/\n @Prop() label: string;\n\n /** When `true`, hides the `fullName` and `username` contents.*/\n @Prop({ reflect: true }) textDisabled = false;\n\n /** Specifies the `src` to an image (remember to add a token if the user is private).*/\n @Prop() thumbnail: string;\n\n /** Specifies the unique id of the user.*/\n @Prop() userId: string;\n\n /** Specifies the username of the user.*/\n @Prop() username: string;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationUserElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host>\n <button aria-label={this.label} class={CSS.button}>\n <calcite-avatar\n full-name={this.fullName}\n label={this.label}\n thumbnail={this.thumbnail}\n user-id={this.userId}\n username={this.username}\n />\n {(this.fullName || this.username) && !this.textDisabled && (\n <div class={CSS.textContainer}>\n {this.fullName && (\n <span class={CSS.fullName} key={CSS.fullName}>\n {this.fullName}\n </span>\n )}\n {this.username && (\n <span class={CSS.username} key={CSS.username}>\n {this.username}\n </span>\n )}\n </div>\n )}\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-navigation.calcite-navigation-logo.calcite-navigation-user.entry.js","mappings":";;;;;;;;;;;;AAAO,MAAMA,KAAG,GAAG;IACjB,SAAS,EAAE,WAAW;IACtB,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;IAC3B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,gBAAgB,EAAE,mBAAmB;IACrC,YAAY,EAAE,eAAe;IAC7B,UAAU,EAAE,aAAa;IACzB,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,sBAAsB;IACpC,WAAW,EAAE,qBAAqB;CACnC,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,SAAS,EAAE,WAAW;CACvB;;ACxBD,MAAM,aAAa,GAAG,quDAAquD,CAAC;AAC5vD,gCAAe,aAAa;;MCqCf,iBAAiB;;;;;;;;;QAuFpB,uBAAkB,GAAG;YAC3B,IAAI,CAAC,6BAA6B,CAAC,IAAI,EAAE,CAAC;SAC3C,CAAC;QAEM,yBAAoB,GAAG,CAAC,KAAY;YAC1C,IAAI,IAAI,CAAC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ACLD,MAAM,iBAAiB,GAAG,qyDAAqyD,CAAC;AACh0D,oCAAe,iBAAiB;;MCenB,qBAAqB;;;;;;4BAiBQ,KAAK;;;;;;;;;;;IAmB7C,MAAM,QAAQ;QACZ,MAAM,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC;KACjB;;;;;;IAgBD,iBAAiB;QACf,sBAAsB,CAAC,IAAI,CAAC,CAAC;KAC9B;IAED,gBAAgB;QACd,kBAAkB,CAAC,IAAI,CAAC,CAAC;KAC1B;;;;;;IAQD,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,6EAAoB,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,IAC/C,oFACa,IAAI,CAAC,QAAQ,EACxB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,SAAS,EAAE,IAAI,CAAC,SAAS,aAChB,IAAI,CAAC,MAAM,EACpB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACvB,EACD,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,IAAI,CAAC,YAAY,KACrD,WAAK,KAAK,EAAE,GAAG,CAAC,aAAa,IAC1B,IAAI,CAAC,QAAQ,KACZ,YAAM,KAAK,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,QAAQ,IACzC,IAAI,CAAC,QAAQ,CACT,CACR,EACA,IAAI,CAAC,QAAQ,KACZ,YAAM,KAAK,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,QAAQ,IACzC,IAAI,CAAC,QAAQ,CACT,CACR,CACG,CACP,CACM,CACJ,EACP;KACH;;;;;;;;","names":["CSS"],"sources":["src/components/navigation/resources.ts","src/components/navigation/navigation.scss?tag=calcite-navigation&encapsulation=shadow","src/components/navigation/navigation.tsx","src/components/navigation-logo/resources.ts","src/components/navigation-logo/navigation-logo.scss?tag=calcite-navigation-logo&encapsulation=shadow","src/components/navigation-logo/navigation-logo.tsx","src/components/navigation-user/resources.ts","src/components/navigation-user/navigation-user.scss?tag=calcite-navigation-user&encapsulation=shadow","src/components/navigation-user/navigation-user.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n containerContent: \"container-content\",\n hasProgress: \"progress-bar\",\n hide: \"hide\",\n primary: \"primary\",\n secondary: \"secondary\",\n tertiary: \"tertiary\",\n};\n\nexport const SLOTS = {\n logo: \"logo\",\n user: \"user\",\n progress: \"progress\",\n navigationAction: \"navigation-action\",\n contentStart: \"content-start\",\n contentEnd: \"content-end\",\n contentCenter: \"content-center\",\n navSecondary: \"navigation-secondary\",\n navTertiary: \"navigation-tertiary\",\n};\n\nexport const ICONS = {\n hamburger: \"hamburger\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-navigation-width: Specifies the width of the component's content area.\n * @prop --calcite-navigation-background: Specifies the background color of the component.\n * @prop --calcite-navigation-border-color: Specifies the border color of the component.\n */\n\n@include base-component();\n\n.container {\n @apply flex\n flex-col\n mx-auto\n w-full;\n margin-block: 0;\n margin-inline: auto;\n background-color: var(--calcite-navigation-background, var(--calcite-color-foreground-1));\n &.primary,\n &.secondary,\n &.tertiary {\n border-block-end: 1px solid;\n border-block-end-color: var(--calcite-navigation-border-color, var(--calcite-color-border-3));\n }\n}\n\n.user,\n.logo {\n @apply flex;\n}\n\n.hide {\n @apply hidden;\n}\n\n.primary {\n @apply h-16;\n}\n\n.secondary {\n @apply h-12;\n}\n\n.tertiary {\n @apply h-12;\n}\n\n.container-content {\n @apply flex\n w-full\n h-full\n mx-auto;\n margin-block: 0;\n inline-size: var(--calcite-navigation-width, 100%);\n max-inline-size: 100%;\n &.progress-bar {\n margin-block-start: 0.125rem;\n }\n}\n\nslot[name] {\n @apply flex flex-row;\n}\n\nslot[name=\"navigation-secondary\"]::slotted(calcite-navigation),\nslot[name=\"navigation-tertiary\"]::slotted(calcite-navigation) {\n @apply w-full;\n}\n\nslot[name=\"content-start\"]::slotted(*),\nslot[name=\"content-center\"]::slotted(*),\nslot[name=\"content-end\"]::slotted(*) {\n @apply flex flex-row items-center;\n}\n\nslot[name=\"progress\"],\nslot[name=\"progress\"] calcite-progress {\n inset-block-start: 0;\n inset-inline: 0;\n}\nslot[name=\"content-end\"] {\n @apply ms-auto;\n}\n\nslot[name=\"content-start\"] {\n @apply me-auto;\n}\n\nslot[name=\"content-end\"],\nslot[name=\"logo\"] ~ slot[name=\"user\"],\nslot[name=\"user\"]:only-child {\n @apply ms-auto;\n}\n\nslot[name=\"content-center\"] {\n @apply ms-auto me-auto;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-center\"] {\n @apply ms-0;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"user\"],\nslot[name=\"content-end\"] ~ slot[name=\"user\"] {\n @apply m-0;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n State,\n VNode,\n Method,\n} from \"@stencil/core\";\nimport { slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\n\n/**\n * @slot logo - A slot for adding a `calcite-logo` component to the primary navigation level.\n * @slot user - A slot for adding a `calcite-user` component to the primary navigation level.\n * @slot progress - A slot for adding a `calcite-progress` component to the primary navigation level.\n * @slot navigation-action - A slot for adding a `calcite-action` component to the primary navigation level.\n * @slot content-start - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the start position of any navigation level.\n * @slot content-center - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the center position of the primary navigation level.\n * @slot content-end - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the end position of any navigation level.\n * @slot navigation-secondary - A slot for adding a `calcite-navigation` component in the secondary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n * @slot navigation-tertiary - A slot for adding a `calcite-navigation` component in the tertiary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n */\n@Component({\n tag: \"calcite-navigation\",\n styleUrl: \"navigation.scss\",\n shadow: true,\n})\nexport class CalciteNavigation implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `navigationAction` is `true`, specifies the label of the `calcite-action`.\n */\n @Prop() label: string;\n\n /**\n * When `true`, displays a `calcite-action` and emits a `calciteNavActionSelect` event on selection change.\n */\n @Prop({ reflect: true }) navigationAction = false;\n\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationElement;\n\n @State() logoSlotHasElements: boolean;\n\n @State() navigationActionSlotHasElements: boolean;\n\n @State() primaryContentCenterSlotHasElements: boolean;\n\n @State() primaryContentEndSlotHasElements: boolean;\n\n @State() primaryContentStartSlotHasElements: boolean;\n\n @State() progressSlotHasElement: boolean;\n\n @State() secondarySlotHasElements: boolean;\n\n @State() tertiarySlotHasElements: boolean;\n\n @State() userSlotHasElements: boolean;\n\n navigationActionEl: HTMLCalciteActionElement;\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, emits when the displayed action selection changes. */\n @Event({ cancelable: false }) calciteNavigationActionSelect: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, sets focus on the component's action element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n return this.navigationActionEl?.setFocus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private actionClickHandler = () => {\n this.calciteNavigationActionSelect.emit();\n };\n\n private handleUserSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.userSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleLogoSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.logoSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentStartSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentStartSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentEndSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentEndSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentCenterSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentCenterSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleSecondarySlotChange = (event: Event): void => {\n this.secondarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleTertiarySlotChange = (event: Event): void => {\n this.tertiarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleMenuActionSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.navigationActionSlotHasElements = slotChangeHasAssignedElement(event);\n if (this.navigationActionSlotHasElements) {\n this.navigationAction = false;\n }\n }\n };\n\n private handleProgressSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.progressSlotHasElement = slotChangeHasAssignedElement(event);\n }\n };\n\n private isPrimaryLevel(): boolean {\n return this.el.slot !== SLOTS.navSecondary && this.el.slot !== SLOTS.navTertiary;\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderMenuAction(): VNode {\n return (\n <slot name={SLOTS.navigationAction} onSlotchange={this.handleMenuActionSlotChange}>\n {this.navigationAction && (\n <calcite-action\n icon={ICONS.hamburger}\n onClick={this.actionClickHandler}\n text={this.label}\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={(el: HTMLCalciteActionElement) => (this.navigationActionEl = el)}\n />\n )}\n </slot>\n );\n }\n\n render(): VNode {\n const primaryLevelHasElements =\n this.logoSlotHasElements ||\n this.userSlotHasElements ||\n this.navigationActionSlotHasElements ||\n this.primaryContentCenterSlotHasElements ||\n this.primaryContentEndSlotHasElements ||\n this.primaryContentStartSlotHasElements ||\n this.navigationAction;\n const slotName = this.el.slot;\n return (\n <Host>\n <div\n class={{\n [CSS.container]: true,\n [CSS.secondary]: slotName === SLOTS.navSecondary,\n [CSS.tertiary]: slotName === SLOTS.navTertiary,\n [CSS.primary]: primaryLevelHasElements,\n }}\n >\n <div class={{ [CSS.hide]: !this.progressSlotHasElement, [SLOTS.progress]: true }}>\n <slot name={SLOTS.progress} onSlotchange={this.handleProgressSlotChange} />\n </div>\n <div\n class={{ [CSS.containerContent]: true, [CSS.hasProgress]: this.progressSlotHasElement }}\n >\n {this.renderMenuAction()}\n <div class={{ [CSS.hide]: !this.logoSlotHasElements, [SLOTS.logo]: true }}>\n <slot name={SLOTS.logo} onSlotchange={this.handleLogoSlotChange} />\n </div>\n <slot name={SLOTS.contentStart} onSlotchange={this.handleContentStartSlotChange} />\n <slot name={SLOTS.contentCenter} onSlotchange={this.handleContentCenterSlotChange} />\n <slot name={SLOTS.contentEnd} onSlotchange={this.handleContentEndSlotChange} />\n <div class={{ [CSS.hide]: !this.userSlotHasElements, [SLOTS.user]: true }}>\n <slot name={SLOTS.user} onSlotchange={this.handleUserSlotChange} />\n </div>\n </div>\n </div>\n\n <Fragment>\n <slot name={SLOTS.navSecondary} onSlotchange={this.handleSecondarySlotChange} />\n <slot name={SLOTS.navTertiary} onSlotchange={this.handleTertiarySlotChange} />\n </Fragment>\n </Host>\n );\n }\n}\n","export const CSS = {\n container: \"container\",\n heading: \"heading\",\n description: \"description\",\n anchor: \"anchor\",\n image: \"image\",\n standalone: \"standalone\",\n icon: \"icon\",\n};\n",":host {\n @apply inline-flex outline-none;\n}\n\n.anchor {\n @apply flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n no-underline\n text-0h;\n color: inherit;\n border-block-end: 2px solid transparent;\n}\n\n.anchor:hover,\n.anchor:focus {\n @apply bg-foreground-2;\n}\n.anchor:focus {\n @apply focus-inset;\n}\n\n.anchor:active {\n @apply bg-foreground-3;\n}\n\n.image,\n.icon {\n @apply flex h-7 m-0 px-4;\n}\n\n.image ~ .icon {\n @apply ps-0;\n}\n\n.image ~ .container,\n.icon ~ .container {\n @apply ps-0;\n}\n\n:host(:active) .anchor {\n @apply text-color-1;\n}\n\n:host([active]) .anchor {\n @apply text-color-1;\n border-color: var(--calcite-color-brand);\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.container {\n @apply flex\n flex-col\n truncate\n text-start\n px-4\n mt-0.5;\n}\n\n.heading {\n @apply text-0\n ms-0\n truncate\n text-color-1\n font-medium;\n}\n\n.standalone {\n @apply text-1;\n}\n\n.description {\n @apply text-color-2 truncate;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { Heading, HeadingLevel } from \"../functional/Heading\";\nimport { CSS } from \"./resources\";\n\n@Component({\n tag: \"calcite-navigation-logo\",\n styleUrl: \"navigation-logo.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationLogo implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted. */\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the URL destination of the component, which can be set as an absolute or relative path.*/\n @Prop({ reflect: true }) href: string;\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Describes the appearance or function of the `thumbnail`. If no label is provided, context will not be provided to assistive technologies. */\n @Prop() label: string;\n\n /**\n * Defines the relationship between the `href` value and the current document.\n *\n * @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)\n */\n @Prop({ reflect: true }) rel: string;\n\n /** A description for the component, which displays below the `heading`.*/\n @Prop() description: string;\n\n /**\n * Specifies where to open the linked document defined in the `href` property.\n *\n * @mdn [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)\n */\n @Prop({ reflect: true }) target: string;\n\n /** Specifies heading text for the component, such as a product or organization name.*/\n @Prop() heading: string;\n\n /** Specifies the `src` to an image. */\n @Prop() thumbnail: string;\n\n /**\n * Specifies the heading level of the component's heading for proper document structure, without affecting visual styling.\n */\n @Prop({ reflect: true }) headingLevel: HeadingLevel;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n if (this.href) {\n this.el.focus();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationLogoElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n private renderIcon(): VNode {\n /** Icon scale is not variable as the component does not have a scale property */\n return <calcite-icon class={CSS.icon} flipRtl={this.iconFlipRtl} icon={this.icon} scale=\"l\" />;\n }\n\n renderHeaderContent(): VNode {\n const { heading, headingLevel, description } = this;\n const headingNode = heading ? (\n <Heading\n class={{\n [CSS.heading]: true,\n [CSS.standalone]: !this.description,\n }}\n key={CSS.heading}\n level={headingLevel}\n >\n {heading}\n </Heading>\n ) : null;\n\n const descriptionNode = description ? (\n <span class={CSS.description} key={CSS.description}>\n {description}\n </span>\n ) : null;\n\n return headingNode || descriptionNode ? (\n <div class={CSS.container} key={CSS.container}>\n {headingNode}\n {descriptionNode}\n </div>\n ) : null;\n }\n\n render(): VNode {\n const { thumbnail } = this;\n return (\n <Host>\n <a class={CSS.anchor} href={this.href} rel={this.rel} target={this.target}>\n {thumbnail && <img alt={this.label || \"\"} class={CSS.image} src={thumbnail} />}\n {this.icon && this.renderIcon()}\n {this.renderHeaderContent()}\n </a>\n </Host>\n );\n }\n}\n","export const CSS = {\n textContainer: \"text-container\",\n fullName: \"full-name\",\n username: \"username\",\n button: \"button\",\n};\n",":host {\n @apply inline-flex outline-none;\n & .button {\n background-color: transparent;\n border: none;\n @apply flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n font-sans\n text-0h;\n border-block-end: 2px solid transparent;\n }\n}\n\n:host(:hover) .button,\n:host(:focus) .button {\n @apply bg-foreground-2;\n}\n\n:host(:focus) .button {\n @apply focus-inset;\n}\n\n:host(:active) .button {\n @apply bg-foreground-3 text-color-1;\n}\n\ncalcite-avatar {\n @apply px-4;\n}\n\ncalcite-avatar ~ .text-container {\n @apply ps-0;\n}\n\n:host([active]) .button {\n @apply text-color-1 border-color-brand;\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.text-container {\n @apply flex\n flex-col\n text-start\n px-4\n mt-0.5;\n}\n\n.full-name {\n @apply text-0\n ms-0\n text-color-1\n font-medium;\n}\n\n.username {\n @apply text-color-2;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { CSS } from \"./resources\";\n\n@Component({\n tag: \"calcite-navigation-user\",\n styleUrl: \"navigation-user.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationUser implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted.*/\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the full name of the user.*/\n @Prop() fullName: string;\n\n /** Describes the appearance of the avatar. If no label is provided, context will not be provided to assistive technologies.*/\n @Prop() label: string;\n\n /** When `true`, hides the `fullName` and `username` contents.*/\n @Prop({ reflect: true }) textDisabled = false;\n\n /** Specifies the `src` to an image (remember to add a token if the user is private).*/\n @Prop() thumbnail: string;\n\n /** Specifies the unique id of the user.*/\n @Prop() userId: string;\n\n /** Specifies the username of the user.*/\n @Prop() username: string;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationUserElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host>\n <button aria-label={this.label} class={CSS.button}>\n <calcite-avatar\n full-name={this.fullName}\n label={this.label}\n thumbnail={this.thumbnail}\n user-id={this.userId}\n username={this.username}\n />\n {(this.fullName || this.username) && !this.textDisabled && (\n <div class={CSS.textContainer}>\n {this.fullName && (\n <span class={CSS.fullName} key={CSS.fullName}>\n {this.fullName}\n </span>\n )}\n {this.username && (\n <span class={CSS.username} key={CSS.username}>\n {this.username}\n </span>\n )}\n </div>\n )}\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/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, g as getElement } from './index-
|
|
7
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
8
|
-
import { h as setRequestedIcon, e as getSlotted } from './dom-
|
|
9
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-
|
|
10
|
-
import { c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
11
|
-
import { c as connectMessages, d as disconnectMessages, s as setUpMessages, u as updateMessages } from './t9n-
|
|
12
|
-
import { K as KindIcons } from './resources-
|
|
13
|
-
import { o as onToggleOpenCloseComponent } from './openCloseComponent-
|
|
14
|
-
import { g as getIconScale } from './component-
|
|
15
|
-
import './observers-
|
|
16
|
-
import './guid-
|
|
17
|
-
import './resources-
|
|
18
|
-
import './key-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-1de02cd5.js';
|
|
7
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-a33d0b2d.js';
|
|
8
|
+
import { h as setRequestedIcon, e as getSlotted } from './dom-ac7b03f1.js';
|
|
9
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-5844e162.js';
|
|
10
|
+
import { c as connectLocalized, d as disconnectLocalized } from './locale-6432edce.js';
|
|
11
|
+
import { c as connectMessages, d as disconnectMessages, s as setUpMessages, u as updateMessages } from './t9n-81302127.js';
|
|
12
|
+
import { K as KindIcons } from './resources-4190378a.js';
|
|
13
|
+
import { o as onToggleOpenCloseComponent } from './openCloseComponent-7593a31f.js';
|
|
14
|
+
import { g as getIconScale } from './component-4a5f419e.js';
|
|
15
|
+
import './observers-42e7a3d3.js';
|
|
16
|
+
import './guid-cf5b40ab.js';
|
|
17
|
+
import './resources-0a81787e.js';
|
|
18
|
+
import './key-1d16e033.js';
|
|
19
19
|
|
|
20
20
|
const SLOTS = {
|
|
21
21
|
title: "title",
|
|
@@ -31,7 +31,7 @@ const CSS = {
|
|
|
31
31
|
icon: "notice-icon",
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
const noticeCss = ":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-color-foreground-1);opacity:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand
|
|
34
|
+
const noticeCss = ":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-color-foreground-1);opacity:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close: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{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.notice-close:active{background-color:var(--calcite-color-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
35
35
|
const CalciteNoticeStyle0 = noticeCss;
|
|
36
36
|
|
|
37
37
|
const Notice = class {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-notice.entry.js","mappings":";;;;;;;;;;;;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,aAAa;CACpB;;ACbD,MAAM,SAAS,GAAG,4yNAA4yN,CAAC;AAC/zN,4BAAe,SAAS;;MC0DX,MAAM;;;;;;;QA4MT,oBAAe,GAAG,CAAC,EAAe;YACxC,I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ACR;QACD,IAAI,YAAY,EAAE;YAChB,OAAO,YAAY,CAAC,QAAQ,EAAE,CAAC;SAChC;aAAM,IAAI,IAAI,CAAC,WAAW,EAAE;YAC3B,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;SAC1B;KACF;IAED,aAAa;QACX,IAAI,CAAC,wBAAwB,CAAC,IAAI,EAAE,CAAC;KACtC;IAED,YAAY;QACV,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,CAAC;KACrC;IAED,OAAO;QACL,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;KAChC;IAED,MAAM;QACJ,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAgCD,qBAAqB;QACnB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;KAC5C;;;;;;;;;;;;;;;","names":[],"sources":["src/components/notice/resources.ts","src/components/notice/notice.scss?tag=calcite-notice&encapsulation=shadow","src/components/notice/notice.tsx"],"sourcesContent":["export const SLOTS = {\n title: \"title\",\n message: \"message\",\n link: \"link\",\n actionsEnd: \"actions-end\",\n};\n\nexport const CSS = {\n actionsEnd: \"actions-end\",\n close: \"notice-close\",\n container: \"container\",\n content: \"notice-content\",\n icon: \"notice-icon\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-notice-width: The width of the component.\n */\n\n// scale variables\n:host([scale=\"s\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.2\");\n --calcite-notice-spacing-token-large: theme(\"spacing.3\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n2-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n2-wrap my-0.5;\n }\n .notice-close {\n // specific padding for close button to align with calcite-action small-scale spacing\n @apply p-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.3\");\n --calcite-notice-spacing-token-large: theme(\"spacing.4\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n1-wrap my-0.5;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.4\");\n --calcite-notice-spacing-token-large: theme(\"spacing.5\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-0-wrap my-0.5;\n }\n}\n\n:host([width=\"auto\"]) {\n --calcite-notice-width: theme(\"width.auto\");\n}\n\n:host([width=\"half\"]) {\n --calcite-notice-width: theme(\"width[1/2]\");\n}\n\n:host([width=\"full\"]) {\n --calcite-notice-width: theme(\"width.full\");\n}\n\n:host {\n @apply mx-auto hidden max-w-full items-center;\n inline-size: var(--calcite-notice-width);\n}\n\n.container {\n @apply bg-foreground-1\n pointer-events-none\n my-0\n box-border\n hidden\n w-full\n opacity-0\n transition-default;\n max-block-size: 0;\n text-align: start;\n border-inline-start: 0px solid;\n box-shadow: 0 0 0 0 transparent;\n}\n\n// focus styles\n.notice-close {\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\n}\n\n:host {\n @apply flex;\n}\n\n:host([open]) .container {\n @apply shadow-1\n pointer-events-auto\n flex\n max-h-full\n items-center\n border-2\n opacity-100;\n}\n\n@include slotted(\"title\", \"*\", \".container\") {\n @apply text-color-1 m-0 font-medium;\n}\n\n@include slotted(\"message\", \"*\", \".container\") {\n @apply text-color-2 m-0 inline font-normal;\n margin-inline-end: var(--calcite-notice-spacing-token-small);\n}\n\n@mixin notice-element-base() {\n @apply transition-default box-border;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n flex: 0 0 auto;\n}\n\n.notice-content {\n @include notice-element-base;\n @apply flex min-w-0 flex-col break-words;\n flex: 1 1 0;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: 0 var(--calcite-notice-spacing-token-small);\n\n &:first-of-type:not(:only-child) {\n padding-inline-start: var(--calcite-notice-spacing-token-large);\n }\n &:only-of-type {\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n }\n}\n\n.notice-icon {\n @apply flex items-center;\n @include notice-element-base;\n}\n\n.notice-close {\n @apply text-color-3 flex cursor-pointer items-center self-stretch border-none bg-transparent outline-none;\n @include notice-element-base;\n -webkit-appearance: none;\n\n &:hover,\n &:focus {\n @apply bg-foreground-2 text-color-1;\n }\n\n &:active {\n @apply bg-foreground-3;\n }\n}\n\n.actions-end {\n @apply flex self-stretch;\n}\n\n$noticeKinds:\n \"brand\" var(--calcite-color-brand),\n \"info\" var(--calcite-color-status-info),\n \"danger\" var(--calcite-color-status-danger),\n \"success\" var(--calcite-color-status-success),\n \"warning\" var(--calcite-color-status-warning);\n\n@each $noticeKind in $noticeKinds {\n $name: nth($noticeKind, 1);\n $kind: nth($noticeKind, 2);\n\n :host([kind=\"#{$name}\"]) .container {\n border-color: $kind;\n & .notice-icon {\n color: $kind;\n }\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted, setRequestedIcon } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Kind, Scale, Width } from \"../interfaces\";\nimport { KindIcons } from \"../resources\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { getIconScale } from \"../../utils/component\";\nimport { NoticeMessages } from \"./assets/notice/t9n\";\nimport { CSS, SLOTS } from \"./resources\";\n\n/**\n * Notices are intended to be used to present users with important-but-not-crucial contextual tips or copy. Because\n * notices are displayed inline, a common use case is displaying them on page-load to present users with short hints or contextual copy.\n * They are optionally closable - useful for keeping track of whether or not a user has closed the notice. You can also choose not\n * to display a notice on page load and set the \"active\" attribute as needed to contextually provide inline messaging to users.\n */\n\n/**\n * @slot title - A slot for adding the title.\n * @slot message - A slot for adding the message.\n * @slot link - A slot for adding a `calcite-action` to take, such as: \"undo\", \"try again\", \"link to page\", etc.\n * @slot actions-end - A slot for adding `calcite-action`s to the end of the component. It is recommended to use two or less actions.\n */\n\n@Component({\n tag: \"calcite-notice\",\n styleUrl: \"notice.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Notice\n implements\n ConditionalSlotComponent,\n LoadableComponent,\n T9nComponent,\n LocalizedComponent,\n OpenCloseComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //---------------------------------------------------------------------------\n\n /** When `true`, the component is visible. */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n }\n\n /** Specifies the kind of the component, which will apply to top border and icon. */\n @Prop({ reflect: true }) kind: Extract<\n \"brand\" | \"danger\" | \"info\" | \"success\" | \"warning\",\n Kind\n > = \"brand\";\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\n\n /**\n * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.\n */\n @Prop({ reflect: true }) icon: string | boolean;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\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: NoticeMessages;\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<NoticeMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n @Watch(\"icon\")\n @Watch(\"kind\")\n updateRequestedIcon(): void {\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n await setUpMessages(this);\n if (this.open) {\n onToggleOpenCloseComponent(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n render(): VNode {\n const { el } = this;\n const closeButton = (\n <button\n aria-label={this.messages.close}\n class={CSS.close}\n onClick={this.close}\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={(el) => (this.closeButton = el)}\n >\n <calcite-icon icon=\"x\" scale={getIconScale(this.scale)} />\n </button>\n );\n\n const hasActionEnd = getSlotted(el, SLOTS.actionsEnd);\n\n return (\n <div\n class={CSS.container}\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.setTransitionEl}\n >\n {this.requestedIcon ? (\n <div class={CSS.icon}>\n <calcite-icon\n flipRtl={this.iconFlipRtl}\n icon={this.requestedIcon}\n scale={getIconScale(this.scale)}\n />\n </div>\n ) : null}\n <div class={CSS.content}>\n <slot name={SLOTS.title} />\n <slot name={SLOTS.message} />\n <slot name={SLOTS.link} />\n </div>\n {hasActionEnd ? (\n <div class={CSS.actionsEnd}>\n <slot name={SLOTS.actionsEnd} />\n </div>\n ) : null}\n {this.closable ? closeButton : null}\n </div>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeClose: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n const noticeLinkEl = this.el.querySelector(\"calcite-link\");\n\n if (!this.closeButton && !noticeLinkEl) {\n return;\n }\n if (noticeLinkEl) {\n return noticeLinkEl.setFocus();\n } else if (this.closeButton) {\n this.closeButton.focus();\n }\n }\n\n onBeforeClose(): void {\n this.calciteNoticeBeforeClose.emit();\n }\n\n onBeforeOpen(): void {\n this.calciteNoticeBeforeOpen.emit();\n }\n\n onClose(): void {\n this.calciteNoticeClose.emit();\n }\n\n onOpen(): void {\n this.calciteNoticeOpen.emit();\n }\n\n private setTransitionEl = (el: HTMLElement): void => {\n this.transitionEl = el;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n private close = (): void => {\n this.open = false;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNoticeElement;\n\n /** The close button element. */\n private closeButton?: HTMLButtonElement;\n\n /** The computed icon to render. */\n private requestedIcon?: string;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: NoticeMessages;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLElement;\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-notice.entry.js","mappings":";;;;;;;;;;;;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,aAAa;CACpB;;ACbD,MAAM,SAAS,GAAG,0wNAA0wN,CAAC;AAC7xN,4BAAe,SAAS;;MC0DX,MAAM;;;;;;;QA4MT,oBAAe,GAAG,CAAC,EAAe;YACxC,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;SACxB,CAAC;;;;;;QAOM,UAAK,GAAG;YACd,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;SACnB,CAAC;QAyBF,uBAAkB,GAAG,SAAS,CAAC;oBAjOgB,KAAK;oBAWhD,OAAO;wBAGyB,KAAK;;2BAQF,KAAK;qBAGJ,GAAG;qBAGH,MAAM;;;;;;IAzB9C,WAAW;QACT,0BAA0B,CAAC,IAAI,CAAC,CAAC;KAClC;IAwCD,gBAAgB;;KA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CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;KAChC;IAED,MAAM;QACJ,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAgCD,qBAAqB;QACnB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;KAC5C;;;;;;;;;;;;;;;","names":[],"sources":["src/components/notice/resources.ts","src/components/notice/notice.scss?tag=calcite-notice&encapsulation=shadow","src/components/notice/notice.tsx"],"sourcesContent":["export const SLOTS = {\n title: \"title\",\n message: \"message\",\n link: \"link\",\n actionsEnd: \"actions-end\",\n};\n\nexport const CSS = {\n actionsEnd: \"actions-end\",\n close: \"notice-close\",\n container: \"container\",\n content: \"notice-content\",\n icon: \"notice-icon\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-notice-width: The width of the component.\n */\n\n// scale variables\n:host([scale=\"s\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.2\");\n --calcite-notice-spacing-token-large: theme(\"spacing.3\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n2-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n2-wrap my-0.5;\n }\n .notice-close {\n // specific padding for close button to align with calcite-action small-scale spacing\n @apply p-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.3\");\n --calcite-notice-spacing-token-large: theme(\"spacing.4\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n1-wrap my-0.5;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.4\");\n --calcite-notice-spacing-token-large: theme(\"spacing.5\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-0-wrap my-0.5;\n }\n}\n\n:host([width=\"auto\"]) {\n --calcite-notice-width: theme(\"width.auto\");\n}\n\n:host([width=\"half\"]) {\n --calcite-notice-width: theme(\"width[1/2]\");\n}\n\n:host([width=\"full\"]) {\n --calcite-notice-width: theme(\"width.full\");\n}\n\n:host {\n @apply mx-auto hidden max-w-full items-center;\n inline-size: var(--calcite-notice-width);\n}\n\n.container {\n @apply bg-foreground-1\n pointer-events-none\n my-0\n box-border\n hidden\n w-full\n opacity-0\n transition-default;\n max-block-size: 0;\n text-align: start;\n border-inline-start: 0px solid;\n box-shadow: 0 0 0 0 transparent;\n}\n\n// focus styles\n.notice-close {\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\n}\n\n:host {\n @apply flex;\n}\n\n:host([open]) .container {\n @apply shadow-1\n pointer-events-auto\n flex\n max-h-full\n items-center\n border-2\n opacity-100;\n}\n\n@include slotted(\"title\", \"*\", \".container\") {\n @apply text-color-1 m-0 font-medium;\n}\n\n@include slotted(\"message\", \"*\", \".container\") {\n @apply text-color-2 m-0 inline font-normal;\n margin-inline-end: var(--calcite-notice-spacing-token-small);\n}\n\n@mixin notice-element-base() {\n @apply transition-default box-border;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n flex: 0 0 auto;\n}\n\n.notice-content {\n @include notice-element-base;\n @apply flex min-w-0 flex-col break-words;\n flex: 1 1 0;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: 0 var(--calcite-notice-spacing-token-small);\n\n &:first-of-type:not(:only-child) {\n padding-inline-start: var(--calcite-notice-spacing-token-large);\n }\n &:only-of-type {\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n }\n}\n\n.notice-icon {\n @apply flex items-center;\n @include notice-element-base;\n}\n\n.notice-close {\n @apply text-color-3 flex cursor-pointer items-center self-stretch border-none bg-transparent outline-none;\n @include notice-element-base;\n -webkit-appearance: none;\n\n &:hover,\n &:focus {\n @apply bg-foreground-2 text-color-1;\n }\n\n &:active {\n @apply bg-foreground-3;\n }\n}\n\n.actions-end {\n @apply flex self-stretch;\n}\n\n$noticeKinds:\n \"brand\" var(--calcite-color-brand),\n \"info\" var(--calcite-color-status-info),\n \"danger\" var(--calcite-color-status-danger),\n \"success\" var(--calcite-color-status-success),\n \"warning\" var(--calcite-color-status-warning);\n\n@each $noticeKind in $noticeKinds {\n $name: nth($noticeKind, 1);\n $kind: nth($noticeKind, 2);\n\n :host([kind=\"#{$name}\"]) .container {\n border-color: $kind;\n & .notice-icon {\n color: $kind;\n }\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted, setRequestedIcon } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Kind, Scale, Width } from \"../interfaces\";\nimport { KindIcons } from \"../resources\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { getIconScale } from \"../../utils/component\";\nimport { NoticeMessages } from \"./assets/notice/t9n\";\nimport { CSS, SLOTS } from \"./resources\";\n\n/**\n * Notices are intended to be used to present users with important-but-not-crucial contextual tips or copy. Because\n * notices are displayed inline, a common use case is displaying them on page-load to present users with short hints or contextual copy.\n * They are optionally closable - useful for keeping track of whether or not a user has closed the notice. You can also choose not\n * to display a notice on page load and set the \"active\" attribute as needed to contextually provide inline messaging to users.\n */\n\n/**\n * @slot title - A slot for adding the title.\n * @slot message - A slot for adding the message.\n * @slot link - A slot for adding a `calcite-action` to take, such as: \"undo\", \"try again\", \"link to page\", etc.\n * @slot actions-end - A slot for adding `calcite-action`s to the end of the component. It is recommended to use two or less actions.\n */\n\n@Component({\n tag: \"calcite-notice\",\n styleUrl: \"notice.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Notice\n implements\n ConditionalSlotComponent,\n LoadableComponent,\n T9nComponent,\n LocalizedComponent,\n OpenCloseComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //---------------------------------------------------------------------------\n\n /** When `true`, the component is visible. */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n }\n\n /** Specifies the kind of the component, which will apply to top border and icon. */\n @Prop({ reflect: true }) kind: Extract<\n \"brand\" | \"danger\" | \"info\" | \"success\" | \"warning\",\n Kind\n > = \"brand\";\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\n\n /**\n * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.\n */\n @Prop({ reflect: true }) icon: string | boolean;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\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: NoticeMessages;\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<NoticeMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n @Watch(\"icon\")\n @Watch(\"kind\")\n updateRequestedIcon(): void {\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n await setUpMessages(this);\n if (this.open) {\n onToggleOpenCloseComponent(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n render(): VNode {\n const { el } = this;\n const closeButton = (\n <button\n aria-label={this.messages.close}\n class={CSS.close}\n onClick={this.close}\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={(el) => (this.closeButton = el)}\n >\n <calcite-icon icon=\"x\" scale={getIconScale(this.scale)} />\n </button>\n );\n\n const hasActionEnd = getSlotted(el, SLOTS.actionsEnd);\n\n return (\n <div\n class={CSS.container}\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.setTransitionEl}\n >\n {this.requestedIcon ? (\n <div class={CSS.icon}>\n <calcite-icon\n flipRtl={this.iconFlipRtl}\n icon={this.requestedIcon}\n scale={getIconScale(this.scale)}\n />\n </div>\n ) : null}\n <div class={CSS.content}>\n <slot name={SLOTS.title} />\n <slot name={SLOTS.message} />\n <slot name={SLOTS.link} />\n </div>\n {hasActionEnd ? (\n <div class={CSS.actionsEnd}>\n <slot name={SLOTS.actionsEnd} />\n </div>\n ) : null}\n {this.closable ? closeButton : null}\n </div>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeClose: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n const noticeLinkEl = this.el.querySelector(\"calcite-link\");\n\n if (!this.closeButton && !noticeLinkEl) {\n return;\n }\n if (noticeLinkEl) {\n return noticeLinkEl.setFocus();\n } else if (this.closeButton) {\n this.closeButton.focus();\n }\n }\n\n onBeforeClose(): void {\n this.calciteNoticeBeforeClose.emit();\n }\n\n onBeforeOpen(): void {\n this.calciteNoticeBeforeOpen.emit();\n }\n\n onClose(): void {\n this.calciteNoticeClose.emit();\n }\n\n onOpen(): void {\n this.calciteNoticeOpen.emit();\n }\n\n private setTransitionEl = (el: HTMLElement): void => {\n this.transitionEl = el;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n private close = (): void => {\n this.open = false;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNoticeElement;\n\n /** The close button element. */\n private closeButton?: HTMLButtonElement;\n\n /** The computed icon to render. */\n private requestedIcon?: string;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: NoticeMessages;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLElement;\n}\n"],"version":3}
|
|
@@ -1,20 +1,20 @@
|
|
|
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, g as getElement, F as Fragment, H as Host } from './index-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
8
|
-
import { d as focusElement } from './dom-
|
|
9
|
-
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-
|
|
10
|
-
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive-
|
|
11
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
12
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-
|
|
13
|
-
import { g as getIconScale } from './component-
|
|
14
|
-
import { V as Validation } from './Validation-
|
|
15
|
-
import './guid-
|
|
16
|
-
import './resources-
|
|
17
|
-
import './browser-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, F as Fragment, H as Host } from './index-1de02cd5.js';
|
|
7
|
+
import { c as createObserver } from './observers-42e7a3d3.js';
|
|
8
|
+
import { d as focusElement } from './dom-ac7b03f1.js';
|
|
9
|
+
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-9e9a15d9.js';
|
|
10
|
+
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive-e1217b8a.js';
|
|
11
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-75766eeb.js';
|
|
12
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-5844e162.js';
|
|
13
|
+
import { g as getIconScale } from './component-4a5f419e.js';
|
|
14
|
+
import { V as Validation } from './Validation-a3e6f6fc.js';
|
|
15
|
+
import './guid-cf5b40ab.js';
|
|
16
|
+
import './resources-0a81787e.js';
|
|
17
|
+
import './browser-6731e452.js';
|
|
18
18
|
|
|
19
19
|
const optionCss = ":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";
|
|
20
20
|
const CalciteOptionStyle0 = optionCss;
|
|
@@ -125,7 +125,7 @@ const CSS = {
|
|
|
125
125
|
wrapper: "wrapper",
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
const selectCss = ":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .wrapper{block-size:1.5rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .wrapper{block-size:2rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .wrapper{block-size:44px}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);font-family:inherit;color:var(--calcite-color-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand
|
|
128
|
+
const selectCss = ":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .wrapper{block-size:1.5rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .wrapper{block-size:2rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .wrapper{block-size:44px}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);font-family:inherit;color:var(--calcite-color-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select: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 )}.select:hover{background-color:var(--calcite-color-foreground-2)}select:disabled{border-color:var(--calcite-color-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:transparent;color:var(--calcite-color-text-2);inset-inline-end:0px;border-inline-width:0px 1px}:host([status=invalid]) select,:host([status=invalid]) .icon-container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) select:focus,:host([status=invalid]) .icon-container:focus{outline:2px solid var(--calcite-color-status-danger);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 )}.select:focus~.icon-container{border-color:transparent}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";
|
|
129
129
|
const CalciteSelectStyle0 = selectCss;
|
|
130
130
|
|
|
131
131
|
function isOption(optionOrGroup) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-option.calcite-option-group.calcite-select.entry.js","mappings":";;;;;;;;;;;;;;;;;;AAAA,MAAM,SAAS,GAAG,yEAAyE,CAAC;AAC5F,4BAAe,SAAS;;MCOX,MAAM;;;;QA4DT,qBAAgB,GAAqB,cAAc,CAAC,UAAU,EAAE;YACtE,IAAI,CAAC,+BAA+B,EAAE,CAAC;YACvC,IAAI,CAAC,2BAA2B,CAAC,IAAI,EAAE,CAAC;SACzC,CAAC,CAAC;wBAlDQ,KAAK;;;;;IA0BN,gBAAgB,CAAC,SAAc,EAAE,SAAc,EAAE,QAAgB;QACzE,IAAI,QAAQ,KAAK,OAAO,IAAI,QAAQ,KAAK,OAAO,EAAE;YAChD,IAAI,CAAC,+BAA+B,EAAE,CAAC;SACxC;QAED,IAAI,CAAC,2BAA2B,CAAC,IAAI,EAAE,CAAC;KACzC;;;;;;IAsCO,+BAA+B;QACrC,MAAM,EACJ,EAAE,EAAE,EAAE,WAAW,EAAE,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,KAAK,EACL,KAAK,GACN,GAAG,IAAI,CAAC;QAET,IAAI,CAAC,KAAK,IAAI,KAAK,KAAK,kBAAkB,EAAE;YAC1C,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC;YACzB,IAAI,CAAC,kBAAkB,GAAG,WAAW,CAAC;SACvC;QAED,IACE,KAAK,IAAI,IAAI;YACb,KAAK,KAAK,kBAAkB,EAC5B;YACA,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC;YACzB,IAAI,CAAC,kBAAkB,GAAG,WAAW,CAAC;SACvC;KACF;;;;;;IAQD,iBAAiB;QACf,IAAI,CAAC,+BAA+B,EAAE,CAAC;QACvC,IAAI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E;gBACrB,OAAO;aACR;YAED,MAAM,CAAC,QAAQ,GAAG,KAAK,CAAC;SACzB,CAAC,CAAC;KACJ;;;;;;IAYD,aAAa;QACX,QACE,WAAK,KAAK,EAAE,GAAG,CAAC,aAAa,IAC3B,oBAAc,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,IAAI,EAAC,cAAc,EAAC,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,GAAI,CAClF,EACN;KACH;IAED,MAAM;QACJ,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;QAE1B,QACE,EAAC,IAAI,uDACH,EAAC,oBAAoB,qDAAC,QAAQ,EAAE,QAAQ,IACtC,4DAAK,KAAK,EAAE,GAAG,CAAC,OAAO,IACrB,6EACc,YAAY,CAAC,IAAI,CAAC,EAC9B,KAAK,EAAE,GAAG,CAAC,MAAM,EACjB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,IAAI,CAAC,0BAA0B;;YAEzC,GAAG,EAAE,IAAI,CAAC,cAAc,IAExB,8DAAQ,CACD,EACR,IAAI,CAAC,aAAa,EAAE,EACrB,EAAC,mBAAmB,qDAAC,SAAS,EAAE,IAAI,GAAI,CACpC,EACL,IAAI,CAAC,iBAAiB,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,IAClD,EAAC,UAAU,IACT,IAAI,EAAE,IAAI,CAAC,cAAc,EACzB,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAC/B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,GACnB,IACA,IAAI,CACa,CAClB,EACP;KACH;;;;;;;;;;;","names":[],"sources":["src/components/option/option.scss?tag=calcite-option&encapsulation=shadow","src/components/option/option.tsx","src/components/option-group/option-group.scss?tag=calcite-option-group&encapsulation=shadow","src/components/option-group/option-group.tsx","src/components/select/resources.ts","src/components/select/select.scss?tag=calcite-select&encapsulation=shadow","src/components/select/select.tsx"],"sourcesContent":[":host {\n @apply block;\n}\n\n@include base-component();\n","import { Component, Element, Event, EventEmitter, h, Prop, VNode, Watch } from \"@stencil/core\";\nimport { createObserver } from \"../../utils/observers\";\n\n@Component({\n tag: \"calcite-option\",\n styleUrl: \"option.scss\",\n shadow: true,\n})\nexport class Option {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({\n reflect: true,\n })\n disabled = false;\n\n /**\n * Accessible name for the component.\n */\n @Prop({ mutable: true })\n label: string;\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({\n reflect: true,\n })\n selected: boolean;\n\n /**\n * The component's value.\n */\n @Prop({ mutable: true })\n value: any;\n\n @Watch(\"disabled\")\n @Watch(\"label\")\n @Watch(\"selected\")\n @Watch(\"value\")\n protected handlePropChange(_newValue: any, _oldValue: any, propName: string): void {\n if (propName === \"label\" || propName === \"value\") {\n this.ensureTextContentDependentProps();\n }\n\n this.calciteInternalOptionChange.emit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Variables\n //\n //--------------------------------------------------------------------------\n\n @Element()\n private el: HTMLCalciteOptionElement;\n\n private internallySetLabel: string;\n\n private internallySetValue: any;\n\n private mutationObserver: MutationObserver = createObserver(\"mutation\", () => {\n this.ensureTextContentDependentProps();\n this.calciteInternalOptionChange.emit();\n });\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n private calciteInternalOptionChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private ensureTextContentDependentProps(): void {\n const {\n el: { textContent },\n internallySetLabel,\n internallySetValue,\n label,\n value,\n } = this;\n\n if (!label || label === internallySetLabel) {\n this.label = textContent;\n this.internallySetLabel = textContent;\n }\n\n if (\n value == null /* intentional loose equals to handle both undefined & null */ ||\n value === internallySetValue\n ) {\n this.value = textContent;\n this.internallySetValue = textContent;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ensureTextContentDependentProps();\n this.mutationObserver?.observe(this.el, {\n attributeFilter: [\"label\", \"value\"],\n characterData: true,\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n return <slot>{this.label}</slot>;\n }\n}\n",":host {\n @apply block;\n}\n\n@include base-component();\n","import { Component, Event, EventEmitter, Fragment, h, Prop, VNode, Watch } from \"@stencil/core\";\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-option-group\",\n styleUrl: \"option-group.scss\",\n shadow: true,\n})\nexport class OptionGroup {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({\n reflect: true,\n })\n disabled = false;\n\n /**\n * Accessible name for the component.\n */\n @Prop()\n label!: string;\n\n @Watch(\"disabled\")\n @Watch(\"label\")\n protected handlePropChange(): void {\n this.calciteInternalOptionGroupChange.emit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n private calciteInternalOptionGroupChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Fragment>\n <div>{this.label}</div>\n <slot />\n </Fragment>\n );\n }\n}\n","export const CSS = {\n icon: \"icon\",\n iconContainer: \"icon-container\",\n select: \"select\",\n wrapper: \"wrapper\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-select-font-size: The font size of `calcite-option`s in the component.\n * @prop --calcite-select-spacing: The padding around the selected option text.\n */\n\n:host {\n @extend %component-spacing;\n @apply flex flex-col;\n}\n\n.wrapper {\n @apply relative flex items-stretch;\n inline-size: var(--select-width);\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n --calcite-select-font-size: theme(\"fontSize.n2h\");\n --calcite-select-spacing-inline: theme(\"spacing.2\") theme(\"spacing.8\");\n\n .wrapper {\n @apply h-6;\n }\n\n .icon-container {\n @apply px-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-select-font-size: theme(\"fontSize.n1h\");\n --calcite-select-spacing-inline: theme(\"spacing.3\") theme(\"spacing.10\");\n\n .wrapper {\n @apply h-8;\n }\n\n .icon-container {\n @apply px-3;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-select-font-size: theme(\"fontSize.0h\");\n --calcite-select-spacing-inline: theme(\"spacing.4\") theme(\"spacing.12\");\n\n .wrapper {\n block-size: 44px;\n }\n\n .icon-container {\n @apply px-4;\n }\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-1/2;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n.select {\n @apply bg-foreground-1 border-color-input text-color-2 font-inherit focus-base m-0 box-border w-full cursor-pointer appearance-none truncate rounded-none border border-solid;\n font-size: var(--calcite-select-font-size);\n padding-inline: var(--calcite-select-spacing-inline);\n border-inline-end-width: theme(\"borderWidth.0\");\n\n &:focus {\n @apply focus-inset;\n }\n\n &:hover {\n @apply bg-foreground-2;\n }\n}\n\n// override user agent stylesheet disabled styling\nselect:disabled {\n @apply border-color-input bg-opacity-100;\n}\n\n.icon-container {\n @apply border-color-input text-color-2 pointer-events-none absolute inset-y-0 flex items-center border-0 border-solid bg-transparent;\n inset-inline-end: theme(\"inset.0\");\n border-inline-width: theme(\"borderWidth.0\") theme(\"borderWidth.DEFAULT\");\n}\n\n:host([status=\"invalid\"]) {\n select,\n .icon-container {\n @apply border-color-danger;\n }\n\n select:focus,\n .icon-container:focus {\n @apply focus-inset-danger;\n }\n}\n\n.select:focus ~ .icon-container {\n @apply border-color-transparent;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { focusElement } from \"../../utils/dom\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent, getLabelText } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { Scale, Status, Width } from \"../interfaces\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\nimport { CSS } from \"./resources\";\n\ntype OptionOrGroup = HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement;\ntype NativeOptionOrGroup = HTMLOptionElement | HTMLOptGroupElement;\n\nfunction isOption(optionOrGroup: OptionOrGroup): optionOrGroup is HTMLCalciteOptionElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION\";\n}\n\nfunction isOptionGroup(\n optionOrGroup: OptionOrGroup,\n): optionOrGroup is HTMLCalciteOptionGroupElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION-GROUP\";\n}\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-select\",\n styleUrl: \"select.scss\",\n shadow: true,\n})\nexport class Select\n implements LabelableComponent, FormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * Accessible name for the component.\n *\n */\n @Prop() label!: string;\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop({ reflect: true }) validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's `selectedOption` value. */\n @Prop({ mutable: true }) value: string = null;\n\n @Watch(\"value\")\n valueHandler(value: string): void {\n const items = this.el.querySelectorAll(\"calcite-option\");\n items.forEach((item) => (item.selected = item.value === value));\n }\n\n /**\n * The component's selected option `HTMLElement`.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedOption: HTMLCalciteOptionElement;\n\n @Watch(\"selectedOption\")\n selectedOptionHandler(selectedOption: HTMLCalciteOptionElement): void {\n this.value = selectedOption?.value;\n }\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSelectElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Select[\"value\"];\n\n private componentToNativeEl = new Map<OptionOrGroup, NativeOptionOrGroup>();\n\n private mutationObserver = createObserver(\"mutation\", () => this.populateInternalSelect());\n\n private selectEl: HTMLSelectElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { el } = this;\n\n this.mutationObserver?.observe(el, {\n subtree: true,\n childList: true,\n });\n\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n afterConnectDefaultValueSet(this, this.selectedOption?.value ?? \"\");\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n focusElement(this.selectEl);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the `selectedOption` changes.\n */\n @Event({ cancelable: false }) calciteSelectChange: EventEmitter<void>;\n\n private handleInternalSelectChange = (): void => {\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n requestAnimationFrame(() => this.emitChangeEvent());\n };\n\n @Listen(\"calciteInternalOptionChange\")\n @Listen(\"calciteInternalOptionGroupChange\")\n protected handleOptionOrGroupChange(event: CustomEvent): void {\n event.stopPropagation();\n\n const optionOrGroup = event.target as OptionOrGroup;\n const nativeEl = this.componentToNativeEl.get(optionOrGroup);\n\n if (!nativeEl) {\n return;\n }\n\n this.updateNativeElement(optionOrGroup, nativeEl);\n\n if (isOption(optionOrGroup) && optionOrGroup.selected) {\n this.deselectAllExcept(optionOrGroup);\n this.selectedOption = optionOrGroup;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private updateNativeElement(\n optionOrGroup: OptionOrGroup,\n nativeOptionOrGroup: NativeOptionOrGroup,\n ): void {\n nativeOptionOrGroup.disabled = optionOrGroup.disabled;\n nativeOptionOrGroup.label = optionOrGroup.label;\n\n if (isOption(optionOrGroup)) {\n const option = nativeOptionOrGroup as HTMLOptionElement;\n option.selected = optionOrGroup.selected;\n option.value = optionOrGroup.value;\n\n // need to set innerText for mobile\n // see https://stackoverflow.com/questions/35021620/ios-safari-not-showing-all-options-for-select-menu/41749701\n option.innerText = optionOrGroup.label;\n }\n }\n\n private populateInternalSelect = (): void => {\n const optionsAndGroups = Array.from(\n this.el.children as HTMLCollectionOf<OptionOrGroup | HTMLSlotElement>,\n ).filter(\n (child) => child.tagName === \"CALCITE-OPTION\" || child.tagName === \"CALCITE-OPTION-GROUP\",\n ) as OptionOrGroup[];\n\n this.clearInternalSelect();\n\n optionsAndGroups.forEach((optionOrGroup) =>\n this.selectEl?.append(this.toNativeElement(optionOrGroup)),\n );\n };\n\n private clearInternalSelect(): void {\n this.componentToNativeEl.forEach((value) => value.remove());\n this.componentToNativeEl.clear();\n }\n\n private storeSelectRef = (node: HTMLSelectElement): void => {\n this.selectEl = node;\n this.populateInternalSelect();\n\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n };\n\n private selectFromNativeOption(nativeOption: HTMLOptionElement): void {\n if (!nativeOption) {\n return;\n }\n\n let futureSelected: HTMLCalciteOptionElement;\n\n this.componentToNativeEl.forEach((nativeOptionOrGroup, optionOrGroup) => {\n if (isOption(optionOrGroup) && nativeOptionOrGroup === nativeOption) {\n optionOrGroup.selected = true;\n futureSelected = optionOrGroup;\n this.deselectAllExcept(optionOrGroup as HTMLCalciteOptionElement);\n }\n });\n\n if (futureSelected) {\n this.selectedOption = futureSelected;\n }\n }\n\n private toNativeElement(\n optionOrGroup: HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement,\n ): NativeOptionOrGroup {\n if (isOption(optionOrGroup)) {\n const option = document.createElement(\"option\");\n this.updateNativeElement(optionOrGroup, option);\n this.componentToNativeEl.set(optionOrGroup, option);\n\n return option;\n }\n\n if (isOptionGroup(optionOrGroup)) {\n const group = document.createElement(\"optgroup\");\n this.updateNativeElement(optionOrGroup, group);\n\n Array.from(optionOrGroup.children as HTMLCollectionOf<HTMLCalciteOptionElement>).forEach(\n (option) => {\n const nativeOption = this.toNativeElement(option);\n group.append(nativeOption);\n this.componentToNativeEl.set(optionOrGroup, nativeOption);\n },\n );\n\n this.componentToNativeEl.set(optionOrGroup, group);\n\n return group;\n }\n\n throw new Error(\"unsupported element child provided\");\n }\n\n private deselectAllExcept(except: HTMLCalciteOptionElement): void {\n this.el.querySelectorAll<HTMLCalciteOptionElement>(\"calcite-option\").forEach((option) => {\n if (option === except) {\n return;\n }\n\n option.selected = false;\n });\n }\n\n private emitChangeEvent = (): void => {\n this.calciteSelectChange.emit();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChevron(): VNode {\n return (\n <div class={CSS.iconContainer}>\n <calcite-icon class={CSS.icon} icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </div>\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div class={CSS.wrapper}>\n <select\n aria-label={getLabelText(this)}\n class={CSS.select}\n disabled={disabled}\n onChange={this.handleInternalSelectChange}\n // 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.storeSelectRef}\n >\n <slot />\n </select>\n {this.renderChevron()}\n <HiddenFormInputSlot component={this} />\n </div>\n {this.validationMessage && this.status === \"invalid\" ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-option.calcite-option-group.calcite-select.entry.js","mappings":";;;;;;;;;;;;;;;;;;AAAA,MAAM,SAAS,GAAG,yEAAyE,CAAC;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EACN;KACH;IAED,MAAM;QACJ,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;QAE1B,QACE,EAAC,IAAI,uDACH,EAAC,oBAAoB,qDAAC,QAAQ,EAAE,QAAQ,IACtC,4DAAK,KAAK,EAAE,GAAG,CAAC,OAAO,IACrB,6EACc,YAAY,CAAC,IAAI,CAAC,EAC9B,KAAK,EAAE,GAAG,CAAC,MAAM,EACjB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,IAAI,CAAC,0BAA0B;;YAEzC,GAAG,EAAE,IAAI,CAAC,cAAc,IAExB,8DAAQ,CACD,EACR,IAAI,CAAC,aAAa,EAAE,EACrB,EAAC,mBAAmB,qDAAC,SAAS,EAAE,IAAI,GAAI,CACpC,EACL,IAAI,CAAC,iBAAiB,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,IAClD,EAAC,UAAU,IACT,IAAI,EAAE,IAAI,CAAC,cAAc,EACzB,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAC/B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,GACnB,IACA,IAAI,CACa,CAClB,EACP;KACH;;;;;;;;;;;","names":[],"sources":["src/components/option/option.scss?tag=calcite-option&encapsulation=shadow","src/components/option/option.tsx","src/components/option-group/option-group.scss?tag=calcite-option-group&encapsulation=shadow","src/components/option-group/option-group.tsx","src/components/select/resources.ts","src/components/select/select.scss?tag=calcite-select&encapsulation=shadow","src/components/select/select.tsx"],"sourcesContent":[":host {\n @apply block;\n}\n\n@include base-component();\n","import { Component, Element, Event, EventEmitter, h, Prop, VNode, Watch } from \"@stencil/core\";\nimport { createObserver } from \"../../utils/observers\";\n\n@Component({\n tag: \"calcite-option\",\n styleUrl: \"option.scss\",\n shadow: true,\n})\nexport class Option {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({\n reflect: true,\n })\n disabled = false;\n\n /**\n * Accessible name for the component.\n */\n @Prop({ mutable: true })\n label: string;\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({\n reflect: true,\n })\n selected: boolean;\n\n /**\n * The component's value.\n */\n @Prop({ mutable: true })\n value: any;\n\n @Watch(\"disabled\")\n @Watch(\"label\")\n @Watch(\"selected\")\n @Watch(\"value\")\n protected handlePropChange(_newValue: any, _oldValue: any, propName: string): void {\n if (propName === \"label\" || propName === \"value\") {\n this.ensureTextContentDependentProps();\n }\n\n this.calciteInternalOptionChange.emit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Variables\n //\n //--------------------------------------------------------------------------\n\n @Element()\n private el: HTMLCalciteOptionElement;\n\n private internallySetLabel: string;\n\n private internallySetValue: any;\n\n private mutationObserver: MutationObserver = createObserver(\"mutation\", () => {\n this.ensureTextContentDependentProps();\n this.calciteInternalOptionChange.emit();\n });\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n private calciteInternalOptionChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private ensureTextContentDependentProps(): void {\n const {\n el: { textContent },\n internallySetLabel,\n internallySetValue,\n label,\n value,\n } = this;\n\n if (!label || label === internallySetLabel) {\n this.label = textContent;\n this.internallySetLabel = textContent;\n }\n\n if (\n value == null /* intentional loose equals to handle both undefined & null */ ||\n value === internallySetValue\n ) {\n this.value = textContent;\n this.internallySetValue = textContent;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ensureTextContentDependentProps();\n this.mutationObserver?.observe(this.el, {\n attributeFilter: [\"label\", \"value\"],\n characterData: true,\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n return <slot>{this.label}</slot>;\n }\n}\n",":host {\n @apply block;\n}\n\n@include base-component();\n","import { Component, Event, EventEmitter, Fragment, h, Prop, VNode, Watch } from \"@stencil/core\";\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-option-group\",\n styleUrl: \"option-group.scss\",\n shadow: true,\n})\nexport class OptionGroup {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({\n reflect: true,\n })\n disabled = false;\n\n /**\n * Accessible name for the component.\n */\n @Prop()\n label!: string;\n\n @Watch(\"disabled\")\n @Watch(\"label\")\n protected handlePropChange(): void {\n this.calciteInternalOptionGroupChange.emit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n private calciteInternalOptionGroupChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Fragment>\n <div>{this.label}</div>\n <slot />\n </Fragment>\n );\n }\n}\n","export const CSS = {\n icon: \"icon\",\n iconContainer: \"icon-container\",\n select: \"select\",\n wrapper: \"wrapper\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-select-font-size: The font size of `calcite-option`s in the component.\n * @prop --calcite-select-spacing: The padding around the selected option text.\n */\n\n:host {\n @extend %component-spacing;\n @apply flex flex-col;\n}\n\n.wrapper {\n @apply relative flex items-stretch;\n inline-size: var(--select-width);\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n --calcite-select-font-size: theme(\"fontSize.n2h\");\n --calcite-select-spacing-inline: theme(\"spacing.2\") theme(\"spacing.8\");\n\n .wrapper {\n @apply h-6;\n }\n\n .icon-container {\n @apply px-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-select-font-size: theme(\"fontSize.n1h\");\n --calcite-select-spacing-inline: theme(\"spacing.3\") theme(\"spacing.10\");\n\n .wrapper {\n @apply h-8;\n }\n\n .icon-container {\n @apply px-3;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-select-font-size: theme(\"fontSize.0h\");\n --calcite-select-spacing-inline: theme(\"spacing.4\") theme(\"spacing.12\");\n\n .wrapper {\n block-size: 44px;\n }\n\n .icon-container {\n @apply px-4;\n }\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-1/2;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n.select {\n @apply bg-foreground-1 border-color-input text-color-2 font-inherit focus-base m-0 box-border w-full cursor-pointer appearance-none truncate rounded-none border border-solid;\n font-size: var(--calcite-select-font-size);\n padding-inline: var(--calcite-select-spacing-inline);\n border-inline-end-width: theme(\"borderWidth.0\");\n\n &:focus {\n @apply focus-inset;\n }\n\n &:hover {\n @apply bg-foreground-2;\n }\n}\n\n// override user agent stylesheet disabled styling\nselect:disabled {\n @apply border-color-input bg-opacity-100;\n}\n\n.icon-container {\n @apply border-color-input text-color-2 pointer-events-none absolute inset-y-0 flex items-center border-0 border-solid bg-transparent;\n inset-inline-end: theme(\"inset.0\");\n border-inline-width: theme(\"borderWidth.0\") theme(\"borderWidth.DEFAULT\");\n}\n\n:host([status=\"invalid\"]) {\n select,\n .icon-container {\n @apply border-color-danger;\n }\n\n select:focus,\n .icon-container:focus {\n @apply focus-inset-danger;\n }\n}\n\n.select:focus ~ .icon-container {\n @apply border-color-transparent;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { focusElement } from \"../../utils/dom\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent, getLabelText } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { Scale, Status, Width } from \"../interfaces\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\nimport { CSS } from \"./resources\";\n\ntype OptionOrGroup = HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement;\ntype NativeOptionOrGroup = HTMLOptionElement | HTMLOptGroupElement;\n\nfunction isOption(optionOrGroup: OptionOrGroup): optionOrGroup is HTMLCalciteOptionElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION\";\n}\n\nfunction isOptionGroup(\n optionOrGroup: OptionOrGroup,\n): optionOrGroup is HTMLCalciteOptionGroupElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION-GROUP\";\n}\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-select\",\n styleUrl: \"select.scss\",\n shadow: true,\n})\nexport class Select\n implements LabelableComponent, FormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * Accessible name for the component.\n *\n */\n @Prop() label!: string;\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop({ reflect: true }) validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's `selectedOption` value. */\n @Prop({ mutable: true }) value: string = null;\n\n @Watch(\"value\")\n valueHandler(value: string): void {\n const items = this.el.querySelectorAll(\"calcite-option\");\n items.forEach((item) => (item.selected = item.value === value));\n }\n\n /**\n * The component's selected option `HTMLElement`.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedOption: HTMLCalciteOptionElement;\n\n @Watch(\"selectedOption\")\n selectedOptionHandler(selectedOption: HTMLCalciteOptionElement): void {\n this.value = selectedOption?.value;\n }\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSelectElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Select[\"value\"];\n\n private componentToNativeEl = new Map<OptionOrGroup, NativeOptionOrGroup>();\n\n private mutationObserver = createObserver(\"mutation\", () => this.populateInternalSelect());\n\n private selectEl: HTMLSelectElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { el } = this;\n\n this.mutationObserver?.observe(el, {\n subtree: true,\n childList: true,\n });\n\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n afterConnectDefaultValueSet(this, this.selectedOption?.value ?? \"\");\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n focusElement(this.selectEl);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the `selectedOption` changes.\n */\n @Event({ cancelable: false }) calciteSelectChange: EventEmitter<void>;\n\n private handleInternalSelectChange = (): void => {\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n requestAnimationFrame(() => this.emitChangeEvent());\n };\n\n @Listen(\"calciteInternalOptionChange\")\n @Listen(\"calciteInternalOptionGroupChange\")\n protected handleOptionOrGroupChange(event: CustomEvent): void {\n event.stopPropagation();\n\n const optionOrGroup = event.target as OptionOrGroup;\n const nativeEl = this.componentToNativeEl.get(optionOrGroup);\n\n if (!nativeEl) {\n return;\n }\n\n this.updateNativeElement(optionOrGroup, nativeEl);\n\n if (isOption(optionOrGroup) && optionOrGroup.selected) {\n this.deselectAllExcept(optionOrGroup);\n this.selectedOption = optionOrGroup;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private updateNativeElement(\n optionOrGroup: OptionOrGroup,\n nativeOptionOrGroup: NativeOptionOrGroup,\n ): void {\n nativeOptionOrGroup.disabled = optionOrGroup.disabled;\n nativeOptionOrGroup.label = optionOrGroup.label;\n\n if (isOption(optionOrGroup)) {\n const option = nativeOptionOrGroup as HTMLOptionElement;\n option.selected = optionOrGroup.selected;\n option.value = optionOrGroup.value;\n\n // need to set innerText for mobile\n // see https://stackoverflow.com/questions/35021620/ios-safari-not-showing-all-options-for-select-menu/41749701\n option.innerText = optionOrGroup.label;\n }\n }\n\n private populateInternalSelect = (): void => {\n const optionsAndGroups = Array.from(\n this.el.children as HTMLCollectionOf<OptionOrGroup | HTMLSlotElement>,\n ).filter(\n (child) => child.tagName === \"CALCITE-OPTION\" || child.tagName === \"CALCITE-OPTION-GROUP\",\n ) as OptionOrGroup[];\n\n this.clearInternalSelect();\n\n optionsAndGroups.forEach((optionOrGroup) =>\n this.selectEl?.append(this.toNativeElement(optionOrGroup)),\n );\n };\n\n private clearInternalSelect(): void {\n this.componentToNativeEl.forEach((value) => value.remove());\n this.componentToNativeEl.clear();\n }\n\n private storeSelectRef = (node: HTMLSelectElement): void => {\n this.selectEl = node;\n this.populateInternalSelect();\n\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n };\n\n private selectFromNativeOption(nativeOption: HTMLOptionElement): void {\n if (!nativeOption) {\n return;\n }\n\n let futureSelected: HTMLCalciteOptionElement;\n\n this.componentToNativeEl.forEach((nativeOptionOrGroup, optionOrGroup) => {\n if (isOption(optionOrGroup) && nativeOptionOrGroup === nativeOption) {\n optionOrGroup.selected = true;\n futureSelected = optionOrGroup;\n this.deselectAllExcept(optionOrGroup as HTMLCalciteOptionElement);\n }\n });\n\n if (futureSelected) {\n this.selectedOption = futureSelected;\n }\n }\n\n private toNativeElement(\n optionOrGroup: HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement,\n ): NativeOptionOrGroup {\n if (isOption(optionOrGroup)) {\n const option = document.createElement(\"option\");\n this.updateNativeElement(optionOrGroup, option);\n this.componentToNativeEl.set(optionOrGroup, option);\n\n return option;\n }\n\n if (isOptionGroup(optionOrGroup)) {\n const group = document.createElement(\"optgroup\");\n this.updateNativeElement(optionOrGroup, group);\n\n Array.from(optionOrGroup.children as HTMLCollectionOf<HTMLCalciteOptionElement>).forEach(\n (option) => {\n const nativeOption = this.toNativeElement(option);\n group.append(nativeOption);\n this.componentToNativeEl.set(optionOrGroup, nativeOption);\n },\n );\n\n this.componentToNativeEl.set(optionOrGroup, group);\n\n return group;\n }\n\n throw new Error(\"unsupported element child provided\");\n }\n\n private deselectAllExcept(except: HTMLCalciteOptionElement): void {\n this.el.querySelectorAll<HTMLCalciteOptionElement>(\"calcite-option\").forEach((option) => {\n if (option === except) {\n return;\n }\n\n option.selected = false;\n });\n }\n\n private emitChangeEvent = (): void => {\n this.calciteSelectChange.emit();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChevron(): VNode {\n return (\n <div class={CSS.iconContainer}>\n <calcite-icon class={CSS.icon} icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </div>\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div class={CSS.wrapper}>\n <select\n aria-label={getLabelText(this)}\n class={CSS.select}\n disabled={disabled}\n onChange={this.handleInternalSelectChange}\n // 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.storeSelectRef}\n >\n <slot />\n </select>\n {this.renderChevron()}\n <HiddenFormInputSlot component={this} />\n </div>\n {this.validationMessage && this.status === \"invalid\" ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|