@cloudflare/realtimekit-ui 1.0.2 → 1.0.3-staging.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/browser.js +1 -0
- package/dist/cjs/{floating-ui.dom.esm-c3c35b98.js → floating-ui.dom.esm-90c5a220.js} +54 -30
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +30892 -23958
- package/dist/cjs/rtk-participant_2.cjs.entry.js +1 -1
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +4 -4
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +1 -1
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +1 -1
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +1 -1
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +1 -1
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +2 -2
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +1 -1
- package/dist/collection/components/rtk-notification/rtk-notification.css +6 -3
- package/dist/collection/components/rtk-participant/rtk-participant.js +1 -1
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +1 -1
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +2 -2
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
- package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +1 -1
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +4 -4
- package/dist/components/{p-5e5c9b53.js → p-01b76741.js} +1 -1
- package/dist/components/{p-c6a4041a.js → p-07c5a2da.js} +1 -1
- package/dist/components/{p-94e8d526.js → p-11048ea8.js} +1 -1
- package/dist/components/{p-778197ec.js → p-11b00854.js} +1 -1
- package/dist/components/{p-70053efe.js → p-1a6ad05c.js} +30892 -23958
- package/dist/components/{p-828a11f4.js → p-1c22a3a0.js} +3 -3
- package/dist/components/{p-519e8701.js → p-1f0c5462.js} +1 -1
- package/dist/components/{p-98d49c8e.js → p-22f2908e.js} +1 -1
- package/dist/components/{p-1174d3f4.js → p-2c41819d.js} +2 -2
- package/dist/components/{p-ff13d28d.js → p-2e9c3dd2.js} +1 -1
- package/dist/components/{p-abdd2a8a.js → p-4b89a5d6.js} +1 -1
- package/dist/components/{p-2cc196a8.js → p-6d3c8a73.js} +1 -1
- package/dist/components/{p-e2006e05.js → p-8faf31ba.js} +18 -18
- package/dist/components/{p-31964573.js → p-94cc1b33.js} +54 -30
- package/dist/components/{p-1633eae1.js → p-97ce630d.js} +2 -2
- package/dist/components/{p-1d7f3c99.js → p-98cc289f.js} +3 -3
- package/dist/components/{p-83a87193.js → p-9b675f4f.js} +1 -1
- package/dist/components/{p-8750e2de.js → p-a0000935.js} +2 -2
- package/dist/components/{p-9140d5c1.js → p-b29a58cd.js} +1 -1
- package/dist/components/{p-de2175ca.js → p-b2b2e917.js} +1 -1
- package/dist/components/{p-be584d57.js → p-be45dbd1.js} +2 -2
- package/dist/components/{p-af7aea98.js → p-c1f57f6b.js} +1 -1
- package/dist/components/{p-c173a513.js → p-cc6ff913.js} +1 -1
- package/dist/components/{p-278e6cc0.js → p-d5ce79e0.js} +1 -1
- package/dist/components/{p-c226934a.js → p-d8be719c.js} +4 -4
- package/dist/components/{p-25738f7b.js → p-db6f9f73.js} +1 -1
- package/dist/components/{p-fb31f34b.js → p-e83a6293.js} +1 -1
- package/dist/components/{p-a5d2ac22.js → p-eba76ab4.js} +4 -4
- package/dist/components/{p-1f6e5501.js → p-ed0df5b1.js} +1 -1
- package/dist/components/rtk-breakout-room-manager.js +1 -1
- package/dist/components/rtk-breakout-room-participants.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-camera-toggle.js +1 -1
- package/dist/components/rtk-channel-header.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +1 -1
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +1 -1
- package/dist/components/rtk-chat-search-results.js +1 -1
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-dialog-manager.js +1 -1
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-file-picker-button.js +1 -1
- package/dist/components/rtk-grid-pagination.js +1 -1
- package/dist/components/rtk-grid.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-meeting-title.js +1 -1
- package/dist/components/rtk-meeting.js +19 -19
- package/dist/components/rtk-menu.js +1 -1
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +1 -1
- package/dist/components/rtk-mixed-grid.js +3 -3
- package/dist/components/rtk-mute-all-button.js +1 -1
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +5 -5
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-screen-share-toggle.js +1 -1
- package/dist/components/rtk-screenshare-view.js +1 -1
- package/dist/components/rtk-setup-screen.js +4 -4
- package/dist/components/rtk-sidebar.js +3 -3
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +1 -1
- package/dist/components/rtk-tab-bar.js +1 -1
- package/dist/components/rtk-tooltip.js +1 -1
- package/dist/docs/docs-components.json +118 -118
- package/dist/docs/docs-vscode.json +12 -12
- package/dist/esm/{floating-ui.dom.esm-cf1488a2.js → floating-ui.dom.esm-a2dc8eef.js} +54 -30
- package/dist/esm/loader.js +63224 -4
- package/dist/esm/rtk-avatar_54.entry.js +2 -2
- package/dist/esm/rtk-livestream-indicator_3.entry.js +30892 -23958
- package/dist/esm/rtk-participant_2.entry.js +1 -1
- package/dist/esm/rtk-setup-screen.entry.js +4 -4
- package/dist/realtimekit-ui/{p-c39a8005.entry.js → p-14350b0d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-1abb4841.entry.js +1 -0
- package/dist/realtimekit-ui/p-94cc1b33.js +1 -0
- package/dist/realtimekit-ui/{p-2db001cf.entry.js → p-dd9ea778.entry.js} +1 -1
- package/dist/realtimekit-ui/p-f4105345.entry.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/package.json +2 -3
- package/dist/realtimekit-ui/p-0b8b849b.entry.js +0 -1
- package/dist/realtimekit-ui/p-31964573.js +0 -1
- package/dist/realtimekit-ui/p-b60b229e.entry.js +0 -1
|
@@ -43,8 +43,9 @@ function getOppositeAxis(axis) {
|
|
|
43
43
|
function getAxisLength(axis) {
|
|
44
44
|
return axis === 'y' ? 'height' : 'width';
|
|
45
45
|
}
|
|
46
|
+
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
46
47
|
function getSideAxis(placement) {
|
|
47
|
-
return
|
|
48
|
+
return yAxisSides.has(getSide(placement)) ? 'y' : 'x';
|
|
48
49
|
}
|
|
49
50
|
function getAlignmentAxis(placement) {
|
|
50
51
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -69,19 +70,19 @@ function getExpandedPlacements(placement) {
|
|
|
69
70
|
function getOppositeAlignmentPlacement(placement) {
|
|
70
71
|
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
71
72
|
}
|
|
73
|
+
const lrPlacement = ['left', 'right'];
|
|
74
|
+
const rlPlacement = ['right', 'left'];
|
|
75
|
+
const tbPlacement = ['top', 'bottom'];
|
|
76
|
+
const btPlacement = ['bottom', 'top'];
|
|
72
77
|
function getSideList(side, isStart, rtl) {
|
|
73
|
-
const lr = ['left', 'right'];
|
|
74
|
-
const rl = ['right', 'left'];
|
|
75
|
-
const tb = ['top', 'bottom'];
|
|
76
|
-
const bt = ['bottom', 'top'];
|
|
77
78
|
switch (side) {
|
|
78
79
|
case 'top':
|
|
79
80
|
case 'bottom':
|
|
80
|
-
if (rtl) return isStart ?
|
|
81
|
-
return isStart ?
|
|
81
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
82
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
82
83
|
case 'left':
|
|
83
84
|
case 'right':
|
|
84
|
-
return isStart ?
|
|
85
|
+
return isStart ? tbPlacement : btPlacement;
|
|
85
86
|
default:
|
|
86
87
|
return [];
|
|
87
88
|
}
|
|
@@ -604,16 +605,22 @@ const flip$1 = function (options) {
|
|
|
604
605
|
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
605
606
|
const nextPlacement = placements[nextIndex];
|
|
606
607
|
if (nextPlacement) {
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
608
|
+
const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
609
|
+
if (!ignoreCrossAxisOverflow ||
|
|
610
|
+
// We leave the current main axis only if every placement on that axis
|
|
611
|
+
// overflows the main axis.
|
|
612
|
+
overflowsData.every(d => d.overflows[0] > 0 && getSideAxis(d.placement) === initialSideAxis)) {
|
|
613
|
+
// Try next placement and re-run the lifecycle.
|
|
614
|
+
return {
|
|
615
|
+
data: {
|
|
616
|
+
index: nextIndex,
|
|
617
|
+
overflows: overflowsData
|
|
618
|
+
},
|
|
619
|
+
reset: {
|
|
620
|
+
placement: nextPlacement
|
|
621
|
+
}
|
|
622
|
+
};
|
|
623
|
+
}
|
|
617
624
|
}
|
|
618
625
|
|
|
619
626
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
@@ -859,6 +866,8 @@ const inline = function (options) {
|
|
|
859
866
|
};
|
|
860
867
|
};
|
|
861
868
|
|
|
869
|
+
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
870
|
+
|
|
862
871
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
863
872
|
// Derivable.
|
|
864
873
|
|
|
@@ -872,7 +881,7 @@ async function convertValueToCoords(state, options) {
|
|
|
872
881
|
const side = getSide(placement);
|
|
873
882
|
const alignment = getAlignment(placement);
|
|
874
883
|
const isVertical = getSideAxis(placement) === 'y';
|
|
875
|
-
const mainAxisMulti =
|
|
884
|
+
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
876
885
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
877
886
|
const rawValue = evaluate(options, state);
|
|
878
887
|
|
|
@@ -1072,7 +1081,7 @@ const limitShift = function (options) {
|
|
|
1072
1081
|
if (checkCrossAxis) {
|
|
1073
1082
|
var _middlewareData$offse, _middlewareData$offse2;
|
|
1074
1083
|
const len = mainAxis === 'y' ? 'width' : 'height';
|
|
1075
|
-
const isOriginSide =
|
|
1084
|
+
const isOriginSide = originSides.has(getSide(placement));
|
|
1076
1085
|
const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
|
|
1077
1086
|
const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
|
|
1078
1087
|
if (crossAxisCoord < limitMin) {
|
|
@@ -1217,6 +1226,7 @@ function isShadowRoot(value) {
|
|
|
1217
1226
|
}
|
|
1218
1227
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
1219
1228
|
}
|
|
1229
|
+
const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
|
|
1220
1230
|
function isOverflowElement(element) {
|
|
1221
1231
|
const {
|
|
1222
1232
|
overflow,
|
|
@@ -1224,27 +1234,32 @@ function isOverflowElement(element) {
|
|
|
1224
1234
|
overflowY,
|
|
1225
1235
|
display
|
|
1226
1236
|
} = getComputedStyle(element);
|
|
1227
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !
|
|
1237
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
|
|
1228
1238
|
}
|
|
1239
|
+
const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
|
|
1229
1240
|
function isTableElement(element) {
|
|
1230
|
-
return
|
|
1241
|
+
return tableElements.has(getNodeName(element));
|
|
1231
1242
|
}
|
|
1243
|
+
const topLayerSelectors = [':popover-open', ':modal'];
|
|
1232
1244
|
function isTopLayer(element) {
|
|
1233
|
-
return
|
|
1245
|
+
return topLayerSelectors.some(selector => {
|
|
1234
1246
|
try {
|
|
1235
1247
|
return element.matches(selector);
|
|
1236
|
-
} catch (
|
|
1248
|
+
} catch (_e) {
|
|
1237
1249
|
return false;
|
|
1238
1250
|
}
|
|
1239
1251
|
});
|
|
1240
1252
|
}
|
|
1253
|
+
const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
|
|
1254
|
+
const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
|
|
1255
|
+
const containValues = ['paint', 'layout', 'strict', 'content'];
|
|
1241
1256
|
function isContainingBlock(elementOrCss) {
|
|
1242
1257
|
const webkit = isWebKit();
|
|
1243
1258
|
const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
|
|
1244
1259
|
|
|
1245
1260
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1246
1261
|
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
1247
|
-
return
|
|
1262
|
+
return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));
|
|
1248
1263
|
}
|
|
1249
1264
|
function getContainingBlock(element) {
|
|
1250
1265
|
let currentNode = getParentNode(element);
|
|
@@ -1262,8 +1277,9 @@ function isWebKit() {
|
|
|
1262
1277
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
1263
1278
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
1264
1279
|
}
|
|
1280
|
+
const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
|
|
1265
1281
|
function isLastTraversableNode(node) {
|
|
1266
|
-
return
|
|
1282
|
+
return lastTraversableNodeNames.has(getNodeName(node));
|
|
1267
1283
|
}
|
|
1268
1284
|
function getComputedStyle(element) {
|
|
1269
1285
|
return getWindow(element).getComputedStyle(element);
|
|
@@ -1568,6 +1584,7 @@ function getViewportRect(element, strategy) {
|
|
|
1568
1584
|
};
|
|
1569
1585
|
}
|
|
1570
1586
|
|
|
1587
|
+
const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
|
|
1571
1588
|
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1572
1589
|
function getInnerBoundingClientRect(element, strategy) {
|
|
1573
1590
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
@@ -1632,7 +1649,7 @@ function getClippingElementAncestors(element, cache) {
|
|
|
1632
1649
|
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1633
1650
|
currentContainingBlockComputedStyle = null;
|
|
1634
1651
|
}
|
|
1635
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle &&
|
|
1652
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1636
1653
|
if (shouldDropCurrentNode) {
|
|
1637
1654
|
// Drop non-containing blocks.
|
|
1638
1655
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
@@ -1695,6 +1712,12 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1695
1712
|
scrollTop: 0
|
|
1696
1713
|
};
|
|
1697
1714
|
const offsets = createCoords(0);
|
|
1715
|
+
|
|
1716
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1717
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1718
|
+
function setLeftRTLScrollbarOffset() {
|
|
1719
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1720
|
+
}
|
|
1698
1721
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1699
1722
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1700
1723
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -1704,11 +1727,12 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1704
1727
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1705
1728
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1706
1729
|
} else if (documentElement) {
|
|
1707
|
-
|
|
1708
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1709
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1730
|
+
setLeftRTLScrollbarOffset();
|
|
1710
1731
|
}
|
|
1711
1732
|
}
|
|
1733
|
+
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
1734
|
+
setLeftRTLScrollbarOffset();
|
|
1735
|
+
}
|
|
1712
1736
|
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1713
1737
|
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1714
1738
|
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
@@ -15,7 +15,7 @@ const file = require('./file-33e9ed90.js');
|
|
|
15
15
|
const config = require('./config-9632c81a.js');
|
|
16
16
|
const size = require('./size-2a406e36.js');
|
|
17
17
|
const ResizeObserver_es = require('./ResizeObserver.es-ba961f16.js');
|
|
18
|
-
const floatingUi_dom_esm = require('./floating-ui.dom.esm-
|
|
18
|
+
const floatingUi_dom_esm = require('./floating-ui.dom.esm-90c5a220.js');
|
|
19
19
|
const TextMessage = require('./TextMessage-87c1e5a0.js');
|
|
20
20
|
const notification = require('./notification-6d70e3a8.js');
|
|
21
21
|
require('./isObjectLike-73d13a39.js');
|
|
@@ -4877,7 +4877,7 @@ __decorate$9([
|
|
|
4877
4877
|
], RtkMuteAllConfirmation.prototype, "t", void 0);
|
|
4878
4878
|
RtkMuteAllConfirmation.style = RtkMuteAllConfirmationStyle0;
|
|
4879
4879
|
|
|
4880
|
-
const rtkNotificationCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{pointer-events:none;display:block;height:var(--rtk-space-10, 40px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));animation:show 0.4s ease;transition:0.4s;z-index:100}.ctr{box-sizing:border-box;display:inline-flex;height:100%;min-width:var(--rtk-space-40, 160px);align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-2, 8px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);--tw-shadow-color:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-shadow:var(--tw-shadow-colored);pointer-events:auto}img{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-0, 0px);width:var(--rtk-space-0, 0px);border-radius:9999px}img.loaded{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}.message{margin-right:var(--rtk-space-
|
|
4880
|
+
const rtkNotificationCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{pointer-events:none;display:block;height:var(--rtk-space-10, 40px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));animation:show 0.4s ease;transition:0.4s;z-index:100}.ctr{box-sizing:border-box;display:inline-flex;height:100%;min-width:var(--rtk-space-40, 160px);align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-2, 8px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);--tw-shadow-color:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-shadow:var(--tw-shadow-colored);pointer-events:auto}img{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-0, 0px);width:var(--rtk-space-0, 0px);border-radius:9999px}img.loaded{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}.message{margin-right:var(--rtk-space-2, 8px);max-width:var(--rtk-space-72, 288px) !important;font-size:14px !important;overflow:hidden !important;display:-webkit-box !important;-webkit-box-orient:vertical !important;-webkit-line-clamp:2 !important}.message p{margin:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-1, 4px);display:inline-block}.message blockquote{display:none}rtk-icon.icon{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}button.dismiss{display:flex;height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);align-items:center;justify-content:center;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-0, 0px);border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));outline-width:1px;outline-color:rgb(var(--rtk-colors-text-1000, 255 255 255))}button.dismiss:hover{cursor:pointer;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}button.dismiss:focus-visible{outline-style:solid}button.dismiss{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.dismiss rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}rtk-button{border-radius:var(--rtk-border-radius-sm, 4px)}.right{margin-left:auto;display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}:host(.exit){animation:exit 0.4s ease}@keyframes show{0%{opacity:0;transform:translateX(-120px)}100%{opacity:1;transform:translateX(0px)}}@keyframes exit{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(-120px)}}:host([size='sm']){font-size:14px}";
|
|
4881
4881
|
const RtkNotificationStyle0 = rtkNotificationCss;
|
|
4882
4882
|
|
|
4883
4883
|
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|