@app-studio/web 0.8.88 → 0.8.89
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 +102 -67
- 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 +102 -67
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +105 -71
- 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
|
|
@@ -627,7 +662,7 @@ var TextComponent = props => {
|
|
|
627
662
|
var Text = TextComponent;
|
|
628
663
|
|
|
629
664
|
var _excluded$3 = ["widthHeight", "color", "transform", "orientation", "children"],
|
|
630
|
-
_excluded2$
|
|
665
|
+
_excluded2$2 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
631
666
|
_excluded3$1 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
632
667
|
_excluded4$1 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
633
668
|
_excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
@@ -741,7 +776,7 @@ var UserIcon = _ref2 => {
|
|
|
741
776
|
filled = true,
|
|
742
777
|
strokeWidth = 1
|
|
743
778
|
} = _ref2,
|
|
744
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
779
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
|
|
745
780
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
746
781
|
widthHeight: widthHeight,
|
|
747
782
|
color: color
|
|
@@ -3425,7 +3460,7 @@ var DefaultSpeeds = {
|
|
|
3425
3460
|
};
|
|
3426
3461
|
|
|
3427
3462
|
var _excluded$9 = ["size", "speed", "color", "themeMode"],
|
|
3428
|
-
_excluded2$
|
|
3463
|
+
_excluded2$3 = ["size", "speed", "color", "themeMode"],
|
|
3429
3464
|
_excluded3$2 = ["size", "speed", "color", "themeMode"],
|
|
3430
3465
|
_excluded4$2 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition", "views"];
|
|
3431
3466
|
var DefaultSpinner = _ref => {
|
|
@@ -3484,7 +3519,7 @@ var Dotted = _ref2 => {
|
|
|
3484
3519
|
color = 'theme.loading',
|
|
3485
3520
|
themeMode: elementMode
|
|
3486
3521
|
} = _ref2,
|
|
3487
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
3522
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
3488
3523
|
var {
|
|
3489
3524
|
getColor,
|
|
3490
3525
|
themeMode
|
|
@@ -4031,7 +4066,7 @@ var useCardContext = () => {
|
|
|
4031
4066
|
};
|
|
4032
4067
|
|
|
4033
4068
|
var _excluded$b = ["children", "views", "style", "themeMode"],
|
|
4034
|
-
_excluded2$
|
|
4069
|
+
_excluded2$4 = ["children", "views", "style", "themeMode"],
|
|
4035
4070
|
_excluded3$3 = ["children", "views", "style", "themeMode"],
|
|
4036
4071
|
_excluded4$3 = ["variant", "size", "shape", "children", "header", "footer", "isFullWidth", "views", "style", "themeMode"];
|
|
4037
4072
|
var CardHeader = _ref => {
|
|
@@ -4058,7 +4093,7 @@ var CardContent = _ref2 => {
|
|
|
4058
4093
|
children,
|
|
4059
4094
|
style
|
|
4060
4095
|
} = _ref2,
|
|
4061
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
4096
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
4062
4097
|
var theme = appStudio.useTheme();
|
|
4063
4098
|
var {
|
|
4064
4099
|
styles: contextStyles
|
|
@@ -4435,7 +4470,7 @@ var useCarouselContext = () => {
|
|
|
4435
4470
|
};
|
|
4436
4471
|
|
|
4437
4472
|
var _excluded$c = ["children", "isActive", "views"],
|
|
4438
|
-
_excluded2$
|
|
4473
|
+
_excluded2$5 = ["views", "children"],
|
|
4439
4474
|
_excluded3$4 = ["views", "children"],
|
|
4440
4475
|
_excluded4$4 = ["children", "views"],
|
|
4441
4476
|
_excluded5$1 = ["children", "views", "style"],
|
|
@@ -4462,7 +4497,7 @@ var CarouselPreviousComponent = _ref2 => {
|
|
|
4462
4497
|
children // Allow custom content/icon
|
|
4463
4498
|
// Spread remaining ButtonProps
|
|
4464
4499
|
} = _ref2,
|
|
4465
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
4500
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
|
|
4466
4501
|
var {
|
|
4467
4502
|
goToPrevious,
|
|
4468
4503
|
canGoPrevious,
|
|
@@ -5729,7 +5764,7 @@ var calculateMenuPosition = function calculateMenuPosition(x, y, menuWidth, menu
|
|
|
5729
5764
|
};
|
|
5730
5765
|
|
|
5731
5766
|
var _excluded$e = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
|
|
5732
|
-
_excluded2$
|
|
5767
|
+
_excluded2$6 = ["items", "children", "position", "side", "align", "views", "style"],
|
|
5733
5768
|
_excluded3$5 = ["item", "children", "onSelect", "isDisabled", "views"],
|
|
5734
5769
|
_excluded4$5 = ["views"],
|
|
5735
5770
|
_excluded5$2 = ["views"],
|
|
@@ -5838,7 +5873,7 @@ var ContextMenuContent = _ref3 => {
|
|
|
5838
5873
|
views,
|
|
5839
5874
|
style // Capture user-provided style
|
|
5840
5875
|
} = _ref3,
|
|
5841
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
5876
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$6);
|
|
5842
5877
|
var {
|
|
5843
5878
|
isOpen,
|
|
5844
5879
|
position: contextPosition,
|
|
@@ -6135,7 +6170,7 @@ ContextMenu.Divider = ContextMenuDivider;
|
|
|
6135
6170
|
ContextMenu.Separator = ContextMenuSeparator; // Add the Separator component
|
|
6136
6171
|
|
|
6137
6172
|
var _excluded$g = ["src", "color", "views", "themeMode"],
|
|
6138
|
-
_excluded2$
|
|
6173
|
+
_excluded2$7 = ["path"];
|
|
6139
6174
|
var FileSVG = _ref => {
|
|
6140
6175
|
var {
|
|
6141
6176
|
src,
|
|
@@ -6165,7 +6200,7 @@ var FileImage = _ref2 => {
|
|
|
6165
6200
|
var {
|
|
6166
6201
|
path
|
|
6167
6202
|
} = _ref2,
|
|
6168
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6203
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
|
|
6169
6204
|
return /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
|
|
6170
6205
|
src: path
|
|
6171
6206
|
}, props));
|
|
@@ -6597,7 +6632,7 @@ var IconSizes$2 = {
|
|
|
6597
6632
|
};
|
|
6598
6633
|
|
|
6599
6634
|
var _excluded$o = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
|
|
6600
|
-
_excluded2$
|
|
6635
|
+
_excluded2$8 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
|
|
6601
6636
|
_excluded3$6 = ["option", "size", "removeOption"],
|
|
6602
6637
|
_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
6638
|
/**
|
|
@@ -6715,7 +6750,7 @@ var HiddenSelect = _ref4 => {
|
|
|
6715
6750
|
isReadOnly = false,
|
|
6716
6751
|
options = []
|
|
6717
6752
|
} = _ref4,
|
|
6718
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded2$
|
|
6753
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded2$8);
|
|
6719
6754
|
var handleChange = event => {
|
|
6720
6755
|
if (onChange) onChange(event);
|
|
6721
6756
|
};
|
|
@@ -9350,7 +9385,7 @@ var IconSizes$4 = {
|
|
|
9350
9385
|
};
|
|
9351
9386
|
|
|
9352
9387
|
var _excluded$t = ["size"],
|
|
9353
|
-
_excluded2$
|
|
9388
|
+
_excluded2$9 = ["size"],
|
|
9354
9389
|
_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
9390
|
var CountryList = _ref => {
|
|
9356
9391
|
var props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
@@ -9362,7 +9397,7 @@ var CountrySelector = props => (/*#__PURE__*/React__default.createElement(appStu
|
|
|
9362
9397
|
type: "country"
|
|
9363
9398
|
}, props)));
|
|
9364
9399
|
var CountryItem = _ref2 => {
|
|
9365
|
-
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
9400
|
+
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$9);
|
|
9366
9401
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
9367
9402
|
as: "li"
|
|
9368
9403
|
}, props));
|
|
@@ -9715,7 +9750,7 @@ var usePasswordState = props => {
|
|
|
9715
9750
|
};
|
|
9716
9751
|
|
|
9717
9752
|
var _excluded$v = ["visibleIcon", "hiddenIcon"],
|
|
9718
|
-
_excluded2$
|
|
9753
|
+
_excluded2$a = ["isVisible", "setIsVisible"];
|
|
9719
9754
|
var PasswordComponent = _ref => {
|
|
9720
9755
|
var {
|
|
9721
9756
|
visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
|
|
@@ -9731,7 +9766,7 @@ var PasswordComponent = _ref => {
|
|
|
9731
9766
|
isVisible,
|
|
9732
9767
|
setIsVisible
|
|
9733
9768
|
} = _usePasswordState,
|
|
9734
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
9769
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$a);
|
|
9735
9770
|
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
9736
9771
|
type: isVisible ? 'text' : 'password',
|
|
9737
9772
|
isClearable: false,
|
|
@@ -10764,7 +10799,7 @@ var TextFieldComponent$1 = props => {
|
|
|
10764
10799
|
var FormikTextField = TextFieldComponent$1;
|
|
10765
10800
|
|
|
10766
10801
|
var _excluded$D = ["visibleIcon", "hiddenIcon"],
|
|
10767
|
-
_excluded2$
|
|
10802
|
+
_excluded2$b = ["isVisible", "setIsVisible"];
|
|
10768
10803
|
var PasswordComponent$1 = _ref => {
|
|
10769
10804
|
var {
|
|
10770
10805
|
visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
|
|
@@ -10781,7 +10816,7 @@ var PasswordComponent$1 = _ref => {
|
|
|
10781
10816
|
isVisible,
|
|
10782
10817
|
setIsVisible
|
|
10783
10818
|
} = _usePasswordState,
|
|
10784
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
10819
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$b);
|
|
10785
10820
|
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
10786
10821
|
type: isVisible ? 'text' : 'password',
|
|
10787
10822
|
isClearable: false,
|
|
@@ -12213,7 +12248,7 @@ var ModalTypography = {
|
|
|
12213
12248
|
};
|
|
12214
12249
|
|
|
12215
12250
|
var _excluded$H = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
|
|
12216
|
-
_excluded2$
|
|
12251
|
+
_excluded2$c = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
|
|
12217
12252
|
_excluded3$8 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
|
|
12218
12253
|
_excluded4$7 = ["children", "views"],
|
|
12219
12254
|
_excluded5$3 = ["children", "views"];
|
|
@@ -12263,7 +12298,7 @@ var ModalContainer = _ref2 => {
|
|
|
12263
12298
|
shape = 'rounded',
|
|
12264
12299
|
views
|
|
12265
12300
|
} = _ref2,
|
|
12266
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
12301
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$c);
|
|
12267
12302
|
var defaultShadow = typeof document !== undefined ? {
|
|
12268
12303
|
boxShadow: '0px 4px 16px rgba(0, 0, 0, 0.15)'
|
|
12269
12304
|
} : {
|
|
@@ -13773,7 +13808,7 @@ var getDropdownPosition = function getDropdownPosition(side, align) {
|
|
|
13773
13808
|
};
|
|
13774
13809
|
|
|
13775
13810
|
var _excluded$M = ["children", "views"],
|
|
13776
|
-
_excluded2$
|
|
13811
|
+
_excluded2$d = ["items", "side", "align", "views"],
|
|
13777
13812
|
_excluded3$9 = ["item", "views"],
|
|
13778
13813
|
_excluded4$8 = ["views"],
|
|
13779
13814
|
_excluded5$4 = ["trigger", "items", "side", "align", "views", "themeMode"];
|
|
@@ -13835,7 +13870,7 @@ var DropdownMenuContent = _ref3 => {
|
|
|
13835
13870
|
align = 'start',
|
|
13836
13871
|
views
|
|
13837
13872
|
} = _ref3,
|
|
13838
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
13873
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$d);
|
|
13839
13874
|
var {
|
|
13840
13875
|
isOpen,
|
|
13841
13876
|
//activeSubmenuId, setActiveSubmenuId, size,
|
|
@@ -14184,7 +14219,7 @@ var useRect = ref => {
|
|
|
14184
14219
|
};
|
|
14185
14220
|
|
|
14186
14221
|
var _excluded$O = ["children", "views", "asChild"],
|
|
14187
|
-
_excluded2$
|
|
14222
|
+
_excluded2$e = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
|
|
14188
14223
|
// Create context for the HoverCard
|
|
14189
14224
|
var HoverCardContext = /*#__PURE__*/React.createContext({
|
|
14190
14225
|
isOpen: false,
|
|
@@ -14270,7 +14305,7 @@ var HoverCardContent = _ref3 => {
|
|
|
14270
14305
|
minWidth = '200px',
|
|
14271
14306
|
maxWidth = '300px'
|
|
14272
14307
|
} = _ref3,
|
|
14273
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
14308
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$e);
|
|
14274
14309
|
var {
|
|
14275
14310
|
isOpen,
|
|
14276
14311
|
cancelCloseTimer,
|
|
@@ -15333,7 +15368,7 @@ var SidebarTransitions = {
|
|
|
15333
15368
|
};
|
|
15334
15369
|
|
|
15335
15370
|
var _excluded$V = ["children", "showToggleButton", "views"],
|
|
15336
|
-
_excluded2$
|
|
15371
|
+
_excluded2$f = ["children", "views"],
|
|
15337
15372
|
_excluded3$a = ["children", "views"],
|
|
15338
15373
|
_excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
|
|
15339
15374
|
// Create context for the Sidebar
|
|
@@ -15432,7 +15467,7 @@ var SidebarContent = _ref3 => {
|
|
|
15432
15467
|
children,
|
|
15433
15468
|
views
|
|
15434
15469
|
} = _ref3,
|
|
15435
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
15470
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$f);
|
|
15436
15471
|
var {
|
|
15437
15472
|
isExpanded
|
|
15438
15473
|
} = useSidebarContext();
|
|
@@ -16008,7 +16043,7 @@ var HandleIconStyles = {
|
|
|
16008
16043
|
};
|
|
16009
16044
|
|
|
16010
16045
|
var _excluded$X = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
|
|
16011
|
-
_excluded2$
|
|
16046
|
+
_excluded2$g = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
|
|
16012
16047
|
_excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
|
|
16013
16048
|
// Create context for the Resizable component
|
|
16014
16049
|
var ResizableContext = /*#__PURE__*/React.createContext({
|
|
@@ -16116,7 +16151,7 @@ var ResizableHandle = _ref3 => {
|
|
|
16116
16151
|
collapseTarget,
|
|
16117
16152
|
views
|
|
16118
16153
|
} = _ref3,
|
|
16119
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
16154
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$g);
|
|
16120
16155
|
var {
|
|
16121
16156
|
orientation,
|
|
16122
16157
|
size,
|
|
@@ -17056,7 +17091,7 @@ var CommandFooterStyles = {
|
|
|
17056
17091
|
};
|
|
17057
17092
|
|
|
17058
17093
|
var _excluded$Z = ["value", "onValueChange", "placeholder", "views"],
|
|
17059
|
-
_excluded2$
|
|
17094
|
+
_excluded2$h = ["children", "views"],
|
|
17060
17095
|
_excluded3$c = ["heading", "children", "views"],
|
|
17061
17096
|
_excluded4$a = ["item", "selected", "onSelect", "views"],
|
|
17062
17097
|
_excluded5$5 = ["children", "views"],
|
|
@@ -17119,7 +17154,7 @@ var CommandList = _ref3 => {
|
|
|
17119
17154
|
children,
|
|
17120
17155
|
views
|
|
17121
17156
|
} = _ref3,
|
|
17122
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
17157
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
|
|
17123
17158
|
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandListStyles, views == null ? void 0 : views.container, props), children);
|
|
17124
17159
|
};
|
|
17125
17160
|
// Command Group component
|
|
@@ -17576,7 +17611,7 @@ var getArrowStyles = position => {
|
|
|
17576
17611
|
};
|
|
17577
17612
|
|
|
17578
17613
|
var _excluded$$ = ["children", "views", "asChild"],
|
|
17579
|
-
_excluded2$
|
|
17614
|
+
_excluded2$i = ["children", "views"],
|
|
17580
17615
|
_excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
|
|
17581
17616
|
// Create context for the Tooltip
|
|
17582
17617
|
var TooltipContext = /*#__PURE__*/React.createContext({
|
|
@@ -17647,7 +17682,7 @@ var TooltipContent = _ref3 => {
|
|
|
17647
17682
|
children,
|
|
17648
17683
|
views
|
|
17649
17684
|
} = _ref3,
|
|
17650
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
17685
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
|
|
17651
17686
|
var {
|
|
17652
17687
|
isOpen,
|
|
17653
17688
|
contentRef,
|