@proximus/lavender-spinner-native 0.1.0-alpha.4 → 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 +3 -30
- package/dist/PxSpinner.js +23 -0
- package/dist/far/away/package.json +36 -0
- package/dist/index.js +1 -0
- package/dist/spinner.json +2094 -0
- package/package.json +14 -7
- package/tsconfig.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,39 +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.
|
|
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.
|
|
11
|
-
|
|
12
|
-
**Note:** Version bump only for package @proximus/lavender-spinner-native
|
|
13
|
-
|
|
14
|
-
# [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)
|
|
15
|
-
|
|
16
|
-
### Features
|
|
17
|
-
|
|
18
|
-
- **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))
|
|
19
|
-
|
|
20
|
-
# [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)
|
|
21
11
|
|
|
22
12
|
### Bug Fixes
|
|
23
13
|
|
|
24
|
-
- **BCRI-
|
|
25
|
-
|
|
26
|
-
# 0.1.0-alpha.0 (2025-08-13)
|
|
27
|
-
|
|
28
|
-
### Features
|
|
29
|
-
|
|
30
|
-
- **BCRI-000000:** remove default E2E on DEV env build for all components ([a5d27bf](https://github.com/Pxs-Corporate/react-native-lavender/commit/a5d27bfaaebf5b75f3160f31c64b590b7bd00b93))
|
|
31
|
-
- **BCRI-3651770:** spinner module ([7671419](https://github.com/Pxs-Corporate/react-native-lavender/commit/76714190c7f7908a4199e2e3194844dbdbe2fb0f))
|
|
32
|
-
- **BCRI-4210372:** automatic versionning ([9c1f0a0](https://github.com/Pxs-Corporate/react-native-lavender/commit/9c1f0a00e19a9d1a277044ea627632032a674102))
|
|
33
|
-
- **BCRI-4210372:** fix bad version numbers ([bc6a8ba](https://github.com/Pxs-Corporate/react-native-lavender/commit/bc6a8ba48c15347442f2ac38dacae7ffba3d95eb))
|
|
34
|
-
|
|
35
|
-
# (2025-08-13)
|
|
36
|
-
|
|
37
|
-
### Features
|
|
38
|
-
|
|
39
|
-
- **BCRI-000000:** remove default E2E on DEV env build for all components ([a5d27bf](https://github.com/Pxs-Corporate/react-native-lavender/commit/a5d27bfaaebf5b75f3160f31c64b590b7bd00b93))
|
|
40
|
-
- **BCRI-3651770:** spinner module ([7671419](https://github.com/Pxs-Corporate/react-native-lavender/commit/76714190c7f7908a4199e2e3194844dbdbe2fb0f))
|
|
41
|
-
- **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';
|