@startupjs-ui/multi-select 0.1.22 → 0.2.0-alpha.1

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.2.0-alpha.1](https://github.com/startupjs/startupjs-ui/compare/v0.2.0-alpha.0...v0.2.0-alpha.1) (2026-04-10)
7
+
8
+ **Note:** Version bump only for package @startupjs-ui/multi-select
9
+
10
+
11
+
12
+
13
+
14
+ # [0.2.0-alpha.0](https://github.com/startupjs/startupjs-ui/compare/v0.1.22...v0.2.0-alpha.0) (2026-03-27)
15
+
16
+
17
+ ### Features
18
+
19
+ * fix and improve accessibility of various components. Add storybook with tests. ([#21](https://github.com/startupjs/startupjs-ui/issues/21)) ([83b6576](https://github.com/startupjs/startupjs-ui/commit/83b65767ed61b24209f71b143ba1c2986170ab58))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.1.22](https://github.com/startupjs/startupjs-ui/compare/v0.1.21...v0.1.22) (2026-03-25)
7
26
 
8
27
  **Note:** Version bump only for package @startupjs-ui/multi-select
package/index.d.ts CHANGED
@@ -17,7 +17,7 @@ export interface MultiSelectProps {
17
17
  /** Custom styles for the input wrapper */
18
18
  inputStyle?: StyleProp<ViewStyle>;
19
19
  /** Available options (objects with `{ label, value }` or primitives) @default [] */
20
- options?: Array<MultiSelectOption | string | number | boolean>;
20
+ options?: (MultiSelectOption | string | number | boolean)[];
21
21
  /** Selected values @default [] */
22
22
  value?: any[];
23
23
  /** Placeholder text shown when empty @default 'Select' */
package/index.tsx CHANGED
@@ -37,7 +37,7 @@ export interface MultiSelectProps {
37
37
  /** Custom styles for the input wrapper */
38
38
  inputStyle?: StyleProp<ViewStyle>
39
39
  /** Available options (objects with `{ label, value }` or primitives) @default [] */
40
- options?: Array<MultiSelectOption | string | number | boolean>
40
+ options?: (MultiSelectOption | string | number | boolean)[]
41
41
  /** Selected values @default [] */
42
42
  value?: any[]
43
43
  /** Placeholder text shown when empty @default 'Select' */
@@ -201,6 +201,7 @@ function MultiSelect ({
201
201
  ...props
202
202
  captionStyle=style
203
203
  visible=focused
204
+ openOnAnchorPress=false
204
205
  matchAnchorWidth=hasWidthCaption
205
206
  attachment='start'
206
207
  position='bottom'
@@ -365,7 +366,10 @@ function DefaultInput ({
365
366
  Div.input(
366
367
  style=style
367
368
  styleName={ disabled, focused, readonly, error: _hasError }
368
- onPress=disabled || readonly ? void 0 : onOpen
369
+ role='button'
370
+ aria-disabled=disabled
371
+ aria-readonly=readonly
372
+ onPress=disabled || readonly ? undefined : onOpen
369
373
  wrap
370
374
  row
371
375
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs-ui/multi-select",
3
- "version": "0.1.22",
3
+ "version": "0.2.0-alpha.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -8,19 +8,19 @@
8
8
  "types": "index.d.ts",
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@startupjs-ui/core": "^0.1.22",
12
- "@startupjs-ui/div": "^0.1.22",
13
- "@startupjs-ui/drawer": "^0.1.22",
14
- "@startupjs-ui/icon": "^0.1.22",
15
- "@startupjs-ui/popover": "^0.1.22",
16
- "@startupjs-ui/scroll-view": "^0.1.22",
17
- "@startupjs-ui/span": "^0.1.22",
18
- "@startupjs-ui/tag": "^0.1.22"
11
+ "@startupjs-ui/core": "^0.2.0-alpha.1",
12
+ "@startupjs-ui/div": "^0.2.0-alpha.1",
13
+ "@startupjs-ui/drawer": "^0.2.0-alpha.1",
14
+ "@startupjs-ui/icon": "^0.2.0-alpha.1",
15
+ "@startupjs-ui/popover": "^0.2.0-alpha.1",
16
+ "@startupjs-ui/scroll-view": "^0.2.0-alpha.1",
17
+ "@startupjs-ui/span": "^0.2.0-alpha.1",
18
+ "@startupjs-ui/tag": "^0.2.0-alpha.1"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": "*",
22
22
  "react-native": "*",
23
23
  "startupjs": "*"
24
24
  },
25
- "gitHead": "3bd18c16f0f203ee3d940bf2e09381edc0034665"
25
+ "gitHead": "b48004779559b16c96a2a1995dab13b998eafce9"
26
26
  }