@proximus/lavender-button-native 0.1.0-alpha.0 → 0.1.0-alpha.1
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 +6 -0
- package/dist/PxButton.d.ts +20 -0
- package/dist/PxButton.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/package.json +12 -8
- package/tsconfig.json +6 -1
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.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)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **BCRI-4210372:** automatic versionning ([9c1f0a0](https://github.com/Pxs-Corporate/react-native-lavender/commit/9c1f0a00e19a9d1a277044ea627632032a674102))
|
|
11
|
+
|
|
6
12
|
# 0.1.0-alpha.0 (2025-08-12)
|
|
7
13
|
|
|
8
14
|
### 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"}
|
package/dist/index.d.ts
ADDED
|
@@ -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,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proximus/lavender-button-native",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
4
|
"description": "Button component",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
7
8
|
"scripts": {
|
|
8
|
-
"
|
|
9
|
+
"clean": "rm -rf dist",
|
|
10
|
+
"prepublish": "yarn clean && yarn build",
|
|
11
|
+
"build": "npx tsc -p tsconfig.json"
|
|
9
12
|
},
|
|
10
13
|
"peerDependencies": {
|
|
11
14
|
"@proximus/lavender-common-native": "workspace:*",
|
|
@@ -14,10 +17,10 @@
|
|
|
14
17
|
"@proximus/lavender-texts-native": "workspace:*"
|
|
15
18
|
},
|
|
16
19
|
"devDependencies": {
|
|
17
|
-
"@proximus/lavender-common-native": "
|
|
18
|
-
"@proximus/lavender-icon-native": "
|
|
19
|
-
"@proximus/lavender-styling-native": "
|
|
20
|
-
"@proximus/lavender-texts-native": "
|
|
20
|
+
"@proximus/lavender-common-native": "0.1.0-alpha.0",
|
|
21
|
+
"@proximus/lavender-icon-native": "0.1.0-alpha.0",
|
|
22
|
+
"@proximus/lavender-styling-native": "0.1.0-alpha.0",
|
|
23
|
+
"@proximus/lavender-texts-native": "0.1.0-alpha.0"
|
|
21
24
|
},
|
|
22
25
|
"publishConfig": {
|
|
23
26
|
"access": "public"
|
|
@@ -26,11 +29,12 @@
|
|
|
26
29
|
"command": {
|
|
27
30
|
"publish": {
|
|
28
31
|
"assets": [
|
|
29
|
-
"
|
|
32
|
+
"dist",
|
|
33
|
+
"src",
|
|
30
34
|
"package.json"
|
|
31
35
|
]
|
|
32
36
|
}
|
|
33
37
|
}
|
|
34
38
|
},
|
|
35
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "59b3436b786cc1c73b4a20a98b2a85139e75b72e"
|
|
36
40
|
}
|
package/tsconfig.json
CHANGED