@rededor/site-front-end-lib 20.0.39 → 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/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/core/index.d.ts +3 -4
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +6 -6
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs +6 -6
- 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 +1 -1
- 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 +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +1 -1
- 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 +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +1 -1
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-core.mjs +1 -0
- package/fesm2022/rededor-site-front-end-lib-core.mjs.map +1 -1
- package/package.json +2 -133
- 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
|
@@ -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 };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ButtonSize, BackgroundType, IconPosition } from '@rededor/site-front-end-lib/cura/buttons';
|
|
3
|
-
import { LabelSize } from '@rededor/site-front-end-lib/cura/forms';
|
|
4
|
-
|
|
5
|
-
declare class CuraButtonSelectComponent {
|
|
6
|
-
private curaApi;
|
|
7
|
-
selected: _angular_core.ModelSignal<boolean>;
|
|
8
|
-
iconName: _angular_core.InputSignal<string>;
|
|
9
|
-
size: _angular_core.InputSignal<ButtonSize>;
|
|
10
|
-
counter: _angular_core.InputSignal<number | null>;
|
|
11
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
12
|
-
background: _angular_core.InputSignal<BackgroundType>;
|
|
13
|
-
color: _angular_core.InputSignal<string>;
|
|
14
|
-
iconPosition: _angular_core.InputSignal<IconPosition | undefined>;
|
|
15
|
-
/**
|
|
16
|
-
* Accessible name for the button (aria-label).
|
|
17
|
-
* Required for icon-only buttons or when button text is not descriptive enough.
|
|
18
|
-
*/
|
|
19
|
-
ariaLabel: _angular_core.InputSignal<string>;
|
|
20
|
-
onclick: _angular_core.OutputEmitterRef<{
|
|
21
|
-
selected: boolean;
|
|
22
|
-
}>;
|
|
23
|
-
hovered: boolean;
|
|
24
|
-
buttonStyles: _angular_core.Signal<{
|
|
25
|
-
[key: string]: string;
|
|
26
|
-
}>;
|
|
27
|
-
containerClasses: _angular_core.Signal<string>;
|
|
28
|
-
labelFontColor: _angular_core.Signal<"neutral-dark" | "neutral-black" | "neutral-white">;
|
|
29
|
-
iconSize: _angular_core.Signal<"20" | "16">;
|
|
30
|
-
iconColor: _angular_core.Signal<"neutral-dark" | "neutral-black" | "neutral-white">;
|
|
31
|
-
labelSize: _angular_core.Signal<LabelSize>;
|
|
32
|
-
handleMouseEnter(): void;
|
|
33
|
-
handleMouseLeave(): void;
|
|
34
|
-
handleClick(event: Event): void;
|
|
35
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraButtonSelectComponent, never>;
|
|
36
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonSelectComponent, "cura-button-select", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "counter": { "alias": "counter"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "onclick": "onclick"; }, never, ["*"], true, never>;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { CuraButtonSelectComponent };
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ButtonType, ButtonSize, IconPosition, 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 CuraButtonTransparentComponent {
|
|
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 color to dark or light.
|
|
53
|
-
* Default: dark.
|
|
54
|
-
*/
|
|
55
|
-
fontColor: _angular_core.InputSignal<FontColor>;
|
|
56
|
-
/**
|
|
57
|
-
* Set text alignment for the button label.
|
|
58
|
-
* Values: left (default) | center | right.
|
|
59
|
-
*/
|
|
60
|
-
textAlign: _angular_core.InputSignal<TextAlign>;
|
|
61
|
-
/**
|
|
62
|
-
* Justify icons and label inside the button.
|
|
63
|
-
* Values: false (default) | true.
|
|
64
|
-
*/
|
|
65
|
-
justify: _angular_core.InputSignal<boolean>;
|
|
66
|
-
/**
|
|
67
|
-
* Accessible name for the button (aria-label).
|
|
68
|
-
* Required for icon-only buttons or when button text is not descriptive enough.
|
|
69
|
-
*/
|
|
70
|
-
ariaLabel: _angular_core.InputSignal<string>;
|
|
71
|
-
buttonClick: _angular_core.OutputEmitterRef<Event>;
|
|
72
|
-
hovered: boolean;
|
|
73
|
-
buttonStyles: _angular_core.Signal<{
|
|
74
|
-
[key: string]: string;
|
|
75
|
-
}>;
|
|
76
|
-
containerClasses: _angular_core.Signal<string>;
|
|
77
|
-
iconSize: _angular_core.Signal<"20" | "16">;
|
|
78
|
-
symbolColor: _angular_core.Signal<string>;
|
|
79
|
-
labelSize: _angular_core.Signal<LabelSize>;
|
|
80
|
-
handleMouseEnter(): void;
|
|
81
|
-
handleMouseLeave(): void;
|
|
82
|
-
handleClick(event: Event): void;
|
|
83
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraButtonTransparentComponent, never>;
|
|
84
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonTransparentComponent, "cura-button-transparent", 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; }; "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>;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export { CuraButtonTransparentComponent };
|
package/cura/buttons/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const labelSizes: {
|
|
2
|
-
small: string;
|
|
3
|
-
medium: string;
|
|
4
|
-
large: string;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
type ButtonType = 'button' | 'reset' | 'submit';
|
|
8
|
-
type ButtonSize = 'small' | 'medium' | 'large';
|
|
9
|
-
type IconPosition = 'left' | 'right';
|
|
10
|
-
type BackgroundType = 'dark' | 'light';
|
|
11
|
-
type FontColor = 'dark' | 'light';
|
|
12
|
-
type TextAlign = 'left' | 'center' | 'right';
|
|
13
|
-
|
|
14
|
-
export { labelSizes };
|
|
15
|
-
export type { BackgroundType, ButtonSize, ButtonType, FontColor, IconPosition, TextAlign };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
|
|
3
|
-
type CardType = 'solid' | 'transparent';
|
|
4
|
-
type CardColorMode = 'light' | 'dark';
|
|
5
|
-
type CardTarget = '_self' | '_blank' | '_parent' | '_top';
|
|
6
|
-
|
|
7
|
-
declare class CuraCardComponent {
|
|
8
|
-
/**
|
|
9
|
-
* Determines whether the card should have padding.
|
|
10
|
-
* @default true
|
|
11
|
-
*/
|
|
12
|
-
hasPadding: _angular_core.InputSignal<boolean>;
|
|
13
|
-
/**
|
|
14
|
-
* Determines whether the card should have a shadow effect.
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
hasShadow: _angular_core.InputSignal<boolean>;
|
|
18
|
-
/**
|
|
19
|
-
* Sets the type of the card background.
|
|
20
|
-
* - 'solid': A solid background.
|
|
21
|
-
* - 'transparent': A transparent background.
|
|
22
|
-
* @default 'solid'
|
|
23
|
-
*/
|
|
24
|
-
type: _angular_core.InputSignal<CardType>;
|
|
25
|
-
/**
|
|
26
|
-
* Sets the color mode of the card.
|
|
27
|
-
* - 'light': Light mode for the card.
|
|
28
|
-
* - 'dark': Dark mode for the card.
|
|
29
|
-
* @default 'light'
|
|
30
|
-
*/
|
|
31
|
-
colorMode: _angular_core.InputSignal<CardColorMode>;
|
|
32
|
-
/**
|
|
33
|
-
* The URL that the card should link to (if set).
|
|
34
|
-
* If not set, the card acts as a normal card.
|
|
35
|
-
*/
|
|
36
|
-
href: _angular_core.InputSignal<string>;
|
|
37
|
-
/**
|
|
38
|
-
* The target attribute for the link.
|
|
39
|
-
* Applicable only if `href` is set.
|
|
40
|
-
* @default '_self'
|
|
41
|
-
*/
|
|
42
|
-
target: _angular_core.InputSignal<CardTarget>;
|
|
43
|
-
containerClasses: _angular_core.Signal<string>;
|
|
44
|
-
isLink: _angular_core.Signal<boolean>;
|
|
45
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraCardComponent, never>;
|
|
46
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraCardComponent, "cura-card", never, { "hasPadding": { "alias": "hasPadding"; "required": false; "isSignal": true; }; "hasShadow": { "alias": "hasShadow"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "colorMode": { "alias": "colorMode"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, {}, never, ["*", "*"], true, never>;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { CuraCardComponent };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Alert types available
|
|
5
|
-
*/
|
|
6
|
-
type AlertType = 'info' | 'success' | 'warning' | 'error';
|
|
7
|
-
/**
|
|
8
|
-
* Alert configuration interface
|
|
9
|
-
*/
|
|
10
|
-
interface AlertConfig {
|
|
11
|
-
type?: AlertType;
|
|
12
|
-
floating?: boolean;
|
|
13
|
-
label?: string;
|
|
14
|
-
closeable?: boolean;
|
|
15
|
-
icon?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
declare class CuraAlertComponent {
|
|
19
|
-
private curaApi;
|
|
20
|
-
/**
|
|
21
|
-
* Alert type: info (default) | success | warning | error
|
|
22
|
-
*/
|
|
23
|
-
type: _angular_core.InputSignal<AlertType>;
|
|
24
|
-
/**
|
|
25
|
-
* Floating state. Boolean.
|
|
26
|
-
*/
|
|
27
|
-
floating: _angular_core.InputSignal<boolean>;
|
|
28
|
-
/**
|
|
29
|
-
* Alert label/title
|
|
30
|
-
*/
|
|
31
|
-
label: _angular_core.InputSignal<string>;
|
|
32
|
-
/**
|
|
33
|
-
* Closeable state. Boolean.
|
|
34
|
-
*/
|
|
35
|
-
closeable: _angular_core.InputSignal<boolean>;
|
|
36
|
-
/**
|
|
37
|
-
* Custom icon name
|
|
38
|
-
*/
|
|
39
|
-
icon: _angular_core.InputSignal<string>;
|
|
40
|
-
/**
|
|
41
|
-
* Close event emitter
|
|
42
|
-
*/
|
|
43
|
-
close: _angular_core.OutputEmitterRef<void>;
|
|
44
|
-
alertStyles: _angular_core.Signal<{
|
|
45
|
-
[key: string]: string;
|
|
46
|
-
}>;
|
|
47
|
-
containerClasses: _angular_core.Signal<string>;
|
|
48
|
-
iconName: _angular_core.Signal<string>;
|
|
49
|
-
handleClose(): void;
|
|
50
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraAlertComponent, never>;
|
|
51
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraAlertComponent, "cura-alert", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "floating": { "alias": "floating"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "closeable": { "alias": "closeable"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, { "close": "close"; }, never, ["*", "[slot=actions]"], true, never>;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export { CuraAlertComponent };
|
|
55
|
-
export type { AlertConfig, AlertType };
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Background options for the modal component
|
|
6
|
-
*/
|
|
7
|
-
type ModalBackground = 'dark' | 'light';
|
|
8
|
-
/**
|
|
9
|
-
* Event payload emitted when the modal is closed
|
|
10
|
-
*/
|
|
11
|
-
interface ModalCloseEvent {
|
|
12
|
-
/**
|
|
13
|
-
* Indicates that the modal was closed
|
|
14
|
-
*/
|
|
15
|
-
closed: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Modal position configuration
|
|
19
|
-
*/
|
|
20
|
-
interface ModalPosition {
|
|
21
|
-
/**
|
|
22
|
-
* Top offset in pixels
|
|
23
|
-
*/
|
|
24
|
-
top?: number;
|
|
25
|
-
/**
|
|
26
|
-
* Bottom offset in pixels
|
|
27
|
-
*/
|
|
28
|
-
bottom?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Left offset in pixels
|
|
31
|
-
*/
|
|
32
|
-
left?: number;
|
|
33
|
-
/**
|
|
34
|
-
* Right offset in pixels
|
|
35
|
-
*/
|
|
36
|
-
right?: number;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
declare class CuraModalComponent implements OnInit, OnDestroy {
|
|
40
|
-
private curaApi;
|
|
41
|
-
private platformId;
|
|
42
|
-
/**
|
|
43
|
-
* Property open to control modal visibility
|
|
44
|
-
*/
|
|
45
|
-
open: _angular_core.ModelSignal<boolean>;
|
|
46
|
-
/**
|
|
47
|
-
* Property background to control modal backdrop color
|
|
48
|
-
*/
|
|
49
|
-
background: _angular_core.InputSignal<ModalBackground>;
|
|
50
|
-
/**
|
|
51
|
-
* Property top to control modal top position
|
|
52
|
-
*/
|
|
53
|
-
top: _angular_core.InputSignal<number>;
|
|
54
|
-
/**
|
|
55
|
-
* Property bottom to control modal bottom position
|
|
56
|
-
*/
|
|
57
|
-
bottom: _angular_core.InputSignal<number>;
|
|
58
|
-
/**
|
|
59
|
-
* Property left to control modal left position
|
|
60
|
-
*/
|
|
61
|
-
left: _angular_core.InputSignal<number>;
|
|
62
|
-
/**
|
|
63
|
-
* Property right to control modal right position
|
|
64
|
-
*/
|
|
65
|
-
right: _angular_core.InputSignal<number>;
|
|
66
|
-
/**
|
|
67
|
-
* Defines the label for the close button when the modal is viewed on mobile
|
|
68
|
-
*/
|
|
69
|
-
mobileCloseLabel: _angular_core.InputSignal<string>;
|
|
70
|
-
/**
|
|
71
|
-
* Property zindex to control the z-index value of the component
|
|
72
|
-
*/
|
|
73
|
-
zindex: _angular_core.InputSignal<string>;
|
|
74
|
-
/**
|
|
75
|
-
* Event close to handle modal close
|
|
76
|
-
*/
|
|
77
|
-
modalClose: _angular_core.OutputEmitterRef<void>;
|
|
78
|
-
styles: _angular_core.Signal<{
|
|
79
|
-
'--background-color': string;
|
|
80
|
-
'--top-offset': string;
|
|
81
|
-
'--bottom-offset': string;
|
|
82
|
-
'--left-offset': string;
|
|
83
|
-
'--right-offset': string;
|
|
84
|
-
'--neutral-purewhite': string;
|
|
85
|
-
'--neutral-light': string;
|
|
86
|
-
'--base-spacing': string;
|
|
87
|
-
}>;
|
|
88
|
-
ngOnInit(): void;
|
|
89
|
-
ngOnDestroy(): void;
|
|
90
|
-
handleCloseOnEsc: (evt: KeyboardEvent) => void;
|
|
91
|
-
handleClose: () => void;
|
|
92
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraModalComponent, never>;
|
|
93
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraModalComponent, "cura-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "top": { "alias": "top"; "required": false; "isSignal": true; }; "bottom": { "alias": "bottom"; "required": false; "isSignal": true; }; "left": { "alias": "left"; "required": false; "isSignal": true; }; "right": { "alias": "right"; "required": false; "isSignal": true; }; "mobileCloseLabel": { "alias": "mobileCloseLabel"; "required": false; "isSignal": true; }; "zindex": { "alias": "zindex"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "modalClose": "modalClose"; }, never, ["*"], true, never>;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export { CuraModalComponent };
|
|
97
|
-
export type { ModalBackground, ModalCloseEvent, ModalPosition };
|