@herca/r-kit 0.0.29 → 0.0.30
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/components/breadcrumbs/index.cjs +1 -2
- package/dist/components/breadcrumbs/index.cjs.map +1 -1
- package/dist/components/breadcrumbs/index.js +1 -2
- package/dist/components/breadcrumbs/index.js.map +1 -1
- package/dist/components/calendar/index.cjs +16 -17
- package/dist/components/calendar/index.cjs.map +1 -1
- package/dist/components/calendar/index.js +16 -17
- package/dist/components/calendar/index.js.map +1 -1
- package/dist/components/counter/index.cjs +1 -2
- package/dist/components/counter/index.cjs.map +1 -1
- package/dist/components/counter/index.js +1 -2
- package/dist/components/counter/index.js.map +1 -1
- package/dist/components/date-picker/index.cjs +18 -19
- package/dist/components/date-picker/index.cjs.map +1 -1
- package/dist/components/date-picker/index.js +18 -19
- package/dist/components/date-picker/index.js.map +1 -1
- package/dist/components/input-file/index.cjs +11 -12
- package/dist/components/input-file/index.cjs.map +1 -1
- package/dist/components/input-file/index.js +11 -12
- package/dist/components/input-file/index.js.map +1 -1
- package/dist/components/modal/index.cjs +2 -3
- package/dist/components/modal/index.cjs.map +1 -1
- package/dist/components/modal/index.js +2 -3
- package/dist/components/modal/index.js.map +1 -1
- package/dist/components/select/index.cjs +4 -5
- package/dist/components/select/index.cjs.map +1 -1
- package/dist/components/select/index.js +4 -5
- package/dist/components/select/index.js.map +1 -1
- package/dist/components/sidebar/index.cjs +4 -5
- package/dist/components/sidebar/index.cjs.map +1 -1
- package/dist/components/sidebar/index.js +4 -5
- package/dist/components/sidebar/index.js.map +1 -1
- package/dist/components/table/index.cjs +4 -5
- package/dist/components/table/index.cjs.map +1 -1
- package/dist/components/table/index.js +4 -5
- package/dist/components/table/index.js.map +1 -1
- package/dist/components/toast/index.cjs +2 -3
- package/dist/components/toast/index.cjs.map +1 -1
- package/dist/components/toast/index.js +2 -3
- package/dist/components/toast/index.js.map +1 -1
- package/dist/index.cjs +35 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +35 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -5416,7 +5416,6 @@ var Icon = ({
|
|
|
5416
5416
|
}
|
|
5417
5417
|
return /* @__PURE__ */ jsxRuntime.jsx(Component, { size, color, className });
|
|
5418
5418
|
};
|
|
5419
|
-
var Icon_default = Icon;
|
|
5420
5419
|
var TextVariants = classVarianceAuthority.cva("font-metropolis", {
|
|
5421
5420
|
variants: {
|
|
5422
5421
|
variant: {
|
|
@@ -5826,9 +5825,9 @@ var ModalPreviewAttachment = ({
|
|
|
5826
5825
|
children: [
|
|
5827
5826
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full justify-between", children: [
|
|
5828
5827
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5829
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { onClick: onClose, className: "cursor-pointer", type: "button", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5828
|
+
/* @__PURE__ */ jsxRuntime.jsx("button", { onClick: onClose, className: "cursor-pointer", type: "button", children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "times", color: "white" }) }),
|
|
5830
5829
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center", children: [
|
|
5831
|
-
iconName && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5830
|
+
iconName && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: iconName, size: 48 }),
|
|
5832
5831
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5833
5832
|
Text,
|
|
5834
5833
|
{
|
|
@@ -5939,7 +5938,7 @@ var ZoomController = ({
|
|
|
5939
5938
|
onClick: onZoomIn,
|
|
5940
5939
|
disabled: zoom >= maxZoom,
|
|
5941
5940
|
type: "button",
|
|
5942
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5941
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "search-plus-fill" })
|
|
5943
5942
|
}
|
|
5944
5943
|
),
|
|
5945
5944
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5949,11 +5948,11 @@ var ZoomController = ({
|
|
|
5949
5948
|
onClick: onZoomOut,
|
|
5950
5949
|
disabled: zoom <= minZoom,
|
|
5951
5950
|
type: "button",
|
|
5952
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5951
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "search-minus-fill" })
|
|
5953
5952
|
}
|
|
5954
5953
|
),
|
|
5955
5954
|
/* @__PURE__ */ jsxRuntime.jsxs(Button, { color: "secondary", onClick: onDownload, children: [
|
|
5956
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5955
|
+
/* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "download" }),
|
|
5957
5956
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5958
5957
|
Text,
|
|
5959
5958
|
{
|
|
@@ -6043,7 +6042,7 @@ var PreviewItem = ({
|
|
|
6043
6042
|
alt: data.file.name,
|
|
6044
6043
|
className: "size-11 rounded-md object-cover"
|
|
6045
6044
|
}
|
|
6046
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
6045
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: iconName ?? "doc", className: "size-11" })
|
|
6047
6046
|
}
|
|
6048
6047
|
),
|
|
6049
6048
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
|
|
@@ -6088,11 +6087,11 @@ var PreviewItem = ({
|
|
|
6088
6087
|
disabled,
|
|
6089
6088
|
className: "cursor-pointer disabled:cursor-not-allowed disabled:opacity-50",
|
|
6090
6089
|
title: "Replace file",
|
|
6091
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6090
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "rotate-right", className: "size-4 text-gray-700" })
|
|
6092
6091
|
}
|
|
6093
6092
|
),
|
|
6094
6093
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6095
|
-
|
|
6094
|
+
Icon,
|
|
6096
6095
|
{
|
|
6097
6096
|
name: "exclamation-triangle",
|
|
6098
6097
|
className: "text-danger-500 size-4"
|
|
@@ -6106,7 +6105,7 @@ var PreviewItem = ({
|
|
|
6106
6105
|
onClick: onRemove,
|
|
6107
6106
|
disabled,
|
|
6108
6107
|
className: "cursor-pointer disabled:cursor-not-allowed disabled:opacity-50",
|
|
6109
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6108
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "times", className: "size-4 text-gray-700" })
|
|
6110
6109
|
}
|
|
6111
6110
|
)
|
|
6112
6111
|
] })
|
|
@@ -6331,8 +6330,8 @@ var InputFile = React280.forwardRef(
|
|
|
6331
6330
|
onDragOver: variant === "large" ? handleDragOver : void 0,
|
|
6332
6331
|
onDrop: variant === "large" ? handleDrop : void 0,
|
|
6333
6332
|
children: [
|
|
6334
|
-
isDefault && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6335
|
-
isSized && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6333
|
+
isDefault && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "upload" }),
|
|
6334
|
+
isSized && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "cloud-upload", size: variant === "large" ? 125 : 40 }),
|
|
6336
6335
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6337
6336
|
"div",
|
|
6338
6337
|
{
|