@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.
package/dist/web.esm.js CHANGED
@@ -5048,6 +5048,28 @@ var getButtonVariants = function getButtonVariants(color, isLight, isThemeLight)
5048
5048
  boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5049
5049
  },
5050
5050
  transition: 'opacity 0.2s ease'
5051
+ },
5052
+ subtle: {
5053
+ backgroundColor: 'white',
5054
+ color: color,
5055
+ borderWidth: 1,
5056
+ borderStyle: 'solid',
5057
+ borderColor: color,
5058
+ paddingHorizontal: 12,
5059
+ paddingVertical: 6,
5060
+ borderRadius: 6,
5061
+ fontWeight: 500,
5062
+ _hover: {
5063
+ backgroundColor: 'rgba(0, 0, 0, 0.05)'
5064
+ },
5065
+ _active: {
5066
+ backgroundColor: 'rgba(0, 0, 0, 0.1)'
5067
+ },
5068
+ _focusVisible: {
5069
+ outline: 'none',
5070
+ boxShadow: "0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px " + color
5071
+ },
5072
+ transition: 'all 0.2s ease'
5051
5073
  }
5052
5074
  };
5053
5075
  };
@@ -8388,7 +8410,8 @@ var FieldContainer = /*#__PURE__*/React.forwardRef((_ref, ref) => {
8388
8410
  // Layout properties
8389
8411
  gap: 8,
8390
8412
  position: "relative",
8391
- width: "100%"
8413
+ width: "100%",
8414
+ marginVertical: 4
8392
8415
  }, props, views == null ? void 0 : views.container), children, !error && helperText && (/*#__PURE__*/React.createElement(HelperText, Object.assign({
8393
8416
  marginTop: 4
8394
8417
  }, views == null ? void 0 : views.helperText), helperText)), error && (/*#__PURE__*/React.createElement(Text, Object.assign({
@@ -8585,7 +8608,7 @@ var FieldContent = _ref => {
8585
8608
  opacity: isDisabled ? 0.6 : 1,
8586
8609
  // Animation
8587
8610
  transition: "all 0.2s ease"
8588
- }, showLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], views['box'], props), children);
8611
+ }, showLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], InputVariants[variant], views == null ? void 0 : views.container, props), children);
8589
8612
  };
8590
8613
 
8591
8614
  var _excluded$o = ["children"];
@@ -12249,12 +12272,10 @@ var DropDownItem = _ref3 => {
12249
12272
  text: {}
12250
12273
  }
12251
12274
  } = _ref3;
12252
- var [isHovered, setIsHovered] = useState(false);
12253
12275
  var handleOptionClick = event => {
12254
12276
  if (event && event.stopPropagation) event.stopPropagation();
12255
12277
  callback(option);
12256
12278
  };
12257
- var handleHover = () => setIsHovered(!isHovered);
12258
12279
  return /*#__PURE__*/React.createElement(CountryItem, Object.assign({
12259
12280
  margin: 0,
12260
12281
  role: "DropDownItem",
@@ -12262,11 +12283,11 @@ var DropDownItem = _ref3 => {
12262
12283
  fontWeight: "normal",
12263
12284
  paddingVertical: 6,
12264
12285
  paddingHorizontal: 12,
12265
- onMouseEnter: handleHover,
12266
- onMouseLeave: handleHover,
12267
12286
  onClick: handleOptionClick,
12268
12287
  fontSize: Typography.fontSizes[size],
12269
- backgroundColor: isHovered ? 'trueGray.100' : 'transparent'
12288
+ _hover: {
12289
+ opacity: 0.8
12290
+ }
12270
12291
  }, views['text']), option);
12271
12292
  };
12272
12293
  var DropDown$1 = _ref4 => {
@@ -12345,7 +12366,6 @@ var CountryPickerView = _ref5 => {
12345
12366
  var IconColor = getColor('color.blueGray.700', {
12346
12367
  themeMode: elementMode ? elementMode : themeMode
12347
12368
  });
12348
- var handleHover = () => setIsHovered(!isHovered);
12349
12369
  var handleFocus = () => setIsFocused(true);
12350
12370
  var handleCallback = option => {
12351
12371
  setHide(!hide);
@@ -12402,13 +12422,13 @@ var CountryPickerView = _ref5 => {
12402
12422
  variant: variant,
12403
12423
  value: value,
12404
12424
  color: 'theme.primary',
12405
- isHovered: isHovered,
12406
12425
  isDisabled: isDisabled,
12407
12426
  isReadOnly: isReadOnly,
12408
12427
  isFocused: isFocused,
12409
12428
  showLabel: showLabel,
12410
- onMouseEnter: handleHover,
12411
- onMouseLeave: handleHover
12429
+ _hover: !isDisabled && !error ? {
12430
+ borderColor: 'theme.primary'
12431
+ } : undefined
12412
12432
  }, /*#__PURE__*/React.createElement(FieldWrapper, null, showLabel && (/*#__PURE__*/React.createElement(FieldLabel, Object.assign({
12413
12433
  htmlFor: id,
12414
12434
  color: 'theme.primary',
@@ -12683,6 +12703,7 @@ var ComboBoxView = _ref => {
12683
12703
  relation
12684
12704
  } = useElementPosition();
12685
12705
  var dropdownRef = useRef(null);
12706
+ var [isHovered, setIsHovered] = useState(false);
12686
12707
  // Get optimal positioning style based on available space
12687
12708
  var getDropdownStyle = () => {
12688
12709
  if (!relation) {
@@ -12722,13 +12743,13 @@ var ComboBoxView = _ref => {
12722
12743
  var handleClickOutside = event => {
12723
12744
  var path = event.composedPath();
12724
12745
  var isOutside = !path.some(element => (element == null ? void 0 : element.id) === 'combobox-dropdown');
12725
- if (isOutside) {
12746
+ if (isOutside && triggerRef.current && !triggerRef.current.contains(event.target)) {
12726
12747
  setIsDropdownVisible(false);
12727
12748
  }
12728
12749
  };
12729
12750
  document.addEventListener('mousedown', handleClickOutside);
12730
12751
  return () => document.removeEventListener('mousedown', handleClickOutside);
12731
- }, []);
12752
+ }, []); // triggerRef is stable
12732
12753
  // Defines 'handleSearch' to filter items based on the user's query.
12733
12754
  var handleSearch = query => {
12734
12755
  setSearchQuery(query);
@@ -12757,71 +12778,102 @@ var ComboBoxView = _ref => {
12757
12778
  views: views == null ? void 0 : views.label,
12758
12779
  htmlFor: props.id
12759
12780
  }, label)), /*#__PURE__*/React.createElement(View, {
12760
- position: "relative"
12761
- }, /*#__PURE__*/React.createElement(Horizontal, Object.assign({
12781
+ position: "relative",
12782
+ width: "100%"
12783
+ }, /*#__PURE__*/React.createElement("div", {
12762
12784
  ref: triggerRef,
12785
+ onClick: () => setIsDropdownVisible(!isDropdownVisible),
12786
+ style: {
12787
+ width: '100%'
12788
+ }
12789
+ }, /*#__PURE__*/React.createElement(FieldContent, {
12790
+ isHovered: isHovered,
12791
+ isFocused: isDropdownVisible,
12792
+ onMouseEnter: () => setIsHovered(true),
12793
+ onMouseLeave: () => setIsHovered(false),
12763
12794
  cursor: "pointer",
12764
- backgroundColor: "color.white",
12765
- boxShadow: "rgba(0, 0, 0, 0.16) 0px 1px 4px",
12766
- padding: "12px",
12767
- display: "flex",
12768
- alignItems: "center",
12769
- borderRadius: "4px",
12770
- justifyContent: "space-between",
12771
- minWidth: 300,
12772
- flexWrap: "nowrap"
12773
- }, views == null ? void 0 : views.container), /*#__PURE__*/React.createElement(Horizontal, Object.assign({
12774
- gap: 15,
12795
+ views: {
12796
+ container: views == null ? void 0 : views.container
12797
+ }
12798
+ }, /*#__PURE__*/React.createElement(Horizontal, Object.assign({
12799
+ gap: 10,
12775
12800
  alignItems: "center",
12776
- position: "relative",
12777
- width: "100%",
12778
- onClick: () => setIsDropdownVisible(!isDropdownVisible)
12779
- }, views == null ? void 0 : views.labelContainer), left, /*#__PURE__*/React.createElement(Text, Object.assign({
12801
+ width: "100%"
12802
+ }, views == null ? void 0 : views.labelContainer), left, selectedItem.icon && selectedItem.label !== placeholder && (/*#__PURE__*/React.createElement(View, null, selectedItem.icon)), /*#__PURE__*/React.createElement(Text, Object.assign({
12780
12803
  weight: "medium",
12781
12804
  flexGrow: 1,
12782
- color: "color.gray.800"
12783
- }, views == null ? void 0 : views.label), selectedItem.label)), right), isDropdownVisible && (/*#__PURE__*/React.createElement(View, Object.assign({
12805
+ color: selectedItem.label === placeholder ? 'color.gray.500' : 'color.gray.800',
12806
+ style: {
12807
+ whiteSpace: 'nowrap',
12808
+ overflow: 'hidden',
12809
+ textOverflow: 'ellipsis'
12810
+ }
12811
+ }, views == null ? void 0 : views.label), selectedItem.label)), /*#__PURE__*/React.createElement(Horizontal, {
12812
+ gap: 5,
12813
+ alignItems: "center"
12814
+ }, right, /*#__PURE__*/React.createElement(ChevronIcon, {
12815
+ widthHeight: 16,
12816
+ orientation: isDropdownVisible ? 'up' : 'down',
12817
+ color: "color.gray.500"
12818
+ })))), isDropdownVisible && (/*#__PURE__*/React.createElement(View, Object.assign({
12784
12819
  ref: dropdownRef,
12785
12820
  id: "combobox-dropdown",
12786
12821
  backgroundColor: "color.white",
12787
- boxShadow: "rgba(0, 0, 0, 0.16) 0px 1px 4px",
12822
+ boxShadow: "rgba(0, 0, 0, 0.16) 0px 4px 16px",
12788
12823
  overflowY: "auto",
12789
- borderRadius: "4px",
12824
+ borderRadius: "8px",
12790
12825
  style: getDropdownStyle()
12791
- }, views == null ? void 0 : views.dropdown), searchEnabled && (/*#__PURE__*/React.createElement(TextFieldView, {
12792
- id: props.id,
12793
- name: props.name,
12826
+ }, views == null ? void 0 : views.dropdown, {
12827
+ border: "1px solid #eee"
12828
+ }), searchEnabled && (/*#__PURE__*/React.createElement(View, {
12829
+ padding: "8px"
12830
+ }, /*#__PURE__*/React.createElement(TextFieldView, {
12831
+ id: props.id + "-search",
12832
+ name: props.name + "-search",
12794
12833
  width: "100%",
12795
12834
  type: "search",
12835
+ autoFocus: true,
12796
12836
  value: searchQuery,
12797
12837
  onChange: value => handleSearch(value),
12798
- hint: placeholder,
12838
+ hint: placeholder || 'Search...',
12799
12839
  isClearable: false,
12800
12840
  left: /*#__PURE__*/React.createElement(SearchIcon, {
12801
- widthHeight: 16
12841
+ widthHeight: 16,
12842
+ color: "color.gray.400"
12802
12843
  }),
12803
12844
  views: {
12804
12845
  container: Object.assign({
12805
12846
  width: '100%',
12806
- padding: '6px 12px',
12807
- borderBottom: filteredItems.length > 0 ? '1px solid #ccc' : '1px solid transparent'
12808
- }, views == null ? void 0 : views.text)
12847
+ padding: '0'
12848
+ }, views == null ? void 0 : views.text),
12849
+ field: {
12850
+ fontSize: '14px'
12851
+ }
12809
12852
  }
12810
- })), filteredItems.length > 0 && (/*#__PURE__*/React.createElement(View, {
12853
+ }))), filteredItems.length > 0 && (/*#__PURE__*/React.createElement(View, {
12811
12854
  margin: 0,
12812
12855
  padding: 4
12813
12856
  }, filteredItems.map((item, index) => (/*#__PURE__*/React.createElement(Horizontal, Object.assign({
12814
12857
  justifyContent: "space-between",
12815
12858
  key: item.value,
12816
- padding: "12px",
12859
+ padding: "8px 12px",
12817
12860
  cursor: "pointer",
12818
12861
  borderRadius: 4,
12819
12862
  backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
12820
12863
  onMouseEnter: () => setHighlightedIndex(index),
12821
- onClick: () => handleSelect(item)
12822
- }, views == null ? void 0 : views.item), /*#__PURE__*/React.createElement(Text, null, item.label), /*#__PURE__*/React.createElement(React.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && /*#__PURE__*/React.createElement(TickIcon, {
12823
- widthHeight: 20
12824
- })))))))))));
12864
+ onClick: () => handleSelect(item),
12865
+ transition: "background-color 0.2s"
12866
+ }, views == null ? void 0 : views.item), /*#__PURE__*/React.createElement(Text, {
12867
+ color: "color.gray.800"
12868
+ }, item.label), /*#__PURE__*/React.createElement(React.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && (/*#__PURE__*/React.createElement(TickIcon, {
12869
+ widthHeight: 16,
12870
+ color: "theme.primary"
12871
+ })))))))), filteredItems.length === 0 && (/*#__PURE__*/React.createElement(View, {
12872
+ padding: "12px"
12873
+ }, /*#__PURE__*/React.createElement(Text, {
12874
+ color: "color.gray.500",
12875
+ align: "center"
12876
+ }, "No items found")))))));
12825
12877
  };
12826
12878
 
12827
12879
  var _excluded$C = ["id", "name", "items", "placeholder", "searchPlaceholder"];
@@ -13063,53 +13115,56 @@ var TagChip = _ref => {
13063
13115
  isDisabled,
13064
13116
  isReadOnly
13065
13117
  } = _ref;
13118
+ var [isRemoveHovered, setIsRemoveHovered] = React.useState(false);
13066
13119
  var {
13067
13120
  getColor
13068
13121
  } = useTheme();
13069
13122
  var chipSize = {
13070
13123
  xs: {
13071
- padding: '2px 6px',
13124
+ padding: '2px 8px',
13072
13125
  fontSize: '10px',
13073
13126
  iconSize: 10
13074
13127
  },
13075
13128
  sm: {
13076
- padding: '4px 8px',
13129
+ padding: '4px 10px',
13077
13130
  fontSize: '12px',
13078
13131
  iconSize: 12
13079
13132
  },
13080
13133
  md: {
13081
- padding: '6px 10px',
13134
+ padding: '6px 14px',
13082
13135
  fontSize: '14px',
13083
13136
  iconSize: 14
13084
13137
  },
13085
13138
  lg: {
13086
- padding: '8px 12px',
13139
+ padding: '8px 16px',
13087
13140
  fontSize: '16px',
13088
13141
  iconSize: 16
13089
13142
  },
13090
13143
  xl: {
13091
- padding: '10px 14px',
13144
+ padding: '10px 18px',
13092
13145
  fontSize: '18px',
13093
13146
  iconSize: 18
13094
13147
  }
13095
13148
  }[size] || {
13096
- padding: '6px 10px',
13149
+ padding: '6px 14px',
13097
13150
  fontSize: '14px',
13098
13151
  iconSize: 14
13099
13152
  };
13100
13153
  return /*#__PURE__*/React.createElement(Horizontal, Object.assign({
13101
13154
  alignItems: "center",
13102
- gap: 4,
13155
+ gap: 6,
13103
13156
  padding: chipSize.padding,
13104
- backgroundColor: "color.gray.100",
13157
+ backgroundColor: "white",
13105
13158
  borderRadius: "16px",
13106
13159
  border: "1px solid",
13107
- borderColor: "color.gray.200",
13108
- transition: "all 0.2s ease",
13160
+ borderColor: "color.black.100",
13161
+ boxShadow: "0 1px 2px rgba(0,0,0,0.05)",
13162
+ transition: "all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
13109
13163
  opacity: isDisabled ? 0.6 : 1,
13110
13164
  _hover: !isDisabled && !isReadOnly ? {
13111
- backgroundColor: 'color.gray.200',
13112
- borderColor: 'color.gray.300'
13165
+ borderColor: 'color.gray.300',
13166
+ boxShadow: '0 4px 6px rgba(0,0,0,0.05)',
13167
+ transform: 'translateY(-1px)'
13113
13168
  } : {}
13114
13169
  }, views == null ? void 0 : views.tag), /*#__PURE__*/React.createElement(Text, Object.assign({
13115
13170
  fontSize: chipSize.fontSize,
@@ -13121,13 +13176,19 @@ var TagChip = _ref => {
13121
13176
  padding: "2px",
13122
13177
  borderRadius: "50%",
13123
13178
  transition: "all 0.2s ease",
13124
- _hover: {
13125
- backgroundColor: 'color.gray.300'
13179
+ backgroundColor: isRemoveHovered ? 'color.red.50' : 'transparent',
13180
+ onMouseEnter: () => setIsRemoveHovered(true),
13181
+ onMouseLeave: () => setIsRemoveHovered(false),
13182
+ onClick: e => {
13183
+ e.stopPropagation();
13184
+ onRemove();
13126
13185
  },
13127
- onClick: onRemove
13186
+ _hover: {
13187
+ backgroundColor: 'color.red.50'
13188
+ }
13128
13189
  }, views == null ? void 0 : views.tagRemove), /*#__PURE__*/React.createElement(CloseIcon, {
13129
13190
  widthHeight: chipSize.iconSize,
13130
- color: "color.gray.500"
13191
+ color: isRemoveHovered ? 'color.red.500' : 'color.gray.400'
13131
13192
  }))));
13132
13193
  };
13133
13194
  /**
@@ -13213,7 +13274,7 @@ var TagInputView = _ref2 => {
13213
13274
  views: views
13214
13275
  }, label)), /*#__PURE__*/React.createElement(Horizontal, Object.assign({
13215
13276
  alignItems: "center",
13216
- gap: 4,
13277
+ gap: 8,
13217
13278
  flexWrap: "wrap",
13218
13279
  width: "100%",
13219
13280
  minHeight: Typography.fontSizes[size],
@@ -16807,6 +16868,166 @@ var FormikUploader = _ref => {
16807
16868
  };
16808
16869
  FormikUploader.displayName = 'FormikUploader';
16809
16870
 
16871
+ // Initializes the custom hook 'useSelectorState' for managing the state of the Selector component
16872
+ var useSelectorState = _ref => {
16873
+ var {
16874
+ placeholder,
16875
+ isMulti,
16876
+ options,
16877
+ id = "selector-" + Math.random().toString(36).substr(2, 9)
16878
+ } = _ref;
16879
+ // 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
16880
+ var defaultValue = placeholder ? isMulti ? [] : '' // If there's a placeholder, set default to empty array for multi-select or empty string for single select
16881
+ : 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
16882
+ // State hook for tracking mouse hover status over the Selector component
16883
+ var [isHovered, setIsHovered] = React.useState(false);
16884
+ // State hook for tracking focus status of the Selector input field
16885
+ var [isFocused, setIsFocused] = React.useState(false);
16886
+ // State hook for managing the value(s) selected by the user, initialized with the default value
16887
+ var [value, setValue] = React.useState(defaultValue);
16888
+ // State hook for keeping track of the currently highlighted index in the options list
16889
+ var [highlightedIndex, setHighlightedIndex] = React.useState(0);
16890
+ // State hook for managing visibility of the Selector dropdown, initially set to hidden
16891
+ var [hide, setHide] = React.useState(true);
16892
+ // Returns an object containing all stateful values and their associated setters to manage the Selector component's state
16893
+ return {
16894
+ id,
16895
+ value,
16896
+ setValue,
16897
+ hide,
16898
+ setHide,
16899
+ isHovered,
16900
+ setIsHovered,
16901
+ isFocused,
16902
+ setIsFocused,
16903
+ highlightedIndex,
16904
+ setHighlightedIndex
16905
+ };
16906
+ };
16907
+
16908
+ var _excluded$T = ["id", "name", "label", "value", "views", "options", "onChange", "setValue"];
16909
+ /**
16910
+ * SelectorView Component
16911
+ *
16912
+ * Renders a segmented control style selector.
16913
+ */
16914
+ var SelectorView = _ref => {
16915
+ var {
16916
+ id,
16917
+ name,
16918
+ label,
16919
+ value,
16920
+ views = {},
16921
+ options = [],
16922
+ onChange = () => {},
16923
+ setValue = () => {}
16924
+ } = _ref,
16925
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$T);
16926
+ var {
16927
+ getColor
16928
+ } = useTheme();
16929
+ var handleCallback = useCallback(option => {
16930
+ setValue(option.value);
16931
+ if (onChange) onChange(option.value);
16932
+ }, [setValue, onChange]);
16933
+ return /*#__PURE__*/React.createElement(FieldContainer, {
16934
+ id: id,
16935
+ width: "100%",
16936
+ views: views
16937
+ }, label && (/*#__PURE__*/React.createElement(Horizontal, {
16938
+ fontSize: "10px",
16939
+ letterSpacing: "wider",
16940
+ color: "color.black.500",
16941
+ fontWeight: "bold",
16942
+ marginBottom: 12,
16943
+ alignItems: "center",
16944
+ gap: 6,
16945
+ //Text transform uppercase
16946
+ style: {
16947
+ textTransform: 'uppercase'
16948
+ }
16949
+ }, /*#__PURE__*/React.createElement(InfoIcon, {
16950
+ widthHeight: 14
16951
+ }), " ", /*#__PURE__*/React.createElement(Text, null, label))), /*#__PURE__*/React.createElement(Horizontal, {
16952
+ gap: 0
16953
+ }, options.map((option, index, arr) => {
16954
+ var isSelected = value === option.value;
16955
+ var borderColor = getColor('color.gray.200');
16956
+ var textColor = getColor('color.gray.500');
16957
+ var bgColor = 'transparent';
16958
+ if (isSelected) {
16959
+ if (option.color) {
16960
+ // We need a way to get related colors (50, 500, 700 etc) from a base color if we want full fidelity.
16961
+ // But passing full style strings is easier.
16962
+ borderColor = getColor(option.color);
16963
+ textColor = getColor(option.color);
16964
+ // Try to approximate background color if possible, or just use white/transparent.
16965
+ // Simplification: if color provided, use it for border/text.
16966
+ // Background is hard to derive without more specific props.
16967
+ // Let's try to use a very light opacity of the color for background.
16968
+ bgColor = 'rgba(0,0,0,0.05)'; // Generic active background
16969
+ } else {
16970
+ // Default active style
16971
+ var primary = getColor('theme.primary');
16972
+ borderColor = primary;
16973
+ textColor = primary;
16974
+ bgColor = 'color.gray.50';
16975
+ }
16976
+ // Specific overrides based on user request "ComplexitySelector" style
16977
+ // If the values match 'High', 'Medium', 'Low' we can hardcode for *demo* fidelity if generic logic fails.
16978
+ // But let's try to make it generic.
16979
+ // The user simply pasted code.
16980
+ if (option.color) {
16981
+ // Fallback for customized options
16982
+ borderColor = getColor(option.color);
16983
+ textColor = getColor(option.color);
16984
+ bgColor = 'transparent';
16985
+ } else {
16986
+ // Default fallback
16987
+ borderColor = getColor('theme.primary');
16988
+ textColor = getColor('theme.primary');
16989
+ bgColor = getColor('color.blue.50');
16990
+ }
16991
+ }
16992
+ return /*#__PURE__*/React.createElement(Button, Object.assign({
16993
+ key: option.value,
16994
+ onClick: () => handleCallback(option),
16995
+ flex: 1,
16996
+ paddingVertical: 6,
16997
+ fontSize: "12px",
16998
+ fontWeight: isSelected ? 'bold' : 'normal',
16999
+ style: {
17000
+ borderTop: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
17001
+ borderBottom: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
17002
+ borderLeft: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
17003
+ borderRight: index === arr.length - 1 || isSelected ? "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')) : 'none',
17004
+ backgroundColor: bgColor,
17005
+ color: textColor,
17006
+ borderRadius: index === 0 ? '6px 0 0 6px' : index === arr.length - 1 ? '0 6px 6px 0' : '0',
17007
+ zIndex: isSelected ? 1 : 0,
17008
+ boxShadow: 'none'
17009
+ }
17010
+ }, views.item), option.label);
17011
+ })), /*#__PURE__*/React.createElement("input", {
17012
+ type: "hidden",
17013
+ id: id,
17014
+ name: name,
17015
+ value: Array.isArray(value) ? value.join(',') : value,
17016
+ onChange: () => {}
17017
+ }));
17018
+ };
17019
+
17020
+ var SelectorComponent = props => {
17021
+ var formProps = useFormikInput(props);
17022
+ formProps.selected = formProps.value;
17023
+ var selectorStates = useSelectorState(props);
17024
+ return /*#__PURE__*/React.createElement(SelectorView, Object.assign({}, selectorStates, formProps));
17025
+ };
17026
+ /**
17027
+ * Selector provides a dropdown list of options for the user to choose from.
17028
+ */
17029
+ var FormikSelector = SelectorComponent;
17030
+
16810
17031
  var AttachmentPreview = _ref => {
16811
17032
  var {
16812
17033
  files,
@@ -17153,7 +17374,7 @@ var ModalTypography = {
17153
17374
  }
17154
17375
  };
17155
17376
 
17156
- var _excluded$T = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
17377
+ var _excluded$U = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
17157
17378
  _excluded2$e = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
17158
17379
  _excluded3$9 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
17159
17380
  _excluded4$8 = ["children", "views"],
@@ -17168,7 +17389,7 @@ var ModalOverlay = _ref => {
17168
17389
  position = 'center',
17169
17390
  views
17170
17391
  } = _ref,
17171
- props = _objectWithoutPropertiesLoose(_ref, _excluded$T);
17392
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
17172
17393
  var handleClick = () => {
17173
17394
  if (!isClosePrevented) onClose();
17174
17395
  };
@@ -17416,7 +17637,7 @@ var DrawerPlacements = {
17416
17637
  }
17417
17638
  };
17418
17639
 
17419
- var _excluded$U = ["isOpen", "onClose", "isClosePrevented", "blur", "children"],
17640
+ var _excluded$V = ["isOpen", "onClose", "isClosePrevented", "blur", "children"],
17420
17641
  _excluded2$f = ["placement", "size", "children"],
17421
17642
  _excluded3$a = ["children", "onClose", "buttonPosition"],
17422
17643
  _excluded4$9 = ["children"],
@@ -17429,7 +17650,7 @@ var DrawerOverlay = _ref => {
17429
17650
  blur,
17430
17651
  children
17431
17652
  } = _ref,
17432
- props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
17653
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$V);
17433
17654
  var handleClick = () => {
17434
17655
  if (!isClosePrevented) onClose();
17435
17656
  };
@@ -17541,7 +17762,7 @@ var DrawerFooter = _ref5 => {
17541
17762
  }, props), children);
17542
17763
  };
17543
17764
 
17544
- var _excluded$V = ["isOpen", "onClose", "placement", "size", "isClosePrevented", "children"];
17765
+ var _excluded$W = ["isOpen", "onClose", "placement", "size", "isClosePrevented", "children"];
17545
17766
  /**
17546
17767
  * A drawer is a panel that slides out from the edge of the screen.
17547
17768
  * It can be useful when you need users to complete a task or view some details without leaving the current page.
@@ -17555,7 +17776,7 @@ var DrawerComponent = _ref => {
17555
17776
  isClosePrevented,
17556
17777
  children
17557
17778
  } = _ref,
17558
- props = _objectWithoutPropertiesLoose(_ref, _excluded$V);
17779
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$W);
17559
17780
  var transformStyle = isOpen ? {} : {
17560
17781
  transform: placement === 'left' || placement === 'right' ? "translateX(" + (placement === 'left' ? '-100%' : '100%') + ")" : "translateY(" + (placement === 'top' ? '-100%' : '100%') + ")"
17561
17782
  };
@@ -17725,7 +17946,7 @@ var NavigationMenuItemStates = {
17725
17946
  }
17726
17947
  };
17727
17948
 
17728
- var _excluded$W = ["href", "children", "views"];
17949
+ var _excluded$X = ["href", "children", "views"];
17729
17950
  // Create context for the NavigationMenu
17730
17951
  var NavigationMenuContext = /*#__PURE__*/createContext({
17731
17952
  activeItemId: null,
@@ -18101,7 +18322,7 @@ var NavigationMenuLink = _ref6 => {
18101
18322
  children,
18102
18323
  views
18103
18324
  } = _ref6,
18104
- props = _objectWithoutPropertiesLoose(_ref6, _excluded$W);
18325
+ props = _objectWithoutPropertiesLoose(_ref6, _excluded$X);
18105
18326
  var {
18106
18327
  itemValue,
18107
18328
  isDisabled
@@ -18168,7 +18389,7 @@ var NavigationMenuView = _ref7 => {
18168
18389
  })))));
18169
18390
  };
18170
18391
 
18171
- var _excluded$X = ["items", "children", "orientation", "size", "variant", "defaultActiveItemId", "defaultExpandedItemIds", "onItemActivate", "views"];
18392
+ var _excluded$Y = ["items", "children", "orientation", "size", "variant", "defaultActiveItemId", "defaultExpandedItemIds", "onItemActivate", "views"];
18172
18393
  /**
18173
18394
  * NavigationMenu component for creating navigation menus with optional nested items.
18174
18395
  * Supports both data-driven approach (with items prop) and compound component pattern.
@@ -18185,7 +18406,7 @@ var NavigationMenuComponent = _ref => {
18185
18406
  onItemActivate,
18186
18407
  views
18187
18408
  } = _ref,
18188
- props = _objectWithoutPropertiesLoose(_ref, _excluded$X);
18409
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$Y);
18189
18410
  var {
18190
18411
  activeItemId,
18191
18412
  setActiveItemId,
@@ -18998,7 +19219,7 @@ var HighlightStyles = {
18998
19219
  })
18999
19220
  };
19000
19221
 
19001
- var _excluded$Y = ["text", "typingSpeed", "pauseTime", "onComplete", "showCursor", "cursorColor", "textStyle", "as"];
19222
+ var _excluded$Z = ["text", "typingSpeed", "pauseTime", "onComplete", "showCursor", "cursorColor", "textStyle", "as"];
19002
19223
  /**
19003
19224
  * A component that creates a typewriter effect for text
19004
19225
  */
@@ -19012,7 +19233,7 @@ var TypewriterEffect = _ref => {
19012
19233
  cursorColor = 'currentColor',
19013
19234
  textStyle
19014
19235
  } = _ref,
19015
- props = _objectWithoutPropertiesLoose(_ref, _excluded$Y);
19236
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$Z);
19016
19237
  // Convert text to array if it's a string
19017
19238
  var textArray = Array.isArray(text) ? text : [text];
19018
19239
  // State for the currently displayed text
@@ -19079,7 +19300,7 @@ var TypewriterEffect = _ref => {
19079
19300
  }))))));
19080
19301
  };
19081
19302
 
19082
- var _excluded$Z = ["text", "duration", "direction", "stagger", "sequential", "textStyle", "as", "wordProps"],
19303
+ var _excluded$_ = ["text", "duration", "direction", "stagger", "sequential", "textStyle", "as", "wordProps"],
19083
19304
  _excluded2$g = ["style"];
19084
19305
  // CSS keyframes injection - done once
19085
19306
  var KEYFRAMES_ID = 'slide-effect-keyframes';
@@ -19101,7 +19322,7 @@ var SlideEffect = _ref => {
19101
19322
  textStyle,
19102
19323
  wordProps
19103
19324
  } = _ref,
19104
- props = _objectWithoutPropertiesLoose(_ref, _excluded$Z);
19325
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
19105
19326
  var [displayedText, setDisplayedText] = useState(text);
19106
19327
  var [phase, setPhase] = useState('entering');
19107
19328
  var [animKey, setAnimKey] = useState(0);
@@ -19231,7 +19452,7 @@ var SlideEffect = _ref => {
19231
19452
  })));
19232
19453
  };
19233
19454
 
19234
- var _excluded$_ = ["children", "highlightText", "highlightStyle", "highlightColor", "highlightSecondaryColor", "size", "responsive", "centered", "views", "highlightAnimate", "animate", "animationLoop", "highlightAnimationLoop", "highlightTypewriter", "highlightTypewriterDuration", "highlightSlide", "highlightSlideDuration", "highlightSlideStagger", "highlightSlideSequential"];
19455
+ var _excluded$$ = ["children", "highlightText", "highlightStyle", "highlightColor", "highlightSecondaryColor", "size", "responsive", "centered", "views", "highlightAnimate", "animate", "animationLoop", "highlightAnimationLoop", "highlightTypewriter", "highlightTypewriterDuration", "highlightSlide", "highlightSlideDuration", "highlightSlideStagger", "highlightSlideSequential"];
19235
19456
  function escapeRegExp(string) {
19236
19457
  return string.replace(/[.*+?^${}()|[\\]\\/g, '\\$&');
19237
19458
  }
@@ -19257,7 +19478,7 @@ var TitleView = _ref => {
19257
19478
  highlightSlideStagger = 50,
19258
19479
  highlightSlideSequential = true
19259
19480
  } = _ref,
19260
- props = _objectWithoutPropertiesLoose(_ref, _excluded$_);
19481
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$$);
19261
19482
  var {
19262
19483
  ref,
19263
19484
  inView
@@ -19556,7 +19777,7 @@ var getToggleVariants = (color, isLight) => ({
19556
19777
  }
19557
19778
  });
19558
19779
 
19559
- var _excluded$$ = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views", "backgroundColor", "color", "themeMode"];
19780
+ var _excluded$10 = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views", "backgroundColor", "color", "themeMode"];
19560
19781
  var ToggleView = _ref => {
19561
19782
  var _ref2;
19562
19783
  var {
@@ -19576,7 +19797,7 @@ var ToggleView = _ref => {
19576
19797
  // 2nd candidate for main color
19577
19798
  themeMode: elementMode
19578
19799
  } = _ref,
19579
- props = _objectWithoutPropertiesLoose(_ref, _excluded$$);
19800
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
19580
19801
  /* theme helpers */
19581
19802
  var {
19582
19803
  getColor,
@@ -19620,7 +19841,7 @@ var ToggleView = _ref => {
19620
19841
  }, props, views == null ? void 0 : views.container), children);
19621
19842
  };
19622
19843
 
19623
- var _excluded$10 = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
19844
+ var _excluded$11 = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
19624
19845
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
19625
19846
  var ToggleComponent = _ref => {
19626
19847
  var {
@@ -19632,7 +19853,7 @@ var ToggleComponent = _ref => {
19632
19853
  isToggled = false,
19633
19854
  onToggle
19634
19855
  } = _ref,
19635
- props = _objectWithoutPropertiesLoose(_ref, _excluded$10);
19856
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$11);
19636
19857
  // Initializing toggle state and set state functions using the custom hook useToggleState.
19637
19858
  var {
19638
19859
  isHovered,
@@ -19852,8 +20073,7 @@ var DragAndDropView = _ref => {
19852
20073
  onTouchStart: e => handleDragStart(e, index),
19853
20074
  position: "relative",
19854
20075
  cursor: "grab",
19855
- transition: "transform 0.2s",
19856
- backgroundColor: draggedIndex === index ? 'color.gray.100' : 'transparent'
20076
+ transition: "transform 0.2s"
19857
20077
  }, itemProps, views == null ? void 0 : views.item), renderItem ? renderItem(item, index) : item))));
19858
20078
  };
19859
20079
 
@@ -19967,7 +20187,7 @@ var DropdownMenuItemStates = {
19967
20187
  }
19968
20188
  };
19969
20189
 
19970
- var _excluded$11 = ["children", "views"],
20190
+ var _excluded$12 = ["children", "views"],
19971
20191
  _excluded2$h = ["items", "side", "align", "views"],
19972
20192
  _excluded3$b = ["item", "views"],
19973
20193
  _excluded4$a = ["views"],
@@ -20008,7 +20228,7 @@ var DropdownMenuTrigger = _ref2 => {
20008
20228
  children,
20009
20229
  views
20010
20230
  } = _ref2,
20011
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$11);
20231
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$12);
20012
20232
  var {
20013
20233
  isOpen,
20014
20234
  setIsOpen,
@@ -20261,7 +20481,7 @@ var DropdownMenuView = _ref6 => {
20261
20481
  }));
20262
20482
  };
20263
20483
 
20264
- var _excluded$12 = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
20484
+ var _excluded$13 = ["trigger", "items", "size", "variant", "side", "align", "defaultOpen", "views"];
20265
20485
  /**
20266
20486
  * DropdownMenu component for displaying a menu when clicking on a trigger element.
20267
20487
  */
@@ -20276,7 +20496,7 @@ var DropdownMenuComponent = _ref => {
20276
20496
  defaultOpen = false,
20277
20497
  views
20278
20498
  } = _ref,
20279
- props = _objectWithoutPropertiesLoose(_ref, _excluded$12);
20499
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$13);
20280
20500
  var {
20281
20501
  isOpen,
20282
20502
  setIsOpen,
@@ -20690,7 +20910,7 @@ var DefaultColorPalette$1 = [
20690
20910
  category: 'neutral'
20691
20911
  }];
20692
20912
 
20693
- 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"];
20913
+ 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"];
20694
20914
  var ColorPickerView = _ref => {
20695
20915
  var {
20696
20916
  // Basic props
@@ -20725,7 +20945,7 @@ var ColorPickerView = _ref => {
20725
20945
  dropdownRef
20726
20946
  // Other props
20727
20947
  } = _ref,
20728
- props = _objectWithoutPropertiesLoose(_ref, _excluded$13);
20948
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$14);
20729
20949
  var {
20730
20950
  getColor
20731
20951
  } = useTheme();
@@ -20928,7 +21148,8 @@ var DefaultEmojiPickerStyles = {
20928
21148
  gap: '4px',
20929
21149
  maxHeight: '240px',
20930
21150
  overflowY: 'auto',
20931
- padding: '4px'
21151
+ padding: '4px',
21152
+ color: 'color.black'
20932
21153
  },
20933
21154
  emoji: {
20934
21155
  width: '32px',
@@ -23056,7 +23277,7 @@ var useEmojiPickerState = props => {
23056
23277
  };
23057
23278
  };
23058
23279
 
23059
- 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"];
23280
+ 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"];
23060
23281
  var EmojiPickerView = _ref => {
23061
23282
  var {
23062
23283
  // Basic props
@@ -23094,7 +23315,7 @@ var EmojiPickerView = _ref => {
23094
23315
  dropdownRef
23095
23316
  // Other props
23096
23317
  } = _ref,
23097
- props = _objectWithoutPropertiesLoose(_ref, _excluded$14);
23318
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$15);
23098
23319
  var {
23099
23320
  getColor
23100
23321
  } = useTheme();
@@ -23156,7 +23377,8 @@ var EmojiPickerView = _ref => {
23156
23377
  title: emoji.name,
23157
23378
  _hover: {
23158
23379
  backgroundColor: 'color.gray.100'
23159
- }
23380
+ },
23381
+ color: "color.gray.800"
23160
23382
  }, views == null ? void 0 : views.emoji), emoji.emoji))) : (/*#__PURE__*/React.createElement(View, {
23161
23383
  gridColumn: "1 / -1",
23162
23384
  padding: "20px",
@@ -23281,7 +23503,7 @@ var MenubarItemStates = {
23281
23503
  }
23282
23504
  };
23283
23505
 
23284
- var _excluded$15 = ["children", "orientation", "size", "variant", "views"];
23506
+ var _excluded$16 = ["children", "orientation", "size", "variant", "views"];
23285
23507
  // Create context for the Menubar
23286
23508
  var MenubarContext = /*#__PURE__*/createContext({
23287
23509
  activeMenuId: null,
@@ -23318,7 +23540,7 @@ var MenubarRoot = _ref2 => {
23318
23540
  variant = 'default',
23319
23541
  views
23320
23542
  } = _ref2,
23321
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$15);
23543
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$16);
23322
23544
  var Container = orientation === 'horizontal' ? Horizontal : Vertical;
23323
23545
  return /*#__PURE__*/React.createElement(Container, Object.assign({
23324
23546
  role: "menubar",
@@ -23638,7 +23860,7 @@ var MenubarView = _ref8 => {
23638
23860
  })))))));
23639
23861
  };
23640
23862
 
23641
- var _excluded$16 = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
23863
+ var _excluded$17 = ["items", "orientation", "size", "variant", "defaultActiveMenuId", "defaultOpenMenuId", "views"];
23642
23864
  /**
23643
23865
  * Menubar component for creating horizontal or vertical menu bars with dropdown menus.
23644
23866
  */
@@ -23652,7 +23874,7 @@ var MenubarComponent = _ref => {
23652
23874
  defaultOpenMenuId = null,
23653
23875
  views
23654
23876
  } = _ref,
23655
- props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
23877
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
23656
23878
  var {
23657
23879
  activeMenuId,
23658
23880
  setActiveMenuId,
@@ -23834,7 +24056,7 @@ var DisabledButtonStyles = {
23834
24056
  }
23835
24057
  };
23836
24058
 
23837
- var _excluded$17 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
24059
+ var _excluded$18 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "visiblePageNumbers", "views"];
23838
24060
  var PaginationView = _ref => {
23839
24061
  var {
23840
24062
  currentPage,
@@ -23865,7 +24087,7 @@ var PaginationView = _ref => {
23865
24087
  visiblePageNumbers,
23866
24088
  views
23867
24089
  } = _ref,
23868
- props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
24090
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
23869
24091
  var handlePageChange = page => {
23870
24092
  if (page < 1 || page > totalPages || page === currentPage) {
23871
24093
  return;
@@ -23984,7 +24206,7 @@ var PaginationView = _ref => {
23984
24206
  }, option.label))))));
23985
24207
  };
23986
24208
 
23987
- var _excluded$18 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
24209
+ var _excluded$19 = ["currentPage", "totalPages", "onPageChange", "pageSize", "pageSizeOptions", "onPageSizeChange", "showPageSizeSelector", "showPageInfo", "maxPageButtons", "showFirstLastButtons", "size", "variant", "shape", "views"];
23988
24210
  /**
23989
24211
  * Pagination component for navigating through pages of content.
23990
24212
  */
@@ -24005,7 +24227,7 @@ var PaginationComponent = _ref => {
24005
24227
  shape = 'rounded',
24006
24228
  views
24007
24229
  } = _ref,
24008
- props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
24230
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$19);
24009
24231
  var {
24010
24232
  visiblePageNumbers
24011
24233
  } = usePaginationState(currentPage, totalPages, maxPageButtons);
@@ -24029,7 +24251,7 @@ var PaginationComponent = _ref => {
24029
24251
  };
24030
24252
  var Pagination = PaginationComponent;
24031
24253
 
24032
- var _excluded$19 = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
24254
+ var _excluded$1a = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
24033
24255
  var ProgressBarView = _ref => {
24034
24256
  var {
24035
24257
  value = 0,
@@ -24041,7 +24263,7 @@ var ProgressBarView = _ref => {
24041
24263
  views,
24042
24264
  themeMode: elementMode
24043
24265
  } = _ref,
24044
- props = _objectWithoutPropertiesLoose(_ref, _excluded$19);
24266
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
24045
24267
  var {
24046
24268
  getColor,
24047
24269
  themeMode
@@ -24131,7 +24353,7 @@ var DefaultSeparatorStyles = {
24131
24353
  }
24132
24354
  };
24133
24355
 
24134
- var _excluded$1a = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
24356
+ var _excluded$1b = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
24135
24357
  var SeparatorView = _ref => {
24136
24358
  var {
24137
24359
  orientation = 'horizontal',
@@ -24143,7 +24365,7 @@ var SeparatorView = _ref => {
24143
24365
  decorative = false,
24144
24366
  views
24145
24367
  } = _ref,
24146
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
24368
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1b);
24147
24369
  // Access theme if needed for future enhancements
24148
24370
  var {
24149
24371
  themeMode
@@ -24211,7 +24433,7 @@ var SeparatorComponent = props => {
24211
24433
  var Separator = SeparatorComponent;
24212
24434
  var Divider = SeparatorComponent;
24213
24435
 
24214
- var _excluded$1b = ["isSupported", "isSharing", "onShare", "label", "children", "icon", "size", "isDisabled", "isLoading", "iconPosition", "disableWhenUnsupported"];
24436
+ var _excluded$1c = ["isSupported", "isSharing", "onShare", "label", "children", "icon", "size", "isDisabled", "isLoading", "iconPosition", "disableWhenUnsupported"];
24215
24437
  var ICON_SIZE_MAP = {
24216
24438
  xs: 12,
24217
24439
  sm: 14,
@@ -24234,7 +24456,7 @@ var ShareButtonView = _ref => {
24234
24456
  iconPosition,
24235
24457
  disableWhenUnsupported = true
24236
24458
  } = _ref,
24237
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$1b);
24459
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
24238
24460
  var resolvedSize = size != null ? size : 'md';
24239
24461
  var resolvedIcon = icon != null ? icon : (/*#__PURE__*/React.createElement(ShareIcon, {
24240
24462
  widthHeight: ICON_SIZE_MAP[resolvedSize],
@@ -24336,14 +24558,14 @@ var useShareButton = props => {
24336
24558
  };
24337
24559
  };
24338
24560
 
24339
- var _excluded$1c = ["shareData", "onShareStart", "onShareSuccess", "onShareCancel", "onShareError", "onUnsupported", "onClick"];
24561
+ var _excluded$1d = ["shareData", "onShareStart", "onShareSuccess", "onShareCancel", "onShareError", "onUnsupported", "onClick"];
24340
24562
  var ShareButtonComponent = props => {
24341
24563
  var {
24342
24564
  isSupported,
24343
24565
  isSharing,
24344
24566
  handleShare
24345
24567
  } = useShareButton(props);
24346
- var viewProps = _objectWithoutPropertiesLoose(props, _excluded$1c);
24568
+ var viewProps = _objectWithoutPropertiesLoose(props, _excluded$1d);
24347
24569
  return /*#__PURE__*/React.createElement(ShareButtonView, Object.assign({}, viewProps, {
24348
24570
  isSupported: isSupported,
24349
24571
  isSharing: isSharing,
@@ -24397,7 +24619,7 @@ var getThemes$2 = themeMode => {
24397
24619
  };
24398
24620
  };
24399
24621
 
24400
- var _excluded$1d = ["label", "status", "views", "themeMode"];
24622
+ var _excluded$1e = ["label", "status", "views", "themeMode"];
24401
24623
  var StatusIndicatorView = _ref => {
24402
24624
  var {
24403
24625
  label,
@@ -24405,7 +24627,7 @@ var StatusIndicatorView = _ref => {
24405
24627
  views,
24406
24628
  themeMode: elementMode
24407
24629
  } = _ref,
24408
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1d);
24630
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
24409
24631
  var {
24410
24632
  themeMode
24411
24633
  } = useTheme();
@@ -24588,7 +24810,7 @@ var SidebarTransitions = {
24588
24810
  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)'
24589
24811
  };
24590
24812
 
24591
- var _excluded$1e = ["children", "showToggleButton", "views"],
24813
+ var _excluded$1f = ["children", "showToggleButton", "views"],
24592
24814
  _excluded2$i = ["children", "views"],
24593
24815
  _excluded3$c = ["children", "views"],
24594
24816
  _excluded4$b = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
@@ -24621,7 +24843,7 @@ var SidebarHeader = _ref2 => {
24621
24843
  showToggleButton = true,
24622
24844
  views
24623
24845
  } = _ref2,
24624
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1e);
24846
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1f);
24625
24847
  var {
24626
24848
  isExpanded,
24627
24849
  toggleExpanded,
@@ -24776,7 +24998,7 @@ var SidebarView = _ref5 => {
24776
24998
  }))));
24777
24999
  };
24778
25000
 
24779
- var _excluded$1f = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
25001
+ var _excluded$1g = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
24780
25002
  /**
24781
25003
  * Sidebar component for creating collapsible, themeable and customizable sidebars.
24782
25004
  */
@@ -24798,7 +25020,7 @@ var SidebarComponent = _ref => {
24798
25020
  breakpointBehavior = 'overlay',
24799
25021
  views
24800
25022
  } = _ref,
24801
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1f);
25023
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1g);
24802
25024
  var {
24803
25025
  isExpanded,
24804
25026
  toggleExpanded,
@@ -25263,7 +25485,7 @@ var HandleIconStyles = {
25263
25485
  }
25264
25486
  };
25265
25487
 
25266
- var _excluded$1g = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
25488
+ var _excluded$1h = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
25267
25489
  _excluded2$j = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
25268
25490
  _excluded3$d = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
25269
25491
  // Create context for the Resizable component
@@ -25308,7 +25530,7 @@ var ResizablePanel = _ref2 => {
25308
25530
  onCollapseChange,
25309
25531
  views
25310
25532
  } = _ref2,
25311
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1g);
25533
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1h);
25312
25534
  var {
25313
25535
  orientation,
25314
25536
  registerPanel,
@@ -25523,7 +25745,7 @@ var ResizableView = _ref4 => {
25523
25745
  }, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
25524
25746
  };
25525
25747
 
25526
- var _excluded$1h = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
25748
+ var _excluded$1i = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
25527
25749
  /**
25528
25750
  * Resizable component for creating resizable panel groups and layouts.
25529
25751
  */
@@ -25543,7 +25765,7 @@ var ResizableComponent = _ref => {
25543
25765
  keyboardResizeBy = 10,
25544
25766
  views
25545
25767
  } = _ref,
25546
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1h);
25768
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1i);
25547
25769
  var {
25548
25770
  isResizing,
25549
25771
  setIsResizing,
@@ -26314,7 +26536,7 @@ var CommandFooterStyles = {
26314
26536
  color: 'color.gray.500'
26315
26537
  };
26316
26538
 
26317
- var _excluded$1i = ["value", "onValueChange", "placeholder", "views"],
26539
+ var _excluded$1j = ["value", "onValueChange", "placeholder", "views"],
26318
26540
  _excluded2$k = ["children", "views"],
26319
26541
  _excluded3$e = ["heading", "children", "views"],
26320
26542
  _excluded4$c = ["item", "selected", "onSelect", "views"],
@@ -26346,7 +26568,7 @@ var CommandInput = _ref2 => {
26346
26568
  placeholder = 'Type a command or search...',
26347
26569
  views
26348
26570
  } = _ref2,
26349
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1i);
26571
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1j);
26350
26572
  var inputRef = useRef(null);
26351
26573
  // Focus input when component mounts
26352
26574
  React.useEffect(() => {
@@ -26529,7 +26751,7 @@ var CommandView = _ref7 => {
26529
26751
  })))), footer && (/*#__PURE__*/React.createElement(View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
26530
26752
  };
26531
26753
 
26532
- var _excluded$1j = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
26754
+ var _excluded$1k = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
26533
26755
  /**
26534
26756
  * Command component for displaying a command palette with search functionality.
26535
26757
  */
@@ -26547,7 +26769,7 @@ var CommandComponent = _ref => {
26547
26769
  footer,
26548
26770
  views
26549
26771
  } = _ref,
26550
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
26772
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1k);
26551
26773
  var {
26552
26774
  search,
26553
26775
  setSearch,
@@ -26784,7 +27006,7 @@ var getArrowStyles = position => {
26784
27006
  }
26785
27007
  };
26786
27008
 
26787
- var _excluded$1k = ["children", "views", "asChild"],
27009
+ var _excluded$1l = ["children", "views", "asChild"],
26788
27010
  _excluded2$l = ["children", "views"],
26789
27011
  _excluded3$f = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
26790
27012
  // Create context for the Tooltip
@@ -26820,7 +27042,7 @@ var TooltipTrigger = _ref2 => {
26820
27042
  views,
26821
27043
  asChild = false
26822
27044
  } = _ref2,
26823
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1k);
27045
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1l);
26824
27046
  var {
26825
27047
  openTooltip,
26826
27048
  closeTooltip,
@@ -27004,7 +27226,7 @@ var TooltipView = _ref4 => {
27004
27226
  }, TooltipSizes[size], TooltipVariants[variant], views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React.createElement(Text, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React.createElement(View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow)))));
27005
27227
  };
27006
27228
 
27007
- var _excluded$1l = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
27229
+ var _excluded$1m = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
27008
27230
  /**
27009
27231
  * Tooltip component for displaying additional information when hovering over an element.
27010
27232
  * Supports configurable positions, delays, and styling.
@@ -27024,7 +27246,7 @@ var TooltipComponent = _ref => {
27024
27246
  isDisabled = false,
27025
27247
  views
27026
27248
  } = _ref,
27027
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
27249
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
27028
27250
  var tooltipState = useTooltipState({
27029
27251
  defaultOpen,
27030
27252
  openDelay,
@@ -27333,7 +27555,7 @@ var DefaultGradientStyles = {
27333
27555
  }
27334
27556
  };
27335
27557
 
27336
- var _excluded$1m = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
27558
+ var _excluded$1n = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
27337
27559
  var GradientView = _ref => {
27338
27560
  var {
27339
27561
  type = 'linear',
@@ -27349,7 +27571,7 @@ var GradientView = _ref => {
27349
27571
  views,
27350
27572
  themeMode: elementMode
27351
27573
  } = _ref,
27352
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
27574
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
27353
27575
  var {
27354
27576
  getColor,
27355
27577
  themeMode
@@ -27425,7 +27647,7 @@ var Gradient = props => {
27425
27647
  return /*#__PURE__*/React.createElement(GradientView, Object.assign({}, props));
27426
27648
  };
27427
27649
 
27428
- var _excluded$1n = ["children", "showRadialGradient", "views", "themeMode"],
27650
+ var _excluded$1o = ["children", "showRadialGradient", "views", "themeMode"],
27429
27651
  _excluded2$m = ["number", "children"],
27430
27652
  _excluded3$g = ["rows", "cols", "squareSize"],
27431
27653
  _excluded4$d = ["count", "colors", "speed", "shapes"],
@@ -27446,7 +27668,7 @@ var AuroraBackground = _ref => {
27446
27668
  showRadialGradient = true,
27447
27669
  views
27448
27670
  } = _ref,
27449
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
27671
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1o);
27450
27672
  var gradientColors = {
27451
27673
  white: 'rgba(255,255,255,1)',
27452
27674
  transparent: 'rgba(255,255,255,0)'
@@ -27993,5 +28215,5 @@ var Background = /*#__PURE__*/Object.assign(BackgroundComponent, {
27993
28215
  });
27994
28216
  Background.displayName = 'Background';
27995
28217
 
27996
- export { Accordion, Alert, ArrowIcon, AspectRatio, AttachmentIcon, AttachmentPreview, AudioIcon, AudioInput, AudioWaveform, Avatar, BackIcon, Background, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Button, CalendarIcon, CameraIcon, Card, Carousel, Chart, ChartIcon, ChatInput, CheckIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ColorInput, ColorPicker, ComboBox, Command, ContextMenu, CookieConsent, CopyIcon, CountryPicker, CropIcon, DatePicker, DeleteIcon, Divider, DocumentIcon, DownloadIcon, DragAndDrop, DragAndDropComponent, DragHandleIcon, DragHandleLinesIcon, Drawer, DropdownMenu, DustBinIcon, EditIcon, EmojiPicker, ErrorIcon, ExternalLinkIcon, FacebookIcon, FileIcon, FileImage, FileSVG, FilterIcon, FolderIcon, FormikChatInput, FormikCheckbox, FormikColorInput, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikOTPInput, FormikPassword, FormikSelect, FormikSlider, FormikSwitch, FormikTagInput, FormikTextArea, FormikTextField, FormikUploader, GiftIcon, HeartIcon, HelpIcon, HomeIcon, HoverCard, Icon, ImageIcon, InfoIcon, InstagramIcon, LikeIcon, Link, LinkedinIcon, Loader, LoadingSpinnerIcon, LocationIcon, LockIcon, LogoutIcon, MagicWandIcon, MediaPreview, MenuIcon, Menubar, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NavigationMenu, NotificationIcon, OTPInput, OpenEyeIcon, Pagination, PanelIcon, Password, PauseIcon, PlayIcon, PlusIcon, PowerOffIcon, PrintIcon, ProfileIcon, ProgressBar, RefreshIcon, Resizable, RotateIcon, SaveIcon, SearchIcon, Select, SendIcon, Separator, SettingsIcon, ShapeIcon, ShareButton, ShareIcon, ShieldIcon, Sidebar, Slider, SliderIcon, SpinnerIcon, StarIcon, StatusIndicator, StopIcon, SuccessIcon, Switch, Table, Tabs, TagInput, TextArea, TextField, TextIcon, ThreadsIcon, TickIcon, Title, Toast, Toggle, ToggleGroup, Tooltip, TrashIcon, TwitchIcon, TwitterIcon, UnLikeIcon, UnlockIcon, UploadIcon, Uploader, UserIcon, VideoIcon, WarningIcon, WifiIcon, XIcon, YoutubeIcon, ZoomInIcon, ZoomOutIcon, hideMessage, hideModal, showMessage, showModal, showToast, useMessageStore, useModalStore, useToast$1 as useToast };
28218
+ export { Accordion, Alert, ArrowIcon, AspectRatio, AttachmentIcon, AttachmentPreview, AudioIcon, AudioInput, AudioWaveform, Avatar, BackIcon, Background, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Button, CalendarIcon, CameraIcon, Card, Carousel, Chart, ChartIcon, ChatInput, CheckIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ColorInput, ColorPicker, ComboBox, Command, ContextMenu, CookieConsent, CopyIcon, CountryPicker, CropIcon, DatePicker, DeleteIcon, Divider, DocumentIcon, DownloadIcon, DragAndDrop, DragAndDropComponent, DragHandleIcon, DragHandleLinesIcon, Drawer, DropdownMenu, DustBinIcon, EditIcon, EmojiPicker, ErrorIcon, ExternalLinkIcon, FacebookIcon, FileIcon, FileImage, FileSVG, FilterIcon, FolderIcon, FormikChatInput, FormikCheckbox, FormikColorInput, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikOTPInput, FormikPassword, FormikSelect, FormikSelector, FormikSlider, FormikSwitch, FormikTagInput, FormikTextArea, FormikTextField, FormikUploader, GiftIcon, HeartIcon, HelpIcon, HomeIcon, HoverCard, Icon, ImageIcon, InfoIcon, InstagramIcon, LikeIcon, Link, LinkedinIcon, Loader, LoadingSpinnerIcon, LocationIcon, LockIcon, LogoutIcon, MagicWandIcon, MediaPreview, MenuIcon, Menubar, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NavigationMenu, NotificationIcon, OTPInput, OpenEyeIcon, Pagination, PanelIcon, Password, PauseIcon, PlayIcon, PlusIcon, PowerOffIcon, PrintIcon, ProfileIcon, ProgressBar, RefreshIcon, Resizable, RotateIcon, SaveIcon, SearchIcon, Select, SendIcon, Separator, SettingsIcon, ShapeIcon, ShareButton, ShareIcon, ShieldIcon, Sidebar, Slider, SliderIcon, SpinnerIcon, StarIcon, StatusIndicator, StopIcon, SuccessIcon, Switch, Table, Tabs, TagInput, TextArea, TextField, TextIcon, ThreadsIcon, TickIcon, Title, Toast, Toggle, ToggleGroup, Tooltip, TrashIcon, TwitchIcon, TwitterIcon, UnLikeIcon, UnlockIcon, UploadIcon, Uploader, UserIcon, VideoIcon, WarningIcon, WifiIcon, XIcon, YoutubeIcon, ZoomInIcon, ZoomOutIcon, hideMessage, hideModal, showMessage, showModal, showToast, useMessageStore, useModalStore, useToast$1 as useToast };
27997
28219
  //# sourceMappingURL=web.esm.js.map