@proximus/lavender-spinner-native 0.1.0-alpha.1 → 0.1.0-alpha.2

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,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.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)
7
+
8
+ ### Features
9
+
10
+ - **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))
11
+
6
12
  # [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)
7
13
 
8
14
  ### Bug Fixes
@@ -1 +1 @@
1
- {"version":3,"file":"PxSpinner.d.ts","sourceRoot":"","sources":["../src/PxSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9E,MAAM,WAAW,UAAW,SAAQ,kBAAkB;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACvC;AAED,wBAAgB,SAAS,CAAC,EACxB,KAAU,EACV,MAAW,EACX,MAAM,EACN,GAAG,kBAAkB,EACtB,EAAE,UAAU,qBAuBZ"}
1
+ {"version":3,"file":"PxSpinner.d.ts","sourceRoot":"","sources":["../src/PxSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAM9E,MAAM,WAAW,UAAW,SAAQ,kBAAkB;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACvC;AAED,wBAAgB,SAAS,CAAC,EACxB,KAAU,EACV,MAAW,EACX,MAAM,EACN,GAAG,kBAAkB,EACtB,EAAE,UAAU,qBA6BZ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-spinner-native",
3
- "version": "0.1.0-alpha.1",
3
+ "version": "0.1.0-alpha.2",
4
4
  "description": "Lavender spinner component",
5
5
  "license": "MIT",
6
6
  "main": "src/index.ts",
@@ -18,11 +18,11 @@
18
18
  "lottie-react-native": "*"
19
19
  },
20
20
  "devDependencies": {
21
- "@proximus/lavender-common-native": "0.1.0-alpha.1",
22
- "@proximus/lavender-styling-native": "0.1.0-alpha.1",
23
- "@proximus/lavender-texts-native": "0.1.0-alpha.1",
24
- "lottie-ios": "3.2.3",
25
- "lottie-react-native": "5.1.3"
21
+ "@proximus/lavender-common-native": "0.1.0-alpha.2",
22
+ "@proximus/lavender-styling-native": "0.1.0-alpha.2",
23
+ "@proximus/lavender-texts-native": "0.1.0-alpha.2",
24
+ "lottie-ios": "3.4.4",
25
+ "lottie-react-native": "5.1.6"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"
@@ -38,5 +38,5 @@
38
38
  }
39
39
  }
40
40
  },
41
- "gitHead": "d422a1d369000e1e249afb26de2cef08930c2407"
41
+ "gitHead": "38a67765befa2567a3f5f57976b7933cf5b85a24"
42
42
  }
package/src/PxSpinner.tsx CHANGED
@@ -3,6 +3,7 @@ import { AccessibilityProps, StyleProp, View, ViewStyle } from 'react-native';
3
3
  import LottieView from 'lottie-react-native';
4
4
  import { a11y, e2eID } from '@proximus/lavender-common-native';
5
5
  import spinner from './spinner.json';
6
+ import { Header } from '@proximus/lavender-texts-native';
6
7
 
7
8
  export interface IPxSpinner extends AccessibilityProps {
8
9
  testID?: string;
@@ -19,25 +20,31 @@ export function PxSpinner({
19
20
  ...accessibilityProps
20
21
  }: IPxSpinner) {
21
22
  return (
22
- <View
23
- style={{}}
24
- {...e2eID(testID)}
25
- {...a11y({
26
- accessible: true,
27
- accessibilityRole: 'spinbutton',
28
- accessibilityLabel: 'Loading',
29
- ...accessibilityProps,
30
- })}
31
- >
32
- <LottieView
23
+ <View>
24
+ <Header>lottie not working anymore on IOS</Header>
25
+ <View
33
26
  style={{
34
27
  width,
35
28
  height,
36
29
  }}
37
- source={spinner}
38
- autoPlay
39
- loop
40
- />
30
+ {...e2eID(testID)}
31
+ {...a11y({
32
+ accessible: true,
33
+ accessibilityRole: 'spinbutton',
34
+ accessibilityLabel: 'Loading',
35
+ ...accessibilityProps,
36
+ })}
37
+ >
38
+ <LottieView
39
+ style={{
40
+ width,
41
+ height,
42
+ }}
43
+ source={spinner}
44
+ loop
45
+ autoPlay
46
+ />
47
+ </View>
41
48
  </View>
42
49
  );
43
50
  }