@symbo.ls/button 2.11.231 → 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 -6
  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,9 +143,8 @@ export const DropDownButton = {
143
143
  boxSize: 'fit-content fit-content',
144
144
  padding: 'Z1 A1 Z Z1',
145
145
  theme: 'dialog',
146
- color: 'white',
146
+ icon: 'chevronDown',
147
147
  Icon: {
148
- name: 'chevronDown',
149
148
  fontSize: 'D'
150
149
  },
151
150
  caption: { text: 'All' }
@@ -182,11 +181,11 @@ export const PlusMinusButtons = {
182
181
  },
183
182
  Minus: {
184
183
  extend: IconCommonButton,
185
- props: { Icon: { name: 'minus' } }
184
+ props: { icon: 'minus' }
186
185
  },
187
186
  Value: { props: { text: '1' } },
188
187
  Plus: {
189
188
  extend: IconCommonButton,
190
- props: { Icon: { name: 'plus' } }
189
+ props: { icon: 'plus' }
191
190
  }
192
191
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/button",
3
- "version": "2.11.231",
3
+ "version": "2.11.257",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "5d29ff74b50f1feeeff85976496c4320fce96f71",
6
+ "gitHead": "fee03ced348ded2839443d9636f6da28d9952465",
7
7
  "dependencies": {
8
8
  "@symbo.ls/atoms": "latest",
9
9
  "@symbo.ls/icon": "latest"