@syscore/ui-library 1.5.0 → 1.5.2
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/client/components/ui/button.tsx +8 -3
- package/client/components/ui/standard-navigation.tsx +3 -2
- package/client/global.css +53 -1
- package/client/ui/Button.stories.tsx +24 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +6 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -251,6 +251,7 @@ import { StandardTableHeader } from '../client/components/ui/standard-table';
|
|
|
251
251
|
import { StandardTableHeaderRow } from '../client/components/ui/standard-table';
|
|
252
252
|
import { StandardTableListRow } from '../client/components/ui/standard-table';
|
|
253
253
|
import { StandardTableRow } from '../client/components/ui/standard-table';
|
|
254
|
+
import { StandardTableRowHeader } from '../client/components/ui/standard-table';
|
|
254
255
|
import { StandardTableTrigger } from '../client/components/ui/standard-table';
|
|
255
256
|
import { Switch } from '../client/components/ui/switch';
|
|
256
257
|
import { Tab } from '../client/hooks/use-tabs';
|
|
@@ -824,6 +825,8 @@ export { StandardTableListRow }
|
|
|
824
825
|
|
|
825
826
|
export { StandardTableRow }
|
|
826
827
|
|
|
828
|
+
export { StandardTableRowHeader }
|
|
829
|
+
|
|
827
830
|
export { StandardTableTrigger }
|
|
828
831
|
|
|
829
832
|
export { Switch }
|
package/dist/index.es.js
CHANGED
|
@@ -401,6 +401,7 @@ const buttonVariants = cva(
|
|
|
401
401
|
"general-primary": "button--general-primary",
|
|
402
402
|
"general-secondary": "button--general-secondary",
|
|
403
403
|
"general-tertiary": "button--general-tertiary",
|
|
404
|
+
"transparent-tertiary": "button--transparent-tertiary",
|
|
404
405
|
"tooltip-primary": "button--tooltip-primary",
|
|
405
406
|
"tooltip-secondary": "button--tooltip-secondary"
|
|
406
407
|
},
|
|
@@ -424,13 +425,15 @@ const sizeTextClasses = {
|
|
|
424
425
|
icon: ""
|
|
425
426
|
};
|
|
426
427
|
const Button = React.forwardRef(
|
|
427
|
-
({ className, variant: variant2, size, children, style, ...props }, ref) => {
|
|
428
|
+
({ className, variant: variant2, size, ftMadeFont, mazzardSoftFont, children, style, ...props }, ref) => {
|
|
428
429
|
const textClass = sizeTextClasses[size || "large"];
|
|
429
430
|
return /* @__PURE__ */ jsx(
|
|
430
431
|
"button",
|
|
431
432
|
{
|
|
432
433
|
className: cn(
|
|
433
434
|
buttonVariants({ variant: variant2, size }),
|
|
435
|
+
ftMadeFont && "font-ftMade",
|
|
436
|
+
mazzardSoftFont && "font-mazzardSoft",
|
|
434
437
|
className
|
|
435
438
|
),
|
|
436
439
|
style,
|
|
@@ -9648,7 +9651,7 @@ const StandardNavigation = ({
|
|
|
9648
9651
|
onLinkClick("/");
|
|
9649
9652
|
}
|
|
9650
9653
|
},
|
|
9651
|
-
children: /* @__PURE__ */ jsx(
|
|
9654
|
+
children: /* @__PURE__ */ jsx(UtilityClearRegular, { className: "navigation-close-icon" })
|
|
9652
9655
|
}
|
|
9653
9656
|
) : null,
|
|
9654
9657
|
/* @__PURE__ */ jsx(
|
|
@@ -10035,6 +10038,7 @@ export {
|
|
|
10035
10038
|
StandardTableHeaderRow,
|
|
10036
10039
|
StandardTableListRow,
|
|
10037
10040
|
StandardTableRow,
|
|
10041
|
+
StandardTableRowHeader,
|
|
10038
10042
|
StandardTableTrigger,
|
|
10039
10043
|
Switch,
|
|
10040
10044
|
Table,
|