@sarunyu/system-one 1.1.1 → 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/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 +161 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2804,7 +2804,7 @@ const sizeClasses = {
|
|
|
2804
2804
|
font: "font-bold",
|
|
2805
2805
|
gap: "gap-1.5",
|
|
2806
2806
|
iconSize: "h-5 w-5",
|
|
2807
|
-
badgeClass: "min-w-[
|
|
2807
|
+
badgeClass: "min-w-[16px] h-[16px] px-[3px] text-[length:var(--text-xs)] leading-[var(--leading-4)]"
|
|
2808
2808
|
},
|
|
2809
2809
|
md: {
|
|
2810
2810
|
pad: "px-2.5 py-2",
|
|
@@ -2813,7 +2813,7 @@ const sizeClasses = {
|
|
|
2813
2813
|
font: "font-bold",
|
|
2814
2814
|
gap: "gap-1.5",
|
|
2815
2815
|
iconSize: "h-[18px] w-[18px]",
|
|
2816
|
-
badgeClass: "min-w-[
|
|
2816
|
+
badgeClass: "min-w-[16px] h-[16px] px-[3px] text-[length:var(--text-xs)] leading-[var(--leading-4)]"
|
|
2817
2817
|
},
|
|
2818
2818
|
sm: {
|
|
2819
2819
|
pad: "px-2 py-1.5",
|
|
@@ -2822,7 +2822,7 @@ const sizeClasses = {
|
|
|
2822
2822
|
font: "font-semibold",
|
|
2823
2823
|
gap: "gap-1",
|
|
2824
2824
|
iconSize: "h-4 w-4",
|
|
2825
|
-
badgeClass: "min-h-[14px] px-1 text-[length:var(--text-xxs)] leading-[var(--leading-3)]"
|
|
2825
|
+
badgeClass: "min-w-[14px] h-[14px] px-1 text-[length:var(--text-xxs)] leading-[var(--leading-3)]"
|
|
2826
2826
|
}
|
|
2827
2827
|
};
|
|
2828
2828
|
function DefaultTabIcon({ className }) {
|
|
@@ -2843,7 +2843,7 @@ const Tab = React.forwardRef(function Tab2({
|
|
|
2843
2843
|
const hasNotification = notification !== void 0 && notification !== null;
|
|
2844
2844
|
const renderedIcon = icon === true ? /* @__PURE__ */ jsxRuntime.jsx(DefaultTabIcon, { className: s.iconSize }) : icon;
|
|
2845
2845
|
const textColor = disabled ? "text-disabled" : active ? "text-primary-action" : "text-muted-foreground";
|
|
2846
|
-
const borderColor =
|
|
2846
|
+
const borderColor = disabled ? "border-border-disabled" : active ? "border-primary-action" : "border-border";
|
|
2847
2847
|
const cursor = disabled ? "cursor-not-allowed" : "cursor-pointer";
|
|
2848
2848
|
const hoverBg = !disabled && !active ? "hover:bg-hover-bg" : "";
|
|
2849
2849
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|