@getflip/swirl-components-react 0.24.0 → 0.25.0
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/{file-manager.entry.3b1379e9.js → file-manager.entry.9a3706bd.js} +1 -1
- package/dist/{index.2a7aeb8a.js → index.64dc4343.js} +155 -154
- package/dist/stencil-generated/index.d.ts +1 -0
- package/dist/{swirl-action-list-section.entry.e40f4693.js → swirl-action-list-section.entry.2874fff7.js} +1 -1
- package/dist/{swirl-action-list_3.entry.cc04db56.js → swirl-action-list_3.entry.b616d062.js} +1 -1
- package/dist/{swirl-app-bar.entry.fad6af17.js → swirl-app-bar.entry.e595db62.js} +1 -1
- package/dist/swirl-app-icon.entry.b8f39c4a.js +25 -0
- package/dist/{swirl-app-layout_7.entry.53f98e3f.js → swirl-app-layout_7.entry.2111039f.js} +1 -1
- package/dist/{swirl-autocomplete.entry.d5218d3a.js → swirl-autocomplete.entry.a295eb1b.js} +1 -1
- package/dist/{swirl-avatar-group.entry.d1688584.js → swirl-avatar-group.entry.9e4c6236.js} +1 -1
- package/dist/{swirl-avatar.entry.9ba93bb5.js → swirl-avatar.entry.992f18bf.js} +1 -1
- package/dist/{swirl-badge.entry.4a73e041.js → swirl-badge.entry.7ae252cd.js} +1 -1
- package/dist/{swirl-banner.entry.b3369734.js → swirl-banner.entry.30417853.js} +1 -1
- package/dist/{swirl-button-group.entry.c4ff62ba.js → swirl-button-group.entry.ba90c6af.js} +1 -1
- package/dist/{swirl-button.entry.15aac267.js → swirl-button.entry.19c3ca14.js} +1 -1
- package/dist/{swirl-card.entry.b7a185ad.js → swirl-card.entry.e89a551b.js} +1 -1
- package/dist/{swirl-checkbox.entry.2abcea20.js → swirl-checkbox.entry.c8e069b4.js} +1 -1
- package/dist/{swirl-chip.entry.b5221a40.js → swirl-chip.entry.ad84c698.js} +1 -1
- package/dist/{swirl-columns.entry.79bc3c13.js → swirl-columns.entry.45efa0de.js} +1 -1
- package/dist/swirl-components-react.js +175 -174
- package/dist/swirl-components-react.umd.cjs +142 -32
- package/dist/{swirl-console-layout.entry.95ddf66d.js → swirl-console-layout.entry.5571ba55.js} +1 -1
- package/dist/{swirl-date-input.entry.2f8f21da.js → swirl-date-input.entry.7c6ac423.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.43e790b6.js → swirl-date-picker_2.entry.9b54896d.js} +1 -1
- package/dist/{swirl-description-list-item.entry.bf3fd350.js → swirl-description-list-item.entry.dbd16a1e.js} +1 -1
- package/dist/{swirl-description-list.entry.a08d6ca0.js → swirl-description-list.entry.c635b697.js} +1 -1
- package/dist/{swirl-dialog.entry.7888c763.js → swirl-dialog.entry.488c946b.js} +1 -1
- package/dist/{swirl-file-uploader.entry.c52a8374.js → swirl-file-uploader.entry.39e5a38e.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.8db7fa6b.js → swirl-file-viewer_7.entry.c10da807.js} +1 -1
- package/dist/{swirl-form-control.entry.4ae15a99.js → swirl-form-control.entry.cc265953.js} +1 -1
- package/dist/{swirl-form-group.entry.5b33d47f.js → swirl-form-group.entry.027384fa.js} +1 -1
- package/dist/{swirl-heading.entry.dea88206.js → swirl-heading.entry.c80541d0.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.ba566983.js → swirl-icon-add-photo.entry.0f0161a8.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.8368be67.js → swirl-icon-add_6.entry.23a5714f.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.2b54b4a3.js → swirl-icon-admin-panel-settings.entry.cc28bff6.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.2678f302.js → swirl-icon-arrow-back.entry.ff505058.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.850641de.js → swirl-icon-arrow-downward_2.entry.e0fcbd2f.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.21f9a7bd.js → swirl-icon-arrow-forward.entry.91cc2083.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.a36654e6.js → swirl-icon-arrow-left_4.entry.5d535563.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.193a4249.js → swirl-icon-arrow-right-small.entry.e33d19e7.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.5cd0d57e.js → swirl-icon-attachment.entry.b0a51b46.js} +1 -1
- package/dist/{swirl-icon-block.entry.fe745299.js → swirl-icon-block.entry.165f9fca.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.56dd2110.js → swirl-icon-bookmark.entry.e12c979c.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.3aab407c.js → swirl-icon-cancel_4.entry.e18fdc03.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.888951c4.js → swirl-icon-chat-bubble.entry.97801fa8.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.6a916225.js → swirl-icon-chats-filled.entry.73b004b8.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.28273657.js → swirl-icon-chats-outlined.entry.e7feb975.js} +1 -1
- package/dist/{swirl-icon-check-circle.entry.53707198.js → swirl-icon-check-circle.entry.90852398.js} +1 -1
- package/dist/{swirl-icon-check-small_4.entry.91b413fa.js → swirl-icon-check-small_4.entry.3a84670f.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.bc4bf56c.js → swirl-icon-check-strong.entry.0e925d97.js} +1 -1
- package/dist/{swirl-icon-check.entry.852b4762.js → swirl-icon-check.entry.21ec8b26.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.06dfb598.js → swirl-icon-chevron-left.entry.7b52269d.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.cb939d21.js → swirl-icon-chevron-right.entry.8d9bd783.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.4d33c14a.js → swirl-icon-close-small.entry.fc201e42.js} +1 -1
- package/dist/{swirl-icon-close.entry.1fc42ddb.js → swirl-icon-close.entry.36fb7300.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.152eab22.js → swirl-icon-cloud-upload.entry.f44803cf.js} +1 -1
- package/dist/{swirl-icon-column.entry.05c0bab1.js → swirl-icon-column.entry.a8938c10.js} +1 -1
- package/dist/{swirl-icon-comment.entry.f52a4f6d.js → swirl-icon-comment.entry.fa168569.js} +1 -1
- package/dist/{swirl-icon-copy.entry.6d04ecba.js → swirl-icon-copy.entry.aff359a7.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.50f8ba7b.js → swirl-icon-date-range.entry.8cf8c3e7.js} +1 -1
- package/dist/{swirl-icon-delete.entry.cf146503.js → swirl-icon-delete.entry.2f655691.js} +1 -1
- package/dist/{swirl-icon-description.entry.33dcacdb.js → swirl-icon-description.entry.d6a45a30.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.ac9f709b.js → swirl-icon-double-arrow-left.entry.4091e7a7.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.e35fca0c.js → swirl-icon-double-arrow-right.entry.64af9d3a.js} +1 -1
- package/dist/{swirl-icon-download.entry.07d69870.js → swirl-icon-download.entry.81ebe98f.js} +1 -1
- package/dist/{swirl-icon-edit.entry.77731160.js → swirl-icon-edit.entry.e9e443f0.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.132a7981.js → swirl-icon-emoji-mood.entry.2d6e3722.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.4b7f0724.js → swirl-icon-emoji-satisfied.entry.9e19a553.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.849c04ab.js → swirl-icon-error_3.entry.ba4258bf.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.b6441896.js → swirl-icon-expand-more.entry.a0e74b13.js} +1 -1
- package/dist/{swirl-icon-filter.entry.be3397cb.js → swirl-icon-filter.entry.7f61a9d1.js} +1 -1
- package/dist/{swirl-icon-folder.entry.2147cfa4.js → swirl-icon-folder.entry.8caad53b.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.660c4aff.js → swirl-icon-group-assign.entry.255c9d38.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.45d33dd4.js → swirl-icon-groups-custom.entry.707602a4.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.c8e3d922.js → swirl-icon-groups-filled.entry.d73c6231.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.5cdcae38.js → swirl-icon-groups-outlined.entry.375b296d.js} +1 -1
- package/dist/{swirl-icon-groups.entry.597f3b7b.js → swirl-icon-groups.entry.2cb0156c.js} +1 -1
- package/dist/{swirl-icon-help.entry.afc81339.js → swirl-icon-help.entry.4af30f56.js} +1 -1
- package/dist/{swirl-icon-image.entry.7394775f.js → swirl-icon-image.entry.216c5877.js} +1 -1
- package/dist/{swirl-icon-info.entry.062faa08.js → swirl-icon-info.entry.169c420f.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.91a97202.js → swirl-icon-inventory.entry.e0522e29.js} +1 -1
- package/dist/{swirl-icon-like.entry.7d39cfc2.js → swirl-icon-like.entry.c28bb553.js} +1 -1
- package/dist/{swirl-icon-link.entry.e09cd6d4.js → swirl-icon-link.entry.55b5786d.js} +1 -1
- package/dist/{swirl-icon-lock.entry.95ff2119.js → swirl-icon-lock.entry.00ea66c6.js} +1 -1
- package/dist/{swirl-icon-logout.entry.a863d097.js → swirl-icon-logout.entry.9d739bc2.js} +1 -1
- package/dist/{swirl-icon-mail.entry.e9e8cdf8.js → swirl-icon-mail.entry.cc597753.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.01050b49.js → swirl-icon-manage-accounts.entry.916ed3b1.js} +1 -1
- package/dist/{swirl-icon-mention.entry.a4a774fa.js → swirl-icon-mention.entry.5dfc6316.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.a7ae4c79.js → swirl-icon-menu-filled.entry.55c065c7.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.f9d7af8b.js → swirl-icon-menu-outlined.entry.7b89ea16.js} +1 -1
- package/dist/{swirl-icon-menu.entry.2569fbba.js → swirl-icon-menu.entry.6f40e54f.js} +1 -1
- package/dist/{swirl-icon-message.entry.28125938.js → swirl-icon-message.entry.f7f04212.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.8d2122ff.js → swirl-icon-more-horizontal.entry.8409a032.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.34da3832.js → swirl-icon-news-filled.entry.9344897c.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.5b2b1cae.js → swirl-icon-news-outlined.entry.e6364fd7.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.5427206f.js → swirl-icon-notifications-active.entry.60227c0d.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.041fd3fc.js → swirl-icon-notifications-off.entry.a23267fc.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.d24f3e4a.js → swirl-icon-notifications.entry.701d584f.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.272da7df.js → swirl-icon-open-in-new.entry.c241f4e2.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.38bdcf6c.js → swirl-icon-people-alt.entry.b23a2105.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.b785a2cc.js → swirl-icon-person-off.entry.22dfbc9d.js} +1 -1
- package/dist/{swirl-icon-person.entry.0ad38b67.js → swirl-icon-person.entry.4c8fdddd.js} +1 -1
- package/dist/{swirl-icon-phone.entry.6bcf8544.js → swirl-icon-phone.entry.e2ff6226.js} +1 -1
- package/dist/{swirl-icon-poll.entry.a6234cde.js → swirl-icon-poll.entry.ab8f2908.js} +1 -1
- package/dist/{swirl-icon-print.entry.af5e8dbd.js → swirl-icon-print.entry.f5ff63d5.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.0689ccad.js → swirl-icon-recieved.entry.41145507.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.dc0fa3cd.js → swirl-icon-search-strong.entry.d9a90905.js} +1 -1
- package/dist/{swirl-icon-search.entry.f9a31ca0.js → swirl-icon-search.entry.d4185ca2.js} +1 -1
- package/dist/{swirl-icon-send.entry.a4fefbad.js → swirl-icon-send.entry.0b3e3d7a.js} +1 -1
- package/dist/{swirl-icon-settings.entry.afeeb2de.js → swirl-icon-settings.entry.8009c832.js} +1 -1
- package/dist/{swirl-icon-sync.entry.f8de9750.js → swirl-icon-sync.entry.7552b8ce.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.00dd1adb.js → swirl-icon-tasks-filled.entry.84cdcd8d.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.2009adbd.js → swirl-icon-tasks-outlined.entry.68be43f2.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.8a6d311d.js → swirl-icon-time-filled.entry.e52c0a8d.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.917a2ddc.js → swirl-icon-time-outlined.entry.bcfdfe66.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.0a3fcf51.js → swirl-icon-user-assign.entry.782c83c1.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.ef759695.js → swirl-icon-video-camera.entry.813bf705.js} +1 -1
- package/dist/{swirl-icon-warning.entry.9b7166c5.js → swirl-icon-warning.entry.0a7d60c9.js} +1 -1
- package/dist/{swirl-lightbox.entry.ea05c660.js → swirl-lightbox.entry.25affdbb.js} +1 -1
- package/dist/{swirl-link.entry.c0d2aab1.js → swirl-link.entry.7fe42a47.js} +1 -1
- package/dist/{swirl-list.entry.91dacdbc.js → swirl-list.entry.ef72b201.js} +1 -1
- package/dist/{swirl-modal.entry.ff17885c.js → swirl-modal.entry.b72665e3.js} +1 -1
- package/dist/{swirl-option-list-section.entry.58f43083.js → swirl-option-list-section.entry.b232cc93.js} +1 -1
- package/dist/{swirl-pagination.entry.379fdd5d.js → swirl-pagination.entry.8b400995.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.b5dac9e8.js → swirl-pdf-reader.entry.126af121.js} +1 -1
- package/dist/{swirl-popover.entry.95e08a74.js → swirl-popover.entry.4fad07c1.js} +1 -1
- package/dist/{swirl-progress-indicator.entry.749017a3.js → swirl-progress-indicator.entry.70cfd219.js} +1 -1
- package/dist/{swirl-radio-group.entry.7d945285.js → swirl-radio-group.entry.12bacae2.js} +1 -1
- package/dist/{swirl-radio.entry.a96cfbc3.js → swirl-radio.entry.38036ff3.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.b0894f69.js → swirl-resource-list-file-item.entry.b0134b9b.js} +1 -1
- package/dist/{swirl-search.entry.8f7e536c.js → swirl-search.entry.d2e8576f.js} +2 -2
- package/dist/{swirl-select.entry.44364d64.js → swirl-select.entry.930c91e2.js} +1 -1
- package/dist/{swirl-shell-layout.entry.310a0339.js → swirl-shell-layout.entry.7a2ad3e8.js} +4 -4
- package/dist/swirl-shell-navigation-item.entry.54390bb3.js +133 -0
- package/dist/{swirl-skeleton-box.entry.83906c92.js → swirl-skeleton-box.entry.3a5181dc.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.89a110f2.js → swirl-skeleton-text.entry.1f72bd54.js} +1 -1
- package/dist/{swirl-stack.entry.ca013649.js → swirl-stack.entry.969454c9.js} +1 -1
- package/dist/{swirl-switch.entry.402520d1.js → swirl-switch.entry.82db44e5.js} +1 -1
- package/dist/{swirl-tab.entry.97cd1b8c.js → swirl-tab.entry.986149d1.js} +1 -1
- package/dist/{swirl-table-cell.entry.cdbc99ed.js → swirl-table-cell.entry.22eeb09f.js} +1 -1
- package/dist/{swirl-table-column.entry.7a0097f3.js → swirl-table-column.entry.372513b1.js} +1 -1
- package/dist/{swirl-table-row-group.entry.d8f43e71.js → swirl-table-row-group.entry.805e1ec3.js} +1 -1
- package/dist/{swirl-table-row.entry.df8dbe1e.js → swirl-table-row.entry.4fda86c1.js} +1 -1
- package/dist/{swirl-table.entry.4b0c5e09.js → swirl-table.entry.afbf059c.js} +1 -1
- package/dist/{swirl-tabs.entry.fd5699b2.js → swirl-tabs.entry.9624f81c.js} +1 -1
- package/dist/{swirl-tag.entry.d2c2b14a.js → swirl-tag.entry.c5b751f8.js} +1 -1
- package/dist/{swirl-text-input.entry.cc8b1468.js → swirl-text-input.entry.378b7dd1.js} +1 -1
- package/dist/{swirl-text.entry.551fad93.js → swirl-text.entry.77b32d4c.js} +1 -1
- package/dist/{swirl-theme-provider.entry.1a2631e9.js → swirl-theme-provider.entry.392a2945.js} +1 -1
- package/dist/{swirl-toast-provider.entry.f540e271.js → swirl-toast-provider.entry.08bc1338.js} +1 -1
- package/dist/{swirl-toast.entry.8ec33a0d.js → swirl-toast.entry.421c7bb2.js} +1 -1
- package/dist/{swirl-tooltip.entry.ae49f9b6.js → swirl-tooltip.entry.b786e343.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.bcd0517e.js → swirl-tree-navigation-item.entry.b33f38af.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.5584f3d8.js → swirl-video-thumbnail.entry.7a7ccc19.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.25ed6828.js → swirl-visually-hidden.entry.31975b1f.js} +1 -1
- package/dist/{wc-datepicker.entry.3e2abe5b.js → wc-datepicker.entry.883b5972.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-shell-navigation-item.entry.175106e8.js +0 -34
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as c, h as e, H as u, g } from "./index.
|
|
1
|
+
import { r as c, h as e, H as u, g } from "./index.64dc4343.js";
|
|
2
2
|
import { A as b } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
3
|
import { d as m, e as p } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as x } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as i, H as t } from "./index.
|
|
1
|
+
import { r, h as i, H as t } from "./index.64dc4343.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const s = ":host{display:inline-flex}:host *{box-sizing:border-box}.link{color:var(--s-interactive-primary-default);line-height:var(--s-line-height-base);text-underline-offset:var(--s-space-4)}.link:hover{color:var(--s-interactive-primary-hovered)}.link:active{color:var(--s-interactive-primary-pressed)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.link{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", n = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, h as t, H as r } from "./index.
|
|
1
|
+
import { r as l, h as t, H as r } from "./index.64dc4343.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const s = ':host{display:block}:host *{box-sizing:border-box}.swirl-list{line-height:var(--s-line-height-base)}.swirl-list ul,.swirl-list ol{margin:0;padding:0;list-style-position:outside;list-style-type:none}.swirl-list ul li{padding-left:1.5rem}.swirl-list ul li:before{display:inline-block;width:1.5rem;margin-left:-1.5rem;text-align:center;content:"\u2022"}.swirl-list ol{counter-reset:item}.swirl-list ol ol{counter-reset:letter}.swirl-list ol ol li:before{content:counter(letter, lower-alpha) ".";counter-increment:letter}.swirl-list ol li{padding-left:1.5rem}.swirl-list ol li:before{display:inline-block;min-width:1.5rem;margin-left:-1.5rem;padding-right:var(--s-space-8);text-align:right;content:counter(item) ".";counter-increment:item;font-variant-numeric:tabular-nums}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.swirl-list{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}', n = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c as s, h as o, H as p } from "./index.
|
|
1
|
+
import { r as h, c as s, h as o, H as p } from "./index.64dc4343.js";
|
|
2
2
|
import { A as b } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
3
|
import { d as f, e as u } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as v } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as s, h as t, H as e } from "./index.
|
|
1
|
+
import { r as s, h as t, H as e } from "./index.64dc4343.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const o = ":host{display:block}:host *{box-sizing:border-box}.option-list-section{background-color:var(--s-surface-overlay-default)}.option-list-section__label{display:block;width:100%;padding:var(--s-space-8) var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default);color:var(--s-text-subdued);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);text-align:left}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-section__label{padding:var(--s-space-8) var(--s-space-12);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", l = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, h as e, H as n, g as d } from "./index.
|
|
1
|
+
import { r as l, h as e, H as n, g as d } from "./index.64dc4343.js";
|
|
2
2
|
import { A as c } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
3
|
import { d as h, e as p } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as r } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c as r, h as n, H as m, g as v } from "./index.
|
|
1
|
+
import { r as h, c as r, h as n, H as m, g as v } from "./index.64dc4343.js";
|
|
2
2
|
import { o as p, s as l, f, c as u, a as g } from "./floating-ui.dom.esm-b9f28f6d.15013ef7.js";
|
|
3
3
|
import { d as b, e as y } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as k } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, c as o, h as i, H as l, g as n } from "./index.
|
|
1
|
+
import { r as a, c as o, h as i, H as l, g as n } from "./index.64dc4343.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const u = ".sc-swirl-radio-group-h{display:block}.sc-swirl-radio-group-h *.sc-swirl-radio-group{box-sizing:border-box}.radio-group.sc-swirl-radio-group{display:flex;flex-direction:column;gap:var(--s-space-12)}", d = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, c as a, h as s, H as c } from "./index.
|
|
1
|
+
import { r as n, c as a, h as s, H as c } from "./index.64dc4343.js";
|
|
2
2
|
import { c as d } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { a as h } from "./utils-61f188cc.4a43deab.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as i, c as r, h as a, H as t } from "./index.
|
|
1
|
+
import { r as i, c as r, h as a, H as t } from "./index.64dc4343.js";
|
|
2
2
|
import { c } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { a as l } from "./utils-61f188cc.4a43deab.js";
|
|
4
4
|
import "react";
|
|
@@ -8,7 +8,7 @@ const o = ".sc-swirl-search-h{display:flex;width:100%}.sc-swirl-search-h *.sc-sw
|
|
|
8
8
|
i(this, e), this.inputBlur = r(this, "inputBlur", 7), this.inputFocus = r(this, "inputFocus", 7), this.valueChange = r(this, "valueChange", 7), this.desktopMediaQuery = l(), this.desktopMediaQueryHandler = (s) => {
|
|
9
9
|
this.forceIconProps(s.matches);
|
|
10
10
|
}, this.clear = () => {
|
|
11
|
-
this.input.value = "", this.input.focus();
|
|
11
|
+
this.input.value = "", this.input.focus(), this.valueChange.emit("");
|
|
12
12
|
}, this.onBlur = (s) => {
|
|
13
13
|
this.inputBlur.emit(s);
|
|
14
14
|
}, this.onChange = (s) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, c as r, h as e, H as c, g as d } from "./index.
|
|
1
|
+
import { r as a, c as r, h as e, H as c, g as d } from "./index.64dc4343.js";
|
|
2
2
|
import { c as h } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { q as p } from "./utils-61f188cc.4a43deab.js";
|
|
4
4
|
import "react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { r as o, h as e, H as t } from "./index.
|
|
1
|
+
import { r as o, h as e, H as t } from "./index.64dc4343.js";
|
|
2
2
|
import { c as i } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { a as r, g as d } from "./utils-61f188cc.4a43deab.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
const n = `:host{--extended-sidebar-width:
|
|
6
|
+
const n = `:host{--extended-sidebar-width:17rem;--collapsed-sidebar-width:4rem;display:flex;width:100%;height:100%}:host *{box-sizing:border-box}.shell-layout{display:grid;width:100%;min-height:100%;transition:grid-template-columns 0.2s;grid-template-columns:0 1fr;grid-template-rows:auto 1fr;grid-template-areas:"banner banner"
|
|
7
7
|
"sidebar main"}@media (min-width: 992px){.shell-layout{grid-template-columns:var(--extended-sidebar-width) 1fr}}.shell-layout--collapsed-sidebar{grid-template-columns:0 1fr}@media (min-width: 992px){.shell-layout--collapsed-sidebar:not(.shell-layout--collapsing) .shell-layout__sidebar-wrapper.shell-layout__sidebar-wrapper--hovered .shell-layout__sidebar,.shell-layout--collapsed-sidebar:not(.shell-layout--collapsing) .shell-layout__sidebar-wrapper:focus-within .shell-layout__sidebar{width:var(--extended-sidebar-width);box-shadow:0 0.75rem 2rem rgba(25, 26, 28, 0.12),
|
|
8
|
-
0 0.25rem 0.75rem rgba(25, 26, 28, 0.08)}}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper{transform:translate3d(-100%, 0, 0)}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper .shell-layout__sidebar{width:100%;box-shadow:none}@media (min-width: 992px){.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper{max-width:var(--collapsed-sidebar-width);flex-basis:var(--collapsed-sidebar-width);transform:none}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__sidebar{box-shadow:none}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__collapsed-logo{display:
|
|
9
|
-
0 0.25rem 0.75rem rgba(25, 26, 28, 0.08)}@media (min-width: 992px){.shell-layout__sidebar{box-shadow:none}}.shell-layout__header{
|
|
8
|
+
0 0.25rem 0.75rem rgba(25, 26, 28, 0.08)}}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper{transform:translate3d(-100%, 0, 0)}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper .shell-layout__sidebar{width:100%;box-shadow:none}@media (min-width: 992px){.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper{max-width:var(--collapsed-sidebar-width);flex-basis:var(--collapsed-sidebar-width);transform:none}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__sidebar{box-shadow:none}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__collapsed-logo{display:inline-flex;justify-content:center;align-items:center}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__expanded-logo{display:none}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__toggle{display:none}}@media (min-width: 992px){.shell-layout--collapsed-sidebar{grid-template-columns:var(--collapsed-sidebar-width) 1fr}}.shell-layout__banner{grid-area:banner}.shell-layout__sidebar-wrapper{position:absolute;z-index:2;top:0;bottom:0;left:0;width:100%;max-width:var(--extended-sidebar-width);min-height:0;flex-basis:var(--extended-sidebar-width);flex-shrink:0;transition:max-width 0.2s, transform 0.2s;grid-area:sidebar}@media (min-width: 992px){.shell-layout__sidebar-wrapper{position:relative;inset:auto}}.shell-layout__sidebar{display:flex;width:var(--extended-sidebar-width);height:100%;border-right:var(--s-border-width-default) solid var(--s-border-default);flex-direction:column;transition:box-shadow 0.2s, width 0.2s;box-shadow:0 0.75rem 2rem rgba(25, 26, 28, 0.12),
|
|
9
|
+
0 0.25rem 0.75rem rgba(25, 26, 28, 0.08)}@media (min-width: 992px){.shell-layout__sidebar{box-shadow:none}}.shell-layout__header{flex-shrink:0;border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default)}.shell-layout__logo-bar{display:flex;overflow:hidden;align-items:center;height:4.5rem}.shell-layout__expanded-logo{padding-right:var(--s-space-12);padding-left:var(--s-space-12);flex-grow:1}.shell-layout__collapsed-logo{display:none;padding-right:var(--s-space-12);padding-left:var(--s-space-12);flex-grow:1}.shell-layout__toggle{padding-right:var(--s-space-16);padding-left:var(--s-space-12);flex-grow:0;flex-shrink:0}.shell-layout__mobile-toggle{position:absolute;z-index:2;top:var(--s-space-12);left:calc(100% + var(--s-space-16))}@media (min-width: 992px){.shell-layout__mobile-toggle{display:none}}.shell-layout__main-navigation{overflow:auto;flex-grow:1;background-color:var(--s-background-default)}.shell-layout__main{min-height:0;background-color:var(--s-background-default);grid-area:main}.shell-layout__main>*,.shell-layout__main ::slotted(*){height:100%}.shell-layout__backdrop{position:fixed;z-index:1;background-color:rgba(0, 0, 0, 0.4);-webkit-animation:shell-layout-backdrop-fade-in 0.1s;animation:shell-layout-backdrop-fade-in 0.1s;inset:0}@media (min-width: 992px){.shell-layout__backdrop{display:none}}.shell-layout__backdrop--fading{-webkit-animation:shell-layout-backdrop-fade-out 0.2s;animation:shell-layout-backdrop-fade-out 0.2s}@-webkit-keyframes shell-layout-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes shell-layout-backdrop-fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes shell-layout-backdrop-fade-out{from{opacity:1}to{opacity:0}}@keyframes shell-layout-backdrop-fade-out{from{opacity:1}to{opacity:0}}`, h = class {
|
|
10
10
|
constructor(l) {
|
|
11
11
|
o(this, l), this.desktopMediaQuery = r(), this.desktopMediaQueryHandler = (a) => {
|
|
12
12
|
a.matches ? this.showSidebar() : this.hideSidebar();
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { r as t, h as n, H as a, g as s } from "./index.64dc4343.js";
|
|
2
|
+
import { c as o } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const r = `/**
|
|
6
|
+
* seems the container query does not work as expected
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
:host {
|
|
10
|
+
container-type: inline-size;
|
|
11
|
+
position: relative;
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 3.5rem;
|
|
15
|
+
padding-right: var(--s-space-12);
|
|
16
|
+
padding-left: var(--s-space-12);
|
|
17
|
+
flex-shrink: 0;
|
|
18
|
+
justify-content: flex-start;
|
|
19
|
+
align-items: center;
|
|
20
|
+
color: var(--s-text-default);
|
|
21
|
+
background-color: var(--s-surface-default);
|
|
22
|
+
font-size: var(--s-font-size-sm);
|
|
23
|
+
font-weight: var(--s-font-weight-medium);
|
|
24
|
+
line-height: var(--s-line-height-sm);
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
gap: var(--s-space-12);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host(:hover) {
|
|
30
|
+
background-color: var(--s-surface-hovered);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host(:active) {
|
|
34
|
+
background-color: var(--s-surface-pressed);
|
|
35
|
+
color: var(--s-text-highlight);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:host(:focus) {
|
|
39
|
+
outline: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:host(:focus-visible) .shell-navigation-item__label {
|
|
43
|
+
border-radius: var(--s-border-radius-xs);
|
|
44
|
+
box-shadow: 0 0 0 0.125rem var(--s-focus-default);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:host(.shell-navigation-item--active) {
|
|
48
|
+
color: var(--s-text-highlight);
|
|
49
|
+
background-color: var(--s-surface-raised-default);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host(.shell-navigation-item--active:hover) {
|
|
53
|
+
background-color: var(--s-surface-raised-hovered);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host(.shell-navigation-item--active:active) {
|
|
57
|
+
background-color: var(--s-surface-raised-pressed);
|
|
58
|
+
color: var(--s-text-highlight);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:host * {
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:host:before {
|
|
66
|
+
content: "";
|
|
67
|
+
display: none;
|
|
68
|
+
position: absolute;
|
|
69
|
+
left: 0;
|
|
70
|
+
height: 2.5rem;
|
|
71
|
+
width: 4px;
|
|
72
|
+
background-color: var(--s-icon-highlight);
|
|
73
|
+
border-top-right-radius: 4px;
|
|
74
|
+
border-bottom-right-radius: 4px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:host(.shell-navigation-item--active):before {
|
|
78
|
+
display: block;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.shell-navigation-item__icon {
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
align-items: center;
|
|
85
|
+
min-width: 2.5rem;
|
|
86
|
+
min-height: 2.5rem;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.shell-navigation-item__label {
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
min-width: 0;
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
text-overflow: ellipsis;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@container (max-width: 4rem) {
|
|
97
|
+
.shell-navigation-item__label {
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.shell-navigation-item__badge {
|
|
102
|
+
position: absolute;
|
|
103
|
+
bottom: 0;
|
|
104
|
+
right: var(--s-space-4);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@container (min-width: 14rem) {
|
|
109
|
+
.shell-navigation-item__badge {
|
|
110
|
+
margin-left: auto;
|
|
111
|
+
padding-right: var(--s-space-4);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
`, l = class {
|
|
115
|
+
constructor(e) {
|
|
116
|
+
t(this, e), this.onKeyDown = (i) => {
|
|
117
|
+
i.code === "Enter" && (i.preventDefault(), this.el.click());
|
|
118
|
+
}, this.active = void 0, this.badgeLabel = void 0, this.label = void 0;
|
|
119
|
+
}
|
|
120
|
+
render() {
|
|
121
|
+
const e = o("shell-navigation-item", {
|
|
122
|
+
"shell-navigation-item--active": this.active
|
|
123
|
+
});
|
|
124
|
+
return n(a, { class: e, onKeyDown: this.onKeyDown, role: "link", tabIndex: 0 }, n("span", { class: "shell-navigation-item__icon" }, n("slot", { name: "icon" })), n("span", { class: "shell-navigation-item__label" }, this.label), this.badgeLabel && n("swirl-badge", { class: "shell-navigation-item__badge", size: "s", "aria-label": this.badgeLabel, label: this.badgeLabel }));
|
|
125
|
+
}
|
|
126
|
+
get el() {
|
|
127
|
+
return s(this);
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
l.style = r;
|
|
131
|
+
export {
|
|
132
|
+
l as swirl_shell_navigation_item
|
|
133
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, h as s, H as e } from "./index.
|
|
1
|
+
import { r as a, h as s, H as e } from "./index.64dc4343.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const t = ":host{display:flex;overflow:auto;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);flex-basis:0;flex-grow:1;flex-shrink:1;align-items:center;background-color:var(--s-background-default);word-break:break-word;-webkit-hyphens:auto;hyphens:auto;transition:box-shadow 0.15s}:host(.table-cell--has-shadow-right){box-shadow:var(--swirl-table-sticky-right-shadow)}:host(.table-cell--has-shadow-left){box-shadow:var(--swirl-table-sticky-left-shadow)}:host(:first-child){border-left:var(--s-border-width-default) solid var(--s-border-default)}:host(:last-child){border-right:var(--s-border-width-default) solid var(--s-border-default)}:host *{box-sizing:border-box}", l = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, h as t, H as r, g as i } from "./index.
|
|
1
|
+
import { r as e, h as t, H as r, g as i } from "./index.64dc4343.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const o = ":host{display:flex;overflow:hidden;padding-top:var(--s-space-12);padding-right:var(--s-space-16);padding-bottom:var(--s-space-12);padding-left:var(--s-space-16);flex-basis:0;flex-grow:1;flex-shrink:1;align-items:center;border-top:var(--s-border-width-default) solid var(--s-border-default);border-bottom:var(--s-border-width-default) solid var(--s-border-default);color:var(--s-text-subdued);background-color:var(--s-background-default);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm);white-space:nowrap;letter-spacing:var(--s-letter-spacing-tighter);text-overflow:ellipsis;transition:box-shadow 0.15s;gap:var(--s-space-8)}:host(:first-child){border-left:var(--s-border-width-default) solid var(--s-border-default)}:host(:last-child){border-right:var(--s-border-width-default) solid var(--s-border-default)}:host(.table-column--has-shadow-right){box-shadow:var(--swirl-table-sticky-right-shadow)}:host(.table-column--has-shadow-left){box-shadow:var(--swirl-table-sticky-left-shadow)}:host *{box-sizing:border-box}.table-column__sort-indicator{display:inline-flex;width:1.25rem;height:1.25rem;flex-grow:0;flex-shrink:0}", a = class {
|
package/dist/{swirl-table-row-group.entry.d8f43e71.js → swirl-table-row-group.entry.805e1ec3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, h as r, H as s, g as t } from "./index.
|
|
1
|
+
import { r as o, h as r, H as s, g as t } from "./index.64dc4343.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const a = ":host{position:relative;z-index:1;display:block}:host *{box-sizing:border-box}.table-row-group__header-row{padding:var(--s-space-12) var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-surface-raised-default);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm)}@media (min-width: 768px){.table-row-group__label{position:sticky;left:var(--s-space-16)}}", l = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, h as e, H as r, g as n } from "./index.
|
|
1
|
+
import { r as l, h as e, H as r, g as n } from "./index.64dc4343.js";
|
|
2
2
|
import { c as a } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { b as o } from "./balancetext-fa49c64f.754e913c.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, c as n, h as i, H as r } from "./index.
|
|
1
|
+
import { r as o, c as n, h as i, H as r } from "./index.64dc4343.js";
|
|
2
2
|
import { c as d } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { a as c } from "./utils-61f188cc.4a43deab.js";
|
|
4
4
|
import "react";
|
package/dist/{swirl-visually-hidden.entry.25ed6828.js → swirl-visually-hidden.entry.31975b1f.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as s, h as i, H as l } from "./index.
|
|
1
|
+
import { r as s, h as i, H as l } from "./index.64dc4343.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const t = ":host{position:absolute;display:inline;overflow:hidden;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap;word-wrap:normal;clip:rect(0, 0, 0, 0)}", o = class {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-components-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"build": "tsc && vite build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@getflip/swirl-components": "^0.
|
|
21
|
+
"@getflip/swirl-components": "^0.26.0",
|
|
22
22
|
"react": "^18.2.0",
|
|
23
23
|
"react-dom": "^18.2.0"
|
|
24
24
|
},
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { r as o, h as s, H as t, g as a } from "./index.2a7aeb8a.js";
|
|
2
|
-
import { c as n } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import "react-dom";
|
|
5
|
-
const r = ":host{display:inline-flex;width:100%;height:3rem;padding-right:var(--s-space-12);padding-left:calc(var(--s-space-12) + var(--s-space-2));flex-shrink:0;justify-content:flex-start;align-items:center;border-radius:var(--s-border-radius-sm);color:var(--s-text-default);background-color:var(--s-surface-default);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm);cursor:pointer;gap:var(--s-space-12)}:host(:hover){background-color:var(--s-surface-hovered)}:host(:active){background-color:var(--s-surface-pressed)}:host(:focus){outline:none}:host(:focus-visible) .shell-navigation-item__label{border-radius:var(--s-border-radius-xs);box-shadow:0 0 0 0.125rem var(--s-focus-default)}:host(.shell-navigation-item--active){color:var(--s-text-highlight);background-color:var(--s-surface-raised-default)}:host(.shell-navigation-item--active) ::part(icon){color:var(--s-icon-highlight)}:host(.shell-navigation-item--active:hover){background-color:var(--s-surface-raised-hovered)}:host(.shell-navigation-item--active:active){background-color:var(--s-surface-raised-pressed)}:host *{box-sizing:border-box}.shell-navigation-item__icon{display:inline-flex}.shell-navigation-item__icon ::part(icon){color:var(--s-icon-default)}.shell-navigation-item__label{overflow:hidden;min-width:0;white-space:nowrap;text-overflow:ellipsis}", l = class {
|
|
6
|
-
constructor(e) {
|
|
7
|
-
o(this, e), this.onKeyDown = (i) => {
|
|
8
|
-
i.code === "Enter" && (i.preventDefault(), this.el.click());
|
|
9
|
-
}, this.active = void 0, this.icon = void 0, this.label = void 0;
|
|
10
|
-
}
|
|
11
|
-
componentDidLoad() {
|
|
12
|
-
this.forceIconProps();
|
|
13
|
-
}
|
|
14
|
-
forceIconProps() {
|
|
15
|
-
if (!Boolean(this.iconEl))
|
|
16
|
-
return;
|
|
17
|
-
const e = this.iconEl.children[0];
|
|
18
|
-
e == null || e.setAttribute("size", "20");
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
const e = n("shell-navigation-item", {
|
|
22
|
-
"shell-navigation-item--active": this.active,
|
|
23
|
-
"shell-navigation-item--has-icon": Boolean(this.icon)
|
|
24
|
-
});
|
|
25
|
-
return s(t, { class: e, onKeyDown: this.onKeyDown, role: "link", tabIndex: 0 }, s("span", { class: "shell-navigation-item__icon", innerHTML: this.icon, ref: (i) => this.iconEl = i }), s("span", { class: "shell-navigation-item__label" }, this.label));
|
|
26
|
-
}
|
|
27
|
-
get el() {
|
|
28
|
-
return a(this);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
l.style = r;
|
|
32
|
-
export {
|
|
33
|
-
l as swirl_shell_navigation_item
|
|
34
|
-
};
|