@cooperco/cooper-component-library 0.1.127 → 0.1.129

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 (49) hide show
  1. package/dist/cms/0095-create-table-module.cjs +174 -0
  2. package/dist/cms/0096-update-container-collection-filtered-table.cjs +57 -0
  3. package/dist/cms/0097-tabmodule-inline-body-copy.cjs +566 -0
  4. package/dist/cms/0098-delete-body-copy-content-type.cjs +151 -0
  5. package/dist/cms/containerCollectionModule.query.ts +6 -0
  6. package/dist/cms/contentful/migrations/scripts/0095-create-table-module.cjs +174 -0
  7. package/dist/cms/contentful/migrations/scripts/0096-update-container-collection-filtered-table.cjs +57 -0
  8. package/dist/cms/contentful/migrations/scripts/0097-tabmodule-inline-body-copy.cjs +566 -0
  9. package/dist/cms/contentful/migrations/scripts/0098-delete-body-copy-content-type.cjs +151 -0
  10. package/dist/cms/contentful/queries/containerCollectionModule.query.js +6 -0
  11. package/dist/cms/contentful/queries/containerCollectionModule.query.ts +6 -0
  12. package/dist/cms/contentful/queries/index.d.ts +1 -0
  13. package/dist/cms/contentful/queries/index.js +1 -0
  14. package/dist/cms/contentful/queries/index.ts +2 -0
  15. package/dist/cms/contentful/queries/productModule.query.js +12 -3
  16. package/dist/cms/contentful/queries/productModule.query.ts +12 -3
  17. package/dist/cms/contentful/queries/tableModule.query.d.ts +2 -0
  18. package/dist/cms/contentful/queries/tableModule.query.js +60 -0
  19. package/dist/cms/contentful/queries/tableModule.query.ts +62 -0
  20. package/dist/cms/index.ts +2 -0
  21. package/dist/cms/migrations/scripts/0095-create-table-module.cjs +174 -0
  22. package/dist/cms/migrations/scripts/0096-update-container-collection-filtered-table.cjs +57 -0
  23. package/dist/cms/migrations/scripts/0097-tabmodule-inline-body-copy.cjs +566 -0
  24. package/dist/cms/migrations/scripts/0098-delete-body-copy-content-type.cjs +151 -0
  25. package/dist/cms/productModule.query.ts +12 -3
  26. package/dist/cms/queries/containerCollectionModule.query.ts +6 -0
  27. package/dist/cms/queries/index.ts +2 -0
  28. package/dist/cms/queries/productModule.query.ts +12 -3
  29. package/dist/cms/queries/tableModule.query.ts +62 -0
  30. package/dist/cms/scripts/0095-create-table-module.cjs +174 -0
  31. package/dist/cms/scripts/0096-update-container-collection-filtered-table.cjs +57 -0
  32. package/dist/cms/scripts/0097-tabmodule-inline-body-copy.cjs +566 -0
  33. package/dist/cms/scripts/0098-delete-body-copy-content-type.cjs +151 -0
  34. package/dist/cms/tableModule.query.ts +62 -0
  35. package/dist/lib/component-lib.js +3634 -3253
  36. package/dist/lib/component-lib.umd.cjs +23 -23
  37. package/dist/lib/css/main.css +48 -18
  38. package/dist/lib/style.css +1 -1
  39. package/dist/types/cms/contentful/queries/index.d.ts +1 -0
  40. package/dist/types/cms/contentful/queries/tableModule.query.d.ts +2 -0
  41. package/dist/types/src/components/ContainerCollectionModule/ContainerCollectionModule.d.ts +4 -1
  42. package/dist/types/src/components/TableModule/TableModule.d.ts +51 -0
  43. package/dist/types/src/components/TableModule/TableModule.vue.d.ts +3 -0
  44. package/dist/types/src/components/components.d.ts +1 -0
  45. package/dist/types/src/components/types.d.ts +1 -0
  46. package/dist/types/src/config/defaultPassthrough/index.d.ts +1 -0
  47. package/dist/types/src/config/defaultPassthrough/types.d.ts +3 -1
  48. package/dist/types/src/types.d.ts +1 -0
  49. package/package.json +1 -1
@@ -0,0 +1,62 @@
1
+ import { gql } from 'graphql-tag'
2
+ import type { DocumentNode } from 'graphql'
3
+
4
+ export const getTableModule: DocumentNode = gql`
5
+ query tableModuleQuery($id: String!, $preview: Boolean = false) {
6
+ tableModule(id: $id, preview: $preview) {
7
+ sys {
8
+ id
9
+ }
10
+ title
11
+ description {
12
+ json
13
+ links {
14
+ entries {
15
+ inline {
16
+ sys {
17
+ id
18
+ }
19
+ ... on HighlightedText {
20
+ text
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+ table {
27
+ json
28
+ links {
29
+ entries {
30
+ inline {
31
+ sys {
32
+ id
33
+ }
34
+ ... on HighlightedText {
35
+ text
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ filterColumns
42
+ footer {
43
+ json
44
+ links {
45
+ entries {
46
+ inline {
47
+ sys {
48
+ id
49
+ }
50
+ ... on HighlightedText {
51
+ text
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ backgroundColor
58
+ bodyCopyAlignment
59
+ tableHighlight
60
+ }
61
+ }
62
+ `