@sendoutcards/quantum-design-ui 2.0.0-alpha.0 → 2.0.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.
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { HOCBaseProps } from '../hoc-types/hocBasePropTypes';
|
|
2
|
+
type StyleProps = Pick<HOCBaseProps, 'inset' | 'outset' | 'borderRadius' | 'borderWidth' | 'borderStyle' | 'backgroundColor' | 'borderColor' | 'boxShadow' | 'height' | 'width' | 'maxHeight' | 'maxWidth' | 'minHeight' | 'minWidth' | 'position' | 'top' | 'bottom' | 'left' | 'right' | 'justifyContent' | 'alignContent' | 'alignItems' | 'flexDirection' | 'flexGrow' | 'flexShrink' | 'flexWrap' | 'rowGap' | 'columnGap' | 'justifyItems' | 'order' | 'cursor' | 'zIndex' | 'opacity' | 'display' | 'backgroundImage' | 'backgroundPosition' | 'backgroundRepeat' | 'backgroundSize' | 'transform' | 'transformOrigin' | 'overflow' | 'overflowX' | 'overflowY' | 'color' | 'gradient'>;
|
|
3
|
+
export declare const pickStyles: <T extends HOCBaseProps>(props: T) => [StyleProps, Omit<T, keyof StyleProps>];
|
|
4
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendoutcards/quantum-design-ui",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.2",
|
|
4
4
|
"description": "UI component library for Quantum Design System",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"jsnext:main": "dist/index.mjs",
|
|
7
7
|
"typings": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.mjs"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
8
15
|
"author": "nickqweaver",
|
|
9
16
|
"license": "MIT",
|
|
10
17
|
"jest": {
|
|
@@ -50,7 +57,7 @@
|
|
|
50
57
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
51
58
|
"color": "^3.1.2",
|
|
52
59
|
"fast-deep-equal": "^3.1.3",
|
|
53
|
-
"framer-motion": "
|
|
60
|
+
"framer-motion": "6.5.1",
|
|
54
61
|
"react-colorful": "^5.3.0",
|
|
55
62
|
"react-content-loader": "^5.1.1",
|
|
56
63
|
"react-country-flag": "3.0.2",
|