@symbo.ls/button 2.11.247 → 2.11.261
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 +7 -13
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -78,20 +78,14 @@ export const CommonButton = {
|
|
|
78
78
|
Icon: {
|
|
79
79
|
props: { fontSize: 'B1' }
|
|
80
80
|
},
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
text: 'Button',
|
|
84
|
-
line_height: '1em',
|
|
85
|
-
fontSize: 'Z2',
|
|
86
|
-
letterSpacing: '.005em'
|
|
87
|
-
}
|
|
88
|
-
}
|
|
81
|
+
|
|
82
|
+
text: 'Button'
|
|
89
83
|
}
|
|
90
84
|
|
|
91
85
|
export const IconCommonButton = {
|
|
92
86
|
extend: CommonButton,
|
|
93
87
|
props: {
|
|
94
|
-
|
|
88
|
+
icon: 'smile',
|
|
95
89
|
boxSize: 'fit-content fit-content',
|
|
96
90
|
padding: 'Z2',
|
|
97
91
|
theme: 'tertiary'
|
|
@@ -132,7 +126,7 @@ export const IcontextButton = {
|
|
|
132
126
|
position: 'relative',
|
|
133
127
|
theme: 'tertiary',
|
|
134
128
|
padding: 'Z2 A',
|
|
135
|
-
|
|
129
|
+
icon: 'smile'
|
|
136
130
|
}
|
|
137
131
|
}
|
|
138
132
|
|
|
@@ -143,8 +137,8 @@ export const DropDownButton = {
|
|
|
143
137
|
boxSize: 'fit-content fit-content',
|
|
144
138
|
padding: 'Z1 A1 Z Z1',
|
|
145
139
|
theme: 'dialog',
|
|
140
|
+
icon: 'chevronDown',
|
|
146
141
|
Icon: {
|
|
147
|
-
name: 'chevronDown',
|
|
148
142
|
fontSize: 'D'
|
|
149
143
|
},
|
|
150
144
|
caption: { text: 'All' }
|
|
@@ -181,11 +175,11 @@ export const PlusMinusButtons = {
|
|
|
181
175
|
},
|
|
182
176
|
Minus: {
|
|
183
177
|
extend: IconCommonButton,
|
|
184
|
-
props: {
|
|
178
|
+
props: { icon: 'minus' }
|
|
185
179
|
},
|
|
186
180
|
Value: { props: { text: '1' } },
|
|
187
181
|
Plus: {
|
|
188
182
|
extend: IconCommonButton,
|
|
189
|
-
props: {
|
|
183
|
+
props: { icon: 'plus' }
|
|
190
184
|
}
|
|
191
185
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/button",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.261",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "53e63702105d8c7baf0f136c5756383533bf3b30",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@symbo.ls/atoms": "latest",
|
|
9
9
|
"@symbo.ls/icon": "latest"
|