@affinda/wc 0.0.1 → 0.0.3

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 (227) hide show
  1. package/dist/affinda/af-aspect-ratio.entry.esm.js.map +1 -0
  2. package/dist/affinda/af-button-group.entry.esm.js.map +1 -0
  3. package/dist/affinda/af-button.entry.esm.js.map +1 -0
  4. package/dist/affinda/af-color-swatch.entry.esm.js.map +1 -0
  5. package/dist/affinda/af-container.entry.esm.js.map +1 -0
  6. package/dist/affinda/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.esm.js.map +1 -0
  7. package/dist/affinda/af-icon-button.entry.esm.js.map +1 -0
  8. package/dist/affinda/af-typography-lockup.entry.esm.js.map +1 -0
  9. package/dist/affinda/affinda.css +1 -1
  10. package/dist/affinda/affinda.esm.js +1 -1
  11. package/dist/affinda/index.esm.js +1 -1
  12. package/dist/affinda/index.esm.js.map +1 -1
  13. package/dist/affinda/p-540af9d9.entry.js +2 -0
  14. package/dist/affinda/p-540af9d9.entry.js.map +1 -0
  15. package/dist/affinda/p-619bc077.entry.js +2 -0
  16. package/dist/affinda/p-619bc077.entry.js.map +1 -0
  17. package/dist/affinda/p-6b07f590.entry.js +2 -0
  18. package/dist/affinda/p-6b07f590.entry.js.map +1 -0
  19. package/dist/affinda/p-8d3b4917.entry.js +2 -0
  20. package/dist/affinda/p-8d3b4917.entry.js.map +1 -0
  21. package/dist/affinda/p-9d0e6ed1.entry.js +2 -0
  22. package/dist/affinda/p-9d0e6ed1.entry.js.map +1 -0
  23. package/dist/affinda/p-DxVtR6vj.js +3 -0
  24. package/dist/affinda/p-DxVtR6vj.js.map +1 -0
  25. package/dist/affinda/p-afbe9cb3.entry.js +2 -0
  26. package/dist/affinda/p-afbe9cb3.entry.js.map +1 -0
  27. package/dist/affinda/p-cbb06a14.entry.js +2 -0
  28. package/dist/affinda/p-cbb06a14.entry.js.map +1 -0
  29. package/dist/affinda/p-e274e11a.entry.js +2 -0
  30. package/dist/affinda/p-e274e11a.entry.js.map +1 -0
  31. package/dist/cjs/af-aspect-ratio.cjs.entry.js +83 -0
  32. package/dist/cjs/af-aspect-ratio.entry.cjs.js.map +1 -0
  33. package/dist/cjs/af-button-group.cjs.entry.js +30 -0
  34. package/dist/cjs/af-button-group.entry.cjs.js.map +1 -0
  35. package/dist/cjs/af-button.cjs.entry.js +48 -0
  36. package/dist/cjs/af-button.entry.cjs.js.map +1 -0
  37. package/dist/cjs/af-color-swatch.cjs.entry.js +23 -0
  38. package/dist/cjs/af-color-swatch.entry.cjs.js.map +1 -0
  39. package/dist/cjs/af-container.cjs.entry.js +26 -0
  40. package/dist/cjs/af-container.entry.cjs.js.map +1 -0
  41. package/dist/cjs/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.cjs.js.map +1 -0
  42. package/dist/cjs/af-heading_5.cjs.entry.js +128 -0
  43. package/dist/cjs/af-icon-button.cjs.entry.js +44 -0
  44. package/dist/cjs/af-icon-button.entry.cjs.js.map +1 -0
  45. package/dist/cjs/af-typography-lockup.cjs.entry.js +45 -0
  46. package/dist/cjs/af-typography-lockup.entry.cjs.js.map +1 -0
  47. package/dist/cjs/affinda.cjs.js +2 -2
  48. package/dist/cjs/{index-5BGpYleS.js → index-E2jkaTPt.js} +92 -61
  49. package/dist/cjs/index-E2jkaTPt.js.map +1 -0
  50. package/dist/cjs/index.cjs.js +24 -136
  51. package/dist/cjs/index.cjs.js.map +1 -1
  52. package/dist/cjs/loader.cjs.js +2 -2
  53. package/dist/collection/collection-manifest.json +10 -3
  54. package/dist/collection/components/af-aspect-ratio/af-aspect-ratio.css +17 -0
  55. package/dist/collection/components/af-aspect-ratio/af-aspect-ratio.js +117 -0
  56. package/dist/collection/components/af-aspect-ratio/af-aspect-ratio.js.map +1 -0
  57. package/dist/collection/components/af-button/af-button.css +151 -42
  58. package/dist/collection/components/af-button/af-button.js +62 -57
  59. package/dist/collection/components/af-button/af-button.js.map +1 -1
  60. package/dist/collection/components/af-button-group/af-button-group.css +22 -0
  61. package/dist/collection/components/af-button-group/af-button-group.js +77 -0
  62. package/dist/collection/components/af-button-group/af-button-group.js.map +1 -0
  63. package/dist/collection/components/af-color-swatch/af-color-swatch.css +42 -0
  64. package/dist/collection/components/af-color-swatch/af-color-swatch.js +88 -0
  65. package/dist/collection/components/af-color-swatch/af-color-swatch.js.map +1 -0
  66. package/dist/collection/components/af-container/af-container.css +76 -0
  67. package/dist/collection/components/af-container/af-container.js +57 -0
  68. package/dist/collection/components/af-container/af-container.js.map +1 -0
  69. package/dist/collection/components/af-heading/af-heading.css +99 -0
  70. package/dist/collection/components/af-heading/af-heading.js +86 -0
  71. package/dist/collection/components/af-heading/af-heading.js.map +1 -0
  72. package/dist/collection/components/af-icon-button/af-icon-button.css +140 -41
  73. package/dist/collection/components/af-icon-button/af-icon-button.js +81 -57
  74. package/dist/collection/components/af-icon-button/af-icon-button.js.map +1 -1
  75. package/dist/collection/components/af-logo/af-logo.css +10 -0
  76. package/dist/collection/components/af-logo/af-logo.js +22 -0
  77. package/dist/collection/components/af-logo/af-logo.js.map +1 -0
  78. package/dist/collection/components/af-nav-item/af-nav-item.css +146 -0
  79. package/dist/collection/components/af-nav-item/af-nav-item.js +134 -0
  80. package/dist/collection/components/af-nav-item/af-nav-item.js.map +1 -0
  81. package/dist/collection/components/af-navbar/af-navbar.css +119 -0
  82. package/dist/collection/components/af-navbar/af-navbar.js +23 -0
  83. package/dist/collection/components/af-navbar/af-navbar.js.map +1 -0
  84. package/dist/collection/components/af-text/af-text.css +61 -0
  85. package/dist/collection/components/af-text/af-text.js +96 -0
  86. package/dist/collection/components/af-text/af-text.js.map +1 -0
  87. package/dist/collection/components/af-typography-lockup/af-typography-lockup.css +168 -0
  88. package/dist/collection/components/af-typography-lockup/af-typography-lockup.js +151 -0
  89. package/dist/collection/components/af-typography-lockup/af-typography-lockup.js.map +1 -0
  90. package/dist/collection/components.js +10 -3
  91. package/dist/collection/components.js.map +1 -1
  92. package/dist/components/af-aspect-ratio.d.ts +11 -0
  93. package/dist/components/af-aspect-ratio.js +9 -0
  94. package/dist/components/af-aspect-ratio.js.map +1 -0
  95. package/dist/components/af-button-group.d.ts +11 -0
  96. package/dist/components/af-button-group.js +9 -0
  97. package/dist/components/af-button-group.js.map +1 -0
  98. package/dist/components/af-button.js +1 -1
  99. package/dist/components/af-color-swatch.d.ts +11 -0
  100. package/dist/components/af-color-swatch.js +9 -0
  101. package/dist/components/af-color-swatch.js.map +1 -0
  102. package/dist/components/af-container.d.ts +11 -0
  103. package/dist/components/af-container.js +9 -0
  104. package/dist/components/af-container.js.map +1 -0
  105. package/dist/components/af-heading.d.ts +11 -0
  106. package/dist/components/af-heading.js +9 -0
  107. package/dist/components/af-heading.js.map +1 -0
  108. package/dist/components/af-icon-button.js +1 -1
  109. package/dist/components/{af-card.d.ts → af-logo.d.ts} +4 -4
  110. package/dist/components/af-logo.js +9 -0
  111. package/dist/components/af-logo.js.map +1 -0
  112. package/dist/components/af-nav-item.d.ts +11 -0
  113. package/dist/components/af-nav-item.js +9 -0
  114. package/dist/components/af-nav-item.js.map +1 -0
  115. package/dist/components/{af-badge.d.ts → af-navbar.d.ts} +4 -4
  116. package/dist/components/af-navbar.js +9 -0
  117. package/dist/components/af-navbar.js.map +1 -0
  118. package/dist/components/{af-input.d.ts → af-text.d.ts} +4 -4
  119. package/dist/components/af-text.js +9 -0
  120. package/dist/components/af-text.js.map +1 -0
  121. package/dist/components/af-typography-lockup.d.ts +11 -0
  122. package/dist/components/af-typography-lockup.js +9 -0
  123. package/dist/components/af-typography-lockup.js.map +1 -0
  124. package/dist/components/index.js +13 -6
  125. package/dist/components/index.js.map +1 -1
  126. package/dist/components/p-B17zxKkI.js +35 -0
  127. package/dist/components/p-B17zxKkI.js.map +1 -0
  128. package/dist/components/p-BJDmHNDi.js +59 -0
  129. package/dist/components/p-BJDmHNDi.js.map +1 -0
  130. package/dist/components/p-BfmeW04T.js +50 -0
  131. package/dist/components/p-BfmeW04T.js.map +1 -0
  132. package/dist/components/p-BoU5qaPt.js +68 -0
  133. package/dist/components/p-BoU5qaPt.js.map +1 -0
  134. package/dist/components/p-CT_9_xN3.js +50 -0
  135. package/dist/components/p-CT_9_xN3.js.map +1 -0
  136. package/dist/components/{p-DOtgsZRB.js → p-CzaQ1fCu.js} +92 -65
  137. package/dist/components/p-CzaQ1fCu.js.map +1 -0
  138. package/dist/components/p-DG7Mtz0G.js +66 -0
  139. package/dist/components/p-DG7Mtz0G.js.map +1 -0
  140. package/dist/components/p-DcFGu6up.js +68 -0
  141. package/dist/components/p-DcFGu6up.js.map +1 -0
  142. package/dist/components/p-DfIqdEs7.js +45 -0
  143. package/dist/components/p-DfIqdEs7.js.map +1 -0
  144. package/dist/components/p-DqIqR4VU.js +102 -0
  145. package/dist/components/p-DqIqR4VU.js.map +1 -0
  146. package/dist/components/p-LEksuu7O.js +44 -0
  147. package/dist/components/p-LEksuu7O.js.map +1 -0
  148. package/dist/components/p-uhOM63Ux.js +71 -0
  149. package/dist/components/p-uhOM63Ux.js.map +1 -0
  150. package/dist/components/p-zBrKMKWE.js +35 -0
  151. package/dist/components/p-zBrKMKWE.js.map +1 -0
  152. package/dist/esm/af-aspect-ratio.entry.js +81 -0
  153. package/dist/esm/af-aspect-ratio.entry.js.map +1 -0
  154. package/dist/esm/af-button-group.entry.js +28 -0
  155. package/dist/esm/af-button-group.entry.js.map +1 -0
  156. package/dist/esm/af-button.entry.js +46 -0
  157. package/dist/esm/af-button.entry.js.map +1 -0
  158. package/dist/esm/af-color-swatch.entry.js +21 -0
  159. package/dist/esm/af-color-swatch.entry.js.map +1 -0
  160. package/dist/esm/af-container.entry.js +24 -0
  161. package/dist/esm/af-container.entry.js.map +1 -0
  162. package/dist/esm/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.js.map +1 -0
  163. package/dist/esm/af-heading_5.entry.js +122 -0
  164. package/dist/esm/af-icon-button.entry.js +42 -0
  165. package/dist/esm/af-icon-button.entry.js.map +1 -0
  166. package/dist/esm/af-typography-lockup.entry.js +43 -0
  167. package/dist/esm/af-typography-lockup.entry.js.map +1 -0
  168. package/dist/esm/affinda.js +3 -3
  169. package/dist/esm/{index-o0tfWqnY.js → index-DxVtR6vj.js} +92 -61
  170. package/dist/esm/index-DxVtR6vj.js.map +1 -0
  171. package/dist/esm/index.js +9 -132
  172. package/dist/esm/index.js.map +1 -1
  173. package/dist/esm/loader.js +3 -3
  174. package/dist/types/components/af-aspect-ratio/af-aspect-ratio.d.ts +18 -0
  175. package/dist/types/components/af-button/af-button.d.ts +19 -11
  176. package/dist/types/components/af-button-group/af-button-group.d.ts +11 -0
  177. package/dist/types/components/af-color-swatch/af-color-swatch.d.ts +9 -0
  178. package/dist/types/components/af-container/af-container.d.ts +15 -0
  179. package/dist/types/components/af-heading/af-heading.d.ts +8 -0
  180. package/dist/types/components/af-icon-button/af-icon-button.d.ts +23 -11
  181. package/dist/types/components/af-logo/af-logo.d.ts +6 -0
  182. package/dist/types/components/af-nav-item/af-nav-item.d.ts +27 -0
  183. package/dist/types/components/af-navbar/af-navbar.d.ts +7 -0
  184. package/dist/types/components/af-text/af-text.d.ts +9 -0
  185. package/dist/types/components/af-typography-lockup/af-typography-lockup.d.ts +23 -0
  186. package/dist/types/components.d.ts +416 -163
  187. package/package.json +13 -13
  188. package/dist/affinda/af-badge.af-button.af-card.af-icon-button.af-input.entry.esm.js.map +0 -1
  189. package/dist/affinda/p-bca10492.entry.js +0 -2
  190. package/dist/affinda/p-bca10492.entry.js.map +0 -1
  191. package/dist/affinda/p-o0tfWqnY.js +0 -3
  192. package/dist/affinda/p-o0tfWqnY.js.map +0 -1
  193. package/dist/cjs/af-badge.af-button.af-card.af-icon-button.af-input.entry.cjs.js.map +0 -1
  194. package/dist/cjs/af-badge_5.cjs.entry.js +0 -13
  195. package/dist/cjs/index-5BGpYleS.js.map +0 -1
  196. package/dist/collection/components/af-badge/af-badge.css +0 -29
  197. package/dist/collection/components/af-badge/af-badge.js +0 -47
  198. package/dist/collection/components/af-badge/af-badge.js.map +0 -1
  199. package/dist/collection/components/af-card/af-card.css +0 -69
  200. package/dist/collection/components/af-card/af-card.js +0 -70
  201. package/dist/collection/components/af-card/af-card.js.map +0 -1
  202. package/dist/collection/components/af-input/af-input.css +0 -57
  203. package/dist/collection/components/af-input/af-input.js +0 -193
  204. package/dist/collection/components/af-input/af-input.js.map +0 -1
  205. package/dist/components/af-badge.js +0 -9
  206. package/dist/components/af-badge.js.map +0 -1
  207. package/dist/components/af-card.js +0 -9
  208. package/dist/components/af-card.js.map +0 -1
  209. package/dist/components/af-input.js +0 -9
  210. package/dist/components/af-input.js.map +0 -1
  211. package/dist/components/p-B7I93sz2.js +0 -39
  212. package/dist/components/p-B7I93sz2.js.map +0 -1
  213. package/dist/components/p-CZd1ieht.js +0 -62
  214. package/dist/components/p-CZd1ieht.js.map +0 -1
  215. package/dist/components/p-D6PwARU0.js +0 -59
  216. package/dist/components/p-D6PwARU0.js.map +0 -1
  217. package/dist/components/p-DOtgsZRB.js.map +0 -1
  218. package/dist/components/p-DZIXhvI0.js +0 -44
  219. package/dist/components/p-DZIXhvI0.js.map +0 -1
  220. package/dist/components/p-zIKPa48S.js +0 -62
  221. package/dist/components/p-zIKPa48S.js.map +0 -1
  222. package/dist/esm/af-badge.af-button.af-card.af-icon-button.af-input.entry.js.map +0 -1
  223. package/dist/esm/af-badge_5.entry.js +0 -3
  224. package/dist/esm/index-o0tfWqnY.js.map +0 -1
  225. package/dist/types/components/af-badge/af-badge.d.ts +0 -5
  226. package/dist/types/components/af-card/af-card.d.ts +0 -7
  227. package/dist/types/components/af-input/af-input.d.ts +0 -24
@@ -0,0 +1,99 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ .heading {
6
+ margin: 0;
7
+ padding: 0;
8
+ font-family: 'NeuSans', 'Inter', 'Segoe UI', system-ui, sans-serif;
9
+ font-weight: 500;
10
+ color: #14343b;
11
+ letter-spacing: -0.02em;
12
+ }
13
+
14
+ /* Alignment */
15
+ .align-left {
16
+ text-align: left;
17
+ }
18
+
19
+ .align-center {
20
+ text-align: center;
21
+ }
22
+
23
+ .align-right {
24
+ text-align: right;
25
+ }
26
+
27
+ /* Heading XL */
28
+ .level-xl {
29
+ font-size: 50px;
30
+ line-height: 1;
31
+ }
32
+
33
+ @media (min-width: 768px) {
34
+ .level-xl {
35
+ font-size: 80px;
36
+ }
37
+ }
38
+
39
+ /* Heading 1 */
40
+ .level-1 {
41
+ font-size: 38px;
42
+ line-height: 1;
43
+ }
44
+
45
+ @media (min-width: 768px) {
46
+ .level-1 {
47
+ font-size: 56px;
48
+ }
49
+ }
50
+
51
+ /* Heading 2 */
52
+ .level-2 {
53
+ font-size: 32px;
54
+ line-height: 1;
55
+ }
56
+
57
+ @media (min-width: 768px) {
58
+ .level-2 {
59
+ font-size: 44px;
60
+ }
61
+ }
62
+
63
+ /* Heading 3 */
64
+ .level-3 {
65
+ font-size: 25px;
66
+ line-height: 1;
67
+ }
68
+
69
+ @media (min-width: 768px) {
70
+ .level-3 {
71
+ font-size: 34px;
72
+ }
73
+ }
74
+
75
+ /* Heading 4 */
76
+ .level-4 {
77
+ font-size: 20px;
78
+ line-height: 1.1;
79
+ }
80
+
81
+ @media (min-width: 768px) {
82
+ .level-4 {
83
+ font-size: 24px;
84
+ line-height: 1.2;
85
+ }
86
+ }
87
+
88
+ /* Heading 5 */
89
+ .level-5 {
90
+ font-size: 18px;
91
+ line-height: 1.1;
92
+ }
93
+
94
+ @media (min-width: 768px) {
95
+ .level-5 {
96
+ font-size: 20px;
97
+ line-height: 1.2;
98
+ }
99
+ }
@@ -0,0 +1,86 @@
1
+ import { h } from "@stencil/core";
2
+ export class AfHeading {
3
+ constructor() {
4
+ /** Heading level */
5
+ this.level = '1';
6
+ /** Visual alignment */
7
+ this.align = 'left';
8
+ }
9
+ getHeadingTag() {
10
+ // Map display levels to semantic HTML tags
11
+ const tagMap = {
12
+ 'xl': 'h1',
13
+ '1': 'h1',
14
+ '2': 'h2',
15
+ '3': 'h3',
16
+ '4': 'h4',
17
+ '5': 'h5'
18
+ };
19
+ return tagMap[this.level] || 'h1';
20
+ }
21
+ render() {
22
+ const Tag = this.getHeadingTag();
23
+ return (h(Tag, { key: '1d3f37c8d067c3c9d0ec7f10422478ab41c990b2', class: {
24
+ 'heading': true,
25
+ [`level-${this.level}`]: true,
26
+ [`align-${this.align}`]: true
27
+ }, part: "base" }, h("slot", { key: 'dcba9d00393f818cfceeb5eba5cc2bd874927dfd' })));
28
+ }
29
+ static get is() { return "af-heading"; }
30
+ static get encapsulation() { return "shadow"; }
31
+ static get originalStyleUrls() {
32
+ return {
33
+ "$": ["af-heading.css"]
34
+ };
35
+ }
36
+ static get styleUrls() {
37
+ return {
38
+ "$": ["af-heading.css"]
39
+ };
40
+ }
41
+ static get properties() {
42
+ return {
43
+ "level": {
44
+ "type": "string",
45
+ "mutable": false,
46
+ "complexType": {
47
+ "original": "'xl' | '1' | '2' | '3' | '4' | '5'",
48
+ "resolved": "\"1\" | \"2\" | \"3\" | \"4\" | \"5\" | \"xl\"",
49
+ "references": {}
50
+ },
51
+ "required": false,
52
+ "optional": false,
53
+ "docs": {
54
+ "tags": [],
55
+ "text": "Heading level"
56
+ },
57
+ "getter": false,
58
+ "setter": false,
59
+ "reflect": false,
60
+ "attribute": "level",
61
+ "defaultValue": "'1'"
62
+ },
63
+ "align": {
64
+ "type": "string",
65
+ "mutable": false,
66
+ "complexType": {
67
+ "original": "'left' | 'center' | 'right'",
68
+ "resolved": "\"center\" | \"left\" | \"right\"",
69
+ "references": {}
70
+ },
71
+ "required": false,
72
+ "optional": false,
73
+ "docs": {
74
+ "tags": [],
75
+ "text": "Visual alignment"
76
+ },
77
+ "getter": false,
78
+ "setter": false,
79
+ "reflect": false,
80
+ "attribute": "align",
81
+ "defaultValue": "'left'"
82
+ }
83
+ };
84
+ }
85
+ }
86
+ //# sourceMappingURL=af-heading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"af-heading.js","sourceRoot":"","sources":["../../../src/components/af-heading/af-heading.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,OAAO,SAAS;IALtB;QAME,oBAAoB;QACZ,UAAK,GAAuC,GAAG,CAAC;QAExD,uBAAuB;QACf,UAAK,GAAgC,MAAM,CAAC;KA+BrD;IA7BS,aAAa;QACnB,2CAA2C;QAC3C,MAAM,MAAM,GAA2B;YACrC,IAAI,EAAE,IAAI;YACV,GAAG,EAAE,IAAI;YACT,GAAG,EAAE,IAAI;YACT,GAAG,EAAE,IAAI;YACT,GAAG,EAAE,IAAI;YACT,GAAG,EAAE,IAAI;SACV,CAAC;QACF,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC;IACpC,CAAC;IAED,MAAM;QACJ,MAAM,GAAG,GAAG,IAAI,CAAC,aAAa,EAAS,CAAC;QAExC,OAAO,CACL,EAAC,GAAG,qDACF,KAAK,EAAE;gBACL,SAAS,EAAE,IAAI;gBACf,CAAC,SAAS,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,IAAI;gBAC7B,CAAC,SAAS,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,IAAI;aAC9B,EACD,IAAI,EAAC,MAAM;YAEX,8DAAQ,CACJ,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'af-heading',\n styleUrl: 'af-heading.css',\n shadow: true\n})\nexport class AfHeading {\n /** Heading level */\n @Prop() level: 'xl' | '1' | '2' | '3' | '4' | '5' = '1';\n\n /** Visual alignment */\n @Prop() align: 'left' | 'center' | 'right' = 'left';\n\n private getHeadingTag() {\n // Map display levels to semantic HTML tags\n const tagMap: Record<string, string> = {\n 'xl': 'h1',\n '1': 'h1',\n '2': 'h2',\n '3': 'h3',\n '4': 'h4',\n '5': 'h5'\n };\n return tagMap[this.level] || 'h1';\n }\n\n render() {\n const Tag = this.getHeadingTag() as any;\n\n return (\n <Tag\n class={{\n 'heading': true,\n [`level-${this.level}`]: true,\n [`align-${this.align}`]: true\n }}\n part=\"base\"\n >\n <slot />\n </Tag>\n );\n }\n}\n"]}
@@ -1,70 +1,169 @@
1
1
  :host {
2
- display: inline-flex;
2
+ display: inline-block;
3
3
  }
4
4
 
5
- button {
6
- --button-size-sm: 36px;
7
- --button-size-md: 44px;
8
- width: var(--button-size-md);
9
- height: var(--button-size-md);
10
- border-radius: 50%;
11
- border: none;
5
+ .icon-button {
12
6
  display: inline-flex;
13
7
  align-items: center;
14
8
  justify-content: center;
15
- background: transparent;
16
- color: var(--af-color-brand-primary-500);
9
+ border-radius: 50%;
17
10
  cursor: pointer;
18
- transition: transform 120ms ease, box-shadow 160ms ease, background-color 160ms ease;
19
- box-shadow: none;
11
+ transition: all 0.2s ease;
12
+ border: 1px solid transparent;
13
+ box-sizing: border-box;
14
+ flex-shrink: 0;
15
+ text-decoration: none;
16
+ padding: 0;
20
17
  }
21
18
 
22
- button.size-sm {
23
- width: var(--button-size-sm);
24
- height: var(--button-size-sm);
19
+ /* Size variants */
20
+ .size-large {
21
+ width: 72px;
22
+ height: 72px;
23
+ padding: 24px;
25
24
  }
26
25
 
27
- button:disabled {
28
- cursor: not-allowed;
29
- opacity: 0.5;
30
- box-shadow: none;
26
+ .size-large .icon {
27
+ width: 24px;
28
+ height: 24px;
29
+ }
30
+
31
+ .size-medium {
32
+ width: 48px;
33
+ height: 48px;
34
+ padding: 12px;
31
35
  }
32
36
 
33
- button.variant-solid {
34
- background: linear-gradient(135deg, var(--af-color-brand-primary-500), var(--af-color-brand-primary-600));
35
- color: var(--af-color-fg-inverse);
36
- box-shadow: 0 10px 24px rgba(124, 58, 237, 0.24);
37
+ .size-medium .icon {
38
+ width: 24px;
39
+ height: 24px;
37
40
  }
38
41
 
39
- button.variant-soft {
40
- background: rgba(124, 58, 237, 0.14);
41
- color: var(--af-color-brand-primary-500);
42
+ .size-small {
43
+ width: 36px;
44
+ height: 36px;
45
+ padding: 8px;
46
+ }
47
+
48
+ .size-small .icon {
49
+ width: 20px;
50
+ height: 20px;
51
+ }
52
+
53
+ /* Icon slot */
54
+ .icon {
55
+ display: flex;
56
+ align-items: center;
57
+ justify-content: center;
58
+ flex-shrink: 0;
42
59
  }
43
60
 
44
- button.variant-ghost {
45
- border: 1px solid rgba(124, 58, 237, 0.4);
61
+ .icon ::slotted(svg) {
62
+ width: 100%;
63
+ height: 100%;
64
+ }
65
+
66
+ /* Primary variant (ice) */
67
+ .variant-primary {
68
+ background: var(--colour-brand-ice, #A6FFFB);
69
+ border-color: var(--colour-brand-inkwell, #14343B);
70
+ color: var(--colour-brand-inkwell, #14343B);
71
+ }
72
+
73
+ .variant-primary:hover:not(.disabled) {
74
+ background: #8FEBE3;
75
+ transform: translateY(-1px);
76
+ box-shadow: 0 2px 8px rgba(20, 52, 59, 0.15);
77
+ }
78
+
79
+ .variant-primary:active:not(.disabled) {
80
+ background: #7FE2D4;
81
+ transform: translateY(0);
82
+ }
83
+
84
+ /* Secondary variant (white) */
85
+ .variant-secondary {
86
+ background: var(--colour-brand-white, #FFFFFF);
87
+ border-color: var(--colour-brand-inkwell, #14343B);
88
+ color: var(--colour-brand-inkwell, #14343B);
89
+ }
90
+
91
+ .variant-secondary:hover:not(.disabled) {
92
+ background: #F6FAF9;
93
+ transform: translateY(-1px);
94
+ box-shadow: 0 2px 8px rgba(20, 52, 59, 0.15);
95
+ }
96
+
97
+ .variant-secondary:active:not(.disabled) {
98
+ background: #E8F1EF;
99
+ transform: translateY(0);
100
+ }
101
+
102
+ /* Outline variant */
103
+ .variant-outline {
46
104
  background: transparent;
105
+ border-color: var(--colour-brand-inkwell, #14343B);
106
+ color: var(--colour-brand-inkwell, #14343B);
47
107
  }
48
108
 
49
- button:is(:hover, :focus-visible) {
109
+ .variant-outline:hover:not(.disabled) {
110
+ background: rgba(20, 52, 59, 0.04);
50
111
  transform: translateY(-1px);
51
- box-shadow: 0 14px 30px rgba(124, 58, 237, 0.28);
52
112
  }
53
113
 
54
- button:active {
114
+ .variant-outline:active:not(.disabled) {
115
+ background: rgba(20, 52, 59, 0.08);
55
116
  transform: translateY(0);
56
- box-shadow: 0 8px 18px rgba(124, 58, 237, 0.2);
57
117
  }
58
118
 
59
- .icon {
60
- display: inline-flex;
61
- align-items: center;
62
- justify-content: center;
63
- width: 1.5em;
64
- height: 1.5em;
119
+ /* Ghost variant */
120
+ .variant-ghost {
121
+ background: transparent;
122
+ border-color: transparent;
123
+ color: var(--colour-brand-inkwell, #14343B);
124
+ }
125
+
126
+ .variant-ghost:hover:not(.disabled) {
127
+ background: rgba(20, 52, 59, 0.04);
128
+ }
129
+
130
+ .variant-ghost:active:not(.disabled) {
131
+ background: rgba(20, 52, 59, 0.08);
132
+ }
133
+
134
+ /* Disabled state */
135
+ .disabled {
136
+ opacity: 0.4;
137
+ cursor: not-allowed;
138
+ pointer-events: none;
139
+ }
140
+
141
+ /* Remove default button styles */
142
+ button.icon-button {
143
+ background: none;
144
+ border: none;
145
+ padding: 0;
146
+ font: inherit;
147
+ color: inherit;
148
+ cursor: pointer;
149
+ }
150
+
151
+ button.icon-button.variant-primary {
152
+ background: var(--colour-brand-ice, #A6FFFB);
153
+ border: 1px solid var(--colour-brand-inkwell, #14343B);
154
+ }
155
+
156
+ button.icon-button.variant-secondary {
157
+ background: var(--colour-brand-white, #FFFFFF);
158
+ border: 1px solid var(--colour-brand-inkwell, #14343B);
65
159
  }
66
160
 
67
- :host([disabled]) button {
68
- transform: none;
69
- box-shadow: none;
161
+ button.icon-button.variant-outline {
162
+ background: transparent;
163
+ border: 1px solid var(--colour-brand-inkwell, #14343B);
164
+ }
165
+
166
+ button.icon-button.variant-ghost {
167
+ background: transparent;
168
+ border: 1px solid transparent;
70
169
  }
@@ -1,27 +1,35 @@
1
- import { h } from "@stencil/core";
1
+ import { h, Host } from "@stencil/core";
2
2
  export class AfIconButton {
3
3
  constructor() {
4
- /** Visual style of the icon button */
5
- this.variant = 'solid';
6
- /** Size preset */
7
- this.size = 'md';
8
- /** Disabled state */
4
+ /**
5
+ * The visual variant of the button
6
+ */
7
+ this.variant = 'primary';
8
+ /**
9
+ * The size of the button
10
+ */
11
+ this.size = 'medium';
12
+ /**
13
+ * Whether the button is disabled
14
+ */
9
15
  this.disabled = false;
10
- this.onClick = (event) => {
11
- if (this.disabled) {
12
- event.preventDefault();
13
- event.stopPropagation();
14
- return;
15
- }
16
- this.afClick.emit(event);
17
- };
16
+ /**
17
+ * Button type (when not using href)
18
+ */
19
+ this.type = 'button';
18
20
  }
19
21
  render() {
20
22
  const classes = {
23
+ 'icon-button': true,
21
24
  [`variant-${this.variant}`]: true,
22
- [`size-${this.size}`]: true
25
+ [`size-${this.size}`]: true,
26
+ 'disabled': this.disabled
23
27
  };
24
- return (h("button", { key: '0f63eddac5f4dab95835506b896e437218aa50e1', type: "button", class: classes, part: "base", disabled: this.disabled, "aria-label": this.label, onClick: this.onClick }, h("span", { key: '6400064df3b666cbcc0a4a51523f1cd08dcbe81a', part: "icon", class: "icon" }, h("slot", { key: 'a74fff21c0a3af05da37b12e45db8ca8913bbdea' }))));
28
+ const content = (h("span", { class: "icon" }, h("slot", null)));
29
+ if (this.href && !this.disabled) {
30
+ return (h(Host, null, h("a", { href: this.href, class: classes, "aria-label": this.ariaLabel }, content)));
31
+ }
32
+ return (h(Host, null, h("button", { type: this.type, disabled: this.disabled, class: classes, "aria-label": this.ariaLabel }, content)));
25
33
  }
26
34
  static get is() { return "af-icon-button"; }
27
35
  static get encapsulation() { return "shadow"; }
@@ -41,43 +49,63 @@ export class AfIconButton {
41
49
  "type": "string",
42
50
  "mutable": false,
43
51
  "complexType": {
44
- "original": "'solid' | 'soft' | 'ghost'",
45
- "resolved": "\"ghost\" | \"soft\" | \"solid\"",
52
+ "original": "'primary' | 'secondary' | 'outline' | 'ghost'",
53
+ "resolved": "\"ghost\" | \"outline\" | \"primary\" | \"secondary\"",
46
54
  "references": {}
47
55
  },
48
56
  "required": false,
49
57
  "optional": false,
50
58
  "docs": {
51
59
  "tags": [],
52
- "text": "Visual style of the icon button"
60
+ "text": "The visual variant of the button"
53
61
  },
54
62
  "getter": false,
55
63
  "setter": false,
56
64
  "reflect": false,
57
65
  "attribute": "variant",
58
- "defaultValue": "'solid'"
66
+ "defaultValue": "'primary'"
59
67
  },
60
68
  "size": {
61
69
  "type": "string",
62
70
  "mutable": false,
63
71
  "complexType": {
64
- "original": "'sm' | 'md'",
65
- "resolved": "\"md\" | \"sm\"",
72
+ "original": "'large' | 'medium' | 'small'",
73
+ "resolved": "\"large\" | \"medium\" | \"small\"",
66
74
  "references": {}
67
75
  },
68
76
  "required": false,
69
77
  "optional": false,
70
78
  "docs": {
71
79
  "tags": [],
72
- "text": "Size preset"
80
+ "text": "The size of the button"
73
81
  },
74
82
  "getter": false,
75
83
  "setter": false,
76
84
  "reflect": false,
77
85
  "attribute": "size",
78
- "defaultValue": "'md'"
86
+ "defaultValue": "'medium'"
79
87
  },
80
- "label": {
88
+ "disabled": {
89
+ "type": "boolean",
90
+ "mutable": false,
91
+ "complexType": {
92
+ "original": "boolean",
93
+ "resolved": "boolean",
94
+ "references": {}
95
+ },
96
+ "required": false,
97
+ "optional": false,
98
+ "docs": {
99
+ "tags": [],
100
+ "text": "Whether the button is disabled"
101
+ },
102
+ "getter": false,
103
+ "setter": false,
104
+ "reflect": false,
105
+ "attribute": "disabled",
106
+ "defaultValue": "false"
107
+ },
108
+ "href": {
81
109
  "type": "string",
82
110
  "mutable": false,
83
111
  "complexType": {
@@ -89,57 +117,53 @@ export class AfIconButton {
89
117
  "optional": true,
90
118
  "docs": {
91
119
  "tags": [],
92
- "text": "Accessible label text"
120
+ "text": "Optional href to render as a link"
93
121
  },
94
122
  "getter": false,
95
123
  "setter": false,
96
124
  "reflect": false,
97
- "attribute": "label"
125
+ "attribute": "href"
98
126
  },
99
- "disabled": {
100
- "type": "boolean",
127
+ "type": {
128
+ "type": "string",
101
129
  "mutable": false,
102
130
  "complexType": {
103
- "original": "boolean",
104
- "resolved": "boolean",
131
+ "original": "'button' | 'submit' | 'reset'",
132
+ "resolved": "\"button\" | \"reset\" | \"submit\"",
105
133
  "references": {}
106
134
  },
107
135
  "required": false,
108
136
  "optional": false,
109
137
  "docs": {
110
138
  "tags": [],
111
- "text": "Disabled state"
139
+ "text": "Button type (when not using href)"
112
140
  },
113
141
  "getter": false,
114
142
  "setter": false,
115
- "reflect": true,
116
- "attribute": "disabled",
117
- "defaultValue": "false"
118
- }
119
- };
120
- }
121
- static get events() {
122
- return [{
123
- "method": "afClick",
124
- "name": "afClick",
125
- "bubbles": true,
126
- "cancelable": true,
127
- "composed": true,
143
+ "reflect": false,
144
+ "attribute": "type",
145
+ "defaultValue": "'button'"
146
+ },
147
+ "ariaLabel": {
148
+ "type": "string",
149
+ "mutable": false,
150
+ "complexType": {
151
+ "original": "string",
152
+ "resolved": "string",
153
+ "references": {}
154
+ },
155
+ "required": true,
156
+ "optional": false,
128
157
  "docs": {
129
158
  "tags": [],
130
- "text": "Raised when the button is activated"
159
+ "text": "Accessible label for screen readers"
131
160
  },
132
- "complexType": {
133
- "original": "MouseEvent",
134
- "resolved": "MouseEvent",
135
- "references": {
136
- "MouseEvent": {
137
- "location": "global",
138
- "id": "global::MouseEvent"
139
- }
140
- }
141
- }
142
- }];
161
+ "getter": false,
162
+ "setter": false,
163
+ "reflect": false,
164
+ "attribute": "aria-label"
165
+ }
166
+ };
143
167
  }
144
168
  }
145
169
  //# sourceMappingURL=af-icon-button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"af-icon-button.js","sourceRoot":"","sources":["../../../src/components/af-icon-button/af-icon-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOxE,MAAM,OAAO,YAAY;IALzB;QAME,sCAAsC;QAC9B,YAAO,GAA+B,OAAO,CAAC;QAEtD,kBAAkB;QACV,SAAI,GAAgB,IAAI,CAAC;QAKjC,qBAAqB;QACI,aAAQ,GAAG,KAAK,CAAC;QAKlC,YAAO,GAAG,CAAC,KAAiB,EAAE,EAAE;YACtC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAClB,KAAK,CAAC,cAAc,EAAE,CAAC;gBACvB,KAAK,CAAC,eAAe,EAAE,CAAC;gBACxB,OAAO;YACT,CAAC;YAED,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC3B,CAAC,CAAC;KAuBH;IArBC,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,CAAC,WAAW,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,IAAI;YACjC,CAAC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI;SAC5B,CAAC;QAEF,OAAO,CACL,+DACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,OAAO,EACd,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,IAAI,CAAC,QAAQ,gBACX,IAAI,CAAC,KAAK,EACtB,OAAO,EAAE,IAAI,CAAC,OAAO;YAErB,6DAAM,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,MAAM;gBAC5B,8DAAQ,CACH,CACA,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'af-icon-button',\n styleUrl: 'af-icon-button.css',\n shadow: true\n})\nexport class AfIconButton {\n /** Visual style of the icon button */\n @Prop() variant: 'solid' | 'soft' | 'ghost' = 'solid';\n\n /** Size preset */\n @Prop() size: 'sm' | 'md' = 'md';\n\n /** Accessible label text */\n @Prop() label?: string;\n\n /** Disabled state */\n @Prop({ reflect: true }) disabled = false;\n\n /** Raised when the button is activated */\n @Event() afClick!: EventEmitter<MouseEvent>;\n\n private onClick = (event: MouseEvent) => {\n if (this.disabled) {\n event.preventDefault();\n event.stopPropagation();\n return;\n }\n\n this.afClick.emit(event);\n };\n\n render() {\n const classes = {\n [`variant-${this.variant}`]: true,\n [`size-${this.size}`]: true\n };\n\n return (\n <button\n type=\"button\"\n class={classes}\n part=\"base\"\n disabled={this.disabled}\n aria-label={this.label}\n onClick={this.onClick}\n >\n <span part=\"icon\" class=\"icon\">\n <slot />\n </span>\n </button>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"af-icon-button.js","sourceRoot":"","sources":["../../../src/components/af-icon-button/af-icon-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,YAAY;IALzB;QAME;;WAEG;QACK,YAAO,GAAkD,SAAS,CAAC;QAE3E;;WAEG;QACK,SAAI,GAAiC,QAAQ,CAAC;QAEtD;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAOlC;;WAEG;QACK,SAAI,GAAkC,QAAQ,CAAC;KAuCxD;IAhCC,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,aAAa,EAAE,IAAI;YACnB,CAAC,WAAW,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,IAAI;YACjC,CAAC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI;YAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;SAC1B,CAAC;QAEF,MAAM,OAAO,GAAG,CACd,YAAM,KAAK,EAAC,MAAM;YAChB,eAAa,CACR,CACR,CAAC;QAEF,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YAChC,OAAO,CACL,EAAC,IAAI;gBACH,SAAG,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,gBAAc,IAAI,CAAC,SAAS,IAC3D,OAAO,CACN,CACC,CACR,CAAC;QACJ,CAAC;QAED,OAAO,CACL,EAAC,IAAI;YACH,cAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,gBAAc,IAAI,CAAC,SAAS,IACzF,OAAO,CACD,CACJ,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, Host } from '@stencil/core';\n\n@Component({\n tag: 'af-icon-button',\n styleUrl: 'af-icon-button.css',\n shadow: true\n})\nexport class AfIconButton {\n /**\n * The visual variant of the button\n */\n @Prop() variant: 'primary' | 'secondary' | 'outline' | 'ghost' = 'primary';\n\n /**\n * The size of the button\n */\n @Prop() size: 'large' | 'medium' | 'small' = 'medium';\n\n /**\n * Whether the button is disabled\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Optional href to render as a link\n */\n @Prop() href?: string;\n\n /**\n * Button type (when not using href)\n */\n @Prop() type: 'button' | 'submit' | 'reset' = 'button';\n\n /**\n * Accessible label for screen readers\n */\n @Prop() ariaLabel!: string;\n\n render() {\n const classes = {\n 'icon-button': true,\n [`variant-${this.variant}`]: true,\n [`size-${this.size}`]: true,\n 'disabled': this.disabled\n };\n\n const content = (\n <span class=\"icon\">\n <slot></slot>\n </span>\n );\n\n if (this.href && !this.disabled) {\n return (\n <Host>\n <a href={this.href} class={classes} aria-label={this.ariaLabel}>\n {content}\n </a>\n </Host>\n );\n }\n\n return (\n <Host>\n <button type={this.type} disabled={this.disabled} class={classes} aria-label={this.ariaLabel}>\n {content}\n </button>\n </Host>\n );\n }\n}\n"]}
@@ -0,0 +1,10 @@
1
+ :host {
2
+ display: inline-block;
3
+ color: #14343b;
4
+ }
5
+
6
+ .logo-svg {
7
+ display: block;
8
+ height: 22px;
9
+ width: auto;
10
+ }
@@ -0,0 +1,22 @@
1
+ import { h, Host } from "@stencil/core";
2
+ /**
3
+ * Affinda logo component
4
+ */
5
+ export class AfLogo {
6
+ render() {
7
+ return (h(Host, { key: '8a33b73d7a60054dde8a04327d94d78763552549' }, h("svg", { key: '7195b06d8ab5a335e70a1e7310fd753cb3887599', width: "141", height: "22", viewBox: "0 0 141 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "logo-svg" }, h("path", { key: '5bb4bb2f7f6063928c3cfc7938b85291e70bec27', d: "M20.8 9.6c0-1.5-.4-2.7-1.1-3.7-.8-1-1.8-1.5-3.2-1.5-1.3 0-2.4.5-3.2 1.5-.7 1-1.1 2.2-1.1 3.7 0 1.5.4 2.7 1.1 3.7.8 1 1.9 1.5 3.2 1.5 1.4 0 2.5-.5 3.2-1.5.7-1 1.1-2.2 1.1-3.7zm4.2 0c0 2.4-.7 4.4-2 5.9-1.4 1.5-3.2 2.3-5.5 2.3-2.2 0-4-.8-5.4-2.3-1.4-1.5-2.1-3.5-2.1-5.9 0-2.4.7-4.4 2.1-5.9C13.5 2.2 15.3 1.4 17.5 1.4c2.3 0 4.1.8 5.5 2.3 1.3 1.5 2 3.5 2 5.9zM29.1 17.5h-4.2V4.7h4.2v12.8zm0-14.9h-4.2V.2h4.2v2.4zM43.3 17.5h-4.2v-1.5c-.7 1.2-1.9 1.8-3.7 1.8-1.3 0-2.4-.4-3.2-1.2-.8-.8-1.2-2-1.2-3.5V4.7h4.2v8.1c0 1.7.7 2.5 2 2.5.7 0 1.3-.2 1.7-.7.4-.4.6-1.1.6-1.9V4.7h4.2v12.8h-.4z", fill: "currentColor" }), h("path", { key: '7a5a7e54b69475ad6f9d1ddf240e668708a06ff2', d: "M56.9 17.5h-4.2v-1.5c-.7 1.2-1.9 1.8-3.7 1.8-1.3 0-2.4-.4-3.2-1.2-.8-.8-1.2-2-1.2-3.5V4.7h4.2v8.1c0 1.7.7 2.5 2 2.5.7 0 1.3-.2 1.7-.7.4-.4.6-1.1.6-1.9V4.7h4.2v12.8h-.4zM68.3 5.9c-.7-.4-1.5-.6-2.4-.6-1.2 0-2.2.4-2.9 1.2-.8.8-1.1 1.9-1.1 3.3 0 1.4.4 2.5 1.1 3.3.8.8 1.7 1.2 2.9 1.2.9 0 1.7-.2 2.4-.6v3.5c-.9.3-1.9.5-2.9.5-2.3 0-4.2-.7-5.6-2.2-1.4-1.5-2.1-3.4-2.1-5.8 0-1.5.3-2.9.9-4.1.6-1.2 1.5-2.2 2.6-2.8 1.1-.7 2.4-1 3.8-1 1.1 0 2.1.2 3.1.6l.2 3.5z", fill: "currentColor" }), h("path", { key: '29ba5bc9bc4fc8068d77dd092f6fbf2dccc2caa2', d: "M80 4.7h4.2v1.6c.7-1.2 1.9-1.9 3.6-1.9 1.3 0 2.3.4 3.1 1.2.8.8 1.2 2 1.2 3.5v8.4h-4.2V9.4c0-1.7-.7-2.5-2-2.5-.7 0-1.2.2-1.6.7-.4.4-.6 1.1-.6 1.9v8h-4.2V4.7h.5zM105.3 17.5h-4.2v-1.1c-.8 1-2 1.5-3.6 1.5-1.4 0-2.6-.5-3.5-1.4-.9-.9-1.4-2.1-1.4-3.6V9.6c0-1.5.5-2.7 1.4-3.6.9-.9 2.1-1.4 3.5-1.4 1.6 0 2.8.5 3.6 1.5V.2h4.2v17.3zm-4.2-7.9c0-.8-.3-1.5-.8-2-.5-.5-1.2-.8-2-.8-.8 0-1.5.3-2 .8-.5.5-.8 1.2-.8 2 0 .8.3 1.5.8 2 .5.5 1.2.8 2 .8.8 0 1.5-.3 2-.8.5-.5.8-1.2.8-2z", fill: "currentColor" }), h("path", { key: 'd528008c06633218db38e63f0605874f703d3165', d: "M115.8 17.5h-4.2V4.7h4.2v1.1c.8-1 2-1.5 3.6-1.5 1.4 0 2.6.5 3.5 1.4.9.9 1.4 2.1 1.4 3.6v3.3c0 1.5-.5 2.7-1.4 3.6-.9.9-2.1 1.4-3.5 1.4-1.6 0-2.8-.5-3.6-1.5v1.4zm4.2-7.9c0-.8-.3-1.5-.8-2-.5-.5-1.2-.8-2-.8-.8 0-1.5.3-2 .8-.5.5-.8 1.2-.8 2 0 .8.3 1.5.8 2 .5.5 1.2.8 2 .8.8 0 1.5-.3 2-.8.5-.5.8-1.2.8-2z", fill: "currentColor" }), h("g", { key: 'e3c341f6286afc34b918924fe1ce7d147adcb09a', "clip-path": "url(#clip0)" }, h("path", { key: '1d8c3fbc8995e2017357ceaab53ffd66970fe017', d: "M4.9 9.6c0-1.5-.4-2.7-1.1-3.7C3 4.9 2 4.4.6 4.4c-.3 0-.6 0-.9.1v10.2c.3.1.6.1.9.1 1.4 0 2.5-.5 3.2-1.5.7-1 1.1-2.2 1.1-3.7zM9.1 9.6c0 2.4-.7 4.4-2 5.9-1.4 1.5-3.2 2.3-5.5 2.3-.7 0-1.4-.1-2.1-.2V.2C.2.1.9 0 1.6 0c2.3 0 4.1.8 5.5 2.3 1.3 1.5 2 3.5 2 5.3z", fill: "currentColor" })), h("defs", { key: 'b10859520274b6db85b3192b314f2a2bc6b41da7' }, h("clipPath", { key: '8834e78ed619077f26809a22f7130f6941f2ef5f', id: "clip0" }, h("path", { key: '5a01632b2fb3c6a6d630afaefc6489cb879f5116', fill: "#fff", d: "M0 0h9.1v17.8H0z" }))))));
8
+ }
9
+ static get is() { return "af-logo"; }
10
+ static get encapsulation() { return "shadow"; }
11
+ static get originalStyleUrls() {
12
+ return {
13
+ "$": ["af-logo.css"]
14
+ };
15
+ }
16
+ static get styleUrls() {
17
+ return {
18
+ "$": ["af-logo.css"]
19
+ };
20
+ }
21
+ }
22
+ //# sourceMappingURL=af-logo.js.map