@po-ui/ng-components 17.7.0 → 17.9.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.
Files changed (44) hide show
  1. package/esm2022/lib/components/po-table/po-table-base.component.mjs +17 -2
  2. package/esm2022/lib/components/po-table/po-table-column-label/po-table-column-label.component.mjs +4 -5
  3. package/esm2022/lib/components/po-table/po-table.component.mjs +7 -7
  4. package/esm2022/lib/services/index.mjs +2 -1
  5. package/esm2022/lib/services/po-theme/enum/po-theme-type.enum.mjs +27 -0
  6. package/esm2022/lib/services/po-theme/helpers/po-theme-dark-defaults.constant.mjs +203 -0
  7. package/esm2022/lib/services/po-theme/helpers/po-theme-light-defaults.constant.mjs +134 -0
  8. package/esm2022/lib/services/po-theme/helpers/po-theme-poui.constant.mjs +31 -0
  9. package/esm2022/lib/services/po-theme/index.mjs +10 -0
  10. package/esm2022/lib/services/po-theme/interfaces/po-theme-color.interface.mjs +3 -0
  11. package/esm2022/lib/services/po-theme/interfaces/po-theme-tokens.interface.mjs +2 -0
  12. package/esm2022/lib/services/po-theme/interfaces/po-theme.interface.mjs +2 -0
  13. package/esm2022/lib/services/po-theme/po-theme.module.mjs +27 -0
  14. package/esm2022/lib/services/po-theme/po-theme.service.mjs +260 -0
  15. package/esm2022/lib/services/services.module.mjs +14 -7
  16. package/fesm2022/po-ui-ng-components.mjs +711 -20
  17. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  18. package/lib/components/po-table/po-table-base.component.d.ts +14 -1
  19. package/lib/components/po-table/po-table-column-label/po-table-column-label.component.d.ts +1 -2
  20. package/lib/services/index.d.ts +1 -0
  21. package/lib/services/po-theme/enum/po-theme-type.enum.d.ts +25 -0
  22. package/lib/services/po-theme/helpers/po-theme-dark-defaults.constant.d.ts +116 -0
  23. package/lib/services/po-theme/helpers/po-theme-light-defaults.constant.d.ts +41 -0
  24. package/lib/services/po-theme/helpers/po-theme-poui.constant.d.ts +11 -0
  25. package/lib/services/po-theme/index.d.ts +9 -0
  26. package/lib/services/po-theme/interfaces/po-theme-color.interface.d.ts +374 -0
  27. package/lib/services/po-theme/interfaces/po-theme-tokens.interface.d.ts +61 -0
  28. package/lib/services/po-theme/interfaces/po-theme.interface.d.ts +28 -0
  29. package/lib/services/po-theme/po-theme.module.d.ts +9 -0
  30. package/lib/services/po-theme/po-theme.service.d.ts +129 -0
  31. package/lib/services/services.module.d.ts +2 -1
  32. package/package.json +4 -4
  33. package/po-ui-ng-components-17.9.0.tgz +0 -0
  34. package/schematics/ng-add/index.js +1 -1
  35. package/schematics/ng-update/v14/index.js +1 -1
  36. package/schematics/ng-update/v15/index.js +1 -1
  37. package/schematics/ng-update/v16/index.js +1 -1
  38. package/schematics/ng-update/v17/index.js +1 -1
  39. package/schematics/ng-update/v2/index.js +1 -1
  40. package/schematics/ng-update/v3/index.js +1 -1
  41. package/schematics/ng-update/v4/index.js +1 -1
  42. package/schematics/ng-update/v5/index.js +1 -1
  43. package/schematics/ng-update/v6/index.js +1 -1
  44. package/po-ui-ng-components-17.7.0.tgz +0 -0
@@ -95,6 +95,18 @@ export declare abstract class PoTableBaseComponent implements OnChanges, OnDestr
95
95
  * @default `true`
96
96
  */
97
97
  hideBatchActions: boolean;
98
+ /**
99
+ * @optional
100
+ *
101
+ * @description
102
+ *
103
+ * Habilita ou desabilita a quebra automática de texto. Quando ativada, o texto que excede
104
+ * o espaço disponível é transferido para a próxima linha em pontos apropriados para uma
105
+ * leitura clara.
106
+ *
107
+ * @default `false`
108
+ */
109
+ textWrap?: boolean;
98
110
  /**
99
111
  * @optional
100
112
  *
@@ -713,9 +725,10 @@ export declare abstract class PoTableBaseComponent implements OnChanges, OnDestr
713
725
  protected abstract changeSizeLoading(): any;
714
726
  protected abstract changeHeaderWidth(): any;
715
727
  static ɵfac: i0.ɵɵFactoryDeclaration<PoTableBaseComponent, never>;
716
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoTableBaseComponent, never, never, { "hideColumnsManager": { "alias": "p-hide-columns-manager"; "required": false; }; "hideBatchActions": { "alias": "p-hide-batch-actions"; "required": false; }; "hideActionFixedColumns": { "alias": "p-hide-action-fixed-columns"; "required": false; }; "hideTableSearch": { "alias": "p-hide-table-search"; "required": false; }; "autoCollapse": { "alias": "p-auto-collapse"; "required": false; }; "loadingShowMore": { "alias": "p-loading-show-more"; "required": false; }; "sort": { "alias": "p-sort"; "required": false; }; "showMoreDisabled": { "alias": "p-show-more-disabled"; "required": false; }; "striped": { "alias": "p-striped"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "singleSelect": { "alias": "p-single-select"; "required": false; }; "selectableEntireLine": { "alias": "p-selectable-entire-line"; "required": false; }; "actionRight": { "alias": "p-actions-right"; "required": false; }; "maxColumns": { "alias": "p-max-columns"; "required": false; }; "filterType": { "alias": "p-filter-type"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "columns": { "alias": "p-columns"; "required": false; }; "container": { "alias": "p-container"; "required": false; }; "paramDeleteApi": { "alias": "p-param-delete-api"; "required": false; }; "height": { "alias": "p-height"; "required": false; }; "hideDetail": { "alias": "p-hide-detail"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "selectable": { "alias": "p-selectable"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "serviceApi": { "alias": "p-service-api"; "required": false; }; "serviceDeleteApi": { "alias": "p-service-delete"; "required": false; }; "spacing": { "alias": "p-spacing"; "required": false; }; "filteredColumns": { "alias": "p-filtered-columns"; "required": false; }; "draggable": { "alias": "p-draggable"; "required": false; }; }, { "allSelected": "p-all-selected"; "allUnselected": "p-all-unselected"; "collapsed": "p-collapsed"; "expanded": "p-expanded"; "eventDelete": "p-delete-items"; "selected": "p-selected"; "showMore": "p-show-more"; "sortBy": "p-sort-by"; "unselected": "p-unselected"; "changeVisibleColumns": "p-change-visible-columns"; "columnRestoreManager": "p-restore-column-manager"; }, never, never, false, never>;
728
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoTableBaseComponent, never, never, { "hideColumnsManager": { "alias": "p-hide-columns-manager"; "required": false; }; "hideBatchActions": { "alias": "p-hide-batch-actions"; "required": false; }; "textWrap": { "alias": "p-text-wrap"; "required": false; }; "hideActionFixedColumns": { "alias": "p-hide-action-fixed-columns"; "required": false; }; "hideTableSearch": { "alias": "p-hide-table-search"; "required": false; }; "autoCollapse": { "alias": "p-auto-collapse"; "required": false; }; "loadingShowMore": { "alias": "p-loading-show-more"; "required": false; }; "sort": { "alias": "p-sort"; "required": false; }; "showMoreDisabled": { "alias": "p-show-more-disabled"; "required": false; }; "striped": { "alias": "p-striped"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "singleSelect": { "alias": "p-single-select"; "required": false; }; "selectableEntireLine": { "alias": "p-selectable-entire-line"; "required": false; }; "actionRight": { "alias": "p-actions-right"; "required": false; }; "maxColumns": { "alias": "p-max-columns"; "required": false; }; "filterType": { "alias": "p-filter-type"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "columns": { "alias": "p-columns"; "required": false; }; "container": { "alias": "p-container"; "required": false; }; "paramDeleteApi": { "alias": "p-param-delete-api"; "required": false; }; "height": { "alias": "p-height"; "required": false; }; "hideDetail": { "alias": "p-hide-detail"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "selectable": { "alias": "p-selectable"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "serviceApi": { "alias": "p-service-api"; "required": false; }; "serviceDeleteApi": { "alias": "p-service-delete"; "required": false; }; "spacing": { "alias": "p-spacing"; "required": false; }; "filteredColumns": { "alias": "p-filtered-columns"; "required": false; }; "draggable": { "alias": "p-draggable"; "required": false; }; }, { "allSelected": "p-all-selected"; "allUnselected": "p-all-unselected"; "collapsed": "p-collapsed"; "expanded": "p-expanded"; "eventDelete": "p-delete-items"; "selected": "p-selected"; "showMore": "p-show-more"; "sortBy": "p-sort-by"; "unselected": "p-unselected"; "changeVisibleColumns": "p-change-visible-columns"; "columnRestoreManager": "p-restore-column-manager"; }, never, never, false, never>;
717
729
  static ngAcceptInputType_hideColumnsManager: any;
718
730
  static ngAcceptInputType_hideBatchActions: any;
731
+ static ngAcceptInputType_textWrap: any;
719
732
  static ngAcceptInputType_hideTableSearch: any;
720
733
  static ngAcceptInputType_autoCollapse: any;
721
734
  static ngAcceptInputType_loadingShowMore: any;
@@ -9,10 +9,9 @@ import * as i0 from "@angular/core";
9
9
  * Componente para a criação da representação da legenda, em formato de texto .
10
10
  */
11
11
  export declare class PoTableColumnLabelComponent implements OnInit {
12
- hasLabel: boolean;
13
12
  value: PoTableColumnLabel;
14
13
  ngOnInit(): void;
15
- checkValueHasLabel(): void;
14
+ checkValueHasLabel(): boolean;
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<PoTableColumnLabelComponent, never>;
17
16
  static ɵcmp: i0.ɵɵComponentDeclaration<PoTableColumnLabelComponent, "po-table-column-label", never, { "value": { "alias": "p-value"; "required": false; }; }, {}, never, never, false, never>;
18
17
  }
@@ -8,3 +8,4 @@ export * from './po-dialog/index';
8
8
  export * from './po-language/index';
9
9
  export * from './po-i18n/index';
10
10
  export * from './po-notification/index';
11
+ export * from './po-theme/index';
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Enum para definir os tipos de tema suportados pelo serviço de temas.
3
+ *
4
+ * @usedBy PoThemeService
5
+ *
6
+ * @example
7
+ *
8
+ * Em um serviço de tema, você pode usar este enum para alternar entre os tipos de temas suportados.
9
+ *
10
+ * ```
11
+ * import { PoThemeTypeEnum } from '@po-ui/theme';
12
+ *
13
+ * // Definindo o tipo de tema para light
14
+ * themeService.setTheme(...theme, PoThemeTypeEnum.light);
15
+ *
16
+ * // Definindo o tipo de tema para dark
17
+ * themeService.setTheme(...theme, PoThemeTypeEnum.dark);
18
+ * ```
19
+ */
20
+ export declare enum PoThemeTypeEnum {
21
+ /** Define o tema como claro. */
22
+ light = 0,
23
+ /** Define o tema como escuro. */
24
+ dark = 1
25
+ }
@@ -0,0 +1,116 @@
1
+ import { PoThemeColorAction, PoThemeColorFeedback, PoThemeColorNeutral } from '../interfaces/po-theme-color.interface';
2
+ /**
3
+ * Define as cores de ação padrão para temas escuros.
4
+ */
5
+ declare const poThemeDefaultActionsDark: PoThemeColorAction;
6
+ /**
7
+ * Define as cores neutras padrão para temas escuros.
8
+ */
9
+ declare const poThemeDefaultNeutralsDark: PoThemeColorNeutral;
10
+ /**
11
+ * Define as cores de feedback padrão para temas escuros.
12
+ */
13
+ declare const poThemeDefaultFeedbackDark: PoThemeColorFeedback;
14
+ /**
15
+ * Define estilos específicos por componente e onRoot para temas escuros.
16
+ */
17
+ declare const poThemeDefaultDarkValues: {
18
+ perComponent: {
19
+ /** TAB */
20
+ '.po-tab-border-active': {
21
+ 'background-color': string;
22
+ };
23
+ /** GAUGE */
24
+ '.po-gauge-wrapper': {
25
+ 'background-color': string;
26
+ };
27
+ /** OVERLAY */
28
+ 'po-overlay': {
29
+ '--color-overlay': string;
30
+ };
31
+ /** MODAL */
32
+ 'po-modal': {
33
+ '--color-overlay': string;
34
+ };
35
+ /** TOASTER */
36
+ 'po-toaster': {
37
+ '--color-icon': string;
38
+ };
39
+ /** BADGE */
40
+ 'po-badge': {
41
+ '--color': string;
42
+ };
43
+ 'po-badge[p-status=warning]': {
44
+ '--color': string;
45
+ };
46
+ 'po-chart po-chart-container > svg .po-chart-axis-x-label, .po-chart-axis-y-label': {
47
+ fill: string;
48
+ };
49
+ 'po-rich-text-toolbar .po-button-default.po-rich-text-toolbar-color-picker-button': {
50
+ 'border-style': string;
51
+ };
52
+ 'po-link': {
53
+ '--text-color-visited': string;
54
+ };
55
+ 'po-rich-text-body .po-rich-text-body:focus-visible, po-info .po-info-link:focus-visible, po-list-view a.po-list-view-title-link:focus-visible, po-stepper-circle .po-stepper-circle:focus-visible': {
56
+ 'border-color': string;
57
+ 'outline-color': string;
58
+ 'outline-width': string;
59
+ 'outline-style': string;
60
+ 'outline-offset': string;
61
+ };
62
+ 'po-container': {
63
+ '--background': string;
64
+ };
65
+ 'div.po-lookup-filter-content input.po-input, input.po-input, po-datepicker, po-datepicker-range, po-decimal, po-email, po-input, po-login, po-lookup, po-number, po-password, po-url, po-combo, po-search, po-select, po-multiselect': {
66
+ '--background-disabled': string;
67
+ };
68
+ 'po-input input:-webkit-autofill, po-datepicker input:-webkit-autofill, po-datepicker-range input:-webkit-autofill, po-decimal input:-webkit-autofill, po-email input:-webkit-autofill, po-input input:-webkit-autofill, po-login input:-webkit-autofill, po-lookup input:-webkit-autofill, po-number input:-webkit-autofill, po-password input:-webkit-autofill, po-url input:-webkit-autofill, po-combo input:-webkit-autofill': {
69
+ '-webkit-background-clip': string;
70
+ '-webkit-text-fill-color': string;
71
+ transition: string;
72
+ 'box-shadow': string;
73
+ };
74
+ 'po-overlay, po-page-slide': {
75
+ '--color-overlay': string;
76
+ };
77
+ 'po-select': {
78
+ '--color-hover': string;
79
+ };
80
+ 'po-select select': {
81
+ '--color': string;
82
+ };
83
+ };
84
+ onRoot: {
85
+ '--color-neutral': string;
86
+ '--color-secondary': string;
87
+ '--color-secondary-light-20': string;
88
+ '--color-secondary-light-40': string;
89
+ '--color-secondary-dark-20': string;
90
+ '--color-secondary-dark-40': string;
91
+ '--color-secondary-dark-80': string;
92
+ '--color-black-alpha-10': string;
93
+ '--color-black-alpha-15': string;
94
+ '--color-black-alpha-30': string;
95
+ '--color-primary': string;
96
+ '--color-primary-light-80': string;
97
+ '--color-primary-light-95': string;
98
+ '--color-primary-alpha-50': string;
99
+ '--color-primary-dark-20': string;
100
+ '--color-primary-dark-40': string;
101
+ '--color-secondary-dark-60-alpha-70': string;
102
+ '--color-tertiary-light-90': string;
103
+ '--color-tertiary-dark-5': string;
104
+ '--color-page-background-color-page': string;
105
+ '--color-toolbar-color-badge-text': string;
106
+ '--shadow-popover-box-shadow': string;
107
+ '--shadow-popover-box-shadow-arrow': string;
108
+ '--color-calendar-background-color-box-background-range': string;
109
+ '--color-stepper-circle-disabled': string;
110
+ '--color-stepper-bar-disabled': string;
111
+ '--po-tab-smart-active': string;
112
+ '--po-tab-smart-background-item-selected': string;
113
+ '--po-tab-smart-background-hover': string;
114
+ };
115
+ };
116
+ export { poThemeDefaultActionsDark, poThemeDefaultFeedbackDark, poThemeDefaultNeutralsDark, poThemeDefaultDarkValues };
@@ -0,0 +1,41 @@
1
+ import { PoThemeColorAction, PoThemeColorFeedback, PoThemeColorNeutral, poThemeColorBrand } from '../interfaces/po-theme-color.interface';
2
+ /**
3
+ * Define as cores de ação padrão para temas claros.
4
+ */
5
+ declare const poThemeDefaultActions: PoThemeColorAction;
6
+ /**
7
+ * Define as cores neutras padrão para temas claros.
8
+ */
9
+ declare const poThemeDefaultNeutrals: PoThemeColorNeutral;
10
+ /**
11
+ * Define as cores de feedback padrão para temas claros.
12
+ */
13
+ declare const poThemeDefaultFeedback: PoThemeColorFeedback;
14
+ declare const poThemeDefaultBrands: poThemeColorBrand;
15
+ /**
16
+ * Define estilos específicos por componente e onRoot para temas claros.
17
+ */
18
+ declare const poThemeDefaultLightValues: {
19
+ perComponent: {};
20
+ onRoot: {
21
+ '--color-widget-color-action-active': string;
22
+ '--color-widget-color-action-hover': string;
23
+ '--color-widget-color-action': string;
24
+ '--color-widget-color-default': string;
25
+ '--color-widget-color-title-action': string;
26
+ '--color-widget-color-widget-primary': string;
27
+ '--color-calendar-arrow': string;
28
+ '--color-calendar-title': string;
29
+ '--color-calendar-text-box-background-active': string;
30
+ '--color-calendar-background-color-border-today': string;
31
+ '--color-calendar-color-box-foreground': string;
32
+ '--color-calendar-color-box-foreground-selected': string;
33
+ '--color-calendar-color-box-foreground-pressed': string;
34
+ '--color-calendar-color-box-foreground-range': string;
35
+ '--color-calendar-color-box-foreground-today': string;
36
+ '--color-toolbar-color-default': string;
37
+ '--color-toolbar-color-title': string;
38
+ '--color-calendar-background-color-box-background-range': string;
39
+ };
40
+ };
41
+ export { poThemeDefaultBrands, poThemeDefaultActions, poThemeDefaultFeedback, poThemeDefaultNeutrals, poThemeDefaultLightValues };
@@ -0,0 +1,11 @@
1
+ import { PoThemeTokens } from '../interfaces/po-theme-tokens.interface';
2
+ import { PoTheme } from '../interfaces/po-theme.interface';
3
+ /**
4
+ * Tokens de tema padrão para temas claros.
5
+ */
6
+ declare const poThemeDefaultLight: PoThemeTokens;
7
+ /**
8
+ * Tema padrão.
9
+ */
10
+ declare const poThemeDefault: PoTheme;
11
+ export { poThemeDefault, poThemeDefaultLight };
@@ -0,0 +1,9 @@
1
+ export * from './helpers/po-theme-dark-defaults.constant';
2
+ export * from './helpers/po-theme-light-defaults.constant';
3
+ export * from './helpers/po-theme-poui.constant';
4
+ export * from './enum/po-theme-type.enum';
5
+ export * from './interfaces/po-theme-tokens.interface';
6
+ export * from './interfaces/po-theme-color.interface';
7
+ export * from './interfaces/po-theme.interface';
8
+ export * from './po-theme.service';
9
+ export * from './po-theme.module';
@@ -0,0 +1,374 @@
1
+ /**
2
+ * Interface para representar as cores do tema.
3
+ *
4
+ * @usedBy PoThemeService
5
+ */
6
+ export interface PoThemeColor {
7
+ /**
8
+ * Cores da Brand a serem aplicadas.
9
+ *
10
+ * Exemplo de uso:
11
+ * ```typescript
12
+ * PoThemeColor.brand = {
13
+ * 01: PoThemeColorTone,
14
+ * 02: PoThemeColorTone,
15
+ * 03: PoThemeColorTone
16
+ * }
17
+ * ```
18
+ */
19
+ 'brand'?: poThemeColorBrand;
20
+ /**
21
+ * Cores da Action a serem aplicadas.
22
+ *
23
+ * Exemplo de uso:
24
+ * ```javascript
25
+ * PoThemeColor.action = {
26
+ * default: 'var(--color-brand-01-base)',
27
+ * hover: 'var(--color-brand-01-dark)',
28
+ * pressed: 'var(--color-brand-01-darker)',
29
+ * disabled: 'var(--color-neutral-light-30)',
30
+ * focus: 'var(--color-brand-01-darkest)'
31
+ * }
32
+ * ```
33
+ */
34
+ 'action'?: PoThemeColorAction;
35
+ /**
36
+ * Cores Neutrals a serem aplicadas.
37
+ *
38
+ * Exemplo de uso:
39
+ * ```typescript
40
+ * PoThemeColor.neutral = {
41
+ * light: { '00': string, '05': string, '10': string, '20': string, '30': string },
42
+ * mid: { '40': string, '60': string },
43
+ * dark: { '70': string, '80': string, '90': string, '95': string },
44
+ * }
45
+ * ```
46
+ */
47
+ 'neutral'?: PoThemeColorNeutral;
48
+ 'feedback'?: PoThemeColorFeedback;
49
+ }
50
+ /**
51
+ * Interface para as variantes de cor da marca.
52
+ *
53
+ * @docsPrivate
54
+ */
55
+ export interface poThemeColorBrand {
56
+ /**
57
+ * Cores da Brand Primaria`
58
+ *
59
+ * Exemplo de uso:
60
+ * ```typescript
61
+ * PoThemeColor.brand['01'] = {
62
+ * lightest: '#f2eaf6',
63
+ * lighter: '#d9c2e5',
64
+ * light: '#bd94d1',
65
+ * base: '#753399',
66
+ * dark: '#5b1c7d',
67
+ * darker: '#400e58',
68
+ * darkest: '#260538'
69
+ * }
70
+ * ```
71
+ */
72
+ '01'?: PoThemeColorTone;
73
+ /**
74
+ * Cores da Brand Secundária`
75
+ *
76
+ * Exemplo de uso:
77
+ * ```typescript
78
+ * PoThemeColor.brand['02'] = {
79
+ * base: '#b92f72',
80
+ * }
81
+ * ```
82
+ */
83
+ '02'?: PoThemeColorTone;
84
+ /**
85
+ * Cores da Brand Terciária`
86
+ *
87
+ * Exemplo de uso:
88
+ * ```typescript
89
+ * PoThemeColor.brand['03'] = {
90
+ * base: '#ffd464',
91
+ * }
92
+ * ```
93
+ */
94
+ '03'?: PoThemeColorTone;
95
+ }
96
+ /**
97
+ * Interface para as cores de ação do tema.
98
+ *
99
+ * @usedBy PoThemeService
100
+ */
101
+ export interface PoThemeColorAction {
102
+ /**
103
+ * Cores da Action 'Default'.
104
+ *
105
+ * Exemplo de uso:
106
+ * ```typescript
107
+ * PoThemeColor.action = {
108
+ * default: 'var(--color-brand-01-base)',
109
+ * }
110
+ * ```
111
+ */
112
+ 'default'?: string;
113
+ /**
114
+ * Cores da Action para 'hover'.
115
+ *
116
+ * Exemplo de uso:
117
+ * ```typescript
118
+ * PoThemeColor.action = {
119
+ * hover: 'var(--color-brand-01-dark)',
120
+ * }
121
+ * ```
122
+ */
123
+ 'hover'?: string;
124
+ /**
125
+ * Cores da Action para 'pressed'.
126
+ *
127
+ * Exemplo de uso:
128
+ * ```typescript
129
+ * PoThemeColor.action = {
130
+ * pressed: 'var(--color-brand-01-darker)',
131
+ * }
132
+ * ```
133
+ */
134
+ 'pressed'?: string;
135
+ /**
136
+ * Cores da Action de 'disabled'.
137
+ *
138
+ * Exemplo de uso:
139
+ * ```typescript
140
+ * PoThemeColor.action = {
141
+ * disabled: 'var(--color-neutral-light-30)',
142
+ * }
143
+ * ```
144
+ */
145
+ 'disabled'?: string;
146
+ /**
147
+ * Cores da Action para 'focus'.
148
+ *
149
+ * Exemplo de uso:
150
+ * ```typescript
151
+ * PoThemeColor.action = {
152
+ * focus: 'var(--color-brand-01-darkest)'
153
+ * }
154
+ * ```
155
+ */
156
+ 'focus'?: string;
157
+ }
158
+ export interface PoThemeColorFeedback {
159
+ /**
160
+ * Cores da Feedback para 'negative'
161
+ *
162
+ * Exemplo de uso:
163
+ * ```typescript
164
+ * PoThemeColor.feedback.negative = {
165
+ * lightest: '#f6e6e5',
166
+ * lighter: '#e3aeab',
167
+ * light: '#d58581',
168
+ * base: '#be3e37',
169
+ * dark: '#9b2d27',
170
+ * darker: '#72211d',
171
+ * darkest: '#4a1512',
172
+ * }
173
+ * ```
174
+ */
175
+ 'negative'?: PoThemeColorTone;
176
+ /**
177
+ * Cores da Feedback para 'info'
178
+ *
179
+ * Exemplo de uso:
180
+ * ```typescript
181
+ * PoThemeColor.feedback.info = {
182
+ * lightest: '#e3e9f7',
183
+ * lighter: '#b0c1e8',
184
+ * light: '#7996d7',
185
+ * base: '#23489f',
186
+ * dark: '#173782',
187
+ * darker: '#0f2557',
188
+ * darkest: '#081536',
189
+ * }
190
+ * ```
191
+ */
192
+ 'info'?: PoThemeColorTone;
193
+ /**
194
+ * Cores da Feedback para 'positive'
195
+ *
196
+ * Exemplo de uso:
197
+ * ```typescript
198
+ * PoThemeColor.feedback.positive = {
199
+ * lightest: '#def7ed',
200
+ * lighter: '#7ecead',
201
+ * light: '#41b483',
202
+ * base: '#107048',
203
+ * dark: '#0f5236',
204
+ * darker: '#083a25',
205
+ * darkest: '#002415',
206
+ * }
207
+ * ```
208
+ */
209
+ 'positive'?: PoThemeColorTone;
210
+ /**
211
+ * Cores da Feedback para 'warning'
212
+ *
213
+ * Exemplo de uso:
214
+ * ```typescript
215
+ * PoThemeColor.feedback.warning = {
216
+ * lightest: '#fcf6e3',
217
+ * lighter: '#f7dd97',
218
+ * light: '#f1cd6a',
219
+ * base: '#efba2a',
220
+ * dark: '#d8a20e',
221
+ * darker: '#705200',
222
+ * darkest: '#473400',
223
+ * }
224
+ * ```
225
+ */
226
+ 'warning'?: PoThemeColorTone;
227
+ }
228
+ /**
229
+ * Interface para representar as variantes de tons de cor.
230
+ *
231
+ * @docsPrivate
232
+ */
233
+ interface PoThemeColorTone {
234
+ /**
235
+ * Cores de Tom do tipo 'lightest'.
236
+ *
237
+ * Exemplo de uso:
238
+ * ```typescript
239
+ * PoThemeColor.brand['01'] = {
240
+ * lightest: '#f2eaf6',
241
+ * }
242
+ * ```
243
+ */
244
+ 'lightest'?: string;
245
+ /**
246
+ * Cores de Tom do tipo 'lighter'.
247
+ *
248
+ * Exemplo de uso:
249
+ * ```typescript
250
+ * PoThemeColor.brand['01'] = {
251
+ * lighter: '#d9c2e5',
252
+ * }
253
+ * ```
254
+ */
255
+ 'lighter'?: string;
256
+ /**
257
+ * Cores de Tom do tipo 'light'.
258
+ *
259
+ * Exemplo de uso:
260
+ * ```typescript
261
+ * PoThemeColor.brand['01'] = {
262
+ * light: '#bd94d1',
263
+ * }
264
+ * ```
265
+ */
266
+ 'light'?: string;
267
+ /**
268
+ * Cores de Tom do tipo 'base'.
269
+ *
270
+ * Exemplo de uso:
271
+ * ```typescript
272
+ * PoThemeColor.brand['01'] = {
273
+ * base: '#753399',
274
+ * }
275
+ * ```
276
+ */
277
+ 'base'?: string;
278
+ /**
279
+ * Cores de Tom do tipo 'dark'.
280
+ *
281
+ * Exemplo de uso:
282
+ * ```typescript
283
+ * PoThemeColor.brand['01'] = {
284
+ * dark: '#5b1c7d',
285
+ * }
286
+ * ```
287
+ */
288
+ 'dark'?: string;
289
+ /**
290
+ * Cores de Tom do tipo 'darker'.
291
+ *
292
+ * Exemplo de uso:
293
+ * ```typescript
294
+ * PoThemeColor.brand['01'] = {
295
+ * darker: '#400e58',
296
+ * }
297
+ * ```
298
+ */
299
+ 'darker'?: string;
300
+ /**
301
+ * Cores de Tom do tipo 'darkest'.
302
+ *
303
+ * Exemplo de uso:
304
+ * ```typescript
305
+ * PoThemeColor.brand['01'] = {
306
+ * darkest: '#260538'
307
+ * }
308
+ * ```
309
+ */
310
+ 'darkest'?: string;
311
+ }
312
+ /**
313
+ * Interface para as cores neutras do tema.
314
+ *
315
+ * @usedBy PoThemeService
316
+ */
317
+ export interface PoThemeColorNeutral {
318
+ /**
319
+ * Cores Neutrals do tipo 'light'.
320
+ *
321
+ * Exemplo de uso:
322
+ * ```typescript
323
+ * PoThemeColor.neutral.light = {
324
+ * '00': '#ffffff',
325
+ * '05': '#fbfbfb',
326
+ * '10': '#eceeee',
327
+ * '20': '#dadedf',
328
+ * '30': '#b6bdbf'
329
+ * }
330
+ * ```
331
+ */
332
+ 'light'?: {
333
+ '00'?: string;
334
+ '05'?: string;
335
+ '10'?: string;
336
+ '20'?: string;
337
+ '30'?: string;
338
+ };
339
+ /**
340
+ * Cores Neutrals do tipo 'mid'.
341
+ *
342
+ * Exemplo de uso:
343
+ * ```typescript
344
+ * PoThemeColor.neutral.mid = {
345
+ * '40': '#9da7a9',
346
+ * '60': '#6e7c7f',
347
+ * }
348
+ * ```
349
+ */
350
+ 'mid'?: {
351
+ '40'?: string;
352
+ '60'?: string;
353
+ };
354
+ /**
355
+ * Cores Neutrals do tipo 'dark'.
356
+ *
357
+ * Exemplo de uso:
358
+ * ```typescript
359
+ * PoThemeColor.neutral.dark = {
360
+ * '70': '#4a5c60',
361
+ * '80': '#2c3739',
362
+ * '90': '#1d2426',
363
+ * '95': '#0b0e0e',
364
+ * }
365
+ * ```
366
+ */
367
+ 'dark'?: {
368
+ '70'?: string;
369
+ '80'?: string;
370
+ '90'?: string;
371
+ '95'?: string;
372
+ };
373
+ }
374
+ export {};