@rededor/site-front-end-lib 20.0.40 → 20.1.0-alpha.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/README.md +187 -187
- package/components/algolia-search/index.d.ts +1 -1
- package/components/filters/filter-generic/index.d.ts +3 -3
- package/components/filters/filter-planos-convenios/index.d.ts +3 -2
- package/components/footer/index.d.ts +1 -1
- package/components/header/index.d.ts +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +14 -14
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +7 -7
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +12 -12
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs +8 -8
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +15 -15
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +16 -16
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs +12 -12
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-core.mjs +204 -204
- package/fesm2022/rededor-site-front-end-lib-core.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-enums.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-shared.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
- package/package.json +2 -133
- package/styles/_breakpoints.scss +5 -5
- package/cura/accordion/index.d.ts +0 -120
- package/cura/api/index.d.ts +0 -359
- package/cura/badges/cura-badge-counter/index.d.ts +0 -38
- package/cura/badges/cura-badge-distance/index.d.ts +0 -21
- package/cura/badges/cura-badge-dot/index.d.ts +0 -29
- package/cura/badges/cura-badge-pill/index.d.ts +0 -42
- package/cura/badges/index.d.ts +0 -5
- package/cura/buttons/cura-button/index.d.ts +0 -90
- package/cura/buttons/cura-button-outline/index.d.ts +0 -90
- package/cura/buttons/cura-button-select/index.d.ts +0 -39
- package/cura/buttons/cura-button-transparent/index.d.ts +0 -87
- package/cura/buttons/index.d.ts +0 -15
- package/cura/cards/cura-card/index.d.ts +0 -49
- package/cura/feedback/cura-alert/index.d.ts +0 -55
- package/cura/feedback/cura-modal/index.d.ts +0 -97
- package/cura/feedback/cura-toast/index.d.ts +0 -104
- package/cura/forms/cura-checkbox/index.d.ts +0 -160
- package/cura/forms/cura-input-text/index.d.ts +0 -236
- package/cura/forms/cura-label/index.d.ts +0 -47
- package/cura/forms/cura-radio/index.d.ts +0 -148
- package/cura/forms/cura-select/index.d.ts +0 -154
- package/cura/forms/cura-select-option/index.d.ts +0 -54
- package/cura/forms/cura-select-state/index.d.ts +0 -72
- package/cura/forms/cura-switch/index.d.ts +0 -113
- package/cura/forms/cura-textarea/index.d.ts +0 -113
- package/cura/forms/index.d.ts +0 -20
- package/cura/icons/cura-icon/index.d.ts +0 -46
- package/cura/loaders/cura-loader-bar/index.d.ts +0 -22
- package/cura/loaders/cura-loader-circle/index.d.ts +0 -24
- package/cura/texts/cura-display/index.d.ts +0 -54
- package/cura/texts/cura-heading/index.d.ts +0 -65
- package/cura/texts/cura-paragraph/index.d.ts +0 -54
- package/cura/texts/index.d.ts +0 -7
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs +0 -252
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs +0 -643
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs +0 -90
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs +0 -55
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs +0 -66
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs +0 -91
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs +0 -4
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +0 -170
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +0 -135
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +0 -161
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +0 -170
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs +0 -13
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +0 -72
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs +0 -90
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs +0 -105
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs +0 -198
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs +0 -262
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs +0 -586
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs +0 -82
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs +0 -243
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs +0 -89
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs +0 -123
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +0 -365
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs +0 -182
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs +0 -209
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs +0 -21
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs +0 -88
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs +0 -44
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs +0 -49
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs +0 -84
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs +0 -104
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs +0 -89
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs +0 -4
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs.map +0 -1
package/cura/api/index.d.ts
DELETED
|
@@ -1,359 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { WritableSignal, InjectionToken } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
interface CuraCustomThemeColorDepth {
|
|
5
|
-
base?: string;
|
|
6
|
-
depth0?: string;
|
|
7
|
-
depth20?: string;
|
|
8
|
-
depth40?: string;
|
|
9
|
-
depth80?: string;
|
|
10
|
-
depth100?: string;
|
|
11
|
-
}
|
|
12
|
-
interface CuraCustomThemeColors {
|
|
13
|
-
primary?: CuraCustomThemeColorDepth;
|
|
14
|
-
secondary?: CuraCustomThemeColorDepth;
|
|
15
|
-
accent?: CuraCustomThemeColorDepth;
|
|
16
|
-
}
|
|
17
|
-
interface CuraCustomThemeSpacing {
|
|
18
|
-
base?: string;
|
|
19
|
-
}
|
|
20
|
-
interface CuraCustomThemeFontFamily {
|
|
21
|
-
title?: string;
|
|
22
|
-
body?: string;
|
|
23
|
-
}
|
|
24
|
-
interface CuraCustomThemeFontSize {
|
|
25
|
-
base?: string;
|
|
26
|
-
}
|
|
27
|
-
interface CuraCustomThemeFont {
|
|
28
|
-
family?: CuraCustomThemeFontFamily;
|
|
29
|
-
size?: CuraCustomThemeFontSize;
|
|
30
|
-
}
|
|
31
|
-
interface CuraCustomThemeDefinitions {
|
|
32
|
-
colors?: CuraCustomThemeColors;
|
|
33
|
-
spacing?: CuraCustomThemeSpacing;
|
|
34
|
-
font?: CuraCustomThemeFont;
|
|
35
|
-
}
|
|
36
|
-
interface CuraCustomTheme {
|
|
37
|
-
name: string;
|
|
38
|
-
definitions: CuraCustomThemeDefinitions;
|
|
39
|
-
fromPreset?: string;
|
|
40
|
-
}
|
|
41
|
-
interface CuraConfig {
|
|
42
|
-
localAssetsPath?: string;
|
|
43
|
-
theme?: string;
|
|
44
|
-
customTheme?: CuraCustomTheme;
|
|
45
|
-
onReady?(api?: any): any;
|
|
46
|
-
}
|
|
47
|
-
declare enum InterfaceModes {
|
|
48
|
-
LIGHT = "light",
|
|
49
|
-
DARK = "dark"
|
|
50
|
-
}
|
|
51
|
-
interface APIThemeFunctions {
|
|
52
|
-
load(themeTag: string): unknown;
|
|
53
|
-
setCustom(customThemeDefinitions: CuraCustomTheme): unknown;
|
|
54
|
-
colors: {
|
|
55
|
-
getColor(colorWithDepth?: string, opacity?: number): string;
|
|
56
|
-
};
|
|
57
|
-
fonts: {
|
|
58
|
-
getFamily(type?: string): string;
|
|
59
|
-
getWeights(): any;
|
|
60
|
-
getSize(): string;
|
|
61
|
-
getColor(): string;
|
|
62
|
-
};
|
|
63
|
-
spacing: {
|
|
64
|
-
getSpacing(): string;
|
|
65
|
-
};
|
|
66
|
-
breakpoints: {
|
|
67
|
-
get(size?: string, position?: string): any;
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
type BreakpointSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
71
|
-
type BreakpointPosition = 'min' | 'max';
|
|
72
|
-
|
|
73
|
-
declare class CuraApiService {
|
|
74
|
-
private curaConfig;
|
|
75
|
-
private document;
|
|
76
|
-
private themeModule;
|
|
77
|
-
theme: APIThemeFunctions;
|
|
78
|
-
localAssetsPath: WritableSignal<string>;
|
|
79
|
-
constructor();
|
|
80
|
-
/**
|
|
81
|
-
* Adiciona classes CSS globais necessárias
|
|
82
|
-
*/
|
|
83
|
-
private addGlobalClasses;
|
|
84
|
-
/**
|
|
85
|
-
* Método para obter variáveis CSS para SSR
|
|
86
|
-
* @param theme Nome do tema
|
|
87
|
-
* @returns Objeto com variáveis CSS
|
|
88
|
-
*/
|
|
89
|
-
getSSRVars(theme?: string): {
|
|
90
|
-
[key: string]: any;
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* Método utilitário para adicionar/remover classe de scroll lock
|
|
94
|
-
* @param lock Se deve bloquear o scroll
|
|
95
|
-
*/
|
|
96
|
-
toggleBodyScrollLock(lock: boolean): void;
|
|
97
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuraApiService, never>;
|
|
98
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuraApiService>;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
declare class CuraThemeColorsModule {
|
|
102
|
-
private document;
|
|
103
|
-
private readonly neutralDepthAlias;
|
|
104
|
-
private readonly colorDepthAlias;
|
|
105
|
-
/**
|
|
106
|
-
* Get theme color.
|
|
107
|
-
* @param colorWithDepth string Ex.: primary-light
|
|
108
|
-
* @param opacity number Opacity value (0-1)
|
|
109
|
-
* @returns RGBA value.
|
|
110
|
-
*/
|
|
111
|
-
getColor(colorWithDepth?: string, opacity?: number): string;
|
|
112
|
-
/**
|
|
113
|
-
* Internal: Look for static color by name and depth.
|
|
114
|
-
* @param color Color name.
|
|
115
|
-
* @param depth Depth number or alias.
|
|
116
|
-
* @param opacity Opacity value.
|
|
117
|
-
* @returns RGBA value.
|
|
118
|
-
*/
|
|
119
|
-
private getStatic;
|
|
120
|
-
/**
|
|
121
|
-
* Internal: Look for theme dynamic colors.
|
|
122
|
-
* @param color Color name.
|
|
123
|
-
* @param depth Color depth.
|
|
124
|
-
* @param opacity Opacity value.
|
|
125
|
-
* @returns RGBA value.
|
|
126
|
-
*/
|
|
127
|
-
private getDynamic;
|
|
128
|
-
/**
|
|
129
|
-
* Internal: Split color strings
|
|
130
|
-
* @param colorWithDepth Color string [color]-[depth]. Ex.: primary-dark.
|
|
131
|
-
* @returns Object { color: string, depth: string }.
|
|
132
|
-
*/
|
|
133
|
-
private splitColorDepth;
|
|
134
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuraThemeColorsModule, never>;
|
|
135
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuraThemeColorsModule>;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
declare class CuraThemeSpacingModule {
|
|
139
|
-
private document;
|
|
140
|
-
private readonly curaSpacing;
|
|
141
|
-
/**
|
|
142
|
-
* Returns the base spacing var defined in the theme
|
|
143
|
-
* @returns CSS variable string or fallback value
|
|
144
|
-
*/
|
|
145
|
-
getSpacing(): string;
|
|
146
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuraThemeSpacingModule, never>;
|
|
147
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuraThemeSpacingModule>;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
declare class CuraThemeFontsModule {
|
|
151
|
-
private document;
|
|
152
|
-
/**
|
|
153
|
-
* Get the CSS variable related to the font family defined by the theme.
|
|
154
|
-
* @param type 'body' | 'heading' | 'display'
|
|
155
|
-
* @returns Related css variable as a string.
|
|
156
|
-
*/
|
|
157
|
-
getFamily(type?: string): string;
|
|
158
|
-
/**
|
|
159
|
-
* Get the CSS variables related to font weights defined by the theme.
|
|
160
|
-
* @returns Object with CSS vars weights definitions for thin, light, regular, medium, bold and black fonts.
|
|
161
|
-
*/
|
|
162
|
-
getWeights(): any;
|
|
163
|
-
/**
|
|
164
|
-
* Get the CSS variable related to the font size base defined by the theme.
|
|
165
|
-
* @returns Related CSS variable as a string.
|
|
166
|
-
*/
|
|
167
|
-
getSize(): string;
|
|
168
|
-
/**
|
|
169
|
-
* Get CSS variable related to the font color defined by the theme.
|
|
170
|
-
* @returns Related CSS variable as a string.
|
|
171
|
-
*/
|
|
172
|
-
getColor(): string;
|
|
173
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuraThemeFontsModule, never>;
|
|
174
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuraThemeFontsModule>;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
declare class CuraThemeBreakpointsModule {
|
|
178
|
-
/**
|
|
179
|
-
* Returns breakpoint values defined in the theme
|
|
180
|
-
* @param size Breakpoint size
|
|
181
|
-
* @param position Min or max position
|
|
182
|
-
* @returns Breakpoint value or all breakpoints
|
|
183
|
-
*/
|
|
184
|
-
get(size?: BreakpointSize | null, position?: BreakpointPosition | null): any;
|
|
185
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuraThemeBreakpointsModule, never>;
|
|
186
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuraThemeBreakpointsModule>;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
declare class CuraThemeModule {
|
|
190
|
-
colors: CuraThemeColorsModule;
|
|
191
|
-
spacing: CuraThemeSpacingModule;
|
|
192
|
-
fonts: CuraThemeFontsModule;
|
|
193
|
-
breakpoints: CuraThemeBreakpointsModule;
|
|
194
|
-
private document;
|
|
195
|
-
private rootElement;
|
|
196
|
-
private readonly prefix;
|
|
197
|
-
private groupObject;
|
|
198
|
-
constructor();
|
|
199
|
-
/**
|
|
200
|
-
* Load a theme.
|
|
201
|
-
* @param theme Theme tag.
|
|
202
|
-
*/
|
|
203
|
-
load(theme?: string): void;
|
|
204
|
-
/**
|
|
205
|
-
* Load variables for SSR
|
|
206
|
-
* @param theme Theme tag
|
|
207
|
-
* @returns Object with CSS variables
|
|
208
|
-
*/
|
|
209
|
-
loadVarsSSR(theme?: string): {
|
|
210
|
-
[key: string]: any;
|
|
211
|
-
};
|
|
212
|
-
/**
|
|
213
|
-
* Define a custom theme
|
|
214
|
-
* @param customTheme Custom theme object definition
|
|
215
|
-
*/
|
|
216
|
-
setCustom(customTheme: CuraCustomTheme): void;
|
|
217
|
-
/**
|
|
218
|
-
* Set css var based on object structure
|
|
219
|
-
*/
|
|
220
|
-
private setCssVar;
|
|
221
|
-
private groupPath;
|
|
222
|
-
private isObject;
|
|
223
|
-
/**
|
|
224
|
-
* Deep merge objects
|
|
225
|
-
*/
|
|
226
|
-
private mergeObject;
|
|
227
|
-
/**
|
|
228
|
-
* Set css vars from preset object
|
|
229
|
-
*/
|
|
230
|
-
private buildCssVars;
|
|
231
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuraThemeModule, never>;
|
|
232
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuraThemeModule>;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
declare const ThemePresets: {
|
|
236
|
-
[key: string]: any;
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* Cura Default Theme
|
|
241
|
-
*/
|
|
242
|
-
declare const ThemeDefault: {
|
|
243
|
-
color: {
|
|
244
|
-
primary: {
|
|
245
|
-
'100': string;
|
|
246
|
-
'300': string;
|
|
247
|
-
'500': string;
|
|
248
|
-
'700': string;
|
|
249
|
-
'900': string;
|
|
250
|
-
};
|
|
251
|
-
secondary: {
|
|
252
|
-
'100': string;
|
|
253
|
-
'300': string;
|
|
254
|
-
'500': string;
|
|
255
|
-
'700': string;
|
|
256
|
-
'900': string;
|
|
257
|
-
};
|
|
258
|
-
accent: {
|
|
259
|
-
'100': string;
|
|
260
|
-
'300': string;
|
|
261
|
-
'500': string;
|
|
262
|
-
'700': string;
|
|
263
|
-
'900': string;
|
|
264
|
-
};
|
|
265
|
-
};
|
|
266
|
-
spacing: {
|
|
267
|
-
base: number;
|
|
268
|
-
};
|
|
269
|
-
font: {
|
|
270
|
-
size: string;
|
|
271
|
-
color: string;
|
|
272
|
-
body: string;
|
|
273
|
-
heading: string;
|
|
274
|
-
display: string;
|
|
275
|
-
weights: {
|
|
276
|
-
thin: number;
|
|
277
|
-
light: number;
|
|
278
|
-
regular: number;
|
|
279
|
-
medium: number;
|
|
280
|
-
bold: number;
|
|
281
|
-
black: number;
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* Static theme data
|
|
288
|
-
*/
|
|
289
|
-
declare const Static: {
|
|
290
|
-
color: {
|
|
291
|
-
success: {
|
|
292
|
-
'100': string;
|
|
293
|
-
'300': string;
|
|
294
|
-
'500': string;
|
|
295
|
-
'700': string;
|
|
296
|
-
'900': string;
|
|
297
|
-
};
|
|
298
|
-
info: {
|
|
299
|
-
'100': string;
|
|
300
|
-
'300': string;
|
|
301
|
-
'500': string;
|
|
302
|
-
'700': string;
|
|
303
|
-
'900': string;
|
|
304
|
-
};
|
|
305
|
-
error: {
|
|
306
|
-
'100': string;
|
|
307
|
-
'300': string;
|
|
308
|
-
'500': string;
|
|
309
|
-
'700': string;
|
|
310
|
-
'900': string;
|
|
311
|
-
};
|
|
312
|
-
warning: {
|
|
313
|
-
'100': string;
|
|
314
|
-
'300': string;
|
|
315
|
-
'500': string;
|
|
316
|
-
'700': string;
|
|
317
|
-
'900': string;
|
|
318
|
-
};
|
|
319
|
-
neutral: {
|
|
320
|
-
'0': string;
|
|
321
|
-
'100': string;
|
|
322
|
-
'200': string;
|
|
323
|
-
'300': string;
|
|
324
|
-
'400': string;
|
|
325
|
-
'500': string;
|
|
326
|
-
'600': string;
|
|
327
|
-
'700': string;
|
|
328
|
-
'800': string;
|
|
329
|
-
'900': string;
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
|
-
breakpoints: {
|
|
333
|
-
xsmall: {
|
|
334
|
-
min: number;
|
|
335
|
-
max: number;
|
|
336
|
-
};
|
|
337
|
-
small: {
|
|
338
|
-
min: number;
|
|
339
|
-
max: number;
|
|
340
|
-
};
|
|
341
|
-
medium: {
|
|
342
|
-
min: number;
|
|
343
|
-
max: number;
|
|
344
|
-
};
|
|
345
|
-
large: {
|
|
346
|
-
min: number;
|
|
347
|
-
max: number;
|
|
348
|
-
};
|
|
349
|
-
xlarge: {
|
|
350
|
-
min: number;
|
|
351
|
-
max: number;
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
|
-
};
|
|
355
|
-
|
|
356
|
-
declare const CURA_CONFIG: InjectionToken<CuraConfig>;
|
|
357
|
-
|
|
358
|
-
export { CURA_CONFIG, CuraApiService, CuraThemeBreakpointsModule, CuraThemeColorsModule, CuraThemeFontsModule, CuraThemeModule, CuraThemeSpacingModule, InterfaceModes, Static, ThemeDefault, ThemePresets };
|
|
359
|
-
export type { APIThemeFunctions, BreakpointPosition, BreakpointSize, CuraConfig, CuraCustomTheme, CuraCustomThemeColorDepth, CuraCustomThemeColors, CuraCustomThemeDefinitions, CuraCustomThemeFont, CuraCustomThemeFontFamily, CuraCustomThemeFontSize, CuraCustomThemeSpacing };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { BadgeType } from '@rededor/site-front-end-lib/cura/badges';
|
|
3
|
-
|
|
4
|
-
declare class CuraBadgeCounterComponent {
|
|
5
|
-
private curaApi;
|
|
6
|
-
/**
|
|
7
|
-
* Número a ser representado no badge.
|
|
8
|
-
* Apresentará 99+ para números acima desse valor.
|
|
9
|
-
*/
|
|
10
|
-
number: _angular_core.InputSignal<number | null>;
|
|
11
|
-
/**
|
|
12
|
-
* Cor fundamental do design system sem profundidade.
|
|
13
|
-
* Ex.: primary (padrão)
|
|
14
|
-
*/
|
|
15
|
-
color: _angular_core.InputSignal<string>;
|
|
16
|
-
/**
|
|
17
|
-
* Define o estado do badge como desabilitado ou habilitado.
|
|
18
|
-
*/
|
|
19
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
20
|
-
/**
|
|
21
|
-
* Define o estilo visual entre solid (default), outline ou transparent.
|
|
22
|
-
*/
|
|
23
|
-
type: _angular_core.InputSignal<BadgeType>;
|
|
24
|
-
baseSpacing: _angular_core.Signal<string>;
|
|
25
|
-
colorStyles: _angular_core.Signal<{
|
|
26
|
-
backgroundColor: string;
|
|
27
|
-
labelColor: string;
|
|
28
|
-
}>;
|
|
29
|
-
private displayNumber;
|
|
30
|
-
containerClasses: _angular_core.Signal<string>;
|
|
31
|
-
shouldShow: _angular_core.Signal<boolean>;
|
|
32
|
-
displayText: _angular_core.Signal<string>;
|
|
33
|
-
labelColor: _angular_core.Signal<string>;
|
|
34
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraBadgeCounterComponent, never>;
|
|
35
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraBadgeCounterComponent, "cura-badge-counter", never, { "number": { "alias": "number"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export { CuraBadgeCounterComponent };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
|
|
3
|
-
declare class CuraBadgeDistanceComponent {
|
|
4
|
-
private curaApi;
|
|
5
|
-
/**
|
|
6
|
-
* Distance value to display
|
|
7
|
-
*/
|
|
8
|
-
distance: _angular_core.InputSignal<number>;
|
|
9
|
-
/**
|
|
10
|
-
* Label for the distance unit
|
|
11
|
-
*/
|
|
12
|
-
label: _angular_core.InputSignal<string>;
|
|
13
|
-
private formattedDistance;
|
|
14
|
-
neutralPale: _angular_core.Signal<string>;
|
|
15
|
-
baseSpacing: _angular_core.Signal<string>;
|
|
16
|
-
displayDistance: _angular_core.Signal<string>;
|
|
17
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraBadgeDistanceComponent, never>;
|
|
18
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraBadgeDistanceComponent, "cura-badge-distance", never, { "distance": { "alias": "distance"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { CuraBadgeDistanceComponent };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { BadgeType } from '@rededor/site-front-end-lib/cura/badges';
|
|
3
|
-
|
|
4
|
-
declare class CuraBadgeDotComponent {
|
|
5
|
-
private curaApi;
|
|
6
|
-
/**
|
|
7
|
-
* Cor fundamental do design system sem profundidade.
|
|
8
|
-
* Ex.: primary (padrão)
|
|
9
|
-
*/
|
|
10
|
-
color: _angular_core.InputSignal<string>;
|
|
11
|
-
/**
|
|
12
|
-
* Define o estado do badge como desabilitado ou habilitado.
|
|
13
|
-
*/
|
|
14
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
15
|
-
/**
|
|
16
|
-
* Define o estilo visual entre solid (default), outline ou transparent.
|
|
17
|
-
*/
|
|
18
|
-
type: _angular_core.InputSignal<BadgeType>;
|
|
19
|
-
baseSpacing: _angular_core.Signal<string>;
|
|
20
|
-
neutralMedium: _angular_core.Signal<string>;
|
|
21
|
-
neutralPale: _angular_core.Signal<string>;
|
|
22
|
-
colorValue: _angular_core.Signal<string>;
|
|
23
|
-
colorDark: _angular_core.Signal<string>;
|
|
24
|
-
containerClasses: _angular_core.Signal<string>;
|
|
25
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraBadgeDotComponent, never>;
|
|
26
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraBadgeDotComponent, "cura-badge-dot", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { CuraBadgeDotComponent };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { BadgeType, BadgeColor } from '@rededor/site-front-end-lib/cura/badges';
|
|
3
|
-
|
|
4
|
-
declare class CuraBadgePillComponent {
|
|
5
|
-
private curaApi;
|
|
6
|
-
/**
|
|
7
|
-
* Badge type: solid | outline | transparent
|
|
8
|
-
*/
|
|
9
|
-
type: _angular_core.InputSignal<BadgeType>;
|
|
10
|
-
/**
|
|
11
|
-
* Color base from color scheme. Default: primary
|
|
12
|
-
*/
|
|
13
|
-
color: _angular_core.InputSignal<BadgeColor>;
|
|
14
|
-
/**
|
|
15
|
-
* Name of the icon to be used from iconset
|
|
16
|
-
*/
|
|
17
|
-
iconName: _angular_core.InputSignal<string>;
|
|
18
|
-
/**
|
|
19
|
-
* Custom iconset if needed
|
|
20
|
-
*/
|
|
21
|
-
iconset: _angular_core.InputSignal<string>;
|
|
22
|
-
/**
|
|
23
|
-
* Disabled state. Boolean
|
|
24
|
-
*/
|
|
25
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
26
|
-
/**
|
|
27
|
-
* Set badge to icon only. Boolean
|
|
28
|
-
*/
|
|
29
|
-
iconOnly: _angular_core.InputSignal<boolean>;
|
|
30
|
-
/**
|
|
31
|
-
* Set border-radius.
|
|
32
|
-
*/
|
|
33
|
-
borderRadius: _angular_core.InputSignal<string>;
|
|
34
|
-
colorBackground: _angular_core.Signal<string>;
|
|
35
|
-
colorBase: _angular_core.Signal<string>;
|
|
36
|
-
containerClasses: _angular_core.Signal<string>;
|
|
37
|
-
symbolColor: _angular_core.Signal<string>;
|
|
38
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraBadgePillComponent, never>;
|
|
39
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraBadgePillComponent, "cura-badge-pill", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "iconset": { "alias": "iconset"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { CuraBadgePillComponent };
|
package/cura/badges/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
type BadgeType = 'solid' | 'outline' | 'transparent';
|
|
2
|
-
type BadgeColor = 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
3
|
-
type BadgeSize = 'micro' | 'xsmall' | 'small' | 'medium' | 'large';
|
|
4
|
-
|
|
5
|
-
export type { BadgeColor, BadgeSize, BadgeType };
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ButtonType, ButtonSize, IconPosition, BackgroundType, FontColor, TextAlign } from '@rededor/site-front-end-lib/cura/buttons';
|
|
3
|
-
import { LabelSize } from '@rededor/site-front-end-lib/cura/forms';
|
|
4
|
-
|
|
5
|
-
declare class CuraButtonComponent {
|
|
6
|
-
private curaApi;
|
|
7
|
-
/**
|
|
8
|
-
* Button type: button (default) | submit | reset
|
|
9
|
-
*/
|
|
10
|
-
type: _angular_core.InputSignal<ButtonType>;
|
|
11
|
-
/**
|
|
12
|
-
* Button size: small | medium | large (default)
|
|
13
|
-
*/
|
|
14
|
-
size: _angular_core.InputSignal<ButtonSize>;
|
|
15
|
-
/**
|
|
16
|
-
* Disabled state. Boolean.
|
|
17
|
-
*/
|
|
18
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
19
|
-
/**
|
|
20
|
-
* Loading state. Boolean.
|
|
21
|
-
*/
|
|
22
|
-
isLoading: _angular_core.InputSignal<boolean>;
|
|
23
|
-
/**
|
|
24
|
-
* Name of the icon to be used from iconset.
|
|
25
|
-
*/
|
|
26
|
-
iconName: _angular_core.InputSignal<string>;
|
|
27
|
-
/**
|
|
28
|
-
* Custom iconset if needed.
|
|
29
|
-
*/
|
|
30
|
-
iconset: _angular_core.InputSignal<string>;
|
|
31
|
-
/**
|
|
32
|
-
* Icon position: left (default) | right.
|
|
33
|
-
*/
|
|
34
|
-
iconPosition: _angular_core.InputSignal<IconPosition>;
|
|
35
|
-
/**
|
|
36
|
-
* Set button to FAB/icon only.
|
|
37
|
-
*/
|
|
38
|
-
iconOnly: _angular_core.InputSignal<boolean>;
|
|
39
|
-
/**
|
|
40
|
-
* Property href switch button to link.
|
|
41
|
-
*/
|
|
42
|
-
href: _angular_core.InputSignal<string>;
|
|
43
|
-
/**
|
|
44
|
-
* Set target if link.
|
|
45
|
-
*/
|
|
46
|
-
target: _angular_core.InputSignal<string>;
|
|
47
|
-
/**
|
|
48
|
-
* Color base from color scheme. Default: accent.
|
|
49
|
-
*/
|
|
50
|
-
color: _angular_core.InputSignal<string>;
|
|
51
|
-
/**
|
|
52
|
-
* Set the background color to dark or light.
|
|
53
|
-
*/
|
|
54
|
-
background: _angular_core.InputSignal<BackgroundType>;
|
|
55
|
-
/**
|
|
56
|
-
* Set the font color to dark or light.
|
|
57
|
-
*/
|
|
58
|
-
fontColor: _angular_core.InputSignal<FontColor>;
|
|
59
|
-
/**
|
|
60
|
-
* Set text alignment for the button label.
|
|
61
|
-
* Values: left (default) | center | right.
|
|
62
|
-
*/
|
|
63
|
-
textAlign: _angular_core.InputSignal<TextAlign>;
|
|
64
|
-
/**
|
|
65
|
-
* Justify icons and label inside the button.
|
|
66
|
-
* Values: false (default) | true.
|
|
67
|
-
*/
|
|
68
|
-
justify: _angular_core.InputSignal<boolean>;
|
|
69
|
-
/**
|
|
70
|
-
* Accessible name for the button (aria-label).
|
|
71
|
-
* Required for icon-only buttons or when button text is not descriptive enough.
|
|
72
|
-
*/
|
|
73
|
-
ariaLabel: _angular_core.InputSignal<string>;
|
|
74
|
-
buttonClick: _angular_core.OutputEmitterRef<Event>;
|
|
75
|
-
hovered: boolean;
|
|
76
|
-
buttonStyles: _angular_core.Signal<{
|
|
77
|
-
[key: string]: string;
|
|
78
|
-
}>;
|
|
79
|
-
containerClasses: _angular_core.Signal<string>;
|
|
80
|
-
iconSize: _angular_core.Signal<"20" | "16">;
|
|
81
|
-
symbolColor: _angular_core.Signal<"neutral-white" | "neutral-black" | "neutral-dark">;
|
|
82
|
-
labelSize: _angular_core.Signal<LabelSize>;
|
|
83
|
-
handleMouseEnter(): void;
|
|
84
|
-
handleMouseLeave(): void;
|
|
85
|
-
handleClick(event: Event): void;
|
|
86
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraButtonComponent, never>;
|
|
87
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonComponent, "cura-button", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "iconset": { "alias": "iconset"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "fontColor": { "alias": "fontColor"; "required": false; "isSignal": true; }; "textAlign": { "alias": "textAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, ["*"], true, never>;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export { CuraButtonComponent };
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ButtonType, ButtonSize, IconPosition, BackgroundType, FontColor, TextAlign } from '@rededor/site-front-end-lib/cura/buttons';
|
|
3
|
-
import { LabelSize } from '@rededor/site-front-end-lib/cura/forms';
|
|
4
|
-
|
|
5
|
-
declare class CuraButtonOutlineComponent {
|
|
6
|
-
private curaApi;
|
|
7
|
-
/**
|
|
8
|
-
* Button type: button (default) | submit | reset
|
|
9
|
-
*/
|
|
10
|
-
type: _angular_core.InputSignal<ButtonType>;
|
|
11
|
-
/**
|
|
12
|
-
* Button size: small | medium | large (default)
|
|
13
|
-
*/
|
|
14
|
-
size: _angular_core.InputSignal<ButtonSize>;
|
|
15
|
-
/**
|
|
16
|
-
* Disabled state. Boolean.
|
|
17
|
-
*/
|
|
18
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
19
|
-
/**
|
|
20
|
-
* Loading state. Boolean.
|
|
21
|
-
*/
|
|
22
|
-
isLoading: _angular_core.InputSignal<boolean>;
|
|
23
|
-
/**
|
|
24
|
-
* Name of the icon to be used from iconset.
|
|
25
|
-
*/
|
|
26
|
-
iconName: _angular_core.InputSignal<string>;
|
|
27
|
-
/**
|
|
28
|
-
* Custom iconset if needed.
|
|
29
|
-
*/
|
|
30
|
-
iconset: _angular_core.InputSignal<string>;
|
|
31
|
-
/**
|
|
32
|
-
* Icon position: left (default) | right.
|
|
33
|
-
*/
|
|
34
|
-
iconPosition: _angular_core.InputSignal<IconPosition>;
|
|
35
|
-
/**
|
|
36
|
-
* Set button to FAB/icon only.
|
|
37
|
-
*/
|
|
38
|
-
iconOnly: _angular_core.InputSignal<boolean>;
|
|
39
|
-
/**
|
|
40
|
-
* Property href switch button to link.
|
|
41
|
-
*/
|
|
42
|
-
href: _angular_core.InputSignal<string>;
|
|
43
|
-
/**
|
|
44
|
-
* Set target if link.
|
|
45
|
-
*/
|
|
46
|
-
target: _angular_core.InputSignal<string>;
|
|
47
|
-
/**
|
|
48
|
-
* Color base from color scheme. Default: primary.
|
|
49
|
-
*/
|
|
50
|
-
color: _angular_core.InputSignal<string>;
|
|
51
|
-
/**
|
|
52
|
-
* Set the font background to dark or light.
|
|
53
|
-
*/
|
|
54
|
-
background: _angular_core.InputSignal<BackgroundType>;
|
|
55
|
-
/**
|
|
56
|
-
* Set the font color to dark or light.
|
|
57
|
-
*/
|
|
58
|
-
fontColor: _angular_core.InputSignal<FontColor>;
|
|
59
|
-
/**
|
|
60
|
-
* Set text alignment for the button label.
|
|
61
|
-
* Values: left (default) | center | right.
|
|
62
|
-
*/
|
|
63
|
-
textAlign: _angular_core.InputSignal<TextAlign>;
|
|
64
|
-
/**
|
|
65
|
-
* Justify icons and label inside the button.
|
|
66
|
-
* Values: false (default) | true.
|
|
67
|
-
*/
|
|
68
|
-
justify: _angular_core.InputSignal<boolean>;
|
|
69
|
-
/**
|
|
70
|
-
* Accessible name for the button (aria-label).
|
|
71
|
-
* Required for icon-only buttons or when button text is not descriptive enough.
|
|
72
|
-
*/
|
|
73
|
-
ariaLabel: _angular_core.InputSignal<string>;
|
|
74
|
-
buttonClick: _angular_core.OutputEmitterRef<Event>;
|
|
75
|
-
hovered: boolean;
|
|
76
|
-
buttonStyles: _angular_core.Signal<{
|
|
77
|
-
[key: string]: string;
|
|
78
|
-
}>;
|
|
79
|
-
containerClasses: _angular_core.Signal<string>;
|
|
80
|
-
iconSize: _angular_core.Signal<"20" | "16">;
|
|
81
|
-
symbolColor: _angular_core.Signal<string>;
|
|
82
|
-
labelSize: _angular_core.Signal<LabelSize>;
|
|
83
|
-
handleMouseEnter(): void;
|
|
84
|
-
handleMouseLeave(): void;
|
|
85
|
-
handleClick(event: Event): void;
|
|
86
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraButtonOutlineComponent, never>;
|
|
87
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonOutlineComponent, "cura-button-outline", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "iconset": { "alias": "iconset"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "fontColor": { "alias": "fontColor"; "required": false; "isSignal": true; }; "textAlign": { "alias": "textAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, ["*"], true, never>;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export { CuraButtonOutlineComponent };
|