@still-void/ui 3.1.0 → 3.3.0
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/CHANGELOG.md +81 -0
- package/README.md +5 -2
- package/dist/react/client/index.cjs +541 -90
- package/dist/react/client/index.cjs.map +1 -1
- package/dist/react/client/index.d.cts +152 -2
- package/dist/react/client/index.d.ts +152 -2
- package/dist/react/client/index.js +543 -90
- package/dist/react/client/index.js.map +1 -1
- package/dist/react/index.cjs +322 -37
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +156 -3
- package/dist/react/index.d.ts +156 -3
- package/dist/react/index.js +313 -39
- package/dist/react/index.js.map +1 -1
- package/dist/style.css +489 -2
- package/package.json +2 -1
package/dist/react/index.js
CHANGED
|
@@ -11,18 +11,21 @@ function cn(...inputs) {
|
|
|
11
11
|
// src/components/ui/icon-set.ts
|
|
12
12
|
import {
|
|
13
13
|
Bars3Icon,
|
|
14
|
+
CameraIcon,
|
|
14
15
|
CheckCircleIcon,
|
|
15
16
|
CheckIcon,
|
|
16
17
|
ChevronDownIcon,
|
|
17
18
|
ChevronLeftIcon,
|
|
18
19
|
ChevronRightIcon,
|
|
19
20
|
ChevronUpIcon,
|
|
21
|
+
ClockIcon,
|
|
20
22
|
DocumentDuplicateIcon,
|
|
21
23
|
ExclamationCircleIcon,
|
|
22
24
|
ExclamationTriangleIcon,
|
|
23
25
|
InformationCircleIcon,
|
|
24
26
|
MagnifyingGlassIcon,
|
|
25
27
|
MoonIcon,
|
|
28
|
+
NoSymbolIcon,
|
|
26
29
|
SunIcon,
|
|
27
30
|
XMarkIcon
|
|
28
31
|
} from "@heroicons/react/24/outline";
|
|
@@ -41,7 +44,10 @@ var ICON_GLYPHS = {
|
|
|
41
44
|
sun: SunIcon,
|
|
42
45
|
moon: MoonIcon,
|
|
43
46
|
search: MagnifyingGlassIcon,
|
|
44
|
-
menu: Bars3Icon
|
|
47
|
+
menu: Bars3Icon,
|
|
48
|
+
camera: CameraIcon,
|
|
49
|
+
blocked: NoSymbolIcon,
|
|
50
|
+
pending: ClockIcon
|
|
45
51
|
};
|
|
46
52
|
var ICON_NAMES = Object.keys(ICON_GLYPHS);
|
|
47
53
|
var ICON_FALLBACK_NAME = "alert-circle";
|
|
@@ -56,6 +62,7 @@ var Icon = React.forwardRef(
|
|
|
56
62
|
{
|
|
57
63
|
...props,
|
|
58
64
|
ref,
|
|
65
|
+
"data-icon-name": name,
|
|
59
66
|
className: cn(
|
|
60
67
|
"sv-icon",
|
|
61
68
|
size === "sm" && "sv-icon--sm",
|
|
@@ -631,16 +638,42 @@ CardFooter.displayName = "CardFooter";
|
|
|
631
638
|
|
|
632
639
|
// src/components/ui/alert.tsx
|
|
633
640
|
import * as React5 from "react";
|
|
634
|
-
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
635
|
-
var
|
|
636
|
-
"
|
|
637
|
-
{
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
641
|
+
import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
642
|
+
var variantConfig = {
|
|
643
|
+
info: { role: "status", icon: "info" },
|
|
644
|
+
success: { role: "status", icon: "check-circle" },
|
|
645
|
+
warning: { role: "alert", icon: "alert-triangle" },
|
|
646
|
+
danger: { role: "alert", icon: "alert-circle" }
|
|
647
|
+
};
|
|
648
|
+
var Alert = React5.forwardRef(
|
|
649
|
+
({ className, variant, icon, action, role: propRole, ...props }, ref) => {
|
|
650
|
+
const config = variant && Object.prototype.hasOwnProperty.call(variantConfig, variant) ? variantConfig[variant] : null;
|
|
651
|
+
const derivedRole = config?.role ?? "alert";
|
|
652
|
+
const effectiveRole = config ? derivedRole : "alert";
|
|
653
|
+
let iconElement = null;
|
|
654
|
+
if (icon !== null) {
|
|
655
|
+
if (icon !== void 0) {
|
|
656
|
+
iconElement = icon;
|
|
657
|
+
} else if (config) {
|
|
658
|
+
iconElement = /* @__PURE__ */ jsx8(Icon, { name: config.icon, "aria-hidden": "true" });
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
return /* @__PURE__ */ jsxs4(
|
|
662
|
+
"div",
|
|
663
|
+
{
|
|
664
|
+
ref,
|
|
665
|
+
className: cn("sv-alert", config && `sv-alert--${variant}`, className),
|
|
666
|
+
role: effectiveRole,
|
|
667
|
+
...props,
|
|
668
|
+
children: [
|
|
669
|
+
iconElement,
|
|
670
|
+
props.children,
|
|
671
|
+
action && /* @__PURE__ */ jsx8("div", { className: "sv-alert__action", children: action })
|
|
672
|
+
]
|
|
673
|
+
}
|
|
674
|
+
);
|
|
642
675
|
}
|
|
643
|
-
)
|
|
676
|
+
);
|
|
644
677
|
Alert.displayName = "Alert";
|
|
645
678
|
var AlertTitle = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx8("h5", { ref, className: cn("sv-alert__title", className), ...props }));
|
|
646
679
|
AlertTitle.displayName = "AlertTitle";
|
|
@@ -762,12 +795,239 @@ var Checkbox = React11.forwardRef(
|
|
|
762
795
|
);
|
|
763
796
|
Checkbox.displayName = "Checkbox";
|
|
764
797
|
|
|
765
|
-
// src/components/ui/
|
|
798
|
+
// src/components/ui/separator.tsx
|
|
766
799
|
import * as React12 from "react";
|
|
767
|
-
import { jsx as jsx15
|
|
768
|
-
var
|
|
769
|
-
({ className,
|
|
770
|
-
|
|
800
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
801
|
+
var Separator = React12.forwardRef(
|
|
802
|
+
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx15(
|
|
803
|
+
"div",
|
|
804
|
+
{
|
|
805
|
+
...props,
|
|
806
|
+
ref,
|
|
807
|
+
role: decorative ? void 0 : "separator",
|
|
808
|
+
"aria-orientation": !decorative && orientation === "vertical" ? "vertical" : void 0,
|
|
809
|
+
className: cn(
|
|
810
|
+
"sv-separator",
|
|
811
|
+
orientation === "vertical" && "sv-separator--vertical",
|
|
812
|
+
className
|
|
813
|
+
)
|
|
814
|
+
}
|
|
815
|
+
)
|
|
816
|
+
);
|
|
817
|
+
Separator.displayName = "Separator";
|
|
818
|
+
|
|
819
|
+
// src/components/ui/progress.tsx
|
|
820
|
+
import * as React13 from "react";
|
|
821
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
822
|
+
function clamp(value, max) {
|
|
823
|
+
return Math.min(Math.max(value, 0), max);
|
|
824
|
+
}
|
|
825
|
+
function normalizeMax(max) {
|
|
826
|
+
return Number.isFinite(max) && max > 0 ? max : 0;
|
|
827
|
+
}
|
|
828
|
+
var Progress = React13.forwardRef(
|
|
829
|
+
({ className, value = 0, max = 100, ...props }, ref) => {
|
|
830
|
+
const safeMax = normalizeMax(max);
|
|
831
|
+
const clamped = clamp(value, safeMax);
|
|
832
|
+
const percent = safeMax === 0 ? 0 : clamped / safeMax * 100;
|
|
833
|
+
return /* @__PURE__ */ jsx16(
|
|
834
|
+
"div",
|
|
835
|
+
{
|
|
836
|
+
...props,
|
|
837
|
+
ref,
|
|
838
|
+
role: "progressbar",
|
|
839
|
+
"aria-valuenow": clamped,
|
|
840
|
+
"aria-valuemin": 0,
|
|
841
|
+
"aria-valuemax": safeMax,
|
|
842
|
+
className: cn("sv-progress", className),
|
|
843
|
+
children: /* @__PURE__ */ jsx16("div", { className: "sv-progress__indicator", style: { width: `${percent}%` } })
|
|
844
|
+
}
|
|
845
|
+
);
|
|
846
|
+
}
|
|
847
|
+
);
|
|
848
|
+
Progress.displayName = "Progress";
|
|
849
|
+
|
|
850
|
+
// src/components/ui/pagination.tsx
|
|
851
|
+
import * as React14 from "react";
|
|
852
|
+
import { jsx as jsx17, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
853
|
+
var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx17("nav", { ...props, "aria-label": "pagination", className: cn("sv-pagination", className) });
|
|
854
|
+
Pagination.displayName = "Pagination";
|
|
855
|
+
var PaginationContent = React14.forwardRef(
|
|
856
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx17("ul", { ref, className: cn("sv-pagination__content", className), ...props })
|
|
857
|
+
);
|
|
858
|
+
PaginationContent.displayName = "PaginationContent";
|
|
859
|
+
var PaginationItem = React14.forwardRef(
|
|
860
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx17("li", { ref, className: cn("sv-pagination__item", className), ...props })
|
|
861
|
+
);
|
|
862
|
+
PaginationItem.displayName = "PaginationItem";
|
|
863
|
+
var PaginationLink = React14.forwardRef(
|
|
864
|
+
({ className, isActive = false, href, ...props }, ref) => {
|
|
865
|
+
const sharedClassName = cn(
|
|
866
|
+
"sv-pagination__link",
|
|
867
|
+
isActive && "sv-pagination__link--active",
|
|
868
|
+
className
|
|
869
|
+
);
|
|
870
|
+
const sharedAria = isActive ? { "aria-current": "page" } : {};
|
|
871
|
+
if (href !== void 0) {
|
|
872
|
+
return /* @__PURE__ */ jsx17(
|
|
873
|
+
"a",
|
|
874
|
+
{
|
|
875
|
+
ref,
|
|
876
|
+
href,
|
|
877
|
+
className: sharedClassName,
|
|
878
|
+
...sharedAria,
|
|
879
|
+
...props
|
|
880
|
+
}
|
|
881
|
+
);
|
|
882
|
+
}
|
|
883
|
+
return /* @__PURE__ */ jsx17(
|
|
884
|
+
"button",
|
|
885
|
+
{
|
|
886
|
+
ref,
|
|
887
|
+
type: "button",
|
|
888
|
+
className: sharedClassName,
|
|
889
|
+
...sharedAria,
|
|
890
|
+
...props
|
|
891
|
+
}
|
|
892
|
+
);
|
|
893
|
+
}
|
|
894
|
+
);
|
|
895
|
+
PaginationLink.displayName = "PaginationLink";
|
|
896
|
+
var PaginationPrevious = React14.forwardRef(({ className, label = "Previous", ...props }, ref) => /* @__PURE__ */ jsxs5(
|
|
897
|
+
PaginationLink,
|
|
898
|
+
{
|
|
899
|
+
ref,
|
|
900
|
+
"aria-label": label,
|
|
901
|
+
className: cn("sv-pagination__link--previous", className),
|
|
902
|
+
...props,
|
|
903
|
+
children: [
|
|
904
|
+
/* @__PURE__ */ jsx17(Icon, { name: "chevron-left" }),
|
|
905
|
+
/* @__PURE__ */ jsx17("span", { children: label })
|
|
906
|
+
]
|
|
907
|
+
}
|
|
908
|
+
));
|
|
909
|
+
PaginationPrevious.displayName = "PaginationPrevious";
|
|
910
|
+
var PaginationNext = React14.forwardRef(
|
|
911
|
+
({ className, label = "Next", ...props }, ref) => /* @__PURE__ */ jsxs5(
|
|
912
|
+
PaginationLink,
|
|
913
|
+
{
|
|
914
|
+
ref,
|
|
915
|
+
"aria-label": label,
|
|
916
|
+
className: cn("sv-pagination__link--next", className),
|
|
917
|
+
...props,
|
|
918
|
+
children: [
|
|
919
|
+
/* @__PURE__ */ jsx17("span", { children: label }),
|
|
920
|
+
/* @__PURE__ */ jsx17(Icon, { name: "chevron-right" })
|
|
921
|
+
]
|
|
922
|
+
}
|
|
923
|
+
)
|
|
924
|
+
);
|
|
925
|
+
PaginationNext.displayName = "PaginationNext";
|
|
926
|
+
var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsx17("span", { "aria-hidden": "true", className: cn("sv-pagination__ellipsis", className), ...props, children: "\u2026" });
|
|
927
|
+
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
928
|
+
|
|
929
|
+
// src/components/ui/chart.tsx
|
|
930
|
+
import * as React15 from "react";
|
|
931
|
+
import { Fragment as Fragment3, jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
932
|
+
var ChartContainer = React15.forwardRef(
|
|
933
|
+
({ width, height, className, children, ...props }, ref) => /* @__PURE__ */ jsx18(
|
|
934
|
+
"svg",
|
|
935
|
+
{
|
|
936
|
+
ref,
|
|
937
|
+
role: "img",
|
|
938
|
+
viewBox: `0 0 ${width} ${height}`,
|
|
939
|
+
width,
|
|
940
|
+
height,
|
|
941
|
+
className: cn("sv-chart", className),
|
|
942
|
+
...props,
|
|
943
|
+
children
|
|
944
|
+
}
|
|
945
|
+
)
|
|
946
|
+
);
|
|
947
|
+
ChartContainer.displayName = "ChartContainer";
|
|
948
|
+
var ChartGrid = ({ orientation, positions, width, className }) => /* @__PURE__ */ jsx18(Fragment3, { children: positions.map(
|
|
949
|
+
(position) => orientation === "horizontal" ? /* @__PURE__ */ jsx18(
|
|
950
|
+
"line",
|
|
951
|
+
{
|
|
952
|
+
x1: 0,
|
|
953
|
+
y1: position,
|
|
954
|
+
x2: width,
|
|
955
|
+
y2: position,
|
|
956
|
+
className: cn("sv-chart__grid-line", className)
|
|
957
|
+
},
|
|
958
|
+
position
|
|
959
|
+
) : /* @__PURE__ */ jsx18(
|
|
960
|
+
"line",
|
|
961
|
+
{
|
|
962
|
+
x1: position,
|
|
963
|
+
y1: 0,
|
|
964
|
+
x2: position,
|
|
965
|
+
y2: width,
|
|
966
|
+
className: cn("sv-chart__grid-line", className)
|
|
967
|
+
},
|
|
968
|
+
position
|
|
969
|
+
)
|
|
970
|
+
) });
|
|
971
|
+
ChartGrid.displayName = "ChartGrid";
|
|
972
|
+
var ChartAxis = ({ orientation, ticks, length, className }) => /* @__PURE__ */ jsxs6(Fragment3, { children: [
|
|
973
|
+
orientation === "bottom" ? /* @__PURE__ */ jsx18("line", { x1: 0, y1: 0, x2: length, y2: 0, className: cn("sv-chart__axis", className) }) : /* @__PURE__ */ jsx18("line", { x1: 0, y1: 0, x2: 0, y2: length, className: cn("sv-chart__axis", className) }),
|
|
974
|
+
ticks.map(
|
|
975
|
+
(tick) => orientation === "bottom" ? /* @__PURE__ */ jsx18(
|
|
976
|
+
"text",
|
|
977
|
+
{
|
|
978
|
+
x: tick.position,
|
|
979
|
+
y: 16,
|
|
980
|
+
textAnchor: "middle",
|
|
981
|
+
className: "sv-chart__axis-label",
|
|
982
|
+
children: tick.label
|
|
983
|
+
},
|
|
984
|
+
tick.position
|
|
985
|
+
) : /* @__PURE__ */ jsx18(
|
|
986
|
+
"text",
|
|
987
|
+
{
|
|
988
|
+
x: -8,
|
|
989
|
+
y: tick.position,
|
|
990
|
+
textAnchor: "end",
|
|
991
|
+
dominantBaseline: "middle",
|
|
992
|
+
className: "sv-chart__axis-label",
|
|
993
|
+
children: tick.label
|
|
994
|
+
},
|
|
995
|
+
tick.position
|
|
996
|
+
)
|
|
997
|
+
)
|
|
998
|
+
] });
|
|
999
|
+
ChartAxis.displayName = "ChartAxis";
|
|
1000
|
+
var ChartLine = ({ points, color, className }) => /* @__PURE__ */ jsx18(
|
|
1001
|
+
"polyline",
|
|
1002
|
+
{
|
|
1003
|
+
points: points.map(({ x, y }) => `${x},${y}`).join(" "),
|
|
1004
|
+
fill: "none",
|
|
1005
|
+
stroke: color,
|
|
1006
|
+
strokeWidth: 2,
|
|
1007
|
+
className: cn("sv-chart__line", className)
|
|
1008
|
+
}
|
|
1009
|
+
);
|
|
1010
|
+
ChartLine.displayName = "ChartLine";
|
|
1011
|
+
var ChartBar = ({ bars, color, className }) => /* @__PURE__ */ jsx18(Fragment3, { children: bars.map((bar) => /* @__PURE__ */ jsx18(
|
|
1012
|
+
"rect",
|
|
1013
|
+
{
|
|
1014
|
+
x: bar.x,
|
|
1015
|
+
y: bar.y,
|
|
1016
|
+
width: bar.width,
|
|
1017
|
+
height: bar.height,
|
|
1018
|
+
fill: color,
|
|
1019
|
+
className: cn("sv-chart__bar", className)
|
|
1020
|
+
},
|
|
1021
|
+
`${bar.x},${bar.y}`
|
|
1022
|
+
)) });
|
|
1023
|
+
ChartBar.displayName = "ChartBar";
|
|
1024
|
+
|
|
1025
|
+
// src/components/ui/radio-group.tsx
|
|
1026
|
+
import * as React16 from "react";
|
|
1027
|
+
import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1028
|
+
var RadioGroupItem = React16.forwardRef(
|
|
1029
|
+
({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs7("label", { className: fieldClasses.choice, children: [
|
|
1030
|
+
/* @__PURE__ */ jsx19(
|
|
771
1031
|
"input",
|
|
772
1032
|
{
|
|
773
1033
|
className: cn("sv-radio", className),
|
|
@@ -780,19 +1040,19 @@ var RadioGroupItem = React12.forwardRef(
|
|
|
780
1040
|
] })
|
|
781
1041
|
);
|
|
782
1042
|
RadioGroupItem.displayName = "RadioGroupItem";
|
|
783
|
-
var RadioGroup =
|
|
1043
|
+
var RadioGroup = React16.forwardRef(
|
|
784
1044
|
({ className, legend, legendHidden, orientation = "vertical", name, children, ...props }, ref) => {
|
|
785
|
-
const items =
|
|
786
|
-
if (!
|
|
1045
|
+
const items = React16.Children.map(children, (child) => {
|
|
1046
|
+
if (!React16.isValidElement(child) || child.type !== RadioGroupItem) {
|
|
787
1047
|
return child;
|
|
788
1048
|
}
|
|
789
1049
|
const itemProps = child.props;
|
|
790
1050
|
if (itemProps.name !== void 0) {
|
|
791
1051
|
return child;
|
|
792
1052
|
}
|
|
793
|
-
return
|
|
1053
|
+
return React16.cloneElement(child, { name });
|
|
794
1054
|
});
|
|
795
|
-
return /* @__PURE__ */
|
|
1055
|
+
return /* @__PURE__ */ jsxs7(
|
|
796
1056
|
"fieldset",
|
|
797
1057
|
{
|
|
798
1058
|
className: cn(
|
|
@@ -803,7 +1063,7 @@ var RadioGroup = React12.forwardRef(
|
|
|
803
1063
|
ref,
|
|
804
1064
|
...props,
|
|
805
1065
|
children: [
|
|
806
|
-
legend !== void 0 && /* @__PURE__ */
|
|
1066
|
+
legend !== void 0 && /* @__PURE__ */ jsx19("legend", { className: cn("sv-radio-group__legend", legendHidden && fieldClasses.srOnly), children: legend }),
|
|
807
1067
|
items
|
|
808
1068
|
]
|
|
809
1069
|
}
|
|
@@ -813,7 +1073,7 @@ var RadioGroup = React12.forwardRef(
|
|
|
813
1073
|
RadioGroup.displayName = "RadioGroup";
|
|
814
1074
|
|
|
815
1075
|
// src/components/ui/table.tsx
|
|
816
|
-
import * as
|
|
1076
|
+
import * as React17 from "react";
|
|
817
1077
|
|
|
818
1078
|
// src/recipes/table.ts
|
|
819
1079
|
function table() {
|
|
@@ -831,37 +1091,37 @@ var tableClasses = {
|
|
|
831
1091
|
};
|
|
832
1092
|
|
|
833
1093
|
// src/components/ui/table.tsx
|
|
834
|
-
import { jsx as
|
|
835
|
-
var Table =
|
|
836
|
-
({ className, containerClassName, ...props }, ref) => /* @__PURE__ */
|
|
1094
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
1095
|
+
var Table = React17.forwardRef(
|
|
1096
|
+
({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx20("div", { className: cn(tableClasses.container, containerClassName), children: /* @__PURE__ */ jsx20("table", { className: cn(table(), className), ref, ...props }) })
|
|
837
1097
|
);
|
|
838
1098
|
Table.displayName = "Table";
|
|
839
|
-
var TableHeader =
|
|
840
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1099
|
+
var TableHeader = React17.forwardRef(
|
|
1100
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx20("thead", { className: cn(tableClasses.head, className), ref, ...props })
|
|
841
1101
|
);
|
|
842
1102
|
TableHeader.displayName = "TableHeader";
|
|
843
|
-
var TableBody =
|
|
844
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1103
|
+
var TableBody = React17.forwardRef(
|
|
1104
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx20("tbody", { className: cn(tableClasses.body, className), ref, ...props })
|
|
845
1105
|
);
|
|
846
1106
|
TableBody.displayName = "TableBody";
|
|
847
|
-
var TableFooter =
|
|
848
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1107
|
+
var TableFooter = React17.forwardRef(
|
|
1108
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx20("tfoot", { className: cn(tableClasses.foot, className), ref, ...props })
|
|
849
1109
|
);
|
|
850
1110
|
TableFooter.displayName = "TableFooter";
|
|
851
|
-
var TableRow =
|
|
852
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1111
|
+
var TableRow = React17.forwardRef(
|
|
1112
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx20("tr", { className: cn(tableClasses.row, className), ref, ...props })
|
|
853
1113
|
);
|
|
854
1114
|
TableRow.displayName = "TableRow";
|
|
855
|
-
var TableHead =
|
|
856
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1115
|
+
var TableHead = React17.forwardRef(
|
|
1116
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx20("th", { className: cn(tableClasses.th, className), ref, ...props })
|
|
857
1117
|
);
|
|
858
1118
|
TableHead.displayName = "TableHead";
|
|
859
|
-
var TableCell =
|
|
860
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1119
|
+
var TableCell = React17.forwardRef(
|
|
1120
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx20("td", { className: cn(tableClasses.td, className), ref, ...props })
|
|
861
1121
|
);
|
|
862
1122
|
TableCell.displayName = "TableCell";
|
|
863
|
-
var TableCaption =
|
|
864
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1123
|
+
var TableCaption = React17.forwardRef(
|
|
1124
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx20("caption", { className: cn(tableClasses.caption, className), ref, ...props })
|
|
865
1125
|
);
|
|
866
1126
|
TableCaption.displayName = "TableCaption";
|
|
867
1127
|
|
|
@@ -968,6 +1228,11 @@ export {
|
|
|
968
1228
|
CardSkeleton,
|
|
969
1229
|
CardTitle,
|
|
970
1230
|
CategoryPill,
|
|
1231
|
+
ChartAxis,
|
|
1232
|
+
ChartBar,
|
|
1233
|
+
ChartContainer,
|
|
1234
|
+
ChartGrid,
|
|
1235
|
+
ChartLine,
|
|
971
1236
|
Checkbox,
|
|
972
1237
|
CodeBlock,
|
|
973
1238
|
DEFAULT_ACCENT,
|
|
@@ -983,12 +1248,21 @@ export {
|
|
|
983
1248
|
Lead,
|
|
984
1249
|
Logo,
|
|
985
1250
|
NativeSelect,
|
|
1251
|
+
Pagination,
|
|
1252
|
+
PaginationContent,
|
|
1253
|
+
PaginationEllipsis,
|
|
1254
|
+
PaginationItem,
|
|
1255
|
+
PaginationLink,
|
|
1256
|
+
PaginationNext,
|
|
1257
|
+
PaginationPrevious,
|
|
986
1258
|
PostCard,
|
|
987
1259
|
PostGrid,
|
|
1260
|
+
Progress,
|
|
988
1261
|
Prose,
|
|
989
1262
|
READING_PROGRESS_VAR,
|
|
990
1263
|
RadioGroup,
|
|
991
1264
|
RadioGroupItem,
|
|
1265
|
+
Separator,
|
|
992
1266
|
Sidebar,
|
|
993
1267
|
SidebarSection,
|
|
994
1268
|
Skeleton,
|