@affinda/wc 0.0.2 → 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.
- package/dist/affinda/af-button-group.entry.esm.js.map +1 -0
- package/dist/affinda/af-button.entry.esm.js.map +1 -0
- package/dist/affinda/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.esm.js.map +1 -0
- package/dist/affinda/af-icon-button.entry.esm.js.map +1 -0
- package/dist/affinda/af-typography-lockup.entry.esm.js.map +1 -0
- package/dist/affinda/affinda.css +1 -1
- package/dist/affinda/affinda.esm.js +1 -1
- package/dist/affinda/index.esm.js +1 -1
- package/dist/affinda/index.esm.js.map +1 -1
- package/dist/affinda/p-540af9d9.entry.js +2 -0
- package/dist/affinda/p-540af9d9.entry.js.map +1 -0
- package/dist/affinda/p-619bc077.entry.js +2 -0
- package/dist/affinda/p-619bc077.entry.js.map +1 -0
- package/dist/affinda/p-6b07f590.entry.js +2 -0
- package/dist/affinda/p-6b07f590.entry.js.map +1 -0
- package/dist/affinda/{p-f79068a7.entry.js → p-8d3b4917.entry.js} +2 -2
- package/dist/affinda/{p-ccdcebe9.entry.js → p-9d0e6ed1.entry.js} +2 -2
- package/dist/affinda/p-DxVtR6vj.js +3 -0
- package/dist/affinda/p-DxVtR6vj.js.map +1 -0
- package/dist/affinda/p-afbe9cb3.entry.js +2 -0
- package/dist/affinda/p-afbe9cb3.entry.js.map +1 -0
- package/dist/affinda/{p-a6a8ecde.entry.js → p-cbb06a14.entry.js} +2 -2
- package/dist/affinda/p-e274e11a.entry.js +2 -0
- package/dist/affinda/p-e274e11a.entry.js.map +1 -0
- package/dist/cjs/af-aspect-ratio.cjs.entry.js +1 -1
- package/dist/cjs/af-button-group.cjs.entry.js +30 -0
- package/dist/cjs/af-button-group.entry.cjs.js.map +1 -0
- package/dist/cjs/af-button.cjs.entry.js +48 -0
- package/dist/cjs/af-button.entry.cjs.js.map +1 -0
- package/dist/cjs/af-color-swatch.cjs.entry.js +1 -1
- package/dist/cjs/af-container.cjs.entry.js +1 -1
- package/dist/cjs/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.cjs.js.map +1 -0
- package/dist/cjs/af-heading_5.cjs.entry.js +128 -0
- package/dist/cjs/af-icon-button.cjs.entry.js +44 -0
- package/dist/cjs/af-icon-button.entry.cjs.js.map +1 -0
- package/dist/cjs/af-typography-lockup.cjs.entry.js +45 -0
- package/dist/cjs/af-typography-lockup.entry.cjs.js.map +1 -0
- package/dist/cjs/affinda.cjs.js +2 -2
- package/dist/cjs/{index-DHjsui2n.js → index-E2jkaTPt.js} +34 -6
- package/dist/cjs/index-E2jkaTPt.js.map +1 -0
- package/dist/cjs/index.cjs.js +15 -5
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +7 -1
- package/dist/collection/components/af-button/af-button.css +183 -0
- package/dist/collection/components/af-button/af-button.js +154 -0
- package/dist/collection/components/af-button/af-button.js.map +1 -0
- package/dist/collection/components/af-button-group/af-button-group.css +22 -0
- package/dist/collection/components/af-button-group/af-button-group.js +77 -0
- package/dist/collection/components/af-button-group/af-button-group.js.map +1 -0
- package/dist/collection/components/af-icon-button/af-icon-button.css +169 -0
- package/dist/collection/components/af-icon-button/af-icon-button.js +169 -0
- package/dist/collection/components/af-icon-button/af-icon-button.js.map +1 -0
- package/dist/collection/components/af-logo/af-logo.css +10 -0
- package/dist/collection/components/af-logo/af-logo.js +22 -0
- package/dist/collection/components/af-logo/af-logo.js.map +1 -0
- package/dist/collection/components/af-nav-item/af-nav-item.css +18 -7
- package/dist/collection/components/af-navbar/af-navbar.css +119 -0
- package/dist/collection/components/af-navbar/af-navbar.js +23 -0
- package/dist/collection/components/af-navbar/af-navbar.js.map +1 -0
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.css +168 -0
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js +151 -0
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js.map +1 -0
- package/dist/collection/components.js +6 -0
- package/dist/collection/components.js.map +1 -1
- package/dist/components/af-aspect-ratio.js +1 -1
- package/dist/components/af-button-group.d.ts +11 -0
- package/dist/components/af-button-group.js +9 -0
- package/dist/components/af-button-group.js.map +1 -0
- package/dist/components/af-button.d.ts +11 -0
- package/dist/components/af-button.js +9 -0
- package/dist/components/af-button.js.map +1 -0
- package/dist/components/af-color-swatch.js +1 -1
- package/dist/components/af-container.js +1 -1
- package/dist/components/af-heading.js +1 -1
- package/dist/components/af-icon-button.d.ts +11 -0
- package/dist/components/af-icon-button.js +9 -0
- package/dist/components/af-icon-button.js.map +1 -0
- package/dist/components/af-logo.d.ts +11 -0
- package/dist/components/af-logo.js +9 -0
- package/dist/components/af-logo.js.map +1 -0
- package/dist/components/af-nav-item.js +1 -1
- package/dist/components/af-navbar.d.ts +11 -0
- package/dist/components/af-navbar.js +9 -0
- package/dist/components/af-navbar.js.map +1 -0
- package/dist/components/af-text.js +1 -1
- package/dist/components/af-typography-lockup.d.ts +11 -0
- package/dist/components/af-typography-lockup.js +9 -0
- package/dist/components/af-typography-lockup.js.map +1 -0
- package/dist/components/index.js +13 -7
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-B17zxKkI.js +35 -0
- package/dist/components/p-B17zxKkI.js.map +1 -0
- package/dist/components/{p-CbKdmUDd.js → p-BJDmHNDi.js} +3 -3
- package/dist/components/{p-CbKdmUDd.js.map → p-BJDmHNDi.js.map} +1 -1
- package/dist/components/p-BfmeW04T.js +50 -0
- package/dist/components/p-BfmeW04T.js.map +1 -0
- package/dist/components/p-BoU5qaPt.js +68 -0
- package/dist/components/p-BoU5qaPt.js.map +1 -0
- package/dist/components/{p-BZ5_l5Q-.js → p-CT_9_xN3.js} +3 -3
- package/dist/components/{p-BZ5_l5Q-.js.map → p-CT_9_xN3.js.map} +1 -1
- package/dist/components/{p-TaHgCKVa.js → p-CzaQ1fCu.js} +34 -6
- package/dist/components/p-CzaQ1fCu.js.map +1 -0
- package/dist/components/{p-Ntwn3krC.js → p-DG7Mtz0G.js} +4 -4
- package/dist/components/p-DG7Mtz0G.js.map +1 -0
- package/dist/components/p-DcFGu6up.js +68 -0
- package/dist/components/p-DcFGu6up.js.map +1 -0
- package/dist/components/{p-DbZX-luM.js → p-DfIqdEs7.js} +3 -3
- package/dist/components/{p-DbZX-luM.js.map → p-DfIqdEs7.js.map} +1 -1
- package/dist/components/{p-CCPh8sLt.js → p-DqIqR4VU.js} +3 -3
- package/dist/components/{p-CCPh8sLt.js.map → p-DqIqR4VU.js.map} +1 -1
- package/dist/components/{p-Ck_3oNdO.js → p-LEksuu7O.js} +3 -3
- package/dist/components/{p-Ck_3oNdO.js.map → p-LEksuu7O.js.map} +1 -1
- package/dist/components/p-uhOM63Ux.js +71 -0
- package/dist/components/p-uhOM63Ux.js.map +1 -0
- package/dist/components/p-zBrKMKWE.js +35 -0
- package/dist/components/p-zBrKMKWE.js.map +1 -0
- package/dist/esm/af-aspect-ratio.entry.js +1 -1
- package/dist/esm/af-button-group.entry.js +28 -0
- package/dist/esm/af-button-group.entry.js.map +1 -0
- package/dist/esm/af-button.entry.js +46 -0
- package/dist/esm/af-button.entry.js.map +1 -0
- package/dist/esm/af-color-swatch.entry.js +1 -1
- package/dist/esm/af-container.entry.js +1 -1
- package/dist/esm/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.js.map +1 -0
- package/dist/esm/af-heading_5.entry.js +122 -0
- package/dist/esm/af-icon-button.entry.js +42 -0
- package/dist/esm/af-icon-button.entry.js.map +1 -0
- package/dist/esm/af-typography-lockup.entry.js +43 -0
- package/dist/esm/af-typography-lockup.entry.js.map +1 -0
- package/dist/esm/affinda.js +3 -3
- package/dist/esm/{index-DIoXjiux.js → index-DxVtR6vj.js} +34 -6
- package/dist/esm/index-DxVtR6vj.js.map +1 -0
- package/dist/esm/index.js +6 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/af-button/af-button.d.ts +23 -0
- package/dist/types/components/af-button-group/af-button-group.d.ts +11 -0
- package/dist/types/components/af-icon-button/af-icon-button.d.ts +27 -0
- package/dist/types/components/af-logo/af-logo.d.ts +6 -0
- package/dist/types/components/af-navbar/af-navbar.d.ts +7 -0
- package/dist/types/components/af-typography-lockup/af-typography-lockup.d.ts +23 -0
- package/dist/types/components.d.ts +278 -0
- package/package.json +13 -13
- package/dist/affinda/af-heading.af-nav-item.af-text.entry.esm.js.map +0 -1
- package/dist/affinda/p-96c74b41.entry.js +0 -2
- package/dist/affinda/p-96c74b41.entry.js.map +0 -1
- package/dist/affinda/p-DIoXjiux.js +0 -3
- package/dist/affinda/p-DIoXjiux.js.map +0 -1
- package/dist/cjs/af-heading.af-nav-item.af-text.entry.cjs.js.map +0 -1
- package/dist/cjs/af-heading_3.cjs.entry.js +0 -102
- package/dist/cjs/index-DHjsui2n.js.map +0 -1
- package/dist/collection/assets/icons/account-01.svg +0 -3
- package/dist/collection/assets/icons/account-02.svg +0 -3
- package/dist/collection/assets/icons/accounts-payable.svg +0 -3
- package/dist/collection/assets/icons/arrow-down.svg +0 -3
- package/dist/collection/assets/icons/arrow-left.svg +0 -3
- package/dist/collection/assets/icons/arrow-right.svg +0 -3
- package/dist/collection/assets/icons/arrow-up.svg +0 -3
- package/dist/collection/assets/icons/bpo.svg +0 -3
- package/dist/collection/assets/icons/chats.svg +0 -3
- package/dist/collection/assets/icons/check-circle.svg +0 -3
- package/dist/collection/assets/icons/check.svg +0 -3
- package/dist/collection/assets/icons/chevron-down.svg +0 -3
- package/dist/collection/assets/icons/chevron-left.svg +0 -3
- package/dist/collection/assets/icons/chevron-right.svg +0 -3
- package/dist/collection/assets/icons/chevron-up.svg +0 -3
- package/dist/collection/assets/icons/close.svg +0 -3
- package/dist/collection/assets/icons/code.svg +0 -3
- package/dist/collection/assets/icons/data.svg +0 -3
- package/dist/collection/assets/icons/document-upload.svg +0 -3
- package/dist/collection/assets/icons/download.svg +0 -3
- package/dist/collection/assets/icons/edit.svg +0 -3
- package/dist/collection/assets/icons/email.svg +0 -3
- package/dist/collection/assets/icons/eye.svg +0 -3
- package/dist/collection/assets/icons/facebook.svg +0 -3
- package/dist/collection/assets/icons/gear.svg +0 -3
- package/dist/collection/assets/icons/github.svg +0 -3
- package/dist/collection/assets/icons/heart.svg +0 -3
- package/dist/collection/assets/icons/home.svg +0 -3
- package/dist/collection/assets/icons/info.svg +0 -3
- package/dist/collection/assets/icons/insurance.svg +0 -3
- package/dist/collection/assets/icons/lending-01.svg +0 -3
- package/dist/collection/assets/icons/lending-02.svg +0 -3
- package/dist/collection/assets/icons/link-out.svg +0 -3
- package/dist/collection/assets/icons/linkedin.svg +0 -3
- package/dist/collection/assets/icons/map-pin.svg +0 -3
- package/dist/collection/assets/icons/menu.svg +0 -3
- package/dist/collection/assets/icons/minus.svg +0 -3
- package/dist/collection/assets/icons/numbers.svg +0 -16
- package/dist/collection/assets/icons/pause.svg +0 -3
- package/dist/collection/assets/icons/play.svg +0 -3
- package/dist/collection/assets/icons/plus.svg +0 -3
- package/dist/collection/assets/icons/productivity.svg +0 -3
- package/dist/collection/assets/icons/quote.svg +0 -3
- package/dist/collection/assets/icons/recruitment.svg +0 -3
- package/dist/collection/assets/icons/refresh.svg +0 -3
- package/dist/collection/assets/icons/search.svg +0 -3
- package/dist/collection/assets/icons/security-01.svg +0 -3
- package/dist/collection/assets/icons/security-02.svg +0 -3
- package/dist/collection/assets/icons/solutions.svg +0 -3
- package/dist/collection/assets/icons/support.svg +0 -3
- package/dist/collection/assets/icons/system.svg +0 -3
- package/dist/collection/assets/icons/time.svg +0 -3
- package/dist/collection/assets/icons/verification-01.svg +0 -3
- package/dist/collection/assets/icons/wand.svg +0 -3
- package/dist/collection/assets/icons/x.svg +0 -3
- package/dist/collection/assets/icons/youtube.svg +0 -3
- package/dist/collection/assets/illustrations/accuracy-inkwell.svg +0 -101
- package/dist/collection/assets/illustrations/accuracy-mist-green.svg +0 -101
- package/dist/collection/assets/illustrations/accuracy-soft-clay.svg +0 -101
- package/dist/collection/assets/illustrations/accuracy-white-ivory.svg +0 -101
- package/dist/collection/assets/illustrations/automate-inkwell.svg +0 -149
- package/dist/collection/assets/illustrations/automate-mist-green.svg +0 -149
- package/dist/collection/assets/illustrations/automate-soft-clay.svg +0 -149
- package/dist/collection/assets/illustrations/automate-white-ivory.svg +0 -149
- package/dist/collection/assets/illustrations/document-raise-inkwell.svg +0 -131
- package/dist/collection/assets/illustrations/document-raise-mist-green.svg +0 -131
- package/dist/collection/assets/illustrations/document-raise-soft-clay.svg +0 -131
- package/dist/collection/assets/illustrations/document-raise-white-ivory.svg +0 -131
- package/dist/collection/assets/illustrations/document-type-inkwell.svg +0 -150
- package/dist/collection/assets/illustrations/document-type-mist-green.svg +0 -150
- package/dist/collection/assets/illustrations/document-type-soft-clay.svg +0 -150
- package/dist/collection/assets/illustrations/document-type-white-ivory.svg +0 -150
- package/dist/collection/assets/illustrations/grow-business-inkwell.svg +0 -116
- package/dist/collection/assets/illustrations/grow-business-mist-green.svg +0 -129
- package/dist/collection/assets/illustrations/grow-business-soft-clay.svg +0 -129
- package/dist/collection/assets/illustrations/grow-business-white-ivory.svg +0 -129
- package/dist/collection/assets/illustrations/industries-inkwell.svg +0 -30
- package/dist/collection/assets/illustrations/industries-mist-green.svg +0 -30
- package/dist/collection/assets/illustrations/industries-soft-clay.svg +0 -30
- package/dist/collection/assets/illustrations/industries-white-ivory.svg +0 -41
- package/dist/collection/assets/illustrations/intelligence-inkwell.svg +0 -65
- package/dist/collection/assets/illustrations/intelligence-mist-green.svg +0 -65
- package/dist/collection/assets/illustrations/intelligence-soft-clay.svg +0 -65
- package/dist/collection/assets/illustrations/intelligence-white-ivory.svg +0 -65
- package/dist/collection/assets/illustrations/page-turn-inkwell.svg +0 -125
- package/dist/collection/assets/illustrations/page-turn-mist-green.svg +0 -125
- package/dist/collection/assets/illustrations/page-turn-soft-clay.svg +0 -125
- package/dist/collection/assets/illustrations/page-turn-white-ivory.svg +0 -125
- package/dist/collection/assets/illustrations/shapes-inkwell.svg +0 -65
- package/dist/collection/assets/illustrations/shapes-mist-green.svg +0 -65
- package/dist/collection/assets/illustrations/shapes-soft-clay.svg +0 -65
- package/dist/collection/assets/illustrations/shapes-white-ivory.svg +0 -65
- package/dist/collection/assets/illustrations/team-leader-inkwell.svg +0 -106
- package/dist/collection/assets/illustrations/team-leader-mist-green.svg +0 -106
- package/dist/collection/assets/illustrations/team-leader-soft-clay.svg +0 -106
- package/dist/collection/assets/illustrations/team-leader-white-ivory.svg +0 -106
- package/dist/collection/assets/illustrations/thinking-inkwell.svg +0 -89
- package/dist/collection/assets/illustrations/thinking-mist-green.svg +0 -89
- package/dist/collection/assets/illustrations/thinking-soft-clay.svg +0 -89
- package/dist/collection/assets/illustrations/thinking-white-ivory.svg +0 -89
- package/dist/components/p-Ntwn3krC.js.map +0 -1
- package/dist/components/p-TaHgCKVa.js.map +0 -1
- package/dist/esm/af-heading.af-nav-item.af-text.entry.js.map +0 -1
- package/dist/esm/af-heading_3.entry.js +0 -98
- package/dist/esm/index-DIoXjiux.js.map +0 -1
- /package/dist/affinda/{p-f79068a7.entry.js.map → p-8d3b4917.entry.js.map} +0 -0
- /package/dist/affinda/{p-ccdcebe9.entry.js.map → p-9d0e6ed1.entry.js.map} +0 -0
- /package/dist/affinda/{p-a6a8ecde.entry.js.map → p-cbb06a14.entry.js.map} +0 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
export class AfTypographyLockup {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* The heading size (1-5, where 1 is largest)
|
|
6
|
+
*/
|
|
7
|
+
this.headingSize = 2;
|
|
8
|
+
/**
|
|
9
|
+
* The breakpoint for responsive typography
|
|
10
|
+
*/
|
|
11
|
+
this.breakpoint = 'desktop';
|
|
12
|
+
/**
|
|
13
|
+
* Text alignment
|
|
14
|
+
*/
|
|
15
|
+
this.textAlignment = 'left';
|
|
16
|
+
/**
|
|
17
|
+
* Button alignment (horizontal or vertical stacking)
|
|
18
|
+
*/
|
|
19
|
+
this.buttonAlignment = 'vertical';
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
const containerClasses = {
|
|
23
|
+
'lockup': true,
|
|
24
|
+
[`text-${this.textAlignment}`]: true,
|
|
25
|
+
[`button-${this.buttonAlignment}`]: true
|
|
26
|
+
};
|
|
27
|
+
const copyClasses = {
|
|
28
|
+
'copy': true,
|
|
29
|
+
[`heading-${this.headingSize}`]: true,
|
|
30
|
+
[`breakpoint-${this.breakpoint}`]: true
|
|
31
|
+
};
|
|
32
|
+
const copyStyle = this.maxWidth ? { maxWidth: `${this.maxWidth}px` } : {};
|
|
33
|
+
return (h(Host, { key: '7a748e23cc9262e4cf73abacf51951545228344c' }, h("div", { key: '443df8d7086ae8daf88f3827551219138dab43bb', class: containerClasses }, h("div", { key: 'efbf2467f36e2888bd4892524fb3d09b21b2ddfd', class: copyClasses, style: copyStyle }, h("div", { key: 'eb206a7d2e5c364a96295b11f83a87784c342ced', class: "heading" }, h("slot", { key: '360e15b14fbeeffd01fc55b2e0552bad530a337f' })), h("div", { key: '3b76ff5527eb52c382554f470991a05cbaf8e1e3', class: "description" }, h("slot", { key: '4e9f291edeac066abf2d1e416b846b9d1cbee2dc', name: "description" }))), h("div", { key: 'ff84e9ce823763b7570109d02b10d3039adefe61', class: "buttons" }, h("slot", { key: '36d0cc47a688c23c55d449a8f8e37b6f4be93d23', name: "buttons" })))));
|
|
34
|
+
}
|
|
35
|
+
static get is() { return "af-typography-lockup"; }
|
|
36
|
+
static get encapsulation() { return "shadow"; }
|
|
37
|
+
static get originalStyleUrls() {
|
|
38
|
+
return {
|
|
39
|
+
"$": ["af-typography-lockup.css"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
static get styleUrls() {
|
|
43
|
+
return {
|
|
44
|
+
"$": ["af-typography-lockup.css"]
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static get properties() {
|
|
48
|
+
return {
|
|
49
|
+
"headingSize": {
|
|
50
|
+
"type": "number",
|
|
51
|
+
"mutable": false,
|
|
52
|
+
"complexType": {
|
|
53
|
+
"original": "1 | 2 | 3 | 4 | 5",
|
|
54
|
+
"resolved": "1 | 2 | 3 | 4 | 5",
|
|
55
|
+
"references": {}
|
|
56
|
+
},
|
|
57
|
+
"required": false,
|
|
58
|
+
"optional": false,
|
|
59
|
+
"docs": {
|
|
60
|
+
"tags": [],
|
|
61
|
+
"text": "The heading size (1-5, where 1 is largest)"
|
|
62
|
+
},
|
|
63
|
+
"getter": false,
|
|
64
|
+
"setter": false,
|
|
65
|
+
"reflect": false,
|
|
66
|
+
"attribute": "heading-size",
|
|
67
|
+
"defaultValue": "2"
|
|
68
|
+
},
|
|
69
|
+
"breakpoint": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "'desktop' | 'mobile'",
|
|
74
|
+
"resolved": "\"desktop\" | \"mobile\"",
|
|
75
|
+
"references": {}
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"optional": false,
|
|
79
|
+
"docs": {
|
|
80
|
+
"tags": [],
|
|
81
|
+
"text": "The breakpoint for responsive typography"
|
|
82
|
+
},
|
|
83
|
+
"getter": false,
|
|
84
|
+
"setter": false,
|
|
85
|
+
"reflect": false,
|
|
86
|
+
"attribute": "breakpoint",
|
|
87
|
+
"defaultValue": "'desktop'"
|
|
88
|
+
},
|
|
89
|
+
"textAlignment": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"mutable": false,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "'left' | 'center'",
|
|
94
|
+
"resolved": "\"center\" | \"left\"",
|
|
95
|
+
"references": {}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": false,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": "Text alignment"
|
|
102
|
+
},
|
|
103
|
+
"getter": false,
|
|
104
|
+
"setter": false,
|
|
105
|
+
"reflect": false,
|
|
106
|
+
"attribute": "text-alignment",
|
|
107
|
+
"defaultValue": "'left'"
|
|
108
|
+
},
|
|
109
|
+
"buttonAlignment": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "'horizontal' | 'vertical'",
|
|
114
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"optional": false,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [],
|
|
121
|
+
"text": "Button alignment (horizontal or vertical stacking)"
|
|
122
|
+
},
|
|
123
|
+
"getter": false,
|
|
124
|
+
"setter": false,
|
|
125
|
+
"reflect": false,
|
|
126
|
+
"attribute": "button-alignment",
|
|
127
|
+
"defaultValue": "'vertical'"
|
|
128
|
+
},
|
|
129
|
+
"maxWidth": {
|
|
130
|
+
"type": "number",
|
|
131
|
+
"mutable": false,
|
|
132
|
+
"complexType": {
|
|
133
|
+
"original": "number",
|
|
134
|
+
"resolved": "number | undefined",
|
|
135
|
+
"references": {}
|
|
136
|
+
},
|
|
137
|
+
"required": false,
|
|
138
|
+
"optional": true,
|
|
139
|
+
"docs": {
|
|
140
|
+
"tags": [],
|
|
141
|
+
"text": "Maximum width for the copy section (in pixels)"
|
|
142
|
+
},
|
|
143
|
+
"getter": false,
|
|
144
|
+
"setter": false,
|
|
145
|
+
"reflect": false,
|
|
146
|
+
"attribute": "max-width"
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
//# sourceMappingURL=af-typography-lockup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"af-typography-lockup.js","sourceRoot":"","sources":["../../../src/components/af-typography-lockup/af-typography-lockup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,kBAAkB;IAL/B;QAME;;WAEG;QACK,gBAAW,GAAsB,CAAC,CAAC;QAE3C;;WAEG;QACK,eAAU,GAAyB,SAAS,CAAC;QAErD;;WAEG;QACK,kBAAa,GAAsB,MAAM,CAAC;QAElD;;WAEG;QACK,oBAAe,GAA8B,UAAU,CAAC;KAwCjE;IAjCC,MAAM;QACJ,MAAM,gBAAgB,GAAG;YACvB,QAAQ,EAAE,IAAI;YACd,CAAC,QAAQ,IAAI,CAAC,aAAa,EAAE,CAAC,EAAE,IAAI;YACpC,CAAC,UAAU,IAAI,CAAC,eAAe,EAAE,CAAC,EAAE,IAAI;SACzC,CAAC;QAEF,MAAM,WAAW,GAAG;YAClB,MAAM,EAAE,IAAI;YACZ,CAAC,WAAW,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,IAAI;YACrC,CAAC,cAAc,IAAI,CAAC,UAAU,EAAE,CAAC,EAAE,IAAI;SACxC,CAAC;QAEF,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAE1E,OAAO,CACL,EAAC,IAAI;YACH,4DAAK,KAAK,EAAE,gBAAgB;gBAC1B,4DAAK,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS;oBACvC,4DAAK,KAAK,EAAC,SAAS;wBAClB,8DAAa,CACT;oBACN,4DAAK,KAAK,EAAC,aAAa;wBACtB,6DAAM,IAAI,EAAC,aAAa,GAAQ,CAC5B,CACF;gBACN,4DAAK,KAAK,EAAC,SAAS;oBAClB,6DAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, Host } from '@stencil/core';\n\n@Component({\n tag: 'af-typography-lockup',\n styleUrl: 'af-typography-lockup.css',\n shadow: true\n})\nexport class AfTypographyLockup {\n /**\n * The heading size (1-5, where 1 is largest)\n */\n @Prop() headingSize: 1 | 2 | 3 | 4 | 5 = 2;\n\n /**\n * The breakpoint for responsive typography\n */\n @Prop() breakpoint: 'desktop' | 'mobile' = 'desktop';\n\n /**\n * Text alignment\n */\n @Prop() textAlignment: 'left' | 'center' = 'left';\n\n /**\n * Button alignment (horizontal or vertical stacking)\n */\n @Prop() buttonAlignment: 'horizontal' | 'vertical' = 'vertical';\n\n /**\n * Maximum width for the copy section (in pixels)\n */\n @Prop() maxWidth?: number;\n\n render() {\n const containerClasses = {\n 'lockup': true,\n [`text-${this.textAlignment}`]: true,\n [`button-${this.buttonAlignment}`]: true\n };\n\n const copyClasses = {\n 'copy': true,\n [`heading-${this.headingSize}`]: true,\n [`breakpoint-${this.breakpoint}`]: true\n };\n\n const copyStyle = this.maxWidth ? { maxWidth: `${this.maxWidth}px` } : {};\n\n return (\n <Host>\n <div class={containerClasses}>\n <div class={copyClasses} style={copyStyle}>\n <div class=\"heading\">\n <slot></slot>\n </div>\n <div class=\"description\">\n <slot name=\"description\"></slot>\n </div>\n </div>\n <div class=\"buttons\">\n <slot name=\"buttons\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -4,4 +4,10 @@ export { AfColorSwatch } from './components/af-color-swatch/af-color-swatch';
|
|
|
4
4
|
export { AfContainer } from './components/af-container/af-container';
|
|
5
5
|
export { AfAspectRatio } from './components/af-aspect-ratio/af-aspect-ratio';
|
|
6
6
|
export { AfNavItem } from './components/af-nav-item/af-nav-item';
|
|
7
|
+
export { AfNavbar } from './components/af-navbar/af-navbar';
|
|
8
|
+
export { AfLogo } from './components/af-logo/af-logo';
|
|
9
|
+
export { AfButton } from './components/af-button/af-button';
|
|
10
|
+
export { AfIconButton } from './components/af-icon-button/af-icon-button';
|
|
11
|
+
export { AfButtonGroup } from './components/af-button-group/af-button-group';
|
|
12
|
+
export { AfTypographyLockup } from './components/af-typography-lockup/af-typography-lockup';
|
|
7
13
|
//# sourceMappingURL=components.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC","sourcesContent":["export { AfHeading } from './components/af-heading/af-heading';\nexport { AfText } from './components/af-text/af-text';\nexport { AfColorSwatch } from './components/af-color-swatch/af-color-swatch';\nexport { AfContainer } from './components/af-container/af-container';\nexport { AfAspectRatio } from './components/af-aspect-ratio/af-aspect-ratio';\nexport { AfNavItem } from './components/af-nav-item/af-nav-item';\n"]}
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC","sourcesContent":["export { AfHeading } from './components/af-heading/af-heading';\nexport { AfText } from './components/af-text/af-text';\nexport { AfColorSwatch } from './components/af-color-swatch/af-color-swatch';\nexport { AfContainer } from './components/af-container/af-container';\nexport { AfAspectRatio } from './components/af-aspect-ratio/af-aspect-ratio';\nexport { AfNavItem } from './components/af-nav-item/af-nav-item';\nexport { AfNavbar } from './components/af-navbar/af-navbar';\nexport { AfLogo } from './components/af-logo/af-logo';\nexport { AfButton } from './components/af-button/af-button';\nexport { AfIconButton } from './components/af-icon-button/af-icon-button';\nexport { AfButtonGroup } from './components/af-button-group/af-button-group';\nexport { AfTypographyLockup } from './components/af-typography-lockup/af-typography-lockup';\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface AfButtonGroup extends Components.AfButtonGroup, HTMLElement {}
|
|
4
|
+
export const AfButtonGroup: {
|
|
5
|
+
prototype: AfButtonGroup;
|
|
6
|
+
new (): AfButtonGroup;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { A as AfButtonGroup$1, d as defineCustomElement$1 } from './p-BfmeW04T.js';
|
|
2
|
+
|
|
3
|
+
const AfButtonGroup = AfButtonGroup$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { AfButtonGroup, defineCustomElement };
|
|
7
|
+
//# sourceMappingURL=af-button-group.js.map
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=af-button-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"af-button-group.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface AfButton extends Components.AfButton, HTMLElement {}
|
|
4
|
+
export const AfButton: {
|
|
5
|
+
prototype: AfButton;
|
|
6
|
+
new (): AfButton;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { A as AfButton$1, d as defineCustomElement$1 } from './p-uhOM63Ux.js';
|
|
2
|
+
|
|
3
|
+
const AfButton = AfButton$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { AfButton, defineCustomElement };
|
|
7
|
+
//# sourceMappingURL=af-button.js.map
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=af-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"af-button.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface AfIconButton extends Components.AfIconButton, HTMLElement {}
|
|
4
|
+
export const AfIconButton: {
|
|
5
|
+
prototype: AfIconButton;
|
|
6
|
+
new (): AfIconButton;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { A as AfIconButton$1, d as defineCustomElement$1 } from './p-BoU5qaPt.js';
|
|
2
|
+
|
|
3
|
+
const AfIconButton = AfIconButton$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { AfIconButton, defineCustomElement };
|
|
7
|
+
//# sourceMappingURL=af-icon-button.js.map
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=af-icon-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"af-icon-button.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface AfLogo extends Components.AfLogo, HTMLElement {}
|
|
4
|
+
export const AfLogo: {
|
|
5
|
+
prototype: AfLogo;
|
|
6
|
+
new (): AfLogo;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { A as AfLogo$1, d as defineCustomElement$1 } from './p-zBrKMKWE.js';
|
|
2
|
+
|
|
3
|
+
const AfLogo = AfLogo$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { AfLogo, defineCustomElement };
|
|
7
|
+
//# sourceMappingURL=af-logo.js.map
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=af-logo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"af-logo.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface AfNavbar extends Components.AfNavbar, HTMLElement {}
|
|
4
|
+
export const AfNavbar: {
|
|
5
|
+
prototype: AfNavbar;
|
|
6
|
+
new (): AfNavbar;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { A as AfNavbar$1, d as defineCustomElement$1 } from './p-B17zxKkI.js';
|
|
2
|
+
|
|
3
|
+
const AfNavbar = AfNavbar$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { AfNavbar, defineCustomElement };
|
|
7
|
+
//# sourceMappingURL=af-navbar.js.map
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=af-navbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"af-navbar.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface AfTypographyLockup extends Components.AfTypographyLockup, HTMLElement {}
|
|
4
|
+
export const AfTypographyLockup: {
|
|
5
|
+
prototype: AfTypographyLockup;
|
|
6
|
+
new (): AfTypographyLockup;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { A as AfTypographyLockup$1, d as defineCustomElement$1 } from './p-DcFGu6up.js';
|
|
2
|
+
|
|
3
|
+
const AfTypographyLockup = AfTypographyLockup$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { AfTypographyLockup, defineCustomElement };
|
|
7
|
+
//# sourceMappingURL=af-typography-lockup.js.map
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=af-typography-lockup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"af-typography-lockup.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
package/dist/components/index.js
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
export { g as getAssetPath, r as render, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-
|
|
2
|
-
export { A as AfHeading } from './p-
|
|
3
|
-
export { A as AfText } from './p-
|
|
4
|
-
export { A as AfColorSwatch } from './p-
|
|
5
|
-
export { A as AfContainer } from './p-
|
|
6
|
-
export { A as AfAspectRatio } from './p-
|
|
7
|
-
export { A as AfNavItem } from './p-
|
|
1
|
+
export { g as getAssetPath, r as render, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-CzaQ1fCu.js';
|
|
2
|
+
export { A as AfHeading } from './p-BJDmHNDi.js';
|
|
3
|
+
export { A as AfText } from './p-CT_9_xN3.js';
|
|
4
|
+
export { A as AfColorSwatch } from './p-LEksuu7O.js';
|
|
5
|
+
export { A as AfContainer } from './p-DfIqdEs7.js';
|
|
6
|
+
export { A as AfAspectRatio } from './p-DqIqR4VU.js';
|
|
7
|
+
export { A as AfNavItem } from './p-DG7Mtz0G.js';
|
|
8
|
+
export { A as AfNavbar } from './p-B17zxKkI.js';
|
|
9
|
+
export { A as AfLogo } from './p-zBrKMKWE.js';
|
|
10
|
+
export { A as AfButton } from './p-uhOM63Ux.js';
|
|
11
|
+
export { A as AfIconButton } from './p-BoU5qaPt.js';
|
|
12
|
+
export { A as AfButtonGroup } from './p-BfmeW04T.js';
|
|
13
|
+
export { A as AfTypographyLockup } from './p-DcFGu6up.js';
|
|
8
14
|
//# sourceMappingURL=index.js.map
|
|
9
15
|
|
|
10
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"index.js","mappings":"
|
|
1
|
+
{"file":"index.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-CzaQ1fCu.js';
|
|
2
|
+
|
|
3
|
+
const afNavbarCss = ":host{display:block;width:100%}.navbar-container{padding:32px 80px 0;box-sizing:border-box}.navbar{background:#E8F1EF;border:1px solid rgba(0, 0, 0, 0.12);border-radius:9999px;display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 40px;box-sizing:border-box;box-shadow:0 2px 8px rgba(0, 0, 0, 0.08)}.navbar-left{display:flex;align-items:center;gap:32px}.logo{display:flex;align-items:center;flex-shrink:0}.nav-links{display:flex;align-items:center;gap:8px}.navbar-right{display:flex;align-items:center;gap:20px}.nav-actions{display:flex;align-items:center;gap:12px}.nav-button{display:flex;align-items:center}@media (max-width: 1024px){.navbar-container{padding:24px 40px 0}.navbar-left{gap:24px}.nav-links{gap:4px}}@media (max-width: 767px){.navbar-container{padding:16px 16px 0}.navbar{padding:8px 16px;flex-direction:column;border-radius:16px;gap:16px}.navbar-left{width:100%;flex-direction:column;gap:16px;align-items:flex-start}.nav-links{width:100%;flex-direction:column;align-items:stretch;gap:0}.navbar-right{width:100%;flex-direction:column;gap:12px;align-items:stretch}.nav-actions{width:100%;flex-direction:column;align-items:stretch;gap:0}.nav-button{width:100%}}";
|
|
4
|
+
|
|
5
|
+
const AfNavbar = /*@__PURE__*/ proxyCustomElement(class AfNavbar extends H {
|
|
6
|
+
constructor(registerHost) {
|
|
7
|
+
super();
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h(Host, { key: 'a66b7e6939aebec67d26604dea422ec2e64fe6bd' }, h("nav", { key: '54064edc20beeafacafd2b43b25bfa9fc6e0e362', class: "navbar-container" }, h("div", { key: '2020a0761f646c0a13cc604605d3b9d5b1625278', class: "navbar" }, h("div", { key: '6038de1eba48a2bedf7e689bb65521406fc6b8b1', class: "navbar-left" }, h("div", { key: '63f31053e7d3d1402f2a1e88a4ae2171f9e00d4f', class: "logo" }, h("slot", { key: 'bf73abaf20be9cfcaa6328fe8ac224d109944bef', name: "logo" })), h("div", { key: 'c9cc09537d26c55d319f08c4622b17248f6ffba4', class: "nav-links" }, h("slot", { key: '5c2d8df163e2fd9967492d39522df1e11dfcd977', name: "links" }))), h("div", { key: '45265b4d765ad52a33f81efa80e9daa910948e1c', class: "navbar-right" }, h("div", { key: '48c913dd3d8fa17ee7eb2e9a41f9493929cd7af0', class: "nav-actions" }, h("slot", { key: 'cbfecec0a3b95935f707a4bbded5ce8aae0e9270', name: "actions" })), h("div", { key: 'e8cd7adf6f5a537b9a2552b467f6671f312ab0c1', class: "nav-button" }, h("slot", { key: '9dd578f3d67b32642cc6fbd49a5f3736e55c04f1', name: "button" })))))));
|
|
15
|
+
}
|
|
16
|
+
static get style() { return afNavbarCss; }
|
|
17
|
+
}, [257, "af-navbar"]);
|
|
18
|
+
function defineCustomElement() {
|
|
19
|
+
if (typeof customElements === "undefined") {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const components = ["af-navbar"];
|
|
23
|
+
components.forEach(tagName => { switch (tagName) {
|
|
24
|
+
case "af-navbar":
|
|
25
|
+
if (!customElements.get(tagName)) {
|
|
26
|
+
customElements.define(tagName, AfNavbar);
|
|
27
|
+
}
|
|
28
|
+
break;
|
|
29
|
+
} });
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { AfNavbar as A, defineCustomElement as d };
|
|
33
|
+
//# sourceMappingURL=p-B17zxKkI.js.map
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=p-B17zxKkI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-B17zxKkI.js","mappings":";;AAAA,MAAM,WAAW,GAAG,orCAAorC;;MCW3rC,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;;;;;;;;IACnB,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAC3B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,QAAQ,EAAA,EAEjB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,aAAa,EAAA,EACtB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,MAAM,EAAA,EACf,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,EAAA,CAAQ,CACrB,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,WAAW,EAAA,EACpB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,OAAO,EAAA,CAAQ,CACtB,CACF,EAGN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,cAAc,EAAA,EACvB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,aAAa,EAAA,EACtB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,SAAS,EAAA,CAAQ,CACxB,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,YAAY,EAAA,EACrB,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,QAAQ,EAAQ,CAAA,CACvB,CACF,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/af-navbar/af-navbar.css?tag=af-navbar&encapsulation=shadow","src/components/af-navbar/af-navbar.tsx"],"sourcesContent":[":host {\n display: block;\n width: 100%;\n}\n\n.navbar-container {\n padding: 32px 80px 0;\n box-sizing: border-box;\n}\n\n.navbar {\n background: #E8F1EF;\n border: 1px solid rgba(0, 0, 0, 0.12);\n border-radius: 9999px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 8px 8px 8px 40px;\n box-sizing: border-box;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);\n}\n\n/* Left section */\n.navbar-left {\n display: flex;\n align-items: center;\n gap: 32px;\n}\n\n.logo {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n}\n\n.nav-links {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n/* Right section */\n.navbar-right {\n display: flex;\n align-items: center;\n gap: 20px;\n}\n\n.nav-actions {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n\n.nav-button {\n display: flex;\n align-items: center;\n}\n\n/* Tablet adjustments */\n@media (max-width: 1024px) {\n .navbar-container {\n padding: 24px 40px 0;\n }\n\n .navbar-left {\n gap: 24px;\n }\n\n .nav-links {\n gap: 4px;\n }\n}\n\n/* Mobile adjustments */\n@media (max-width: 767px) {\n .navbar-container {\n padding: 16px 16px 0;\n }\n\n .navbar {\n padding: 8px 16px;\n flex-direction: column;\n border-radius: 16px;\n gap: 16px;\n }\n\n .navbar-left {\n width: 100%;\n flex-direction: column;\n gap: 16px;\n align-items: flex-start;\n }\n\n .nav-links {\n width: 100%;\n flex-direction: column;\n align-items: stretch;\n gap: 0;\n }\n\n .navbar-right {\n width: 100%;\n flex-direction: column;\n gap: 12px;\n align-items: stretch;\n }\n\n .nav-actions {\n width: 100%;\n flex-direction: column;\n align-items: stretch;\n gap: 0;\n }\n\n .nav-button {\n width: 100%;\n }\n}\n","import { Component, h, Host } from '@stencil/core';\n\n/**\n * A full-width navigation bar component that provides the main site navigation.\n * Features a pill-shaped container with logo, navigation links, and action buttons.\n */\n@Component({\n tag: 'af-navbar',\n styleUrl: 'af-navbar.css',\n shadow: true\n})\nexport class AfNavbar {\n render() {\n return (\n <Host>\n <nav class=\"navbar-container\">\n <div class=\"navbar\">\n {/* Left section: Logo + Nav Links */}\n <div class=\"navbar-left\">\n <div class=\"logo\">\n <slot name=\"logo\"></slot>\n </div>\n <div class=\"nav-links\">\n <slot name=\"links\"></slot>\n </div>\n </div>\n\n {/* Right section: Actions + Button */}\n <div class=\"navbar-right\">\n <div class=\"nav-actions\">\n <slot name=\"actions\"></slot>\n </div>\n <div class=\"nav-button\">\n <slot name=\"button\"></slot>\n </div>\n </div>\n </div>\n </nav>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h } from './p-CzaQ1fCu.js';
|
|
2
2
|
|
|
3
3
|
const afHeadingCss = ":host{display:block}.heading{margin:0;padding:0;font-family:'NeuSans', 'Inter', 'Segoe UI', system-ui, sans-serif;font-weight:500;color:#14343b;letter-spacing:-0.02em}.align-left{text-align:left}.align-center{text-align:center}.align-right{text-align:right}.level-xl{font-size:50px;line-height:1}@media (min-width: 768px){.level-xl{font-size:80px}}.level-1{font-size:38px;line-height:1}@media (min-width: 768px){.level-1{font-size:56px}}.level-2{font-size:32px;line-height:1}@media (min-width: 768px){.level-2{font-size:44px}}.level-3{font-size:25px;line-height:1}@media (min-width: 768px){.level-3{font-size:34px}}.level-4{font-size:20px;line-height:1.1}@media (min-width: 768px){.level-4{font-size:24px;line-height:1.2}}.level-5{font-size:18px;line-height:1.1}@media (min-width: 768px){.level-5{font-size:20px;line-height:1.2}}";
|
|
4
4
|
|
|
@@ -54,6 +54,6 @@ function defineCustomElement() {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
export { AfHeading as A, defineCustomElement as d };
|
|
57
|
-
//# sourceMappingURL=p-
|
|
57
|
+
//# sourceMappingURL=p-BJDmHNDi.js.map
|
|
58
58
|
|
|
59
|
-
//# sourceMappingURL=p-
|
|
59
|
+
//# sourceMappingURL=p-BJDmHNDi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-BJDmHNDi.js","mappings":";;AAAA,MAAM,YAAY,GAAG,+zBAA+zB;;MCOv0B,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAuC,GAAG;;AAG/C,QAAA,IAAK,CAAA,KAAA,GAAgC,MAAM;AA+BpD;IA7BS,aAAa,GAAA;;AAEnB,QAAA,MAAM,MAAM,GAA2B;AACrC,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,GAAG,EAAE,IAAI;AACT,YAAA,GAAG,EAAE,IAAI;AACT,YAAA,GAAG,EAAE,IAAI;AACT,YAAA,GAAG,EAAE,IAAI;AACT,YAAA,GAAG,EAAE;SACN;QACD,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI;;IAGnC,MAAM,GAAA;AACJ,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,aAAa,EAAS;QAEvC,QACE,CAAA,CAAC,GAAG,EAAA,EAAA,GAAA,EAAA,0CAAA,EACF,KAAK,EAAE;AACL,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,CAAC,SAAS,IAAI,CAAC,KAAK,CAAE,CAAA,GAAG,IAAI;AAC7B,gBAAA,CAAC,SAAS,IAAI,CAAC,KAAK,CAAE,CAAA,GAAG;AAC1B,aAAA,EACD,IAAI,EAAC,MAAM,EAAA,EAEX,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACJ;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/af-heading/af-heading.css?tag=af-heading&encapsulation=shadow","src/components/af-heading/af-heading.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.heading {\n margin: 0;\n padding: 0;\n font-family: 'NeuSans', 'Inter', 'Segoe UI', system-ui, sans-serif;\n font-weight: 500;\n color: #14343b;\n letter-spacing: -0.02em;\n}\n\n/* Alignment */\n.align-left {\n text-align: left;\n}\n\n.align-center {\n text-align: center;\n}\n\n.align-right {\n text-align: right;\n}\n\n/* Heading XL */\n.level-xl {\n font-size: 50px;\n line-height: 1;\n}\n\n@media (min-width: 768px) {\n .level-xl {\n font-size: 80px;\n }\n}\n\n/* Heading 1 */\n.level-1 {\n font-size: 38px;\n line-height: 1;\n}\n\n@media (min-width: 768px) {\n .level-1 {\n font-size: 56px;\n }\n}\n\n/* Heading 2 */\n.level-2 {\n font-size: 32px;\n line-height: 1;\n}\n\n@media (min-width: 768px) {\n .level-2 {\n font-size: 44px;\n }\n}\n\n/* Heading 3 */\n.level-3 {\n font-size: 25px;\n line-height: 1;\n}\n\n@media (min-width: 768px) {\n .level-3 {\n font-size: 34px;\n }\n}\n\n/* Heading 4 */\n.level-4 {\n font-size: 20px;\n line-height: 1.1;\n}\n\n@media (min-width: 768px) {\n .level-4 {\n font-size: 24px;\n line-height: 1.2;\n }\n}\n\n/* Heading 5 */\n.level-5 {\n font-size: 18px;\n line-height: 1.1;\n}\n\n@media (min-width: 768px) {\n .level-5 {\n font-size: 20px;\n line-height: 1.2;\n }\n}\n","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"],"version":3}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-CzaQ1fCu.js';
|
|
2
|
+
|
|
3
|
+
const afButtonGroupCss = ":host{display:inline-block}.button-group{display:inline-flex;align-items:center;box-sizing:border-box}.direction-horizontal{flex-direction:row}.direction-vertical{flex-direction:column}::slotted(*){flex-shrink:0}";
|
|
4
|
+
|
|
5
|
+
const AfButtonGroup = /*@__PURE__*/ proxyCustomElement(class AfButtonGroup extends H {
|
|
6
|
+
constructor(registerHost) {
|
|
7
|
+
super();
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
/**
|
|
13
|
+
* Layout direction of the button group
|
|
14
|
+
*/
|
|
15
|
+
this.direction = 'horizontal';
|
|
16
|
+
/**
|
|
17
|
+
* Gap between buttons
|
|
18
|
+
*/
|
|
19
|
+
this.gap = '8px';
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
const classes = {
|
|
23
|
+
'button-group': true,
|
|
24
|
+
[`direction-${this.direction}`]: true
|
|
25
|
+
};
|
|
26
|
+
return (h(Host, { key: '9ef4ea3e4429646edb2d14a780763807d35ca438' }, h("div", { key: '8f61ec426b1f01cfd0ed91b6045e01cc1ecb1637', class: classes, style: { gap: this.gap } }, h("slot", { key: '06acb0d36cc96b311c228ba19039899a99d6a35d' }))));
|
|
27
|
+
}
|
|
28
|
+
static get style() { return afButtonGroupCss; }
|
|
29
|
+
}, [257, "af-button-group", {
|
|
30
|
+
"direction": [1],
|
|
31
|
+
"gap": [1]
|
|
32
|
+
}]);
|
|
33
|
+
function defineCustomElement() {
|
|
34
|
+
if (typeof customElements === "undefined") {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const components = ["af-button-group"];
|
|
38
|
+
components.forEach(tagName => { switch (tagName) {
|
|
39
|
+
case "af-button-group":
|
|
40
|
+
if (!customElements.get(tagName)) {
|
|
41
|
+
customElements.define(tagName, AfButtonGroup);
|
|
42
|
+
}
|
|
43
|
+
break;
|
|
44
|
+
} });
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { AfButtonGroup as A, defineCustomElement as d };
|
|
48
|
+
//# sourceMappingURL=p-BfmeW04T.js.map
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=p-BfmeW04T.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-BfmeW04T.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,sNAAsN;;MCOlO,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;AAL1B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAME;;AAEG;AACK,QAAA,IAAS,CAAA,SAAA,GAA8B,YAAY;AAE3D;;AAEG;AACK,QAAA,IAAG,CAAA,GAAA,GAAW,KAAK;AAgB5B;IAdC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,cAAc,EAAE,IAAI;AACpB,YAAA,CAAC,aAAa,IAAI,CAAC,SAAS,CAAE,CAAA,GAAG;SAClC;QAED,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,EAAA,EAC3C,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/af-button-group/af-button-group.css?tag=af-button-group&encapsulation=shadow","src/components/af-button-group/af-button-group.tsx"],"sourcesContent":[":host {\n display: inline-block;\n}\n\n.button-group {\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n}\n\n.direction-horizontal {\n flex-direction: row;\n}\n\n.direction-vertical {\n flex-direction: column;\n}\n\n/* Ensure slotted buttons align properly */\n::slotted(*) {\n flex-shrink: 0;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'af-button-group',\n styleUrl: 'af-button-group.css',\n shadow: true\n})\nexport class AfButtonGroup {\n /**\n * Layout direction of the button group\n */\n @Prop() direction: 'horizontal' | 'vertical' = 'horizontal';\n\n /**\n * Gap between buttons\n */\n @Prop() gap: string = '8px';\n\n render() {\n const classes = {\n 'button-group': true,\n [`direction-${this.direction}`]: true\n };\n\n return (\n <Host>\n <div class={classes} style={{ gap: this.gap }}>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|