@app-studio/web 0.9.49 → 0.9.51

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.
@@ -5055,6 +5055,28 @@ var getButtonVariants = function getButtonVariants(color, isLight, isThemeLight)
5055
5055
  boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5056
5056
  },
5057
5057
  transition: 'opacity 0.2s ease'
5058
+ },
5059
+ subtle: {
5060
+ backgroundColor: 'white',
5061
+ color: color,
5062
+ borderWidth: 1,
5063
+ borderStyle: 'solid',
5064
+ borderColor: color,
5065
+ paddingHorizontal: 12,
5066
+ paddingVertical: 6,
5067
+ borderRadius: 6,
5068
+ fontWeight: 500,
5069
+ _hover: {
5070
+ backgroundColor: 'rgba(0, 0, 0, 0.05)'
5071
+ },
5072
+ _active: {
5073
+ backgroundColor: 'rgba(0, 0, 0, 0.1)'
5074
+ },
5075
+ _focusVisible: {
5076
+ outline: 'none',
5077
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5078
+ },
5079
+ transition: 'all 0.2s ease'
5058
5080
  }
5059
5081
  };
5060
5082
  };
@@ -6543,12 +6565,14 @@ var BarChart = _ref => {
6543
6565
  var groupWidth = chartWidth / barCount;
6544
6566
  var barWidth = groupWidth * 0.8 / seriesCount;
6545
6567
  var barSpacing = groupWidth * 0.2 / (seriesCount + 1);
6568
+ // Calculate effective max value
6569
+ var effectiveMaxValue = maxValue || 10;
6546
6570
  // Generate y-axis ticks
6547
6571
  var yAxisTicks = React.useMemo(() => {
6548
6572
  var tickCount = 5;
6549
6573
  var ticks = [];
6550
6574
  for (var i = 0; i <= tickCount; i++) {
6551
- var value = maxValue / tickCount * i;
6575
+ var value = effectiveMaxValue / tickCount * i;
6552
6576
  ticks.push(value);
6553
6577
  }
6554
6578
  return ticks;
@@ -6581,7 +6605,7 @@ var BarChart = _ref => {
6581
6605
  }
6582
6606
  }), label);
6583
6607
  }), yAxisTicks.map((tick, index) => {
6584
- var y = height - padding.bottom - tick / maxValue * chartHeight;
6608
+ var y = height - padding.bottom - tick / effectiveMaxValue * chartHeight;
6585
6609
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
6586
6610
  key: "y-tick-" + index
6587
6611
  }, /*#__PURE__*/React__default.createElement("text", Object.assign({
@@ -6603,7 +6627,7 @@ var BarChart = _ref => {
6603
6627
  }), data.series.map((series, seriesIndex) => (/*#__PURE__*/React__default.createElement(React__default.Fragment, {
6604
6628
  key: "series-" + seriesIndex
6605
6629
  }, series.data.map((value, dataIndex) => {
6606
- var barHeight = value / maxValue * chartHeight * animationProgress;
6630
+ var barHeight = value / effectiveMaxValue * chartHeight * animationProgress;
6607
6631
  var x = padding.left + dataIndex * groupWidth + barSpacing * (seriesIndex + 1) + barWidth * seriesIndex;
6608
6632
  var y = height - padding.bottom - barHeight;
6609
6633
  var categoryLabel = data.labels[dataIndex];
@@ -6716,12 +6740,14 @@ var LineChart = _ref => {
6716
6740
  });
6717
6741
  return max;
6718
6742
  }, [data]);
6743
+ // Calculate effective max value
6744
+ var effectiveMaxValue = maxValue || 10;
6719
6745
  // Generate y-axis ticks
6720
6746
  var yAxisTicks = React.useMemo(() => {
6721
6747
  var tickCount = 5;
6722
6748
  var ticks = [];
6723
6749
  for (var i = 0; i <= tickCount; i++) {
6724
- var value = maxValue / tickCount * i;
6750
+ var value = effectiveMaxValue / tickCount * i;
6725
6751
  ticks.push(value);
6726
6752
  }
6727
6753
  return ticks;
@@ -6730,7 +6756,7 @@ var LineChart = _ref => {
6730
6756
  var generatePath = series => {
6731
6757
  var points = series.map((value, index) => {
6732
6758
  var x = padding.left + index / (data.labels.length - 1) * chartWidth;
6733
- var y = height - padding.bottom - value / maxValue * chartHeight * animationProgress;
6759
+ var y = height - padding.bottom - value / effectiveMaxValue * chartHeight * animationProgress;
6734
6760
  return x + "," + y;
6735
6761
  });
6736
6762
  return "M " + points.join(' L ');
@@ -6742,7 +6768,7 @@ var LineChart = _ref => {
6742
6768
  var baseY = height - padding.bottom;
6743
6769
  var points = series.map((value, index) => {
6744
6770
  var x = padding.left + index / (data.labels.length - 1) * chartWidth;
6745
- var y = height - padding.bottom - value / maxValue * chartHeight * animationProgress;
6771
+ var y = height - padding.bottom - value / effectiveMaxValue * chartHeight * animationProgress;
6746
6772
  return x + "," + y;
6747
6773
  });
6748
6774
  return "M " + startX + "," + baseY + " L " + points.join(' L ') + " L " + endX + "," + baseY + " Z";
@@ -6775,7 +6801,7 @@ var LineChart = _ref => {
6775
6801
  }
6776
6802
  }), label);
6777
6803
  }), yAxisTicks.map((tick, index) => {
6778
- var y = height - padding.bottom - tick / maxValue * chartHeight;
6804
+ var y = height - padding.bottom - tick / effectiveMaxValue * chartHeight;
6779
6805
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
6780
6806
  key: "y-tick-" + index
6781
6807
  }, /*#__PURE__*/React__default.createElement("text", Object.assign({
@@ -6807,7 +6833,7 @@ var LineChart = _ref => {
6807
6833
  stroke: lineColor
6808
6834
  }, LineStyles, views == null ? void 0 : views.line)), series.data.map((value, dataIndex) => {
6809
6835
  var x = padding.left + dataIndex / (data.labels.length - 1) * chartWidth;
6810
- var y = height - padding.bottom - value / maxValue * chartHeight * animationProgress;
6836
+ var y = height - padding.bottom - value / effectiveMaxValue * chartHeight * animationProgress;
6811
6837
  var categoryLabel = data.labels[dataIndex];
6812
6838
  var categoryTotal = data.series.reduce((sum, currentSeries) => {
6813
6839
  var seriesValue = currentSeries.data[dataIndex];
@@ -6939,6 +6965,22 @@ var PieChart = _ref => {
6939
6965
  }, [dataPoints]);
6940
6966
  // Generate pie slices
6941
6967
  var slices = React.useMemo(() => {
6968
+ if (total === 0) {
6969
+ // Return a single placeholder slice
6970
+ var path = isDonut ? ["M " + centerX + " " + (centerY - radius), "A " + radius + " " + radius + " 0 1 1 " + centerX + " " + (centerY + radius), "A " + radius + " " + radius + " 0 1 1 " + centerX + " " + (centerY - radius), "M " + centerX + " " + (centerY - donutRadius), "A " + donutRadius + " " + donutRadius + " 0 1 0 " + centerX + " " + (centerY + donutRadius), "A " + donutRadius + " " + donutRadius + " 0 1 0 " + centerX + " " + (centerY - donutRadius), 'Z'].join(' ') : ["M " + centerX + " " + centerY, "M " + centerX + " " + (centerY - radius), "A " + radius + " " + radius + " 0 1 1 " + centerX + " " + (centerY + radius), "A " + radius + " " + radius + " 0 1 1 " + centerX + " " + (centerY - radius), 'Z'].join(' ');
6971
+ return [{
6972
+ path,
6973
+ color: '#E2E8F0',
6974
+ label: 'Total',
6975
+ value: 0,
6976
+ percentage: '0%',
6977
+ labelX: centerX,
6978
+ labelY: centerY,
6979
+ startAngle: 0,
6980
+ endAngle: Math.PI * 2,
6981
+ index: -1
6982
+ }];
6983
+ }
6942
6984
  var result = [];
6943
6985
  var startAngle = -Math.PI / 2; // Start from top (12 o'clock position)
6944
6986
  for (var i = 0; i < dataPoints.length; i++) {
@@ -6959,13 +7001,13 @@ var PieChart = _ref => {
6959
7001
  // Create arc flag
6960
7002
  var largeArcFlag = angle > Math.PI ? 1 : 0;
6961
7003
  // Create path
6962
- var path = void 0;
7004
+ var _path = void 0;
6963
7005
  if (isDonut) {
6964
7006
  // Donut slice path
6965
- path = ["M " + startX + " " + startY, "A " + radius + " " + radius + " 0 " + largeArcFlag + " 1 " + endX + " " + endY, "L " + innerEndX + " " + innerEndY, "A " + donutRadius + " " + donutRadius + " 0 " + largeArcFlag + " 0 " + innerStartX + " " + innerStartY, 'Z'].join(' ');
7007
+ _path = ["M " + startX + " " + startY, "A " + radius + " " + radius + " 0 " + largeArcFlag + " 1 " + endX + " " + endY, "L " + innerEndX + " " + innerEndY, "A " + donutRadius + " " + donutRadius + " 0 " + largeArcFlag + " 0 " + innerStartX + " " + innerStartY, 'Z'].join(' ');
6966
7008
  } else {
6967
7009
  // Regular pie slice path
6968
- path = ["M " + centerX + " " + centerY, "L " + startX + " " + startY, "A " + radius + " " + radius + " 0 " + largeArcFlag + " 1 " + endX + " " + endY, 'Z'].join(' ');
7010
+ _path = ["M " + centerX + " " + centerY, "L " + startX + " " + startY, "A " + radius + " " + radius + " 0 " + largeArcFlag + " 1 " + endX + " " + endY, 'Z'].join(' ');
6969
7011
  }
6970
7012
  // Calculate label position
6971
7013
  var labelAngle = startAngle + angle / 2;
@@ -6979,7 +7021,7 @@ var PieChart = _ref => {
6979
7021
  // Resolve the color through the theme system
6980
7022
  var resolvedColor = getColor(colorValue);
6981
7023
  result.push({
6982
- path,
7024
+ path: _path,
6983
7025
  color: resolvedColor,
6984
7026
  label: dataPoints[i].label,
6985
7027
  value: dataPoints[i].value,
@@ -7086,19 +7128,24 @@ var PieChart = _ref => {
7086
7128
  showTooltip(x, y, tooltipContent);
7087
7129
  };
7088
7130
  var handleClick = () => {
7089
- if (onSliceClick) {
7131
+ if (slice.index !== -1 && onSliceClick) {
7090
7132
  onSliceClick(dataPoints[slice.index], slice.index);
7091
7133
  }
7092
7134
  };
7135
+ var isPlaceholder = slice.index === -1;
7093
7136
  return /*#__PURE__*/React__default.createElement("g", {
7094
7137
  key: "slice-" + index
7095
7138
  }, /*#__PURE__*/React__default.createElement("path", Object.assign({
7096
7139
  d: slice.path,
7097
7140
  fill: slice.color,
7098
- onMouseEnter: handleMouseEnter,
7099
- onMouseLeave: hideTooltip,
7141
+ onMouseEnter: !isPlaceholder ? handleMouseEnter : undefined,
7142
+ onMouseLeave: !isPlaceholder ? hideTooltip : undefined,
7100
7143
  onClick: handleClick
7101
- }, PieSliceStyles, views == null ? void 0 : views.pie)), slice.endAngle - slice.startAngle > 0.2 && (/*#__PURE__*/React__default.createElement("text", {
7144
+ }, PieSliceStyles, {
7145
+ style: Object.assign({}, PieSliceStyles == null ? void 0 : PieSliceStyles.style, {
7146
+ cursor: isPlaceholder ? 'default' : 'pointer'
7147
+ })
7148
+ }, views == null ? void 0 : views.pie)), !isPlaceholder && slice.endAngle - slice.startAngle > 0.2 && (/*#__PURE__*/React__default.createElement("text", {
7102
7149
  x: slice.labelX,
7103
7150
  y: slice.labelY,
7104
7151
  textAnchor: "middle",
@@ -8370,7 +8417,8 @@ var FieldContainer = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
8370
8417
  // Layout properties
8371
8418
  gap: 8,
8372
8419
  position: "relative",
8373
- width: "100%"
8420
+ width: "100%",
8421
+ marginVertical: 4
8374
8422
  }, props, views == null ? void 0 : views.container), children, !error && helperText && (/*#__PURE__*/React__default.createElement(HelperText, Object.assign({
8375
8423
  marginTop: 4
8376
8424
  }, views == null ? void 0 : views.helperText), helperText)), error && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
@@ -8567,7 +8615,7 @@ var FieldContent = _ref => {
8567
8615
  opacity: isDisabled ? 0.6 : 1,
8568
8616
  // Animation
8569
8617
  transition: "all 0.2s ease"
8570
- }, showLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], views['box'], props), children);
8618
+ }, showLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], InputVariants[variant], views == null ? void 0 : views.container, props), children);
8571
8619
  };
8572
8620
 
8573
8621
  var _excluded$o = ["children"];
@@ -12231,12 +12279,10 @@ var DropDownItem = _ref3 => {
12231
12279
  text: {}
12232
12280
  }
12233
12281
  } = _ref3;
12234
- var [isHovered, setIsHovered] = React.useState(false);
12235
12282
  var handleOptionClick = event => {
12236
12283
  if (event && event.stopPropagation) event.stopPropagation();
12237
12284
  callback(option);
12238
12285
  };
12239
- var handleHover = () => setIsHovered(!isHovered);
12240
12286
  return /*#__PURE__*/React__default.createElement(CountryItem, Object.assign({
12241
12287
  margin: 0,
12242
12288
  role: "DropDownItem",
@@ -12244,11 +12290,11 @@ var DropDownItem = _ref3 => {
12244
12290
  fontWeight: "normal",
12245
12291
  paddingVertical: 6,
12246
12292
  paddingHorizontal: 12,
12247
- onMouseEnter: handleHover,
12248
- onMouseLeave: handleHover,
12249
12293
  onClick: handleOptionClick,
12250
12294
  fontSize: appStudio.Typography.fontSizes[size],
12251
- backgroundColor: isHovered ? 'trueGray.100' : 'transparent'
12295
+ _hover: {
12296
+ opacity: 0.8
12297
+ }
12252
12298
  }, views['text']), option);
12253
12299
  };
12254
12300
  var DropDown$1 = _ref4 => {
@@ -12327,7 +12373,6 @@ var CountryPickerView = _ref5 => {
12327
12373
  var IconColor = getColor('color.blueGray.700', {
12328
12374
  themeMode: elementMode ? elementMode : themeMode
12329
12375
  });
12330
- var handleHover = () => setIsHovered(!isHovered);
12331
12376
  var handleFocus = () => setIsFocused(true);
12332
12377
  var handleCallback = option => {
12333
12378
  setHide(!hide);
@@ -12384,13 +12429,13 @@ var CountryPickerView = _ref5 => {
12384
12429
  variant: variant,
12385
12430
  value: value,
12386
12431
  color: 'theme.primary',
12387
- isHovered: isHovered,
12388
12432
  isDisabled: isDisabled,
12389
12433
  isReadOnly: isReadOnly,
12390
12434
  isFocused: isFocused,
12391
12435
  showLabel: showLabel,
12392
- onMouseEnter: handleHover,
12393
- onMouseLeave: handleHover
12436
+ _hover: !isDisabled && !error ? {
12437
+ borderColor: 'theme.primary'
12438
+ } : undefined
12394
12439
  }, /*#__PURE__*/React__default.createElement(FieldWrapper, null, showLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
12395
12440
  htmlFor: id,
12396
12441
  color: 'theme.primary',
@@ -12665,6 +12710,7 @@ var ComboBoxView = _ref => {
12665
12710
  relation
12666
12711
  } = appStudio.useElementPosition();
12667
12712
  var dropdownRef = React.useRef(null);
12713
+ var [isHovered, setIsHovered] = React.useState(false);
12668
12714
  // Get optimal positioning style based on available space
12669
12715
  var getDropdownStyle = () => {
12670
12716
  if (!relation) {
@@ -12704,13 +12750,13 @@ var ComboBoxView = _ref => {
12704
12750
  var handleClickOutside = event => {
12705
12751
  var path = event.composedPath();
12706
12752
  var isOutside = !path.some(element => (element == null ? void 0 : element.id) === 'combobox-dropdown');
12707
- if (isOutside) {
12753
+ if (isOutside && triggerRef.current && !triggerRef.current.contains(event.target)) {
12708
12754
  setIsDropdownVisible(false);
12709
12755
  }
12710
12756
  };
12711
12757
  document.addEventListener('mousedown', handleClickOutside);
12712
12758
  return () => document.removeEventListener('mousedown', handleClickOutside);
12713
- }, []);
12759
+ }, []); // triggerRef is stable
12714
12760
  // Defines 'handleSearch' to filter items based on the user's query.
12715
12761
  var handleSearch = query => {
12716
12762
  setSearchQuery(query);
@@ -12739,71 +12785,102 @@ var ComboBoxView = _ref => {
12739
12785
  views: views == null ? void 0 : views.label,
12740
12786
  htmlFor: props.id
12741
12787
  }, label)), /*#__PURE__*/React__default.createElement(appStudio.View, {
12742
- position: "relative"
12743
- }, /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
12788
+ position: "relative",
12789
+ width: "100%"
12790
+ }, /*#__PURE__*/React__default.createElement("div", {
12744
12791
  ref: triggerRef,
12792
+ onClick: () => setIsDropdownVisible(!isDropdownVisible),
12793
+ style: {
12794
+ width: '100%'
12795
+ }
12796
+ }, /*#__PURE__*/React__default.createElement(FieldContent, {
12797
+ isHovered: isHovered,
12798
+ isFocused: isDropdownVisible,
12799
+ onMouseEnter: () => setIsHovered(true),
12800
+ onMouseLeave: () => setIsHovered(false),
12745
12801
  cursor: "pointer",
12746
- backgroundColor: "color.white",
12747
- boxShadow: "rgba(0, 0, 0, 0.16) 0px 1px 4px",
12748
- padding: "12px",
12749
- display: "flex",
12750
- alignItems: "center",
12751
- borderRadius: "4px",
12752
- justifyContent: "space-between",
12753
- minWidth: 300,
12754
- flexWrap: "nowrap"
12755
- }, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
12756
- gap: 15,
12802
+ views: {
12803
+ container: views == null ? void 0 : views.container
12804
+ }
12805
+ }, /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
12806
+ gap: 10,
12757
12807
  alignItems: "center",
12758
- position: "relative",
12759
- width: "100%",
12760
- onClick: () => setIsDropdownVisible(!isDropdownVisible)
12761
- }, views == null ? void 0 : views.labelContainer), left, /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
12808
+ width: "100%"
12809
+ }, views == null ? void 0 : views.labelContainer), left, selectedItem.icon && selectedItem.label !== placeholder && (/*#__PURE__*/React__default.createElement(appStudio.View, null, selectedItem.icon)), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
12762
12810
  weight: "medium",
12763
12811
  flexGrow: 1,
12764
- color: "color.gray.800"
12765
- }, views == null ? void 0 : views.label), selectedItem.label)), right), isDropdownVisible && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
12812
+ color: selectedItem.label === placeholder ? 'color.gray.500' : 'color.gray.800',
12813
+ style: {
12814
+ whiteSpace: 'nowrap',
12815
+ overflow: 'hidden',
12816
+ textOverflow: 'ellipsis'
12817
+ }
12818
+ }, views == null ? void 0 : views.label), selectedItem.label)), /*#__PURE__*/React__default.createElement(appStudio.Horizontal, {
12819
+ gap: 5,
12820
+ alignItems: "center"
12821
+ }, right, /*#__PURE__*/React__default.createElement(ChevronIcon, {
12822
+ widthHeight: 16,
12823
+ orientation: isDropdownVisible ? 'up' : 'down',
12824
+ color: "color.gray.500"
12825
+ })))), isDropdownVisible && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
12766
12826
  ref: dropdownRef,
12767
12827
  id: "combobox-dropdown",
12768
12828
  backgroundColor: "color.white",
12769
- boxShadow: "rgba(0, 0, 0, 0.16) 0px 1px 4px",
12829
+ boxShadow: "rgba(0, 0, 0, 0.16) 0px 4px 16px",
12770
12830
  overflowY: "auto",
12771
- borderRadius: "4px",
12831
+ borderRadius: "8px",
12772
12832
  style: getDropdownStyle()
12773
- }, views == null ? void 0 : views.dropdown), searchEnabled && (/*#__PURE__*/React__default.createElement(TextFieldView, {
12774
- id: props.id,
12775
- name: props.name,
12833
+ }, views == null ? void 0 : views.dropdown, {
12834
+ border: "1px solid #eee"
12835
+ }), searchEnabled && (/*#__PURE__*/React__default.createElement(appStudio.View, {
12836
+ padding: "8px"
12837
+ }, /*#__PURE__*/React__default.createElement(TextFieldView, {
12838
+ id: props.id + "-search",
12839
+ name: props.name + "-search",
12776
12840
  width: "100%",
12777
12841
  type: "search",
12842
+ autoFocus: true,
12778
12843
  value: searchQuery,
12779
12844
  onChange: value => handleSearch(value),
12780
- hint: placeholder,
12845
+ hint: placeholder || 'Search...',
12781
12846
  isClearable: false,
12782
12847
  left: /*#__PURE__*/React__default.createElement(SearchIcon, {
12783
- widthHeight: 16
12848
+ widthHeight: 16,
12849
+ color: "color.gray.400"
12784
12850
  }),
12785
12851
  views: {
12786
12852
  container: Object.assign({
12787
12853
  width: '100%',
12788
- padding: '6px 12px',
12789
- borderBottom: filteredItems.length > 0 ? '1px solid #ccc' : '1px solid transparent'
12790
- }, views == null ? void 0 : views.text)
12854
+ padding: '0'
12855
+ }, views == null ? void 0 : views.text),
12856
+ field: {
12857
+ fontSize: '14px'
12858
+ }
12791
12859
  }
12792
- })), filteredItems.length > 0 && (/*#__PURE__*/React__default.createElement(appStudio.View, {
12860
+ }))), filteredItems.length > 0 && (/*#__PURE__*/React__default.createElement(appStudio.View, {
12793
12861
  margin: 0,
12794
12862
  padding: 4
12795
12863
  }, filteredItems.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
12796
12864
  justifyContent: "space-between",
12797
12865
  key: item.value,
12798
- padding: "12px",
12866
+ padding: "8px 12px",
12799
12867
  cursor: "pointer",
12800
12868
  borderRadius: 4,
12801
12869
  backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
12802
12870
  onMouseEnter: () => setHighlightedIndex(index),
12803
- onClick: () => handleSelect(item)
12804
- }, views == null ? void 0 : views.item), /*#__PURE__*/React__default.createElement(appStudio.Text, null, item.label), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && /*#__PURE__*/React__default.createElement(TickIcon, {
12805
- widthHeight: 20
12806
- })))))))))));
12871
+ onClick: () => handleSelect(item),
12872
+ transition: "background-color 0.2s"
12873
+ }, views == null ? void 0 : views.item), /*#__PURE__*/React__default.createElement(appStudio.Text, {
12874
+ color: "color.gray.800"
12875
+ }, item.label), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && (/*#__PURE__*/React__default.createElement(TickIcon, {
12876
+ widthHeight: 16,
12877
+ color: "theme.primary"
12878
+ })))))))), filteredItems.length === 0 && (/*#__PURE__*/React__default.createElement(appStudio.View, {
12879
+ padding: "12px"
12880
+ }, /*#__PURE__*/React__default.createElement(appStudio.Text, {
12881
+ color: "color.gray.500",
12882
+ align: "center"
12883
+ }, "No items found")))))));
12807
12884
  };
12808
12885
 
12809
12886
  var _excluded$C = ["id", "name", "items", "placeholder", "searchPlaceholder"];
@@ -13045,53 +13122,56 @@ var TagChip = _ref => {
13045
13122
  isDisabled,
13046
13123
  isReadOnly
13047
13124
  } = _ref;
13125
+ var [isRemoveHovered, setIsRemoveHovered] = React__default.useState(false);
13048
13126
  var {
13049
13127
  getColor
13050
13128
  } = appStudio.useTheme();
13051
13129
  var chipSize = {
13052
13130
  xs: {
13053
- padding: '2px 6px',
13131
+ padding: '2px 8px',
13054
13132
  fontSize: '10px',
13055
13133
  iconSize: 10
13056
13134
  },
13057
13135
  sm: {
13058
- padding: '4px 8px',
13136
+ padding: '4px 10px',
13059
13137
  fontSize: '12px',
13060
13138
  iconSize: 12
13061
13139
  },
13062
13140
  md: {
13063
- padding: '6px 10px',
13141
+ padding: '6px 14px',
13064
13142
  fontSize: '14px',
13065
13143
  iconSize: 14
13066
13144
  },
13067
13145
  lg: {
13068
- padding: '8px 12px',
13146
+ padding: '8px 16px',
13069
13147
  fontSize: '16px',
13070
13148
  iconSize: 16
13071
13149
  },
13072
13150
  xl: {
13073
- padding: '10px 14px',
13151
+ padding: '10px 18px',
13074
13152
  fontSize: '18px',
13075
13153
  iconSize: 18
13076
13154
  }
13077
13155
  }[size] || {
13078
- padding: '6px 10px',
13156
+ padding: '6px 14px',
13079
13157
  fontSize: '14px',
13080
13158
  iconSize: 14
13081
13159
  };
13082
13160
  return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
13083
13161
  alignItems: "center",
13084
- gap: 4,
13162
+ gap: 6,
13085
13163
  padding: chipSize.padding,
13086
- backgroundColor: "color.gray.100",
13164
+ backgroundColor: "white",
13087
13165
  borderRadius: "16px",
13088
13166
  border: "1px solid",
13089
- borderColor: "color.gray.200",
13090
- transition: "all 0.2s ease",
13167
+ borderColor: "color.black.100",
13168
+ boxShadow: "0 1px 2px rgba(0,0,0,0.05)",
13169
+ transition: "all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
13091
13170
  opacity: isDisabled ? 0.6 : 1,
13092
13171
  _hover: !isDisabled && !isReadOnly ? {
13093
- backgroundColor: 'color.gray.200',
13094
- borderColor: 'color.gray.300'
13172
+ borderColor: 'color.gray.300',
13173
+ boxShadow: '0 4px 6px rgba(0,0,0,0.05)',
13174
+ transform: 'translateY(-1px)'
13095
13175
  } : {}
13096
13176
  }, views == null ? void 0 : views.tag), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
13097
13177
  fontSize: chipSize.fontSize,
@@ -13103,13 +13183,19 @@ var TagChip = _ref => {
13103
13183
  padding: "2px",
13104
13184
  borderRadius: "50%",
13105
13185
  transition: "all 0.2s ease",
13106
- _hover: {
13107
- backgroundColor: 'color.gray.300'
13186
+ backgroundColor: isRemoveHovered ? 'color.red.50' : 'transparent',
13187
+ onMouseEnter: () => setIsRemoveHovered(true),
13188
+ onMouseLeave: () => setIsRemoveHovered(false),
13189
+ onClick: e => {
13190
+ e.stopPropagation();
13191
+ onRemove();
13108
13192
  },
13109
- onClick: onRemove
13193
+ _hover: {
13194
+ backgroundColor: 'color.red.50'
13195
+ }
13110
13196
  }, views == null ? void 0 : views.tagRemove), /*#__PURE__*/React__default.createElement(CloseIcon, {
13111
13197
  widthHeight: chipSize.iconSize,
13112
- color: "color.gray.500"
13198
+ color: isRemoveHovered ? 'color.red.500' : 'color.gray.400'
13113
13199
  }))));
13114
13200
  };
13115
13201
  /**
@@ -13195,7 +13281,7 @@ var TagInputView = _ref2 => {
13195
13281
  views: views
13196
13282
  }, label)), /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
13197
13283
  alignItems: "center",
13198
- gap: 4,
13284
+ gap: 8,
13199
13285
  flexWrap: "wrap",
13200
13286
  width: "100%",
13201
13287
  minHeight: appStudio.Typography.fontSizes[size],
@@ -16789,6 +16875,166 @@ var FormikUploader = _ref => {
16789
16875
  };
16790
16876
  FormikUploader.displayName = 'FormikUploader';
16791
16877
 
16878
+ // Initializes the custom hook 'useSelectorState' for managing the state of the Selector component
16879
+ var useSelectorState = _ref => {
16880
+ var {
16881
+ placeholder,
16882
+ isMulti,
16883
+ options,
16884
+ id = "selector-" + Math.random().toString(36).substr(2, 9)
16885
+ } = _ref;
16886
+ // Determines the default value based on the 'placeholder' and 'isMulti' props, setting to an empty array for multi-select or an empty string/single default option
16887
+ var defaultValue = placeholder ? isMulti ? [] : '' // If there's a placeholder, set default to empty array for multi-select or empty string for single select
16888
+ : Array.isArray(options) && options.length > 0 ? options[0].value : isMulti ? [] : ''; // If no placeholder, use the first option value if available, otherwise empty array for multi-select or empty string for single select
16889
+ // State hook for tracking mouse hover status over the Selector component
16890
+ var [isHovered, setIsHovered] = React__default.useState(false);
16891
+ // State hook for tracking focus status of the Selector input field
16892
+ var [isFocused, setIsFocused] = React__default.useState(false);
16893
+ // State hook for managing the value(s) selected by the user, initialized with the default value
16894
+ var [value, setValue] = React__default.useState(defaultValue);
16895
+ // State hook for keeping track of the currently highlighted index in the options list
16896
+ var [highlightedIndex, setHighlightedIndex] = React__default.useState(0);
16897
+ // State hook for managing visibility of the Selector dropdown, initially set to hidden
16898
+ var [hide, setHide] = React__default.useState(true);
16899
+ // Returns an object containing all stateful values and their associated setters to manage the Selector component's state
16900
+ return {
16901
+ id,
16902
+ value,
16903
+ setValue,
16904
+ hide,
16905
+ setHide,
16906
+ isHovered,
16907
+ setIsHovered,
16908
+ isFocused,
16909
+ setIsFocused,
16910
+ highlightedIndex,
16911
+ setHighlightedIndex
16912
+ };
16913
+ };
16914
+
16915
+ var _excluded$T = ["id", "name", "label", "value", "views", "options", "onChange", "setValue"];
16916
+ /**
16917
+ * SelectorView Component
16918
+ *
16919
+ * Renders a segmented control style selector.
16920
+ */
16921
+ var SelectorView = _ref => {
16922
+ var {
16923
+ id,
16924
+ name,
16925
+ label,
16926
+ value,
16927
+ views = {},
16928
+ options = [],
16929
+ onChange = () => {},
16930
+ setValue = () => {}
16931
+ } = _ref,
16932
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$T);
16933
+ var {
16934
+ getColor
16935
+ } = appStudio.useTheme();
16936
+ var handleCallback = React.useCallback(option => {
16937
+ setValue(option.value);
16938
+ if (onChange) onChange(option.value);
16939
+ }, [setValue, onChange]);
16940
+ return /*#__PURE__*/React__default.createElement(FieldContainer, {
16941
+ id: id,
16942
+ width: "100%",
16943
+ views: views
16944
+ }, label && (/*#__PURE__*/React__default.createElement(appStudio.Horizontal, {
16945
+ fontSize: "10px",
16946
+ letterSpacing: "wider",
16947
+ color: "color.black.500",
16948
+ fontWeight: "bold",
16949
+ marginBottom: 12,
16950
+ alignItems: "center",
16951
+ gap: 6,
16952
+ //Text transform uppercase
16953
+ style: {
16954
+ textTransform: 'uppercase'
16955
+ }
16956
+ }, /*#__PURE__*/React__default.createElement(InfoIcon, {
16957
+ widthHeight: 14
16958
+ }), " ", /*#__PURE__*/React__default.createElement(appStudio.Text, null, label))), /*#__PURE__*/React__default.createElement(appStudio.Horizontal, {
16959
+ gap: 0
16960
+ }, options.map((option, index, arr) => {
16961
+ var isSelected = value === option.value;
16962
+ var borderColor = getColor('color.gray.200');
16963
+ var textColor = getColor('color.gray.500');
16964
+ var bgColor = 'transparent';
16965
+ if (isSelected) {
16966
+ if (option.color) {
16967
+ // We need a way to get related colors (50, 500, 700 etc) from a base color if we want full fidelity.
16968
+ // But passing full style strings is easier.
16969
+ borderColor = getColor(option.color);
16970
+ textColor = getColor(option.color);
16971
+ // Try to approximate background color if possible, or just use white/transparent.
16972
+ // Simplification: if color provided, use it for border/text.
16973
+ // Background is hard to derive without more specific props.
16974
+ // Let's try to use a very light opacity of the color for background.
16975
+ bgColor = 'rgba(0,0,0,0.05)'; // Generic active background
16976
+ } else {
16977
+ // Default active style
16978
+ var primary = getColor('theme.primary');
16979
+ borderColor = primary;
16980
+ textColor = primary;
16981
+ bgColor = 'color.gray.50';
16982
+ }
16983
+ // Specific overrides based on user request "ComplexitySelector" style
16984
+ // If the values match 'High', 'Medium', 'Low' we can hardcode for *demo* fidelity if generic logic fails.
16985
+ // But let's try to make it generic.
16986
+ // The user simply pasted code.
16987
+ if (option.color) {
16988
+ // Fallback for customized options
16989
+ borderColor = getColor(option.color);
16990
+ textColor = getColor(option.color);
16991
+ bgColor = 'transparent';
16992
+ } else {
16993
+ // Default fallback
16994
+ borderColor = getColor('theme.primary');
16995
+ textColor = getColor('theme.primary');
16996
+ bgColor = getColor('color.blue.50');
16997
+ }
16998
+ }
16999
+ return /*#__PURE__*/React__default.createElement(Button, Object.assign({
17000
+ key: option.value,
17001
+ onClick: () => handleCallback(option),
17002
+ flex: 1,
17003
+ paddingVertical: 6,
17004
+ fontSize: "12px",
17005
+ fontWeight: isSelected ? 'bold' : 'normal',
17006
+ style: {
17007
+ borderTop: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
17008
+ borderBottom: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
17009
+ borderLeft: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
17010
+ borderRight: index === arr.length - 1 || isSelected ? "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')) : 'none',
17011
+ backgroundColor: bgColor,
17012
+ color: textColor,
17013
+ borderRadius: index === 0 ? '6px 0 0 6px' : index === arr.length - 1 ? '0 6px 6px 0' : '0',
17014
+ zIndex: isSelected ? 1 : 0,
17015
+ boxShadow: 'none'
17016
+ }
17017
+ }, views.item), option.label);
17018
+ })), /*#__PURE__*/React__default.createElement("input", {
17019
+ type: "hidden",
17020
+ id: id,
17021
+ name: name,
17022
+ value: Array.isArray(value) ? value.join(',') : value,
17023
+ onChange: () => {}
17024
+ }));
17025
+ };
17026
+
17027
+ var SelectorComponent = props => {
17028
+ var formProps = useFormikInput(props);
17029
+ formProps.selected = formProps.value;
17030
+ var selectorStates = useSelectorState(props);
17031
+ return /*#__PURE__*/React__default.createElement(SelectorView, Object.assign({}, selectorStates, formProps));
17032
+ };
17033
+ /**
17034
+ * Selector provides a dropdown list of options for the user to choose from.
17035
+ */
17036
+ var FormikSelector = SelectorComponent;
17037
+
16792
17038
  var AttachmentPreview = _ref => {
16793
17039
  var {
16794
17040
  files,
@@ -17135,7 +17381,7 @@ var ModalTypography = {
17135
17381
  }
17136
17382
  };
17137
17383
 
17138
- var _excluded$T = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
17384
+ var _excluded$U = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
17139
17385
  _excluded2$e = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
17140
17386
  _excluded3$9 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
17141
17387
  _excluded4$8 = ["children", "views"],
@@ -17150,7 +17396,7 @@ var ModalOverlay = _ref => {
17150
17396
  position = 'center',
17151
17397
  views
17152
17398
  } = _ref,
17153
- props = _objectWithoutPropertiesLoose(_ref, _excluded$T);
17399
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
17154
17400
  var handleClick = () => {
17155
17401
  if (!isClosePrevented) onClose();
17156
17402
  };
@@ -17398,7 +17644,7 @@ var DrawerPlacements = {
17398
17644
  }
17399
17645
  };
17400
17646
 
17401
- var _excluded$U = ["isOpen", "onClose", "isClosePrevented", "blur", "children"],
17647
+ var _excluded$V = ["isOpen", "onClose", "isClosePrevented", "blur", "children"],
17402
17648
  _excluded2$f = ["placement", "size", "children"],
17403
17649
  _excluded3$a = ["children", "onClose", "buttonPosition"],
17404
17650
  _excluded4$9 = ["children"],
@@ -17411,7 +17657,7 @@ var DrawerOverlay = _ref => {
17411
17657
  blur,
17412
17658
  children
17413
17659
  } = _ref,
17414
- props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
17660
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$V);
17415
17661
  var handleClick = () => {
17416
17662
  if (!isClosePrevented) onClose();
17417
17663
  };
@@ -17523,7 +17769,7 @@ var DrawerFooter = _ref5 => {
17523
17769
  }, props), children);
17524
17770
  };
17525
17771
 
17526
- var _excluded$V = ["isOpen", "onClose", "placement", "size", "isClosePrevented", "children"];
17772
+ var _excluded$W = ["isOpen", "onClose", "placement", "size", "isClosePrevented", "children"];
17527
17773
  /**
17528
17774
  * A drawer is a panel that slides out from the edge of the screen.
17529
17775
  * It can be useful when you need users to complete a task or view some details without leaving the current page.
@@ -17537,7 +17783,7 @@ var DrawerComponent = _ref => {
17537
17783
  isClosePrevented,
17538
17784
  children
17539
17785
  } = _ref,
17540
- props = _objectWithoutPropertiesLoose(_ref, _excluded$V);
17786
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$W);
17541
17787
  var transformStyle = isOpen ? {} : {
17542
17788
  transform: placement === 'left' || placement === 'right' ? "translateX(" + (placement === 'left' ? '-100%' : '100%') + ")" : "translateY(" + (placement === 'top' ? '-100%' : '100%') + ")"
17543
17789
  };
@@ -17707,7 +17953,7 @@ var NavigationMenuItemStates = {
17707
17953
  }
17708
17954
  };
17709
17955
 
17710
- var _excluded$W = ["href", "children", "views"];
17956
+ var _excluded$X = ["href", "children", "views"];
17711
17957
  // Create context for the NavigationMenu
17712
17958
  var NavigationMenuContext = /*#__PURE__*/React.createContext({
17713
17959
  activeItemId: null,
@@ -18083,7 +18329,7 @@ var NavigationMenuLink = _ref6 => {
18083
18329
  children,
18084
18330
  views
18085
18331
  } = _ref6,
18086
- props = _objectWithoutPropertiesLoose(_ref6, _excluded$W);
18332
+ props = _objectWithoutPropertiesLoose(_ref6, _excluded$X);
18087
18333
  var {
18088
18334
  itemValue,
18089
18335
  isDisabled
@@ -18150,7 +18396,7 @@ var NavigationMenuView = _ref7 => {
18150
18396
  })))));
18151
18397
  };
18152
18398
 
18153
- var _excluded$X = ["items", "children", "orientation", "size", "variant", "defaultActiveItemId", "defaultExpandedItemIds", "onItemActivate", "views"];
18399
+ var _excluded$Y = ["items", "children", "orientation", "size", "variant", "defaultActiveItemId", "defaultExpandedItemIds", "onItemActivate", "views"];
18154
18400
  /**
18155
18401
  * NavigationMenu component for creating navigation menus with optional nested items.
18156
18402
  * Supports both data-driven approach (with items prop) and compound component pattern.
@@ -18167,7 +18413,7 @@ var NavigationMenuComponent = _ref => {
18167
18413
  onItemActivate,
18168
18414
  views
18169
18415
  } = _ref,
18170
- props = _objectWithoutPropertiesLoose(_ref, _excluded$X);
18416
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$Y);
18171
18417
  var {
18172
18418
  activeItemId,
18173
18419
  setActiveItemId,
@@ -18980,7 +19226,7 @@ var HighlightStyles = {
18980
19226
  })
18981
19227
  };
18982
19228
 
18983
- var _excluded$Y = ["text", "typingSpeed", "pauseTime", "onComplete", "showCursor", "cursorColor", "textStyle", "as"];
19229
+ var _excluded$Z = ["text", "typingSpeed", "pauseTime", "onComplete", "showCursor", "cursorColor", "textStyle", "as"];
18984
19230
  /**
18985
19231
  * A component that creates a typewriter effect for text
18986
19232
  */
@@ -18994,7 +19240,7 @@ var TypewriterEffect = _ref => {
18994
19240
  cursorColor = 'currentColor',
18995
19241
  textStyle
18996
19242
  } = _ref,
18997
- props = _objectWithoutPropertiesLoose(_ref, _excluded$Y);
19243
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$Z);
18998
19244
  // Convert text to array if it's a string
18999
19245
  var textArray = Array.isArray(text) ? text : [text];
19000
19246
  // State for the currently displayed text
@@ -19061,7 +19307,7 @@ var TypewriterEffect = _ref => {
19061
19307
  }))))));
19062
19308
  };
19063
19309
 
19064
- var _excluded$Z = ["text", "duration", "direction", "stagger", "sequential", "textStyle", "as", "wordProps"],
19310
+ var _excluded$_ = ["text", "duration", "direction", "stagger", "sequential", "textStyle", "as", "wordProps"],
19065
19311
  _excluded2$g = ["style"];
19066
19312
  // CSS keyframes injection - done once
19067
19313
  var KEYFRAMES_ID = 'slide-effect-keyframes';
@@ -19083,7 +19329,7 @@ var SlideEffect = _ref => {
19083
19329
  textStyle,
19084
19330
  wordProps
19085
19331
  } = _ref,
19086
- props = _objectWithoutPropertiesLoose(_ref, _excluded$Z);
19332
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
19087
19333
  var [displayedText, setDisplayedText] = React.useState(text);
19088
19334
  var [phase, setPhase] = React.useState('entering');
19089
19335
  var [animKey, setAnimKey] = React.useState(0);
@@ -19213,7 +19459,7 @@ var SlideEffect = _ref => {
19213
19459
  })));
19214
19460
  };
19215
19461
 
19216
- var _excluded$_ = ["children", "highlightText", "highlightStyle", "highlightColor", "highlightSecondaryColor", "size", "responsive", "centered", "views", "highlightAnimate", "animate", "animationLoop", "highlightAnimationLoop", "highlightTypewriter", "highlightTypewriterDuration", "highlightSlide", "highlightSlideDuration", "highlightSlideStagger", "highlightSlideSequential"];
19462
+ var _excluded$$ = ["children", "highlightText", "highlightStyle", "highlightColor", "highlightSecondaryColor", "size", "responsive", "centered", "views", "highlightAnimate", "animate", "animationLoop", "highlightAnimationLoop", "highlightTypewriter", "highlightTypewriterDuration", "highlightSlide", "highlightSlideDuration", "highlightSlideStagger", "highlightSlideSequential"];
19217
19463
  function escapeRegExp(string) {
19218
19464
  return string.replace(/[.*+?^${}()|[\\]\\/g, '\\$&');
19219
19465
  }
@@ -19239,7 +19485,7 @@ var TitleView = _ref => {
19239
19485
  highlightSlideStagger = 50,
19240
19486
  highlightSlideSequential = true
19241
19487
  } = _ref,
19242
- props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
19488
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$$);
19243
19489
  var {
19244
19490
  ref,
19245
19491
  inView
@@ -19538,7 +19784,7 @@ var getToggleVariants = (color, isLight) => ({
19538
19784
  }
19539
19785
  });
19540
19786
 
19541
- var _excluded$$ = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views", "backgroundColor", "color", "themeMode"];
19787
+ var _excluded$10 = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views", "backgroundColor", "color", "themeMode"];
19542
19788
  var ToggleView = _ref => {
19543
19789
  var _ref2;
19544
19790
  var {
@@ -19558,7 +19804,7 @@ var ToggleView = _ref => {
19558
19804
  // 2nd candidate for main color
19559
19805
  themeMode: elementMode
19560
19806
  } = _ref,
19561
- props = _objectWithoutPropertiesLoose(_ref, _excluded$$);
19807
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
19562
19808
  /* theme helpers */
19563
19809
  var {
19564
19810
  getColor,
@@ -19602,7 +19848,7 @@ var ToggleView = _ref => {
19602
19848
  }, props, views == null ? void 0 : views.container), children);
19603
19849
  };
19604
19850
 
19605
- var _excluded$10 = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
19851
+ var _excluded$11 = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
19606
19852
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
19607
19853
  var ToggleComponent = _ref => {
19608
19854
  var {
@@ -19614,7 +19860,7 @@ var ToggleComponent = _ref => {
19614
19860
  isToggled = false,
19615
19861
  onToggle
19616
19862
  } = _ref,
19617
- props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
19863
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$11);
19618
19864
  // Initializing toggle state and set state functions using the custom hook useToggleState.
19619
19865
  var {
19620
19866
  isHovered,
@@ -19834,8 +20080,7 @@ var DragAndDropView = _ref => {
19834
20080
  onTouchStart: e => handleDragStart(e, index),
19835
20081
  position: "relative",
19836
20082
  cursor: "grab",
19837
- transition: "transform 0.2s",
19838
- backgroundColor: draggedIndex === index ? 'color.gray.100' : 'transparent'
20083
+ transition: "transform 0.2s"
19839
20084
  }, itemProps, views == null ? void 0 : views.item), renderItem ? renderItem(item, index) : item))));
19840
20085
  };
19841
20086
 
@@ -19949,7 +20194,7 @@ var DropdownMenuItemStates = {
19949
20194
  }
19950
20195
  };
19951
20196
 
19952
- var _excluded$11 = ["children", "views"],
20197
+ var _excluded$12 = ["children", "views"],
19953
20198
  _excluded2$h = ["items", "side", "align", "views"],
19954
20199
  _excluded3$b = ["item", "views"],
19955
20200
  _excluded4$a = ["views"],
@@ -19990,7 +20235,7 @@ var DropdownMenuTrigger = _ref2 => {
19990
20235
  children,
19991
20236
  views
19992
20237
  } = _ref2,
19993
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$11);
20238
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$12);
19994
20239
  var {
19995
20240
  isOpen,
19996
20241
  setIsOpen,
@@ -20243,7 +20488,7 @@ var DropdownMenuView = _ref6 => {
20243
20488
  }));
20244
20489
  };
20245
20490
 
20246
- var _excluded$12 = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
20491
+ var _excluded$13 = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
20247
20492
  /**
20248
20493
  * DropdownMenu component for displaying a menu when clicking on a trigger element.
20249
20494
  */
@@ -20258,7 +20503,7 @@ var DropdownMenuComponent = _ref => {
20258
20503
  defaultOpen = false,
20259
20504
  views
20260
20505
  } = _ref,
20261
- props = _objectWithoutPropertiesLoose(_ref, _excluded$12);
20506
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$13);
20262
20507
  var {
20263
20508
  isOpen,
20264
20509
  setIsOpen,
@@ -20672,7 +20917,7 @@ var DefaultColorPalette$1 = [
20672
20917
  category: 'neutral'
20673
20918
  }];
20674
20919
 
20675
- var _excluded$13 = ["id", "name", "label", "placeholder", "helperText", "views", "size", "shape", "variant", "error", "isDisabled", "isReadOnly", "predefinedColors", "showCustomInput", "showRecentColors", "isOpen", "selectedColor", "recentColors", "customColor", "handleToggle", "handleColorSelect", "handleCustomColorChange", "handleCustomColorSubmit", "triggerRef", "dropdownRef"];
20920
+ var _excluded$14 = ["id", "name", "label", "placeholder", "helperText", "views", "size", "shape", "variant", "error", "isDisabled", "isReadOnly", "predefinedColors", "showCustomInput", "showRecentColors", "isOpen", "selectedColor", "recentColors", "customColor", "handleToggle", "handleColorSelect", "handleCustomColorChange", "handleCustomColorSubmit", "triggerRef", "dropdownRef"];
20676
20921
  var ColorPickerView = _ref => {
20677
20922
  var {
20678
20923
  // Basic props
@@ -20707,7 +20952,7 @@ var ColorPickerView = _ref => {
20707
20952
  dropdownRef
20708
20953
  // Other props
20709
20954
  } = _ref,
20710
- props = _objectWithoutPropertiesLoose(_ref, _excluded$13);
20955
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$14);
20711
20956
  var {
20712
20957
  getColor
20713
20958
  } = appStudio.useTheme();
@@ -20910,7 +21155,8 @@ var DefaultEmojiPickerStyles = {
20910
21155
  gap: '4px',
20911
21156
  maxHeight: '240px',
20912
21157
  overflowY: 'auto',
20913
- padding: '4px'
21158
+ padding: '4px',
21159
+ color: 'color.black'
20914
21160
  },
20915
21161
  emoji: {
20916
21162
  width: '32px',
@@ -23038,7 +23284,7 @@ var useEmojiPickerState = props => {
23038
23284
  };
23039
23285
  };
23040
23286
 
23041
- var _excluded$14 = ["id", "name", "label", "placeholder", "helperText", "views", "size", "shape", "variant", "error", "isDisabled", "isReadOnly", "showSearch", "showCategories", "showRecentEmojis", "enabledCategories", "isOpen", "selectedEmoji", "recentEmojis", "searchQuery", "activeCategory", "filteredEmojis", "handleToggle", "handleEmojiSelect", "handleSearchChange", "handleCategoryChange", "triggerRef", "dropdownRef"];
23287
+ var _excluded$15 = ["id", "name", "label", "placeholder", "helperText", "views", "size", "shape", "variant", "error", "isDisabled", "isReadOnly", "showSearch", "showCategories", "showRecentEmojis", "enabledCategories", "isOpen", "selectedEmoji", "recentEmojis", "searchQuery", "activeCategory", "filteredEmojis", "handleToggle", "handleEmojiSelect", "handleSearchChange", "handleCategoryChange", "triggerRef", "dropdownRef"];
23042
23288
  var EmojiPickerView = _ref => {
23043
23289
  var {
23044
23290
  // Basic props
@@ -23076,7 +23322,7 @@ var EmojiPickerView = _ref => {
23076
23322
  dropdownRef
23077
23323
  // Other props
23078
23324
  } = _ref,
23079
- props = _objectWithoutPropertiesLoose(_ref, _excluded$14);
23325
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$15);
23080
23326
  var {
23081
23327
  getColor
23082
23328
  } = appStudio.useTheme();
@@ -23138,7 +23384,8 @@ var EmojiPickerView = _ref => {
23138
23384
  title: emoji.name,
23139
23385
  _hover: {
23140
23386
  backgroundColor: 'color.gray.100'
23141
- }
23387
+ },
23388
+ color: "color.gray.800"
23142
23389
  }, views == null ? void 0 : views.emoji), emoji.emoji))) : (/*#__PURE__*/React__default.createElement(appStudio.View, {
23143
23390
  gridColumn: "1 / -1",
23144
23391
  padding: "20px",
@@ -23263,7 +23510,7 @@ var MenubarItemStates = {
23263
23510
  }
23264
23511
  };
23265
23512
 
23266
- var _excluded$15 = ["children", "orientation", "size", "variant", "views"];
23513
+ var _excluded$16 = ["children", "orientation", "size", "variant", "views"];
23267
23514
  // Create context for the Menubar
23268
23515
  var MenubarContext = /*#__PURE__*/React.createContext({
23269
23516
  activeMenuId: null,
@@ -23300,7 +23547,7 @@ var MenubarRoot = _ref2 => {
23300
23547
  variant = 'default',
23301
23548
  views
23302
23549
  } = _ref2,
23303
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$15);
23550
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$16);
23304
23551
  var Container = orientation === 'horizontal' ? appStudio.Horizontal : appStudio.Vertical;
23305
23552
  return /*#__PURE__*/React__default.createElement(Container, Object.assign({
23306
23553
  role: "menubar",
@@ -23620,7 +23867,7 @@ var MenubarView = _ref8 => {
23620
23867
  })))))));
23621
23868
  };
23622
23869
 
23623
- var _excluded$16 = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
23870
+ var _excluded$17 = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
23624
23871
  /**
23625
23872
  * Menubar component for creating horizontal or vertical menu bars with dropdown menus.
23626
23873
  */
@@ -23634,7 +23881,7 @@ var MenubarComponent = _ref => {
23634
23881
  defaultOpenMenuId = null,
23635
23882
  views
23636
23883
  } = _ref,
23637
- props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
23884
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
23638
23885
  var {
23639
23886
  activeMenuId,
23640
23887
  setActiveMenuId,
@@ -23816,7 +24063,7 @@ var DisabledButtonStyles = {
23816
24063
  }
23817
24064
  };
23818
24065
 
23819
- var _excluded$17 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
24066
+ var _excluded$18 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
23820
24067
  var PaginationView = _ref => {
23821
24068
  var {
23822
24069
  currentPage,
@@ -23847,7 +24094,7 @@ var PaginationView = _ref => {
23847
24094
  visiblePageNumbers,
23848
24095
  views
23849
24096
  } = _ref,
23850
- props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
24097
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
23851
24098
  var handlePageChange = page => {
23852
24099
  if (page < 1 || page > totalPages || page === currentPage) {
23853
24100
  return;
@@ -23966,7 +24213,7 @@ var PaginationView = _ref => {
23966
24213
  }, option.label))))));
23967
24214
  };
23968
24215
 
23969
- var _excluded$18 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
24216
+ var _excluded$19 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
23970
24217
  /**
23971
24218
  * Pagination component for navigating through pages of content.
23972
24219
  */
@@ -23987,7 +24234,7 @@ var PaginationComponent = _ref => {
23987
24234
  shape = 'rounded',
23988
24235
  views
23989
24236
  } = _ref,
23990
- props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
24237
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$19);
23991
24238
  var {
23992
24239
  visiblePageNumbers
23993
24240
  } = usePaginationState(currentPage, totalPages, maxPageButtons);
@@ -24011,7 +24258,7 @@ var PaginationComponent = _ref => {
24011
24258
  };
24012
24259
  var Pagination = PaginationComponent;
24013
24260
 
24014
- var _excluded$19 = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
24261
+ var _excluded$1a = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
24015
24262
  var ProgressBarView = _ref => {
24016
24263
  var {
24017
24264
  value = 0,
@@ -24023,7 +24270,7 @@ var ProgressBarView = _ref => {
24023
24270
  views,
24024
24271
  themeMode: elementMode
24025
24272
  } = _ref,
24026
- props = _objectWithoutPropertiesLoose(_ref, _excluded$19);
24273
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
24027
24274
  var {
24028
24275
  getColor,
24029
24276
  themeMode
@@ -24113,7 +24360,7 @@ var DefaultSeparatorStyles = {
24113
24360
  }
24114
24361
  };
24115
24362
 
24116
- var _excluded$1a = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
24363
+ var _excluded$1b = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
24117
24364
  var SeparatorView = _ref => {
24118
24365
  var {
24119
24366
  orientation = 'horizontal',
@@ -24125,7 +24372,7 @@ var SeparatorView = _ref => {
24125
24372
  decorative = false,
24126
24373
  views
24127
24374
  } = _ref,
24128
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
24375
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1b);
24129
24376
  // Access theme if needed for future enhancements
24130
24377
  var {
24131
24378
  themeMode
@@ -24193,7 +24440,7 @@ var SeparatorComponent = props => {
24193
24440
  var Separator = SeparatorComponent;
24194
24441
  var Divider = SeparatorComponent;
24195
24442
 
24196
- var _excluded$1b = ["isSupported", "isSharing", "onShare", "label", "children", "icon", "size", "isDisabled", "isLoading", "iconPosition", "disableWhenUnsupported"];
24443
+ var _excluded$1c = ["isSupported", "isSharing", "onShare", "label", "children", "icon", "size", "isDisabled", "isLoading", "iconPosition", "disableWhenUnsupported"];
24197
24444
  var ICON_SIZE_MAP = {
24198
24445
  xs: 12,
24199
24446
  sm: 14,
@@ -24216,7 +24463,7 @@ var ShareButtonView = _ref => {
24216
24463
  iconPosition,
24217
24464
  disableWhenUnsupported = true
24218
24465
  } = _ref,
24219
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$1b);
24466
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
24220
24467
  var resolvedSize = size != null ? size : 'md';
24221
24468
  var resolvedIcon = icon != null ? icon : (/*#__PURE__*/React__default.createElement(ShareIcon, {
24222
24469
  widthHeight: ICON_SIZE_MAP[resolvedSize],
@@ -24318,14 +24565,14 @@ var useShareButton = props => {
24318
24565
  };
24319
24566
  };
24320
24567
 
24321
- var _excluded$1c = ["shareData", "onShareStart", "onShareSuccess", "onShareCancel", "onShareError", "onUnsupported", "onClick"];
24568
+ var _excluded$1d = ["shareData", "onShareStart", "onShareSuccess", "onShareCancel", "onShareError", "onUnsupported", "onClick"];
24322
24569
  var ShareButtonComponent = props => {
24323
24570
  var {
24324
24571
  isSupported,
24325
24572
  isSharing,
24326
24573
  handleShare
24327
24574
  } = useShareButton(props);
24328
- var viewProps = _objectWithoutPropertiesLoose(props, _excluded$1c);
24575
+ var viewProps = _objectWithoutPropertiesLoose(props, _excluded$1d);
24329
24576
  return /*#__PURE__*/React__default.createElement(ShareButtonView, Object.assign({}, viewProps, {
24330
24577
  isSupported: isSupported,
24331
24578
  isSharing: isSharing,
@@ -24379,7 +24626,7 @@ var getThemes$2 = themeMode => {
24379
24626
  };
24380
24627
  };
24381
24628
 
24382
- var _excluded$1d = ["label", "status", "views", "themeMode"];
24629
+ var _excluded$1e = ["label", "status", "views", "themeMode"];
24383
24630
  var StatusIndicatorView = _ref => {
24384
24631
  var {
24385
24632
  label,
@@ -24387,7 +24634,7 @@ var StatusIndicatorView = _ref => {
24387
24634
  views,
24388
24635
  themeMode: elementMode
24389
24636
  } = _ref,
24390
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1d);
24637
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
24391
24638
  var {
24392
24639
  themeMode
24393
24640
  } = appStudio.useTheme();
@@ -24570,7 +24817,7 @@ var SidebarTransitions = {
24570
24817
  bounce: 'width 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55)'
24571
24818
  };
24572
24819
 
24573
- var _excluded$1e = ["children", "showToggleButton", "views"],
24820
+ var _excluded$1f = ["children", "showToggleButton", "views"],
24574
24821
  _excluded2$i = ["children", "views"],
24575
24822
  _excluded3$c = ["children", "views"],
24576
24823
  _excluded4$b = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
@@ -24603,7 +24850,7 @@ var SidebarHeader = _ref2 => {
24603
24850
  showToggleButton = true,
24604
24851
  views
24605
24852
  } = _ref2,
24606
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1e);
24853
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1f);
24607
24854
  var {
24608
24855
  isExpanded,
24609
24856
  toggleExpanded,
@@ -24758,7 +25005,7 @@ var SidebarView = _ref5 => {
24758
25005
  }))));
24759
25006
  };
24760
25007
 
24761
- var _excluded$1f = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
25008
+ var _excluded$1g = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
24762
25009
  /**
24763
25010
  * Sidebar component for creating collapsible, themeable and customizable sidebars.
24764
25011
  */
@@ -24780,7 +25027,7 @@ var SidebarComponent = _ref => {
24780
25027
  breakpointBehavior = 'overlay',
24781
25028
  views
24782
25029
  } = _ref,
24783
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1f);
25030
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1g);
24784
25031
  var {
24785
25032
  isExpanded,
24786
25033
  toggleExpanded,
@@ -25245,7 +25492,7 @@ var HandleIconStyles = {
25245
25492
  }
25246
25493
  };
25247
25494
 
25248
- var _excluded$1g = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
25495
+ var _excluded$1h = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
25249
25496
  _excluded2$j = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
25250
25497
  _excluded3$d = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
25251
25498
  // Create context for the Resizable component
@@ -25290,7 +25537,7 @@ var ResizablePanel = _ref2 => {
25290
25537
  onCollapseChange,
25291
25538
  views
25292
25539
  } = _ref2,
25293
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1g);
25540
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1h);
25294
25541
  var {
25295
25542
  orientation,
25296
25543
  registerPanel,
@@ -25505,7 +25752,7 @@ var ResizableView = _ref4 => {
25505
25752
  }, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
25506
25753
  };
25507
25754
 
25508
- var _excluded$1h = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
25755
+ var _excluded$1i = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
25509
25756
  /**
25510
25757
  * Resizable component for creating resizable panel groups and layouts.
25511
25758
  */
@@ -25525,7 +25772,7 @@ var ResizableComponent = _ref => {
25525
25772
  keyboardResizeBy = 10,
25526
25773
  views
25527
25774
  } = _ref,
25528
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1h);
25775
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1i);
25529
25776
  var {
25530
25777
  isResizing,
25531
25778
  setIsResizing,
@@ -26296,7 +26543,7 @@ var CommandFooterStyles = {
26296
26543
  color: 'color.gray.500'
26297
26544
  };
26298
26545
 
26299
- var _excluded$1i = ["value", "onValueChange", "placeholder", "views"],
26546
+ var _excluded$1j = ["value", "onValueChange", "placeholder", "views"],
26300
26547
  _excluded2$k = ["children", "views"],
26301
26548
  _excluded3$e = ["heading", "children", "views"],
26302
26549
  _excluded4$c = ["item", "selected", "onSelect", "views"],
@@ -26328,7 +26575,7 @@ var CommandInput = _ref2 => {
26328
26575
  placeholder = 'Type a command or search...',
26329
26576
  views
26330
26577
  } = _ref2,
26331
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1i);
26578
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1j);
26332
26579
  var inputRef = React.useRef(null);
26333
26580
  // Focus input when component mounts
26334
26581
  React__default.useEffect(() => {
@@ -26511,7 +26758,7 @@ var CommandView = _ref7 => {
26511
26758
  })))), footer && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
26512
26759
  };
26513
26760
 
26514
- var _excluded$1j = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
26761
+ var _excluded$1k = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
26515
26762
  /**
26516
26763
  * Command component for displaying a command palette with search functionality.
26517
26764
  */
@@ -26529,7 +26776,7 @@ var CommandComponent = _ref => {
26529
26776
  footer,
26530
26777
  views
26531
26778
  } = _ref,
26532
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
26779
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1k);
26533
26780
  var {
26534
26781
  search,
26535
26782
  setSearch,
@@ -26766,7 +27013,7 @@ var getArrowStyles = position => {
26766
27013
  }
26767
27014
  };
26768
27015
 
26769
- var _excluded$1k = ["children", "views", "asChild"],
27016
+ var _excluded$1l = ["children", "views", "asChild"],
26770
27017
  _excluded2$l = ["children", "views"],
26771
27018
  _excluded3$f = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
26772
27019
  // Create context for the Tooltip
@@ -26802,7 +27049,7 @@ var TooltipTrigger = _ref2 => {
26802
27049
  views,
26803
27050
  asChild = false
26804
27051
  } = _ref2,
26805
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1k);
27052
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1l);
26806
27053
  var {
26807
27054
  openTooltip,
26808
27055
  closeTooltip,
@@ -26986,7 +27233,7 @@ var TooltipView = _ref4 => {
26986
27233
  }, TooltipSizes[size], TooltipVariants[variant], views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow)))));
26987
27234
  };
26988
27235
 
26989
- var _excluded$1l = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
27236
+ var _excluded$1m = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
26990
27237
  /**
26991
27238
  * Tooltip component for displaying additional information when hovering over an element.
26992
27239
  * Supports configurable positions, delays, and styling.
@@ -27006,7 +27253,7 @@ var TooltipComponent = _ref => {
27006
27253
  isDisabled = false,
27007
27254
  views
27008
27255
  } = _ref,
27009
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
27256
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
27010
27257
  var tooltipState = useTooltipState({
27011
27258
  defaultOpen,
27012
27259
  openDelay,
@@ -27315,7 +27562,7 @@ var DefaultGradientStyles = {
27315
27562
  }
27316
27563
  };
27317
27564
 
27318
- var _excluded$1m = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
27565
+ var _excluded$1n = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
27319
27566
  var GradientView = _ref => {
27320
27567
  var {
27321
27568
  type = 'linear',
@@ -27331,7 +27578,7 @@ var GradientView = _ref => {
27331
27578
  views,
27332
27579
  themeMode: elementMode
27333
27580
  } = _ref,
27334
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
27581
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
27335
27582
  var {
27336
27583
  getColor,
27337
27584
  themeMode
@@ -27407,7 +27654,7 @@ var Gradient = props => {
27407
27654
  return /*#__PURE__*/React__default.createElement(GradientView, Object.assign({}, props));
27408
27655
  };
27409
27656
 
27410
- var _excluded$1n = ["children", "showRadialGradient", "views", "themeMode"],
27657
+ var _excluded$1o = ["children", "showRadialGradient", "views", "themeMode"],
27411
27658
  _excluded2$m = ["number", "children"],
27412
27659
  _excluded3$g = ["rows", "cols", "squareSize"],
27413
27660
  _excluded4$d = ["count", "colors", "speed", "shapes"],
@@ -27428,7 +27675,7 @@ var AuroraBackground = _ref => {
27428
27675
  showRadialGradient = true,
27429
27676
  views
27430
27677
  } = _ref,
27431
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
27678
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1o);
27432
27679
  var gradientColors = {
27433
27680
  white: 'rgba(255,255,255,1)',
27434
27681
  transparent: 'rgba(255,255,255,0)'
@@ -28048,6 +28295,7 @@ exports.FormikForm = FormikForm;
28048
28295
  exports.FormikOTPInput = FormikOTPInput;
28049
28296
  exports.FormikPassword = FormikPassword;
28050
28297
  exports.FormikSelect = FormikSelect;
28298
+ exports.FormikSelector = FormikSelector;
28051
28299
  exports.FormikSlider = FormikSlider;
28052
28300
  exports.FormikSwitch = FormikSwitch;
28053
28301
  exports.FormikTagInput = FormikTagInput;