@dmitriikapustin/ui 0.4.4 → 0.5.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/dist/index.cjs +118 -5984
- package/dist/index.d.cts +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +118 -5984
- package/dist/styles.css +5943 -0
- package/package.json +2 -2
- package/dist/index.css +0 -161
package/dist/index.d.cts
CHANGED
|
@@ -908,9 +908,14 @@ interface PromoSplitProps {
|
|
|
908
908
|
* контролирует vertical rhythm.
|
|
909
909
|
*/
|
|
910
910
|
verticalPadding?: 'default' | 'none';
|
|
911
|
+
/**
|
|
912
|
+
* Размер главного heading через `<SectionHeading>`. Default `'lg'` (landing promo).
|
|
913
|
+
* Используй `'md'` для density-aware admin / dashboard контекстов.
|
|
914
|
+
*/
|
|
915
|
+
headingSize?: 'sm' | 'md' | 'lg';
|
|
911
916
|
className?: string;
|
|
912
917
|
}
|
|
913
|
-
declare function PromoSplit({ heading, description, features, media, mediaPosition, verticalPadding, className, }: PromoSplitProps): react_jsx_runtime.JSX.Element;
|
|
918
|
+
declare function PromoSplit({ heading, description, features, media, mediaPosition, verticalPadding, headingSize, className, }: PromoSplitProps): react_jsx_runtime.JSX.Element;
|
|
914
919
|
|
|
915
920
|
interface TrustFeature {
|
|
916
921
|
icon?: ReactNode;
|
|
@@ -954,9 +959,14 @@ interface PromoTestimonialsProps {
|
|
|
954
959
|
* - `'none'` — `padding-block: 0`.
|
|
955
960
|
*/
|
|
956
961
|
verticalPadding?: 'default' | 'none';
|
|
962
|
+
/**
|
|
963
|
+
* Размер главного heading через `<SectionHeading>`. Default `'lg'` (landing promo).
|
|
964
|
+
* Используй `'md'` для density-aware admin / dashboard контекстов.
|
|
965
|
+
*/
|
|
966
|
+
headingSize?: 'sm' | 'md' | 'lg';
|
|
957
967
|
className?: string;
|
|
958
968
|
}
|
|
959
|
-
declare function PromoTestimonials({ heading, subtitle, testimonials, media, verticalPadding, className, }: PromoTestimonialsProps): react_jsx_runtime.JSX.Element;
|
|
969
|
+
declare function PromoTestimonials({ heading, subtitle, testimonials, media, verticalPadding, headingSize, className, }: PromoTestimonialsProps): react_jsx_runtime.JSX.Element;
|
|
960
970
|
|
|
961
971
|
interface PromoHeroProps {
|
|
962
972
|
title: ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -908,9 +908,14 @@ interface PromoSplitProps {
|
|
|
908
908
|
* контролирует vertical rhythm.
|
|
909
909
|
*/
|
|
910
910
|
verticalPadding?: 'default' | 'none';
|
|
911
|
+
/**
|
|
912
|
+
* Размер главного heading через `<SectionHeading>`. Default `'lg'` (landing promo).
|
|
913
|
+
* Используй `'md'` для density-aware admin / dashboard контекстов.
|
|
914
|
+
*/
|
|
915
|
+
headingSize?: 'sm' | 'md' | 'lg';
|
|
911
916
|
className?: string;
|
|
912
917
|
}
|
|
913
|
-
declare function PromoSplit({ heading, description, features, media, mediaPosition, verticalPadding, className, }: PromoSplitProps): react_jsx_runtime.JSX.Element;
|
|
918
|
+
declare function PromoSplit({ heading, description, features, media, mediaPosition, verticalPadding, headingSize, className, }: PromoSplitProps): react_jsx_runtime.JSX.Element;
|
|
914
919
|
|
|
915
920
|
interface TrustFeature {
|
|
916
921
|
icon?: ReactNode;
|
|
@@ -954,9 +959,14 @@ interface PromoTestimonialsProps {
|
|
|
954
959
|
* - `'none'` — `padding-block: 0`.
|
|
955
960
|
*/
|
|
956
961
|
verticalPadding?: 'default' | 'none';
|
|
962
|
+
/**
|
|
963
|
+
* Размер главного heading через `<SectionHeading>`. Default `'lg'` (landing promo).
|
|
964
|
+
* Используй `'md'` для density-aware admin / dashboard контекстов.
|
|
965
|
+
*/
|
|
966
|
+
headingSize?: 'sm' | 'md' | 'lg';
|
|
957
967
|
className?: string;
|
|
958
968
|
}
|
|
959
|
-
declare function PromoTestimonials({ heading, subtitle, testimonials, media, verticalPadding, className, }: PromoTestimonialsProps): react_jsx_runtime.JSX.Element;
|
|
969
|
+
declare function PromoTestimonials({ heading, subtitle, testimonials, media, verticalPadding, headingSize, className, }: PromoTestimonialsProps): react_jsx_runtime.JSX.Element;
|
|
960
970
|
|
|
961
971
|
interface PromoHeroProps {
|
|
962
972
|
title: ReactNode;
|