@purple/phoenix-components 5.19.1 → 5.19.2-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/LICENSE +0 -0
- package/README.md +0 -0
- package/dist/bundle.cjs.js +1 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +1 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/bundle.umd.js +1 -1
- package/dist/bundle.umd.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +159 -159
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import React$1, { HTMLAttributes, PropsWithChildren, ReactElement, InputHTMLAttributes, FocusEventHandler, JSXElementConstructor, MouseEventHandler, TextareaHTMLAttributes } from 'react';
|
|
2
3
|
import * as styled_components from 'styled-components';
|
|
3
4
|
import { DefaultTheme, IntrinsicElementsKeys } from 'styled-components';
|
package/package.json
CHANGED
|
@@ -1,160 +1,160 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
2
|
+
"name": "@purple/phoenix-components",
|
|
3
|
+
"version": "5.19.2-beta.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/bundle.umd.js",
|
|
6
|
+
"module": "dist/bundle.esm.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=18"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/purple-technology/phoenix-components"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"react",
|
|
21
|
+
"forms",
|
|
22
|
+
"styled-components"
|
|
23
|
+
],
|
|
24
|
+
"contributors": [
|
|
25
|
+
"Ales Chromec <achromec@purple-technology.com>",
|
|
26
|
+
"Adam Stepanek <astepanek@purple-technology.com>"
|
|
27
|
+
],
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"scripts": {
|
|
30
|
+
"lint": "eslint 'src' '.storybook' --ext .ts,.tsx,.js,.jsx,.json,.d.ts",
|
|
31
|
+
"lint:fix": "eslint 'src' '.storybook' --ext .ts,.tsx,.js,.jsx,.json,.d.ts --fix",
|
|
32
|
+
"build:tokens": "ts-node --project ./ts-node.tsconfig.json --files src/tokens/build.ts && eslint 'src/tokens/' --ext .json --fix",
|
|
33
|
+
"tokens": "(git -C my-axiory-tokens pull || git clone https://github.com/purple-technology/my-axiory-tokens.git) && pnpm build:tokens",
|
|
34
|
+
"build": "rollup -c && rm -r ./dist/types",
|
|
35
|
+
"build-watch": "rollup -c -w",
|
|
36
|
+
"prepare": "husky install",
|
|
37
|
+
"prebuild": "rimraf dist",
|
|
38
|
+
"dev": "pnpm storybook",
|
|
39
|
+
"storybook": "storybook dev -p 6006",
|
|
40
|
+
"storybook:build": "storybook build -c .storybook",
|
|
41
|
+
"predeploy": "pnpm storybook:build",
|
|
42
|
+
"release:feature": "standard-version && git push --follow-tags",
|
|
43
|
+
"release:publish": "pnpm build && pnpm publish --access public && pnpm deploy-storybook",
|
|
44
|
+
"deploy-storybook": "pnpm storybook:build && cp -r .circleci storybook-static && cp -r storybook-build-v4 storybook-static/v4 && storybook-to-ghpages -e=storybook-static",
|
|
45
|
+
"snapshot": "storybook build -c .storybook && percy storybook ./storybook-static",
|
|
46
|
+
"percy": "if [[ $(git rev-parse --symbolic-full-name --abbrev-ref HEAD) != \"master\" ]]; then percy storybook ./storybook-static; else echo \"ERROR: percy should not be run on master because these snapshots are auto-approved\"; fi;",
|
|
47
|
+
"test": "jest"
|
|
48
|
+
},
|
|
49
|
+
"bin": {
|
|
50
|
+
"pc-check-tokens": "./bin/pc-check-tokens.js"
|
|
51
|
+
},
|
|
52
|
+
"lint-staged": {
|
|
53
|
+
"*.{ts,tsx,js,jsx,json,d.ts}": "eslint --fix"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@react-hook/previous": "~1.0.1",
|
|
57
|
+
"@tippyjs/react": "~4.2.6",
|
|
58
|
+
"countries-and-timezones": "^3.3.0",
|
|
59
|
+
"formik": "~2.2.9",
|
|
60
|
+
"is-mobile": "~3.1.1",
|
|
61
|
+
"lodash": "~4.17.21",
|
|
62
|
+
"nanoid": "~3.3.4",
|
|
63
|
+
"nouislider": "~15.6.1",
|
|
64
|
+
"react-day-picker": "~8.7.1",
|
|
65
|
+
"react-dropzone": "~14.2.2",
|
|
66
|
+
"react-inlinesvg": "~3.0.1",
|
|
67
|
+
"react-pdf": "~8.0.2",
|
|
68
|
+
"react-select": "^5.7.0",
|
|
69
|
+
"react-tabs": "^4.2.1",
|
|
70
|
+
"styled-system": "~5.1.5",
|
|
71
|
+
"zxcvbn": "~4.4.2"
|
|
72
|
+
},
|
|
73
|
+
"peerDependencies": {
|
|
74
|
+
"react": ">=16.3",
|
|
75
|
+
"react-dom": ">=16.3",
|
|
76
|
+
"styled-components": ">=5.3"
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@babel/core": "^7.23.6",
|
|
80
|
+
"@babel/plugin-transform-class-properties": "^7.23.3",
|
|
81
|
+
"@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
|
|
82
|
+
"@babel/plugin-transform-object-rest-spread": "^7.23.4",
|
|
83
|
+
"@babel/plugin-transform-optional-chaining": "^7.23.4",
|
|
84
|
+
"@babel/plugin-transform-private-methods": "^7.23.3",
|
|
85
|
+
"@babel/plugin-transform-private-property-in-object": "^7.23.4",
|
|
86
|
+
"@babel/preset-env": "^7.23.6",
|
|
87
|
+
"@babel/preset-react": "^7.23.3",
|
|
88
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
89
|
+
"@commitlint/cli": "^17.0.0",
|
|
90
|
+
"@commitlint/config-conventional": "^17.0.0",
|
|
91
|
+
"@ironkinoko/rollup-plugin-styles": "^4.0.3",
|
|
92
|
+
"@percy/cli": "^1.26.0",
|
|
93
|
+
"@percy/storybook": "^4.3.6",
|
|
94
|
+
"@pxblue/storybook-rtl-addon": "^1.0.1",
|
|
95
|
+
"@rollup/plugin-json": "^6.0.0",
|
|
96
|
+
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
97
|
+
"@rollup/plugin-terser": "^0.4.3",
|
|
98
|
+
"@rollup/plugin-typescript": "^11.1.1",
|
|
99
|
+
"@rollup/plugin-url": "^8.0.1",
|
|
100
|
+
"@storybook/addon-a11y": "^7.0.21",
|
|
101
|
+
"@storybook/addon-docs": "^7.0.21",
|
|
102
|
+
"@storybook/addon-essentials": "^7.0.21",
|
|
103
|
+
"@storybook/addon-links": "^7.0.21",
|
|
104
|
+
"@storybook/addon-mdx-gfm": "^7.0.21",
|
|
105
|
+
"@storybook/addon-viewport": "^7.0.21",
|
|
106
|
+
"@storybook/blocks": "^7.0.21",
|
|
107
|
+
"@storybook/react": "^7.0.21",
|
|
108
|
+
"@storybook/react-webpack5": "^7.0.21",
|
|
109
|
+
"@storybook/storybook-deployer": "^2.8.16",
|
|
110
|
+
"@testing-library/dom": "^9.3.1",
|
|
111
|
+
"@testing-library/jest-dom": "^6.1.3",
|
|
112
|
+
"@testing-library/react": "^14.0.0",
|
|
113
|
+
"@types/countries-and-timezones": "^3.2.3",
|
|
114
|
+
"@types/jest": "^27.0.2",
|
|
115
|
+
"@types/lodash": "^4.14.178",
|
|
116
|
+
"@types/node": "^20.4.7",
|
|
117
|
+
"@types/react": "^18.0.20",
|
|
118
|
+
"@types/react-dom": "^18.0.6",
|
|
119
|
+
"@types/react-tabs": "^2.3.4",
|
|
120
|
+
"@types/styled-components": "^5.1.26",
|
|
121
|
+
"@types/styled-system": "^5.1.13",
|
|
122
|
+
"@types/zxcvbn": "^4.4.2",
|
|
123
|
+
"@typescript-eslint/eslint-plugin": "^4.8.2",
|
|
124
|
+
"@typescript-eslint/parser": "^4.8.2",
|
|
125
|
+
"babel-loader": "^8.2.5",
|
|
126
|
+
"core-js": "^3.25.2",
|
|
127
|
+
"csstype": "^3.1.2",
|
|
128
|
+
"date-fns": "^2.30.0",
|
|
129
|
+
"eslint": "^7.32.0",
|
|
130
|
+
"eslint-config-prettier": "^8.3.0",
|
|
131
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
132
|
+
"eslint-plugin-react": "^7.23.2",
|
|
133
|
+
"eslint-plugin-react-hooks": "^4.2.0",
|
|
134
|
+
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
135
|
+
"eslint-plugin-storybook": "^0.6.12",
|
|
136
|
+
"husky": "^7.0.1",
|
|
137
|
+
"jest": "^27.2.4",
|
|
138
|
+
"lint-staged": "^12.0.0",
|
|
139
|
+
"postcss": "^8.4.21",
|
|
140
|
+
"prettier": "2.3.2",
|
|
141
|
+
"react": "^18.2.0",
|
|
142
|
+
"react-docgen-typescript-loader": "^3.1.1",
|
|
143
|
+
"react-dom": "^18.2.0",
|
|
144
|
+
"react-is": "^18.2.0",
|
|
145
|
+
"remark-gfm": "^3.0.1",
|
|
146
|
+
"rimraf": "^3.0.0",
|
|
147
|
+
"rollup": "^3.22.0",
|
|
148
|
+
"rollup-plugin-dts": "^5.3.0",
|
|
149
|
+
"rollup-plugin-peer-deps-external": "^2.2.0",
|
|
150
|
+
"standard-version": "^9.3.0",
|
|
151
|
+
"storybook": "^7.0.21",
|
|
152
|
+
"storybook-design-token": "^3.0.0-beta.3",
|
|
153
|
+
"style-dictionary": "^3.7.2",
|
|
154
|
+
"styled-components": "^5.3.5",
|
|
155
|
+
"tippy.js": "^6.3.7",
|
|
156
|
+
"ts-node": "^10.9.1",
|
|
157
|
+
"tslib": "^2.6.2",
|
|
158
|
+
"typescript": "^4.8.3"
|
|
159
|
+
}
|
|
160
|
+
}
|