@guardian/stand 0.0.37 → 0.0.39

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 (489) hide show
  1. package/dist/{alert-banner.cjs → AlertBanner.cjs} +1 -1
  2. package/dist/{alert-banner.js → AlertBanner.js} +1 -1
  3. package/dist/{avatar.cjs → Avatar.cjs} +1 -1
  4. package/dist/{avatar.js → Avatar.js} +1 -1
  5. package/dist/AvatarButton.cjs +7 -0
  6. package/dist/AvatarButton.js +1 -0
  7. package/dist/AvatarLink.cjs +7 -0
  8. package/dist/AvatarLink.js +1 -0
  9. package/dist/{button.cjs → Button.cjs} +1 -1
  10. package/dist/{button.js → Button.js} +1 -1
  11. package/dist/{byline.cjs → Byline.cjs} +1 -1
  12. package/dist/{byline.js → Byline.js} +1 -1
  13. package/dist/{checkbox.cjs → Checkbox.cjs} +2 -2
  14. package/dist/Checkbox.js +3 -0
  15. package/dist/{date-picker.cjs → DatePicker.cjs} +1 -1
  16. package/dist/{date-picker.js → DatePicker.js} +1 -1
  17. package/dist/{favicon.cjs → Favicon.cjs} +1 -1
  18. package/dist/{favicon.js → Favicon.js} +1 -1
  19. package/dist/{grid.cjs → Grid.cjs} +1 -1
  20. package/dist/{grid.js → Grid.js} +1 -1
  21. package/dist/{icon.cjs → Icon.cjs} +1 -1
  22. package/dist/{icon.js → Icon.js} +1 -1
  23. package/dist/IconButton.cjs +7 -0
  24. package/dist/IconButton.js +1 -0
  25. package/dist/IconLinkButton.cjs +7 -0
  26. package/dist/IconLinkButton.js +1 -0
  27. package/dist/{inline-message.cjs → InlineMessage.cjs} +1 -1
  28. package/dist/{inline-message.js → InlineMessage.js} +1 -1
  29. package/dist/{intended-audience-signifier.cjs → IntendedAudienceSignifier.cjs} +1 -1
  30. package/dist/{intended-audience-signifier.js → IntendedAudienceSignifier.js} +1 -1
  31. package/dist/{layout.cjs → Layout.cjs} +1 -2
  32. package/dist/{layout.js → Layout.js} +1 -1
  33. package/dist/{link.cjs → Link.cjs} +1 -1
  34. package/dist/{link.js → Link.js} +1 -1
  35. package/dist/LinkButton.cjs +7 -0
  36. package/dist/LinkButton.js +1 -0
  37. package/dist/{menu.cjs → Menu.cjs} +1 -1
  38. package/dist/{menu.js → Menu.js} +1 -1
  39. package/dist/{radio-group.cjs → RadioGroup.cjs} +1 -1
  40. package/dist/{radio-group.js → RadioGroup.js} +1 -1
  41. package/dist/{select.cjs → Select.cjs} +1 -1
  42. package/dist/{select.js → Select.js} +1 -1
  43. package/dist/{tag-picker.cjs → TagPicker.cjs} +3 -3
  44. package/dist/TagPicker.js +5 -0
  45. package/dist/{text-area.cjs → TextArea.cjs} +1 -1
  46. package/dist/{text-area.js → TextArea.js} +1 -1
  47. package/dist/{text-input.cjs → TextInput.cjs} +1 -1
  48. package/dist/{text-input.js → TextInput.js} +1 -1
  49. package/dist/TopBar.cjs +6 -6
  50. package/dist/TopBar.js +5 -5
  51. package/dist/{typography.cjs → Typography.cjs} +1 -1
  52. package/dist/{typography.js → Typography.js} +1 -1
  53. package/dist/{user-menu.cjs → UserMenu.cjs} +1 -1
  54. package/dist/{user-menu.js → UserMenu.js} +1 -1
  55. package/dist/components/{alert-banner → AlertBanner}/AlertBanner.cjs +2 -2
  56. package/dist/components/{alert-banner → AlertBanner}/AlertBanner.js +3 -3
  57. package/dist/components/{alert-banner → AlertBanner}/styles.cjs +5 -5
  58. package/dist/components/{alert-banner → AlertBanner}/styles.js +5 -5
  59. package/dist/components/{avatar → Avatar}/Avatar.js +1 -1
  60. package/dist/components/{avatar → Avatar}/styles.cjs +7 -7
  61. package/dist/components/{avatar → Avatar}/styles.js +7 -7
  62. package/dist/components/{avatar → Avatar}/types.cjs +2 -2
  63. package/dist/components/{avatar → Avatar}/types.js +2 -2
  64. package/dist/components/{avatar-button → AvatarButton}/AvatarButton.cjs +1 -1
  65. package/dist/components/{avatar-button → AvatarButton}/AvatarButton.js +1 -1
  66. package/dist/components/{avatar-button → AvatarButton}/styles.cjs +5 -5
  67. package/dist/components/{avatar-button → AvatarButton}/styles.js +5 -5
  68. package/dist/components/{avatar-link → AvatarLink}/AvatarLink.cjs +1 -1
  69. package/dist/components/{avatar-link → AvatarLink}/AvatarLink.js +1 -1
  70. package/dist/components/{avatar-link → AvatarLink}/styles.cjs +5 -5
  71. package/dist/components/{avatar-link → AvatarLink}/styles.js +5 -5
  72. package/dist/components/{button → Button}/Button.cjs +1 -1
  73. package/dist/components/{button → Button}/Button.js +2 -2
  74. package/dist/components/{button → Button}/styles.cjs +17 -17
  75. package/dist/components/{button → Button}/styles.js +17 -17
  76. package/dist/components/{checkbox → Checkbox}/Checkbox.js +1 -1
  77. package/dist/components/{checkbox → Checkbox}/CheckboxGroup.cjs +1 -1
  78. package/dist/components/{checkbox → Checkbox}/CheckboxGroup.js +2 -2
  79. package/dist/components/{checkbox → Checkbox}/styles.cjs +14 -14
  80. package/dist/components/{checkbox → Checkbox}/styles.js +14 -14
  81. package/dist/components/{date-picker → DatePicker}/DatePicker.cjs +2 -2
  82. package/dist/components/{date-picker → DatePicker}/DatePicker.js +3 -3
  83. package/dist/components/{favicon → Favicon}/Favicon.cjs +1 -1
  84. package/dist/components/{favicon → Favicon}/Favicon.js +1 -1
  85. package/dist/components/{favicon → Favicon}/styles.cjs +3 -3
  86. package/dist/components/{favicon → Favicon}/styles.js +3 -3
  87. package/dist/components/{form → Form}/Form.cjs +1 -1
  88. package/dist/components/{form → Form}/Form.js +1 -1
  89. package/dist/components/{form → Form}/styles.cjs +1 -1
  90. package/dist/components/{form → Form}/styles.js +1 -1
  91. package/dist/components/{grid → Grid}/Grid.js +1 -1
  92. package/dist/components/Grid/styles.cjs +126 -0
  93. package/dist/components/Grid/styles.js +110 -0
  94. package/dist/components/{icon → Icon}/Icon.js +1 -1
  95. package/dist/components/{icon → Icon}/styles.cjs +1 -1
  96. package/dist/components/{icon → Icon}/styles.js +1 -1
  97. package/dist/components/{icon-button → IconButton}/IconButton.cjs +1 -1
  98. package/dist/components/{icon-button → IconButton}/IconButton.js +2 -2
  99. package/dist/components/{icon-button → IconButton}/styles.cjs +1 -1
  100. package/dist/components/{icon-button → IconButton}/styles.js +1 -1
  101. package/dist/components/{icon-link-button → IconLinkButton}/IconLinkButton.cjs +1 -1
  102. package/dist/components/{icon-link-button → IconLinkButton}/IconLinkButton.js +2 -2
  103. package/dist/components/{icon-link-button → IconLinkButton}/styles.cjs +1 -1
  104. package/dist/components/{icon-link-button → IconLinkButton}/styles.js +1 -1
  105. package/dist/components/{inline-message → InlineMessage}/InlineMessage.cjs +3 -3
  106. package/dist/components/{inline-message → InlineMessage}/InlineMessage.js +4 -4
  107. package/dist/components/{inline-message → InlineMessage}/styles.cjs +2 -2
  108. package/dist/components/{inline-message → InlineMessage}/styles.js +2 -2
  109. package/dist/components/{intended-audience-signifier → IntendedAudienceSignifier}/IntendedAudienceSignifier.cjs +36 -4
  110. package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.js +67 -0
  111. package/dist/components/Layout/Layout.cjs +79 -0
  112. package/dist/components/Layout/Layout.js +34 -0
  113. package/dist/components/{layout → Layout}/styles.cjs +5 -3
  114. package/dist/components/{layout → Layout}/styles.js +5 -4
  115. package/dist/components/{link → Link}/Link.cjs +6 -6
  116. package/dist/components/{link → Link}/Link.js +3 -3
  117. package/dist/components/{link-button → LinkButton}/LinkButton.cjs +1 -1
  118. package/dist/components/{link-button → LinkButton}/LinkButton.js +2 -2
  119. package/dist/components/{link-button → LinkButton}/styles.cjs +1 -1
  120. package/dist/components/{link-button → LinkButton}/styles.js +1 -1
  121. package/dist/components/{menu → Menu}/Menu.cjs +1 -1
  122. package/dist/components/{menu → Menu}/Menu.js +2 -2
  123. package/dist/components/{menu → Menu}/styles.cjs +26 -26
  124. package/dist/components/{menu → Menu}/styles.js +26 -26
  125. package/dist/components/{radio-group → RadioGroup}/RadioGroup.cjs +1 -1
  126. package/dist/components/{radio-group → RadioGroup}/RadioGroup.js +2 -2
  127. package/dist/components/{select → Select}/Select.cjs +2 -2
  128. package/dist/components/{select → Select}/Select.js +3 -3
  129. package/dist/components/{select → Select}/styles.cjs +2 -2
  130. package/dist/components/{select → Select}/styles.js +2 -2
  131. package/dist/components/{text-area → TextArea}/TextArea.cjs +1 -1
  132. package/dist/components/{text-area → TextArea}/TextArea.js +2 -2
  133. package/dist/components/{text-area → TextArea}/styles.cjs +3 -3
  134. package/dist/components/{text-area → TextArea}/styles.js +3 -3
  135. package/dist/components/{text-input → TextInput}/TextInput.cjs +1 -1
  136. package/dist/components/{text-input → TextInput}/TextInput.js +2 -2
  137. package/dist/components/{text-input → TextInput}/styles.cjs +3 -3
  138. package/dist/components/{text-input → TextInput}/styles.js +3 -3
  139. package/dist/components/{topbar → TopBar}/TopBar.cjs +14 -14
  140. package/dist/components/{topbar → TopBar}/TopBar.js +15 -15
  141. package/dist/components/{topbar/topBarItem → TopBar/TopBarItem}/TopBarItem.js +1 -1
  142. package/dist/components/{topbar/topBarItem → TopBar/TopBarItem}/styles.cjs +3 -3
  143. package/dist/components/{topbar/topBarItem → TopBar/TopBarItem}/styles.js +3 -3
  144. package/dist/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/TopBarNavigation.cjs +2 -2
  145. package/dist/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/TopBarNavigation.js +3 -3
  146. package/dist/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/styles.cjs +19 -19
  147. package/dist/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/styles.js +19 -19
  148. package/dist/components/{topbar/topBarToolName → TopBar/TopBarToolName}/TopBarToolName.cjs +3 -3
  149. package/dist/components/{topbar/topBarToolName → TopBar/TopBarToolName}/TopBarToolName.js +4 -4
  150. package/dist/components/{topbar/topBarToolName → TopBar/TopBarToolName}/styles.cjs +7 -7
  151. package/dist/components/{topbar/topBarToolName → TopBar/TopBarToolName}/styles.js +7 -7
  152. package/dist/components/{topbar → TopBar}/styles.cjs +12 -12
  153. package/dist/components/{topbar → TopBar}/styles.js +11 -11
  154. package/dist/components/{typography → Typography}/Typography.cjs +1 -1
  155. package/dist/components/{typography → Typography}/Typography.js +2 -2
  156. package/dist/components/Typography/styles.cjs +15 -0
  157. package/dist/components/{user-menu → UserMenu}/UserMenu.cjs +1 -1
  158. package/dist/components/{user-menu → UserMenu}/UserMenu.js +1 -1
  159. package/dist/components/{user-menu → UserMenu}/default-options.cjs +16 -16
  160. package/dist/components/{user-menu → UserMenu}/default-options.js +16 -16
  161. package/dist/index.cjs +4 -2
  162. package/dist/index.js +2 -1
  163. package/dist/styleD/build/css/base/radius.css +6 -6
  164. package/dist/styleD/build/css/base/sizing.css +20 -20
  165. package/dist/styleD/build/css/component/grid.css +9 -2
  166. package/dist/styleD/build/css/component/intendedAudienceSignifier.css +2 -2
  167. package/dist/styleD/build/css/component/layout.css +4 -4
  168. package/dist/styleD/build/css/component/{TopBar.css → topBar.css} +2 -2
  169. package/dist/styleD/build/css/semantic/colors.css +3 -2
  170. package/dist/styleD/build/css/semantic/grid.css +15 -0
  171. package/dist/styleD/build/css/semantic/sizing.css +3 -0
  172. package/dist/styleD/build/css/semantic/typography.css +6 -6
  173. package/dist/styleD/build/typescript/base/colors.cjs +2 -2
  174. package/dist/styleD/build/typescript/base/colors.js +2 -2
  175. package/dist/styleD/build/typescript/base/radius.cjs +6 -6
  176. package/dist/styleD/build/typescript/base/radius.js +6 -6
  177. package/dist/styleD/build/typescript/base/sizing.cjs +20 -20
  178. package/dist/styleD/build/typescript/base/sizing.js +20 -20
  179. package/dist/styleD/build/typescript/base/spacing.cjs +34 -34
  180. package/dist/styleD/build/typescript/base/spacing.js +34 -34
  181. package/dist/styleD/build/typescript/base/typography.cjs +42 -42
  182. package/dist/styleD/build/typescript/base/typography.js +42 -42
  183. package/dist/styleD/build/typescript/component/alertBanner.cjs +8 -8
  184. package/dist/styleD/build/typescript/component/alertBanner.js +8 -8
  185. package/dist/styleD/build/typescript/component/avatar.cjs +33 -33
  186. package/dist/styleD/build/typescript/component/avatar.js +33 -33
  187. package/dist/styleD/build/typescript/component/button.cjs +18 -18
  188. package/dist/styleD/build/typescript/component/button.js +18 -18
  189. package/dist/styleD/build/typescript/component/checkbox.cjs +16 -16
  190. package/dist/styleD/build/typescript/component/checkbox.js +16 -16
  191. package/dist/styleD/build/typescript/component/favicon.cjs +3 -3
  192. package/dist/styleD/build/typescript/component/favicon.js +3 -3
  193. package/dist/styleD/build/typescript/component/form.cjs +1 -1
  194. package/dist/styleD/build/typescript/component/form.js +1 -1
  195. package/dist/styleD/build/typescript/component/grid.cjs +15 -2
  196. package/dist/styleD/build/typescript/component/grid.js +15 -2
  197. package/dist/styleD/build/typescript/component/icon.cjs +1 -1
  198. package/dist/styleD/build/typescript/component/icon.js +1 -1
  199. package/dist/styleD/build/typescript/component/inlineMessage.cjs +2 -2
  200. package/dist/styleD/build/typescript/component/inlineMessage.js +2 -2
  201. package/dist/styleD/build/typescript/component/intendedAudienceSignifier.cjs +2 -2
  202. package/dist/styleD/build/typescript/component/intendedAudienceSignifier.js +2 -2
  203. package/dist/styleD/build/typescript/component/layout.cjs +7 -5
  204. package/dist/styleD/build/typescript/component/layout.js +7 -5
  205. package/dist/styleD/build/typescript/component/menu.cjs +30 -30
  206. package/dist/styleD/build/typescript/component/menu.js +30 -30
  207. package/dist/styleD/build/typescript/component/select.cjs +2 -2
  208. package/dist/styleD/build/typescript/component/select.js +2 -2
  209. package/dist/styleD/build/typescript/component/textArea.cjs +3 -3
  210. package/dist/styleD/build/typescript/component/textArea.js +3 -3
  211. package/dist/styleD/build/typescript/component/textInput.cjs +3 -3
  212. package/dist/styleD/build/typescript/component/textInput.js +3 -3
  213. package/dist/styleD/build/typescript/component/{TopBar.cjs → topBar.cjs} +28 -28
  214. package/dist/styleD/build/typescript/component/{TopBar.js → topBar.js} +28 -28
  215. package/dist/styleD/build/typescript/semantic/colors.cjs +39 -38
  216. package/dist/styleD/build/typescript/semantic/colors.js +39 -38
  217. package/dist/styleD/build/typescript/semantic/grid.cjs +21 -0
  218. package/dist/styleD/build/typescript/semantic/grid.js +19 -0
  219. package/dist/styleD/build/typescript/semantic/sizing.cjs +8 -1
  220. package/dist/styleD/build/typescript/semantic/sizing.js +8 -1
  221. package/dist/styleD/build/typescript/semantic/typography.cjs +75 -75
  222. package/dist/styleD/build/typescript/semantic/typography.js +75 -75
  223. package/dist/types/{alert-banner.d.ts → AlertBanner.d.ts} +3 -3
  224. package/dist/types/{avatar.d.ts → Avatar.d.ts} +3 -3
  225. package/dist/types/{avatar-button.d.ts → AvatarButton.d.ts} +3 -3
  226. package/dist/types/{avatar-link.d.ts → AvatarLink.d.ts} +3 -3
  227. package/dist/types/{button.d.ts → Button.d.ts} +3 -3
  228. package/dist/types/{byline.d.ts → Byline.d.ts} +3 -3
  229. package/dist/types/{checkbox.d.ts → Checkbox.d.ts} +4 -4
  230. package/dist/types/{date-picker.d.ts → DatePicker.d.ts} +3 -3
  231. package/dist/types/{favicon.d.ts → Favicon.d.ts} +3 -3
  232. package/dist/types/{grid.d.ts → Grid.d.ts} +4 -4
  233. package/dist/types/{icon.d.ts → Icon.d.ts} +3 -3
  234. package/dist/types/{icon-button.d.ts → IconButton.d.ts} +3 -3
  235. package/dist/types/{icon-link-button.d.ts → IconLinkButton.d.ts} +3 -3
  236. package/dist/types/{inline-message.d.ts → InlineMessage.d.ts} +3 -3
  237. package/dist/types/{intended-audience-signifier.d.ts → IntendedAudienceSignifier.d.ts} +3 -3
  238. package/dist/types/{layout.d.ts → Layout.d.ts} +3 -3
  239. package/dist/types/{link.d.ts → Link.d.ts} +3 -3
  240. package/dist/types/{link-button.d.ts → LinkButton.d.ts} +3 -3
  241. package/dist/types/{menu.d.ts → Menu.d.ts} +3 -3
  242. package/dist/types/{radio-group.d.ts → RadioGroup.d.ts} +3 -3
  243. package/dist/types/{select.d.ts → Select.d.ts} +3 -3
  244. package/dist/types/{tag-picker.d.ts → TagPicker.d.ts} +3 -3
  245. package/dist/types/{text-area.d.ts → TextArea.d.ts} +3 -3
  246. package/dist/types/{text-input.d.ts → TextInput.d.ts} +3 -3
  247. package/dist/types/TopBar.d.ts +15 -15
  248. package/dist/types/{typography.d.ts → Typography.d.ts} +3 -3
  249. package/dist/types/{user-menu.d.ts → UserMenu.d.ts} +1 -1
  250. package/dist/types/components/{alert-banner → AlertBanner}/sandbox.d.ts +2 -2
  251. package/dist/types/components/{alert-banner → AlertBanner}/types.d.ts +2 -2
  252. package/dist/types/components/{avatar → Avatar}/sandbox.d.ts +2 -2
  253. package/dist/types/components/{avatar-button → AvatarButton}/sandbox.d.ts +1 -1
  254. package/dist/types/components/{avatar-button → AvatarButton}/styles.d.ts +1 -1
  255. package/dist/types/components/{avatar-button → AvatarButton}/types.d.ts +1 -1
  256. package/dist/types/components/{avatar-link → AvatarLink}/sandbox.d.ts +1 -1
  257. package/dist/types/components/{avatar-link → AvatarLink}/styles.d.ts +1 -1
  258. package/dist/types/components/{avatar-link → AvatarLink}/types.d.ts +1 -1
  259. package/dist/types/components/{button → Button}/sandbox.d.ts +2 -2
  260. package/dist/types/components/{button → Button}/types.d.ts +1 -1
  261. package/dist/types/components/{checkbox → Checkbox}/CheckboxGroupSandbox.d.ts +2 -2
  262. package/dist/types/components/{checkbox → Checkbox}/CheckboxSandbox.d.ts +2 -2
  263. package/dist/types/components/{checkbox → Checkbox}/types.d.ts +1 -1
  264. package/dist/types/components/DatePicker/sandbox.d.ts +2 -0
  265. package/dist/types/components/{date-picker → DatePicker}/types.d.ts +1 -1
  266. package/dist/types/components/{favicon → Favicon}/sandbox.d.ts +2 -2
  267. package/dist/types/components/{favicon → Favicon}/types.d.ts +1 -1
  268. package/dist/types/components/Grid/sandbox.d.ts +5 -0
  269. package/dist/types/components/Icon/sandbox.d.ts +5 -0
  270. package/dist/types/components/{icon-button → IconButton}/sandbox.d.ts +2 -2
  271. package/dist/types/components/{icon-button → IconButton}/styles.d.ts +20 -20
  272. package/dist/types/components/{icon-button → IconButton}/types.d.ts +1 -1
  273. package/dist/types/components/{icon-link-button → IconLinkButton}/sandbox.d.ts +2 -2
  274. package/dist/types/components/{icon-link-button → IconLinkButton}/styles.d.ts +20 -20
  275. package/dist/types/components/{icon-link-button → IconLinkButton}/types.d.ts +1 -1
  276. package/dist/types/components/InlineMessage/sandbox.d.ts +5 -0
  277. package/dist/types/components/{inline-message → InlineMessage}/types.d.ts +1 -1
  278. package/dist/types/components/{intended-audience-signifier → IntendedAudienceSignifier}/sandbox.d.ts +1 -1
  279. package/dist/types/components/Layout/Layout.d.ts +11 -0
  280. package/dist/types/components/{layout → Layout}/sandbox.d.ts +1 -1
  281. package/dist/types/components/{layout → Layout}/styles.d.ts +5 -2
  282. package/dist/types/components/{layout → Layout}/types.d.ts +13 -3
  283. package/dist/types/components/{link → Link}/sandbox.d.ts +2 -2
  284. package/dist/types/components/{link → Link}/types.d.ts +1 -1
  285. package/dist/types/components/LinkButton/sandbox.d.ts +5 -0
  286. package/dist/types/components/{link-button → LinkButton}/styles.d.ts +20 -20
  287. package/dist/types/components/{link-button → LinkButton}/types.d.ts +1 -1
  288. package/dist/types/components/{menu → Menu}/sandbox.d.ts +2 -2
  289. package/dist/types/components/{menu → Menu}/types.d.ts +1 -1
  290. package/dist/types/components/{radio-group → RadioGroup}/sandbox.d.ts +2 -2
  291. package/dist/types/components/{radio-group → RadioGroup}/types.d.ts +1 -1
  292. package/dist/types/components/{select → Select}/sandbox.d.ts +2 -2
  293. package/dist/types/components/{select → Select}/types.d.ts +1 -1
  294. package/dist/types/components/{text-area → TextArea}/sandbox.d.ts +2 -2
  295. package/dist/types/components/{text-area → TextArea}/types.d.ts +1 -1
  296. package/dist/types/components/{text-input → TextInput}/sandbox.d.ts +2 -2
  297. package/dist/types/components/{text-input → TextInput}/types.d.ts +1 -1
  298. package/dist/types/components/{topbar/topBarItem → TopBar/TopBarItem}/sandbox.d.ts +2 -2
  299. package/dist/types/components/{topbar/topBarItem → TopBar/TopBarItem}/styles.d.ts +2 -2
  300. package/dist/types/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/sandbox.d.ts +2 -2
  301. package/dist/types/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/styles.d.ts +2 -2
  302. package/dist/types/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/types.d.ts +1 -1
  303. package/dist/types/components/{topbar/topBarToolName → TopBar/TopBarToolName}/sandbox.d.ts +2 -2
  304. package/dist/types/components/{topbar/topBarToolName → TopBar/TopBarToolName}/styles.d.ts +2 -2
  305. package/dist/types/components/{topbar/topBarToolName → TopBar/TopBarToolName}/types.d.ts +2 -2
  306. package/dist/types/components/{topbar → TopBar}/sandbox.d.ts +2 -2
  307. package/dist/types/components/{topbar → TopBar}/styles.d.ts +1 -1
  308. package/dist/types/components/{typography → Typography}/sandbox.d.ts +2 -2
  309. package/dist/types/index.d.ts +4 -2
  310. package/dist/types/styleD/build/typescript/base/colors.d.ts +2 -2
  311. package/dist/types/styleD/build/typescript/base/radius.d.ts +6 -6
  312. package/dist/types/styleD/build/typescript/base/sizing.d.ts +20 -20
  313. package/dist/types/styleD/build/typescript/base/spacing.d.ts +34 -34
  314. package/dist/types/styleD/build/typescript/base/typography.d.ts +42 -42
  315. package/dist/types/styleD/build/typescript/component/alertBanner.d.ts +8 -8
  316. package/dist/types/styleD/build/typescript/component/avatar.d.ts +33 -33
  317. package/dist/types/styleD/build/typescript/component/button.d.ts +18 -18
  318. package/dist/types/styleD/build/typescript/component/checkbox.d.ts +16 -16
  319. package/dist/types/styleD/build/typescript/component/favicon.d.ts +3 -3
  320. package/dist/types/styleD/build/typescript/component/form.d.ts +1 -1
  321. package/dist/types/styleD/build/typescript/component/grid.d.ts +15 -2
  322. package/dist/types/styleD/build/typescript/component/icon.d.ts +1 -1
  323. package/dist/types/styleD/build/typescript/component/inlineMessage.d.ts +2 -2
  324. package/dist/types/styleD/build/typescript/component/layout.d.ts +5 -3
  325. package/dist/types/styleD/build/typescript/component/menu.d.ts +30 -30
  326. package/dist/types/styleD/build/typescript/component/select.d.ts +2 -2
  327. package/dist/types/styleD/build/typescript/component/textArea.d.ts +3 -3
  328. package/dist/types/styleD/build/typescript/component/textInput.d.ts +3 -3
  329. package/dist/types/styleD/build/typescript/component/{TopBar.d.ts → topBar.d.ts} +26 -26
  330. package/dist/types/styleD/build/typescript/semantic/colors.d.ts +39 -38
  331. package/dist/types/styleD/build/typescript/semantic/grid.d.ts +21 -0
  332. package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +8 -1
  333. package/dist/types/styleD/build/typescript/semantic/typography.d.ts +75 -75
  334. package/dist/types/templates/component/sandbox.d.ts +1 -1
  335. package/package.json +184 -183
  336. package/dist/avatarButton.cjs +0 -7
  337. package/dist/avatarButton.js +0 -1
  338. package/dist/avatarLink.cjs +0 -7
  339. package/dist/avatarLink.js +0 -1
  340. package/dist/checkbox.js +0 -3
  341. package/dist/components/grid/styles.cjs +0 -106
  342. package/dist/components/grid/styles.js +0 -98
  343. package/dist/components/intended-audience-signifier/IntendedAudienceSignifier.js +0 -37
  344. package/dist/components/layout/Layout.cjs +0 -114
  345. package/dist/components/layout/Layout.js +0 -83
  346. package/dist/components/typography/styles.cjs +0 -15
  347. package/dist/icon-button.cjs +0 -7
  348. package/dist/icon-button.js +0 -1
  349. package/dist/icon-link-button.cjs +0 -7
  350. package/dist/icon-link-button.js +0 -1
  351. package/dist/link-button.cjs +0 -7
  352. package/dist/link-button.js +0 -1
  353. package/dist/styleD/build/css/component/topBarItem.css +0 -7
  354. package/dist/tag-picker.js +0 -5
  355. package/dist/types/components/date-picker/sandbox.d.ts +0 -2
  356. package/dist/types/components/grid/sandbox.d.ts +0 -5
  357. package/dist/types/components/icon/sandbox.d.ts +0 -5
  358. package/dist/types/components/inline-message/sandbox.d.ts +0 -5
  359. package/dist/types/components/layout/Layout.d.ts +0 -19
  360. package/dist/types/components/link-button/sandbox.d.ts +0 -5
  361. /package/dist/{form.cjs → Form.cjs} +0 -0
  362. /package/dist/{form.js → Form.js} +0 -0
  363. /package/dist/components/{avatar → Avatar}/Avatar.cjs +0 -0
  364. /package/dist/components/{byline → Byline}/Byline.cjs +0 -0
  365. /package/dist/components/{byline → Byline}/Byline.js +0 -0
  366. /package/dist/components/{byline → Byline}/Preview.cjs +0 -0
  367. /package/dist/components/{byline → Byline}/Preview.js +0 -0
  368. /package/dist/components/{byline → Byline}/lib.cjs +0 -0
  369. /package/dist/components/{byline → Byline}/lib.js +0 -0
  370. /package/dist/components/{byline → Byline}/placeholder.cjs +0 -0
  371. /package/dist/components/{byline → Byline}/placeholder.js +0 -0
  372. /package/dist/components/{byline → Byline}/plugins.cjs +0 -0
  373. /package/dist/components/{byline → Byline}/plugins.js +0 -0
  374. /package/dist/components/{byline → Byline}/schema.cjs +0 -0
  375. /package/dist/components/{byline → Byline}/schema.js +0 -0
  376. /package/dist/components/{byline → Byline}/styles.cjs +0 -0
  377. /package/dist/components/{byline → Byline}/styles.js +0 -0
  378. /package/dist/components/{checkbox → Checkbox}/Checkbox.cjs +0 -0
  379. /package/dist/components/{date-picker → DatePicker}/styles.cjs +0 -0
  380. /package/dist/components/{date-picker → DatePicker}/styles.js +0 -0
  381. /package/dist/components/{form → Form}/types.cjs +0 -0
  382. /package/dist/components/{form → Form}/types.js +0 -0
  383. /package/dist/components/{grid → Grid}/Grid.cjs +0 -0
  384. /package/dist/components/{icon → Icon}/Icon.cjs +0 -0
  385. /package/dist/components/{intended-audience-signifier → IntendedAudienceSignifier}/FlagIcons.cjs +0 -0
  386. /package/dist/components/{intended-audience-signifier → IntendedAudienceSignifier}/FlagIcons.js +0 -0
  387. /package/dist/components/{intended-audience-signifier → IntendedAudienceSignifier}/styles.cjs +0 -0
  388. /package/dist/components/{intended-audience-signifier → IntendedAudienceSignifier}/styles.js +0 -0
  389. /package/dist/components/{link → Link}/styles.cjs +0 -0
  390. /package/dist/components/{link → Link}/styles.js +0 -0
  391. /package/dist/components/{radio-group → RadioGroup}/styles.cjs +0 -0
  392. /package/dist/components/{radio-group → RadioGroup}/styles.js +0 -0
  393. /package/dist/components/{tag-picker → TagPicker}/Autocomplete.cjs +0 -0
  394. /package/dist/components/{tag-picker → TagPicker}/Autocomplete.js +0 -0
  395. /package/dist/components/{tag-picker → TagPicker}/TagAutocomplete.cjs +0 -0
  396. /package/dist/components/{tag-picker → TagPicker}/TagAutocomplete.js +0 -0
  397. /package/dist/components/{tag-picker → TagPicker}/TagTable.cjs +0 -0
  398. /package/dist/components/{tag-picker → TagPicker}/TagTable.js +0 -0
  399. /package/dist/components/{tag-picker → TagPicker}/styles.cjs +0 -0
  400. /package/dist/components/{tag-picker → TagPicker}/styles.js +0 -0
  401. /package/dist/components/{topbar/topBarItem → TopBar/TopBarItem}/TopBarItem.cjs +0 -0
  402. /package/dist/components/{typography → Typography}/styles.js +0 -0
  403. /package/dist/components/{user-menu → UserMenu}/PreferenceRadioGroup.cjs +0 -0
  404. /package/dist/components/{user-menu → UserMenu}/PreferenceRadioGroup.js +0 -0
  405. /package/dist/components/{TitleText.cjs → UserMenu/TitleText.cjs} +0 -0
  406. /package/dist/components/{TitleText.js → UserMenu/TitleText.js} +0 -0
  407. /package/dist/components/{user-menu → UserMenu}/styles.cjs +0 -0
  408. /package/dist/components/{user-menu → UserMenu}/styles.js +0 -0
  409. /package/dist/types/{form.d.ts → Form.d.ts} +0 -0
  410. /package/dist/types/components/{alert-banner → AlertBanner}/AlertBanner.d.ts +0 -0
  411. /package/dist/types/components/{alert-banner → AlertBanner}/styles.d.ts +0 -0
  412. /package/dist/types/components/{avatar → Avatar}/Avatar.d.ts +0 -0
  413. /package/dist/types/components/{avatar → Avatar}/styles.d.ts +0 -0
  414. /package/dist/types/components/{avatar → Avatar}/types.d.ts +0 -0
  415. /package/dist/types/components/{avatar-button → AvatarButton}/AvatarButton.d.ts +0 -0
  416. /package/dist/types/components/{avatar-link → AvatarLink}/AvatarLink.d.ts +0 -0
  417. /package/dist/types/components/{button → Button}/Button.d.ts +0 -0
  418. /package/dist/types/components/{button → Button}/styles.d.ts +0 -0
  419. /package/dist/types/components/{byline → Byline}/Byline.d.ts +0 -0
  420. /package/dist/types/components/{byline → Byline}/Preview.d.ts +0 -0
  421. /package/dist/types/components/{byline → Byline}/contributors-fixture.d.ts +0 -0
  422. /package/dist/types/components/{byline → Byline}/lib.d.ts +0 -0
  423. /package/dist/types/components/{byline → Byline}/lib.test.d.ts +0 -0
  424. /package/dist/types/components/{byline → Byline}/placeholder.d.ts +0 -0
  425. /package/dist/types/components/{byline → Byline}/plugins.d.ts +0 -0
  426. /package/dist/types/components/{byline → Byline}/schema.d.ts +0 -0
  427. /package/dist/types/components/{byline → Byline}/styles.d.ts +0 -0
  428. /package/dist/types/components/{byline → Byline}/theme.d.ts +0 -0
  429. /package/dist/types/components/{checkbox → Checkbox}/Checkbox.d.ts +0 -0
  430. /package/dist/types/components/{checkbox → Checkbox}/CheckboxGroup.d.ts +0 -0
  431. /package/dist/types/components/{checkbox → Checkbox}/styles.d.ts +0 -0
  432. /package/dist/types/components/{date-picker → DatePicker}/DatePicker.d.ts +0 -0
  433. /package/dist/types/components/{date-picker → DatePicker}/styles.d.ts +0 -0
  434. /package/dist/types/components/{favicon → Favicon}/Favicon.d.ts +0 -0
  435. /package/dist/types/components/{favicon → Favicon}/styles.d.ts +0 -0
  436. /package/dist/types/components/{form → Form}/Form.d.ts +0 -0
  437. /package/dist/types/components/{form → Form}/styles.d.ts +0 -0
  438. /package/dist/types/components/{form → Form}/types.d.ts +0 -0
  439. /package/dist/types/components/{grid → Grid}/Grid.d.ts +0 -0
  440. /package/dist/types/components/{grid → Grid}/styles.d.ts +0 -0
  441. /package/dist/types/components/{grid → Grid}/styles.test.d.ts +0 -0
  442. /package/dist/types/components/{grid → Grid}/types.d.ts +0 -0
  443. /package/dist/types/components/{icon → Icon}/Icon.d.ts +0 -0
  444. /package/dist/types/components/{icon → Icon}/styles.d.ts +0 -0
  445. /package/dist/types/components/{icon → Icon}/types.d.ts +0 -0
  446. /package/dist/types/components/{icon-button → IconButton}/IconButton.d.ts +0 -0
  447. /package/dist/types/components/{icon-link-button → IconLinkButton}/IconLinkButton.d.ts +0 -0
  448. /package/dist/types/components/{inline-message → InlineMessage}/InlineMessage.d.ts +0 -0
  449. /package/dist/types/components/{inline-message → InlineMessage}/styles.d.ts +0 -0
  450. /package/dist/types/components/{intended-audience-signifier → IntendedAudienceSignifier}/FlagIcons.d.ts +0 -0
  451. /package/dist/types/components/{intended-audience-signifier → IntendedAudienceSignifier}/IntendedAudienceSignifier.d.ts +0 -0
  452. /package/dist/types/components/{intended-audience-signifier → IntendedAudienceSignifier}/styles.d.ts +0 -0
  453. /package/dist/types/components/{intended-audience-signifier → IntendedAudienceSignifier}/types.d.ts +0 -0
  454. /package/dist/types/components/{link → Link}/Link.d.ts +0 -0
  455. /package/dist/types/components/{link → Link}/styles.d.ts +0 -0
  456. /package/dist/types/components/{link-button → LinkButton}/LinkButton.d.ts +0 -0
  457. /package/dist/types/components/{menu → Menu}/Menu.d.ts +0 -0
  458. /package/dist/types/components/{menu → Menu}/styles.d.ts +0 -0
  459. /package/dist/types/components/{radio-group → RadioGroup}/RadioGroup.d.ts +0 -0
  460. /package/dist/types/components/{radio-group → RadioGroup}/styles.d.ts +0 -0
  461. /package/dist/types/components/{select → Select}/Select.d.ts +0 -0
  462. /package/dist/types/components/{select → Select}/styles.d.ts +0 -0
  463. /package/dist/types/components/{tag-picker → TagPicker}/Autocomplete.d.ts +0 -0
  464. /package/dist/types/components/{tag-picker → TagPicker}/TagAutocomplete.d.ts +0 -0
  465. /package/dist/types/components/{tag-picker → TagPicker}/TagTable.d.ts +0 -0
  466. /package/dist/types/components/{tag-picker → TagPicker}/example-tags.d.ts +0 -0
  467. /package/dist/types/components/{tag-picker → TagPicker}/styles.d.ts +0 -0
  468. /package/dist/types/components/{tag-picker → TagPicker}/types.d.ts +0 -0
  469. /package/dist/types/components/{text-area → TextArea}/TextArea.d.ts +0 -0
  470. /package/dist/types/components/{text-area → TextArea}/styles.d.ts +0 -0
  471. /package/dist/types/components/{text-input → TextInput}/TextInput.d.ts +0 -0
  472. /package/dist/types/components/{text-input → TextInput}/styles.d.ts +0 -0
  473. /package/dist/types/components/{topbar → TopBar}/TopBar.d.ts +0 -0
  474. /package/dist/types/components/{topbar/topBarItem → TopBar/TopBarItem}/TopBarItem.d.ts +0 -0
  475. /package/dist/types/components/{topbar/topBarItem → TopBar/TopBarItem}/types.d.ts +0 -0
  476. /package/dist/types/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/TopBarNavigation.d.ts +0 -0
  477. /package/dist/types/components/{topbar/topBarToolName → TopBar/TopBarToolName}/TopBarToolName.d.ts +0 -0
  478. /package/dist/types/components/{topbar → TopBar}/types.d.ts +0 -0
  479. /package/dist/types/components/{typography → Typography}/Typography.d.ts +0 -0
  480. /package/dist/types/components/{typography → Typography}/styles.d.ts +0 -0
  481. /package/dist/types/components/{typography → Typography}/types.d.ts +0 -0
  482. /package/dist/types/components/{user-menu → UserMenu}/PreferenceRadioGroup.d.ts +0 -0
  483. /package/dist/types/components/{TitleText.d.ts → UserMenu/TitleText.d.ts} +0 -0
  484. /package/dist/types/components/{user-menu → UserMenu}/UserMenu.d.ts +0 -0
  485. /package/dist/types/components/{user-menu → UserMenu}/default-options.d.ts +0 -0
  486. /package/dist/types/components/{user-menu → UserMenu}/model.d.ts +0 -0
  487. /package/dist/types/components/{user-menu → UserMenu}/styles.d.ts +0 -0
  488. /package/dist/types/components/{user-menu → UserMenu}/theme.d.ts +0 -0
  489. /package/dist/types/components/{user-menu → UserMenu}/types.d.ts +0 -0
@@ -0,0 +1,34 @@
1
+ import { jsx } from '@emotion/react/jsx-runtime';
2
+ import { mergeDeep } from '../../util/mergeDeep.js';
3
+ import { layoutStyles, mainLayoutStyles, sidebarLayoutStyles, sidebarStyles, topBarLayoutStyles, alertBannerLayoutStyles, defaultSidebarTheme, defaultMainTheme, defaultLayoutTheme } from './styles.js';
4
+
5
+ const LayoutAlertBanner = ({ as: Component = "aside", children, cssOverrides, ...props }) => {
6
+ return jsx(Component, { css: [alertBannerLayoutStyles(), cssOverrides], ...props, children });
7
+ };
8
+ const LayoutTopBar = ({ as: Component = "nav", children, cssOverrides, ...props }) => {
9
+ return jsx(Component, { css: [topBarLayoutStyles(), cssOverrides], ...props, children });
10
+ };
11
+ function LayoutSidebar({ as: Component = "aside", children, layoutSmBreakpoint = "hidden", theme = {}, cssOverrides, ...props }) {
12
+ const mergedTheme = mergeDeep(defaultSidebarTheme, theme);
13
+ return jsx(Component, { css: [
14
+ sidebarLayoutStyles(),
15
+ sidebarStyles(mergedTheme, { layoutSmBreakpoint }),
16
+ cssOverrides
17
+ ], ...props, children });
18
+ }
19
+ function LayoutMain({ as: Component = "main", children, fluid = true, theme = {}, cssOverrides, ...props }) {
20
+ const mergedTheme = mergeDeep(defaultMainTheme, theme);
21
+ return jsx(Component, { css: [mainLayoutStyles(mergedTheme, { fluid }), cssOverrides], ...props, children });
22
+ }
23
+ function LayoutRoot({ children, theme = {}, cssOverrides, ...props }) {
24
+ const mergedTheme = mergeDeep(defaultLayoutTheme, theme);
25
+ return jsx("div", { css: [layoutStyles(mergedTheme), cssOverrides], ...props, children });
26
+ }
27
+ const Layout = Object.assign(LayoutRoot, {
28
+ AlertBanner: LayoutAlertBanner,
29
+ TopBar: LayoutTopBar,
30
+ Sidebar: LayoutSidebar,
31
+ Main: LayoutMain
32
+ });
33
+
34
+ export { Layout };
@@ -6,6 +6,7 @@ var mq = require('../../styleD/utils/semantic/mq.cjs');
6
6
 
7
7
  const defaultLayoutTheme = layout.componentLayout["layout"];
8
8
  const defaultSidebarTheme = layout.componentLayout["sidebar"];
9
+ const defaultMainTheme = layout.componentLayout["main"];
9
10
  const alertBannerLayoutStyles = () => {
10
11
  return react.css`
11
12
  grid-area: alertbanner;
@@ -25,9 +26,9 @@ const mainLayoutStyles = (theme, { fluid }) => {
25
26
  return react.css`
26
27
  grid-area: main;
27
28
  ${fluid ? "" : react.css`
28
- max-width: ${theme.shared["max-width"]};
29
- margin-left: ${theme.shared["margin-left"]};
30
- margin-right: ${theme.shared["margin-right"]};
29
+ max-width: ${theme.maxWidth};
30
+ margin-left: ${theme.marginLeft};
31
+ margin-right: ${theme.marginRight};
31
32
  `}
32
33
  `;
33
34
  };
@@ -84,6 +85,7 @@ const sidebarStyles = (theme, { layoutSmBreakpoint }) => {
84
85
 
85
86
  exports.alertBannerLayoutStyles = alertBannerLayoutStyles;
86
87
  exports.defaultLayoutTheme = defaultLayoutTheme;
88
+ exports.defaultMainTheme = defaultMainTheme;
87
89
  exports.defaultSidebarTheme = defaultSidebarTheme;
88
90
  exports.layoutStyles = layoutStyles;
89
91
  exports.mainLayoutStyles = mainLayoutStyles;
@@ -4,6 +4,7 @@ import { from } from '../../styleD/utils/semantic/mq.js';
4
4
 
5
5
  const defaultLayoutTheme = componentLayout["layout"];
6
6
  const defaultSidebarTheme = componentLayout["sidebar"];
7
+ const defaultMainTheme = componentLayout["main"];
7
8
  const alertBannerLayoutStyles = () => {
8
9
  return css`
9
10
  grid-area: alertbanner;
@@ -23,9 +24,9 @@ const mainLayoutStyles = (theme, { fluid }) => {
23
24
  return css`
24
25
  grid-area: main;
25
26
  ${fluid ? "" : css`
26
- max-width: ${theme.shared["max-width"]};
27
- margin-left: ${theme.shared["margin-left"]};
28
- margin-right: ${theme.shared["margin-right"]};
27
+ max-width: ${theme.maxWidth};
28
+ margin-left: ${theme.marginLeft};
29
+ margin-right: ${theme.marginRight};
29
30
  `}
30
31
  `;
31
32
  };
@@ -80,4 +81,4 @@ const sidebarStyles = (theme, { layoutSmBreakpoint }) => {
80
81
  `;
81
82
  };
82
83
 
83
- export { alertBannerLayoutStyles, defaultLayoutTheme, defaultSidebarTheme, layoutStyles, mainLayoutStyles, sidebarLayoutStyles, sidebarStyles, topBarLayoutStyles };
84
+ export { alertBannerLayoutStyles, defaultLayoutTheme, defaultMainTheme, defaultSidebarTheme, layoutStyles, mainLayoutStyles, sidebarLayoutStyles, sidebarStyles, topBarLayoutStyles };
@@ -4,27 +4,27 @@ var jsxRuntime = require('@emotion/react/jsx-runtime');
4
4
  var reactAriaComponents = require('react-aria-components');
5
5
  var colors = require('../../styleD/build/typescript/semantic/colors.cjs');
6
6
  var mergeDeep = require('../../util/mergeDeep.cjs');
7
- var styles = require('../typography/styles.cjs');
8
- var styles$1 = require('./styles.cjs');
7
+ var styles$1 = require('../Typography/styles.cjs');
8
+ var styles = require('./styles.cjs');
9
9
 
10
10
  function Link({
11
11
  children,
12
- typography = "body-sm",
12
+ typography = "bodySm",
13
13
  theme = {},
14
14
  cssOverrides,
15
15
  className,
16
16
  ...props
17
17
  }) {
18
- const mergedTheme = mergeDeep.mergeDeep(styles$1.defaultLinkTheme, theme);
18
+ const mergedTheme = mergeDeep.mergeDeep(styles.defaultLinkTheme, theme);
19
19
  return /* @__PURE__ */ jsxRuntime.jsx(
20
20
  reactAriaComponents.Link,
21
21
  {
22
22
  css: [
23
- styles.typographyStyles(
23
+ styles$1.typographyStyles(
24
24
  { color: colors.semanticColors.text.strong },
25
25
  { variant: typography }
26
26
  ),
27
- styles$1.linkStyles(mergedTheme),
27
+ styles.linkStyles(mergedTheme),
28
28
  cssOverrides
29
29
  ],
30
30
  className,
@@ -2,10 +2,10 @@ import { jsx } from '@emotion/react/jsx-runtime';
2
2
  import { Link as Link$1 } from 'react-aria-components';
3
3
  import { semanticColors } from '../../styleD/build/typescript/semantic/colors.js';
4
4
  import { mergeDeep } from '../../util/mergeDeep.js';
5
- import { typographyStyles } from '../typography/styles.js';
6
- import { linkStyles, defaultLinkTheme } from './styles.js';
5
+ import { typographyStyles } from '../Typography/styles.js';
6
+ import { defaultLinkTheme, linkStyles } from './styles.js';
7
7
 
8
- function Link({ children, typography = "body-sm", theme = {}, cssOverrides, className, ...props }) {
8
+ function Link({ children, typography = "bodySm", theme = {}, cssOverrides, className, ...props }) {
9
9
  const mergedTheme = mergeDeep(defaultLinkTheme, theme);
10
10
  return jsx(Link$1, { css: [
11
11
  typographyStyles({ color: semanticColors.text.strong }, { variant: typography }),
@@ -3,7 +3,7 @@
3
3
  var jsxRuntime = require('@emotion/react/jsx-runtime');
4
4
  var reactAriaComponents = require('react-aria-components');
5
5
  var mergeDeep = require('../../util/mergeDeep.cjs');
6
- var Icon = require('../icon/Icon.cjs');
6
+ var Icon = require('../Icon/Icon.cjs');
7
7
  var styles = require('./styles.cjs');
8
8
 
9
9
  function LinkButton({
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
2
2
  import { Link, composeRenderProps } from 'react-aria-components';
3
3
  import { mergeDeep } from '../../util/mergeDeep.js';
4
- import { Icon } from '../icon/Icon.js';
5
- import { linkButtonStyles, defaultLinkButtonTheme } from './styles.js';
4
+ import { Icon } from '../Icon/Icon.js';
5
+ import { defaultLinkButtonTheme, linkButtonStyles } from './styles.js';
6
6
 
7
7
  function LinkButton({ variant = "primary", size = "md", theme = {}, cssOverrides, icon, ...props }) {
8
8
  const mergedTheme = mergeDeep(defaultLinkButtonTheme, theme);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var styles = require('../button/styles.cjs');
3
+ var styles = require('../Button/styles.cjs');
4
4
 
5
5
  const defaultLinkButtonTheme = styles.defaultButtonTheme;
6
6
  const linkButtonStyles = styles.buttonStyles;
@@ -1,4 +1,4 @@
1
- import { buttonStyles, defaultButtonTheme } from '../button/styles.js';
1
+ import { defaultButtonTheme, buttonStyles } from '../Button/styles.js';
2
2
 
3
3
  const defaultLinkButtonTheme = defaultButtonTheme;
4
4
  const linkButtonStyles = buttonStyles;
@@ -5,7 +5,7 @@ var React = require('react');
5
5
  var reactAriaComponents = require('react-aria-components');
6
6
  var mergeDeep = require('../../util/mergeDeep.cjs');
7
7
  var styles = require('./styles.cjs');
8
- var Icon = require('../icon/Icon.cjs');
8
+ var Icon = require('../Icon/Icon.cjs');
9
9
 
10
10
  function Popover({
11
11
  size = "md",
@@ -2,8 +2,8 @@ import { jsxs, jsx, Fragment } from '@emotion/react/jsx-runtime';
2
2
  import React from 'react';
3
3
  import { MenuTrigger, Menu as Menu$1, MenuItem as MenuItem$1, MenuSection as MenuSection$1, Header, Separator, Popover as Popover$1 } from 'react-aria-components';
4
4
  import { mergeDeep } from '../../util/mergeDeep.js';
5
- import { menuStyles, menuItemIconStyles, menuItemLabelStyles, menuItemDescriptionStyles, menuItemAsideStyles, menuItemStyles, menuSectionHeaderStyles, menuSeparatorStyles, defaultMenuPopoverTheme, menuPopoverStyles, defaultMenuSeparatorTheme, defaultMenuSectionTheme, defaultMenuItemTheme, defaultMenuTheme } from './styles.js';
6
- import { Icon } from '../icon/Icon.js';
5
+ import { defaultMenuTheme, menuStyles, defaultMenuItemTheme, menuItemIconStyles, menuItemLabelStyles, menuItemDescriptionStyles, menuItemAsideStyles, menuItemStyles, defaultMenuSectionTheme, menuSectionHeaderStyles, defaultMenuSeparatorTheme, menuSeparatorStyles, defaultMenuPopoverTheme, menuPopoverStyles } from './styles.js';
6
+ import { Icon } from '../Icon/Icon.js';
7
7
 
8
8
  function Popover({ size = "md", children, theme = {}, cssOverrides, ...props }) {
9
9
  const mergedTheme = mergeDeep(defaultMenuPopoverTheme, theme);
@@ -7,43 +7,43 @@ var typography = require('../../styleD/utils/semantic/typography.cjs');
7
7
  const defaultMenuTheme = menu.componentMenu.menu;
8
8
  const menuStyles = (theme) => react.css`
9
9
  display: ${theme.shared.display};
10
- flex-direction: ${theme.shared["flex-direction"]};
10
+ flex-direction: ${theme.shared.flexDirection};
11
11
  border: ${theme.shared.border};
12
- background: ${theme.shared["background-color"]};
12
+ background: ${theme.shared.backgroundColor};
13
13
  `;
14
14
  const defaultMenuSectionTheme = menu.componentMenu.menuSection;
15
15
  const menuSectionHeaderStyles = (theme, { size }) => react.css`
16
16
  display: ${theme.header.shared.display};
17
- align-items: ${theme.header.shared["align-items"]};
17
+ align-items: ${theme.header.shared.alignItems};
18
18
  padding: ${theme.header.shared.padding.top}
19
19
  ${theme.header.shared.padding.right} ${theme.header.shared.padding.bottom}
20
20
  ${theme.header.shared.padding.left};
21
21
  height: ${theme.header[size].height};
22
- background: ${theme.header.shared["background-color"]};
22
+ background: ${theme.header.shared.backgroundColor};
23
23
  color: ${theme.header.shared.color};
24
24
  ${typography.convertTypographyToEmotionStringStyle(theme.header[size].typography)}
25
25
  `;
26
26
  const defaultMenuItemTheme = menu.componentMenu.menuItem;
27
27
  const menuItemStyles = (theme, { description }) => react.css`
28
28
  display: ${theme.shared.display};
29
- grid-template-columns: ${theme.shared["grid-template-columns"]};
30
- grid-template-areas: ${description ? theme.shared["grid-template-areas-with-description"] : theme.shared["grid-template-areas"]};
29
+ grid-template-columns: ${theme.shared.gridTemplateColumns};
30
+ grid-template-areas: ${description ? theme.shared.gridTemplateAreasWithDescription : theme.shared.gridTemplateAreas};
31
31
  gap: ${theme.shared.gap};
32
- align-items: ${theme.shared["align-items"]};
32
+ align-items: ${theme.shared.alignItems};
33
33
  padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
34
34
  ${theme.shared.padding.bottom} ${theme.shared.padding.left};
35
- border-bottom: ${theme.shared["border-bottom"]};
36
- background: ${theme.shared["background-color"]};
35
+ border-bottom: ${theme.shared.borderBottom};
36
+ background: ${theme.shared.backgroundColor};
37
37
  &:last-child {
38
- border-bottom: ${theme.shared[":last-child"]["border-bottom"]};
38
+ border-bottom: ${theme.shared.lastChild.borderBottom};
39
39
  }
40
40
 
41
41
  /* Hovering adds data-focused and the item stays focused after hovering away */
42
42
  &[data-focused] {
43
- background-color: ${theme.shared[":hover"]["background-color"]};
43
+ background-color: ${theme.shared.hover.backgroundColor};
44
44
  }
45
45
  &[data-hovered] {
46
- outline: ${theme.shared[":hover"].outline};
46
+ outline: ${theme.shared.hover.outline};
47
47
  }
48
48
 
49
49
  /* Override default browser focus behaviour */
@@ -53,50 +53,50 @@ const menuItemStyles = (theme, { description }) => react.css`
53
53
 
54
54
  /* focus visible used for keyboard focus */
55
55
  &[data-focus-visible] {
56
- outline: ${theme.shared[":focus-visible"]["outline"]};
57
- outline-offset: ${theme.shared[":focus-visible"]["outline-offset"]};
58
- background-color: ${theme.shared[":hover"]["background-color"]};
56
+ outline: ${theme.shared.focusVisible.outline};
57
+ outline-offset: ${theme.shared.focusVisible.outlineOffset};
58
+ background-color: ${theme.shared.hover.backgroundColor};
59
59
  }
60
60
 
61
61
  /* Must be last to take precedence */
62
62
  &[data-pressed] {
63
- background-color: ${theme.shared[":pressed"]["background-color"]};
63
+ background-color: ${theme.shared.pressed.backgroundColor};
64
64
  }
65
65
  `;
66
66
  const menuItemIconStyles = (theme, { size }) => react.css`
67
- grid-area: ${theme.shared.icon["grid-area"]};
68
- align-self: ${theme.shared.icon["align-self"]};
67
+ grid-area: ${theme.shared.icon.gridArea};
68
+ align-self: ${theme.shared.icon.alignSelf};
69
69
  color: ${theme.shared.icon.color};
70
70
  /* Ensure the line-height matches the font line-height of the label for alignment */
71
- line-height: ${theme[size].icon["line-height"]};
71
+ line-height: ${theme[size].icon.lineHeight};
72
72
  `;
73
73
  const menuItemLabelStyles = (theme) => react.css`
74
- grid-area: ${theme.shared.label["grid-area"]};
74
+ grid-area: ${theme.shared.label.gridArea};
75
75
  color: ${theme.shared.label.color};
76
76
  ${typography.convertTypographyToEmotionStringStyle(theme.shared.label.typography)}
77
77
  `;
78
78
  const menuItemDescriptionStyles = (theme) => react.css`
79
- grid-area: ${theme.shared.description["grid-area"]};
79
+ grid-area: ${theme.shared.description.gridArea};
80
80
  color: ${theme.shared.description.color};
81
81
  ${typography.convertTypographyToEmotionStringStyle(theme.shared.description.typography)}
82
82
  `;
83
83
  const menuItemAsideStyles = (theme) => react.css`
84
- grid-area: ${theme.shared.aside["grid-area"]};
85
- justify-self: ${theme.shared.aside["justify-self"]};
86
- align-self: ${theme.shared.aside["align-self"]};
84
+ grid-area: ${theme.shared.aside.gridArea};
85
+ justify-self: ${theme.shared.aside.justifySelf};
86
+ align-self: ${theme.shared.aside.alignSelf};
87
87
  color: ${theme.shared.aside.color};
88
88
  ${typography.convertTypographyToEmotionStringStyle(theme.shared.aside.typography)}
89
89
  `;
90
90
  const defaultMenuSeparatorTheme = menu.componentMenu.menuSeparator;
91
91
  const menuSeparatorStyles = (theme) => react.css`
92
- background-color: ${theme.shared["background-color"]};
92
+ background-color: ${theme.shared.backgroundColor};
93
93
  height: ${theme.shared.height};
94
94
  width: ${theme.shared.width};
95
95
  `;
96
96
  const defaultMenuPopoverTheme = menu.componentMenu.menuPopover;
97
97
  const menuPopoverStyles = (theme, { size }) => react.css`
98
98
  overflow: ${theme.shared.overflow};
99
- max-width: ${theme[size]["max-width"]};
99
+ max-width: ${theme[size].maxWidth};
100
100
  width: ${theme[size].width};
101
101
  box-shadow: ${theme.shared.shadow};
102
102
  `;
@@ -5,43 +5,43 @@ import { convertTypographyToEmotionStringStyle } from '../../styleD/utils/semant
5
5
  const defaultMenuTheme = componentMenu.menu;
6
6
  const menuStyles = (theme) => css`
7
7
  display: ${theme.shared.display};
8
- flex-direction: ${theme.shared["flex-direction"]};
8
+ flex-direction: ${theme.shared.flexDirection};
9
9
  border: ${theme.shared.border};
10
- background: ${theme.shared["background-color"]};
10
+ background: ${theme.shared.backgroundColor};
11
11
  `;
12
12
  const defaultMenuSectionTheme = componentMenu.menuSection;
13
13
  const menuSectionHeaderStyles = (theme, { size }) => css`
14
14
  display: ${theme.header.shared.display};
15
- align-items: ${theme.header.shared["align-items"]};
15
+ align-items: ${theme.header.shared.alignItems};
16
16
  padding: ${theme.header.shared.padding.top}
17
17
  ${theme.header.shared.padding.right} ${theme.header.shared.padding.bottom}
18
18
  ${theme.header.shared.padding.left};
19
19
  height: ${theme.header[size].height};
20
- background: ${theme.header.shared["background-color"]};
20
+ background: ${theme.header.shared.backgroundColor};
21
21
  color: ${theme.header.shared.color};
22
22
  ${convertTypographyToEmotionStringStyle(theme.header[size].typography)}
23
23
  `;
24
24
  const defaultMenuItemTheme = componentMenu.menuItem;
25
25
  const menuItemStyles = (theme, { description }) => css`
26
26
  display: ${theme.shared.display};
27
- grid-template-columns: ${theme.shared["grid-template-columns"]};
28
- grid-template-areas: ${description ? theme.shared["grid-template-areas-with-description"] : theme.shared["grid-template-areas"]};
27
+ grid-template-columns: ${theme.shared.gridTemplateColumns};
28
+ grid-template-areas: ${description ? theme.shared.gridTemplateAreasWithDescription : theme.shared.gridTemplateAreas};
29
29
  gap: ${theme.shared.gap};
30
- align-items: ${theme.shared["align-items"]};
30
+ align-items: ${theme.shared.alignItems};
31
31
  padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
32
32
  ${theme.shared.padding.bottom} ${theme.shared.padding.left};
33
- border-bottom: ${theme.shared["border-bottom"]};
34
- background: ${theme.shared["background-color"]};
33
+ border-bottom: ${theme.shared.borderBottom};
34
+ background: ${theme.shared.backgroundColor};
35
35
  &:last-child {
36
- border-bottom: ${theme.shared[":last-child"]["border-bottom"]};
36
+ border-bottom: ${theme.shared.lastChild.borderBottom};
37
37
  }
38
38
 
39
39
  /* Hovering adds data-focused and the item stays focused after hovering away */
40
40
  &[data-focused] {
41
- background-color: ${theme.shared[":hover"]["background-color"]};
41
+ background-color: ${theme.shared.hover.backgroundColor};
42
42
  }
43
43
  &[data-hovered] {
44
- outline: ${theme.shared[":hover"].outline};
44
+ outline: ${theme.shared.hover.outline};
45
45
  }
46
46
 
47
47
  /* Override default browser focus behaviour */
@@ -51,50 +51,50 @@ const menuItemStyles = (theme, { description }) => css`
51
51
 
52
52
  /* focus visible used for keyboard focus */
53
53
  &[data-focus-visible] {
54
- outline: ${theme.shared[":focus-visible"]["outline"]};
55
- outline-offset: ${theme.shared[":focus-visible"]["outline-offset"]};
56
- background-color: ${theme.shared[":hover"]["background-color"]};
54
+ outline: ${theme.shared.focusVisible.outline};
55
+ outline-offset: ${theme.shared.focusVisible.outlineOffset};
56
+ background-color: ${theme.shared.hover.backgroundColor};
57
57
  }
58
58
 
59
59
  /* Must be last to take precedence */
60
60
  &[data-pressed] {
61
- background-color: ${theme.shared[":pressed"]["background-color"]};
61
+ background-color: ${theme.shared.pressed.backgroundColor};
62
62
  }
63
63
  `;
64
64
  const menuItemIconStyles = (theme, { size }) => css`
65
- grid-area: ${theme.shared.icon["grid-area"]};
66
- align-self: ${theme.shared.icon["align-self"]};
65
+ grid-area: ${theme.shared.icon.gridArea};
66
+ align-self: ${theme.shared.icon.alignSelf};
67
67
  color: ${theme.shared.icon.color};
68
68
  /* Ensure the line-height matches the font line-height of the label for alignment */
69
- line-height: ${theme[size].icon["line-height"]};
69
+ line-height: ${theme[size].icon.lineHeight};
70
70
  `;
71
71
  const menuItemLabelStyles = (theme) => css`
72
- grid-area: ${theme.shared.label["grid-area"]};
72
+ grid-area: ${theme.shared.label.gridArea};
73
73
  color: ${theme.shared.label.color};
74
74
  ${convertTypographyToEmotionStringStyle(theme.shared.label.typography)}
75
75
  `;
76
76
  const menuItemDescriptionStyles = (theme) => css`
77
- grid-area: ${theme.shared.description["grid-area"]};
77
+ grid-area: ${theme.shared.description.gridArea};
78
78
  color: ${theme.shared.description.color};
79
79
  ${convertTypographyToEmotionStringStyle(theme.shared.description.typography)}
80
80
  `;
81
81
  const menuItemAsideStyles = (theme) => css`
82
- grid-area: ${theme.shared.aside["grid-area"]};
83
- justify-self: ${theme.shared.aside["justify-self"]};
84
- align-self: ${theme.shared.aside["align-self"]};
82
+ grid-area: ${theme.shared.aside.gridArea};
83
+ justify-self: ${theme.shared.aside.justifySelf};
84
+ align-self: ${theme.shared.aside.alignSelf};
85
85
  color: ${theme.shared.aside.color};
86
86
  ${convertTypographyToEmotionStringStyle(theme.shared.aside.typography)}
87
87
  `;
88
88
  const defaultMenuSeparatorTheme = componentMenu.menuSeparator;
89
89
  const menuSeparatorStyles = (theme) => css`
90
- background-color: ${theme.shared["background-color"]};
90
+ background-color: ${theme.shared.backgroundColor};
91
91
  height: ${theme.shared.height};
92
92
  width: ${theme.shared.width};
93
93
  `;
94
94
  const defaultMenuPopoverTheme = componentMenu.menuPopover;
95
95
  const menuPopoverStyles = (theme, { size }) => css`
96
96
  overflow: ${theme.shared.overflow};
97
- max-width: ${theme[size]["max-width"]};
97
+ max-width: ${theme[size].maxWidth};
98
98
  width: ${theme[size].width};
99
99
  box-shadow: ${theme.shared.shadow};
100
100
  `;
@@ -4,7 +4,7 @@ var jsxRuntime = require('@emotion/react/jsx-runtime');
4
4
  var React = require('react');
5
5
  var reactAriaComponents = require('react-aria-components');
6
6
  var mergeDeep = require('../../util/mergeDeep.cjs');
7
- var Form = require('../form/Form.cjs');
7
+ var Form = require('../Form/Form.cjs');
8
8
  var styles = require('./styles.cjs');
9
9
 
10
10
  function RadioGroup({
@@ -2,8 +2,8 @@ import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
2
2
  import React from 'react';
3
3
  import { Radio as Radio$1, composeRenderProps, RadioGroup as RadioGroup$1 } from 'react-aria-components';
4
4
  import { mergeDeep } from '../../util/mergeDeep.js';
5
- import { FormInputContainer } from '../form/Form.js';
6
- import { radioIndicatorStyles, radioStyles, radioGroupStyles, defaultRadioGroupTheme } from './styles.js';
5
+ import { FormInputContainer } from '../Form/Form.js';
6
+ import { defaultRadioGroupTheme, radioIndicatorStyles, radioStyles, radioGroupStyles } from './styles.js';
7
7
 
8
8
  function RadioGroup({ size = "md", isInvalid = false, theme = {}, children, ...props }) {
9
9
  const mergedTheme = mergeDeep(defaultRadioGroupTheme, theme);
@@ -4,8 +4,8 @@ var jsxRuntime = require('@emotion/react/jsx-runtime');
4
4
  var React = require('react');
5
5
  var reactAriaComponents = require('react-aria-components');
6
6
  var mergeDeep = require('../../util/mergeDeep.cjs');
7
- var Form = require('../form/Form.cjs');
8
- var Icon = require('../icon/Icon.cjs');
7
+ var Form = require('../Form/Form.cjs');
8
+ var Icon = require('../Icon/Icon.cjs');
9
9
  var styles = require('./styles.cjs');
10
10
 
11
11
  function Option({ children, theme = {} }) {
@@ -2,9 +2,9 @@ import { jsx, jsxs } from '@emotion/react/jsx-runtime';
2
2
  import React from 'react';
3
3
  import { ListBoxItem, Select as Select$1, Button, SelectValue, Popover, ListBox as ListBox$1 } from 'react-aria-components';
4
4
  import { mergeDeep } from '../../util/mergeDeep.js';
5
- import { FormInputContainer } from '../form/Form.js';
6
- import { Icon } from '../icon/Icon.js';
7
- import { listBoxItemStyles, buttonStyles, popoverStyles, defaultSelectTheme, listBoxStyles } from './styles.js';
5
+ import { FormInputContainer } from '../Form/Form.js';
6
+ import { Icon } from '../Icon/Icon.js';
7
+ import { defaultSelectTheme, listBoxItemStyles, buttonStyles, popoverStyles, listBoxStyles } from './styles.js';
8
8
 
9
9
  function Option({ children, theme = {} }) {
10
10
  const mergedTheme = mergeDeep(defaultSelectTheme, theme);
@@ -33,7 +33,7 @@ const listBoxItemStyles = (theme) => {
33
33
 
34
34
  &[data-focus-visible] {
35
35
  outline: ${theme.shared.option.focused.outline};
36
- outline-offset: ${theme.shared.option.focused["outline-offset"]};
36
+ outline-offset: ${theme.shared.option.focused.outlineOffset};
37
37
  background-color: ${theme.shared.option.focused.backgroundColor};
38
38
  }
39
39
 
@@ -78,7 +78,7 @@ const buttonStyles = (theme, isInvalid) => {
78
78
 
79
79
  &[data-focus-visible] {
80
80
  outline: ${theme.shared.button.focused.outline};
81
- outline-offset: ${theme.shared.button.focused["outline-offset"]};
81
+ outline-offset: ${theme.shared.button.focused.outlineOffset};
82
82
  }
83
83
 
84
84
  &[data-disabled] {
@@ -31,7 +31,7 @@ const listBoxItemStyles = (theme) => {
31
31
 
32
32
  &[data-focus-visible] {
33
33
  outline: ${theme.shared.option.focused.outline};
34
- outline-offset: ${theme.shared.option.focused["outline-offset"]};
34
+ outline-offset: ${theme.shared.option.focused.outlineOffset};
35
35
  background-color: ${theme.shared.option.focused.backgroundColor};
36
36
  }
37
37
 
@@ -76,7 +76,7 @@ const buttonStyles = (theme, isInvalid) => {
76
76
 
77
77
  &[data-focus-visible] {
78
78
  outline: ${theme.shared.button.focused.outline};
79
- outline-offset: ${theme.shared.button.focused["outline-offset"]};
79
+ outline-offset: ${theme.shared.button.focused.outlineOffset};
80
80
  }
81
81
 
82
82
  &[data-disabled] {
@@ -3,7 +3,7 @@
3
3
  var jsxRuntime = require('@emotion/react/jsx-runtime');
4
4
  var reactAriaComponents = require('react-aria-components');
5
5
  var mergeDeep = require('../../util/mergeDeep.cjs');
6
- var Form = require('../form/Form.cjs');
6
+ var Form = require('../Form/Form.cjs');
7
7
  var styles = require('./styles.cjs');
8
8
 
9
9
  function TextArea({
@@ -1,8 +1,8 @@
1
1
  import { jsx } from '@emotion/react/jsx-runtime';
2
2
  import { TextField, TextArea as TextArea$1 } from 'react-aria-components';
3
3
  import { mergeDeep } from '../../util/mergeDeep.js';
4
- import { FormInputContainer } from '../form/Form.js';
5
- import { textAreaStyles, defaultTextAreaTheme } from './styles.js';
4
+ import { FormInputContainer } from '../Form/Form.js';
5
+ import { defaultTextAreaTheme, textAreaStyles } from './styles.js';
6
6
 
7
7
  function TextArea({ size = "md", isInvalid = false, theme = {}, placeholder, ...props }) {
8
8
  const mergedTheme = mergeDeep(defaultTextAreaTheme, theme);
@@ -8,13 +8,13 @@ const defaultTextAreaTheme = textArea.componentTextArea;
8
8
  const textAreaStyles = (theme, { size, isInvalid }) => {
9
9
  return react.css`
10
10
  ${typography.convertTypographyToEmotionStringStyle(theme[size].typography)}
11
- background-color: ${theme.shared["background-color"]};
12
- border-radius: ${theme.shared["border-radius"]};
11
+ background-color: ${theme.shared.backgroundColor};
12
+ border-radius: ${theme.shared.borderRadius};
13
13
  border: ${theme.shared.border};
14
14
  color: ${theme.shared.color};
15
15
  cursor: ${theme.shared.cursor};
16
16
  height: ${theme.shared.height};
17
- margin-top: ${theme.shared["margin-top"]};
17
+ margin-top: ${theme.shared.marginTop};
18
18
  padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
19
19
  ${theme.shared.padding.bottom} ${theme.shared.padding.left};
20
20
 
@@ -6,13 +6,13 @@ const defaultTextAreaTheme = componentTextArea;
6
6
  const textAreaStyles = (theme, { size, isInvalid }) => {
7
7
  return css`
8
8
  ${convertTypographyToEmotionStringStyle(theme[size].typography)}
9
- background-color: ${theme.shared["background-color"]};
10
- border-radius: ${theme.shared["border-radius"]};
9
+ background-color: ${theme.shared.backgroundColor};
10
+ border-radius: ${theme.shared.borderRadius};
11
11
  border: ${theme.shared.border};
12
12
  color: ${theme.shared.color};
13
13
  cursor: ${theme.shared.cursor};
14
14
  height: ${theme.shared.height};
15
- margin-top: ${theme.shared["margin-top"]};
15
+ margin-top: ${theme.shared.marginTop};
16
16
  padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
17
17
  ${theme.shared.padding.bottom} ${theme.shared.padding.left};
18
18
 
@@ -3,7 +3,7 @@
3
3
  var jsxRuntime = require('@emotion/react/jsx-runtime');
4
4
  var reactAriaComponents = require('react-aria-components');
5
5
  var mergeDeep = require('../../util/mergeDeep.cjs');
6
- var Form = require('../form/Form.cjs');
6
+ var Form = require('../Form/Form.cjs');
7
7
  var styles = require('./styles.cjs');
8
8
 
9
9
  function TextInput({
@@ -1,8 +1,8 @@
1
1
  import { jsx } from '@emotion/react/jsx-runtime';
2
2
  import { TextField, Input } from 'react-aria-components';
3
3
  import { mergeDeep } from '../../util/mergeDeep.js';
4
- import { FormInputContainer } from '../form/Form.js';
5
- import { textInputStyles, defaultTextInputTheme } from './styles.js';
4
+ import { FormInputContainer } from '../Form/Form.js';
5
+ import { defaultTextInputTheme, textInputStyles } from './styles.js';
6
6
 
7
7
  function TextInput({ size = "md", isInvalid = false, theme = {}, placeholder, ...props }) {
8
8
  const mergedTheme = mergeDeep(defaultTextInputTheme, theme);
@@ -8,13 +8,13 @@ const defaultTextInputTheme = textInput.componentTextInput;
8
8
  const textInputStyles = (theme, { size, isInvalid }) => {
9
9
  return react.css`
10
10
  ${typography.convertTypographyToEmotionStringStyle(theme[size].typography)}
11
- background-color: ${theme.shared["background-color"]};
12
- border-radius: ${theme.shared["border-radius"]};
11
+ background-color: ${theme.shared.backgroundColor};
12
+ border-radius: ${theme.shared.borderRadius};
13
13
  border: ${theme.shared.border};
14
14
  color: ${theme.shared.color};
15
15
  cursor: ${theme.shared.cursor};
16
16
  height: ${theme[size].height};
17
- margin-top: ${theme.shared["margin-top"]};
17
+ margin-top: ${theme.shared.marginTop};
18
18
  padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
19
19
  ${theme.shared.padding.bottom} ${theme.shared.padding.left};
20
20