@cooperco/cooper-component-library 0.1.82 → 0.1.84

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 (28) hide show
  1. package/dist/cms/0071-create-chart-module.cjs +122 -0
  2. package/dist/cms/0072-remove-comments-from-blog-article.cjs +23 -0
  3. package/dist/cms/chartModule.query.ts +26 -0
  4. package/dist/cms/contentful/migrations/scripts/0071-create-chart-module.cjs +122 -0
  5. package/dist/cms/contentful/migrations/scripts/0072-remove-comments-from-blog-article.cjs +23 -0
  6. package/dist/cms/contentful/queries/chartModule.query.d.ts +2 -0
  7. package/dist/cms/contentful/queries/chartModule.query.js +24 -0
  8. package/dist/cms/contentful/queries/chartModule.query.ts +26 -0
  9. package/dist/cms/contentful/queries/index.d.ts +1 -0
  10. package/dist/cms/contentful/queries/index.js +1 -0
  11. package/dist/cms/contentful/queries/index.ts +1 -0
  12. package/dist/cms/index.ts +1 -0
  13. package/dist/cms/migrations/scripts/0071-create-chart-module.cjs +122 -0
  14. package/dist/cms/migrations/scripts/0072-remove-comments-from-blog-article.cjs +23 -0
  15. package/dist/cms/queries/chartModule.query.ts +26 -0
  16. package/dist/cms/queries/index.ts +1 -0
  17. package/dist/cms/scripts/0071-create-chart-module.cjs +122 -0
  18. package/dist/cms/scripts/0072-remove-comments-from-blog-article.cjs +23 -0
  19. package/dist/lib/component-lib.js +11137 -3668
  20. package/dist/lib/component-lib.umd.cjs +47 -30
  21. package/dist/lib/css/main.css +3 -21
  22. package/dist/lib/style.css +1 -1
  23. package/dist/types/cms/contentful/queries/index.d.ts +1 -0
  24. package/dist/types/src/components/components.d.ts +1 -0
  25. package/dist/types/src/components/types.d.ts +4 -0
  26. package/dist/types/src/config/defaultPassthrough/index.d.ts +1 -0
  27. package/dist/types/src/config/defaultPassthrough/types.d.ts +3 -1
  28. package/package.json +4 -2
@@ -16,3 +16,4 @@ export * from './productModule.query.js';
16
16
  export * from './testimonial.query.js';
17
17
  export * from './tileCollection.query.js';
18
18
  export * from './video.query.js';
19
+ export * from './chartModule.query.js';
@@ -25,3 +25,4 @@ export { default as TileContentImageStackedAnimatedTile } from './TileContent/Ti
25
25
  export { default as Video } from './Video/Video.vue';
26
26
  export { default as AnimationWrapper } from './AnimationWrapper/AnimationWrapper.vue';
27
27
  export { default as HelloBanner } from './HelloBanner/HelloBanner.vue';
28
+ export { default as ChartModule } from './ChartModule/ChartModule.vue';
@@ -19,3 +19,7 @@ export type { TileContent as TileContentType } from './TileContent/TileContent';
19
19
  export type { Video as VideoType } from './Video/Video';
20
20
  export type { AnimationWrapper as AnimationWrapperType } from './AnimationWrapper/AnimationWrapper';
21
21
  export type { HelloBanner as HelloBannerType } from './HelloBanner/HelloBanner';
22
+ export type { ChartModule as ChartModuleType } from './ChartModule/ChartModule';
23
+ export type { ChartDataItem as ChartDataItemType } from './ChartModule/ChartModule';
24
+ export type { ChartTab as ChartTabType } from './ChartModule/ChartModule';
25
+ export type { ChartDrillDown as ChartDrillDownType } from './ChartModule/ChartModule';
@@ -71,4 +71,5 @@ export declare const TileLabelPt: {
71
71
  };
72
72
  };
73
73
  export declare const VideoPt: GenericComponentPassthrough;
74
+ export declare const ChartModulePt: GenericComponentPassthrough;
74
75
  export declare const HelloBannerPt: HelloBannerPassthrough;
@@ -8,8 +8,9 @@ import { TestimonialModulePassthrough } from '../../components/TestimonialModule
8
8
  import { TileContentPassthrough } from '../../components/TileContent/TileContent';
9
9
  import { CTAPassthrough } from '../../components/CTA/CTA';
10
10
  import { TileLabelPassthrough } from '../../components/TileLabel/TileLabel';
11
+ import { ChartModulePassthrough } from '../../components/ChartModule/ChartModule';
11
12
  import { HelloBannerPassthrough } from '../../components/HelloBanner/HelloBanner';
12
- export interface GenericComponentPassthrough extends ComponentPassthrough, TileLabelPassthrough, AccordionPassthrough, AccordionItemPassthrough, CarouselPassthrough, ContainerModulePassthrough, ContentModulePassthrough, CTAPassthrough, TestimonialModulePassthrough, TileContentPassthrough, HelloBannerPassthrough {
13
+ export interface GenericComponentPassthrough extends ComponentPassthrough, TileLabelPassthrough, AccordionPassthrough, AccordionItemPassthrough, CarouselPassthrough, ContainerModulePassthrough, ContentModulePassthrough, CTAPassthrough, TestimonialModulePassthrough, TileContentPassthrough, HelloBannerPassthrough, ChartModulePassthrough {
13
14
  }
14
15
  export interface AccordionPtVariants {
15
16
  List: AccordionPassthrough;
@@ -50,4 +51,5 @@ export interface Pt_Overrides {
50
51
  TileContentVideoTile?: GenericComponentPassthrough;
51
52
  TileLabel?: GenericComponentPassthrough;
52
53
  Video?: GenericComponentPassthrough;
54
+ ChartModule?: ChartModulePassthrough;
53
55
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cooperco/cooper-component-library",
3
3
  "private": false,
4
- "version": "0.1.82",
4
+ "version": "0.1.84",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -32,6 +32,7 @@
32
32
  "@primevue/themes": "^4.0.0",
33
33
  "@vueuse/components": "^11.1.0",
34
34
  "@vueuse/core": "^11.1.0",
35
+ "chart.js": "^4.5.1",
35
36
  "contentful-management": "^11.68.0",
36
37
  "contentful-migration": "^4.23.2",
37
38
  "dotenv": "^17.2.3",
@@ -41,7 +42,8 @@
41
42
  "primevue": "^3.0.0",
42
43
  "tailwind-merge": "^2.4.0",
43
44
  "vite-plugin-turbosnap": "^1.0.3",
44
- "vue": "^3.5.6"
45
+ "vue": "^3.5.6",
46
+ "vue-chartjs": "^5.3.3"
45
47
  },
46
48
  "devDependencies": {
47
49
  "@chromatic-com/storybook": "^3.2.6",