@spothero/ui 22.3.9-beta.1 → 22.3.9-beta.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/dist/AccordionActionButton.d.ts +2 -0
- package/dist/index.cjs.js +179 -736
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +179 -736
- package/dist/index.esm.js.map +1 -1
- package/dist/styles/index.d.ts +68 -0
- package/package.json +17 -14
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
parts: ("button" | "icon" | "container" | "root" | "panel")[];
|
|
3
|
+
baseStyle: Partial<Record<"button" | "icon" | "container" | "root" | "panel", import("@chakra-ui/react").CSSObject>>;
|
|
4
|
+
} & {
|
|
5
|
+
variants: {
|
|
6
|
+
lined: {
|
|
7
|
+
button: {
|
|
8
|
+
px: number;
|
|
9
|
+
py: number;
|
|
10
|
+
};
|
|
11
|
+
container: {
|
|
12
|
+
borderTopWidth: number;
|
|
13
|
+
_last: {
|
|
14
|
+
borderBottomWidth: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
panel: {
|
|
18
|
+
px: number;
|
|
19
|
+
py: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
contained: {
|
|
23
|
+
button: {
|
|
24
|
+
px: number;
|
|
25
|
+
py: number;
|
|
26
|
+
};
|
|
27
|
+
container: {
|
|
28
|
+
borderLeftWidth: number;
|
|
29
|
+
borderRightWidth: number;
|
|
30
|
+
_first: {
|
|
31
|
+
borderTopLeftRadius: number;
|
|
32
|
+
borderTopRightRadius: number;
|
|
33
|
+
};
|
|
34
|
+
_last: {
|
|
35
|
+
borderBottomLeftRadius: number;
|
|
36
|
+
borderBottomRightRadius: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
panel: {
|
|
40
|
+
p: number;
|
|
41
|
+
borderColor: string;
|
|
42
|
+
borderTopWidth: number;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
baseStyle: {
|
|
47
|
+
icon: {
|
|
48
|
+
color: string;
|
|
49
|
+
};
|
|
50
|
+
button: {
|
|
51
|
+
display: string;
|
|
52
|
+
gridGap: number;
|
|
53
|
+
alignItems: string;
|
|
54
|
+
fontSize: string;
|
|
55
|
+
fontWeight: string;
|
|
56
|
+
_hover: {
|
|
57
|
+
backgroundColor: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
container: {
|
|
61
|
+
borderColor: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
defaultProps: {
|
|
65
|
+
variant: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spothero/ui",
|
|
3
|
-
"version": "22.3.9-beta.
|
|
3
|
+
"version": "22.3.9-beta.2",
|
|
4
4
|
"description": "SpotHero's React component UI library.",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -45,13 +45,11 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"rollup": "^4.28.1",
|
|
49
|
-
"rollup-plugin-dts": "^6.1.1",
|
|
50
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
51
48
|
"@babel/cli": "7.23.9",
|
|
52
49
|
"@babel/core": "7.23.9",
|
|
53
50
|
"@babel/runtime-corejs3": "7.14.7",
|
|
54
51
|
"@emotion/is-prop-valid": "^1.3.1",
|
|
52
|
+
"@rollup/plugin-typescript": "^12.1.2",
|
|
55
53
|
"@storybook/addon-a11y": "7.6.19",
|
|
56
54
|
"@storybook/addon-actions": "7.6.19",
|
|
57
55
|
"@storybook/addon-essentials": "7.6.19",
|
|
@@ -63,6 +61,8 @@
|
|
|
63
61
|
"@testing-library/jest-dom": "5.11.9",
|
|
64
62
|
"@testing-library/react": "14.0.0",
|
|
65
63
|
"@testing-library/user-event": "12.8.1",
|
|
64
|
+
"@types/lodash": "^4.14.195",
|
|
65
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
66
66
|
"autoprefixer": "9.8.5",
|
|
67
67
|
"babel-jest": "29.2.2",
|
|
68
68
|
"babel-loader": "8.2.2",
|
|
@@ -89,19 +89,24 @@
|
|
|
89
89
|
"react-redux": "7.2.8",
|
|
90
90
|
"redux": "4.1.2",
|
|
91
91
|
"regenerator-runtime": "0.13.7",
|
|
92
|
+
"rollup": "^4.28.1",
|
|
93
|
+
"rollup-plugin-dts": "^6.1.1",
|
|
94
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
92
95
|
"sass-loader": "10.2.1",
|
|
93
96
|
"start-server-and-test": "1.12.6",
|
|
94
97
|
"storybook": "7.6.19",
|
|
95
98
|
"style-loader": "1.2.1",
|
|
99
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
100
|
+
"vitest": "^2.1.8",
|
|
96
101
|
"webpack-merge": "5.1.4",
|
|
97
|
-
"@spothero/babel-preset-spothero": "5.1.0",
|
|
98
102
|
"@spothero/browserslist-config": "4.0.0",
|
|
99
|
-
"@spothero/core": "7.0.1",
|
|
100
103
|
"@spothero/eslint-config": "6.1.0",
|
|
101
|
-
"@spothero/
|
|
102
|
-
"@spothero/
|
|
104
|
+
"@spothero/core": "7.0.1",
|
|
105
|
+
"@spothero/icons": "9.0.3-beta.2",
|
|
103
106
|
"@spothero/prettier-config": "4.0.0",
|
|
104
|
-
"@spothero/
|
|
107
|
+
"@spothero/babel-preset-spothero": "5.1.0",
|
|
108
|
+
"@spothero/stylelint-config": "6.0.0",
|
|
109
|
+
"@spothero/npm-publisher": "7.0.0"
|
|
105
110
|
},
|
|
106
111
|
"dependencies": {
|
|
107
112
|
"@babel/preset-env": "7.23.9",
|
|
@@ -116,8 +121,7 @@
|
|
|
116
121
|
"react-select": "5.4.0",
|
|
117
122
|
"regenerator-runtime": "0.13.7",
|
|
118
123
|
"ssr-window": "1.0.1",
|
|
119
|
-
"transitionEnd": "1.0.2"
|
|
120
|
-
"@spothero/utils": "15.0.2"
|
|
124
|
+
"transitionEnd": "1.0.2"
|
|
121
125
|
},
|
|
122
126
|
"peerDependencies": {
|
|
123
127
|
"classnames": "^2.2.6",
|
|
@@ -133,9 +137,8 @@
|
|
|
133
137
|
"lint": "eslint .storybook src --ext .jsx,.js",
|
|
134
138
|
"start": "NODE_OPTIONS=--openssl-legacy-provider storybook dev -p 6006",
|
|
135
139
|
"test": "pnpm run test:unit",
|
|
136
|
-
"test:
|
|
137
|
-
"test:unit": "
|
|
138
|
-
"test:unit:watch": "DEBUG_PRINT_LIMIT=-1 pnpm run test:template -- --watch",
|
|
140
|
+
"test:unit": "vitest --run",
|
|
141
|
+
"test:unit:watch": "DEBUG_PRINT_LIMIT=-1 vitest",
|
|
139
142
|
"build": "pnpm run clean && rollup -c --bundleConfigAsCjs",
|
|
140
143
|
"release": "npm-release",
|
|
141
144
|
"build-storybook": "NODE_OPTIONS=--openssl-legacy-provider storybook build -o ./docs/v2",
|