@cooperco/cooper-component-library 0.1.84 → 0.1.85
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/cms/0073-add-body-copy-to-tile-collection.cjs +22 -0
- package/dist/cms/0074-fix-accordion-start-open-widget.cjs +27 -0
- package/dist/cms/0075-make-content-module-headline-optional.cjs +10 -0
- package/dist/cms/README.md +31 -101
- package/dist/cms/contentful/migrations/scripts/0073-add-body-copy-to-tile-collection.cjs +22 -0
- package/dist/cms/contentful/migrations/scripts/0074-fix-accordion-start-open-widget.cjs +27 -0
- package/dist/cms/contentful/migrations/scripts/0075-make-content-module-headline-optional.cjs +10 -0
- package/dist/cms/contentful/queries/tileCollection.query.js +1 -0
- package/dist/cms/contentful/queries/tileCollection.query.ts +1 -0
- package/dist/cms/migrations/scripts/0073-add-body-copy-to-tile-collection.cjs +22 -0
- package/dist/cms/migrations/scripts/0074-fix-accordion-start-open-widget.cjs +27 -0
- package/dist/cms/migrations/scripts/0075-make-content-module-headline-optional.cjs +10 -0
- package/dist/cms/queries/tileCollection.query.ts +1 -0
- package/dist/cms/scripts/0073-add-body-copy-to-tile-collection.cjs +22 -0
- package/dist/cms/scripts/0074-fix-accordion-start-open-widget.cjs +27 -0
- package/dist/cms/scripts/0075-make-content-module-headline-optional.cjs +10 -0
- package/dist/cms/tileCollection.query.ts +1 -0
- package/dist/lib/component-lib.js +1945 -1889
- package/dist/lib/component-lib.umd.cjs +34 -34
- package/dist/lib/css/main.css +7 -1
- package/dist/lib/style.css +1 -1
- package/dist/types/src/components/Accordion/Accordion.d.ts +1 -0
- package/dist/types/src/components/ContentModule/ContentModule.d.ts +8 -0
- package/dist/types/src/components/Image/Image.d.ts +2 -0
- package/dist/types/src/components/Image/Image.vue.d.ts +1 -0
- package/dist/types/src/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -28,6 +28,14 @@ export interface ContentModule extends Component {
|
|
|
28
28
|
isHero?: boolean;
|
|
29
29
|
alignment?: contentModuleAlignmentEnum;
|
|
30
30
|
isChild?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* When true, the headline renders as an h3 (child heading) instead of h2.
|
|
33
|
+
* Set by ContainerModule when the parent has its own headline — the parent headline
|
|
34
|
+
* is the h2, so the child drops to h3. When the parent has no headline, the child
|
|
35
|
+
* remains h2 as the primary heading in that section.
|
|
36
|
+
* Has no effect when isHero is true (hero headlines are always h1).
|
|
37
|
+
*/
|
|
38
|
+
useChildHeadline?: boolean;
|
|
31
39
|
parentHasBackgroundImage?: boolean;
|
|
32
40
|
parentBackgroundColor?: string;
|
|
33
41
|
}
|
|
@@ -2,5 +2,6 @@ import { Image } from './Image';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Image, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Image> & Readonly<{}>, {
|
|
3
3
|
isFullWidth: boolean;
|
|
4
4
|
animated: boolean;
|
|
5
|
+
mobileBreakpoint: "sm" | "md" | "lg" | "xl";
|
|
5
6
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
7
|
export default _default;
|