@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,22 @@
1
+ "use strict";
2
+
3
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
5
+ _Object$defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = exports.Default = void 0;
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _ = require("../../../..");
11
+ var _NavBarNextGenComponent = require("./NavBarNextGenComponent");
12
+ var _react2 = require("@emotion/react");
13
+ var _default = {
14
+ title: 'Chromatic Only NextGen NavBar'
15
+ };
16
+ exports["default"] = _default;
17
+ var Default = function Default() {
18
+ return (0, _react2.jsx)(_.AstroProvider, {
19
+ theme: _.NextGenTheme
20
+ }, (0, _react2.jsx)(_NavBarNextGenComponent.NavBarNextGenComponent, null));
21
+ };
22
+ exports.Default = Default;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const Default: () => React.JSX.Element;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
5
+ _Object$defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = exports.Default = void 0;
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _ = require("../../../..");
11
+ var _StickerSheetComponent = _interopRequireDefault(require("./StickerSheetComponent"));
12
+ var _react2 = require("@emotion/react");
13
+ var _default = {
14
+ title: 'NextGen Sticker Sheet'
15
+ };
16
+ exports["default"] = _default;
17
+ var Default = function Default() {
18
+ return (0, _react2.jsx)(_.AstroProvider, {
19
+ theme: _.NextGenTheme
20
+ }, (0, _react2.jsx)(_StickerSheetComponent["default"], null));
21
+ };
22
+ exports.Default = Default;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const StickerSheetComponent: () => React.JSX.Element;
3
+ export default StickerSheetComponent;
@@ -0,0 +1,286 @@
1
+ "use strict";
2
+
3
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
5
+ _Object$defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+ var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
10
+ var _react = _interopRequireDefault(require("react"));
11
+ var _DeleteIcon = _interopRequireDefault(require("@pingux/mdi-react/DeleteIcon"));
12
+ var _index = require("../../../../index");
13
+ var _statuses = _interopRequireDefault(require("../../../../utils/devUtils/constants/statuses"));
14
+ var _react2 = require("@emotion/react");
15
+ var loremText = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit';
16
+ var items = [{
17
+ id: 1,
18
+ name: 'Aardvark',
19
+ key: 'Aardvark'
20
+ }, {
21
+ id: 2,
22
+ name: 'Kangaroo',
23
+ key: 'Kangaroo'
24
+ }, {
25
+ id: 3,
26
+ name: 'Snake',
27
+ key: 'Snake'
28
+ }, {
29
+ id: 4,
30
+ name: 'Frog',
31
+ key: 'Frog'
32
+ }, {
33
+ id: 5,
34
+ name: 'Seal',
35
+ key: 'Seal'
36
+ }, {
37
+ id: 6,
38
+ name: 'Orangutan',
39
+ key: 'Orangutan'
40
+ }, {
41
+ id: 7,
42
+ name: 'Shark',
43
+ key: 'Shark'
44
+ }];
45
+ var textStyling = {
46
+ fontSize: 'md',
47
+ fontWeight: 600
48
+ };
49
+ var avatarColors = ['orange', 'cyan', 'green', 'purple', 'pink', 'red', 'yellow', 'teal'];
50
+ var badges = ['primary', 'baseBadge', 'success', 'danger', 'warning', 'info', 'dark'];
51
+ var tabs = [{
52
+ name: 'Tab 1',
53
+ children: 'Tab 1 body'
54
+ }, {
55
+ name: 'Tab 2',
56
+ children: 'Tab 2 body'
57
+ }, {
58
+ name: 'Tab 3',
59
+ children: 'Tab 3 body'
60
+ }];
61
+ var StickerSheetComponent = function StickerSheetComponent() {
62
+ return (0, _react2.jsx)(_index.Box, {
63
+ sx: {
64
+ backgroundColor: 'background.base'
65
+ },
66
+ height: "100%",
67
+ p: "lg",
68
+ gap: "lg"
69
+ }, (0, _react2.jsx)(_index.Box, {
70
+ p: "lg"
71
+ }, (0, _react2.jsx)(_index.MultivaluesField, {
72
+ items: items,
73
+ label: "Multivalues"
74
+ }, function (item) {
75
+ return (0, _react2.jsx)(_index.Item, {
76
+ key: item.key,
77
+ "data-id": item.name,
78
+ "aria-label": item.name
79
+ }, item.name);
80
+ })), (0, _react2.jsx)(_index.Tabs, {
81
+ items: tabs
82
+ }, (0, _react2.jsx)(_index.Tab, {
83
+ key: "tab1",
84
+ title: "Tab 1"
85
+ }, (0, _react2.jsx)(_index.Text, null, "This is content for Tab 1")), (0, _react2.jsx)(_index.Tab, {
86
+ key: "tab2",
87
+ title: "Tab 2"
88
+ }, (0, _react2.jsx)(_index.Text, null, "This is content for Tab 2"))), (0, _react2.jsx)(_index.Box, {
89
+ gap: "lg"
90
+ }, (0, _react2.jsx)(_index.Box, {
91
+ isRow: true,
92
+ gap: "md",
93
+ alignContent: "center"
94
+ }, (0, _map["default"])(avatarColors).call(avatarColors, function (color) {
95
+ return (0, _react2.jsx)(_index.IconWrapper, {
96
+ title: {
97
+ name: 'trash can'
98
+ },
99
+ size: "sm",
100
+ key: color,
101
+ icon: _DeleteIcon["default"],
102
+ color: color
103
+ });
104
+ })), (0, _react2.jsx)(_index.Box, {
105
+ isRow: true,
106
+ gap: "md",
107
+ alignContent: "center"
108
+ }, (0, _map["default"])(avatarColors).call(avatarColors, function (color) {
109
+ return (0, _react2.jsx)(_index.IconWrapper, {
110
+ title: {
111
+ name: 'trash can'
112
+ },
113
+ size: "md",
114
+ key: color,
115
+ icon: _DeleteIcon["default"],
116
+ color: color
117
+ });
118
+ })), (0, _react2.jsx)(_index.Box, {
119
+ isRow: true,
120
+ gap: "md",
121
+ alignContent: "center",
122
+ flexWrap: "wrap"
123
+ }, (0, _map["default"])(avatarColors).call(avatarColors, function (color) {
124
+ return (0, _react2.jsx)(_index.IconWrapper, {
125
+ title: {
126
+ name: 'trash can'
127
+ },
128
+ size: "lg",
129
+ key: color,
130
+ icon: _DeleteIcon["default"],
131
+ color: color
132
+ });
133
+ })), (0, _react2.jsx)(_index.Box, {
134
+ isRow: true,
135
+ gap: "md",
136
+ alignContent: "center"
137
+ }, (0, _react2.jsx)(_index.Button, {
138
+ sx: {
139
+ maxWidth: 'fit-content'
140
+ }
141
+ }, "Default"), (0, _react2.jsx)(_index.Button, {
142
+ variant: "primary",
143
+ sx: {
144
+ maxWidth: 'fit-content'
145
+ }
146
+ }, "Primary"), (0, _react2.jsx)(_index.Button, {
147
+ variant: "critical",
148
+ sx: {
149
+ maxWidth: 'fit-content'
150
+ }
151
+ }, "Critical"), (0, _react2.jsx)(_index.Button, {
152
+ variant: "link",
153
+ sx: {
154
+ maxWidth: 'fit-content'
155
+ }
156
+ }, "Link"), (0, _react2.jsx)(_index.IconButton, {
157
+ "aria-label": "default icon button"
158
+ }, (0, _react2.jsx)(_index.Icon, {
159
+ icon: _DeleteIcon["default"],
160
+ title: {
161
+ name: 'Create Icon'
162
+ }
163
+ })), (0, _react2.jsx)(_index.IconButton, {
164
+ "aria-label": "default icon button",
165
+ variant: "nextGen"
166
+ }, (0, _react2.jsx)(_index.Icon, {
167
+ icon: _DeleteIcon["default"],
168
+ title: {
169
+ name: 'Create Icon'
170
+ }
171
+ }))), (0, _react2.jsx)(_index.Box, {
172
+ isRow: true,
173
+ gap: "md"
174
+ }, (0, _map["default"])(avatarColors).call(avatarColors, function (avatar) {
175
+ return (0, _react2.jsx)(_index.Avatar, {
176
+ key: avatar,
177
+ color: avatar,
178
+ defaultText: "LK",
179
+ size: "avatar.md"
180
+ });
181
+ })), (0, _react2.jsx)(_index.Box, {
182
+ isRow: true,
183
+ gap: "md"
184
+ }, (0, _map["default"])(badges).call(badges, function (badge) {
185
+ return (0, _react2.jsx)(_index.Badge, {
186
+ key: badge,
187
+ variant: badge,
188
+ label: badge
189
+ });
190
+ })), (0, _react2.jsx)(_index.Card, {
191
+ variant: "cards.flat",
192
+ width: "500px"
193
+ }, (0, _react2.jsx)(_index.Box, {
194
+ variant: "cards.header"
195
+ }, (0, _react2.jsx)(_index.Text, {
196
+ as: "h5",
197
+ variant: "h5",
198
+ sx: textStyling
199
+ }, "Optional Card Header")), (0, _react2.jsx)(_index.Box, {
200
+ variant: "cards.body"
201
+ }, (0, _react2.jsx)(_index.Text, {
202
+ as: "h5",
203
+ variant: "h5",
204
+ sx: textStyling,
205
+ mb: "md"
206
+ }, "Card Body"), (0, _react2.jsx)(_index.Box, {
207
+ gap: "md"
208
+ }, (0, _react2.jsx)(_index.Button, {
209
+ sx: {
210
+ width: 'fit-content'
211
+ },
212
+ variant: "primary"
213
+ }, "Save"), (0, _react2.jsx)(_index.Text, null, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga sed ratione, recusandae ipsam explicabo, quasi vel maxime sint harum qui rerum perferendis. Voluptatem nisi eaque, distinctio accusamus nobis voluptas nemo."))), (0, _react2.jsx)(_index.Box, {
214
+ variant: "cards.footer"
215
+ }, (0, _react2.jsx)(_index.Text, {
216
+ as: "h5",
217
+ variant: "h5",
218
+ sx: textStyling
219
+ }, "Optional Card Footer")))), (0, _react2.jsx)(_index.CheckboxField, {
220
+ isDefaultSelected: true,
221
+ label: "Click me"
222
+ }), (0, _react2.jsx)(_index.RadioGroupField, null, (0, _react2.jsx)(_index.RadioField, {
223
+ value: "A",
224
+ label: "A"
225
+ }), (0, _react2.jsx)(_index.RadioField, {
226
+ value: "B",
227
+ label: "B"
228
+ }), (0, _react2.jsx)(_index.RadioField, {
229
+ value: "C",
230
+ label: "C"
231
+ })), (0, _react2.jsx)(_index.OverlayProvider, null, (0, _react2.jsx)(_index.PopoverMenu, null, (0, _react2.jsx)(_index.Button, null, "Popover"), (0, _react2.jsx)(_index.Menu, null, (0, _react2.jsx)(_index.Item, {
232
+ key: "edit"
233
+ }, "Edit"), (0, _react2.jsx)(_index.Item, {
234
+ key: "duplicate"
235
+ }, "Duplicate"), (0, _react2.jsx)(_index.Item, {
236
+ key: "delete",
237
+ textValue: "delete"
238
+ }, (0, _react2.jsx)(_index.Text, {
239
+ color: "critical.bright"
240
+ }, "Delete"))))), (0, _react2.jsx)(_index.Box, {
241
+ p: "md",
242
+ gap: "lg"
243
+ }, (0, _react2.jsx)(_index.TextField, {
244
+ helperText: "Does this help",
245
+ label: "Textfield"
246
+ }), (0, _react2.jsx)(_index.TextField, {
247
+ helperText: "Does this help",
248
+ label: "Disabled Textfield",
249
+ isDisabled: true
250
+ }), (0, _react2.jsx)(_index.SearchField, {
251
+ label: "SearchField"
252
+ }), (0, _react2.jsx)(_index.TextAreaField, {
253
+ helperText: "Does this help",
254
+ label: "TextAreaField"
255
+ })), (0, _react2.jsx)(_index.Box, {
256
+ p: "md"
257
+ }, (0, _react2.jsx)(_index.SelectField, {
258
+ label: "SelectField"
259
+ }, (0, _react2.jsx)(_index.Item, {
260
+ key: "edit"
261
+ }, "Edit"), (0, _react2.jsx)(_index.Item, {
262
+ key: "duplicate"
263
+ }, "Duplicate"), (0, _react2.jsx)(_index.Item, {
264
+ key: "delete",
265
+ textValue: "delete"
266
+ }, (0, _react2.jsx)(_index.Text, {
267
+ color: "critical.bright"
268
+ }, "Delete")))), (0, _react2.jsx)(_index.Messages, null, (0, _react2.jsx)(_index.Item, {
269
+ key: "message1",
270
+ "data-id": "message1",
271
+ status: _statuses["default"].SUCCESS
272
+ }, loremText), (0, _react2.jsx)(_index.Item, {
273
+ key: "message2",
274
+ "data-id": "message2",
275
+ status: _statuses["default"].WARNING
276
+ }, loremText), (0, _react2.jsx)(_index.Item, {
277
+ key: "message3",
278
+ "data-id": "message3",
279
+ status: _statuses["default"].ERROR
280
+ }, loremText), (0, _react2.jsx)(_index.Item, {
281
+ key: "message4",
282
+ "data-id": "message4"
283
+ }, loremText)));
284
+ };
285
+ var _default = StickerSheetComponent;
286
+ exports["default"] = _default;
@@ -0,0 +1,43 @@
1
+ export declare const avatar: {
2
+ backgroundColor: string;
3
+ color: string;
4
+ cursor: string;
5
+ '&.is-orange': {
6
+ backgroundColor: string;
7
+ color: string;
8
+ };
9
+ '&.is-green': {
10
+ backgroundColor: string;
11
+ color: string;
12
+ };
13
+ '&.is-purple': {
14
+ backgroundColor: string;
15
+ color: string;
16
+ };
17
+ '&.is-pink': {
18
+ backgroundColor: string;
19
+ color: string;
20
+ };
21
+ '&.is-red': {
22
+ backgroundColor: string;
23
+ color: string;
24
+ };
25
+ '&.is-yellow': {
26
+ backgroundColor: string;
27
+ color: string;
28
+ };
29
+ '&.is-cyan': {
30
+ backgroundColor: string;
31
+ color: string;
32
+ };
33
+ '&.is-teal': {
34
+ backgroundColor: string;
35
+ color: string;
36
+ };
37
+ display: string;
38
+ borderRadius: string;
39
+ textAlign: string;
40
+ alignItems: string;
41
+ justifyContent: string;
42
+ fontFamily: string;
43
+ };
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
+ _Object$defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.avatar = void 0;
8
+ var avatar = {
9
+ backgroundColor: 'lightcyan',
10
+ color: 'darkcyan',
11
+ cursor: 'pointer',
12
+ '&.is-orange': {
13
+ backgroundColor: 'lightorange',
14
+ color: 'darkorange'
15
+ },
16
+ '&.is-green': {
17
+ backgroundColor: 'lightgreen',
18
+ color: 'darkgreen'
19
+ },
20
+ '&.is-purple': {
21
+ backgroundColor: 'lightpurple',
22
+ color: 'darkpurple'
23
+ },
24
+ '&.is-pink': {
25
+ backgroundColor: 'lightpink',
26
+ color: 'darkpink'
27
+ },
28
+ '&.is-red': {
29
+ backgroundColor: 'lightred',
30
+ color: 'darkred'
31
+ },
32
+ '&.is-yellow': {
33
+ backgroundColor: 'lightyellow',
34
+ color: 'darkyellow'
35
+ },
36
+ '&.is-cyan': {
37
+ backgroundColor: 'lightcyan',
38
+ color: 'darkcyan'
39
+ },
40
+ '&.is-teal': {
41
+ backgroundColor: 'lightteal',
42
+ color: 'darkteal'
43
+ },
44
+ display: 'flex',
45
+ borderRadius: '50%',
46
+ textAlign: 'center',
47
+ alignItems: 'center',
48
+ justifyContent: 'center',
49
+ fontFamily: 'standard'
50
+ };
51
+ exports.avatar = avatar;
@@ -0,0 +1,208 @@
1
+ export declare const badgeDeleteButton: {
2
+ borderRadius: string;
3
+ cursor: string;
4
+ height: number;
5
+ p: number;
6
+ width: number;
7
+ transition: string;
8
+ outline: string;
9
+ border: string;
10
+ borderColor: string;
11
+ path: {
12
+ fill: string;
13
+ };
14
+ '&.is-focused': {
15
+ outline: string;
16
+ outlineColor: string;
17
+ outlineOffset: string;
18
+ };
19
+ '&.is-hovered': {
20
+ backgroundColor: string;
21
+ path: {
22
+ fill: string;
23
+ };
24
+ };
25
+ '&.is-pressed': {
26
+ backgroundColor: string;
27
+ borderColor: string;
28
+ path: {
29
+ fill: string;
30
+ };
31
+ };
32
+ };
33
+ export declare const badges: {
34
+ primary: {
35
+ backgroundColor: string;
36
+ '& span': {
37
+ color: string;
38
+ fontSize: string;
39
+ fontWeight: number;
40
+ };
41
+ alignItems: string;
42
+ justifyContent: string;
43
+ py: string;
44
+ px: string;
45
+ borderRadius: string;
46
+ fontSize: string;
47
+ alignSelf: string;
48
+ display: string;
49
+ width: string;
50
+ };
51
+ baseBadge: {
52
+ backgroundColor: string;
53
+ '& span': {
54
+ color: string;
55
+ fontSize: string;
56
+ fontWeight: number;
57
+ };
58
+ alignItems: string;
59
+ justifyContent: string;
60
+ py: string;
61
+ px: string;
62
+ borderRadius: string;
63
+ fontSize: string;
64
+ alignSelf: string;
65
+ display: string;
66
+ width: string;
67
+ };
68
+ secondary: {
69
+ backgroundColor: string;
70
+ '& span': {
71
+ color: string;
72
+ fontSize: string;
73
+ fontWeight: number;
74
+ };
75
+ alignItems: string;
76
+ justifyContent: string;
77
+ py: string;
78
+ px: string;
79
+ borderRadius: string;
80
+ fontSize: string;
81
+ alignSelf: string;
82
+ display: string;
83
+ width: string;
84
+ };
85
+ success: {
86
+ backgroundColor: string;
87
+ '& span': {
88
+ color: string;
89
+ fontSize: string;
90
+ fontWeight: number;
91
+ };
92
+ alignItems: string;
93
+ justifyContent: string;
94
+ py: string;
95
+ px: string;
96
+ borderRadius: string;
97
+ fontSize: string;
98
+ alignSelf: string;
99
+ display: string;
100
+ width: string;
101
+ };
102
+ danger: {
103
+ backgroundColor: string;
104
+ '& span': {
105
+ color: string;
106
+ fontSize: string;
107
+ fontWeight: number;
108
+ };
109
+ alignItems: string;
110
+ justifyContent: string;
111
+ py: string;
112
+ px: string;
113
+ borderRadius: string;
114
+ fontSize: string;
115
+ alignSelf: string;
116
+ display: string;
117
+ width: string;
118
+ };
119
+ warning: {
120
+ backgroundColor: string;
121
+ '& span': {
122
+ color: string;
123
+ fontSize: string;
124
+ fontWeight: number;
125
+ };
126
+ alignItems: string;
127
+ justifyContent: string;
128
+ py: string;
129
+ px: string;
130
+ borderRadius: string;
131
+ fontSize: string;
132
+ alignSelf: string;
133
+ display: string;
134
+ width: string;
135
+ };
136
+ dark: {
137
+ backgroundColor: string;
138
+ '& span': {
139
+ color: string;
140
+ fontSize: string;
141
+ fontWeight: number;
142
+ };
143
+ alignItems: string;
144
+ justifyContent: string;
145
+ py: string;
146
+ px: string;
147
+ borderRadius: string;
148
+ fontSize: string;
149
+ alignSelf: string;
150
+ display: string;
151
+ width: string;
152
+ };
153
+ selectedItemBadge: {
154
+ backgroundColor: string;
155
+ paddingRight: string;
156
+ '& span': {
157
+ fontSize: string;
158
+ color: string;
159
+ fontWeight: number;
160
+ };
161
+ alignItems: string;
162
+ justifyContent: string;
163
+ py: string;
164
+ px: string;
165
+ borderRadius: string;
166
+ fontSize: string;
167
+ alignSelf: string;
168
+ display: string;
169
+ width: string;
170
+ };
171
+ readOnlyBadge: {
172
+ '& span': {
173
+ fontSize: string;
174
+ };
175
+ };
176
+ badgeDeleteButton: {
177
+ borderRadius: string;
178
+ cursor: string;
179
+ height: number;
180
+ p: number;
181
+ width: number;
182
+ transition: string;
183
+ outline: string;
184
+ border: string;
185
+ borderColor: string;
186
+ path: {
187
+ fill: string;
188
+ };
189
+ '&.is-focused': {
190
+ outline: string;
191
+ outlineColor: string;
192
+ outlineOffset: string;
193
+ };
194
+ '&.is-hovered': {
195
+ backgroundColor: string;
196
+ path: {
197
+ fill: string;
198
+ };
199
+ };
200
+ '&.is-pressed': {
201
+ backgroundColor: string;
202
+ borderColor: string;
203
+ path: {
204
+ fill: string;
205
+ };
206
+ };
207
+ };
208
+ };