@symbo.ls/button 2.11.247 → 2.11.257

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 +5 -5
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -91,7 +91,7 @@ export const CommonButton = {
91
91
  export const IconCommonButton = {
92
92
  extend: CommonButton,
93
93
  props: {
94
- Icon: { name: 'smile' },
94
+ icon: 'smile',
95
95
  boxSize: 'fit-content fit-content',
96
96
  padding: 'Z2',
97
97
  theme: 'tertiary'
@@ -132,7 +132,7 @@ export const IcontextButton = {
132
132
  position: 'relative',
133
133
  theme: 'tertiary',
134
134
  padding: 'Z2 A',
135
- Icon: { name: 'smile' }
135
+ icon: 'smile'
136
136
  }
137
137
  }
138
138
 
@@ -143,8 +143,8 @@ export const DropDownButton = {
143
143
  boxSize: 'fit-content fit-content',
144
144
  padding: 'Z1 A1 Z Z1',
145
145
  theme: 'dialog',
146
+ icon: 'chevronDown',
146
147
  Icon: {
147
- name: 'chevronDown',
148
148
  fontSize: 'D'
149
149
  },
150
150
  caption: { text: 'All' }
@@ -181,11 +181,11 @@ export const PlusMinusButtons = {
181
181
  },
182
182
  Minus: {
183
183
  extend: IconCommonButton,
184
- props: { Icon: { name: 'minus' } }
184
+ props: { icon: 'minus' }
185
185
  },
186
186
  Value: { props: { text: '1' } },
187
187
  Plus: {
188
188
  extend: IconCommonButton,
189
- props: { Icon: { name: 'plus' } }
189
+ props: { icon: 'plus' }
190
190
  }
191
191
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/button",
3
- "version": "2.11.247",
3
+ "version": "2.11.257",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "8d02fd2978b0ae207eab84fcb3f5e2be11351e61",
6
+ "gitHead": "fee03ced348ded2839443d9636f6da28d9952465",
7
7
  "dependencies": {
8
8
  "@symbo.ls/atoms": "latest",
9
9
  "@symbo.ls/icon": "latest"