@moontra/moonui 2.3.6 → 2.3.9
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.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/ui/badge.tsx +14 -2
- package/src/components/ui/pro-component-wrapper.tsx +0 -261
package/dist/index.d.mts
CHANGED
|
@@ -111,6 +111,8 @@ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, Omit<VariantP
|
|
|
111
111
|
leftIcon?: React.ReactNode;
|
|
112
112
|
rightIcon?: React.ReactNode;
|
|
113
113
|
variant?: 'primary' | 'secondary' | 'destructive' | 'outline' | 'success' | 'warning' | 'ghost' | 'pro' | 'admin';
|
|
114
|
+
/** Disable automatic spacing between badges */
|
|
115
|
+
noAutoSpacing?: boolean;
|
|
114
116
|
}
|
|
115
117
|
/**
|
|
116
118
|
* Premium Badge Component
|
|
@@ -125,8 +127,9 @@ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, Omit<VariantP
|
|
|
125
127
|
* @param props.onRemove - Kaldırma işlevi
|
|
126
128
|
* @param props.leftIcon - Badge'in solunda görüntülenecek ikon
|
|
127
129
|
* @param props.rightIcon - Badge'in sağında görüntülenecek ikon
|
|
130
|
+
* @param props.noAutoSpacing - Otomatik spacing'i devre dışı bırak
|
|
128
131
|
*/
|
|
129
|
-
declare function Badge({ className, variant, size, radius, withDot, dotColor, removable, onRemove, leftIcon, rightIcon, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
132
|
+
declare function Badge({ className, variant, size, radius, withDot, dotColor, removable, onRemove, leftIcon, rightIcon, noAutoSpacing, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
130
133
|
|
|
131
134
|
declare const breadcrumbVariants: (props?: {
|
|
132
135
|
variant?: "default" | "ghost" | "muted";
|
package/dist/index.d.ts
CHANGED
|
@@ -111,6 +111,8 @@ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, Omit<VariantP
|
|
|
111
111
|
leftIcon?: React.ReactNode;
|
|
112
112
|
rightIcon?: React.ReactNode;
|
|
113
113
|
variant?: 'primary' | 'secondary' | 'destructive' | 'outline' | 'success' | 'warning' | 'ghost' | 'pro' | 'admin';
|
|
114
|
+
/** Disable automatic spacing between badges */
|
|
115
|
+
noAutoSpacing?: boolean;
|
|
114
116
|
}
|
|
115
117
|
/**
|
|
116
118
|
* Premium Badge Component
|
|
@@ -125,8 +127,9 @@ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, Omit<VariantP
|
|
|
125
127
|
* @param props.onRemove - Kaldırma işlevi
|
|
126
128
|
* @param props.leftIcon - Badge'in solunda görüntülenecek ikon
|
|
127
129
|
* @param props.rightIcon - Badge'in sağında görüntülenecek ikon
|
|
130
|
+
* @param props.noAutoSpacing - Otomatik spacing'i devre dışı bırak
|
|
128
131
|
*/
|
|
129
|
-
declare function Badge({ className, variant, size, radius, withDot, dotColor, removable, onRemove, leftIcon, rightIcon, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
132
|
+
declare function Badge({ className, variant, size, radius, withDot, dotColor, removable, onRemove, leftIcon, rightIcon, noAutoSpacing, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
130
133
|
|
|
131
134
|
declare const breadcrumbVariants: (props?: {
|
|
132
135
|
variant?: "default" | "ghost" | "muted";
|