@proximus/lavender-spinner-native 0.1.0-alpha.3 → 0.1.0-alpha.6

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,35 +3,12 @@
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.0-alpha.3](https://github.com/Pxs-Corporate/react-native-lavender/compare/@proximus/lavender-spinner-native@0.1.0-alpha.2...@proximus/lavender-spinner-native@0.1.0-alpha.3) (2025-09-12)
6
+ # [0.1.0-alpha.6](https://github.com/Pxs-Corporate/react-native-lavender/compare/@proximus/lavender-spinner-native@0.1.0-alpha.5...@proximus/lavender-spinner-native@0.1.0-alpha.6) (2025-09-26)
7
7
 
8
8
  **Note:** Version bump only for package @proximus/lavender-spinner-native
9
9
 
10
- # [0.1.0-alpha.2](https://github.com/Pxs-Corporate/react-native-lavender/compare/@proximus/lavender-spinner-native@0.1.0-alpha.1...@proximus/lavender-spinner-native@0.1.0-alpha.2) (2025-09-05)
11
-
12
- ### Features
13
-
14
- - **BCRI-4279213:** update token architecture and component styles ([#18](https://github.com/Pxs-Corporate/react-native-lavender/issues/18)) ([2fabf41](https://github.com/Pxs-Corporate/react-native-lavender/commit/2fabf416ce069e9756daa868c3012181db87e7f5))
15
-
16
- # [0.1.0-alpha.1](https://github.com/Pxs-Corporate/react-native-lavender/compare/@proximus/lavender-spinner-native@0.1.0-alpha.0...@proximus/lavender-spinner-native@0.1.0-alpha.1) (2025-08-13)
10
+ # [0.1.0-alpha.5](https://github.com/Pxs-Corporate/react-native-lavender/compare/@proximus/lavender-spinner-native@0.1.0-alpha.4...@proximus/lavender-spinner-native@0.1.0-alpha.5) (2025-09-25)
17
11
 
18
12
  ### Bug Fixes
19
13
 
20
- - **BCRI-4210372:** fix types field in modules ([68ac126](https://github.com/Pxs-Corporate/react-native-lavender/commit/68ac12657112473ae9e0e683076b1d9172be9ce6))
21
-
22
- # 0.1.0-alpha.0 (2025-08-13)
23
-
24
- ### Features
25
-
26
- - **BCRI-000000:** remove default E2E on DEV env build for all components ([a5d27bf](https://github.com/Pxs-Corporate/react-native-lavender/commit/a5d27bfaaebf5b75f3160f31c64b590b7bd00b93))
27
- - **BCRI-3651770:** spinner module ([7671419](https://github.com/Pxs-Corporate/react-native-lavender/commit/76714190c7f7908a4199e2e3194844dbdbe2fb0f))
28
- - **BCRI-4210372:** automatic versionning ([9c1f0a0](https://github.com/Pxs-Corporate/react-native-lavender/commit/9c1f0a00e19a9d1a277044ea627632032a674102))
29
- - **BCRI-4210372:** fix bad version numbers ([bc6a8ba](https://github.com/Pxs-Corporate/react-native-lavender/commit/bc6a8ba48c15347442f2ac38dacae7ffba3d95eb))
30
-
31
- # (2025-08-13)
32
-
33
- ### Features
34
-
35
- - **BCRI-000000:** remove default E2E on DEV env build for all components ([a5d27bf](https://github.com/Pxs-Corporate/react-native-lavender/commit/a5d27bfaaebf5b75f3160f31c64b590b7bd00b93))
36
- - **BCRI-3651770:** spinner module ([7671419](https://github.com/Pxs-Corporate/react-native-lavender/commit/76714190c7f7908a4199e2e3194844dbdbe2fb0f))
37
- - **BCRI-4210372:** automatic versionning ([9c1f0a0](https://github.com/Pxs-Corporate/react-native-lavender/commit/9c1f0a00e19a9d1a277044ea627632032a674102))
14
+ - **BCRI-000000:** no free space on gh runner during build ([#27](https://github.com/Pxs-Corporate/react-native-lavender/issues/27)) ([a7c8604](https://github.com/Pxs-Corporate/react-native-lavender/commit/a7c86043b5cefcb10fd768d449c5718fbabe87ec))
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import LottieView from 'lottie-react-native';
4
+ import { a11y, e2eID } from '@proximus/lavender-common-native';
5
+ import spinner from './spinner.json';
6
+ import { Header } from '@proximus/lavender-texts-native';
7
+ export function PxSpinner({ width = 98, height = 98, testID, ...accessibilityProps }) {
8
+ return (React.createElement(View, null,
9
+ React.createElement(Header, null, "lottie not working anymore on IOS"),
10
+ React.createElement(View, { style: {
11
+ width,
12
+ height,
13
+ }, ...e2eID(testID), ...a11y({
14
+ accessible: true,
15
+ accessibilityRole: 'spinbutton',
16
+ accessibilityLabel: 'Loading',
17
+ ...accessibilityProps,
18
+ }) },
19
+ React.createElement(LottieView, { style: {
20
+ width,
21
+ height,
22
+ }, source: spinner, loop: true, autoPlay: true }))));
23
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@proximus/lavender-spinner-native",
3
+ "version": "0.1.0-alpha.6",
4
+ "description": "Lavender spinner component",
5
+ "license": "MIT",
6
+ "main": "dist/index.js",
7
+ "type": "module",
8
+ "peerDependencies": {
9
+ "@proximus/lavender-common-native": "*",
10
+ "@proximus/lavender-styling-native": "*",
11
+ "@proximus/lavender-texts-native": "*",
12
+ "lottie-ios": "*",
13
+ "lottie-react-native": "*"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "lerna": {
19
+ "command": {
20
+ "publish": {
21
+ "assets": [
22
+ {
23
+ "from": "dist/far/away/package.json",
24
+ "to": "."
25
+ },
26
+ "dist/*.js",
27
+ "dist/*.d.ts",
28
+ "dist/*.d.ts.map",
29
+ "src",
30
+ "package.json"
31
+ ]
32
+ }
33
+ }
34
+ },
35
+ "gitHead": "e50a17526561b3eafb159e36c737173956093e0d"
36
+ }
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './PxSpinner';