@lifecorner/angular-ui-kit 3.3.1 → 3.4.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/package.json
CHANGED
|
@@ -4085,6 +4085,14 @@ export declare class EmailInputComponent implements ControlValueAccessor {
|
|
|
4085
4085
|
export type HeroColor = 'primary' | 'secondary' | 'neutral' | 'success' | 'info' | 'warning' | 'accent-orange' | 'accent-purple' | 'accent-violet';
|
|
4086
4086
|
export type HeroSize = 'sm' | 'md' | 'lg';
|
|
4087
4087
|
export type HeroVariant = 'default' | 'slim' | 'light';
|
|
4088
|
+
/**
|
|
4089
|
+
* Width of the hero's content box.
|
|
4090
|
+
* - `full`: the content runs to the hero's own padding (default, as before 3.4)
|
|
4091
|
+
* - `lg`: from 1024 px the content sits on the `lc-container` `lg` page column
|
|
4092
|
+
* (1024 px minus its 48 px sides, so at most 928 px), centred, while the
|
|
4093
|
+
* background stays full-bleed
|
|
4094
|
+
*/
|
|
4095
|
+
export type HeroContentWidth = 'full' | 'lg';
|
|
4088
4096
|
/**
|
|
4089
4097
|
* Hero component for prominent page headers with gradient backgrounds.
|
|
4090
4098
|
*
|
|
@@ -4096,6 +4104,9 @@ export type HeroVariant = 'default' | 'slim' | 'light';
|
|
|
4096
4104
|
* - Configurable border radius
|
|
4097
4105
|
* - Content projection for body and footer sections
|
|
4098
4106
|
* - Footer slot for metadata, stats, or CTAs
|
|
4107
|
+
* - Media slot (`[hero-media]`) for a visual: below the text on small screens,
|
|
4108
|
+
* beside it from 1024 px, never under the body's 85 % opacity
|
|
4109
|
+
* - Content width `lg`: a full-bleed band whose text lines up with the page column
|
|
4099
4110
|
*
|
|
4100
4111
|
* @example
|
|
4101
4112
|
* ```html
|
|
@@ -4103,6 +4114,11 @@ export type HeroVariant = 'default' | 'slim' | 'light';
|
|
|
4103
4114
|
* <p>Description text</p>
|
|
4104
4115
|
* <div hero-footer>Status: Active</div>
|
|
4105
4116
|
* </lc-hero>
|
|
4117
|
+
*
|
|
4118
|
+
* <lc-hero title="Everything in view" borderRadius="none" contentWidth="lg">
|
|
4119
|
+
* <p>Description text</p>
|
|
4120
|
+
* <lc-card hero-media variant="elevated">…</lc-card>
|
|
4121
|
+
* </lc-hero>
|
|
4106
4122
|
* ```
|
|
4107
4123
|
*/
|
|
4108
4124
|
export declare class HeroComponent {
|
|
@@ -4137,6 +4153,15 @@ export declare class HeroComponent {
|
|
|
4137
4153
|
* @default 'default'
|
|
4138
4154
|
*/
|
|
4139
4155
|
variant: import("@angular/core").InputSignal<HeroVariant>;
|
|
4156
|
+
/**
|
|
4157
|
+
* Width of the content box. `lg` keeps the background full-bleed and, from
|
|
4158
|
+
* 1024 px, puts the label, title, body, media and footer on the 1024 px page
|
|
4159
|
+
* column (the `lc-container` `lg` content box), never closer to the edge than
|
|
4160
|
+
* the size padding. Use it for a full-width band (`borderRadius="none"`) whose
|
|
4161
|
+
* text should line up with the page content below.
|
|
4162
|
+
* @default 'full'
|
|
4163
|
+
*/
|
|
4164
|
+
contentWidth: import("@angular/core").InputSignal<HeroContentWidth>;
|
|
4140
4165
|
protected heroClasses: import("@angular/core").Signal<string>;
|
|
4141
4166
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeroComponent, never>;
|
|
4142
4167
|
static ɵcmp: i0.ɵɵComponentDeclaration<HeroComponent, "lc-hero", never, {
|
|
@@ -4170,7 +4195,12 @@ export declare class HeroComponent {
|
|
|
4170
4195
|
"required": false;
|
|
4171
4196
|
"isSignal": true;
|
|
4172
4197
|
};
|
|
4173
|
-
|
|
4198
|
+
"contentWidth": {
|
|
4199
|
+
"alias": "contentWidth";
|
|
4200
|
+
"required": false;
|
|
4201
|
+
"isSignal": true;
|
|
4202
|
+
};
|
|
4203
|
+
}, {}, never, ["*", "[hero-media]", "[hero-footer]"], true, never>;
|
|
4174
4204
|
}
|
|
4175
4205
|
export type ProgressBarColor = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
4176
4206
|
export type ProgressBarSize = 'xs' | 'sm' | 'md' | 'lg';
|