@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
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
|
|
@@ -596,12 +631,7 @@ var TextView = _ref3 => {
|
|
|
596
631
|
fontStyle: isItalic ? 'italic' : 'normal',
|
|
597
632
|
fontWeight: fontWeight,
|
|
598
633
|
letterSpacing: "-0.01em",
|
|
599
|
-
textDecoration: isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'
|
|
600
|
-
color: "color.gray.900",
|
|
601
|
-
// Apply dark mode styles
|
|
602
|
-
_dark: {
|
|
603
|
-
color: 'color.gray.100'
|
|
604
|
-
}
|
|
634
|
+
textDecoration: isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'
|
|
605
635
|
}, noLineBreak, headingStyles, props, views == null ? void 0 : views.container), maxLines && typeof children === 'string' ? (/*#__PURE__*/React.createElement(TruncateText, {
|
|
606
636
|
text: children,
|
|
607
637
|
maxLines: maxLines
|
|
@@ -620,7 +650,7 @@ var TextComponent = props => {
|
|
|
620
650
|
var Text = TextComponent;
|
|
621
651
|
|
|
622
652
|
var _excluded$3 = ["widthHeight", "color", "transform", "orientation", "children"],
|
|
623
|
-
_excluded2$
|
|
653
|
+
_excluded2$2 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
624
654
|
_excluded3$1 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
625
655
|
_excluded4$1 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
626
656
|
_excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
@@ -734,7 +764,7 @@ var UserIcon = _ref2 => {
|
|
|
734
764
|
filled = true,
|
|
735
765
|
strokeWidth = 1
|
|
736
766
|
} = _ref2,
|
|
737
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
767
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
|
|
738
768
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
739
769
|
widthHeight: widthHeight,
|
|
740
770
|
color: color
|
|
@@ -3418,7 +3448,7 @@ var DefaultSpeeds = {
|
|
|
3418
3448
|
};
|
|
3419
3449
|
|
|
3420
3450
|
var _excluded$9 = ["size", "speed", "color", "themeMode"],
|
|
3421
|
-
_excluded2$
|
|
3451
|
+
_excluded2$3 = ["size", "speed", "color", "themeMode"],
|
|
3422
3452
|
_excluded3$2 = ["size", "speed", "color", "themeMode"],
|
|
3423
3453
|
_excluded4$2 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition", "views"];
|
|
3424
3454
|
var DefaultSpinner = _ref => {
|
|
@@ -3477,7 +3507,7 @@ var Dotted = _ref2 => {
|
|
|
3477
3507
|
color = 'theme.loading',
|
|
3478
3508
|
themeMode: elementMode
|
|
3479
3509
|
} = _ref2,
|
|
3480
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
3510
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
3481
3511
|
var {
|
|
3482
3512
|
getColor,
|
|
3483
3513
|
themeMode
|
|
@@ -4024,7 +4054,7 @@ var useCardContext = () => {
|
|
|
4024
4054
|
};
|
|
4025
4055
|
|
|
4026
4056
|
var _excluded$b = ["children", "views", "style", "themeMode"],
|
|
4027
|
-
_excluded2$
|
|
4057
|
+
_excluded2$4 = ["children", "views", "style", "themeMode"],
|
|
4028
4058
|
_excluded3$3 = ["children", "views", "style", "themeMode"],
|
|
4029
4059
|
_excluded4$3 = ["variant", "size", "shape", "children", "header", "footer", "isFullWidth", "views", "style", "themeMode"];
|
|
4030
4060
|
var CardHeader = _ref => {
|
|
@@ -4051,7 +4081,7 @@ var CardContent = _ref2 => {
|
|
|
4051
4081
|
children,
|
|
4052
4082
|
style
|
|
4053
4083
|
} = _ref2,
|
|
4054
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
4084
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
4055
4085
|
var theme = useTheme();
|
|
4056
4086
|
var {
|
|
4057
4087
|
styles: contextStyles
|
|
@@ -4428,7 +4458,7 @@ var useCarouselContext = () => {
|
|
|
4428
4458
|
};
|
|
4429
4459
|
|
|
4430
4460
|
var _excluded$c = ["children", "isActive", "views"],
|
|
4431
|
-
_excluded2$
|
|
4461
|
+
_excluded2$5 = ["views", "children"],
|
|
4432
4462
|
_excluded3$4 = ["views", "children"],
|
|
4433
4463
|
_excluded4$4 = ["children", "views"],
|
|
4434
4464
|
_excluded5$1 = ["children", "views", "style"],
|
|
@@ -4455,7 +4485,7 @@ var CarouselPreviousComponent = _ref2 => {
|
|
|
4455
4485
|
children // Allow custom content/icon
|
|
4456
4486
|
// Spread remaining ButtonProps
|
|
4457
4487
|
} = _ref2,
|
|
4458
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
4488
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
|
|
4459
4489
|
var {
|
|
4460
4490
|
goToPrevious,
|
|
4461
4491
|
canGoPrevious,
|
|
@@ -5722,7 +5752,7 @@ var calculateMenuPosition = function calculateMenuPosition(x, y, menuWidth, menu
|
|
|
5722
5752
|
};
|
|
5723
5753
|
|
|
5724
5754
|
var _excluded$e = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
|
|
5725
|
-
_excluded2$
|
|
5755
|
+
_excluded2$6 = ["items", "children", "position", "side", "align", "views", "style"],
|
|
5726
5756
|
_excluded3$5 = ["item", "children", "onSelect", "isDisabled", "views"],
|
|
5727
5757
|
_excluded4$5 = ["views"],
|
|
5728
5758
|
_excluded5$2 = ["views"],
|
|
@@ -5831,7 +5861,7 @@ var ContextMenuContent = _ref3 => {
|
|
|
5831
5861
|
views,
|
|
5832
5862
|
style // Capture user-provided style
|
|
5833
5863
|
} = _ref3,
|
|
5834
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
5864
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$6);
|
|
5835
5865
|
var {
|
|
5836
5866
|
isOpen,
|
|
5837
5867
|
position: contextPosition,
|
|
@@ -6128,7 +6158,7 @@ ContextMenu.Divider = ContextMenuDivider;
|
|
|
6128
6158
|
ContextMenu.Separator = ContextMenuSeparator; // Add the Separator component
|
|
6129
6159
|
|
|
6130
6160
|
var _excluded$g = ["src", "color", "views", "themeMode"],
|
|
6131
|
-
_excluded2$
|
|
6161
|
+
_excluded2$7 = ["path"];
|
|
6132
6162
|
var FileSVG = _ref => {
|
|
6133
6163
|
var {
|
|
6134
6164
|
src,
|
|
@@ -6158,7 +6188,7 @@ var FileImage = _ref2 => {
|
|
|
6158
6188
|
var {
|
|
6159
6189
|
path
|
|
6160
6190
|
} = _ref2,
|
|
6161
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6191
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
|
|
6162
6192
|
return /*#__PURE__*/React.createElement(Image, Object.assign({
|
|
6163
6193
|
src: path
|
|
6164
6194
|
}, props));
|
|
@@ -6590,7 +6620,7 @@ var IconSizes$2 = {
|
|
|
6590
6620
|
};
|
|
6591
6621
|
|
|
6592
6622
|
var _excluded$o = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
|
|
6593
|
-
_excluded2$
|
|
6623
|
+
_excluded2$8 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
|
|
6594
6624
|
_excluded3$6 = ["option", "size", "removeOption"],
|
|
6595
6625
|
_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
6626
|
/**
|
|
@@ -6708,7 +6738,7 @@ var HiddenSelect = _ref4 => {
|
|
|
6708
6738
|
isReadOnly = false,
|
|
6709
6739
|
options = []
|
|
6710
6740
|
} = _ref4,
|
|
6711
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded2$
|
|
6741
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded2$8);
|
|
6712
6742
|
var handleChange = event => {
|
|
6713
6743
|
if (onChange) onChange(event);
|
|
6714
6744
|
};
|
|
@@ -9343,7 +9373,7 @@ var IconSizes$4 = {
|
|
|
9343
9373
|
};
|
|
9344
9374
|
|
|
9345
9375
|
var _excluded$t = ["size"],
|
|
9346
|
-
_excluded2$
|
|
9376
|
+
_excluded2$9 = ["size"],
|
|
9347
9377
|
_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
9378
|
var CountryList = _ref => {
|
|
9349
9379
|
var props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
@@ -9355,7 +9385,7 @@ var CountrySelector = props => (/*#__PURE__*/React.createElement(Input, Object.a
|
|
|
9355
9385
|
type: "country"
|
|
9356
9386
|
}, props)));
|
|
9357
9387
|
var CountryItem = _ref2 => {
|
|
9358
|
-
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
9388
|
+
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$9);
|
|
9359
9389
|
return /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
9360
9390
|
as: "li"
|
|
9361
9391
|
}, props));
|
|
@@ -9708,7 +9738,7 @@ var usePasswordState = props => {
|
|
|
9708
9738
|
};
|
|
9709
9739
|
|
|
9710
9740
|
var _excluded$v = ["visibleIcon", "hiddenIcon"],
|
|
9711
|
-
_excluded2$
|
|
9741
|
+
_excluded2$a = ["isVisible", "setIsVisible"];
|
|
9712
9742
|
var PasswordComponent = _ref => {
|
|
9713
9743
|
var {
|
|
9714
9744
|
visibleIcon = /*#__PURE__*/React.createElement(OpenEyeIcon, {
|
|
@@ -9724,7 +9754,7 @@ var PasswordComponent = _ref => {
|
|
|
9724
9754
|
isVisible,
|
|
9725
9755
|
setIsVisible
|
|
9726
9756
|
} = _usePasswordState,
|
|
9727
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
9757
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$a);
|
|
9728
9758
|
return /*#__PURE__*/React.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
9729
9759
|
type: isVisible ? 'text' : 'password',
|
|
9730
9760
|
isClearable: false,
|
|
@@ -10757,7 +10787,7 @@ var TextFieldComponent$1 = props => {
|
|
|
10757
10787
|
var FormikTextField = TextFieldComponent$1;
|
|
10758
10788
|
|
|
10759
10789
|
var _excluded$D = ["visibleIcon", "hiddenIcon"],
|
|
10760
|
-
_excluded2$
|
|
10790
|
+
_excluded2$b = ["isVisible", "setIsVisible"];
|
|
10761
10791
|
var PasswordComponent$1 = _ref => {
|
|
10762
10792
|
var {
|
|
10763
10793
|
visibleIcon = /*#__PURE__*/React.createElement(OpenEyeIcon, {
|
|
@@ -10774,7 +10804,7 @@ var PasswordComponent$1 = _ref => {
|
|
|
10774
10804
|
isVisible,
|
|
10775
10805
|
setIsVisible
|
|
10776
10806
|
} = _usePasswordState,
|
|
10777
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
10807
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$b);
|
|
10778
10808
|
return /*#__PURE__*/React.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
10779
10809
|
type: isVisible ? 'text' : 'password',
|
|
10780
10810
|
isClearable: false,
|
|
@@ -12206,7 +12236,7 @@ var ModalTypography = {
|
|
|
12206
12236
|
};
|
|
12207
12237
|
|
|
12208
12238
|
var _excluded$H = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
|
|
12209
|
-
_excluded2$
|
|
12239
|
+
_excluded2$c = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
|
|
12210
12240
|
_excluded3$8 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
|
|
12211
12241
|
_excluded4$7 = ["children", "views"],
|
|
12212
12242
|
_excluded5$3 = ["children", "views"];
|
|
@@ -12256,7 +12286,7 @@ var ModalContainer = _ref2 => {
|
|
|
12256
12286
|
shape = 'rounded',
|
|
12257
12287
|
views
|
|
12258
12288
|
} = _ref2,
|
|
12259
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
12289
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$c);
|
|
12260
12290
|
var defaultShadow = typeof document !== undefined ? {
|
|
12261
12291
|
boxShadow: '0px 4px 16px rgba(0, 0, 0, 0.15)'
|
|
12262
12292
|
} : {
|
|
@@ -13766,7 +13796,7 @@ var getDropdownPosition = function getDropdownPosition(side, align) {
|
|
|
13766
13796
|
};
|
|
13767
13797
|
|
|
13768
13798
|
var _excluded$M = ["children", "views"],
|
|
13769
|
-
_excluded2$
|
|
13799
|
+
_excluded2$d = ["items", "side", "align", "views"],
|
|
13770
13800
|
_excluded3$9 = ["item", "views"],
|
|
13771
13801
|
_excluded4$8 = ["views"],
|
|
13772
13802
|
_excluded5$4 = ["trigger", "items", "side", "align", "views", "themeMode"];
|
|
@@ -13828,7 +13858,7 @@ var DropdownMenuContent = _ref3 => {
|
|
|
13828
13858
|
align = 'start',
|
|
13829
13859
|
views
|
|
13830
13860
|
} = _ref3,
|
|
13831
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
13861
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$d);
|
|
13832
13862
|
var {
|
|
13833
13863
|
isOpen,
|
|
13834
13864
|
//activeSubmenuId, setActiveSubmenuId, size,
|
|
@@ -14177,7 +14207,7 @@ var useRect = ref => {
|
|
|
14177
14207
|
};
|
|
14178
14208
|
|
|
14179
14209
|
var _excluded$O = ["children", "views", "asChild"],
|
|
14180
|
-
_excluded2$
|
|
14210
|
+
_excluded2$e = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
|
|
14181
14211
|
// Create context for the HoverCard
|
|
14182
14212
|
var HoverCardContext = /*#__PURE__*/createContext({
|
|
14183
14213
|
isOpen: false,
|
|
@@ -14263,7 +14293,7 @@ var HoverCardContent = _ref3 => {
|
|
|
14263
14293
|
minWidth = '200px',
|
|
14264
14294
|
maxWidth = '300px'
|
|
14265
14295
|
} = _ref3,
|
|
14266
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
14296
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$e);
|
|
14267
14297
|
var {
|
|
14268
14298
|
isOpen,
|
|
14269
14299
|
cancelCloseTimer,
|
|
@@ -15326,7 +15356,7 @@ var SidebarTransitions = {
|
|
|
15326
15356
|
};
|
|
15327
15357
|
|
|
15328
15358
|
var _excluded$V = ["children", "showToggleButton", "views"],
|
|
15329
|
-
_excluded2$
|
|
15359
|
+
_excluded2$f = ["children", "views"],
|
|
15330
15360
|
_excluded3$a = ["children", "views"],
|
|
15331
15361
|
_excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
|
|
15332
15362
|
// Create context for the Sidebar
|
|
@@ -15425,7 +15455,7 @@ var SidebarContent = _ref3 => {
|
|
|
15425
15455
|
children,
|
|
15426
15456
|
views
|
|
15427
15457
|
} = _ref3,
|
|
15428
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
15458
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$f);
|
|
15429
15459
|
var {
|
|
15430
15460
|
isExpanded
|
|
15431
15461
|
} = useSidebarContext();
|
|
@@ -16001,7 +16031,7 @@ var HandleIconStyles = {
|
|
|
16001
16031
|
};
|
|
16002
16032
|
|
|
16003
16033
|
var _excluded$X = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
|
|
16004
|
-
_excluded2$
|
|
16034
|
+
_excluded2$g = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
|
|
16005
16035
|
_excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
|
|
16006
16036
|
// Create context for the Resizable component
|
|
16007
16037
|
var ResizableContext = /*#__PURE__*/createContext({
|
|
@@ -16109,7 +16139,7 @@ var ResizableHandle = _ref3 => {
|
|
|
16109
16139
|
collapseTarget,
|
|
16110
16140
|
views
|
|
16111
16141
|
} = _ref3,
|
|
16112
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
16142
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$g);
|
|
16113
16143
|
var {
|
|
16114
16144
|
orientation,
|
|
16115
16145
|
size,
|
|
@@ -17049,7 +17079,7 @@ var CommandFooterStyles = {
|
|
|
17049
17079
|
};
|
|
17050
17080
|
|
|
17051
17081
|
var _excluded$Z = ["value", "onValueChange", "placeholder", "views"],
|
|
17052
|
-
_excluded2$
|
|
17082
|
+
_excluded2$h = ["children", "views"],
|
|
17053
17083
|
_excluded3$c = ["heading", "children", "views"],
|
|
17054
17084
|
_excluded4$a = ["item", "selected", "onSelect", "views"],
|
|
17055
17085
|
_excluded5$5 = ["children", "views"],
|
|
@@ -17112,7 +17142,7 @@ var CommandList = _ref3 => {
|
|
|
17112
17142
|
children,
|
|
17113
17143
|
views
|
|
17114
17144
|
} = _ref3,
|
|
17115
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
17145
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
|
|
17116
17146
|
return /*#__PURE__*/React.createElement(View, Object.assign({}, CommandListStyles, views == null ? void 0 : views.container, props), children);
|
|
17117
17147
|
};
|
|
17118
17148
|
// Command Group component
|
|
@@ -17569,7 +17599,7 @@ var getArrowStyles = position => {
|
|
|
17569
17599
|
};
|
|
17570
17600
|
|
|
17571
17601
|
var _excluded$$ = ["children", "views", "asChild"],
|
|
17572
|
-
_excluded2$
|
|
17602
|
+
_excluded2$i = ["children", "views"],
|
|
17573
17603
|
_excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
|
|
17574
17604
|
// Create context for the Tooltip
|
|
17575
17605
|
var TooltipContext = /*#__PURE__*/createContext({
|
|
@@ -17640,7 +17670,7 @@ var TooltipContent = _ref3 => {
|
|
|
17640
17670
|
children,
|
|
17641
17671
|
views
|
|
17642
17672
|
} = _ref3,
|
|
17643
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
17673
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
|
|
17644
17674
|
var {
|
|
17645
17675
|
isOpen,
|
|
17646
17676
|
contentRef,
|