@syscore/ui-library 2.0.0-beta-publish-workflow-beta.5 → 2.0.0-beta-publish-workflow-beta.6
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/index.es.js
CHANGED
|
@@ -17578,12 +17578,17 @@ const BUTTON_VARIANT_CLASS = {
|
|
|
17578
17578
|
"secondary-light": "button--secondary-light",
|
|
17579
17579
|
"tertiary-light": "button--tertiary-light"
|
|
17580
17580
|
};
|
|
17581
|
+
const BUTTON_SIZE_CLASS = {
|
|
17582
|
+
large: "button--large",
|
|
17583
|
+
utility: "button--utility"
|
|
17584
|
+
};
|
|
17581
17585
|
const FileUploadTrigger = React.forwardRef(
|
|
17582
17586
|
({
|
|
17583
17587
|
onFiles,
|
|
17584
17588
|
accept,
|
|
17585
17589
|
multiple = false,
|
|
17586
17590
|
variant = "secondary-light",
|
|
17591
|
+
size = "large",
|
|
17587
17592
|
children,
|
|
17588
17593
|
className,
|
|
17589
17594
|
type = "button",
|
|
@@ -17599,7 +17604,7 @@ const FileUploadTrigger = React.forwardRef(
|
|
|
17599
17604
|
ref,
|
|
17600
17605
|
type,
|
|
17601
17606
|
disabled,
|
|
17602
|
-
className: cn("button", BUTTON_VARIANT_CLASS[variant], className),
|
|
17607
|
+
className: cn("button", BUTTON_VARIANT_CLASS[variant], BUTTON_SIZE_CLASS[size], className),
|
|
17603
17608
|
onClick: (event) => {
|
|
17604
17609
|
var _a;
|
|
17605
17610
|
onClick == null ? void 0 : onClick(event);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syscore/ui-library",
|
|
3
|
-
"version": "2.0.0-beta-publish-workflow-beta.
|
|
3
|
+
"version": "2.0.0-beta-publish-workflow-beta.6",
|
|
4
4
|
"description": "A comprehensive React component library built with Radix UI, Tailwind CSS, and TypeScript",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|