@app-studio/web 0.9.46 → 0.9.48

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.
@@ -4836,65 +4836,42 @@ var Loader = LoaderComponent;
4836
4836
  * - Rounded corners: Consistent border radius
4837
4837
  * - Transitions: Subtle animations
4838
4838
  */
4839
+ var ButtonFontSize = {
4840
+ xs: 10,
4841
+ sm: 14,
4842
+ md: 16,
4843
+ lg: 18,
4844
+ xl: 20
4845
+ };
4846
+ var ButtonLineHeight = {
4847
+ xs: 14,
4848
+ sm: 20,
4849
+ md: 24,
4850
+ lg: 28,
4851
+ xl: 32
4852
+ };
4853
+ var getButtonSize = size => {
4854
+ return {
4855
+ minHeight: ButtonLineHeight[size] * 2,
4856
+ paddingHorizontal: ButtonLineHeight[size] / 2,
4857
+ fontSize: ButtonFontSize[size],
4858
+ fontWeight: 500,
4859
+ lineHeight: ButtonLineHeight[size],
4860
+ letterSpacing: '-0.01em',
4861
+ paddingInline: ButtonLineHeight[size],
4862
+ paddingBlock: ButtonLineHeight[size] / 2,
4863
+ outlineWidth: 'medium'
4864
+ };
4865
+ };
4839
4866
  /**
4840
4867
  * Button sizes following the 4px grid system
4841
4868
  */
4842
4869
  var ButtonSizes = {
4843
- xs: {
4844
- minHeight: 3 * 4,
4845
- paddingTop: 1,
4846
- paddingBottom: 1,
4847
- paddingLeft: 2,
4848
- paddingRight: 2,
4849
- fontSize: 10,
4850
- fontWeight: '500',
4851
- lineHeight: 14,
4852
- letterSpacing: '-0.01em'
4853
- },
4854
- sm: {
4855
- minHeight: 4 * 4,
4856
- paddingTop: 4,
4857
- paddingBottom: 4,
4858
- paddingLeft: 8,
4859
- paddingRight: 8,
4860
- fontSize: 12,
4861
- fontWeight: '500',
4862
- lineHeight: 16,
4863
- letterSpacing: '-0.01em'
4864
- },
4865
- md: {
4866
- minHeight: 6 * 4,
4867
- paddingTop: 6,
4868
- paddingBottom: 6,
4869
- paddingLeft: 12,
4870
- paddingRight: 12,
4871
- fontSize: 14,
4872
- fontWeight: '500',
4873
- lineHeight: 18,
4874
- letterSpacing: '-0.01em'
4875
- },
4876
- lg: {
4877
- minHeight: 8 * 4,
4878
- paddingTop: 8,
4879
- paddingBottom: 8,
4880
- paddingLeft: 16,
4881
- paddingRight: 16,
4882
- fontSize: 16,
4883
- fontWeight: '500',
4884
- lineHeight: 18,
4885
- letterSpacing: '-0.01em'
4886
- },
4887
- xl: {
4888
- minHeight: 10 * 4,
4889
- paddingTop: 10,
4890
- paddingBottom: 10,
4891
- paddingLeft: 20,
4892
- paddingRight: 20,
4893
- fontSize: 20,
4894
- fontWeight: '500',
4895
- lineHeight: 22,
4896
- letterSpacing: '-0.01em'
4897
- }
4870
+ xs: /*#__PURE__*/getButtonSize('xs'),
4871
+ sm: /*#__PURE__*/getButtonSize('sm'),
4872
+ md: /*#__PURE__*/getButtonSize('md'),
4873
+ lg: /*#__PURE__*/getButtonSize('lg'),
4874
+ xl: /*#__PURE__*/getButtonSize('xl')
4898
4875
  };
4899
4876
  /**
4900
4877
  * Button shapes with consistent border radius
@@ -4934,142 +4911,387 @@ var IconSizes$1 = {
4934
4911
  padding: 14
4935
4912
  }
4936
4913
  };
4937
- var getButtonVariants = (color, isLight) => ({
4938
- filled: {
4939
- backgroundColor: color,
4940
- color: isLight ? 'color.black' : 'color.white',
4941
- borderWidth: 1,
4942
- borderStyle: 'solid',
4943
- borderColor: 'transparent',
4944
- _hover: {
4945
- opacity: 0.9
4946
- },
4947
- _active: {
4948
- opacity: 0.95
4949
- },
4950
- _focusVisible: {
4951
- outline: 'none',
4952
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4953
- },
4954
- transition: 'background-color 0.2s ease, opacity 0.2s ease'
4955
- },
4956
- outline: {
4957
- backgroundColor: 'transparent',
4958
- color: color,
4959
- borderWidth: 1,
4960
- borderStyle: 'solid',
4961
- borderColor: color,
4962
- _hover: {
4963
- backgroundColor: color,
4964
- color: isLight ? 'color.black' : 'color.white',
4965
- opacity: 0.9
4966
- },
4967
- _active: {
4914
+ var getButtonVariants = function getButtonVariants(color, isLight, isThemeLight) {
4915
+ var textColor = isLight ? '#000000' : '#FFFFFF';
4916
+ return {
4917
+ filled: {
4968
4918
  backgroundColor: color,
4969
- color: isLight ? 'color.black' : 'color.white',
4970
- opacity: 0.95
4919
+ color: textColor,
4920
+ borderWidth: 1,
4921
+ borderStyle: 'solid',
4922
+ borderColor: 'transparent',
4923
+ _hover: {
4924
+ opacity: 0.9,
4925
+ color: textColor
4926
+ },
4927
+ _active: {
4928
+ opacity: 0.95,
4929
+ color: textColor
4930
+ },
4931
+ _focusVisible: {
4932
+ outline: 'none',
4933
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color,
4934
+ color: textColor
4935
+ },
4936
+ transition: 'background-color 0.2s ease, opacity 0.2s ease'
4971
4937
  },
4972
- _focusVisible: {
4973
- outline: 'none',
4974
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4938
+ outline: {
4939
+ backgroundColor: 'transparent',
4940
+ color: color,
4941
+ borderWidth: 1,
4942
+ borderStyle: 'solid',
4943
+ borderColor: color,
4944
+ _hover: {
4945
+ backgroundColor: color,
4946
+ color: textColor,
4947
+ opacity: 0.9
4948
+ },
4949
+ _active: {
4950
+ backgroundColor: color,
4951
+ color: textColor,
4952
+ opacity: 0.95
4953
+ },
4954
+ _focusVisible: {
4955
+ outline: 'none',
4956
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4957
+ },
4958
+ transition: 'background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease'
4975
4959
  },
4976
- transition: 'background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease'
4977
- },
4978
- ghost: {
4979
- backgroundColor: 'transparent',
4980
- color: color,
4981
- borderWidth: 0,
4982
- borderStyle: 'none',
4983
- borderColor: 'transparent',
4984
- _hover: {
4985
- backgroundColor: isLight ? 'color.gray.100' : 'color.gray.800',
4986
- opacity: 0.9
4960
+ ghost: {
4961
+ backgroundColor: 'transparent',
4962
+ color: color,
4963
+ borderWidth: 1,
4964
+ borderStyle: 'solid',
4965
+ borderColor: 'transparent',
4966
+ _hover: {
4967
+ borderWidth: 1,
4968
+ borderStyle: 'solid',
4969
+ borderColor: color,
4970
+ color: color,
4971
+ opacity: 0.9
4972
+ },
4973
+ _active: {
4974
+ color: color,
4975
+ opacity: 0.95
4976
+ },
4977
+ _focusVisible: {
4978
+ outline: 'none',
4979
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4980
+ },
4981
+ transition: 'background-color 0.2s ease, opacity 0.2s ease'
4987
4982
  },
4988
- _active: {
4989
- backgroundColor: isLight ? 'color.gray.200' : 'color.gray.700',
4990
- opacity: 0.95
4983
+ link: {
4984
+ backgroundColor: 'transparent',
4985
+ color: color,
4986
+ borderWidth: 0,
4987
+ borderStyle: 'none',
4988
+ borderColor: 'transparent',
4989
+ textDecoration: 'underline',
4990
+ textUnderlineOffset: '2px',
4991
+ textDecorationThickness: '1px',
4992
+ textDecorationColor: color,
4993
+ _hover: {
4994
+ color: color,
4995
+ opacity: 0.8
4996
+ },
4997
+ _active: {
4998
+ color: color,
4999
+ opacity: 0.9
5000
+ },
5001
+ _focusVisible: {
5002
+ outline: 'none',
5003
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5004
+ },
5005
+ transition: 'opacity 0.2s ease'
4991
5006
  },
4992
- _focusVisible: {
4993
- outline: 'none',
4994
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5007
+ borderMoving: {
5008
+ position: 'relative',
5009
+ backgroundColor: 'black',
5010
+ color: textColor,
5011
+ overflow: 'hidden',
5012
+ borderWidth: 0,
5013
+ borderStyle: 'none',
5014
+ borderColor: 'transparent',
5015
+ _hover: {
5016
+ color: textColor
5017
+ },
5018
+ _active: {
5019
+ color: textColor
5020
+ },
5021
+ _focusVisible: {
5022
+ outline: 'none',
5023
+ boxShadow: '0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px rgba(0, 0, 0, 0.8)'
5024
+ },
5025
+ transition: 'opacity 0.2s ease'
4995
5026
  },
4996
- transition: 'background-color 0.2s ease, opacity 0.2s ease'
4997
- },
4998
- link: {
4999
- backgroundColor: 'transparent',
5000
- color: isLight ? color : 'color.black',
5001
- borderWidth: 0,
5002
- borderStyle: 'none',
5003
- borderColor: 'transparent',
5004
- textDecoration: 'underline',
5005
- textUnderlineOffset: '2px',
5006
- textDecorationThickness: '1px',
5007
- _hover: {
5008
- opacity: 0.8
5027
+ animatedStroke: {
5028
+ display: 'inline-block',
5029
+ margin: '0 auto',
5030
+ textAlign: 'center',
5031
+ textDecoration: 'none',
5032
+ position: 'relative',
5033
+ cursor: 'pointer',
5034
+ backgroundColor: 'transparent',
5035
+ color: color,
5036
+ borderWidth: 0,
5037
+ borderStyle: 'none',
5038
+ borderColor: 'transparent',
5039
+ _hover: {
5040
+ color: color
5041
+ },
5042
+ _active: {
5043
+ color: color
5044
+ },
5045
+ _focusVisible: {
5046
+ outline: 'none',
5047
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5048
+ },
5049
+ transition: 'opacity 0.2s ease'
5050
+ }
5051
+ };
5052
+ };
5053
+
5054
+ var _excluded$d = ["shape", "size", "isDisabled", "onClick", "views", "mainTone", "tone", "borderMovingGradientColors", "borderMovingDuration", "content", "shadow"],
5055
+ _excluded2$3 = ["to", "onClick", "views", "children", "size", "accentColor", "textColor", "getColor", "shadow"],
5056
+ _excluded3$3 = ["variant", "to", "isDisabled", "isLoading", "isAuto", "isFilled", "isExternal", "shape", "shadow", "onClick", "views", "baseStyles", "sizeStyles", "iconPad", "resolvedTextColor", "content", "size"],
5057
+ _excluded4$3 = ["variant", "size", "shape", "iconPosition", "loaderPosition", "backgroundColor", "color", "isAuto", "isFilled", "isDisabled", "isLoading", "isIconRounded", "icon", "children", "to", "isExternal", "shadow", "onClick", "views", "themeMode", "borderMovingDuration", "borderMovingGradientColors", "animatedStrokeAccentColor", "animatedStrokeTextColor"];
5058
+ // --- Helper: Button Content ---
5059
+ // Renders the inner content: Loader, Icon, and Children.
5060
+ var ButtonContent = _ref => {
5061
+ var {
5062
+ children,
5063
+ icon,
5064
+ isLoading,
5065
+ iconPosition = 'left',
5066
+ loaderPosition = 'left',
5067
+ size = 'md',
5068
+ resolvedTextColor,
5069
+ isIconRounded,
5070
+ views
5071
+ } = _ref;
5072
+ var Wrapper = ['left', 'right'].includes(iconPosition) ? appStudio.Horizontal : appStudio.Vertical;
5073
+ var sizeStyles = ButtonSizes[size];
5074
+ var iconPad = isIconRounded ? IconSizes$1[size] : {};
5075
+ return /*#__PURE__*/React__default.createElement(Wrapper, Object.assign({
5076
+ gap: 8,
5077
+ alignItems: "center",
5078
+ justifyContent: "center"
5079
+ }, sizeStyles, iconPad, views == null ? void 0 : views.content), isLoading && loaderPosition === 'left' && (/*#__PURE__*/React__default.createElement(Loader, Object.assign({
5080
+ size: size === 'xs' || size === 'sm' ? 'sm' : 'md',
5081
+ color: 'currentColor'
5082
+ }, views == null ? void 0 : views.loader))), icon && ['left', 'top'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5083
+ color: 'currentColor'
5084
+ }, views == null ? void 0 : views.icon), icon)), children, icon && ['right', 'bottom'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5085
+ color: 'currentColor'
5086
+ }, views == null ? void 0 : views.icon), icon)), isLoading && loaderPosition === 'right' && (/*#__PURE__*/React__default.createElement(Loader, Object.assign({
5087
+ size: size === 'xs' || size === 'sm' ? 'sm' : 'md',
5088
+ color: 'currentColor'
5089
+ }, views == null ? void 0 : views.loader))));
5090
+ };
5091
+ // --- Variant: Border Moving ---
5092
+ var BorderMovingButton = _ref2 => {
5093
+ var {
5094
+ shape = 'rounded',
5095
+ size = 'md',
5096
+ isDisabled,
5097
+ onClick,
5098
+ views,
5099
+ mainTone,
5100
+ tone,
5101
+ borderMovingGradientColors,
5102
+ borderMovingDuration,
5103
+ content,
5104
+ shadow
5105
+ } = _ref2,
5106
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$d);
5107
+ var sizeStyles = ButtonSizes[size];
5108
+ var borderWidth = 3;
5109
+ var numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5110
+ var numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 64;
5111
+ var numericBorderRadius = (() => {
5112
+ var shapeValue = ButtonShapes[shape];
5113
+ if (typeof shapeValue === 'number') {
5114
+ return shapeValue;
5115
+ }
5116
+ if (typeof shapeValue === 'string') {
5117
+ return parseInt(shapeValue, 10) || 50;
5118
+ }
5119
+ return 50;
5120
+ })();
5121
+ var containerBg = mainTone;
5122
+ // Use high contrast text color for this variant
5123
+ var borderMovingTextColor = tone === 'light' ? '#000000' : '#FFFFFF';
5124
+ // Create gradient string for border animation
5125
+ var gradientColors = borderMovingGradientColors.join(', ');
5126
+ // Animation sequence for the moving border effect
5127
+ var borderAnimation = {
5128
+ from: {
5129
+ backgroundPosition: '0% 50%'
5009
5130
  },
5010
- _active: {
5011
- opacity: 0.9
5131
+ to: {
5132
+ backgroundPosition: '200% 50%'
5012
5133
  },
5013
- _focusVisible: {
5014
- outline: 'none',
5015
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5134
+ duration: borderMovingDuration + "s",
5135
+ timingFunction: 'linear',
5136
+ iterationCount: 'infinite'
5137
+ };
5138
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5139
+ position: "relative",
5140
+ display: "inline-flex",
5141
+ alignItems: "center",
5142
+ justifyContent: "center",
5143
+ borderRadius: ButtonShapes[shape],
5144
+ cursor: isDisabled ? 'default' : 'pointer',
5145
+ onClick: onClick,
5146
+ boxShadow: shadow,
5147
+ padding: borderWidth,
5148
+ background: "linear-gradient(90deg, " + borderMovingGradientColors[0] + ", " + borderMovingGradientColors[1] + ", " + borderMovingGradientColors[2] + ", " + borderMovingGradientColors[0] + ")",
5149
+ backgroundSize: "200% 100%",
5150
+ animate: borderAnimation
5151
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, {
5152
+ display: "flex",
5153
+ alignItems: "center",
5154
+ justifyContent: "center",
5155
+ backgroundColor: containerBg,
5156
+ borderRadius: Math.max(0, numericBorderRadius - borderWidth),
5157
+ width: "100%",
5158
+ height: "100%",
5159
+ minWidth: numericWidth - borderWidth * 2,
5160
+ minHeight: numericHeight - borderWidth * 2,
5161
+ color: borderMovingTextColor,
5162
+ fontSize: 14,
5163
+ cursor: "pointer"
5164
+ }, content));
5165
+ };
5166
+ // --- Variant: Animated Stroke ---
5167
+ var AnimatedStrokeButton = _ref3 => {
5168
+ var {
5169
+ to,
5170
+ onClick,
5171
+ views,
5172
+ children,
5173
+ size = 'md',
5174
+ accentColor,
5175
+ textColor,
5176
+ getColor,
5177
+ shadow
5178
+ } = _ref3,
5179
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$3);
5180
+ var resolvedAccentColor = getColor(accentColor);
5181
+ var resolvedTextColor = getColor(textColor);
5182
+ var sizeStyles = ButtonSizes[size];
5183
+ var numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5184
+ var numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 60;
5185
+ var strokeAnimation = {
5186
+ from: {
5187
+ strokeWidth: '8px',
5188
+ strokeDasharray: '0 500',
5189
+ strokeDashoffset: -454
5016
5190
  },
5017
- transition: 'opacity 0.2s ease'
5018
- },
5019
- borderMoving: {
5020
- position: 'relative',
5021
- backgroundColor: 'black',
5022
- overflow: 'hidden',
5023
- color: 'white',
5024
- borderWidth: 0,
5025
- borderStyle: 'none',
5026
- borderColor: 'transparent',
5027
- _focusVisible: {
5028
- outline: 'none',
5029
- boxShadow: '0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px rgba(0, 0, 0, 0.8)'
5191
+ to: {
5192
+ strokeWidth: '3px',
5193
+ strokeDasharray: '760',
5194
+ strokeDashoffset: 0
5030
5195
  },
5031
- transition: 'opacity 0.2s ease'
5032
- },
5033
- animatedStroke: {
5034
- display: 'inline-block',
5035
- maxWidth: '20rem',
5036
- margin: '0 auto',
5037
- textAlign: 'center',
5038
- textDecoration: 'none',
5039
- position: 'relative',
5040
- cursor: 'pointer',
5041
- backgroundColor: 'transparent',
5042
- borderWidth: 0,
5043
- borderStyle: 'none',
5044
- borderColor: 'transparent',
5045
- _focusVisible: {
5046
- outline: 'none',
5047
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5048
- },
5049
- transition: 'opacity 0.2s ease'
5050
- }
5051
- });
5052
- /**
5053
- * Generate offset path for border animation
5054
- */
5055
- function generateOffsetPath(width, height, borderRadius) {
5056
- var radius;
5057
- if (typeof borderRadius === 'string' && borderRadius.endsWith('%')) {
5058
- var percentage = parseFloat(borderRadius) / 100;
5059
- radius = Math.min(width, height) * percentage;
5060
- } else {
5061
- radius = parseFloat(borderRadius.toString());
5062
- }
5063
- radius = Math.min(radius, width / 2, height / 2);
5064
- if (radius === 0) {
5065
- return "M 0,0 H " + width + " V " + height + " H 0 Z";
5066
- }
5067
- return "\n M " + radius + ",0\n H " + (width - radius) + "\n A " + radius + "," + radius + " 0 0 1 " + width + "," + radius + "\n V " + (height - radius) + "\n A " + radius + "," + radius + " 0 0 1 " + (width - radius) + "," + height + "\n H " + radius + "\n A " + radius + "," + radius + " 0 0 1 0," + (height - radius) + "\n V " + radius + "\n A " + radius + "," + radius + " 0 0 1 " + radius + ",0\n Z\n ";
5068
- }
5069
-
5070
- var _excluded$d = ["variant", "size", "shape", "iconPosition", "loaderPosition", "backgroundColor", "color", "isAuto", "isFilled", "isDisabled", "isLoading", "isIconRounded", "icon", "children", "to", "isExternal", "shadow", "onClick", "views", "themeMode", "borderMovingDuration", "borderMovingGradientColors", "animatedStrokeAccentColor", "animatedStrokeTextColor"];
5071
- var ButtonView = _ref => {
5072
- var _ref2;
5196
+ duration: '0.9s',
5197
+ timingFunction: 'ease-in',
5198
+ fillMode: 'forwards'
5199
+ };
5200
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5201
+ as: to ? 'a' : 'div',
5202
+ href: to ? to : undefined,
5203
+ onClick: onClick,
5204
+ display: "inline-block",
5205
+ maxWidth: "20rem",
5206
+ margin: "0 auto",
5207
+ textAlign: "center",
5208
+ textDecoration: "none",
5209
+ position: "relative",
5210
+ cursor: "pointer",
5211
+ boxShadow: shadow
5212
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, {
5213
+ as: "svg",
5214
+ display: "block",
5215
+ height: numericHeight,
5216
+ width: numericWidth,
5217
+ xmlns: "http://www.w3.org/2000/svg"
5218
+ }, /*#__PURE__*/React__default.createElement(appStudio.View, {
5219
+ as: "rect",
5220
+ height: numericHeight,
5221
+ width: numericWidth,
5222
+ fill: "transparent",
5223
+ stroke: resolvedAccentColor,
5224
+ strokeWidth: "8px",
5225
+ strokeDasharray: "0 500",
5226
+ strokeDashoffset: -454,
5227
+ on: {
5228
+ hover: {
5229
+ animate: strokeAnimation
5230
+ }
5231
+ }
5232
+ })), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5233
+ position: "absolute",
5234
+ top: 0,
5235
+ right: 0,
5236
+ bottom: 0,
5237
+ left: 0,
5238
+ display: "flex",
5239
+ alignItems: "center",
5240
+ justifyContent: "center",
5241
+ textAlign: "center",
5242
+ pointerEvents: "none",
5243
+ userSelect: "none",
5244
+ color: resolvedTextColor
5245
+ }, sizeStyles), children));
5246
+ };
5247
+ // --- Variant: Standard Button ---
5248
+ var StandardButton = _ref4 => {
5249
+ var {
5250
+ variant,
5251
+ to,
5252
+ isDisabled,
5253
+ isLoading,
5254
+ isAuto,
5255
+ isFilled,
5256
+ isExternal,
5257
+ shape = 'rounded',
5258
+ shadow,
5259
+ onClick,
5260
+ views,
5261
+ baseStyles,
5262
+ sizeStyles,
5263
+ iconPad,
5264
+ content // Destructure size to avoid passing it to Element
5265
+ } = _ref4,
5266
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$3);
5267
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5268
+ as: variant === 'link' && to ? 'div' : 'button',
5269
+ type: variant === 'link' && to ? undefined : 'button',
5270
+ disabled: Boolean(isDisabled || isLoading)
5271
+ }, sizeStyles, iconPad, {
5272
+ display: "inline-flex",
5273
+ alignItems: "center",
5274
+ justifyContent: "center",
5275
+ width: isAuto ? 'fit-content' : isFilled ? '100%' : undefined,
5276
+ /* visuals */
5277
+ borderRadius: ButtonShapes[shape],
5278
+ boxShadow: shadow,
5279
+ transition: "all 0.2s ease",
5280
+ cursor: isDisabled ? 'default' : 'pointer',
5281
+ onClick: onClick
5282
+ }, baseStyles, views == null ? void 0 : views.container, props), to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
5283
+ to: to,
5284
+ isExternal: isExternal,
5285
+ color: "currentColor",
5286
+ textDecoration: "inherit",
5287
+ _hover: {
5288
+ color: 'currentColor'
5289
+ }
5290
+ }, views == null ? void 0 : views.link), content)) : content);
5291
+ };
5292
+ // --- Main Component ---
5293
+ var ButtonView = _ref5 => {
5294
+ var _ref6, _base$color;
5073
5295
  var {
5074
5296
  /* behaviour */
5075
5297
  variant = 'filled',
@@ -5079,8 +5301,10 @@ var ButtonView = _ref => {
5079
5301
  loaderPosition = 'left',
5080
5302
  backgroundColor,
5081
5303
  // primary candidate for main color
5082
- color // 2nd candidate for main color (NOT text‑color)
5083
- ,
5304
+ color,
5305
+ // 2nd candidate for main color (NOT text‑color)
5306
+ isAuto = true,
5307
+ isFilled,
5084
5308
  isDisabled,
5085
5309
  isLoading,
5086
5310
  isIconRounded,
@@ -5100,8 +5324,8 @@ var ButtonView = _ref => {
5100
5324
  borderMovingGradientColors = ['#705CFF', '#FF5C97', '#FFC75C'],
5101
5325
  animatedStrokeAccentColor = '#705CFF',
5102
5326
  animatedStrokeTextColor = '#333333'
5103
- } = _ref,
5104
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
5327
+ } = _ref5,
5328
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$3);
5105
5329
  /* theme helpers */
5106
5330
  var {
5107
5331
  getColor,
@@ -5109,237 +5333,78 @@ var ButtonView = _ref => {
5109
5333
  } = appStudio.useTheme();
5110
5334
  var mode = elementMode != null ? elementMode : themeMode;
5111
5335
  /* MAIN COLOR – determines the entire palette */
5112
- var mainColorKey = (_ref2 = backgroundColor != null ? backgroundColor : color) != null ? _ref2 : 'theme.primary';
5336
+ var mainColorKey = (_ref6 = backgroundColor != null ? backgroundColor : color) != null ? _ref6 : 'theme.primary';
5113
5337
  var mainTone = getColor(isDisabled ? 'theme.disabled' : mainColorKey, {
5114
5338
  themeMode: mode
5115
5339
  });
5116
5340
  var tone = contrast(mainTone);
5341
+ /* text color with mixBlendMode for maximum visibility */
5342
+ var textColor = tone === 'light' ? '#000000' : '#FFFFFF';
5117
5343
  /* variant palette */
5118
- var palette = React.useMemo(() => getButtonVariants(mainTone, tone == 'light'), [mainTone, tone]);
5344
+ var palette = React.useMemo(() => getButtonVariants(mainTone, tone === 'light'), [mainTone, tone, mode]);
5119
5345
  var base = palette[variant];
5120
- /* layout helpers */
5121
- var Wrapper = ['left', 'right'].includes(iconPosition) ? appStudio.Horizontal : appStudio.Vertical;
5122
- var sizeStyles = ButtonSizes[size];
5123
- var iconPad = isIconRounded ? IconSizes$1[size] : {};
5124
- var content = /*#__PURE__*/React__default.createElement(Wrapper, Object.assign({
5125
- gap: 8,
5126
- alignItems: "center",
5127
- justifyContent: "center",
5128
- color: 'inherit',
5129
- _hover: {
5130
- color: 'inherit'
5131
- }
5132
- }, sizeStyles, views == null ? void 0 : views.content), isLoading && loaderPosition === 'left' && (/*#__PURE__*/React__default.createElement(Loader, Object.assign({
5133
- size: size === 'xs' || size === 'sm' ? 'sm' : 'md',
5134
- color: 'inherit',
5135
- _hover: {
5136
- color: 'inherit'
5137
- }
5138
- }, views == null ? void 0 : views.loader))), icon && ['left', 'top'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5139
- color: 'inherit',
5140
- _hover: {
5141
- color: 'inherit'
5142
- }
5143
- }, views == null ? void 0 : views.icon), icon)), children, icon && ['right', 'bottom'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5144
- color: 'inherit',
5145
- _hover: {
5146
- color: 'inherit'
5147
- }
5148
- }, views == null ? void 0 : views.icon), icon)), isLoading && loaderPosition === 'right' && (/*#__PURE__*/React__default.createElement(Loader, Object.assign({
5149
- size: size === 'xs' || size === 'sm' ? 'sm' : 'md',
5150
- color: 'inherit',
5151
- _hover: {
5152
- color: 'inherit'
5153
- }
5154
- }, views == null ? void 0 : views.loader))));
5155
- // Handle special effect variants
5346
+ var resolvedTextColor = (_base$color = base == null ? void 0 : base.color) != null ? _base$color : textColor;
5347
+ // Render content logic safely
5348
+ var content = /*#__PURE__*/React__default.createElement(ButtonContent, {
5349
+ icon: icon,
5350
+ isLoading: isLoading,
5351
+ iconPosition: iconPosition,
5352
+ loaderPosition: loaderPosition,
5353
+ size: size,
5354
+ resolvedTextColor: resolvedTextColor,
5355
+ isIconRounded: isIconRounded,
5356
+ views: views
5357
+ }, children);
5358
+ // Dispatch to the correct variant component
5156
5359
  if (variant === 'borderMoving') {
5157
- var borderWidth = 5;
5158
- var numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5159
- var numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 64;
5160
- var numericBorderRadius = (() => {
5161
- var shapeValue = ButtonShapes[shape];
5162
- if (typeof shapeValue === 'number') {
5163
- return shapeValue;
5164
- }
5165
- if (typeof shapeValue === 'string') {
5166
- return parseInt(shapeValue, 10) || 50;
5167
- }
5168
- return 50;
5169
- })();
5170
- var path = generateOffsetPath(numericWidth, numericHeight, numericBorderRadius);
5171
- // Determine background color from props or use mainTone
5172
- var containerBg = mainTone;
5173
- // Calculate text color with proper contrast
5174
- var borderMovingTextColor = tone === 'light' ? '#000000' : '#FFFFFF';
5175
- return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5176
- width: numericWidth,
5177
- height: numericHeight,
5178
- position: "relative",
5179
- backgroundColor: containerBg,
5180
- overflow: "hidden",
5181
- borderRadius: ButtonShapes[shape],
5182
- cursor: isDisabled ? 'default' : 'pointer',
5183
- onClick: onClick
5184
- }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement("svg", {
5185
- width: numericWidth,
5186
- height: numericHeight,
5187
- style: {
5188
- position: 'absolute',
5189
- top: 0,
5190
- left: 0,
5191
- zIndex: 1
5192
- }
5193
- }, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("linearGradient", {
5194
- id: "circleGradient",
5195
- x1: "0%",
5196
- y1: "100%",
5197
- x2: "100%",
5198
- y2: "100%"
5199
- }, /*#__PURE__*/React__default.createElement("stop", {
5200
- offset: "0%",
5201
- stopColor: "transparent"
5202
- }), /*#__PURE__*/React__default.createElement("stop", {
5203
- offset: "30%",
5204
- stopColor: borderMovingGradientColors[0]
5205
- }), /*#__PURE__*/React__default.createElement("stop", {
5206
- offset: "60%",
5207
- stopColor: borderMovingGradientColors[1]
5208
- }), /*#__PURE__*/React__default.createElement("stop", {
5209
- offset: "100%",
5210
- stopColor: borderMovingGradientColors[2]
5211
- })), /*#__PURE__*/React__default.createElement("path", {
5212
- id: "uniqueId",
5213
- d: path,
5214
- fill: "none",
5215
- stroke: "transparent"
5216
- })), /*#__PURE__*/React__default.createElement("circle", {
5217
- r: "30",
5218
- fill: "url(#circleGradient)"
5219
- }, /*#__PURE__*/React__default.createElement("animateMotion", {
5220
- dur: borderMovingDuration + 's',
5221
- repeatCount: "indefinite",
5222
- path: path
5223
- }))), /*#__PURE__*/React__default.createElement(appStudio.View, {
5224
- position: "absolute",
5225
- backgroundColor: containerBg,
5226
- borderRadius: Math.max(0, numericBorderRadius - 1),
5227
- top: borderWidth,
5228
- bottom: borderWidth,
5229
- left: borderWidth,
5230
- right: borderWidth,
5231
- zIndex: 2
5232
- }), /*#__PURE__*/React__default.createElement(appStudio.View, {
5233
- position: "relative",
5234
- width: "100%",
5235
- height: "100%",
5236
- display: "flex",
5237
- alignItems: "center",
5238
- justifyContent: "center",
5239
- color: borderMovingTextColor,
5240
- fontSize: 14,
5241
- zIndex: 3,
5242
- style: {
5243
- cursor: 'pointer'
5244
- }
5245
- }, content));
5360
+ return /*#__PURE__*/React__default.createElement(BorderMovingButton, Object.assign({
5361
+ variant: variant,
5362
+ shape: shape,
5363
+ size: size,
5364
+ isDisabled: isDisabled,
5365
+ onClick: onClick,
5366
+ views: views,
5367
+ mainTone: mainTone,
5368
+ tone: tone,
5369
+ borderMovingGradientColors: borderMovingGradientColors,
5370
+ borderMovingDuration: borderMovingDuration,
5371
+ content: content
5372
+ }, props));
5246
5373
  }
5247
5374
  if (variant === 'animatedStroke') {
5248
- var resolvedAccentColor = getColor(animatedStrokeAccentColor);
5249
- var resolvedTextColor = getColor(animatedStrokeTextColor);
5250
- var _numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5251
- var _numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 60;
5252
- var strokeAnimation = {
5253
- from: {
5254
- strokeWidth: '8px',
5255
- strokeDasharray: '0 500',
5256
- strokeDashoffset: -454
5257
- },
5258
- to: {
5259
- strokeWidth: '3px',
5260
- strokeDasharray: '760',
5261
- strokeDashoffset: 0
5262
- },
5263
- duration: '0.9s',
5264
- timingFunction: 'ease-in',
5265
- fillMode: 'forwards'
5266
- };
5267
- return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5268
- as: to ? 'a' : 'div',
5269
- href: to ? to : undefined,
5375
+ return /*#__PURE__*/React__default.createElement(AnimatedStrokeButton, Object.assign({
5376
+ variant: variant,
5377
+ to: to,
5270
5378
  onClick: onClick,
5271
- display: "inline-block",
5272
- maxWidth: "20rem",
5273
- margin: "0 auto",
5274
- textAlign: "center",
5275
- textDecoration: "none",
5276
- position: "relative",
5277
- cursor: "pointer"
5278
- }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, {
5279
- as: "svg",
5280
- display: "block",
5281
- height: _numericHeight,
5282
- width: _numericWidth,
5283
- xmlns: "http://www.w3.org/2000/svg"
5284
- }, /*#__PURE__*/React__default.createElement(appStudio.View, {
5285
- as: "rect",
5286
- height: _numericHeight,
5287
- width: _numericWidth,
5288
- fill: "transparent",
5289
- stroke: resolvedAccentColor,
5290
- strokeWidth: "8px",
5291
- strokeDasharray: "120 500",
5292
- strokeDashoffset: -454,
5293
- on: {
5294
- hover: {
5295
- animate: strokeAnimation
5296
- }
5297
- }
5298
- })), /*#__PURE__*/React__default.createElement(appStudio.View, {
5299
- position: "absolute",
5300
- top: 0,
5301
- right: 0,
5302
- bottom: 0,
5303
- left: 0,
5304
- display: "flex",
5305
- alignItems: "center",
5306
- justifyContent: "center",
5307
- paddingX: 16,
5308
- paddingY: 8,
5309
- fontSize: "22px",
5310
- lineHeight: "1.3",
5311
- letterSpacing: "0.3rem",
5312
- textAlign: "center",
5313
- textTransform: "uppercase",
5314
- whiteSpace: "normal",
5315
- wordBreak: "break-word",
5316
- pointerEvents: "none",
5317
- userSelect: "none",
5318
- color: resolvedTextColor
5319
- }, children));
5379
+ views: views,
5380
+ size: size,
5381
+ accentColor: animatedStrokeAccentColor,
5382
+ textColor: animatedStrokeTextColor,
5383
+ getColor: getColor
5384
+ }, props), children);
5320
5385
  }
5321
- return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5322
- as: variant === 'link' && to ? 'div' : 'button',
5323
- type: variant === 'link' && to ? undefined : 'button',
5324
- disabled: Boolean(isDisabled || isLoading)
5325
- }, sizeStyles, iconPad, {
5326
- display: "flex",
5327
- alignItems: "center",
5328
- justifyContent: "center",
5329
- // width={isAuto ? 'fit-content' : isFilled ? '100%' : undefined}
5330
- /* visuals */
5331
- borderRadius: ButtonShapes[shape],
5332
- boxShadow: shadow,
5333
- transition: "all 0.2s ease",
5334
- cursor: isDisabled ? 'default' : 'pointer',
5335
- onClick: onClick
5336
- }, base, views == null ? void 0 : views.container, props), to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
5386
+ // Standard variants (filled, outline, ghost, link)
5387
+ var sizeStyles = ButtonSizes[size];
5388
+ var iconPad = isIconRounded ? IconSizes$1[size] : {};
5389
+ return /*#__PURE__*/React__default.createElement(StandardButton, Object.assign({
5390
+ variant: variant,
5337
5391
  to: to,
5392
+ isDisabled: isDisabled,
5393
+ isLoading: isLoading,
5394
+ isAuto: isAuto,
5395
+ isFilled: isFilled,
5338
5396
  isExternal: isExternal,
5339
- color: 'inherit',
5340
- textDecoration: 'inherit',
5341
- textDecorationColor: 'inherit'
5342
- }, views == null ? void 0 : views.link), content)) : content);
5397
+ shape: shape,
5398
+ shadow: shadow,
5399
+ onClick: onClick,
5400
+ views: views,
5401
+ baseStyles: base,
5402
+ sizeStyles: sizeStyles,
5403
+ iconPad: iconPad,
5404
+ resolvedTextColor: resolvedTextColor,
5405
+ content: content,
5406
+ size: size
5407
+ }, props));
5343
5408
  };
5344
5409
 
5345
5410
  // Importing a custom hook to manage the state specific to the button component.
@@ -5475,9 +5540,9 @@ var useCardContext = () => {
5475
5540
  };
5476
5541
 
5477
5542
  var _excluded$e = ["children", "views", "style", "themeMode"],
5478
- _excluded2$3 = ["children", "views", "style", "themeMode"],
5479
- _excluded3$3 = ["children", "views", "style", "themeMode"],
5480
- _excluded4$3 = ["variant", "size", "shape", "children", "header", "footer", "isFullWidth", "views", "style", "themeMode"];
5543
+ _excluded2$4 = ["children", "views", "style", "themeMode"],
5544
+ _excluded3$4 = ["children", "views", "style", "themeMode"],
5545
+ _excluded4$4 = ["variant", "size", "shape", "children", "header", "footer", "isFullWidth", "views", "style", "themeMode"];
5481
5546
  var CardHeader = _ref => {
5482
5547
  var _contextStyles$header;
5483
5548
  var {
@@ -5502,7 +5567,7 @@ var CardContent = _ref2 => {
5502
5567
  children,
5503
5568
  style
5504
5569
  } = _ref2,
5505
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
5570
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
5506
5571
  var theme = appStudio.useTheme();
5507
5572
  var {
5508
5573
  styles: contextStyles
@@ -5520,7 +5585,7 @@ var CardFooter = _ref3 => {
5520
5585
  children,
5521
5586
  style
5522
5587
  } = _ref3,
5523
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$3);
5588
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
5524
5589
  var theme = appStudio.useTheme();
5525
5590
  var {
5526
5591
  styles: contextStyles
@@ -5546,7 +5611,7 @@ var CardView = _ref4 => {
5546
5611
  style,
5547
5612
  themeMode: elementMode
5548
5613
  } = _ref4,
5549
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$3);
5614
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$4);
5550
5615
  var theme = appStudio.useTheme();
5551
5616
  var defaultStyles = getDefaultCardStyles();
5552
5617
  // Prepare context value, merging default styles with user's `views` overrides
@@ -5879,9 +5944,9 @@ var useCarouselContext = () => {
5879
5944
  };
5880
5945
 
5881
5946
  var _excluded$f = ["children", "isActive", "views"],
5882
- _excluded2$4 = ["views", "children"],
5883
- _excluded3$4 = ["views", "children"],
5884
- _excluded4$4 = ["children", "views"],
5947
+ _excluded2$5 = ["views", "children"],
5948
+ _excluded3$5 = ["views", "children"],
5949
+ _excluded4$5 = ["children", "views"],
5885
5950
  _excluded5$1 = ["children", "views", "style"],
5886
5951
  _excluded6$1 = ["children", "defaultActiveIndex", "activeIndex", "onChange", "showNavigation", "navigationPosition", "prevButton", "nextButton", "showIndicators", "indicatorPosition", "indicatorVariant", "autoPlay", "autoPlayInterval", "pauseOnHover", "infinite", "direction", "transitionDuration", "views", "stepIndices", "themeMode"];
5887
5952
  var CarouselSlide = _ref => {
@@ -5906,7 +5971,7 @@ var CarouselPreviousComponent = _ref2 => {
5906
5971
  children // Allow custom content/icon
5907
5972
  // Spread remaining ButtonProps
5908
5973
  } = _ref2,
5909
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
5974
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
5910
5975
  var {
5911
5976
  goToPrevious,
5912
5977
  canGoPrevious,
@@ -5929,7 +5994,7 @@ var CarouselNextComponent = _ref3 => {
5929
5994
  views,
5930
5995
  children
5931
5996
  } = _ref3,
5932
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
5997
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$5);
5933
5998
  var {
5934
5999
  goToNext,
5935
6000
  canGoNext,
@@ -5952,7 +6017,7 @@ var CarouselItemComponent = _ref4 => {
5952
6017
  children,
5953
6018
  views
5954
6019
  } = _ref4,
5955
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$4);
6020
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$5);
5956
6021
  var {
5957
6022
  registerSlide,
5958
6023
  unregisterSlide,
@@ -7697,9 +7762,9 @@ var ContextMenuItemStates = {
7697
7762
  // using viewport-aware algorithms in the ContextMenu component
7698
7763
 
7699
7764
  var _excluded$i = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
7700
- _excluded2$5 = ["items", "children", "position", "side", "align", "views", "style"],
7701
- _excluded3$5 = ["item", "children", "onSelect", "isDisabled", "views"],
7702
- _excluded4$5 = ["views"],
7765
+ _excluded2$6 = ["items", "children", "position", "side", "align", "views", "style"],
7766
+ _excluded3$6 = ["item", "children", "onSelect", "isDisabled", "views"],
7767
+ _excluded4$6 = ["views"],
7703
7768
  _excluded5$2 = ["views"],
7704
7769
  _excluded6$2 = ["children", "items", "size", "variant", "disableNativeContextMenu", "views", "themeMode"];
7705
7770
  // Create context for the ContextMenu
@@ -7806,7 +7871,7 @@ var ContextMenuContent = _ref3 => {
7806
7871
  views,
7807
7872
  style // Capture user-provided style
7808
7873
  } = _ref3,
7809
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$5);
7874
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$6);
7810
7875
  var {
7811
7876
  isOpen,
7812
7877
  position: contextPosition,
@@ -7921,7 +7986,7 @@ var ContextMenuItem = _ref4 => {
7921
7986
  isDisabled = false,
7922
7987
  views
7923
7988
  } = _ref4,
7924
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$5);
7989
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$6);
7925
7990
  var {
7926
7991
  activeSubmenuId,
7927
7992
  setActiveSubmenuId,
@@ -8050,7 +8115,7 @@ var ContextMenuDivider = _ref5 => {
8050
8115
  var {
8051
8116
  views
8052
8117
  } = _ref5,
8053
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$5);
8118
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$6);
8054
8119
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
8055
8120
  height: "1px",
8056
8121
  backgroundColor: "color.gray.200",
@@ -8166,7 +8231,7 @@ ContextMenu.Divider = ContextMenuDivider;
8166
8231
  ContextMenu.Separator = ContextMenuSeparator; // Add the Separator component
8167
8232
 
8168
8233
  var _excluded$k = ["src", "color", "views", "themeMode"],
8169
- _excluded2$6 = ["path"];
8234
+ _excluded2$7 = ["path"];
8170
8235
  var FileSVG = _ref => {
8171
8236
  var {
8172
8237
  src,
@@ -8196,7 +8261,7 @@ var FileImage = _ref2 => {
8196
8261
  var {
8197
8262
  path
8198
8263
  } = _ref2,
8199
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$6);
8264
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
8200
8265
  return /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
8201
8266
  src: path
8202
8267
  }, props));
@@ -8672,9 +8737,9 @@ var IconSizes$2 = {
8672
8737
  };
8673
8738
 
8674
8739
  var _excluded$s = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
8675
- _excluded2$7 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
8676
- _excluded3$6 = ["option", "size", "removeOption"],
8677
- _excluded4$6 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isMulti", "isFocused", "isHovered", "isDisabled", "isReadOnly", "options", "shadow", "size", "shape", "variant", "views", "onChange", "setHide", "setValue", "setIsHovered", "setIsFocused", "setHighlightedIndex", "highlightedIndex"];
8740
+ _excluded2$8 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
8741
+ _excluded3$7 = ["option", "size", "removeOption"],
8742
+ _excluded4$7 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isMulti", "isFocused", "isHovered", "isDisabled", "isReadOnly", "options", "shadow", "size", "shape", "variant", "views", "onChange", "setHide", "setValue", "setIsHovered", "setIsFocused", "setHighlightedIndex", "highlightedIndex"];
8678
8743
  /**
8679
8744
  * Item Component
8680
8745
  *
@@ -8797,7 +8862,7 @@ var HiddenSelect = _ref4 => {
8797
8862
  isReadOnly = false,
8798
8863
  options = []
8799
8864
  } = _ref4,
8800
- props = _objectWithoutPropertiesLoose(_ref4, _excluded2$7);
8865
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded2$8);
8801
8866
  var handleChange = event => {
8802
8867
  if (onChange) onChange(event);
8803
8868
  };
@@ -8882,7 +8947,7 @@ var MultiSelect = _ref6 => {
8882
8947
  size = 'md',
8883
8948
  removeOption = () => {}
8884
8949
  } = _ref6,
8885
- props = _objectWithoutPropertiesLoose(_ref6, _excluded3$6);
8950
+ props = _objectWithoutPropertiesLoose(_ref6, _excluded3$7);
8886
8951
  var handleClick = () => removeOption(option);
8887
8952
  return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
8888
8953
  gap: 8,
@@ -8943,7 +9008,7 @@ var SelectView = _ref7 => {
8943
9008
  setHighlightedIndex,
8944
9009
  highlightedIndex
8945
9010
  } = _ref7,
8946
- props = _objectWithoutPropertiesLoose(_ref7, _excluded4$6);
9011
+ props = _objectWithoutPropertiesLoose(_ref7, _excluded4$7);
8947
9012
  var {
8948
9013
  ref: triggerRef,
8949
9014
  relation,
@@ -12132,8 +12197,8 @@ var IconSizes$4 = {
12132
12197
  };
12133
12198
 
12134
12199
  var _excluded$y = ["size"],
12135
- _excluded2$8 = ["size"],
12136
- _excluded3$7 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "views", "themeMode"];
12200
+ _excluded2$9 = ["size"],
12201
+ _excluded3$8 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "views", "themeMode"];
12137
12202
  var CountryList = _ref => {
12138
12203
  var props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
12139
12204
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
@@ -12144,7 +12209,7 @@ var CountrySelector = props => (/*#__PURE__*/React__default.createElement(appStu
12144
12209
  type: "country"
12145
12210
  }, props)));
12146
12211
  var CountryItem = _ref2 => {
12147
- var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$8);
12212
+ var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$9);
12148
12213
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
12149
12214
  as: "li"
12150
12215
  }, props));
@@ -12246,7 +12311,7 @@ var CountryPickerView = _ref5 => {
12246
12311
  },
12247
12312
  themeMode: elementMode
12248
12313
  } = _ref5,
12249
- props = _objectWithoutPropertiesLoose(_ref5, _excluded3$7);
12314
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded3$8);
12250
12315
  var {
12251
12316
  getColor,
12252
12317
  themeMode
@@ -12497,7 +12562,7 @@ var usePasswordState = props => {
12497
12562
  };
12498
12563
 
12499
12564
  var _excluded$A = ["visibleIcon", "hiddenIcon"],
12500
- _excluded2$9 = ["isVisible", "setIsVisible"];
12565
+ _excluded2$a = ["isVisible", "setIsVisible"];
12501
12566
  var PasswordComponent = _ref => {
12502
12567
  var {
12503
12568
  visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
@@ -12513,7 +12578,7 @@ var PasswordComponent = _ref => {
12513
12578
  isVisible,
12514
12579
  setIsVisible
12515
12580
  } = _usePasswordState,
12516
- passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$9);
12581
+ passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$a);
12517
12582
  return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
12518
12583
  type: isVisible ? 'text' : 'password',
12519
12584
  isClearable: false,
@@ -14642,7 +14707,7 @@ var useHoverCardState = function useHoverCardState(_temp) {
14642
14707
  };
14643
14708
 
14644
14709
  var _excluded$J = ["children", "views", "asChild"],
14645
- _excluded2$a = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
14710
+ _excluded2$b = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
14646
14711
  // Create context for the HoverCard
14647
14712
  var HoverCardContext = /*#__PURE__*/React.createContext({
14648
14713
  isOpen: false,
@@ -14728,7 +14793,7 @@ var HoverCardContent = _ref3 => {
14728
14793
  minWidth = '50px',
14729
14794
  maxWidth = '300px'
14730
14795
  } = _ref3,
14731
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$a);
14796
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$b);
14732
14797
  var {
14733
14798
  isOpen,
14734
14799
  cancelCloseTimer,
@@ -15850,7 +15915,7 @@ var SwitchComponent$1 = props => {
15850
15915
  var FormikSwitch = SwitchComponent$1;
15851
15916
 
15852
15917
  var _excluded$N = ["name"],
15853
- _excluded2$b = ["tags"];
15918
+ _excluded2$c = ["tags"];
15854
15919
  /**
15855
15920
  * Formik-integrated TagInput component
15856
15921
  */
@@ -15893,7 +15958,7 @@ var TagInputComponent$1 = props => {
15893
15958
  var {
15894
15959
  tags
15895
15960
  } = tagInputState,
15896
- stateWithoutTags = _objectWithoutPropertiesLoose(tagInputState, _excluded2$b);
15961
+ stateWithoutTags = _objectWithoutPropertiesLoose(tagInputState, _excluded2$c);
15897
15962
  // Render the view component with combined props and state
15898
15963
  return /*#__PURE__*/React__default.createElement(TagInputView, Object.assign({}, stateWithoutTags, restProps, {
15899
15964
  tags: tags,
@@ -15929,7 +15994,7 @@ var TextFieldComponent$1 = props => {
15929
15994
  var FormikTextField = TextFieldComponent$1;
15930
15995
 
15931
15996
  var _excluded$P = ["visibleIcon", "hiddenIcon"],
15932
- _excluded2$c = ["isVisible", "setIsVisible"];
15997
+ _excluded2$d = ["isVisible", "setIsVisible"];
15933
15998
  var PasswordComponent$1 = _ref => {
15934
15999
  var {
15935
16000
  visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
@@ -15946,7 +16011,7 @@ var PasswordComponent$1 = _ref => {
15946
16011
  isVisible,
15947
16012
  setIsVisible
15948
16013
  } = _usePasswordState,
15949
- passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$c);
16014
+ passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$d);
15950
16015
  return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
15951
16016
  type: isVisible ? 'text' : 'password',
15952
16017
  isClearable: false,
@@ -17063,9 +17128,9 @@ var ModalTypography = {
17063
17128
  };
17064
17129
 
17065
17130
  var _excluded$T = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
17066
- _excluded2$d = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
17067
- _excluded3$8 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
17068
- _excluded4$7 = ["children", "views"],
17131
+ _excluded2$e = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
17132
+ _excluded3$9 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
17133
+ _excluded4$8 = ["children", "views"],
17069
17134
  _excluded5$3 = ["children", "views"];
17070
17135
  var ModalOverlay = _ref => {
17071
17136
  var {
@@ -17113,7 +17178,7 @@ var ModalContainer = _ref2 => {
17113
17178
  shape = 'rounded',
17114
17179
  views
17115
17180
  } = _ref2,
17116
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$d);
17181
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$e);
17117
17182
  var defaultShadow = typeof document !== undefined ? {
17118
17183
  boxShadow: '0px 4px 16px rgba(0, 0, 0, 0.15)'
17119
17184
  } : {
@@ -17154,7 +17219,7 @@ var ModalHeader = _ref3 => {
17154
17219
  buttonPosition = 'right',
17155
17220
  views
17156
17221
  } = _ref3,
17157
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$8);
17222
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$9);
17158
17223
  var onClose = props.onClose ? props.onClose : hideModal;
17159
17224
  var buttonIcon = /*#__PURE__*/React__default.createElement(appStudio.View, {
17160
17225
  onClick: onClose
@@ -17183,7 +17248,7 @@ var ModalBody = _ref4 => {
17183
17248
  children,
17184
17249
  views
17185
17250
  } = _ref4,
17186
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$7);
17251
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$8);
17187
17252
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
17188
17253
  paddingVertical: 16,
17189
17254
  paddingHorizontal: 24,
@@ -17326,9 +17391,9 @@ var DrawerPlacements = {
17326
17391
  };
17327
17392
 
17328
17393
  var _excluded$U = ["isOpen", "onClose", "isClosePrevented", "blur", "children"],
17329
- _excluded2$e = ["placement", "size", "children"],
17330
- _excluded3$9 = ["children", "onClose", "buttonPosition"],
17331
- _excluded4$8 = ["children"],
17394
+ _excluded2$f = ["placement", "size", "children"],
17395
+ _excluded3$a = ["children", "onClose", "buttonPosition"],
17396
+ _excluded4$9 = ["children"],
17332
17397
  _excluded5$4 = ["children"];
17333
17398
  var DrawerOverlay = _ref => {
17334
17399
  var {
@@ -17379,7 +17444,7 @@ var DrawerContainer = _ref2 => {
17379
17444
  size = 'md',
17380
17445
  children
17381
17446
  } = _ref2,
17382
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$e);
17447
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$f);
17383
17448
  var handleClick = e => {
17384
17449
  e.stopPropagation();
17385
17450
  };
@@ -17405,7 +17470,7 @@ var DrawerHeader = _ref3 => {
17405
17470
  onClose,
17406
17471
  buttonPosition = 'right'
17407
17472
  } = _ref3,
17408
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$9);
17473
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$a);
17409
17474
  var closeButton = onClose && (/*#__PURE__*/React__default.createElement(appStudio.View, {
17410
17475
  onClick: onClose,
17411
17476
  cursor: "pointer",
@@ -17427,7 +17492,7 @@ var DrawerBody = _ref4 => {
17427
17492
  var {
17428
17493
  children
17429
17494
  } = _ref4,
17430
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$8);
17495
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$9);
17431
17496
  return /*#__PURE__*/React__default.createElement(appStudio.Vertical, Object.assign({
17432
17497
  padding: 24,
17433
17498
  flex: 1,
@@ -18989,7 +19054,7 @@ var TypewriterEffect = _ref => {
18989
19054
  };
18990
19055
 
18991
19056
  var _excluded$Z = ["text", "duration", "direction", "stagger", "sequential", "textStyle", "as", "wordProps"],
18992
- _excluded2$f = ["style"];
19057
+ _excluded2$g = ["style"];
18993
19058
  // CSS keyframes injection - done once
18994
19059
  var KEYFRAMES_ID = 'slide-effect-keyframes';
18995
19060
  var injectKeyframes = () => {
@@ -19084,7 +19149,7 @@ var SlideEffect = _ref => {
19084
19149
  {
19085
19150
  style: customWordStyle
19086
19151
  } = _ref2,
19087
- restWordProps = _objectWithoutPropertiesLoose(_ref2, _excluded2$f);
19152
+ restWordProps = _objectWithoutPropertiesLoose(_ref2, _excluded2$g);
19088
19153
  // Get animation names based on direction
19089
19154
  var isUp = direction === 'up';
19090
19155
  var enterAnim = isUp ? 'slideInUp' : 'slideInDown';
@@ -19877,9 +19942,9 @@ var DropdownMenuItemStates = {
19877
19942
  };
19878
19943
 
19879
19944
  var _excluded$11 = ["children", "views"],
19880
- _excluded2$g = ["items", "side", "align", "views"],
19881
- _excluded3$a = ["item", "views"],
19882
- _excluded4$9 = ["views"],
19945
+ _excluded2$h = ["items", "side", "align", "views"],
19946
+ _excluded3$b = ["item", "views"],
19947
+ _excluded4$a = ["views"],
19883
19948
  _excluded5$5 = ["trigger", "items", "side", "align", "views", "themeMode"];
19884
19949
  // Create context for the DropdownMenu
19885
19950
  var DropdownMenuContext = /*#__PURE__*/React.createContext({
@@ -19944,7 +20009,7 @@ var DropdownMenuContent = _ref3 => {
19944
20009
  align = 'start',
19945
20010
  views
19946
20011
  } = _ref3,
19947
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$g);
20012
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
19948
20013
  var {
19949
20014
  isOpen,
19950
20015
  variant,
@@ -20075,7 +20140,7 @@ var DropdownMenuItem = _ref4 => {
20075
20140
  item,
20076
20141
  views
20077
20142
  } = _ref4,
20078
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$a);
20143
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$b);
20079
20144
  var {
20080
20145
  activeSubmenuId,
20081
20146
  setActiveSubmenuId,
@@ -20140,7 +20205,7 @@ var DropdownMenuDivider = _ref5 => {
20140
20205
  var {
20141
20206
  views
20142
20207
  } = _ref5,
20143
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$9);
20208
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$a);
20144
20209
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
20145
20210
  height: "1px",
20146
20211
  backgroundColor: "color.gray.200",
@@ -24498,9 +24563,9 @@ var SidebarTransitions = {
24498
24563
  };
24499
24564
 
24500
24565
  var _excluded$1e = ["children", "showToggleButton", "views"],
24501
- _excluded2$h = ["children", "views"],
24502
- _excluded3$b = ["children", "views"],
24503
- _excluded4$a = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
24566
+ _excluded2$i = ["children", "views"],
24567
+ _excluded3$c = ["children", "views"],
24568
+ _excluded4$b = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
24504
24569
  // Create context for the Sidebar
24505
24570
  var SidebarContext = /*#__PURE__*/React.createContext({
24506
24571
  isExpanded: true,
@@ -24597,7 +24662,7 @@ var SidebarContent = _ref3 => {
24597
24662
  children,
24598
24663
  views
24599
24664
  } = _ref3,
24600
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
24665
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
24601
24666
  var {
24602
24667
  isExpanded
24603
24668
  } = useSidebarContext();
@@ -24615,7 +24680,7 @@ var SidebarFooter = _ref4 => {
24615
24680
  children,
24616
24681
  views
24617
24682
  } = _ref4,
24618
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$b);
24683
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$c);
24619
24684
  var {
24620
24685
  isExpanded
24621
24686
  } = useSidebarContext();
@@ -24651,7 +24716,7 @@ var SidebarView = _ref5 => {
24651
24716
  collapse,
24652
24717
  views
24653
24718
  } = _ref5,
24654
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$a);
24719
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$b);
24655
24720
  // Determine width based on expanded state and size
24656
24721
  var sizeConfig = SidebarSizes[size];
24657
24722
  var width = isExpanded ? expandedWidth || sizeConfig.expandedWidth : collapsedWidth || sizeConfig.collapsedWidth;
@@ -25173,8 +25238,8 @@ var HandleIconStyles = {
25173
25238
  };
25174
25239
 
25175
25240
  var _excluded$1g = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
25176
- _excluded2$i = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
25177
- _excluded3$c = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
25241
+ _excluded2$j = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
25242
+ _excluded3$d = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
25178
25243
  // Create context for the Resizable component
25179
25244
  var ResizableContext = /*#__PURE__*/React.createContext({
25180
25245
  orientation: 'horizontal',
@@ -25281,7 +25346,7 @@ var ResizableHandle = _ref3 => {
25281
25346
  collapseTarget,
25282
25347
  views
25283
25348
  } = _ref3,
25284
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
25349
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$j);
25285
25350
  var {
25286
25351
  orientation,
25287
25352
  size,
@@ -25421,7 +25486,7 @@ var ResizableView = _ref4 => {
25421
25486
  containerRef,
25422
25487
  views
25423
25488
  } = _ref4,
25424
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$c);
25489
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$d);
25425
25490
  var Container = orientation === 'horizontal' ? appStudio.Horizontal : appStudio.Vertical;
25426
25491
  return /*#__PURE__*/React__default.createElement(Container, Object.assign({
25427
25492
  ref: containerRef,
@@ -26224,9 +26289,9 @@ var CommandFooterStyles = {
26224
26289
  };
26225
26290
 
26226
26291
  var _excluded$1i = ["value", "onValueChange", "placeholder", "views"],
26227
- _excluded2$j = ["children", "views"],
26228
- _excluded3$d = ["heading", "children", "views"],
26229
- _excluded4$b = ["item", "selected", "onSelect", "views"],
26292
+ _excluded2$k = ["children", "views"],
26293
+ _excluded3$e = ["heading", "children", "views"],
26294
+ _excluded4$c = ["item", "selected", "onSelect", "views"],
26230
26295
  _excluded5$6 = ["children", "views"],
26231
26296
  _excluded6$3 = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "emptyState", "footer", "search", "setSearch", "selectedIndex", "setSelectedIndex", "filteredCommands", "filteredGroups", "listRef", "views", "filter"];
26232
26297
  var CommandContext = /*#__PURE__*/React.createContext({
@@ -26287,7 +26352,7 @@ var CommandList = _ref3 => {
26287
26352
  children,
26288
26353
  views
26289
26354
  } = _ref3,
26290
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$j);
26355
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$k);
26291
26356
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandListStyles, views == null ? void 0 : views.container, props), children);
26292
26357
  };
26293
26358
  // Command Group component
@@ -26297,7 +26362,7 @@ var CommandGroup = _ref4 => {
26297
26362
  children,
26298
26363
  views
26299
26364
  } = _ref4,
26300
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$d);
26365
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$e);
26301
26366
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandGroupStyles, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, CommandGroupHeadingStyles, views == null ? void 0 : views.heading), heading), children);
26302
26367
  };
26303
26368
  // Command Item component
@@ -26308,7 +26373,7 @@ var CommandItem = _ref5 => {
26308
26373
  onSelect,
26309
26374
  views
26310
26375
  } = _ref5,
26311
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$b);
26376
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$c);
26312
26377
  var handleClick = () => {
26313
26378
  if (!item.disabled && onSelect) {
26314
26379
  onSelect();
@@ -26694,8 +26759,8 @@ var getArrowStyles = position => {
26694
26759
  };
26695
26760
 
26696
26761
  var _excluded$1k = ["children", "views", "asChild"],
26697
- _excluded2$k = ["children", "views"],
26698
- _excluded3$e = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
26762
+ _excluded2$l = ["children", "views"],
26763
+ _excluded3$f = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
26699
26764
  // Create context for the Tooltip
26700
26765
  var TooltipContext = /*#__PURE__*/React.createContext({
26701
26766
  isOpen: false,
@@ -26765,7 +26830,7 @@ var TooltipContent = _ref3 => {
26765
26830
  children,
26766
26831
  views
26767
26832
  } = _ref3,
26768
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$k);
26833
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$l);
26769
26834
  var {
26770
26835
  isOpen,
26771
26836
  contentRef,
@@ -26795,7 +26860,7 @@ var TooltipView = _ref4 => {
26795
26860
  showArrow = true,
26796
26861
  views
26797
26862
  } = _ref4,
26798
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$e);
26863
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$f);
26799
26864
  var {
26800
26865
  isOpen,
26801
26866
  triggerRef,
@@ -27335,9 +27400,9 @@ var Gradient = props => {
27335
27400
  };
27336
27401
 
27337
27402
  var _excluded$1n = ["children", "showRadialGradient", "views", "themeMode"],
27338
- _excluded2$l = ["number", "children"],
27339
- _excluded3$f = ["rows", "cols", "squareSize"],
27340
- _excluded4$c = ["count", "colors", "speed", "shapes"],
27403
+ _excluded2$m = ["number", "children"],
27404
+ _excluded3$g = ["rows", "cols", "squareSize"],
27405
+ _excluded4$d = ["count", "colors", "speed", "shapes"],
27341
27406
  _excluded5$7 = ["gridSize", "lineColor", "pulseColor", "animationSpeed"],
27342
27407
  _excluded6$4 = ["rippleCount", "colors", "maxSize", "frequency"],
27343
27408
  _excluded7$1 = ["children", "src", "backgroundSize", "backgroundPosition", "backgroundRepeat", "backgroundAttachment", "imageOpacity", "overlay", "blendMode", "views", "themeMode"],
@@ -27379,7 +27444,7 @@ var Meteors = _ref2 => {
27379
27444
  number = 20,
27380
27445
  children
27381
27446
  } = _ref2,
27382
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$l);
27447
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$m);
27383
27448
  var meteors = Array.from({
27384
27449
  length: number
27385
27450
  }, (_, i) => i);
@@ -27447,7 +27512,7 @@ var Wall = _ref3 => {
27447
27512
  cols = 10,
27448
27513
  squareSize = 40
27449
27514
  } = _ref3,
27450
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$f);
27515
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$g);
27451
27516
  var rowsArray = Array(rows).fill(1);
27452
27517
  var colsArray = Array(cols).fill(1);
27453
27518
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
@@ -27490,7 +27555,7 @@ var Particles = _ref4 => {
27490
27555
  speed = 'medium',
27491
27556
  shapes = ['circle']
27492
27557
  } = _ref4,
27493
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$c);
27558
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$d);
27494
27559
  var particles = Array.from({
27495
27560
  length: count
27496
27561
  }, (_, i) => i);