@symbo.ls/input 2.11.204 → 2.11.210

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
@@ -14,11 +14,11 @@ export const Checkbox = {
14
14
  Input: {
15
15
  type: 'checkbox',
16
16
  display: 'none',
17
- ':checked ~ div': {
17
+ ':checked + div': {
18
18
  background: '#0474F2',
19
19
  border: '1px solid transparent'
20
20
  },
21
- ':checked ~ div > svg': { opacity: '1' }
21
+ ':checked + div > svg': { opacity: '1' }
22
22
  },
23
23
 
24
24
  Flex: {
@@ -42,13 +42,15 @@ export const Checkbox = {
42
42
 
43
43
  export const CheckboxTitleParagraph = {
44
44
  extend: Flex,
45
+ tag: 'label',
46
+
45
47
  props: {
46
48
  boxSize: 'fit-content',
47
49
  align: 'flex-start flex-start',
48
50
  gap: 'A'
49
51
  },
50
52
 
51
- Checkbox: {},
53
+ Checkbox: { tag: 'div' },
52
54
  TitleParagraph: {
53
55
  gap: 'Z1',
54
56
  margin: 'Y - - -'
package/Radio.js CHANGED
@@ -7,7 +7,7 @@ export const Radio = {
7
7
 
8
8
  Input: {
9
9
  type: 'radio',
10
- ':checked ~ div:after': { opacity: '1' }
10
+ ':checked + div:after': { opacity: '1' }
11
11
  },
12
12
 
13
13
  Flex: {
package/Textarea.js CHANGED
@@ -8,7 +8,17 @@ export const Textarea = {
8
8
  extend: [Input, Flex],
9
9
 
10
10
  props: {
11
- variant: 'outlined'
11
+ variant: 'outlined',
12
+ round: 'Z2',
13
+ maxWidth: 'H',
14
+ minHeight: 'E',
15
+ placeholder: 'Leave us a message...',
16
+ fontSize: 'Z1',
17
+ padding: 'A',
18
+ background: 'rgba(0, 0, 0, 0)',
19
+ border: '1px solid #3F3F43',
20
+ color: 'white',
21
+ style: { resize: 'none' }
12
22
  },
13
23
 
14
24
  '.simple': {
@@ -25,12 +35,11 @@ export const Textarea = {
25
35
  props: {
26
36
  border: '1px solid #3F3F43',
27
37
  background: 'transparent',
28
- round: 'Y+W',
38
+ // round: 'Y+W',
29
39
  width: 'G1',
30
40
  height: 'D2+W',
31
41
  lineHeight: 1.4,
32
42
  placeholder: 'Leave us a message...',
33
- fontSize: 'Y2',
34
43
  outline: 'none !important',
35
44
  color: 'white',
36
45
  resize: 'none'
@@ -61,19 +70,19 @@ export const TextareaWithButton = {
61
70
  extend: Flex,
62
71
  props: { gap: 'Y2' },
63
72
  Textarea: {
64
- height: '52px',
73
+ height: 'C2+W',
74
+ minWidth: 'H',
65
75
  padding: 'A',
66
76
  fontSize: 'Z1',
67
77
  color: 'white',
68
- placeholder: 'Message',
69
- round: 'Z2'
70
- // background: 'gray'
78
+ round: 'Z2',
79
+ minHeight: 'dit-content'
71
80
 
72
81
  },
73
82
  IconCommonButton: {
74
83
  props: {
75
84
  background: 'blue',
76
- icon: { name: 'send' }
85
+ Icon: { name: 'send' }
77
86
  }
78
87
  }
79
88
  }
package/Toggle.js CHANGED
@@ -6,7 +6,7 @@ export const Toggle = {
6
6
  extend: Checkbox,
7
7
 
8
8
  Input: {
9
- ':checked ~ div': {
9
+ ':checked + div': {
10
10
  background: 'green2 +8',
11
11
  justifyContent: 'flex-end'
12
12
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@symbo.ls/input",
3
- "version": "2.11.204",
3
+ "version": "2.11.210",
4
4
  "main": "index.js",
5
5
  "source": "index.js",
6
6
  "license": "MIT",
7
- "gitHead": "dab7f6d84335bca5af356b849c51204910670e76",
7
+ "gitHead": "45ec4a9a2ab3233c83b705202980d45b0c3cb91e",
8
8
  "dependencies": {
9
9
  "@domql/utils": "latest",
10
10
  "@symbo.ls/atoms": "latest"