@symbo.ls/atoms 2.29.69 → 2.29.70

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 (2) hide show
  1. package/Text.js +3 -2
  2. package/package.json +6 -6
package/Text.js CHANGED
@@ -4,7 +4,7 @@ import { exec, isUndefined } from '@domql/utils'
4
4
  import { getFontSizeByKey, getFontFamily } from '@symbo.ls/scratch'
5
5
 
6
6
  const props = {
7
- fontSize: el => {
7
+ fontSize: (el) => {
8
8
  const { props, deps } = el
9
9
  return props.fontSize ? deps.getFontSizeByKey(props.fontSize) : null
10
10
  },
@@ -20,7 +20,7 @@ const props = {
20
20
  export const Text = {
21
21
  deps: { exec, getFontSizeByKey, getFontFamily },
22
22
 
23
- text: el => {
23
+ text: (el) => {
24
24
  const { key, props, state, deps } = el
25
25
  if (props.text === true)
26
26
  return (state && state[key]) || (props && props[key])
@@ -78,6 +78,7 @@ export const Strong = {
78
78
  tag: 'strong',
79
79
  props: { fontWeight: '700' }
80
80
  }
81
+ export const U = { tag: 'u' }
81
82
  export const Underline = { tag: 'u' }
82
83
  export const Italic = { tag: 'i' }
83
84
 
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@symbo.ls/atoms",
3
- "version": "2.29.69",
3
+ "version": "2.29.70",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "269b8fceb4f17d33c48f1dedb21bc7bf09c2ef29",
6
+ "gitHead": "1407af1db22e20fafb2f7c7a5f9259a97c2dbb26",
7
7
  "dependencies": {
8
- "@domql/state": "^2.29.69",
9
- "@domql/utils": "^2.29.69",
10
- "@symbo.ls/emotion": "^2.29.69",
11
- "@symbo.ls/scratch": "^2.29.69"
8
+ "@domql/state": "^2.29.70",
9
+ "@domql/utils": "^2.29.70",
10
+ "@symbo.ls/emotion": "^2.29.70",
11
+ "@symbo.ls/scratch": "^2.29.70"
12
12
  },
13
13
  "source": "src/index.js",
14
14
  "devDependencies": {