diff --git a/components/vf-blockquote/CHANGELOG.md b/components/vf-blockquote/CHANGELOG.md
index 2e9473b57e..e0db6b9820 100644
--- a/components/vf-blockquote/CHANGELOG.md
+++ b/components/vf-blockquote/CHANGELOG.md
@@ -1,3 +1,11 @@
+### 1.2.1
+
+* Changed: Modified the Blockquote component in line with stakeholder requirements and to improve consistency
+* Added : Angular support for Blockquote component
+* Added : React support for Blockquote component
+* Documentation: Updated the documentation for blockquote as per new implementation
+* [Tracking issue](https://github.com/visual-framework/vf-core/issues/1945)
+
### 1.2.0
* adds context `if` statement to make it useable in vf-11ty.
diff --git a/components/vf-blockquote/README.md b/components/vf-blockquote/README.md
index 06183d136a..15a1c8e869 100755
--- a/components/vf-blockquote/README.md
+++ b/components/vf-blockquote/README.md
@@ -4,11 +4,130 @@
## About
-A way to quote and highlight text.
+The `vf-blockquote` highlights a section that is quoted from an external source.
## Usage
-The pullquote variant will be a decorative variation but has yet to be implemented, it may take inspiration from the [VF 1.3 pullquote](https://www.ebi.ac.uk/style-lab/websites/patterns/pullquotes.html).
+The `vf-blockquote` should be used to highlight texts from external sources like quotes and testimonials. It should be used for more than decorative purposes, ensuring that the text being quoted is relevant to the content of the page and adds value to the content. This component is not optimised for mobile devices.
+
+It should not be confused with a pull quote which highlights a section of text from the same source/page.
+
+Quotes should be as concise as possible. The impact of the blockquote is diminished when it has long texts as this overwhelms the reader.
+
+Provide proper attribution such as the name, source and relevant information to give credibility to the quote. The component allows you to add the image of the person, the name (Which can be linked to a profile or source page) and other attribution details.
+
+The blockquote is designed to be used on a white background, it is advisable to avoid using it on backgrounds with gradients, images or other colours. If the background colour is changed, ensure the contrast ratio between the texts and the background meet accessibility standards.
+
+
+### When to use
+
+- Quoting external sources such as individuals, experts, publications etc.
+- Testimonials and feedback can be highlighted using the `vf-blockquote`.
+
+### When not to use
+
+- Self-quoting or usage as a pull quote should be avoided in the context of the page/content. This component should not be used to highlight a portion of text from the same content.
+- `Vf-blockquotes` should not be used solely for decorative purposes, ensuring that the quoted text adds value to the content.
+
+### Accessibility
+
+- This component targets WCAG 2.1 AA accessibility.
+
+### Angular
+
+As of version 1.2.1 vf-blockquote has experimental Angular support.
+This package was generated with Angular version 15.2.0 and has been tested on application with Angular version 15.2.0.
+
+1. install `yarn add @visual-framework/vf-blockquote`
+2. import in your app.module
+ ```
+ import { VfBlockquoteAngularModule } from '@visual-framework/vf-blockquote/vf-blockquote.angular';
+
+ @NgModule({
+ imports: [VfBlockquoteAngularModule, YourOtherModules],
+ ...
+ })
+ ```
+3. can be used as
+ ```
+
++ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularComponent, decorators: [{ + type: Component, + args: [{ selector: 'vf-blockquote', template: ` +++ +++{{ quote }}+ +
++ ` }] + }], propDecorators: { id: [{ + type: Input + }], html: [{ + type: Input + }], text: [{ + type: Input + }], blockquote_text: [{ + type: Input + }], blockquote_author: [{ + type: Input + }], blockquote_author_href: [{ + type: Input + }], blockquote_author_details: [{ + type: Input + }], blockquote_author_imageurl: [{ + type: Input + }], override_class: [{ + type: Input + }] } }); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmYtYmxvY2txdW90ZS5hbmd1bGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3ZmLWJsb2NrcXVvdGUuYW5ndWxhci9zcmMvbGliL3ZmLWJsb2NrcXVvdGUuYW5ndWxhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7OztBQXVCekQsTUFBTSxPQUFPLDRCQUE0Qj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ja3F1b3RlX2F1dGhvcl9ocmVmID0gJyc7XG4gIEBJbnB1dCgpIGJsb2NrcXVvdGVfYXV0aG9yX2RldGFpbHMgPSAnJztcbiAgQElucHV0KCkgYmxvY2txdW90ZV9hdXRob3JfaW1hZ2V1cmwgPSAnJztcbiAgQElucHV0KCkgb3ZlcnJpZGVfY2xhc3MgPSAnJztcblxuICBjbGFzcyA9ICcnO1xuICBxdW90ZSA9ICcnO1xuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIC8vSW5pdGlhbGl6ZSAgc29tZXRoaW5nXG4gIH1cblxuICBuZ09uQ2hhbmdlcygpOiB2b2lkIHtcbiAgICB0aGlzLnNldFZhbHVlcygpO1xuICB9XG5cbiAgLyogU2V0IHZhbHVlcyBhcyBwZXIgaW5wdXQgYW5kIHVwZGF0ZWQgY2hhbmdlcyAqL1xuICBzZXRWYWx1ZXMoKTogdm9pZCB7XG4gICAgLyogQ29uZGl0aW9uYWwgc3R5bGVzLCBzdHJpbmdzLCBudWxsYWJsZXMsIGFycmF5cyBvZiBzdHlsZXMgKi9cbiAgICB0aGlzLmNsYXNzID0gJ3ZmLWJsb2NrcXVvdGUnO1xuICAgIHRoaXMuY2xhc3MgKz0gdGhpcy5vdmVycmlkZV9jbGFzcyA/IHRoaXMub3ZlcnJpZGVfY2xhc3MgOiAnJztcblxuICAgIC8qIElubmVyIGNvbnRlbnQgb2YgdGhlIHF1b3RlIGJhc2VkIG9uIHdoZXRoZXIgSFRNTCBvciBUZXh0ICovXG4gICAgdGhpcy5xdW90ZSA9IHRoaXMuYmxvY2txdW90ZV90ZXh0XG4gICAgICA/IHRoaXMuYmxvY2txdW90ZV90ZXh0XG4gICAgICA6IHRoaXMuaHRtbFxuICAgICAgPyB0aGlzLmh0bWxcbiAgICAgIDogdGhpcy50ZXh0O1xuICB9XG59XG4iXX0= \ No newline at end of file diff --git a/components/vf-blockquote/vf-blockquote.angular/esm2020/lib/vf-blockquote.angular.module.mjs b/components/vf-blockquote/vf-blockquote.angular/esm2020/lib/vf-blockquote.angular.module.mjs new file mode 100644 index 0000000000..d2538a9326 --- /dev/null +++ b/components/vf-blockquote/vf-blockquote.angular/esm2020/lib/vf-blockquote.angular.module.mjs @@ -0,0 +1,24 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { VfBlockquoteAngularComponent } from './vf-blockquote.angular.component'; +import * as i0 from "@angular/core"; +export class VfBlockquoteAngularModule { +} +VfBlockquoteAngularModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); +VfBlockquoteAngularModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, declarations: [VfBlockquoteAngularComponent], imports: [CommonModule], exports: [VfBlockquoteAngularComponent] }); +VfBlockquoteAngularModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, imports: [CommonModule] }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, decorators: [{ + type: NgModule, + args: [{ + declarations: [ + VfBlockquoteAngularComponent + ], + imports: [ + CommonModule + ], + exports: [ + VfBlockquoteAngularComponent + ] + }] + }] }); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmYtYmxvY2txdW90ZS5hbmd1bGFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3ZmLWJsb2NrcXVvdGUuYW5ndWxhci9zcmMvbGliL3ZmLWJsb2NrcXVvdGUuYW5ndWxhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUF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a/components/vf-blockquote/vf-blockquote.angular/esm2020/public-api.mjs b/components/vf-blockquote/vf-blockquote.angular/esm2020/public-api.mjs new file mode 100644 index 0000000000..a860d031b0 --- /dev/null +++ b/components/vf-blockquote/vf-blockquote.angular/esm2020/public-api.mjs @@ -0,0 +1,6 @@ +/* + * Public API Surface of vf-blockquote.angular + */ +export * from './lib/vf-blockquote.angular.component'; +export * from './lib/vf-blockquote.angular.module'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3ZmLWJsb2NrcXVvdGUuYW5ndWxhci9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsdUNBQXVDLENBQUM7QUFDdEQsY0FBYyxvQ0FBb0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgdmYtYmxvY2txdW90ZS5hbmd1bGFyXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvdmYtYmxvY2txdW90ZS5hbmd1bGFyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi92Zi1ibG9ja3F1b3RlLmFuZ3VsYXIubW9kdWxlJztcbiJdfQ== \ No newline at end of file diff --git a/components/vf-blockquote/vf-blockquote.angular/esm2020/vf-blockquote.angular.mjs b/components/vf-blockquote/vf-blockquote.angular/esm2020/vf-blockquote.angular.mjs new file mode 100644 index 0000000000..1bb58161c7 --- /dev/null +++ b/components/vf-blockquote/vf-blockquote.angular/esm2020/vf-blockquote.angular.mjs @@ -0,0 +1,5 @@ +/** + * Generated bundle index. Do not edit. + */ +export * from './public-api'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmYtYmxvY2txdW90ZS5hbmd1bGFyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvdmYtYmxvY2txdW90ZS5hbmd1bGFyL3NyYy92Zi1ibG9ja3F1b3RlLmFuZ3VsYXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ== \ No newline at end of file diff --git a/components/vf-blockquote/vf-blockquote.angular/fesm2015/vf-blockquote.angular.mjs b/components/vf-blockquote/vf-blockquote.angular/fesm2015/vf-blockquote.angular.mjs new file mode 100644 index 0000000000..4291ce59a7 --- /dev/null +++ b/components/vf-blockquote/vf-blockquote.angular/fesm2015/vf-blockquote.angular.mjs @@ -0,0 +1,124 @@ +import * as i0 from '@angular/core'; +import { Component, Input, NgModule } from '@angular/core'; +import * as i1 from '@angular/common'; +import { CommonModule } from '@angular/common'; + +class VfBlockquoteAngularComponent { + constructor() { + this.html = ''; + this.text = ''; + this.blockquote_text = ''; + this.blockquote_author = ''; + this.blockquote_author_href = ''; + this.blockquote_author_details = ''; + this.blockquote_author_imageurl = ''; + this.override_class = ''; + this.class = ''; + this.quote = ''; + } + ngOnInit() { + //Initialize something + } + ngOnChanges() { + this.setValues(); + } + /* Set values as per input and updated changes */ + setValues() { + /* Conditional styles, strings, nullables, arrays of styles */ + this.class = 'vf-blockquote'; + this.class += this.override_class ? this.override_class : ''; + /* Inner content of the quote based on whether HTML or Text */ + this.quote = this.blockquote_text + ? this.blockquote_text + : this.html + ? this.html + : this.text; + } +} +VfBlockquoteAngularComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); +VfBlockquoteAngularComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: VfBlockquoteAngularComponent, selector: "vf-blockquote", inputs: { id: "id", html: "html", text: "text", blockquote_text: "blockquote_text", blockquote_author: "blockquote_author", blockquote_author_href: "blockquote_author_href", blockquote_author_details: "blockquote_author_details", blockquote_author_imageurl: "blockquote_author_imageurl", override_class: "override_class" }, usesOnChanges: true, ngImport: i0, template: ` +++ +++{{ quote }}+ +
++ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularComponent, decorators: [{ + type: Component, + args: [{ selector: 'vf-blockquote', template: ` +++ +++{{ quote }}+ +
++ ` }] + }], propDecorators: { id: [{ + type: Input + }], html: [{ + type: Input + }], text: [{ + type: Input + }], blockquote_text: [{ + type: Input + }], blockquote_author: [{ + type: Input + }], blockquote_author_href: [{ + type: Input + }], blockquote_author_details: [{ + type: Input + }], blockquote_author_imageurl: [{ + type: Input + }], override_class: [{ + type: Input + }] } }); + +class VfBlockquoteAngularModule { +} +VfBlockquoteAngularModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); +VfBlockquoteAngularModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, declarations: [VfBlockquoteAngularComponent], imports: [CommonModule], exports: [VfBlockquoteAngularComponent] }); +VfBlockquoteAngularModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, imports: [CommonModule] }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, decorators: [{ + type: NgModule, + args: [{ + declarations: [ + VfBlockquoteAngularComponent + ], + imports: [ + CommonModule + ], + exports: [ + VfBlockquoteAngularComponent + ] + }] + }] }); + +/* + * Public API Surface of vf-blockquote.angular + */ + +/** + * Generated bundle index. Do not edit. + */ + +export { VfBlockquoteAngularComponent, VfBlockquoteAngularModule }; +//# sourceMappingURL=vf-blockquote.angular.mjs.map diff --git a/components/vf-blockquote/vf-blockquote.angular/fesm2015/vf-blockquote.angular.mjs.map b/components/vf-blockquote/vf-blockquote.angular/fesm2015/vf-blockquote.angular.mjs.map new file mode 100644 index 0000000000..8ee758abb3 --- /dev/null +++ b/components/vf-blockquote/vf-blockquote.angular/fesm2015/vf-blockquote.angular.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"vf-blockquote.angular.mjs","sources":["../../../projects/vf-blockquote.angular/src/lib/vf-blockquote.angular.component.ts","../../../projects/vf-blockquote.angular/src/lib/vf-blockquote.angular.module.ts","../../../projects/vf-blockquote.angular/src/public-api.ts","../../../projects/vf-blockquote.angular/src/vf-blockquote.angular.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'vf-blockquote',\n template: `\n++ +++{{ quote }}+ +
\n\n `,\n styles: [],\n})\nexport class VfBlockquoteAngularComponent implements OnInit {\n /* Initialize values based on input values */\n @Input() id: string | undefined;\n @Input() html = '';\n @Input() text = '';\n @Input() blockquote_text = '';\n @Input() blockquote_author = '';\n @Input() blockquote_author_href = '';\n @Input() blockquote_author_details = '';\n @Input() blockquote_author_imageurl = '';\n @Input() override_class = '';\n\n class = '';\n quote = '';\n\n ngOnInit(): void {\n //Initialize something\n }\n\n ngOnChanges(): void {\n this.setValues();\n }\n\n /* Set values as per input and updated changes */\n setValues(): void {\n /* Conditional styles, strings, nullables, arrays of styles */\n this.class = 'vf-blockquote';\n this.class += this.override_class ? this.override_class : '';\n\n /* Inner content of the quote based on whether HTML or Text */\n this.quote = this.blockquote_text\n ? this.blockquote_text\n : this.html\n ? this.html\n : this.text;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { VfBlockquoteAngularComponent } from './vf-blockquote.angular.component';\n\n\n\n@NgModule({\n declarations: [\n VfBlockquoteAngularComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n VfBlockquoteAngularComponent\n ]\n})\nexport class VfBlockquoteAngularModule { }\n","/*\n * Public API Surface of vf-blockquote.angular\n */\n\nexport * from './lib/vf-blockquote.angular.component';\nexport * from './lib/vf-blockquote.angular.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAuBa,4BAA4B,CAAA;AArBzC,IAAA,WAAA,GAAA;AAwBW,QAAA,IAAI,CAAA,IAAA,GAAG,EAAE,CAAC;AACV,QAAA,IAAI,CAAA,IAAA,GAAG,EAAE,CAAC;AACV,QAAA,IAAe,CAAA,eAAA,GAAG,EAAE,CAAC;AACrB,QAAA,IAAiB,CAAA,iBAAA,GAAG,EAAE,CAAC;AACvB,QAAA,IAAsB,CAAA,sBAAA,GAAG,EAAE,CAAC;AAC5B,QAAA,IAAyB,CAAA,yBAAA,GAAG,EAAE,CAAC;AAC/B,QAAA,IAA0B,CAAA,0BAAA,GAAG,EAAE,CAAC;AAChC,QAAA,IAAc,CAAA,cAAA,GAAG,EAAE,CAAC;AAE7B,QAAA,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;AACX,QAAA,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;KAuBZ;IArBC,QAAQ,GAAA;;KAEP;IAED,WAAW,GAAA;QACT,IAAI,CAAC,SAAS,EAAE,CAAC;KAClB;;IAGD,SAAS,GAAA;;AAEP,QAAA,IAAI,CAAC,KAAK,GAAG,eAAe,CAAC;AAC7B,QAAA,IAAI,CAAC,KAA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;;AChBD;;AAEG;;ACFH;;AAEG;;;;"} \ No newline at end of file diff --git a/components/vf-blockquote/vf-blockquote.angular/fesm2020/vf-blockquote.angular.mjs b/components/vf-blockquote/vf-blockquote.angular/fesm2020/vf-blockquote.angular.mjs new file mode 100644 index 0000000000..4291ce59a7 --- /dev/null +++ b/components/vf-blockquote/vf-blockquote.angular/fesm2020/vf-blockquote.angular.mjs @@ -0,0 +1,124 @@ +import * as i0 from '@angular/core'; +import { Component, Input, NgModule } from '@angular/core'; +import * as i1 from '@angular/common'; +import { CommonModule } from '@angular/common'; + +class VfBlockquoteAngularComponent { + constructor() { + this.html = ''; + this.text = ''; + this.blockquote_text = ''; + this.blockquote_author = ''; + this.blockquote_author_href = ''; + this.blockquote_author_details = ''; + this.blockquote_author_imageurl = ''; + this.override_class = ''; + this.class = ''; + this.quote = ''; + } + ngOnInit() { + //Initialize something + } + ngOnChanges() { + this.setValues(); + } + /* Set values as per input and updated changes */ + setValues() { + /* Conditional styles, strings, nullables, arrays of styles */ + this.class = 'vf-blockquote'; + this.class += this.override_class ? this.override_class : ''; + /* Inner content of the quote based on whether HTML or Text */ + this.quote = this.blockquote_text + ? this.blockquote_text + : this.html + ? this.html + : this.text; + } +} +VfBlockquoteAngularComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); +VfBlockquoteAngularComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: VfBlockquoteAngularComponent, selector: "vf-blockquote", inputs: { id: "id", html: "html", text: "text", blockquote_text: "blockquote_text", blockquote_author: "blockquote_author", blockquote_author_href: "blockquote_author_href", blockquote_author_details: "blockquote_author_details", blockquote_author_imageurl: "blockquote_author_imageurl", override_class: "override_class" }, usesOnChanges: true, ngImport: i0, template: ` +\n\n \n\n\n{{ quote }}\n \n
++ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularComponent, decorators: [{ + type: Component, + args: [{ selector: 'vf-blockquote', template: ` +++ +++{{ quote }}+ +
++ ` }] + }], propDecorators: { id: [{ + type: Input + }], html: [{ + type: Input + }], text: [{ + type: Input + }], blockquote_text: [{ + type: Input + }], blockquote_author: [{ + type: Input + }], blockquote_author_href: [{ + type: Input + }], blockquote_author_details: [{ + type: Input + }], blockquote_author_imageurl: [{ + type: Input + }], override_class: [{ + type: Input + }] } }); + +class VfBlockquoteAngularModule { +} +VfBlockquoteAngularModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); +VfBlockquoteAngularModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, declarations: [VfBlockquoteAngularComponent], imports: [CommonModule], exports: [VfBlockquoteAngularComponent] }); +VfBlockquoteAngularModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, imports: [CommonModule] }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VfBlockquoteAngularModule, decorators: [{ + type: NgModule, + args: [{ + declarations: [ + VfBlockquoteAngularComponent + ], + imports: [ + CommonModule + ], + exports: [ + VfBlockquoteAngularComponent + ] + }] + }] }); + +/* + * Public API Surface of vf-blockquote.angular + */ + +/** + * Generated bundle index. Do not edit. + */ + +export { VfBlockquoteAngularComponent, VfBlockquoteAngularModule }; +//# sourceMappingURL=vf-blockquote.angular.mjs.map diff --git a/components/vf-blockquote/vf-blockquote.angular/fesm2020/vf-blockquote.angular.mjs.map b/components/vf-blockquote/vf-blockquote.angular/fesm2020/vf-blockquote.angular.mjs.map new file mode 100644 index 0000000000..d17638415f --- /dev/null +++ b/components/vf-blockquote/vf-blockquote.angular/fesm2020/vf-blockquote.angular.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"vf-blockquote.angular.mjs","sources":["../../../projects/vf-blockquote.angular/src/lib/vf-blockquote.angular.component.ts","../../../projects/vf-blockquote.angular/src/lib/vf-blockquote.angular.module.ts","../../../projects/vf-blockquote.angular/src/public-api.ts","../../../projects/vf-blockquote.angular/src/vf-blockquote.angular.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'vf-blockquote',\n template: `\n++ +++{{ quote }}+ +
\n\n `,\n styles: [],\n})\nexport class VfBlockquoteAngularComponent implements OnInit {\n /* Initialize values based on input values */\n @Input() id: string | undefined;\n @Input() html = '';\n @Input() text = '';\n @Input() blockquote_text = '';\n @Input() blockquote_author = '';\n @Input() blockquote_author_href = '';\n @Input() blockquote_author_details = '';\n @Input() blockquote_author_imageurl = '';\n @Input() override_class = '';\n\n class = '';\n quote = '';\n\n ngOnInit(): void {\n //Initialize something\n }\n\n ngOnChanges(): void {\n this.setValues();\n }\n\n /* Set values as per input and updated changes */\n setValues(): void {\n /* Conditional styles, strings, nullables, arrays of styles */\n this.class = 'vf-blockquote';\n this.class += this.override_class ? this.override_class : '';\n\n /* Inner content of the quote based on whether HTML or Text */\n this.quote = this.blockquote_text\n ? this.blockquote_text\n : this.html\n ? this.html\n : this.text;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { VfBlockquoteAngularComponent } from './vf-blockquote.angular.component';\n\n\n\n@NgModule({\n declarations: [\n VfBlockquoteAngularComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n VfBlockquoteAngularComponent\n ]\n})\nexport class VfBlockquoteAngularModule { }\n","/*\n * Public API Surface of vf-blockquote.angular\n */\n\nexport * from './lib/vf-blockquote.angular.component';\nexport * from './lib/vf-blockquote.angular.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAuBa,4BAA4B,CAAA;AArBzC,IAAA,WAAA,GAAA;QAwBW,IAAI,CAAA,IAAA,GAAG,EAAE,CAAC;QACV,IAAI,CAAA,IAAA,GAAG,EAAE,CAAC;QACV,IAAe,CAAA,eAAA,GAAG,EAAE,CAAC;QACrB,IAAiB,CAAA,iBAAA,GAAG,EAAE,CAAC;QACvB,IAAsB,CAAA,sBAAA,GAAG,EAAE,CAAC;QAC5B,IAAyB,CAAA,yBAAA,GAAG,EAAE,CAAC;QAC/B,IAA0B,CAAA,0BAAA,GAAG,EAAE,CAAC;QAChC,IAAc,CAAA,cAAA,GAAG,EAAE,CAAC;QAE7B,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;QACX,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;AAuBZ,KAAA;IArBC,QAAQ,GAAA;;KAEP;IAED,WAAW,GAAA;QACT,IAAI,CAAC,SAAS,EAAE,CAAC;KAClB;;IAGD,SAAS,GAAA;;AAEP,QAAA,IAAI,CAAC,KAAK,GAAG,eAAe,CAAC;AAC7B,QAAA,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;;AAG7D,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,eAAe;cAC7B,IAAI,CAAC,eAAe;cACpB,IAAI,CAAC,IAAI;kBACT,IAAI,CAAC,IAAI;AACX,kBAAE,IAAI,CAAC,IAAI,CAAC;KACf;;yHAnCU,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA5B,4BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QA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AAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAzB,yBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,EATlC,YAAA,EAAA,CAAA,4BAA4B,CAG5B,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,4BAA4B,CAAA,EAAA,CAAA,CAAA;AAGnB,yBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,YANlC,YAAY,CAAA,EAAA,CAAA,CAAA;2FAMH,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAXrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,4BAA4B;AAC7B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,4BAA4B;AAC7B,qBAAA;AACF,iBAAA,CAAA;;;AChBD;;AAEG;;ACFH;;AAEG;;;;"} \ No newline at end of file diff --git a/components/vf-blockquote/vf-blockquote.angular/index.d.ts b/components/vf-blockquote/vf-blockquote.angular/index.d.ts new file mode 100644 index 0000000000..afc65ca0cc --- /dev/null +++ b/components/vf-blockquote/vf-blockquote.angular/index.d.ts @@ -0,0 +1,5 @@ +/** + * Generated bundle index. Do not edit. + */ +///\n\n \n\n\n{{ quote }}\n \n
{{- (html) or (blockquote_text) | safe if (html) or (blockquote_text) else text -}}
- {% endif %} ++diff --git a/components/vf-blockquote/vf-blockquote.react.js b/components/vf-blockquote/vf-blockquote.react.js new file mode 100644 index 0000000000..8e62d40f1e --- /dev/null +++ b/components/vf-blockquote/vf-blockquote.react.js @@ -0,0 +1,58 @@ +/* + * vf-blockquote react component + * See vf-extensions-react for usage guidance + * + */ + +function VfBlockquote({id, blockquote_text, text, html,blockquote_author, blockquote_author_href, blockquote_author_details, blockquote_author_imageurl, override_class} ) { + + /* Conditional styles, strings, nullables, arrays of styles */ + let classNames = "vf-blockquote"; + classNames += override_class ? override_class : ''; + + /* Inner content of the tag based on whether HTML or Text */ + const content = blockquote_text ? blockquote_text : html ? html : text; + + /* Conditional attributes will be only present iff they exist */ + const attributes = { + ...(id && { id }) + }; + return ( +- {% if blockquote_citation %} - - {% endif %} + {% if (blockquote_author_imageurl) %} ++ {% endif %} ++ {% if (blockquote_text) or (html) or (text) %} ++{{- (html) or (blockquote_text) | safe if (html) or (blockquote_text) else text -}}+ {% endif %} + +
++ ) + } + + export default VfBlockquote; + \ No newline at end of file diff --git a/components/vf-blockquote/vf-blockquote.scss b/components/vf-blockquote/vf-blockquote.scss index 0a73891e1b..c1d8015418 100755 --- a/components/vf-blockquote/vf-blockquote.scss +++ b/components/vf-blockquote/vf-blockquote.scss @@ -1,16 +1,55 @@ -// vf-blockquote - @import 'package.variables.scss'; -// Debug information from component's `package.json`: -// --- -/*! - * Component: #{map-get($componentInfo, 'name')} - * Version: #{map-get($componentInfo, 'version')} - * Location: #{map-get($componentInfo, 'location')} - */ .vf-blockquote { @include blockquote; + padding: 0px; + padding-left: 32px; + margin: 32px 0px; + color: #1A1C1A; + font-size: 28px; + font-family: IBM Plex Sans; + font-style: normal; + font-weight: 500; + line-height: normal; +} + +.vf-blockquote::before { + border-left: 1px solid #d0d0ce; + left:8px; +} + +.vf-blockquote-flex-container { + display: flex; +} + +.vf-blockquote-flex-container footer { + margin-top: 24px; } +.vf-blockquote-flex-container .vf-blockquote_author__image { + margin-right: 24px; + max-height: 160px; + max-width: 160px; +} + +.vf-blockquote-flex-container .vf-blockquote_author__image img { + border-radius: 50%; + height: 160px; + width: 160px; + max-height: 160px; + max-width: 160px; +} + +.vf-blockquote_author__link { + @include inline-link(); + color: #2A57A3; +} + +.vf-blockquote_author_details { + font-size: 19px; + font-family: IBM Plex Sans; + font-style: normal; + font-weight: 400; + line-height: 26.6px; +} diff --git a/tools/vf-component-library/src/site/_includes/layouts/components.njk b/tools/vf-component-library/src/site/_includes/layouts/components.njk index 78251cabfd..9a4d7a0400 100644 --- a/tools/vf-component-library/src/site/_includes/layouts/components.njk +++ b/tools/vf-component-library/src/site/_includes/layouts/components.njk @@ -283,7 +283,7 @@ This approach is best for bare-bones Nunjucks environments, such as precompiled %}{% endraw %} - {% set angularComponents = "vf-badge, vf-banner, vf-hero, vf-button" %} + {% set angularComponents = "vf-badge, vf-banner, vf-hero, vf-button, vf-blockquote" %} {% if component.baseHandle in angularComponents %}+ { + blockquote_author_imageurl + ? +++ ++ : '' + } +++{content}+ + +