@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
package/dist/web.esm.js
CHANGED
|
@@ -8,6 +8,7 @@ import 'core-js/modules/es.regexp.to-string.js';
|
|
|
8
8
|
import { View, Horizontal, Vertical, Element, Center, useTheme, Image, Typography, Input, Form, Text as Text$1 } from 'app-studio';
|
|
9
9
|
import 'core-js/modules/es.symbol.description.js';
|
|
10
10
|
import 'core-js/modules/es.parse-float.js';
|
|
11
|
+
import 'core-js/modules/es.string.trim-end.js';
|
|
11
12
|
import { Link as Link$1 } from 'react-router-dom';
|
|
12
13
|
import contrast from 'contrast';
|
|
13
14
|
import 'core-js/modules/es.promise.js';
|
|
@@ -492,7 +493,8 @@ var FontWeights = {
|
|
|
492
493
|
black: '900'
|
|
493
494
|
};
|
|
494
495
|
|
|
495
|
-
var _excluded$2 = ["
|
|
496
|
+
var _excluded$2 = ["text", "maxLines", "views"],
|
|
497
|
+
_excluded2$1 = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size", "views"];
|
|
496
498
|
/**
|
|
497
499
|
* Renders text content with support for subscript and superscript
|
|
498
500
|
*/
|
|
@@ -518,46 +520,79 @@ var TextContent = _ref => {
|
|
|
518
520
|
}, views == null ? void 0 : views.sup), children)), !isSub && !isSup && /*#__PURE__*/React.createElement(React.Fragment, null, children))) : children);
|
|
519
521
|
};
|
|
520
522
|
/**
|
|
521
|
-
* Renders text with truncation after a specified number of lines
|
|
523
|
+
* Renders text with truncation after a specified number of lines (JS calculation)
|
|
522
524
|
*/
|
|
523
525
|
var TruncateText = _ref2 => {
|
|
524
526
|
var {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
527
|
+
text,
|
|
528
|
+
maxLines = 1,
|
|
529
|
+
views // Pass down other HTML attributes
|
|
530
|
+
} = _ref2,
|
|
531
|
+
rest = _objectWithoutPropertiesLoose(_ref2, _excluded$2);
|
|
529
532
|
var containerRef = useRef(null);
|
|
530
|
-
var [
|
|
533
|
+
var [truncatedText, setTruncatedText] = useState(text);
|
|
534
|
+
var [isTruncated, setIsTruncated] = useState(false);
|
|
531
535
|
useEffect(() => {
|
|
532
|
-
var
|
|
533
|
-
if (!
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
536
|
+
var node = containerRef.current;
|
|
537
|
+
if (!node || !text || maxLines <= 0) {
|
|
538
|
+
setTruncatedText(text != null ? text : '');
|
|
539
|
+
setIsTruncated(false);
|
|
540
|
+
return;
|
|
541
|
+
}
|
|
542
|
+
var {
|
|
543
|
+
overflow,
|
|
544
|
+
height,
|
|
545
|
+
maxHeight,
|
|
546
|
+
lineHeight
|
|
547
|
+
} = node.style;
|
|
548
|
+
node.style.overflow = 'visible';
|
|
549
|
+
node.style.height = 'auto';
|
|
550
|
+
node.style.maxHeight = 'none';
|
|
551
|
+
node.innerText = text[0] || 'M';
|
|
552
|
+
var singleLine = node.offsetHeight;
|
|
553
|
+
if (!singleLine) {
|
|
554
|
+
var cs = getComputedStyle(node);
|
|
555
|
+
singleLine = cs.lineHeight !== 'normal' ? parseFloat(cs.lineHeight) : parseFloat(cs.fontSize || '16') * 1.2;
|
|
556
|
+
}
|
|
557
|
+
var limit = singleLine * maxLines;
|
|
558
|
+
node.innerText = text;
|
|
559
|
+
if (node.offsetHeight <= limit) {
|
|
560
|
+
setTruncatedText(text);
|
|
561
|
+
setIsTruncated(false);
|
|
562
|
+
restore(node);
|
|
563
|
+
return;
|
|
564
|
+
}
|
|
565
|
+
var lo = 0;
|
|
566
|
+
var hi = text.length;
|
|
567
|
+
var fit = 0;
|
|
568
|
+
while (lo <= hi) {
|
|
569
|
+
var mid = Math.floor((lo + hi) / 2);
|
|
570
|
+
node.innerText = text.slice(0, mid);
|
|
571
|
+
if (node.offsetHeight <= limit) {
|
|
572
|
+
fit = mid;
|
|
573
|
+
lo = mid + 1;
|
|
574
|
+
} else {
|
|
575
|
+
hi = mid - 1;
|
|
550
576
|
}
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
577
|
+
}
|
|
578
|
+
var finalText = fit < text.length ? text.slice(0, text.length > fit + 3 ? fit - 3 : fit).trimEnd() + '…' : text;
|
|
579
|
+
setTruncatedText(finalText);
|
|
580
|
+
setIsTruncated(fit < text.length);
|
|
581
|
+
restore(node);
|
|
582
|
+
function restore(n) {
|
|
583
|
+
n.style.overflow = overflow;
|
|
584
|
+
n.style.height = height;
|
|
585
|
+
n.style.maxHeight = maxHeight;
|
|
586
|
+
n.style.lineHeight = lineHeight;
|
|
587
|
+
}
|
|
554
588
|
}, [text, maxLines]);
|
|
555
|
-
var displayText = text.length > truncatedLength ? text.substring(0, truncatedLength) + '...' : text;
|
|
556
589
|
return /*#__PURE__*/React.createElement(View, Object.assign({
|
|
557
590
|
ref: containerRef,
|
|
558
|
-
overflow: "hidden"
|
|
559
|
-
|
|
560
|
-
|
|
591
|
+
overflow: "hidden" // Crucial for final display state
|
|
592
|
+
}, views == null ? void 0 : views.truncateText, rest, {
|
|
593
|
+
// Add title attribute for accessibility/hover to see full text
|
|
594
|
+
title: isTruncated ? text : undefined
|
|
595
|
+
}), truncatedText);
|
|
561
596
|
};
|
|
562
597
|
/**
|
|
563
598
|
* Main Text component that renders text with various styles and states
|
|
@@ -576,7 +611,7 @@ var TextView = _ref3 => {
|
|
|
576
611
|
size = 'md',
|
|
577
612
|
views
|
|
578
613
|
} = _ref3,
|
|
579
|
-
props = _objectWithoutPropertiesLoose(_ref3,
|
|
614
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$1);
|
|
580
615
|
// Apply heading styles if a heading is specified
|
|
581
616
|
var headingStyles = heading ? HeadingSizes[heading] : {};
|
|
582
617
|
// For sub/sup text, use inline display
|
|
@@ -620,7 +655,7 @@ var TextComponent = props => {
|
|
|
620
655
|
var Text = TextComponent;
|
|
621
656
|
|
|
622
657
|
var _excluded$3 = ["widthHeight", "color", "transform", "orientation", "children"],
|
|
623
|
-
_excluded2$
|
|
658
|
+
_excluded2$2 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
624
659
|
_excluded3$1 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
625
660
|
_excluded4$1 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
626
661
|
_excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
@@ -734,7 +769,7 @@ var UserIcon = _ref2 => {
|
|
|
734
769
|
filled = true,
|
|
735
770
|
strokeWidth = 1
|
|
736
771
|
} = _ref2,
|
|
737
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
772
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
|
|
738
773
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
739
774
|
widthHeight: widthHeight,
|
|
740
775
|
color: color
|
|
@@ -3418,7 +3453,7 @@ var DefaultSpeeds = {
|
|
|
3418
3453
|
};
|
|
3419
3454
|
|
|
3420
3455
|
var _excluded$9 = ["size", "speed", "color", "themeMode"],
|
|
3421
|
-
_excluded2$
|
|
3456
|
+
_excluded2$3 = ["size", "speed", "color", "themeMode"],
|
|
3422
3457
|
_excluded3$2 = ["size", "speed", "color", "themeMode"],
|
|
3423
3458
|
_excluded4$2 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition", "views"];
|
|
3424
3459
|
var DefaultSpinner = _ref => {
|
|
@@ -3477,7 +3512,7 @@ var Dotted = _ref2 => {
|
|
|
3477
3512
|
color = 'theme.loading',
|
|
3478
3513
|
themeMode: elementMode
|
|
3479
3514
|
} = _ref2,
|
|
3480
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
3515
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
3481
3516
|
var {
|
|
3482
3517
|
getColor,
|
|
3483
3518
|
themeMode
|
|
@@ -4024,7 +4059,7 @@ var useCardContext = () => {
|
|
|
4024
4059
|
};
|
|
4025
4060
|
|
|
4026
4061
|
var _excluded$b = ["children", "views", "style", "themeMode"],
|
|
4027
|
-
_excluded2$
|
|
4062
|
+
_excluded2$4 = ["children", "views", "style", "themeMode"],
|
|
4028
4063
|
_excluded3$3 = ["children", "views", "style", "themeMode"],
|
|
4029
4064
|
_excluded4$3 = ["variant", "size", "shape", "children", "header", "footer", "isFullWidth", "views", "style", "themeMode"];
|
|
4030
4065
|
var CardHeader = _ref => {
|
|
@@ -4051,7 +4086,7 @@ var CardContent = _ref2 => {
|
|
|
4051
4086
|
children,
|
|
4052
4087
|
style
|
|
4053
4088
|
} = _ref2,
|
|
4054
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
4089
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
4055
4090
|
var theme = useTheme();
|
|
4056
4091
|
var {
|
|
4057
4092
|
styles: contextStyles
|
|
@@ -4428,7 +4463,7 @@ var useCarouselContext = () => {
|
|
|
4428
4463
|
};
|
|
4429
4464
|
|
|
4430
4465
|
var _excluded$c = ["children", "isActive", "views"],
|
|
4431
|
-
_excluded2$
|
|
4466
|
+
_excluded2$5 = ["views", "children"],
|
|
4432
4467
|
_excluded3$4 = ["views", "children"],
|
|
4433
4468
|
_excluded4$4 = ["children", "views"],
|
|
4434
4469
|
_excluded5$1 = ["children", "views", "style"],
|
|
@@ -4455,7 +4490,7 @@ var CarouselPreviousComponent = _ref2 => {
|
|
|
4455
4490
|
children // Allow custom content/icon
|
|
4456
4491
|
// Spread remaining ButtonProps
|
|
4457
4492
|
} = _ref2,
|
|
4458
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
4493
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
|
|
4459
4494
|
var {
|
|
4460
4495
|
goToPrevious,
|
|
4461
4496
|
canGoPrevious,
|
|
@@ -5722,7 +5757,7 @@ var calculateMenuPosition = function calculateMenuPosition(x, y, menuWidth, menu
|
|
|
5722
5757
|
};
|
|
5723
5758
|
|
|
5724
5759
|
var _excluded$e = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
|
|
5725
|
-
_excluded2$
|
|
5760
|
+
_excluded2$6 = ["items", "children", "position", "side", "align", "views", "style"],
|
|
5726
5761
|
_excluded3$5 = ["item", "children", "onSelect", "isDisabled", "views"],
|
|
5727
5762
|
_excluded4$5 = ["views"],
|
|
5728
5763
|
_excluded5$2 = ["views"],
|
|
@@ -5831,7 +5866,7 @@ var ContextMenuContent = _ref3 => {
|
|
|
5831
5866
|
views,
|
|
5832
5867
|
style // Capture user-provided style
|
|
5833
5868
|
} = _ref3,
|
|
5834
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
5869
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$6);
|
|
5835
5870
|
var {
|
|
5836
5871
|
isOpen,
|
|
5837
5872
|
position: contextPosition,
|
|
@@ -6128,7 +6163,7 @@ ContextMenu.Divider = ContextMenuDivider;
|
|
|
6128
6163
|
ContextMenu.Separator = ContextMenuSeparator; // Add the Separator component
|
|
6129
6164
|
|
|
6130
6165
|
var _excluded$g = ["src", "color", "views", "themeMode"],
|
|
6131
|
-
_excluded2$
|
|
6166
|
+
_excluded2$7 = ["path"];
|
|
6132
6167
|
var FileSVG = _ref => {
|
|
6133
6168
|
var {
|
|
6134
6169
|
src,
|
|
@@ -6158,7 +6193,7 @@ var FileImage = _ref2 => {
|
|
|
6158
6193
|
var {
|
|
6159
6194
|
path
|
|
6160
6195
|
} = _ref2,
|
|
6161
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6196
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
|
|
6162
6197
|
return /*#__PURE__*/React.createElement(Image, Object.assign({
|
|
6163
6198
|
src: path
|
|
6164
6199
|
}, props));
|
|
@@ -6590,7 +6625,7 @@ var IconSizes$2 = {
|
|
|
6590
6625
|
};
|
|
6591
6626
|
|
|
6592
6627
|
var _excluded$o = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
|
|
6593
|
-
_excluded2$
|
|
6628
|
+
_excluded2$8 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
|
|
6594
6629
|
_excluded3$6 = ["option", "size", "removeOption"],
|
|
6595
6630
|
_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"];
|
|
6596
6631
|
/**
|
|
@@ -6708,7 +6743,7 @@ var HiddenSelect = _ref4 => {
|
|
|
6708
6743
|
isReadOnly = false,
|
|
6709
6744
|
options = []
|
|
6710
6745
|
} = _ref4,
|
|
6711
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded2$
|
|
6746
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded2$8);
|
|
6712
6747
|
var handleChange = event => {
|
|
6713
6748
|
if (onChange) onChange(event);
|
|
6714
6749
|
};
|
|
@@ -9343,7 +9378,7 @@ var IconSizes$4 = {
|
|
|
9343
9378
|
};
|
|
9344
9379
|
|
|
9345
9380
|
var _excluded$t = ["size"],
|
|
9346
|
-
_excluded2$
|
|
9381
|
+
_excluded2$9 = ["size"],
|
|
9347
9382
|
_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"];
|
|
9348
9383
|
var CountryList = _ref => {
|
|
9349
9384
|
var props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
@@ -9355,7 +9390,7 @@ var CountrySelector = props => (/*#__PURE__*/React.createElement(Input, Object.a
|
|
|
9355
9390
|
type: "country"
|
|
9356
9391
|
}, props)));
|
|
9357
9392
|
var CountryItem = _ref2 => {
|
|
9358
|
-
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
9393
|
+
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$9);
|
|
9359
9394
|
return /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
9360
9395
|
as: "li"
|
|
9361
9396
|
}, props));
|
|
@@ -9708,7 +9743,7 @@ var usePasswordState = props => {
|
|
|
9708
9743
|
};
|
|
9709
9744
|
|
|
9710
9745
|
var _excluded$v = ["visibleIcon", "hiddenIcon"],
|
|
9711
|
-
_excluded2$
|
|
9746
|
+
_excluded2$a = ["isVisible", "setIsVisible"];
|
|
9712
9747
|
var PasswordComponent = _ref => {
|
|
9713
9748
|
var {
|
|
9714
9749
|
visibleIcon = /*#__PURE__*/React.createElement(OpenEyeIcon, {
|
|
@@ -9724,7 +9759,7 @@ var PasswordComponent = _ref => {
|
|
|
9724
9759
|
isVisible,
|
|
9725
9760
|
setIsVisible
|
|
9726
9761
|
} = _usePasswordState,
|
|
9727
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
9762
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$a);
|
|
9728
9763
|
return /*#__PURE__*/React.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
9729
9764
|
type: isVisible ? 'text' : 'password',
|
|
9730
9765
|
isClearable: false,
|
|
@@ -10757,7 +10792,7 @@ var TextFieldComponent$1 = props => {
|
|
|
10757
10792
|
var FormikTextField = TextFieldComponent$1;
|
|
10758
10793
|
|
|
10759
10794
|
var _excluded$D = ["visibleIcon", "hiddenIcon"],
|
|
10760
|
-
_excluded2$
|
|
10795
|
+
_excluded2$b = ["isVisible", "setIsVisible"];
|
|
10761
10796
|
var PasswordComponent$1 = _ref => {
|
|
10762
10797
|
var {
|
|
10763
10798
|
visibleIcon = /*#__PURE__*/React.createElement(OpenEyeIcon, {
|
|
@@ -10774,7 +10809,7 @@ var PasswordComponent$1 = _ref => {
|
|
|
10774
10809
|
isVisible,
|
|
10775
10810
|
setIsVisible
|
|
10776
10811
|
} = _usePasswordState,
|
|
10777
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
10812
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$b);
|
|
10778
10813
|
return /*#__PURE__*/React.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
10779
10814
|
type: isVisible ? 'text' : 'password',
|
|
10780
10815
|
isClearable: false,
|
|
@@ -12206,7 +12241,7 @@ var ModalTypography = {
|
|
|
12206
12241
|
};
|
|
12207
12242
|
|
|
12208
12243
|
var _excluded$H = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
|
|
12209
|
-
_excluded2$
|
|
12244
|
+
_excluded2$c = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
|
|
12210
12245
|
_excluded3$8 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
|
|
12211
12246
|
_excluded4$7 = ["children", "views"],
|
|
12212
12247
|
_excluded5$3 = ["children", "views"];
|
|
@@ -12256,7 +12291,7 @@ var ModalContainer = _ref2 => {
|
|
|
12256
12291
|
shape = 'rounded',
|
|
12257
12292
|
views
|
|
12258
12293
|
} = _ref2,
|
|
12259
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
12294
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$c);
|
|
12260
12295
|
var defaultShadow = typeof document !== undefined ? {
|
|
12261
12296
|
boxShadow: '0px 4px 16px rgba(0, 0, 0, 0.15)'
|
|
12262
12297
|
} : {
|
|
@@ -13766,7 +13801,7 @@ var getDropdownPosition = function getDropdownPosition(side, align) {
|
|
|
13766
13801
|
};
|
|
13767
13802
|
|
|
13768
13803
|
var _excluded$M = ["children", "views"],
|
|
13769
|
-
_excluded2$
|
|
13804
|
+
_excluded2$d = ["items", "side", "align", "views"],
|
|
13770
13805
|
_excluded3$9 = ["item", "views"],
|
|
13771
13806
|
_excluded4$8 = ["views"],
|
|
13772
13807
|
_excluded5$4 = ["trigger", "items", "side", "align", "views", "themeMode"];
|
|
@@ -13828,7 +13863,7 @@ var DropdownMenuContent = _ref3 => {
|
|
|
13828
13863
|
align = 'start',
|
|
13829
13864
|
views
|
|
13830
13865
|
} = _ref3,
|
|
13831
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
13866
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$d);
|
|
13832
13867
|
var {
|
|
13833
13868
|
isOpen,
|
|
13834
13869
|
//activeSubmenuId, setActiveSubmenuId, size,
|
|
@@ -14177,7 +14212,7 @@ var useRect = ref => {
|
|
|
14177
14212
|
};
|
|
14178
14213
|
|
|
14179
14214
|
var _excluded$O = ["children", "views", "asChild"],
|
|
14180
|
-
_excluded2$
|
|
14215
|
+
_excluded2$e = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
|
|
14181
14216
|
// Create context for the HoverCard
|
|
14182
14217
|
var HoverCardContext = /*#__PURE__*/createContext({
|
|
14183
14218
|
isOpen: false,
|
|
@@ -14263,7 +14298,7 @@ var HoverCardContent = _ref3 => {
|
|
|
14263
14298
|
minWidth = '200px',
|
|
14264
14299
|
maxWidth = '300px'
|
|
14265
14300
|
} = _ref3,
|
|
14266
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
14301
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$e);
|
|
14267
14302
|
var {
|
|
14268
14303
|
isOpen,
|
|
14269
14304
|
cancelCloseTimer,
|
|
@@ -15326,7 +15361,7 @@ var SidebarTransitions = {
|
|
|
15326
15361
|
};
|
|
15327
15362
|
|
|
15328
15363
|
var _excluded$V = ["children", "showToggleButton", "views"],
|
|
15329
|
-
_excluded2$
|
|
15364
|
+
_excluded2$f = ["children", "views"],
|
|
15330
15365
|
_excluded3$a = ["children", "views"],
|
|
15331
15366
|
_excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
|
|
15332
15367
|
// Create context for the Sidebar
|
|
@@ -15425,7 +15460,7 @@ var SidebarContent = _ref3 => {
|
|
|
15425
15460
|
children,
|
|
15426
15461
|
views
|
|
15427
15462
|
} = _ref3,
|
|
15428
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
15463
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$f);
|
|
15429
15464
|
var {
|
|
15430
15465
|
isExpanded
|
|
15431
15466
|
} = useSidebarContext();
|
|
@@ -16001,7 +16036,7 @@ var HandleIconStyles = {
|
|
|
16001
16036
|
};
|
|
16002
16037
|
|
|
16003
16038
|
var _excluded$X = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
|
|
16004
|
-
_excluded2$
|
|
16039
|
+
_excluded2$g = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
|
|
16005
16040
|
_excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
|
|
16006
16041
|
// Create context for the Resizable component
|
|
16007
16042
|
var ResizableContext = /*#__PURE__*/createContext({
|
|
@@ -16109,7 +16144,7 @@ var ResizableHandle = _ref3 => {
|
|
|
16109
16144
|
collapseTarget,
|
|
16110
16145
|
views
|
|
16111
16146
|
} = _ref3,
|
|
16112
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
16147
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$g);
|
|
16113
16148
|
var {
|
|
16114
16149
|
orientation,
|
|
16115
16150
|
size,
|
|
@@ -17049,7 +17084,7 @@ var CommandFooterStyles = {
|
|
|
17049
17084
|
};
|
|
17050
17085
|
|
|
17051
17086
|
var _excluded$Z = ["value", "onValueChange", "placeholder", "views"],
|
|
17052
|
-
_excluded2$
|
|
17087
|
+
_excluded2$h = ["children", "views"],
|
|
17053
17088
|
_excluded3$c = ["heading", "children", "views"],
|
|
17054
17089
|
_excluded4$a = ["item", "selected", "onSelect", "views"],
|
|
17055
17090
|
_excluded5$5 = ["children", "views"],
|
|
@@ -17112,7 +17147,7 @@ var CommandList = _ref3 => {
|
|
|
17112
17147
|
children,
|
|
17113
17148
|
views
|
|
17114
17149
|
} = _ref3,
|
|
17115
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
17150
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
|
|
17116
17151
|
return /*#__PURE__*/React.createElement(View, Object.assign({}, CommandListStyles, views == null ? void 0 : views.container, props), children);
|
|
17117
17152
|
};
|
|
17118
17153
|
// Command Group component
|
|
@@ -17569,7 +17604,7 @@ var getArrowStyles = position => {
|
|
|
17569
17604
|
};
|
|
17570
17605
|
|
|
17571
17606
|
var _excluded$$ = ["children", "views", "asChild"],
|
|
17572
|
-
_excluded2$
|
|
17607
|
+
_excluded2$i = ["children", "views"],
|
|
17573
17608
|
_excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
|
|
17574
17609
|
// Create context for the Tooltip
|
|
17575
17610
|
var TooltipContext = /*#__PURE__*/createContext({
|
|
@@ -17640,7 +17675,7 @@ var TooltipContent = _ref3 => {
|
|
|
17640
17675
|
children,
|
|
17641
17676
|
views
|
|
17642
17677
|
} = _ref3,
|
|
17643
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
17678
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
|
|
17644
17679
|
var {
|
|
17645
17680
|
isOpen,
|
|
17646
17681
|
contentRef,
|