@app-studio/web 0.9.46 → 0.9.47

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.
@@ -4802,7 +4802,7 @@
4802
4802
  */
4803
4803
  var ButtonSizes = {
4804
4804
  xs: {
4805
- minHeight: 3 * 4,
4805
+ minHeight: 8 * 4,
4806
4806
  paddingTop: 1,
4807
4807
  paddingBottom: 1,
4808
4808
  paddingLeft: 2,
@@ -4813,7 +4813,7 @@
4813
4813
  letterSpacing: '-0.01em'
4814
4814
  },
4815
4815
  sm: {
4816
- minHeight: 4 * 4,
4816
+ minHeight: 10 * 4,
4817
4817
  paddingTop: 4,
4818
4818
  paddingBottom: 4,
4819
4819
  paddingLeft: 8,
@@ -4824,18 +4824,18 @@
4824
4824
  letterSpacing: '-0.01em'
4825
4825
  },
4826
4826
  md: {
4827
- minHeight: 6 * 4,
4828
- paddingTop: 6,
4829
- paddingBottom: 6,
4830
- paddingLeft: 12,
4831
- paddingRight: 12,
4832
- fontSize: 14,
4833
- fontWeight: '500',
4834
- lineHeight: 18,
4827
+ minHeight: 12 * 4,
4828
+ paddingTop: 8,
4829
+ paddingBottom: 8,
4830
+ paddingLeft: 20,
4831
+ paddingRight: 20,
4832
+ fontSize: 16,
4833
+ fontWeight: 550,
4834
+ lineHeight: 24,
4835
4835
  letterSpacing: '-0.01em'
4836
4836
  },
4837
4837
  lg: {
4838
- minHeight: 8 * 4,
4838
+ minHeight: 14 * 4,
4839
4839
  paddingTop: 8,
4840
4840
  paddingBottom: 8,
4841
4841
  paddingLeft: 16,
@@ -4846,7 +4846,7 @@
4846
4846
  letterSpacing: '-0.01em'
4847
4847
  },
4848
4848
  xl: {
4849
- minHeight: 10 * 4,
4849
+ minHeight: 16 * 4,
4850
4850
  paddingTop: 10,
4851
4851
  paddingBottom: 10,
4852
4852
  paddingLeft: 20,
@@ -4895,142 +4895,387 @@
4895
4895
  padding: 14
4896
4896
  }
4897
4897
  };
4898
- var getButtonVariants = (color, isLight) => ({
4899
- filled: {
4900
- backgroundColor: color,
4901
- color: isLight ? 'color.black' : 'color.white',
4902
- borderWidth: 1,
4903
- borderStyle: 'solid',
4904
- borderColor: 'transparent',
4905
- _hover: {
4906
- opacity: 0.9
4907
- },
4908
- _active: {
4909
- opacity: 0.95
4910
- },
4911
- _focusVisible: {
4912
- outline: 'none',
4913
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4914
- },
4915
- transition: 'background-color 0.2s ease, opacity 0.2s ease'
4916
- },
4917
- outline: {
4918
- backgroundColor: 'transparent',
4919
- color: color,
4920
- borderWidth: 1,
4921
- borderStyle: 'solid',
4922
- borderColor: color,
4923
- _hover: {
4924
- backgroundColor: color,
4925
- color: isLight ? 'color.black' : 'color.white',
4926
- opacity: 0.9
4927
- },
4928
- _active: {
4898
+ var getButtonVariants = function getButtonVariants(color, isLight, isThemeLight) {
4899
+ var textColor = isLight ? '#000000' : '#FFFFFF';
4900
+ return {
4901
+ filled: {
4929
4902
  backgroundColor: color,
4930
- color: isLight ? 'color.black' : 'color.white',
4931
- opacity: 0.95
4903
+ color: textColor,
4904
+ borderWidth: 1,
4905
+ borderStyle: 'solid',
4906
+ borderColor: 'transparent',
4907
+ _hover: {
4908
+ opacity: 0.9,
4909
+ color: textColor
4910
+ },
4911
+ _active: {
4912
+ opacity: 0.95,
4913
+ color: textColor
4914
+ },
4915
+ _focusVisible: {
4916
+ outline: 'none',
4917
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color,
4918
+ color: textColor
4919
+ },
4920
+ transition: 'background-color 0.2s ease, opacity 0.2s ease'
4932
4921
  },
4933
- _focusVisible: {
4934
- outline: 'none',
4935
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4922
+ outline: {
4923
+ backgroundColor: 'transparent',
4924
+ color: color,
4925
+ borderWidth: 1,
4926
+ borderStyle: 'solid',
4927
+ borderColor: color,
4928
+ _hover: {
4929
+ backgroundColor: color,
4930
+ color: textColor,
4931
+ opacity: 0.9
4932
+ },
4933
+ _active: {
4934
+ backgroundColor: color,
4935
+ color: textColor,
4936
+ opacity: 0.95
4937
+ },
4938
+ _focusVisible: {
4939
+ outline: 'none',
4940
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4941
+ },
4942
+ transition: 'background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease'
4936
4943
  },
4937
- transition: 'background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease'
4938
- },
4939
- ghost: {
4940
- backgroundColor: 'transparent',
4941
- color: color,
4942
- borderWidth: 0,
4943
- borderStyle: 'none',
4944
- borderColor: 'transparent',
4945
- _hover: {
4946
- backgroundColor: isLight ? 'color.gray.100' : 'color.gray.800',
4947
- opacity: 0.9
4944
+ ghost: {
4945
+ backgroundColor: 'transparent',
4946
+ color: color,
4947
+ borderWidth: 1,
4948
+ borderStyle: 'solid',
4949
+ borderColor: 'transparent',
4950
+ _hover: {
4951
+ borderWidth: 1,
4952
+ borderStyle: 'solid',
4953
+ borderColor: color,
4954
+ color: color,
4955
+ opacity: 0.9
4956
+ },
4957
+ _active: {
4958
+ color: color,
4959
+ opacity: 0.95
4960
+ },
4961
+ _focusVisible: {
4962
+ outline: 'none',
4963
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4964
+ },
4965
+ transition: 'background-color 0.2s ease, opacity 0.2s ease'
4948
4966
  },
4949
- _active: {
4950
- backgroundColor: isLight ? 'color.gray.200' : 'color.gray.700',
4951
- opacity: 0.95
4967
+ link: {
4968
+ backgroundColor: 'transparent',
4969
+ color: color,
4970
+ borderWidth: 0,
4971
+ borderStyle: 'none',
4972
+ borderColor: 'transparent',
4973
+ textDecoration: 'underline',
4974
+ textUnderlineOffset: '2px',
4975
+ textDecorationThickness: '1px',
4976
+ textDecorationColor: color,
4977
+ _hover: {
4978
+ color: color,
4979
+ opacity: 0.8
4980
+ },
4981
+ _active: {
4982
+ color: color,
4983
+ opacity: 0.9
4984
+ },
4985
+ _focusVisible: {
4986
+ outline: 'none',
4987
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4988
+ },
4989
+ transition: 'opacity 0.2s ease'
4952
4990
  },
4953
- _focusVisible: {
4954
- outline: 'none',
4955
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4991
+ borderMoving: {
4992
+ position: 'relative',
4993
+ backgroundColor: 'black',
4994
+ color: textColor,
4995
+ overflow: 'hidden',
4996
+ borderWidth: 0,
4997
+ borderStyle: 'none',
4998
+ borderColor: 'transparent',
4999
+ _hover: {
5000
+ color: textColor
5001
+ },
5002
+ _active: {
5003
+ color: textColor
5004
+ },
5005
+ _focusVisible: {
5006
+ outline: 'none',
5007
+ boxShadow: '0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px rgba(0, 0, 0, 0.8)'
5008
+ },
5009
+ transition: 'opacity 0.2s ease'
4956
5010
  },
4957
- transition: 'background-color 0.2s ease, opacity 0.2s ease'
4958
- },
4959
- link: {
4960
- backgroundColor: 'transparent',
4961
- color: isLight ? color : 'color.black',
4962
- borderWidth: 0,
4963
- borderStyle: 'none',
4964
- borderColor: 'transparent',
4965
- textDecoration: 'underline',
4966
- textUnderlineOffset: '2px',
4967
- textDecorationThickness: '1px',
4968
- _hover: {
4969
- opacity: 0.8
5011
+ animatedStroke: {
5012
+ display: 'inline-block',
5013
+ margin: '0 auto',
5014
+ textAlign: 'center',
5015
+ textDecoration: 'none',
5016
+ position: 'relative',
5017
+ cursor: 'pointer',
5018
+ backgroundColor: 'transparent',
5019
+ color: color,
5020
+ borderWidth: 0,
5021
+ borderStyle: 'none',
5022
+ borderColor: 'transparent',
5023
+ _hover: {
5024
+ color: color
5025
+ },
5026
+ _active: {
5027
+ color: color
5028
+ },
5029
+ _focusVisible: {
5030
+ outline: 'none',
5031
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5032
+ },
5033
+ transition: 'opacity 0.2s ease'
5034
+ }
5035
+ };
5036
+ };
5037
+
5038
+ var _excluded$d = ["shape", "size", "isDisabled", "onClick", "views", "mainTone", "tone", "borderMovingGradientColors", "borderMovingDuration", "content", "shadow"],
5039
+ _excluded2$3 = ["to", "onClick", "views", "children", "size", "accentColor", "textColor", "getColor", "shadow"],
5040
+ _excluded3$3 = ["variant", "to", "isDisabled", "isLoading", "isAuto", "isFilled", "isExternal", "shape", "shadow", "onClick", "views", "baseStyles", "sizeStyles", "iconPad", "resolvedTextColor", "content", "size"],
5041
+ _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"];
5042
+ // --- Helper: Button Content ---
5043
+ // Renders the inner content: Loader, Icon, and Children.
5044
+ var ButtonContent = _ref => {
5045
+ var {
5046
+ children,
5047
+ icon,
5048
+ isLoading,
5049
+ iconPosition = 'left',
5050
+ loaderPosition = 'left',
5051
+ size = 'md',
5052
+ resolvedTextColor,
5053
+ isIconRounded,
5054
+ views
5055
+ } = _ref;
5056
+ var Wrapper = ['left', 'right'].includes(iconPosition) ? appStudio.Horizontal : appStudio.Vertical;
5057
+ var sizeStyles = ButtonSizes[size];
5058
+ var iconPad = isIconRounded ? IconSizes$1[size] : {};
5059
+ return /*#__PURE__*/React__default.createElement(Wrapper, Object.assign({
5060
+ gap: 8,
5061
+ alignItems: "center",
5062
+ justifyContent: "center"
5063
+ }, sizeStyles, iconPad, views == null ? void 0 : views.content), isLoading && loaderPosition === 'left' && (/*#__PURE__*/React__default.createElement(Loader, Object.assign({
5064
+ size: size === 'xs' || size === 'sm' ? 'sm' : 'md',
5065
+ color: 'currentColor'
5066
+ }, views == null ? void 0 : views.loader))), icon && ['left', 'top'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5067
+ color: 'currentColor'
5068
+ }, views == null ? void 0 : views.icon), icon)), children, icon && ['right', 'bottom'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5069
+ color: 'currentColor'
5070
+ }, views == null ? void 0 : views.icon), icon)), isLoading && loaderPosition === 'right' && (/*#__PURE__*/React__default.createElement(Loader, Object.assign({
5071
+ size: size === 'xs' || size === 'sm' ? 'sm' : 'md',
5072
+ color: 'currentColor'
5073
+ }, views == null ? void 0 : views.loader))));
5074
+ };
5075
+ // --- Variant: Border Moving ---
5076
+ var BorderMovingButton = _ref2 => {
5077
+ var {
5078
+ shape = 'rounded',
5079
+ size = 'md',
5080
+ isDisabled,
5081
+ onClick,
5082
+ views,
5083
+ mainTone,
5084
+ tone,
5085
+ borderMovingGradientColors,
5086
+ borderMovingDuration,
5087
+ content,
5088
+ shadow
5089
+ } = _ref2,
5090
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$d);
5091
+ var sizeStyles = ButtonSizes[size];
5092
+ var borderWidth = 3;
5093
+ var numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5094
+ var numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 64;
5095
+ var numericBorderRadius = (() => {
5096
+ var shapeValue = ButtonShapes[shape];
5097
+ if (typeof shapeValue === 'number') {
5098
+ return shapeValue;
5099
+ }
5100
+ if (typeof shapeValue === 'string') {
5101
+ return parseInt(shapeValue, 10) || 50;
5102
+ }
5103
+ return 50;
5104
+ })();
5105
+ var containerBg = mainTone;
5106
+ // Use high contrast text color for this variant
5107
+ var borderMovingTextColor = tone === 'light' ? '#000000' : '#FFFFFF';
5108
+ // Create gradient string for border animation
5109
+ var gradientColors = borderMovingGradientColors.join(', ');
5110
+ // Animation sequence for the moving border effect
5111
+ var borderAnimation = {
5112
+ from: {
5113
+ backgroundPosition: '0% 50%'
4970
5114
  },
4971
- _active: {
4972
- opacity: 0.9
5115
+ to: {
5116
+ backgroundPosition: '200% 50%'
4973
5117
  },
4974
- _focusVisible: {
4975
- outline: 'none',
4976
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5118
+ duration: borderMovingDuration + "s",
5119
+ timingFunction: 'linear',
5120
+ iterationCount: 'infinite'
5121
+ };
5122
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5123
+ position: "relative",
5124
+ display: "inline-flex",
5125
+ alignItems: "center",
5126
+ justifyContent: "center",
5127
+ borderRadius: ButtonShapes[shape],
5128
+ cursor: isDisabled ? 'default' : 'pointer',
5129
+ onClick: onClick,
5130
+ boxShadow: shadow,
5131
+ padding: borderWidth,
5132
+ background: "linear-gradient(90deg, " + borderMovingGradientColors[0] + ", " + borderMovingGradientColors[1] + ", " + borderMovingGradientColors[2] + ", " + borderMovingGradientColors[0] + ")",
5133
+ backgroundSize: "200% 100%",
5134
+ animate: borderAnimation
5135
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, {
5136
+ display: "flex",
5137
+ alignItems: "center",
5138
+ justifyContent: "center",
5139
+ backgroundColor: containerBg,
5140
+ borderRadius: Math.max(0, numericBorderRadius - borderWidth),
5141
+ width: "100%",
5142
+ height: "100%",
5143
+ minWidth: numericWidth - borderWidth * 2,
5144
+ minHeight: numericHeight - borderWidth * 2,
5145
+ color: borderMovingTextColor,
5146
+ fontSize: 14,
5147
+ cursor: "pointer"
5148
+ }, content));
5149
+ };
5150
+ // --- Variant: Animated Stroke ---
5151
+ var AnimatedStrokeButton = _ref3 => {
5152
+ var {
5153
+ to,
5154
+ onClick,
5155
+ views,
5156
+ children,
5157
+ size = 'md',
5158
+ accentColor,
5159
+ textColor,
5160
+ getColor,
5161
+ shadow
5162
+ } = _ref3,
5163
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$3);
5164
+ var resolvedAccentColor = getColor(accentColor);
5165
+ var resolvedTextColor = getColor(textColor);
5166
+ var sizeStyles = ButtonSizes[size];
5167
+ var numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5168
+ var numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 60;
5169
+ var strokeAnimation = {
5170
+ from: {
5171
+ strokeWidth: '8px',
5172
+ strokeDasharray: '0 500',
5173
+ strokeDashoffset: -454
4977
5174
  },
4978
- transition: 'opacity 0.2s ease'
4979
- },
4980
- borderMoving: {
4981
- position: 'relative',
4982
- backgroundColor: 'black',
4983
- overflow: 'hidden',
4984
- color: 'white',
4985
- borderWidth: 0,
4986
- borderStyle: 'none',
4987
- borderColor: 'transparent',
4988
- _focusVisible: {
4989
- outline: 'none',
4990
- boxShadow: '0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px rgba(0, 0, 0, 0.8)'
5175
+ to: {
5176
+ strokeWidth: '3px',
5177
+ strokeDasharray: '760',
5178
+ strokeDashoffset: 0
4991
5179
  },
4992
- transition: 'opacity 0.2s ease'
4993
- },
4994
- animatedStroke: {
4995
- display: 'inline-block',
4996
- maxWidth: '20rem',
4997
- margin: '0 auto',
4998
- textAlign: 'center',
4999
- textDecoration: 'none',
5000
- position: 'relative',
5001
- cursor: 'pointer',
5002
- backgroundColor: 'transparent',
5003
- borderWidth: 0,
5004
- borderStyle: 'none',
5005
- borderColor: 'transparent',
5006
- _focusVisible: {
5007
- outline: 'none',
5008
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5009
- },
5010
- transition: 'opacity 0.2s ease'
5011
- }
5012
- });
5013
- /**
5014
- * Generate offset path for border animation
5015
- */
5016
- function generateOffsetPath(width, height, borderRadius) {
5017
- var radius;
5018
- if (typeof borderRadius === 'string' && borderRadius.endsWith('%')) {
5019
- var percentage = parseFloat(borderRadius) / 100;
5020
- radius = Math.min(width, height) * percentage;
5021
- } else {
5022
- radius = parseFloat(borderRadius.toString());
5023
- }
5024
- radius = Math.min(radius, width / 2, height / 2);
5025
- if (radius === 0) {
5026
- return "M 0,0 H " + width + " V " + height + " H 0 Z";
5027
- }
5028
- 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 ";
5029
- }
5030
-
5031
- 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"];
5032
- var ButtonView = _ref => {
5033
- var _ref2;
5180
+ duration: '0.9s',
5181
+ timingFunction: 'ease-in',
5182
+ fillMode: 'forwards'
5183
+ };
5184
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5185
+ as: to ? 'a' : 'div',
5186
+ href: to ? to : undefined,
5187
+ onClick: onClick,
5188
+ display: "inline-block",
5189
+ maxWidth: "20rem",
5190
+ margin: "0 auto",
5191
+ textAlign: "center",
5192
+ textDecoration: "none",
5193
+ position: "relative",
5194
+ cursor: "pointer",
5195
+ boxShadow: shadow
5196
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, {
5197
+ as: "svg",
5198
+ display: "block",
5199
+ height: numericHeight,
5200
+ width: numericWidth,
5201
+ xmlns: "http://www.w3.org/2000/svg"
5202
+ }, /*#__PURE__*/React__default.createElement(appStudio.View, {
5203
+ as: "rect",
5204
+ height: numericHeight,
5205
+ width: numericWidth,
5206
+ fill: "transparent",
5207
+ stroke: resolvedAccentColor,
5208
+ strokeWidth: "8px",
5209
+ strokeDasharray: "0 500",
5210
+ strokeDashoffset: -454,
5211
+ on: {
5212
+ hover: {
5213
+ animate: strokeAnimation
5214
+ }
5215
+ }
5216
+ })), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5217
+ position: "absolute",
5218
+ top: 0,
5219
+ right: 0,
5220
+ bottom: 0,
5221
+ left: 0,
5222
+ display: "flex",
5223
+ alignItems: "center",
5224
+ justifyContent: "center",
5225
+ textAlign: "center",
5226
+ pointerEvents: "none",
5227
+ userSelect: "none",
5228
+ color: resolvedTextColor
5229
+ }, sizeStyles), children));
5230
+ };
5231
+ // --- Variant: Standard Button ---
5232
+ var StandardButton = _ref4 => {
5233
+ var {
5234
+ variant,
5235
+ to,
5236
+ isDisabled,
5237
+ isLoading,
5238
+ isAuto,
5239
+ isFilled,
5240
+ isExternal,
5241
+ shape = 'rounded',
5242
+ shadow,
5243
+ onClick,
5244
+ views,
5245
+ baseStyles,
5246
+ sizeStyles,
5247
+ iconPad,
5248
+ content // Destructure size to avoid passing it to Element
5249
+ } = _ref4,
5250
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$3);
5251
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5252
+ as: variant === 'link' && to ? 'div' : 'button',
5253
+ type: variant === 'link' && to ? undefined : 'button',
5254
+ disabled: Boolean(isDisabled || isLoading)
5255
+ }, sizeStyles, iconPad, {
5256
+ display: "inline-flex",
5257
+ alignItems: "center",
5258
+ justifyContent: "center",
5259
+ width: isAuto ? 'fit-content' : isFilled ? '100%' : undefined,
5260
+ /* visuals */
5261
+ borderRadius: ButtonShapes[shape],
5262
+ boxShadow: shadow,
5263
+ transition: "all 0.2s ease",
5264
+ cursor: isDisabled ? 'default' : 'pointer',
5265
+ onClick: onClick
5266
+ }, baseStyles, views == null ? void 0 : views.container, props), to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
5267
+ to: to,
5268
+ isExternal: isExternal,
5269
+ color: "currentColor",
5270
+ textDecoration: "inherit",
5271
+ _hover: {
5272
+ color: 'currentColor'
5273
+ }
5274
+ }, views == null ? void 0 : views.link), content)) : content);
5275
+ };
5276
+ // --- Main Component ---
5277
+ var ButtonView = _ref5 => {
5278
+ var _ref6, _base$color;
5034
5279
  var {
5035
5280
  /* behaviour */
5036
5281
  variant = 'filled',
@@ -5040,8 +5285,10 @@
5040
5285
  loaderPosition = 'left',
5041
5286
  backgroundColor,
5042
5287
  // primary candidate for main color
5043
- color // 2nd candidate for main color (NOT text‑color)
5044
- ,
5288
+ color,
5289
+ // 2nd candidate for main color (NOT text‑color)
5290
+ isAuto,
5291
+ isFilled,
5045
5292
  isDisabled,
5046
5293
  isLoading,
5047
5294
  isIconRounded,
@@ -5061,8 +5308,8 @@
5061
5308
  borderMovingGradientColors = ['#705CFF', '#FF5C97', '#FFC75C'],
5062
5309
  animatedStrokeAccentColor = '#705CFF',
5063
5310
  animatedStrokeTextColor = '#333333'
5064
- } = _ref,
5065
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
5311
+ } = _ref5,
5312
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$3);
5066
5313
  /* theme helpers */
5067
5314
  var {
5068
5315
  getColor,
@@ -5070,237 +5317,78 @@
5070
5317
  } = appStudio.useTheme();
5071
5318
  var mode = elementMode != null ? elementMode : themeMode;
5072
5319
  /* MAIN COLOR – determines the entire palette */
5073
- var mainColorKey = (_ref2 = backgroundColor != null ? backgroundColor : color) != null ? _ref2 : 'theme.primary';
5320
+ var mainColorKey = (_ref6 = backgroundColor != null ? backgroundColor : color) != null ? _ref6 : 'theme.primary';
5074
5321
  var mainTone = getColor(isDisabled ? 'theme.disabled' : mainColorKey, {
5075
5322
  themeMode: mode
5076
5323
  });
5077
5324
  var tone = contrast(mainTone);
5325
+ /* text color with mixBlendMode for maximum visibility */
5326
+ var textColor = tone === 'light' ? '#000000' : '#FFFFFF';
5078
5327
  /* variant palette */
5079
- var palette = React.useMemo(() => getButtonVariants(mainTone, tone == 'light'), [mainTone, tone]);
5328
+ var palette = React.useMemo(() => getButtonVariants(mainTone, tone === 'light'), [mainTone, tone, mode]);
5080
5329
  var base = palette[variant];
5081
- /* layout helpers */
5082
- var Wrapper = ['left', 'right'].includes(iconPosition) ? appStudio.Horizontal : appStudio.Vertical;
5083
- var sizeStyles = ButtonSizes[size];
5084
- var iconPad = isIconRounded ? IconSizes$1[size] : {};
5085
- var content = /*#__PURE__*/React__default.createElement(Wrapper, Object.assign({
5086
- gap: 8,
5087
- alignItems: "center",
5088
- justifyContent: "center",
5089
- color: 'inherit',
5090
- _hover: {
5091
- color: 'inherit'
5092
- }
5093
- }, sizeStyles, views == null ? void 0 : views.content), isLoading && loaderPosition === 'left' && (/*#__PURE__*/React__default.createElement(Loader, Object.assign({
5094
- size: size === 'xs' || size === 'sm' ? 'sm' : 'md',
5095
- color: 'inherit',
5096
- _hover: {
5097
- color: 'inherit'
5098
- }
5099
- }, views == null ? void 0 : views.loader))), icon && ['left', 'top'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5100
- color: 'inherit',
5101
- _hover: {
5102
- color: 'inherit'
5103
- }
5104
- }, views == null ? void 0 : views.icon), icon)), children, icon && ['right', 'bottom'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5105
- color: 'inherit',
5106
- _hover: {
5107
- color: 'inherit'
5108
- }
5109
- }, views == null ? void 0 : views.icon), icon)), isLoading && loaderPosition === 'right' && (/*#__PURE__*/React__default.createElement(Loader, Object.assign({
5110
- size: size === 'xs' || size === 'sm' ? 'sm' : 'md',
5111
- color: 'inherit',
5112
- _hover: {
5113
- color: 'inherit'
5114
- }
5115
- }, views == null ? void 0 : views.loader))));
5116
- // Handle special effect variants
5330
+ var resolvedTextColor = (_base$color = base == null ? void 0 : base.color) != null ? _base$color : textColor;
5331
+ // Render content logic safely
5332
+ var content = /*#__PURE__*/React__default.createElement(ButtonContent, {
5333
+ icon: icon,
5334
+ isLoading: isLoading,
5335
+ iconPosition: iconPosition,
5336
+ loaderPosition: loaderPosition,
5337
+ size: size,
5338
+ resolvedTextColor: resolvedTextColor,
5339
+ isIconRounded: isIconRounded,
5340
+ views: views
5341
+ }, children);
5342
+ // Dispatch to the correct variant component
5117
5343
  if (variant === 'borderMoving') {
5118
- var borderWidth = 5;
5119
- var numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5120
- var numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 64;
5121
- var numericBorderRadius = (() => {
5122
- var shapeValue = ButtonShapes[shape];
5123
- if (typeof shapeValue === 'number') {
5124
- return shapeValue;
5125
- }
5126
- if (typeof shapeValue === 'string') {
5127
- return parseInt(shapeValue, 10) || 50;
5128
- }
5129
- return 50;
5130
- })();
5131
- var path = generateOffsetPath(numericWidth, numericHeight, numericBorderRadius);
5132
- // Determine background color from props or use mainTone
5133
- var containerBg = mainTone;
5134
- // Calculate text color with proper contrast
5135
- var borderMovingTextColor = tone === 'light' ? '#000000' : '#FFFFFF';
5136
- return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5137
- width: numericWidth,
5138
- height: numericHeight,
5139
- position: "relative",
5140
- backgroundColor: containerBg,
5141
- overflow: "hidden",
5142
- borderRadius: ButtonShapes[shape],
5143
- cursor: isDisabled ? 'default' : 'pointer',
5144
- onClick: onClick
5145
- }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement("svg", {
5146
- width: numericWidth,
5147
- height: numericHeight,
5148
- style: {
5149
- position: 'absolute',
5150
- top: 0,
5151
- left: 0,
5152
- zIndex: 1
5153
- }
5154
- }, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("linearGradient", {
5155
- id: "circleGradient",
5156
- x1: "0%",
5157
- y1: "100%",
5158
- x2: "100%",
5159
- y2: "100%"
5160
- }, /*#__PURE__*/React__default.createElement("stop", {
5161
- offset: "0%",
5162
- stopColor: "transparent"
5163
- }), /*#__PURE__*/React__default.createElement("stop", {
5164
- offset: "30%",
5165
- stopColor: borderMovingGradientColors[0]
5166
- }), /*#__PURE__*/React__default.createElement("stop", {
5167
- offset: "60%",
5168
- stopColor: borderMovingGradientColors[1]
5169
- }), /*#__PURE__*/React__default.createElement("stop", {
5170
- offset: "100%",
5171
- stopColor: borderMovingGradientColors[2]
5172
- })), /*#__PURE__*/React__default.createElement("path", {
5173
- id: "uniqueId",
5174
- d: path,
5175
- fill: "none",
5176
- stroke: "transparent"
5177
- })), /*#__PURE__*/React__default.createElement("circle", {
5178
- r: "30",
5179
- fill: "url(#circleGradient)"
5180
- }, /*#__PURE__*/React__default.createElement("animateMotion", {
5181
- dur: borderMovingDuration + 's',
5182
- repeatCount: "indefinite",
5183
- path: path
5184
- }))), /*#__PURE__*/React__default.createElement(appStudio.View, {
5185
- position: "absolute",
5186
- backgroundColor: containerBg,
5187
- borderRadius: Math.max(0, numericBorderRadius - 1),
5188
- top: borderWidth,
5189
- bottom: borderWidth,
5190
- left: borderWidth,
5191
- right: borderWidth,
5192
- zIndex: 2
5193
- }), /*#__PURE__*/React__default.createElement(appStudio.View, {
5194
- position: "relative",
5195
- width: "100%",
5196
- height: "100%",
5197
- display: "flex",
5198
- alignItems: "center",
5199
- justifyContent: "center",
5200
- color: borderMovingTextColor,
5201
- fontSize: 14,
5202
- zIndex: 3,
5203
- style: {
5204
- cursor: 'pointer'
5205
- }
5206
- }, content));
5344
+ return /*#__PURE__*/React__default.createElement(BorderMovingButton, Object.assign({
5345
+ variant: variant,
5346
+ shape: shape,
5347
+ size: size,
5348
+ isDisabled: isDisabled,
5349
+ onClick: onClick,
5350
+ views: views,
5351
+ mainTone: mainTone,
5352
+ tone: tone,
5353
+ borderMovingGradientColors: borderMovingGradientColors,
5354
+ borderMovingDuration: borderMovingDuration,
5355
+ content: content
5356
+ }, props));
5207
5357
  }
5208
5358
  if (variant === 'animatedStroke') {
5209
- var resolvedAccentColor = getColor(animatedStrokeAccentColor);
5210
- var resolvedTextColor = getColor(animatedStrokeTextColor);
5211
- var _numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5212
- var _numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 60;
5213
- var strokeAnimation = {
5214
- from: {
5215
- strokeWidth: '8px',
5216
- strokeDasharray: '0 500',
5217
- strokeDashoffset: -454
5218
- },
5219
- to: {
5220
- strokeWidth: '3px',
5221
- strokeDasharray: '760',
5222
- strokeDashoffset: 0
5223
- },
5224
- duration: '0.9s',
5225
- timingFunction: 'ease-in',
5226
- fillMode: 'forwards'
5227
- };
5228
- return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5229
- as: to ? 'a' : 'div',
5230
- href: to ? to : undefined,
5359
+ return /*#__PURE__*/React__default.createElement(AnimatedStrokeButton, Object.assign({
5360
+ variant: variant,
5361
+ to: to,
5231
5362
  onClick: onClick,
5232
- display: "inline-block",
5233
- maxWidth: "20rem",
5234
- margin: "0 auto",
5235
- textAlign: "center",
5236
- textDecoration: "none",
5237
- position: "relative",
5238
- cursor: "pointer"
5239
- }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, {
5240
- as: "svg",
5241
- display: "block",
5242
- height: _numericHeight,
5243
- width: _numericWidth,
5244
- xmlns: "http://www.w3.org/2000/svg"
5245
- }, /*#__PURE__*/React__default.createElement(appStudio.View, {
5246
- as: "rect",
5247
- height: _numericHeight,
5248
- width: _numericWidth,
5249
- fill: "transparent",
5250
- stroke: resolvedAccentColor,
5251
- strokeWidth: "8px",
5252
- strokeDasharray: "120 500",
5253
- strokeDashoffset: -454,
5254
- on: {
5255
- hover: {
5256
- animate: strokeAnimation
5257
- }
5258
- }
5259
- })), /*#__PURE__*/React__default.createElement(appStudio.View, {
5260
- position: "absolute",
5261
- top: 0,
5262
- right: 0,
5263
- bottom: 0,
5264
- left: 0,
5265
- display: "flex",
5266
- alignItems: "center",
5267
- justifyContent: "center",
5268
- paddingX: 16,
5269
- paddingY: 8,
5270
- fontSize: "22px",
5271
- lineHeight: "1.3",
5272
- letterSpacing: "0.3rem",
5273
- textAlign: "center",
5274
- textTransform: "uppercase",
5275
- whiteSpace: "normal",
5276
- wordBreak: "break-word",
5277
- pointerEvents: "none",
5278
- userSelect: "none",
5279
- color: resolvedTextColor
5280
- }, children));
5363
+ views: views,
5364
+ size: size,
5365
+ accentColor: animatedStrokeAccentColor,
5366
+ textColor: animatedStrokeTextColor,
5367
+ getColor: getColor
5368
+ }, props), children);
5281
5369
  }
5282
- return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5283
- as: variant === 'link' && to ? 'div' : 'button',
5284
- type: variant === 'link' && to ? undefined : 'button',
5285
- disabled: Boolean(isDisabled || isLoading)
5286
- }, sizeStyles, iconPad, {
5287
- display: "flex",
5288
- alignItems: "center",
5289
- justifyContent: "center",
5290
- // width={isAuto ? 'fit-content' : isFilled ? '100%' : undefined}
5291
- /* visuals */
5292
- borderRadius: ButtonShapes[shape],
5293
- boxShadow: shadow,
5294
- transition: "all 0.2s ease",
5295
- cursor: isDisabled ? 'default' : 'pointer',
5296
- onClick: onClick
5297
- }, base, views == null ? void 0 : views.container, props), to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
5370
+ // Standard variants (filled, outline, ghost, link)
5371
+ var sizeStyles = ButtonSizes[size];
5372
+ var iconPad = isIconRounded ? IconSizes$1[size] : {};
5373
+ return /*#__PURE__*/React__default.createElement(StandardButton, Object.assign({
5374
+ variant: variant,
5298
5375
  to: to,
5376
+ isDisabled: isDisabled,
5377
+ isLoading: isLoading,
5378
+ isAuto: isAuto,
5379
+ isFilled: isFilled,
5299
5380
  isExternal: isExternal,
5300
- color: 'inherit',
5301
- textDecoration: 'inherit',
5302
- textDecorationColor: 'inherit'
5303
- }, views == null ? void 0 : views.link), content)) : content);
5381
+ shape: shape,
5382
+ shadow: shadow,
5383
+ onClick: onClick,
5384
+ views: views,
5385
+ baseStyles: base,
5386
+ sizeStyles: sizeStyles,
5387
+ iconPad: iconPad,
5388
+ resolvedTextColor: resolvedTextColor,
5389
+ content: content,
5390
+ size: size
5391
+ }, props));
5304
5392
  };
5305
5393
 
5306
5394
  // Importing a custom hook to manage the state specific to the button component.
@@ -5436,9 +5524,9 @@
5436
5524
  };
5437
5525
 
5438
5526
  var _excluded$e = ["children", "views", "style", "themeMode"],
5439
- _excluded2$3 = ["children", "views", "style", "themeMode"],
5440
- _excluded3$3 = ["children", "views", "style", "themeMode"],
5441
- _excluded4$3 = ["variant", "size", "shape", "children", "header", "footer", "isFullWidth", "views", "style", "themeMode"];
5527
+ _excluded2$4 = ["children", "views", "style", "themeMode"],
5528
+ _excluded3$4 = ["children", "views", "style", "themeMode"],
5529
+ _excluded4$4 = ["variant", "size", "shape", "children", "header", "footer", "isFullWidth", "views", "style", "themeMode"];
5442
5530
  var CardHeader = _ref => {
5443
5531
  var _contextStyles$header;
5444
5532
  var {
@@ -5463,7 +5551,7 @@
5463
5551
  children,
5464
5552
  style
5465
5553
  } = _ref2,
5466
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
5554
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
5467
5555
  var theme = appStudio.useTheme();
5468
5556
  var {
5469
5557
  styles: contextStyles
@@ -5481,7 +5569,7 @@
5481
5569
  children,
5482
5570
  style
5483
5571
  } = _ref3,
5484
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$3);
5572
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
5485
5573
  var theme = appStudio.useTheme();
5486
5574
  var {
5487
5575
  styles: contextStyles
@@ -5507,7 +5595,7 @@
5507
5595
  style,
5508
5596
  themeMode: elementMode
5509
5597
  } = _ref4,
5510
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$3);
5598
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$4);
5511
5599
  var theme = appStudio.useTheme();
5512
5600
  var defaultStyles = getDefaultCardStyles();
5513
5601
  // Prepare context value, merging default styles with user's `views` overrides
@@ -5840,9 +5928,9 @@
5840
5928
  };
5841
5929
 
5842
5930
  var _excluded$f = ["children", "isActive", "views"],
5843
- _excluded2$4 = ["views", "children"],
5844
- _excluded3$4 = ["views", "children"],
5845
- _excluded4$4 = ["children", "views"],
5931
+ _excluded2$5 = ["views", "children"],
5932
+ _excluded3$5 = ["views", "children"],
5933
+ _excluded4$5 = ["children", "views"],
5846
5934
  _excluded5$1 = ["children", "views", "style"],
5847
5935
  _excluded6$1 = ["children", "defaultActiveIndex", "activeIndex", "onChange", "showNavigation", "navigationPosition", "prevButton", "nextButton", "showIndicators", "indicatorPosition", "indicatorVariant", "autoPlay", "autoPlayInterval", "pauseOnHover", "infinite", "direction", "transitionDuration", "views", "stepIndices", "themeMode"];
5848
5936
  var CarouselSlide = _ref => {
@@ -5867,7 +5955,7 @@
5867
5955
  children // Allow custom content/icon
5868
5956
  // Spread remaining ButtonProps
5869
5957
  } = _ref2,
5870
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
5958
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
5871
5959
  var {
5872
5960
  goToPrevious,
5873
5961
  canGoPrevious,
@@ -5890,7 +5978,7 @@
5890
5978
  views,
5891
5979
  children
5892
5980
  } = _ref3,
5893
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
5981
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$5);
5894
5982
  var {
5895
5983
  goToNext,
5896
5984
  canGoNext,
@@ -5913,7 +6001,7 @@
5913
6001
  children,
5914
6002
  views
5915
6003
  } = _ref4,
5916
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$4);
6004
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$5);
5917
6005
  var {
5918
6006
  registerSlide,
5919
6007
  unregisterSlide,
@@ -7658,9 +7746,9 @@
7658
7746
  // using viewport-aware algorithms in the ContextMenu component
7659
7747
 
7660
7748
  var _excluded$i = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
7661
- _excluded2$5 = ["items", "children", "position", "side", "align", "views", "style"],
7662
- _excluded3$5 = ["item", "children", "onSelect", "isDisabled", "views"],
7663
- _excluded4$5 = ["views"],
7749
+ _excluded2$6 = ["items", "children", "position", "side", "align", "views", "style"],
7750
+ _excluded3$6 = ["item", "children", "onSelect", "isDisabled", "views"],
7751
+ _excluded4$6 = ["views"],
7664
7752
  _excluded5$2 = ["views"],
7665
7753
  _excluded6$2 = ["children", "items", "size", "variant", "disableNativeContextMenu", "views", "themeMode"];
7666
7754
  // Create context for the ContextMenu
@@ -7767,7 +7855,7 @@
7767
7855
  views,
7768
7856
  style // Capture user-provided style
7769
7857
  } = _ref3,
7770
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$5);
7858
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$6);
7771
7859
  var {
7772
7860
  isOpen,
7773
7861
  position: contextPosition,
@@ -7882,7 +7970,7 @@
7882
7970
  isDisabled = false,
7883
7971
  views
7884
7972
  } = _ref4,
7885
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$5);
7973
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$6);
7886
7974
  var {
7887
7975
  activeSubmenuId,
7888
7976
  setActiveSubmenuId,
@@ -8011,7 +8099,7 @@
8011
8099
  var {
8012
8100
  views
8013
8101
  } = _ref5,
8014
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$5);
8102
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$6);
8015
8103
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
8016
8104
  height: "1px",
8017
8105
  backgroundColor: "color.gray.200",
@@ -8127,7 +8215,7 @@
8127
8215
  ContextMenu.Separator = ContextMenuSeparator; // Add the Separator component
8128
8216
 
8129
8217
  var _excluded$k = ["src", "color", "views", "themeMode"],
8130
- _excluded2$6 = ["path"];
8218
+ _excluded2$7 = ["path"];
8131
8219
  var FileSVG = _ref => {
8132
8220
  var {
8133
8221
  src,
@@ -8157,7 +8245,7 @@
8157
8245
  var {
8158
8246
  path
8159
8247
  } = _ref2,
8160
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$6);
8248
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
8161
8249
  return /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
8162
8250
  src: path
8163
8251
  }, props));
@@ -8633,9 +8721,9 @@
8633
8721
  };
8634
8722
 
8635
8723
  var _excluded$s = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
8636
- _excluded2$7 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
8637
- _excluded3$6 = ["option", "size", "removeOption"],
8638
- _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"];
8724
+ _excluded2$8 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
8725
+ _excluded3$7 = ["option", "size", "removeOption"],
8726
+ _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"];
8639
8727
  /**
8640
8728
  * Item Component
8641
8729
  *
@@ -8758,7 +8846,7 @@
8758
8846
  isReadOnly = false,
8759
8847
  options = []
8760
8848
  } = _ref4,
8761
- props = _objectWithoutPropertiesLoose(_ref4, _excluded2$7);
8849
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded2$8);
8762
8850
  var handleChange = event => {
8763
8851
  if (onChange) onChange(event);
8764
8852
  };
@@ -8843,7 +8931,7 @@
8843
8931
  size = 'md',
8844
8932
  removeOption = () => {}
8845
8933
  } = _ref6,
8846
- props = _objectWithoutPropertiesLoose(_ref6, _excluded3$6);
8934
+ props = _objectWithoutPropertiesLoose(_ref6, _excluded3$7);
8847
8935
  var handleClick = () => removeOption(option);
8848
8936
  return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
8849
8937
  gap: 8,
@@ -8904,7 +8992,7 @@
8904
8992
  setHighlightedIndex,
8905
8993
  highlightedIndex
8906
8994
  } = _ref7,
8907
- props = _objectWithoutPropertiesLoose(_ref7, _excluded4$6);
8995
+ props = _objectWithoutPropertiesLoose(_ref7, _excluded4$7);
8908
8996
  var {
8909
8997
  ref: triggerRef,
8910
8998
  relation,
@@ -12093,8 +12181,8 @@
12093
12181
  };
12094
12182
 
12095
12183
  var _excluded$y = ["size"],
12096
- _excluded2$8 = ["size"],
12097
- _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"];
12184
+ _excluded2$9 = ["size"],
12185
+ _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"];
12098
12186
  var CountryList = _ref => {
12099
12187
  var props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
12100
12188
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
@@ -12105,7 +12193,7 @@
12105
12193
  type: "country"
12106
12194
  }, props)));
12107
12195
  var CountryItem = _ref2 => {
12108
- var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$8);
12196
+ var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$9);
12109
12197
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
12110
12198
  as: "li"
12111
12199
  }, props));
@@ -12207,7 +12295,7 @@
12207
12295
  },
12208
12296
  themeMode: elementMode
12209
12297
  } = _ref5,
12210
- props = _objectWithoutPropertiesLoose(_ref5, _excluded3$7);
12298
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded3$8);
12211
12299
  var {
12212
12300
  getColor,
12213
12301
  themeMode
@@ -12458,7 +12546,7 @@
12458
12546
  };
12459
12547
 
12460
12548
  var _excluded$A = ["visibleIcon", "hiddenIcon"],
12461
- _excluded2$9 = ["isVisible", "setIsVisible"];
12549
+ _excluded2$a = ["isVisible", "setIsVisible"];
12462
12550
  var PasswordComponent = _ref => {
12463
12551
  var {
12464
12552
  visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
@@ -12474,7 +12562,7 @@
12474
12562
  isVisible,
12475
12563
  setIsVisible
12476
12564
  } = _usePasswordState,
12477
- passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$9);
12565
+ passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$a);
12478
12566
  return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
12479
12567
  type: isVisible ? 'text' : 'password',
12480
12568
  isClearable: false,
@@ -14603,7 +14691,7 @@
14603
14691
  };
14604
14692
 
14605
14693
  var _excluded$J = ["children", "views", "asChild"],
14606
- _excluded2$a = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
14694
+ _excluded2$b = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
14607
14695
  // Create context for the HoverCard
14608
14696
  var HoverCardContext = /*#__PURE__*/React.createContext({
14609
14697
  isOpen: false,
@@ -14689,7 +14777,7 @@
14689
14777
  minWidth = '50px',
14690
14778
  maxWidth = '300px'
14691
14779
  } = _ref3,
14692
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$a);
14780
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$b);
14693
14781
  var {
14694
14782
  isOpen,
14695
14783
  cancelCloseTimer,
@@ -15811,7 +15899,7 @@
15811
15899
  var FormikSwitch = SwitchComponent$1;
15812
15900
 
15813
15901
  var _excluded$N = ["name"],
15814
- _excluded2$b = ["tags"];
15902
+ _excluded2$c = ["tags"];
15815
15903
  /**
15816
15904
  * Formik-integrated TagInput component
15817
15905
  */
@@ -15854,7 +15942,7 @@
15854
15942
  var {
15855
15943
  tags
15856
15944
  } = tagInputState,
15857
- stateWithoutTags = _objectWithoutPropertiesLoose(tagInputState, _excluded2$b);
15945
+ stateWithoutTags = _objectWithoutPropertiesLoose(tagInputState, _excluded2$c);
15858
15946
  // Render the view component with combined props and state
15859
15947
  return /*#__PURE__*/React__default.createElement(TagInputView, Object.assign({}, stateWithoutTags, restProps, {
15860
15948
  tags: tags,
@@ -15890,7 +15978,7 @@
15890
15978
  var FormikTextField = TextFieldComponent$1;
15891
15979
 
15892
15980
  var _excluded$P = ["visibleIcon", "hiddenIcon"],
15893
- _excluded2$c = ["isVisible", "setIsVisible"];
15981
+ _excluded2$d = ["isVisible", "setIsVisible"];
15894
15982
  var PasswordComponent$1 = _ref => {
15895
15983
  var {
15896
15984
  visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
@@ -15907,7 +15995,7 @@
15907
15995
  isVisible,
15908
15996
  setIsVisible
15909
15997
  } = _usePasswordState,
15910
- passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$c);
15998
+ passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$d);
15911
15999
  return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
15912
16000
  type: isVisible ? 'text' : 'password',
15913
16001
  isClearable: false,
@@ -17024,9 +17112,9 @@
17024
17112
  };
17025
17113
 
17026
17114
  var _excluded$T = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
17027
- _excluded2$d = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
17028
- _excluded3$8 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
17029
- _excluded4$7 = ["children", "views"],
17115
+ _excluded2$e = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
17116
+ _excluded3$9 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
17117
+ _excluded4$8 = ["children", "views"],
17030
17118
  _excluded5$3 = ["children", "views"];
17031
17119
  var ModalOverlay = _ref => {
17032
17120
  var {
@@ -17074,7 +17162,7 @@
17074
17162
  shape = 'rounded',
17075
17163
  views
17076
17164
  } = _ref2,
17077
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$d);
17165
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$e);
17078
17166
  var defaultShadow = typeof document !== undefined ? {
17079
17167
  boxShadow: '0px 4px 16px rgba(0, 0, 0, 0.15)'
17080
17168
  } : {
@@ -17115,7 +17203,7 @@
17115
17203
  buttonPosition = 'right',
17116
17204
  views
17117
17205
  } = _ref3,
17118
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$8);
17206
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$9);
17119
17207
  var onClose = props.onClose ? props.onClose : hideModal;
17120
17208
  var buttonIcon = /*#__PURE__*/React__default.createElement(appStudio.View, {
17121
17209
  onClick: onClose
@@ -17144,7 +17232,7 @@
17144
17232
  children,
17145
17233
  views
17146
17234
  } = _ref4,
17147
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$7);
17235
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$8);
17148
17236
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
17149
17237
  paddingVertical: 16,
17150
17238
  paddingHorizontal: 24,
@@ -17287,9 +17375,9 @@
17287
17375
  };
17288
17376
 
17289
17377
  var _excluded$U = ["isOpen", "onClose", "isClosePrevented", "blur", "children"],
17290
- _excluded2$e = ["placement", "size", "children"],
17291
- _excluded3$9 = ["children", "onClose", "buttonPosition"],
17292
- _excluded4$8 = ["children"],
17378
+ _excluded2$f = ["placement", "size", "children"],
17379
+ _excluded3$a = ["children", "onClose", "buttonPosition"],
17380
+ _excluded4$9 = ["children"],
17293
17381
  _excluded5$4 = ["children"];
17294
17382
  var DrawerOverlay = _ref => {
17295
17383
  var {
@@ -17340,7 +17428,7 @@
17340
17428
  size = 'md',
17341
17429
  children
17342
17430
  } = _ref2,
17343
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$e);
17431
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$f);
17344
17432
  var handleClick = e => {
17345
17433
  e.stopPropagation();
17346
17434
  };
@@ -17366,7 +17454,7 @@
17366
17454
  onClose,
17367
17455
  buttonPosition = 'right'
17368
17456
  } = _ref3,
17369
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$9);
17457
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$a);
17370
17458
  var closeButton = onClose && (/*#__PURE__*/React__default.createElement(appStudio.View, {
17371
17459
  onClick: onClose,
17372
17460
  cursor: "pointer",
@@ -17388,7 +17476,7 @@
17388
17476
  var {
17389
17477
  children
17390
17478
  } = _ref4,
17391
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$8);
17479
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$9);
17392
17480
  return /*#__PURE__*/React__default.createElement(appStudio.Vertical, Object.assign({
17393
17481
  padding: 24,
17394
17482
  flex: 1,
@@ -18950,7 +19038,7 @@
18950
19038
  };
18951
19039
 
18952
19040
  var _excluded$Z = ["text", "duration", "direction", "stagger", "sequential", "textStyle", "as", "wordProps"],
18953
- _excluded2$f = ["style"];
19041
+ _excluded2$g = ["style"];
18954
19042
  // CSS keyframes injection - done once
18955
19043
  var KEYFRAMES_ID = 'slide-effect-keyframes';
18956
19044
  var injectKeyframes = () => {
@@ -19045,7 +19133,7 @@
19045
19133
  {
19046
19134
  style: customWordStyle
19047
19135
  } = _ref2,
19048
- restWordProps = _objectWithoutPropertiesLoose(_ref2, _excluded2$f);
19136
+ restWordProps = _objectWithoutPropertiesLoose(_ref2, _excluded2$g);
19049
19137
  // Get animation names based on direction
19050
19138
  var isUp = direction === 'up';
19051
19139
  var enterAnim = isUp ? 'slideInUp' : 'slideInDown';
@@ -19838,9 +19926,9 @@
19838
19926
  };
19839
19927
 
19840
19928
  var _excluded$11 = ["children", "views"],
19841
- _excluded2$g = ["items", "side", "align", "views"],
19842
- _excluded3$a = ["item", "views"],
19843
- _excluded4$9 = ["views"],
19929
+ _excluded2$h = ["items", "side", "align", "views"],
19930
+ _excluded3$b = ["item", "views"],
19931
+ _excluded4$a = ["views"],
19844
19932
  _excluded5$5 = ["trigger", "items", "side", "align", "views", "themeMode"];
19845
19933
  // Create context for the DropdownMenu
19846
19934
  var DropdownMenuContext = /*#__PURE__*/React.createContext({
@@ -19905,7 +19993,7 @@
19905
19993
  align = 'start',
19906
19994
  views
19907
19995
  } = _ref3,
19908
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$g);
19996
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
19909
19997
  var {
19910
19998
  isOpen,
19911
19999
  variant,
@@ -20036,7 +20124,7 @@
20036
20124
  item,
20037
20125
  views
20038
20126
  } = _ref4,
20039
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$a);
20127
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$b);
20040
20128
  var {
20041
20129
  activeSubmenuId,
20042
20130
  setActiveSubmenuId,
@@ -20101,7 +20189,7 @@
20101
20189
  var {
20102
20190
  views
20103
20191
  } = _ref5,
20104
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$9);
20192
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$a);
20105
20193
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
20106
20194
  height: "1px",
20107
20195
  backgroundColor: "color.gray.200",
@@ -24459,9 +24547,9 @@
24459
24547
  };
24460
24548
 
24461
24549
  var _excluded$1e = ["children", "showToggleButton", "views"],
24462
- _excluded2$h = ["children", "views"],
24463
- _excluded3$b = ["children", "views"],
24464
- _excluded4$a = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
24550
+ _excluded2$i = ["children", "views"],
24551
+ _excluded3$c = ["children", "views"],
24552
+ _excluded4$b = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
24465
24553
  // Create context for the Sidebar
24466
24554
  var SidebarContext = /*#__PURE__*/React.createContext({
24467
24555
  isExpanded: true,
@@ -24558,7 +24646,7 @@
24558
24646
  children,
24559
24647
  views
24560
24648
  } = _ref3,
24561
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
24649
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
24562
24650
  var {
24563
24651
  isExpanded
24564
24652
  } = useSidebarContext();
@@ -24576,7 +24664,7 @@
24576
24664
  children,
24577
24665
  views
24578
24666
  } = _ref4,
24579
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$b);
24667
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$c);
24580
24668
  var {
24581
24669
  isExpanded
24582
24670
  } = useSidebarContext();
@@ -24612,7 +24700,7 @@
24612
24700
  collapse,
24613
24701
  views
24614
24702
  } = _ref5,
24615
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$a);
24703
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$b);
24616
24704
  // Determine width based on expanded state and size
24617
24705
  var sizeConfig = SidebarSizes[size];
24618
24706
  var width = isExpanded ? expandedWidth || sizeConfig.expandedWidth : collapsedWidth || sizeConfig.collapsedWidth;
@@ -25134,8 +25222,8 @@
25134
25222
  };
25135
25223
 
25136
25224
  var _excluded$1g = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
25137
- _excluded2$i = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
25138
- _excluded3$c = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
25225
+ _excluded2$j = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
25226
+ _excluded3$d = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
25139
25227
  // Create context for the Resizable component
25140
25228
  var ResizableContext = /*#__PURE__*/React.createContext({
25141
25229
  orientation: 'horizontal',
@@ -25242,7 +25330,7 @@
25242
25330
  collapseTarget,
25243
25331
  views
25244
25332
  } = _ref3,
25245
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
25333
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$j);
25246
25334
  var {
25247
25335
  orientation,
25248
25336
  size,
@@ -25382,7 +25470,7 @@
25382
25470
  containerRef,
25383
25471
  views
25384
25472
  } = _ref4,
25385
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$c);
25473
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$d);
25386
25474
  var Container = orientation === 'horizontal' ? appStudio.Horizontal : appStudio.Vertical;
25387
25475
  return /*#__PURE__*/React__default.createElement(Container, Object.assign({
25388
25476
  ref: containerRef,
@@ -26185,9 +26273,9 @@
26185
26273
  };
26186
26274
 
26187
26275
  var _excluded$1i = ["value", "onValueChange", "placeholder", "views"],
26188
- _excluded2$j = ["children", "views"],
26189
- _excluded3$d = ["heading", "children", "views"],
26190
- _excluded4$b = ["item", "selected", "onSelect", "views"],
26276
+ _excluded2$k = ["children", "views"],
26277
+ _excluded3$e = ["heading", "children", "views"],
26278
+ _excluded4$c = ["item", "selected", "onSelect", "views"],
26191
26279
  _excluded5$6 = ["children", "views"],
26192
26280
  _excluded6$3 = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "emptyState", "footer", "search", "setSearch", "selectedIndex", "setSelectedIndex", "filteredCommands", "filteredGroups", "listRef", "views", "filter"];
26193
26281
  var CommandContext = /*#__PURE__*/React.createContext({
@@ -26248,7 +26336,7 @@
26248
26336
  children,
26249
26337
  views
26250
26338
  } = _ref3,
26251
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$j);
26339
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$k);
26252
26340
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandListStyles, views == null ? void 0 : views.container, props), children);
26253
26341
  };
26254
26342
  // Command Group component
@@ -26258,7 +26346,7 @@
26258
26346
  children,
26259
26347
  views
26260
26348
  } = _ref4,
26261
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$d);
26349
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$e);
26262
26350
  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);
26263
26351
  };
26264
26352
  // Command Item component
@@ -26269,7 +26357,7 @@
26269
26357
  onSelect,
26270
26358
  views
26271
26359
  } = _ref5,
26272
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$b);
26360
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$c);
26273
26361
  var handleClick = () => {
26274
26362
  if (!item.disabled && onSelect) {
26275
26363
  onSelect();
@@ -26655,8 +26743,8 @@
26655
26743
  };
26656
26744
 
26657
26745
  var _excluded$1k = ["children", "views", "asChild"],
26658
- _excluded2$k = ["children", "views"],
26659
- _excluded3$e = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
26746
+ _excluded2$l = ["children", "views"],
26747
+ _excluded3$f = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
26660
26748
  // Create context for the Tooltip
26661
26749
  var TooltipContext = /*#__PURE__*/React.createContext({
26662
26750
  isOpen: false,
@@ -26726,7 +26814,7 @@
26726
26814
  children,
26727
26815
  views
26728
26816
  } = _ref3,
26729
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$k);
26817
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$l);
26730
26818
  var {
26731
26819
  isOpen,
26732
26820
  contentRef,
@@ -26756,7 +26844,7 @@
26756
26844
  showArrow = true,
26757
26845
  views
26758
26846
  } = _ref4,
26759
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$e);
26847
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$f);
26760
26848
  var {
26761
26849
  isOpen,
26762
26850
  triggerRef,
@@ -27296,9 +27384,9 @@
27296
27384
  };
27297
27385
 
27298
27386
  var _excluded$1n = ["children", "showRadialGradient", "views", "themeMode"],
27299
- _excluded2$l = ["number", "children"],
27300
- _excluded3$f = ["rows", "cols", "squareSize"],
27301
- _excluded4$c = ["count", "colors", "speed", "shapes"],
27387
+ _excluded2$m = ["number", "children"],
27388
+ _excluded3$g = ["rows", "cols", "squareSize"],
27389
+ _excluded4$d = ["count", "colors", "speed", "shapes"],
27302
27390
  _excluded5$7 = ["gridSize", "lineColor", "pulseColor", "animationSpeed"],
27303
27391
  _excluded6$4 = ["rippleCount", "colors", "maxSize", "frequency"],
27304
27392
  _excluded7$1 = ["children", "src", "backgroundSize", "backgroundPosition", "backgroundRepeat", "backgroundAttachment", "imageOpacity", "overlay", "blendMode", "views", "themeMode"],
@@ -27340,7 +27428,7 @@
27340
27428
  number = 20,
27341
27429
  children
27342
27430
  } = _ref2,
27343
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$l);
27431
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$m);
27344
27432
  var meteors = Array.from({
27345
27433
  length: number
27346
27434
  }, (_, i) => i);
@@ -27408,7 +27496,7 @@
27408
27496
  cols = 10,
27409
27497
  squareSize = 40
27410
27498
  } = _ref3,
27411
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$f);
27499
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$g);
27412
27500
  var rowsArray = Array(rows).fill(1);
27413
27501
  var colsArray = Array(cols).fill(1);
27414
27502
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
@@ -27451,7 +27539,7 @@
27451
27539
  speed = 'medium',
27452
27540
  shapes = ['circle']
27453
27541
  } = _ref4,
27454
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$c);
27542
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$d);
27455
27543
  var particles = Array.from({
27456
27544
  length: count
27457
27545
  }, (_, i) => i);