@app-studio/web 0.9.41 → 0.9.44
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/bot/Bot.d.ts +15 -0
- package/dist/bot/Cache.d.ts +13 -0
- package/dist/bot/Config.d.ts +13 -0
- package/dist/bot/ContentFetcher.d.ts +9 -0
- package/dist/bot/DocuCode.d.ts +19 -0
- package/dist/bot/FileHandler.d.ts +39 -0
- package/dist/bot/ai/AnthropicConnector.d.ts +6 -0
- package/dist/bot/ai/GeminiConnector.d.ts +7 -0
- package/dist/bot/ai/GroqConnector.d.ts +7 -0
- package/dist/bot/ai/HuggingFaceConnector.d.ts +6 -0
- package/dist/bot/ai/OpenAIConnector.d.ts +11 -0
- package/dist/bot/ai/ReplicateConnector.d.ts +7 -0
- package/dist/bot/ai/SambaNovaConnector.d.ts +6 -0
- package/dist/bot/ai/ai.config.d.ts +12 -0
- package/dist/bot/ai/ai.service.d.ts +36 -0
- package/dist/bot/data.d.ts +19 -0
- package/dist/bot/extractors.d.ts +8 -0
- package/dist/bot/index.d.ts +1 -0
- package/dist/bot/prompt/1-project.d.ts +1 -0
- package/dist/bot/prompt/2-response.d.ts +1 -0
- package/dist/bot/prompt/3-comment.d.ts +1 -0
- 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/web.cjs.development.js +265 -78
- 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 +265 -78
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +265 -78
- 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/Accordion.mdx +74 -121
- package/docs/components/Alert.mdx +19 -70
- package/docs/components/AspectRatio.mdx +13 -11
- package/docs/components/AudioInput.mdx +43 -0
- package/docs/components/Avatar.mdx +18 -43
- package/docs/components/Background.mdx +100 -492
- package/docs/components/Badge.mdx +45 -130
- package/docs/components/Button.mdx +76 -128
- package/docs/components/Calendar.mdx +7 -7
- package/docs/components/Card.mdx +247 -290
- package/docs/components/Carousel.mdx +94 -321
- package/docs/components/Chart.mdx +171 -26
- package/docs/components/ChatInput.mdx +327 -275
- package/docs/components/Checkbox.mdx +3 -5
- package/docs/components/ColorInput.mdx +6 -6
- package/docs/components/ColorPicker.mdx +452 -0
- package/docs/components/ComboBox.mdx +13 -13
- package/docs/components/Command.mdx +140 -188
- package/docs/components/ContextMenu.mdx +47 -171
- package/docs/components/CookieConsent.mdx +53 -0
- package/docs/components/CountryPicker.mdx +8 -8
- package/docs/components/DatePicker.mdx +3 -3
- package/docs/components/DragAndDrop.mdx +279 -463
- package/docs/components/Drawer.mdx +392 -231
- package/docs/components/DropdownMenu.mdx +37 -155
- package/docs/components/EmojiPicker.mdx +84 -0
- package/docs/components/File.mdx +130 -4
- package/docs/components/Formik.mdx +39 -39
- package/docs/components/Gradient.mdx +359 -182
- package/docs/components/Horizontal.mdx +1 -2
- package/docs/components/HoverCard.mdx +57 -125
- package/docs/components/KanbanBoard.mdx +9 -9
- package/docs/components/Link.mdx +22 -30
- package/docs/components/Loader.mdx +230 -413
- package/docs/components/Menubar.mdx +73 -69
- package/docs/components/Message.mdx +210 -525
- package/docs/components/Modal.mdx +351 -475
- package/docs/components/NavigationMenu.mdx +8 -8
- package/docs/components/OTPInput.mdx +194 -0
- package/docs/components/Pagination.mdx +451 -107
- package/docs/components/Password.mdx +8 -8
- package/docs/components/ProgressBar.mdx +460 -0
- package/docs/components/Resizable.mdx +103 -102
- package/docs/components/Select.mdx +5 -5
- package/docs/components/Separator.mdx +11 -98
- package/docs/components/ShareButton.mdx +29 -0
- package/docs/components/Sidebar.mdx +70 -131
- package/docs/components/Slider.mdx +99 -185
- package/docs/components/StatusIndicator.mdx +373 -0
- package/docs/components/Switch.mdx +3 -3
- package/docs/components/Table.mdx +25 -105
- package/docs/components/Tabs.mdx +40 -143
- package/docs/components/TagInput.mdx +17 -17
- package/docs/components/Text.mdx +3 -3
- package/docs/components/TextArea.mdx +6 -6
- package/docs/components/TextField.mdx +12 -12
- package/docs/components/Title.mdx +267 -525
- package/docs/components/Toast.mdx +65 -142
- package/docs/components/Toggle.mdx +37 -49
- package/docs/components/ToggleGroup.mdx +36 -57
- package/docs/components/Tooltip.mdx +501 -138
- package/docs/components/Uploader.mdx +205 -351
- package/package.json +1 -1
- package/dist/components/AuthGuard/AuthGuard.d.ts +0 -35
- package/dist/components/AuthGuard/index.d.ts +0 -1
- package/docs/adk-components.md +0 -319
- package/docs/adk-quick-start.md +0 -268
package/dist/web.esm.js
CHANGED
|
@@ -4515,7 +4515,6 @@ var BadgeView = _ref => {
|
|
|
4515
4515
|
display: 'flex',
|
|
4516
4516
|
alignItems: 'center',
|
|
4517
4517
|
justifyContent: 'center',
|
|
4518
|
-
backgroundColor: 'color.black',
|
|
4519
4518
|
// Apply shape, size, and variant styles
|
|
4520
4519
|
borderRadius: BadgeShapes[shape]
|
|
4521
4520
|
}, BadgeSizes[size], variantStyles, position ? PositionStyles[position] : {}, views == null ? void 0 : views.container);
|
|
@@ -4527,8 +4526,7 @@ var BadgeView = _ref => {
|
|
|
4527
4526
|
,
|
|
4528
4527
|
textAlign: "center"
|
|
4529
4528
|
}, views == null ? void 0 : views.text, {
|
|
4530
|
-
color: combinedStyles.color
|
|
4531
|
-
bgColor: combinedStyles.backgroundColor
|
|
4529
|
+
color: combinedStyles.color
|
|
4532
4530
|
}), content || ''));
|
|
4533
4531
|
};
|
|
4534
4532
|
|
|
@@ -18706,7 +18704,11 @@ var useTitleState = props => {
|
|
|
18706
18704
|
highlightText: initialHighlightText,
|
|
18707
18705
|
// Renamed to avoid confusion with the dynamic target
|
|
18708
18706
|
highlightTypewriter = false,
|
|
18709
|
-
highlightTypewriterDuration = 1500
|
|
18707
|
+
highlightTypewriterDuration = 1500,
|
|
18708
|
+
highlightSlide = false,
|
|
18709
|
+
highlightSlideDuration = 500,
|
|
18710
|
+
highlightSlideStagger = 50,
|
|
18711
|
+
highlightSlideSequential = true
|
|
18710
18712
|
} = props;
|
|
18711
18713
|
// State for the final text to be displayed (could be original children or alternating text)
|
|
18712
18714
|
var [finalDisplayedText, setFinalDisplayedText] = useState(children);
|
|
@@ -18751,7 +18753,11 @@ var useTitleState = props => {
|
|
|
18751
18753
|
return {
|
|
18752
18754
|
finalDisplayedText,
|
|
18753
18755
|
activeHighlightTarget,
|
|
18754
|
-
highlightTypewriter
|
|
18756
|
+
highlightTypewriter,
|
|
18757
|
+
highlightSlide,
|
|
18758
|
+
highlightSlideDuration,
|
|
18759
|
+
highlightSlideStagger,
|
|
18760
|
+
highlightSlideSequential
|
|
18755
18761
|
};
|
|
18756
18762
|
};
|
|
18757
18763
|
|
|
@@ -18971,7 +18977,159 @@ var TypewriterEffect = _ref => {
|
|
|
18971
18977
|
}))))));
|
|
18972
18978
|
};
|
|
18973
18979
|
|
|
18974
|
-
var _excluded$Z = ["
|
|
18980
|
+
var _excluded$Z = ["text", "duration", "direction", "stagger", "sequential", "textStyle", "as", "wordProps"],
|
|
18981
|
+
_excluded2$f = ["style"];
|
|
18982
|
+
// CSS keyframes injection - done once
|
|
18983
|
+
var KEYFRAMES_ID = 'slide-effect-keyframes';
|
|
18984
|
+
var injectKeyframes = () => {
|
|
18985
|
+
if (typeof document === 'undefined') return;
|
|
18986
|
+
if (document.getElementById(KEYFRAMES_ID)) return;
|
|
18987
|
+
var style = document.createElement('style');
|
|
18988
|
+
style.id = KEYFRAMES_ID;
|
|
18989
|
+
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 ";
|
|
18990
|
+
document.head.appendChild(style);
|
|
18991
|
+
};
|
|
18992
|
+
var SlideEffect = _ref => {
|
|
18993
|
+
var {
|
|
18994
|
+
text,
|
|
18995
|
+
duration = 500,
|
|
18996
|
+
direction = 'up',
|
|
18997
|
+
stagger = 50,
|
|
18998
|
+
sequential = false,
|
|
18999
|
+
textStyle,
|
|
19000
|
+
wordProps
|
|
19001
|
+
} = _ref,
|
|
19002
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$Z);
|
|
19003
|
+
var [displayedText, setDisplayedText] = useState(text);
|
|
19004
|
+
var [phase, setPhase] = useState('entering');
|
|
19005
|
+
var [animKey, setAnimKey] = useState(0);
|
|
19006
|
+
var pendingTextRef = useRef(null);
|
|
19007
|
+
var timeoutRef = useRef(null);
|
|
19008
|
+
// Inject keyframes once on mount
|
|
19009
|
+
useEffect(() => {
|
|
19010
|
+
injectKeyframes();
|
|
19011
|
+
}, []);
|
|
19012
|
+
// Handle text changes
|
|
19013
|
+
useEffect(() => {
|
|
19014
|
+
if (text === displayedText && phase === 'visible') {
|
|
19015
|
+
return;
|
|
19016
|
+
}
|
|
19017
|
+
if (text !== displayedText) {
|
|
19018
|
+
// New text arrived
|
|
19019
|
+
if (phase === 'entering' || phase === 'visible') {
|
|
19020
|
+
// Store the new text and start exit animation
|
|
19021
|
+
pendingTextRef.current = text;
|
|
19022
|
+
setPhase('exiting');
|
|
19023
|
+
} else if (phase === 'exiting') {
|
|
19024
|
+
// Already exiting, just update pending text
|
|
19025
|
+
pendingTextRef.current = text;
|
|
19026
|
+
}
|
|
19027
|
+
}
|
|
19028
|
+
}, [text, displayedText, phase]);
|
|
19029
|
+
// Calculate animation durations
|
|
19030
|
+
var words = useMemo(() => displayedText.split(' '), [displayedText]);
|
|
19031
|
+
var wordCount = words.length;
|
|
19032
|
+
var totalEnterDuration = useMemo(() => {
|
|
19033
|
+
if (sequential) {
|
|
19034
|
+
return wordCount * (duration + stagger);
|
|
19035
|
+
}
|
|
19036
|
+
return (wordCount - 1) * stagger + duration;
|
|
19037
|
+
}, [wordCount, duration, stagger, sequential]);
|
|
19038
|
+
var totalExitDuration = useMemo(() => {
|
|
19039
|
+
if (sequential) {
|
|
19040
|
+
return wordCount * (duration + stagger);
|
|
19041
|
+
}
|
|
19042
|
+
return (wordCount - 1) * stagger + duration;
|
|
19043
|
+
}, [wordCount, duration, stagger, sequential]);
|
|
19044
|
+
// Handle phase transitions
|
|
19045
|
+
useEffect(() => {
|
|
19046
|
+
if (timeoutRef.current) {
|
|
19047
|
+
clearTimeout(timeoutRef.current);
|
|
19048
|
+
}
|
|
19049
|
+
if (phase === 'entering') {
|
|
19050
|
+
// After enter animation completes, go to visible
|
|
19051
|
+
timeoutRef.current = setTimeout(() => {
|
|
19052
|
+
setPhase('visible');
|
|
19053
|
+
}, totalEnterDuration + 50);
|
|
19054
|
+
} else if (phase === 'exiting') {
|
|
19055
|
+
// After exit animation completes, swap text and enter again
|
|
19056
|
+
timeoutRef.current = setTimeout(() => {
|
|
19057
|
+
if (pendingTextRef.current !== null) {
|
|
19058
|
+
setDisplayedText(pendingTextRef.current);
|
|
19059
|
+
pendingTextRef.current = null;
|
|
19060
|
+
}
|
|
19061
|
+
setAnimKey(k => k + 1);
|
|
19062
|
+
setPhase('entering');
|
|
19063
|
+
}, totalExitDuration + 50);
|
|
19064
|
+
}
|
|
19065
|
+
return () => {
|
|
19066
|
+
if (timeoutRef.current) {
|
|
19067
|
+
clearTimeout(timeoutRef.current);
|
|
19068
|
+
}
|
|
19069
|
+
};
|
|
19070
|
+
}, [phase, totalEnterDuration, totalExitDuration]);
|
|
19071
|
+
// Memoize word props extraction
|
|
19072
|
+
var _ref2 = wordProps || {},
|
|
19073
|
+
{
|
|
19074
|
+
style: customWordStyle
|
|
19075
|
+
} = _ref2,
|
|
19076
|
+
restWordProps = _objectWithoutPropertiesLoose(_ref2, _excluded2$f);
|
|
19077
|
+
// Get animation names based on direction
|
|
19078
|
+
var isUp = direction === 'up';
|
|
19079
|
+
var enterAnim = isUp ? 'slideInUp' : 'slideInDown';
|
|
19080
|
+
var exitAnim = isUp ? 'slideOutUp' : 'slideOutDown';
|
|
19081
|
+
// Calculate delay for each word
|
|
19082
|
+
var getDelay = (index, isExit) => {
|
|
19083
|
+
if (sequential) {
|
|
19084
|
+
// Sequential: one word at a time
|
|
19085
|
+
return index * (duration + stagger);
|
|
19086
|
+
}
|
|
19087
|
+
// Parallel with stagger
|
|
19088
|
+
return index * stagger;
|
|
19089
|
+
};
|
|
19090
|
+
// Container styles
|
|
19091
|
+
var containerStyle = useMemo(() => Object.assign({
|
|
19092
|
+
display: 'inline-block',
|
|
19093
|
+
position: 'relative',
|
|
19094
|
+
overflow: 'hidden',
|
|
19095
|
+
verticalAlign: 'bottom',
|
|
19096
|
+
whiteSpace: 'nowrap'
|
|
19097
|
+
}, textStyle), [textStyle]);
|
|
19098
|
+
// Word row container style
|
|
19099
|
+
var wordRowStyle = useMemo(() => ({
|
|
19100
|
+
display: 'inline-flex',
|
|
19101
|
+
flexWrap: 'nowrap',
|
|
19102
|
+
whiteSpace: 'nowrap'
|
|
19103
|
+
}), []);
|
|
19104
|
+
// Determine current animation
|
|
19105
|
+
var currentAnim = phase === 'exiting' ? exitAnim : enterAnim;
|
|
19106
|
+
var isAnimating = phase === 'entering' || phase === 'exiting';
|
|
19107
|
+
return /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
19108
|
+
as: "span",
|
|
19109
|
+
style: containerStyle
|
|
19110
|
+
}, props), /*#__PURE__*/React.createElement("span", {
|
|
19111
|
+
style: wordRowStyle
|
|
19112
|
+
}, words.map((word, index) => {
|
|
19113
|
+
var delay = getDelay(index);
|
|
19114
|
+
var isLast = index === words.length - 1;
|
|
19115
|
+
var wordStyle = Object.assign({}, customWordStyle, {
|
|
19116
|
+
display: 'inline-block',
|
|
19117
|
+
marginRight: isLast ? 0 : '0.25em',
|
|
19118
|
+
willChange: isAnimating ? 'transform, opacity' : 'auto',
|
|
19119
|
+
animation: isAnimating ? currentAnim + " " + duration + "ms ease-out " + delay + "ms both" : 'none',
|
|
19120
|
+
transform: phase === 'visible' ? 'translateY(0)' : undefined,
|
|
19121
|
+
opacity: phase === 'visible' ? 1 : undefined
|
|
19122
|
+
});
|
|
19123
|
+
return /*#__PURE__*/React.createElement(Text, Object.assign({
|
|
19124
|
+
key: animKey + "-" + index,
|
|
19125
|
+
as: "span"
|
|
19126
|
+
}, restWordProps, {
|
|
19127
|
+
style: wordStyle
|
|
19128
|
+
}), word);
|
|
19129
|
+
})));
|
|
19130
|
+
};
|
|
19131
|
+
|
|
19132
|
+
var _excluded$_ = ["children", "highlightText", "highlightStyle", "highlightColor", "highlightSecondaryColor", "size", "responsive", "centered", "views", "highlightAnimate", "animate", "animationLoop", "highlightAnimationLoop", "highlightTypewriter", "highlightTypewriterDuration", "highlightSlide", "highlightSlideDuration", "highlightSlideStagger", "highlightSlideSequential"];
|
|
18975
19133
|
function escapeRegExp(string) {
|
|
18976
19134
|
return string.replace(/[.*+?^${}()|[\\]\\/g, '\\$&');
|
|
18977
19135
|
}
|
|
@@ -18991,9 +19149,13 @@ var TitleView = _ref => {
|
|
|
18991
19149
|
animationLoop = 1,
|
|
18992
19150
|
highlightAnimationLoop = 1,
|
|
18993
19151
|
highlightTypewriter: propHighlightTypewriter = false,
|
|
18994
|
-
highlightTypewriterDuration = 3000
|
|
19152
|
+
highlightTypewriterDuration = 3000,
|
|
19153
|
+
highlightSlide: propHighlightSlide = false,
|
|
19154
|
+
highlightSlideDuration = 500,
|
|
19155
|
+
highlightSlideStagger = 50,
|
|
19156
|
+
highlightSlideSequential = true
|
|
18995
19157
|
} = _ref,
|
|
18996
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
19158
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
|
|
18997
19159
|
var {
|
|
18998
19160
|
ref,
|
|
18999
19161
|
inView
|
|
@@ -19026,13 +19188,21 @@ var TitleView = _ref => {
|
|
|
19026
19188
|
var {
|
|
19027
19189
|
finalDisplayedText,
|
|
19028
19190
|
activeHighlightTarget,
|
|
19029
|
-
highlightTypewriter
|
|
19191
|
+
highlightTypewriter,
|
|
19192
|
+
highlightSlide,
|
|
19193
|
+
highlightSlideDuration: stateHighlightSlideDuration,
|
|
19194
|
+
highlightSlideStagger: stateHighlightSlideStagger,
|
|
19195
|
+
highlightSlideSequential: stateHighlightSlideSequential
|
|
19030
19196
|
} = useTitleState(Object.assign({
|
|
19031
19197
|
children,
|
|
19032
19198
|
highlightText,
|
|
19033
19199
|
_isInView: inView,
|
|
19034
19200
|
highlightTypewriter: propHighlightTypewriter,
|
|
19035
|
-
highlightTypewriterDuration
|
|
19201
|
+
highlightTypewriterDuration,
|
|
19202
|
+
highlightSlide: propHighlightSlide,
|
|
19203
|
+
highlightSlideDuration,
|
|
19204
|
+
highlightSlideStagger,
|
|
19205
|
+
highlightSlideSequential
|
|
19036
19206
|
}, props));
|
|
19037
19207
|
// Determine if we should use responsive sizing or static sizing
|
|
19038
19208
|
var useResponsive = responsive && !props.media; // Don't override if media prop is already provided
|
|
@@ -19085,16 +19255,25 @@ var TitleView = _ref => {
|
|
|
19085
19255
|
animate: inView ? controlledAnimate : undefined,
|
|
19086
19256
|
media: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.media : undefined
|
|
19087
19257
|
}, views == null ? void 0 : views.container, props), parts.map((part, idx) => typeof part === 'string' ? part : (/*#__PURE__*/React.createElement(Text, Object.assign({
|
|
19088
|
-
key:
|
|
19258
|
+
key: "highlight-" + idx,
|
|
19089
19259
|
as: "span",
|
|
19090
19260
|
display: "inline",
|
|
19091
19261
|
animate: inView ? controlledHighlightAnimate : undefined,
|
|
19092
|
-
fontSize: fontSize
|
|
19093
|
-
}, highlightViewProps, highlightBackgroundOverrides, views == null ? void 0 : views.highlight), highlightTypewriter ? (/*#__PURE__*/React.createElement(TypewriterEffect, {
|
|
19262
|
+
fontSize: useResponsive ? undefined : fontSize
|
|
19263
|
+
}, !highlightSlide ? highlightViewProps : {}, highlightBackgroundOverrides, views == null ? void 0 : views.highlight), highlightTypewriter ? (/*#__PURE__*/React.createElement(TypewriterEffect, {
|
|
19094
19264
|
text: part.text,
|
|
19095
19265
|
typingSpeed: Math.max(30, highlightTypewriterDuration / (part.text.length * 10)),
|
|
19096
19266
|
showCursor: true,
|
|
19097
19267
|
cursorColor: "currentColor"
|
|
19268
|
+
})) : highlightSlide ? (/*#__PURE__*/React.createElement(SlideEffect, {
|
|
19269
|
+
text: part.text,
|
|
19270
|
+
duration: stateHighlightSlideDuration,
|
|
19271
|
+
stagger: stateHighlightSlideStagger,
|
|
19272
|
+
sequential: stateHighlightSlideSequential,
|
|
19273
|
+
direction: "up",
|
|
19274
|
+
fontSize: useResponsive ? undefined : fontSize,
|
|
19275
|
+
fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
|
|
19276
|
+
wordProps: highlightViewProps
|
|
19098
19277
|
})) : part.text))));
|
|
19099
19278
|
}
|
|
19100
19279
|
// If highlightStyle is provided but no highlightText, apply the style to the entire title
|
|
@@ -19114,11 +19293,20 @@ var TitleView = _ref => {
|
|
|
19114
19293
|
fontSize: fontSize,
|
|
19115
19294
|
display: "inline",
|
|
19116
19295
|
animate: inView ? controlledHighlightAnimate : undefined
|
|
19117
|
-
}, highlightViewProps, highlightBackgroundOverrides, views == null ? void 0 : views.highlight), highlightTypewriter ? (/*#__PURE__*/React.createElement(TypewriterEffect, {
|
|
19296
|
+
}, !highlightSlide ? highlightViewProps : {}, highlightBackgroundOverrides, views == null ? void 0 : views.highlight), highlightTypewriter ? (/*#__PURE__*/React.createElement(TypewriterEffect, {
|
|
19118
19297
|
text: text,
|
|
19119
19298
|
typingSpeed: Math.max(30, highlightTypewriterDuration / (text.length * 10)),
|
|
19120
19299
|
showCursor: true,
|
|
19121
19300
|
cursorColor: "currentColor"
|
|
19301
|
+
})) : highlightSlide ? (/*#__PURE__*/React.createElement(SlideEffect, {
|
|
19302
|
+
text: text,
|
|
19303
|
+
duration: stateHighlightSlideDuration,
|
|
19304
|
+
stagger: stateHighlightSlideStagger,
|
|
19305
|
+
sequential: stateHighlightSlideSequential,
|
|
19306
|
+
direction: "up",
|
|
19307
|
+
fontSize: fontSize,
|
|
19308
|
+
fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
|
|
19309
|
+
wordProps: highlightViewProps
|
|
19122
19310
|
})) : text));
|
|
19123
19311
|
}
|
|
19124
19312
|
// Default case - no highlighting
|
|
@@ -19266,7 +19454,7 @@ var getToggleVariants = (color, isLight) => ({
|
|
|
19266
19454
|
}
|
|
19267
19455
|
});
|
|
19268
19456
|
|
|
19269
|
-
var _excluded
|
|
19457
|
+
var _excluded$$ = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views", "backgroundColor", "color", "themeMode"];
|
|
19270
19458
|
var ToggleView = _ref => {
|
|
19271
19459
|
var _ref2;
|
|
19272
19460
|
var {
|
|
@@ -19286,7 +19474,7 @@ var ToggleView = _ref => {
|
|
|
19286
19474
|
// 2nd candidate for main color
|
|
19287
19475
|
themeMode: elementMode
|
|
19288
19476
|
} = _ref,
|
|
19289
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded
|
|
19477
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$$);
|
|
19290
19478
|
/* theme helpers */
|
|
19291
19479
|
var {
|
|
19292
19480
|
getColor,
|
|
@@ -19330,7 +19518,7 @@ var ToggleView = _ref => {
|
|
|
19330
19518
|
}, props, views == null ? void 0 : views.container), children);
|
|
19331
19519
|
};
|
|
19332
19520
|
|
|
19333
|
-
var _excluded
|
|
19521
|
+
var _excluded$10 = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
|
|
19334
19522
|
// Destructuring properties from ToggleProps to be used within the ToggleComponent.
|
|
19335
19523
|
var ToggleComponent = _ref => {
|
|
19336
19524
|
var {
|
|
@@ -19342,7 +19530,7 @@ var ToggleComponent = _ref => {
|
|
|
19342
19530
|
isToggled = false,
|
|
19343
19531
|
onToggle
|
|
19344
19532
|
} = _ref,
|
|
19345
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded
|
|
19533
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
|
|
19346
19534
|
// Initializing toggle state and set state functions using the custom hook useToggleState.
|
|
19347
19535
|
var {
|
|
19348
19536
|
isHovered,
|
|
@@ -19677,8 +19865,8 @@ var DropdownMenuItemStates = {
|
|
|
19677
19865
|
}
|
|
19678
19866
|
};
|
|
19679
19867
|
|
|
19680
|
-
var _excluded$
|
|
19681
|
-
_excluded2$
|
|
19868
|
+
var _excluded$11 = ["children", "views"],
|
|
19869
|
+
_excluded2$g = ["items", "side", "align", "views"],
|
|
19682
19870
|
_excluded3$a = ["item", "views"],
|
|
19683
19871
|
_excluded4$9 = ["views"],
|
|
19684
19872
|
_excluded5$5 = ["trigger", "items", "side", "align", "views", "themeMode"];
|
|
@@ -19718,7 +19906,7 @@ var DropdownMenuTrigger = _ref2 => {
|
|
|
19718
19906
|
children,
|
|
19719
19907
|
views
|
|
19720
19908
|
} = _ref2,
|
|
19721
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
19909
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$11);
|
|
19722
19910
|
var {
|
|
19723
19911
|
isOpen,
|
|
19724
19912
|
setIsOpen,
|
|
@@ -19745,7 +19933,7 @@ var DropdownMenuContent = _ref3 => {
|
|
|
19745
19933
|
align = 'start',
|
|
19746
19934
|
views
|
|
19747
19935
|
} = _ref3,
|
|
19748
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
19936
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$g);
|
|
19749
19937
|
var {
|
|
19750
19938
|
isOpen,
|
|
19751
19939
|
variant,
|
|
@@ -19971,7 +20159,7 @@ var DropdownMenuView = _ref6 => {
|
|
|
19971
20159
|
}));
|
|
19972
20160
|
};
|
|
19973
20161
|
|
|
19974
|
-
var _excluded$
|
|
20162
|
+
var _excluded$12 = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
|
|
19975
20163
|
/**
|
|
19976
20164
|
* DropdownMenu component for displaying a menu when clicking on a trigger element.
|
|
19977
20165
|
*/
|
|
@@ -19986,7 +20174,7 @@ var DropdownMenuComponent = _ref => {
|
|
|
19986
20174
|
defaultOpen = false,
|
|
19987
20175
|
views
|
|
19988
20176
|
} = _ref,
|
|
19989
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
20177
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$12);
|
|
19990
20178
|
var {
|
|
19991
20179
|
isOpen,
|
|
19992
20180
|
setIsOpen,
|
|
@@ -20400,7 +20588,7 @@ var DefaultColorPalette$1 = [
|
|
|
20400
20588
|
category: 'neutral'
|
|
20401
20589
|
}];
|
|
20402
20590
|
|
|
20403
|
-
var _excluded$
|
|
20591
|
+
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"];
|
|
20404
20592
|
var ColorPickerView = _ref => {
|
|
20405
20593
|
var {
|
|
20406
20594
|
// Basic props
|
|
@@ -20435,7 +20623,7 @@ var ColorPickerView = _ref => {
|
|
|
20435
20623
|
dropdownRef
|
|
20436
20624
|
// Other props
|
|
20437
20625
|
} = _ref,
|
|
20438
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
20626
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$13);
|
|
20439
20627
|
var {
|
|
20440
20628
|
getColor
|
|
20441
20629
|
} = useTheme();
|
|
@@ -20597,6 +20785,7 @@ var DefaultEmojiPickerStyles = {
|
|
|
20597
20785
|
},
|
|
20598
20786
|
dropdown: {
|
|
20599
20787
|
position: 'absolute',
|
|
20788
|
+
mixBlendMode: 'normal',
|
|
20600
20789
|
top: 'calc(100% + 4px)',
|
|
20601
20790
|
left: 0,
|
|
20602
20791
|
right: 0,
|
|
@@ -22765,7 +22954,7 @@ var useEmojiPickerState = props => {
|
|
|
22765
22954
|
};
|
|
22766
22955
|
};
|
|
22767
22956
|
|
|
22768
|
-
var _excluded$
|
|
22957
|
+
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"];
|
|
22769
22958
|
var EmojiPickerView = _ref => {
|
|
22770
22959
|
var {
|
|
22771
22960
|
// Basic props
|
|
@@ -22803,7 +22992,7 @@ var EmojiPickerView = _ref => {
|
|
|
22803
22992
|
dropdownRef
|
|
22804
22993
|
// Other props
|
|
22805
22994
|
} = _ref,
|
|
22806
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
22995
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$14);
|
|
22807
22996
|
var {
|
|
22808
22997
|
getColor
|
|
22809
22998
|
} = useTheme();
|
|
@@ -22837,8 +23026,6 @@ var EmojiPickerView = _ref => {
|
|
|
22837
23026
|
alignItems: "center",
|
|
22838
23027
|
gap: 8
|
|
22839
23028
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
22840
|
-
fontSize: "20px"
|
|
22841
|
-
}, selectedEmoji || '😀'), /*#__PURE__*/React.createElement(Text, {
|
|
22842
23029
|
color: selectedEmoji ? 'color.gray.800' : 'color.gray.500',
|
|
22843
23030
|
fontSize: "inherit"
|
|
22844
23031
|
}, selectedEmoji || placeholder)), !isReadOnly && !isDisabled && (/*#__PURE__*/React.createElement(ChevronIcon, {
|
|
@@ -22992,7 +23179,7 @@ var MenubarItemStates = {
|
|
|
22992
23179
|
}
|
|
22993
23180
|
};
|
|
22994
23181
|
|
|
22995
|
-
var _excluded$
|
|
23182
|
+
var _excluded$15 = ["children", "orientation", "size", "variant", "views"];
|
|
22996
23183
|
// Create context for the Menubar
|
|
22997
23184
|
var MenubarContext = /*#__PURE__*/createContext({
|
|
22998
23185
|
activeMenuId: null,
|
|
@@ -23029,7 +23216,7 @@ var MenubarRoot = _ref2 => {
|
|
|
23029
23216
|
variant = 'default',
|
|
23030
23217
|
views
|
|
23031
23218
|
} = _ref2,
|
|
23032
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
23219
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$15);
|
|
23033
23220
|
var Container = orientation === 'horizontal' ? Horizontal : Vertical;
|
|
23034
23221
|
return /*#__PURE__*/React.createElement(Container, Object.assign({
|
|
23035
23222
|
role: "menubar",
|
|
@@ -23349,7 +23536,7 @@ var MenubarView = _ref8 => {
|
|
|
23349
23536
|
})))))));
|
|
23350
23537
|
};
|
|
23351
23538
|
|
|
23352
|
-
var _excluded$
|
|
23539
|
+
var _excluded$16 = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
|
|
23353
23540
|
/**
|
|
23354
23541
|
* Menubar component for creating horizontal or vertical menu bars with dropdown menus.
|
|
23355
23542
|
*/
|
|
@@ -23363,7 +23550,7 @@ var MenubarComponent = _ref => {
|
|
|
23363
23550
|
defaultOpenMenuId = null,
|
|
23364
23551
|
views
|
|
23365
23552
|
} = _ref,
|
|
23366
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
23553
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
|
|
23367
23554
|
var {
|
|
23368
23555
|
activeMenuId,
|
|
23369
23556
|
setActiveMenuId,
|
|
@@ -23545,7 +23732,7 @@ var DisabledButtonStyles = {
|
|
|
23545
23732
|
}
|
|
23546
23733
|
};
|
|
23547
23734
|
|
|
23548
|
-
var _excluded$
|
|
23735
|
+
var _excluded$17 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
|
|
23549
23736
|
var PaginationView = _ref => {
|
|
23550
23737
|
var {
|
|
23551
23738
|
currentPage,
|
|
@@ -23576,7 +23763,7 @@ var PaginationView = _ref => {
|
|
|
23576
23763
|
visiblePageNumbers,
|
|
23577
23764
|
views
|
|
23578
23765
|
} = _ref,
|
|
23579
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
23766
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
|
|
23580
23767
|
var handlePageChange = page => {
|
|
23581
23768
|
if (page < 1 || page > totalPages || page === currentPage) {
|
|
23582
23769
|
return;
|
|
@@ -23695,7 +23882,7 @@ var PaginationView = _ref => {
|
|
|
23695
23882
|
}, option.label))))));
|
|
23696
23883
|
};
|
|
23697
23884
|
|
|
23698
|
-
var _excluded$
|
|
23885
|
+
var _excluded$18 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
|
|
23699
23886
|
/**
|
|
23700
23887
|
* Pagination component for navigating through pages of content.
|
|
23701
23888
|
*/
|
|
@@ -23716,7 +23903,7 @@ var PaginationComponent = _ref => {
|
|
|
23716
23903
|
shape = 'rounded',
|
|
23717
23904
|
views
|
|
23718
23905
|
} = _ref,
|
|
23719
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
23906
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
|
|
23720
23907
|
var {
|
|
23721
23908
|
visiblePageNumbers
|
|
23722
23909
|
} = usePaginationState(currentPage, totalPages, maxPageButtons);
|
|
@@ -23740,7 +23927,7 @@ var PaginationComponent = _ref => {
|
|
|
23740
23927
|
};
|
|
23741
23928
|
var Pagination = PaginationComponent;
|
|
23742
23929
|
|
|
23743
|
-
var _excluded$
|
|
23930
|
+
var _excluded$19 = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
|
|
23744
23931
|
var ProgressBarView = _ref => {
|
|
23745
23932
|
var {
|
|
23746
23933
|
value = 0,
|
|
@@ -23752,7 +23939,7 @@ var ProgressBarView = _ref => {
|
|
|
23752
23939
|
views,
|
|
23753
23940
|
themeMode: elementMode
|
|
23754
23941
|
} = _ref,
|
|
23755
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
23942
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$19);
|
|
23756
23943
|
var {
|
|
23757
23944
|
getColor,
|
|
23758
23945
|
themeMode
|
|
@@ -23842,7 +24029,7 @@ var DefaultSeparatorStyles = {
|
|
|
23842
24029
|
}
|
|
23843
24030
|
};
|
|
23844
24031
|
|
|
23845
|
-
var _excluded$
|
|
24032
|
+
var _excluded$1a = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
|
|
23846
24033
|
var SeparatorView = _ref => {
|
|
23847
24034
|
var {
|
|
23848
24035
|
orientation = 'horizontal',
|
|
@@ -23854,7 +24041,7 @@ var SeparatorView = _ref => {
|
|
|
23854
24041
|
decorative = false,
|
|
23855
24042
|
views
|
|
23856
24043
|
} = _ref,
|
|
23857
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
24044
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
|
|
23858
24045
|
// Access theme if needed for future enhancements
|
|
23859
24046
|
var {
|
|
23860
24047
|
themeMode
|
|
@@ -23922,7 +24109,7 @@ var SeparatorComponent = props => {
|
|
|
23922
24109
|
var Separator = SeparatorComponent;
|
|
23923
24110
|
var Divider = SeparatorComponent;
|
|
23924
24111
|
|
|
23925
|
-
var _excluded$
|
|
24112
|
+
var _excluded$1b = ["isSupported", "isSharing", "onShare", "label", "children", "icon", "size", "isDisabled", "isLoading", "iconPosition", "disableWhenUnsupported"];
|
|
23926
24113
|
var ICON_SIZE_MAP = {
|
|
23927
24114
|
xs: 12,
|
|
23928
24115
|
sm: 14,
|
|
@@ -23945,7 +24132,7 @@ var ShareButtonView = _ref => {
|
|
|
23945
24132
|
iconPosition,
|
|
23946
24133
|
disableWhenUnsupported = true
|
|
23947
24134
|
} = _ref,
|
|
23948
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
24135
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$1b);
|
|
23949
24136
|
var resolvedSize = size != null ? size : 'md';
|
|
23950
24137
|
var resolvedIcon = icon != null ? icon : (/*#__PURE__*/React.createElement(ShareIcon, {
|
|
23951
24138
|
widthHeight: ICON_SIZE_MAP[resolvedSize],
|
|
@@ -24047,14 +24234,14 @@ var useShareButton = props => {
|
|
|
24047
24234
|
};
|
|
24048
24235
|
};
|
|
24049
24236
|
|
|
24050
|
-
var _excluded$
|
|
24237
|
+
var _excluded$1c = ["shareData", "onShareStart", "onShareSuccess", "onShareCancel", "onShareError", "onUnsupported", "onClick"];
|
|
24051
24238
|
var ShareButtonComponent = props => {
|
|
24052
24239
|
var {
|
|
24053
24240
|
isSupported,
|
|
24054
24241
|
isSharing,
|
|
24055
24242
|
handleShare
|
|
24056
24243
|
} = useShareButton(props);
|
|
24057
|
-
var viewProps = _objectWithoutPropertiesLoose(props, _excluded$
|
|
24244
|
+
var viewProps = _objectWithoutPropertiesLoose(props, _excluded$1c);
|
|
24058
24245
|
return /*#__PURE__*/React.createElement(ShareButtonView, Object.assign({}, viewProps, {
|
|
24059
24246
|
isSupported: isSupported,
|
|
24060
24247
|
isSharing: isSharing,
|
|
@@ -24108,7 +24295,7 @@ var getThemes$2 = themeMode => {
|
|
|
24108
24295
|
};
|
|
24109
24296
|
};
|
|
24110
24297
|
|
|
24111
|
-
var _excluded$
|
|
24298
|
+
var _excluded$1d = ["label", "status", "views", "themeMode"];
|
|
24112
24299
|
var StatusIndicatorView = _ref => {
|
|
24113
24300
|
var {
|
|
24114
24301
|
label,
|
|
@@ -24116,7 +24303,7 @@ var StatusIndicatorView = _ref => {
|
|
|
24116
24303
|
views,
|
|
24117
24304
|
themeMode: elementMode
|
|
24118
24305
|
} = _ref,
|
|
24119
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
24306
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1d);
|
|
24120
24307
|
var {
|
|
24121
24308
|
themeMode
|
|
24122
24309
|
} = useTheme();
|
|
@@ -24299,8 +24486,8 @@ var SidebarTransitions = {
|
|
|
24299
24486
|
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)'
|
|
24300
24487
|
};
|
|
24301
24488
|
|
|
24302
|
-
var _excluded$
|
|
24303
|
-
_excluded2$
|
|
24489
|
+
var _excluded$1e = ["children", "showToggleButton", "views"],
|
|
24490
|
+
_excluded2$h = ["children", "views"],
|
|
24304
24491
|
_excluded3$b = ["children", "views"],
|
|
24305
24492
|
_excluded4$a = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
|
|
24306
24493
|
// Create context for the Sidebar
|
|
@@ -24332,7 +24519,7 @@ var SidebarHeader = _ref2 => {
|
|
|
24332
24519
|
showToggleButton = true,
|
|
24333
24520
|
views
|
|
24334
24521
|
} = _ref2,
|
|
24335
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
24522
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1e);
|
|
24336
24523
|
var {
|
|
24337
24524
|
isExpanded,
|
|
24338
24525
|
toggleExpanded,
|
|
@@ -24399,7 +24586,7 @@ var SidebarContent = _ref3 => {
|
|
|
24399
24586
|
children,
|
|
24400
24587
|
views
|
|
24401
24588
|
} = _ref3,
|
|
24402
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
24589
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
|
|
24403
24590
|
var {
|
|
24404
24591
|
isExpanded
|
|
24405
24592
|
} = useSidebarContext();
|
|
@@ -24487,7 +24674,7 @@ var SidebarView = _ref5 => {
|
|
|
24487
24674
|
}))));
|
|
24488
24675
|
};
|
|
24489
24676
|
|
|
24490
|
-
var _excluded$
|
|
24677
|
+
var _excluded$1f = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
|
|
24491
24678
|
/**
|
|
24492
24679
|
* Sidebar component for creating collapsible, themeable and customizable sidebars.
|
|
24493
24680
|
*/
|
|
@@ -24509,7 +24696,7 @@ var SidebarComponent = _ref => {
|
|
|
24509
24696
|
breakpointBehavior = 'overlay',
|
|
24510
24697
|
views
|
|
24511
24698
|
} = _ref,
|
|
24512
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
24699
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1f);
|
|
24513
24700
|
var {
|
|
24514
24701
|
isExpanded,
|
|
24515
24702
|
toggleExpanded,
|
|
@@ -24974,8 +25161,8 @@ var HandleIconStyles = {
|
|
|
24974
25161
|
}
|
|
24975
25162
|
};
|
|
24976
25163
|
|
|
24977
|
-
var _excluded$
|
|
24978
|
-
_excluded2$
|
|
25164
|
+
var _excluded$1g = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
|
|
25165
|
+
_excluded2$i = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
|
|
24979
25166
|
_excluded3$c = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
|
|
24980
25167
|
// Create context for the Resizable component
|
|
24981
25168
|
var ResizableContext = /*#__PURE__*/createContext({
|
|
@@ -25019,7 +25206,7 @@ var ResizablePanel = _ref2 => {
|
|
|
25019
25206
|
onCollapseChange,
|
|
25020
25207
|
views
|
|
25021
25208
|
} = _ref2,
|
|
25022
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
25209
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1g);
|
|
25023
25210
|
var {
|
|
25024
25211
|
orientation,
|
|
25025
25212
|
registerPanel,
|
|
@@ -25083,7 +25270,7 @@ var ResizableHandle = _ref3 => {
|
|
|
25083
25270
|
collapseTarget,
|
|
25084
25271
|
views
|
|
25085
25272
|
} = _ref3,
|
|
25086
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
25273
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
|
|
25087
25274
|
var {
|
|
25088
25275
|
orientation,
|
|
25089
25276
|
size,
|
|
@@ -25234,7 +25421,7 @@ var ResizableView = _ref4 => {
|
|
|
25234
25421
|
}, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
|
|
25235
25422
|
};
|
|
25236
25423
|
|
|
25237
|
-
var _excluded$
|
|
25424
|
+
var _excluded$1h = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
|
|
25238
25425
|
/**
|
|
25239
25426
|
* Resizable component for creating resizable panel groups and layouts.
|
|
25240
25427
|
*/
|
|
@@ -25254,7 +25441,7 @@ var ResizableComponent = _ref => {
|
|
|
25254
25441
|
keyboardResizeBy = 10,
|
|
25255
25442
|
views
|
|
25256
25443
|
} = _ref,
|
|
25257
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
25444
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1h);
|
|
25258
25445
|
var {
|
|
25259
25446
|
isResizing,
|
|
25260
25447
|
setIsResizing,
|
|
@@ -26025,8 +26212,8 @@ var CommandFooterStyles = {
|
|
|
26025
26212
|
color: 'color.gray.500'
|
|
26026
26213
|
};
|
|
26027
26214
|
|
|
26028
|
-
var _excluded$
|
|
26029
|
-
_excluded2$
|
|
26215
|
+
var _excluded$1i = ["value", "onValueChange", "placeholder", "views"],
|
|
26216
|
+
_excluded2$j = ["children", "views"],
|
|
26030
26217
|
_excluded3$d = ["heading", "children", "views"],
|
|
26031
26218
|
_excluded4$b = ["item", "selected", "onSelect", "views"],
|
|
26032
26219
|
_excluded5$6 = ["children", "views"],
|
|
@@ -26057,7 +26244,7 @@ var CommandInput = _ref2 => {
|
|
|
26057
26244
|
placeholder = 'Type a command or search...',
|
|
26058
26245
|
views
|
|
26059
26246
|
} = _ref2,
|
|
26060
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
26247
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1i);
|
|
26061
26248
|
var inputRef = useRef(null);
|
|
26062
26249
|
// Focus input when component mounts
|
|
26063
26250
|
React.useEffect(() => {
|
|
@@ -26089,7 +26276,7 @@ var CommandList = _ref3 => {
|
|
|
26089
26276
|
children,
|
|
26090
26277
|
views
|
|
26091
26278
|
} = _ref3,
|
|
26092
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
26279
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$j);
|
|
26093
26280
|
return /*#__PURE__*/React.createElement(View, Object.assign({}, CommandListStyles, views == null ? void 0 : views.container, props), children);
|
|
26094
26281
|
};
|
|
26095
26282
|
// Command Group component
|
|
@@ -26240,7 +26427,7 @@ var CommandView = _ref7 => {
|
|
|
26240
26427
|
})))), footer && (/*#__PURE__*/React.createElement(View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
|
|
26241
26428
|
};
|
|
26242
26429
|
|
|
26243
|
-
var _excluded$
|
|
26430
|
+
var _excluded$1j = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
|
|
26244
26431
|
/**
|
|
26245
26432
|
* Command component for displaying a command palette with search functionality.
|
|
26246
26433
|
*/
|
|
@@ -26258,7 +26445,7 @@ var CommandComponent = _ref => {
|
|
|
26258
26445
|
footer,
|
|
26259
26446
|
views
|
|
26260
26447
|
} = _ref,
|
|
26261
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
26448
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
|
|
26262
26449
|
var {
|
|
26263
26450
|
search,
|
|
26264
26451
|
setSearch,
|
|
@@ -26495,8 +26682,8 @@ var getArrowStyles = position => {
|
|
|
26495
26682
|
}
|
|
26496
26683
|
};
|
|
26497
26684
|
|
|
26498
|
-
var _excluded$
|
|
26499
|
-
_excluded2$
|
|
26685
|
+
var _excluded$1k = ["children", "views", "asChild"],
|
|
26686
|
+
_excluded2$k = ["children", "views"],
|
|
26500
26687
|
_excluded3$e = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
|
|
26501
26688
|
// Create context for the Tooltip
|
|
26502
26689
|
var TooltipContext = /*#__PURE__*/createContext({
|
|
@@ -26531,7 +26718,7 @@ var TooltipTrigger = _ref2 => {
|
|
|
26531
26718
|
views,
|
|
26532
26719
|
asChild = false
|
|
26533
26720
|
} = _ref2,
|
|
26534
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
26721
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1k);
|
|
26535
26722
|
var {
|
|
26536
26723
|
openTooltip,
|
|
26537
26724
|
closeTooltip,
|
|
@@ -26567,7 +26754,7 @@ var TooltipContent = _ref3 => {
|
|
|
26567
26754
|
children,
|
|
26568
26755
|
views
|
|
26569
26756
|
} = _ref3,
|
|
26570
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
26757
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$k);
|
|
26571
26758
|
var {
|
|
26572
26759
|
isOpen,
|
|
26573
26760
|
contentRef,
|
|
@@ -26715,7 +26902,7 @@ var TooltipView = _ref4 => {
|
|
|
26715
26902
|
}, TooltipSizes[size], TooltipVariants[variant], views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React.createElement(Text, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React.createElement(View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow)))));
|
|
26716
26903
|
};
|
|
26717
26904
|
|
|
26718
|
-
var _excluded$
|
|
26905
|
+
var _excluded$1l = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
|
|
26719
26906
|
/**
|
|
26720
26907
|
* Tooltip component for displaying additional information when hovering over an element.
|
|
26721
26908
|
* Supports configurable positions, delays, and styling.
|
|
@@ -26735,7 +26922,7 @@ var TooltipComponent = _ref => {
|
|
|
26735
26922
|
isDisabled = false,
|
|
26736
26923
|
views
|
|
26737
26924
|
} = _ref,
|
|
26738
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
26925
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
|
|
26739
26926
|
var tooltipState = useTooltipState({
|
|
26740
26927
|
defaultOpen,
|
|
26741
26928
|
openDelay,
|
|
@@ -27044,7 +27231,7 @@ var DefaultGradientStyles = {
|
|
|
27044
27231
|
}
|
|
27045
27232
|
};
|
|
27046
27233
|
|
|
27047
|
-
var _excluded$
|
|
27234
|
+
var _excluded$1m = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
|
|
27048
27235
|
var GradientView = _ref => {
|
|
27049
27236
|
var {
|
|
27050
27237
|
type = 'linear',
|
|
@@ -27060,7 +27247,7 @@ var GradientView = _ref => {
|
|
|
27060
27247
|
views,
|
|
27061
27248
|
themeMode: elementMode
|
|
27062
27249
|
} = _ref,
|
|
27063
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
27250
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
|
|
27064
27251
|
var {
|
|
27065
27252
|
getColor,
|
|
27066
27253
|
themeMode
|
|
@@ -27136,8 +27323,8 @@ var Gradient = props => {
|
|
|
27136
27323
|
return /*#__PURE__*/React.createElement(GradientView, Object.assign({}, props));
|
|
27137
27324
|
};
|
|
27138
27325
|
|
|
27139
|
-
var _excluded$
|
|
27140
|
-
_excluded2$
|
|
27326
|
+
var _excluded$1n = ["children", "showRadialGradient", "views", "themeMode"],
|
|
27327
|
+
_excluded2$l = ["number", "children"],
|
|
27141
27328
|
_excluded3$f = ["rows", "cols", "squareSize"],
|
|
27142
27329
|
_excluded4$c = ["count", "colors", "speed", "shapes"],
|
|
27143
27330
|
_excluded5$7 = ["gridSize", "lineColor", "pulseColor", "animationSpeed"],
|
|
@@ -27157,7 +27344,7 @@ var AuroraBackground = _ref => {
|
|
|
27157
27344
|
showRadialGradient = true,
|
|
27158
27345
|
views
|
|
27159
27346
|
} = _ref,
|
|
27160
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
27347
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
|
|
27161
27348
|
var gradientColors = {
|
|
27162
27349
|
white: 'rgba(255,255,255,1)',
|
|
27163
27350
|
transparent: 'rgba(255,255,255,0)'
|
|
@@ -27181,7 +27368,7 @@ var Meteors = _ref2 => {
|
|
|
27181
27368
|
number = 20,
|
|
27182
27369
|
children
|
|
27183
27370
|
} = _ref2,
|
|
27184
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
27371
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$l);
|
|
27185
27372
|
var meteors = Array.from({
|
|
27186
27373
|
length: number
|
|
27187
27374
|
}, (_, i) => i);
|