@startupjs-ui/auto-suggest 0.1.12 → 0.1.14

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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.1.14](https://github.com/startupjs/startupjs-ui/compare/v0.1.13...v0.1.14) (2026-02-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * add size for AutoSuggestProps ([#8](https://github.com/startupjs/startupjs-ui/issues/8)) ([c0cd5b0](https://github.com/startupjs/startupjs-ui/commit/c0cd5b0d84513e98c0e70cbcb0a5073db334c762))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.1.13](https://github.com/startupjs/startupjs-ui/compare/v0.1.12...v0.1.13) (2026-02-03)
18
+
19
+ **Note:** Version bump only for package @startupjs-ui/auto-suggest
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.1.12](https://github.com/startupjs/startupjs-ui/compare/v0.1.11...v0.1.12) (2026-01-21)
7
26
 
8
27
  **Note:** Version bump only for package @startupjs-ui/auto-suggest
package/index.tsx CHANGED
@@ -54,6 +54,8 @@ export interface AutoSuggestProps {
54
54
  options?: AutoSuggestOption[]
55
55
  /** Current selected value */
56
56
  value?: AutoSuggestValue
57
+ /** Size preset @default 'm' */
58
+ size?: 'l' | 'm' | 's'
57
59
  /** Placeholder text @default 'Select value' */
58
60
  placeholder?: string | number
59
61
  /** Custom item renderer (item, index, highlightedIndex) */
@@ -103,6 +105,7 @@ function AutoSuggest ({
103
105
  iconStyle,
104
106
  options = [],
105
107
  value,
108
+ size = 'm',
106
109
  placeholder = 'Select value',
107
110
  renderItem,
108
111
  isLoading = false,
@@ -215,6 +218,7 @@ function AutoSuggest ({
215
218
  ref=inputRef
216
219
  style=captionStyle
217
220
  inputStyle=inputStyle
221
+ size=size
218
222
  icon=value && !disabled ? faTimes : undefined
219
223
  iconPosition='right'
220
224
  iconStyle=iconStyle
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs-ui/auto-suggest",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -12,13 +12,13 @@
12
12
  "@startupjs-ui/core": "^0.1.11",
13
13
  "@startupjs-ui/flat-list": "^0.1.11",
14
14
  "@startupjs-ui/loader": "^0.1.11",
15
- "@startupjs-ui/menu": "^0.1.12",
16
- "@startupjs-ui/text-input": "^0.1.12"
15
+ "@startupjs-ui/menu": "^0.1.13",
16
+ "@startupjs-ui/text-input": "^0.1.13"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "react": "*",
20
20
  "react-native": "*",
21
21
  "startupjs": "*"
22
22
  },
23
- "gitHead": "c0b4606437077bb6d170e2c0b16b674801c304fe"
23
+ "gitHead": "f6c2eb24b758f5e3de16bba9397aeb8f5585e260"
24
24
  }