@getflip/swirl-components-react 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{file-manager.entry.381bca2c.js → file-manager.entry.dff0abdd.js} +1 -1
- package/dist/{flip-action-list-item.entry.7a86abf2.js → flip-action-list-item.entry.66bdb014.js} +1 -1
- package/dist/{flip-action-list-section.entry.53539b0e.js → flip-action-list-section.entry.35c705bc.js} +1 -1
- package/dist/{flip-action-list.entry.c4efc3eb.js → flip-action-list.entry.944f177a.js} +1 -1
- package/dist/{flip-app-layout_5.entry.4f224220.js → flip-app-layout_5.entry.680ec977.js} +1 -1
- package/dist/{flip-autocomplete.entry.2ba5bb08.js → flip-autocomplete.entry.7841a8c9.js} +1 -1
- package/dist/{flip-avatar-group.entry.55b9b3cc.js → flip-avatar-group.entry.438c663c.js} +1 -1
- package/dist/{flip-avatar.entry.d6e4521d.js → flip-avatar.entry.247a137e.js} +1 -1
- package/dist/{flip-badge.entry.e7dad856.js → flip-badge.entry.94d71a7b.js} +1 -1
- package/dist/{flip-banner.entry.539b68f0.js → flip-banner.entry.40379fc6.js} +1 -1
- package/dist/{flip-button-group.entry.1712c870.js → flip-button-group.entry.7fb986ed.js} +1 -1
- package/dist/{flip-button.entry.d89add7e.js → flip-button.entry.e36bb8c8.js} +1 -1
- package/dist/{flip-card.entry.639a3897.js → flip-card.entry.d22db841.js} +1 -1
- package/dist/{flip-checkbox.entry.ea93e8e2.js → flip-checkbox.entry.2e44c52c.js} +1 -1
- package/dist/{flip-chip.entry.b495caee.js → flip-chip.entry.0bfc8ab0.js} +1 -1
- package/dist/{flip-console-layout.entry.a6368096.js → flip-console-layout.entry.6f13ba0a.js} +35 -27
- package/dist/{flip-date-input.entry.3e285ebe.js → flip-date-input.entry.5e298976.js} +1 -1
- package/dist/{flip-date-picker_2.entry.72a30ff6.js → flip-date-picker_2.entry.619a54b8.js} +1 -1
- package/dist/{flip-description-list-item.entry.be38d45f.js → flip-description-list-item.entry.79300b6c.js} +1 -1
- package/dist/{flip-description-list.entry.43ef2cf9.js → flip-description-list.entry.70b550c9.js} +1 -1
- package/dist/{flip-dialog.entry.1d4c8e1d.js → flip-dialog.entry.c572dafd.js} +1 -1
- package/dist/{flip-file-uploader.entry.07a3e698.js → flip-file-uploader.entry.0b27e755.js} +1 -1
- package/dist/{flip-file-viewer_7.entry.eb909027.js → flip-file-viewer_7.entry.72daacbc.js} +1 -1
- package/dist/{flip-form-control.entry.7aeaac69.js → flip-form-control.entry.fe38eadd.js} +1 -1
- package/dist/{flip-form-group.entry.5549cc50.js → flip-form-group.entry.f0ffe632.js} +1 -1
- package/dist/{flip-heading_2.entry.2bbe19bb.js → flip-heading_2.entry.a2046123.js} +1 -1
- package/dist/{flip-icon-add-photo.entry.5a951b8b.js → flip-icon-add-photo.entry.f1b62d1e.js} +1 -1
- package/dist/{flip-icon-add_4.entry.86d01b0c.js → flip-icon-add_4.entry.cf20e99e.js} +1 -1
- package/dist/{flip-icon-admin-panel-settings.entry.494d09cb.js → flip-icon-admin-panel-settings.entry.dc551a12.js} +1 -1
- package/dist/{flip-icon-arrow-back.entry.cd2cd991.js → flip-icon-arrow-back.entry.608b9fae.js} +1 -1
- package/dist/{flip-icon-arrow-forward.entry.913b516d.js → flip-icon-arrow-forward.entry.d8e720bd.js} +1 -1
- package/dist/{flip-icon-arrow-left_3.entry.77ec16f8.js → flip-icon-arrow-left_3.entry.14726ff3.js} +1 -1
- package/dist/{flip-icon-arrow-right-small.entry.49c24c8a.js → flip-icon-arrow-right-small.entry.ac422698.js} +1 -1
- package/dist/{flip-icon-attachment.entry.fbb862b8.js → flip-icon-attachment.entry.e1fb148b.js} +1 -1
- package/dist/{flip-icon-block.entry.cd06725d.js → flip-icon-block.entry.6671ad04.js} +1 -1
- package/dist/{flip-icon-cancel_4.entry.5ba73b31.js → flip-icon-cancel_4.entry.e5b9ca80.js} +1 -1
- package/dist/{flip-icon-chat-bubble.entry.14c6cfea.js → flip-icon-chat-bubble.entry.a32785be.js} +1 -1
- package/dist/{flip-icon-check-circle.entry.ee08d2e2.js → flip-icon-check-circle.entry.f76dab5d.js} +1 -1
- package/dist/{flip-icon-check-small_3.entry.76b63e47.js → flip-icon-check-small_3.entry.05b9e155.js} +1 -1
- package/dist/{flip-icon-check-strong.entry.bcf7aeb6.js → flip-icon-check-strong.entry.df9f3f01.js} +1 -1
- package/dist/{flip-icon-check.entry.db0243dd.js → flip-icon-check.entry.ce9974c3.js} +1 -1
- package/dist/{flip-icon-chevron-left.entry.ec60eba7.js → flip-icon-chevron-left.entry.20fa4ec0.js} +1 -1
- package/dist/{flip-icon-chevron-right.entry.67c8768d.js → flip-icon-chevron-right.entry.3a865257.js} +1 -1
- package/dist/{flip-icon-close-small.entry.95df030c.js → flip-icon-close-small.entry.4a2575a1.js} +1 -1
- package/dist/{flip-icon-close.entry.b0979067.js → flip-icon-close.entry.796a27b4.js} +1 -1
- package/dist/{flip-icon-cloud-upload.entry.6239ed9e.js → flip-icon-cloud-upload.entry.7c9b98b6.js} +1 -1
- package/dist/{flip-icon-comment.entry.108babd3.js → flip-icon-comment.entry.5cc0c42a.js} +1 -1
- package/dist/{flip-icon-copy.entry.a767fb52.js → flip-icon-copy.entry.6cbb5b0c.js} +1 -1
- package/dist/{flip-icon-date-range.entry.1e69e954.js → flip-icon-date-range.entry.a22d3b7e.js} +1 -1
- package/dist/{flip-icon-delete.entry.250c81ce.js → flip-icon-delete.entry.60fc558d.js} +1 -1
- package/dist/{flip-icon-description.entry.149046f2.js → flip-icon-description.entry.fb3f2d08.js} +1 -1
- package/dist/{flip-icon-edit.entry.5838c4b3.js → flip-icon-edit.entry.95307167.js} +1 -1
- package/dist/{flip-icon-emoji-mood.entry.7faf9f6d.js → flip-icon-emoji-mood.entry.e4718966.js} +1 -1
- package/dist/{flip-icon-emoji-satisfied.entry.eb4df5fd.js → flip-icon-emoji-satisfied.entry.7fb92967.js} +1 -1
- package/dist/{flip-icon-error_3.entry.5d03a8cc.js → flip-icon-error_3.entry.02e88f79.js} +1 -1
- package/dist/{flip-icon-expand-more.entry.97d42371.js → flip-icon-expand-more.entry.145b32d1.js} +1 -1
- package/dist/{flip-icon-file.entry.cb80f03d.js → flip-icon-file.entry.048e0950.js} +1 -1
- package/dist/{flip-icon-folder-shared.entry.f96a285c.js → flip-icon-folder-shared.entry.8b7a1483.js} +1 -1
- package/dist/{flip-icon-group-assign.entry.853f0f91.js → flip-icon-group-assign.entry.cfb05886.js} +1 -1
- package/dist/{flip-icon-groups-custom.entry.57a32f94.js → flip-icon-groups-custom.entry.5d38d793.js} +1 -1
- package/dist/{flip-icon-groups.entry.118c2762.js → flip-icon-groups.entry.fa819a32.js} +1 -1
- package/dist/{flip-icon-help.entry.ba97e38c.js → flip-icon-help.entry.58767a86.js} +1 -1
- package/dist/{flip-icon-image.entry.4140a0f2.js → flip-icon-image.entry.df3ab350.js} +1 -1
- package/dist/{flip-icon-info.entry.594b69a7.js → flip-icon-info.entry.c3c866ae.js} +1 -1
- package/dist/{flip-icon-inventory.entry.67f8b0d0.js → flip-icon-inventory.entry.7bf13bc9.js} +1 -1
- package/dist/{flip-icon-like.entry.33a1d543.js → flip-icon-like.entry.b88e6aec.js} +1 -1
- package/dist/{flip-icon-link.entry.96725333.js → flip-icon-link.entry.740f4fbb.js} +1 -1
- package/dist/{flip-icon-lock.entry.173af4b5.js → flip-icon-lock.entry.d48359f3.js} +1 -1
- package/dist/{flip-icon-logout.entry.64da002b.js → flip-icon-logout.entry.ef6e7ca7.js} +1 -1
- package/dist/{flip-icon-mail.entry.925a95df.js → flip-icon-mail.entry.8572dc81.js} +1 -1
- package/dist/{flip-icon-manage-accounts.entry.71f3b4e6.js → flip-icon-manage-accounts.entry.30640ba4.js} +1 -1
- package/dist/{flip-icon-mention.entry.57ce6ad1.js → flip-icon-mention.entry.2c3290d1.js} +1 -1
- package/dist/{flip-icon-menu.entry.01500884.js → flip-icon-menu.entry.6a65bc82.js} +1 -1
- package/dist/{flip-icon-message.entry.1d7d24e8.js → flip-icon-message.entry.be906225.js} +1 -1
- package/dist/{flip-icon-more-horizontal.entry.10dfbe24.js → flip-icon-more-horizontal.entry.a0486c36.js} +1 -1
- package/dist/{flip-icon-more-vertikal.entry.0fdc7aaf.js → flip-icon-more-vertikal.entry.2bf322a6.js} +1 -1
- package/dist/{flip-icon-notifications-active.entry.992aefa0.js → flip-icon-notifications-active.entry.7afd21e7.js} +1 -1
- package/dist/{flip-icon-notifications-off.entry.cceb7574.js → flip-icon-notifications-off.entry.ed1a4a71.js} +1 -1
- package/dist/{flip-icon-notifications.entry.0ec4bdba.js → flip-icon-notifications.entry.e456f63a.js} +1 -1
- package/dist/{flip-icon-open-in-new.entry.17f00705.js → flip-icon-open-in-new.entry.0c95f414.js} +1 -1
- package/dist/{flip-icon-people-alt.entry.4623c789.js → flip-icon-people-alt.entry.16ac8c4a.js} +1 -1
- package/dist/{flip-icon-person-off.entry.231fcc3d.js → flip-icon-person-off.entry.6b97d497.js} +1 -1
- package/dist/{flip-icon-person.entry.30618854.js → flip-icon-person.entry.1d5c59d9.js} +1 -1
- package/dist/{flip-icon-phone.entry.d19a9883.js → flip-icon-phone.entry.46a9063b.js} +1 -1
- package/dist/{flip-icon-poll.entry.1934e7af.js → flip-icon-poll.entry.04e62409.js} +1 -1
- package/dist/{flip-icon-print.entry.f837789e.js → flip-icon-print.entry.9585bb63.js} +1 -1
- package/dist/{flip-icon-recieved.entry.5422380d.js → flip-icon-recieved.entry.c133e51b.js} +1 -1
- package/dist/{flip-icon-search-strong.entry.15b24519.js → flip-icon-search-strong.entry.cc46122a.js} +1 -1
- package/dist/{flip-icon-search.entry.f0992037.js → flip-icon-search.entry.f9a3de1c.js} +1 -1
- package/dist/{flip-icon-send.entry.e4d9fe5d.js → flip-icon-send.entry.e9912707.js} +1 -1
- package/dist/{flip-icon-settings.entry.f3c42297.js → flip-icon-settings.entry.82467c7d.js} +1 -1
- package/dist/{flip-icon-time-filled.entry.dab1264d.js → flip-icon-time-filled.entry.ad3697c1.js} +1 -1
- package/dist/{flip-icon-time-outlined.entry.fcd316a0.js → flip-icon-time-outlined.entry.5032089c.js} +1 -1
- package/dist/{flip-icon-user-assign.entry.ab614763.js → flip-icon-user-assign.entry.5840954d.js} +1 -1
- package/dist/{flip-icon-video-camera.entry.78c9314a.js → flip-icon-video-camera.entry.3f6faf56.js} +1 -1
- package/dist/{flip-icon-warning.entry.cf728764.js → flip-icon-warning.entry.e8d27832.js} +1 -1
- package/dist/{flip-lightbox.entry.3bfc71b4.js → flip-lightbox.entry.f5984107.js} +1 -1
- package/dist/{flip-link.entry.d4ce5943.js → flip-link.entry.aec4967a.js} +1 -1
- package/dist/{flip-list.entry.560f0766.js → flip-list.entry.3269ee9b.js} +1 -1
- package/dist/{flip-modal.entry.fde5d3ab.js → flip-modal.entry.a22251ba.js} +1 -1
- package/dist/{flip-option-list-section.entry.f45613e2.js → flip-option-list-section.entry.66f0d1b3.js} +1 -1
- package/dist/{flip-pagination.entry.f595668a.js → flip-pagination.entry.412a59be.js} +1 -1
- package/dist/{flip-pdf-reader.entry.8e9d960c.js → flip-pdf-reader.entry.91dcce71.js} +1 -1
- package/dist/{flip-popover.entry.a978f413.js → flip-popover.entry.076eb9e8.js} +1 -1
- package/dist/{flip-progress-indicator.entry.5d7e5939.js → flip-progress-indicator.entry.e0d41dde.js} +1 -1
- package/dist/{flip-radio-group.entry.bca702b6.js → flip-radio-group.entry.884e1462.js} +1 -1
- package/dist/{flip-radio.entry.0473634b.js → flip-radio.entry.1dafac3f.js} +1 -1
- package/dist/{flip-resource-list-file-item.entry.455ad195.js → flip-resource-list-file-item.entry.82bd5f91.js} +1 -1
- package/dist/{flip-search.entry.ceeb6740.js → flip-search.entry.02b70258.js} +1 -1
- package/dist/{flip-select.entry.39f6b9c7.js → flip-select.entry.8bddb12d.js} +1 -1
- package/dist/{flip-stack.entry.418b5adb.js → flip-stack.entry.8770879c.js} +1 -1
- package/dist/{flip-switch.entry.3c030eec.js → flip-switch.entry.4b84e15d.js} +1 -1
- package/dist/{flip-tab.entry.744d2048.js → flip-tab.entry.902c4cd7.js} +1 -1
- package/dist/{flip-tabs.entry.f0c07079.js → flip-tabs.entry.e54fa22c.js} +1 -1
- package/dist/{flip-tag.entry.488c908a.js → flip-tag.entry.44859033.js} +1 -1
- package/dist/{flip-text-input.entry.790256b3.js → flip-text-input.entry.4fe4deab.js} +1 -1
- package/dist/{flip-theme-provider.entry.d53649d5.js → flip-theme-provider.entry.701f2c5a.js} +1 -1
- package/dist/{flip-thumbnail.entry.eb20b7ff.js → flip-thumbnail.entry.76dd0d54.js} +1 -1
- package/dist/{flip-toast-provider.entry.5861e801.js → flip-toast-provider.entry.dda08792.js} +1 -1
- package/dist/{flip-toast.entry.b147536b.js → flip-toast.entry.bcbdcddc.js} +1 -1
- package/dist/{flip-tooltip.entry.0541953e.js → flip-tooltip.entry.a0d49f3a.js} +1 -1
- package/dist/{flip-tree-navigation-item.entry.77f3f7b1.js → flip-tree-navigation-item.entry.483b66ed.js} +1 -1
- package/dist/{flip-video-thumbnail.entry.5a495aef.js → flip-video-thumbnail.entry.25379073.js} +1 -1
- package/dist/{flip-visually-hidden.entry.4c22fbaf.js → flip-visually-hidden.entry.dcf11082.js} +1 -1
- package/dist/{index.6432d866.js → index.753500cb.js} +2 -2
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +2 -2
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as i, h as t, H as o } from "./index.
|
|
1
|
+
import { r as i, h as t, H as o } from "./index.753500cb.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const e = ":host{display:block}:host *{box-sizing:border-box}.action-list-section{background-color:var(--s-surface-overlay-default)}.action-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}", l = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, c as s, h as a, H as r, g as l } from "./index.
|
|
1
|
+
import { r as n, c as s, h as a, H as r, g as l } from "./index.753500cb.js";
|
|
2
2
|
import { c as p } from "./index-6d2e18c6.289636d4.js";
|
|
3
3
|
import { i as d } from "./utils-39b2afe8.37b54ba4.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, c, h as o, H as r, g as u } from "./index.
|
|
1
|
+
import { r as n, c, h as o, H as r, g as u } from "./index.753500cb.js";
|
|
2
2
|
import { a as h, c as p, o as d } from "./floating-ui.dom.esm-1a4e8b8a.87557233.js";
|
|
3
3
|
import { c as m } from "./index-6d2e18c6.289636d4.js";
|
|
4
4
|
import { d as f } from "./utils-39b2afe8.37b54ba4.js";
|
package/dist/{flip-console-layout.entry.a6368096.js → flip-console-layout.entry.6f13ba0a.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as oe, c as U, h as u, H as se, g as le } from "./index.
|
|
1
|
+
import { r as oe, c as U, h as u, H as se, g as le } from "./index.753500cb.js";
|
|
2
2
|
import { c as ce } from "./index-6d2e18c6.289636d4.js";
|
|
3
3
|
import { i as F } from "./utils-39b2afe8.37b54ba4.js";
|
|
4
4
|
import "react";
|
|
@@ -26,10 +26,10 @@ var X = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slo
|
|
|
26
26
|
candidates: g
|
|
27
27
|
});
|
|
28
28
|
} else {
|
|
29
|
-
var
|
|
30
|
-
|
|
31
|
-
var y = i.shadowRoot || typeof a.getShadowRoot == "function" && a.getShadowRoot(i),
|
|
32
|
-
if (y &&
|
|
29
|
+
var C = T.call(i, D);
|
|
30
|
+
C && a.filter(i) && (t || !e.includes(i)) && s.push(i);
|
|
31
|
+
var y = i.shadowRoot || typeof a.getShadowRoot == "function" && a.getShadowRoot(i), _ = !a.shadowRootFilter || a.shadowRootFilter(i);
|
|
32
|
+
if (y && _) {
|
|
33
33
|
var w = r(y === !0 ? i.children : y.children, !0, a);
|
|
34
34
|
a.flatten ? s.push.apply(s, w) : s.push({
|
|
35
35
|
scopeParent: i,
|
|
@@ -145,7 +145,7 @@ var X = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slo
|
|
|
145
145
|
}), a.sort(ue).reduce(function(s, l) {
|
|
146
146
|
return l.isScope ? s.push.apply(s, l.content) : s.push(l.content), s;
|
|
147
147
|
}, []).concat(t);
|
|
148
|
-
},
|
|
148
|
+
}, Ce = function(e, t) {
|
|
149
149
|
t = t || {};
|
|
150
150
|
var a;
|
|
151
151
|
return t.getShadowRoot ? a = ee([e], t.includeContainer, {
|
|
@@ -154,7 +154,7 @@ var X = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slo
|
|
|
154
154
|
getShadowRoot: t.getShadowRoot,
|
|
155
155
|
shadowRootFilter: we
|
|
156
156
|
}) : a = Q(e, t.includeContainer, P.bind(null, t)), ke(a);
|
|
157
|
-
},
|
|
157
|
+
}, _e = function(e, t) {
|
|
158
158
|
t = t || {};
|
|
159
159
|
var a;
|
|
160
160
|
return t.getShadowRoot ? a = ee([e], t.includeContainer, {
|
|
@@ -259,7 +259,7 @@ var xe = [], W = {
|
|
|
259
259
|
return f === n;
|
|
260
260
|
});
|
|
261
261
|
});
|
|
262
|
-
},
|
|
262
|
+
}, C = function(n) {
|
|
263
263
|
var o = l[n];
|
|
264
264
|
if (typeof o == "function") {
|
|
265
265
|
for (var c = arguments.length, v = new Array(c > 1 ? c - 1 : 0), f = 1; f < c; f++)
|
|
@@ -276,7 +276,7 @@ var xe = [], W = {
|
|
|
276
276
|
throw new Error("`".concat(n, "` as selector refers to no known node"));
|
|
277
277
|
return p;
|
|
278
278
|
}, y = function() {
|
|
279
|
-
var n =
|
|
279
|
+
var n = C("initialFocus");
|
|
280
280
|
if (n === !1)
|
|
281
281
|
return !1;
|
|
282
282
|
if (n === void 0)
|
|
@@ -284,14 +284,14 @@ var xe = [], W = {
|
|
|
284
284
|
n = a.activeElement;
|
|
285
285
|
else {
|
|
286
286
|
var o = i.tabbableGroups[0], c = o && o.firstTabbableNode;
|
|
287
|
-
n = c ||
|
|
287
|
+
n = c || C("fallbackFocus");
|
|
288
288
|
}
|
|
289
289
|
if (!n)
|
|
290
290
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
291
291
|
return n;
|
|
292
|
-
},
|
|
292
|
+
}, _ = function() {
|
|
293
293
|
if (i.containerGroups = i.containers.map(function(n) {
|
|
294
|
-
var o =
|
|
294
|
+
var o = Ce(n, l.tabbableOptions), c = _e(n, l.tabbableOptions);
|
|
295
295
|
return {
|
|
296
296
|
container: n,
|
|
297
297
|
tabbableNodes: o,
|
|
@@ -312,7 +312,7 @@ var xe = [], W = {
|
|
|
312
312
|
};
|
|
313
313
|
}), i.tabbableGroups = i.containerGroups.filter(function(n) {
|
|
314
314
|
return n.tabbableNodes.length > 0;
|
|
315
|
-
}), i.tabbableGroups.length <= 0 && !
|
|
315
|
+
}), i.tabbableGroups.length <= 0 && !C("fallbackFocus"))
|
|
316
316
|
throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
|
|
317
317
|
}, w = function b(n) {
|
|
318
318
|
if (n !== !1 && n !== a.activeElement) {
|
|
@@ -325,7 +325,7 @@ var xe = [], W = {
|
|
|
325
325
|
}), i.mostRecentlyFocusedNode = n, Ne(n) && n.select();
|
|
326
326
|
}
|
|
327
327
|
}, M = function(n) {
|
|
328
|
-
var o =
|
|
328
|
+
var o = C("setReturnFocus", n);
|
|
329
329
|
return o || (o === !1 ? !1 : n);
|
|
330
330
|
}, N = function(n) {
|
|
331
331
|
var o = A(n);
|
|
@@ -343,25 +343,25 @@ var xe = [], W = {
|
|
|
343
343
|
c || o instanceof Document ? c && (i.mostRecentlyFocusedNode = o) : (n.stopImmediatePropagation(), w(i.mostRecentlyFocusedNode || y()));
|
|
344
344
|
}, ie = function(n) {
|
|
345
345
|
var o = A(n);
|
|
346
|
-
|
|
346
|
+
_();
|
|
347
347
|
var c = null;
|
|
348
348
|
if (i.tabbableGroups.length > 0) {
|
|
349
349
|
var v = g(o), f = v >= 0 ? i.containerGroups[v] : void 0;
|
|
350
350
|
if (v < 0)
|
|
351
351
|
n.shiftKey ? c = i.tabbableGroups[i.tabbableGroups.length - 1].lastTabbableNode : c = i.tabbableGroups[0].firstTabbableNode;
|
|
352
352
|
else if (n.shiftKey) {
|
|
353
|
-
var p = $(i.tabbableGroups, function(
|
|
354
|
-
var
|
|
355
|
-
return o ===
|
|
353
|
+
var p = $(i.tabbableGroups, function(B) {
|
|
354
|
+
var I = B.firstTabbableNode;
|
|
355
|
+
return o === I;
|
|
356
356
|
});
|
|
357
357
|
if (p < 0 && (f.container === o || O(o, l.tabbableOptions) && !E(o, l.tabbableOptions) && !f.nextTabbableNode(o, !1)) && (p = v), p >= 0) {
|
|
358
358
|
var m = p === 0 ? i.tabbableGroups.length - 1 : p - 1, k = i.tabbableGroups[m];
|
|
359
359
|
c = k.lastTabbableNode;
|
|
360
360
|
}
|
|
361
361
|
} else {
|
|
362
|
-
var S = $(i.tabbableGroups, function(
|
|
363
|
-
var
|
|
364
|
-
return o ===
|
|
362
|
+
var S = $(i.tabbableGroups, function(B) {
|
|
363
|
+
var I = B.lastTabbableNode;
|
|
364
|
+
return o === I;
|
|
365
365
|
});
|
|
366
366
|
if (S < 0 && (f.container === o || O(o, l.tabbableOptions) && !E(o, l.tabbableOptions) && !f.nextTabbableNode(o)) && (S = v), S >= 0) {
|
|
367
367
|
var re = S === i.tabbableGroups.length - 1 ? 0 : S + 1, ne = i.tabbableGroups[re];
|
|
@@ -369,7 +369,7 @@ var xe = [], W = {
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
} else
|
|
372
|
-
c =
|
|
372
|
+
c = C("fallbackFocus");
|
|
373
373
|
c && (n.preventDefault(), w(c));
|
|
374
374
|
}, j = function(n) {
|
|
375
375
|
if (Fe(n) && x(l.escapeDeactivates, n) !== !1) {
|
|
@@ -415,9 +415,9 @@ var xe = [], W = {
|
|
|
415
415
|
if (i.active)
|
|
416
416
|
return this;
|
|
417
417
|
var o = h(n, "onActivate"), c = h(n, "onPostActivate"), v = h(n, "checkCanFocusTrap");
|
|
418
|
-
v ||
|
|
418
|
+
v || _(), i.active = !0, i.paused = !1, i.nodeFocusedBeforeActivation = a.activeElement, o && o();
|
|
419
419
|
var f = function() {
|
|
420
|
-
v &&
|
|
420
|
+
v && _(), G(), c && c();
|
|
421
421
|
};
|
|
422
422
|
return v ? (v(i.containers.concat()).then(f, f), this) : (f(), this);
|
|
423
423
|
},
|
|
@@ -443,13 +443,13 @@ var xe = [], W = {
|
|
|
443
443
|
return i.paused || !i.active ? this : (i.paused = !0, K(), this);
|
|
444
444
|
},
|
|
445
445
|
unpause: function() {
|
|
446
|
-
return !i.paused || !i.active ? this : (i.paused = !1,
|
|
446
|
+
return !i.paused || !i.active ? this : (i.paused = !1, _(), G(), this);
|
|
447
447
|
},
|
|
448
448
|
updateContainerElements: function(n) {
|
|
449
449
|
var o = [].concat(n).filter(Boolean);
|
|
450
450
|
return i.containers = o.map(function(c) {
|
|
451
451
|
return typeof c == "string" ? a.querySelector(c) : c;
|
|
452
|
-
}), i.active &&
|
|
452
|
+
}), i.active && _(), this;
|
|
453
453
|
}
|
|
454
454
|
}, d.updateContainerElements(e), d;
|
|
455
455
|
};
|
|
@@ -464,6 +464,8 @@ const De = `:host{display:block;width:100%;height:100vh}:host *{box-sizing:borde
|
|
|
464
464
|
this.helpButtonClick.emit(e);
|
|
465
465
|
}, this.onMobileNavigationToggleClick = () => {
|
|
466
466
|
this.toggleSidebar();
|
|
467
|
+
}, this.onHideNavigationButtonClick = () => {
|
|
468
|
+
this.hideSidebar();
|
|
467
469
|
}, this.onClick = (e) => {
|
|
468
470
|
const t = e.target, a = Boolean(t.closest(".console-layout__mobile-navigation-button"));
|
|
469
471
|
!e.composedPath().includes(this.sidebarEl) && !a && this.sidebarActive && (this.sidebarActive = !1);
|
|
@@ -489,6 +491,12 @@ const De = `:host{display:block;width:100%;height:100vh}:host *{box-sizing:borde
|
|
|
489
491
|
async toggleSidebar() {
|
|
490
492
|
this.sidebarActive ? this.deactivateSidebar() : this.activateSidebar();
|
|
491
493
|
}
|
|
494
|
+
async showSidebar() {
|
|
495
|
+
this.sidebarActive || this.activateSidebar();
|
|
496
|
+
}
|
|
497
|
+
async hideSidebar() {
|
|
498
|
+
this.sidebarActive && this.deactivateSidebar();
|
|
499
|
+
}
|
|
492
500
|
activateSidebar() {
|
|
493
501
|
var r;
|
|
494
502
|
this.sidebarActive = !0, this.sidebarEl.removeAttribute("inert"), F() && ((r = this.focusTrap) === null || r === void 0 || r.activate());
|
|
@@ -501,7 +509,7 @@ const De = `:host{display:block;width:100%;height:100vh}:host *{box-sizing:borde
|
|
|
501
509
|
const r = ce("console-layout", {
|
|
502
510
|
"console-layout--sidebar-active": this.sidebarActive
|
|
503
511
|
});
|
|
504
|
-
return u(se, null, u("div", { class: r, onClick: this.onClick, onKeyDown: this.onKeyDown }, u("div", { "aria-hidden": String(!this.sidebarActive), class: "console-layout__sidebar", ref: (e) => this.sidebarEl = e }, u("header", { class: "console-layout__header" }, u("div", { class: "console-layout__logo" }, u("svg", { class: "console-layout__logo-mark", fill: "none", height: "26", viewBox: "0 0 16 26", width: "16", xmlns: "http://www.w3.org/2000/svg" }, u("path", { d: "M0.624238 14.0705C0.326496 13.5353 0.118077 12.9406 0.0287543 12.3161C-0.0307941 11.662 -0.0010199 11.0375 0.147851 10.4428C0.296722 9.84813 0.594464 9.25343 0.951754 8.77767C1.33882 8.27217 1.78543 7.85588 2.35114 7.55853L14.6181 0.362671C14.9159 0.8979 15.1243 1.4926 15.2136 2.11703C15.3029 2.74147 15.2434 3.3659 15.0945 3.99034C14.9456 4.58504 14.6479 5.17974 14.2906 5.6555C13.9035 6.16099 13.4569 6.57728 12.8912 6.87463L0.624238 14.0705Z", fill: "#145AF5" }), u("path", { d: "M3.69214 21.4743C3.3944 20.9391 3.18598 20.3444 3.09666 19.72C3.00733 19.0956 3.06688 18.4711 3.21575 17.8467C3.36462 17.252 3.66237 16.6573 4.01966 16.1815C4.40672 15.676 4.85333 15.2597 5.41904 14.9624L12.2076 10.9779C12.5053 11.5131 12.7137 12.1078 12.803 12.7323C12.8924 13.3567 12.8328 13.9811 12.6839 14.6056C12.5351 15.2003 12.2373 15.795 11.88 16.2707C11.493 16.7762 11.0464 17.1925 10.4807 17.4899L3.69214 21.4743Z", fill: "#145AF5" }), u("path", { d: "M3.69141 21.4739L7.77047 19.0951C8.39573 20.1953 8.5446 21.5036 8.24686 22.7228C7.91934 23.9419 7.14521 24.9826 6.04357 25.6368L3.69141 21.4739Z", fill: "#80A8F4" }), u("path", { d: "M12.2072 10.9785L7.32419 10.1459L0.625 14.0709L5.38887 14.9629L12.2072 10.9785Z", fill: "#80A8F4" })), u("flip-text", { class: "console-layout__logo-text", weight: "medium" }, this.logoText))), u("nav", { "aria-label": this.navigationLabel, class: "console-layout__navigation" }, u("slot", { name: "navigation" }), this.sidebarActive && u("flip-visually-hidden", null, u("button", { class: "console-layout__hide-navigation-button", onClick: this.
|
|
512
|
+
return u(se, null, u("div", { class: r, onClick: this.onClick, onKeyDown: this.onKeyDown }, u("div", { "aria-hidden": String(!this.sidebarActive), class: "console-layout__sidebar", ref: (e) => this.sidebarEl = e }, u("header", { class: "console-layout__header" }, u("div", { class: "console-layout__logo" }, u("svg", { class: "console-layout__logo-mark", fill: "none", height: "26", viewBox: "0 0 16 26", width: "16", xmlns: "http://www.w3.org/2000/svg" }, u("path", { d: "M0.624238 14.0705C0.326496 13.5353 0.118077 12.9406 0.0287543 12.3161C-0.0307941 11.662 -0.0010199 11.0375 0.147851 10.4428C0.296722 9.84813 0.594464 9.25343 0.951754 8.77767C1.33882 8.27217 1.78543 7.85588 2.35114 7.55853L14.6181 0.362671C14.9159 0.8979 15.1243 1.4926 15.2136 2.11703C15.3029 2.74147 15.2434 3.3659 15.0945 3.99034C14.9456 4.58504 14.6479 5.17974 14.2906 5.6555C13.9035 6.16099 13.4569 6.57728 12.8912 6.87463L0.624238 14.0705Z", fill: "#145AF5" }), u("path", { d: "M3.69214 21.4743C3.3944 20.9391 3.18598 20.3444 3.09666 19.72C3.00733 19.0956 3.06688 18.4711 3.21575 17.8467C3.36462 17.252 3.66237 16.6573 4.01966 16.1815C4.40672 15.676 4.85333 15.2597 5.41904 14.9624L12.2076 10.9779C12.5053 11.5131 12.7137 12.1078 12.803 12.7323C12.8924 13.3567 12.8328 13.9811 12.6839 14.6056C12.5351 15.2003 12.2373 15.795 11.88 16.2707C11.493 16.7762 11.0464 17.1925 10.4807 17.4899L3.69214 21.4743Z", fill: "#145AF5" }), u("path", { d: "M3.69141 21.4739L7.77047 19.0951C8.39573 20.1953 8.5446 21.5036 8.24686 22.7228C7.91934 23.9419 7.14521 24.9826 6.04357 25.6368L3.69141 21.4739Z", fill: "#80A8F4" }), u("path", { d: "M12.2072 10.9785L7.32419 10.1459L0.625 14.0709L5.38887 14.9629L12.2072 10.9785Z", fill: "#80A8F4" })), u("flip-text", { class: "console-layout__logo-text", weight: "medium" }, this.logoText))), u("nav", { "aria-label": this.navigationLabel, class: "console-layout__navigation" }, u("slot", { name: "navigation" }), this.sidebarActive && u("flip-visually-hidden", null, u("button", { class: "console-layout__hide-navigation-button", onClick: this.onHideNavigationButtonClick, type: "button" }, this.hideNavigationButtonLabel))), u("div", { class: "console-layout__user" }, u("slot", { name: "user" }))), u("main", { "aria-labelledby": "app-name", class: "console-layout__main" }, u("header", { class: "console-layout__app-bar" }, u("flip-button", { class: "console-layout__mobile-navigation-button", flipAriaExpanded: String(this.sidebarActive), hideLabel: !0, icon: this.sidebarActive ? "<flip-icon-close></flip-icon-close>" : "<flip-icon-menu></flip-icon-menu>", label: this.sidebarActive ? this.hideNavigationButtonLabel : this.showNavigationButtonLabel, onClick: this.onMobileNavigationToggleClick }), u("flip-heading", { as: "h1", class: "console-layout__app-name", headingId: "app-name", level: 4, text: this.appName }), this.showHelpButton && u("flip-button", { class: "console-layout__help-button", hideLabel: !0, icon: "<flip-icon-help></flip-icon-help>", label: this.helpButonLabel, onClick: this.onHelpButtonClick })), u("section", { "aria-labelledby": "heading", class: "console-layout__content" }, u("header", { class: "console-layout__content-header" }, this.showBackButton && u("flip-button", { class: "console-layout__back-button", hideLabel: !0, icon: "<flip-icon-arrow-back></flip-icon-arrow-back>", label: this.backButonLabel, onClick: this.onBackButtonClick }), u("div", null, u("flip-heading", { as: "h2", class: "console-layout__heading", headingId: "heading", level: 1, text: this.heading }), this.subheading && u("flip-text", { class: "console-layout__subheading", color: "subdued" }, this.subheading))), u("div", { class: "console-layout__integration" }, u("slot", { name: "content" }))))));
|
|
505
513
|
}
|
|
506
514
|
get el() {
|
|
507
515
|
return le(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as le, c as we, h as x, H as be, F as te } from "./index.
|
|
1
|
+
import { r as le, c as we, h as x, H as be, F as te } from "./index.753500cb.js";
|
|
2
2
|
import { c as de, a as Ce, g as ke } from "./_commonjsHelpers-44457d8d.ba94af77.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
package/dist/{flip-description-list.entry.43ef2cf9.js → flip-description-list.entry.70b550c9.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as i, h as t, H as o } from "./index.
|
|
1
|
+
import { r as i, h as t, H as o } from "./index.753500cb.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const r = ":host{display:block;container-type:inline-size;container-name:description-list}:host *{box-sizing:border-box}.description-list{display:block;max-width:100%;margin:0}.description-list ::slotted(*){padding-bottom:var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default)}.description-list ::slotted(*:not(:last-child)){margin-bottom:var(--s-space-16)}", e = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, c as t, h as o, H as n } from "./index.
|
|
1
|
+
import { r as e, c as t, h as o, H as n } from "./index.753500cb.js";
|
|
2
2
|
import { A as s } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
3
|
import { c as l } from "./index-6d2e18c6.289636d4.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as zt, c as jt, h as qe, H as Gt, g as Qt } from "./index.
|
|
1
|
+
import { r as zt, c as jt, h as qe, H as Gt, g as Qt } from "./index.753500cb.js";
|
|
2
2
|
import { c as cr, a as vt, g as Qi, b as qr, d as Ji } from "./_commonjsHelpers-44457d8d.ba94af77.js";
|
|
3
3
|
import { d as Zi, g as ea, i as ta } from "./utils-39b2afe8.37b54ba4.js";
|
|
4
4
|
import "react";
|
package/dist/{flip-icon-check-small_3.entry.76b63e47.js → flip-icon-check-small_3.entry.05b9e155.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as c, h as i, F as n, c as d, H as a, g as u } from "./index.
|
|
1
|
+
import { r as c, h as i, F as n, c as d, H as a, g as u } from "./index.753500cb.js";
|
|
2
2
|
import { q as m } from "./utils-39b2afe8.37b54ba4.js";
|
|
3
3
|
import { c as p } from "./index-6d2e18c6.289636d4.js";
|
|
4
4
|
import "react";
|