@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.
Files changed (45) hide show
  1. package/dist/components/breadcrumbs/index.cjs +1 -2
  2. package/dist/components/breadcrumbs/index.cjs.map +1 -1
  3. package/dist/components/breadcrumbs/index.js +1 -2
  4. package/dist/components/breadcrumbs/index.js.map +1 -1
  5. package/dist/components/calendar/index.cjs +16 -17
  6. package/dist/components/calendar/index.cjs.map +1 -1
  7. package/dist/components/calendar/index.js +16 -17
  8. package/dist/components/calendar/index.js.map +1 -1
  9. package/dist/components/counter/index.cjs +1 -2
  10. package/dist/components/counter/index.cjs.map +1 -1
  11. package/dist/components/counter/index.js +1 -2
  12. package/dist/components/counter/index.js.map +1 -1
  13. package/dist/components/date-picker/index.cjs +18 -19
  14. package/dist/components/date-picker/index.cjs.map +1 -1
  15. package/dist/components/date-picker/index.js +18 -19
  16. package/dist/components/date-picker/index.js.map +1 -1
  17. package/dist/components/input-file/index.cjs +11 -12
  18. package/dist/components/input-file/index.cjs.map +1 -1
  19. package/dist/components/input-file/index.js +11 -12
  20. package/dist/components/input-file/index.js.map +1 -1
  21. package/dist/components/modal/index.cjs +2 -3
  22. package/dist/components/modal/index.cjs.map +1 -1
  23. package/dist/components/modal/index.js +2 -3
  24. package/dist/components/modal/index.js.map +1 -1
  25. package/dist/components/select/index.cjs +4 -5
  26. package/dist/components/select/index.cjs.map +1 -1
  27. package/dist/components/select/index.js +4 -5
  28. package/dist/components/select/index.js.map +1 -1
  29. package/dist/components/sidebar/index.cjs +4 -5
  30. package/dist/components/sidebar/index.cjs.map +1 -1
  31. package/dist/components/sidebar/index.js +4 -5
  32. package/dist/components/sidebar/index.js.map +1 -1
  33. package/dist/components/table/index.cjs +4 -5
  34. package/dist/components/table/index.cjs.map +1 -1
  35. package/dist/components/table/index.js +4 -5
  36. package/dist/components/table/index.js.map +1 -1
  37. package/dist/components/toast/index.cjs +2 -3
  38. package/dist/components/toast/index.cjs.map +1 -1
  39. package/dist/components/toast/index.js +2 -3
  40. package/dist/components/toast/index.js.map +1 -1
  41. package/dist/index.cjs +35 -36
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.js +35 -36
  44. package/dist/index.js.map +1 -1
  45. package/package.json +1 -1
@@ -5395,7 +5395,6 @@ var Icon = ({
5395
5395
  }
5396
5396
  return /* @__PURE__ */ jsx(Component, { size, color, className });
5397
5397
  };
5398
- var Icon_default = Icon;
5399
5398
  var TextVariants = cva("font-metropolis", {
5400
5399
  variants: {
5401
5400
  variant: {
@@ -5805,9 +5804,9 @@ var ModalPreviewAttachment = ({
5805
5804
  children: [
5806
5805
  /* @__PURE__ */ jsxs("div", { className: "flex w-full justify-between", children: [
5807
5806
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
5808
- /* @__PURE__ */ jsx("button", { onClick: onClose, className: "cursor-pointer", type: "button", children: /* @__PURE__ */ jsx(Icon_default, { name: "times", color: "white" }) }),
5807
+ /* @__PURE__ */ jsx("button", { onClick: onClose, className: "cursor-pointer", type: "button", children: /* @__PURE__ */ jsx(Icon, { name: "times", color: "white" }) }),
5809
5808
  /* @__PURE__ */ jsxs("div", { className: "flex items-center", children: [
5810
- iconName && /* @__PURE__ */ jsx(Icon_default, { name: iconName, size: 48 }),
5809
+ iconName && /* @__PURE__ */ jsx(Icon, { name: iconName, size: 48 }),
5811
5810
  /* @__PURE__ */ jsx(
5812
5811
  Text,
5813
5812
  {
@@ -5918,7 +5917,7 @@ var ZoomController = ({
5918
5917
  onClick: onZoomIn,
5919
5918
  disabled: zoom >= maxZoom,
5920
5919
  type: "button",
5921
- children: /* @__PURE__ */ jsx(Icon_default, { name: "search-plus-fill" })
5920
+ children: /* @__PURE__ */ jsx(Icon, { name: "search-plus-fill" })
5922
5921
  }
5923
5922
  ),
5924
5923
  /* @__PURE__ */ jsx(
@@ -5928,11 +5927,11 @@ var ZoomController = ({
5928
5927
  onClick: onZoomOut,
5929
5928
  disabled: zoom <= minZoom,
5930
5929
  type: "button",
5931
- children: /* @__PURE__ */ jsx(Icon_default, { name: "search-minus-fill" })
5930
+ children: /* @__PURE__ */ jsx(Icon, { name: "search-minus-fill" })
5932
5931
  }
5933
5932
  ),
5934
5933
  /* @__PURE__ */ jsxs(Button, { color: "secondary", onClick: onDownload, children: [
5935
- /* @__PURE__ */ jsx(Icon_default, { name: "download" }),
5934
+ /* @__PURE__ */ jsx(Icon, { name: "download" }),
5936
5935
  /* @__PURE__ */ jsx(
5937
5936
  Text,
5938
5937
  {
@@ -6022,7 +6021,7 @@ var PreviewItem = ({
6022
6021
  alt: data.file.name,
6023
6022
  className: "size-11 rounded-md object-cover"
6024
6023
  }
6025
- ) : /* @__PURE__ */ jsx(Icon_default, { name: iconName ?? "doc", className: "size-11" })
6024
+ ) : /* @__PURE__ */ jsx(Icon, { name: iconName ?? "doc", className: "size-11" })
6026
6025
  }
6027
6026
  ),
6028
6027
  /* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
@@ -6067,11 +6066,11 @@ var PreviewItem = ({
6067
6066
  disabled,
6068
6067
  className: "cursor-pointer disabled:cursor-not-allowed disabled:opacity-50",
6069
6068
  title: "Replace file",
6070
- children: /* @__PURE__ */ jsx(Icon_default, { name: "rotate-right", className: "size-4 text-gray-700" })
6069
+ children: /* @__PURE__ */ jsx(Icon, { name: "rotate-right", className: "size-4 text-gray-700" })
6071
6070
  }
6072
6071
  ),
6073
6072
  /* @__PURE__ */ jsx(
6074
- Icon_default,
6073
+ Icon,
6075
6074
  {
6076
6075
  name: "exclamation-triangle",
6077
6076
  className: "text-danger-500 size-4"
@@ -6085,7 +6084,7 @@ var PreviewItem = ({
6085
6084
  onClick: onRemove,
6086
6085
  disabled,
6087
6086
  className: "cursor-pointer disabled:cursor-not-allowed disabled:opacity-50",
6088
- children: /* @__PURE__ */ jsx(Icon_default, { name: "times", className: "size-4 text-gray-700" })
6087
+ children: /* @__PURE__ */ jsx(Icon, { name: "times", className: "size-4 text-gray-700" })
6089
6088
  }
6090
6089
  )
6091
6090
  ] })
@@ -6310,8 +6309,8 @@ var InputFile = forwardRef(
6310
6309
  onDragOver: variant === "large" ? handleDragOver : void 0,
6311
6310
  onDrop: variant === "large" ? handleDrop : void 0,
6312
6311
  children: [
6313
- isDefault && /* @__PURE__ */ jsx(Icon_default, { name: "upload" }),
6314
- isSized && /* @__PURE__ */ jsx(Icon_default, { name: "cloud-upload", size: variant === "large" ? 125 : 40 }),
6312
+ isDefault && /* @__PURE__ */ jsx(Icon, { name: "upload" }),
6313
+ isSized && /* @__PURE__ */ jsx(Icon, { name: "cloud-upload", size: variant === "large" ? 125 : 40 }),
6315
6314
  /* @__PURE__ */ jsxs(
6316
6315
  "div",
6317
6316
  {