@proximus/lavender-separator-native 0.1.0-alpha.0 → 0.1.0-alpha.10

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAAE,qBAMtE"}
1
+ {"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAAE,qBActE"}
@@ -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,35 +1,17 @@
1
1
  {
2
2
  "name": "@proximus/lavender-separator-native",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-alpha.10",
4
4
  "description": "Lavender separator component",
5
5
  "license": "MIT",
6
- "main": "src/index.ts",
7
- "types": "dist/index.d.ts",
6
+ "main": "dist/index.js",
7
+ "files": [
8
+ "dist"
9
+ ],
8
10
  "type": "module",
9
- "scripts": {
10
- "clean": "rm -rf dist",
11
- "prepublish": "yarn clean && yarn build",
12
- "build": "npx tsc -p tsconfig.json"
13
- },
14
11
  "peerDependencies": {
15
- "@proximus/lavender-styling-native": "workspace:*"
16
- },
17
- "devDependencies": {
18
- "@proximus/lavender-styling-native": "0.1.0-alpha.0"
12
+ "@proximus/lavender-styling-native": "*"
19
13
  },
20
14
  "publishConfig": {
21
15
  "access": "public"
22
- },
23
- "lerna": {
24
- "command": {
25
- "publish": {
26
- "assets": [
27
- "dist",
28
- "src",
29
- "package.json"
30
- ]
31
- }
32
- }
33
- },
34
- "gitHead": "59b3436b786cc1c73b4a20a98b2a85139e75b72e"
16
+ }
35
17
  }
package/CHANGELOG.md DELETED
@@ -1,12 +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.0 (2025-08-13)
7
-
8
- ### Features
9
-
10
- - **BCRI-3651640:** dialogbox module ([f81465e](https://github.com/Pxs-Corporate/react-native-lavender/commit/f81465ee7332fee42789700c468344ce3b3f5cc4))
11
- - **BCRI-3660857:** cell components ([af9e45c](https://github.com/Pxs-Corporate/react-native-lavender/commit/af9e45cefc20d08d2338380ff4cd8cd6851abe24))
12
- - **BCRI-4210372:** automatic versionning ([9c1f0a0](https://github.com/Pxs-Corporate/react-native-lavender/commit/9c1f0a00e19a9d1a277044ea627632032a674102))
package/src/Separator.tsx DELETED
@@ -1,18 +0,0 @@
1
- import { StyleProp, StyleSheet, View, ViewStyle } from 'react-native';
2
- import React from 'react';
3
- import { Colors } from '@proximus/lavender-styling-native';
4
-
5
- export function PxSeparator({ style }: { style?: StyleProp<ViewStyle> }) {
6
- return (
7
- <View
8
- style={[styles.separator, ...(Array.isArray(style) ? style : [style])]}
9
- />
10
- );
11
- }
12
-
13
- const styles = StyleSheet.create({
14
- separator: {
15
- height: 1,
16
- backgroundColor: Colors.v8_1.shadesOfGrey.dark4,
17
- },
18
- });
package/tsconfig.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.npm.json",
3
- "compilerOptions": {
4
- "outDir": "dist",
5
- },
6
- "include": ["src"],
7
- "exclude": ["dist", "node_modules", "src/**/*.test.ts", "src/**/*.spec.ts"]
8
- }
File without changes