@proximus/lavender-button-native 0.1.0-alpha.0 → 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,18 @@
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-button-native@0.1.0-alpha.1...@proximus/lavender-button-native@0.1.0-alpha.2) (2025-08-13)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **BCRI-4210372:** fix types field in modules ([68ac126](https://github.com/Pxs-Corporate/react-native-lavender/commit/68ac12657112473ae9e0e683076b1d9172be9ce6))
11
+
12
+ # [0.1.0-alpha.1](https://github.com/Pxs-Corporate/react-native-lavender/compare/@proximus/lavender-button-native@0.1.0-alpha.0...@proximus/lavender-button-native@0.1.0-alpha.1) (2025-08-13)
13
+
14
+ ### Features
15
+
16
+ - **BCRI-4210372:** automatic versionning ([9c1f0a0](https://github.com/Pxs-Corporate/react-native-lavender/commit/9c1f0a00e19a9d1a277044ea627632032a674102))
17
+
6
18
  # 0.1.0-alpha.0 (2025-08-12)
7
19
 
8
20
  ### Features
@@ -0,0 +1,20 @@
1
+ import type { ReactNode } from 'react';
2
+ import React from 'react';
3
+ import type { AccessibilityProps, StyleProp, TextStyle, ViewStyle } from 'react-native';
4
+ import type { ITheme } from '@proximus/lavender-styling-native';
5
+ export type Variant = 'primary' | 'secondary' | 'tertiary' | 'order';
6
+ export interface IProps extends AccessibilityProps {
7
+ title: string;
8
+ titleStyle?: StyleProp<TextStyle>;
9
+ wrapperStyle?: StyleProp<ViewStyle>;
10
+ onPress?: () => void;
11
+ type?: Variant;
12
+ isRoundedBottomCorner?: boolean;
13
+ theme?: ITheme;
14
+ disabled?: boolean;
15
+ testID?: string;
16
+ prefix?: ReactNode;
17
+ suffix?: ReactNode;
18
+ }
19
+ export declare function PxButton(props: IProps): React.JSX.Element;
20
+ //# sourceMappingURL=PxButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PxButton.d.ts","sourceRoot":"","sources":["../src/PxButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EACV,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAIhE,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC;AAErE,MAAM,WAAW,MAAO,SAAQ,kBAAkB;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AA4FD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,qBAuHrC"}
@@ -0,0 +1,2 @@
1
+ export * from './PxButton';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@proximus/lavender-button-native",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-alpha.2",
4
4
  "description": "Button component",
5
5
  "license": "MIT",
6
6
  "main": "src/index.ts",
7
7
  "scripts": {
8
- "build": "echo \"we publish TS so no build\" && exit 0"
8
+ "clean": "rm -rf dist",
9
+ "prepublish": "yarn clean && yarn build",
10
+ "build": "npx tsc -p tsconfig.json"
9
11
  },
10
12
  "peerDependencies": {
11
13
  "@proximus/lavender-common-native": "workspace:*",
@@ -14,10 +16,10 @@
14
16
  "@proximus/lavender-texts-native": "workspace:*"
15
17
  },
16
18
  "devDependencies": {
17
- "@proximus/lavender-common-native": "workspace:*",
18
- "@proximus/lavender-icon-native": "workspace:*",
19
- "@proximus/lavender-styling-native": "workspace:*",
20
- "@proximus/lavender-texts-native": "workspace:*"
19
+ "@proximus/lavender-common-native": "0.1.0-alpha.1",
20
+ "@proximus/lavender-icon-native": "0.1.0-alpha.1",
21
+ "@proximus/lavender-styling-native": "0.1.0-alpha.1",
22
+ "@proximus/lavender-texts-native": "0.1.0-alpha.1"
21
23
  },
22
24
  "publishConfig": {
23
25
  "access": "public"
@@ -26,11 +28,12 @@
26
28
  "command": {
27
29
  "publish": {
28
30
  "assets": [
29
- "src/**/*.ts",
31
+ "dist",
32
+ "src",
30
33
  "package.json"
31
34
  ]
32
35
  }
33
36
  }
34
37
  },
35
- "gitHead": "a4355bc543076d5914b48d76005a8686de1a5184"
38
+ "gitHead": "d422a1d369000e1e249afb26de2cef08930c2407"
36
39
  }
package/tsconfig.json CHANGED
@@ -1,3 +1,8 @@
1
1
  {
2
- "extends": "../../../tsconfig.json"
2
+ "extends": "../../../tsconfig.npm.json",
3
+ "compilerOptions": {
4
+ "outDir": "dist",
5
+ },
6
+ "include": ["src","../../../lib.d.ts"],
7
+ "exclude": ["dist", "node_modules", "src/**/*.test.ts", "src/**/*.spec.ts"]
3
8
  }