@proximus/lavender-separator-native 0.1.0-alpha.3 → 0.1.0-beta.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/dist/Separator.js +18 -0
- package/package.json +7 -24
- package/CHANGELOG.md +0 -28
- package/src/Separator.tsx +0 -25
- package/tsconfig.json +0 -8
- /package/{src/index.ts → dist/index.js} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StyleSheet, View } from 'react-native';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { useTheme } from '@proximus/lavender-styling-native';
|
|
4
|
+
export function PxSeparator({ style }) {
|
|
5
|
+
const { theme } = useTheme();
|
|
6
|
+
return (React.createElement(View, { style: [
|
|
7
|
+
styles.separator,
|
|
8
|
+
{
|
|
9
|
+
backgroundColor: theme.t('ColorBorderMainDefault'),
|
|
10
|
+
},
|
|
11
|
+
...(Array.isArray(style) ? style : [style]),
|
|
12
|
+
] }));
|
|
13
|
+
}
|
|
14
|
+
const styles = StyleSheet.create({
|
|
15
|
+
separator: {
|
|
16
|
+
height: 1,
|
|
17
|
+
},
|
|
18
|
+
});
|
package/package.json
CHANGED
|
@@ -1,34 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proximus/lavender-separator-native",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-beta.0",
|
|
4
4
|
"description": "Lavender separator component",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"main": "
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
7
10
|
"type": "module",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"clean": "rm -rf dist",
|
|
10
|
-
"prepublish": "yarn clean && yarn build",
|
|
11
|
-
"build": "npx tsc -p tsconfig.json"
|
|
12
|
-
},
|
|
13
11
|
"peerDependencies": {
|
|
14
|
-
"@proximus/lavender-styling-native": "
|
|
15
|
-
},
|
|
16
|
-
"devDependencies": {
|
|
17
|
-
"@proximus/lavender-styling-native": "0.1.0-alpha.3"
|
|
12
|
+
"@proximus/lavender-styling-native": "*"
|
|
18
13
|
},
|
|
19
14
|
"publishConfig": {
|
|
20
15
|
"access": "public"
|
|
21
|
-
}
|
|
22
|
-
"lerna": {
|
|
23
|
-
"command": {
|
|
24
|
-
"publish": {
|
|
25
|
-
"assets": [
|
|
26
|
-
"dist",
|
|
27
|
-
"src",
|
|
28
|
-
"package.json"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"gitHead": "6e9252a716a08ededdfbfd6f5b1db70ab21e026e"
|
|
16
|
+
}
|
|
34
17
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
# [0.1.0-alpha.3](https://github.com/Pxs-Corporate/react-native-lavender/compare/@proximus/lavender-separator-native@0.1.0-alpha.2...@proximus/lavender-separator-native@0.1.0-alpha.3) (2025-09-19)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @proximus/lavender-separator-native
|
|
9
|
-
|
|
10
|
-
# [0.1.0-alpha.2](https://github.com/Pxs-Corporate/react-native-lavender/compare/@proximus/lavender-separator-native@0.1.0-alpha.1...@proximus/lavender-separator-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-separator-native@0.1.0-alpha.0...@proximus/lavender-separator-native@0.1.0-alpha.1) (2025-08-13)
|
|
17
|
-
|
|
18
|
-
### Bug Fixes
|
|
19
|
-
|
|
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-3651640:** dialogbox module ([f81465e](https://github.com/Pxs-Corporate/react-native-lavender/commit/f81465ee7332fee42789700c468344ce3b3f5cc4))
|
|
27
|
-
- **BCRI-3660857:** cell components ([af9e45c](https://github.com/Pxs-Corporate/react-native-lavender/commit/af9e45cefc20d08d2338380ff4cd8cd6851abe24))
|
|
28
|
-
- **BCRI-4210372:** automatic versionning ([9c1f0a0](https://github.com/Pxs-Corporate/react-native-lavender/commit/9c1f0a00e19a9d1a277044ea627632032a674102))
|
package/src/Separator.tsx
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { StyleProp, StyleSheet, View, ViewStyle } from 'react-native';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { useTheme } from '@proximus/lavender-styling-native';
|
|
4
|
-
|
|
5
|
-
export function PxSeparator({ style }: { style?: StyleProp<ViewStyle> }) {
|
|
6
|
-
const { theme } = useTheme();
|
|
7
|
-
|
|
8
|
-
return (
|
|
9
|
-
<View
|
|
10
|
-
style={[
|
|
11
|
-
styles.separator,
|
|
12
|
-
{
|
|
13
|
-
backgroundColor: theme.t('ColorBorderMainDefault'),
|
|
14
|
-
},
|
|
15
|
-
...(Array.isArray(style) ? style : [style]),
|
|
16
|
-
]}
|
|
17
|
-
/>
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const styles = StyleSheet.create({
|
|
22
|
-
separator: {
|
|
23
|
-
height: 1,
|
|
24
|
-
},
|
|
25
|
-
});
|
package/tsconfig.json
DELETED
|
File without changes
|