@mirohq/design-system-base-button 0.4.5 → 0.4.7
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/dist/types.d.ts +53 -43
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -83,89 +83,93 @@ declare const StyledBaseButton: react.ForwardRefExoticComponent<Pick<Omit<{}, ne
|
|
|
83
83
|
readonly black: any;
|
|
84
84
|
readonly white: any;
|
|
85
85
|
readonly transparent: any;
|
|
86
|
+
readonly 'background-danger'?: any;
|
|
87
|
+
readonly 'background-danger-hover'?: any;
|
|
88
|
+
readonly 'background-danger-prominent'?: any;
|
|
89
|
+
readonly 'background-danger-prominent-active'?: any;
|
|
90
|
+
readonly 'background-danger-prominent-hover'?: any;
|
|
86
91
|
readonly 'background-neutrals'?: any;
|
|
87
92
|
readonly 'background-neutrals-body'?: any;
|
|
88
93
|
readonly 'background-neutrals-container'?: any;
|
|
94
|
+
readonly 'background-neutrals-controls-disabled'?: any;
|
|
95
|
+
readonly 'background-neutrals-disabled'?: any;
|
|
96
|
+
readonly 'background-neutrals-inactive'?: any;
|
|
97
|
+
readonly 'background-neutrals-inactive-hover'?: any;
|
|
89
98
|
readonly 'background-neutrals-inverted'?: any;
|
|
90
99
|
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
100
|
+
readonly 'background-neutrals-scrolls'?: any;
|
|
101
|
+
readonly 'background-neutrals-scrolls-hover'?: any;
|
|
91
102
|
readonly 'background-neutrals-subtle'?: any;
|
|
92
|
-
readonly 'background-neutrals-subtle-hover'?: any;
|
|
93
103
|
readonly 'background-neutrals-subtle-active'?: any;
|
|
94
|
-
readonly 'background-neutrals-
|
|
95
|
-
readonly 'background-neutrals-controls-disabled'?: any;
|
|
96
|
-
readonly 'background-neutrals-scrolls'?: any;
|
|
97
|
-
readonly 'background-neutrals-inactive'?: any;
|
|
98
|
-
readonly 'background-neutrals-inactive-hover'?: any;
|
|
104
|
+
readonly 'background-neutrals-subtle-hover'?: any;
|
|
99
105
|
readonly 'background-primary-prominent'?: any;
|
|
100
|
-
readonly 'background-primary-prominent-hover'?: any;
|
|
101
106
|
readonly 'background-primary-prominent-active'?: any;
|
|
107
|
+
readonly 'background-primary-prominent-hover'?: any;
|
|
102
108
|
readonly 'background-primary-prominent-selected'?: any;
|
|
103
109
|
readonly 'background-primary-subtle'?: any;
|
|
104
|
-
readonly 'background-primary-subtle-hover'?: any;
|
|
105
110
|
readonly 'background-primary-subtle-active'?: any;
|
|
111
|
+
readonly 'background-primary-subtle-hover'?: any;
|
|
106
112
|
readonly 'background-primary-subtle-selected'?: any;
|
|
107
|
-
readonly 'background-danger-prominent'?: any;
|
|
108
|
-
readonly 'background-danger-prominent-hover'?: any;
|
|
109
|
-
readonly 'background-danger-prominent-active'?: any;
|
|
110
|
-
readonly 'background-danger'?: any;
|
|
111
|
-
readonly 'background-danger-hover'?: any;
|
|
112
113
|
readonly 'background-success'?: any;
|
|
113
|
-
readonly 'background-warning-subtle'?: any;
|
|
114
114
|
readonly 'background-warning-prominent'?: any;
|
|
115
|
-
readonly '
|
|
115
|
+
readonly 'background-warning-subtle'?: any;
|
|
116
|
+
readonly 'text-danger'?: any;
|
|
117
|
+
readonly 'text-danger-active'?: any;
|
|
118
|
+
readonly 'text-danger-hover'?: any;
|
|
119
|
+
readonly 'text-danger-inverted'?: any;
|
|
116
120
|
readonly 'text-neutrals'?: any;
|
|
117
|
-
readonly 'text-neutrals-subtle'?: any;
|
|
118
|
-
readonly 'text-neutrals-placeholder-only'?: any;
|
|
119
|
-
readonly 'text-neutrals-placeholder'?: any;
|
|
120
121
|
readonly 'text-neutrals-disabled'?: any;
|
|
121
|
-
readonly 'text-
|
|
122
|
+
readonly 'text-neutrals-inverted'?: any;
|
|
123
|
+
readonly 'text-neutrals-link'?: any;
|
|
124
|
+
readonly 'text-neutrals-link-active'?: any;
|
|
125
|
+
readonly 'text-neutrals-link-hover'?: any;
|
|
126
|
+
readonly 'text-neutrals-placeholder'?: any;
|
|
127
|
+
readonly 'text-neutrals-placeholder-only'?: any;
|
|
128
|
+
readonly 'text-neutrals-subtle'?: any;
|
|
122
129
|
readonly 'text-primary'?: any;
|
|
123
|
-
readonly 'text-primary-hover'?: any;
|
|
124
130
|
readonly 'text-primary-active'?: any;
|
|
125
|
-
readonly 'text-primary-
|
|
131
|
+
readonly 'text-primary-hover'?: any;
|
|
132
|
+
readonly 'text-primary-inverted'?: any;
|
|
126
133
|
readonly 'text-primary-inverted-subtle'?: any;
|
|
127
|
-
readonly 'text-
|
|
128
|
-
readonly 'text-danger'?: any;
|
|
129
|
-
readonly 'text-danger-hover'?: any;
|
|
130
|
-
readonly 'text-danger-active'?: any;
|
|
134
|
+
readonly 'text-primary-selected'?: any;
|
|
131
135
|
readonly 'text-success'?: any;
|
|
132
136
|
readonly 'text-warning'?: any;
|
|
133
|
-
readonly 'icon-
|
|
137
|
+
readonly 'icon-danger'?: any;
|
|
138
|
+
readonly 'icon-danger-active'?: any;
|
|
139
|
+
readonly 'icon-danger-hover'?: any;
|
|
140
|
+
readonly 'icon-danger-inverted'?: any;
|
|
134
141
|
readonly 'icon-neutrals'?: any;
|
|
135
|
-
readonly 'icon-neutrals-with-text'?: any;
|
|
136
|
-
readonly 'icon-neutrals-subtle'?: any;
|
|
137
142
|
readonly 'icon-neutrals-disabled'?: any;
|
|
138
|
-
readonly 'icon-neutrals-search'?: any;
|
|
139
143
|
readonly 'icon-neutrals-inactive'?: any;
|
|
140
144
|
readonly 'icon-neutrals-inactive-hover'?: any;
|
|
141
|
-
readonly 'icon-
|
|
145
|
+
readonly 'icon-neutrals-inverted'?: any;
|
|
146
|
+
readonly 'icon-neutrals-search'?: any;
|
|
147
|
+
readonly 'icon-neutrals-subtle'?: any;
|
|
148
|
+
readonly 'icon-neutrals-with-text'?: any;
|
|
142
149
|
readonly 'icon-primary'?: any;
|
|
143
|
-
readonly 'icon-primary-hover'?: any;
|
|
144
150
|
readonly 'icon-primary-active'?: any;
|
|
151
|
+
readonly 'icon-primary-hover'?: any;
|
|
152
|
+
readonly 'icon-primary-inverted'?: any;
|
|
145
153
|
readonly 'icon-primary-selected'?: any;
|
|
146
|
-
readonly 'icon-danger-inverted'?: any;
|
|
147
|
-
readonly 'icon-danger'?: any;
|
|
148
|
-
readonly 'icon-danger-hover'?: any;
|
|
149
|
-
readonly 'icon-danger-active'?: any;
|
|
150
|
-
readonly 'icon-success-inverted'?: any;
|
|
151
154
|
readonly 'icon-success'?: any;
|
|
155
|
+
readonly 'icon-success-inverted'?: any;
|
|
152
156
|
readonly 'icon-warning'?: any;
|
|
153
|
-
readonly 'border-
|
|
154
|
-
readonly 'border-focus-middle'?: any;
|
|
157
|
+
readonly 'border-danger'?: any;
|
|
155
158
|
readonly 'border-focus-inner'?: any;
|
|
159
|
+
readonly 'border-focus-middle'?: any;
|
|
160
|
+
readonly 'border-focus-outer'?: any;
|
|
156
161
|
readonly 'border-neutrals'?: any;
|
|
157
|
-
readonly 'border-neutrals-hover'?: any;
|
|
158
162
|
readonly 'border-neutrals-active'?: any;
|
|
159
|
-
readonly 'border-neutrals-disabled'?: any;
|
|
160
163
|
readonly 'border-neutrals-controls'?: any;
|
|
161
164
|
readonly 'border-neutrals-controls-disabled'?: any;
|
|
162
|
-
readonly 'border-neutrals-
|
|
165
|
+
readonly 'border-neutrals-disabled'?: any;
|
|
166
|
+
readonly 'border-neutrals-hover'?: any;
|
|
163
167
|
readonly 'border-neutrals-inverted'?: any;
|
|
168
|
+
readonly 'border-neutrals-subtle'?: any;
|
|
164
169
|
readonly 'border-primary'?: any;
|
|
165
|
-
readonly 'border-primary-hover'?: any;
|
|
166
170
|
readonly 'border-primary-active'?: any;
|
|
171
|
+
readonly 'border-primary-hover'?: any;
|
|
167
172
|
readonly 'border-primary-inverted'?: any;
|
|
168
|
-
readonly 'border-danger'?: any;
|
|
169
173
|
readonly 'border-success'?: any;
|
|
170
174
|
readonly 'border-warning'?: any;
|
|
171
175
|
};
|
|
@@ -259,6 +263,11 @@ declare const StyledBaseButton: react.ForwardRefExoticComponent<Pick<Omit<{}, ne
|
|
|
259
263
|
readonly 'stacking-500': any;
|
|
260
264
|
readonly 'stacking-800': any;
|
|
261
265
|
};
|
|
266
|
+
'stroke-width': {
|
|
267
|
+
readonly thin: "1.5px";
|
|
268
|
+
readonly normal: "2px";
|
|
269
|
+
readonly bold: "4px";
|
|
270
|
+
};
|
|
262
271
|
'z-indices': {
|
|
263
272
|
readonly dropdownMenu: 100;
|
|
264
273
|
readonly popover: 200;
|
|
@@ -387,6 +396,7 @@ declare const StyledBaseButton: react.ForwardRefExoticComponent<Pick<Omit<{}, ne
|
|
|
387
396
|
readonly scrollPaddingRight: "space-inset";
|
|
388
397
|
readonly scrollPaddingTop: "space-inset";
|
|
389
398
|
readonly stroke: "colors";
|
|
399
|
+
readonly strokeWidth: "stroke-width";
|
|
390
400
|
readonly textDecorationColor: "colors";
|
|
391
401
|
readonly textShadow: "shadows";
|
|
392
402
|
readonly top: "space";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-base-button",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@react-types/button": "^3.5.0",
|
|
35
35
|
"@react-types/shared": "^3.16.0",
|
|
36
36
|
"@mirohq/design-system-primitive": "^1.1.0",
|
|
37
|
-
"@mirohq/design-system-stitches": "^2.
|
|
37
|
+
"@mirohq/design-system-stitches": "^2.3.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@mirohq/design-system-icons": "^0.
|
|
40
|
+
"@mirohq/design-system-icons": "^0.16.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "rollup -c ../../../../rollup.config.js",
|