@app-studio/web 0.8.88 → 0.8.90
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/web.cjs.development.js +103 -73
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +103 -73
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +106 -77
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ require('core-js/modules/es.regexp.to-string.js');
|
|
|
15
15
|
var appStudio = require('app-studio');
|
|
16
16
|
require('core-js/modules/es.symbol.description.js');
|
|
17
17
|
require('core-js/modules/es.parse-float.js');
|
|
18
|
+
require('core-js/modules/es.string.trim-end.js');
|
|
18
19
|
var reactRouterDom = require('react-router-dom');
|
|
19
20
|
var contrast = _interopDefault(require('contrast'));
|
|
20
21
|
require('core-js/modules/es.promise.js');
|
|
@@ -499,7 +500,8 @@ var FontWeights = {
|
|
|
499
500
|
black: '900'
|
|
500
501
|
};
|
|
501
502
|
|
|
502
|
-
var _excluded$2 = ["
|
|
503
|
+
var _excluded$2 = ["text", "maxLines", "views"],
|
|
504
|
+
_excluded2$1 = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size", "views"];
|
|
503
505
|
/**
|
|
504
506
|
* Renders text content with support for subscript and superscript
|
|
505
507
|
*/
|
|
@@ -525,46 +527,79 @@ var TextContent = _ref => {
|
|
|
525
527
|
}, views == null ? void 0 : views.sup), children)), !isSub && !isSup && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children))) : children);
|
|
526
528
|
};
|
|
527
529
|
/**
|
|
528
|
-
* Renders text with truncation after a specified number of lines
|
|
530
|
+
* Renders text with truncation after a specified number of lines (JS calculation)
|
|
529
531
|
*/
|
|
530
532
|
var TruncateText = _ref2 => {
|
|
531
533
|
var {
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
534
|
+
text,
|
|
535
|
+
maxLines = 1,
|
|
536
|
+
views // Pass down other HTML attributes
|
|
537
|
+
} = _ref2,
|
|
538
|
+
rest = _objectWithoutPropertiesLoose(_ref2, _excluded$2);
|
|
536
539
|
var containerRef = React.useRef(null);
|
|
537
|
-
var [
|
|
540
|
+
var [truncatedText, setTruncatedText] = React.useState(text);
|
|
541
|
+
var [isTruncated, setIsTruncated] = React.useState(false);
|
|
538
542
|
React.useEffect(() => {
|
|
539
|
-
var
|
|
540
|
-
if (!
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
543
|
+
var node = containerRef.current;
|
|
544
|
+
if (!node || !text || maxLines <= 0) {
|
|
545
|
+
setTruncatedText(text != null ? text : '');
|
|
546
|
+
setIsTruncated(false);
|
|
547
|
+
return;
|
|
548
|
+
}
|
|
549
|
+
var {
|
|
550
|
+
overflow,
|
|
551
|
+
height,
|
|
552
|
+
maxHeight,
|
|
553
|
+
lineHeight
|
|
554
|
+
} = node.style;
|
|
555
|
+
node.style.overflow = 'visible';
|
|
556
|
+
node.style.height = 'auto';
|
|
557
|
+
node.style.maxHeight = 'none';
|
|
558
|
+
node.innerText = text[0] || 'M';
|
|
559
|
+
var singleLine = node.offsetHeight;
|
|
560
|
+
if (!singleLine) {
|
|
561
|
+
var cs = getComputedStyle(node);
|
|
562
|
+
singleLine = cs.lineHeight !== 'normal' ? parseFloat(cs.lineHeight) : parseFloat(cs.fontSize || '16') * 1.2;
|
|
563
|
+
}
|
|
564
|
+
var limit = singleLine * maxLines;
|
|
565
|
+
node.innerText = text;
|
|
566
|
+
if (node.offsetHeight <= limit) {
|
|
567
|
+
setTruncatedText(text);
|
|
568
|
+
setIsTruncated(false);
|
|
569
|
+
restore(node);
|
|
570
|
+
return;
|
|
571
|
+
}
|
|
572
|
+
var lo = 0;
|
|
573
|
+
var hi = text.length;
|
|
574
|
+
var fit = 0;
|
|
575
|
+
while (lo <= hi) {
|
|
576
|
+
var mid = Math.floor((lo + hi) / 2);
|
|
577
|
+
node.innerText = text.slice(0, mid);
|
|
578
|
+
if (node.offsetHeight <= limit) {
|
|
579
|
+
fit = mid;
|
|
580
|
+
lo = mid + 1;
|
|
581
|
+
} else {
|
|
582
|
+
hi = mid - 1;
|
|
557
583
|
}
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
584
|
+
}
|
|
585
|
+
var finalText = fit < text.length ? text.slice(0, text.length > fit + 3 ? fit - 3 : fit).trimEnd() + '…' : text;
|
|
586
|
+
setTruncatedText(finalText);
|
|
587
|
+
setIsTruncated(fit < text.length);
|
|
588
|
+
restore(node);
|
|
589
|
+
function restore(n) {
|
|
590
|
+
n.style.overflow = overflow;
|
|
591
|
+
n.style.height = height;
|
|
592
|
+
n.style.maxHeight = maxHeight;
|
|
593
|
+
n.style.lineHeight = lineHeight;
|
|
594
|
+
}
|
|
561
595
|
}, [text, maxLines]);
|
|
562
|
-
var displayText = text.length > truncatedLength ? text.substring(0, truncatedLength) + '...' : text;
|
|
563
596
|
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
564
597
|
ref: containerRef,
|
|
565
|
-
overflow: "hidden"
|
|
566
|
-
|
|
567
|
-
|
|
598
|
+
overflow: "hidden" // Crucial for final display state
|
|
599
|
+
}, views == null ? void 0 : views.truncateText, rest, {
|
|
600
|
+
// Add title attribute for accessibility/hover to see full text
|
|
601
|
+
title: isTruncated ? text : undefined
|
|
602
|
+
}), truncatedText);
|
|
568
603
|
};
|
|
569
604
|
/**
|
|
570
605
|
* Main Text component that renders text with various styles and states
|
|
@@ -583,7 +618,7 @@ var TextView = _ref3 => {
|
|
|
583
618
|
size = 'md',
|
|
584
619
|
views
|
|
585
620
|
} = _ref3,
|
|
586
|
-
props = _objectWithoutPropertiesLoose(_ref3,
|
|
621
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$1);
|
|
587
622
|
// Apply heading styles if a heading is specified
|
|
588
623
|
var headingStyles = heading ? HeadingSizes[heading] : {};
|
|
589
624
|
// For sub/sup text, use inline display
|
|
@@ -603,12 +638,7 @@ var TextView = _ref3 => {
|
|
|
603
638
|
fontStyle: isItalic ? 'italic' : 'normal',
|
|
604
639
|
fontWeight: fontWeight,
|
|
605
640
|
letterSpacing: "-0.01em",
|
|
606
|
-
textDecoration: isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'
|
|
607
|
-
color: "color.gray.900",
|
|
608
|
-
// Apply dark mode styles
|
|
609
|
-
_dark: {
|
|
610
|
-
color: 'color.gray.100'
|
|
611
|
-
}
|
|
641
|
+
textDecoration: isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'
|
|
612
642
|
}, noLineBreak, headingStyles, props, views == null ? void 0 : views.container), maxLines && typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(TruncateText, {
|
|
613
643
|
text: children,
|
|
614
644
|
maxLines: maxLines
|
|
@@ -627,7 +657,7 @@ var TextComponent = props => {
|
|
|
627
657
|
var Text = TextComponent;
|
|
628
658
|
|
|
629
659
|
var _excluded$3 = ["widthHeight", "color", "transform", "orientation", "children"],
|
|
630
|
-
_excluded2$
|
|
660
|
+
_excluded2$2 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
631
661
|
_excluded3$1 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
632
662
|
_excluded4$1 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
633
663
|
_excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
@@ -741,7 +771,7 @@ var UserIcon = _ref2 => {
|
|
|
741
771
|
filled = true,
|
|
742
772
|
strokeWidth = 1
|
|
743
773
|
} = _ref2,
|
|
744
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
774
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
|
|
745
775
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
746
776
|
widthHeight: widthHeight,
|
|
747
777
|
color: color
|
|
@@ -3425,7 +3455,7 @@ var DefaultSpeeds = {
|
|
|
3425
3455
|
};
|
|
3426
3456
|
|
|
3427
3457
|
var _excluded$9 = ["size", "speed", "color", "themeMode"],
|
|
3428
|
-
_excluded2$
|
|
3458
|
+
_excluded2$3 = ["size", "speed", "color", "themeMode"],
|
|
3429
3459
|
_excluded3$2 = ["size", "speed", "color", "themeMode"],
|
|
3430
3460
|
_excluded4$2 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition", "views"];
|
|
3431
3461
|
var DefaultSpinner = _ref => {
|
|
@@ -3484,7 +3514,7 @@ var Dotted = _ref2 => {
|
|
|
3484
3514
|
color = 'theme.loading',
|
|
3485
3515
|
themeMode: elementMode
|
|
3486
3516
|
} = _ref2,
|
|
3487
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
3517
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
3488
3518
|
var {
|
|
3489
3519
|
getColor,
|
|
3490
3520
|
themeMode
|
|
@@ -4031,7 +4061,7 @@ var useCardContext = () => {
|
|
|
4031
4061
|
};
|
|
4032
4062
|
|
|
4033
4063
|
var _excluded$b = ["children", "views", "style", "themeMode"],
|
|
4034
|
-
_excluded2$
|
|
4064
|
+
_excluded2$4 = ["children", "views", "style", "themeMode"],
|
|
4035
4065
|
_excluded3$3 = ["children", "views", "style", "themeMode"],
|
|
4036
4066
|
_excluded4$3 = ["variant", "size", "shape", "children", "header", "footer", "isFullWidth", "views", "style", "themeMode"];
|
|
4037
4067
|
var CardHeader = _ref => {
|
|
@@ -4058,7 +4088,7 @@ var CardContent = _ref2 => {
|
|
|
4058
4088
|
children,
|
|
4059
4089
|
style
|
|
4060
4090
|
} = _ref2,
|
|
4061
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
4091
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
4062
4092
|
var theme = appStudio.useTheme();
|
|
4063
4093
|
var {
|
|
4064
4094
|
styles: contextStyles
|
|
@@ -4435,7 +4465,7 @@ var useCarouselContext = () => {
|
|
|
4435
4465
|
};
|
|
4436
4466
|
|
|
4437
4467
|
var _excluded$c = ["children", "isActive", "views"],
|
|
4438
|
-
_excluded2$
|
|
4468
|
+
_excluded2$5 = ["views", "children"],
|
|
4439
4469
|
_excluded3$4 = ["views", "children"],
|
|
4440
4470
|
_excluded4$4 = ["children", "views"],
|
|
4441
4471
|
_excluded5$1 = ["children", "views", "style"],
|
|
@@ -4462,7 +4492,7 @@ var CarouselPreviousComponent = _ref2 => {
|
|
|
4462
4492
|
children // Allow custom content/icon
|
|
4463
4493
|
// Spread remaining ButtonProps
|
|
4464
4494
|
} = _ref2,
|
|
4465
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
4495
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
|
|
4466
4496
|
var {
|
|
4467
4497
|
goToPrevious,
|
|
4468
4498
|
canGoPrevious,
|
|
@@ -5729,7 +5759,7 @@ var calculateMenuPosition = function calculateMenuPosition(x, y, menuWidth, menu
|
|
|
5729
5759
|
};
|
|
5730
5760
|
|
|
5731
5761
|
var _excluded$e = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
|
|
5732
|
-
_excluded2$
|
|
5762
|
+
_excluded2$6 = ["items", "children", "position", "side", "align", "views", "style"],
|
|
5733
5763
|
_excluded3$5 = ["item", "children", "onSelect", "isDisabled", "views"],
|
|
5734
5764
|
_excluded4$5 = ["views"],
|
|
5735
5765
|
_excluded5$2 = ["views"],
|
|
@@ -5838,7 +5868,7 @@ var ContextMenuContent = _ref3 => {
|
|
|
5838
5868
|
views,
|
|
5839
5869
|
style // Capture user-provided style
|
|
5840
5870
|
} = _ref3,
|
|
5841
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
5871
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$6);
|
|
5842
5872
|
var {
|
|
5843
5873
|
isOpen,
|
|
5844
5874
|
position: contextPosition,
|
|
@@ -6135,7 +6165,7 @@ ContextMenu.Divider = ContextMenuDivider;
|
|
|
6135
6165
|
ContextMenu.Separator = ContextMenuSeparator; // Add the Separator component
|
|
6136
6166
|
|
|
6137
6167
|
var _excluded$g = ["src", "color", "views", "themeMode"],
|
|
6138
|
-
_excluded2$
|
|
6168
|
+
_excluded2$7 = ["path"];
|
|
6139
6169
|
var FileSVG = _ref => {
|
|
6140
6170
|
var {
|
|
6141
6171
|
src,
|
|
@@ -6165,7 +6195,7 @@ var FileImage = _ref2 => {
|
|
|
6165
6195
|
var {
|
|
6166
6196
|
path
|
|
6167
6197
|
} = _ref2,
|
|
6168
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6198
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
|
|
6169
6199
|
return /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
|
|
6170
6200
|
src: path
|
|
6171
6201
|
}, props));
|
|
@@ -6597,7 +6627,7 @@ var IconSizes$2 = {
|
|
|
6597
6627
|
};
|
|
6598
6628
|
|
|
6599
6629
|
var _excluded$o = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
|
|
6600
|
-
_excluded2$
|
|
6630
|
+
_excluded2$8 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
|
|
6601
6631
|
_excluded3$6 = ["option", "size", "removeOption"],
|
|
6602
6632
|
_excluded4$6 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isMulti", "isFocused", "isHovered", "isDisabled", "isReadOnly", "options", "shadow", "size", "shape", "variant", "views", "onChange", "setHide", "setValue", "setIsHovered", "setIsFocused", "setHighlightedIndex", "highlightedIndex"];
|
|
6603
6633
|
/**
|
|
@@ -6715,7 +6745,7 @@ var HiddenSelect = _ref4 => {
|
|
|
6715
6745
|
isReadOnly = false,
|
|
6716
6746
|
options = []
|
|
6717
6747
|
} = _ref4,
|
|
6718
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded2$
|
|
6748
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded2$8);
|
|
6719
6749
|
var handleChange = event => {
|
|
6720
6750
|
if (onChange) onChange(event);
|
|
6721
6751
|
};
|
|
@@ -9350,7 +9380,7 @@ var IconSizes$4 = {
|
|
|
9350
9380
|
};
|
|
9351
9381
|
|
|
9352
9382
|
var _excluded$t = ["size"],
|
|
9353
|
-
_excluded2$
|
|
9383
|
+
_excluded2$9 = ["size"],
|
|
9354
9384
|
_excluded3$7 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "views", "themeMode"];
|
|
9355
9385
|
var CountryList = _ref => {
|
|
9356
9386
|
var props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
@@ -9362,7 +9392,7 @@ var CountrySelector = props => (/*#__PURE__*/React__default.createElement(appStu
|
|
|
9362
9392
|
type: "country"
|
|
9363
9393
|
}, props)));
|
|
9364
9394
|
var CountryItem = _ref2 => {
|
|
9365
|
-
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
9395
|
+
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$9);
|
|
9366
9396
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
9367
9397
|
as: "li"
|
|
9368
9398
|
}, props));
|
|
@@ -9715,7 +9745,7 @@ var usePasswordState = props => {
|
|
|
9715
9745
|
};
|
|
9716
9746
|
|
|
9717
9747
|
var _excluded$v = ["visibleIcon", "hiddenIcon"],
|
|
9718
|
-
_excluded2$
|
|
9748
|
+
_excluded2$a = ["isVisible", "setIsVisible"];
|
|
9719
9749
|
var PasswordComponent = _ref => {
|
|
9720
9750
|
var {
|
|
9721
9751
|
visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
|
|
@@ -9731,7 +9761,7 @@ var PasswordComponent = _ref => {
|
|
|
9731
9761
|
isVisible,
|
|
9732
9762
|
setIsVisible
|
|
9733
9763
|
} = _usePasswordState,
|
|
9734
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
9764
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$a);
|
|
9735
9765
|
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
9736
9766
|
type: isVisible ? 'text' : 'password',
|
|
9737
9767
|
isClearable: false,
|
|
@@ -10764,7 +10794,7 @@ var TextFieldComponent$1 = props => {
|
|
|
10764
10794
|
var FormikTextField = TextFieldComponent$1;
|
|
10765
10795
|
|
|
10766
10796
|
var _excluded$D = ["visibleIcon", "hiddenIcon"],
|
|
10767
|
-
_excluded2$
|
|
10797
|
+
_excluded2$b = ["isVisible", "setIsVisible"];
|
|
10768
10798
|
var PasswordComponent$1 = _ref => {
|
|
10769
10799
|
var {
|
|
10770
10800
|
visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
|
|
@@ -10781,7 +10811,7 @@ var PasswordComponent$1 = _ref => {
|
|
|
10781
10811
|
isVisible,
|
|
10782
10812
|
setIsVisible
|
|
10783
10813
|
} = _usePasswordState,
|
|
10784
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
10814
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$b);
|
|
10785
10815
|
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
10786
10816
|
type: isVisible ? 'text' : 'password',
|
|
10787
10817
|
isClearable: false,
|
|
@@ -12213,7 +12243,7 @@ var ModalTypography = {
|
|
|
12213
12243
|
};
|
|
12214
12244
|
|
|
12215
12245
|
var _excluded$H = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
|
|
12216
|
-
_excluded2$
|
|
12246
|
+
_excluded2$c = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
|
|
12217
12247
|
_excluded3$8 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
|
|
12218
12248
|
_excluded4$7 = ["children", "views"],
|
|
12219
12249
|
_excluded5$3 = ["children", "views"];
|
|
@@ -12263,7 +12293,7 @@ var ModalContainer = _ref2 => {
|
|
|
12263
12293
|
shape = 'rounded',
|
|
12264
12294
|
views
|
|
12265
12295
|
} = _ref2,
|
|
12266
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
12296
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$c);
|
|
12267
12297
|
var defaultShadow = typeof document !== undefined ? {
|
|
12268
12298
|
boxShadow: '0px 4px 16px rgba(0, 0, 0, 0.15)'
|
|
12269
12299
|
} : {
|
|
@@ -13773,7 +13803,7 @@ var getDropdownPosition = function getDropdownPosition(side, align) {
|
|
|
13773
13803
|
};
|
|
13774
13804
|
|
|
13775
13805
|
var _excluded$M = ["children", "views"],
|
|
13776
|
-
_excluded2$
|
|
13806
|
+
_excluded2$d = ["items", "side", "align", "views"],
|
|
13777
13807
|
_excluded3$9 = ["item", "views"],
|
|
13778
13808
|
_excluded4$8 = ["views"],
|
|
13779
13809
|
_excluded5$4 = ["trigger", "items", "side", "align", "views", "themeMode"];
|
|
@@ -13835,7 +13865,7 @@ var DropdownMenuContent = _ref3 => {
|
|
|
13835
13865
|
align = 'start',
|
|
13836
13866
|
views
|
|
13837
13867
|
} = _ref3,
|
|
13838
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
13868
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$d);
|
|
13839
13869
|
var {
|
|
13840
13870
|
isOpen,
|
|
13841
13871
|
//activeSubmenuId, setActiveSubmenuId, size,
|
|
@@ -14184,7 +14214,7 @@ var useRect = ref => {
|
|
|
14184
14214
|
};
|
|
14185
14215
|
|
|
14186
14216
|
var _excluded$O = ["children", "views", "asChild"],
|
|
14187
|
-
_excluded2$
|
|
14217
|
+
_excluded2$e = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
|
|
14188
14218
|
// Create context for the HoverCard
|
|
14189
14219
|
var HoverCardContext = /*#__PURE__*/React.createContext({
|
|
14190
14220
|
isOpen: false,
|
|
@@ -14270,7 +14300,7 @@ var HoverCardContent = _ref3 => {
|
|
|
14270
14300
|
minWidth = '200px',
|
|
14271
14301
|
maxWidth = '300px'
|
|
14272
14302
|
} = _ref3,
|
|
14273
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
14303
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$e);
|
|
14274
14304
|
var {
|
|
14275
14305
|
isOpen,
|
|
14276
14306
|
cancelCloseTimer,
|
|
@@ -15333,7 +15363,7 @@ var SidebarTransitions = {
|
|
|
15333
15363
|
};
|
|
15334
15364
|
|
|
15335
15365
|
var _excluded$V = ["children", "showToggleButton", "views"],
|
|
15336
|
-
_excluded2$
|
|
15366
|
+
_excluded2$f = ["children", "views"],
|
|
15337
15367
|
_excluded3$a = ["children", "views"],
|
|
15338
15368
|
_excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
|
|
15339
15369
|
// Create context for the Sidebar
|
|
@@ -15432,7 +15462,7 @@ var SidebarContent = _ref3 => {
|
|
|
15432
15462
|
children,
|
|
15433
15463
|
views
|
|
15434
15464
|
} = _ref3,
|
|
15435
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
15465
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$f);
|
|
15436
15466
|
var {
|
|
15437
15467
|
isExpanded
|
|
15438
15468
|
} = useSidebarContext();
|
|
@@ -16008,7 +16038,7 @@ var HandleIconStyles = {
|
|
|
16008
16038
|
};
|
|
16009
16039
|
|
|
16010
16040
|
var _excluded$X = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
|
|
16011
|
-
_excluded2$
|
|
16041
|
+
_excluded2$g = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
|
|
16012
16042
|
_excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
|
|
16013
16043
|
// Create context for the Resizable component
|
|
16014
16044
|
var ResizableContext = /*#__PURE__*/React.createContext({
|
|
@@ -16116,7 +16146,7 @@ var ResizableHandle = _ref3 => {
|
|
|
16116
16146
|
collapseTarget,
|
|
16117
16147
|
views
|
|
16118
16148
|
} = _ref3,
|
|
16119
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
16149
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$g);
|
|
16120
16150
|
var {
|
|
16121
16151
|
orientation,
|
|
16122
16152
|
size,
|
|
@@ -17056,7 +17086,7 @@ var CommandFooterStyles = {
|
|
|
17056
17086
|
};
|
|
17057
17087
|
|
|
17058
17088
|
var _excluded$Z = ["value", "onValueChange", "placeholder", "views"],
|
|
17059
|
-
_excluded2$
|
|
17089
|
+
_excluded2$h = ["children", "views"],
|
|
17060
17090
|
_excluded3$c = ["heading", "children", "views"],
|
|
17061
17091
|
_excluded4$a = ["item", "selected", "onSelect", "views"],
|
|
17062
17092
|
_excluded5$5 = ["children", "views"],
|
|
@@ -17119,7 +17149,7 @@ var CommandList = _ref3 => {
|
|
|
17119
17149
|
children,
|
|
17120
17150
|
views
|
|
17121
17151
|
} = _ref3,
|
|
17122
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
17152
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
|
|
17123
17153
|
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandListStyles, views == null ? void 0 : views.container, props), children);
|
|
17124
17154
|
};
|
|
17125
17155
|
// Command Group component
|
|
@@ -17576,7 +17606,7 @@ var getArrowStyles = position => {
|
|
|
17576
17606
|
};
|
|
17577
17607
|
|
|
17578
17608
|
var _excluded$$ = ["children", "views", "asChild"],
|
|
17579
|
-
_excluded2$
|
|
17609
|
+
_excluded2$i = ["children", "views"],
|
|
17580
17610
|
_excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
|
|
17581
17611
|
// Create context for the Tooltip
|
|
17582
17612
|
var TooltipContext = /*#__PURE__*/React.createContext({
|
|
@@ -17647,7 +17677,7 @@ var TooltipContent = _ref3 => {
|
|
|
17647
17677
|
children,
|
|
17648
17678
|
views
|
|
17649
17679
|
} = _ref3,
|
|
17650
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
17680
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
|
|
17651
17681
|
var {
|
|
17652
17682
|
isOpen,
|
|
17653
17683
|
contentRef,
|