@scglab/admin-ui 0.1.5 → 0.1.7

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.js CHANGED
@@ -316,10 +316,17 @@ function Tooltip({ tooltipInfo, position = "right" }) {
316
316
  },
317
317
  children: [
318
318
  tooltipInfo,
319
- /* @__PURE__ */ jsx5("span", { className: "absolute top-10 right-10 cursor-pointer", onClick: (e) => {
320
- e.stopPropagation();
321
- setIsOpen(false);
322
- }, children: /* @__PURE__ */ jsx5(ColorIcTagClose_default, { width: 10, height: 10, color: "text" }) })
319
+ /* @__PURE__ */ jsx5(
320
+ "span",
321
+ {
322
+ className: "absolute top-10 right-10 cursor-pointer",
323
+ onClick: (e) => {
324
+ e.stopPropagation();
325
+ setIsOpen(false);
326
+ },
327
+ children: /* @__PURE__ */ jsx5(ColorIcTagClose_default, { width: 10, height: 10, color: "text" })
328
+ }
329
+ )
323
330
  ]
324
331
  }
325
332
  )
@@ -650,10 +657,12 @@ var Checkbox = forwardRef(
650
657
  ...props
651
658
  }
652
659
  ),
653
- disabled ? /* @__PURE__ */ jsx9(ColorIcCheckDim_default, { width: 18, height: 18 }) : /* @__PURE__ */ jsx9(
654
- "div",
655
- {
656
- className: `
660
+ disabled ? /* @__PURE__ */ jsx9(ColorIcCheckDim_default, { width: 18, height: 18 }) : (
661
+ // <img src={IcCheckMarkDim} alt="check-dim" className="w-18 h-18" />
662
+ /* @__PURE__ */ jsx9(
663
+ "div",
664
+ {
665
+ className: `
657
666
  h-18 w-18
658
667
  ${getTypeNoneCheckedClass()}
659
668
  transition-all duration-200
@@ -662,27 +671,34 @@ var Checkbox = forwardRef(
662
671
  ${error ? "border-red" : ""}
663
672
  ${className}
664
673
  `,
665
- onClick: handleCheckboxClick,
666
- children: /* @__PURE__ */ jsx9("span", { className: `${getTypeCheckedIconClass()} flex items-center justify-center`, children: /* @__PURE__ */ jsx9(
667
- "svg",
668
- {
669
- width: "18",
670
- height: "18",
671
- viewBox: "0 0 20 20",
672
- fill: "none",
673
- xmlns: "http://www.w3.org/2000/svg",
674
- children: /* @__PURE__ */ jsx9(
675
- "path",
676
- {
677
- d: "M15.292 5.93848C15.5167 5.687 15.8864 5.68757 16.1104 5.94043L16.1172 5.94727L16.123 5.95508C16.2977 6.1856 16.3012 6.54196 16.0713 6.77832L16.0723 6.7793L9.55078 13.9229L9.55176 13.9238C9.36406 14.1357 9.1186 14.25 8.84668 14.25C8.59606 14.25 8.33167 14.1383 8.1416 13.9238V13.9229L4.90918 10.373L4.90625 10.3701C4.69767 10.1343 4.69773 9.77005 4.90625 9.53418C5.12992 9.2815 5.49974 9.28064 5.72461 9.53125L8.86426 12.9795L15.292 5.9375V5.93848Z",
678
- fill: "currentColor",
679
- stroke: "currentColor",
680
- strokeWidth: "0.5"
681
- }
682
- )
683
- }
684
- ) })
685
- }
674
+ onClick: handleCheckboxClick,
675
+ children: /* @__PURE__ */ jsx9(
676
+ "span",
677
+ {
678
+ className: `${getTypeCheckedIconClass()} flex items-center justify-center`,
679
+ children: /* @__PURE__ */ jsx9(
680
+ "svg",
681
+ {
682
+ width: "18",
683
+ height: "18",
684
+ viewBox: "0 0 20 20",
685
+ fill: "none",
686
+ xmlns: "http://www.w3.org/2000/svg",
687
+ children: /* @__PURE__ */ jsx9(
688
+ "path",
689
+ {
690
+ d: "M15.292 5.93848C15.5167 5.687 15.8864 5.68757 16.1104 5.94043L16.1172 5.94727L16.123 5.95508C16.2977 6.1856 16.3012 6.54196 16.0713 6.77832L16.0723 6.7793L9.55078 13.9229L9.55176 13.9238C9.36406 14.1357 9.1186 14.25 8.84668 14.25C8.59606 14.25 8.33167 14.1383 8.1416 13.9238V13.9229L4.90918 10.373L4.90625 10.3701C4.69767 10.1343 4.69773 9.77005 4.90625 9.53418C5.12992 9.2815 5.49974 9.28064 5.72461 9.53125L8.86426 12.9795L15.292 5.9375V5.93848Z",
691
+ fill: "currentColor",
692
+ stroke: "currentColor",
693
+ strokeWidth: "0.5"
694
+ }
695
+ )
696
+ }
697
+ )
698
+ }
699
+ )
700
+ }
701
+ )
686
702
  )
687
703
  ] }),
688
704
  label && /* @__PURE__ */ jsx9("div", { className: `text-sm ${type === "outline" ? "ml-4" : "ml-8"}`, children: /* @__PURE__ */ jsx9(
@@ -3283,7 +3299,13 @@ function ToolTipBox({ title, children }) {
3283
3299
  /* @__PURE__ */ jsx32(ColorIcTooltipBlue_default, { width: 14, height: 14 }),
3284
3300
  /* @__PURE__ */ jsx32(Text, { size: "body14", fontWeight: "bold", color: "primary", children: title })
3285
3301
  ] }),
3286
- /* @__PURE__ */ jsx32("span", { className: `w-16 h-16 cursor-pointer transition-transform duration-300 ${isOpen ? "" : "rotate-180"}`, children: /* @__PURE__ */ jsx32(ColorIcTooltipArrow_default, { width: 14, height: 14, color: "primary" }) })
3302
+ /* @__PURE__ */ jsx32(
3303
+ "span",
3304
+ {
3305
+ className: `w-16 h-16 cursor-pointer transition-transform duration-300 ${isOpen ? "" : "rotate-180"}`,
3306
+ children: /* @__PURE__ */ jsx32(ColorIcTooltipArrow_default, { width: 14, height: 14, color: "primary" })
3307
+ }
3308
+ )
3287
3309
  ]
3288
3310
  }
3289
3311
  ),