@symbo.ls/atoms 2.33.13 → 2.33.17

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.
Files changed (3) hide show
  1. package/Box.js +15 -3
  2. package/Text.js +0 -1
  3. package/package.json +6 -6
package/Box.js CHANGED
@@ -155,8 +155,8 @@ export const Box = {
155
155
  [childrenAsDefault]: isObjectLike(v)
156
156
  ? v
157
157
  : childrenAsDefault === 'state'
158
- ? { value: v }
159
- : { text: v }
158
+ ? { value: v }
159
+ : { text: v }
160
160
  }))
161
161
  }
162
162
  } else if (isString(children) || isNumber(children)) {
@@ -1118,7 +1118,19 @@ export const Box = {
1118
1118
  props.borderRadius || props.round,
1119
1119
  props,
1120
1120
  'borderRadius'
1121
- )
1121
+ ),
1122
+ clip: ({ props }) =>
1123
+ !isUndefined(props.clip)
1124
+ ? {
1125
+ clip: props.clip
1126
+ }
1127
+ : null
1128
+ },
1129
+
1130
+ // scrollbar
1131
+ ...{
1132
+ scrollbarWidth: ({ props, deps }) =>
1133
+ deps.transformSizeRatio('scrollbarWidth', props)
1122
1134
  },
1123
1135
 
1124
1136
  // container queries
package/Text.js CHANGED
@@ -31,7 +31,6 @@ export const Text = {
31
31
  font: ({ props }) => !isUndefined(props.font) && { font: props.font },
32
32
  lineHeight: ({ props }) =>
33
33
  !isUndefined(props.lineHeight) && { lineHeight: props.lineHeight },
34
- // lineHeight: ({ props }) => !isUndefined(props.lineHeight) && getSpacingBasedOnRatio(props, 'lineHeight', null, ''),
35
34
  textDecoration: ({ props }) =>
36
35
  !isUndefined(props.textDecoration) && {
37
36
  textDecoration: props.textDecoration
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@symbo.ls/atoms",
3
- "version": "2.33.13",
3
+ "version": "2.33.17",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "3d34d72f2ada44fdb269644cc915d3ef84cfe360",
6
+ "gitHead": "b27e25a07197b6fa84bb3d62a583bdc6cc16d5b5",
7
7
  "dependencies": {
8
- "@domql/state": "^2.33.13",
9
- "@domql/utils": "^2.33.13",
10
- "@symbo.ls/emotion": "^2.33.13",
11
- "@symbo.ls/scratch": "^2.33.13"
8
+ "@domql/state": "^2.33.17",
9
+ "@domql/utils": "^2.33.17",
10
+ "@symbo.ls/emotion": "^2.33.17",
11
+ "@symbo.ls/scratch": "^2.33.17"
12
12
  },
13
13
  "source": "src/index.js",
14
14
  "devDependencies": {