@symbo.ls/button 2.11.156 → 2.11.162

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 +52 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -62,20 +62,69 @@ export const CancelConfirmButtons = {
62
62
  ],
63
63
 
64
64
  props: {
65
- gap: 'Y',
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 DropDownButton = {
83
+ extend: Button,
84
+ props: {
85
+ gap: 'Y',
86
+ boxSize: 'fit-content fit-content',
87
+ padding: 'A B A A+X',
88
+ round: 'Z',
89
+ background: '#141416',
90
+ color: 'white',
91
+ icon: {
92
+ name: 'chevronDown',
93
+ fontSize: 'D'
94
+ },
95
+ text: 'All'
96
+ }
97
+ }
98
+
99
+ export const ButtonTemplate1 = {
100
+ extend: Button,
101
+ props: {
102
+ icon: { name: 'circle' },
103
+ boxSize: 'fit-content fit-content',
104
+ padding: 'A',
105
+ round: 'A',
106
+ color: 'white',
107
+ background: '#F4454E'
108
+ }
109
+ }
110
+
111
+ export const ButtonTemplate2 = {
112
+ extend: ButtonTemplate1,
113
+ icon: null,
114
+ props: { text: 'Button' }
115
+ }
116
+
117
+ export const ButtonTemplate3 = {
118
+ extend: ButtonTemplate1,
119
+ props: {
120
+ text: 'Button',
121
+ gap: 'Z'
122
+ }
123
+ }
80
124
 
125
+ export const ButtonTemplate4 = {
126
+ extend: ButtonTemplate3,
127
+ icon: {},
128
+ text: 'Button',
129
+ Icon: { props: { icon: 'circle' } }
81
130
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/button",
3
- "version": "2.11.156",
3
+ "version": "2.11.162",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "d023c6af9b61e17b4f3493891c924655625b2934",
6
+ "gitHead": "fe3359a1d6c14d38f45f5e5db10ef2056947a228",
7
7
  "dependencies": {
8
8
  "@symbo.ls/atoms": "latest",
9
9
  "@symbo.ls/icon": "latest"