@app-studio/web 0.9.50 → 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.
@@ -5016,6 +5016,28 @@
5016
5016
  boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5017
5017
  },
5018
5018
  transition: 'opacity 0.2s ease'
5019
+ },
5020
+ subtle: {
5021
+ backgroundColor: 'white',
5022
+ color: color,
5023
+ borderWidth: 1,
5024
+ borderStyle: 'solid',
5025
+ borderColor: color,
5026
+ paddingHorizontal: 12,
5027
+ paddingVertical: 6,
5028
+ borderRadius: 6,
5029
+ fontWeight: 500,
5030
+ _hover: {
5031
+ backgroundColor: 'rgba(0, 0, 0, 0.05)'
5032
+ },
5033
+ _active: {
5034
+ backgroundColor: 'rgba(0, 0, 0, 0.1)'
5035
+ },
5036
+ _focusVisible: {
5037
+ outline: 'none',
5038
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5039
+ },
5040
+ transition: 'all 0.2s ease'
5019
5041
  }
5020
5042
  };
5021
5043
  };
@@ -8356,7 +8378,8 @@
8356
8378
  // Layout properties
8357
8379
  gap: 8,
8358
8380
  position: "relative",
8359
- width: "100%"
8381
+ width: "100%",
8382
+ marginVertical: 4
8360
8383
  }, props, views == null ? void 0 : views.container), children, !error && helperText && (/*#__PURE__*/React__default.createElement(HelperText, Object.assign({
8361
8384
  marginTop: 4
8362
8385
  }, views == null ? void 0 : views.helperText), helperText)), error && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
@@ -8553,7 +8576,7 @@
8553
8576
  opacity: isDisabled ? 0.6 : 1,
8554
8577
  // Animation
8555
8578
  transition: "all 0.2s ease"
8556
- }, showLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], views['box'], props), children);
8579
+ }, showLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], InputVariants[variant], views == null ? void 0 : views.container, props), children);
8557
8580
  };
8558
8581
 
8559
8582
  var _excluded$o = ["children"];
@@ -12217,12 +12240,10 @@
12217
12240
  text: {}
12218
12241
  }
12219
12242
  } = _ref3;
12220
- var [isHovered, setIsHovered] = React.useState(false);
12221
12243
  var handleOptionClick = event => {
12222
12244
  if (event && event.stopPropagation) event.stopPropagation();
12223
12245
  callback(option);
12224
12246
  };
12225
- var handleHover = () => setIsHovered(!isHovered);
12226
12247
  return /*#__PURE__*/React__default.createElement(CountryItem, Object.assign({
12227
12248
  margin: 0,
12228
12249
  role: "DropDownItem",
@@ -12230,11 +12251,11 @@
12230
12251
  fontWeight: "normal",
12231
12252
  paddingVertical: 6,
12232
12253
  paddingHorizontal: 12,
12233
- onMouseEnter: handleHover,
12234
- onMouseLeave: handleHover,
12235
12254
  onClick: handleOptionClick,
12236
12255
  fontSize: appStudio.Typography.fontSizes[size],
12237
- backgroundColor: isHovered ? 'trueGray.100' : 'transparent'
12256
+ _hover: {
12257
+ opacity: 0.8
12258
+ }
12238
12259
  }, views['text']), option);
12239
12260
  };
12240
12261
  var DropDown$1 = _ref4 => {
@@ -12313,7 +12334,6 @@
12313
12334
  var IconColor = getColor('color.blueGray.700', {
12314
12335
  themeMode: elementMode ? elementMode : themeMode
12315
12336
  });
12316
- var handleHover = () => setIsHovered(!isHovered);
12317
12337
  var handleFocus = () => setIsFocused(true);
12318
12338
  var handleCallback = option => {
12319
12339
  setHide(!hide);
@@ -12370,13 +12390,13 @@
12370
12390
  variant: variant,
12371
12391
  value: value,
12372
12392
  color: 'theme.primary',
12373
- isHovered: isHovered,
12374
12393
  isDisabled: isDisabled,
12375
12394
  isReadOnly: isReadOnly,
12376
12395
  isFocused: isFocused,
12377
12396
  showLabel: showLabel,
12378
- onMouseEnter: handleHover,
12379
- onMouseLeave: handleHover
12397
+ _hover: !isDisabled && !error ? {
12398
+ borderColor: 'theme.primary'
12399
+ } : undefined
12380
12400
  }, /*#__PURE__*/React__default.createElement(FieldWrapper, null, showLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
12381
12401
  htmlFor: id,
12382
12402
  color: 'theme.primary',
@@ -12651,6 +12671,7 @@
12651
12671
  relation
12652
12672
  } = appStudio.useElementPosition();
12653
12673
  var dropdownRef = React.useRef(null);
12674
+ var [isHovered, setIsHovered] = React.useState(false);
12654
12675
  // Get optimal positioning style based on available space
12655
12676
  var getDropdownStyle = () => {
12656
12677
  if (!relation) {
@@ -12690,13 +12711,13 @@
12690
12711
  var handleClickOutside = event => {
12691
12712
  var path = event.composedPath();
12692
12713
  var isOutside = !path.some(element => (element == null ? void 0 : element.id) === 'combobox-dropdown');
12693
- if (isOutside) {
12714
+ if (isOutside && triggerRef.current && !triggerRef.current.contains(event.target)) {
12694
12715
  setIsDropdownVisible(false);
12695
12716
  }
12696
12717
  };
12697
12718
  document.addEventListener('mousedown', handleClickOutside);
12698
12719
  return () => document.removeEventListener('mousedown', handleClickOutside);
12699
- }, []);
12720
+ }, []); // triggerRef is stable
12700
12721
  // Defines 'handleSearch' to filter items based on the user's query.
12701
12722
  var handleSearch = query => {
12702
12723
  setSearchQuery(query);
@@ -12725,71 +12746,102 @@
12725
12746
  views: views == null ? void 0 : views.label,
12726
12747
  htmlFor: props.id
12727
12748
  }, label)), /*#__PURE__*/React__default.createElement(appStudio.View, {
12728
- position: "relative"
12729
- }, /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
12749
+ position: "relative",
12750
+ width: "100%"
12751
+ }, /*#__PURE__*/React__default.createElement("div", {
12730
12752
  ref: triggerRef,
12753
+ onClick: () => setIsDropdownVisible(!isDropdownVisible),
12754
+ style: {
12755
+ width: '100%'
12756
+ }
12757
+ }, /*#__PURE__*/React__default.createElement(FieldContent, {
12758
+ isHovered: isHovered,
12759
+ isFocused: isDropdownVisible,
12760
+ onMouseEnter: () => setIsHovered(true),
12761
+ onMouseLeave: () => setIsHovered(false),
12731
12762
  cursor: "pointer",
12732
- backgroundColor: "color.white",
12733
- boxShadow: "rgba(0, 0, 0, 0.16) 0px 1px 4px",
12734
- padding: "12px",
12735
- display: "flex",
12736
- alignItems: "center",
12737
- borderRadius: "4px",
12738
- justifyContent: "space-between",
12739
- minWidth: 300,
12740
- flexWrap: "nowrap"
12741
- }, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
12742
- gap: 15,
12763
+ views: {
12764
+ container: views == null ? void 0 : views.container
12765
+ }
12766
+ }, /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
12767
+ gap: 10,
12743
12768
  alignItems: "center",
12744
- position: "relative",
12745
- width: "100%",
12746
- onClick: () => setIsDropdownVisible(!isDropdownVisible)
12747
- }, views == null ? void 0 : views.labelContainer), left, /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
12769
+ width: "100%"
12770
+ }, 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({
12748
12771
  weight: "medium",
12749
12772
  flexGrow: 1,
12750
- color: "color.gray.800"
12751
- }, views == null ? void 0 : views.label), selectedItem.label)), right), isDropdownVisible && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
12773
+ color: selectedItem.label === placeholder ? 'color.gray.500' : 'color.gray.800',
12774
+ style: {
12775
+ whiteSpace: 'nowrap',
12776
+ overflow: 'hidden',
12777
+ textOverflow: 'ellipsis'
12778
+ }
12779
+ }, views == null ? void 0 : views.label), selectedItem.label)), /*#__PURE__*/React__default.createElement(appStudio.Horizontal, {
12780
+ gap: 5,
12781
+ alignItems: "center"
12782
+ }, right, /*#__PURE__*/React__default.createElement(ChevronIcon, {
12783
+ widthHeight: 16,
12784
+ orientation: isDropdownVisible ? 'up' : 'down',
12785
+ color: "color.gray.500"
12786
+ })))), isDropdownVisible && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
12752
12787
  ref: dropdownRef,
12753
12788
  id: "combobox-dropdown",
12754
12789
  backgroundColor: "color.white",
12755
- boxShadow: "rgba(0, 0, 0, 0.16) 0px 1px 4px",
12790
+ boxShadow: "rgba(0, 0, 0, 0.16) 0px 4px 16px",
12756
12791
  overflowY: "auto",
12757
- borderRadius: "4px",
12792
+ borderRadius: "8px",
12758
12793
  style: getDropdownStyle()
12759
- }, views == null ? void 0 : views.dropdown), searchEnabled && (/*#__PURE__*/React__default.createElement(TextFieldView, {
12760
- id: props.id,
12761
- name: props.name,
12794
+ }, views == null ? void 0 : views.dropdown, {
12795
+ border: "1px solid #eee"
12796
+ }), searchEnabled && (/*#__PURE__*/React__default.createElement(appStudio.View, {
12797
+ padding: "8px"
12798
+ }, /*#__PURE__*/React__default.createElement(TextFieldView, {
12799
+ id: props.id + "-search",
12800
+ name: props.name + "-search",
12762
12801
  width: "100%",
12763
12802
  type: "search",
12803
+ autoFocus: true,
12764
12804
  value: searchQuery,
12765
12805
  onChange: value => handleSearch(value),
12766
- hint: placeholder,
12806
+ hint: placeholder || 'Search...',
12767
12807
  isClearable: false,
12768
12808
  left: /*#__PURE__*/React__default.createElement(SearchIcon, {
12769
- widthHeight: 16
12809
+ widthHeight: 16,
12810
+ color: "color.gray.400"
12770
12811
  }),
12771
12812
  views: {
12772
12813
  container: Object.assign({
12773
12814
  width: '100%',
12774
- padding: '6px 12px',
12775
- borderBottom: filteredItems.length > 0 ? '1px solid #ccc' : '1px solid transparent'
12776
- }, views == null ? void 0 : views.text)
12815
+ padding: '0'
12816
+ }, views == null ? void 0 : views.text),
12817
+ field: {
12818
+ fontSize: '14px'
12819
+ }
12777
12820
  }
12778
- })), filteredItems.length > 0 && (/*#__PURE__*/React__default.createElement(appStudio.View, {
12821
+ }))), filteredItems.length > 0 && (/*#__PURE__*/React__default.createElement(appStudio.View, {
12779
12822
  margin: 0,
12780
12823
  padding: 4
12781
12824
  }, filteredItems.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
12782
12825
  justifyContent: "space-between",
12783
12826
  key: item.value,
12784
- padding: "12px",
12827
+ padding: "8px 12px",
12785
12828
  cursor: "pointer",
12786
12829
  borderRadius: 4,
12787
12830
  backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
12788
12831
  onMouseEnter: () => setHighlightedIndex(index),
12789
- onClick: () => handleSelect(item)
12790
- }, 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, {
12791
- widthHeight: 20
12792
- })))))))))));
12832
+ onClick: () => handleSelect(item),
12833
+ transition: "background-color 0.2s"
12834
+ }, views == null ? void 0 : views.item), /*#__PURE__*/React__default.createElement(appStudio.Text, {
12835
+ color: "color.gray.800"
12836
+ }, 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, {
12837
+ widthHeight: 16,
12838
+ color: "theme.primary"
12839
+ })))))))), filteredItems.length === 0 && (/*#__PURE__*/React__default.createElement(appStudio.View, {
12840
+ padding: "12px"
12841
+ }, /*#__PURE__*/React__default.createElement(appStudio.Text, {
12842
+ color: "color.gray.500",
12843
+ align: "center"
12844
+ }, "No items found")))))));
12793
12845
  };
12794
12846
 
12795
12847
  var _excluded$C = ["id", "name", "items", "placeholder", "searchPlaceholder"];
@@ -13031,53 +13083,56 @@
13031
13083
  isDisabled,
13032
13084
  isReadOnly
13033
13085
  } = _ref;
13086
+ var [isRemoveHovered, setIsRemoveHovered] = React__default.useState(false);
13034
13087
  var {
13035
13088
  getColor
13036
13089
  } = appStudio.useTheme();
13037
13090
  var chipSize = {
13038
13091
  xs: {
13039
- padding: '2px 6px',
13092
+ padding: '2px 8px',
13040
13093
  fontSize: '10px',
13041
13094
  iconSize: 10
13042
13095
  },
13043
13096
  sm: {
13044
- padding: '4px 8px',
13097
+ padding: '4px 10px',
13045
13098
  fontSize: '12px',
13046
13099
  iconSize: 12
13047
13100
  },
13048
13101
  md: {
13049
- padding: '6px 10px',
13102
+ padding: '6px 14px',
13050
13103
  fontSize: '14px',
13051
13104
  iconSize: 14
13052
13105
  },
13053
13106
  lg: {
13054
- padding: '8px 12px',
13107
+ padding: '8px 16px',
13055
13108
  fontSize: '16px',
13056
13109
  iconSize: 16
13057
13110
  },
13058
13111
  xl: {
13059
- padding: '10px 14px',
13112
+ padding: '10px 18px',
13060
13113
  fontSize: '18px',
13061
13114
  iconSize: 18
13062
13115
  }
13063
13116
  }[size] || {
13064
- padding: '6px 10px',
13117
+ padding: '6px 14px',
13065
13118
  fontSize: '14px',
13066
13119
  iconSize: 14
13067
13120
  };
13068
13121
  return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
13069
13122
  alignItems: "center",
13070
- gap: 4,
13123
+ gap: 6,
13071
13124
  padding: chipSize.padding,
13072
- backgroundColor: "color.gray.100",
13125
+ backgroundColor: "white",
13073
13126
  borderRadius: "16px",
13074
13127
  border: "1px solid",
13075
- borderColor: "color.gray.200",
13076
- transition: "all 0.2s ease",
13128
+ borderColor: "color.black.100",
13129
+ boxShadow: "0 1px 2px rgba(0,0,0,0.05)",
13130
+ transition: "all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
13077
13131
  opacity: isDisabled ? 0.6 : 1,
13078
13132
  _hover: !isDisabled && !isReadOnly ? {
13079
- backgroundColor: 'color.gray.200',
13080
- borderColor: 'color.gray.300'
13133
+ borderColor: 'color.gray.300',
13134
+ boxShadow: '0 4px 6px rgba(0,0,0,0.05)',
13135
+ transform: 'translateY(-1px)'
13081
13136
  } : {}
13082
13137
  }, views == null ? void 0 : views.tag), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
13083
13138
  fontSize: chipSize.fontSize,
@@ -13089,13 +13144,19 @@
13089
13144
  padding: "2px",
13090
13145
  borderRadius: "50%",
13091
13146
  transition: "all 0.2s ease",
13092
- _hover: {
13093
- backgroundColor: 'color.gray.300'
13147
+ backgroundColor: isRemoveHovered ? 'color.red.50' : 'transparent',
13148
+ onMouseEnter: () => setIsRemoveHovered(true),
13149
+ onMouseLeave: () => setIsRemoveHovered(false),
13150
+ onClick: e => {
13151
+ e.stopPropagation();
13152
+ onRemove();
13094
13153
  },
13095
- onClick: onRemove
13154
+ _hover: {
13155
+ backgroundColor: 'color.red.50'
13156
+ }
13096
13157
  }, views == null ? void 0 : views.tagRemove), /*#__PURE__*/React__default.createElement(CloseIcon, {
13097
13158
  widthHeight: chipSize.iconSize,
13098
- color: "color.gray.500"
13159
+ color: isRemoveHovered ? 'color.red.500' : 'color.gray.400'
13099
13160
  }))));
13100
13161
  };
13101
13162
  /**
@@ -13181,7 +13242,7 @@
13181
13242
  views: views
13182
13243
  }, label)), /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
13183
13244
  alignItems: "center",
13184
- gap: 4,
13245
+ gap: 8,
13185
13246
  flexWrap: "wrap",
13186
13247
  width: "100%",
13187
13248
  minHeight: appStudio.Typography.fontSizes[size],
@@ -16775,6 +16836,166 @@
16775
16836
  };
16776
16837
  FormikUploader.displayName = 'FormikUploader';
16777
16838
 
16839
+ // Initializes the custom hook 'useSelectorState' for managing the state of the Selector component
16840
+ var useSelectorState = _ref => {
16841
+ var {
16842
+ placeholder,
16843
+ isMulti,
16844
+ options,
16845
+ id = "selector-" + Math.random().toString(36).substr(2, 9)
16846
+ } = _ref;
16847
+ // 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
16848
+ var defaultValue = placeholder ? isMulti ? [] : '' // If there's a placeholder, set default to empty array for multi-select or empty string for single select
16849
+ : 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
16850
+ // State hook for tracking mouse hover status over the Selector component
16851
+ var [isHovered, setIsHovered] = React__default.useState(false);
16852
+ // State hook for tracking focus status of the Selector input field
16853
+ var [isFocused, setIsFocused] = React__default.useState(false);
16854
+ // State hook for managing the value(s) selected by the user, initialized with the default value
16855
+ var [value, setValue] = React__default.useState(defaultValue);
16856
+ // State hook for keeping track of the currently highlighted index in the options list
16857
+ var [highlightedIndex, setHighlightedIndex] = React__default.useState(0);
16858
+ // State hook for managing visibility of the Selector dropdown, initially set to hidden
16859
+ var [hide, setHide] = React__default.useState(true);
16860
+ // Returns an object containing all stateful values and their associated setters to manage the Selector component's state
16861
+ return {
16862
+ id,
16863
+ value,
16864
+ setValue,
16865
+ hide,
16866
+ setHide,
16867
+ isHovered,
16868
+ setIsHovered,
16869
+ isFocused,
16870
+ setIsFocused,
16871
+ highlightedIndex,
16872
+ setHighlightedIndex
16873
+ };
16874
+ };
16875
+
16876
+ var _excluded$T = ["id", "name", "label", "value", "views", "options", "onChange", "setValue"];
16877
+ /**
16878
+ * SelectorView Component
16879
+ *
16880
+ * Renders a segmented control style selector.
16881
+ */
16882
+ var SelectorView = _ref => {
16883
+ var {
16884
+ id,
16885
+ name,
16886
+ label,
16887
+ value,
16888
+ views = {},
16889
+ options = [],
16890
+ onChange = () => {},
16891
+ setValue = () => {}
16892
+ } = _ref,
16893
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$T);
16894
+ var {
16895
+ getColor
16896
+ } = appStudio.useTheme();
16897
+ var handleCallback = React.useCallback(option => {
16898
+ setValue(option.value);
16899
+ if (onChange) onChange(option.value);
16900
+ }, [setValue, onChange]);
16901
+ return /*#__PURE__*/React__default.createElement(FieldContainer, {
16902
+ id: id,
16903
+ width: "100%",
16904
+ views: views
16905
+ }, label && (/*#__PURE__*/React__default.createElement(appStudio.Horizontal, {
16906
+ fontSize: "10px",
16907
+ letterSpacing: "wider",
16908
+ color: "color.black.500",
16909
+ fontWeight: "bold",
16910
+ marginBottom: 12,
16911
+ alignItems: "center",
16912
+ gap: 6,
16913
+ //Text transform uppercase
16914
+ style: {
16915
+ textTransform: 'uppercase'
16916
+ }
16917
+ }, /*#__PURE__*/React__default.createElement(InfoIcon, {
16918
+ widthHeight: 14
16919
+ }), " ", /*#__PURE__*/React__default.createElement(appStudio.Text, null, label))), /*#__PURE__*/React__default.createElement(appStudio.Horizontal, {
16920
+ gap: 0
16921
+ }, options.map((option, index, arr) => {
16922
+ var isSelected = value === option.value;
16923
+ var borderColor = getColor('color.gray.200');
16924
+ var textColor = getColor('color.gray.500');
16925
+ var bgColor = 'transparent';
16926
+ if (isSelected) {
16927
+ if (option.color) {
16928
+ // We need a way to get related colors (50, 500, 700 etc) from a base color if we want full fidelity.
16929
+ // But passing full style strings is easier.
16930
+ borderColor = getColor(option.color);
16931
+ textColor = getColor(option.color);
16932
+ // Try to approximate background color if possible, or just use white/transparent.
16933
+ // Simplification: if color provided, use it for border/text.
16934
+ // Background is hard to derive without more specific props.
16935
+ // Let's try to use a very light opacity of the color for background.
16936
+ bgColor = 'rgba(0,0,0,0.05)'; // Generic active background
16937
+ } else {
16938
+ // Default active style
16939
+ var primary = getColor('theme.primary');
16940
+ borderColor = primary;
16941
+ textColor = primary;
16942
+ bgColor = 'color.gray.50';
16943
+ }
16944
+ // Specific overrides based on user request "ComplexitySelector" style
16945
+ // If the values match 'High', 'Medium', 'Low' we can hardcode for *demo* fidelity if generic logic fails.
16946
+ // But let's try to make it generic.
16947
+ // The user simply pasted code.
16948
+ if (option.color) {
16949
+ // Fallback for customized options
16950
+ borderColor = getColor(option.color);
16951
+ textColor = getColor(option.color);
16952
+ bgColor = 'transparent';
16953
+ } else {
16954
+ // Default fallback
16955
+ borderColor = getColor('theme.primary');
16956
+ textColor = getColor('theme.primary');
16957
+ bgColor = getColor('color.blue.50');
16958
+ }
16959
+ }
16960
+ return /*#__PURE__*/React__default.createElement(Button, Object.assign({
16961
+ key: option.value,
16962
+ onClick: () => handleCallback(option),
16963
+ flex: 1,
16964
+ paddingVertical: 6,
16965
+ fontSize: "12px",
16966
+ fontWeight: isSelected ? 'bold' : 'normal',
16967
+ style: {
16968
+ borderTop: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
16969
+ borderBottom: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
16970
+ borderLeft: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
16971
+ borderRight: index === arr.length - 1 || isSelected ? "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')) : 'none',
16972
+ backgroundColor: bgColor,
16973
+ color: textColor,
16974
+ borderRadius: index === 0 ? '6px 0 0 6px' : index === arr.length - 1 ? '0 6px 6px 0' : '0',
16975
+ zIndex: isSelected ? 1 : 0,
16976
+ boxShadow: 'none'
16977
+ }
16978
+ }, views.item), option.label);
16979
+ })), /*#__PURE__*/React__default.createElement("input", {
16980
+ type: "hidden",
16981
+ id: id,
16982
+ name: name,
16983
+ value: Array.isArray(value) ? value.join(',') : value,
16984
+ onChange: () => {}
16985
+ }));
16986
+ };
16987
+
16988
+ var SelectorComponent = props => {
16989
+ var formProps = useFormikInput(props);
16990
+ formProps.selected = formProps.value;
16991
+ var selectorStates = useSelectorState(props);
16992
+ return /*#__PURE__*/React__default.createElement(SelectorView, Object.assign({}, selectorStates, formProps));
16993
+ };
16994
+ /**
16995
+ * Selector provides a dropdown list of options for the user to choose from.
16996
+ */
16997
+ var FormikSelector = SelectorComponent;
16998
+
16778
16999
  var AttachmentPreview = _ref => {
16779
17000
  var {
16780
17001
  files,
@@ -17121,7 +17342,7 @@
17121
17342
  }
17122
17343
  };
17123
17344
 
17124
- var _excluded$T = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
17345
+ var _excluded$U = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
17125
17346
  _excluded2$e = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
17126
17347
  _excluded3$9 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
17127
17348
  _excluded4$8 = ["children", "views"],
@@ -17136,7 +17357,7 @@
17136
17357
  position = 'center',
17137
17358
  views
17138
17359
  } = _ref,
17139
- props = _objectWithoutPropertiesLoose(_ref, _excluded$T);
17360
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
17140
17361
  var handleClick = () => {
17141
17362
  if (!isClosePrevented) onClose();
17142
17363
  };
@@ -17384,7 +17605,7 @@
17384
17605
  }
17385
17606
  };
17386
17607
 
17387
- var _excluded$U = ["isOpen", "onClose", "isClosePrevented", "blur", "children"],
17608
+ var _excluded$V = ["isOpen", "onClose", "isClosePrevented", "blur", "children"],
17388
17609
  _excluded2$f = ["placement", "size", "children"],
17389
17610
  _excluded3$a = ["children", "onClose", "buttonPosition"],
17390
17611
  _excluded4$9 = ["children"],
@@ -17397,7 +17618,7 @@
17397
17618
  blur,
17398
17619
  children
17399
17620
  } = _ref,
17400
- props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
17621
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$V);
17401
17622
  var handleClick = () => {
17402
17623
  if (!isClosePrevented) onClose();
17403
17624
  };
@@ -17509,7 +17730,7 @@
17509
17730
  }, props), children);
17510
17731
  };
17511
17732
 
17512
- var _excluded$V = ["isOpen", "onClose", "placement", "size", "isClosePrevented", "children"];
17733
+ var _excluded$W = ["isOpen", "onClose", "placement", "size", "isClosePrevented", "children"];
17513
17734
  /**
17514
17735
  * A drawer is a panel that slides out from the edge of the screen.
17515
17736
  * It can be useful when you need users to complete a task or view some details without leaving the current page.
@@ -17523,7 +17744,7 @@
17523
17744
  isClosePrevented,
17524
17745
  children
17525
17746
  } = _ref,
17526
- props = _objectWithoutPropertiesLoose(_ref, _excluded$V);
17747
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$W);
17527
17748
  var transformStyle = isOpen ? {} : {
17528
17749
  transform: placement === 'left' || placement === 'right' ? "translateX(" + (placement === 'left' ? '-100%' : '100%') + ")" : "translateY(" + (placement === 'top' ? '-100%' : '100%') + ")"
17529
17750
  };
@@ -17693,7 +17914,7 @@
17693
17914
  }
17694
17915
  };
17695
17916
 
17696
- var _excluded$W = ["href", "children", "views"];
17917
+ var _excluded$X = ["href", "children", "views"];
17697
17918
  // Create context for the NavigationMenu
17698
17919
  var NavigationMenuContext = /*#__PURE__*/React.createContext({
17699
17920
  activeItemId: null,
@@ -18069,7 +18290,7 @@
18069
18290
  children,
18070
18291
  views
18071
18292
  } = _ref6,
18072
- props = _objectWithoutPropertiesLoose(_ref6, _excluded$W);
18293
+ props = _objectWithoutPropertiesLoose(_ref6, _excluded$X);
18073
18294
  var {
18074
18295
  itemValue,
18075
18296
  isDisabled
@@ -18136,7 +18357,7 @@
18136
18357
  })))));
18137
18358
  };
18138
18359
 
18139
- var _excluded$X = ["items", "children", "orientation", "size", "variant", "defaultActiveItemId", "defaultExpandedItemIds", "onItemActivate", "views"];
18360
+ var _excluded$Y = ["items", "children", "orientation", "size", "variant", "defaultActiveItemId", "defaultExpandedItemIds", "onItemActivate", "views"];
18140
18361
  /**
18141
18362
  * NavigationMenu component for creating navigation menus with optional nested items.
18142
18363
  * Supports both data-driven approach (with items prop) and compound component pattern.
@@ -18153,7 +18374,7 @@
18153
18374
  onItemActivate,
18154
18375
  views
18155
18376
  } = _ref,
18156
- props = _objectWithoutPropertiesLoose(_ref, _excluded$X);
18377
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$Y);
18157
18378
  var {
18158
18379
  activeItemId,
18159
18380
  setActiveItemId,
@@ -18966,7 +19187,7 @@
18966
19187
  })
18967
19188
  };
18968
19189
 
18969
- var _excluded$Y = ["text", "typingSpeed", "pauseTime", "onComplete", "showCursor", "cursorColor", "textStyle", "as"];
19190
+ var _excluded$Z = ["text", "typingSpeed", "pauseTime", "onComplete", "showCursor", "cursorColor", "textStyle", "as"];
18970
19191
  /**
18971
19192
  * A component that creates a typewriter effect for text
18972
19193
  */
@@ -18980,7 +19201,7 @@
18980
19201
  cursorColor = 'currentColor',
18981
19202
  textStyle
18982
19203
  } = _ref,
18983
- props = _objectWithoutPropertiesLoose(_ref, _excluded$Y);
19204
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$Z);
18984
19205
  // Convert text to array if it's a string
18985
19206
  var textArray = Array.isArray(text) ? text : [text];
18986
19207
  // State for the currently displayed text
@@ -19047,7 +19268,7 @@
19047
19268
  }))))));
19048
19269
  };
19049
19270
 
19050
- var _excluded$Z = ["text", "duration", "direction", "stagger", "sequential", "textStyle", "as", "wordProps"],
19271
+ var _excluded$_ = ["text", "duration", "direction", "stagger", "sequential", "textStyle", "as", "wordProps"],
19051
19272
  _excluded2$g = ["style"];
19052
19273
  // CSS keyframes injection - done once
19053
19274
  var KEYFRAMES_ID = 'slide-effect-keyframes';
@@ -19069,7 +19290,7 @@
19069
19290
  textStyle,
19070
19291
  wordProps
19071
19292
  } = _ref,
19072
- props = _objectWithoutPropertiesLoose(_ref, _excluded$Z);
19293
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
19073
19294
  var [displayedText, setDisplayedText] = React.useState(text);
19074
19295
  var [phase, setPhase] = React.useState('entering');
19075
19296
  var [animKey, setAnimKey] = React.useState(0);
@@ -19199,7 +19420,7 @@
19199
19420
  })));
19200
19421
  };
19201
19422
 
19202
- var _excluded$_ = ["children", "highlightText", "highlightStyle", "highlightColor", "highlightSecondaryColor", "size", "responsive", "centered", "views", "highlightAnimate", "animate", "animationLoop", "highlightAnimationLoop", "highlightTypewriter", "highlightTypewriterDuration", "highlightSlide", "highlightSlideDuration", "highlightSlideStagger", "highlightSlideSequential"];
19423
+ var _excluded$$ = ["children", "highlightText", "highlightStyle", "highlightColor", "highlightSecondaryColor", "size", "responsive", "centered", "views", "highlightAnimate", "animate", "animationLoop", "highlightAnimationLoop", "highlightTypewriter", "highlightTypewriterDuration", "highlightSlide", "highlightSlideDuration", "highlightSlideStagger", "highlightSlideSequential"];
19203
19424
  function escapeRegExp(string) {
19204
19425
  return string.replace(/[.*+?^${}()|[\\]\\/g, '\\$&');
19205
19426
  }
@@ -19225,7 +19446,7 @@
19225
19446
  highlightSlideStagger = 50,
19226
19447
  highlightSlideSequential = true
19227
19448
  } = _ref,
19228
- props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
19449
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$$);
19229
19450
  var {
19230
19451
  ref,
19231
19452
  inView
@@ -19524,7 +19745,7 @@
19524
19745
  }
19525
19746
  });
19526
19747
 
19527
- var _excluded$$ = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views", "backgroundColor", "color", "themeMode"];
19748
+ var _excluded$10 = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views", "backgroundColor", "color", "themeMode"];
19528
19749
  var ToggleView = _ref => {
19529
19750
  var _ref2;
19530
19751
  var {
@@ -19544,7 +19765,7 @@
19544
19765
  // 2nd candidate for main color
19545
19766
  themeMode: elementMode
19546
19767
  } = _ref,
19547
- props = _objectWithoutPropertiesLoose(_ref, _excluded$$);
19768
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
19548
19769
  /* theme helpers */
19549
19770
  var {
19550
19771
  getColor,
@@ -19588,7 +19809,7 @@
19588
19809
  }, props, views == null ? void 0 : views.container), children);
19589
19810
  };
19590
19811
 
19591
- var _excluded$10 = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
19812
+ var _excluded$11 = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
19592
19813
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
19593
19814
  var ToggleComponent = _ref => {
19594
19815
  var {
@@ -19600,7 +19821,7 @@
19600
19821
  isToggled = false,
19601
19822
  onToggle
19602
19823
  } = _ref,
19603
- props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
19824
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$11);
19604
19825
  // Initializing toggle state and set state functions using the custom hook useToggleState.
19605
19826
  var {
19606
19827
  isHovered,
@@ -19820,8 +20041,7 @@
19820
20041
  onTouchStart: e => handleDragStart(e, index),
19821
20042
  position: "relative",
19822
20043
  cursor: "grab",
19823
- transition: "transform 0.2s",
19824
- backgroundColor: draggedIndex === index ? 'color.gray.100' : 'transparent'
20044
+ transition: "transform 0.2s"
19825
20045
  }, itemProps, views == null ? void 0 : views.item), renderItem ? renderItem(item, index) : item))));
19826
20046
  };
19827
20047
 
@@ -19935,7 +20155,7 @@
19935
20155
  }
19936
20156
  };
19937
20157
 
19938
- var _excluded$11 = ["children", "views"],
20158
+ var _excluded$12 = ["children", "views"],
19939
20159
  _excluded2$h = ["items", "side", "align", "views"],
19940
20160
  _excluded3$b = ["item", "views"],
19941
20161
  _excluded4$a = ["views"],
@@ -19976,7 +20196,7 @@
19976
20196
  children,
19977
20197
  views
19978
20198
  } = _ref2,
19979
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$11);
20199
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$12);
19980
20200
  var {
19981
20201
  isOpen,
19982
20202
  setIsOpen,
@@ -20229,7 +20449,7 @@
20229
20449
  }));
20230
20450
  };
20231
20451
 
20232
- var _excluded$12 = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
20452
+ var _excluded$13 = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
20233
20453
  /**
20234
20454
  * DropdownMenu component for displaying a menu when clicking on a trigger element.
20235
20455
  */
@@ -20244,7 +20464,7 @@
20244
20464
  defaultOpen = false,
20245
20465
  views
20246
20466
  } = _ref,
20247
- props = _objectWithoutPropertiesLoose(_ref, _excluded$12);
20467
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$13);
20248
20468
  var {
20249
20469
  isOpen,
20250
20470
  setIsOpen,
@@ -20658,7 +20878,7 @@
20658
20878
  category: 'neutral'
20659
20879
  }];
20660
20880
 
20661
- 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"];
20881
+ 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"];
20662
20882
  var ColorPickerView = _ref => {
20663
20883
  var {
20664
20884
  // Basic props
@@ -20693,7 +20913,7 @@
20693
20913
  dropdownRef
20694
20914
  // Other props
20695
20915
  } = _ref,
20696
- props = _objectWithoutPropertiesLoose(_ref, _excluded$13);
20916
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$14);
20697
20917
  var {
20698
20918
  getColor
20699
20919
  } = appStudio.useTheme();
@@ -20896,7 +21116,8 @@
20896
21116
  gap: '4px',
20897
21117
  maxHeight: '240px',
20898
21118
  overflowY: 'auto',
20899
- padding: '4px'
21119
+ padding: '4px',
21120
+ color: 'color.black'
20900
21121
  },
20901
21122
  emoji: {
20902
21123
  width: '32px',
@@ -23024,7 +23245,7 @@
23024
23245
  };
23025
23246
  };
23026
23247
 
23027
- 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"];
23248
+ 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"];
23028
23249
  var EmojiPickerView = _ref => {
23029
23250
  var {
23030
23251
  // Basic props
@@ -23062,7 +23283,7 @@
23062
23283
  dropdownRef
23063
23284
  // Other props
23064
23285
  } = _ref,
23065
- props = _objectWithoutPropertiesLoose(_ref, _excluded$14);
23286
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$15);
23066
23287
  var {
23067
23288
  getColor
23068
23289
  } = appStudio.useTheme();
@@ -23124,7 +23345,8 @@
23124
23345
  title: emoji.name,
23125
23346
  _hover: {
23126
23347
  backgroundColor: 'color.gray.100'
23127
- }
23348
+ },
23349
+ color: "color.gray.800"
23128
23350
  }, views == null ? void 0 : views.emoji), emoji.emoji))) : (/*#__PURE__*/React__default.createElement(appStudio.View, {
23129
23351
  gridColumn: "1 / -1",
23130
23352
  padding: "20px",
@@ -23249,7 +23471,7 @@
23249
23471
  }
23250
23472
  };
23251
23473
 
23252
- var _excluded$15 = ["children", "orientation", "size", "variant", "views"];
23474
+ var _excluded$16 = ["children", "orientation", "size", "variant", "views"];
23253
23475
  // Create context for the Menubar
23254
23476
  var MenubarContext = /*#__PURE__*/React.createContext({
23255
23477
  activeMenuId: null,
@@ -23286,7 +23508,7 @@
23286
23508
  variant = 'default',
23287
23509
  views
23288
23510
  } = _ref2,
23289
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$15);
23511
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$16);
23290
23512
  var Container = orientation === 'horizontal' ? appStudio.Horizontal : appStudio.Vertical;
23291
23513
  return /*#__PURE__*/React__default.createElement(Container, Object.assign({
23292
23514
  role: "menubar",
@@ -23606,7 +23828,7 @@
23606
23828
  })))))));
23607
23829
  };
23608
23830
 
23609
- var _excluded$16 = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
23831
+ var _excluded$17 = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
23610
23832
  /**
23611
23833
  * Menubar component for creating horizontal or vertical menu bars with dropdown menus.
23612
23834
  */
@@ -23620,7 +23842,7 @@
23620
23842
  defaultOpenMenuId = null,
23621
23843
  views
23622
23844
  } = _ref,
23623
- props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
23845
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
23624
23846
  var {
23625
23847
  activeMenuId,
23626
23848
  setActiveMenuId,
@@ -23802,7 +24024,7 @@
23802
24024
  }
23803
24025
  };
23804
24026
 
23805
- var _excluded$17 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
24027
+ var _excluded$18 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
23806
24028
  var PaginationView = _ref => {
23807
24029
  var {
23808
24030
  currentPage,
@@ -23833,7 +24055,7 @@
23833
24055
  visiblePageNumbers,
23834
24056
  views
23835
24057
  } = _ref,
23836
- props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
24058
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
23837
24059
  var handlePageChange = page => {
23838
24060
  if (page < 1 || page > totalPages || page === currentPage) {
23839
24061
  return;
@@ -23952,7 +24174,7 @@
23952
24174
  }, option.label))))));
23953
24175
  };
23954
24176
 
23955
- var _excluded$18 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
24177
+ var _excluded$19 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
23956
24178
  /**
23957
24179
  * Pagination component for navigating through pages of content.
23958
24180
  */
@@ -23973,7 +24195,7 @@
23973
24195
  shape = 'rounded',
23974
24196
  views
23975
24197
  } = _ref,
23976
- props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
24198
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$19);
23977
24199
  var {
23978
24200
  visiblePageNumbers
23979
24201
  } = usePaginationState(currentPage, totalPages, maxPageButtons);
@@ -23997,7 +24219,7 @@
23997
24219
  };
23998
24220
  var Pagination = PaginationComponent;
23999
24221
 
24000
- var _excluded$19 = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
24222
+ var _excluded$1a = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
24001
24223
  var ProgressBarView = _ref => {
24002
24224
  var {
24003
24225
  value = 0,
@@ -24009,7 +24231,7 @@
24009
24231
  views,
24010
24232
  themeMode: elementMode
24011
24233
  } = _ref,
24012
- props = _objectWithoutPropertiesLoose(_ref, _excluded$19);
24234
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
24013
24235
  var {
24014
24236
  getColor,
24015
24237
  themeMode
@@ -24099,7 +24321,7 @@
24099
24321
  }
24100
24322
  };
24101
24323
 
24102
- var _excluded$1a = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
24324
+ var _excluded$1b = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
24103
24325
  var SeparatorView = _ref => {
24104
24326
  var {
24105
24327
  orientation = 'horizontal',
@@ -24111,7 +24333,7 @@
24111
24333
  decorative = false,
24112
24334
  views
24113
24335
  } = _ref,
24114
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
24336
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1b);
24115
24337
  // Access theme if needed for future enhancements
24116
24338
  var {
24117
24339
  themeMode
@@ -24179,7 +24401,7 @@
24179
24401
  var Separator = SeparatorComponent;
24180
24402
  var Divider = SeparatorComponent;
24181
24403
 
24182
- var _excluded$1b = ["isSupported", "isSharing", "onShare", "label", "children", "icon", "size", "isDisabled", "isLoading", "iconPosition", "disableWhenUnsupported"];
24404
+ var _excluded$1c = ["isSupported", "isSharing", "onShare", "label", "children", "icon", "size", "isDisabled", "isLoading", "iconPosition", "disableWhenUnsupported"];
24183
24405
  var ICON_SIZE_MAP = {
24184
24406
  xs: 12,
24185
24407
  sm: 14,
@@ -24202,7 +24424,7 @@
24202
24424
  iconPosition,
24203
24425
  disableWhenUnsupported = true
24204
24426
  } = _ref,
24205
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$1b);
24427
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
24206
24428
  var resolvedSize = size != null ? size : 'md';
24207
24429
  var resolvedIcon = icon != null ? icon : (/*#__PURE__*/React__default.createElement(ShareIcon, {
24208
24430
  widthHeight: ICON_SIZE_MAP[resolvedSize],
@@ -24304,14 +24526,14 @@
24304
24526
  };
24305
24527
  };
24306
24528
 
24307
- var _excluded$1c = ["shareData", "onShareStart", "onShareSuccess", "onShareCancel", "onShareError", "onUnsupported", "onClick"];
24529
+ var _excluded$1d = ["shareData", "onShareStart", "onShareSuccess", "onShareCancel", "onShareError", "onUnsupported", "onClick"];
24308
24530
  var ShareButtonComponent = props => {
24309
24531
  var {
24310
24532
  isSupported,
24311
24533
  isSharing,
24312
24534
  handleShare
24313
24535
  } = useShareButton(props);
24314
- var viewProps = _objectWithoutPropertiesLoose(props, _excluded$1c);
24536
+ var viewProps = _objectWithoutPropertiesLoose(props, _excluded$1d);
24315
24537
  return /*#__PURE__*/React__default.createElement(ShareButtonView, Object.assign({}, viewProps, {
24316
24538
  isSupported: isSupported,
24317
24539
  isSharing: isSharing,
@@ -24365,7 +24587,7 @@
24365
24587
  };
24366
24588
  };
24367
24589
 
24368
- var _excluded$1d = ["label", "status", "views", "themeMode"];
24590
+ var _excluded$1e = ["label", "status", "views", "themeMode"];
24369
24591
  var StatusIndicatorView = _ref => {
24370
24592
  var {
24371
24593
  label,
@@ -24373,7 +24595,7 @@
24373
24595
  views,
24374
24596
  themeMode: elementMode
24375
24597
  } = _ref,
24376
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1d);
24598
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
24377
24599
  var {
24378
24600
  themeMode
24379
24601
  } = appStudio.useTheme();
@@ -24556,7 +24778,7 @@
24556
24778
  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)'
24557
24779
  };
24558
24780
 
24559
- var _excluded$1e = ["children", "showToggleButton", "views"],
24781
+ var _excluded$1f = ["children", "showToggleButton", "views"],
24560
24782
  _excluded2$i = ["children", "views"],
24561
24783
  _excluded3$c = ["children", "views"],
24562
24784
  _excluded4$b = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
@@ -24589,7 +24811,7 @@
24589
24811
  showToggleButton = true,
24590
24812
  views
24591
24813
  } = _ref2,
24592
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1e);
24814
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1f);
24593
24815
  var {
24594
24816
  isExpanded,
24595
24817
  toggleExpanded,
@@ -24744,7 +24966,7 @@
24744
24966
  }))));
24745
24967
  };
24746
24968
 
24747
- var _excluded$1f = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
24969
+ var _excluded$1g = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
24748
24970
  /**
24749
24971
  * Sidebar component for creating collapsible, themeable and customizable sidebars.
24750
24972
  */
@@ -24766,7 +24988,7 @@
24766
24988
  breakpointBehavior = 'overlay',
24767
24989
  views
24768
24990
  } = _ref,
24769
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1f);
24991
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1g);
24770
24992
  var {
24771
24993
  isExpanded,
24772
24994
  toggleExpanded,
@@ -25231,7 +25453,7 @@
25231
25453
  }
25232
25454
  };
25233
25455
 
25234
- var _excluded$1g = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
25456
+ var _excluded$1h = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
25235
25457
  _excluded2$j = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
25236
25458
  _excluded3$d = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
25237
25459
  // Create context for the Resizable component
@@ -25276,7 +25498,7 @@
25276
25498
  onCollapseChange,
25277
25499
  views
25278
25500
  } = _ref2,
25279
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1g);
25501
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1h);
25280
25502
  var {
25281
25503
  orientation,
25282
25504
  registerPanel,
@@ -25491,7 +25713,7 @@
25491
25713
  }, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
25492
25714
  };
25493
25715
 
25494
- var _excluded$1h = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
25716
+ var _excluded$1i = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
25495
25717
  /**
25496
25718
  * Resizable component for creating resizable panel groups and layouts.
25497
25719
  */
@@ -25511,7 +25733,7 @@
25511
25733
  keyboardResizeBy = 10,
25512
25734
  views
25513
25735
  } = _ref,
25514
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1h);
25736
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1i);
25515
25737
  var {
25516
25738
  isResizing,
25517
25739
  setIsResizing,
@@ -26282,7 +26504,7 @@
26282
26504
  color: 'color.gray.500'
26283
26505
  };
26284
26506
 
26285
- var _excluded$1i = ["value", "onValueChange", "placeholder", "views"],
26507
+ var _excluded$1j = ["value", "onValueChange", "placeholder", "views"],
26286
26508
  _excluded2$k = ["children", "views"],
26287
26509
  _excluded3$e = ["heading", "children", "views"],
26288
26510
  _excluded4$c = ["item", "selected", "onSelect", "views"],
@@ -26314,7 +26536,7 @@
26314
26536
  placeholder = 'Type a command or search...',
26315
26537
  views
26316
26538
  } = _ref2,
26317
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1i);
26539
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1j);
26318
26540
  var inputRef = React.useRef(null);
26319
26541
  // Focus input when component mounts
26320
26542
  React__default.useEffect(() => {
@@ -26497,7 +26719,7 @@
26497
26719
  })))), footer && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
26498
26720
  };
26499
26721
 
26500
- var _excluded$1j = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
26722
+ var _excluded$1k = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
26501
26723
  /**
26502
26724
  * Command component for displaying a command palette with search functionality.
26503
26725
  */
@@ -26515,7 +26737,7 @@
26515
26737
  footer,
26516
26738
  views
26517
26739
  } = _ref,
26518
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
26740
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1k);
26519
26741
  var {
26520
26742
  search,
26521
26743
  setSearch,
@@ -26752,7 +26974,7 @@
26752
26974
  }
26753
26975
  };
26754
26976
 
26755
- var _excluded$1k = ["children", "views", "asChild"],
26977
+ var _excluded$1l = ["children", "views", "asChild"],
26756
26978
  _excluded2$l = ["children", "views"],
26757
26979
  _excluded3$f = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
26758
26980
  // Create context for the Tooltip
@@ -26788,7 +27010,7 @@
26788
27010
  views,
26789
27011
  asChild = false
26790
27012
  } = _ref2,
26791
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1k);
27013
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1l);
26792
27014
  var {
26793
27015
  openTooltip,
26794
27016
  closeTooltip,
@@ -26972,7 +27194,7 @@
26972
27194
  }, 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)))));
26973
27195
  };
26974
27196
 
26975
- var _excluded$1l = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
27197
+ var _excluded$1m = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
26976
27198
  /**
26977
27199
  * Tooltip component for displaying additional information when hovering over an element.
26978
27200
  * Supports configurable positions, delays, and styling.
@@ -26992,7 +27214,7 @@
26992
27214
  isDisabled = false,
26993
27215
  views
26994
27216
  } = _ref,
26995
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
27217
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
26996
27218
  var tooltipState = useTooltipState({
26997
27219
  defaultOpen,
26998
27220
  openDelay,
@@ -27301,7 +27523,7 @@
27301
27523
  }
27302
27524
  };
27303
27525
 
27304
- var _excluded$1m = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
27526
+ var _excluded$1n = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
27305
27527
  var GradientView = _ref => {
27306
27528
  var {
27307
27529
  type = 'linear',
@@ -27317,7 +27539,7 @@
27317
27539
  views,
27318
27540
  themeMode: elementMode
27319
27541
  } = _ref,
27320
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
27542
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
27321
27543
  var {
27322
27544
  getColor,
27323
27545
  themeMode
@@ -27393,7 +27615,7 @@
27393
27615
  return /*#__PURE__*/React__default.createElement(GradientView, Object.assign({}, props));
27394
27616
  };
27395
27617
 
27396
- var _excluded$1n = ["children", "showRadialGradient", "views", "themeMode"],
27618
+ var _excluded$1o = ["children", "showRadialGradient", "views", "themeMode"],
27397
27619
  _excluded2$m = ["number", "children"],
27398
27620
  _excluded3$g = ["rows", "cols", "squareSize"],
27399
27621
  _excluded4$d = ["count", "colors", "speed", "shapes"],
@@ -27414,7 +27636,7 @@
27414
27636
  showRadialGradient = true,
27415
27637
  views
27416
27638
  } = _ref,
27417
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
27639
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1o);
27418
27640
  var gradientColors = {
27419
27641
  white: 'rgba(255,255,255,1)',
27420
27642
  transparent: 'rgba(255,255,255,0)'
@@ -28034,6 +28256,7 @@
28034
28256
  exports.FormikOTPInput = FormikOTPInput;
28035
28257
  exports.FormikPassword = FormikPassword;
28036
28258
  exports.FormikSelect = FormikSelect;
28259
+ exports.FormikSelector = FormikSelector;
28037
28260
  exports.FormikSlider = FormikSlider;
28038
28261
  exports.FormikSwitch = FormikSwitch;
28039
28262
  exports.FormikTagInput = FormikTagInput;