@startupjs-ui/avatar 0.2.0-alpha.1 → 0.2.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,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](https://github.com/startupjs/startupjs-ui/compare/v0.1.23...v0.2.0) (2026-05-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * [v0.2] add accessibility features to most components, which also dramatically improves E2E testability ([#22](https://github.com/startupjs/startupjs-ui/issues/22)) ([b563e2f](https://github.com/startupjs/startupjs-ui/commit/b563e2fa498a8a83bd5abc7836d120f6d2381e3f))
12
+
13
+
14
+
15
+
16
+
17
+ # [0.2.0-alpha.2](https://github.com/startupjs/startupjs-ui/compare/v0.2.0-alpha.1...v0.2.0-alpha.2) (2026-04-20)
18
+
19
+ **Note:** Version bump only for package @startupjs-ui/avatar
20
+
21
+
22
+
23
+
24
+
6
25
  # [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
26
 
8
27
  **Note:** Version bump only for package @startupjs-ui/avatar
package/index.tsx CHANGED
@@ -76,10 +76,12 @@ function Avatar ({
76
76
  - const [firstName, lastName] = _fallback.split(' ')
77
77
  - const initials = (firstName ? firstName[0].toUpperCase() : '') + (lastName ? lastName[0].toUpperCase() : '')
78
78
  Div.avatar(
79
- style={backgroundColor: randomcolor({
80
- luminosity: 'bright',
81
- seed: _fallback
82
- })}
79
+ style={
80
+ backgroundColor: randomcolor({
81
+ luminosity: 'bright',
82
+ seed: _fallback
83
+ })
84
+ }
83
85
  )
84
86
  Span.fallback(part='fallback' bold style=_fallbackStyle)
85
87
  = initials
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs-ui/avatar",
3
- "version": "0.2.0-alpha.1",
3
+ "version": "0.2.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -8,9 +8,9 @@
8
8
  "types": "index.d.ts",
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@startupjs-ui/core": "^0.2.0-alpha.1",
12
- "@startupjs-ui/div": "^0.2.0-alpha.1",
13
- "@startupjs-ui/span": "^0.2.0-alpha.1",
11
+ "@startupjs-ui/core": "^0.2.0",
12
+ "@startupjs-ui/div": "^0.2.0",
13
+ "@startupjs-ui/span": "^0.2.0",
14
14
  "randomcolor": "^0.5.4"
15
15
  },
16
16
  "peerDependencies": {
@@ -18,5 +18,5 @@
18
18
  "react-native": "*",
19
19
  "startupjs": "*"
20
20
  },
21
- "gitHead": "b48004779559b16c96a2a1995dab13b998eafce9"
21
+ "gitHead": "0c586b841cba1c9d820542f6eca07470f5ea2659"
22
22
  }