@symbo.ls/uikit 3.7.6 → 3.8.1

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/Atoms/Img.js CHANGED
@@ -1,22 +1,9 @@
1
1
  'use strict'
2
2
 
3
- import { resolvePropValue } from 'attrs-in-props'
4
-
5
3
  export const Img = {
6
4
  tag: 'img',
7
5
 
8
6
  attr: {
9
- src: (el) => {
10
- const { props, context } = el
11
- let src = (props.preSrc || '') + resolvePropValue(el, props.src)
12
-
13
- let isUrl
14
- try { isUrl = new URL(src) } catch (e) { }
15
- if (isUrl) return src
16
- const fileSrc = src && src.startsWith('/files/') ? src.slice(7) : src
17
- const file = context.files && (context.files[src] || context.files[fileSrc])
18
- if (file) return file.content && file.content.src
19
- },
20
7
  title: ({ props }) => props.title || props.alt
21
8
  }
22
9
  }
package/Input/Textarea.js CHANGED
@@ -4,33 +4,24 @@ export const Textarea = {
4
4
  tag: 'textarea',
5
5
  extends: ['Input', 'Flex'],
6
6
 
7
- variant: 'outlined',
8
7
  fontfamily: 'Avenir',
9
8
  round: 'Z1',
10
9
  placeholder: 'Leave us a message...',
11
10
  padding: 'A',
12
11
  theme: 'field',
13
12
  border: 'none',
14
- maxWidth: 'G1_default',
15
13
  minHeight: 'E_default',
16
14
  width: '100%',
17
15
  height: 'E1_default',
18
16
  fontFamily: 'inherit',
19
- style: { resize: 'none' },
20
17
 
21
- '.simple': {
22
- theme: 'field',
23
- round: 'Z2',
24
- lineHeight: 1.4
25
- },
18
+ theme: 'field',
19
+ round: 'Z2',
20
+ lineHeight: 1.4,
26
21
 
27
22
  '.outlined': {
28
- theme: 'field',
29
23
  borderWidth: '1px',
30
- borderStyle: 'solid',
31
- lineHeight: 1.4,
32
- placeholder: 'Leave us a message...',
33
- resize: 'none'
24
+ borderStyle: 'solid'
34
25
  },
35
26
 
36
27
  html: (el, s) => el.props.value
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@symbo.ls/uikit",
3
3
  "description": "UI Library built on Scratch and DOMQL",
4
- "version": "3.7.6",
4
+ "version": "3.8.1",
5
5
  "author": "symbo.ls",
6
6
  "repository": "https://github.com/symbo-ls/smbls",
7
7
  "main": "index.js",
@@ -21,13 +21,13 @@
21
21
  "dist"
22
22
  ],
23
23
  "dependencies": {
24
- "@domql/router": "^3.7.6",
25
- "@domql/state": "^3.7.6",
26
- "@domql/utils": "^3.7.6",
27
- "@symbo.ls/scratch": "^3.7.6",
28
- "@symbo.ls/smbls-utils": "^3.7.6",
29
- "attrs-in-props": "^3.7.6",
30
- "css-in-props": "^3.7.6"
24
+ "@domql/router": "^3.8.1",
25
+ "@domql/state": "^3.8.1",
26
+ "@domql/utils": "^3.8.1",
27
+ "@symbo.ls/scratch": "^3.8.1",
28
+ "@symbo.ls/smbls-utils": "^3.8.1",
29
+ "attrs-in-props": "^3.8.1",
30
+ "css-in-props": "^3.8.1"
31
31
  },
32
32
  "scripts": {
33
33
  "prepublish": "rm -rf dist && npx esbuild index.js --target=es2017 --format=cjs --sourcemap=external --outfile=dist/index.cjs.js"