@sarunyu/system-one 1.1.0 → 1.1.2
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/LICENSE +21 -0
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/src/components/tab.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/llms.txt +632 -0
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -2785,7 +2785,7 @@ const sizeClasses = {
|
|
|
2785
2785
|
font: "font-bold",
|
|
2786
2786
|
gap: "gap-1.5",
|
|
2787
2787
|
iconSize: "h-5 w-5",
|
|
2788
|
-
badgeClass: "min-w-[
|
|
2788
|
+
badgeClass: "min-w-[16px] h-[16px] px-[3px] text-[length:var(--text-xs)] leading-[var(--leading-4)]"
|
|
2789
2789
|
},
|
|
2790
2790
|
md: {
|
|
2791
2791
|
pad: "px-2.5 py-2",
|
|
@@ -2794,7 +2794,7 @@ const sizeClasses = {
|
|
|
2794
2794
|
font: "font-bold",
|
|
2795
2795
|
gap: "gap-1.5",
|
|
2796
2796
|
iconSize: "h-[18px] w-[18px]",
|
|
2797
|
-
badgeClass: "min-w-[
|
|
2797
|
+
badgeClass: "min-w-[16px] h-[16px] px-[3px] text-[length:var(--text-xs)] leading-[var(--leading-4)]"
|
|
2798
2798
|
},
|
|
2799
2799
|
sm: {
|
|
2800
2800
|
pad: "px-2 py-1.5",
|
|
@@ -2803,7 +2803,7 @@ const sizeClasses = {
|
|
|
2803
2803
|
font: "font-semibold",
|
|
2804
2804
|
gap: "gap-1",
|
|
2805
2805
|
iconSize: "h-4 w-4",
|
|
2806
|
-
badgeClass: "min-h-[14px] px-1 text-[length:var(--text-xxs)] leading-[var(--leading-3)]"
|
|
2806
|
+
badgeClass: "min-w-[14px] h-[14px] px-1 text-[length:var(--text-xxs)] leading-[var(--leading-3)]"
|
|
2807
2807
|
}
|
|
2808
2808
|
};
|
|
2809
2809
|
function DefaultTabIcon({ className }) {
|
|
@@ -2824,7 +2824,7 @@ const Tab = forwardRef(function Tab2({
|
|
|
2824
2824
|
const hasNotification = notification !== void 0 && notification !== null;
|
|
2825
2825
|
const renderedIcon = icon === true ? /* @__PURE__ */ jsx(DefaultTabIcon, { className: s.iconSize }) : icon;
|
|
2826
2826
|
const textColor = disabled ? "text-disabled" : active ? "text-primary-action" : "text-muted-foreground";
|
|
2827
|
-
const borderColor =
|
|
2827
|
+
const borderColor = disabled ? "border-border-disabled" : active ? "border-primary-action" : "border-border";
|
|
2828
2828
|
const cursor = disabled ? "cursor-not-allowed" : "cursor-pointer";
|
|
2829
2829
|
const hoverBg = !disabled && !active ? "hover:bg-hover-bg" : "";
|
|
2830
2830
|
return /* @__PURE__ */ jsxs(
|