@l3mpire/ui 2.10.0 → 2.11.0
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/USAGE.md +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +84 -81
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +85 -82
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/styles/globals.css +10 -1
package/USAGE.md
CHANGED
|
@@ -114,7 +114,7 @@ Works with all Tailwind spacing prefixes: `p-`, `px-`, `py-`, `m-`, `mx-`, `my-`
|
|
|
114
114
|
|
|
115
115
|
**Line heights:** `leading-2xs` (14px), `leading-xs` (16px), `leading-sm` (20px), `leading-base` (24px), `leading-md` (28px), `leading-lg` (32px)
|
|
116
116
|
|
|
117
|
-
**Font weights:** `font-regular` (400), `font-
|
|
117
|
+
**Font weights:** `font-regular` (400), `font-semibold` (600), `font-bold` (700)
|
|
118
118
|
|
|
119
119
|
### Typography component
|
|
120
120
|
|
package/dist/index.d.mts
CHANGED
|
@@ -358,7 +358,7 @@ declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & Re
|
|
|
358
358
|
|
|
359
359
|
declare const typographyVariants: (props?: ({
|
|
360
360
|
variant?: "xs" | "sm" | "md" | "lg" | "h2" | "h3" | "h1" | null | undefined;
|
|
361
|
-
weight?: "bold" | "
|
|
361
|
+
weight?: "bold" | "regular" | "semibold" | null | undefined;
|
|
362
362
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
363
363
|
interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
|
|
364
364
|
as?: React.ElementType;
|
|
@@ -921,6 +921,8 @@ interface SummaryChipProps {
|
|
|
921
921
|
properties: PropertyDefinition[];
|
|
922
922
|
onFiltersChange: (filters: FilterCondition[]) => void;
|
|
923
923
|
onClearAll: () => void;
|
|
924
|
+
/** Custom trigger element. When omitted, renders the default "Filters (N)" button. */
|
|
925
|
+
children?: React.ReactNode;
|
|
924
926
|
className?: string;
|
|
925
927
|
}
|
|
926
928
|
declare const SummaryChip: React.FC<SummaryChipProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -358,7 +358,7 @@ declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & Re
|
|
|
358
358
|
|
|
359
359
|
declare const typographyVariants: (props?: ({
|
|
360
360
|
variant?: "xs" | "sm" | "md" | "lg" | "h2" | "h3" | "h1" | null | undefined;
|
|
361
|
-
weight?: "bold" | "
|
|
361
|
+
weight?: "bold" | "regular" | "semibold" | null | undefined;
|
|
362
362
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
363
363
|
interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
|
|
364
364
|
as?: React.ElementType;
|
|
@@ -921,6 +921,8 @@ interface SummaryChipProps {
|
|
|
921
921
|
properties: PropertyDefinition[];
|
|
922
922
|
onFiltersChange: (filters: FilterCondition[]) => void;
|
|
923
923
|
onClearAll: () => void;
|
|
924
|
+
/** Custom trigger element. When omitted, renders the default "Filters (N)" button. */
|
|
925
|
+
children?: React.ReactNode;
|
|
924
926
|
className?: string;
|
|
925
927
|
}
|
|
926
928
|
declare const SummaryChip: React.FC<SummaryChipProps>;
|