@app-studio/web 0.9.43 → 0.9.45
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/components/Title/Title/SlideEffect.d.ts +14 -0
- package/dist/components/Title/Title/Title.props.d.ts +20 -0
- package/dist/components/Title/Title/Title.state.d.ts +4 -0
- package/dist/pages/themeTest.page.d.ts +3 -0
- package/dist/web.cjs.development.js +266 -79
- 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 +266 -79
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +266 -79
- 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/docs/components/Badge.mdx +1 -1
- package/docs/components/ColorPicker.mdx +16 -16
- package/docs/components/DragAndDrop.mdx +11 -11
- package/docs/components/Drawer.mdx +3 -3
- package/docs/components/Gradient.mdx +40 -40
- package/docs/components/Loader.mdx +17 -17
- package/docs/components/ProgressBar.mdx +14 -14
- package/docs/components/StatusIndicator.mdx +5 -5
- package/package.json +1 -1
- package/dist/bot/Bot.d.ts +0 -15
- package/dist/bot/Cache.d.ts +0 -13
- package/dist/bot/Config.d.ts +0 -13
- package/dist/bot/ContentFetcher.d.ts +0 -9
- package/dist/bot/DocuCode.d.ts +0 -19
- package/dist/bot/FileHandler.d.ts +0 -39
- package/dist/bot/ai/AnthropicConnector.d.ts +0 -6
- package/dist/bot/ai/GeminiConnector.d.ts +0 -7
- package/dist/bot/ai/GroqConnector.d.ts +0 -7
- package/dist/bot/ai/HuggingFaceConnector.d.ts +0 -6
- package/dist/bot/ai/OpenAIConnector.d.ts +0 -11
- package/dist/bot/ai/ReplicateConnector.d.ts +0 -7
- package/dist/bot/ai/SambaNovaConnector.d.ts +0 -6
- package/dist/bot/ai/ai.config.d.ts +0 -12
- package/dist/bot/ai/ai.service.d.ts +0 -36
- package/dist/bot/data.d.ts +0 -19
- package/dist/bot/extractors.d.ts +0 -8
- package/dist/bot/index.d.ts +0 -1
- package/dist/bot/prompt/1-project.d.ts +0 -1
- package/dist/bot/prompt/2-response.d.ts +0 -1
- package/dist/bot/prompt/3-comment.d.ts +0 -1
|
@@ -3753,7 +3753,7 @@ var UploadView = _ref => {
|
|
|
3753
3753
|
height: 4,
|
|
3754
3754
|
width: progress + "%",
|
|
3755
3755
|
borderRadius: 2,
|
|
3756
|
-
backgroundColor: "
|
|
3756
|
+
backgroundColor: "color.dark.50"
|
|
3757
3757
|
}, views == null ? void 0 : views.view))), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
3758
3758
|
fontSize: 12
|
|
3759
3759
|
}, views == null ? void 0 : views.text), progress, "%"));
|
|
@@ -4522,7 +4522,6 @@ var BadgeView = _ref => {
|
|
|
4522
4522
|
display: 'flex',
|
|
4523
4523
|
alignItems: 'center',
|
|
4524
4524
|
justifyContent: 'center',
|
|
4525
|
-
backgroundColor: 'color.black',
|
|
4526
4525
|
// Apply shape, size, and variant styles
|
|
4527
4526
|
borderRadius: BadgeShapes[shape]
|
|
4528
4527
|
}, BadgeSizes[size], variantStyles, position ? PositionStyles[position] : {}, views == null ? void 0 : views.container);
|
|
@@ -4534,8 +4533,7 @@ var BadgeView = _ref => {
|
|
|
4534
4533
|
,
|
|
4535
4534
|
textAlign: "center"
|
|
4536
4535
|
}, views == null ? void 0 : views.text, {
|
|
4537
|
-
color: combinedStyles.color
|
|
4538
|
-
bgColor: combinedStyles.backgroundColor
|
|
4536
|
+
color: combinedStyles.color
|
|
4539
4537
|
}), content || ''));
|
|
4540
4538
|
};
|
|
4541
4539
|
|
|
@@ -18713,7 +18711,11 @@ var useTitleState = props => {
|
|
|
18713
18711
|
highlightText: initialHighlightText,
|
|
18714
18712
|
// Renamed to avoid confusion with the dynamic target
|
|
18715
18713
|
highlightTypewriter = false,
|
|
18716
|
-
highlightTypewriterDuration = 1500
|
|
18714
|
+
highlightTypewriterDuration = 1500,
|
|
18715
|
+
highlightSlide = false,
|
|
18716
|
+
highlightSlideDuration = 500,
|
|
18717
|
+
highlightSlideStagger = 50,
|
|
18718
|
+
highlightSlideSequential = true
|
|
18717
18719
|
} = props;
|
|
18718
18720
|
// State for the final text to be displayed (could be original children or alternating text)
|
|
18719
18721
|
var [finalDisplayedText, setFinalDisplayedText] = React.useState(children);
|
|
@@ -18758,7 +18760,11 @@ var useTitleState = props => {
|
|
|
18758
18760
|
return {
|
|
18759
18761
|
finalDisplayedText,
|
|
18760
18762
|
activeHighlightTarget,
|
|
18761
|
-
highlightTypewriter
|
|
18763
|
+
highlightTypewriter,
|
|
18764
|
+
highlightSlide,
|
|
18765
|
+
highlightSlideDuration,
|
|
18766
|
+
highlightSlideStagger,
|
|
18767
|
+
highlightSlideSequential
|
|
18762
18768
|
};
|
|
18763
18769
|
};
|
|
18764
18770
|
|
|
@@ -18978,7 +18984,159 @@ var TypewriterEffect = _ref => {
|
|
|
18978
18984
|
}))))));
|
|
18979
18985
|
};
|
|
18980
18986
|
|
|
18981
|
-
var _excluded$Z = ["
|
|
18987
|
+
var _excluded$Z = ["text", "duration", "direction", "stagger", "sequential", "textStyle", "as", "wordProps"],
|
|
18988
|
+
_excluded2$f = ["style"];
|
|
18989
|
+
// CSS keyframes injection - done once
|
|
18990
|
+
var KEYFRAMES_ID = 'slide-effect-keyframes';
|
|
18991
|
+
var injectKeyframes = () => {
|
|
18992
|
+
if (typeof document === 'undefined') return;
|
|
18993
|
+
if (document.getElementById(KEYFRAMES_ID)) return;
|
|
18994
|
+
var style = document.createElement('style');
|
|
18995
|
+
style.id = KEYFRAMES_ID;
|
|
18996
|
+
style.textContent = "\n @keyframes slideInUp {\n from { transform: translateY(100%); opacity: 0; }\n to { transform: translateY(0); opacity: 1; }\n }\n @keyframes slideOutUp {\n from { transform: translateY(0); opacity: 1; }\n to { transform: translateY(-100%); opacity: 0; }\n }\n @keyframes slideInDown {\n from { transform: translateY(-100%); opacity: 0; }\n to { transform: translateY(0); opacity: 1; }\n }\n @keyframes slideOutDown {\n from { transform: translateY(0); opacity: 1; }\n to { transform: translateY(100%); opacity: 0; }\n }\n ";
|
|
18997
|
+
document.head.appendChild(style);
|
|
18998
|
+
};
|
|
18999
|
+
var SlideEffect = _ref => {
|
|
19000
|
+
var {
|
|
19001
|
+
text,
|
|
19002
|
+
duration = 500,
|
|
19003
|
+
direction = 'up',
|
|
19004
|
+
stagger = 50,
|
|
19005
|
+
sequential = false,
|
|
19006
|
+
textStyle,
|
|
19007
|
+
wordProps
|
|
19008
|
+
} = _ref,
|
|
19009
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$Z);
|
|
19010
|
+
var [displayedText, setDisplayedText] = React.useState(text);
|
|
19011
|
+
var [phase, setPhase] = React.useState('entering');
|
|
19012
|
+
var [animKey, setAnimKey] = React.useState(0);
|
|
19013
|
+
var pendingTextRef = React.useRef(null);
|
|
19014
|
+
var timeoutRef = React.useRef(null);
|
|
19015
|
+
// Inject keyframes once on mount
|
|
19016
|
+
React.useEffect(() => {
|
|
19017
|
+
injectKeyframes();
|
|
19018
|
+
}, []);
|
|
19019
|
+
// Handle text changes
|
|
19020
|
+
React.useEffect(() => {
|
|
19021
|
+
if (text === displayedText && phase === 'visible') {
|
|
19022
|
+
return;
|
|
19023
|
+
}
|
|
19024
|
+
if (text !== displayedText) {
|
|
19025
|
+
// New text arrived
|
|
19026
|
+
if (phase === 'entering' || phase === 'visible') {
|
|
19027
|
+
// Store the new text and start exit animation
|
|
19028
|
+
pendingTextRef.current = text;
|
|
19029
|
+
setPhase('exiting');
|
|
19030
|
+
} else if (phase === 'exiting') {
|
|
19031
|
+
// Already exiting, just update pending text
|
|
19032
|
+
pendingTextRef.current = text;
|
|
19033
|
+
}
|
|
19034
|
+
}
|
|
19035
|
+
}, [text, displayedText, phase]);
|
|
19036
|
+
// Calculate animation durations
|
|
19037
|
+
var words = React.useMemo(() => displayedText.split(' '), [displayedText]);
|
|
19038
|
+
var wordCount = words.length;
|
|
19039
|
+
var totalEnterDuration = React.useMemo(() => {
|
|
19040
|
+
if (sequential) {
|
|
19041
|
+
return wordCount * (duration + stagger);
|
|
19042
|
+
}
|
|
19043
|
+
return (wordCount - 1) * stagger + duration;
|
|
19044
|
+
}, [wordCount, duration, stagger, sequential]);
|
|
19045
|
+
var totalExitDuration = React.useMemo(() => {
|
|
19046
|
+
if (sequential) {
|
|
19047
|
+
return wordCount * (duration + stagger);
|
|
19048
|
+
}
|
|
19049
|
+
return (wordCount - 1) * stagger + duration;
|
|
19050
|
+
}, [wordCount, duration, stagger, sequential]);
|
|
19051
|
+
// Handle phase transitions
|
|
19052
|
+
React.useEffect(() => {
|
|
19053
|
+
if (timeoutRef.current) {
|
|
19054
|
+
clearTimeout(timeoutRef.current);
|
|
19055
|
+
}
|
|
19056
|
+
if (phase === 'entering') {
|
|
19057
|
+
// After enter animation completes, go to visible
|
|
19058
|
+
timeoutRef.current = setTimeout(() => {
|
|
19059
|
+
setPhase('visible');
|
|
19060
|
+
}, totalEnterDuration + 50);
|
|
19061
|
+
} else if (phase === 'exiting') {
|
|
19062
|
+
// After exit animation completes, swap text and enter again
|
|
19063
|
+
timeoutRef.current = setTimeout(() => {
|
|
19064
|
+
if (pendingTextRef.current !== null) {
|
|
19065
|
+
setDisplayedText(pendingTextRef.current);
|
|
19066
|
+
pendingTextRef.current = null;
|
|
19067
|
+
}
|
|
19068
|
+
setAnimKey(k => k + 1);
|
|
19069
|
+
setPhase('entering');
|
|
19070
|
+
}, totalExitDuration + 50);
|
|
19071
|
+
}
|
|
19072
|
+
return () => {
|
|
19073
|
+
if (timeoutRef.current) {
|
|
19074
|
+
clearTimeout(timeoutRef.current);
|
|
19075
|
+
}
|
|
19076
|
+
};
|
|
19077
|
+
}, [phase, totalEnterDuration, totalExitDuration]);
|
|
19078
|
+
// Memoize word props extraction
|
|
19079
|
+
var _ref2 = wordProps || {},
|
|
19080
|
+
{
|
|
19081
|
+
style: customWordStyle
|
|
19082
|
+
} = _ref2,
|
|
19083
|
+
restWordProps = _objectWithoutPropertiesLoose(_ref2, _excluded2$f);
|
|
19084
|
+
// Get animation names based on direction
|
|
19085
|
+
var isUp = direction === 'up';
|
|
19086
|
+
var enterAnim = isUp ? 'slideInUp' : 'slideInDown';
|
|
19087
|
+
var exitAnim = isUp ? 'slideOutUp' : 'slideOutDown';
|
|
19088
|
+
// Calculate delay for each word
|
|
19089
|
+
var getDelay = (index, isExit) => {
|
|
19090
|
+
if (sequential) {
|
|
19091
|
+
// Sequential: one word at a time
|
|
19092
|
+
return index * (duration + stagger);
|
|
19093
|
+
}
|
|
19094
|
+
// Parallel with stagger
|
|
19095
|
+
return index * stagger;
|
|
19096
|
+
};
|
|
19097
|
+
// Container styles
|
|
19098
|
+
var containerStyle = React.useMemo(() => Object.assign({
|
|
19099
|
+
display: 'inline-block',
|
|
19100
|
+
position: 'relative',
|
|
19101
|
+
overflow: 'hidden',
|
|
19102
|
+
verticalAlign: 'bottom',
|
|
19103
|
+
whiteSpace: 'nowrap'
|
|
19104
|
+
}, textStyle), [textStyle]);
|
|
19105
|
+
// Word row container style
|
|
19106
|
+
var wordRowStyle = React.useMemo(() => ({
|
|
19107
|
+
display: 'inline-flex',
|
|
19108
|
+
flexWrap: 'nowrap',
|
|
19109
|
+
whiteSpace: 'nowrap'
|
|
19110
|
+
}), []);
|
|
19111
|
+
// Determine current animation
|
|
19112
|
+
var currentAnim = phase === 'exiting' ? exitAnim : enterAnim;
|
|
19113
|
+
var isAnimating = phase === 'entering' || phase === 'exiting';
|
|
19114
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
19115
|
+
as: "span",
|
|
19116
|
+
style: containerStyle
|
|
19117
|
+
}, props), /*#__PURE__*/React__default.createElement("span", {
|
|
19118
|
+
style: wordRowStyle
|
|
19119
|
+
}, words.map((word, index) => {
|
|
19120
|
+
var delay = getDelay(index);
|
|
19121
|
+
var isLast = index === words.length - 1;
|
|
19122
|
+
var wordStyle = Object.assign({}, customWordStyle, {
|
|
19123
|
+
display: 'inline-block',
|
|
19124
|
+
marginRight: isLast ? 0 : '0.25em',
|
|
19125
|
+
willChange: isAnimating ? 'transform, opacity' : 'auto',
|
|
19126
|
+
animation: isAnimating ? currentAnim + " " + duration + "ms ease-out " + delay + "ms both" : 'none',
|
|
19127
|
+
transform: phase === 'visible' ? 'translateY(0)' : undefined,
|
|
19128
|
+
opacity: phase === 'visible' ? 1 : undefined
|
|
19129
|
+
});
|
|
19130
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
19131
|
+
key: animKey + "-" + index,
|
|
19132
|
+
as: "span"
|
|
19133
|
+
}, restWordProps, {
|
|
19134
|
+
style: wordStyle
|
|
19135
|
+
}), word);
|
|
19136
|
+
})));
|
|
19137
|
+
};
|
|
19138
|
+
|
|
19139
|
+
var _excluded$_ = ["children", "highlightText", "highlightStyle", "highlightColor", "highlightSecondaryColor", "size", "responsive", "centered", "views", "highlightAnimate", "animate", "animationLoop", "highlightAnimationLoop", "highlightTypewriter", "highlightTypewriterDuration", "highlightSlide", "highlightSlideDuration", "highlightSlideStagger", "highlightSlideSequential"];
|
|
18982
19140
|
function escapeRegExp(string) {
|
|
18983
19141
|
return string.replace(/[.*+?^${}()|[\\]\\/g, '\\$&');
|
|
18984
19142
|
}
|
|
@@ -18998,9 +19156,13 @@ var TitleView = _ref => {
|
|
|
18998
19156
|
animationLoop = 1,
|
|
18999
19157
|
highlightAnimationLoop = 1,
|
|
19000
19158
|
highlightTypewriter: propHighlightTypewriter = false,
|
|
19001
|
-
highlightTypewriterDuration = 3000
|
|
19159
|
+
highlightTypewriterDuration = 3000,
|
|
19160
|
+
highlightSlide: propHighlightSlide = false,
|
|
19161
|
+
highlightSlideDuration = 500,
|
|
19162
|
+
highlightSlideStagger = 50,
|
|
19163
|
+
highlightSlideSequential = true
|
|
19002
19164
|
} = _ref,
|
|
19003
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
19165
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
|
|
19004
19166
|
var {
|
|
19005
19167
|
ref,
|
|
19006
19168
|
inView
|
|
@@ -19033,13 +19195,21 @@ var TitleView = _ref => {
|
|
|
19033
19195
|
var {
|
|
19034
19196
|
finalDisplayedText,
|
|
19035
19197
|
activeHighlightTarget,
|
|
19036
|
-
highlightTypewriter
|
|
19198
|
+
highlightTypewriter,
|
|
19199
|
+
highlightSlide,
|
|
19200
|
+
highlightSlideDuration: stateHighlightSlideDuration,
|
|
19201
|
+
highlightSlideStagger: stateHighlightSlideStagger,
|
|
19202
|
+
highlightSlideSequential: stateHighlightSlideSequential
|
|
19037
19203
|
} = useTitleState(Object.assign({
|
|
19038
19204
|
children,
|
|
19039
19205
|
highlightText,
|
|
19040
19206
|
_isInView: inView,
|
|
19041
19207
|
highlightTypewriter: propHighlightTypewriter,
|
|
19042
|
-
highlightTypewriterDuration
|
|
19208
|
+
highlightTypewriterDuration,
|
|
19209
|
+
highlightSlide: propHighlightSlide,
|
|
19210
|
+
highlightSlideDuration,
|
|
19211
|
+
highlightSlideStagger,
|
|
19212
|
+
highlightSlideSequential
|
|
19043
19213
|
}, props));
|
|
19044
19214
|
// Determine if we should use responsive sizing or static sizing
|
|
19045
19215
|
var useResponsive = responsive && !props.media; // Don't override if media prop is already provided
|
|
@@ -19092,16 +19262,25 @@ var TitleView = _ref => {
|
|
|
19092
19262
|
animate: inView ? controlledAnimate : undefined,
|
|
19093
19263
|
media: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.media : undefined
|
|
19094
19264
|
}, views == null ? void 0 : views.container, props), parts.map((part, idx) => typeof part === 'string' ? part : (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
19095
|
-
key:
|
|
19265
|
+
key: "highlight-" + idx,
|
|
19096
19266
|
as: "span",
|
|
19097
19267
|
display: "inline",
|
|
19098
19268
|
animate: inView ? controlledHighlightAnimate : undefined,
|
|
19099
|
-
fontSize: fontSize
|
|
19100
|
-
}, highlightViewProps, highlightBackgroundOverrides, views == null ? void 0 : views.highlight), highlightTypewriter ? (/*#__PURE__*/React__default.createElement(TypewriterEffect, {
|
|
19269
|
+
fontSize: useResponsive ? undefined : fontSize
|
|
19270
|
+
}, !highlightSlide ? highlightViewProps : {}, highlightBackgroundOverrides, views == null ? void 0 : views.highlight), highlightTypewriter ? (/*#__PURE__*/React__default.createElement(TypewriterEffect, {
|
|
19101
19271
|
text: part.text,
|
|
19102
19272
|
typingSpeed: Math.max(30, highlightTypewriterDuration / (part.text.length * 10)),
|
|
19103
19273
|
showCursor: true,
|
|
19104
19274
|
cursorColor: "currentColor"
|
|
19275
|
+
})) : highlightSlide ? (/*#__PURE__*/React__default.createElement(SlideEffect, {
|
|
19276
|
+
text: part.text,
|
|
19277
|
+
duration: stateHighlightSlideDuration,
|
|
19278
|
+
stagger: stateHighlightSlideStagger,
|
|
19279
|
+
sequential: stateHighlightSlideSequential,
|
|
19280
|
+
direction: "up",
|
|
19281
|
+
fontSize: useResponsive ? undefined : fontSize,
|
|
19282
|
+
fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
|
|
19283
|
+
wordProps: highlightViewProps
|
|
19105
19284
|
})) : part.text))));
|
|
19106
19285
|
}
|
|
19107
19286
|
// If highlightStyle is provided but no highlightText, apply the style to the entire title
|
|
@@ -19121,11 +19300,20 @@ var TitleView = _ref => {
|
|
|
19121
19300
|
fontSize: fontSize,
|
|
19122
19301
|
display: "inline",
|
|
19123
19302
|
animate: inView ? controlledHighlightAnimate : undefined
|
|
19124
|
-
}, highlightViewProps, highlightBackgroundOverrides, views == null ? void 0 : views.highlight), highlightTypewriter ? (/*#__PURE__*/React__default.createElement(TypewriterEffect, {
|
|
19303
|
+
}, !highlightSlide ? highlightViewProps : {}, highlightBackgroundOverrides, views == null ? void 0 : views.highlight), highlightTypewriter ? (/*#__PURE__*/React__default.createElement(TypewriterEffect, {
|
|
19125
19304
|
text: text,
|
|
19126
19305
|
typingSpeed: Math.max(30, highlightTypewriterDuration / (text.length * 10)),
|
|
19127
19306
|
showCursor: true,
|
|
19128
19307
|
cursorColor: "currentColor"
|
|
19308
|
+
})) : highlightSlide ? (/*#__PURE__*/React__default.createElement(SlideEffect, {
|
|
19309
|
+
text: text,
|
|
19310
|
+
duration: stateHighlightSlideDuration,
|
|
19311
|
+
stagger: stateHighlightSlideStagger,
|
|
19312
|
+
sequential: stateHighlightSlideSequential,
|
|
19313
|
+
direction: "up",
|
|
19314
|
+
fontSize: fontSize,
|
|
19315
|
+
fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
|
|
19316
|
+
wordProps: highlightViewProps
|
|
19129
19317
|
})) : text));
|
|
19130
19318
|
}
|
|
19131
19319
|
// Default case - no highlighting
|
|
@@ -19273,7 +19461,7 @@ var getToggleVariants = (color, isLight) => ({
|
|
|
19273
19461
|
}
|
|
19274
19462
|
});
|
|
19275
19463
|
|
|
19276
|
-
var _excluded
|
|
19464
|
+
var _excluded$$ = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views", "backgroundColor", "color", "themeMode"];
|
|
19277
19465
|
var ToggleView = _ref => {
|
|
19278
19466
|
var _ref2;
|
|
19279
19467
|
var {
|
|
@@ -19293,7 +19481,7 @@ var ToggleView = _ref => {
|
|
|
19293
19481
|
// 2nd candidate for main color
|
|
19294
19482
|
themeMode: elementMode
|
|
19295
19483
|
} = _ref,
|
|
19296
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded
|
|
19484
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$$);
|
|
19297
19485
|
/* theme helpers */
|
|
19298
19486
|
var {
|
|
19299
19487
|
getColor,
|
|
@@ -19337,7 +19525,7 @@ var ToggleView = _ref => {
|
|
|
19337
19525
|
}, props, views == null ? void 0 : views.container), children);
|
|
19338
19526
|
};
|
|
19339
19527
|
|
|
19340
|
-
var _excluded
|
|
19528
|
+
var _excluded$10 = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
|
|
19341
19529
|
// Destructuring properties from ToggleProps to be used within the ToggleComponent.
|
|
19342
19530
|
var ToggleComponent = _ref => {
|
|
19343
19531
|
var {
|
|
@@ -19349,7 +19537,7 @@ var ToggleComponent = _ref => {
|
|
|
19349
19537
|
isToggled = false,
|
|
19350
19538
|
onToggle
|
|
19351
19539
|
} = _ref,
|
|
19352
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded
|
|
19540
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
|
|
19353
19541
|
// Initializing toggle state and set state functions using the custom hook useToggleState.
|
|
19354
19542
|
var {
|
|
19355
19543
|
isHovered,
|
|
@@ -19684,8 +19872,8 @@ var DropdownMenuItemStates = {
|
|
|
19684
19872
|
}
|
|
19685
19873
|
};
|
|
19686
19874
|
|
|
19687
|
-
var _excluded$
|
|
19688
|
-
_excluded2$
|
|
19875
|
+
var _excluded$11 = ["children", "views"],
|
|
19876
|
+
_excluded2$g = ["items", "side", "align", "views"],
|
|
19689
19877
|
_excluded3$a = ["item", "views"],
|
|
19690
19878
|
_excluded4$9 = ["views"],
|
|
19691
19879
|
_excluded5$5 = ["trigger", "items", "side", "align", "views", "themeMode"];
|
|
@@ -19725,7 +19913,7 @@ var DropdownMenuTrigger = _ref2 => {
|
|
|
19725
19913
|
children,
|
|
19726
19914
|
views
|
|
19727
19915
|
} = _ref2,
|
|
19728
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
19916
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$11);
|
|
19729
19917
|
var {
|
|
19730
19918
|
isOpen,
|
|
19731
19919
|
setIsOpen,
|
|
@@ -19752,7 +19940,7 @@ var DropdownMenuContent = _ref3 => {
|
|
|
19752
19940
|
align = 'start',
|
|
19753
19941
|
views
|
|
19754
19942
|
} = _ref3,
|
|
19755
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
19943
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$g);
|
|
19756
19944
|
var {
|
|
19757
19945
|
isOpen,
|
|
19758
19946
|
variant,
|
|
@@ -19978,7 +20166,7 @@ var DropdownMenuView = _ref6 => {
|
|
|
19978
20166
|
}));
|
|
19979
20167
|
};
|
|
19980
20168
|
|
|
19981
|
-
var _excluded$
|
|
20169
|
+
var _excluded$12 = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
|
|
19982
20170
|
/**
|
|
19983
20171
|
* DropdownMenu component for displaying a menu when clicking on a trigger element.
|
|
19984
20172
|
*/
|
|
@@ -19993,7 +20181,7 @@ var DropdownMenuComponent = _ref => {
|
|
|
19993
20181
|
defaultOpen = false,
|
|
19994
20182
|
views
|
|
19995
20183
|
} = _ref,
|
|
19996
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
20184
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$12);
|
|
19997
20185
|
var {
|
|
19998
20186
|
isOpen,
|
|
19999
20187
|
setIsOpen,
|
|
@@ -20407,7 +20595,7 @@ var DefaultColorPalette$1 = [
|
|
|
20407
20595
|
category: 'neutral'
|
|
20408
20596
|
}];
|
|
20409
20597
|
|
|
20410
|
-
var _excluded$
|
|
20598
|
+
var _excluded$13 = ["id", "name", "label", "placeholder", "helperText", "views", "size", "shape", "variant", "error", "isDisabled", "isReadOnly", "predefinedColors", "showCustomInput", "showRecentColors", "isOpen", "selectedColor", "recentColors", "customColor", "handleToggle", "handleColorSelect", "handleCustomColorChange", "handleCustomColorSubmit", "triggerRef", "dropdownRef"];
|
|
20411
20599
|
var ColorPickerView = _ref => {
|
|
20412
20600
|
var {
|
|
20413
20601
|
// Basic props
|
|
@@ -20442,7 +20630,7 @@ var ColorPickerView = _ref => {
|
|
|
20442
20630
|
dropdownRef
|
|
20443
20631
|
// Other props
|
|
20444
20632
|
} = _ref,
|
|
20445
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
20633
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$13);
|
|
20446
20634
|
var {
|
|
20447
20635
|
getColor
|
|
20448
20636
|
} = appStudio.useTheme();
|
|
@@ -20604,6 +20792,7 @@ var DefaultEmojiPickerStyles = {
|
|
|
20604
20792
|
},
|
|
20605
20793
|
dropdown: {
|
|
20606
20794
|
position: 'absolute',
|
|
20795
|
+
mixBlendMode: 'normal',
|
|
20607
20796
|
top: 'calc(100% + 4px)',
|
|
20608
20797
|
left: 0,
|
|
20609
20798
|
right: 0,
|
|
@@ -22772,7 +22961,7 @@ var useEmojiPickerState = props => {
|
|
|
22772
22961
|
};
|
|
22773
22962
|
};
|
|
22774
22963
|
|
|
22775
|
-
var _excluded$
|
|
22964
|
+
var _excluded$14 = ["id", "name", "label", "placeholder", "helperText", "views", "size", "shape", "variant", "error", "isDisabled", "isReadOnly", "showSearch", "showCategories", "showRecentEmojis", "enabledCategories", "isOpen", "selectedEmoji", "recentEmojis", "searchQuery", "activeCategory", "filteredEmojis", "handleToggle", "handleEmojiSelect", "handleSearchChange", "handleCategoryChange", "triggerRef", "dropdownRef"];
|
|
22776
22965
|
var EmojiPickerView = _ref => {
|
|
22777
22966
|
var {
|
|
22778
22967
|
// Basic props
|
|
@@ -22810,7 +22999,7 @@ var EmojiPickerView = _ref => {
|
|
|
22810
22999
|
dropdownRef
|
|
22811
23000
|
// Other props
|
|
22812
23001
|
} = _ref,
|
|
22813
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
23002
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$14);
|
|
22814
23003
|
var {
|
|
22815
23004
|
getColor
|
|
22816
23005
|
} = appStudio.useTheme();
|
|
@@ -22844,8 +23033,6 @@ var EmojiPickerView = _ref => {
|
|
|
22844
23033
|
alignItems: "center",
|
|
22845
23034
|
gap: 8
|
|
22846
23035
|
}, /*#__PURE__*/React__default.createElement(appStudio.Text, {
|
|
22847
|
-
fontSize: "20px"
|
|
22848
|
-
}, selectedEmoji || '😀'), /*#__PURE__*/React__default.createElement(appStudio.Text, {
|
|
22849
23036
|
color: selectedEmoji ? 'color.gray.800' : 'color.gray.500',
|
|
22850
23037
|
fontSize: "inherit"
|
|
22851
23038
|
}, selectedEmoji || placeholder)), !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
@@ -22999,7 +23186,7 @@ var MenubarItemStates = {
|
|
|
22999
23186
|
}
|
|
23000
23187
|
};
|
|
23001
23188
|
|
|
23002
|
-
var _excluded$
|
|
23189
|
+
var _excluded$15 = ["children", "orientation", "size", "variant", "views"];
|
|
23003
23190
|
// Create context for the Menubar
|
|
23004
23191
|
var MenubarContext = /*#__PURE__*/React.createContext({
|
|
23005
23192
|
activeMenuId: null,
|
|
@@ -23036,7 +23223,7 @@ var MenubarRoot = _ref2 => {
|
|
|
23036
23223
|
variant = 'default',
|
|
23037
23224
|
views
|
|
23038
23225
|
} = _ref2,
|
|
23039
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
23226
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$15);
|
|
23040
23227
|
var Container = orientation === 'horizontal' ? appStudio.Horizontal : appStudio.Vertical;
|
|
23041
23228
|
return /*#__PURE__*/React__default.createElement(Container, Object.assign({
|
|
23042
23229
|
role: "menubar",
|
|
@@ -23356,7 +23543,7 @@ var MenubarView = _ref8 => {
|
|
|
23356
23543
|
})))))));
|
|
23357
23544
|
};
|
|
23358
23545
|
|
|
23359
|
-
var _excluded$
|
|
23546
|
+
var _excluded$16 = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
|
|
23360
23547
|
/**
|
|
23361
23548
|
* Menubar component for creating horizontal or vertical menu bars with dropdown menus.
|
|
23362
23549
|
*/
|
|
@@ -23370,7 +23557,7 @@ var MenubarComponent = _ref => {
|
|
|
23370
23557
|
defaultOpenMenuId = null,
|
|
23371
23558
|
views
|
|
23372
23559
|
} = _ref,
|
|
23373
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
23560
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
|
|
23374
23561
|
var {
|
|
23375
23562
|
activeMenuId,
|
|
23376
23563
|
setActiveMenuId,
|
|
@@ -23552,7 +23739,7 @@ var DisabledButtonStyles = {
|
|
|
23552
23739
|
}
|
|
23553
23740
|
};
|
|
23554
23741
|
|
|
23555
|
-
var _excluded$
|
|
23742
|
+
var _excluded$17 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
|
|
23556
23743
|
var PaginationView = _ref => {
|
|
23557
23744
|
var {
|
|
23558
23745
|
currentPage,
|
|
@@ -23583,7 +23770,7 @@ var PaginationView = _ref => {
|
|
|
23583
23770
|
visiblePageNumbers,
|
|
23584
23771
|
views
|
|
23585
23772
|
} = _ref,
|
|
23586
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
23773
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
|
|
23587
23774
|
var handlePageChange = page => {
|
|
23588
23775
|
if (page < 1 || page > totalPages || page === currentPage) {
|
|
23589
23776
|
return;
|
|
@@ -23702,7 +23889,7 @@ var PaginationView = _ref => {
|
|
|
23702
23889
|
}, option.label))))));
|
|
23703
23890
|
};
|
|
23704
23891
|
|
|
23705
|
-
var _excluded$
|
|
23892
|
+
var _excluded$18 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
|
|
23706
23893
|
/**
|
|
23707
23894
|
* Pagination component for navigating through pages of content.
|
|
23708
23895
|
*/
|
|
@@ -23723,7 +23910,7 @@ var PaginationComponent = _ref => {
|
|
|
23723
23910
|
shape = 'rounded',
|
|
23724
23911
|
views
|
|
23725
23912
|
} = _ref,
|
|
23726
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
23913
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
|
|
23727
23914
|
var {
|
|
23728
23915
|
visiblePageNumbers
|
|
23729
23916
|
} = usePaginationState(currentPage, totalPages, maxPageButtons);
|
|
@@ -23747,7 +23934,7 @@ var PaginationComponent = _ref => {
|
|
|
23747
23934
|
};
|
|
23748
23935
|
var Pagination = PaginationComponent;
|
|
23749
23936
|
|
|
23750
|
-
var _excluded$
|
|
23937
|
+
var _excluded$19 = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
|
|
23751
23938
|
var ProgressBarView = _ref => {
|
|
23752
23939
|
var {
|
|
23753
23940
|
value = 0,
|
|
@@ -23759,7 +23946,7 @@ var ProgressBarView = _ref => {
|
|
|
23759
23946
|
views,
|
|
23760
23947
|
themeMode: elementMode
|
|
23761
23948
|
} = _ref,
|
|
23762
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
23949
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$19);
|
|
23763
23950
|
var {
|
|
23764
23951
|
getColor,
|
|
23765
23952
|
themeMode
|
|
@@ -23849,7 +24036,7 @@ var DefaultSeparatorStyles = {
|
|
|
23849
24036
|
}
|
|
23850
24037
|
};
|
|
23851
24038
|
|
|
23852
|
-
var _excluded$
|
|
24039
|
+
var _excluded$1a = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
|
|
23853
24040
|
var SeparatorView = _ref => {
|
|
23854
24041
|
var {
|
|
23855
24042
|
orientation = 'horizontal',
|
|
@@ -23861,7 +24048,7 @@ var SeparatorView = _ref => {
|
|
|
23861
24048
|
decorative = false,
|
|
23862
24049
|
views
|
|
23863
24050
|
} = _ref,
|
|
23864
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
24051
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
|
|
23865
24052
|
// Access theme if needed for future enhancements
|
|
23866
24053
|
var {
|
|
23867
24054
|
themeMode
|
|
@@ -23929,7 +24116,7 @@ var SeparatorComponent = props => {
|
|
|
23929
24116
|
var Separator = SeparatorComponent;
|
|
23930
24117
|
var Divider = SeparatorComponent;
|
|
23931
24118
|
|
|
23932
|
-
var _excluded$
|
|
24119
|
+
var _excluded$1b = ["isSupported", "isSharing", "onShare", "label", "children", "icon", "size", "isDisabled", "isLoading", "iconPosition", "disableWhenUnsupported"];
|
|
23933
24120
|
var ICON_SIZE_MAP = {
|
|
23934
24121
|
xs: 12,
|
|
23935
24122
|
sm: 14,
|
|
@@ -23952,7 +24139,7 @@ var ShareButtonView = _ref => {
|
|
|
23952
24139
|
iconPosition,
|
|
23953
24140
|
disableWhenUnsupported = true
|
|
23954
24141
|
} = _ref,
|
|
23955
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
24142
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$1b);
|
|
23956
24143
|
var resolvedSize = size != null ? size : 'md';
|
|
23957
24144
|
var resolvedIcon = icon != null ? icon : (/*#__PURE__*/React__default.createElement(ShareIcon, {
|
|
23958
24145
|
widthHeight: ICON_SIZE_MAP[resolvedSize],
|
|
@@ -24054,14 +24241,14 @@ var useShareButton = props => {
|
|
|
24054
24241
|
};
|
|
24055
24242
|
};
|
|
24056
24243
|
|
|
24057
|
-
var _excluded$
|
|
24244
|
+
var _excluded$1c = ["shareData", "onShareStart", "onShareSuccess", "onShareCancel", "onShareError", "onUnsupported", "onClick"];
|
|
24058
24245
|
var ShareButtonComponent = props => {
|
|
24059
24246
|
var {
|
|
24060
24247
|
isSupported,
|
|
24061
24248
|
isSharing,
|
|
24062
24249
|
handleShare
|
|
24063
24250
|
} = useShareButton(props);
|
|
24064
|
-
var viewProps = _objectWithoutPropertiesLoose(props, _excluded$
|
|
24251
|
+
var viewProps = _objectWithoutPropertiesLoose(props, _excluded$1c);
|
|
24065
24252
|
return /*#__PURE__*/React__default.createElement(ShareButtonView, Object.assign({}, viewProps, {
|
|
24066
24253
|
isSupported: isSupported,
|
|
24067
24254
|
isSharing: isSharing,
|
|
@@ -24115,7 +24302,7 @@ var getThemes$2 = themeMode => {
|
|
|
24115
24302
|
};
|
|
24116
24303
|
};
|
|
24117
24304
|
|
|
24118
|
-
var _excluded$
|
|
24305
|
+
var _excluded$1d = ["label", "status", "views", "themeMode"];
|
|
24119
24306
|
var StatusIndicatorView = _ref => {
|
|
24120
24307
|
var {
|
|
24121
24308
|
label,
|
|
@@ -24123,7 +24310,7 @@ var StatusIndicatorView = _ref => {
|
|
|
24123
24310
|
views,
|
|
24124
24311
|
themeMode: elementMode
|
|
24125
24312
|
} = _ref,
|
|
24126
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
24313
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1d);
|
|
24127
24314
|
var {
|
|
24128
24315
|
themeMode
|
|
24129
24316
|
} = appStudio.useTheme();
|
|
@@ -24306,8 +24493,8 @@ var SidebarTransitions = {
|
|
|
24306
24493
|
bounce: 'width 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55)'
|
|
24307
24494
|
};
|
|
24308
24495
|
|
|
24309
|
-
var _excluded$
|
|
24310
|
-
_excluded2$
|
|
24496
|
+
var _excluded$1e = ["children", "showToggleButton", "views"],
|
|
24497
|
+
_excluded2$h = ["children", "views"],
|
|
24311
24498
|
_excluded3$b = ["children", "views"],
|
|
24312
24499
|
_excluded4$a = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
|
|
24313
24500
|
// Create context for the Sidebar
|
|
@@ -24339,7 +24526,7 @@ var SidebarHeader = _ref2 => {
|
|
|
24339
24526
|
showToggleButton = true,
|
|
24340
24527
|
views
|
|
24341
24528
|
} = _ref2,
|
|
24342
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
24529
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1e);
|
|
24343
24530
|
var {
|
|
24344
24531
|
isExpanded,
|
|
24345
24532
|
toggleExpanded,
|
|
@@ -24406,7 +24593,7 @@ var SidebarContent = _ref3 => {
|
|
|
24406
24593
|
children,
|
|
24407
24594
|
views
|
|
24408
24595
|
} = _ref3,
|
|
24409
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
24596
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
|
|
24410
24597
|
var {
|
|
24411
24598
|
isExpanded
|
|
24412
24599
|
} = useSidebarContext();
|
|
@@ -24494,7 +24681,7 @@ var SidebarView = _ref5 => {
|
|
|
24494
24681
|
}))));
|
|
24495
24682
|
};
|
|
24496
24683
|
|
|
24497
|
-
var _excluded$
|
|
24684
|
+
var _excluded$1f = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
|
|
24498
24685
|
/**
|
|
24499
24686
|
* Sidebar component for creating collapsible, themeable and customizable sidebars.
|
|
24500
24687
|
*/
|
|
@@ -24516,7 +24703,7 @@ var SidebarComponent = _ref => {
|
|
|
24516
24703
|
breakpointBehavior = 'overlay',
|
|
24517
24704
|
views
|
|
24518
24705
|
} = _ref,
|
|
24519
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
24706
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1f);
|
|
24520
24707
|
var {
|
|
24521
24708
|
isExpanded,
|
|
24522
24709
|
toggleExpanded,
|
|
@@ -24981,8 +25168,8 @@ var HandleIconStyles = {
|
|
|
24981
25168
|
}
|
|
24982
25169
|
};
|
|
24983
25170
|
|
|
24984
|
-
var _excluded$
|
|
24985
|
-
_excluded2$
|
|
25171
|
+
var _excluded$1g = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
|
|
25172
|
+
_excluded2$i = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
|
|
24986
25173
|
_excluded3$c = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
|
|
24987
25174
|
// Create context for the Resizable component
|
|
24988
25175
|
var ResizableContext = /*#__PURE__*/React.createContext({
|
|
@@ -25026,7 +25213,7 @@ var ResizablePanel = _ref2 => {
|
|
|
25026
25213
|
onCollapseChange,
|
|
25027
25214
|
views
|
|
25028
25215
|
} = _ref2,
|
|
25029
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
25216
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1g);
|
|
25030
25217
|
var {
|
|
25031
25218
|
orientation,
|
|
25032
25219
|
registerPanel,
|
|
@@ -25090,7 +25277,7 @@ var ResizableHandle = _ref3 => {
|
|
|
25090
25277
|
collapseTarget,
|
|
25091
25278
|
views
|
|
25092
25279
|
} = _ref3,
|
|
25093
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
25280
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
|
|
25094
25281
|
var {
|
|
25095
25282
|
orientation,
|
|
25096
25283
|
size,
|
|
@@ -25241,7 +25428,7 @@ var ResizableView = _ref4 => {
|
|
|
25241
25428
|
}, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
|
|
25242
25429
|
};
|
|
25243
25430
|
|
|
25244
|
-
var _excluded$
|
|
25431
|
+
var _excluded$1h = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
|
|
25245
25432
|
/**
|
|
25246
25433
|
* Resizable component for creating resizable panel groups and layouts.
|
|
25247
25434
|
*/
|
|
@@ -25261,7 +25448,7 @@ var ResizableComponent = _ref => {
|
|
|
25261
25448
|
keyboardResizeBy = 10,
|
|
25262
25449
|
views
|
|
25263
25450
|
} = _ref,
|
|
25264
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
25451
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1h);
|
|
25265
25452
|
var {
|
|
25266
25453
|
isResizing,
|
|
25267
25454
|
setIsResizing,
|
|
@@ -26032,8 +26219,8 @@ var CommandFooterStyles = {
|
|
|
26032
26219
|
color: 'color.gray.500'
|
|
26033
26220
|
};
|
|
26034
26221
|
|
|
26035
|
-
var _excluded$
|
|
26036
|
-
_excluded2$
|
|
26222
|
+
var _excluded$1i = ["value", "onValueChange", "placeholder", "views"],
|
|
26223
|
+
_excluded2$j = ["children", "views"],
|
|
26037
26224
|
_excluded3$d = ["heading", "children", "views"],
|
|
26038
26225
|
_excluded4$b = ["item", "selected", "onSelect", "views"],
|
|
26039
26226
|
_excluded5$6 = ["children", "views"],
|
|
@@ -26064,7 +26251,7 @@ var CommandInput = _ref2 => {
|
|
|
26064
26251
|
placeholder = 'Type a command or search...',
|
|
26065
26252
|
views
|
|
26066
26253
|
} = _ref2,
|
|
26067
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
26254
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1i);
|
|
26068
26255
|
var inputRef = React.useRef(null);
|
|
26069
26256
|
// Focus input when component mounts
|
|
26070
26257
|
React__default.useEffect(() => {
|
|
@@ -26096,7 +26283,7 @@ var CommandList = _ref3 => {
|
|
|
26096
26283
|
children,
|
|
26097
26284
|
views
|
|
26098
26285
|
} = _ref3,
|
|
26099
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
26286
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$j);
|
|
26100
26287
|
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandListStyles, views == null ? void 0 : views.container, props), children);
|
|
26101
26288
|
};
|
|
26102
26289
|
// Command Group component
|
|
@@ -26247,7 +26434,7 @@ var CommandView = _ref7 => {
|
|
|
26247
26434
|
})))), footer && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
|
|
26248
26435
|
};
|
|
26249
26436
|
|
|
26250
|
-
var _excluded$
|
|
26437
|
+
var _excluded$1j = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
|
|
26251
26438
|
/**
|
|
26252
26439
|
* Command component for displaying a command palette with search functionality.
|
|
26253
26440
|
*/
|
|
@@ -26265,7 +26452,7 @@ var CommandComponent = _ref => {
|
|
|
26265
26452
|
footer,
|
|
26266
26453
|
views
|
|
26267
26454
|
} = _ref,
|
|
26268
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
26455
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
|
|
26269
26456
|
var {
|
|
26270
26457
|
search,
|
|
26271
26458
|
setSearch,
|
|
@@ -26502,8 +26689,8 @@ var getArrowStyles = position => {
|
|
|
26502
26689
|
}
|
|
26503
26690
|
};
|
|
26504
26691
|
|
|
26505
|
-
var _excluded$
|
|
26506
|
-
_excluded2$
|
|
26692
|
+
var _excluded$1k = ["children", "views", "asChild"],
|
|
26693
|
+
_excluded2$k = ["children", "views"],
|
|
26507
26694
|
_excluded3$e = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
|
|
26508
26695
|
// Create context for the Tooltip
|
|
26509
26696
|
var TooltipContext = /*#__PURE__*/React.createContext({
|
|
@@ -26538,7 +26725,7 @@ var TooltipTrigger = _ref2 => {
|
|
|
26538
26725
|
views,
|
|
26539
26726
|
asChild = false
|
|
26540
26727
|
} = _ref2,
|
|
26541
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
26728
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1k);
|
|
26542
26729
|
var {
|
|
26543
26730
|
openTooltip,
|
|
26544
26731
|
closeTooltip,
|
|
@@ -26574,7 +26761,7 @@ var TooltipContent = _ref3 => {
|
|
|
26574
26761
|
children,
|
|
26575
26762
|
views
|
|
26576
26763
|
} = _ref3,
|
|
26577
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
26764
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$k);
|
|
26578
26765
|
var {
|
|
26579
26766
|
isOpen,
|
|
26580
26767
|
contentRef,
|
|
@@ -26722,7 +26909,7 @@ var TooltipView = _ref4 => {
|
|
|
26722
26909
|
}, TooltipSizes[size], TooltipVariants[variant], views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow)))));
|
|
26723
26910
|
};
|
|
26724
26911
|
|
|
26725
|
-
var _excluded$
|
|
26912
|
+
var _excluded$1l = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
|
|
26726
26913
|
/**
|
|
26727
26914
|
* Tooltip component for displaying additional information when hovering over an element.
|
|
26728
26915
|
* Supports configurable positions, delays, and styling.
|
|
@@ -26742,7 +26929,7 @@ var TooltipComponent = _ref => {
|
|
|
26742
26929
|
isDisabled = false,
|
|
26743
26930
|
views
|
|
26744
26931
|
} = _ref,
|
|
26745
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
26932
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
|
|
26746
26933
|
var tooltipState = useTooltipState({
|
|
26747
26934
|
defaultOpen,
|
|
26748
26935
|
openDelay,
|
|
@@ -27051,7 +27238,7 @@ var DefaultGradientStyles = {
|
|
|
27051
27238
|
}
|
|
27052
27239
|
};
|
|
27053
27240
|
|
|
27054
|
-
var _excluded$
|
|
27241
|
+
var _excluded$1m = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
|
|
27055
27242
|
var GradientView = _ref => {
|
|
27056
27243
|
var {
|
|
27057
27244
|
type = 'linear',
|
|
@@ -27067,7 +27254,7 @@ var GradientView = _ref => {
|
|
|
27067
27254
|
views,
|
|
27068
27255
|
themeMode: elementMode
|
|
27069
27256
|
} = _ref,
|
|
27070
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
27257
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
|
|
27071
27258
|
var {
|
|
27072
27259
|
getColor,
|
|
27073
27260
|
themeMode
|
|
@@ -27143,8 +27330,8 @@ var Gradient = props => {
|
|
|
27143
27330
|
return /*#__PURE__*/React__default.createElement(GradientView, Object.assign({}, props));
|
|
27144
27331
|
};
|
|
27145
27332
|
|
|
27146
|
-
var _excluded$
|
|
27147
|
-
_excluded2$
|
|
27333
|
+
var _excluded$1n = ["children", "showRadialGradient", "views", "themeMode"],
|
|
27334
|
+
_excluded2$l = ["number", "children"],
|
|
27148
27335
|
_excluded3$f = ["rows", "cols", "squareSize"],
|
|
27149
27336
|
_excluded4$c = ["count", "colors", "speed", "shapes"],
|
|
27150
27337
|
_excluded5$7 = ["gridSize", "lineColor", "pulseColor", "animationSpeed"],
|
|
@@ -27164,7 +27351,7 @@ var AuroraBackground = _ref => {
|
|
|
27164
27351
|
showRadialGradient = true,
|
|
27165
27352
|
views
|
|
27166
27353
|
} = _ref,
|
|
27167
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
27354
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
|
|
27168
27355
|
var gradientColors = {
|
|
27169
27356
|
white: 'rgba(255,255,255,1)',
|
|
27170
27357
|
transparent: 'rgba(255,255,255,0)'
|
|
@@ -27188,7 +27375,7 @@ var Meteors = _ref2 => {
|
|
|
27188
27375
|
number = 20,
|
|
27189
27376
|
children
|
|
27190
27377
|
} = _ref2,
|
|
27191
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
27378
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$l);
|
|
27192
27379
|
var meteors = Array.from({
|
|
27193
27380
|
length: number
|
|
27194
27381
|
}, (_, i) => i);
|