@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.
Files changed (162) hide show
  1. package/components/algolia-search/index.d.ts +1 -1
  2. package/components/filters/filter-generic/index.d.ts +3 -3
  3. package/components/filters/filter-planos-convenios/index.d.ts +3 -2
  4. package/components/footer/index.d.ts +1 -1
  5. package/components/header/index.d.ts +1 -1
  6. package/core/index.d.ts +3 -4
  7. package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +4 -4
  8. package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +1 -1
  9. package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +5 -5
  10. package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +1 -1
  11. package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +2 -2
  12. package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -1
  13. package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +6 -6
  14. package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +1 -1
  15. package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +2 -2
  16. package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs.map +1 -1
  17. package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +2 -2
  18. package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs.map +1 -1
  19. package/fesm2022/rededor-site-front-end-lib-components-error.mjs +6 -6
  20. package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +1 -1
  21. package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs +1 -1
  22. package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs.map +1 -1
  23. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +13 -13
  24. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -1
  25. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +14 -14
  26. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +1 -1
  27. package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +1 -1
  28. package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +1 -1
  29. package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +1 -1
  30. package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs.map +1 -1
  31. package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +1 -1
  32. package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs.map +1 -1
  33. package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +1 -1
  34. package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs.map +1 -1
  35. package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +1 -1
  36. package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +1 -1
  37. package/fesm2022/rededor-site-front-end-lib-components-header.mjs +1 -1
  38. package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +1 -1
  39. package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +1 -1
  40. package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs.map +1 -1
  41. package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +1 -1
  42. package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -1
  43. package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +1 -1
  44. package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -1
  45. package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +2 -2
  46. package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +1 -1
  47. package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +2 -2
  48. package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs.map +1 -1
  49. package/fesm2022/rededor-site-front-end-lib-components-search.mjs +3 -3
  50. package/fesm2022/rededor-site-front-end-lib-components-search.mjs.map +1 -1
  51. package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +1 -1
  52. package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs.map +1 -1
  53. package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs +2 -2
  54. package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs.map +1 -1
  55. package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +3 -3
  56. package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs.map +1 -1
  57. package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +3 -3
  58. package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +1 -1
  59. package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +2 -2
  60. package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs.map +1 -1
  61. package/fesm2022/rededor-site-front-end-lib-core.mjs +1 -0
  62. package/fesm2022/rededor-site-front-end-lib-core.mjs.map +1 -1
  63. package/package.json +2 -133
  64. package/cura/accordion/index.d.ts +0 -120
  65. package/cura/api/index.d.ts +0 -359
  66. package/cura/badges/cura-badge-counter/index.d.ts +0 -38
  67. package/cura/badges/cura-badge-distance/index.d.ts +0 -21
  68. package/cura/badges/cura-badge-dot/index.d.ts +0 -29
  69. package/cura/badges/cura-badge-pill/index.d.ts +0 -42
  70. package/cura/badges/index.d.ts +0 -5
  71. package/cura/buttons/cura-button/index.d.ts +0 -90
  72. package/cura/buttons/cura-button-outline/index.d.ts +0 -90
  73. package/cura/buttons/cura-button-select/index.d.ts +0 -39
  74. package/cura/buttons/cura-button-transparent/index.d.ts +0 -87
  75. package/cura/buttons/index.d.ts +0 -15
  76. package/cura/cards/cura-card/index.d.ts +0 -49
  77. package/cura/feedback/cura-alert/index.d.ts +0 -55
  78. package/cura/feedback/cura-modal/index.d.ts +0 -97
  79. package/cura/feedback/cura-toast/index.d.ts +0 -104
  80. package/cura/forms/cura-checkbox/index.d.ts +0 -160
  81. package/cura/forms/cura-input-text/index.d.ts +0 -236
  82. package/cura/forms/cura-label/index.d.ts +0 -47
  83. package/cura/forms/cura-radio/index.d.ts +0 -148
  84. package/cura/forms/cura-select/index.d.ts +0 -154
  85. package/cura/forms/cura-select-option/index.d.ts +0 -54
  86. package/cura/forms/cura-select-state/index.d.ts +0 -72
  87. package/cura/forms/cura-switch/index.d.ts +0 -113
  88. package/cura/forms/cura-textarea/index.d.ts +0 -113
  89. package/cura/forms/index.d.ts +0 -20
  90. package/cura/icons/cura-icon/index.d.ts +0 -46
  91. package/cura/loaders/cura-loader-bar/index.d.ts +0 -22
  92. package/cura/loaders/cura-loader-circle/index.d.ts +0 -24
  93. package/cura/texts/cura-display/index.d.ts +0 -54
  94. package/cura/texts/cura-heading/index.d.ts +0 -65
  95. package/cura/texts/cura-paragraph/index.d.ts +0 -54
  96. package/cura/texts/index.d.ts +0 -7
  97. package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs +0 -252
  98. package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs.map +0 -1
  99. package/fesm2022/rededor-site-front-end-lib-cura-api.mjs +0 -643
  100. package/fesm2022/rededor-site-front-end-lib-cura-api.mjs.map +0 -1
  101. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs +0 -90
  102. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs.map +0 -1
  103. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs +0 -55
  104. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs.map +0 -1
  105. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs +0 -66
  106. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs.map +0 -1
  107. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs +0 -91
  108. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs.map +0 -1
  109. package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs +0 -4
  110. package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs.map +0 -1
  111. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +0 -170
  112. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs.map +0 -1
  113. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +0 -135
  114. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs.map +0 -1
  115. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +0 -161
  116. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs.map +0 -1
  117. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +0 -170
  118. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs.map +0 -1
  119. package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs +0 -13
  120. package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs.map +0 -1
  121. package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +0 -72
  122. package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs.map +0 -1
  123. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs +0 -90
  124. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs.map +0 -1
  125. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs +0 -105
  126. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs.map +0 -1
  127. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs +0 -198
  128. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs.map +0 -1
  129. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs +0 -262
  130. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs.map +0 -1
  131. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs +0 -586
  132. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs.map +0 -1
  133. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs +0 -82
  134. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs.map +0 -1
  135. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs +0 -243
  136. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs.map +0 -1
  137. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs +0 -89
  138. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs.map +0 -1
  139. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs +0 -123
  140. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs.map +0 -1
  141. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +0 -365
  142. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +0 -1
  143. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs +0 -182
  144. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs.map +0 -1
  145. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs +0 -209
  146. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs.map +0 -1
  147. package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs +0 -21
  148. package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs.map +0 -1
  149. package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs +0 -88
  150. package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs.map +0 -1
  151. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs +0 -44
  152. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs.map +0 -1
  153. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs +0 -49
  154. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs.map +0 -1
  155. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs +0 -84
  156. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs.map +0 -1
  157. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs +0 -104
  158. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs.map +0 -1
  159. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs +0 -89
  160. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs.map +0 -1
  161. package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs +0 -4
  162. package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs.map +0 -1
@@ -1,89 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, input, computed, Component } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
6
-
7
- class CuraParagraphComponent {
8
- constructor() {
9
- this.curaApi = inject(CuraApiService);
10
- /**
11
- * Set size of body text.
12
- * Values: regular (deprecated), medium (default) | large | small | caption (deprecated) | xsmall.
13
- */
14
- this.size = input('medium', ...(ngDevMode ? [{ debugName: "size" }] : []));
15
- /**
16
- * Apply design system color to interactive elements like <a> and <abbr> inside the text.
17
- * Values: Color from design system scheme. Default to 'accent-dark'.
18
- */
19
- this.spotColor = input('accent-dark', ...(ngDevMode ? [{ debugName: "spotColor" }] : []));
20
- /**
21
- * Text color.
22
- * Values: Color from design system scheme. Default to the font color from the theme.
23
- */
24
- this.color = input('', ...(ngDevMode ? [{ debugName: "color" }] : []));
25
- /**
26
- * CSS margin-block property values.
27
- * Default to 1.25em
28
- */
29
- this.marginBlock = input('1.25em', ...(ngDevMode ? [{ debugName: "marginBlock" }] : []));
30
- /**
31
- * CSS line-height property values.
32
- * Default to 140%
33
- */
34
- this.lineHeight = input('140%', ...(ngDevMode ? [{ debugName: "lineHeight" }] : []));
35
- /**
36
- * Apply text-overflow ellipsis definitions.
37
- * Default to none
38
- */
39
- this.textOverflow = input('none', ...(ngDevMode ? [{ debugName: "textOverflow" }] : []));
40
- this.containerClasses = computed(() => {
41
- const classes = [];
42
- classes.push(this.size().toLowerCase());
43
- if (this.textOverflow() === 'single') {
44
- classes.push('textoverflow-single');
45
- }
46
- return classes.join(' ');
47
- }, ...(ngDevMode ? [{ debugName: "containerClasses" }] : []));
48
- this.hostStyles = computed(() => {
49
- const bodyColor = this.color()
50
- ? this.curaApi.theme.colors.getColor(this.color())
51
- : this.curaApi.theme.fonts.getColor() || this.curaApi.theme.colors.getColor('neutral-darker');
52
- return {
53
- marginBlock: this.marginBlock(),
54
- fontSizeBase: this.curaApi.theme.fonts.getSize(),
55
- lineHeight: this.lineHeight(),
56
- colorBody: bodyColor,
57
- colorSpot: this.curaApi.theme.colors.getColor(this.spotColor()),
58
- };
59
- }, ...(ngDevMode ? [{ debugName: "hostStyles" }] : []));
60
- this.paragraphStyles = computed(() => {
61
- const weights = this.curaApi.theme.fonts.getWeights();
62
- return {
63
- '--font-family': this.curaApi.theme.fonts.getFamily('body'),
64
- '--font-weight-regular': weights.regular,
65
- '--font-weight-medium': weights.medium,
66
- '--font-weight-bold': weights.bold,
67
- };
68
- }, ...(ngDevMode ? [{ debugName: "paragraphStyles" }] : []));
69
- }
70
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CuraParagraphComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
71
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.18", type: CuraParagraphComponent, isStandalone: true, selector: "cura-paragraph", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, spotColor: { classPropertyName: "spotColor", publicName: "spotColor", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, marginBlock: { classPropertyName: "marginBlock", publicName: "marginBlock", isSignal: true, isRequired: false, transformFunction: null }, lineHeight: { classPropertyName: "lineHeight", publicName: "lineHeight", isSignal: true, isRequired: false, transformFunction: null }, textOverflow: { classPropertyName: "textOverflow", publicName: "textOverflow", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--margin-block": "hostStyles().marginBlock", "style.--font-size-base": "hostStyles().fontSizeBase", "style.--line-height": "hostStyles().lineHeight", "style.--color-body": "hostStyles().colorBody", "style.--color-spot": "hostStyles().colorSpot" } }, ngImport: i0, template: "<p [class]=\"containerClasses()\" [ngStyle]=\"paragraphStyles()\">\r\n <ng-content></ng-content>\r\n</p>\r\n", styles: [":host{display:block;font-size:var(--font-size-base);min-width:0}:host p{font-family:var(--font-family);font-size:var(--font-size-base);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:.28px;width:100%}:host p.large{font-size:1.214em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:.48px}:host p.caption,:host p.xsmall{font-size:.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:.6px}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host p ::ng-deep b,:host p ::ng-deep strong{font-weight:var(--font-weight-bold)}:host p ::ng-deep a{font-weight:var(--font-weight-medium);color:var(--color-spot);text-underline-offset:10%}:host p ::ng-deep u{font-weight:var(--font-weight-medium);text-underline-offset:10%}:host p ::ng-deep i{font-style:italic}:host p ::ng-deep em{font-weight:var(--font-weight-bold);color:var(--color-spot);font-style:normal}:host p ::ng-deep abbr{color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}@media (min-width: 769px) and (max-width: 1920px){:host p{font-size:1.143em;line-height:calc(var(--line-height) + 5%);letter-spacing:.32px}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 5%);letter-spacing:.56px}:host p.caption,:host p.xsmall{font-size:.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:.72px}}@media (min-width: 1921px){:host p{font-size:1.429em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.large{font-size:1.714em;line-height:calc(var(--line-height) + 20%)}:host p.small{font-size:1.21em;line-height:calc(var(--line-height) + 5%);letter-spacing:0px}:host p.caption,:host p.xsmall{font-size:1em;line-height:calc(var(--line-height) + 5%);letter-spacing:.28px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
72
- }
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CuraParagraphComponent, decorators: [{
74
- type: Component,
75
- args: [{ selector: 'cura-paragraph', imports: [CommonModule], host: {
76
- '[style.--margin-block]': 'hostStyles().marginBlock',
77
- '[style.--font-size-base]': 'hostStyles().fontSizeBase',
78
- '[style.--line-height]': 'hostStyles().lineHeight',
79
- '[style.--color-body]': 'hostStyles().colorBody',
80
- '[style.--color-spot]': 'hostStyles().colorSpot',
81
- }, template: "<p [class]=\"containerClasses()\" [ngStyle]=\"paragraphStyles()\">\r\n <ng-content></ng-content>\r\n</p>\r\n", styles: [":host{display:block;font-size:var(--font-size-base);min-width:0}:host p{font-family:var(--font-family);font-size:var(--font-size-base);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:.28px;width:100%}:host p.large{font-size:1.214em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:.48px}:host p.caption,:host p.xsmall{font-size:.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:.6px}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host p ::ng-deep b,:host p ::ng-deep strong{font-weight:var(--font-weight-bold)}:host p ::ng-deep a{font-weight:var(--font-weight-medium);color:var(--color-spot);text-underline-offset:10%}:host p ::ng-deep u{font-weight:var(--font-weight-medium);text-underline-offset:10%}:host p ::ng-deep i{font-style:italic}:host p ::ng-deep em{font-weight:var(--font-weight-bold);color:var(--color-spot);font-style:normal}:host p ::ng-deep abbr{color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}@media (min-width: 769px) and (max-width: 1920px){:host p{font-size:1.143em;line-height:calc(var(--line-height) + 5%);letter-spacing:.32px}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 5%);letter-spacing:.56px}:host p.caption,:host p.xsmall{font-size:.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:.72px}}@media (min-width: 1921px){:host p{font-size:1.429em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.large{font-size:1.714em;line-height:calc(var(--line-height) + 20%)}:host p.small{font-size:1.21em;line-height:calc(var(--line-height) + 5%);letter-spacing:0px}:host p.caption,:host p.xsmall{font-size:1em;line-height:calc(var(--line-height) + 5%);letter-spacing:.28px}}\n"] }]
82
- }], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], spotColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "spotColor", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], marginBlock: [{ type: i0.Input, args: [{ isSignal: true, alias: "marginBlock", required: false }] }], lineHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineHeight", required: false }] }], textOverflow: [{ type: i0.Input, args: [{ isSignal: true, alias: "textOverflow", required: false }] }] } });
83
-
84
- /**
85
- * Generated bundle index. Do not edit.
86
- */
87
-
88
- export { CuraParagraphComponent };
89
- //# sourceMappingURL=rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs","sources":["../../../projects/site-front-end-lib/cura/texts/cura-paragraph/cura-paragraph.component.ts","../../../projects/site-front-end-lib/cura/texts/cura-paragraph/cura-paragraph.component.html","../../../projects/site-front-end-lib/cura/texts/cura-paragraph/rededor-site-front-end-lib-cura-texts-cura-paragraph.ts"],"sourcesContent":["import { Component, inject, input, computed } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\r\nimport { TextSize, TextOverflow } from '@rededor/site-front-end-lib/cura/texts';\r\n\r\n@Component({\r\n selector: 'cura-paragraph',\r\n imports: [CommonModule],\r\n templateUrl: './cura-paragraph.component.html',\r\n styleUrls: ['./cura-paragraph.component.scss'],\r\n host: {\r\n '[style.--margin-block]': 'hostStyles().marginBlock',\r\n '[style.--font-size-base]': 'hostStyles().fontSizeBase',\r\n '[style.--line-height]': 'hostStyles().lineHeight',\r\n '[style.--color-body]': 'hostStyles().colorBody',\r\n '[style.--color-spot]': 'hostStyles().colorSpot',\r\n },\r\n})\r\nexport class CuraParagraphComponent {\r\n private curaApi = inject(CuraApiService);\r\n\r\n /**\r\n * Set size of body text.\r\n * Values: regular (deprecated), medium (default) | large | small | caption (deprecated) | xsmall.\r\n */\r\n size = input<TextSize>('medium');\r\n\r\n /**\r\n * Apply design system color to interactive elements like <a> and <abbr> inside the text.\r\n * Values: Color from design system scheme. Default to 'accent-dark'.\r\n */\r\n spotColor = input<string>('accent-dark');\r\n\r\n /**\r\n * Text color.\r\n * Values: Color from design system scheme. Default to the font color from the theme.\r\n */\r\n color = input<string>('');\r\n\r\n /**\r\n * CSS margin-block property values.\r\n * Default to 1.25em\r\n */\r\n marginBlock = input<string>('1.25em');\r\n\r\n /**\r\n * CSS line-height property values.\r\n * Default to 140%\r\n */\r\n lineHeight = input<string>('140%');\r\n\r\n /**\r\n * Apply text-overflow ellipsis definitions.\r\n * Default to none\r\n */\r\n textOverflow = input<TextOverflow>('none');\r\n\r\n containerClasses = computed(() => {\r\n const classes = [];\r\n\r\n classes.push(this.size().toLowerCase());\r\n\r\n if (this.textOverflow() === 'single') {\r\n classes.push('textoverflow-single');\r\n }\r\n\r\n return classes.join(' ');\r\n });\r\n\r\n hostStyles = computed(() => {\r\n const bodyColor = this.color()\r\n ? this.curaApi.theme.colors.getColor(this.color())\r\n : this.curaApi.theme.fonts.getColor() || this.curaApi.theme.colors.getColor('neutral-darker');\r\n\r\n return {\r\n marginBlock: this.marginBlock(),\r\n fontSizeBase: this.curaApi.theme.fonts.getSize(),\r\n lineHeight: this.lineHeight(),\r\n colorBody: bodyColor,\r\n colorSpot: this.curaApi.theme.colors.getColor(this.spotColor()),\r\n };\r\n });\r\n\r\n paragraphStyles = computed(() => {\r\n const weights = this.curaApi.theme.fonts.getWeights();\r\n\r\n return {\r\n '--font-family': this.curaApi.theme.fonts.getFamily('body'),\r\n '--font-weight-regular': weights.regular,\r\n '--font-weight-medium': weights.medium,\r\n '--font-weight-bold': weights.bold,\r\n };\r\n });\r\n}\r\n","<p [class]=\"containerClasses()\" [ngStyle]=\"paragraphStyles()\">\r\n <ng-content></ng-content>\r\n</p>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAkBa,sBAAsB,CAAA;AAbnC,IAAA,WAAA,GAAA;AAcU,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,cAAc,CAAC;AAExC;;;AAGG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAW,QAAQ,gDAAC;AAEhC;;;AAGG;AACH,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,aAAa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,EAAE,wBAAwB;AAChD,wBAAA,sBAAsB,EAAE,wBAAwB;AACjD,qBAAA,EAAA,QAAA,EAAA,+GAAA,EAAA,MAAA,EAAA,CAAA,yiEAAA,CAAA,EAAA;;;AEhBH;;AAEG;;;;"}
@@ -1,4 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- //# sourceMappingURL=rededor-site-front-end-lib-cura-texts.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rededor-site-front-end-lib-cura-texts.mjs","sources":["../../../projects/site-front-end-lib/cura/texts/rededor-site-front-end-lib-cura-texts.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;AAEG"}