@symbo.ls/input 2.11.267 → 2.11.271

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/Checkbox.js CHANGED
@@ -1,9 +1,7 @@
1
1
  'use strict'
2
2
 
3
- import { Flex, Focusable } from '@symbo.ls/atoms'
4
-
5
3
  export const Checkbox = {
6
- extend: Focusable,
4
+ extend: 'Focusable',
7
5
 
8
6
  tag: 'label',
9
7
 
@@ -33,7 +31,7 @@ export const Checkbox = {
33
31
  align: 'center center',
34
32
  fontSize: 'B1',
35
33
  padding: 'V',
36
- theme: 'tertiary .outline',
34
+ theme: 'field',
37
35
  round: 'X2',
38
36
  transition: 'background A defaultBezier'
39
37
  },
@@ -49,7 +47,7 @@ export const Checkbox = {
49
47
  }
50
48
 
51
49
  export const CheckboxHgroup = {
52
- extend: Flex,
50
+ extend: 'Flex',
53
51
  tag: 'label',
54
52
 
55
53
  props: {
package/Input.js CHANGED
@@ -1,11 +1,11 @@
1
1
  'use strict'
2
2
 
3
3
  import { isString, replaceLiteralsWithObjectFields } from '@domql/utils'
4
- import { Focusable } from '@symbo.ls/atoms'
5
4
 
6
5
  export const Input = {
6
+ extend: ['Focusable'],
7
+
7
8
  tag: 'input',
8
- extend: [Focusable],
9
9
 
10
10
  deps: { isString, replaceLiteralsWithObjectFields },
11
11
 
@@ -15,9 +15,8 @@ export const Input = {
15
15
  theme: 'field',
16
16
  fontSize: 'A',
17
17
  round: 'C',
18
- lineHeight: 1,
19
- fontFamily: 'smbls',
20
- padding: 'Z A'
18
+ lineHeight: '1',
19
+ padding: 'Z2 B'
21
20
  },
22
21
 
23
22
  attr: {
package/NumberInput.js CHANGED
@@ -1,10 +1,9 @@
1
1
  'use strict'
2
2
 
3
- import { Flex } from '@symbo.ls/atoms'
4
3
  import { Input } from './Input'
5
4
 
6
5
  export const NumberInput = {
7
- extend: [Input, Flex],
6
+ extend: ['Flex', Input],
8
7
 
9
8
  props: {
10
9
  type: 'number',
package/Radio.js CHANGED
@@ -1,6 +1,5 @@
1
1
  'use strict'
2
2
 
3
- import { Pseudo } from '@symbo.ls/atoms'
4
3
  import { Checkbox, CheckboxHgroup } from './Checkbox'
5
4
 
6
5
  export const Radio = {
@@ -12,7 +11,7 @@ export const Radio = {
12
11
  },
13
12
 
14
13
  Flex: {
15
- extend: Pseudo,
14
+ extend: 'Pseudo',
16
15
  props: {
17
16
  round: '100%',
18
17
  padding: 'Y',
package/Textarea.js CHANGED
@@ -13,12 +13,13 @@ export const Textarea = {
13
13
  round: 'Z1',
14
14
  placeholder: 'Leave us a message...',
15
15
  padding: 'A',
16
- theme: 'transparent',
16
+ theme: 'field',
17
17
  border: 'none',
18
18
  maxWidth: 'G1_default',
19
19
  minHeight: 'E_default',
20
20
  width: '100%',
21
21
  height: 'E1_default',
22
+ fontFamily: 'inherit',
22
23
  style: { resize: 'none' }
23
24
  },
24
25
 
@@ -32,10 +33,11 @@ export const Textarea = {
32
33
 
33
34
  '.outlined': {
34
35
  props: {
35
- background: 'transparent',
36
+ theme: 'field',
37
+ borderWidth: '1px',
38
+ borderStyle: 'solid',
36
39
  lineHeight: 1.4,
37
40
  placeholder: 'Leave us a message...',
38
- outline: 'none !important',
39
41
  resize: 'none'
40
42
  }
41
43
  }
@@ -52,7 +54,7 @@ export const TextareaWithButton = {
52
54
  round: 'Z2',
53
55
  minHeight: 'fit-content'
54
56
  },
55
- IconFlexButton: {
57
+ SquareButton: {
56
58
  props: {
57
59
  background: 'blue',
58
60
  Icon: { name: 'send' }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@symbo.ls/input",
3
- "version": "2.11.267",
3
+ "version": "2.11.271",
4
4
  "main": "index.js",
5
5
  "source": "index.js",
6
6
  "license": "MIT",
7
- "gitHead": "8641ea0f87d8ae5c7c0266f94a38f5714cac1e34",
7
+ "gitHead": "a57eda1f271195de0c1da82ebe89541a2874e1ad",
8
8
  "dependencies": {
9
9
  "@domql/utils": "latest",
10
10
  "@symbo.ls/atoms": "latest"