@adamjanicki/ui 1.8.2 → 1.8.4
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/{components → build/components}/Accordion/Accordion.d.ts +2 -1
- package/build/components/Accordion/Accordion.js +1 -0
- package/build/components/Accordion/index.d.ts +1 -0
- package/build/components/Accordion/index.js +1 -0
- package/build/components/Alert/Alert.js +1 -0
- package/build/components/Alert/index.d.ts +1 -0
- package/build/components/Alert/index.js +1 -0
- package/{components → build/components}/Animated/Animated.d.ts +2 -2
- package/build/components/Animated/Animated.js +1 -0
- package/build/components/Animated/index.d.ts +1 -0
- package/build/components/Animated/index.js +1 -0
- package/build/components/Avatar/Avatar.js +1 -0
- package/build/components/Avatar/index.d.ts +1 -0
- package/build/components/Avatar/index.js +1 -0
- package/build/components/Badge/Badge.js +1 -0
- package/build/components/Badge/index.d.ts +1 -0
- package/build/components/Badge/index.js +1 -0
- package/{components → build/components}/Banner/Banner.d.ts +1 -1
- package/build/components/Banner/Banner.js +1 -0
- package/build/components/Banner/index.d.ts +1 -0
- package/build/components/Banner/index.js +1 -0
- package/build/components/Box/Box.js +1 -0
- package/build/components/Box/index.d.ts +1 -0
- package/build/components/Box/index.js +1 -0
- package/{components → build/components}/Button/Button.d.ts +2 -23
- package/build/components/Button/Button.js +1 -0
- package/build/components/Button/IconButton.d.ts +25 -0
- package/build/components/Button/IconButton.js +1 -0
- package/build/components/Button/index.d.ts +3 -0
- package/build/components/Button/index.js +1 -0
- package/{components → build/components}/Carousel/Carousel.d.ts +2 -2
- package/build/components/Carousel/Carousel.js +1 -0
- package/build/components/Carousel/index.d.ts +1 -0
- package/build/components/Carousel/index.js +1 -0
- package/build/components/ClickOutside/ClickOutside.js +1 -0
- package/build/components/ClickOutside/index.d.ts +1 -0
- package/build/components/ClickOutside/index.js +1 -0
- package/{components → build/components}/ErrorBoundary/ErrorBoundary.d.ts +2 -1
- package/build/components/ErrorBoundary/ErrorBoundary.js +1 -0
- package/build/components/ErrorBoundary/index.d.ts +1 -0
- package/build/components/ErrorBoundary/index.js +1 -0
- package/build/components/Hamburger/DoubleCross.js +1 -0
- package/build/components/Hamburger/DoubleFlip.js +1 -0
- package/build/components/Hamburger/DoubleSpin.js +1 -0
- package/build/components/Hamburger/Hamburger.js +1 -0
- package/build/components/Hamburger/TripleFade.js +1 -0
- package/build/components/Hamburger/TripleFlip.js +1 -0
- package/build/components/Hamburger/TriplePrestige.js +1 -0
- package/build/components/Hamburger/TripleSpin.js +1 -0
- package/{components → build/components}/Hamburger/index.d.ts +2 -3
- package/build/components/Hamburger/index.js +1 -0
- package/build/components/Icon/Icon.js +1 -0
- package/build/components/Icon/icons.js +1 -0
- package/build/components/Icon/index.d.ts +1 -0
- package/build/components/Icon/index.js +1 -0
- package/build/components/Input/IconInput.js +1 -0
- package/build/components/Input/Input.js +1 -0
- package/build/components/Input/TextArea.js +1 -0
- package/build/components/Input/index.d.ts +3 -0
- package/build/components/Input/index.js +1 -0
- package/build/components/Layer/Layer.js +1 -0
- package/build/components/Layer/index.d.ts +1 -0
- package/build/components/Layer/index.js +1 -0
- package/build/components/Modal/Modal.js +1 -0
- package/build/components/Modal/index.d.ts +1 -0
- package/build/components/Modal/index.js +1 -0
- package/{components → build/components}/Select/Select.d.ts +2 -1
- package/build/components/Select/Select.js +1 -0
- package/build/components/Select/index.d.ts +1 -0
- package/build/components/Select/index.js +1 -0
- package/build/components/Spinner/Spinner.js +1 -0
- package/build/components/Spinner/index.d.ts +1 -0
- package/build/components/Spinner/index.js +1 -0
- package/build/components/ui.js +1 -0
- package/build/functions/assertDefined.js +1 -0
- package/build/functions/classNames.d.ts +8 -0
- package/build/functions/classNames.js +1 -0
- package/build/functions/getDeviceType.js +1 -0
- package/build/functions/index.d.ts +4 -0
- package/build/functions/index.js +1 -0
- package/build/functions/scrollToId.js +1 -0
- package/build/hooks/index.js +1 -0
- package/build/hooks/useFocusTrap.js +1 -0
- package/build/hooks/useMediaQuery.js +1 -0
- package/{hooks → build/hooks}/useMergeRefs.d.ts +2 -1
- package/build/hooks/useMergeRefs.js +1 -0
- package/build/hooks/useScroll.js +1 -0
- package/build/hooks/useScrollLock.js +1 -0
- package/build/hooks/useScrollToHash.js +1 -0
- package/build/hooks/useWindowResize.js +1 -0
- package/{index.d.ts → build/index.d.ts} +1 -2
- package/build/index.js +1 -0
- package/build/navigation/Link.d.ts +41 -0
- package/build/navigation/Link.js +1 -0
- package/build/navigation/PathParamsContext.d.ts +4 -0
- package/build/navigation/PathParamsContext.js +1 -0
- package/build/navigation/Route.d.ts +17 -0
- package/build/navigation/Route.js +1 -0
- package/build/navigation/Router.d.ts +8 -0
- package/build/navigation/Router.js +1 -0
- package/build/navigation/RouterContext.d.ts +12 -0
- package/build/navigation/RouterContext.js +1 -0
- package/build/navigation/Routes.d.ts +18 -0
- package/build/navigation/Routes.js +1 -0
- package/build/navigation/history.d.ts +10 -0
- package/build/navigation/history.js +1 -0
- package/build/navigation/hooks/useLocation.d.ts +7 -0
- package/build/navigation/hooks/useLocation.js +1 -0
- package/build/navigation/hooks/useNavigate.d.ts +7 -0
- package/build/navigation/hooks/useNavigate.js +1 -0
- package/build/navigation/hooks/usePathParams.d.ts +8 -0
- package/build/navigation/hooks/usePathParams.js +1 -0
- package/build/navigation/hooks/useRouterContext.d.ts +5 -0
- package/build/navigation/hooks/useRouterContext.js +1 -0
- package/build/navigation/hooks/useSearchParams.d.ts +2 -0
- package/build/navigation/hooks/useSearchParams.js +1 -0
- package/build/navigation/href.d.ts +8 -0
- package/build/navigation/href.js +1 -0
- package/build/navigation/index.d.ts +8 -0
- package/build/navigation/index.js +1 -0
- package/build/navigation/path.d.ts +2 -0
- package/build/navigation/path.js +1 -0
- package/build/navigation/string.d.ts +2 -0
- package/build/navigation/string.js +1 -0
- package/build/navigation/types.d.ts +33 -0
- package/build/navigation/types.js +0 -0
- package/build/style.css +1 -0
- package/build/utils/transformVfx.js +1 -0
- package/{utils → build/utils}/types.d.ts +7 -4
- package/build/utils/types.js +0 -0
- package/package.json +21 -10
- package/components/Accordion/Accordion.js +0 -56
- package/components/Accordion/index.d.ts +0 -2
- package/components/Accordion/index.js +0 -2
- package/components/Alert/Alert.js +0 -31
- package/components/Alert/index.d.ts +0 -2
- package/components/Alert/index.js +0 -2
- package/components/Animated/Animated.js +0 -94
- package/components/Animated/index.d.ts +0 -2
- package/components/Animated/index.js +0 -2
- package/components/Avatar/Avatar.js +0 -56
- package/components/Avatar/index.d.ts +0 -2
- package/components/Avatar/index.js +0 -2
- package/components/Badge/Badge.js +0 -31
- package/components/Badge/index.d.ts +0 -2
- package/components/Badge/index.js +0 -2
- package/components/Banner/Banner.js +0 -31
- package/components/Banner/index.d.ts +0 -2
- package/components/Banner/index.js +0 -2
- package/components/Box/Box.js +0 -3
- package/components/Box/index.d.ts +0 -2
- package/components/Box/index.js +0 -2
- package/components/Button/Button.js +0 -52
- package/components/Button/index.d.ts +0 -3
- package/components/Button/index.js +0 -3
- package/components/Carousel/Carousel.js +0 -106
- package/components/Carousel/index.d.ts +0 -2
- package/components/Carousel/index.js +0 -2
- package/components/ClickOutside/ClickOutside.js +0 -55
- package/components/ClickOutside/index.d.ts +0 -2
- package/components/ClickOutside/index.js +0 -2
- package/components/ErrorBoundary/ErrorBoundary.js +0 -61
- package/components/ErrorBoundary/index.d.ts +0 -2
- package/components/ErrorBoundary/index.js +0 -2
- package/components/Hamburger/DoubleCross.js +0 -39
- package/components/Hamburger/DoubleFlip.js +0 -39
- package/components/Hamburger/DoubleSpin.js +0 -40
- package/components/Hamburger/Hamburger.js +0 -66
- package/components/Hamburger/TripleFade.js +0 -40
- package/components/Hamburger/TripleFlip.js +0 -40
- package/components/Hamburger/TriplePrestige.js +0 -40
- package/components/Hamburger/TripleSpin.js +0 -41
- package/components/Hamburger/index.js +0 -9
- package/components/Icon/Icon.js +0 -32
- package/components/Icon/icons.js +0 -179
- package/components/Icon/index.d.ts +0 -2
- package/components/Icon/index.js +0 -2
- package/components/Input/IconInput.js +0 -33
- package/components/Input/Input.js +0 -31
- package/components/Input/TextArea.js +0 -31
- package/components/Input/index.d.ts +0 -5
- package/components/Input/index.js +0 -5
- package/components/Layer/Layer.js +0 -63
- package/components/Layer/index.d.ts +0 -2
- package/components/Layer/index.js +0 -2
- package/components/Link/Link.d.ts +0 -52
- package/components/Link/Link.js +0 -48
- package/components/Link/index.d.ts +0 -3
- package/components/Link/index.js +0 -3
- package/components/Modal/Modal.js +0 -48
- package/components/Modal/index.d.ts +0 -2
- package/components/Modal/index.js +0 -2
- package/components/Select/Select.js +0 -34
- package/components/Select/index.d.ts +0 -2
- package/components/Select/index.js +0 -2
- package/components/Spinner/Spinner.js +0 -31
- package/components/Spinner/index.d.ts +0 -2
- package/components/Spinner/index.js +0 -2
- package/components/ui.js +0 -44
- package/functions/assertDefined.js +0 -13
- package/functions/classNames.d.ts +0 -7
- package/functions/classNames.js +0 -16
- package/functions/getDeviceType.js +0 -17
- package/functions/index.d.ts +0 -5
- package/functions/index.js +0 -5
- package/functions/scrollToId.js +0 -17
- package/hooks/index.js +0 -7
- package/hooks/useFocusTrap.js +0 -48
- package/hooks/useMediaQuery.js +0 -28
- package/hooks/useMergeRefs.js +0 -24
- package/hooks/useScroll.js +0 -23
- package/hooks/useScrollLock.js +0 -45
- package/hooks/useScrollToHash.js +0 -21
- package/hooks/useWindowResize.js +0 -13
- package/index.js +0 -29
- package/style.css +0 -1
- package/utils/transformVfx.js +0 -208
- package/utils/types.js +0 -1
- /package/{components → build/components}/Alert/Alert.d.ts +0 -0
- /package/{components → build/components}/Avatar/Avatar.d.ts +0 -0
- /package/{components → build/components}/Badge/Badge.d.ts +0 -0
- /package/{components → build/components}/Box/Box.d.ts +0 -0
- /package/{components → build/components}/ClickOutside/ClickOutside.d.ts +0 -0
- /package/{components → build/components}/Hamburger/DoubleCross.d.ts +0 -0
- /package/{components → build/components}/Hamburger/DoubleFlip.d.ts +0 -0
- /package/{components → build/components}/Hamburger/DoubleSpin.d.ts +0 -0
- /package/{components → build/components}/Hamburger/Hamburger.d.ts +0 -0
- /package/{components → build/components}/Hamburger/TripleFade.d.ts +0 -0
- /package/{components → build/components}/Hamburger/TripleFlip.d.ts +0 -0
- /package/{components → build/components}/Hamburger/TriplePrestige.d.ts +0 -0
- /package/{components → build/components}/Hamburger/TripleSpin.d.ts +0 -0
- /package/{components → build/components}/Icon/Icon.d.ts +0 -0
- /package/{components → build/components}/Icon/icons.d.ts +0 -0
- /package/{components → build/components}/Input/IconInput.d.ts +0 -0
- /package/{components → build/components}/Input/Input.d.ts +0 -0
- /package/{components → build/components}/Input/TextArea.d.ts +0 -0
- /package/{components → build/components}/Layer/Layer.d.ts +0 -0
- /package/{components → build/components}/Modal/Modal.d.ts +0 -0
- /package/{components → build/components}/Spinner/Spinner.d.ts +0 -0
- /package/{components → build/components}/ui.d.ts +0 -0
- /package/{functions → build/functions}/assertDefined.d.ts +0 -0
- /package/{functions → build/functions}/getDeviceType.d.ts +0 -0
- /package/{functions → build/functions}/scrollToId.d.ts +0 -0
- /package/{hooks → build/hooks}/index.d.ts +0 -0
- /package/{hooks → build/hooks}/useFocusTrap.d.ts +0 -0
- /package/{hooks → build/hooks}/useMediaQuery.d.ts +0 -0
- /package/{hooks → build/hooks}/useScroll.d.ts +0 -0
- /package/{hooks → build/hooks}/useScrollLock.d.ts +0 -0
- /package/{hooks → build/hooks}/useScrollToHash.d.ts +0 -0
- /package/{hooks → build/hooks}/useWindowResize.d.ts +0 -0
- /package/{utils → build/utils}/transformVfx.d.ts +0 -0
package/utils/transformVfx.js
DELETED
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
var transformers = {
|
|
2
|
-
// --- Layout ---
|
|
3
|
-
pos: function (_a) {
|
|
4
|
-
var pos = _a.pos;
|
|
5
|
-
return "aui-pos-".concat(pos);
|
|
6
|
-
},
|
|
7
|
-
axis: function (_a) {
|
|
8
|
-
var axis = _a.axis;
|
|
9
|
-
return "aui-flex-".concat(axis);
|
|
10
|
-
},
|
|
11
|
-
gap: function (_a) {
|
|
12
|
-
var gap = _a.gap;
|
|
13
|
-
return "aui-gap-".concat(gap);
|
|
14
|
-
},
|
|
15
|
-
align: function (_a) {
|
|
16
|
-
var align = _a.align;
|
|
17
|
-
return "aui-align-".concat(align);
|
|
18
|
-
},
|
|
19
|
-
justify: function (_a) {
|
|
20
|
-
var justify = _a.justify;
|
|
21
|
-
return "aui-justify-".concat(justify);
|
|
22
|
-
},
|
|
23
|
-
wrap: function () { return "aui-flex-wrap"; },
|
|
24
|
-
overflow: function (_a) {
|
|
25
|
-
var overflow = _a.overflow;
|
|
26
|
-
return "aui-ov-".concat(overflow);
|
|
27
|
-
},
|
|
28
|
-
overflowX: function (_a) {
|
|
29
|
-
var overflowX = _a.overflowX;
|
|
30
|
-
return "aui-ov-x-".concat(overflowX);
|
|
31
|
-
},
|
|
32
|
-
overflowY: function (_a) {
|
|
33
|
-
var overflowY = _a.overflowY;
|
|
34
|
-
return "aui-ov-y-".concat(overflowY);
|
|
35
|
-
},
|
|
36
|
-
z: function (_a) {
|
|
37
|
-
var z = _a.z;
|
|
38
|
-
return "aui-z-".concat(z);
|
|
39
|
-
},
|
|
40
|
-
// --- Spacing ---
|
|
41
|
-
padding: function (_a) {
|
|
42
|
-
var padding = _a.padding;
|
|
43
|
-
return "aui-pa-".concat(padding);
|
|
44
|
-
},
|
|
45
|
-
paddingX: function (_a) {
|
|
46
|
-
var paddingX = _a.paddingX, paddingLeft = _a.paddingLeft, paddingRight = _a.paddingRight;
|
|
47
|
-
var result = [];
|
|
48
|
-
if (!paddingLeft)
|
|
49
|
-
result.push("aui-pl-".concat(paddingX));
|
|
50
|
-
if (!paddingRight)
|
|
51
|
-
result.push("aui-pr-".concat(paddingX));
|
|
52
|
-
return result.join(" ");
|
|
53
|
-
},
|
|
54
|
-
paddingY: function (_a) {
|
|
55
|
-
var paddingY = _a.paddingY, paddingTop = _a.paddingTop, paddingBottom = _a.paddingBottom;
|
|
56
|
-
var result = [];
|
|
57
|
-
if (!paddingTop)
|
|
58
|
-
result.push("aui-pt-".concat(paddingY));
|
|
59
|
-
if (!paddingBottom)
|
|
60
|
-
result.push("aui-pb-".concat(paddingY));
|
|
61
|
-
return result.join(" ");
|
|
62
|
-
},
|
|
63
|
-
paddingTop: function (_a) {
|
|
64
|
-
var paddingTop = _a.paddingTop;
|
|
65
|
-
return "aui-pt-".concat(paddingTop);
|
|
66
|
-
},
|
|
67
|
-
paddingBottom: function (_a) {
|
|
68
|
-
var paddingBottom = _a.paddingBottom;
|
|
69
|
-
return "aui-pb-".concat(paddingBottom);
|
|
70
|
-
},
|
|
71
|
-
paddingLeft: function (_a) {
|
|
72
|
-
var paddingLeft = _a.paddingLeft;
|
|
73
|
-
return "aui-pl-".concat(paddingLeft);
|
|
74
|
-
},
|
|
75
|
-
paddingRight: function (_a) {
|
|
76
|
-
var paddingRight = _a.paddingRight;
|
|
77
|
-
return "aui-pr-".concat(paddingRight);
|
|
78
|
-
},
|
|
79
|
-
margin: function (_a) {
|
|
80
|
-
var margin = _a.margin;
|
|
81
|
-
return "aui-ma-".concat(margin);
|
|
82
|
-
},
|
|
83
|
-
marginX: function (_a) {
|
|
84
|
-
var marginX = _a.marginX, marginLeft = _a.marginLeft, marginRight = _a.marginRight;
|
|
85
|
-
var result = [];
|
|
86
|
-
if (!marginLeft)
|
|
87
|
-
result.push("aui-ml-".concat(marginX));
|
|
88
|
-
if (!marginRight)
|
|
89
|
-
result.push("aui-mr-".concat(marginX));
|
|
90
|
-
return result.join(" ");
|
|
91
|
-
},
|
|
92
|
-
marginY: function (_a) {
|
|
93
|
-
var marginY = _a.marginY, marginTop = _a.marginTop, marginBottom = _a.marginBottom;
|
|
94
|
-
var result = [];
|
|
95
|
-
if (!marginTop)
|
|
96
|
-
result.push("aui-mt-".concat(marginY));
|
|
97
|
-
if (!marginBottom)
|
|
98
|
-
result.push("aui-mb-".concat(marginY));
|
|
99
|
-
return result.join(" ");
|
|
100
|
-
},
|
|
101
|
-
marginTop: function (_a) {
|
|
102
|
-
var marginTop = _a.marginTop;
|
|
103
|
-
return "aui-mt-".concat(marginTop);
|
|
104
|
-
},
|
|
105
|
-
marginBottom: function (_a) {
|
|
106
|
-
var marginBottom = _a.marginBottom;
|
|
107
|
-
return "aui-mb-".concat(marginBottom);
|
|
108
|
-
},
|
|
109
|
-
marginLeft: function (_a) {
|
|
110
|
-
var marginLeft = _a.marginLeft;
|
|
111
|
-
return "aui-ml-".concat(marginLeft);
|
|
112
|
-
},
|
|
113
|
-
marginRight: function (_a) {
|
|
114
|
-
var marginRight = _a.marginRight;
|
|
115
|
-
return "aui-mr-".concat(marginRight);
|
|
116
|
-
},
|
|
117
|
-
// --- Dimensions ---
|
|
118
|
-
width: function (_a) {
|
|
119
|
-
var width = _a.width;
|
|
120
|
-
return "aui-w-".concat(width);
|
|
121
|
-
},
|
|
122
|
-
maxWidth: function (_a) {
|
|
123
|
-
var maxWidth = _a.maxWidth;
|
|
124
|
-
return "aui-mw-".concat(maxWidth);
|
|
125
|
-
},
|
|
126
|
-
height: function (_a) {
|
|
127
|
-
var height = _a.height;
|
|
128
|
-
return "aui-h-".concat(height);
|
|
129
|
-
},
|
|
130
|
-
maxHeight: function (_a) {
|
|
131
|
-
var maxHeight = _a.maxHeight;
|
|
132
|
-
return "aui-mh-".concat(maxHeight);
|
|
133
|
-
},
|
|
134
|
-
// --- Borders ---
|
|
135
|
-
radius: function (_a) {
|
|
136
|
-
var radius = _a.radius;
|
|
137
|
-
return "aui-radius-".concat(radius);
|
|
138
|
-
},
|
|
139
|
-
border: function () { return "aui-ba"; },
|
|
140
|
-
borderTop: function () { return "aui-bt"; },
|
|
141
|
-
borderBottom: function () { return "aui-bb"; },
|
|
142
|
-
borderLeft: function () { return "aui-bl"; },
|
|
143
|
-
borderRight: function () { return "aui-br"; },
|
|
144
|
-
borderWidth: function (_a) {
|
|
145
|
-
var borderWidth = _a.borderWidth;
|
|
146
|
-
return "aui-bw-".concat(borderWidth);
|
|
147
|
-
},
|
|
148
|
-
borderStyle: function (_a) {
|
|
149
|
-
var borderStyle = _a.borderStyle;
|
|
150
|
-
return "aui-bs-".concat(borderStyle);
|
|
151
|
-
},
|
|
152
|
-
borderColor: function (_a) {
|
|
153
|
-
var borderColor = _a.borderColor;
|
|
154
|
-
return "aui-bc-".concat(borderColor);
|
|
155
|
-
},
|
|
156
|
-
// --- Effects ---
|
|
157
|
-
shadow: function (_a) {
|
|
158
|
-
var shadow = _a.shadow;
|
|
159
|
-
return "aui-shadow-".concat(shadow);
|
|
160
|
-
},
|
|
161
|
-
opacity: function (_a) {
|
|
162
|
-
var opacity = _a.opacity;
|
|
163
|
-
return "aui-op-".concat(opacity);
|
|
164
|
-
},
|
|
165
|
-
// --- Typography ---
|
|
166
|
-
fontSize: function (_a) {
|
|
167
|
-
var fontSize = _a.fontSize;
|
|
168
|
-
return "aui-f-".concat(fontSize);
|
|
169
|
-
},
|
|
170
|
-
fontWeight: function (_a) {
|
|
171
|
-
var fontWeight = _a.fontWeight;
|
|
172
|
-
return "aui-fw-".concat(fontWeight);
|
|
173
|
-
},
|
|
174
|
-
textAlign: function (_a) {
|
|
175
|
-
var textAlign = _a.textAlign;
|
|
176
|
-
return "aui-ta-".concat(textAlign);
|
|
177
|
-
},
|
|
178
|
-
italics: function () { return "aui-it"; },
|
|
179
|
-
// --- Colors ---
|
|
180
|
-
color: function (_a) {
|
|
181
|
-
var color = _a.color;
|
|
182
|
-
return "aui-c-".concat(color);
|
|
183
|
-
},
|
|
184
|
-
backgroundColor: function (_a) {
|
|
185
|
-
var backgroundColor = _a.backgroundColor;
|
|
186
|
-
return "aui-bg-".concat(backgroundColor);
|
|
187
|
-
},
|
|
188
|
-
// --- Misc ---
|
|
189
|
-
cursor: function (_a) {
|
|
190
|
-
var cursor = _a.cursor;
|
|
191
|
-
return "aui-cursor-".concat(cursor);
|
|
192
|
-
},
|
|
193
|
-
};
|
|
194
|
-
// Main function
|
|
195
|
-
export default function transformVfx(vfx) {
|
|
196
|
-
if (!vfx)
|
|
197
|
-
return null;
|
|
198
|
-
var classes = [];
|
|
199
|
-
Object.entries(vfx).forEach(function (_a) {
|
|
200
|
-
var key = _a[0], value = _a[1];
|
|
201
|
-
var transformer = transformers[key];
|
|
202
|
-
var result = transformer(vfx);
|
|
203
|
-
if (value && result) {
|
|
204
|
-
classes.push(result);
|
|
205
|
-
}
|
|
206
|
-
});
|
|
207
|
-
return classes.join(" ") || null;
|
|
208
|
-
}
|
package/utils/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|