@symbo.ls/atoms 2.11.212 → 2.11.215
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/Collection.js +2 -2
- package/Theme.js +5 -1
- package/package.json +2 -2
package/Collection.js
CHANGED
|
@@ -49,7 +49,7 @@ export const Collection = {
|
|
|
49
49
|
const obj = {
|
|
50
50
|
tag: 'fragment',
|
|
51
51
|
props: {
|
|
52
|
-
childProps: el.props.childProps
|
|
52
|
+
childProps: el.props && el.props.childProps
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -79,7 +79,7 @@ export const Collection = {
|
|
|
79
79
|
const obj = {
|
|
80
80
|
tag: 'fragment',
|
|
81
81
|
props: {
|
|
82
|
-
childProps: el.props.childProps
|
|
82
|
+
childProps: el.props && el.props.childProps
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
package/Theme.js
CHANGED
|
@@ -14,7 +14,7 @@ import { isUndefined } from '@domql/utils'
|
|
|
14
14
|
|
|
15
15
|
export const getSystemTheme = ({ context, state }) => {
|
|
16
16
|
const rootState = state && state.__root
|
|
17
|
-
return rootState ? rootState.globalTheme : context.designSystem && context.designSystem.globalTheme
|
|
17
|
+
return rootState && rootState.globalTheme ? rootState.globalTheme : context.designSystem && context.designSystem.globalTheme
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export const Theme = {
|
|
@@ -127,6 +127,10 @@ export const Theme = {
|
|
|
127
127
|
textShadow: deps.transformShadow(props.textShadow)
|
|
128
128
|
}),
|
|
129
129
|
|
|
130
|
+
backdropFilter: ({ props, deps }) => !isUndefined(props.backdropFilter) && ({
|
|
131
|
+
backdropFilter: props.backdropFilter
|
|
132
|
+
}),
|
|
133
|
+
|
|
130
134
|
opacity: ({ props }) => !isUndefined(props.opacity) && ({
|
|
131
135
|
opacity: props.opacity
|
|
132
136
|
}),
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/atoms",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.215",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "1dc01c98b5717566aaee3155b73829e428d51055",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@domql/state": "latest",
|
|
9
9
|
"@domql/utils": "latest",
|