@agilant/toga-blox 1.0.8 → 1.0.9

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 (215) hide show
  1. package/assets/cable.jpg +0 -0
  2. package/assets/card-1.jpg +0 -0
  3. package/assets/cat-logo.png +0 -0
  4. package/assets/item.jpg +0 -0
  5. package/assets/map.png +0 -0
  6. package/coverage/base.css +224 -0
  7. package/coverage/block-navigation.js +87 -0
  8. package/coverage/clover.xml +953 -0
  9. package/coverage/coverage-final.json +74 -0
  10. package/coverage/favicon.png +0 -0
  11. package/coverage/index.html +551 -0
  12. package/coverage/prettify.css +1 -0
  13. package/coverage/prettify.js +2 -0
  14. package/coverage/sort-arrow-sprite.png +0 -0
  15. package/coverage/sorter.js +196 -0
  16. package/coverage/toga-blox-npm/index.html +131 -0
  17. package/coverage/toga-blox-npm/postcss.config.js.html +103 -0
  18. package/coverage/toga-blox-npm/src/components/Badge/Badge.stories.tsx.html +793 -0
  19. package/coverage/toga-blox-npm/src/components/Badge/Badge.tsx.html +247 -0
  20. package/coverage/toga-blox-npm/src/components/Badge/index.html +131 -0
  21. package/coverage/toga-blox-npm/src/components/Card/Card.stories.tsx.html +787 -0
  22. package/coverage/toga-blox-npm/src/components/Card/Card.tsx.html +163 -0
  23. package/coverage/toga-blox-npm/src/components/Card/index.html +131 -0
  24. package/coverage/toga-blox-npm/src/components/Card/templates/CategoryCardTemplate.tsx.html +343 -0
  25. package/coverage/toga-blox-npm/src/components/Card/templates/CompassCardTemplate.tsx.html +259 -0
  26. package/coverage/toga-blox-npm/src/components/Card/templates/CounterContentCardTemplate.tsx.html +685 -0
  27. package/coverage/toga-blox-npm/src/components/Card/templates/HorizontalCardTemplate.tsx.html +637 -0
  28. package/coverage/toga-blox-npm/src/components/Card/templates/ItemCardTemplate.tsx.html +550 -0
  29. package/coverage/toga-blox-npm/src/components/Card/templates/KitContentCardTemplate.tsx.html +469 -0
  30. package/coverage/toga-blox-npm/src/components/Card/templates/ShippingAddressCardTemplate.tsx.html +418 -0
  31. package/coverage/toga-blox-npm/src/components/Card/templates/VerticalCardTemplate.tsx.html +592 -0
  32. package/coverage/toga-blox-npm/src/components/Card/templates/index.html +221 -0
  33. package/coverage/toga-blox-npm/src/components/CounterButton/CounterButton.stories.tsx.html +358 -0
  34. package/coverage/toga-blox-npm/src/components/CounterButton/CounterButton.tsx.html +385 -0
  35. package/coverage/toga-blox-npm/src/components/CounterButton/index.html +131 -0
  36. package/coverage/toga-blox-npm/src/components/Description/Description.stories.tsx.html +286 -0
  37. package/coverage/toga-blox-npm/src/components/Description/Description.tsx.html +124 -0
  38. package/coverage/toga-blox-npm/src/components/Description/index.html +131 -0
  39. package/coverage/toga-blox-npm/src/components/DropDownIconButton/DropDownIconButton.stories.tsx.html +676 -0
  40. package/coverage/toga-blox-npm/src/components/DropDownIconButton/DropDownIconButton.tsx.html +346 -0
  41. package/coverage/toga-blox-npm/src/components/DropDownIconButton/index.html +131 -0
  42. package/coverage/toga-blox-npm/src/components/Footer/ContactInfoItem.tsx.html +139 -0
  43. package/coverage/toga-blox-npm/src/components/Footer/Footer.stories.tsx.html +934 -0
  44. package/coverage/toga-blox-npm/src/components/Footer/Footer.tsx.html +373 -0
  45. package/coverage/toga-blox-npm/src/components/Footer/index.html +146 -0
  46. package/coverage/toga-blox-npm/src/components/FormButton/FormButton.stories.tsx.html +952 -0
  47. package/coverage/toga-blox-npm/src/components/FormButton/FormButton.tsx.html +343 -0
  48. package/coverage/toga-blox-npm/src/components/FormButton/index.html +131 -0
  49. package/coverage/toga-blox-npm/src/components/GenericList/GenericList.stories.tsx.html +376 -0
  50. package/coverage/toga-blox-npm/src/components/GenericList/GenericList.tsx.html +520 -0
  51. package/coverage/toga-blox-npm/src/components/GenericList/index.html +131 -0
  52. package/coverage/toga-blox-npm/src/components/GenericList/templates/DummyDataList.tsx.html +154 -0
  53. package/coverage/toga-blox-npm/src/components/GenericList/templates/DynamicIconList.tsx.html +250 -0
  54. package/coverage/toga-blox-npm/src/components/GenericList/templates/index.html +131 -0
  55. package/coverage/toga-blox-npm/src/components/GetSupport/GetSupport.stories.tsx.html +325 -0
  56. package/coverage/toga-blox-npm/src/components/GetSupport/GetSupport.tsx.html +262 -0
  57. package/coverage/toga-blox-npm/src/components/GetSupport/index.html +131 -0
  58. package/coverage/toga-blox-npm/src/components/HamburgerButton/Hamburger.stories.tsx.html +760 -0
  59. package/coverage/toga-blox-npm/src/components/HamburgerButton/HamburgerButton.tsx.html +232 -0
  60. package/coverage/toga-blox-npm/src/components/HamburgerButton/index.html +131 -0
  61. package/coverage/toga-blox-npm/src/components/Header/Header.stories.tsx.html +1633 -0
  62. package/coverage/toga-blox-npm/src/components/Header/Header.tsx.html +814 -0
  63. package/coverage/toga-blox-npm/src/components/Header/headerContext.tsx.html +460 -0
  64. package/coverage/toga-blox-npm/src/components/Header/index.html +146 -0
  65. package/coverage/toga-blox-npm/src/components/Hero/Hero.stories.tsx.html +289 -0
  66. package/coverage/toga-blox-npm/src/components/Hero/Hero.tsx.html +259 -0
  67. package/coverage/toga-blox-npm/src/components/Hero/index.html +131 -0
  68. package/coverage/toga-blox-npm/src/components/IconButton/IconButton.stories.tsx.html +673 -0
  69. package/coverage/toga-blox-npm/src/components/IconButton/IconButton.tsx.html +313 -0
  70. package/coverage/toga-blox-npm/src/components/IconButton/index.html +131 -0
  71. package/coverage/toga-blox-npm/src/components/Image/Image.stories.tsx.html +322 -0
  72. package/coverage/toga-blox-npm/src/components/Image/Image.tsx.html +226 -0
  73. package/coverage/toga-blox-npm/src/components/Image/index.html +131 -0
  74. package/coverage/toga-blox-npm/src/components/Input/Input.stories.tsx.html +1621 -0
  75. package/coverage/toga-blox-npm/src/components/Input/Input.tsx.html +568 -0
  76. package/coverage/toga-blox-npm/src/components/Input/InputMemoTypes.tsx.html +181 -0
  77. package/coverage/toga-blox-npm/src/components/Input/index.html +146 -0
  78. package/coverage/toga-blox-npm/src/components/MobileMenu/MobileMenu.tsx.html +208 -0
  79. package/coverage/toga-blox-npm/src/components/MobileMenu/index.html +116 -0
  80. package/coverage/toga-blox-npm/src/components/Nav/Nav.stories.tsx.html +628 -0
  81. package/coverage/toga-blox-npm/src/components/Nav/Nav.tsx.html +622 -0
  82. package/coverage/toga-blox-npm/src/components/Nav/index.html +131 -0
  83. package/coverage/toga-blox-npm/src/components/Page/TableDataDummy.tsx.html +733 -0
  84. package/coverage/toga-blox-npm/src/components/Page/ViewPageTemplate.stories.tsx.html +1714 -0
  85. package/coverage/toga-blox-npm/src/components/Page/ViewPageTemplate.tsx.html +115 -0
  86. package/coverage/toga-blox-npm/src/components/Page/index.html +146 -0
  87. package/coverage/toga-blox-npm/src/components/PageSection/PageSection.stories.tsx.html +433 -0
  88. package/coverage/toga-blox-npm/src/components/PageSection/PageSection.tsx.html +121 -0
  89. package/coverage/toga-blox-npm/src/components/PageSection/index.html +131 -0
  90. package/coverage/toga-blox-npm/src/components/SearchInput/SearchInput.stories.tsx.html +517 -0
  91. package/coverage/toga-blox-npm/src/components/SearchInput/SearchInput.tsx.html +325 -0
  92. package/coverage/toga-blox-npm/src/components/SearchInput/index.html +131 -0
  93. package/coverage/toga-blox-npm/src/components/Slider/Slider.stories.tsx.html +349 -0
  94. package/coverage/toga-blox-npm/src/components/Slider/Slider.tsx.html +502 -0
  95. package/coverage/toga-blox-npm/src/components/Slider/index.html +131 -0
  96. package/coverage/toga-blox-npm/src/components/Submenus/AdminSubmenu.tsx.html +136 -0
  97. package/coverage/toga-blox-npm/src/components/Submenus/AlertSubmenu.tsx.html +253 -0
  98. package/coverage/toga-blox-npm/src/components/Submenus/AlertSubmenuItem.tsx.html +202 -0
  99. package/coverage/toga-blox-npm/src/components/Submenus/index.html +146 -0
  100. package/coverage/toga-blox-npm/src/components/Text/Text.stories.tsx.html +235 -0
  101. package/coverage/toga-blox-npm/src/components/Text/Text.tsx.html +172 -0
  102. package/coverage/toga-blox-npm/src/components/Text/index.html +131 -0
  103. package/coverage/toga-blox-npm/src/components/Toaster/Toaster.stories.tsx.html +445 -0
  104. package/coverage/toga-blox-npm/src/components/Toaster/Toaster.tsx.html +301 -0
  105. package/coverage/toga-blox-npm/src/components/Toaster/index.html +131 -0
  106. package/coverage/toga-blox-npm/src/hoc/styling/index.html +116 -0
  107. package/coverage/toga-blox-npm/src/hoc/styling/withStoryBook.tsx.html +142 -0
  108. package/coverage/toga-blox-npm/src/userHoc/index.html +116 -0
  109. package/coverage/toga-blox-npm/src/userHoc/withMemo.tsx.html +145 -0
  110. package/coverage/toga-blox-npm/src/utils/assertTagName.tsx.html +106 -0
  111. package/coverage/toga-blox-npm/src/utils/generateAccordionItem.tsx.html +373 -0
  112. package/coverage/toga-blox-npm/src/utils/generateFooterContacts.tsx.html +295 -0
  113. package/coverage/toga-blox-npm/src/utils/generateNavMenu.tsx.html +247 -0
  114. package/coverage/toga-blox-npm/src/utils/generateSocialList.tsx.html +187 -0
  115. package/coverage/toga-blox-npm/src/utils/getFontAwesomeIcon.tsx.html +145 -0
  116. package/coverage/toga-blox-npm/src/utils/index.html +206 -0
  117. package/coverage/toga-blox-npm/src/utils/inputValidation.tsx.html +163 -0
  118. package/coverage/toga-blox-npm/tailwind.config.js.html +205 -0
  119. package/declarations.d.ts +1 -1
  120. package/package.json +5 -6
  121. package/src/components/Badge/Badge.stories.tsx +110 -207
  122. package/src/components/Badge/Badge.test.tsx +40 -41
  123. package/src/components/Badge/Badge.tsx +29 -99
  124. package/src/components/Badge/Badge.types.tsx +12 -23
  125. package/src/components/Card/Card.stories.tsx +166 -22
  126. package/src/components/Card/Card.test.tsx +3 -3
  127. package/src/components/Card/Card.tsx +12 -16
  128. package/src/components/Card/DUMMYPRODUCTDATA.json +381 -225
  129. package/src/components/Card/templates/CategoryCardTemplate.tsx +86 -0
  130. package/src/components/Card/templates/CompassCardTemplate.tsx +1 -1
  131. package/src/components/Card/templates/CounterContentCardTemplate.tsx +200 -0
  132. package/src/components/Card/templates/ItemCardTemplate.tsx +155 -0
  133. package/src/components/Card/templates/KitContentCardTemplate.tsx +128 -0
  134. package/src/components/Card/templates/ShippingAddressCardTemplate.tsx +111 -0
  135. package/src/components/Card/templates/VerticalCardTemplate.tsx +100 -85
  136. package/src/components/CounterButton/CounterButton.tsx +1 -1
  137. package/src/components/Description/Description.stories.tsx +67 -0
  138. package/src/components/Description/Description.tsx +13 -0
  139. package/src/components/Description/Description.types.ts +9 -0
  140. package/src/components/DropDownIconButton/DropDownIconButton.stories.tsx +197 -0
  141. package/src/components/DropDownIconButton/DropDownIconButton.test.tsx +90 -0
  142. package/src/components/DropDownIconButton/DropDownIconButton.tsx +87 -0
  143. package/src/components/DropDownIconButton/DropDownIconButton.types.ts +21 -0
  144. package/src/components/DropDownIconButton/index.ts +2 -0
  145. package/src/components/Footer/ContactInfoItem.tsx +8 -10
  146. package/src/components/Footer/Footer.stories.tsx +13 -22
  147. package/src/components/Footer/Footer.tsx +25 -88
  148. package/src/components/Footer/Footer.types.tsx +2 -2
  149. package/src/components/FormButton/FormButton.stories.tsx +101 -226
  150. package/src/components/FormButton/FormButton.test.tsx +1 -1
  151. package/src/components/FormButton/FormButton.tsx +34 -42
  152. package/src/components/FormButton/FormButton.types.ts +7 -13
  153. package/src/components/GenericList/GenericList.stories.tsx +5 -12
  154. package/src/components/GenericList/GenericList.tsx +91 -92
  155. package/src/components/GenericList/templates/DynamicIconList.tsx +45 -64
  156. package/src/components/GetSupport/GetSupport.stories.tsx +80 -0
  157. package/src/components/GetSupport/GetSupport.test.tsx +62 -0
  158. package/src/components/GetSupport/GetSupport.tsx +59 -0
  159. package/src/components/GetSupport/GetSupport.types.ts +11 -0
  160. package/src/components/HamburgerButton/Hamburger.stories.tsx +225 -0
  161. package/src/components/HamburgerButton/HamburgerButton.tsx +37 -56
  162. package/src/components/HamburgerButton/HamburgerButton.types.tsx +2 -1
  163. package/src/components/Header/Header.stories.tsx +3 -5
  164. package/src/components/Header/Header.tsx +37 -83
  165. package/src/components/Hero/Hero.stories.tsx +1 -2
  166. package/src/components/IconButton/IconButton.stories.tsx +196 -0
  167. package/src/components/{Icon/Icon.test.tsx → IconButton/IconButton.test.tsx} +3 -4
  168. package/src/components/IconButton/IconButton.tsx +76 -0
  169. package/src/components/IconButton/IconButton.types.ts +28 -0
  170. package/src/components/IconButton/index.ts +2 -0
  171. package/src/components/Image/Image.tsx +1 -1
  172. package/src/components/Input/Input.stories.tsx +10 -12
  173. package/src/components/Input/Input.test.tsx +2 -3
  174. package/src/components/Input/Input.tsx +41 -104
  175. package/src/components/MobileMenu/MobileMenu.types.tsx +0 -2
  176. package/src/components/Nav/DUMMYNAVDATA.json +4 -4
  177. package/src/components/Nav/Nav.tsx +49 -112
  178. package/src/components/Nav/Nav.types.tsx +14 -2
  179. package/src/components/Page/ViewPageTemplate.stories.tsx +2 -2
  180. package/src/components/Page/ViewPageTemplate.test.tsx +1 -1
  181. package/src/components/Page/ViewPageTemplate.types.ts +1 -1
  182. package/src/components/PageSection/PageSection.stories.tsx +3 -1
  183. package/src/components/PageSection/PageSections.test.tsx +2 -1
  184. package/src/components/SearchInput/SearchInput.stories.tsx +144 -0
  185. package/src/components/SearchInput/SearchInput.tsx +81 -0
  186. package/src/components/SearchInput/SearchInput.types.ts +28 -0
  187. package/src/components/Slider/Slider.stories.tsx +88 -0
  188. package/src/components/Slider/Slider.tsx +139 -0
  189. package/src/components/Slider/Slider.types.ts +21 -0
  190. package/src/components/Submenus/AdminSubmenu.tsx +17 -0
  191. package/src/components/Submenus/AlertSubmenu.tsx +56 -0
  192. package/src/components/Submenus/AlertSubmenuItem.tsx +39 -0
  193. package/src/components/Submenus/types.tsx +32 -0
  194. package/src/components/Toaster/Toaster.stories.tsx +4 -6
  195. package/src/components/Toaster/Toaster.test.tsx +3 -4
  196. package/src/components/Toaster/Toaster.tsx +9 -17
  197. package/src/components/Toaster/Toaster.types.ts +2 -2
  198. package/src/utils/assertTagName.tsx +1 -1
  199. package/src/utils/generateAccordionItem.tsx +7 -13
  200. package/src/utils/generateFooterContacts.tsx +4 -9
  201. package/src/utils/getFontAwesomeIcon.tsx +8 -13
  202. package/tailwind.config.js +11 -3
  203. package/src/components/Badge/badgeClassNames.tsx +0 -173
  204. package/src/components/Card/cardClassNames.ts +0 -49
  205. package/src/components/Footer/footerClassNames.tsx +0 -57
  206. package/src/components/FormButton/formButtonClassNames.tsx +0 -153
  207. package/src/components/GenericList/genericListClassNames.tsx +0 -8
  208. package/src/components/Header/headerClassNames.tsx +0 -50
  209. package/src/components/Icon/Icon.stories.tsx +0 -227
  210. package/src/components/Icon/Icon.tsx +0 -208
  211. package/src/components/Icon/Icon.types.ts +0 -24
  212. package/src/components/Icon/iconClassNames.ts +0 -79
  213. package/src/components/Icon/index.ts +0 -2
  214. package/src/components/Input/inputClassNames.tsx +0 -169
  215. package/src/components/Nav/navClassNames.tsx +0 -192
@@ -2,26 +2,26 @@
2
2
  "DUMMYPRODUCTDATA": [
3
3
  {
4
4
  "id": "1",
5
- "title": "Lenovo ThinkPad Universal USB-C Dock",
5
+ "title": "Crothall iPads - Environmental Services",
6
6
  "rating": 5,
7
7
  "ratingProps": {
8
8
  "tag": "p",
9
- "size": "md",
9
+ "size": "text-md",
10
10
  "fontColor": "",
11
- "fontFamily": "serif",
11
+ "fontFamily": "font-serif",
12
12
  "additionalClasses": "bg-white text-blue-800 font-semibold px-2.5 py-0.5 rounded ms-3 max-sm:text-xs"
13
13
  },
14
14
  "link": "#",
15
15
  "inStock": true,
16
- "cardBorderRadius": "semiRounded",
17
- "cardBorderColor": "blue",
18
- "cardBackgroundColor": "light blue",
16
+ "cardBorderRadius": "rounded-lg",
17
+ "cardBorderColor": "border-blue-500",
18
+ "cardBackgroundColor": "bg-blue-100",
19
19
  "cardBoxShadow": false,
20
20
  "inStockProps": {
21
21
  "tag": "p",
22
- "size": "md",
23
- "fontColor": "black",
24
- "fontFamily": "serif",
22
+ "size": "text-md",
23
+ "fontColor": "text-black",
24
+ "fontFamily": "font-serif",
25
25
  "inStockIcon": "check",
26
26
  "outOfStockIcon": "x",
27
27
  "additionalClasses": "font-bold max-sm:text-xs"
@@ -30,62 +30,62 @@
30
30
  "identifier": "40AY0090US",
31
31
  "identifierProps": {
32
32
  "tag": "p",
33
- "size": "md",
33
+ "size": "text-md",
34
34
  "fontColor": "",
35
- "fontFamily": "serif",
35
+ "fontFamily": "font-serif",
36
36
  "additionalClasses": "bg-white text-blue-800 font-semibold px-2.5 py-0.5 rounded max-sm:text-xs"
37
37
  },
38
38
  "titleProps": {
39
39
  "tag": "h5",
40
- "size": "xl",
41
- "fontColor": "black",
42
- "fontFamily": "serif",
43
- "additionalClasses": "font-bold hover:underline"
40
+ "size": "text-xl",
41
+ "fontColor": "text-black",
42
+ "fontFamily": "font-serif",
43
+ "additionalClasses": "font-bold"
44
44
  },
45
- "price": "$599",
45
+ "price": "$396.00",
46
46
  "priceProps": {
47
47
  "tag": "p",
48
- "size": "lg",
49
- "fontColor": "black",
50
- "fontFamily": "serif",
48
+ "size": "text-lg",
49
+ "fontColor": "text-black",
50
+ "fontFamily": "font-serif",
51
51
  "additionalClasses": "font-bold"
52
52
  },
53
- "imageUrl": null,
54
- "altText": "Lenovo ThinkPad Universal USB-C Dock",
53
+ "imageUrl": "../../../assets/compass-card-image-3.png",
54
+ "altText": "Crothall iPads - Environmental Services",
55
55
  "buttonProps": {
56
- "text": "Add to cart",
56
+ "text": "View",
57
57
  "as": "a",
58
- "size": "md",
59
- "fontColor": "white",
60
- "borderColor": "none",
61
- "shape": "semiRounded",
62
- "color": "blue",
63
- "hoverBackground": "black",
58
+ "size": "text-md",
59
+ "fontColor": "text-white",
60
+ "borderColor": "border-none",
61
+ "shape": "rounded-md",
62
+ "color": "bg-blue-500",
63
+ "hoverBackground": "bg-black",
64
64
  "additionalClasses": ""
65
65
  }
66
66
  },
67
67
  {
68
68
  "id": "2",
69
- "title": "Lenovo ThinkPad Universal USB-C Dock",
69
+ "title": "EPOS EXPAND SP 30 Speakerphone - Black, Silver",
70
70
  "rating": 5,
71
71
  "ratingProps": {
72
72
  "tag": "p",
73
- "size": "md",
73
+ "size": "text-md",
74
74
  "fontColor": "",
75
- "fontFamily": "serif",
75
+ "fontFamily": "font-serif",
76
76
  "additionalClasses": "bg-white text-blue-800 font-semibold px-2.5 py-0.5 rounded ms-3 max-sm:text-xs"
77
77
  },
78
78
  "link": "#",
79
79
  "inStock": true,
80
- "cardBorderRadius": "semiRounded",
81
- "cardBorderColor": "green",
82
- "cardBackgroundColor": "light green",
80
+ "cardBorderRadius": "rounded-md",
81
+ "cardBorderColor": "border-none",
82
+ "cardBackgroundColor": "bg-white",
83
83
  "cardBoxShadow": false,
84
84
  "inStockProps": {
85
85
  "tag": "p",
86
- "size": "md",
87
- "fontColor": "black",
88
- "fontFamily": "serif",
86
+ "size": "text-md",
87
+ "fontColor": "text-black",
88
+ "fontFamily": "font-serif",
89
89
  "additionalClasses": "",
90
90
  "inStockIcon": "check",
91
91
  "outOfStockIcon": "x"
@@ -94,101 +94,101 @@
94
94
  "identifier": "40AY0090US",
95
95
  "identifierProps": {
96
96
  "tag": "p",
97
- "size": "md",
97
+ "size": "text-md",
98
98
  "fontColor": "",
99
- "fontFamily": "serif",
99
+ "fontFamily": "font-serif",
100
100
  "additionalClasses": "bg-white text-blue-800 font-semibold px-2.5 py-0.5 rounded"
101
101
  },
102
102
  "titleProps": {
103
103
  "tag": "h5",
104
- "size": "xl",
105
- "fontColor": "black",
106
- "fontFamily": "serif",
107
- "additionalClasses": "font-bold hover:underline"
104
+ "size": "text-xl",
105
+ "fontColor": "text-black",
106
+ "fontFamily": "font-serif",
107
+ "additionalClasses": "font-bold"
108
108
  },
109
- "price": "$599",
109
+ "price": "$112.45",
110
110
  "priceProps": {
111
111
  "tag": "p",
112
- "size": "lg",
113
- "fontColor": "black",
114
- "fontFamily": "serif",
112
+ "size": "text-lg",
113
+ "fontColor": "text-black",
114
+ "fontFamily": "font-serif",
115
115
  "additionalClasses": "font-bold"
116
116
  },
117
- "imageUrl": null,
117
+ "imageUrl": "../../../assets/item.jpg",
118
118
  "altText": "Lenovo ThinkPad Universal USB-C Dock",
119
119
  "buttonProps": {
120
- "text": "Add to cart",
120
+ "text": "Add to Cart",
121
121
  "as": "a",
122
- "size": "md",
123
- "fontColor": "white",
124
- "borderColor": "none",
125
- "shape": "semiRounded",
126
- "color": "green",
127
- "hoverBackground": "black",
122
+ "size": "text-md",
123
+ "fontColor": "text-white",
124
+ "borderColor": "border-none",
125
+ "shape": "rounded-md",
126
+ "color": "bg-teal-600",
127
+ "hoverBackground": "bg-black",
128
128
  "additionalClasses": ""
129
129
  }
130
130
  },
131
131
  {
132
132
  "id": "3",
133
- "title": "Lenovo ThinkPad Universal USB-C Dock",
133
+ "title": "IPAD 9TH GEN 64GB SP GRAY",
134
134
  "rating": 5,
135
135
  "ratingProps": {
136
136
  "tag": "p",
137
- "size": "md",
137
+ "size": "text-md",
138
138
  "fontColor": "",
139
- "fontFamily": "serif",
139
+ "fontFamily": "font-serif",
140
140
  "additionalClasses": "bg-white text-blue-800 font-semibold px-2.5 py-0.5 rounded ms-3 max-sm:text-xs"
141
141
  },
142
142
  "link": "#",
143
- "cardBorderRadius": "semiRounded",
144
- "cardBorderColor": "blue",
145
- "cardBackgroundColor": "light blue",
143
+ "cardBorderRadius": "rounded-lg",
144
+ "cardBorderColor": "border-blue-500",
145
+ "cardBackgroundColor": "bg-blue-100",
146
146
  "cardBoxShadow": false,
147
147
  "inStock": true,
148
148
  "inStockProps": {
149
149
  "tag": "p",
150
- "size": "md",
151
- "fontColor": "black",
152
- "fontFamily": "serif",
150
+ "size": "text-sm",
151
+ "fontColor": "text-black",
152
+ "fontFamily": "font-serif",
153
153
  "additionalClasses": "",
154
154
  "inStockIcon": "check",
155
155
  "outOfStockIcon": "x"
156
156
  },
157
157
  "linkTitle": true,
158
- "identifier": "40AY0090US",
158
+ "identifier": "MK2K3LL/A",
159
159
  "identifierProps": {
160
160
  "tag": "p",
161
- "size": "md",
161
+ "size": "text-sm",
162
162
  "fontColor": "",
163
- "fontFamily": "serif",
164
- "additionalClasses": "bg-white text-blue-800 font-semibold px-2.5 py-0.5 rounded"
163
+ "fontFamily": "font-serif",
164
+ "additionalClasses": "bg-white text-slate-900 font-semibold px-2.5 py-0.5 rounded"
165
165
  },
166
166
  "titleProps": {
167
- "tag": "h5",
168
- "size": "xl",
169
- "fontColor": "black",
170
- "fontFamily": "serif",
171
- "additionalClasses": "font-bold hover:underline"
167
+ "tag": "h6",
168
+ "size": "text-sm",
169
+ "fontColor": "text-black",
170
+ "fontFamily": "font-serif",
171
+ "additionalClasses": "font-bold"
172
172
  },
173
- "price": "$599",
173
+ "price": "$349.00",
174
174
  "priceProps": {
175
175
  "tag": "p",
176
- "size": "lg",
177
- "fontColor": "black",
178
- "fontFamily": "serif",
176
+ "size": "text-sm",
177
+ "fontColor": "text-black",
178
+ "fontFamily": "font-serif",
179
179
  "additionalClasses": "font-bold"
180
180
  },
181
- "imageUrl": null,
182
- "altText": "Lenovo ThinkPad Universal USB-C Dock",
181
+ "imageUrl": "../../../assets/card-1.jpg",
182
+ "altText": "IPAD 9TH GEN 64GB SP GRAY",
183
183
  "buttonProps": {
184
- "text": "Add to cart",
184
+ "text": "Required",
185
185
  "as": "a",
186
- "size": "md",
187
- "fontColor": "white",
188
- "borderColor": "none",
189
- "shape": "semiRounded",
190
- "color": "blue",
191
- "hoverBackground": "black",
186
+ "size": "text-sm",
187
+ "fontColor": "text-slate-500",
188
+ "borderColor": "border-none",
189
+ "shape": "rounded-md",
190
+ "color": "bg-slate-200",
191
+ "hoverBackground": "bg-black",
192
192
  "additionalClasses": ""
193
193
  }
194
194
  },
@@ -198,22 +198,22 @@
198
198
  "rating": 5,
199
199
  "ratingProps": {
200
200
  "tag": "p",
201
- "size": "md",
201
+ "size": "text-md",
202
202
  "fontColor": "",
203
- "fontFamily": "serif",
203
+ "fontFamily": "font-serif",
204
204
  "additionalClasses": "bg-white text-blue-800 font-semibold px-2.5 py-0.5 rounded ms-3 max-sm:text-xs"
205
205
  },
206
206
  "link": "#",
207
207
  "inStock": true,
208
- "cardBorderRadius": "semiRounded",
209
- "cardBorderColor": "blue",
210
- "cardBackgroundColor": "light blue",
208
+ "cardBorderRadius": "rounded-lg",
209
+ "cardBorderColor": "border-blue-500",
210
+ "cardBackgroundColor": "bg-blue-100",
211
211
  "cardBoxShadow": false,
212
212
  "inStockProps": {
213
213
  "tag": "p",
214
- "size": "md",
215
- "fontColor": "black",
216
- "fontFamily": "serif",
214
+ "size": "text-md",
215
+ "fontColor": "text-black",
216
+ "fontFamily": "font-serif",
217
217
  "additionalClasses": "",
218
218
  "inStockIcon": "check",
219
219
  "outOfStockIcon": "x"
@@ -222,24 +222,24 @@
222
222
  "identifier": "40AY0090US",
223
223
  "identifierProps": {
224
224
  "tag": "p",
225
- "size": "md",
225
+ "size": "text-md",
226
226
  "fontColor": "",
227
- "fontFamily": "serif",
227
+ "fontFamily": "font-serif",
228
228
  "additionalClasses": "bg-white text-blue-800 font-semibold px-2.5 py-0.5 rounded"
229
229
  },
230
230
  "titleProps": {
231
231
  "tag": "h5",
232
- "size": "xl",
233
- "fontColor": "black",
234
- "fontFamily": "serif",
232
+ "size": "text-xl",
233
+ "fontColor": "text-black",
234
+ "fontFamily": "font-serif",
235
235
  "additionalClasses": "font-bold hover:underline"
236
236
  },
237
237
  "price": "$599",
238
238
  "priceProps": {
239
239
  "tag": "p",
240
- "size": "lg",
241
- "fontColor": "black",
242
- "fontFamily": "serif",
240
+ "size": "text-lg",
241
+ "fontColor": "text-black",
242
+ "fontFamily": "font-serif",
243
243
  "additionalClasses": "font-bold"
244
244
  },
245
245
  "imageUrl": null,
@@ -247,26 +247,153 @@
247
247
  "buttonProps": {
248
248
  "text": "Add to cart",
249
249
  "as": "a",
250
- "size": "md",
251
- "fontColor": "white",
252
- "borderColor": "none",
253
- "shape": "semiRounded",
254
- "color": "blue",
255
- "hoverBackground": "black",
250
+ "size": "text-md",
251
+ "fontColor": "text-white",
252
+ "borderColor": "border-none",
253
+ "shape": "rounded-md",
254
+ "color": "bg-blue-500",
255
+ "hoverBackground": "bg-black",
256
+ "additionalClasses": ""
257
+ }
258
+ },
259
+ {
260
+ "id": "5",
261
+ "title": "Crothall iPads - Environmental Services",
262
+ "rating": 5,
263
+ "ratingProps": {
264
+ "tag": "p",
265
+ "size": "text-md",
266
+ "fontColor": "",
267
+ "fontFamily": "font-serif",
268
+ "additionalClasses": "bg-white text-blue-800 font-semibold px-2.5 py-0.5 rounded ms-3 max-sm:text-xs"
269
+ },
270
+ "link": "#",
271
+ "inStock": true,
272
+ "cardBorderRadius": "rounded-lg",
273
+ "cardBorderColor": "border-blue-500",
274
+ "cardBackgroundColor": "bg-blue-100",
275
+ "cardBoxShadow": false,
276
+ "inStockProps": {
277
+ "tag": "p",
278
+ "size": "text-md",
279
+ "fontColor": "text-black",
280
+ "fontFamily": "font-serif",
281
+ "inStockIcon": "check",
282
+ "outOfStockIcon": "x",
283
+ "additionalClasses": "font-bold max-sm:text-xs"
284
+ },
285
+ "linkTitle": true,
286
+ "identifier": "40AY0090US",
287
+ "identifierProps": {
288
+ "tag": "p",
289
+ "size": "text-md",
290
+ "fontColor": "",
291
+ "fontFamily": "font-serif",
292
+ "additionalClasses": "bg-white text-blue-800 font-semibold px-2.5 py-0.5 rounded max-sm:text-xs"
293
+ },
294
+ "titleProps": {
295
+ "tag": "h5",
296
+ "size": "text-xl",
297
+ "fontColor": "text-black",
298
+ "fontFamily": "font-serif",
299
+ "additionalClasses": "font-bold"
300
+ },
301
+ "price": "$396.00",
302
+ "priceProps": {
303
+ "tag": "p",
304
+ "size": "text-lg",
305
+ "fontColor": "text-black",
306
+ "fontFamily": "font-serif",
307
+ "additionalClasses": "font-bold"
308
+ },
309
+ "imageUrl": "../../../assets/card-1.jpg",
310
+ "altText": "Crothall iPads - Environmental Services",
311
+ "buttonProps": {
312
+ "text": "View",
313
+ "as": "a",
314
+ "size": "text-md",
315
+ "fontColor": "text-white",
316
+ "borderColor": "border-none",
317
+ "shape": "rounded-md",
318
+ "color": "bg-teal-600",
319
+ "hoverBackground": "",
320
+ "additionalClasses": ""
321
+ }
322
+ },
323
+ {
324
+ "id": "6",
325
+ "title": "Apple Lightning cable - Lightning / USB - 3.3 ft (Charging cable for iPad)",
326
+ "rating": 5,
327
+ "ratingProps": {
328
+ "tag": "p",
329
+ "size": "text-md",
330
+ "fontColor": "",
331
+ "fontFamily": "font-serif",
332
+ "additionalClasses": "bg-white text-blue-800 font-semibold px-2.5 py-0.5 rounded ms-3 max-sm:text-xs"
333
+ },
334
+ "link": "#",
335
+ "cardBorderRadius": "rounded-lg",
336
+ "cardBorderColor": "border-blue-500",
337
+ "cardBackgroundColor": "bg-blue-100",
338
+ "cardBoxShadow": false,
339
+ "inStock": true,
340
+ "inStockProps": {
341
+ "tag": "p",
342
+ "size": "text-sm",
343
+ "fontColor": "text-black",
344
+ "fontFamily": "font-serif",
345
+ "additionalClasses": "",
346
+ "inStockIcon": "check",
347
+ "outOfStockIcon": "x"
348
+ },
349
+ "linkTitle": true,
350
+ "identifier": "MK2K3LL/A",
351
+ "identifierProps": {
352
+ "tag": "p",
353
+ "size": "text-sm",
354
+ "fontColor": "",
355
+ "fontFamily": "font-serif",
356
+ "additionalClasses": "bg-white text-slate-900 font-semibold px-2.5 py-0.5 rounded"
357
+ },
358
+ "titleProps": {
359
+ "tag": "h6",
360
+ "size": "text-sm",
361
+ "fontColor": "text-black",
362
+ "fontFamily": "font-serif",
363
+ "additionalClasses": "font-bold"
364
+ },
365
+ "price": "$349.00",
366
+ "priceProps": {
367
+ "tag": "p",
368
+ "size": "text-sm",
369
+ "fontColor": "text-black",
370
+ "fontFamily": "font-serif",
371
+ "additionalClasses": "font-bold"
372
+ },
373
+ "imageUrl": "../../../assets/cable.jpg",
374
+ "altText": "IPAD 9TH GEN 64GB SP GRAY",
375
+ "buttonProps": {
376
+ "text": "Required",
377
+ "as": "a",
378
+ "size": "text-sm",
379
+ "fontColor": "text-slate-500",
380
+ "borderColor": "border-none",
381
+ "shape": "rounded-md",
382
+ "color": "bg-slate-200",
383
+ "hoverBackground": "bg-black",
256
384
  "additionalClasses": ""
257
385
  }
258
386
  }
259
387
  ],
260
388
  "DUMMYCOMPASSPRODUCTDATA": [
261
389
  {
262
- "id": "1",
263
- "title": "Compass Sales Lenovo TP X13 Yoga G3 Laptop",
390
+ "id": "1 - Environmental Services - Lenovo ThinkPad Universal USB-C Dock",
264
391
  "rating": 5,
265
392
  "link": "#",
266
393
  "inStock": true,
267
- "cardBorderRadius": "cornered",
268
- "cardBorderColor": "orange",
269
- "cardBackgroundColor": "orange",
394
+ "cardBorderRadius": "rounded-none",
395
+ "cardBorderColor": "border-orange-500",
396
+ "cardBackgroundColor": "bg-orange-500",
270
397
  "cardBoxShadow": false,
271
398
  "linkTitle": true,
272
399
  "identifier": "40AY0090US",
@@ -274,9 +401,9 @@
274
401
  "textBackgroundColor": "bg-slate-50",
275
402
  "titleProps": {
276
403
  "tag": "h5",
277
- "size": "lg",
278
- "fontColor": "black",
279
- "fontFamily": "serif",
404
+ "size": "text-lg",
405
+ "fontColor": "text-black",
406
+ "fontFamily": "font-serif",
280
407
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
281
408
  },
282
409
  "imageUrl": "./assets/compass-card-image.png",
@@ -288,20 +415,19 @@
288
415
  "rating": 5,
289
416
  "link": "#",
290
417
  "inStock": true,
291
- "cardBorderRadius": "cornered",
292
- "cardBorderColor": "pink",
293
- "cardBackgroundColor": "pink",
418
+ "cardBorderRadius": "rounded-none",
419
+ "cardBorderColor": "border-pink-500",
420
+ "cardBackgroundColor": "bg-pink-500",
294
421
  "cardBoxShadow": false,
295
422
  "imageBackgroundColor": "",
296
423
  "linkTitle": true,
297
424
  "identifier": "40AY0090US",
298
425
  "textBackgroundColor": "bg-slate-50",
299
-
300
426
  "titleProps": {
301
427
  "tag": "h5",
302
- "size": "lg",
303
- "fontColor": "black",
304
- "fontFamily": "serif",
428
+ "size": "text-lg",
429
+ "fontColor": "text-black",
430
+ "fontFamily": "font-serif",
305
431
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
306
432
  },
307
433
  "imageUrl": "./assets/compass-card-image-2.png",
@@ -313,20 +439,19 @@
313
439
  "rating": 5,
314
440
  "link": "#",
315
441
  "inStock": true,
316
- "cardBorderRadius": "cornered",
317
- "cardBorderColor": "fuchsia",
318
- "cardBackgroundColor": "fuchsia",
442
+ "cardBorderRadius": "rounded-none",
443
+ "cardBorderColor": "border-fuchsia-500",
444
+ "cardBackgroundColor": "bg-fuchsia-500",
319
445
  "cardBoxShadow": false,
320
446
  "imageBackgroundColor": "",
321
447
  "linkTitle": true,
322
448
  "identifier": "40AY0090US",
323
449
  "textBackgroundColor": "bg-slate-50",
324
-
325
450
  "titleProps": {
326
451
  "tag": "h5",
327
- "size": "lg",
328
- "fontColor": "black",
329
- "fontFamily": "serif",
452
+ "size": "text-lg",
453
+ "fontColor": "text-black",
454
+ "fontFamily": "font-serif",
330
455
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
331
456
  },
332
457
  "imageUrl": "./assets/compass-card-image-3.png",
@@ -338,9 +463,9 @@
338
463
  "rating": 5,
339
464
  "link": "#",
340
465
  "inStock": true,
341
- "cardBorderRadius": "cornered",
342
- "cardBorderColor": "purple",
343
- "cardBackgroundColor": "purple",
466
+ "cardBorderRadius": "rounded-none",
467
+ "cardBorderColor": "border-purple-500",
468
+ "cardBackgroundColor": "bg-purple-500",
344
469
  "imageBackgroundColor": "",
345
470
  "cardBoxShadow": false,
346
471
  "linkTitle": true,
@@ -348,9 +473,9 @@
348
473
  "textBackgroundColor": "bg-slate-50",
349
474
  "titleProps": {
350
475
  "tag": "h5",
351
- "size": "lg",
352
- "fontColor": "black",
353
- "fontFamily": "serif",
476
+ "size": "text-lg",
477
+ "fontColor": "text-black",
478
+ "fontFamily": "font-serif",
354
479
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
355
480
  },
356
481
  "imageUrl": "./assets/compass-card-image-4.png",
@@ -362,9 +487,9 @@
362
487
  "rating": 5,
363
488
  "link": "#",
364
489
  "inStock": true,
365
- "cardBorderRadius": "cornered",
366
- "cardBorderColor": "blue",
367
- "cardBackgroundColor": "blue",
490
+ "cardBorderRadius": "rounded-none",
491
+ "cardBorderColor": "border-blue-500",
492
+ "cardBackgroundColor": "bg-blue-500",
368
493
  "cardBoxShadow": false,
369
494
  "imageBackgroundColor": "",
370
495
  "linkTitle": true,
@@ -372,9 +497,9 @@
372
497
  "textBackgroundColor": "bg-slate-50",
373
498
  "titleProps": {
374
499
  "tag": "h5",
375
- "size": "lg",
376
- "fontColor": "black",
377
- "fontFamily": "serif",
500
+ "size": "text-lg",
501
+ "fontColor": "text-black",
502
+ "fontFamily": "font-serif",
378
503
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
379
504
  },
380
505
  "imageUrl": "./assets/compass-card-image.png",
@@ -386,9 +511,9 @@
386
511
  "rating": 5,
387
512
  "link": "#",
388
513
  "inStock": true,
389
- "cardBorderRadius": "cornered",
390
- "cardBorderColor": "green",
391
- "cardBackgroundColor": "green",
514
+ "cardBorderRadius": "rounded-none",
515
+ "cardBorderColor": "border-green-500",
516
+ "cardBackgroundColor": "bg-green-500",
392
517
  "cardBoxShadow": false,
393
518
  "imageBackgroundColor": "",
394
519
  "linkTitle": true,
@@ -396,9 +521,9 @@
396
521
  "textBackgroundColor": "bg-slate-50",
397
522
  "titleProps": {
398
523
  "tag": "h5",
399
- "size": "lg",
400
- "fontColor": "black",
401
- "fontFamily": "serif",
524
+ "size": "text-lg",
525
+ "fontColor": "text-black",
526
+ "fontFamily": "font-serif",
402
527
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
403
528
  },
404
529
  "imageUrl": "./assets/compass-card-image-2.png",
@@ -410,9 +535,9 @@
410
535
  "rating": 5,
411
536
  "link": "#",
412
537
  "inStock": true,
413
- "cardBorderRadius": "cornered",
414
- "cardBorderColor": "lime",
415
- "cardBackgroundColor": "lime",
538
+ "cardBorderRadius": "rounded-none",
539
+ "cardBorderColor": "border-lime-500",
540
+ "cardBackgroundColor": "bg-lime-500",
416
541
  "imageBackgroundColor": "",
417
542
  "cardBoxShadow": false,
418
543
  "linkTitle": true,
@@ -420,9 +545,9 @@
420
545
  "textBackgroundColor": "bg-slate-50",
421
546
  "titleProps": {
422
547
  "tag": "h5",
423
- "size": "lg",
424
- "fontColor": "black",
425
- "fontFamily": "serif",
548
+ "size": "text-lg",
549
+ "fontColor": "text-black",
550
+ "fontFamily": "font-serif",
426
551
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
427
552
  },
428
553
  "imageUrl": "./assets/compass-card-image-4.png",
@@ -434,19 +559,19 @@
434
559
  "rating": 5,
435
560
  "link": "#",
436
561
  "inStock": true,
437
- "cardBorderRadius": "cornered",
438
- "cardBorderColor": "yellow",
439
- "cardBackgroundColor": "yellow",
440
- "imageBackgroundColor": "",
562
+ "cardBorderRadius": "rounded-none",
563
+ "cardBorderColor": "border-yellow-500",
564
+ "cardBackgroundColor": "bg-yellow-500",
441
565
  "cardBoxShadow": false,
566
+ "imageBackgroundColor": "",
442
567
  "linkTitle": true,
443
568
  "identifier": "40AY0090US",
444
569
  "textBackgroundColor": "bg-slate-50",
445
570
  "titleProps": {
446
571
  "tag": "h5",
447
- "size": "lg",
448
- "fontColor": "black",
449
- "fontFamily": "serif",
572
+ "size": "text-lg",
573
+ "fontColor": "text-black",
574
+ "fontFamily": "font-serif",
450
575
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
451
576
  },
452
577
  "imageUrl": "./assets/compass-card-image-4.png",
@@ -458,9 +583,9 @@
458
583
  "rating": 5,
459
584
  "link": "#",
460
585
  "inStock": true,
461
- "cardBorderRadius": "cornered",
462
- "cardBorderColor": "orange",
463
- "cardBackgroundColor": "orange",
586
+ "cardBorderRadius": "rounded-none",
587
+ "cardBorderColor": "border-orange-500",
588
+ "cardBackgroundColor": "bg-orange-500",
464
589
  "imageBackgroundColor": "",
465
590
  "cardBoxShadow": false,
466
591
  "linkTitle": true,
@@ -468,9 +593,9 @@
468
593
  "textBackgroundColor": "bg-slate-50",
469
594
  "titleProps": {
470
595
  "tag": "h5",
471
- "size": "lg",
472
- "fontColor": "black",
473
- "fontFamily": "serif",
596
+ "size": "text-lg",
597
+ "fontColor": "text-black",
598
+ "fontFamily": "font-serif",
474
599
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
475
600
  },
476
601
  "imageUrl": "./assets/compass-card-image-4.png",
@@ -482,9 +607,9 @@
482
607
  "rating": 5,
483
608
  "link": "#",
484
609
  "inStock": true,
485
- "cardBorderRadius": "cornered",
486
- "cardBorderColor": "pink",
487
- "cardBackgroundColor": "pink",
610
+ "cardBorderRadius": "rounded-none",
611
+ "cardBorderColor": "border-pink-500",
612
+ "cardBackgroundColor": "bg-pink-500",
488
613
  "imageBackgroundColor": "",
489
614
  "cardBoxShadow": false,
490
615
  "linkTitle": true,
@@ -492,9 +617,9 @@
492
617
  "textBackgroundColor": "bg-slate-50",
493
618
  "titleProps": {
494
619
  "tag": "h5",
495
- "size": "lg",
496
- "fontColor": "black",
497
- "fontFamily": "serif",
620
+ "size": "text-lg",
621
+ "fontColor": "text-black",
622
+ "fontFamily": "font-serif",
498
623
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
499
624
  },
500
625
  "imageUrl": "./assets/compass-card-image-4.png",
@@ -506,9 +631,9 @@
506
631
  "rating": 5,
507
632
  "link": "#",
508
633
  "inStock": true,
509
- "cardBorderRadius": "cornered",
510
- "cardBorderColor": "fuchsia",
511
- "cardBackgroundColor": "fuchsia",
634
+ "cardBorderRadius": "rounded-none",
635
+ "cardBorderColor": "border-fuchsia-500",
636
+ "cardBackgroundColor": "bg-fuchsia-500",
512
637
  "cardBoxShadow": false,
513
638
  "imageBackgroundColor": "",
514
639
  "linkTitle": true,
@@ -516,9 +641,9 @@
516
641
  "textBackgroundColor": "bg-slate-50",
517
642
  "titleProps": {
518
643
  "tag": "h5",
519
- "size": "lg",
520
- "fontColor": "black",
521
- "fontFamily": "serif",
644
+ "size": "text-lg",
645
+ "fontColor": "text-black",
646
+ "fontFamily": "font-serif",
522
647
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
523
648
  },
524
649
  "imageUrl": "./assets/compass-card-image.png",
@@ -530,9 +655,9 @@
530
655
  "rating": 5,
531
656
  "link": "#",
532
657
  "inStock": true,
533
- "cardBorderRadius": "cornered",
534
- "cardBorderColor": "purple",
535
- "cardBackgroundColor": "purple",
658
+ "cardBorderRadius": "rounded-none",
659
+ "cardBorderColor": "border-purple-500",
660
+ "cardBackgroundColor": "bg-purple-500",
536
661
  "cardBoxShadow": false,
537
662
  "imageBackgroundColor": "",
538
663
  "linkTitle": true,
@@ -540,9 +665,9 @@
540
665
  "textBackgroundColor": "bg-slate-50",
541
666
  "titleProps": {
542
667
  "tag": "h5",
543
- "size": "lg",
544
- "fontColor": "black",
545
- "fontFamily": "serif",
668
+ "size": "text-lg",
669
+ "fontColor": "text-black",
670
+ "fontFamily": "font-serif",
546
671
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
547
672
  },
548
673
  "imageUrl": "./assets/compass-card-image-2.png",
@@ -554,9 +679,9 @@
554
679
  "rating": 5,
555
680
  "link": "#",
556
681
  "inStock": true,
557
- "cardBorderRadius": "cornered",
558
- "cardBorderColor": "blue",
559
- "cardBackgroundColor": "blue",
682
+ "cardBorderRadius": "rounded-none",
683
+ "cardBorderColor": "border-blue-500",
684
+ "cardBackgroundColor": "bg-blue-500",
560
685
  "imageBackgroundColor": "",
561
686
  "cardBoxShadow": false,
562
687
  "linkTitle": true,
@@ -564,9 +689,9 @@
564
689
  "textBackgroundColor": "bg-slate-50",
565
690
  "titleProps": {
566
691
  "tag": "h5",
567
- "size": "lg",
568
- "fontColor": "black",
569
- "fontFamily": "serif",
692
+ "size": "text-lg",
693
+ "fontColor": "text-black",
694
+ "fontFamily": "font-serif",
570
695
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
571
696
  },
572
697
  "imageUrl": "./assets/compass-card-image-4.png",
@@ -578,9 +703,9 @@
578
703
  "rating": 5,
579
704
  "link": "#",
580
705
  "inStock": true,
581
- "cardBorderRadius": "cornered",
582
- "cardBorderColor": "green",
583
- "cardBackgroundColor": "green",
706
+ "cardBorderRadius": "rounded-none",
707
+ "cardBorderColor": "border-green-500",
708
+ "cardBackgroundColor": "bg-green-500",
584
709
  "cardBoxShadow": false,
585
710
  "imageBackgroundColor": "",
586
711
  "linkTitle": true,
@@ -588,9 +713,9 @@
588
713
  "textBackgroundColor": "bg-slate-50",
589
714
  "titleProps": {
590
715
  "tag": "h5",
591
- "size": "lg",
592
- "fontColor": "black",
593
- "fontFamily": "serif",
716
+ "size": "text-lg",
717
+ "fontColor": "text-black",
718
+ "fontFamily": "font-serif",
594
719
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
595
720
  },
596
721
  "imageUrl": "./assets/compass-card-image.png",
@@ -602,9 +727,9 @@
602
727
  "rating": 5,
603
728
  "link": "#",
604
729
  "inStock": true,
605
- "cardBorderRadius": "cornered",
606
- "cardBorderColor": "lime",
607
- "cardBackgroundColor": "lime",
730
+ "cardBorderRadius": "rounded-none",
731
+ "cardBorderColor": "border-lime-500",
732
+ "cardBackgroundColor": "bg-lime-500",
608
733
  "cardBoxShadow": false,
609
734
  "imageBackgroundColor": "",
610
735
  "linkTitle": true,
@@ -612,9 +737,9 @@
612
737
  "textBackgroundColor": "bg-slate-50",
613
738
  "titleProps": {
614
739
  "tag": "h5",
615
- "size": "lg",
616
- "fontColor": "black",
617
- "fontFamily": "serif",
740
+ "size": "text-lg",
741
+ "fontColor": "text-black",
742
+ "fontFamily": "font-serif",
618
743
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
619
744
  },
620
745
  "imageUrl": "./assets/compass-card-image-2.png",
@@ -626,9 +751,9 @@
626
751
  "rating": 5,
627
752
  "link": "#",
628
753
  "inStock": true,
629
- "cardBorderRadius": "cornered",
630
- "cardBorderColor": "yellow",
631
- "cardBackgroundColor": "yellow",
754
+ "cardBorderRadius": "rounded-none",
755
+ "cardBorderColor": "border-yellow-500",
756
+ "cardBackgroundColor": "bg-yellow-500",
632
757
  "cardBoxShadow": false,
633
758
  "imageBackgroundColor": "",
634
759
  "linkTitle": true,
@@ -636,35 +761,66 @@
636
761
  "textBackgroundColor": "bg-slate-50",
637
762
  "titleProps": {
638
763
  "tag": "h5",
639
- "size": "lg",
640
- "fontColor": "black",
641
- "fontFamily": "serif",
764
+ "size": "text-lg",
765
+ "fontColor": "text-black",
766
+ "fontFamily": "font-serif",
642
767
  "additionalClasses": "text-center hover:underline mb-0 max-sm:text-xs"
643
768
  },
644
769
  "imageUrl": "./assets/compass-card-image-4.png",
645
770
  "altText": "Lenovo ThinkPad Universal USB-C Dock"
646
771
  }
647
772
  ],
648
- "DUMMYCARDTESTDATA": [
773
+ "DUMMYCATEGORYCARDDATA": [
649
774
  {
650
775
  "id": "1",
651
- "title": "Compass Sales Lenovo TP X13 Yoga G3 Laptop",
652
- "rating": 5,
776
+ "title": "Canteen",
777
+ "productCount": 12,
653
778
  "link": "#",
654
- "inStock": true,
655
- "linkTitle": true,
656
- "identifier": "40AY0090US",
657
- "imageBackgroundColor": "bg-teal-500",
658
- "textBackgroundColor": "bg-slate-50",
779
+ "imageBackgroundColor": "bg-white",
780
+ "textBackgroundColor": "text-black",
659
781
  "titleProps": {
660
- "tag": "h5",
661
- "size": "lg",
662
- "fontColor": "black",
663
- "fontFamily": "serif",
664
- "additionalClasses": "text-center hover:underline mb-0 max-sm:text-sm"
782
+ "tag": "h3",
783
+ "size": "text-lg",
784
+ "fontColor": "text-black",
785
+ "fontFamily": "font-sans",
786
+ "additionalClasses": "font-bold"
665
787
  },
666
- "imageUrl": "./assets/compass-card-image.png",
667
- "altText": "Lenovo ThinkPad Universal USB-C Dock"
788
+ "imageUrl": "../../../assets/cat-logo.png",
789
+ "altText": "Canteen Logo"
790
+ },
791
+ {
792
+ "id": "2",
793
+ "title": "Morrison Healthcare",
794
+ "productCount": 10,
795
+ "link": "#",
796
+ "imageBackgroundColor": "bg-white",
797
+ "textBackgroundColor": "text-black",
798
+ "titleProps": {
799
+ "tag": "h3",
800
+ "size": "text-lg",
801
+ "fontColor": "text-black",
802
+ "fontFamily": "font-sans",
803
+ "additionalClasses": "font-bold"
804
+ },
805
+ "imageUrl": "./assets/compass-logo.png",
806
+ "altText": "Morrison Healthcare Logo"
807
+ },
808
+ {
809
+ "id": "3",
810
+ "title": "Canteen",
811
+ "productCount": 12,
812
+ "link": "#",
813
+ "imageBackgroundColor": "bg-white",
814
+ "textBackgroundColor": "text-black",
815
+ "titleProps": {
816
+ "tag": "h3",
817
+ "size": "text-lg",
818
+ "fontColor": "text-black",
819
+ "fontFamily": "font-sans",
820
+ "additionalClasses": "font-bold"
821
+ },
822
+ "imageUrl": "../../../assets/cat-logo.png",
823
+ "altText": "Canteen Logo"
668
824
  }
669
825
  ]
670
- }
826
+ }