@grandbazar/ui-baza 1.4.0 → 1.5.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/dist/index.cjs +274 -105
- package/dist/index.d.ts +98 -0
- package/dist/index.js +269 -106
- package/dist/style.css +99 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -63,7 +63,7 @@ const green = "_green_1s8y9_43";
|
|
|
63
63
|
const neutral$3 = "_neutral_1s8y9_48";
|
|
64
64
|
const lg$7 = "_lg_1s8y9_53";
|
|
65
65
|
const md$a = "_md_1s8y9_60";
|
|
66
|
-
const styles$
|
|
66
|
+
const styles$D = {
|
|
67
67
|
badge: badge,
|
|
68
68
|
primary: primary$4,
|
|
69
69
|
secondary: secondary$5,
|
|
@@ -79,13 +79,13 @@ const styles$y = {
|
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
function Badge({ children, className, size = "lg", color = "accent", mode = "primary", ...props }) {
|
|
82
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$
|
|
82
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$D.badge, styles$D[size], styles$D[color], styles$D[mode], className), ...props, children });
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
const badgeTabsItem = "_badgeTabsItem_10lit_2";
|
|
86
86
|
const primary$3 = "_primary_10lit_18";
|
|
87
87
|
const secondary$4 = "_secondary_10lit_36";
|
|
88
|
-
const styles$
|
|
88
|
+
const styles$C = {
|
|
89
89
|
badgeTabsItem: badgeTabsItem,
|
|
90
90
|
primary: primary$3,
|
|
91
91
|
secondary: secondary$4
|
|
@@ -98,7 +98,7 @@ function BadgeTabsItem({ className, children, isActive, mode = "primary", ...pro
|
|
|
98
98
|
type: "button",
|
|
99
99
|
role: "tab",
|
|
100
100
|
"aria-selected": Boolean(isActive),
|
|
101
|
-
className: classNames(styles$
|
|
101
|
+
className: classNames(styles$C.badgeTabsItem, styles$C[mode], className),
|
|
102
102
|
...props,
|
|
103
103
|
children
|
|
104
104
|
}
|
|
@@ -106,12 +106,12 @@ function BadgeTabsItem({ className, children, isActive, mode = "primary", ...pro
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
const badgeTabsRoot = "_badgeTabsRoot_1qkat_2";
|
|
109
|
-
const styles$
|
|
109
|
+
const styles$B = {
|
|
110
110
|
badgeTabsRoot: badgeTabsRoot
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
function BadgeTabsRoot({ className, children, ...props }) {
|
|
114
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { role: "tablist", className: classNames(styles$
|
|
114
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { role: "tablist", className: classNames(styles$B.badgeTabsRoot, className), ...props, children });
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
function BadgeTabs(props) {
|
|
@@ -278,6 +278,16 @@ function IconCalendar(props) {
|
|
|
278
278
|
) });
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
+
function IconCamera(props) {
|
|
282
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
283
|
+
"path",
|
|
284
|
+
{
|
|
285
|
+
d: "M20.7992 8.39989C20.7992 8.16138 20.7046 7.9327 20.5361 7.76398C20.3673 7.5952 20.1378 7.49973 19.8991 7.49973H16.2995C15.9986 7.4997 15.7177 7.34941 15.5508 7.09906L14.018 4.80032H9.58161L8.04876 7.09906C7.88186 7.34941 7.60092 7.4997 7.30005 7.49973H3.70048C3.4618 7.49973 3.23227 7.5952 3.0635 7.76398C2.89493 7.9327 2.80035 8.16138 2.80032 8.39989V18.2995C2.80032 18.5382 2.89472 18.7677 3.0635 18.9365C3.23226 19.1052 3.46187 19.1997 3.70048 19.1997H19.8991C20.1377 19.1997 20.3673 19.1052 20.5361 18.9365C20.7048 18.7677 20.7992 18.5382 20.7992 18.2995V8.39989ZM14.4992 12.8996C14.4991 11.4086 13.2908 10.2002 11.7998 10.2002C10.3087 10.2002 9.10048 11.4086 9.10038 12.8996C9.10038 14.3907 10.3087 15.6001 11.7998 15.6001C13.2909 15.6001 14.4992 14.3907 14.4992 12.8996ZM16.2995 12.8996C16.2995 15.3848 14.285 17.3994 11.7998 17.3994C9.3146 17.3994 7.30005 15.3848 7.30005 12.8996C7.30016 10.4145 9.31466 8.39989 11.7998 8.39989C14.2849 8.39989 16.2994 10.4145 16.2995 12.8996ZM22.5996 18.2995C22.5996 19.0154 22.3151 19.702 21.809 20.2083C21.3026 20.7147 20.6151 21 19.8991 21H3.70048C2.98443 21 2.29692 20.7147 1.79059 20.2083C1.28451 19.702 1 19.0154 1 18.2995V8.39989C1.00003 7.68401 1.28447 6.99736 1.79059 6.49108C2.29692 5.98475 2.98443 5.70048 3.70048 5.70048H6.81882L8.3506 3.40067L8.41935 3.31151C8.58905 3.11527 8.83728 3 9.10038 3H14.4992L14.6109 3.00752C14.8687 3.03962 15.1028 3.18147 15.249 3.40067L16.7807 5.70048H19.8991C20.6151 5.70048 21.3026 5.98475 21.809 6.49108C22.3151 6.99736 22.5995 7.68401 22.5996 8.39989V18.2995Z",
|
|
286
|
+
fill: "currentColor"
|
|
287
|
+
}
|
|
288
|
+
) });
|
|
289
|
+
}
|
|
290
|
+
|
|
281
291
|
function IconCharacteristic(props) {
|
|
282
292
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
283
293
|
"path",
|
|
@@ -427,6 +437,16 @@ function IconCopy(props) {
|
|
|
427
437
|
) });
|
|
428
438
|
}
|
|
429
439
|
|
|
440
|
+
function IconDocument(props) {
|
|
441
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
442
|
+
"path",
|
|
443
|
+
{
|
|
444
|
+
d: "M19.2 9.246C19.1906 9.16332 19.1725 9.08187 19.146 9.003V8.922C19.1027 8.82946 19.045 8.7444 18.975 8.67L13.575 3.27C13.5006 3.19999 13.4155 3.14227 13.323 3.099H13.242C13.1506 3.04657 13.0496 3.01291 12.945 3H7.5C6.78392 3 6.09716 3.28446 5.59081 3.79081C5.08447 4.29716 4.8 4.98392 4.8 5.7V18.3C4.8 19.0161 5.08447 19.7028 5.59081 20.2092C6.09716 20.7155 6.78392 21 7.5 21H16.5C17.2161 21 17.9028 20.7155 18.4092 20.2092C18.9155 19.7028 19.2 19.0161 19.2 18.3V9.3C19.2 9.3 19.2 9.3 19.2 9.246ZM13.8 6.069L16.131 8.4H14.7C14.4613 8.4 14.2324 8.30518 14.0636 8.1364C13.8948 7.96761 13.8 7.73869 13.8 7.5V6.069ZM17.4 18.3C17.4 18.5387 17.3052 18.7676 17.1364 18.9364C16.9676 19.1052 16.7387 19.2 16.5 19.2H7.5C7.26131 19.2 7.03239 19.1052 6.86361 18.9364C6.69482 18.7676 6.6 18.5387 6.6 18.3V5.7C6.6 5.46131 6.69482 5.23239 6.86361 5.0636C7.03239 4.89482 7.26131 4.8 7.5 4.8H12V7.5C12 8.21608 12.2845 8.90284 12.7908 9.40919C13.2972 9.91554 13.9839 10.2 14.7 10.2H17.4V18.3Z",
|
|
445
|
+
fill: "currentColor"
|
|
446
|
+
}
|
|
447
|
+
) });
|
|
448
|
+
}
|
|
449
|
+
|
|
430
450
|
function IconDots(props) {
|
|
431
451
|
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: [
|
|
432
452
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -759,6 +779,25 @@ function IconOneCircle(props) {
|
|
|
759
779
|
) });
|
|
760
780
|
}
|
|
761
781
|
|
|
782
|
+
function IconPause(props) {
|
|
783
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
784
|
+
"path",
|
|
785
|
+
{
|
|
786
|
+
d: "M7.92615 21C8.44915 21 8.8632 20.6077 8.8632 20.0956V3.91525C8.8632 3.40315 8.44915 3 7.92615 3C7.41404 3 7 3.40315 7 3.91525V20.0956C7 20.6077 7.41404 21 7.92615 21ZM15.1283 21C15.6404 21 16.0654 20.6077 16.0654 20.0956V3.91525C16.0654 3.40315 15.6404 3 15.1283 3C14.6162 3 14.2022 3.40315 14.2022 3.91525V20.0956C14.2022 20.6077 14.6162 21 15.1283 21Z",
|
|
787
|
+
fill: "currentColor"
|
|
788
|
+
}
|
|
789
|
+
) });
|
|
790
|
+
}
|
|
791
|
+
IconPause.Filled = function IconPauseFilled(props) {
|
|
792
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
793
|
+
"path",
|
|
794
|
+
{
|
|
795
|
+
d: "M6.46961 21H8.98896C9.95029 21 10.4586 20.4918 10.4586 19.5193V4.46961C10.4586 3.46409 9.95029 3 8.98896 3H6.46961C5.50829 3 5 3.50829 5 4.46961V19.5193C5 20.4918 5.50829 21 6.46961 21ZM14.5028 21H17.0111C17.9834 21 18.4807 20.4918 18.4807 19.5193V4.46961C18.4807 3.46409 17.9834 3 17.0111 3H14.5028C13.5304 3 13.0221 3.50829 13.0221 4.46961V19.5193C13.0221 20.4918 13.5304 21 14.5028 21Z",
|
|
796
|
+
fill: "currentColor"
|
|
797
|
+
}
|
|
798
|
+
) });
|
|
799
|
+
};
|
|
800
|
+
|
|
762
801
|
function IconPerson(props) {
|
|
763
802
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
764
803
|
"path",
|
|
@@ -792,6 +831,25 @@ function IconPhone(props) {
|
|
|
792
831
|
) });
|
|
793
832
|
}
|
|
794
833
|
|
|
834
|
+
function IconPlay(props) {
|
|
835
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
836
|
+
"path",
|
|
837
|
+
{
|
|
838
|
+
d: "M5.09742 21C5.5227 21 5.88419 20.8299 6.30947 20.5853L18.7063 13.4194C19.5888 12.8984 19.8972 12.5582 19.8972 11.9947C19.8972 11.4312 19.5888 11.091 18.7063 10.5806L6.30947 3.40402C5.88419 3.15948 5.5227 3 5.09742 3C4.31065 3 3.82158 3.59539 3.82158 4.52038V19.469C3.82158 20.3939 4.31065 21 5.09742 21ZM5.63966 18.9693C5.57586 18.9693 5.53333 18.9267 5.53333 18.8417V5.14766C5.53333 5.06261 5.57586 5.02008 5.63966 5.02008C5.68218 5.02008 5.72471 5.04135 5.76723 5.07324L17.5369 11.8777C17.59 11.9096 17.6326 11.9415 17.6326 11.9947C17.6326 12.0478 17.59 12.0904 17.5369 12.1116L5.76723 18.9267C5.72471 18.948 5.68218 18.9693 5.63966 18.9693Z",
|
|
839
|
+
fill: "currentColor"
|
|
840
|
+
}
|
|
841
|
+
) });
|
|
842
|
+
}
|
|
843
|
+
IconPlay.Filled = function IconPlayFilled(props) {
|
|
844
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
845
|
+
"path",
|
|
846
|
+
{
|
|
847
|
+
d: "M5.09742 21C5.5227 21 5.88419 20.8299 6.30947 20.5853L18.7063 13.4194C19.5888 12.8984 19.8972 12.5582 19.8972 11.9947C19.8972 11.4312 19.5888 11.091 18.7063 10.5806L6.30947 3.40402C5.88419 3.15948 5.5227 3 5.09742 3C4.31065 3 3.82158 3.59539 3.82158 4.52038V19.469C3.82158 20.3939 4.31065 21 5.09742 21Z",
|
|
848
|
+
fill: "currentColor"
|
|
849
|
+
}
|
|
850
|
+
) });
|
|
851
|
+
};
|
|
852
|
+
|
|
795
853
|
function IconPlus(props) {
|
|
796
854
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
797
855
|
"path",
|
|
@@ -1028,6 +1086,16 @@ IconTrash.Filled = function IconTrashFilled(props) {
|
|
|
1028
1086
|
) });
|
|
1029
1087
|
};
|
|
1030
1088
|
|
|
1089
|
+
function IconUpload(props) {
|
|
1090
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1091
|
+
"path",
|
|
1092
|
+
{
|
|
1093
|
+
d: "M2.99989 18.3V14.6999C2.99989 14.2029 3.40284 13.7999 3.8999 13.7999C4.39697 13.7999 4.79991 14.2029 4.79991 14.6999V18.3C4.79991 18.5387 4.8948 18.7675 5.06359 18.9363C5.23237 19.1051 5.46123 19.2 5.69992 19.2H18.3001C18.5388 19.2 18.7676 19.1051 18.9364 18.9363C19.1052 18.7675 19.2001 18.5387 19.2001 18.3V14.6999C19.2001 14.2029 19.603 13.7999 20.1001 13.7999C20.5972 13.7999 21.0001 14.2029 21.0001 14.6999V18.3C21.0001 19.0161 20.7154 19.7026 20.2091 20.209C19.7027 20.7153 19.0162 21 18.3001 21H5.69992C4.98383 21 4.29727 20.7153 3.79092 20.209C3.28456 19.7026 2.99989 19.0161 2.99989 18.3ZM11.1 14.6999V6.07248L8.13628 9.03619C7.78481 9.38766 7.21509 9.38766 6.86361 9.03619C6.51213 8.68471 6.51213 8.11499 6.86361 7.76352L11.3637 3.26346L11.4322 3.20194C11.7857 2.91362 12.3068 2.93396 12.6363 3.26346L17.1364 7.76352C17.4879 8.11499 17.4879 8.68471 17.1364 9.03619C16.7849 9.38766 16.2152 9.38766 15.8637 9.03619L12.9 6.07248V14.6999C12.9 15.197 12.4971 15.5999 12 15.5999C11.5029 15.5999 11.1 15.197 11.1 14.6999Z",
|
|
1094
|
+
fill: "currentColor"
|
|
1095
|
+
}
|
|
1096
|
+
) });
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1031
1099
|
function IconXMark(props) {
|
|
1032
1100
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1033
1101
|
"path",
|
|
@@ -1068,7 +1136,7 @@ function IconXMarkCircle(props) {
|
|
|
1068
1136
|
const breadcrumbs = "_breadcrumbs_1bfmb_2";
|
|
1069
1137
|
const breadcrumbsItem = "_breadcrumbsItem_1bfmb_8";
|
|
1070
1138
|
const defaultSeparator = "_defaultSeparator_1bfmb_14";
|
|
1071
|
-
const styles$
|
|
1139
|
+
const styles$A = {
|
|
1072
1140
|
breadcrumbs: breadcrumbs,
|
|
1073
1141
|
breadcrumbsItem: breadcrumbsItem,
|
|
1074
1142
|
defaultSeparator: defaultSeparator
|
|
@@ -1117,7 +1185,7 @@ function Slot({
|
|
|
1117
1185
|
}
|
|
1118
1186
|
|
|
1119
1187
|
const breadcrumbItem = "_breadcrumbItem_cua4v_2";
|
|
1120
|
-
const styles$
|
|
1188
|
+
const styles$z = {
|
|
1121
1189
|
breadcrumbItem: breadcrumbItem
|
|
1122
1190
|
};
|
|
1123
1191
|
|
|
@@ -1128,7 +1196,7 @@ function BreadcrumbItem({ children, className, isActive, asChild, ...props }) {
|
|
|
1128
1196
|
{
|
|
1129
1197
|
"data-active": isActive,
|
|
1130
1198
|
"data-disabled": props.disabled,
|
|
1131
|
-
className: classNames(styles$
|
|
1199
|
+
className: classNames(styles$z.breadcrumbItem, className),
|
|
1132
1200
|
...isActive && { "aria-current": "page" },
|
|
1133
1201
|
...!asChild && { type: "button" },
|
|
1134
1202
|
...props,
|
|
@@ -1140,13 +1208,13 @@ function BreadcrumbItem({ children, className, isActive, asChild, ...props }) {
|
|
|
1140
1208
|
function Breadcrumbs({
|
|
1141
1209
|
className,
|
|
1142
1210
|
children,
|
|
1143
|
-
separator = /* @__PURE__ */ jsxRuntime.jsx(IconChevron, { className: styles$
|
|
1211
|
+
separator = /* @__PURE__ */ jsxRuntime.jsx(IconChevron, { className: styles$A.defaultSeparator })
|
|
1144
1212
|
}) {
|
|
1145
1213
|
const childrenArray = Array.isArray(children) ? children : [children];
|
|
1146
1214
|
const lastIndex = childrenArray.length - 1;
|
|
1147
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "breadcrumb", className, children: /* @__PURE__ */ jsxRuntime.jsx("ol", { className: styles$
|
|
1148
|
-
/* @__PURE__ */ jsxRuntime.jsx("li", { className: styles$
|
|
1149
|
-
index < lastIndex && /* @__PURE__ */ jsxRuntime.jsx("li", { className: styles$
|
|
1215
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "breadcrumb", className, children: /* @__PURE__ */ jsxRuntime.jsx("ol", { className: styles$A.breadcrumbs, children: childrenArray.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(React.Fragment, { children: [
|
|
1216
|
+
/* @__PURE__ */ jsxRuntime.jsx("li", { className: styles$A.breadcrumbsItem, children: item }),
|
|
1217
|
+
index < lastIndex && /* @__PURE__ */ jsxRuntime.jsx("li", { className: styles$A.breadcrumbsItem, "aria-hidden": "true", children: separator })
|
|
1150
1218
|
] }, index)) }) });
|
|
1151
1219
|
}
|
|
1152
1220
|
Breadcrumbs.Item = BreadcrumbItem;
|
|
@@ -1161,7 +1229,7 @@ const neutral$2 = "_neutral_1waqk_78";
|
|
|
1161
1229
|
const lg$6 = "_lg_1waqk_145";
|
|
1162
1230
|
const md$9 = "_md_1waqk_153";
|
|
1163
1231
|
const sm$4 = "_sm_1waqk_161";
|
|
1164
|
-
const styles$
|
|
1232
|
+
const styles$y = {
|
|
1165
1233
|
button: button,
|
|
1166
1234
|
accent: accent$3,
|
|
1167
1235
|
primary: primary$2,
|
|
@@ -1179,7 +1247,7 @@ const accent$2 = "_accent_o8iku_10";
|
|
|
1179
1247
|
const neutral$1 = "_neutral_o8iku_22";
|
|
1180
1248
|
const lg$5 = "_lg_o8iku_41";
|
|
1181
1249
|
const md$8 = "_md_o8iku_46";
|
|
1182
|
-
const styles$
|
|
1250
|
+
const styles$x = {
|
|
1183
1251
|
buttonFunction: buttonFunction,
|
|
1184
1252
|
accent: accent$2,
|
|
1185
1253
|
neutral: neutral$1,
|
|
@@ -1199,7 +1267,7 @@ function ButtonFunction({
|
|
|
1199
1267
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1200
1268
|
Component,
|
|
1201
1269
|
{
|
|
1202
|
-
className: classNames(styles$
|
|
1270
|
+
className: classNames(styles$x.buttonFunction, styles$x[color], styles$x[size], className),
|
|
1203
1271
|
...props.disabled && { "data-disabled": true },
|
|
1204
1272
|
...!asChild && { type: "button" },
|
|
1205
1273
|
...props,
|
|
@@ -1221,7 +1289,7 @@ function Button({
|
|
|
1221
1289
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1222
1290
|
Component,
|
|
1223
1291
|
{
|
|
1224
|
-
className: classNames(styles$
|
|
1292
|
+
className: classNames(styles$y.button, styles$y[color], styles$y[size], styles$y[mode], className),
|
|
1225
1293
|
...!asChild && { type: "button" },
|
|
1226
1294
|
...props,
|
|
1227
1295
|
children
|
|
@@ -1233,7 +1301,7 @@ Button.Function = ButtonFunction;
|
|
|
1233
1301
|
const checkboxWrapper = "_checkboxWrapper_k1shg_2";
|
|
1234
1302
|
const icon$2 = "_icon_k1shg_23";
|
|
1235
1303
|
const checkbox = "_checkbox_k1shg_2";
|
|
1236
|
-
const styles$
|
|
1304
|
+
const styles$w = {
|
|
1237
1305
|
checkboxWrapper: checkboxWrapper,
|
|
1238
1306
|
icon: icon$2,
|
|
1239
1307
|
checkbox: checkbox
|
|
@@ -1246,11 +1314,11 @@ function Checkbox({ className, label, indeterminate, ...props }) {
|
|
|
1246
1314
|
{
|
|
1247
1315
|
"data-disabled": `${Boolean(props.disabled)}`,
|
|
1248
1316
|
"data-state": dataState,
|
|
1249
|
-
className: classNames(styles$
|
|
1317
|
+
className: classNames(styles$w.checkboxWrapper, className),
|
|
1250
1318
|
children: [
|
|
1251
|
-
dataState === "checked" && /* @__PURE__ */ jsxRuntime.jsx(IconCheck, { "data-disabled": `${Boolean(props.disabled)}`, className: styles$
|
|
1252
|
-
dataState === "indeterminate" && /* @__PURE__ */ jsxRuntime.jsx(IconMinus, { "data-disabled": `${Boolean(props.disabled)}`, className: styles$
|
|
1253
|
-
/* @__PURE__ */ jsxRuntime.jsx("input", { "data-state": dataState, type: "checkbox", className: styles$
|
|
1319
|
+
dataState === "checked" && /* @__PURE__ */ jsxRuntime.jsx(IconCheck, { "data-disabled": `${Boolean(props.disabled)}`, className: styles$w.icon }),
|
|
1320
|
+
dataState === "indeterminate" && /* @__PURE__ */ jsxRuntime.jsx(IconMinus, { "data-disabled": `${Boolean(props.disabled)}`, className: styles$w.icon }),
|
|
1321
|
+
/* @__PURE__ */ jsxRuntime.jsx("input", { "data-state": dataState, type: "checkbox", className: styles$w.checkbox, ...props }),
|
|
1254
1322
|
label
|
|
1255
1323
|
]
|
|
1256
1324
|
}
|
|
@@ -1258,7 +1326,7 @@ function Checkbox({ className, label, indeterminate, ...props }) {
|
|
|
1258
1326
|
}
|
|
1259
1327
|
|
|
1260
1328
|
const chip = "_chip_dj4kw_2";
|
|
1261
|
-
const styles$
|
|
1329
|
+
const styles$v = {
|
|
1262
1330
|
chip: chip
|
|
1263
1331
|
};
|
|
1264
1332
|
|
|
@@ -1266,7 +1334,7 @@ function Chip({ isSelected, children, className, disabled, ...props }) {
|
|
|
1266
1334
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1267
1335
|
"div",
|
|
1268
1336
|
{
|
|
1269
|
-
className: classNames(styles$
|
|
1337
|
+
className: classNames(styles$v.chip, className),
|
|
1270
1338
|
"data-selected": isSelected,
|
|
1271
1339
|
"data-disabled": disabled,
|
|
1272
1340
|
"aria-disabled": disabled,
|
|
@@ -1284,7 +1352,7 @@ const accent$1 = "_accent_ww0fb_37";
|
|
|
1284
1352
|
const neutral = "_neutral_ww0fb_42";
|
|
1285
1353
|
const secondary$2 = "_secondary_ww0fb_47";
|
|
1286
1354
|
const white = "_white_ww0fb_52";
|
|
1287
|
-
const styles$
|
|
1355
|
+
const styles$u = {
|
|
1288
1356
|
root: root$1,
|
|
1289
1357
|
lg: lg$4,
|
|
1290
1358
|
md: md$7,
|
|
@@ -1296,7 +1364,7 @@ const styles$p = {
|
|
|
1296
1364
|
};
|
|
1297
1365
|
|
|
1298
1366
|
function Counter({ className, size = "lg", color = "red", ...props }) {
|
|
1299
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$
|
|
1367
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$u.root, styles$u[size], styles$u[color], className), ...props });
|
|
1300
1368
|
}
|
|
1301
1369
|
|
|
1302
1370
|
const LOCALE_FIRST_DAY_OF_WEEK = {
|
|
@@ -1306,7 +1374,7 @@ const LOCALE_FIRST_DAY_OF_WEEK = {
|
|
|
1306
1374
|
|
|
1307
1375
|
const datePickerCellWrapper = "_datePickerCellWrapper_np1gx_2";
|
|
1308
1376
|
const datePickerCell = "_datePickerCell_np1gx_2";
|
|
1309
|
-
const styles$
|
|
1377
|
+
const styles$t = {
|
|
1310
1378
|
datePickerCellWrapper: datePickerCellWrapper,
|
|
1311
1379
|
datePickerCell: datePickerCell,
|
|
1312
1380
|
"radius-none": "_radius-none_np1gx_83",
|
|
@@ -1316,10 +1384,10 @@ const styles$o = {
|
|
|
1316
1384
|
};
|
|
1317
1385
|
|
|
1318
1386
|
function DatePickerCell({ children, className, state, isCurrent, radius = "both", ...props }) {
|
|
1319
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$
|
|
1387
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$t.datePickerCellWrapper, styles$t[`radius-${radius}`]), "data-state": state, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1320
1388
|
"button",
|
|
1321
1389
|
{
|
|
1322
|
-
className: classNames(styles$
|
|
1390
|
+
className: classNames(styles$t.datePickerCell, styles$t[`radius-${radius}`], className),
|
|
1323
1391
|
type: "button",
|
|
1324
1392
|
role: "gridcell",
|
|
1325
1393
|
"aria-selected": state === "selected",
|
|
@@ -1389,7 +1457,7 @@ function normalizeDateRange(firstDate, secondDate) {
|
|
|
1389
1457
|
const datePickerField = "_datePickerField_1qk8s_2";
|
|
1390
1458
|
const datePickerFieldCalendar = "_datePickerFieldCalendar_1qk8s_8";
|
|
1391
1459
|
const datePickerFieldWeek = "_datePickerFieldWeek_1qk8s_14";
|
|
1392
|
-
const styles$
|
|
1460
|
+
const styles$s = {
|
|
1393
1461
|
datePickerField: datePickerField,
|
|
1394
1462
|
datePickerFieldCalendar: datePickerFieldCalendar,
|
|
1395
1463
|
datePickerFieldWeek: datePickerFieldWeek
|
|
@@ -1404,9 +1472,9 @@ function DatePickerField({
|
|
|
1404
1472
|
firstDayOfWeek = LOCALE_FIRST_DAY_OF_WEEK.ru
|
|
1405
1473
|
}) {
|
|
1406
1474
|
const weeks = React.useMemo(() => getCalendarGrid(month, year, firstDayOfWeek), [month, year, firstDayOfWeek]);
|
|
1407
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: classNames(styles$
|
|
1475
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: classNames(styles$s.datePickerField, className), role: "grid", children: [
|
|
1408
1476
|
renderWeekdays?.(),
|
|
1409
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$
|
|
1477
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$s.datePickerFieldCalendar, role: "rowgroup", children: weeks.map((week, weekIndex) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$s.datePickerFieldWeek, role: "row", "aria-rowindex": weekIndex + 1, children: week.map((day, dayIndex) => /* @__PURE__ */ jsxRuntime.jsx(Slot, { role: "gridcell", "aria-colindex": dayIndex + 1, children: children(day) }, `${day.year}-${day.month}-${day.date}`)) }, weekIndex)) })
|
|
1410
1478
|
] });
|
|
1411
1479
|
}
|
|
1412
1480
|
|
|
@@ -1447,13 +1515,13 @@ const I18N_MONTH_LABELS = {
|
|
|
1447
1515
|
|
|
1448
1516
|
const datePickerWeekdays = "_datePickerWeekdays_p8tsm_2";
|
|
1449
1517
|
const datePickerWeekday = "_datePickerWeekday_p8tsm_2";
|
|
1450
|
-
const styles$
|
|
1518
|
+
const styles$r = {
|
|
1451
1519
|
datePickerWeekdays: datePickerWeekdays,
|
|
1452
1520
|
datePickerWeekday: datePickerWeekday
|
|
1453
1521
|
};
|
|
1454
1522
|
|
|
1455
1523
|
function DatePickerWeekDays({ className, locale = "ru" }) {
|
|
1456
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$
|
|
1524
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$r.datePickerWeekdays, className), role: "row", children: I18N_WEEKDAY_LABELS[locale].map((label) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$r.datePickerWeekday, role: "columnheader", children: label }, label)) });
|
|
1457
1525
|
}
|
|
1458
1526
|
|
|
1459
1527
|
function DatePicker() {
|
|
@@ -1689,21 +1757,21 @@ const DROPDOWN_PORTAL_SIDE_CONFIG = {
|
|
|
1689
1757
|
};
|
|
1690
1758
|
|
|
1691
1759
|
const dropdownContent = "_dropdownContent_12tkb_2";
|
|
1692
|
-
const styles$
|
|
1760
|
+
const styles$q = {
|
|
1693
1761
|
dropdownContent: dropdownContent
|
|
1694
1762
|
};
|
|
1695
1763
|
|
|
1696
1764
|
function DropdownContent({ className, children, ...props }) {
|
|
1697
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$
|
|
1765
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$q.dropdownContent, className), ...props, children });
|
|
1698
1766
|
}
|
|
1699
1767
|
|
|
1700
1768
|
const dropdownItem = "_dropdownItem_msc4i_2";
|
|
1701
|
-
const styles$
|
|
1769
|
+
const styles$p = {
|
|
1702
1770
|
dropdownItem: dropdownItem
|
|
1703
1771
|
};
|
|
1704
1772
|
|
|
1705
1773
|
function DropdownItem({ className, children, disabled, ...props }) {
|
|
1706
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$
|
|
1774
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$p.dropdownItem, className), role: "menuitem", "data-disabled": disabled, ...props, children });
|
|
1707
1775
|
}
|
|
1708
1776
|
|
|
1709
1777
|
const CLICK_OUTSIDE_IGNORE_DATA_NAME = "data-clickoutside-ignore";
|
|
@@ -2131,7 +2199,7 @@ function useTriggerHandlersByEventTrigger() {
|
|
|
2131
2199
|
}
|
|
2132
2200
|
|
|
2133
2201
|
const dropdownPortal = "_dropdownPortal_p3tdk_2";
|
|
2134
|
-
const styles$
|
|
2202
|
+
const styles$o = {
|
|
2135
2203
|
dropdownPortal: dropdownPortal
|
|
2136
2204
|
};
|
|
2137
2205
|
|
|
@@ -2171,7 +2239,7 @@ function DropdownPortal({
|
|
|
2171
2239
|
...style
|
|
2172
2240
|
},
|
|
2173
2241
|
ref: portalRef,
|
|
2174
|
-
className: classNames(styles$
|
|
2242
|
+
className: classNames(styles$o.dropdownPortal, className),
|
|
2175
2243
|
...handlersByTrigger[triggerEvent],
|
|
2176
2244
|
...isNested && { [CLICK_OUTSIDE_IGNORE_DATA_NAME]: "true" },
|
|
2177
2245
|
children
|
|
@@ -2228,7 +2296,7 @@ const closeButton = "_closeButton_1kerp_74";
|
|
|
2228
2296
|
const closeIcon = "_closeIcon_1kerp_95";
|
|
2229
2297
|
const description = "_description_1kerp_100";
|
|
2230
2298
|
const actions = "_actions_1kerp_108";
|
|
2231
|
-
const styles$
|
|
2299
|
+
const styles$n = {
|
|
2232
2300
|
notificationInline: notificationInline,
|
|
2233
2301
|
accent: accent,
|
|
2234
2302
|
negative: negative,
|
|
@@ -2263,15 +2331,15 @@ function NotificationInline({
|
|
|
2263
2331
|
...props
|
|
2264
2332
|
}) {
|
|
2265
2333
|
const StatusIcon = STATUS_ICONS[color];
|
|
2266
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: classNames(styles$
|
|
2267
|
-
/* @__PURE__ */ jsxRuntime.jsx(StatusIcon, { className: styles$
|
|
2268
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: styles$
|
|
2269
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: styles$
|
|
2270
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$
|
|
2271
|
-
onClose && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", "aria-label": "Close", className: styles$
|
|
2334
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: classNames(styles$n.notificationInline, styles$n[color], styles$n[mode], className), ...props, children: [
|
|
2335
|
+
/* @__PURE__ */ jsxRuntime.jsx(StatusIcon, { className: styles$n.statusIcon, "aria-hidden": "true" }),
|
|
2336
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: styles$n.body, children: [
|
|
2337
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: styles$n.titleRow, children: [
|
|
2338
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$n.title, children: title }),
|
|
2339
|
+
onClose && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", "aria-label": "Close", className: styles$n.closeButton, onClick: onClose, children: /* @__PURE__ */ jsxRuntime.jsx(IconXMark.Small, { className: styles$n.closeIcon, "aria-hidden": "true" }) })
|
|
2272
2340
|
] }),
|
|
2273
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$
|
|
2274
|
-
children && /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$
|
|
2341
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$n.description, children: description }),
|
|
2342
|
+
children && /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$n.actions, children })
|
|
2275
2343
|
] })
|
|
2276
2344
|
] });
|
|
2277
2345
|
}
|
|
@@ -2287,7 +2355,7 @@ const BOUNDARY_PAGES = 2;
|
|
|
2287
2355
|
const paginationItem = "_paginationItem_1ll6p_2";
|
|
2288
2356
|
const md$6 = "_md_1ll6p_46";
|
|
2289
2357
|
const sm$3 = "_sm_1ll6p_60";
|
|
2290
|
-
const styles$
|
|
2358
|
+
const styles$m = {
|
|
2291
2359
|
paginationItem: paginationItem,
|
|
2292
2360
|
md: md$6,
|
|
2293
2361
|
sm: sm$3
|
|
@@ -2299,7 +2367,7 @@ function PaginationItem({ className, children, size = "md", isCurrent, ...props
|
|
|
2299
2367
|
{
|
|
2300
2368
|
type: "button",
|
|
2301
2369
|
...isCurrent && { "aria-current": "page" },
|
|
2302
|
-
className: classNames(styles$
|
|
2370
|
+
className: classNames(styles$m.paginationItem, styles$m[size], className),
|
|
2303
2371
|
...props,
|
|
2304
2372
|
children
|
|
2305
2373
|
}
|
|
@@ -2336,7 +2404,7 @@ function getVisiblePages(totalPages, maxVisiblePagesWithEllipsis, currentPage) {
|
|
|
2336
2404
|
const paginationRoot = "_paginationRoot_c5fwx_2";
|
|
2337
2405
|
const paginationList = "_paginationList_c5fwx_7";
|
|
2338
2406
|
const arrowLeft = "_arrowLeft_c5fwx_13";
|
|
2339
|
-
const styles$
|
|
2407
|
+
const styles$l = {
|
|
2340
2408
|
paginationRoot: paginationRoot,
|
|
2341
2409
|
paginationList: paginationList,
|
|
2342
2410
|
arrowLeft: arrowLeft
|
|
@@ -2363,9 +2431,9 @@ function PaginationRoot({
|
|
|
2363
2431
|
{
|
|
2364
2432
|
"aria-label": "pagination navigation",
|
|
2365
2433
|
role: "navigation",
|
|
2366
|
-
className: classNames(styles$
|
|
2434
|
+
className: classNames(styles$l.paginationRoot, className),
|
|
2367
2435
|
...props,
|
|
2368
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: styles$
|
|
2436
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: styles$l.paginationList, children: [
|
|
2369
2437
|
showArrows && /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2370
2438
|
PaginationItem$1,
|
|
2371
2439
|
{
|
|
@@ -2373,7 +2441,7 @@ function PaginationRoot({
|
|
|
2373
2441
|
onClick: () => onPageChange(currentPage - 1),
|
|
2374
2442
|
disabled: isFirstPage,
|
|
2375
2443
|
size,
|
|
2376
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(IconChevron$1, { className: styles$
|
|
2444
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(IconChevron$1, { className: styles$l.arrowLeft })
|
|
2377
2445
|
}
|
|
2378
2446
|
) }),
|
|
2379
2447
|
visiblePages.map((page, index) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: page === ELLIPSIS_SYMBOL ? /* @__PURE__ */ jsxRuntime.jsx(PaginationItem$1, { "aria-label": "More pages", disabled: true, size, children: /* @__PURE__ */ jsxRuntime.jsx(Ellipsis, {}) }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2413,7 +2481,7 @@ const fill$1 = "_fill_33gbh_23";
|
|
|
2413
2481
|
const trail = "_trail_33gbh_28";
|
|
2414
2482
|
const sm$2 = "_sm_33gbh_32";
|
|
2415
2483
|
const md$5 = "_md_33gbh_36";
|
|
2416
|
-
const styles$
|
|
2484
|
+
const styles$k = {
|
|
2417
2485
|
root: root,
|
|
2418
2486
|
segment: segment,
|
|
2419
2487
|
flexGrow: flexGrow,
|
|
@@ -2434,7 +2502,7 @@ function ProgressBarLinear({
|
|
|
2434
2502
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2435
2503
|
"div",
|
|
2436
2504
|
{
|
|
2437
|
-
className: classNames(styles$
|
|
2505
|
+
className: classNames(styles$k.root, styles$k[size], className),
|
|
2438
2506
|
role: "progressbar",
|
|
2439
2507
|
"aria-valuenow": clampedPercent,
|
|
2440
2508
|
"aria-valuemin": 0,
|
|
@@ -2446,14 +2514,14 @@ function ProgressBarLinear({
|
|
|
2446
2514
|
(Boolean(clampedPercent) || showFillOnZero) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2447
2515
|
"div",
|
|
2448
2516
|
{
|
|
2449
|
-
className: classNames(styles$
|
|
2517
|
+
className: classNames(styles$k.segment, styles$k.fill),
|
|
2450
2518
|
style: {
|
|
2451
2519
|
"--clamped-percent": `${clampedPercent}%`
|
|
2452
2520
|
},
|
|
2453
2521
|
"aria-hidden": "true"
|
|
2454
2522
|
}
|
|
2455
2523
|
),
|
|
2456
|
-
clampedPercent < 100 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$
|
|
2524
|
+
clampedPercent < 100 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$k.segment, styles$k.flexGrow, styles$k.trail), "aria-hidden": "true" })
|
|
2457
2525
|
]
|
|
2458
2526
|
}
|
|
2459
2527
|
);
|
|
@@ -2473,7 +2541,7 @@ function ProgressBarSteps({
|
|
|
2473
2541
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2474
2542
|
"div",
|
|
2475
2543
|
{
|
|
2476
|
-
className: classNames(styles$
|
|
2544
|
+
className: classNames(styles$k.segment, styles$k.flexGrow, isFilled ? styles$k.fill : styles$k.trail),
|
|
2477
2545
|
"aria-hidden": "true"
|
|
2478
2546
|
},
|
|
2479
2547
|
index
|
|
@@ -2482,7 +2550,7 @@ function ProgressBarSteps({
|
|
|
2482
2550
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2483
2551
|
"div",
|
|
2484
2552
|
{
|
|
2485
|
-
className: classNames(styles$
|
|
2553
|
+
className: classNames(styles$k.root, styles$k[size], className),
|
|
2486
2554
|
role: "progressbar",
|
|
2487
2555
|
"aria-valuenow": clampedCurrent,
|
|
2488
2556
|
"aria-valuemin": 0,
|
|
@@ -2502,14 +2570,14 @@ ProgressBar.Steps = ProgressBarSteps;
|
|
|
2502
2570
|
|
|
2503
2571
|
const radioWrapper = "_radioWrapper_13xie_2";
|
|
2504
2572
|
const radio = "_radio_13xie_2";
|
|
2505
|
-
const styles$
|
|
2573
|
+
const styles$j = {
|
|
2506
2574
|
radioWrapper: radioWrapper,
|
|
2507
2575
|
radio: radio
|
|
2508
2576
|
};
|
|
2509
2577
|
|
|
2510
2578
|
function RadioButton({ className, label, ...props }) {
|
|
2511
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("label", { "data-disabled": `${Boolean(props.disabled)}`, className: classNames(styles$
|
|
2512
|
-
/* @__PURE__ */ jsxRuntime.jsx("input", { type: "radio", className: styles$
|
|
2579
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("label", { "data-disabled": `${Boolean(props.disabled)}`, className: classNames(styles$j.radioWrapper, className), children: [
|
|
2580
|
+
/* @__PURE__ */ jsxRuntime.jsx("input", { type: "radio", className: styles$j.radio, ...props }),
|
|
2513
2581
|
label
|
|
2514
2582
|
] });
|
|
2515
2583
|
}
|
|
@@ -2520,7 +2588,7 @@ const textFieldAreaWrapper = "_textFieldAreaWrapper_pia91_2";
|
|
|
2520
2588
|
const textFieldAreaLabel = "_textFieldAreaLabel_pia91_14";
|
|
2521
2589
|
const textFieldAreaLabelSuffix = "_textFieldAreaLabelSuffix_pia91_24";
|
|
2522
2590
|
const textFieldArea = "_textFieldArea_pia91_2";
|
|
2523
|
-
const styles$
|
|
2591
|
+
const styles$i = {
|
|
2524
2592
|
textFieldAreaWrapper: textFieldAreaWrapper,
|
|
2525
2593
|
textFieldAreaLabel: textFieldAreaLabel,
|
|
2526
2594
|
textFieldAreaLabelSuffix: textFieldAreaLabelSuffix,
|
|
@@ -2541,14 +2609,14 @@ function TextFieldArea({
|
|
|
2541
2609
|
"data-invalid": isInvalid,
|
|
2542
2610
|
"aria-invalid": isInvalid,
|
|
2543
2611
|
"data-element": "field",
|
|
2544
|
-
className: classNames(styles$
|
|
2612
|
+
className: classNames(styles$i.textFieldArea, className),
|
|
2545
2613
|
placeholder,
|
|
2546
2614
|
...props
|
|
2547
2615
|
}
|
|
2548
2616
|
);
|
|
2549
|
-
return floatingLabel ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$
|
|
2550
|
-
/* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: props.id, className: styles$
|
|
2551
|
-
floatingLabelSuffix && /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$
|
|
2617
|
+
return floatingLabel ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$i.textFieldAreaWrapper, children: [
|
|
2618
|
+
/* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: props.id, className: styles$i.textFieldAreaLabel, "data-element": "label", children: floatingLabel }),
|
|
2619
|
+
floatingLabelSuffix && /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$i.textFieldAreaLabelSuffix, "data-element": "label-suffix", children: floatingLabelSuffix }),
|
|
2552
2620
|
textFieldArea
|
|
2553
2621
|
] }) : textFieldArea;
|
|
2554
2622
|
}
|
|
@@ -2556,7 +2624,7 @@ function TextFieldArea({
|
|
|
2556
2624
|
const textFieldInputWrapper = "_textFieldInputWrapper_1m8sa_2";
|
|
2557
2625
|
const textFieldInputLabel = "_textFieldInputLabel_1m8sa_9";
|
|
2558
2626
|
const textFieldInput = "_textFieldInput_1m8sa_2";
|
|
2559
|
-
const styles$
|
|
2627
|
+
const styles$h = {
|
|
2560
2628
|
textFieldInputWrapper: textFieldInputWrapper,
|
|
2561
2629
|
textFieldInputLabel: textFieldInputLabel,
|
|
2562
2630
|
textFieldInput: textFieldInput
|
|
@@ -2575,37 +2643,37 @@ function TextFieldInput({
|
|
|
2575
2643
|
"data-invalid": isInvalid,
|
|
2576
2644
|
"aria-invalid": isInvalid,
|
|
2577
2645
|
"data-element": "field",
|
|
2578
|
-
className: classNames(styles$
|
|
2646
|
+
className: classNames(styles$h.textFieldInput, className),
|
|
2579
2647
|
placeholder,
|
|
2580
2648
|
...props
|
|
2581
2649
|
}
|
|
2582
2650
|
);
|
|
2583
|
-
return floatingLabel ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$
|
|
2584
|
-
/* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: props.id, className: styles$
|
|
2651
|
+
return floatingLabel ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$h.textFieldInputWrapper, children: [
|
|
2652
|
+
/* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: props.id, className: styles$h.textFieldInputLabel, "data-element": "label", children: floatingLabel }),
|
|
2585
2653
|
textFieldInput
|
|
2586
2654
|
] }) : textFieldInput;
|
|
2587
2655
|
}
|
|
2588
2656
|
|
|
2589
2657
|
const textFieldLabel = "_textFieldLabel_1xy6x_2";
|
|
2590
|
-
const styles$
|
|
2658
|
+
const styles$g = {
|
|
2591
2659
|
textFieldLabel: textFieldLabel
|
|
2592
2660
|
};
|
|
2593
2661
|
|
|
2594
2662
|
function TextFieldLabel({ className, children, isRequired, ...props }) {
|
|
2595
|
-
return /* @__PURE__ */ jsxRuntime.jsx("label", { className: classNames(styles$
|
|
2663
|
+
return /* @__PURE__ */ jsxRuntime.jsx("label", { className: classNames(styles$g.textFieldLabel, className), "data-required": isRequired, ...props, children });
|
|
2596
2664
|
}
|
|
2597
2665
|
|
|
2598
2666
|
const textFieldRoot = "_textFieldRoot_cs7mv_2";
|
|
2599
2667
|
const lg$3 = "_lg_cs7mv_38";
|
|
2600
2668
|
const md$4 = "_md_cs7mv_70";
|
|
2601
|
-
const styles$
|
|
2669
|
+
const styles$f = {
|
|
2602
2670
|
textFieldRoot: textFieldRoot,
|
|
2603
2671
|
lg: lg$3,
|
|
2604
2672
|
md: md$4
|
|
2605
2673
|
};
|
|
2606
2674
|
|
|
2607
2675
|
function TextFieldRoot({ className, size = "lg", ...props }) {
|
|
2608
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$
|
|
2676
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$f.textFieldRoot, styles$f[size], className), ...props });
|
|
2609
2677
|
}
|
|
2610
2678
|
|
|
2611
2679
|
function TextField() {
|
|
@@ -2620,7 +2688,7 @@ const custom = "_custom_gh87y_15";
|
|
|
2620
2688
|
const icon$1 = "_icon_gh87y_25";
|
|
2621
2689
|
const inputCustomWrapper = "_inputCustomWrapper_gh87y_34";
|
|
2622
2690
|
const customButton = "_customButton_gh87y_49";
|
|
2623
|
-
const styles$
|
|
2691
|
+
const styles$e = {
|
|
2624
2692
|
search: search,
|
|
2625
2693
|
"default": "_default_gh87y_10",
|
|
2626
2694
|
custom: custom,
|
|
@@ -2646,7 +2714,7 @@ function Search(props) {
|
|
|
2646
2714
|
value && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2647
2715
|
IconXMark.Small,
|
|
2648
2716
|
{
|
|
2649
|
-
className: styles$
|
|
2717
|
+
className: styles$e.icon,
|
|
2650
2718
|
"aria-label": "clear search",
|
|
2651
2719
|
role: "button",
|
|
2652
2720
|
onClick: () => {
|
|
@@ -2660,13 +2728,13 @@ function Search(props) {
|
|
|
2660
2728
|
}
|
|
2661
2729
|
)
|
|
2662
2730
|
] });
|
|
2663
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(TextField.Root, { size: "md", className: classNames(styles$
|
|
2731
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(TextField.Root, { size: "md", className: classNames(styles$e.search, styles$e[mode], className), children: [
|
|
2664
2732
|
mode === "default" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2665
|
-
/* @__PURE__ */ jsxRuntime.jsx(IconSearch, { className: styles$
|
|
2733
|
+
/* @__PURE__ */ jsxRuntime.jsx(IconSearch, { className: styles$e.icon, "data-element": "icon" }),
|
|
2666
2734
|
inputField
|
|
2667
2735
|
] }),
|
|
2668
2736
|
mode === "custom" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2669
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$
|
|
2737
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$e.inputCustomWrapper, children: inputField }),
|
|
2670
2738
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2671
2739
|
"button",
|
|
2672
2740
|
{
|
|
@@ -2674,11 +2742,11 @@ function Search(props) {
|
|
|
2674
2742
|
type: "button",
|
|
2675
2743
|
onClick: props.onSearch,
|
|
2676
2744
|
"data-element": "custom-button",
|
|
2677
|
-
className: styles$
|
|
2745
|
+
className: styles$e.customButton,
|
|
2678
2746
|
style: {
|
|
2679
2747
|
"--custom-button-width": `${props.buttonWidth ?? DEFAULT_CUSTOM_SEARCH_BUTTON_WIDTH}px`
|
|
2680
2748
|
},
|
|
2681
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(IconSearch, { className: classNames(styles$
|
|
2749
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(IconSearch, { className: classNames(styles$e.icon), "data-element": "icon" })
|
|
2682
2750
|
}
|
|
2683
2751
|
)
|
|
2684
2752
|
] })
|
|
@@ -2704,7 +2772,7 @@ function useSegmentControlContext() {
|
|
|
2704
2772
|
const segmentControlItem = "_segmentControlItem_178px_2";
|
|
2705
2773
|
const lg$2 = "_lg_178px_23";
|
|
2706
2774
|
const md$3 = "_md_178px_28";
|
|
2707
|
-
const styles$
|
|
2775
|
+
const styles$d = {
|
|
2708
2776
|
segmentControlItem: segmentControlItem,
|
|
2709
2777
|
lg: lg$2,
|
|
2710
2778
|
md: md$3
|
|
@@ -2720,7 +2788,7 @@ function SegmentControlItem({ className, children, value, ...props }) {
|
|
|
2720
2788
|
"aria-checked": value === activeValue,
|
|
2721
2789
|
"data-state": value === activeValue ? "on" : "off",
|
|
2722
2790
|
"data-value": value,
|
|
2723
|
-
className: classNames(styles$
|
|
2791
|
+
className: classNames(styles$d.segmentControlItem, styles$d[size], className),
|
|
2724
2792
|
...props,
|
|
2725
2793
|
children
|
|
2726
2794
|
}
|
|
@@ -2757,7 +2825,7 @@ const showAfterDelay = "_showAfterDelay_pulca_1";
|
|
|
2757
2825
|
const lg$1 = "_lg_pulca_19";
|
|
2758
2826
|
const md$2 = "_md_pulca_23";
|
|
2759
2827
|
const indicator$1 = "_indicator_pulca_28";
|
|
2760
|
-
const styles$
|
|
2828
|
+
const styles$c = {
|
|
2761
2829
|
segmentControlRoot: segmentControlRoot,
|
|
2762
2830
|
showAfterDelay: showAfterDelay,
|
|
2763
2831
|
lg: lg$1,
|
|
@@ -2772,11 +2840,11 @@ function SegmentControlRoot({ className, children, value, size = "md", ...props
|
|
|
2772
2840
|
{
|
|
2773
2841
|
ref: rootRef,
|
|
2774
2842
|
role: "radiogroup",
|
|
2775
|
-
className: classNames(styles$
|
|
2843
|
+
className: classNames(styles$c.segmentControlRoot, styles$c[size], className),
|
|
2776
2844
|
...props,
|
|
2777
2845
|
children: [
|
|
2778
2846
|
children,
|
|
2779
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$
|
|
2847
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$c.indicator, styles$c[size]), style: indicatorStyle })
|
|
2780
2848
|
]
|
|
2781
2849
|
}
|
|
2782
2850
|
) });
|
|
@@ -2871,7 +2939,7 @@ const mark = "_mark_vuele_39";
|
|
|
2871
2939
|
const markDot = "_markDot_vuele_43";
|
|
2872
2940
|
const track = "_track_vuele_56";
|
|
2873
2941
|
const marks = "_marks_vuele_106";
|
|
2874
|
-
const styles$
|
|
2942
|
+
const styles$b = {
|
|
2875
2943
|
slider: slider,
|
|
2876
2944
|
fill: fill,
|
|
2877
2945
|
rail: rail,
|
|
@@ -2883,16 +2951,16 @@ const styles$6 = {
|
|
|
2883
2951
|
};
|
|
2884
2952
|
|
|
2885
2953
|
function SliderMarks({ marks, min, max, activeFrom, activeTo }) {
|
|
2886
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$
|
|
2954
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$b.marks, children: marks.map(({ value, label }) => {
|
|
2887
2955
|
const isActive = value >= activeFrom && value <= activeTo;
|
|
2888
2956
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2889
2957
|
"div",
|
|
2890
2958
|
{
|
|
2891
2959
|
"data-state": isActive ? "active" : "default",
|
|
2892
|
-
className: styles$
|
|
2960
|
+
className: styles$b.mark,
|
|
2893
2961
|
style: { insetInlineStart: `${getPercent(value, { min, max })}%` },
|
|
2894
2962
|
children: [
|
|
2895
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$
|
|
2963
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$b.markDot }),
|
|
2896
2964
|
label
|
|
2897
2965
|
]
|
|
2898
2966
|
},
|
|
@@ -3015,7 +3083,7 @@ function SliderBase({
|
|
|
3015
3083
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3016
3084
|
"div",
|
|
3017
3085
|
{
|
|
3018
|
-
className: classNames(styles$
|
|
3086
|
+
className: classNames(styles$b.slider, className),
|
|
3019
3087
|
"data-disabled": disabled,
|
|
3020
3088
|
"data-marks": Boolean(marks?.length),
|
|
3021
3089
|
...props,
|
|
@@ -3023,18 +3091,18 @@ function SliderBase({
|
|
|
3023
3091
|
"div",
|
|
3024
3092
|
{
|
|
3025
3093
|
ref: railRef,
|
|
3026
|
-
className: styles$
|
|
3094
|
+
className: styles$b.rail,
|
|
3027
3095
|
onPointerDown: handlePointerDown,
|
|
3028
3096
|
onPointerMove: handlePointerMove,
|
|
3029
3097
|
onPointerUp: stopDragging,
|
|
3030
3098
|
onPointerCancel: stopDragging,
|
|
3031
3099
|
onLostPointerCapture: handleLostPointerCapture,
|
|
3032
3100
|
children: [
|
|
3033
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$
|
|
3101
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$b.track }),
|
|
3034
3102
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3035
3103
|
"div",
|
|
3036
3104
|
{
|
|
3037
|
-
className: styles$
|
|
3105
|
+
className: styles$b.fill,
|
|
3038
3106
|
style: { insetInlineStart: `${toPercent(fillFrom)}%`, insetInlineEnd: `${100 - toPercent(fillTo)}%` }
|
|
3039
3107
|
}
|
|
3040
3108
|
),
|
|
@@ -3056,7 +3124,7 @@ function SliderBase({
|
|
|
3056
3124
|
"aria-describedby": ariaDescribedBy,
|
|
3057
3125
|
"aria-disabled": disabled,
|
|
3058
3126
|
"aria-orientation": "horizontal",
|
|
3059
|
-
className: styles$
|
|
3127
|
+
className: styles$b.handle,
|
|
3060
3128
|
style: { insetInlineStart: `${toPercent(value)}%` },
|
|
3061
3129
|
onKeyDown: (event) => handleKeyDown(event, index)
|
|
3062
3130
|
},
|
|
@@ -3090,7 +3158,7 @@ const lg = "_lg_103n3_24";
|
|
|
3090
3158
|
const primary$1 = "_primary_103n3_31";
|
|
3091
3159
|
const secondary$1 = "_secondary_103n3_41";
|
|
3092
3160
|
const value = "_value_103n3_50";
|
|
3093
|
-
const styles$
|
|
3161
|
+
const styles$a = {
|
|
3094
3162
|
stepper: stepper,
|
|
3095
3163
|
sm: sm$1,
|
|
3096
3164
|
md: md$1,
|
|
@@ -3131,7 +3199,7 @@ function Stepper({
|
|
|
3131
3199
|
{
|
|
3132
3200
|
role: "group",
|
|
3133
3201
|
"aria-label": "Stepper",
|
|
3134
|
-
className: classNames(styles$
|
|
3202
|
+
className: classNames(styles$a.stepper, styles$a[size], styles$a[mode], className),
|
|
3135
3203
|
"data-disabled": disabled,
|
|
3136
3204
|
...props,
|
|
3137
3205
|
children: [
|
|
@@ -3147,7 +3215,7 @@ function Stepper({
|
|
|
3147
3215
|
children: /* @__PURE__ */ jsxRuntime.jsx(IconMinus, {})
|
|
3148
3216
|
}
|
|
3149
3217
|
),
|
|
3150
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$
|
|
3218
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$a.value, "aria-live": "polite", children: value }),
|
|
3151
3219
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3152
3220
|
Button,
|
|
3153
3221
|
{
|
|
@@ -3167,7 +3235,7 @@ function Stepper({
|
|
|
3167
3235
|
|
|
3168
3236
|
const switchWrapper = "_switchWrapper_1yukb_2";
|
|
3169
3237
|
const icon = "_icon_1yukb_25";
|
|
3170
|
-
const styles$
|
|
3238
|
+
const styles$9 = {
|
|
3171
3239
|
switchWrapper: switchWrapper,
|
|
3172
3240
|
icon: icon,
|
|
3173
3241
|
"switch": "_switch_1yukb_2"
|
|
@@ -3180,16 +3248,111 @@ function Switch({ className, label, indeterminate, ...props }) {
|
|
|
3180
3248
|
{
|
|
3181
3249
|
"data-disabled": `${Boolean(props.disabled)}`,
|
|
3182
3250
|
"data-state": dataState,
|
|
3183
|
-
className: classNames(styles$
|
|
3251
|
+
className: classNames(styles$9.switchWrapper, className),
|
|
3184
3252
|
children: [
|
|
3185
|
-
dataState === "indeterminate" && /* @__PURE__ */ jsxRuntime.jsx(IconMinus, { "data-disabled": `${Boolean(props.disabled)}`, className: styles$
|
|
3186
|
-
/* @__PURE__ */ jsxRuntime.jsx("input", { "data-state": dataState, type: "checkbox", role: "switch", className: styles$
|
|
3253
|
+
dataState === "indeterminate" && /* @__PURE__ */ jsxRuntime.jsx(IconMinus, { "data-disabled": `${Boolean(props.disabled)}`, className: styles$9.icon }),
|
|
3254
|
+
/* @__PURE__ */ jsxRuntime.jsx("input", { "data-state": dataState, type: "checkbox", role: "switch", className: styles$9.switch, ...props }),
|
|
3187
3255
|
label
|
|
3188
3256
|
]
|
|
3189
3257
|
}
|
|
3190
3258
|
);
|
|
3191
3259
|
}
|
|
3192
3260
|
|
|
3261
|
+
function TableBody({ className, children, ...props }) {
|
|
3262
|
+
return /* @__PURE__ */ jsxRuntime.jsx("tbody", { className, ...props, children });
|
|
3263
|
+
}
|
|
3264
|
+
|
|
3265
|
+
const tableCaption = "_tableCaption_fn9c1_2";
|
|
3266
|
+
const styles$8 = {
|
|
3267
|
+
tableCaption: tableCaption
|
|
3268
|
+
};
|
|
3269
|
+
|
|
3270
|
+
function TableCaption({ className, children, ...props }) {
|
|
3271
|
+
return /* @__PURE__ */ jsxRuntime.jsx("caption", { className: classNames(styles$8.tableCaption, className), ...props, children });
|
|
3272
|
+
}
|
|
3273
|
+
|
|
3274
|
+
const tableCell = "_tableCell_fsw3w_2";
|
|
3275
|
+
const left$1 = "_left_fsw3w_6";
|
|
3276
|
+
const center$1 = "_center_fsw3w_10";
|
|
3277
|
+
const right$1 = "_right_fsw3w_14";
|
|
3278
|
+
const styles$7 = {
|
|
3279
|
+
tableCell: tableCell,
|
|
3280
|
+
left: left$1,
|
|
3281
|
+
center: center$1,
|
|
3282
|
+
right: right$1
|
|
3283
|
+
};
|
|
3284
|
+
|
|
3285
|
+
function TableCell({ className, children, align = "left", ...props }) {
|
|
3286
|
+
return /* @__PURE__ */ jsxRuntime.jsx("td", { className: classNames(styles$7.tableCell, styles$7[align], className), ...props, children });
|
|
3287
|
+
}
|
|
3288
|
+
|
|
3289
|
+
function TableHeader({ className, children, ...props }) {
|
|
3290
|
+
return /* @__PURE__ */ jsxRuntime.jsx("thead", { className, ...props, children });
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3293
|
+
const tableHeaderCell = "_tableHeaderCell_1ubwo_2";
|
|
3294
|
+
const left = "_left_1ubwo_10";
|
|
3295
|
+
const center = "_center_1ubwo_14";
|
|
3296
|
+
const right = "_right_1ubwo_18";
|
|
3297
|
+
const styles$6 = {
|
|
3298
|
+
tableHeaderCell: tableHeaderCell,
|
|
3299
|
+
left: left,
|
|
3300
|
+
center: center,
|
|
3301
|
+
right: right
|
|
3302
|
+
};
|
|
3303
|
+
|
|
3304
|
+
function TableHeaderCell({
|
|
3305
|
+
className,
|
|
3306
|
+
children,
|
|
3307
|
+
align = "left",
|
|
3308
|
+
scope = "col",
|
|
3309
|
+
...props
|
|
3310
|
+
}) {
|
|
3311
|
+
return /* @__PURE__ */ jsxRuntime.jsx("th", { scope, className: classNames(styles$6.tableHeaderCell, styles$6[align], className), ...props, children });
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
const scrollContainer = "_scrollContainer_3qaei_2";
|
|
3315
|
+
const table = "_table_3qaei_10";
|
|
3316
|
+
const styles$5 = {
|
|
3317
|
+
scrollContainer: scrollContainer,
|
|
3318
|
+
table: table
|
|
3319
|
+
};
|
|
3320
|
+
|
|
3321
|
+
function TableRoot({ className, children, ...props }) {
|
|
3322
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$5.scrollContainer, children: /* @__PURE__ */ jsxRuntime.jsx("table", { className: classNames(styles$5.table, className), ...props, children }) });
|
|
3323
|
+
}
|
|
3324
|
+
|
|
3325
|
+
const tableRow = "_tableRow_1p3oc_2";
|
|
3326
|
+
const group = "_group_1p3oc_16";
|
|
3327
|
+
const current = "_current_1p3oc_23";
|
|
3328
|
+
const styles$4 = {
|
|
3329
|
+
tableRow: tableRow,
|
|
3330
|
+
"default": "_default_1p3oc_12",
|
|
3331
|
+
group: group,
|
|
3332
|
+
current: current
|
|
3333
|
+
};
|
|
3334
|
+
|
|
3335
|
+
function TableRow({ className, children, mode = "default", isCurrent = false, ...props }) {
|
|
3336
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3337
|
+
"tr",
|
|
3338
|
+
{
|
|
3339
|
+
className: classNames(styles$4.tableRow, styles$4[mode], isCurrent ? styles$4.current : void 0, className),
|
|
3340
|
+
...props,
|
|
3341
|
+
children
|
|
3342
|
+
}
|
|
3343
|
+
);
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3346
|
+
function Table(props) {
|
|
3347
|
+
return /* @__PURE__ */ jsxRuntime.jsx(TableRoot, { ...props });
|
|
3348
|
+
}
|
|
3349
|
+
Table.Caption = TableCaption;
|
|
3350
|
+
Table.Header = TableHeader;
|
|
3351
|
+
Table.Body = TableBody;
|
|
3352
|
+
Table.Row = TableRow;
|
|
3353
|
+
Table.HeaderCell = TableHeaderCell;
|
|
3354
|
+
Table.Cell = TableCell;
|
|
3355
|
+
|
|
3193
3356
|
const TabsContext = React.createContext(null);
|
|
3194
3357
|
|
|
3195
3358
|
function TabsProvider({ children, value }) {
|
|
@@ -3428,6 +3591,7 @@ exports.IconArrowUTurn = IconArrowUTurn;
|
|
|
3428
3591
|
exports.IconBell = IconBell;
|
|
3429
3592
|
exports.IconBox = IconBox;
|
|
3430
3593
|
exports.IconCalendar = IconCalendar;
|
|
3594
|
+
exports.IconCamera = IconCamera;
|
|
3431
3595
|
exports.IconCharacteristic = IconCharacteristic;
|
|
3432
3596
|
exports.IconCheck = IconCheck;
|
|
3433
3597
|
exports.IconCheckCircle = IconCheckCircle;
|
|
@@ -3436,6 +3600,7 @@ exports.IconChevronDouble = IconChevronDouble;
|
|
|
3436
3600
|
exports.IconClock = IconClock;
|
|
3437
3601
|
exports.IconCollapse = IconCollapse;
|
|
3438
3602
|
exports.IconCopy = IconCopy;
|
|
3603
|
+
exports.IconDocument = IconDocument;
|
|
3439
3604
|
exports.IconDots = IconDots;
|
|
3440
3605
|
exports.IconDownload = IconDownload;
|
|
3441
3606
|
exports.IconEye = IconEye;
|
|
@@ -3451,8 +3616,10 @@ exports.IconLogo = IconLogo;
|
|
|
3451
3616
|
exports.IconMail = IconMail;
|
|
3452
3617
|
exports.IconMinus = IconMinus;
|
|
3453
3618
|
exports.IconOneCircle = IconOneCircle;
|
|
3619
|
+
exports.IconPause = IconPause;
|
|
3454
3620
|
exports.IconPerson = IconPerson;
|
|
3455
3621
|
exports.IconPhone = IconPhone;
|
|
3622
|
+
exports.IconPlay = IconPlay;
|
|
3456
3623
|
exports.IconPlus = IconPlus;
|
|
3457
3624
|
exports.IconPrize = IconPrize;
|
|
3458
3625
|
exports.IconProject = IconProject;
|
|
@@ -3469,6 +3636,7 @@ exports.IconStop = IconStop;
|
|
|
3469
3636
|
exports.IconStore = IconStore;
|
|
3470
3637
|
exports.IconSwitch = IconSwitch;
|
|
3471
3638
|
exports.IconTrash = IconTrash;
|
|
3639
|
+
exports.IconUpload = IconUpload;
|
|
3472
3640
|
exports.IconXMark = IconXMark;
|
|
3473
3641
|
exports.IconXMarkCircle = IconXMarkCircle;
|
|
3474
3642
|
exports.LOCALE_FIRST_DAY_OF_WEEK = LOCALE_FIRST_DAY_OF_WEEK;
|
|
@@ -3481,6 +3649,7 @@ exports.SegmentControl = SegmentControl;
|
|
|
3481
3649
|
exports.Slider = Slider;
|
|
3482
3650
|
exports.Stepper = Stepper;
|
|
3483
3651
|
exports.Switch = Switch;
|
|
3652
|
+
exports.Table = Table;
|
|
3484
3653
|
exports.Tabs = Tabs;
|
|
3485
3654
|
exports.Tag = Tag;
|
|
3486
3655
|
exports.TextField = TextField;
|