@symbo.ls/dialog 3.0.2 → 3.0.100

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/index.js +28 -37
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -3,22 +3,17 @@
3
3
  export const Dialog = {
4
4
  extends: 'Flex',
5
5
  tag: 'dialog',
6
-
7
- props: {
8
- flow: 'column',
9
- border: '0',
10
- theme: 'dialog',
11
- round: 'Z2'
12
- }
6
+ flow: 'column',
7
+ border: '0',
8
+ theme: 'dialog',
9
+ round: 'Z2'
13
10
  }
14
11
 
15
12
  export const DialogHeader = {
16
13
  extends: 'Hgroup',
17
14
 
18
- props: {
19
- minWidth: '100%',
20
- gap: 'A'
21
- },
15
+ minWidth: '100%',
16
+ gap: 'A',
22
17
 
23
18
  Title: {
24
19
  align: 'center space-between',
@@ -39,40 +34,36 @@ export const DialogHeader = {
39
34
  export const DialogFooter = {
40
35
  extends: 'Flex',
41
36
 
42
- props: {
43
- align: 'center flex-end',
44
- gap: 'X2',
45
- margin: 'auto - -',
46
- padding: 'Y2 X2'
47
- },
37
+ align: 'center flex-end',
38
+ gap: 'X2',
39
+ margin: 'auto - -',
40
+ padding: 'Y2 X2',
48
41
 
49
42
  childExtends: {
50
43
  extends: 'Button',
51
- props: {
52
- textTransform: 'uppercase',
53
- background: 'transparent',
54
- '@dark': {
55
- theme: 'primary @dark .color-only'
56
- },
57
- '@light': {
58
- theme: 'primary @light .color-only'
59
- },
60
- '&': {
61
- padding: 'Z A'
62
- },
63
- ':hover': {
64
- theme: 'tertiary'
65
- },
66
- ':active': {
67
- background: 'white .1'
68
- }
44
+ textTransform: 'uppercase',
45
+ background: 'transparent',
46
+ '@dark': {
47
+ theme: 'primary @dark .color-only'
48
+ },
49
+ '@light': {
50
+ theme: 'primary @light .color-only'
51
+ },
52
+ '&': {
53
+ padding: 'Z A'
54
+ },
55
+ ':hover': {
56
+ theme: 'tertiary'
57
+ },
58
+ ':active': {
59
+ background: 'white .1'
69
60
  }
70
61
  },
71
62
 
72
- cancel: {
63
+ Cancel: {
73
64
  text: 'cancel'
74
65
  },
75
- ok: {
66
+ Ok: {
76
67
  text: 'ok'
77
68
  }
78
69
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@symbo.ls/dialog",
3
- "version": "3.0.2",
3
+ "version": "3.0.100",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "c4dacc88fa3a65574680d11e320307dd2a22e6e9",
6
+ "gitHead": "1302a0674cc4d420f304737973a7f7bece86f359",
7
7
  "dependencies": {
8
- "@symbo.ls/atoms": "^3.0.2",
9
- "@symbo.ls/button": "^3.0.2"
8
+ "@symbo.ls/atoms": "^3.0.100",
9
+ "@symbo.ls/button": "^3.0.100"
10
10
  },
11
11
  "source": "src/index.js"
12
12
  }