@symbo.ls/button 2.11.477 → 2.11.482

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 +0 -102
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -66,114 +66,12 @@ export const KangorooButton = {
66
66
  childExtend: 'IconText'
67
67
  }
68
68
 
69
- export const FlexButton = {
70
- extend: 'Button',
71
-
72
- props: {
73
- boxSize: 'fit-content',
74
- padding: 'Z2 A2',
75
- round: 'Z1',
76
- gap: 'Z',
77
- position: 'relative',
78
-
79
- Icon: { fontSize: 'B1' }
80
- },
81
-
82
- Icon: {},
83
- Text: { text: 'Button' }
84
- }
85
-
86
69
  export const ButtonSet = {
87
70
  tag: 'nav',
88
71
  extend: 'Flex',
89
72
  childExtend: 'SquareButton'
90
73
  }
91
74
 
92
- export const CancelConfirmButtons = {
93
- extend: 'Flex',
94
- props: {
95
- gap: 'Z2',
96
- maxWidth: 'fit-content'
97
- },
98
- childExtend: {
99
- extend: 'FlexButton',
100
- props: {
101
- ':first-child': {
102
- theme: 'transparent',
103
- padding: '- Y1'
104
- }
105
- }
106
- },
107
- ...[
108
- { Text: 'No' },
109
- { Text: 'Yes' }
110
- ]
111
- }
112
-
113
- export const IcontextButton = {
114
- extend: 'FlexButton',
115
- props: {
116
- position: 'relative',
117
- theme: 'tertiary',
118
- padding: 'Z2 A',
119
- icon: 'smile'
120
- }
121
- }
122
-
123
- export const DropDownButton = {
124
- extend: 'FlexButton',
125
- props: {
126
- gap: 'X2',
127
- boxSize: 'fit-content fit-content',
128
- padding: 'Z1 A1 Z Z1',
129
- theme: 'dialog',
130
- icon: 'chevronDown',
131
- Icon: {
132
- fontSize: 'D'
133
- },
134
- Text: { text: 'All' }
135
- }
136
- }
137
-
138
- export const DropDownButtonWithAvatar = {
139
- extend: 'DropDownButton',
140
- props: {
141
- gap: 'Y',
142
- padding: 'Y',
143
- round: 'Z1',
144
- theme: 'dialog',
145
- Icon: { fontSize: 'B1' }
146
- },
147
-
148
- Avatar: {
149
- boxSize: 'A2+V1'
150
- },
151
- caption: {
152
- text: 'ETH',
153
- props: {
154
- fontSize: 'Y1',
155
- fontWeight: '400'
156
- }
157
- }
158
- }
159
-
160
- export const PlusMinusButtons = {
161
- extend: 'Flex',
162
- props: {
163
- alignItems: 'center',
164
- gap: 'A'
165
- },
166
- Minus: {
167
- extend: 'SquareButton',
168
- props: { icon: 'minus' }
169
- },
170
- Value: { props: { text: '1' } },
171
- Plus: {
172
- extend: 'SquareButton',
173
- props: { icon: 'plus' }
174
- }
175
- }
176
-
177
75
  export const IconButton = {
178
76
  extend: [
179
77
  'SquareButton',
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@symbo.ls/button",
3
- "version": "2.11.477",
3
+ "version": "2.11.482",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "47546f8e3e61900fb07e92c3faf7abf2bce919ae",
6
+ "gitHead": "0a1b1317d8c11138bcd9dc171074db65453289ed",
7
7
  "dependencies": {
8
- "@symbo.ls/atoms": "^2.11.477",
9
- "@symbo.ls/icon": "^2.11.477"
8
+ "@symbo.ls/atoms": "^2.11.480",
9
+ "@symbo.ls/icon": "^2.11.482"
10
10
  },
11
11
  "source": "src/index.js"
12
12
  }