@app-studio/web 0.9.45 → 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.
@@ -2849,6 +2849,9 @@ var PowerOffIcon = _ref87 => {
2849
2849
  d: "M6.8 6.8a8 8 0 1 0 10 0"
2850
2850
  })));
2851
2851
  };
2852
+ var BackIcon = props => (/*#__PURE__*/React__default.createElement(ChevronIcon, Object.assign({
2853
+ orientation: "left"
2854
+ }, props)));
2852
2855
 
2853
2856
  var Icon = {
2854
2857
  __proto__: null,
@@ -2940,7 +2943,8 @@ var Icon = {
2940
2943
  ShieldIcon: ShieldIcon,
2941
2944
  CheckIcon: CheckIcon,
2942
2945
  LogoutIcon: LogoutIcon,
2943
- PowerOffIcon: PowerOffIcon
2946
+ PowerOffIcon: PowerOffIcon,
2947
+ BackIcon: BackIcon
2944
2948
  };
2945
2949
 
2946
2950
  /**
@@ -4837,7 +4841,7 @@ var Loader = LoaderComponent;
4837
4841
  */
4838
4842
  var ButtonSizes = {
4839
4843
  xs: {
4840
- minHeight: 3 * 4,
4844
+ minHeight: 8 * 4,
4841
4845
  paddingTop: 1,
4842
4846
  paddingBottom: 1,
4843
4847
  paddingLeft: 2,
@@ -4848,7 +4852,7 @@ var ButtonSizes = {
4848
4852
  letterSpacing: '-0.01em'
4849
4853
  },
4850
4854
  sm: {
4851
- minHeight: 4 * 4,
4855
+ minHeight: 10 * 4,
4852
4856
  paddingTop: 4,
4853
4857
  paddingBottom: 4,
4854
4858
  paddingLeft: 8,
@@ -4859,18 +4863,18 @@ var ButtonSizes = {
4859
4863
  letterSpacing: '-0.01em'
4860
4864
  },
4861
4865
  md: {
4862
- minHeight: 6 * 4,
4863
- paddingTop: 6,
4864
- paddingBottom: 6,
4865
- paddingLeft: 12,
4866
- paddingRight: 12,
4867
- fontSize: 14,
4868
- fontWeight: '500',
4869
- lineHeight: 18,
4866
+ minHeight: 12 * 4,
4867
+ paddingTop: 8,
4868
+ paddingBottom: 8,
4869
+ paddingLeft: 20,
4870
+ paddingRight: 20,
4871
+ fontSize: 16,
4872
+ fontWeight: 550,
4873
+ lineHeight: 24,
4870
4874
  letterSpacing: '-0.01em'
4871
4875
  },
4872
4876
  lg: {
4873
- minHeight: 8 * 4,
4877
+ minHeight: 14 * 4,
4874
4878
  paddingTop: 8,
4875
4879
  paddingBottom: 8,
4876
4880
  paddingLeft: 16,
@@ -4881,7 +4885,7 @@ var ButtonSizes = {
4881
4885
  letterSpacing: '-0.01em'
4882
4886
  },
4883
4887
  xl: {
4884
- minHeight: 10 * 4,
4888
+ minHeight: 16 * 4,
4885
4889
  paddingTop: 10,
4886
4890
  paddingBottom: 10,
4887
4891
  paddingLeft: 20,
@@ -4930,142 +4934,387 @@ var IconSizes$1 = {
4930
4934
  padding: 14
4931
4935
  }
4932
4936
  };
4933
- var getButtonVariants = (color, isLight) => ({
4934
- filled: {
4935
- backgroundColor: color,
4936
- color: isLight ? 'color.black' : 'color.white',
4937
- borderWidth: 1,
4938
- borderStyle: 'solid',
4939
- borderColor: 'transparent',
4940
- _hover: {
4941
- opacity: 0.9
4942
- },
4943
- _active: {
4944
- opacity: 0.95
4945
- },
4946
- _focusVisible: {
4947
- outline: 'none',
4948
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4949
- },
4950
- transition: 'background-color 0.2s ease, opacity 0.2s ease'
4951
- },
4952
- outline: {
4953
- backgroundColor: 'transparent',
4954
- color: color,
4955
- borderWidth: 1,
4956
- borderStyle: 'solid',
4957
- borderColor: color,
4958
- _hover: {
4959
- backgroundColor: color,
4960
- color: isLight ? 'color.black' : 'color.white',
4961
- opacity: 0.9
4962
- },
4963
- _active: {
4937
+ var getButtonVariants = function getButtonVariants(color, isLight, isThemeLight) {
4938
+ var textColor = isLight ? '#000000' : '#FFFFFF';
4939
+ return {
4940
+ filled: {
4964
4941
  backgroundColor: color,
4965
- color: isLight ? 'color.black' : 'color.white',
4966
- opacity: 0.95
4967
- },
4968
- _focusVisible: {
4969
- outline: 'none',
4970
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
4942
+ color: textColor,
4943
+ borderWidth: 1,
4944
+ borderStyle: 'solid',
4945
+ borderColor: 'transparent',
4946
+ _hover: {
4947
+ opacity: 0.9,
4948
+ color: textColor
4949
+ },
4950
+ _active: {
4951
+ opacity: 0.95,
4952
+ color: textColor
4953
+ },
4954
+ _focusVisible: {
4955
+ outline: 'none',
4956
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color,
4957
+ color: textColor
4958
+ },
4959
+ transition: 'background-color 0.2s ease, opacity 0.2s ease'
4971
4960
  },
4972
- transition: 'background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease'
4973
- },
4974
- ghost: {
4975
- backgroundColor: 'transparent',
4976
- color: color,
4977
- borderWidth: 0,
4978
- borderStyle: 'none',
4979
- borderColor: 'transparent',
4980
- _hover: {
4981
- backgroundColor: isLight ? 'color.gray.100' : 'color.gray.800',
4982
- opacity: 0.9
4961
+ outline: {
4962
+ backgroundColor: 'transparent',
4963
+ color: color,
4964
+ borderWidth: 1,
4965
+ borderStyle: 'solid',
4966
+ borderColor: color,
4967
+ _hover: {
4968
+ backgroundColor: color,
4969
+ color: textColor,
4970
+ opacity: 0.9
4971
+ },
4972
+ _active: {
4973
+ backgroundColor: color,
4974
+ color: textColor,
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, color 0.2s ease, opacity 0.2s ease'
4983
4982
  },
4984
- _active: {
4985
- backgroundColor: isLight ? 'color.gray.200' : 'color.gray.700',
4986
- opacity: 0.95
4983
+ ghost: {
4984
+ backgroundColor: 'transparent',
4985
+ color: color,
4986
+ borderWidth: 1,
4987
+ borderStyle: 'solid',
4988
+ borderColor: 'transparent',
4989
+ _hover: {
4990
+ borderWidth: 1,
4991
+ borderStyle: 'solid',
4992
+ borderColor: color,
4993
+ color: color,
4994
+ opacity: 0.9
4995
+ },
4996
+ _active: {
4997
+ color: color,
4998
+ opacity: 0.95
4999
+ },
5000
+ _focusVisible: {
5001
+ outline: 'none',
5002
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5003
+ },
5004
+ transition: 'background-color 0.2s ease, opacity 0.2s ease'
4987
5005
  },
4988
- _focusVisible: {
4989
- outline: 'none',
4990
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5006
+ link: {
5007
+ backgroundColor: 'transparent',
5008
+ color: color,
5009
+ borderWidth: 0,
5010
+ borderStyle: 'none',
5011
+ borderColor: 'transparent',
5012
+ textDecoration: 'underline',
5013
+ textUnderlineOffset: '2px',
5014
+ textDecorationThickness: '1px',
5015
+ textDecorationColor: color,
5016
+ _hover: {
5017
+ color: color,
5018
+ opacity: 0.8
5019
+ },
5020
+ _active: {
5021
+ color: color,
5022
+ opacity: 0.9
5023
+ },
5024
+ _focusVisible: {
5025
+ outline: 'none',
5026
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5027
+ },
5028
+ transition: 'opacity 0.2s ease'
4991
5029
  },
4992
- transition: 'background-color 0.2s ease, opacity 0.2s ease'
4993
- },
4994
- link: {
4995
- backgroundColor: 'transparent',
4996
- color: isLight ? color : 'color.black',
4997
- borderWidth: 0,
4998
- borderStyle: 'none',
4999
- borderColor: 'transparent',
5000
- textDecoration: 'underline',
5001
- textUnderlineOffset: '2px',
5002
- textDecorationThickness: '1px',
5003
- _hover: {
5004
- opacity: 0.8
5030
+ borderMoving: {
5031
+ position: 'relative',
5032
+ backgroundColor: 'black',
5033
+ color: textColor,
5034
+ overflow: 'hidden',
5035
+ borderWidth: 0,
5036
+ borderStyle: 'none',
5037
+ borderColor: 'transparent',
5038
+ _hover: {
5039
+ color: textColor
5040
+ },
5041
+ _active: {
5042
+ color: textColor
5043
+ },
5044
+ _focusVisible: {
5045
+ outline: 'none',
5046
+ boxShadow: '0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px rgba(0, 0, 0, 0.8)'
5047
+ },
5048
+ transition: 'opacity 0.2s ease'
5005
5049
  },
5006
- _active: {
5007
- opacity: 0.9
5050
+ animatedStroke: {
5051
+ display: 'inline-block',
5052
+ margin: '0 auto',
5053
+ textAlign: 'center',
5054
+ textDecoration: 'none',
5055
+ position: 'relative',
5056
+ cursor: 'pointer',
5057
+ backgroundColor: 'transparent',
5058
+ color: color,
5059
+ borderWidth: 0,
5060
+ borderStyle: 'none',
5061
+ borderColor: 'transparent',
5062
+ _hover: {
5063
+ color: color
5064
+ },
5065
+ _active: {
5066
+ color: color
5067
+ },
5068
+ _focusVisible: {
5069
+ outline: 'none',
5070
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5071
+ },
5072
+ transition: 'opacity 0.2s ease'
5073
+ }
5074
+ };
5075
+ };
5076
+
5077
+ var _excluded$d = ["shape", "size", "isDisabled", "onClick", "views", "mainTone", "tone", "borderMovingGradientColors", "borderMovingDuration", "content", "shadow"],
5078
+ _excluded2$3 = ["to", "onClick", "views", "children", "size", "accentColor", "textColor", "getColor", "shadow"],
5079
+ _excluded3$3 = ["variant", "to", "isDisabled", "isLoading", "isAuto", "isFilled", "isExternal", "shape", "shadow", "onClick", "views", "baseStyles", "sizeStyles", "iconPad", "resolvedTextColor", "content", "size"],
5080
+ _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"];
5081
+ // --- Helper: Button Content ---
5082
+ // Renders the inner content: Loader, Icon, and Children.
5083
+ var ButtonContent = _ref => {
5084
+ var {
5085
+ children,
5086
+ icon,
5087
+ isLoading,
5088
+ iconPosition = 'left',
5089
+ loaderPosition = 'left',
5090
+ size = 'md',
5091
+ resolvedTextColor,
5092
+ isIconRounded,
5093
+ views
5094
+ } = _ref;
5095
+ var Wrapper = ['left', 'right'].includes(iconPosition) ? appStudio.Horizontal : appStudio.Vertical;
5096
+ var sizeStyles = ButtonSizes[size];
5097
+ var iconPad = isIconRounded ? IconSizes$1[size] : {};
5098
+ return /*#__PURE__*/React__default.createElement(Wrapper, Object.assign({
5099
+ gap: 8,
5100
+ alignItems: "center",
5101
+ justifyContent: "center"
5102
+ }, sizeStyles, iconPad, views == null ? void 0 : views.content), isLoading && loaderPosition === 'left' && (/*#__PURE__*/React__default.createElement(Loader, Object.assign({
5103
+ size: size === 'xs' || size === 'sm' ? 'sm' : 'md',
5104
+ color: 'currentColor'
5105
+ }, views == null ? void 0 : views.loader))), icon && ['left', 'top'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5106
+ color: 'currentColor'
5107
+ }, views == null ? void 0 : views.icon), icon)), children, icon && ['right', 'bottom'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5108
+ color: 'currentColor'
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: 'currentColor'
5112
+ }, views == null ? void 0 : views.loader))));
5113
+ };
5114
+ // --- Variant: Border Moving ---
5115
+ var BorderMovingButton = _ref2 => {
5116
+ var {
5117
+ shape = 'rounded',
5118
+ size = 'md',
5119
+ isDisabled,
5120
+ onClick,
5121
+ views,
5122
+ mainTone,
5123
+ tone,
5124
+ borderMovingGradientColors,
5125
+ borderMovingDuration,
5126
+ content,
5127
+ shadow
5128
+ } = _ref2,
5129
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$d);
5130
+ var sizeStyles = ButtonSizes[size];
5131
+ var borderWidth = 3;
5132
+ var numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5133
+ var numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 64;
5134
+ var numericBorderRadius = (() => {
5135
+ var shapeValue = ButtonShapes[shape];
5136
+ if (typeof shapeValue === 'number') {
5137
+ return shapeValue;
5138
+ }
5139
+ if (typeof shapeValue === 'string') {
5140
+ return parseInt(shapeValue, 10) || 50;
5141
+ }
5142
+ return 50;
5143
+ })();
5144
+ var containerBg = mainTone;
5145
+ // Use high contrast text color for this variant
5146
+ var borderMovingTextColor = tone === 'light' ? '#000000' : '#FFFFFF';
5147
+ // Create gradient string for border animation
5148
+ var gradientColors = borderMovingGradientColors.join(', ');
5149
+ // Animation sequence for the moving border effect
5150
+ var borderAnimation = {
5151
+ from: {
5152
+ backgroundPosition: '0% 50%'
5008
5153
  },
5009
- _focusVisible: {
5010
- outline: 'none',
5011
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5154
+ to: {
5155
+ backgroundPosition: '200% 50%'
5012
5156
  },
5013
- transition: 'opacity 0.2s ease'
5014
- },
5015
- borderMoving: {
5016
- position: 'relative',
5017
- backgroundColor: 'black',
5018
- overflow: 'hidden',
5019
- color: 'white',
5020
- borderWidth: 0,
5021
- borderStyle: 'none',
5022
- borderColor: 'transparent',
5023
- _focusVisible: {
5024
- outline: 'none',
5025
- boxShadow: '0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px rgba(0, 0, 0, 0.8)'
5157
+ duration: borderMovingDuration + "s",
5158
+ timingFunction: 'linear',
5159
+ iterationCount: 'infinite'
5160
+ };
5161
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5162
+ position: "relative",
5163
+ display: "inline-flex",
5164
+ alignItems: "center",
5165
+ justifyContent: "center",
5166
+ borderRadius: ButtonShapes[shape],
5167
+ cursor: isDisabled ? 'default' : 'pointer',
5168
+ onClick: onClick,
5169
+ boxShadow: shadow,
5170
+ padding: borderWidth,
5171
+ background: "linear-gradient(90deg, " + borderMovingGradientColors[0] + ", " + borderMovingGradientColors[1] + ", " + borderMovingGradientColors[2] + ", " + borderMovingGradientColors[0] + ")",
5172
+ backgroundSize: "200% 100%",
5173
+ animate: borderAnimation
5174
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, {
5175
+ display: "flex",
5176
+ alignItems: "center",
5177
+ justifyContent: "center",
5178
+ backgroundColor: containerBg,
5179
+ borderRadius: Math.max(0, numericBorderRadius - borderWidth),
5180
+ width: "100%",
5181
+ height: "100%",
5182
+ minWidth: numericWidth - borderWidth * 2,
5183
+ minHeight: numericHeight - borderWidth * 2,
5184
+ color: borderMovingTextColor,
5185
+ fontSize: 14,
5186
+ cursor: "pointer"
5187
+ }, content));
5188
+ };
5189
+ // --- Variant: Animated Stroke ---
5190
+ var AnimatedStrokeButton = _ref3 => {
5191
+ var {
5192
+ to,
5193
+ onClick,
5194
+ views,
5195
+ children,
5196
+ size = 'md',
5197
+ accentColor,
5198
+ textColor,
5199
+ getColor,
5200
+ shadow
5201
+ } = _ref3,
5202
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$3);
5203
+ var resolvedAccentColor = getColor(accentColor);
5204
+ var resolvedTextColor = getColor(textColor);
5205
+ var sizeStyles = ButtonSizes[size];
5206
+ var numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5207
+ var numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 60;
5208
+ var strokeAnimation = {
5209
+ from: {
5210
+ strokeWidth: '8px',
5211
+ strokeDasharray: '0 500',
5212
+ strokeDashoffset: -454
5026
5213
  },
5027
- transition: 'opacity 0.2s ease'
5028
- },
5029
- animatedStroke: {
5030
- display: 'inline-block',
5031
- maxWidth: '20rem',
5032
- margin: '0 auto',
5033
- textAlign: 'center',
5034
- textDecoration: 'none',
5035
- position: 'relative',
5036
- cursor: 'pointer',
5037
- backgroundColor: 'transparent',
5038
- borderWidth: 0,
5039
- borderStyle: 'none',
5040
- borderColor: 'transparent',
5041
- _focusVisible: {
5042
- outline: 'none',
5043
- boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5214
+ to: {
5215
+ strokeWidth: '3px',
5216
+ strokeDasharray: '760',
5217
+ strokeDashoffset: 0
5044
5218
  },
5045
- transition: 'opacity 0.2s ease'
5046
- }
5047
- });
5048
- /**
5049
- * Generate offset path for border animation
5050
- */
5051
- function generateOffsetPath(width, height, borderRadius) {
5052
- var radius;
5053
- if (typeof borderRadius === 'string' && borderRadius.endsWith('%')) {
5054
- var percentage = parseFloat(borderRadius) / 100;
5055
- radius = Math.min(width, height) * percentage;
5056
- } else {
5057
- radius = parseFloat(borderRadius.toString());
5058
- }
5059
- radius = Math.min(radius, width / 2, height / 2);
5060
- if (radius === 0) {
5061
- return "M 0,0 H " + width + " V " + height + " H 0 Z";
5062
- }
5063
- 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 ";
5064
- }
5065
-
5066
- 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"];
5067
- var ButtonView = _ref => {
5068
- var _ref2;
5219
+ duration: '0.9s',
5220
+ timingFunction: 'ease-in',
5221
+ fillMode: 'forwards'
5222
+ };
5223
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5224
+ as: to ? 'a' : 'div',
5225
+ href: to ? to : undefined,
5226
+ onClick: onClick,
5227
+ display: "inline-block",
5228
+ maxWidth: "20rem",
5229
+ margin: "0 auto",
5230
+ textAlign: "center",
5231
+ textDecoration: "none",
5232
+ position: "relative",
5233
+ cursor: "pointer",
5234
+ boxShadow: shadow
5235
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, {
5236
+ as: "svg",
5237
+ display: "block",
5238
+ height: numericHeight,
5239
+ width: numericWidth,
5240
+ xmlns: "http://www.w3.org/2000/svg"
5241
+ }, /*#__PURE__*/React__default.createElement(appStudio.View, {
5242
+ as: "rect",
5243
+ height: numericHeight,
5244
+ width: numericWidth,
5245
+ fill: "transparent",
5246
+ stroke: resolvedAccentColor,
5247
+ strokeWidth: "8px",
5248
+ strokeDasharray: "0 500",
5249
+ strokeDashoffset: -454,
5250
+ on: {
5251
+ hover: {
5252
+ animate: strokeAnimation
5253
+ }
5254
+ }
5255
+ })), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5256
+ position: "absolute",
5257
+ top: 0,
5258
+ right: 0,
5259
+ bottom: 0,
5260
+ left: 0,
5261
+ display: "flex",
5262
+ alignItems: "center",
5263
+ justifyContent: "center",
5264
+ textAlign: "center",
5265
+ pointerEvents: "none",
5266
+ userSelect: "none",
5267
+ color: resolvedTextColor
5268
+ }, sizeStyles), children));
5269
+ };
5270
+ // --- Variant: Standard Button ---
5271
+ var StandardButton = _ref4 => {
5272
+ var {
5273
+ variant,
5274
+ to,
5275
+ isDisabled,
5276
+ isLoading,
5277
+ isAuto,
5278
+ isFilled,
5279
+ isExternal,
5280
+ shape = 'rounded',
5281
+ shadow,
5282
+ onClick,
5283
+ views,
5284
+ baseStyles,
5285
+ sizeStyles,
5286
+ iconPad,
5287
+ content // Destructure size to avoid passing it to Element
5288
+ } = _ref4,
5289
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$3);
5290
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5291
+ as: variant === 'link' && to ? 'div' : 'button',
5292
+ type: variant === 'link' && to ? undefined : 'button',
5293
+ disabled: Boolean(isDisabled || isLoading)
5294
+ }, sizeStyles, iconPad, {
5295
+ display: "inline-flex",
5296
+ alignItems: "center",
5297
+ justifyContent: "center",
5298
+ width: isAuto ? 'fit-content' : isFilled ? '100%' : undefined,
5299
+ /* visuals */
5300
+ borderRadius: ButtonShapes[shape],
5301
+ boxShadow: shadow,
5302
+ transition: "all 0.2s ease",
5303
+ cursor: isDisabled ? 'default' : 'pointer',
5304
+ onClick: onClick
5305
+ }, baseStyles, views == null ? void 0 : views.container, props), to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
5306
+ to: to,
5307
+ isExternal: isExternal,
5308
+ color: "currentColor",
5309
+ textDecoration: "inherit",
5310
+ _hover: {
5311
+ color: 'currentColor'
5312
+ }
5313
+ }, views == null ? void 0 : views.link), content)) : content);
5314
+ };
5315
+ // --- Main Component ---
5316
+ var ButtonView = _ref5 => {
5317
+ var _ref6, _base$color;
5069
5318
  var {
5070
5319
  /* behaviour */
5071
5320
  variant = 'filled',
@@ -5075,8 +5324,10 @@ var ButtonView = _ref => {
5075
5324
  loaderPosition = 'left',
5076
5325
  backgroundColor,
5077
5326
  // primary candidate for main color
5078
- color // 2nd candidate for main color (NOT text‑color)
5079
- ,
5327
+ color,
5328
+ // 2nd candidate for main color (NOT text‑color)
5329
+ isAuto,
5330
+ isFilled,
5080
5331
  isDisabled,
5081
5332
  isLoading,
5082
5333
  isIconRounded,
@@ -5096,8 +5347,8 @@ var ButtonView = _ref => {
5096
5347
  borderMovingGradientColors = ['#705CFF', '#FF5C97', '#FFC75C'],
5097
5348
  animatedStrokeAccentColor = '#705CFF',
5098
5349
  animatedStrokeTextColor = '#333333'
5099
- } = _ref,
5100
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
5350
+ } = _ref5,
5351
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$3);
5101
5352
  /* theme helpers */
5102
5353
  var {
5103
5354
  getColor,
@@ -5105,237 +5356,78 @@ var ButtonView = _ref => {
5105
5356
  } = appStudio.useTheme();
5106
5357
  var mode = elementMode != null ? elementMode : themeMode;
5107
5358
  /* MAIN COLOR – determines the entire palette */
5108
- var mainColorKey = (_ref2 = backgroundColor != null ? backgroundColor : color) != null ? _ref2 : 'theme.primary';
5359
+ var mainColorKey = (_ref6 = backgroundColor != null ? backgroundColor : color) != null ? _ref6 : 'theme.primary';
5109
5360
  var mainTone = getColor(isDisabled ? 'theme.disabled' : mainColorKey, {
5110
5361
  themeMode: mode
5111
5362
  });
5112
5363
  var tone = contrast(mainTone);
5364
+ /* text color with mixBlendMode for maximum visibility */
5365
+ var textColor = tone === 'light' ? '#000000' : '#FFFFFF';
5113
5366
  /* variant palette */
5114
- var palette = React.useMemo(() => getButtonVariants(mainTone, tone == 'light'), [mainTone, tone]);
5367
+ var palette = React.useMemo(() => getButtonVariants(mainTone, tone === 'light'), [mainTone, tone, mode]);
5115
5368
  var base = palette[variant];
5116
- /* layout helpers */
5117
- var Wrapper = ['left', 'right'].includes(iconPosition) ? appStudio.Horizontal : appStudio.Vertical;
5118
- var sizeStyles = ButtonSizes[size];
5119
- var iconPad = isIconRounded ? IconSizes$1[size] : {};
5120
- var content = /*#__PURE__*/React__default.createElement(Wrapper, Object.assign({
5121
- gap: 8,
5122
- alignItems: "center",
5123
- justifyContent: "center",
5124
- color: 'inherit',
5125
- _hover: {
5126
- color: 'inherit'
5127
- }
5128
- }, sizeStyles, views == null ? void 0 : views.content), isLoading && loaderPosition === 'left' && (/*#__PURE__*/React__default.createElement(Loader, Object.assign({
5129
- size: size === 'xs' || size === 'sm' ? 'sm' : 'md',
5130
- color: 'inherit',
5131
- _hover: {
5132
- color: 'inherit'
5133
- }
5134
- }, views == null ? void 0 : views.loader))), icon && ['left', 'top'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5135
- color: 'inherit',
5136
- _hover: {
5137
- color: 'inherit'
5138
- }
5139
- }, views == null ? void 0 : views.icon), icon)), children, icon && ['right', 'bottom'].includes(iconPosition) && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5140
- color: 'inherit',
5141
- _hover: {
5142
- color: 'inherit'
5143
- }
5144
- }, views == null ? void 0 : views.icon), icon)), isLoading && loaderPosition === 'right' && (/*#__PURE__*/React__default.createElement(Loader, Object.assign({
5145
- size: size === 'xs' || size === 'sm' ? 'sm' : 'md',
5146
- color: 'inherit',
5147
- _hover: {
5148
- color: 'inherit'
5149
- }
5150
- }, views == null ? void 0 : views.loader))));
5151
- // Handle special effect variants
5369
+ var resolvedTextColor = (_base$color = base == null ? void 0 : base.color) != null ? _base$color : textColor;
5370
+ // Render content logic safely
5371
+ var content = /*#__PURE__*/React__default.createElement(ButtonContent, {
5372
+ icon: icon,
5373
+ isLoading: isLoading,
5374
+ iconPosition: iconPosition,
5375
+ loaderPosition: loaderPosition,
5376
+ size: size,
5377
+ resolvedTextColor: resolvedTextColor,
5378
+ isIconRounded: isIconRounded,
5379
+ views: views
5380
+ }, children);
5381
+ // Dispatch to the correct variant component
5152
5382
  if (variant === 'borderMoving') {
5153
- var borderWidth = 5;
5154
- var numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5155
- var numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 64;
5156
- var numericBorderRadius = (() => {
5157
- var shapeValue = ButtonShapes[shape];
5158
- if (typeof shapeValue === 'number') {
5159
- return shapeValue;
5160
- }
5161
- if (typeof shapeValue === 'string') {
5162
- return parseInt(shapeValue, 10) || 50;
5163
- }
5164
- return 50;
5165
- })();
5166
- var path = generateOffsetPath(numericWidth, numericHeight, numericBorderRadius);
5167
- // Determine background color from props or use mainTone
5168
- var containerBg = mainTone;
5169
- // Calculate text color with proper contrast
5170
- var borderMovingTextColor = tone === 'light' ? '#000000' : '#FFFFFF';
5171
- return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5172
- width: numericWidth,
5173
- height: numericHeight,
5174
- position: "relative",
5175
- backgroundColor: containerBg,
5176
- overflow: "hidden",
5177
- borderRadius: ButtonShapes[shape],
5178
- cursor: isDisabled ? 'default' : 'pointer',
5179
- onClick: onClick
5180
- }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement("svg", {
5181
- width: numericWidth,
5182
- height: numericHeight,
5183
- style: {
5184
- position: 'absolute',
5185
- top: 0,
5186
- left: 0,
5187
- zIndex: 1
5188
- }
5189
- }, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("linearGradient", {
5190
- id: "circleGradient",
5191
- x1: "0%",
5192
- y1: "100%",
5193
- x2: "100%",
5194
- y2: "100%"
5195
- }, /*#__PURE__*/React__default.createElement("stop", {
5196
- offset: "0%",
5197
- stopColor: "transparent"
5198
- }), /*#__PURE__*/React__default.createElement("stop", {
5199
- offset: "30%",
5200
- stopColor: borderMovingGradientColors[0]
5201
- }), /*#__PURE__*/React__default.createElement("stop", {
5202
- offset: "60%",
5203
- stopColor: borderMovingGradientColors[1]
5204
- }), /*#__PURE__*/React__default.createElement("stop", {
5205
- offset: "100%",
5206
- stopColor: borderMovingGradientColors[2]
5207
- })), /*#__PURE__*/React__default.createElement("path", {
5208
- id: "uniqueId",
5209
- d: path,
5210
- fill: "none",
5211
- stroke: "transparent"
5212
- })), /*#__PURE__*/React__default.createElement("circle", {
5213
- r: "30",
5214
- fill: "url(#circleGradient)"
5215
- }, /*#__PURE__*/React__default.createElement("animateMotion", {
5216
- dur: borderMovingDuration + 's',
5217
- repeatCount: "indefinite",
5218
- path: path
5219
- }))), /*#__PURE__*/React__default.createElement(appStudio.View, {
5220
- position: "absolute",
5221
- backgroundColor: containerBg,
5222
- borderRadius: Math.max(0, numericBorderRadius - 1),
5223
- top: borderWidth,
5224
- bottom: borderWidth,
5225
- left: borderWidth,
5226
- right: borderWidth,
5227
- zIndex: 2
5228
- }), /*#__PURE__*/React__default.createElement(appStudio.View, {
5229
- position: "relative",
5230
- width: "100%",
5231
- height: "100%",
5232
- display: "flex",
5233
- alignItems: "center",
5234
- justifyContent: "center",
5235
- color: borderMovingTextColor,
5236
- fontSize: 14,
5237
- zIndex: 3,
5238
- style: {
5239
- cursor: 'pointer'
5240
- }
5241
- }, content));
5383
+ return /*#__PURE__*/React__default.createElement(BorderMovingButton, Object.assign({
5384
+ variant: variant,
5385
+ shape: shape,
5386
+ size: size,
5387
+ isDisabled: isDisabled,
5388
+ onClick: onClick,
5389
+ views: views,
5390
+ mainTone: mainTone,
5391
+ tone: tone,
5392
+ borderMovingGradientColors: borderMovingGradientColors,
5393
+ borderMovingDuration: borderMovingDuration,
5394
+ content: content
5395
+ }, props));
5242
5396
  }
5243
5397
  if (variant === 'animatedStroke') {
5244
- var resolvedAccentColor = getColor(animatedStrokeAccentColor);
5245
- var resolvedTextColor = getColor(animatedStrokeTextColor);
5246
- var _numericWidth = typeof sizeStyles.width === 'number' ? sizeStyles.width : 300;
5247
- var _numericHeight = typeof sizeStyles.height === 'number' ? sizeStyles.height : 60;
5248
- var strokeAnimation = {
5249
- from: {
5250
- strokeWidth: '8px',
5251
- strokeDasharray: '0 500',
5252
- strokeDashoffset: -454
5253
- },
5254
- to: {
5255
- strokeWidth: '3px',
5256
- strokeDasharray: '760',
5257
- strokeDashoffset: 0
5258
- },
5259
- duration: '0.9s',
5260
- timingFunction: 'ease-in',
5261
- fillMode: 'forwards'
5262
- };
5263
- return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
5264
- as: to ? 'a' : 'div',
5265
- href: to ? to : undefined,
5398
+ return /*#__PURE__*/React__default.createElement(AnimatedStrokeButton, Object.assign({
5399
+ variant: variant,
5400
+ to: to,
5266
5401
  onClick: onClick,
5267
- display: "inline-block",
5268
- maxWidth: "20rem",
5269
- margin: "0 auto",
5270
- textAlign: "center",
5271
- textDecoration: "none",
5272
- position: "relative",
5273
- cursor: "pointer"
5274
- }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, {
5275
- as: "svg",
5276
- display: "block",
5277
- height: _numericHeight,
5278
- width: _numericWidth,
5279
- xmlns: "http://www.w3.org/2000/svg"
5280
- }, /*#__PURE__*/React__default.createElement(appStudio.View, {
5281
- as: "rect",
5282
- height: _numericHeight,
5283
- width: _numericWidth,
5284
- fill: "transparent",
5285
- stroke: resolvedAccentColor,
5286
- strokeWidth: "8px",
5287
- strokeDasharray: "120 500",
5288
- strokeDashoffset: -454,
5289
- on: {
5290
- hover: {
5291
- animate: strokeAnimation
5292
- }
5293
- }
5294
- })), /*#__PURE__*/React__default.createElement(appStudio.View, {
5295
- position: "absolute",
5296
- top: 0,
5297
- right: 0,
5298
- bottom: 0,
5299
- left: 0,
5300
- display: "flex",
5301
- alignItems: "center",
5302
- justifyContent: "center",
5303
- paddingX: 16,
5304
- paddingY: 8,
5305
- fontSize: "22px",
5306
- lineHeight: "1.3",
5307
- letterSpacing: "0.3rem",
5308
- textAlign: "center",
5309
- textTransform: "uppercase",
5310
- whiteSpace: "normal",
5311
- wordBreak: "break-word",
5312
- pointerEvents: "none",
5313
- userSelect: "none",
5314
- color: resolvedTextColor
5315
- }, children));
5402
+ views: views,
5403
+ size: size,
5404
+ accentColor: animatedStrokeAccentColor,
5405
+ textColor: animatedStrokeTextColor,
5406
+ getColor: getColor
5407
+ }, props), children);
5316
5408
  }
5317
- return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5318
- as: variant === 'link' && to ? 'div' : 'button',
5319
- type: variant === 'link' && to ? undefined : 'button',
5320
- disabled: Boolean(isDisabled || isLoading)
5321
- }, sizeStyles, iconPad, {
5322
- display: "flex",
5323
- alignItems: "center",
5324
- justifyContent: "center",
5325
- // width={isAuto ? 'fit-content' : isFilled ? '100%' : undefined}
5326
- /* visuals */
5327
- borderRadius: ButtonShapes[shape],
5328
- boxShadow: shadow,
5329
- transition: "all 0.2s ease",
5330
- cursor: isDisabled ? 'default' : 'pointer',
5331
- onClick: onClick
5332
- }, base, views == null ? void 0 : views.container, props), to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
5409
+ // Standard variants (filled, outline, ghost, link)
5410
+ var sizeStyles = ButtonSizes[size];
5411
+ var iconPad = isIconRounded ? IconSizes$1[size] : {};
5412
+ return /*#__PURE__*/React__default.createElement(StandardButton, Object.assign({
5413
+ variant: variant,
5333
5414
  to: to,
5415
+ isDisabled: isDisabled,
5416
+ isLoading: isLoading,
5417
+ isAuto: isAuto,
5418
+ isFilled: isFilled,
5334
5419
  isExternal: isExternal,
5335
- color: 'inherit',
5336
- textDecoration: 'inherit',
5337
- textDecorationColor: 'inherit'
5338
- }, views == null ? void 0 : views.link), content)) : content);
5420
+ shape: shape,
5421
+ shadow: shadow,
5422
+ onClick: onClick,
5423
+ views: views,
5424
+ baseStyles: base,
5425
+ sizeStyles: sizeStyles,
5426
+ iconPad: iconPad,
5427
+ resolvedTextColor: resolvedTextColor,
5428
+ content: content,
5429
+ size: size
5430
+ }, props));
5339
5431
  };
5340
5432
 
5341
5433
  // Importing a custom hook to manage the state specific to the button component.
@@ -5471,9 +5563,9 @@ var useCardContext = () => {
5471
5563
  };
5472
5564
 
5473
5565
  var _excluded$e = ["children", "views", "style", "themeMode"],
5474
- _excluded2$3 = ["children", "views", "style", "themeMode"],
5475
- _excluded3$3 = ["children", "views", "style", "themeMode"],
5476
- _excluded4$3 = ["variant", "size", "shape", "children", "header", "footer", "isFullWidth", "views", "style", "themeMode"];
5566
+ _excluded2$4 = ["children", "views", "style", "themeMode"],
5567
+ _excluded3$4 = ["children", "views", "style", "themeMode"],
5568
+ _excluded4$4 = ["variant", "size", "shape", "children", "header", "footer", "isFullWidth", "views", "style", "themeMode"];
5477
5569
  var CardHeader = _ref => {
5478
5570
  var _contextStyles$header;
5479
5571
  var {
@@ -5498,7 +5590,7 @@ var CardContent = _ref2 => {
5498
5590
  children,
5499
5591
  style
5500
5592
  } = _ref2,
5501
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
5593
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
5502
5594
  var theme = appStudio.useTheme();
5503
5595
  var {
5504
5596
  styles: contextStyles
@@ -5516,7 +5608,7 @@ var CardFooter = _ref3 => {
5516
5608
  children,
5517
5609
  style
5518
5610
  } = _ref3,
5519
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$3);
5611
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
5520
5612
  var theme = appStudio.useTheme();
5521
5613
  var {
5522
5614
  styles: contextStyles
@@ -5542,7 +5634,7 @@ var CardView = _ref4 => {
5542
5634
  style,
5543
5635
  themeMode: elementMode
5544
5636
  } = _ref4,
5545
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$3);
5637
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$4);
5546
5638
  var theme = appStudio.useTheme();
5547
5639
  var defaultStyles = getDefaultCardStyles();
5548
5640
  // Prepare context value, merging default styles with user's `views` overrides
@@ -5875,9 +5967,9 @@ var useCarouselContext = () => {
5875
5967
  };
5876
5968
 
5877
5969
  var _excluded$f = ["children", "isActive", "views"],
5878
- _excluded2$4 = ["views", "children"],
5879
- _excluded3$4 = ["views", "children"],
5880
- _excluded4$4 = ["children", "views"],
5970
+ _excluded2$5 = ["views", "children"],
5971
+ _excluded3$5 = ["views", "children"],
5972
+ _excluded4$5 = ["children", "views"],
5881
5973
  _excluded5$1 = ["children", "views", "style"],
5882
5974
  _excluded6$1 = ["children", "defaultActiveIndex", "activeIndex", "onChange", "showNavigation", "navigationPosition", "prevButton", "nextButton", "showIndicators", "indicatorPosition", "indicatorVariant", "autoPlay", "autoPlayInterval", "pauseOnHover", "infinite", "direction", "transitionDuration", "views", "stepIndices", "themeMode"];
5883
5975
  var CarouselSlide = _ref => {
@@ -5902,7 +5994,7 @@ var CarouselPreviousComponent = _ref2 => {
5902
5994
  children // Allow custom content/icon
5903
5995
  // Spread remaining ButtonProps
5904
5996
  } = _ref2,
5905
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
5997
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
5906
5998
  var {
5907
5999
  goToPrevious,
5908
6000
  canGoPrevious,
@@ -5925,7 +6017,7 @@ var CarouselNextComponent = _ref3 => {
5925
6017
  views,
5926
6018
  children
5927
6019
  } = _ref3,
5928
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
6020
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$5);
5929
6021
  var {
5930
6022
  goToNext,
5931
6023
  canGoNext,
@@ -5948,7 +6040,7 @@ var CarouselItemComponent = _ref4 => {
5948
6040
  children,
5949
6041
  views
5950
6042
  } = _ref4,
5951
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$4);
6043
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$5);
5952
6044
  var {
5953
6045
  registerSlide,
5954
6046
  unregisterSlide,
@@ -7693,9 +7785,9 @@ var ContextMenuItemStates = {
7693
7785
  // using viewport-aware algorithms in the ContextMenu component
7694
7786
 
7695
7787
  var _excluded$i = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
7696
- _excluded2$5 = ["items", "children", "position", "side", "align", "views", "style"],
7697
- _excluded3$5 = ["item", "children", "onSelect", "isDisabled", "views"],
7698
- _excluded4$5 = ["views"],
7788
+ _excluded2$6 = ["items", "children", "position", "side", "align", "views", "style"],
7789
+ _excluded3$6 = ["item", "children", "onSelect", "isDisabled", "views"],
7790
+ _excluded4$6 = ["views"],
7699
7791
  _excluded5$2 = ["views"],
7700
7792
  _excluded6$2 = ["children", "items", "size", "variant", "disableNativeContextMenu", "views", "themeMode"];
7701
7793
  // Create context for the ContextMenu
@@ -7802,7 +7894,7 @@ var ContextMenuContent = _ref3 => {
7802
7894
  views,
7803
7895
  style // Capture user-provided style
7804
7896
  } = _ref3,
7805
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$5);
7897
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$6);
7806
7898
  var {
7807
7899
  isOpen,
7808
7900
  position: contextPosition,
@@ -7917,7 +8009,7 @@ var ContextMenuItem = _ref4 => {
7917
8009
  isDisabled = false,
7918
8010
  views
7919
8011
  } = _ref4,
7920
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$5);
8012
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$6);
7921
8013
  var {
7922
8014
  activeSubmenuId,
7923
8015
  setActiveSubmenuId,
@@ -8046,7 +8138,7 @@ var ContextMenuDivider = _ref5 => {
8046
8138
  var {
8047
8139
  views
8048
8140
  } = _ref5,
8049
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$5);
8141
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$6);
8050
8142
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
8051
8143
  height: "1px",
8052
8144
  backgroundColor: "color.gray.200",
@@ -8162,7 +8254,7 @@ ContextMenu.Divider = ContextMenuDivider;
8162
8254
  ContextMenu.Separator = ContextMenuSeparator; // Add the Separator component
8163
8255
 
8164
8256
  var _excluded$k = ["src", "color", "views", "themeMode"],
8165
- _excluded2$6 = ["path"];
8257
+ _excluded2$7 = ["path"];
8166
8258
  var FileSVG = _ref => {
8167
8259
  var {
8168
8260
  src,
@@ -8192,7 +8284,7 @@ var FileImage = _ref2 => {
8192
8284
  var {
8193
8285
  path
8194
8286
  } = _ref2,
8195
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$6);
8287
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
8196
8288
  return /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
8197
8289
  src: path
8198
8290
  }, props));
@@ -8668,9 +8760,9 @@ var IconSizes$2 = {
8668
8760
  };
8669
8761
 
8670
8762
  var _excluded$s = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
8671
- _excluded2$7 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
8672
- _excluded3$6 = ["option", "size", "removeOption"],
8673
- _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"];
8763
+ _excluded2$8 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
8764
+ _excluded3$7 = ["option", "size", "removeOption"],
8765
+ _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"];
8674
8766
  /**
8675
8767
  * Item Component
8676
8768
  *
@@ -8793,7 +8885,7 @@ var HiddenSelect = _ref4 => {
8793
8885
  isReadOnly = false,
8794
8886
  options = []
8795
8887
  } = _ref4,
8796
- props = _objectWithoutPropertiesLoose(_ref4, _excluded2$7);
8888
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded2$8);
8797
8889
  var handleChange = event => {
8798
8890
  if (onChange) onChange(event);
8799
8891
  };
@@ -8878,7 +8970,7 @@ var MultiSelect = _ref6 => {
8878
8970
  size = 'md',
8879
8971
  removeOption = () => {}
8880
8972
  } = _ref6,
8881
- props = _objectWithoutPropertiesLoose(_ref6, _excluded3$6);
8973
+ props = _objectWithoutPropertiesLoose(_ref6, _excluded3$7);
8882
8974
  var handleClick = () => removeOption(option);
8883
8975
  return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
8884
8976
  gap: 8,
@@ -8939,7 +9031,7 @@ var SelectView = _ref7 => {
8939
9031
  setHighlightedIndex,
8940
9032
  highlightedIndex
8941
9033
  } = _ref7,
8942
- props = _objectWithoutPropertiesLoose(_ref7, _excluded4$6);
9034
+ props = _objectWithoutPropertiesLoose(_ref7, _excluded4$7);
8943
9035
  var {
8944
9036
  ref: triggerRef,
8945
9037
  relation,
@@ -12128,8 +12220,8 @@ var IconSizes$4 = {
12128
12220
  };
12129
12221
 
12130
12222
  var _excluded$y = ["size"],
12131
- _excluded2$8 = ["size"],
12132
- _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"];
12223
+ _excluded2$9 = ["size"],
12224
+ _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"];
12133
12225
  var CountryList = _ref => {
12134
12226
  var props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
12135
12227
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
@@ -12140,7 +12232,7 @@ var CountrySelector = props => (/*#__PURE__*/React__default.createElement(appStu
12140
12232
  type: "country"
12141
12233
  }, props)));
12142
12234
  var CountryItem = _ref2 => {
12143
- var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$8);
12235
+ var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$9);
12144
12236
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
12145
12237
  as: "li"
12146
12238
  }, props));
@@ -12242,7 +12334,7 @@ var CountryPickerView = _ref5 => {
12242
12334
  },
12243
12335
  themeMode: elementMode
12244
12336
  } = _ref5,
12245
- props = _objectWithoutPropertiesLoose(_ref5, _excluded3$7);
12337
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded3$8);
12246
12338
  var {
12247
12339
  getColor,
12248
12340
  themeMode
@@ -12493,7 +12585,7 @@ var usePasswordState = props => {
12493
12585
  };
12494
12586
 
12495
12587
  var _excluded$A = ["visibleIcon", "hiddenIcon"],
12496
- _excluded2$9 = ["isVisible", "setIsVisible"];
12588
+ _excluded2$a = ["isVisible", "setIsVisible"];
12497
12589
  var PasswordComponent = _ref => {
12498
12590
  var {
12499
12591
  visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
@@ -12509,7 +12601,7 @@ var PasswordComponent = _ref => {
12509
12601
  isVisible,
12510
12602
  setIsVisible
12511
12603
  } = _usePasswordState,
12512
- passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$9);
12604
+ passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$a);
12513
12605
  return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
12514
12606
  type: isVisible ? 'text' : 'password',
12515
12607
  isClearable: false,
@@ -14638,7 +14730,7 @@ var useHoverCardState = function useHoverCardState(_temp) {
14638
14730
  };
14639
14731
 
14640
14732
  var _excluded$J = ["children", "views", "asChild"],
14641
- _excluded2$a = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
14733
+ _excluded2$b = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
14642
14734
  // Create context for the HoverCard
14643
14735
  var HoverCardContext = /*#__PURE__*/React.createContext({
14644
14736
  isOpen: false,
@@ -14724,7 +14816,7 @@ var HoverCardContent = _ref3 => {
14724
14816
  minWidth = '50px',
14725
14817
  maxWidth = '300px'
14726
14818
  } = _ref3,
14727
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$a);
14819
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$b);
14728
14820
  var {
14729
14821
  isOpen,
14730
14822
  cancelCloseTimer,
@@ -15846,7 +15938,7 @@ var SwitchComponent$1 = props => {
15846
15938
  var FormikSwitch = SwitchComponent$1;
15847
15939
 
15848
15940
  var _excluded$N = ["name"],
15849
- _excluded2$b = ["tags"];
15941
+ _excluded2$c = ["tags"];
15850
15942
  /**
15851
15943
  * Formik-integrated TagInput component
15852
15944
  */
@@ -15889,7 +15981,7 @@ var TagInputComponent$1 = props => {
15889
15981
  var {
15890
15982
  tags
15891
15983
  } = tagInputState,
15892
- stateWithoutTags = _objectWithoutPropertiesLoose(tagInputState, _excluded2$b);
15984
+ stateWithoutTags = _objectWithoutPropertiesLoose(tagInputState, _excluded2$c);
15893
15985
  // Render the view component with combined props and state
15894
15986
  return /*#__PURE__*/React__default.createElement(TagInputView, Object.assign({}, stateWithoutTags, restProps, {
15895
15987
  tags: tags,
@@ -15925,7 +16017,7 @@ var TextFieldComponent$1 = props => {
15925
16017
  var FormikTextField = TextFieldComponent$1;
15926
16018
 
15927
16019
  var _excluded$P = ["visibleIcon", "hiddenIcon"],
15928
- _excluded2$c = ["isVisible", "setIsVisible"];
16020
+ _excluded2$d = ["isVisible", "setIsVisible"];
15929
16021
  var PasswordComponent$1 = _ref => {
15930
16022
  var {
15931
16023
  visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
@@ -15942,7 +16034,7 @@ var PasswordComponent$1 = _ref => {
15942
16034
  isVisible,
15943
16035
  setIsVisible
15944
16036
  } = _usePasswordState,
15945
- passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$c);
16037
+ passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$d);
15946
16038
  return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
15947
16039
  type: isVisible ? 'text' : 'password',
15948
16040
  isClearable: false,
@@ -17059,9 +17151,9 @@ var ModalTypography = {
17059
17151
  };
17060
17152
 
17061
17153
  var _excluded$T = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
17062
- _excluded2$d = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
17063
- _excluded3$8 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
17064
- _excluded4$7 = ["children", "views"],
17154
+ _excluded2$e = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
17155
+ _excluded3$9 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
17156
+ _excluded4$8 = ["children", "views"],
17065
17157
  _excluded5$3 = ["children", "views"];
17066
17158
  var ModalOverlay = _ref => {
17067
17159
  var {
@@ -17109,7 +17201,7 @@ var ModalContainer = _ref2 => {
17109
17201
  shape = 'rounded',
17110
17202
  views
17111
17203
  } = _ref2,
17112
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$d);
17204
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$e);
17113
17205
  var defaultShadow = typeof document !== undefined ? {
17114
17206
  boxShadow: '0px 4px 16px rgba(0, 0, 0, 0.15)'
17115
17207
  } : {
@@ -17150,7 +17242,7 @@ var ModalHeader = _ref3 => {
17150
17242
  buttonPosition = 'right',
17151
17243
  views
17152
17244
  } = _ref3,
17153
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$8);
17245
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$9);
17154
17246
  var onClose = props.onClose ? props.onClose : hideModal;
17155
17247
  var buttonIcon = /*#__PURE__*/React__default.createElement(appStudio.View, {
17156
17248
  onClick: onClose
@@ -17179,7 +17271,7 @@ var ModalBody = _ref4 => {
17179
17271
  children,
17180
17272
  views
17181
17273
  } = _ref4,
17182
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$7);
17274
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$8);
17183
17275
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
17184
17276
  paddingVertical: 16,
17185
17277
  paddingHorizontal: 24,
@@ -17322,9 +17414,9 @@ var DrawerPlacements = {
17322
17414
  };
17323
17415
 
17324
17416
  var _excluded$U = ["isOpen", "onClose", "isClosePrevented", "blur", "children"],
17325
- _excluded2$e = ["placement", "size", "children"],
17326
- _excluded3$9 = ["children", "onClose", "buttonPosition"],
17327
- _excluded4$8 = ["children"],
17417
+ _excluded2$f = ["placement", "size", "children"],
17418
+ _excluded3$a = ["children", "onClose", "buttonPosition"],
17419
+ _excluded4$9 = ["children"],
17328
17420
  _excluded5$4 = ["children"];
17329
17421
  var DrawerOverlay = _ref => {
17330
17422
  var {
@@ -17375,7 +17467,7 @@ var DrawerContainer = _ref2 => {
17375
17467
  size = 'md',
17376
17468
  children
17377
17469
  } = _ref2,
17378
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$e);
17470
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$f);
17379
17471
  var handleClick = e => {
17380
17472
  e.stopPropagation();
17381
17473
  };
@@ -17401,7 +17493,7 @@ var DrawerHeader = _ref3 => {
17401
17493
  onClose,
17402
17494
  buttonPosition = 'right'
17403
17495
  } = _ref3,
17404
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$9);
17496
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$a);
17405
17497
  var closeButton = onClose && (/*#__PURE__*/React__default.createElement(appStudio.View, {
17406
17498
  onClick: onClose,
17407
17499
  cursor: "pointer",
@@ -17423,7 +17515,7 @@ var DrawerBody = _ref4 => {
17423
17515
  var {
17424
17516
  children
17425
17517
  } = _ref4,
17426
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$8);
17518
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$9);
17427
17519
  return /*#__PURE__*/React__default.createElement(appStudio.Vertical, Object.assign({
17428
17520
  padding: 24,
17429
17521
  flex: 1,
@@ -18985,7 +19077,7 @@ var TypewriterEffect = _ref => {
18985
19077
  };
18986
19078
 
18987
19079
  var _excluded$Z = ["text", "duration", "direction", "stagger", "sequential", "textStyle", "as", "wordProps"],
18988
- _excluded2$f = ["style"];
19080
+ _excluded2$g = ["style"];
18989
19081
  // CSS keyframes injection - done once
18990
19082
  var KEYFRAMES_ID = 'slide-effect-keyframes';
18991
19083
  var injectKeyframes = () => {
@@ -19080,7 +19172,7 @@ var SlideEffect = _ref => {
19080
19172
  {
19081
19173
  style: customWordStyle
19082
19174
  } = _ref2,
19083
- restWordProps = _objectWithoutPropertiesLoose(_ref2, _excluded2$f);
19175
+ restWordProps = _objectWithoutPropertiesLoose(_ref2, _excluded2$g);
19084
19176
  // Get animation names based on direction
19085
19177
  var isUp = direction === 'up';
19086
19178
  var enterAnim = isUp ? 'slideInUp' : 'slideInDown';
@@ -19873,9 +19965,9 @@ var DropdownMenuItemStates = {
19873
19965
  };
19874
19966
 
19875
19967
  var _excluded$11 = ["children", "views"],
19876
- _excluded2$g = ["items", "side", "align", "views"],
19877
- _excluded3$a = ["item", "views"],
19878
- _excluded4$9 = ["views"],
19968
+ _excluded2$h = ["items", "side", "align", "views"],
19969
+ _excluded3$b = ["item", "views"],
19970
+ _excluded4$a = ["views"],
19879
19971
  _excluded5$5 = ["trigger", "items", "side", "align", "views", "themeMode"];
19880
19972
  // Create context for the DropdownMenu
19881
19973
  var DropdownMenuContext = /*#__PURE__*/React.createContext({
@@ -19940,7 +20032,7 @@ var DropdownMenuContent = _ref3 => {
19940
20032
  align = 'start',
19941
20033
  views
19942
20034
  } = _ref3,
19943
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$g);
20035
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
19944
20036
  var {
19945
20037
  isOpen,
19946
20038
  variant,
@@ -20071,7 +20163,7 @@ var DropdownMenuItem = _ref4 => {
20071
20163
  item,
20072
20164
  views
20073
20165
  } = _ref4,
20074
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$a);
20166
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$b);
20075
20167
  var {
20076
20168
  activeSubmenuId,
20077
20169
  setActiveSubmenuId,
@@ -20136,7 +20228,7 @@ var DropdownMenuDivider = _ref5 => {
20136
20228
  var {
20137
20229
  views
20138
20230
  } = _ref5,
20139
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$9);
20231
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$a);
20140
20232
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
20141
20233
  height: "1px",
20142
20234
  backgroundColor: "color.gray.200",
@@ -24494,9 +24586,9 @@ var SidebarTransitions = {
24494
24586
  };
24495
24587
 
24496
24588
  var _excluded$1e = ["children", "showToggleButton", "views"],
24497
- _excluded2$h = ["children", "views"],
24498
- _excluded3$b = ["children", "views"],
24499
- _excluded4$a = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
24589
+ _excluded2$i = ["children", "views"],
24590
+ _excluded3$c = ["children", "views"],
24591
+ _excluded4$b = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
24500
24592
  // Create context for the Sidebar
24501
24593
  var SidebarContext = /*#__PURE__*/React.createContext({
24502
24594
  isExpanded: true,
@@ -24593,7 +24685,7 @@ var SidebarContent = _ref3 => {
24593
24685
  children,
24594
24686
  views
24595
24687
  } = _ref3,
24596
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
24688
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
24597
24689
  var {
24598
24690
  isExpanded
24599
24691
  } = useSidebarContext();
@@ -24611,7 +24703,7 @@ var SidebarFooter = _ref4 => {
24611
24703
  children,
24612
24704
  views
24613
24705
  } = _ref4,
24614
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$b);
24706
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$c);
24615
24707
  var {
24616
24708
  isExpanded
24617
24709
  } = useSidebarContext();
@@ -24647,7 +24739,7 @@ var SidebarView = _ref5 => {
24647
24739
  collapse,
24648
24740
  views
24649
24741
  } = _ref5,
24650
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$a);
24742
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$b);
24651
24743
  // Determine width based on expanded state and size
24652
24744
  var sizeConfig = SidebarSizes[size];
24653
24745
  var width = isExpanded ? expandedWidth || sizeConfig.expandedWidth : collapsedWidth || sizeConfig.collapsedWidth;
@@ -25169,8 +25261,8 @@ var HandleIconStyles = {
25169
25261
  };
25170
25262
 
25171
25263
  var _excluded$1g = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
25172
- _excluded2$i = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
25173
- _excluded3$c = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
25264
+ _excluded2$j = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
25265
+ _excluded3$d = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
25174
25266
  // Create context for the Resizable component
25175
25267
  var ResizableContext = /*#__PURE__*/React.createContext({
25176
25268
  orientation: 'horizontal',
@@ -25277,7 +25369,7 @@ var ResizableHandle = _ref3 => {
25277
25369
  collapseTarget,
25278
25370
  views
25279
25371
  } = _ref3,
25280
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
25372
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$j);
25281
25373
  var {
25282
25374
  orientation,
25283
25375
  size,
@@ -25417,7 +25509,7 @@ var ResizableView = _ref4 => {
25417
25509
  containerRef,
25418
25510
  views
25419
25511
  } = _ref4,
25420
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$c);
25512
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$d);
25421
25513
  var Container = orientation === 'horizontal' ? appStudio.Horizontal : appStudio.Vertical;
25422
25514
  return /*#__PURE__*/React__default.createElement(Container, Object.assign({
25423
25515
  ref: containerRef,
@@ -26220,9 +26312,9 @@ var CommandFooterStyles = {
26220
26312
  };
26221
26313
 
26222
26314
  var _excluded$1i = ["value", "onValueChange", "placeholder", "views"],
26223
- _excluded2$j = ["children", "views"],
26224
- _excluded3$d = ["heading", "children", "views"],
26225
- _excluded4$b = ["item", "selected", "onSelect", "views"],
26315
+ _excluded2$k = ["children", "views"],
26316
+ _excluded3$e = ["heading", "children", "views"],
26317
+ _excluded4$c = ["item", "selected", "onSelect", "views"],
26226
26318
  _excluded5$6 = ["children", "views"],
26227
26319
  _excluded6$3 = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "emptyState", "footer", "search", "setSearch", "selectedIndex", "setSelectedIndex", "filteredCommands", "filteredGroups", "listRef", "views", "filter"];
26228
26320
  var CommandContext = /*#__PURE__*/React.createContext({
@@ -26283,7 +26375,7 @@ var CommandList = _ref3 => {
26283
26375
  children,
26284
26376
  views
26285
26377
  } = _ref3,
26286
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$j);
26378
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$k);
26287
26379
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandListStyles, views == null ? void 0 : views.container, props), children);
26288
26380
  };
26289
26381
  // Command Group component
@@ -26293,7 +26385,7 @@ var CommandGroup = _ref4 => {
26293
26385
  children,
26294
26386
  views
26295
26387
  } = _ref4,
26296
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$d);
26388
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$e);
26297
26389
  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);
26298
26390
  };
26299
26391
  // Command Item component
@@ -26304,7 +26396,7 @@ var CommandItem = _ref5 => {
26304
26396
  onSelect,
26305
26397
  views
26306
26398
  } = _ref5,
26307
- props = _objectWithoutPropertiesLoose(_ref5, _excluded4$b);
26399
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4$c);
26308
26400
  var handleClick = () => {
26309
26401
  if (!item.disabled && onSelect) {
26310
26402
  onSelect();
@@ -26690,8 +26782,8 @@ var getArrowStyles = position => {
26690
26782
  };
26691
26783
 
26692
26784
  var _excluded$1k = ["children", "views", "asChild"],
26693
- _excluded2$k = ["children", "views"],
26694
- _excluded3$e = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
26785
+ _excluded2$l = ["children", "views"],
26786
+ _excluded3$f = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
26695
26787
  // Create context for the Tooltip
26696
26788
  var TooltipContext = /*#__PURE__*/React.createContext({
26697
26789
  isOpen: false,
@@ -26761,7 +26853,7 @@ var TooltipContent = _ref3 => {
26761
26853
  children,
26762
26854
  views
26763
26855
  } = _ref3,
26764
- props = _objectWithoutPropertiesLoose(_ref3, _excluded2$k);
26856
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded2$l);
26765
26857
  var {
26766
26858
  isOpen,
26767
26859
  contentRef,
@@ -26791,7 +26883,7 @@ var TooltipView = _ref4 => {
26791
26883
  showArrow = true,
26792
26884
  views
26793
26885
  } = _ref4,
26794
- props = _objectWithoutPropertiesLoose(_ref4, _excluded3$e);
26886
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded3$f);
26795
26887
  var {
26796
26888
  isOpen,
26797
26889
  triggerRef,
@@ -27331,9 +27423,9 @@ var Gradient = props => {
27331
27423
  };
27332
27424
 
27333
27425
  var _excluded$1n = ["children", "showRadialGradient", "views", "themeMode"],
27334
- _excluded2$l = ["number", "children"],
27335
- _excluded3$f = ["rows", "cols", "squareSize"],
27336
- _excluded4$c = ["count", "colors", "speed", "shapes"],
27426
+ _excluded2$m = ["number", "children"],
27427
+ _excluded3$g = ["rows", "cols", "squareSize"],
27428
+ _excluded4$d = ["count", "colors", "speed", "shapes"],
27337
27429
  _excluded5$7 = ["gridSize", "lineColor", "pulseColor", "animationSpeed"],
27338
27430
  _excluded6$4 = ["rippleCount", "colors", "maxSize", "frequency"],
27339
27431
  _excluded7$1 = ["children", "src", "backgroundSize", "backgroundPosition", "backgroundRepeat", "backgroundAttachment", "imageOpacity", "overlay", "blendMode", "views", "themeMode"],
@@ -27375,7 +27467,7 @@ var Meteors = _ref2 => {
27375
27467
  number = 20,
27376
27468
  children
27377
27469
  } = _ref2,
27378
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$l);
27470
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$m);
27379
27471
  var meteors = Array.from({
27380
27472
  length: number
27381
27473
  }, (_, i) => i);
@@ -27443,7 +27535,7 @@ var Wall = _ref3 => {
27443
27535
  cols = 10,
27444
27536
  squareSize = 40
27445
27537
  } = _ref3,
27446
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3$f);
27538
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$g);
27447
27539
  var rowsArray = Array(rows).fill(1);
27448
27540
  var colsArray = Array(cols).fill(1);
27449
27541
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
@@ -27486,7 +27578,7 @@ var Particles = _ref4 => {
27486
27578
  speed = 'medium',
27487
27579
  shapes = ['circle']
27488
27580
  } = _ref4,
27489
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4$c);
27581
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$d);
27490
27582
  var particles = Array.from({
27491
27583
  length: count
27492
27584
  }, (_, i) => i);
@@ -27908,6 +28000,7 @@ exports.AudioIcon = AudioIcon;
27908
28000
  exports.AudioInput = AudioInput;
27909
28001
  exports.AudioWaveform = AudioWaveform;
27910
28002
  exports.Avatar = Avatar;
28003
+ exports.BackIcon = BackIcon;
27911
28004
  exports.Background = Background;
27912
28005
  exports.Badge = Badge;
27913
28006
  exports.BatteryIcon = BatteryIcon;