@pingux/astro 2.91.0 → 2.92.0-alpha.1

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 (292) hide show
  1. package/lib/cjs/components/Card/Card.stories.js +2 -1
  2. package/lib/cjs/components/Card/Card.styles.d.ts +12 -0
  3. package/lib/cjs/components/Card/Card.styles.js +2 -1
  4. package/lib/cjs/components/CodeView/CodeView.js +7 -3
  5. package/lib/cjs/components/CodeView/CodeView.test.js +11 -4
  6. package/lib/cjs/components/ComboBox/ComboBoxInput.js +5 -2
  7. package/lib/cjs/components/DataTable/DataTable.js +42 -14
  8. package/lib/cjs/components/DataTable/DataTable.stories.d.ts +32 -0
  9. package/lib/cjs/components/DataTable/DataTable.stories.js +204 -14
  10. package/lib/cjs/components/DataTable/DataTable.styles.d.ts +29 -0
  11. package/lib/cjs/components/DataTable/DataTable.styles.js +17 -0
  12. package/lib/cjs/components/DataTable/DataTable.test.js +144 -2
  13. package/lib/cjs/components/Icon/NoticeIcon.js +4 -1
  14. package/lib/cjs/components/IconWrapper/IconWrapper.d.ts +4 -0
  15. package/lib/cjs/components/IconWrapper/IconWrapper.js +62 -0
  16. package/lib/cjs/components/IconWrapper/IconWrapper.mdx +14 -0
  17. package/lib/cjs/components/IconWrapper/IconWrapper.stories.d.ts +4 -0
  18. package/lib/cjs/components/IconWrapper/IconWrapper.stories.js +53 -0
  19. package/lib/cjs/components/IconWrapper/IconWrapper.test.d.ts +1 -0
  20. package/lib/cjs/components/IconWrapper/IconWrapper.test.js +41 -0
  21. package/lib/cjs/components/IconWrapper/iconWrapperAttributes.d.ts +21 -0
  22. package/lib/cjs/components/IconWrapper/iconWrapperAttributes.js +31 -0
  23. package/lib/cjs/components/IconWrapper/index.d.ts +1 -0
  24. package/lib/cjs/components/IconWrapper/index.js +14 -0
  25. package/lib/cjs/components/Link/Link.stories.js +1 -1
  26. package/lib/cjs/components/ListView/ListViewExpandableItem.js +6 -3
  27. package/lib/cjs/components/NavBar/NavBar.stories.js +10 -3
  28. package/lib/cjs/components/NavBarSection/NavBarItemBody.js +4 -1
  29. package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +6 -4
  30. package/lib/cjs/components/NavSideBar/NavSideBarSectionHeader.js +6 -3
  31. package/lib/cjs/components/NavigationHeader/NavigationHeader.stories.js +15 -16
  32. package/lib/cjs/components/OverlayPanel/OverlayPanel.stories.js +5 -1
  33. package/lib/cjs/components/SelectFieldBase/SelectFieldBase.js +5 -2
  34. package/lib/cjs/components/Tabs/Tabs.stories.js +3 -3
  35. package/lib/cjs/hooks/index.d.ts +1 -0
  36. package/lib/cjs/hooks/index.js +7 -0
  37. package/lib/cjs/hooks/useGetTheme/index.d.ts +1 -0
  38. package/lib/cjs/hooks/useGetTheme/index.js +14 -0
  39. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +26 -0
  40. package/lib/cjs/hooks/useGetTheme/useGetTheme.js +82 -0
  41. package/lib/cjs/hooks/useGetTheme/useGetTheme.test.d.ts +1 -0
  42. package/lib/cjs/hooks/useGetTheme/useGetTheme.test.js +88 -0
  43. package/lib/cjs/hooks/useTShirtSize/useTShirtSize.js +5 -3
  44. package/lib/cjs/hooks/useTShirtSize/useTShirtSize.test.js +17 -0
  45. package/lib/cjs/index.d.ts +3 -0
  46. package/lib/cjs/index.js +77 -50
  47. package/lib/cjs/recipes/NextGen/ListViewNextGen.stories.js +6 -135
  48. package/lib/cjs/recipes/NextGen/ModalNextGen.stories.js +8 -7
  49. package/lib/cjs/recipes/NextGen/NavBarNextGen.stories.js +2 -216
  50. package/lib/cjs/recipes/NextGen/NextGenDataTable.stories.js +2 -135
  51. package/lib/cjs/styles/sizes.d.ts +12 -0
  52. package/lib/cjs/styles/sizes.js +19 -0
  53. package/lib/cjs/styles/theme.js +4 -12
  54. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +75 -0
  55. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +97 -0
  56. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +7 -0
  57. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.js +24 -0
  58. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +11 -0
  59. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +24 -0
  60. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/index.d.ts +1 -0
  61. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/index.js +14 -0
  62. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.d.ts +2 -0
  63. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +31 -0
  64. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkDataTable.chomatic.stories.d.ts +6 -0
  65. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkDataTable.chomatic.stories.js +22 -0
  66. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.d.ts +6 -0
  67. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.js +22 -0
  68. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkNavStory.chomatic.stories.d.ts +6 -0
  69. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkNavStory.chomatic.stories.js +22 -0
  70. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkStickerSheet.chromatic.stories.d.ts +6 -0
  71. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkStickerSheet.chromatic.stories.js +22 -0
  72. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/avatar.d.ts +43 -0
  73. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/avatar.js +51 -0
  74. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.d.ts +92 -0
  75. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.js +96 -0
  76. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +82 -0
  77. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +105 -0
  78. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/cards.d.ts +15 -0
  79. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/cards.js +23 -0
  80. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.d.ts +68 -0
  81. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.js +71 -0
  82. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/iconBadge.d.ts +53 -0
  83. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/iconBadge.js +75 -0
  84. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.d.ts +8 -0
  85. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.js +35 -0
  86. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/links.d.ts +40 -0
  87. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/links.js +47 -0
  88. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/lsitview.d.ts +24 -0
  89. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/lsitview.js +33 -0
  90. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/menu.d.ts +26 -0
  91. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/menu.js +35 -0
  92. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/message.d.ts +52 -0
  93. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/message.js +60 -0
  94. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/navbar.d.ts +132 -0
  95. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +149 -0
  96. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +375 -0
  97. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +71 -0
  98. package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +8 -0
  99. package/lib/cjs/styles/themes/astro/customProperties/icons.js +23 -0
  100. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +12 -0
  101. package/lib/cjs/styles/themes/astro/customProperties/index.js +15 -0
  102. package/lib/cjs/styles/themes/astro/customProperties/styles.d.ts +4 -0
  103. package/lib/cjs/styles/themes/astro/customProperties/styles.js +11 -0
  104. package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +36 -0
  105. package/lib/cjs/styles/themes/next-gen/colors/colors.js +22 -4
  106. package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.d.ts +22 -0
  107. package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.js +31 -0
  108. package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +11 -1
  109. package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +15 -4
  110. package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +8 -0
  111. package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +23 -0
  112. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +12 -0
  113. package/lib/cjs/styles/themes/next-gen/customProperties/index.js +15 -0
  114. package/lib/cjs/styles/themes/next-gen/customProperties/styles.d.ts +4 -0
  115. package/lib/cjs/styles/themes/next-gen/customProperties/styles.js +11 -0
  116. package/lib/cjs/styles/themes/next-gen/forms.js +3 -3
  117. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +244 -8
  118. package/lib/cjs/styles/themes/next-gen/next-gen.js +5 -9
  119. package/lib/cjs/styles/themes/next-gen/sizes.d.ts +7 -0
  120. package/lib/cjs/styles/themes/next-gen/sizes.js +10 -1
  121. package/lib/cjs/styles/themes/next-gen/stories/DataTableNextGenComponent.d.ts +6 -0
  122. package/lib/cjs/styles/themes/next-gen/stories/DataTableNextGenComponent.js +151 -0
  123. package/lib/cjs/styles/themes/next-gen/stories/ListViewItemNextGen.d.ts +29 -0
  124. package/lib/cjs/styles/themes/next-gen/stories/ListViewItemNextGen.js +84 -0
  125. package/lib/cjs/styles/themes/next-gen/stories/ListViewNextGenComponent.d.ts +2 -0
  126. package/lib/cjs/styles/themes/next-gen/stories/ListViewNextGenComponent.js +67 -0
  127. package/lib/cjs/styles/themes/next-gen/stories/NavBarNextGenComponent.d.ts +2 -0
  128. package/lib/cjs/styles/themes/next-gen/stories/NavBarNextGenComponent.js +191 -0
  129. package/lib/cjs/styles/themes/next-gen/stories/NextGenDataTable.chromatic.stories.d.ts +6 -0
  130. package/lib/cjs/styles/themes/next-gen/stories/NextGenDataTable.chromatic.stories.js +22 -0
  131. package/lib/cjs/styles/themes/next-gen/stories/NextGenListView.chromatic.stories.d.ts +6 -0
  132. package/lib/cjs/styles/themes/next-gen/stories/NextGenListView.chromatic.stories.js +22 -0
  133. package/lib/cjs/styles/themes/next-gen/stories/NextGenListViewItem.stories.d.ts +7 -0
  134. package/lib/cjs/styles/themes/next-gen/stories/NextGenListViewItem.stories.js +36 -0
  135. package/lib/cjs/styles/themes/next-gen/stories/NextGenNavBar.chromatic.stories.d.ts +6 -0
  136. package/lib/cjs/styles/themes/next-gen/stories/NextGenNavBar.chromatic.stories.js +22 -0
  137. package/lib/cjs/styles/themes/next-gen/stories/NextGenStickerSheet.chromatic.stories.d.ts +6 -0
  138. package/lib/cjs/styles/themes/next-gen/stories/NextGenStickerSheet.chromatic.stories.js +22 -0
  139. package/lib/cjs/styles/themes/next-gen/stories/StickerSheetComponent.d.ts +3 -0
  140. package/lib/cjs/styles/themes/next-gen/stories/StickerSheetComponent.js +286 -0
  141. package/lib/cjs/styles/themes/next-gen/variants/avatar.d.ts +43 -0
  142. package/lib/cjs/styles/themes/next-gen/variants/avatar.js +51 -0
  143. package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +208 -0
  144. package/lib/cjs/styles/themes/next-gen/variants/badges.js +103 -0
  145. package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +1 -0
  146. package/lib/cjs/styles/themes/next-gen/variants/button.js +5 -4
  147. package/lib/cjs/styles/themes/next-gen/variants/cards.d.ts +40 -0
  148. package/lib/cjs/styles/themes/next-gen/variants/cards.js +22 -2
  149. package/lib/cjs/styles/themes/next-gen/variants/iconWrapper.d.ts +36 -0
  150. package/lib/cjs/styles/themes/next-gen/variants/iconWrapper.js +51 -0
  151. package/lib/cjs/styles/themes/next-gen/variants/input.js +9 -9
  152. package/lib/cjs/styles/themes/next-gen/variants/label.js +1 -1
  153. package/lib/cjs/styles/themes/next-gen/variants/links.d.ts +75 -0
  154. package/lib/cjs/styles/themes/next-gen/variants/links.js +7 -1
  155. package/lib/cjs/styles/themes/next-gen/variants/listview.d.ts +68 -0
  156. package/lib/cjs/styles/themes/next-gen/variants/listview.js +77 -0
  157. package/lib/cjs/styles/themes/next-gen/variants/menu.d.ts +28 -0
  158. package/lib/cjs/styles/themes/next-gen/variants/menu.js +37 -0
  159. package/lib/cjs/styles/themes/next-gen/variants/messages.d.ts +40 -0
  160. package/lib/cjs/styles/themes/next-gen/variants/messages.js +48 -0
  161. package/lib/cjs/styles/themes/next-gen/variants/navbar.d.ts +126 -0
  162. package/lib/cjs/styles/themes/next-gen/variants/navbar.js +134 -0
  163. package/lib/cjs/styles/themes/next-gen/variants/navigationHeader.d.ts +3 -1
  164. package/lib/cjs/styles/themes/next-gen/variants/navigationHeader.js +6 -4
  165. package/lib/cjs/styles/themes/next-gen/variants/tabs.d.ts +28 -0
  166. package/lib/cjs/styles/themes/next-gen/variants/tabs.js +38 -0
  167. package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +11 -0
  168. package/lib/cjs/styles/themes/next-gen/variants/text.js +18 -7
  169. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +71 -7
  170. package/lib/cjs/styles/themes/next-gen/variants/variants.js +38 -338
  171. package/lib/cjs/types/dataTable.d.ts +4 -0
  172. package/lib/cjs/types/iconWrapper.d.ts +15 -0
  173. package/lib/cjs/types/iconWrapper.js +6 -0
  174. package/lib/cjs/utils/devUtils/constants/logos.d.ts +3 -0
  175. package/lib/cjs/utils/devUtils/constants/logos.js +84 -0
  176. package/lib/cjs/utils/devUtils/constants/tShirtSizes.d.ts +11 -0
  177. package/lib/cjs/utils/devUtils/constants/tShirtSizes.js +8 -2
  178. package/lib/cjs/utils/devUtils/constants/themes.d.ts +5 -0
  179. package/lib/cjs/utils/devUtils/constants/themes.js +13 -0
  180. package/lib/cjs/utils/devUtils/shouldReturnComingSoon.d.ts +1 -0
  181. package/lib/cjs/utils/devUtils/shouldReturnComingSoon.js +41 -0
  182. package/lib/cjs/utils/docUtils/iconSizeProps.d.ts +1 -1
  183. package/lib/cjs/utils/docUtils/iconSizeProps.js +1 -1
  184. package/lib/cjs/utils/testUtils/testWrapper.d.ts +4 -2
  185. package/lib/cjs/utils/testUtils/testWrapper.js +10 -4
  186. package/lib/components/Card/Card.stories.js +2 -1
  187. package/lib/components/Card/Card.styles.js +1 -1
  188. package/lib/components/CodeView/CodeView.js +7 -3
  189. package/lib/components/CodeView/CodeView.test.js +12 -5
  190. package/lib/components/ComboBox/ComboBoxInput.js +4 -1
  191. package/lib/components/DataTable/DataTable.js +42 -14
  192. package/lib/components/DataTable/DataTable.stories.js +201 -13
  193. package/lib/components/DataTable/DataTable.styles.js +17 -0
  194. package/lib/components/DataTable/DataTable.test.js +141 -2
  195. package/lib/components/Icon/NoticeIcon.js +4 -1
  196. package/lib/components/IconWrapper/IconWrapper.js +50 -0
  197. package/lib/components/IconWrapper/IconWrapper.mdx +14 -0
  198. package/lib/components/IconWrapper/IconWrapper.stories.js +44 -0
  199. package/lib/components/IconWrapper/IconWrapper.test.js +38 -0
  200. package/lib/components/IconWrapper/iconWrapperAttributes.js +23 -0
  201. package/lib/components/IconWrapper/index.js +1 -0
  202. package/lib/components/Link/Link.stories.js +2 -2
  203. package/lib/components/ListView/ListViewExpandableItem.js +6 -3
  204. package/lib/components/NavBar/NavBar.stories.js +10 -3
  205. package/lib/components/NavBarSection/NavBarItemBody.js +4 -1
  206. package/lib/components/NavBarSection/NavBarItemHeader.js +5 -3
  207. package/lib/components/NavSideBar/NavSideBarSectionHeader.js +5 -2
  208. package/lib/components/NavigationHeader/NavigationHeader.stories.js +17 -18
  209. package/lib/components/OverlayPanel/OverlayPanel.stories.js +5 -1
  210. package/lib/components/SelectFieldBase/SelectFieldBase.js +4 -1
  211. package/lib/components/Tabs/Tabs.stories.js +3 -3
  212. package/lib/hooks/index.js +1 -0
  213. package/lib/hooks/useGetTheme/index.js +1 -0
  214. package/lib/hooks/useGetTheme/useGetTheme.js +74 -0
  215. package/lib/hooks/useGetTheme/useGetTheme.test.js +81 -0
  216. package/lib/hooks/useTShirtSize/useTShirtSize.js +5 -3
  217. package/lib/hooks/useTShirtSize/useTShirtSize.test.js +17 -0
  218. package/lib/index.js +3 -3
  219. package/lib/recipes/NextGen/ListViewNextGen.stories.js +5 -134
  220. package/lib/recipes/NextGen/ModalNextGen.stories.js +9 -8
  221. package/lib/recipes/NextGen/NavBarNextGen.stories.js +2 -216
  222. package/lib/recipes/NextGen/NextGenDataTable.stories.js +2 -135
  223. package/lib/styles/sizes.js +11 -0
  224. package/lib/styles/theme.js +4 -12
  225. package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +88 -0
  226. package/lib/styles/themeOverrides/nextGenDarkMode/customProperties/icons.js +16 -0
  227. package/lib/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +16 -0
  228. package/lib/styles/themeOverrides/nextGenDarkMode/index.js +1 -0
  229. package/lib/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +22 -0
  230. package/lib/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkDataTable.chomatic.stories.js +12 -0
  231. package/lib/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.js +12 -0
  232. package/lib/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkNavStory.chomatic.stories.js +12 -0
  233. package/lib/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkStickerSheet.chromatic.stories.js +12 -0
  234. package/lib/styles/themeOverrides/nextGenDarkMode/variants/avatar.js +43 -0
  235. package/lib/styles/themeOverrides/nextGenDarkMode/variants/badges.js +88 -0
  236. package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +97 -0
  237. package/lib/styles/themeOverrides/nextGenDarkMode/variants/cards.js +15 -0
  238. package/lib/styles/themeOverrides/nextGenDarkMode/variants/forms.js +60 -0
  239. package/lib/styles/themeOverrides/nextGenDarkMode/variants/iconBadge.js +67 -0
  240. package/lib/styles/themeOverrides/nextGenDarkMode/variants/input.js +26 -0
  241. package/lib/styles/themeOverrides/nextGenDarkMode/variants/links.js +39 -0
  242. package/lib/styles/themeOverrides/nextGenDarkMode/variants/lsitview.js +24 -0
  243. package/lib/styles/themeOverrides/nextGenDarkMode/variants/menu.js +26 -0
  244. package/lib/styles/themeOverrides/nextGenDarkMode/variants/message.js +52 -0
  245. package/lib/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +141 -0
  246. package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +62 -0
  247. package/lib/styles/themes/astro/customProperties/icons.js +14 -0
  248. package/lib/styles/themes/astro/customProperties/index.js +6 -0
  249. package/lib/styles/themes/astro/customProperties/styles.js +3 -0
  250. package/lib/styles/themes/next-gen/colors/colors.js +22 -4
  251. package/lib/styles/themes/next-gen/colors/iconWrapper.js +23 -0
  252. package/lib/styles/themes/next-gen/convertedComponentList.js +12 -2
  253. package/lib/styles/themes/next-gen/customProperties/icons.js +14 -0
  254. package/lib/styles/themes/next-gen/customProperties/index.js +6 -0
  255. package/lib/styles/themes/next-gen/customProperties/styles.js +3 -0
  256. package/lib/styles/themes/next-gen/forms.js +3 -3
  257. package/lib/styles/themes/next-gen/next-gen.js +4 -5
  258. package/lib/styles/themes/next-gen/sizes.js +10 -1
  259. package/lib/styles/themes/next-gen/stories/DataTableNextGenComponent.js +141 -0
  260. package/lib/styles/themes/next-gen/stories/ListViewItemNextGen.js +75 -0
  261. package/lib/styles/themes/next-gen/stories/ListViewNextGenComponent.js +58 -0
  262. package/lib/styles/themes/next-gen/stories/NavBarNextGenComponent.js +182 -0
  263. package/lib/styles/themes/next-gen/stories/NextGenDataTable.chromatic.stories.js +12 -0
  264. package/lib/styles/themes/next-gen/stories/NextGenListView.chromatic.stories.js +12 -0
  265. package/lib/styles/themes/next-gen/stories/NextGenListViewItem.stories.js +26 -0
  266. package/lib/styles/themes/next-gen/stories/NextGenNavBar.chromatic.stories.js +12 -0
  267. package/lib/styles/themes/next-gen/stories/NextGenStickerSheet.chromatic.stories.js +12 -0
  268. package/lib/styles/themes/next-gen/stories/StickerSheetComponent.js +277 -0
  269. package/lib/styles/themes/next-gen/variants/avatar.js +43 -0
  270. package/lib/styles/themes/next-gen/variants/badges.js +94 -0
  271. package/lib/styles/themes/next-gen/variants/button.js +5 -4
  272. package/lib/styles/themes/next-gen/variants/cards.js +21 -2
  273. package/lib/styles/themes/next-gen/variants/iconWrapper.js +43 -0
  274. package/lib/styles/themes/next-gen/variants/input.js +9 -9
  275. package/lib/styles/themes/next-gen/variants/label.js +1 -1
  276. package/lib/styles/themes/next-gen/variants/links.js +7 -1
  277. package/lib/styles/themes/next-gen/variants/listview.js +68 -0
  278. package/lib/styles/themes/next-gen/variants/menu.js +28 -0
  279. package/lib/styles/themes/next-gen/variants/messages.js +40 -0
  280. package/lib/styles/themes/next-gen/variants/navbar.js +124 -0
  281. package/lib/styles/themes/next-gen/variants/navigationHeader.js +6 -4
  282. package/lib/styles/themes/next-gen/variants/tabs.js +28 -0
  283. package/lib/styles/themes/next-gen/variants/text.js +18 -7
  284. package/lib/styles/themes/next-gen/variants/variants.js +31 -331
  285. package/lib/types/iconWrapper.js +1 -0
  286. package/lib/utils/devUtils/constants/logos.js +74 -0
  287. package/lib/utils/devUtils/constants/tShirtSizes.js +5 -0
  288. package/lib/utils/devUtils/constants/themes.js +5 -0
  289. package/lib/utils/devUtils/shouldReturnComingSoon.js +27 -0
  290. package/lib/utils/docUtils/iconSizeProps.js +1 -1
  291. package/lib/utils/testUtils/testWrapper.js +10 -4
  292. package/package.json +1 -1
@@ -0,0 +1,24 @@
1
+ export var listViewItem = {
2
+ styledListItem: {
3
+ '&.has-separator': {
4
+ borderBottom: '1px solid',
5
+ borderBottomColor: 'border.base'
6
+ },
7
+ bg: 'background.base',
8
+ '&.is-selected': {
9
+ bg: 'background.hover'
10
+ },
11
+ '&.is-hovered': {
12
+ bg: 'background.hover'
13
+ },
14
+ '&.is-focused': {
15
+ boxShadow: '0 0 0 3px inset #1a73e8',
16
+ bg: 'background.hover'
17
+ }
18
+ }
19
+ };
20
+ export var listView = {
21
+ container: {
22
+ borderColor: 'border.base'
23
+ }
24
+ };
@@ -0,0 +1,26 @@
1
+ export var menuItem = {
2
+ item: {
3
+ bg: 'transparent',
4
+ padding: '10px 10px',
5
+ outline: 'none',
6
+ color: 'gray-400',
7
+ cursor: 'pointer',
8
+ '&.is-focused, &.is-selected, &.is-pressed': {
9
+ bg: 'gray-800',
10
+ color: 'text.primary',
11
+ '> *': {
12
+ color: 'text.primary'
13
+ }
14
+ },
15
+ '&.is-pressed': {
16
+ color: 'text.secondary',
17
+ bg: 'gray-800'
18
+ }
19
+ },
20
+ separator: {
21
+ my: 'sm'
22
+ }
23
+ };
24
+ export var menu = {
25
+ backgroundColor: '#23282e'
26
+ };
@@ -0,0 +1,52 @@
1
+ export var message = {
2
+ item: {
3
+ backgroundColor: 'background.secondary',
4
+ color: 'white !important',
5
+ '> span': {
6
+ color: 'text.message'
7
+ },
8
+ '&.is-success': {
9
+ bg: 'background.secondary',
10
+ borderLeftColor: 'green-500',
11
+ color: 'text.message'
12
+ },
13
+ '&.is-success, > .is-success': {
14
+ bg: 'background.secondary',
15
+ color: 'text.message'
16
+ },
17
+ '&.is-warning': {
18
+ bg: 'background.secondary',
19
+ borderLeftColor: 'yellow-500',
20
+ color: 'text.message'
21
+ },
22
+ '&.is-warning, > .is-warning': {
23
+ bg: 'background.secondary',
24
+ color: 'text.message'
25
+ },
26
+ '&.is-error, > .is-error': {
27
+ bg: 'background.secondary',
28
+ color: 'text.message'
29
+ },
30
+ '&.is-error, > button > svg': {
31
+ color: 'white !important',
32
+ path: {
33
+ fill: 'white !important'
34
+ }
35
+ },
36
+ '&.is-warning, > button > svg': {
37
+ color: 'white !important',
38
+ path: {
39
+ fill: 'text.message'
40
+ }
41
+ },
42
+ '&.is-success, > button > svg': {
43
+ color: 'white !important',
44
+ path: {
45
+ fill: 'text.message'
46
+ }
47
+ },
48
+ '&.is-error': {
49
+ borderLeftColor: 'red-500'
50
+ }
51
+ }
52
+ };
@@ -0,0 +1,141 @@
1
+ import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
2
+ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
3
+ import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
4
+ import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
5
+ import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
6
+ import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
7
+ import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
8
+ import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
9
+ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
10
+ function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
12
+ var navBarFocus = {
13
+ outline: '2px solid',
14
+ outlineColor: 'active',
15
+ outlineOffset: '-2px'
16
+ };
17
+ var navBarSelected = {
18
+ backgroundColor: 'background.hover'
19
+ };
20
+ export var navBar = {
21
+ container: {
22
+ width: '252px',
23
+ p: 'sm',
24
+ backgroundColor: 'background.base',
25
+ boxShadow: '0 .5rem 1rem rgba(0, 0, 0, .15)'
26
+ },
27
+ sectionButton: {
28
+ '&.is-focused': _objectSpread({}, navBarFocus),
29
+ '&.is-pressed': {
30
+ backgroundColor: 'background.hover',
31
+ color: 'white',
32
+ fontFamily: 'standard',
33
+ '> div > span': {
34
+ color: 'white'
35
+ },
36
+ '> div > svg': {
37
+ fill: 'white'
38
+ }
39
+ },
40
+ '&.is-hovered': {
41
+ '> div': {
42
+ backgroundColor: 'background.hover'
43
+ }
44
+ }
45
+ },
46
+ itemButton: {
47
+ color: 'text.primary',
48
+ fontFamily: 'standard',
49
+ '&.is-selected': {
50
+ backgroundColor: 'background.hover',
51
+ color: 'white',
52
+ '> div > span': {
53
+ color: 'white'
54
+ },
55
+ '> div > svg': {
56
+ fill: 'white'
57
+ }
58
+ },
59
+ '&.is-focused': _objectSpread({}, navBarFocus),
60
+ '&.is-hovered': {
61
+ backgroundColor: 'background.hover'
62
+ },
63
+ '&.is-pressed': {
64
+ backgroundColor: 'background.hover',
65
+ color: 'white'
66
+ }
67
+ },
68
+ subtitle: {
69
+ fontFamily: 'standard',
70
+ color: 'text.primary'
71
+ },
72
+ headerText: {
73
+ color: 'text.primary',
74
+ fontFamily: 'standard',
75
+ '.is-selected &': {
76
+ color: 'white'
77
+ }
78
+ },
79
+ headerNav: {
80
+ color: 'text.primary',
81
+ fontFamily: 'standard',
82
+ '&.is-hovered': {
83
+ backgroundColor: 'light'
84
+ },
85
+ '&.is-focused': {
86
+ boxShadow: 'none',
87
+ WebkitBoxShadow: 'none',
88
+ MozBoxShadow: 'none'
89
+ }
90
+ },
91
+ item: {
92
+ px: '1rem',
93
+ py: '.75rem',
94
+ color: 'magenta !important',
95
+ fontFamily: 'standard',
96
+ '&.is-hovered': {
97
+ backgroundColor: 'background.hover'
98
+ },
99
+ '> div > svg': {
100
+ fill: 'text.primary'
101
+ },
102
+ '&.is-selected': _objectSpread(_objectSpread({}, navBarSelected), {}, {
103
+ '> div > svg': {
104
+ fill: 'white'
105
+ }
106
+ }),
107
+ '&.is-focused': {
108
+ outline: '2px solid',
109
+ outlineColor: 'active',
110
+ outlineOffset: '-2px',
111
+ boxShadow: 'none',
112
+ WebkitBoxShadow: 'none',
113
+ MozBoxShadow: 'none'
114
+ },
115
+ '&.is-pressed': {
116
+ backgroundColor: 'background.hover',
117
+ '> div > span': {
118
+ color: 'white'
119
+ },
120
+ '> div > svg': {
121
+ fill: 'white'
122
+ }
123
+ }
124
+ },
125
+ itemHeaderContainer: {
126
+ px: '1rem',
127
+ py: '.75rem',
128
+ backgroundColor: 'transparent',
129
+ '> svg': {
130
+ fill: 'text.primary'
131
+ },
132
+ '> div > svg': {
133
+ fill: 'text.primary'
134
+ },
135
+ '&.is-selected': _objectSpread(_objectSpread({}, navBarSelected), {}, {
136
+ '> svg': {
137
+ fill: 'white'
138
+ }
139
+ })
140
+ }
141
+ };
@@ -0,0 +1,62 @@
1
+ import { avatar } from './avatar';
2
+ import iconBadge from './iconBadge';
3
+ import { listView, listViewItem } from './lsitview';
4
+ import { menu, menuItem } from './menu';
5
+ import { message } from './message';
6
+ import { navBar } from './navbar';
7
+ var listBox = {
8
+ container: {
9
+ backgroundColor: 'background.base',
10
+ border: '1px solid',
11
+ borderColor: 'border.input',
12
+ borderRadius: '4px'
13
+ },
14
+ option: {
15
+ py: '.75rem',
16
+ pl: '.75rem',
17
+ pr: '1rem',
18
+ bg: 'background.base',
19
+ '&.is-focused': {
20
+ color: 'text.primary',
21
+ bg: 'gray-800'
22
+ },
23
+ '&.is-selected': {
24
+ color: 'text.primary',
25
+ bg: 'gray-800',
26
+ pl: 0,
27
+ '&.is-focused': {
28
+ color: 'text.primary'
29
+ }
30
+ }
31
+ }
32
+ };
33
+ var tab = {
34
+ '&.is-selected': {
35
+ '& > span': {
36
+ color: 'text.secondary'
37
+ }
38
+ },
39
+ '&.is-hovered': {
40
+ '& > span': {
41
+ color: 'text.secondary'
42
+ }
43
+ }
44
+ };
45
+ var modal = {
46
+ content: {
47
+ bg: 'background.base'
48
+ }
49
+ };
50
+ export default {
51
+ avatar: avatar,
52
+ message: message,
53
+ menu: menu,
54
+ menuItem: menuItem,
55
+ listViewItem: listViewItem,
56
+ listView: listView,
57
+ navBar: navBar,
58
+ listBox: listBox,
59
+ modal: modal,
60
+ tab: tab,
61
+ iconBadge: iconBadge
62
+ };
@@ -0,0 +1,14 @@
1
+ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
2
+ var _MenuDown$MenuUp$stat;
3
+ import AlertCircleIcon from '@pingux/mdi-react/AlertCircleIcon';
4
+ import AlertIcon from '@pingux/mdi-react/AlertIcon';
5
+ import CheckCircleIcon from '@pingux/mdi-react/CheckCircleIcon';
6
+ import InformationIcon from '@pingux/mdi-react/InformationIcon';
7
+ import MenuDown from '@pingux/mdi-react/MenuDownIcon';
8
+ import MenuUp from '@pingux/mdi-react/MenuUpIcon';
9
+ import { pingLogoHorizontalSmallWhite } from '../../../../utils/devUtils/constants/logos';
10
+ import statuses from '../../../../utils/devUtils/constants/statuses';
11
+ export default (_MenuDown$MenuUp$stat = {
12
+ MenuDown: MenuDown,
13
+ MenuUp: MenuUp
14
+ }, _defineProperty(_MenuDown$MenuUp$stat, statuses.DEFAULT, InformationIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.ERROR, AlertCircleIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.SUCCESS, CheckCircleIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.WARNING, AlertIcon), _defineProperty(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", pingLogoHorizontalSmallWhite), _MenuDown$MenuUp$stat);
@@ -0,0 +1,6 @@
1
+ import icons from './icons';
2
+ import styles from './styles';
3
+ export var astroThemeValues = {
4
+ icons: icons,
5
+ styles: styles
6
+ };
@@ -0,0 +1,3 @@
1
+ export default {
2
+ navButtonEstHeight: 40
3
+ };
@@ -10,6 +10,7 @@ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
10
10
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
11
11
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
12
12
  import { nextGenColors } from '../tokens/colorTokens';
13
+ import { iconWrapper } from './iconWrapper';
13
14
  var subColors = {
14
15
  lightblue: nextGenColors['blue-100'],
15
16
  lightindigo: nextGenColors['indigo-100'],
@@ -78,24 +79,41 @@ export var warning = {
78
79
  };
79
80
  var text = {
80
81
  primary: nextGenColors['gray-900'],
81
- secondary: nextGenColors['gray-500']
82
+ secondary: nextGenColors['gray-500'],
83
+ message: nextGenColors['gray-700'],
84
+ fieldHelper: nextGenColors['gray-500']
82
85
  };
83
86
  var border = {
84
- base: nextGenColors['gray-500']
87
+ base: nextGenColors['gray-300'],
88
+ input: nextGenColors['gray-500'],
89
+ separator: nextGenColors['gray-200']
85
90
  };
86
91
  var overrides = {
87
92
  neutral: {
88
93
  80: '#69788B'
89
94
  },
90
- focus: colorsObject.active
95
+ focus: colorsObject.active,
96
+ disabled: nextGenColors['gray-100']
97
+ };
98
+ var background = {
99
+ base: 'white',
100
+ secondary: nextGenColors['gray-100'],
101
+ card: nextGenColors['blue-100']
102
+ };
103
+ var card = {
104
+ blue: nextGenColors['blue-100'],
105
+ gray: nextGenColors['gray-100']
91
106
  };
92
107
  var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColors), nextGenColors), overrides), {}, {
108
+ card: card,
93
109
  critical: critical,
94
110
  success: success,
95
111
  warning: warning,
96
112
  text: text,
97
113
  border: border,
98
114
  active: colorsObject.blue,
99
- primary: colorsObject.blue
115
+ primary: colorsObject.blue,
116
+ background: background,
117
+ iconWrapper: iconWrapper
100
118
  });
101
119
  export default colors;
@@ -0,0 +1,23 @@
1
+ import { nextGenColors } from '../tokens/colorTokens';
2
+ export var iconWrapper = {
3
+ wrapper: {
4
+ orange: nextGenColors['orange-100'],
5
+ cyan: nextGenColors['cyan-100'],
6
+ green: nextGenColors['green-100'],
7
+ purple: nextGenColors['purple-100'],
8
+ pink: nextGenColors['pink-100'],
9
+ red: nextGenColors['red-100'],
10
+ yellow: nextGenColors['yellow-100'],
11
+ teal: nextGenColors['teal-100']
12
+ },
13
+ icon: {
14
+ orange: nextGenColors['orange-800'],
15
+ cyan: nextGenColors['cyan-800'],
16
+ green: nextGenColors['green-800'],
17
+ purple: nextGenColors['purple-800'],
18
+ pink: nextGenColors['pink-800'],
19
+ red: nextGenColors['red-800'],
20
+ yellow: nextGenColors['yellow-800'],
21
+ teal: nextGenColors['teal-800']
22
+ }
23
+ };
@@ -1,3 +1,13 @@
1
- var nextGenConvertedComponents = ['DataTable', 'Message', 'Button', 'Badge', 'IconButton', 'CheckboxField', 'Messages', 'PopoverMenu', 'TextField', 'PasswordField', 'SearchField', 'SelectField', 'Modal', 'RadioField', 'MultiValuesField', 'TextAreaField', 'RadioGroupField', 'Tabs', 'ProgressBar', 'NavBar', 'OverlayPanel', 'AstroProvider', 'ListView', 'NavigationHeader', 'Avatar', 'MultivaluesField', 'Text', 'Link', 'Card', 'ComboBoxField', 'CodeView'];
2
- export var nextGenComponents = ['NavigationHeader'];
1
+ var nextGenConvertedComponents = ['DataTable', 'Message', 'Button', 'Badge', 'IconButton', 'CheckboxField', 'Messages', 'PopoverMenu', 'TextField', 'PasswordField', 'SearchField', 'SelectField', 'Modal', 'RadioField', 'MultiValuesField', 'TextAreaField', 'RadioGroupField', 'Tabs', 'ProgressBar', 'NavBar', 'OverlayPanel', 'AstroProvider', 'ListView', 'NavigationHeader', 'Avatar', 'MultivaluesField', 'Text', 'Link', 'Card', 'IconWrapper', 'ComboBoxField', 'CodeView', 'Sticker Sheet'];
2
+ export var componentSpecificNextGenBlacklist = {
3
+ AstroProvider: ['Default', 'With Custom Theme Override'],
4
+ Badge: ['Status Badge Variants', 'Badge With Left Slot And Icon', 'Callout Badges', 'Removable'],
5
+ Button: ['Color Block Button', 'Text Icon Button'],
6
+ Messages: ['Customization'],
7
+ MultivaluesField: ['Condensed', 'Condensed With Section'],
8
+ PasswordField: ['Success'],
9
+ TextField: ['Success'],
10
+ OverlayPanel: ['Expandable']
11
+ };
12
+ export var nextGenOnlyComponents = ['NavigationHeader'];
3
13
  export default nextGenConvertedComponents;
@@ -0,0 +1,14 @@
1
+ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
2
+ var _MenuDown$MenuUp$stat;
3
+ import AlertCircleOutlineIcon from '@pingux/mdi-react/AlertCircleOutlineIcon';
4
+ import AlertOutlineIcon from '@pingux/mdi-react/AlertOutlineIcon';
5
+ import CheckCircleOutlineIcon from '@pingux/mdi-react/CheckCircleOutlineIcon';
6
+ import ChevronDownIcon from '@pingux/mdi-react/ChevronDownIcon';
7
+ import ChevronUpIcon from '@pingux/mdi-react/ChevronUpIcon';
8
+ import InformationOutlineIcon from '@pingux/mdi-react/InformationOutlineIcon';
9
+ import { pingLogoHorizontalSmall } from '../../../../utils/devUtils/constants/logos';
10
+ import statuses from '../../../../utils/devUtils/constants/statuses';
11
+ export default (_MenuDown$MenuUp$stat = {
12
+ MenuDown: ChevronDownIcon,
13
+ MenuUp: ChevronUpIcon
14
+ }, _defineProperty(_MenuDown$MenuUp$stat, statuses.DEFAULT, InformationOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.ERROR, AlertCircleOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.SUCCESS, CheckCircleOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.WARNING, AlertOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", pingLogoHorizontalSmall), _MenuDown$MenuUp$stat);
@@ -0,0 +1,6 @@
1
+ import icons from './icons';
2
+ import styles from './styles';
3
+ export var nextGenThemeValues = {
4
+ styles: styles,
5
+ icons: icons
6
+ };
@@ -0,0 +1,3 @@
1
+ export default {
2
+ navButtonEstHeight: 45.25
3
+ };
@@ -24,13 +24,13 @@ export var checkbox = {
24
24
  };
25
25
  export var select = {
26
26
  borderRadius: '4px',
27
- borderColor: 'border.base',
27
+ borderColor: 'border.input',
28
28
  color: 'text.primary',
29
29
  height: '50px',
30
30
  '&.is-disabled': {
31
31
  opacity: 1,
32
- borderColor: 'border.base',
33
- backgroundColor: 'gray-100'
32
+ borderColor: 'border.input',
33
+ backgroundColor: 'disabled'
34
34
  },
35
35
  currentValue: {
36
36
  color: 'text.primary'
@@ -10,26 +10,25 @@ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
10
10
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
11
11
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
12
12
  import merge from 'deepmerge';
13
+ import { themes } from '../../../utils/devUtils/constants/themes';
13
14
  import theme from '../../theme.js';
14
15
  import codeView from './codeView/codeView';
15
16
  import colors from './colors/colors';
17
+ import { badges } from './variants/badges';
16
18
  import buttons from './variants/button';
17
19
  import cards from './variants/cards';
18
20
  import images from './variants/images';
19
21
  import links from './variants/links';
20
22
  import navigationHeader from './variants/navigationHeader';
21
23
  import { text as newText } from './variants/text';
22
- import variants, { badges } from './variants/variants';
24
+ import variants from './variants/variants';
23
25
  import forms from './forms';
24
26
  import sizes from './sizes';
25
27
  import spacing from './spacing';
26
28
  import { fontSizes, fontWeights } from './text';
27
-
28
- // import './open_sans.css';
29
-
30
29
  var breakpoints = ['0px', '576px', '768px', '992px', '1200px', '1600px'];
31
30
  var nextGenTheme = {
32
- name: 'Next Gen',
31
+ name: themes.NEXT_GEN,
33
32
  colors: colors,
34
33
  breakpoints: breakpoints,
35
34
  buttons: buttons,
@@ -4,6 +4,10 @@ var avatar = {
4
4
  lg: '72px',
5
5
  xl: '104px'
6
6
  };
7
+ var iconBadge = {
8
+ md: '48px',
9
+ xl: '104px'
10
+ };
7
11
  var container = {
8
12
  xs: ['100%', '540px', '720px', '960px', '1140px', '1540px'],
9
13
  sm: ['100%', '540px', '720px', '960px', '1140px', '1540px'],
@@ -13,7 +17,12 @@ var container = {
13
17
  xx: ['100%', '100%', '100%', '100%', '100%', '1540px'],
14
18
  fluid: ['100%', '100%', '100%', '100%', '100%', '100%']
15
19
  };
20
+ var icons = {
21
+ xxxl: '70px'
22
+ };
16
23
  export default {
17
24
  avatar: avatar,
18
- container: container
25
+ container: container,
26
+ iconBadge: iconBadge,
27
+ icons: icons
19
28
  };