@symbo.ls/button 2.11.156 → 2.11.160
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/index.js +36 -3
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -62,20 +62,53 @@ export const CancelConfirmButtons = {
|
|
|
62
62
|
],
|
|
63
63
|
|
|
64
64
|
props: {
|
|
65
|
-
gap: '
|
|
65
|
+
gap: 'Z',
|
|
66
66
|
maxWidth: 'fit-content',
|
|
67
67
|
childProps: {
|
|
68
68
|
fontWeight: '500',
|
|
69
69
|
color: 'white',
|
|
70
70
|
padding: 'A B+X',
|
|
71
|
+
round: 'A',
|
|
71
72
|
':first-child': {
|
|
72
73
|
background: 'transparent'
|
|
73
74
|
},
|
|
74
75
|
':last-child': {
|
|
75
|
-
background: '#0474F2'
|
|
76
|
-
round: 'A'
|
|
76
|
+
background: '#0474F2'
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export const ButtonTemplate1 = {
|
|
83
|
+
extend: Button,
|
|
84
|
+
props: {
|
|
85
|
+
icon: { name: 'circle' },
|
|
86
|
+
boxSize: 'fit-content fit-content',
|
|
87
|
+
padding: 'A',
|
|
88
|
+
round: 'A',
|
|
89
|
+
color: 'white',
|
|
90
|
+
background: '#F4454E'
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export const ButtonTemplate2 = {
|
|
95
|
+
extend: ButtonTemplate1,
|
|
96
|
+
icon: null,
|
|
97
|
+
props: { text: 'Button' }
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export const ButtonTemplate3 = {
|
|
101
|
+
extend: ButtonTemplate1,
|
|
102
|
+
props: {
|
|
103
|
+
text: 'Button',
|
|
104
|
+
gap: 'Z'
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export const ButtonTemplate4 = {
|
|
109
|
+
extend: ButtonTemplate3,
|
|
110
|
+
icon: {},
|
|
111
|
+
text: 'Button',
|
|
112
|
+
Icon: { props: { icon: 'circle' } }
|
|
80
113
|
|
|
81
114
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/button",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.160",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "f36bc99a2d0c1b771e3d8e104d1b1005b2b0a33a",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@symbo.ls/atoms": "latest",
|
|
9
9
|
"@symbo.ls/icon": "latest"
|