@startupjs-ui/progress 0.2.0 → 0.3.0

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,17 @@
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.3.0](https://github.com/startupjs/startupjs-ui/compare/v0.2.3...v0.3.0) (2026-05-27)
7
+
8
+
9
+ ### Features
10
+
11
+ * [BREAKING] [0.3] improve accessibility props for E2E tests. Support testID everywhere ([#31](https://github.com/startupjs/startupjs-ui/issues/31)) ([882588c](https://github.com/startupjs/startupjs-ui/commit/882588ca37d5e1fd14b5717b5697cf9ed47042e4))
12
+
13
+
14
+
15
+
16
+
6
17
  # [0.2.0](https://github.com/startupjs/startupjs-ui/compare/v0.1.23...v0.2.0) (2026-05-04)
7
18
 
8
19
 
package/index.d.ts CHANGED
@@ -25,4 +25,6 @@ export interface ProgressProps {
25
25
  progressStyle?: DivProps['style'];
26
26
  /** Style overrides for the filler part */
27
27
  fillerStyle?: StyleProp<ViewStyle>;
28
+ /** Test identifier */
29
+ testID?: string;
28
30
  }
package/index.tsx CHANGED
@@ -29,6 +29,8 @@ export interface ProgressProps {
29
29
  progressStyle?: DivProps['style']
30
30
  /** Style overrides for the filler part */
31
31
  fillerStyle?: StyleProp<ViewStyle>
32
+ /** Test identifier */
33
+ testID?: string
32
34
  }
33
35
 
34
36
  function Progress ({
@@ -37,13 +39,14 @@ function Progress ({
37
39
  children,
38
40
  variant = 'linear',
39
41
  shape = 'rounded',
40
- width = u(0.5)
42
+ width = u(0.5),
43
+ testID
41
44
  }: ProgressProps): ReactNode {
42
45
  const isCircular = variant === 'circular'
43
46
  const extraStyle = isCircular ? {} : { height: width }
44
47
 
45
48
  return pug`
46
- View(style=style)
49
+ View(style=style testID=testID)
47
50
  Div.progress(
48
51
  part='progress'
49
52
  style=extraStyle
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs-ui/progress",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -8,14 +8,14 @@
8
8
  "types": "index.d.ts",
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@startupjs-ui/core": "^0.2.0",
12
- "@startupjs-ui/div": "^0.2.0",
13
- "@startupjs-ui/span": "^0.2.0"
11
+ "@startupjs-ui/core": "^0.3.0",
12
+ "@startupjs-ui/div": "^0.3.0",
13
+ "@startupjs-ui/span": "^0.3.0"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "react": "*",
17
17
  "react-native": "*",
18
18
  "startupjs": "*"
19
19
  },
20
- "gitHead": "0c586b841cba1c9d820542f6eca07470f5ea2659"
20
+ "gitHead": "8d212b47680af1dfe582f9759b38724b46488e25"
21
21
  }