@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
@@ -5544,7 +5544,6 @@ var Icon = ({
5544
5544
  }
5545
5545
  return /* @__PURE__ */ jsx(Component, { size, color, className });
5546
5546
  };
5547
- var Icon_default = Icon;
5548
5547
  var ButtonNavigator = ({
5549
5548
  onClick,
5550
5549
  icon,
@@ -5563,7 +5562,7 @@ var ButtonNavigator = ({
5563
5562
  size: "icon",
5564
5563
  color: "gray",
5565
5564
  className: cn("bg-gray-500 hover:bg-gray-600", className),
5566
- children: /* @__PURE__ */ jsx(Icon_default, { name: icon, className: "text-white", size: size_map[size] })
5565
+ children: /* @__PURE__ */ jsx(Icon, { name: icon, className: "text-white", size: size_map[size] })
5567
5566
  }
5568
5567
  );
5569
5568
  };
@@ -6355,9 +6354,9 @@ var ModalPreviewAttachment = ({
6355
6354
  children: [
6356
6355
  /* @__PURE__ */ jsxs("div", { className: "flex w-full justify-between", children: [
6357
6356
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
6358
- /* @__PURE__ */ jsx("button", { onClick: onClose, className: "cursor-pointer", type: "button", children: /* @__PURE__ */ jsx(Icon_default, { name: "times", color: "white" }) }),
6357
+ /* @__PURE__ */ jsx("button", { onClick: onClose, className: "cursor-pointer", type: "button", children: /* @__PURE__ */ jsx(Icon, { name: "times", color: "white" }) }),
6359
6358
  /* @__PURE__ */ jsxs("div", { className: "flex items-center", children: [
6360
- iconName && /* @__PURE__ */ jsx(Icon_default, { name: iconName, size: 48 }),
6359
+ iconName && /* @__PURE__ */ jsx(Icon, { name: iconName, size: 48 }),
6361
6360
  /* @__PURE__ */ jsx(
6362
6361
  Text,
6363
6362
  {
@@ -6468,7 +6467,7 @@ var ZoomController = ({
6468
6467
  onClick: onZoomIn,
6469
6468
  disabled: zoom >= maxZoom,
6470
6469
  type: "button",
6471
- children: /* @__PURE__ */ jsx(Icon_default, { name: "search-plus-fill" })
6470
+ children: /* @__PURE__ */ jsx(Icon, { name: "search-plus-fill" })
6472
6471
  }
6473
6472
  ),
6474
6473
  /* @__PURE__ */ jsx(
@@ -6478,11 +6477,11 @@ var ZoomController = ({
6478
6477
  onClick: onZoomOut,
6479
6478
  disabled: zoom <= minZoom,
6480
6479
  type: "button",
6481
- children: /* @__PURE__ */ jsx(Icon_default, { name: "search-minus-fill" })
6480
+ children: /* @__PURE__ */ jsx(Icon, { name: "search-minus-fill" })
6482
6481
  }
6483
6482
  ),
6484
6483
  /* @__PURE__ */ jsxs(Button, { color: "secondary", onClick: onDownload, children: [
6485
- /* @__PURE__ */ jsx(Icon_default, { name: "download" }),
6484
+ /* @__PURE__ */ jsx(Icon, { name: "download" }),
6486
6485
  /* @__PURE__ */ jsx(
6487
6486
  Text,
6488
6487
  {
@@ -6572,7 +6571,7 @@ var PreviewItem = ({
6572
6571
  alt: data.file.name,
6573
6572
  className: "size-11 rounded-md object-cover"
6574
6573
  }
6575
- ) : /* @__PURE__ */ jsx(Icon_default, { name: iconName ?? "doc", className: "size-11" })
6574
+ ) : /* @__PURE__ */ jsx(Icon, { name: iconName ?? "doc", className: "size-11" })
6576
6575
  }
6577
6576
  ),
6578
6577
  /* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
@@ -6617,11 +6616,11 @@ var PreviewItem = ({
6617
6616
  disabled,
6618
6617
  className: "cursor-pointer disabled:cursor-not-allowed disabled:opacity-50",
6619
6618
  title: "Replace file",
6620
- children: /* @__PURE__ */ jsx(Icon_default, { name: "rotate-right", className: "size-4 text-gray-700" })
6619
+ children: /* @__PURE__ */ jsx(Icon, { name: "rotate-right", className: "size-4 text-gray-700" })
6621
6620
  }
6622
6621
  ),
6623
6622
  /* @__PURE__ */ jsx(
6624
- Icon_default,
6623
+ Icon,
6625
6624
  {
6626
6625
  name: "exclamation-triangle",
6627
6626
  className: "text-danger-500 size-4"
@@ -6635,7 +6634,7 @@ var PreviewItem = ({
6635
6634
  onClick: onRemove,
6636
6635
  disabled,
6637
6636
  className: "cursor-pointer disabled:cursor-not-allowed disabled:opacity-50",
6638
- children: /* @__PURE__ */ jsx(Icon_default, { name: "times", className: "size-4 text-gray-700" })
6637
+ children: /* @__PURE__ */ jsx(Icon, { name: "times", className: "size-4 text-gray-700" })
6639
6638
  }
6640
6639
  )
6641
6640
  ] })
@@ -6860,8 +6859,8 @@ var InputFile = forwardRef(
6860
6859
  onDragOver: variant === "large" ? handleDragOver : void 0,
6861
6860
  onDrop: variant === "large" ? handleDrop : void 0,
6862
6861
  children: [
6863
- isDefault && /* @__PURE__ */ jsx(Icon_default, { name: "upload" }),
6864
- isSized && /* @__PURE__ */ jsx(Icon_default, { name: "cloud-upload", size: variant === "large" ? 125 : 40 }),
6862
+ isDefault && /* @__PURE__ */ jsx(Icon, { name: "upload" }),
6863
+ isSized && /* @__PURE__ */ jsx(Icon, { name: "cloud-upload", size: variant === "large" ? 125 : 40 }),
6865
6864
  /* @__PURE__ */ jsxs(
6866
6865
  "div",
6867
6866
  {
@@ -7323,7 +7322,7 @@ function CalendarDayItem({
7323
7322
  ),
7324
7323
  variant === "default" && Boolean(hasEvent) === false && backdropOnClick && /* @__PURE__ */ jsx("div", { className: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsxs(Tooltip, { children: [
7325
7324
  /* @__PURE__ */ jsx(TooltipTrigger, { className: "cursor-pointer", children: /* @__PURE__ */ jsx(
7326
- Icon_default,
7325
+ Icon,
7327
7326
  {
7328
7327
  name: "plus",
7329
7328
  className: "text-gray-700! opacity-0 transition-opacity group-hover:opacity-100",
@@ -7654,7 +7653,7 @@ var ButtonDropdown = ({
7654
7653
  "bg-transparent transition-colors outline-none *:duration-300 hover:bg-gray-50 focus:outline-none"
7655
7654
  ),
7656
7655
  children: /* @__PURE__ */ jsx(
7657
- Icon_default,
7656
+ Icon,
7658
7657
  {
7659
7658
  name: "arrow-down",
7660
7659
  size: size_map[size],
@@ -8100,7 +8099,7 @@ var Calendar2 = ({
8100
8099
  children: [
8101
8100
  selectedType,
8102
8101
  " ",
8103
- /* @__PURE__ */ jsx(Icon_default, { name: "angle-down-small", size: 20 })
8102
+ /* @__PURE__ */ jsx(Icon, { name: "angle-down-small", size: 20 })
8104
8103
  ]
8105
8104
  }
8106
8105
  ) }),
@@ -8203,7 +8202,7 @@ var ButtonNavigation = ({
8203
8202
  type
8204
8203
  }) => {
8205
8204
  return /* @__PURE__ */ jsx("button", { onClick, children: /* @__PURE__ */ jsx(
8206
- Icon_default,
8205
+ Icon,
8207
8206
  {
8208
8207
  name: type === "next" ? "angle-right-small" : "angle-left-small",
8209
8208
  size: 30,